tree-tailcall.c (find_tail_calls): Don't use tail-call recursion for built-in functions.
[gcc.git] / libgcc / ChangeLog
1 2013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
2
3 * sync.c: Remove static aliases and define each function directly
4 under its real name.
5
6 2013-10-02 John David Anglin <danglin@gcc.gnu.org>
7
8 * config.host (hppa*64*-*-linux*): Define extra_parts.
9 (hppa*-*-linux*): Likewise.
10
11 2013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
12
13 * config/arc/crtgend.S: Add 2013 to Copyright years.
14 * config/arc/gmon/atomic.h: Likewise.
15 * config/arc/gmon/auxreg.h: Likewise.
16 * config/arc/gmon/sys/gmon_out.h: Likewise.
17 * config/arc/gmon/sys/gmon.h: Likewise.
18 * config/arc/gmon/prof-freq.c: Likewise.
19 * config/arc/gmon/mcount.c: Likewise.
20 * config/arc/gmon/prof-freq-stub.S: Likewise.
21 * config/arc/gmon/gmon.c: Likewise.
22 * config/arc/gmon/machine-gmon.h: Likewise.
23 * config/arc/gmon/profil.S: Likewise.
24 * config/arc/gmon/dcache_linesz.S: Likewise.
25 * config/arc/crtg.S: Likewise.
26 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
27 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
28 * config/arc/ieee-754/adddf3.S: Likewise.
29 * config/arc/ieee-754/truncdfsf2.S: Likewise.
30 * config/arc/ieee-754/fixsfsi.S: Likewise.
31 * config/arc/ieee-754/gtsf2.S: Likewise.
32 * config/arc/ieee-754/floatsisf.S: Likewise.
33 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
34 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
35 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
36 * config/arc/ieee-754/fixdfsi.S: Likewise.
37 * config/arc/ieee-754/addsf3.S: Likewise.
38 * config/arc/ieee-754/gesf2.S: Likewise.
39 * config/arc/ieee-754/floatsidf.S: Likewise.
40 * config/arc/ieee-754/extendsfdf2.S: Likewise.
41 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
42 * config/arc/ieee-754/gtdf2.S: Likewise.
43 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
44 * config/arc/ieee-754/uneqdf2.S: Likewise.
45 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
46 * config/arc/ieee-754/uneqsf2.S: Likewise.
47 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
48 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
49 * config/arc/ieee-754/eqdf2.S: Likewise.
50 * config/arc/ieee-754/ordsf2.S: Likewise.
51 * config/arc/ieee-754/divsf3.S: Likewise.
52 * config/arc/ieee-754/divdf3.S: Likewise.
53 * config/arc/ieee-754/floatunsidf.S: Likewise.
54 * config/arc/ieee-754/orddf2.S: Likewise.
55 * config/arc/ieee-754/eqsf2.S: Likewise.
56 * config/arc/ieee-754/gedf2.S: Likewise.
57 * config/arc/crtn.S: Likewise.
58 * config/arc/crti.S: Likewise.
59 * config/arc/t-arc700-uClibc: Likewise.
60 * config/arc/asm.h: Likewise.
61 * config/arc/libgcc-excl.ver: Likewise.
62 * config/arc/t-arc-newlib: Likewise.
63 * config/arc/divtab-arc700.c: Likewise.
64 * config/arc/initfini.c: Likewise.
65 * config/arc/fp-hack.h: Likewise.
66
67 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
68 Diego Novillo <dnovillo@google.com>
69
70 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
71 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
72 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
73 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
74
75 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
76 Brendan Kehoe <brendan@zen.org>
77 Simon Cook <simon.cook@embecosm.com>
78
79 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
80 * config/arc: New directory.
81 * longlong.h [__arc__] (umul_ppmm): Remove.
82 [__arc__] (__umulsidi3): Define.
83 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
84 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
85
86 2013-09-17 Jacek Caban <jacek@codeweavers.com>
87
88 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
89 CreateSemaphoreA.
90 * config/i386/gthr-win32.h: Likewise.
91
92 2013-09-16 DJ Delorie <dj@redhat.com>
93
94 * config/rl78/vregs.h: Add G10 register definitions.
95 * config/rl78/lib2mul.c: Enable for RL78/G10.
96 * config/rl78/lib2div.c: Likewise.
97 * config/rl78/lshrsi3.S: Use vregs.h.
98 * config/rl78/cmpsi2.S: Likewise.
99 * config/rl78/trampoline.S: Likewise.
100 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
101
102 2013-09-14 DJ Delorie <dj@redhat.com>
103 Nick Clifton <nickc@redhat.com>
104
105 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
106 * config/rl78/vregs.h: New.
107 * config/rl78/signbit.S: New file. Implements signbit function.
108 * config/rl78/divmodsi.S: New.
109 * config/rl78/divmodhi.S: New.
110 * config/rl78/divmodqi.S: New.
111 * config/rl78/t-rl78: Build them here...
112 * config/rl78/lib2div.c: ...but not here.
113
114 2013-09-12 DJ Delorie <dj@redhat.com>
115
116 * config.host (msp*-*-elf): New.
117 * config/msp430/: New port.
118
119 2013-08-18 Iain Sandoe <iain@codesourcery.com>
120
121 PR gcov-profile/58127
122 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
123 __thread var for emulated TLS.
124 (__gcov_indirect_call_counters): Likewise.
125
126 2013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
127 Catherine Moore <clm@codesourcery.com>
128 Richard Sandiford <rdsandiford@googlemail.com>
129
130 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
131 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
132 (CALL_STUB_NO_RET): Likewise.
133 (CALL_STUB_RET): Likewise.
134 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
135 __mips16_ret call/return stub symbols.
136 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
137 to tmake_file.
138
139 2013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
140
141 * config.host <mips*-*-linux*>: Remove a stray comment.
142
143 2013-08-10 Jan Hubicka <jh@suse.cz>
144
145 Work around binutils PR14342
146 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
147 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
148 (L_gcov_indirect_call_profiler_v2): New.
149
150 2013-08-06 Jan Hubicka <jh@suse.cz>
151
152 * libgcov.c (__gcov_indirect_call_callee,
153 __gcov_indirect_call_counters): New global vars.
154 (__gcov_indirect_call_profiler): replace by ...
155 (__gcov_indirect_call_profiler_v2) ... this one.
156
157 2013-08-06 Caroline Tice <cmtice@google.com>
158
159 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
160 vtv_start_preinit.o and vtv_end_preinit.o.
161 * configure.ac: Add code to check/set enable_vtable_verify.
162 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
163 true.
164 * vtv_start_preinit.c: New file.
165 * vtv_end_preinit.c: New file.
166 * vtv_start.c: New file.
167 * vtv_end.c: New file.
168 * configure: Regenerated.
169
170 2013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
171
172 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
173 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
174 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
175 GPL-3.0-with-GCC-exception.
176
177 2013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
178
179 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
180 ISA and up.
181
182 2013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
183
184 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
185 mapping for FPRs when creating the fallback framestate.
186
187 2013-07-19 Georg-Johann Lay <avr@gjlay.de>
188
189 PR target/57516
190 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
191 (__round_s2_const, __round_u2_const)
192 (__round_s4_const, __round_u4_const, __round_x8):
193 Saturate result if addition result cannot be represented.
194
195 2013-07-15 Matthias Klose <doko@ubuntu.com>
196
197 * libgcc2.c: Don't include <limits.h>.
198
199 2013-07-09 Janis Johnson <janisjo@codesourcery.com>
200
201 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
202
203 2013-07-06 Jakub Jelinek <jakub@redhat.com>
204
205 PR target/29776
206 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
207
208 2013-06-28 Jakub Jelinek <jakub@redhat.com>
209
210 PR middle-end/36041
211 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
212 Define.
213 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
214 instead of table lookups.
215 (__popcountDI2): Likewise.
216
217 2013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
218
219 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
220 correctly.
221
222 2013-06-21 Joseph Myers <joseph@codesourcery.com>
223
224 PR other/53317
225 * soft-fp/adddf3.c: Update from glibc.
226 * soft-fp/addsf3.c: Likewise.
227 * soft-fp/addtf3.c: Likewise.
228 * soft-fp/divdf3.c: Likewise.
229 * soft-fp/divsf3.c: Likewise.
230 * soft-fp/divtf3.c: Likewise.
231 * soft-fp/double.h: Likewise.
232 * soft-fp/eqdf2.c: Likewise.
233 * soft-fp/eqsf2.c: Likewise.
234 * soft-fp/eqtf2.c: Likewise.
235 * soft-fp/extenddftf2.c: Likewise.
236 * soft-fp/extended.h: Likewise.
237 * soft-fp/extendsfdf2.c: Likewise.
238 * soft-fp/extendsftf2.c: Likewise.
239 * soft-fp/fixdfdi.c: Likewise.
240 * soft-fp/fixdfsi.c: Likewise.
241 * soft-fp/fixsfdi.c: Likewise.
242 * soft-fp/fixsfsi.c: Likewise.
243 * soft-fp/fixtfdi.c: Likewise.
244 * soft-fp/fixtfsi.c: Likewise.
245 * soft-fp/fixunsdfdi.c: Likewise.
246 * soft-fp/fixunsdfsi.c: Likewise.
247 * soft-fp/fixunssfdi.c: Likewise.
248 * soft-fp/fixunssfsi.c: Likewise.
249 * soft-fp/fixunstfdi.c: Likewise.
250 * soft-fp/fixunstfsi.c: Likewise.
251 * soft-fp/floatdidf.c: Likewise.
252 * soft-fp/floatdisf.c: Likewise.
253 * soft-fp/floatditf.c: Likewise.
254 * soft-fp/floatsidf.c: Likewise.
255 * soft-fp/floatsisf.c: Likewise.
256 * soft-fp/floatsitf.c: Likewise.
257 * soft-fp/floatundidf.c: Likewise.
258 * soft-fp/floatundisf.c: Likewise.
259 * soft-fp/floatunditf.c: Likewise.
260 * soft-fp/floatunsidf.c: Likewise.
261 * soft-fp/floatunsisf.c: Likewise.
262 * soft-fp/floatunsitf.c: Likewise.
263 * soft-fp/gedf2.c: Likewise.
264 * soft-fp/gesf2.c: Likewise.
265 * soft-fp/getf2.c: Likewise.
266 * soft-fp/ledf2.c: Likewise.
267 * soft-fp/lesf2.c: Likewise.
268 * soft-fp/letf2.c: Likewise.
269 * soft-fp/muldf3.c: Likewise.
270 * soft-fp/mulsf3.c: Likewise.
271 * soft-fp/multf3.c: Likewise.
272 * soft-fp/negdf2.c: Likewise.
273 * soft-fp/negsf2.c: Likewise.
274 * soft-fp/negtf2.c: Likewise.
275 * soft-fp/op-1.h: Likewise.
276 * soft-fp/op-2.h: Likewise.
277 * soft-fp/op-4.h: Likewise.
278 * soft-fp/op-8.h: Likewise.
279 * soft-fp/op-common.h: Likewise.
280 * soft-fp/quad.h: Likewise.
281 * soft-fp/single.h: Likewise.
282 * soft-fp/soft-fp.h: Likewise.
283 * soft-fp/subdf3.c: Likewise.
284 * soft-fp/subsf3.c: Likewise.
285 * soft-fp/subtf3.c: Likewise.
286 * soft-fp/truncdfsf2.c: Likewise.
287 * soft-fp/trunctfdf2.c: Likewise.
288 * soft-fp/trunctfsf2.c: Likewise.
289 * soft-fp/unorddf2.c: Likewise.
290 * soft-fp/unordsf2.c: Likewise.
291 * soft-fp/unordtf2.c: Likewise.
292 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
293 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
294 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
295 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
296 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
297 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
298 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
299 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
300 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
301 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
302 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
303 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
304
305 2013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
306
307 * config/mips/lib2funcs.c: New file.
308 * config/mips/t-mips (LIB2ADD_ST): Add it.
309
310 2013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
311
312 PR target/6526
313 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
314 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
315
316 2013-06-08 Walter Lee <walt@tilera.com>
317
318 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
319 Replace int64_t with long long. Add __extension__ where
320 appropriate.
321 * config/tilepro/atomic.c: Include config.h.
322
323 2013-06-06 Douglas B Rupp <rupp@adacore.com>
324
325 * config.host (arm-wrs-vxworks): Configure with other soft float.
326
327 2013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
328
329 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
330 (mips64r5900el-*-elf*): New configurations.
331
332 2013-06-04 Alan Modra <amodra@gmail.com>
333
334 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
335
336 2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
337
338 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
339
340 2013-05-28 Eric Botcazou <ebotcazou@adacore.com>
341
342 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
343 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
344 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
345
346 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
347
348 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
349 (powerpc-wrs-vxworks): Likewise.
350
351 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
352
353 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
354 signal frames as well.
355 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
356 STACK_BIAS to the CFA offset.
357
358 2013-05-17 Richard Henderson <rth@redhat.com>
359
360 PR target/49146
361 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
362 (execute_cfa_program): Use it when storing to fs->regs.
363
364 2013-05-08 Kai Tietz <ktietz@redhat.com>
365
366 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
367 (__deregister_frame_info): Likewise.
368
369 2013-05-06 Thomas Schwinge <thomas@codesourcery.com>
370
371 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
372 NaN's payload.
373
374 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
375
376 2013-04-25 Alan Modra <amodra@gmail.com>
377
378 * config.host: Match little-endian powerpc-linux.
379
380 2013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
381
382 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
383 as 'unsigned long long' instead of 'unsigned long'.
384 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
385 'signed long'.
386
387 2013-04-10 Julian Brown <julian@codesourcery.com>
388
389 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
390 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
391 unsigned char/unsigned short.
392 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
393
394 2013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
395
396 PR other/55274
397 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
398
399 2013-04-04 Meador Inge <meadori@codesourcery.com>
400
401 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
402 computing the location of the link register.
403 (aeabi_uldivmod): Ditto.
404
405 2013-03-27 Kai Tietz <ktietz@redhat.com>
406
407 * config.host: Add support for cygwin x64 target.
408 * configure: Regenerated.
409
410 2013-03-26 Walter Lee <walt@tilera.com>
411
412 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
413 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
414
415 2013-03-25 Kai Tietz <ktietz@redhat.com>
416
417 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
418
419 2013-03-20 Robert Mason <rbmj@verizon.net>
420
421 * config/vxlib-tls.c (__gthread_get_tsd_data,)
422 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
423 (__gthread_leave_tsd_dtor_context): Add prototypes.
424 (tls_delete_hook): Update.
425
426 2013-03-20 Catherine Moore <clm@codesourcery.com>
427 Joseph Myers <joseph@codesourcery.com>
428 Chao-ying Fu <fu@mips.com>
429
430 * config/mips/mips16.S: Don't build for microMIPS.
431 * config/mips/linux-unwind.h: Handle microMIPS frame.
432 * config/mips/crtn.S (fini, init): New labels.
433
434 2013-03-14 Jakub Jelinek <jakub@redhat.com>
435
436 PR tree-optimization/53265
437 * unwind-dw2.c (execute_cfa_program): Avoid
438 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
439 on targets with DWARF_FRAME_REGISTERS < 32.
440
441 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
442
443 PR target/49880
444 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
445 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
446
447 2013-03-07 Sriraman Tallam <tmsriram@google.com>
448
449 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
450 sandybridge processors.
451
452 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
453
454 PR target/56529
455 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
456 inclusion list.
457
458 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
459
460 * config/microblaze/crti.S: Setup stack protection at entry
461
462 2013-03-04 Georg-Johann Lay <avr@gjlay.de>
463
464 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
465 (__rotldi3): Shift bytewise if applicable.
466
467 2013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
468
469 * config/aarch64/sync-cache.c
470 (__aarch64_sync_cache_range): Silence warnings.
471
472 2013-02-25 Catherine Moore <clm@codesourcery.com>
473
474 Revert:
475 2013-02-24 Catherine Moore <clm@codesourcery.com>
476 Joseph Myers <joseph@codesourcery.com>
477 Chao-ying Fu <fu@mips.com>
478
479 * config/mips/mips16.S: Don't build for microMIPS.
480 * config/mips/linux-unwind.h: Handle microMIPS frame.
481 * config/mips/crtn.S (fini, init): New labels.
482
483 2013-02-24 Catherine Moore <clm@codesourcery.com>
484 Joseph Myers <joseph@codesourcery.com>
485 Chao-ying Fu <fu@mips.com>
486
487 * config/mips/mips16.S: Don't build for microMIPS.
488 * config/mips/linux-unwind.h: Handle microMIPS frame.
489 * config/mips/crtn.S (fini, init): New labels.
490
491 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
492 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
493 as dividend.
494
495 2013-02-16 Alan Modra <amodra@gmail.com>
496
497 PR target/55431
498 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
499 (ppc_fallback_frame_state): Always set up save locations for fp
500 and altivec. Don't bother with non-callee-saved regs, r0-r13
501 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
502
503 2013-02-12 Georg-Johann Lay <avr@gjlay.de>
504
505 PR target/54222
506 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
507 _ssmulHA, _ssmulSA.
508 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
509 _ssmulha3, _usmulusa3, _ssmulsa3.
510 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
511 (__muldi3): XCALL __muldi3_6 instead of rcall.
512 (__umulsidi3, __mulsidi3): New functions.
513 (do_prologue_saves, do_epilogue_restores): New .macros.
514 (__divdi3_moddi3): Use them.
515 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
516 (__usmulusa3, __ssmulsa3): New functions.
517
518 2013-02-11 Iain Sandoe <iain@codesourcery.com>
519 Jack Howarth <howarth@bromo.med.uc.edu>
520 Patrick Marlier <patrick.marlier@gmail.com>
521
522 PR libitm/55693
523 * config/darwin-crt-tm.c: Remove dummy functions hack.
524
525 2013-02-08 Georg-Johann Lay <avr@gjlay.de>
526
527 PR target/54222
528 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
529 * config/avr/lib2-object.mk: New iterator to build objects from it.
530 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
531 lib2funcs.c.
532 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
533 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
534 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
535 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
536 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
537 * config/avr/lib1funcs-fixed.S: Implement them.
538
539 2013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
540
541 Update copyright years.
542
543 2013-02-01 David Edelsohn <dje.gcc@gmail.com>
544
545 PR target/54601
546 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
547 Add crtcxa to extra_parts.
548 * config/rs6000/exit.h: New file.
549 * config/rs6000/cxa_atexit.c: New file.
550 * config/rs6000/cxa_finalize.c: New file.
551 * config/rs6000/crtcxa.c: New file.
552 * config/rs6000/t-aix-cxa: New file.
553 * config/rs6000/libgcc-aix-cxa.ver: New file.
554
555 2013-01-31 Nick Clifton <nickc@redhat.com>
556
557 * config/v850/lib1funcs.S: Add support for e3v5 architecture
558 variant.
559
560 2013-01-29 Georg-Johann Lay <avr@gjlay.de>
561
562 PR target/54222
563 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
564 _mulQQ, _mulHQ, _mulHA, _mulSA,
565 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
566 _divQQ, _divHQ, _divHA, _divSA,
567 _divUQQ, _divUHQ, _divUHA, _divUSA.
568
569 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
570
571 * config.host(microblaze*-linux*): tmake_file: Remove
572 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
573 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
574 to exclude functions from being built with libgcc.c and use
575 the microblaze assembly.
576
577 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
578
579 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
580 extra_parts.
581
582 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
583
584 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
585 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
586 __UINTPTR_TYPE__; also cast 'base' to the same type before the
587 alignment operation.
588
589 2013-01-15 Sofiane Naci <sofiane.naci@arm.com>
590
591 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
592 loop start address for cache clearing.
593
594 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
595
596 * config/avr/lib1funcs.S: Remove trailing blanks.
597 * config/avr/lib1funcs-fixed.S: Ditto.
598
599 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
600
601 * config/avr/avr-lib.h: Add GPL copyright notice.
602
603 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
604
605 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
606 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
607 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
608 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
609
610 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
611
612 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
613 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
614
615 2013-01-04 Nick Clifton <nickc@redhat.com>
616
617 * config/v850/lib1funcs.S: Only provide CALLT support functions if
618 the CALLT instruction is supported.
619
620 2012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
621
622 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
623 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
624
625 2012-12-13 John Tytgat <John@bass-software.com>
626
627 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
628 is 25.
629
630 2012-12-12 Jakub Jelinek <jakub@redhat.com>
631
632 PR libgcc/55451
633 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
634 undefined signed overflows.
635
636 2012-12-09 Uros Bizjak <ubizjak@gmail.com>
637
638 PR target/55344
639 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
640
641 2012-12-06 Uros Bizjak <ubizjak@gmail.com>
642
643 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
644 (FP_TRAPPING_EXCEPTIONS): Define.
645 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
646 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
647
648 2012-12-04 Richard Henderson <rth@redhat.com>
649
650 PR bootstrap/55571
651 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
652
653 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
654
655 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
656 (FP_EX_SHIFT): Define.
657 (FP_TRAPPING_EXCEPTIONS): Define.
658
659 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
660
661 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
662 (FP_ROUNDMODE): Use FP_RND_MASK.
663 * config/aarch64/sfp-exceptions.c: New.
664 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
665 Use __sfp_handle_exceptions.
666
667 2012-12-04 Richard Earnshaw <rearnsha@arm.com>
668
669 * config.host: (arm*-*-freebsd*): Remove.
670 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
671 (arm*-*-elf*): Remove.
672 (arm*-*-wince-pe*): Remove.
673 * arm/unwind-arm.c (struct fpa_reg): Delete.
674 (struct fpa_regs): Delete.
675 (phase1_vrs): Remove fpa element.
676 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
677 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
678 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
679 * ieee754-sf.S (floatundisf): Remove FPA support.
680 (floatdisf): Likewise.
681 * ieee75f-df.S (floatundidf): Likewise.
682 (floatdidf): Likewise.
683
684 2012-11-29 Kai Tietz <ktietz@redhat.com>
685
686 PR target/55445
687 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
688 * unwind-generic.h: Likewise.
689 * unwind-seh.c: Likewise.
690
691 2012-11-28 Richard Henderson <rth@redhat.com>
692
693 PR libgcc/48076
694 * emutls.c (__emutls_get_address): Avoid race condition between
695 obj->loc.offset read and emutls_key initialization.
696
697 2012-11-22 Georg-Johann Lay <avr@gjlay.de>
698
699 Adjust decimal point of signed accum mode to GCC default.
700
701 PR target/54222
702 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
703 _divqq_helper.
704 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
705 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
706 (__mulha3, __mulsa3)
707 (__divqq3, __divha3, __divsa3): Adjust to new position of
708 decimal point of signed accum types.
709
710 (__mulusa3_round): New function.
711 (__mulusa3): Use it.
712 (__divqq_helper): New function.
713 (__udivuqq3): Use it.
714
715 2012-11-20 Jakub Jelinek <jakub@redhat.com>
716
717 PR bootstrap/55370
718 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
719
720 2012-11-18 Teresa Johnson <tejohnson@google.com>
721
722 PR bootstrap/55051
723 * libgcov.c (gcov_exit): Remove merged program summary
724 comparison unless !GCOV_LOCKED.
725
726 2012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
727
728 * soft-fp: Updated from glibc upstream.
729
730 2012-11-06 Ian Lance Taylor <iant@google.com>
731
732 * generic-morestack.c (__generic_morestack): Align the returned
733 stack pointer to a 32 byte boundary.
734 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
735 increment the return address until we have decided that we don't
736 have a varargs function.
737 (__morestack) [32-bit]: Align stack correctly when calling C
738 functions.
739 (__morestack) [64-bit]: Likewise.
740
741 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
742
743 * configure: Regenerate.
744
745 2012-11-02 Uros Bizjak <ubizjak@gmail.com>
746
747 PR target/55175
748 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
749 * config/i386/sfp-machine.h: Guard exception handling
750 code with _SOFT_FLOAT.
751 * config/i386/32/sfp-machine.h: Guard rounding handling
752 code with _SOFT_FLOAT.
753 * config/i386/64/sfp-machine.h: Ditto.
754
755 2012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
756
757 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
758 as extra_parts.
759
760 2012-10-26 Uros Bizjak <ubizjak@gmail.com>
761
762 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
763 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
764 when appropriate. Correct structure element types.
765 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
766 -minline-all-stringops from compile flags.
767
768 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
769
770 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
771
772 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
773
774 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
775
776 2012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
777
778 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
779 tmake_file.
780
781 2012-10-23 Ian Bolton <ian.bolton@arm.com>
782 Jim MacArthur <jim.macarthur@arm.com>
783 Marcus Shawcroft <marcus.shawcroft@arm.com>
784 Nigel Stephens <nigel.stephens@arm.com>
785 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
786 Richard Earnshaw <rearnsha@arm.com>
787 Sofiane Naci <sofiane.naci@arm.com>
788 Stephen Thomas <stephen.thomas@arm.com>
789 Tejas Belagod <tejas.belagod@arm.com>
790 Yufeng Zhang <yufeng.zhang@arm.com>
791
792 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
793 * config/aarch64/crti.S: New file.
794 * config/aarch64/crtn.S: New file.
795 * config/aarch64/linux-unwind.h: New file.
796 * config/aarch64/sfp-machine.h: New file.
797 * config/aarch64/sync-cache.c: New file.
798 * config/aarch64/t-aarch64: New file.
799 * config/aarch64/t-softfp: New file.
800
801 2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
802
803 * config/mmix/crti.S: Mark program and data addresses using PRELD.
804 Remove typo'd and unnecessary alignment-LOC for .data. Remove
805 no-longer-needed LDBU insns.
806
807 2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
808
809 * config.host
810 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
811 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
812
813 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
814
815 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
816
817 2012-10-15 Matthias Klose <doko@ubuntu.com>
818
819 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
820
821 2012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
822
823 * configure: Regenerate.
824 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
825
826 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
827
828 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
829 instructions for 64bit targets only.
830
831 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
832
833 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
834 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
835 * config/i386/32/sfp-machine.h: ... here.
836 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
837 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
838 New defines.
839
840 2012-10-07 Matthias Klose <doko@ubuntu.com>
841
842 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
843 as unused.
844 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
845
846 2012-10-06 Mark Kettenis <kettenis@openbsd.org>
847
848 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
849 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
850 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
851 (ElfW): Likewise.
852
853 2012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
854
855 PR other/53889
856 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
857 Fix parameter names.
858
859 2012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
860
861 PR target/33135
862 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
863 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
864 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
865
866 2012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
867
868 PR target/50457
869 * config/sh/linux-atomic.S: Delete.
870 * config/sh/linux-atomic.c: New.
871 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
872 linux-atomic.c. Add cflags to disable warnings.
873
874 2012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
875
876 PR other/53889
877 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
878 function.
879 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
880 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
881 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
882 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
883 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
884 Likewise.
885 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
886 Likewise.
887 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
888 Likewise.
889 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
890 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
891
892 2012-09-19 Mark Kettenis <kettenis@openbsd.org>
893
894 * config.host (hppa-*-openbsd*): New target.
895 * config/pa/t-openbsd: New file.
896
897 2012-09-15 Georg-Johann Lay <avr@gjlay.de>
898
899 PR target/54222
900 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
901 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
902 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
903 (__divsa3): Use __negsi2 to negate r_quoL.
904 * config/avr/lib1funcs.S (FALIAS): New macro.
905 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
906 (__negsi2): ...this new function.
907 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
908 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
909 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
910 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
911 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
912 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
913
914 2012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
915
916 PR target/54089
917 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
918 (lshrsi3): Reimplement as lshrsi3_r0.
919
920 2012-09-10 Andreas Schwab <schwab@linux-m68k.org>
921
922 PR target/46191
923 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
924 of libgcc.a.
925
926 2012-09-07 Teresa Johnson <tejohnson@google.com>
927
928 PR gcov-profile/54487
929 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
930 differences.
931
932 2012-09-05 Georg-Johann Lay <avr@gjlay.de>
933
934 PR target/54461
935 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
936 not configured --with-avrlibc=no.
937 * config/avr/t-avrlibc: New file.
938 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
939 (DPBIT_FUNCS): Ditto.
940 (TPBIT_FUNCS): Ditto.
941
942 2012-09-04 Teresa Johnson <tejohnson@google.com>
943
944 * libgcov.c (struct gcov_summary_buffer): New structure.
945 (gcov_histogram_insert): New function.
946 (gcov_compute_histogram): Ditto.
947 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
948 histograms during summary merging.
949
950 2012-09-01 Mark Kettenis <kettenis@openbsd.org>
951
952 * config.host (x86_64-*-openbsd*): New target.
953
954 2012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
955
956 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
957 attribute.
958
959 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
960
961 PR target/54222
962 * config/avr/t-avr (conv_X): Rename to func_X.
963
964 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
965
966 PR target/54222
967 * config/avr/lib1funcs-fixed.S: New file.
968 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
969 after they are used.
970 (neg2, neg4): New macros.
971 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
972 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
973 (__umulhisi3): Speed up MUL variant if there is enough flash.
974 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
975 avr-modes.def.
976 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
977 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
978 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
979 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
980 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
981 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
982 (LIB2FUNCS_EXCLUDE): Add supported functions.
983
984 2012-08-22 Georg-Johann Lay <avr@gjlay.de>
985
986 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
987 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
988 libgcc-s-objects.
989 * fixed-obj.mk: Only expand dependency if $o is not in
990 LIB2FUNCS_EXCLUDE.
991
992 2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
993
994 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
995
996 2012-08-22 Joseph Myers <joseph@codesourcery.com>
997
998 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
999 depend on --enable-shared.
1000 ($(lib1asmfuncs-o)): Use %.vis files independent of
1001 --enable-shared.
1002 * static-object.mk ($(base)$(objext), $(base).vis)
1003 ($(base)_s$(objext)): Use same rules for visibility handling as in
1004 shared-object.mk.
1005
1006 2012-08-21 Ian Lance Taylor <iant@google.com>
1007
1008 * config/i386/morestack.S (__morestack_non_split): Increase amount
1009 of space allocated for non-split code stack.
1010
1011 2012-08-19 Joseph Myers <joseph@codesourcery.com>
1012
1013 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
1014 even if inhibit_libc.
1015
1016 2012-08-17 Julian Brown <julian@codesourcery.com>
1017
1018 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
1019 -fexceptions -fnon-call-exceptions if not defined.
1020 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
1021 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
1022
1023 2012-08-17 Andreas Schwab <schwab@linux-m68k.org>
1024
1025 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
1026 type.
1027
1028 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
1029
1030 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
1031 rs6000/t-slibgcc-aix.
1032
1033 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
1034
1035 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
1036
1037 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
1038
1039 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
1040
1041 2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
1042
1043 PR driver/54171
1044 * Makefile.in (version): Replace top_srcdir with srcdir.
1045
1046 2012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
1047
1048 * Makefile.in (version): set to BASE-VER file from gcc directory.
1049
1050 2012-08-01 Nick Clifton <nickc@redhat.com>
1051
1052 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
1053 Implements __clrsb for an HImode argument.
1054
1055 2012-07-31 Nick Clifton <nickc@redhat.com>
1056
1057 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
1058 Implements __clrsb for an HImode argument.
1059 * config/stormy16/clrsbhi2.c: New file:
1060 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
1061
1062 2012-07-22 Steven Bosscher <steven@gcc.gnu.org>
1063
1064 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
1065
1066 2012-07-19 Tristan Gingold <gingold@adacore.com>
1067 Richard Henderson <rth@redhat.com>
1068
1069 * unwind-seh.c: New file.
1070 * unwind-generic.h: Include windows.h for SEH.
1071 (_Unwind_Exception): Use 6 private fields for SEH.
1072 (_GCC_specific_handler): Declare.
1073 * unwind-c.c (__gcc_personality_seh0): New function.
1074 Adjust for SEH.
1075 * config/i386/libgcc-cygming.ver: New file.
1076 * config/i386/t-seh-eh: New file.
1077 * config.host (x86_64-*-mingw*): Default to seh.
1078
1079 2012-07-14 Steven Bosscher <steven@gcc.gnu.org>
1080
1081 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
1082
1083 2012-06-17 Uros Bizjak <ubizjak@gmail.com>
1084
1085 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
1086 __builtin_expect when checking for exceptions.
1087 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
1088
1089 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
1090
1091 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
1092 function declaration.
1093 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
1094 (FP_RND_MASK): New.
1095 * config/ia64/sfp-exceptions.c: New.
1096 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
1097
1098 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
1099
1100 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
1101 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
1102 * config/i386/64/sfp-machine: ... (delete here) ...
1103 * config/i386/sfp-machine.h: ... to here.
1104 (FP_EX_MASK): Remove.
1105 (FP_RND_MASK): New.
1106 (FP_INIT_ROUNDMODE): Declare asm as volatile.
1107
1108 2012-06-11 Sriraman Tallam <tmsriram@google.com>
1109
1110 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
1111 * config/i386/libgcc-sol2.ver: Ditto.
1112 * config/i386/libgcc-glibc.ver: Ditto.
1113
1114 2012-06-11 Roland McGrath <mcgrathr@google.com>
1115
1116 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
1117 If __GLIBC__ is defined, refer to __pthread_key_create instead of
1118 pthread_cancel.
1119
1120 2012-06-09 Uros Bizjak <ubizjak@gmail.com>
1121
1122 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
1123 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
1124 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
1125 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
1126 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
1127 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
1128 * config/i386/64/sfp-machine: ... (delete here) ...
1129 * config/i386/sfp-machine.h: ... to here.
1130 (FP_EX_MASK): New.
1131 (__sfp_handle_exceptions): New function declaration.
1132 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
1133 * config/i386/sfp-exceptions.c: New.
1134 * config/i386/t-softfp: New.
1135 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
1136 i386/t-softfp to tmake_file.
1137
1138 2012-06-03 David S. Miller <davem@davemloft.net>
1139
1140 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
1141 change.
1142
1143 2012-05-31 David S. Miller <davem@davemloft.net>
1144
1145 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
1146 multiply and divide instructions on 32-bit when V9.
1147 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
1148
1149 2012-05-29 Joseph Myers <joseph@codesourcery.com>
1150
1151 * config/arm/ieee754-df.S: Fix typos.
1152 * config/arm/ieee754-sf.S: Fix typos.
1153 * config/c6x/libunwind.S: Fix typos.
1154 * config/epiphany/udivsi3-float.c: Fix typos.
1155 * config/microblaze/muldi3_hard.S: Fix typos.
1156 * config/picochip/adddi3.S: Fix typos.
1157 * config/picochip/ashlsi3.S: Fix typos.
1158 * config/picochip/ashrsi3.S: Fix typos.
1159 * config/picochip/clzsi2.S: Fix typos.
1160 * config/picochip/cmpsi2.S: Fix typos.
1161 * config/picochip/divmod15.S: Fix typos.
1162 * config/picochip/divmodhi4.S: Fix typos.
1163 * config/picochip/divmodsi4.S: Fix typos.
1164 * config/picochip/longjmp.S: Fix typos.
1165 * config/picochip/lshrsi3.S: Fix typos.
1166 * config/picochip/parityhi2.S: Fix typos.
1167 * config/picochip/popcounthi2.S: Fix typos.
1168 * config/picochip/setjmp.S: Fix typos.
1169 * config/picochip/subdi3.S: Fix typos.
1170 * config/picochip/ucmpsi2.S: Fix typos.
1171 * config/picochip/udivmodhi4.S: Fix typos.
1172 * config/picochip/udivmodsi4.S: Fix typos.
1173 * config/spu/divv2df3.c: Fix typos.
1174 * config/spu/mfc_multi_tag_release.c: Fix typos.
1175 * config/spu/mfc_tag_release.c: Fix typos.
1176 * configure.ac: Fix typos.
1177 * configure: Regenerate.
1178
1179 2012-05-25 Ian Lance Taylor <iant@google.com>
1180
1181 * config/i386/morestack.S (__morestack_non_split): Check whether
1182 caller is varargs and needs %bp to hold the stack frame on return.
1183
1184 2012-05-25 Olivier Hainque <hainque@adacore.com>
1185
1186 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
1187 sequence in the non pic case on VxWorks.
1188
1189 2012-05-24 Olivier Hainque <hainque@adacore.com>
1190
1191 * Makefile.in: Move dependency on install-unwind_h from
1192 "install-leaf" to "install".
1193
1194 2012-05-24 Olivier Hainque <hainque@adacore.com>
1195
1196 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
1197 Use a separate command for stamp removals.
1198
1199 2012-05-21 Andrew Pinski <apinski@cavium.com>
1200
1201 PR bootstrap/53183
1202 * configure.ac: Define the default includes to being none.
1203 * configure: Regenerate.
1204
1205 2012-05-16 Olivier Hainque <hainque@adacore.com>
1206
1207 * Makefile.in (install-unwind_h): Rename into ...
1208 (install-unwind_h-forbuild): New target.
1209 (all): Use it instead of the former install-unwind_h.
1210 (install-unwind_h): Reinstate, copy to user install destination
1211 for include files, not to the internal gcc object directory one.
1212 (install-leaf): Depend on it.
1213
1214 2012-05-15 Olivier Hainque <hainque@adacore.com>
1215
1216 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
1217 register numbers. LR_REGNO replaces R_LR.
1218 (ucontext_for): New, helper for ...
1219 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
1220 and 5.3 of ...
1221 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
1222
1223 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1224
1225 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
1226 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
1227 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
1228 i386/t-cpuinfo ...
1229 (i[34567]86-*-*, x86_64-*-*): ... here.
1230
1231 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
1232 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
1233
1234 * config/i386/i386-cpuinfo.c: Rename to ...
1235 * config/i386/cpuinfo.c: ... this.
1236 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
1237
1238 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
1239 (libgcc_cv_init_priority): New test.
1240 * configure: Regenerate.
1241 * config.in: New file.
1242 * Makefile.in (clean): Rename config.h to auto-target.h.
1243 (config.h): Likewise.
1244 (stamp-h): Likewise.
1245
1246 * config/i386/cpuinfo.c (auto-target.h): Include.
1247 (CONSTRUCTOR_PRIORITY): Define.
1248 (__cpu_indicator_init): Use it.
1249
1250 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
1251
1252 * longlong.h: Use a URL instead of an FSF postal address.
1253 Replace spaces with tab.
1254
1255 2012-05-08 Teresa Johnson <tejohnson@google.com>
1256
1257 * libgcov.c (gcov_clear, __gcov_reset): New functions.
1258 (__gcov_dump): Ditto.
1259 (gcov_dump_complete): New global variable.
1260 (gcov_exit): Export hidden to enable use in L_gcov_dump.
1261 (__gcov_flush): Outline functionality now in gcov_clear.
1262 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
1263
1264 2012-04-28 Aurelien Jarno <aurelien@aurel32.net>
1265
1266 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
1267 (mips*-*-linux*): Include mips/t-tpbit when long double is
1268 16 bytes long.
1269
1270 2012-04-25 Sriraman Tallam <tmsriram@google.com>
1271
1272 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
1273 (get_available_features): New argument. Check for AVX2.
1274 (__cpu_indicator_init): Modify call to get_available_features.
1275
1276 2012-04-25 Alan Modra <amodra@gmail.com>
1277
1278 * config/rs6000/crtsavevr.S: New file.
1279 * config/rs6000/crtrestvr.S: New file.
1280 * config/rs6000/t-savresfgpr: Build the above.
1281 * config/rs6000/t-netbsd: Likewise.
1282
1283 2012-04-24 Sriraman Tallam <tmsriram@google.com>
1284
1285 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
1286
1287 2012-04-24 Sriraman Tallam <tmsriram@google.com>
1288
1289 * libgcc/config/i386/i386-cpuinfo.c: New file.
1290 * libgcc/config/i386/t-cpuinfo: New file.
1291 * libgcc/config.host: Include t-cpuinfo.
1292 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
1293
1294 2012-04-24 Chao-ying Fu <fu@mips.com>
1295
1296 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
1297
1298 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
1299
1300 struct siginfo vs. siginfo_t
1301
1302 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
1303 siginfo_t instead of struct siginfo.
1304 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
1305 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
1306 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
1307 (ia64_handle_unwabi): Likewise.
1308 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
1309 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
1310 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
1311 (sh_fallback_frame_state): Likewise.
1312 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
1313 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
1314
1315 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
1316
1317 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
1318 system call number.
1319
1320 2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
1321
1322 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
1323 if it hasn't been previously saved.
1324
1325 2012-03-29 H.J. Lu <hongjiu.lu@intel.com>
1326
1327 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
1328 only for glibc.
1329
1330 2012-03-28 Georg-Johann Lay <avr@gjlay.de>
1331
1332 PR target/52737
1333 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
1334 instead of __AVR_HAVE_8BIT_SP__.
1335
1336 2012-03-26 Tristan Gingold <gingold@adacore.com>
1337
1338 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
1339 (unw_table_entry): Use unw_word instead of unsigned long.
1340 (_Unwind_FindTableEntry): Likewise.
1341 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
1342 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
1343 (_Unwind_FindTableEntry): Likewise.
1344 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
1345 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
1346 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
1347 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
1348 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
1349 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
1350 (uw_init_context_1, uw_install_context): Likewise.
1351 (unw_word): Move to unwind-ia64.h
1352
1353 2012-03-26 Tristan Gingold <gingold@adacore.com>
1354
1355 * config/vms/vms-ucrt0.c: Update copyright years.
1356 Add a sanity check.
1357 (___gcc_main_flags): Declare.
1358 (__main): Check flags to remap argv and exit code.
1359 * config.host (*-*-*vms*): Adjust extra_parts.
1360 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
1361 (crt0.o): Add.
1362
1363 2012-03-22 Richard Earnshaw <rearnsha@arm.com>
1364
1365 * arm/lib1funcs.asm (ctzsi2): New function.
1366 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
1367 * arm/t-linux (LIB1ASMFUNCS): Likewise.
1368 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
1369 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
1370 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
1371 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
1372
1373 2012-03-21 Andreas Tobler <andreast@fgznet.ch>
1374
1375 * config.host: Add bits to support powerpc64-*-freebsd*.
1376 * config/rs6000/freebsd-unwind.h: New file.
1377 * config/rs6000/t-freebsd64: New file.
1378
1379 2012-03-20 Richard Guenther <rguenther@suse.de>
1380
1381 PR gcov-profile/52627
1382 * libgcov.c (init_mx): Fix mutex name.
1383
1384 2012-03-16 Tristan Gingold <gingold@adacore.com>
1385
1386 * config/ia64/vms-unwind.h: Remove ulong (and replace
1387 it by unw_reg where used). Define unw_reg with __int64.
1388
1389 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1390
1391 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
1392 Solaris 8 handling.
1393 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
1394 Solaris 8 handling.
1395 (sparc_is_sighandler): Likewise.
1396
1397 2012-03-13 H.J. Lu <hongjiu.lu@intel.com>
1398
1399 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
1400 <= saved reg size.
1401
1402 2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1403
1404 * config/arm/crtn.S: Fix typo.
1405
1406 2012-03-13 Richard Guenther <rguenther@suse.de>
1407
1408 * libgcov.c: Remove stdio.h include and NULL un-define.
1409
1410 2012-03-13 Richard Guenther <rguenther@suse.de>
1411
1412 PR target/52569
1413 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
1414
1415 2012-03-13 Richard Guenther <rguenther@suse.de>
1416
1417 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
1418
1419 2012-03-13 Richard Guenther <rguenther@suse.de>
1420
1421 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
1422 and __gthread_mutex_init_function definitions.
1423
1424 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1425
1426 * config.host (mips*-*-openbsd*): Remove.
1427
1428 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1429
1430 * config.host: Remove alpha*-dec-osf5.1* handling.
1431 * config/alpha/gthr-posix.c: Remove.
1432 * config/alpha/libgcc-osf5.ver: Remove.
1433 * config/alpha/osf5-unwind.h: Remove.
1434 * config/alpha/t-osf-pthread: Remove.
1435 * config/alpha/t-slibgcc-osf: Remove.
1436 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
1437 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
1438 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
1439 * mkmap-flat.awk: Remove osf_export handling.
1440
1441 2012-03-12 Richard Guenther <rguenther@suse.de>
1442
1443 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
1444 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
1445 (__gthread_mutex_init_function): New function.
1446 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
1447
1448 PR gcov/49484
1449 * libgcov.c: Include gthr.h.
1450 (__gcov_flush_mx): New global variable.
1451 (init_mx, init_mx_once): New functions.
1452 (__gcov_flush): Protect self with a mutex.
1453 (__gcov_fork): Re-initialize mutex after forking.
1454 * unwind-dw2-fde.c: Change condition under which to use
1455 __GTHREAD_MUTEX_INIT_FUNCTION.
1456
1457 2012-03-12 Tristan Gingold <gingold@adacore.com>
1458
1459 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
1460 * config/ia64/t-vms: Likewise.
1461
1462 2012-03-11 Michael Hope <michael.hope@linaro.org>
1463
1464 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
1465 for Thumb-2.
1466
1467 2012-03-07 Walter Lee <walt@tilera.com>
1468
1469 * config/tilepro/atomic.c: Rename "atomic_" prefix to
1470 "arch_atomic_".
1471 (atomic_xor): Rename and move definition to
1472 config/tilepro/atomic.h.
1473 (atomic_nand): Ditto.
1474 * config/tilepro/atomic.h: Rename "atomic_" prefix to
1475 "arch_atomic_".
1476 (arch_atomic_xor): Move from config/tilepro/atomic.c.
1477 (arch_atomic_nand): Ditto.
1478
1479 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
1480
1481 PR target/52507
1482 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
1483
1484 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
1485
1486 PR target/52505
1487 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
1488 from RAM.
1489
1490 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
1491
1492 PR target/52461
1493 PR target/52508
1494 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
1495 if RAMPZ affects reading from RAM.
1496 (__tablejump_elpm__): Ditto.
1497 (.xload): Ditto.
1498 (__movmemx_hi): Ditto.
1499 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
1500 (__do_global_dtors): Ditto.
1501 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
1502 (__movmemx_hi): Ditto.
1503
1504 2012-03-05 Richard Henderson <rth@redhat.com>
1505
1506 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
1507 [ARM] (count_trailing_zeros): Use the builtin.
1508
1509 2012-03-01 Kai Tietz <ktietz@redhat.com>
1510
1511 * soft-fp: Imported from glibc upstream.
1512
1513 2012-02-28 Kai Tietz <ktietz@redhat.com>
1514
1515 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
1516 for mingw-targets as attribute gcc_struct.
1517
1518 2012-02-28 Ian Lance Taylor <iant@google.com>
1519
1520 * generic-morestack.c (__splitstack_releasecontext): Correct call
1521 to __morestack_release_segments.
1522
1523 2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
1524
1525 PR target/52390
1526 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
1527 for __linux__ when removing signals from __morestack_fullmask.
1528
1529 2012-02-23 Georg-Johann Lay <avr@gjlay.de>
1530
1531 PR target/52261
1532 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
1533
1534 2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1535
1536 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
1537 instead of HAVE_INITFINI_ARRAY.
1538 * config/ia64/crtend.S: Likewise.
1539
1540 2012-02-20 Kai Tietz <ktietz@redhat.com>
1541
1542 PR libstdc++/52300
1543 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
1544
1545 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
1546 to w32-unwind.h header.
1547
1548 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
1549
1550 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
1551 (mips*-*-linux*): Remove t-slibgcc-libgcc.
1552 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
1553 * config/mips/mips16.S (__mips16_rdhwr): Delete.
1554
1555 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
1556
1557 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
1558
1559 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
1560
1561 PR libitm/52220
1562 * config/darwin-crt-tm.c: Correct typo.
1563
1564 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
1565 Patrick Marlier <patrick.marlier@gmail.com>
1566
1567 PR libitm/52220
1568 * config/darwin-crt-tm.c: Generate dummy functions.
1569
1570 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
1571 Patrick Marlier <patrick.marlier@gmail.com>
1572
1573 PR libitm/52042
1574 * config/darwin-crt-tm.c (getTMCloneTable): New function.
1575 (__doTMRegistrations): Call it.
1576 (__doTMdeRegistrations): Likewise.
1577
1578 2012-01-15 Georg-Johann Lay <avr@gjlay.de>
1579 Anatoly Sokolov <aesok@post.ru>
1580 Eric Weddington <eric.weddington@atmel.com>
1581
1582 PR target/52261
1583 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
1584 (__epilogue_restores__): Ditto.
1585
1586 2012-02-15 Eric Botcazou <ebotcazou@adacore.com>
1587
1588 PR target/51921
1589 PR target/52205
1590 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
1591 Solaris 11 and slightly reformat.
1592 (sparc_is_sighandler): Likewise.
1593
1594 2012-02-14 Walter Lee <walt@tilera.com>
1595
1596 * config.host: Handle tilegx and tilepro.
1597 * config/tilegx/sfp-machine.h: New file.
1598 * config/tilegx/sfp-machine32.h: New file.
1599 * config/tilegx/sfp-machine64.h: New file.
1600 * config/tilegx/t-crtstuff: New file.
1601 * config/tilegx/t-softfp: New file.
1602 * config/tilegx/t-tilegx: New file.
1603 * config/tilepro/atomic.c: New file.
1604 * config/tilepro/atomic.h: New file.
1605 * config/tilepro/linux-unwind.h: New file.
1606 * config/tilepro/sfp-machine.h: New file.
1607 * config/tilepro/softdivide.c: New file.
1608 * config/tilepro/softmpy.S: New file.
1609 * config/tilepro/t-crtstuff: New file.
1610 * config/tilepro/t-tilepro: New file.
1611
1612 2012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
1613
1614 PR libstdc++/51296
1615 PR libstdc++/51906
1616 * gthr-posix.h: Allow static initializer macros to be disabled.
1617 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
1618
1619 2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
1620
1621 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
1622 Add t-slibgcc-libgcc to tmake_file.
1623 * config/mips/libgcc-mips16.ver: Revert previous patch.
1624 * config/mips/mips16.S (__mips16_rdhwr): Hide.
1625
1626 2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
1627 Jayant R Sonar <jayant.sonar@kpitcummins.com>
1628
1629 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
1630 * config/cr16/crti.S: New file.
1631 * config/cr16/crtlibid.S: New file.
1632 * config/cr16/crtn.S: New file.
1633 * config/cr16/lib1funcs.S: New file.
1634 * config/cr16/t-cr16: New file.
1635 * config/cr16/t-crtlibid: New file.
1636 * config/cr16/unwind-dw2.h: New file.
1637 * config/cr16/unwind-cr16.c: New file.
1638 * config/cr16/divmodhi3.c: New file.
1639
1640 2012-01-25 Alan Modra <amodra@gmail.com>
1641
1642 * config/rs6000/t-linux64: Delete. Move..
1643 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
1644 * config/rs6000/t-linux: ..and libgcc flags to here.
1645
1646 2012-01-22 Douglas B Rupp <rupp@gnat.com>
1647
1648 * config.host (i[34567]86-*-interix3*):
1649 Change triplet to i[34567]86-*-interix[3-9]*.
1650 * configure: Regenerate.
1651
1652 2012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
1653 Richard Sandiford <rdsandiford@googlemail.com>
1654
1655 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
1656 * config/mips/mips16.S (__mips16_rdhwr): New function.
1657 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
1658
1659 2012-01-11 Nathan Sidwell <nathan@acm.org>
1660
1661 * libgcov.c (__gcov_init): Ignore objects with no functions.
1662
1663 2012-01-10 Georg-Johann Lay <avr@gjlay.de>
1664
1665 PR target/49868
1666 Extend __pgmx semantics to linearize memory.
1667 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
1668 * config/avr/lib1funcs.S (__xload_1): New function.
1669 (__movmemx_qi, __movmemx_hi): New functions.
1670 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
1671 semantics.
1672
1673 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
1674
1675 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
1676 purported sigacthandler address isn't null before dereferencing it.
1677 (sparc_is_sighandler): Likewise.
1678
1679 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
1680
1681 PR ada/41929
1682 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
1683 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
1684 (sparc_is_sighandler): Likewise.
1685 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
1686
1687 2012-01-06 Tristan Gingold <gingold@adacore.com>
1688
1689 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
1690 compatibility thunks...
1691 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
1692 (crtbeginS.o, crtendS.o): ... and these to ...
1693 * config/ia64/t-ia64-elf: ... this new file.
1694 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
1695 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
1696
1697 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1698
1699 * configure: Regenerate.
1700 * config/s390/t-crtstuff: Remove -fPIC.
1701
1702 2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
1703
1704 PR bootstrap/51006
1705 * enable-execute-stack-mprotect.c (getpagesize): Do not define
1706 for NetBSD.
1707
1708 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
1709
1710 PR target/51345
1711 * config/avr/lib1funcs.S: Remove FIXME comments.
1712 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
1713
1714 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
1715
1716 Implement light-weight DImode support.
1717 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
1718 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
1719 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
1720 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
1721
1722 2011-12-30 Nathan Sidwell <nathan@acm.org>
1723
1724 * libgcov.c (gcov_crc32): Remove global var.
1725 (free_fn_data): New function.
1726 (buffer_fn_data): Pass in filename, more robust error recovery.
1727 (crc32_unsigned): New function.
1728 (gcov_exit): More robust detection of new program. More robust
1729 error recovery.
1730 (__gcov_init): Do not update program's crc here.
1731
1732 2011-12-21 Tristan Gingold <gingold@adacore.com>
1733
1734 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
1735
1736 2011-12-21 Ian Lance Taylor <iant@google.com>
1737
1738 * config/i386/morestack.S: Simplify CFI opcodes throughout.
1739
1740 2011-12-20 Ian Lance Taylor <iant@google.com>
1741
1742 * config/i386/morestack.S (__morestack_non_split): If there is
1743 enough stack space already, don't split. Ask for more stack space
1744 than we required.
1745
1746 2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
1747
1748 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
1749 `sys/sdt.h'.
1750 (_Unwind_DebugHook): New function.
1751 (uw_restore_core_regs): New define.
1752 (unwind_phase2): Use uw_restore_core_regs instead of
1753 restore_core_regs.
1754 (unwind_phase2_forced): Likewise.
1755 (__gnu_Unwind_Resume): Likewise.
1756
1757 2011-12-20 Uros Bizjak <ubizjak@gmail.com>
1758
1759 * config/alpha/linux-unwind.h: Update copyright years.
1760 (MD_FROB_UPDATE_CONTEXT): New define.
1761 (alpha_frob_update_context): New function.
1762
1763 2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
1764
1765 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
1766 tmake_file rather replacing it.
1767
1768 2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
1769
1770 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1771 function is not used for PPC64.
1772 (save_world): Amend comments. Update the VRsave mask to reflect the
1773 saved regs.
1774 (rest_world): Update comments, do not clobber r10, do not use r8.
1775 (eh_rest_world_r10): Amend comments, do not use r8.
1776 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
1777 no longer used, move restore of CR and target address to the end of
1778 the routine.
1779
1780 2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
1781
1782 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
1783 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
1784
1785 2011-12-14 Georg-Johann Lay <avr@gjlay.de>
1786
1787 PR target/49313
1788 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
1789 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
1790
1791 2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
1792
1793 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
1794
1795 2011-12-09 Georg-Johann Lay <avr@gjlay.de>
1796
1797 PR target/49313
1798 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
1799 * config/avr/lib1funcs.S (__muldi3): New function.
1800
1801 2011-12-06 Andrew Pinski <apinski@cavium.com>
1802
1803 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
1804 size of func_ptr.
1805 (__frame_dummy_init_array_entry): Likewise.
1806
1807 2011-12-06 Georg-Johann Lay <avr@gjlay.de>
1808
1809 Forward-port from gcc-4_6-branch r181936 2011-12-02.
1810
1811 PR target/51345
1812 PR target/51002
1813 * config/avr/lib1funcs.S (__prologue_saves__,
1814 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
1815 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
1816
1817 2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
1818
1819 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
1820
1821 2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1822
1823 PR other/51272
1824 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
1825 (_ITM_deregisterTMCloneTable): Likewise.
1826 (__register_frame_info): Fix unused warning.
1827 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
1828 pthread_default_stacksize_np): Likewise.
1829 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1830
1831 2011-11-29 DJ Delorie <dj@redhat.com>
1832
1833 * config.host (rl78-*-elf): New case.
1834 * config/rl78: New directory for the Renesas RL78.
1835
1836 2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
1837
1838 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
1839 formatting.
1840
1841 2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1842
1843 PR other/51022
1844 * config/rs6000/t-savresfgpr: New file.
1845 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
1846 $(srcdir)/config/rs6000/eabi.S.
1847 * config/rs6000/t-ppccomm-ldbl: Remove.
1848 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
1849 tmake_file.
1850 (powerpc-*-eabispe*): Likewise.
1851 (powerpc-*-eabi*): Likewise.
1852 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
1853 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
1854 to tmake_file, remove rs6000/t-ppccomm-ldbl.
1855 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
1856 tmake_file.
1857 (powerpc-*-eabisim*): Likewise.
1858 (powerpc-*-elf*): Likewise.
1859 (powerpc-*-eabialtivec*): Likewise.
1860 (powerpc-xilinx-eabi*): Likewise.
1861 (powerpc-*-rtems*): Likewise.
1862 (powerpcle-*-elf*): Likewise.
1863 (powerpcle-*-eabisim*): Likewise.
1864 (powerpcle-*-eabi*): Likewise.
1865
1866 2011-11-27 Ian Lance Taylor <iant@google.com>
1867
1868 * generic-morestack.c (__splitstack_find): Check for NULL old
1869 stack value.
1870 (__splitstack_resetcontext): New function.
1871 (__splitstack_releasecontext): New function.
1872 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
1873
1874 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
1875
1876 * config/darwin-crt-tm.c: Correct comments, use correct licence.
1877
1878 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
1879
1880 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
1881
1882 2011-11-26 Richard Henderson <rth@redhat.com>
1883
1884 * config/m68k/linux-atomic.c: New file.
1885 * config/m68k/t-linux: New file.
1886 * config.host (m68k-uclinux, m68k-linux): Use it.
1887
1888 2011-11-26 Richard Henderson <rth@redhat.com>
1889
1890 * crtstuff.c (__TMC_LIST__): Mark used not unused.
1891 (__TMC_END__): Only declare if hidden is available; in the definition,
1892 if hidden is unavailable add a null record.
1893 (deregister_tm_clones, register_tm_clones): New.
1894 (__do_global_dtors_aux, frame_dummy): Use them.
1895 (__do_global_dtors, __do_global_ctors_1): Likewise.
1896
1897 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
1898
1899 * config/darwin-crt-tm.c: New file.
1900 * config.host (darwin): Build crttms.o crttme.o to provide
1901 startup and shutdown for tm clones.
1902 * config/t-darwin (crttms.o): New build rule.
1903 (crttme.o): Likewise.
1904
1905 2011-11-21 Hans-Peter Nilsson <hp@axis.com>
1906
1907 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
1908 et al.
1909
1910 2011-11-21 Richard Henderson <rth@redhat.com>
1911
1912 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
1913 (__TMC_LIST__, __TMC_END__): New.
1914 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
1915 (__do_global_dtors): Likewise.
1916 (frame_dummy): Call _ITM_registerTMCloneTable.
1917 (__do_global_ctors_1): Likewise.
1918
1919 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1920
1921 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
1922 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
1923 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
1924 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
1925 * config/i386/t-darwin64: Remove.
1926 * config/sh/t-netbsd (LIB2ADD): Remove.
1927
1928 2011-11-21 Georg-Johann Lay <avr@gjlay.de>
1929
1930 PR target/49313
1931 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
1932 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
1933 * config/avr/lib1funcs.S (wmov): New assembler macro.
1934 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
1935 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
1936 (__udivmod64): New function.
1937 (__negdi2): New function.
1938
1939 2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
1940
1941 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
1942 *-*-freebsd*aout*): Remove.
1943
1944 2011-11-20 Hans-Peter Nilsson <hp@axis.com>
1945
1946 * static-object.mk (c_flags-$o): Save c_flags.
1947 ($(base)$(objext)): Use it.
1948
1949 2011-11-18 Steve Ellcey <sje@cup.hp.com>
1950
1951 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
1952
1953 2011-11-18 Georg-Johann Lay <avr@gjlay.de>
1954
1955 PR target/49868
1956 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
1957 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
1958 New functions.
1959
1960 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1961
1962 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
1963 functions.
1964 (aeabi_uidivmod): Likewise.
1965 (umodsi3): Likewise.
1966 (divsi3): Likewise.
1967 (aeabi_idivmod): Likewise.
1968 (modsi3): Likewise.
1969
1970 2011-11-16 Tristan Gingold <gingold@adacore.com>
1971
1972 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
1973
1974 2011-11-15 Georg-Johann Lay <avr@gjlay.de>
1975
1976 PR target/49868
1977 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
1978 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
1979
1980 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1981
1982 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
1983 tmake_file list.
1984 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
1985 * config/pa/t-stublib64: Delete.
1986
1987 2011-11-12 Richard Henderson <rth@redhat.com>
1988
1989 * config/rs6000/linux-unwind.h (frob_update_context): Properly
1990 cast the pointer argument to _Unwind_SetGRPtr.
1991
1992 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1993
1994 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
1995
1996 2011-11-09 Ian Lance Taylor <iant@google.com>
1997
1998 * generic-morestack.c: Include <string.h>.
1999 (uintptr_type): Define.
2000 (struct initial_sp): Add dont_block_signals field. Reduce size of
2001 extra array by 1.
2002 (allocate_segment): Set prev field to NULL. Don't set
2003 __morestack_current_segment or __morestack_segments.
2004 (__generic_morestack): Update current->prev and *pp after calling
2005 allocate_segment.
2006 (__morestack_block_signals): Don't do anything if
2007 dont_block_signals is set.
2008 (__morestack_unblock_signals): Likewise.
2009 (__generic_findstack): Check for initial_sp == NULL. Add casts to
2010 uintptr_type.
2011 (__splitstack_block_signals): New function.
2012 (enum __splitstack_content_offsets): Define.
2013 (__splitstack_getcontext, __splitstack_setcontext): New functions.
2014 (__splitstack_makecontext): New function.
2015 (__splitstack_block_signals_context): New function.
2016 (__splitstack_find_context): New function.
2017 * config/i386/morestack.S (__morestack_get_guard): New function.
2018 (__morestack_set_guard, __morestack_make_guard): New functions.
2019 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
2020
2021 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2022
2023 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
2024 (i[34567]86-*-mingw*): ... here.
2025 (x86_64-*-mingw*): ... here.
2026
2027 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2028
2029 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
2030
2031 2011-11-07 Nathan Sidwell <nathan@acm.org>
2032
2033 * libgcov.c (struct gcov_fn_buffer): New struct.
2034 (buffer_fn_data): New helper.
2035 (gcov_exit): Rework for new gcov data structures.
2036
2037 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
2038
2039 PR target/49313
2040 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
2041
2042 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2043
2044 * config.host (tmake_file): Correct comment.
2045 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
2046 t-libgcc-pic.
2047 (bfin*-uclinux*): Likewise.
2048 (bfin*-linux-uclibc*): Likewise.
2049 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
2050
2051 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
2052 assigning.
2053 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
2054 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
2055 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
2056 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
2057 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
2058 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
2059 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
2060 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
2061 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
2062 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
2063 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
2064 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
2065 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
2066
2067 * config/bfin/t-elf: Remove.
2068 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
2069
2070 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2071
2072 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
2073 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
2074 (lm32-*-elf*, lm32-*-rtems*): Split into ...
2075 (lm32-*-elf*): ... this.
2076 (lm32-*-rtems*): ... and this.
2077 Add to tmake_file.
2078 (m32r-*-rtems*): Add to tmake_file.
2079 (moxie-*-rtems*): Likewise.
2080 (sparc-*-rtems*): Likewise.
2081 Remove t-rtems from tmake_file.
2082 (sparc64-*-rtems*): Likewise.
2083 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
2084 instead.
2085
2086 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2087
2088 PR bootstrap/50982
2089 * config/gthr-posix.h: Move ...
2090 * gthr-posix.h: ... here.
2091 * config/gthr-lynx.h: Reflect this.
2092 * config/gthr-vxworks.h: Likewise.
2093 * config/rs6000/gthr-aix.h: Likewise.
2094 * configure.ac (target_thread_file): Likewise.
2095 * configure: Regenerate.
2096
2097 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
2098
2099 * config.host (arm*-*-rtemseabi*): New target.
2100
2101 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2102
2103 PR other/50991
2104 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
2105 extra-parts.
2106
2107 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
2108
2109 * config.host (epiphany-*-elf*): New configuration.
2110 * config/epiphany: New Directory.
2111
2112 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
2113
2114 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
2115 * config/avr/t-rtems: New.
2116 Filter out _exit from LIB1ASMFUNCS.
2117
2118 2011-11-04 David S. Miller <davem@davemloft.net>
2119
2120 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
2121 * configure: Rebuild.
2122
2123 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2124
2125 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
2126 variable.
2127
2128 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
2129
2130 PR target/50931
2131 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
2132 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
2133
2134 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
2135
2136 PR target/50989
2137 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
2138
2139 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2140
2141 * config/c6x/t-elf (LIB2ADDEH): Set.
2142 * config/c6x/t-c6x-elf: Remove.
2143
2144 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2145
2146 * config/i386/sol2-ci.S: Rename to ...
2147 * config/i386/crti.S: ... this.
2148 * config/i386/sol2-cn.S: Rename to ...
2149 * config/i386/crtn.S: ... this.
2150 * config/sparc/sol2-ci.S: Rename to ...
2151 * config/sparc/crti.S: ... this.
2152 * config/sparc/sol2-cn.S: Rename to ...
2153 * config/sparc/crtn.S: ... this.
2154 * config/t-sol2 (CUSTOM_CRTIN): Remove.
2155 (crti.o, crtn.o): Remove.
2156
2157 2011-11-04 Tristan Gingold <gingold@adacore.com>
2158
2159 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
2160
2161 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
2162
2163 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
2164
2165 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
2166
2167 * config.host (crisv32-*-none, cris-*-none): Remove.
2168 (crisv32-*-elf): Append to tmake_file, don't just set it.
2169 (cris-*-elf): Add missing t-fdpbit to tmake_file.
2170
2171 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2172
2173 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
2174 (ecrtn$(objext)): Likewise.
2175 (ncrti$(objext)): Likewise.
2176 (ncrtn$(objext)): Likewise.
2177
2178 2011-11-03 Andreas Schwab <schwab@redhat.com>
2179
2180 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
2181
2182 2011-11-02 David S. Miller <davem@davemloft.net>
2183
2184 * configure.ac: Set host_address on sparc too.
2185 * configure: Regenerate.
2186 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
2187 based upon host_address.
2188 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
2189
2190 2011-11-02 Jason Merrill <jason@redhat.com>
2191
2192 * config/rs6000/t-ppccomm: Add missing \.
2193
2194 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2195
2196 * gthr-single.h, gthr.h: New files.
2197 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
2198 config/gthr-vxworks.h, config/i386/gthr-win32.h,
2199 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
2200 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
2201 * config/i386/gthr-win32.c: Include "gthr-win32.h".
2202 * configure.ac (thread_header): New variable.
2203 Set it depending on target_thread_file.
2204 (gthr-default.h): Link from $thread_header.
2205 * configure: Regenerate.
2206 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
2207
2208 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2209
2210 * configure.ac (tm_file_): New variable.
2211 Determine from tm_file.
2212 (tm_file, tm_defines): Substitute.
2213 * configure: Regenerate.
2214 * mkheader.sh: New file.
2215 * Makefile.in (clean): Remove libgcc_tm.h.
2216 ($(objects)): Depend on libgcc_tm.h.
2217 (libgcc_tm_defines, libgcc_tm_file): New variables.
2218 (libgcc_tm.h, libgcc_tm.stamp): New targets.
2219 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
2220 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
2221 ($(extra-parts)): Depend on libgcc_tm.h.
2222 * config.host (tm_defines, tm_file): New variable.
2223 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
2224 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
2225 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
2226 (avr-*-rtems*): Likewise.
2227 (avr-*-*): Likewise.
2228 (frv-*-elf): Likewise.
2229 (frv-*-*linux*): Likewise.
2230 (h8300-*-rtems*): Likewise.
2231 (h8300-*-elf*): Likewise.
2232 (i[34567]86-*-darwin*): Likewise.
2233 (x86_64-*-darwin*): Likewise.
2234 (rx-*-elf): Likewise.
2235 (tic6x-*-uclinux): Likewise.
2236 (tic6x-*-elf): Likewise.
2237 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
2238 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
2239 * config/i386/cygming-crtbegin.c: Likewise.
2240 * config/i386/cygming-crtend.c: Likewise.
2241 * config/ia64/fde-vms.c: Likewise.
2242 * config/ia64/unwind-ia64.c: Likewise.
2243 * config/libbid/bid_gcc_intrinsics.h: Likewise.
2244 * config/rs6000/darwin-fallback.c: Likewise.
2245 * config/stormy16/lib2funcs.c: Likewise.
2246 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
2247 * crtstuff.c: Likewise.
2248 * dfp-bit.h: Likewise.
2249 * emutls.c: Likewise.
2250 * fixed-bit.c: Likewise.
2251 * fp-bit.c: Likewise.
2252 * generic-morestack-thread.c: Likewise.
2253 * generic-morestack.c: Likewise.
2254 * libgcc2.c: Likewise.
2255 * libgcov.c: Likewise.
2256 * unwind-dw2-fde-dip.c: Likewise.
2257 * unwind-dw2-fde.c: Likewise.
2258 * unwind-dw2.c: Likewise.
2259 * unwind-sjlj.c: Likewise.
2260
2261 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2262
2263 * configure.ac: Include ../config/picflag.m4.
2264 (GCC_PICFLAG): Call it.
2265 Substitute.
2266 * configure: Regenerate.
2267 * Makefile.in (gcc_srcdir): Remove.
2268 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
2269 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
2270 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
2271 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
2272 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
2273 Use $<.
2274 Remove comment.
2275 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
2276 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
2277 to refer to libgcc2.c.
2278 Use $<.
2279 * config/darwin-64.c: New file.
2280 * config/darwin-crt3.c: Remove comment.
2281 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
2282 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
2283 config/udivmodsi4.c: New files.
2284 * config/memcmp.c, config/memcpy.c, config/memmove.c,
2285 config/memset.c: New files.
2286 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
2287 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
2288 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
2289 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
2290 * config/t-openbsd-thread: New file.
2291 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
2292 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
2293 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
2294 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
2295 qrnnd.S.
2296 Adapt filename.
2297 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
2298 to refer to gthr-posix.c.
2299 * config/alpha/t-vms (LIB2ADD): Set.
2300 * config/alpha/vms-gcc_shell_handler.c: New file.
2301 * config/arm/bpabi.c, config/arm/fp16.c,
2302 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
2303 config/arm/unaligned-funcs.c: New files.
2304 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
2305 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
2306 * config/arm/t-linux: Likewise.
2307 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
2308 * config/arm/t-netbsd: New file.
2309 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
2310 * config/arm/t-symbian (LIB2ADD_ST): Set.
2311 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
2312 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2313 * config/bfin/t-elf: New file.
2314 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
2315 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
2316 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
2317 config/c6x/ltf.c: New files.
2318 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
2319 (HOST_LIBGCC2_CFLAGS): Set.
2320 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
2321 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2322 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
2323 New files.
2324 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
2325 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
2326 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
2327 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
2328 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
2329 files.
2330 * config/frv/t-frv (LIB2ADD): Set.
2331 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2332 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
2333 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
2334 config/h8300/popcounthi2.c: New files.
2335 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
2336 * config/i386/gthr-win32.c: New file.
2337 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
2338 * config/i386/t-cygwin: Likewise.
2339 * config/i386/t-darwin, config/i386/t-darwin64,
2340 config/i386/t-gthr-win32, config/i386/t-interix: New files.
2341 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
2342 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2343 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2344 * config/ia64/quadlib.c: New file.
2345 * config/ia64/t-hpux (LIB2ADD): Set.
2346 * config/ia64/t-ia64: Add comment.
2347 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
2348 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2349 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
2350 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
2351 * config/m32c/t-m32c (LIB2ADD): Set.
2352 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
2353 * config/m32r/t-m32r: Likewise.
2354 * config/m68k/fpgnulib.c: New file.
2355 * config/m68k/t-floatlib (LIB2ADD): Set.
2356 (xfgnulib.c): New target.
2357 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
2358 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
2359 * config/mep/t-mep (LIB2ADD): Set.
2360 * config/microblaze/divsi3.asm: Rename to divsi3.S.
2361 * config/microblaze/moddi3.asm: Rename to moddi3.S.
2362 * config/microblaze/modsi3.asm: Rename to modsi3.S.
2363 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
2364 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
2365 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
2366 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
2367 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
2368 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
2369 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
2370 New files.
2371 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
2372 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
2373 * config/pa/fptr.c, config/pa/lib2funcs.S,
2374 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
2375 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
2376 (LIB2ADD, LIB2ADD_ST): Set.
2377 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
2378 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
2379 Set.
2380 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
2381 * config/pdp11/t-pdp11: New file.
2382 * config/picochip/libgccExtras/adddi3.S,
2383 config/picochip/libgccExtras/ashlsi3.S,
2384 config/picochip/libgccExtras/ashrsi3.S,
2385 config/picochip/libgccExtras/clzsi2.S,
2386 config/picochip/libgccExtras/cmpsi2.S,
2387 config/picochip/libgccExtras/divmod15.S,
2388 config/picochip/libgccExtras/divmodhi4.S,
2389 config/picochip/libgccExtras/divmodsi4.S,
2390 config/picochip/libgccExtras/lshrsi3.S,
2391 config/picochip/libgccExtras/parityhi2.S,
2392 config/picochip/libgccExtras/popcounthi2.S,
2393 config/picochip/libgccExtras/subdi3.S,
2394 config/picochip/libgccExtras/ucmpsi2.S,
2395 config/picochip/libgccExtras/udivmodhi4.S,
2396 config/picochip/libgccExtras/udivmodsi4.S: New files.
2397 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
2398 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
2399 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
2400 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
2401 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
2402 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
2403 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
2404 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
2405 files.
2406 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
2407 (HOST_LIBGCC2_CFLAGS): Set.
2408 * config/rs6000/t-darwin64: New file.
2409 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
2410 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
2411 * config/rs6000/t-ppccomm (LIB2ADD): Add
2412 $(srcdir)/config/rs6000/tramp.S.
2413 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
2414 Add $(srcdir)/config/rs6000/eabi.S.
2415 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
2416 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
2417 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
2418 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
2419 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
2420 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
2421 * config/rs6000/tramp.S: New file.
2422 * config/s390/t-tpf: Remove.
2423 * config/sh/linux-atomic.S: New file.
2424 * config/sh/t-linux (LIB2ADD): Set.
2425 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
2426 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
2427 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
2428 to unwind-dw2.c.
2429 (HOST_LIBGCC2_CFLAGS): Set.
2430 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2431 * config/spu/divmodti4.c, config/spu/divv2df3.c,
2432 config/spu/float_disf.c, config/spu/float_unsdidf.c,
2433 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
2434 config/spu/mfc_multi_tag_release.c,
2435 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
2436 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
2437 config/spu/multi3.c: New files.
2438 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
2439 (HOST_LIBGCC2_CFLAGS): Set.
2440 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
2441 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
2442 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
2443 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
2444 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
2445 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
2446 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
2447 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
2448 config/stormy16/umodsi3.c: New files.
2449 * config/xtensa/lib2funcs.S: New file.
2450 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
2451 * config/xtensa/t-xtensa (LIB2ADD): Set.
2452 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
2453 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
2454 Add t-freebsd-thread to tmake_file for posix threads.
2455 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
2456 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
2457 (*-*-lynxos*): Likewise.
2458 (*-*-netbsd*): Likewise.
2459 (*-*-openbsd*): Likewise.
2460 Add t-openbsd-thread to tmake_file for posix threads.
2461 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
2462 (*-*-vxworks*): Set tmake_file.
2463 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
2464 (alpha*-*-freebsd*): Likewise.
2465 (alpha*-*-netbsd*): Likewise.
2466 (alpha*-*-openbsd*): Likewise.
2467 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
2468 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
2469 (alpha*-dec-*vms*): Likewise.
2470 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
2471 (bfin*-elf*): Add bfin/t-elf to tmake_file.
2472 (bfin*-uclinux*): Likewise.
2473 (bfin*-linux-uclibc*): Likewise.
2474 (crisv32-*-elf): Add cris/t-cris to tmake_file.
2475 (crisv32-*-none): Likewise.
2476 (cris-*-elf): Likewise.
2477 (cris-*-none): Likewise.
2478 (cris-*-linux*, crisv32-*-linux*): Likewise.
2479 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
2480 tmake_file.
2481 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
2482 tmake_file.
2483 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
2484 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
2485 (x86_64-*-elf*): Likewise.
2486 (i[34567]86-*-nto-qnx*): Likewise.
2487 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
2488 win32 threads.
2489 (x86_64-*-mingw*): Likewise.
2490 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
2491 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
2492 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
2493 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
2494 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
2495 tmake_file.
2496 (mipsisa64sr71k-*-elf*): Likewise.
2497 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
2498 (mips-*-elf*, mipsel-*-elf*): Likewise.
2499 (mips64-*-elf*, mips64el-*-elf*): Likewise.
2500 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
2501 (mips*-*-rtems*): Likewise.
2502 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
2503 to tmake_file.
2504 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
2505 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
2506 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
2507 (spu-*-elf*): Likewise.
2508 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
2509
2510 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2511
2512 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
2513 $(srcdir) to refer to $(LIB1ASMSRC).
2514 Use $<.
2515 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
2516 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
2517 config/arm/lib1funcs.S: New files.
2518 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
2519 * config/arm/t-arm: New file.
2520 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
2521 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
2522 config/arm/t-strongarm-elf: New files.
2523 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
2524 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
2525 * config/avr/lib1funcs.S: New file.
2526 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2527 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
2528 * config/c6x/lib1funcs.S: New file.
2529 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2530 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
2531 * config/frv/lib1funcs.S: New file.
2532 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2533 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
2534 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
2535 * config/ia64/__divxf3.asm: Rename to ...
2536 * config/ia64/__divxf3.S: ... this.
2537 Adapt lib1funcs.asm filename.
2538 * config/ia64/_fixtfdi.asm: Rename to ...
2539 * config/ia64/_fixtfdi.S: ... this.
2540 Adapt lib1funcs.asm filename.
2541 * config/ia64/_fixunstfdi.asm: Rename to ...
2542 * config/ia64/_fixunstfdi.S: ... this.
2543 Adapt lib1funcs.asm filename.
2544 * config/ia64/_floatditf.asm: Rename to ...
2545 * config/ia64/_floatditf.S: ... this.
2546 Adapt lib1funcs.asm filename.
2547 * config/ia64/lib1funcs.S: New file.
2548 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
2549 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2550 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
2551 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
2552 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
2553 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
2554 * config/mep/lib1funcs.S: New file.
2555 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2556 * config/mips/mips16.S: New file.
2557 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2558 * config/pa/milli64.S: New file.
2559 * config/pa/t-linux, config/pa/t-linux64: New files.
2560 * config/picochip/lib1funcs.S: New file.
2561 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2562 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
2563 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
2564 * config/sh/t-netbsd: New file.
2565 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
2566 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
2567 * config/sh/t-sh64: New file.
2568 * config/sparc/lb1spc.S: New file.
2569 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
2570 filename.
2571 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
2572 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
2573 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
2574 config/xtensa/lib1funcs.S: New files.
2575 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2576 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
2577 tmake_file.
2578 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
2579 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
2580 (arm*-*-linux*): Likewise.
2581 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
2582 arm*-*-linux-*eabi, add arm/t-linux otherwise.
2583 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
2584 (arm*-*-ecos-elf): Likewise.
2585 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
2586 (arm*-*-rtems*): Likewise.
2587 (arm*-*-elf): Likewise.
2588 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
2589 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
2590 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
2591 (bfin*-uclinux*): Likewise.
2592 (bfin*-linux-uclibc*): Likewise.
2593 (bfin*-rtems*): Likewise.
2594 (bfin*-*): Likewise.
2595 (fido-*-elf): Merge into m68k-*-elf*.
2596 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
2597 (frv-*-*linux*): Add frv/t-frv to tmake_file.
2598 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
2599 (h8300-*-elf*): Likewise.
2600 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
2601 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
2602 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
2603 (i[34567]86-*-mingw*): Likewise.
2604 (x86_64-*-mingw*): Likewise.
2605 (i[34567]86-*-interix3*): Likewise.
2606 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
2607 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
2608 (m68k-*-elf*): Also handle fido-*-elf.
2609 Add m68k/t-floatlib to tmake_file.
2610 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
2611 (m68k-*-linux*): Likewise.
2612 (m68k-*-rtems*): Likewise.
2613 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
2614 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
2615 sh64*-*-*.
2616 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
2617 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
2618 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
2619 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
2620 sh/t-netbsd to tmake_file.
2621 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
2622 (sh-*-rtems*): Add sh/t-sh to tmake_file.
2623 (sh-wrs-vxworks): Likewise.
2624 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
2625 *-leon[3-9]*.
2626 (v850*-*-*): Add v850/t-v850 to tmake_file.
2627 (vax-*-linux*): Add vax/t-linux to tmake_file.
2628 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
2629
2630 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2631
2632 * crtstuff.c: New file.
2633 * Makefile.in (CRTSTUFF_CFLAGS): Define.
2634 (CRTSTUFF_T_CFLAGS): Define.
2635 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
2636 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
2637 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
2638 crtstuff.c.
2639 Use $<.
2640 (crtbeginT.o): Use $(objext).
2641 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
2642 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
2643 (gcc-extra-parts): Remove.
2644 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
2645 Set extra_parts.
2646 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
2647 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
2648 Add t-crtstuff-pic to tmake_file.
2649 (*-*-lynxos*): New case.
2650 Set tmake_file, extra_parts.
2651 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
2652 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
2653 *-*-netbsdelf[2-9]*.
2654 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
2655 (*-*-rtems*): Set extra_parts.
2656 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
2657 (*-*-uclinux*): New case.
2658 Set extra_parts.
2659 (*-*-vms*): New case.
2660 Set tmake_file, extra_parts.
2661 (*-*-elf): Set extra_parts.
2662 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
2663 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
2664 vms/t-vms64.
2665 Set extra_parts.
2666 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
2667 Set extra_parts.
2668 (arm*-*-freebsd*): Add t-crtin to tmake_file.
2669 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
2670 (arm-wrs-vxworks): Append to tmake_file.
2671 Set extra_parts.
2672 (arm*-*-uclinux*): Set extra_parts.
2673 (arm*-*-ecos-elf): Likewise.
2674 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
2675 arm*-*-eabi*.
2676 (arm*-*-rtems*): Set extra_parts.
2677 (arm*-*-elf): Likewise.
2678 (avr-*-rtems*): Clear extra_parts.
2679 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
2680 Set extra_parts.
2681 (bfin*-uclinux*): Likewise.
2682 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
2683 (bfin*-rtems*): Append to tmake_file.
2684 Set extra_parts.
2685 (bfin*-*): Likewise.
2686 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
2687 (crisv32-*-elf): ... this.
2688 (crisv32-*-none): ... this.
2689 (cris-*-elf, cris-*-none): New cases.
2690 Add cris/t-elfmulti to tmake_file.
2691 (fr30-*-elf): Append to tmake_file.
2692 Set extra_parts.
2693 (frv-*-elf): Append to tmake_file, add frv/t-frv.
2694 Set extra_parts.
2695 (h8300-*-rtems*): Append to tmake_file.
2696 Set extra_parts.
2697 (h8300-*-elf*): Likewise.
2698 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
2699 Set extra_parts.
2700 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
2701 Set extra_parts.
2702 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
2703 (x86_64-*-elf*): Likewise.
2704 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
2705 (x86_64-*-freebsd*): Likewise.
2706 (x86_64-*-netbsd*): Likewise.
2707 (i[34567]86-*-linux*): Likewise.
2708 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
2709 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
2710 (x86_64-*-linux*): Likewise.
2711 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
2712 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
2713 tmake_file.
2714 Set extra_parts.
2715 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
2716 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
2717 Append to extra_parts, remove crtbegin.o, crtend.o.
2718 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
2719 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
2720 crtend.o, crtbeginS.o, crtendS.o.
2721 (ia64*-*-linux*): Comment extra_parts.
2722 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
2723 Set extra_parts.
2724 (iq2000*-*-elf*): Clear extra_parts.
2725 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
2726 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
2727 (m32r-*-elf*, m32r-*-rtems*): Split off ...
2728 (m32r-*-rtems*): ... this.
2729 Add m32r/t-m32r to tmake_file.
2730 (m68k-*-elf*): Add t-crtin to tmake_file.
2731 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
2732 (mcore-*-elf): Likewise.
2733 (microblaze*-*-*): Set extra_parts.
2734 (mips*-sde-elf*): New case.
2735 Set tmake_file, extra_parts.
2736 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
2737 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
2738 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
2739 tmake_file.
2740 Set extra_parts.
2741 (mipsisa64sr71k-*-elf*): Likewise.
2742 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
2743 (mips-*-elf*, mipsel-*-elf*): Likewise.
2744 (mips64-*-elf*, mips64el-*-elf*): Likewise.
2745 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
2746 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
2747 (mips*-*-rtems*): Likewise.
2748 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
2749 (moxie-*-*): Split into ...
2750 (moxie-*-elf, moxie-*-uclinux*): ... this.
2751 Add to extra_parts, remove crtbegin.o, crtend.o.
2752 (moxie-*-rtems*): New case.
2753 Set tmake_file.
2754 Clear extra_parts.
2755 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
2756 Set extra_parts.
2757 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
2758 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
2759 tmake_file.
2760 Set extra_parts.
2761 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
2762 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
2763 Set extra_parts.
2764 (powerpc-*-eabisim*): Likewise.
2765 (powerpc-*-elf*): Likewise.
2766 (powerpc-*-eabialtivec*): Likewise.
2767 (powerpc-xilinx-eabi*): Likewise.
2768 (powerpc-*-eabi*): Likewise.
2769 (powerpc-*-rtems*): Likewise.
2770 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
2771 tmake_file.
2772 Set extra_parts.
2773 (powerpc-*-lynxos*): Add to tmake_file.
2774 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
2775 rs6000/t-crtstuff, t-crtstuff-pic.
2776 Set extra_parts.
2777 (powerpcle-*-eabisim*): Likewise.
2778 (powerpcle-*-eabi*): Likewise.
2779 (rx-*-elf): Remove extra_parts.
2780 (s390x-ibm-tpf*): Set extra_parts.
2781 (score-*-elf): Set extra_parts.
2782 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
2783 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
2784 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
2785 (sh64l*-*-netbsd*): Split into ...
2786 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
2787 Add t-crtstuff-pic to tmake_file.
2788 Set extra_parts.
2789 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
2790 Set extra_parts.
2791 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
2792 (sparc-*-elf*): Remove t-crtin from tmake_file.
2793 Add to extra_parts, remove crtbegin.o, crtend.o.
2794 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
2795 (sparc64-*-linux*): Likewise.
2796 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
2797 Add to extra_parts, remove crtbegin.o, crtend.o.
2798 (sparc64-*-elf*): Remove t-crtin from tmake_file.
2799 Add to extra_parts, remove crtbegin.o, crtend.o.
2800 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
2801 Add to extra_parts, remove crtbegin.o, crtend.o.
2802 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
2803 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
2804 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
2805 Set extra_parts.
2806 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
2807 Set extra_parts.
2808 (tic6x-*-*): Change to ...
2809 (tic6x-*-elf): ... this.
2810 Set extra_parts.
2811 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
2812 Set extra_parts.
2813 (am33_2.0-*-linux*): Add comment.
2814 (mep*-*-*): Add mep/t-mep to tmake_file.
2815 Set extra_parts.
2816 * config/alpha/t-vms: New file.
2817 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
2818 * config/arm/crti.S, config/arm/crtn.S: New files.
2819 * config/bfin/crti.S, config/bfin/crtn.S: New files.
2820 * config/bfin/crtlibid.S: New file.
2821 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
2822 * config/c6x/crti.S, config/c6x/crtn.S: New files.
2823 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
2824 (crti.o, crtin.o): New rules.
2825 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
2826 * config/c6x/t-uclinux: New file.
2827 * config/cris/t-elfmulti: New file.
2828 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
2829 * config/fr30/crti.S, config/fr30/crtn.S: New files.
2830 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
2831 * config/frv/t-frv: New file.
2832 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
2833 * config/h8300/crti.S, config/h8300/crtn.S: New files.
2834 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
2835 New files.
2836 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
2837 refer to cygming-crtbegin.c, cygming-crtend.c.
2838 Use $<.
2839 * config/i386/t-nto: New file.
2840 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
2841 * config/ia64/crti.S, config/ia64/crtn.S: New files.
2842 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
2843 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
2844 Use .S extension.
2845 Use $<.
2846 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
2847 (crtinitS.o): New rule.
2848 * config/ia64/vms-crtinit.S: New file.
2849 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
2850 * config/m32r/initfini.c: New file.
2851 * config/m32r/t-linux, config/m32r/t-m32r: New files.
2852 * config/m68k/crti.S, config/m68k/crtn.S: New files.
2853 * config/mcore/crti.S, config/mcore/crtn.S: New files.
2854 * config/mep/t-mep: New file.
2855 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
2856 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
2857 * config/mips/crti.S, config/mips/crtn.S: New files.
2858 * config/mips/t-crtstuff: New file.
2859 * config/mmix/crti.S, config/mmix/crtn.S: New files.
2860 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
2861 (CUSTOM_CRTIN): Set.
2862 ($(T)crti.o, $(T)crtn.o): Remove $(T),
2863 dependencies.
2864 Use $(srcdir) to refer to crti.S, crtn.S.
2865 Use .S extension, $<.
2866 * config/moxie/crti.asm: Rename to ...
2867 * config/moxie/crti.S: ... this.
2868 * config/moxie/crtn.asm: Rename to ...
2869 * config/moxie/crtn.S: ... this.
2870 * config/moxie/t-moxie: Remove.
2871 * config/pa/stublib.c: New file.
2872 * config/pa/t-stublib, config/pa/t-stublib64: New files.
2873 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
2874 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
2875 * config/rs6000/t-crtstuff: New file.
2876 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
2877 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
2878 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
2879 Make output file explicit.
2880 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
2881 Make output file explicit.
2882 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
2883 Make output file explicit.
2884 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
2885 Make output file explicit.
2886 * config/score/crti.S, config/score/crtn.S: New files.
2887 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
2888 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
2889 files.
2890 * config/sh/t-sh, config/sh/t-superh: New files.
2891 * config/sparc/t-linux64: New file.
2892 * config/spu/cache.S, config/spu/cachemgr.c: New files.
2893 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
2894 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
2895 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
2896 * config/t-crtin: Remove.
2897 * config/t-crtstuff-pic: New file.
2898 * config/t-sol2 (CUSTOM_CRTIN): Set.
2899 (crti.o, crtn.o): New rules.
2900 * config/vms/t-vms: New file.
2901 * config/vms/vms-ucrt0.c: New file.
2902 * config/xtensa/t-elf: New file.
2903
2904 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2905
2906 * Makefile.in (SHLIB_NM_FLAGS): Set.
2907 * mkmap-flat.awk, mkmap-symver.awk: New files.
2908 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
2909 exceptions.
2910 * configure: Regenerate.
2911 * config/libgcc-glibc.ver: New file.
2912 * config/libgcc-libsystem.ver: New file.
2913 * config/t-libunwind (SHLIB_LC): Set.
2914 * config/t-linux: New file.
2915 * config/t-slibgcc (INSTALL_SHLIB): New.
2916 (SHLIB_INSTALL): Use it.
2917 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
2918 to mkmap-symver.awk.
2919 (SHLIB_MAPFILES): Don't append, adapt pathname.
2920 (SHLIB_VERPFX): Set.
2921 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
2922 to mkmap-symver.awk.
2923 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
2924 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
2925 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
2926 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
2927 to mkmap-flat.awk.
2928 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
2929 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
2930 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
2931 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
2932 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
2933 * config/i386/libgcc-darwin.10.4.ver,
2934 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
2935 New files.
2936 * config/i386/t-darwin: Remove.
2937 * config/i386/t-darwin64: Likewise.
2938 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
2939 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
2940 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
2941 * config/i386/t-linux: New file.
2942 * config/i386/t-mingw32: New file.
2943 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
2944 * config/ia64/t-glibc: Rename to ...
2945 * config/ia64/t-linux: ... this.
2946 (SHLIB_MAPFILES): Set.
2947 * config/ia64/t-glibc-libunwind: Rename to ...
2948 * config/ia64/t-linux-libunwind: ... this.
2949 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
2950 * config/ia64/t-slibgcc-hpux: New file.
2951 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
2952 * config/m68k/t-slibgcc-elf-ver: New file.
2953 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
2954 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
2955 to mkmap-flat.awk.
2956 * config/pa/t-slibgcc-hpux: New file.
2957 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
2958 files.
2959 * config/rs6000/libgcc-darwin.10.4.ver,
2960 config/rs6000/libgcc-darwin.10.5.ver: New files.
2961 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
2962 config/rs6000/libgcc-glibc.ver.
2963 * config/rs6000/libgcc-ppc64.ver: Rename to
2964 config/rs6000/libgcc-ibm-ldouble.ver.
2965 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
2966 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
2967 * config/rs6000/t-ldbl128: Rename to ...
2968 * config/rs6000/t-linux: ... this.
2969 (SHLIB_MAPFILES): Adapt filename.
2970 * config/rs6000/t-slibgcc-aix: New file.
2971 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
2972 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
2973 libgcc-excl.ver, libgcc-glibc.ver.
2974 (SHLIB_LINK, SHLIB_INSTALL): Remove.
2975 * config/sparc/libgcc-glibc.ver: New file.
2976 * config/sparc/t-linux: New file.
2977 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
2978 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
2979 t-slibgcc-elf-ver to tmake_file.
2980 Add t-slibgcc-nolc-override to tmake_file for posix threads on
2981 *-*-freebsd[34].
2982 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
2983 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
2984 t-slibgcc-elf-ver, t-linux to tmake_file.
2985 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
2986 tmake_file.
2987 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
2988 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
2989 (alpha*-dec-*vms*): Likewise.
2990 (arm*-*-freebsd*): Append to tmake_file.
2991 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
2992 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
2993 arm*-*-linux-*eabi.
2994 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
2995 tmake_file for arm*-*-symbianelf*.
2996 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
2997 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
2998 cris/t-linux.
2999 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
3000 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
3001 pa/t-slibgcc-dwarf-ver to tmake_file.
3002 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
3003 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
3004 (hppa*64*-*-hpux11*): Likewise.
3005 (hppa[12]*-*-hpux11*): Likewise.
3006 (x86_64-*-darwin*): Don't override tmake_file, but only keep
3007 i386/t-crtpc, i386/t-crtfm.
3008 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
3009 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
3010 to tmake_file.
3011 Add i386/t-cygwin to tmake_file.
3012 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
3013 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
3014 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
3015 to tmake_file.
3016 Add i386/t-mingw32 to tmake_file.
3017 (x86_64-*-mingw*): Likewise.
3018 (ia64*-*-freebsd*): Append to tmake_file.
3019 (ia64*-*-linux*): Append to tmake_file.
3020 Replace ia64/t-glibc by ia64/t-linux.
3021 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
3022 system libunwind.
3023 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
3024 t-slibgcc-hpux to tmake_file.
3025 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
3026 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
3027 (m32rle-*-linux*): Likewise.
3028 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
3029 sjlj exceptions.
3030 (microblaze*-linux*): New case.
3031 Append to tmake_file, add t-slibgcc-nolc-override.
3032 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
3033 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
3034 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
3035 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
3036 rs6000/t-slibgcc-aix to tmake_file.
3037 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
3038 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
3039 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
3040 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
3041 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
3042 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
3043 sh*-*-linux*.
3044 (sparc-*-linux*): Append to tmake_file for *-leon*.
3045 Add sparc/t-linux to tmake_file for non-Leon targets.
3046 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
3047 (tic6x-*-uclinux): New case.
3048 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
3049 (tic6x-*-*): Add c6x/t-elf to tmake_file.
3050 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
3051 (am33_2.0-*-linux*): Append to tmake_file.
3052 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
3053 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
3054 x86_64-*-kfreebsd*-gnu.
3055 Add i386/t-linux to tmake_file.
3056
3057 2011-10-28 Ian Lance Taylor <iant@google.com>
3058
3059 * config/i386/morestack.S: Correct CFI information to do proper
3060 returns throughout function. In 32-bit mode, save %ebx so that it
3061 is restored on unwind.
3062
3063 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
3064
3065 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
3066 case where B3 isn't the return register.
3067
3068 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
3069 logic for doubleword pops.
3070
3071 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
3072
3073 * config/rs6000/t-freebsd: Add wildcard.
3074
3075 2011-10-21 Paul Brook <paul@codesourcery.com>
3076
3077 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
3078
3079 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
3080 Eric Botcazou <ebotcazou@adacore.com>
3081
3082 PR target/50737
3083 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
3084 fs->signal_frame to 1.
3085
3086 2011-10-07 Ian Lance Taylor <iant@google.com>
3087
3088 * generic-morestack-thread.c: #include <errno.h>.
3089
3090 2011-10-07 Ian Lance Taylor <iant@google.com>
3091
3092 PR target/46093
3093 * generic-morestack.c (__generic_morestack): Make sure the segment
3094 is large enough for both the stack frame and the copied
3095 parameters.
3096
3097 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3098
3099 PR bootstrap/49804
3100 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
3101 extra_parts.
3102
3103 2011-09-28 Nick Clifton <nickc@redhat.com>
3104
3105 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
3106 64-bit doubles are not enabled.
3107 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
3108 and floatunsisf functions.
3109
3110 2011-09-13 Paul Brook <paul@codesourcery.com>
3111
3112 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
3113 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
3114 * unwind-arm-common.inc: New file.
3115 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
3116 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
3117 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
3118 * config/c6x/libunwind.S: New file.
3119 * config/c6x/pr-support.c: New file.
3120 * config/c6x/unwind-c6x.c: New file.
3121 * config/c6x/unwind-c6x.h: New file.
3122 * config/c6x/t-c6x-elf: New file.
3123
3124 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
3125
3126 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
3127 (ASM_DIVZERO): Ditto.
3128 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
3129
3130 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
3131
3132 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
3133
3134 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
3135
3136 PR target/50090
3137 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
3138 instead of an assembly one.
3139
3140 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
3141
3142 PR bootstrap/50047
3143 * Makefile.in (install-unwind_h): Create
3144 $(gcc_objdir)/include/unwind.h atomically.
3145
3146 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3147
3148 * Makefile.in (install-unwind_h): Remove destination file first.
3149
3150 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3151
3152 * sync.c: New file.
3153 * config/mips/t-mips16: New file.
3154 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
3155 (mips*-*-linux*): Likewise.
3156 (mips*-sde-elf*): Likewise.
3157 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
3158 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
3159 Add mips/t-mips16 to tmake_file.
3160 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
3161 (mips-*-elf*): Likewise.
3162 (mips64-*-elf*): Likewise.
3163 (mips64orion-*-elf*): Likewise.
3164 (mips*-*-rtems*): Likewise.
3165 (mipstx39-*-elf*): Likewise.
3166 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
3167 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
3168 LIBGCC_SYNC_CFLAGS.
3169 Use $(srcdir) to refer to sync.c.
3170 Use $<.
3171 ($(libgcc-sync-funcs-o)): Likewise.
3172 ($(libgcc-sync-size-funcs-s-o)): Likewise.
3173 ($(libgcc-sync-funcs-s-o)): Likewise.
3174
3175 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
3176
3177 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
3178 t-libunwind.
3179
3180 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
3181
3182 PR other/48007
3183 * config/i386/value-unwind.h: New.
3184
3185 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
3186
3187 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
3188 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
3189 Add to tmake_file rather than overriding it.
3190
3191 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3192
3193 * config/t-softfp: Remove.
3194 * soft-fp: Moved from ../gcc/config.
3195 * soft-fp/README: Remove t-softfp reference.
3196 * soft-fp/t-softfp: Move to config/t-softfp.
3197 (softfp_machine_header): Remove.
3198 (softfp_file_list): Remove config subdir.
3199 (soft-fp-objects): New variable.
3200 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
3201 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
3202 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
3203 * config/t-softfp-excl: New file.
3204 * config/t-softfp-sfdf: New file.
3205 * config/t-softfp-tf: New file.
3206 * config/no-sfp-machine.h: New file.
3207 * config/arm/sfp-machine.h: New file.
3208 * config/arm/t-softfp: New file.
3209 * config/c6x/sfp-machine.h: New file.
3210 * config/i386/32/t-fprules-softfp: Rename to ...
3211 * config/i386/32/t-softfp: ... this.
3212 (tifunctions, LIB2ADD): Remove.
3213 (softfp_int_modes): Override.
3214 * config/i386/64/t-softfp-compat (tf-functions): Remove config
3215 subdir.
3216 * config/i386/64/eqtf2.c: Likewise.
3217 * config/i386/64/getf2.c: Likewise.
3218 * config/i386/64/letf2.c: Likewise.
3219 * config/ia64/sft-machine.h: New file.
3220 * config/ia64/t-fprules-softfp: Rename to ...
3221 * config/ia64/t-softfp: ... this.
3222 * config/lm32/sfp-machine.h: New file.
3223 * config/moxie/t-moxie-softfp: Remove.
3224 * config/rs6000/ibm-ldouble-format: New file.
3225 * config/rs6000/ibm-ldouble.c: New file.
3226 * config/rs6000/libgcc-ppc-glibc.ver: New file
3227 * config/rs6000/libgcc-ppc64.ver: New file
3228 * config/rs6000/sfp-machine.h: New file.
3229 * config/rs6000/t-freebsd: New file.
3230 * config/rs6000/t-ibm-ldouble: New file.
3231 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
3232 libgcc-ppc-glibc.ver.
3233 * config/rs6000/t-linux64: New file.
3234 * config/rs6000/t-ppccomm (LIB2ADD): Add
3235 $(srcdir)/config/rs6000/ibm-ldouble.c.
3236 * config/rs6000/t-ppccomm-ldbl: New file.
3237 * config/score/sfp-machine.h: New file.
3238 * config.host (sfp_machine_header): Explain.
3239 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
3240 t-softfp to tmake_file.
3241 (arm*-*-uclinux*): Likewise.
3242 (arm*-*-ecos-elf): Likewise.
3243 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
3244 (arm*-*-rtems*): Likewise.
3245 (arm*-*-elf): Likewise.
3246 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
3247 in tmake_file.
3248 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
3249 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
3250 (lm32-*-uclinux*): Likewise.
3251 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
3252 t-softfp-excl, t-softfp.
3253 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
3254 (powerpc64-*-darwin*): Likewise.
3255 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
3256 to tmake_file.
3257 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
3258 tmake_file.
3259 (powerpc-*-eabisim*): Likewise.
3260 (powerpc-*-elf*): Likewise.
3261 (powerpc-*-eabialtivec*): Likewise.
3262 (powerpc-xilinx-eabi*): Likewise.
3263 (powerpc-*-rtems*): Likewise.
3264 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
3265 t-softfp-excl, t-softfp to tmake_file.
3266 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
3267 rs6000/t-ppccomm-ldbl to tmake_file.
3268 (powerpcle-*-elf*): Likewise.
3269 (powerpcle-*-eabisim*): Likewise.
3270 (powerpcle-*-eabi*): Likewise.
3271 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
3272 rs6000/t-ibm-ldouble to tmake_file.
3273 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
3274 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
3275 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
3276 (tic6x-*-*): Likewise.
3277 (i[34567]86-*-darwin*, x86_64-*-darwin*,
3278 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
3279 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
3280 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
3281 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
3282 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
3283 t-softfp to tmake_file.
3284 * configure.ac (sfp_machine_header): Provide default if unset.
3285 Substitute.
3286 Link sfp-machine.h to config/$sfp_machine_header.
3287 * configure: Regenerate.
3288
3289 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3290
3291 * Makefile.in (double_type_size, long_double_type_size): Set.
3292 Remove $(fpbit-in-libgcc) support.
3293 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
3294 (fpbit-src): New variable.
3295 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
3296 Compile with -DFLOAT $(FPBIT_CFLAGS).
3297 Use $<.
3298 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
3299 Compile with $(FPBIT_CFLAGS).
3300 Use $<.
3301 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
3302 Compile with -DFLOAT $(TPBIT_CFLAGS).
3303 Use $<.
3304 * configure.ac (double_type_size, long_double_type_size):
3305 Determine and substitute.
3306 * configure: Regenerate.
3307 * fp-bit.c, fp-bit.h: New files.
3308 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
3309 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
3310 * config/mips/t-mips: New file.
3311 * config/mips/t-sdemtk: New file.
3312 * config/rs6000/ppc64-fp.c: New file.
3313 * config/rs6000/t-darwin (LIB2ADD): Add
3314 $(srcdir)/config/rs6000/ppc64-fp.c.
3315 * config/rs6000/t-ppc64-fp: New file.
3316 * config/rx/rx-lib.h: New file.
3317 * config/rx/t-rx (FPBIT): Set to true.
3318 ($(gcc_objdir)/fp-bit.c): Remove.
3319 (DPBIT): Set to true only with -m64bit-doubles.
3320 ($(gcc_objdir)/dp-bit.c): Remove.
3321 * config/sparc/t-softfp: Remove.
3322 * config/spu/t-elf: New file.
3323 * config/t-fdpbit, config/t-fpbit: New files.
3324 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
3325 (mips*-*-*): Likewise.
3326 (arm-wrs-vxworks): Likewise.
3327 (arm*-*-freebsd*): Likewise.
3328 (avr-*-rtems*): Add t-fpbit to tmake_file.
3329 (avr-*-*): Likewise.
3330 (bfin*-elf*): Add t-fdpbit to tmake_file.
3331 (bfin*-uclinux*): Likewise.
3332 (bfin*-linux-uclibc*): Likewise.
3333 (bfin*-rtems*): New case.
3334 Add t-fdpbit to tmake_file.
3335 (bfin*-*): Add t-fdpbit to tmake_file.
3336 (crisv32-*-elf): Likewise.
3337 (cris-*-linux*): Likewise.
3338 (fr30-*-elf): Likewise.
3339 (frv-*-elf, frv-*-*linux*): Likewise.
3340 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
3341 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
3342 (m32r-*-elf*): Likewise.
3343 (m32rle-*-elf*): Likewise.
3344 (m32r-*-linux*): Likewise.
3345 (m32rle-*-linux*): Likewise.
3346 (mcore-*-elf): Add t-fdpbit to tmake_file.
3347 (microblaze*-*-*): Likewise.
3348 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
3349 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
3350 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
3351 Fix typo.
3352 Add mips/t-tpbit to tmake-file.
3353 (mips*-*-linux*): Fix typo.
3354 (mips*-sde-elf*): New case
3355 Add mips/t-sdemtk unless using newlib.
3356 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
3357 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
3358 (mn10300-*-*): Likewise.
3359 (pdp11-*-*): Likewise.
3360 (picochip-*-*): Add t-fpbit to tmake_file.
3361 (powerpc-*-eabisimaltivec*): Likewise.
3362 (powerpc-*-eabisim*): Likewise.
3363 (powerpc-*-elf*): Likewise.
3364 (powerpc-*-eabialtivec*): Likewise.
3365 (powerpc-xilinx-eabi*): New case.
3366 Add t-fdpbit to tmake_file.
3367 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
3368 (powerpc-*-rtems*): Likewise.
3369 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
3370 tmake_file.
3371 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
3372 tmake_file.
3373 (powerpc-*-lynxos*): Likewise.
3374 (powerpcle-*-elf*): Likewise.
3375 (powerpcle-*-eabisim*): Likewise.
3376 (powerpcle-*-eabi*): Likewise.
3377 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
3378 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
3379 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
3380 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
3381 (rx-*-elf): Add t-fdpbit to tmake_file.
3382 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
3383 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
3384 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
3385 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
3386 sh*-*-netbsd*.
3387 (sh-*-rtems*): Add t-fdpbit to tmake_file.
3388 (sh-wrs-vxworks): Likewise.
3389 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
3390 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
3391 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
3392 (sparc64-*-rtems*): ... new case.
3393 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
3394 (spu-*-elf*): Likewise.
3395 Add spu/t-elf to tmake_file.
3396 (v850*-*-*): Add t-fdpbit to tmake_file.
3397 (xstormy16-*-elf): Likewise.
3398 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
3399 (mep*-*-*): Likewise.
3400
3401 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3402
3403 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
3404 variables.
3405 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
3406 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
3407 (install-unwind_h): New target.
3408 (all): Depend on it.
3409 * config.host (unwind_header): New variable.
3410 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
3411 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
3412 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
3413 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
3414 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
3415 Set unwind_header.
3416 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
3417 Set unwind_header.
3418 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
3419 arm*-*-eabi*.
3420 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
3421 Set unwind_header.
3422 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
3423 (ia64*-*-freebsd*): Likewise.
3424 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
3425 tmake_file.
3426 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
3427 $with_system_libunwind.
3428 (ia64*-*-hpux*): Set tmake_file.
3429 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
3430 (picochip-*-*): Set tmake_file.
3431 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
3432 md_unwind_header.
3433 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
3434 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
3435 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
3436 (xtensa*-*-elf*): Set tmake_file.
3437 (xtensa*-*-linux*): Likewise.
3438 * configure.ac: Include ../config/unwind_ipinfo.m4.
3439 Call GCC_CHECK_UNWIND_GETIPINFO.
3440 Link unwind.h to $unwind_header.
3441 * configure: Regenerate.
3442 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
3443 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
3444 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
3445 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
3446 * config/unwind-dw2-fde-darwin.c: New file.
3447 * config/arm/libunwind.S, config/arm/pr-support.c,
3448 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
3449 config/arm/unwind-arm.h,: New files.
3450 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
3451 config/ia64/t-eh-ia64, config/ia64/t-glibc,
3452 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
3453 config/ia64/t-vms, config/ia64/unwind-ia64.c,
3454 config/ia64/unwind-ia64.h: New files.
3455 * config/picochip/t-picochip: New file.
3456 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
3457 files.
3458 * config/rs6000/t-darwin (LIB2ADDEH): Set.
3459 * config/s390/t-tpf (LIB2ADDEH): Remove.
3460 * config/t-darwin (LIB2ADDEH): Set.
3461 * config/t-eh-dw2-dip: New file.
3462 * config/t-libunwind, config/t-libunwind-elf: New files.
3463 * config/t-sol2 (LIB2ADDEH): Remove.
3464 * config/xtensa/t-xtensa: New file.
3465
3466 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
3467
3468 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
3469 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
3470 long long to check rt_sigreturn syscall.
3471
3472 2011-08-02 Alan Modra <amodra@gmail.com>
3473
3474 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
3475 Restore for indirect call bcrtl from correct stack slot, and only
3476 if cfa+40 isn't valid.
3477
3478 2011-08-01 Julian Brown <julian@codesourcery.com>
3479
3480 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
3481 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
3482 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
3483
3484 2011-08-01 Julian Brown <julian@codesourcery.com>
3485
3486 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
3487 (libgcc-std.ver.in): Use above.
3488 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
3489 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
3490 throughout file.
3491 * config/t-fixedpoint-gnu-prefix: New file.
3492 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
3493 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
3494 instead of __PFX__.
3495
3496 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
3497
3498 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
3499 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
3500 for x86-64. Properly check __x86_64__ and __LP64__.
3501
3502 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
3503
3504 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
3505 version.
3506 (_FP_WS_TYPE): Likewise.
3507 (_FP_I_TYPE): Likewise.
3508
3509 2011-07-28 Alan Modra <amodra@gmail.com>
3510
3511 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
3512 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
3513 in a plt call stub. Do restore r2 if stopped on bctrl.
3514
3515 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3516
3517 * config.host (i[3456x]86-*-netware*): Remove.
3518 * config/i386/netware-crt0.c, config/i386/t-nwld,
3519 config/i386/t-slibgcc-nwld: Remove.
3520
3521 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
3522
3523 * config.host: Handle tic6x-*-*.
3524 * config/c6x/c6x-abi.h: New file.
3525
3526 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3527
3528 * config/i386/crtprec.c: New file.
3529 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
3530 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
3531 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
3532 (x86_64-*-darwin*): Likewise.
3533 (i[34567]86-*-solaris2*: Likewise.
3534
3535 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3536
3537 * config/alpha/crtfastmath.c: New file.
3538 * config/i386/crtfastmath.c: New file.
3539 * config/ia64/crtfastmath.c: New file.
3540 * config/mips/crtfastmath.c: New file.
3541 * config/sparc/crtfastmath.c: New file.
3542
3543 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
3544 crtfastmath.c.
3545 Add -frandom-seed=gcc-crtfastmath.
3546 * config/alpha/t-crtfm: Remove.
3547 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
3548 * config/ia64/t-ia64 (crtfastmath.o): Remove.
3549
3550 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
3551 (alpha*-dec-osf5.1*): Likewise.
3552 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
3553 Add crtfastmath.o to extra_parts.
3554 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
3555 Add crtfastmath.o to extra_parts.
3556 (x86_64-*-darwin*): Likewise.
3557 (x86_64-*-mingw*): Likewise.
3558 (ia64*-*-elf*): Add t-crtfm to tmake_file.
3559 (ia64*-*-freebsd*): Likewise.
3560 (ia64*-*-linux*): Likewise.
3561 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
3562 Add crtfastmath.o to extra_parts.
3563
3564 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3565
3566 * config/darwin-crt3.o: New file.
3567 * config/rs6000/darwin-crt2.c: New file.
3568 * config/t-darwin: New file.
3569 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
3570 (crt2.o): New rule.
3571 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
3572 (powerpc-*-darwin*): Add crt2.o to extra_parts.
3573 (powerpc64-*-darwin*): Likewise.
3574
3575 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3576
3577 * config/i386/netware-crt0.c: New file.
3578 * config/i386/t-nwld: Rename to ...
3579 * config/i386/t-slibgcc-nwld: ... this.
3580 * config/i386/t-nwld: New file.
3581 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
3582 tmake_file.
3583 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
3584 extra_parts.
3585
3586 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3587
3588 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
3589 i386/t-crtstuff.
3590 * configure: Regenerate.
3591
3592 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3593
3594 * dfp-bit.c, dfp-bit.h: New files.
3595 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
3596 variables.
3597 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
3598 ($(d64pbit-o)): Likewise.
3599 ($(d128pbit-o)): Likewise.
3600 * config/t-dfprules: New file.
3601 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
3602 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
3603 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
3604 (x86_64-*-linux*): Likewise.
3605 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
3606 (i[34567]86-*-cygwin*): Likewise.
3607 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
3608 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
3609
3610 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3611
3612 * Makfile.in (LIBGCOV): New variable.
3613 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
3614 * libgcov.c: New file.
3615
3616 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3617
3618 * fixed-bit.c, fixed-bit.h: New files.
3619 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
3620 refer to fixed-bit.c.
3621
3622 2011-07-07 Joseph Myers <joseph@codesourcery.com>
3623
3624 * config.host (*local*): Remove.
3625
3626 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3627
3628 PR target/39150
3629 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
3630 like i?86-*-solaris2.1[0-9]*.
3631 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
3632 * configure.ac (i?86-*-solaris2*): Likewise.
3633 * configure: Regenerate.
3634
3635 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
3636
3637 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
3638 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
3639 md_unwind_header by splitting out of...
3640 (i[34567]86-*-linux*): ... this.
3641 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
3642 Remove md_unwind_header by splitting out of...
3643 (x86_64-*-linux*): ... this.
3644
3645 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
3646
3647 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
3648
3649 2011-06-28 Nick Clifton <nickc@redhat.com>
3650
3651 * config.host: Recognize all V850 variants.
3652
3653 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
3654
3655 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
3656
3657 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3658
3659 * shared-object.mk (c_flags-$o): Save c_flags.
3660 ($(base)$(objext)): Use it.
3661 ($(base)_s$(objext)): Likewise.
3662
3663 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
3664
3665 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
3666 * libgcc-std.ver.in (GCC_4.7.0): New section.
3667
3668 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
3669
3670 PR target/49313
3671 PR target/29524
3672 * config/avr/t-avr: Fix line endings.
3673 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
3674 _parityXX2.
3675
3676 2011-06-14 Olivier Hainque <hainque@adacore.com>
3677 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3678
3679 * config/mips/irix6-unwind.h: New file.
3680 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
3681
3682 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
3683
3684 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
3685 (sparc64_fallback_frame_state): Use it.
3686 (sparc64_frob_update_context): Further adjust context.
3687 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
3688 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
3689 * config/sparc/sol2-cn.S: Likewise.
3690
3691 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3692
3693 * enable-execute-stack-empty.c: New file.
3694 * enable-execute-stack-mprotect.c: New file.
3695 * config/i386/enable-execute-stack-mingw32.c: New file.
3696 * config.host (enable_execute_stack): New variable.
3697 Select appropriate variants.
3698 * configure.ac: Link enable-execute-stack.c to
3699 $enable_execute_stack.
3700 * configure: Regenerate.
3701 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
3702 (lib2funcs): Remove _enable_execute_stack.
3703
3704 2011-06-09 David S. Miller <davem@davemloft.net>
3705 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3706
3707 * config.host (sparc-*-linux*): Correct md_unwind_header
3708 filename.
3709 (s390x-ibm-tpf*): Fix typo.
3710
3711 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3712
3713 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
3714 Add crtfastmath.o to extra_parts.
3715 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
3716 mips/t-crtfm.
3717 * config/mips/t-crtfm: Remove.
3718
3719 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3720
3721 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
3722
3723 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
3724
3725 * config.host (sh*-*-linux*): Fix typo.
3726
3727 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3728
3729 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
3730 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
3731 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
3732 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
3733 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
3734 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
3735 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
3736 Wrap in !__MINGW64__.
3737 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
3738 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
3739 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
3740 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
3741 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
3742 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
3743 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
3744 Wrap in !__LP64__.
3745 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
3746 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
3747 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
3748 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
3749 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
3750 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
3751 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
3752 * config/no-unwind.h: New file.
3753 * config.host (md_unwind_header): Document.
3754 Define.
3755 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
3756 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
3757 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
3758 hppa[12]*-*-hpux11*): Set md_unwind_header.
3759 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
3760 Set md_unwind_header.
3761 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
3762 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
3763 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
3764 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
3765 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
3766 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
3767 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
3768 md_unwind_header.
3769 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
3770 * configure: Regenerate.
3771
3772 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3773
3774 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
3775 Set tmake_file, extra_parts.
3776 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
3777 Remove O32 support.
3778 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
3779 Remove O32 support.
3780 * config/mips/t-irix6: New file.
3781 * config/mips/t-slibgcc-irix: New file.
3782
3783 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3784
3785 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
3786 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
3787
3788 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3789
3790 * configure.ac (target_thread_file): Determine thread model.
3791 * configure: Regenerate.
3792 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
3793 * config/alpha/t-alpha: New file.
3794 * config/alpha/t-crtfm: Use $<.
3795 * config/alpha/t-ieee: New file.
3796 * config/alpha/t-osf-pthread: New file.
3797 * config/alpha/t-slibgcc-osf: New file.
3798 * config/alpha/libgcc-osf5.ver: New file.
3799
3800 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3801
3802 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
3803 tmake_file.
3804 Add crtfastmath.o to extra_parts.
3805
3806 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3807
3808 * config/gmon-sol2.c: Reindent.
3809 Cleanup comments.
3810 Remove, correct casts.
3811 Use STDERR_FILENO, NULL.
3812 (BASEADDRESS): Remove.
3813 (minbrk): Remove.
3814 (errno, sbrk): Remove declarations.
3815 (monstartup) [hp300]: Remove.
3816 (mcount): Remove.
3817
3818 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3819
3820 * Makefile.in (cpu_type): Define.
3821 * config.host (i[34567]86-*-rtems*): Handle it.
3822 (i[34567]86-*-solaris2*): Move body ...
3823 (*-*-solaris2*): ... here.
3824 New case, generalize.
3825 (sparc-*-elf*): Handle it.
3826 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
3827 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
3828 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
3829 Fold into ...
3830 (sparc*-*-solaris2*): ... this.
3831 New case.
3832 (sparc64-*-elf*): Handle it.
3833 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
3834 Merge ../gcc/config/i386/gmon-sol2.c.
3835 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
3836 Use C comments.
3837 Merge ../gcc/config/i386/sol2-gc1.asm.
3838 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
3839 Use C comments.
3840 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
3841 Use C comments.
3842 * config/i386/t-crtfm (crtfastmath.o): Use $<.
3843 * config/i386/t-crtstuff: New file.
3844 * config/i386/t-softfp: New file.
3845 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
3846 $(T)crti.o, $(T)crtn.o): Remove.
3847 (gcrt1.o): New rule.
3848 (TARGET_LIBGCC2_CFLAGS): Remove.
3849 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
3850 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
3851 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
3852 * config/sparc/t-sol2: New file.
3853 * config/sparc/t-crtfm: Move to ...
3854 * config/t-crtfm: ... this.
3855 Use $(cpu_type), $<.
3856 * config/t-crtin: New file.
3857 * config/sparc/t-softfp: New file.
3858 * config/sparc/t-softmul: New file.
3859 * config/t-rtems: New file.
3860 * config/t-slibgcc: New file.
3861 * config/t-slibgcc-elf-ver: New file.
3862 * config/t-slibgcc-gld: New file.
3863 * config/t-slibgcc-sld: New file.
3864 * config/t-sol2: New file.
3865 * configure.ac: Include ../config/lib-ld.m4.
3866 Call AC_LIB_PROG_LD_GNU.
3867 Substitute cpu_type.
3868 * configure: Regenerate.
3869
3870 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
3871
3872 PR bootstrap/49173
3873 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
3874 libgcc-std.ver in the build directory.
3875 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
3876 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
3877
3878 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
3879
3880 * libgcc-std.ver.in: New file.
3881 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
3882 variables.
3883 (libgcc-std.ver): New rule.
3884 * config/t-gnu-prefix: New file.
3885
3886 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3887
3888 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
3889
3890 2011-05-10 Joseph Myers <joseph@codesourcery.com>
3891
3892 * config/i386/darwin-lib.h: New file.
3893
3894 2011-05-10 Joseph Myers <joseph@codesourcery.com>
3895
3896 * config/arm/symbian-lib.h: New.
3897
3898 2011-05-04 Chris Demetriou <cgd@google.com>
3899
3900 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
3901 (__x86.get_pc_thunk.bx): ...this.
3902 (__morestack): Adjust for rename, remove undef of __i686.
3903
3904 2011-05-03 Chris Demetriou <cgd@google.com>
3905
3906 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
3907
3908 2011-03-22 Joseph Myers <joseph@codesourcery.com>
3909
3910 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
3911 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
3912 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
3913 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
3914 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
3915 Remove cases.
3916
3917 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
3918
3919 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
3920 Adjust copyright year.
3921
3922 2011-03-07 Ian Lance Taylor <iant@google.com>
3923
3924 * generic-morestack.c (__splitstack_find): Adjust returned stack
3925 pointer to include all registers pushed by __morestack.
3926
3927 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
3928
3929 PR target/40125
3930 * configure.ac: Call ACX_NONCANONICAL_TARGET.
3931 (toolexecdir): Calculate and AC_SUBST.
3932 (toolexeclibdir): Likewise.
3933 * Makefile.in (target_noncanonical): Import.
3934 (toolexecdir): Likewise.
3935 (toolexeclibdir): Likewise.
3936 * configure: Regenerate.
3937
3938 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
3939
3940 PR target/46040
3941 * config/arm/bpabi.h: Rename to...
3942 * config/arm/bpabi-lib.h: ...this.
3943
3944 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3945
3946 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
3947 appropriate.
3948 * configure: Regenerate.
3949
3950 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
3951
3952 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
3953 __FLOAT_WORD_ORDER__.
3954 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
3955 Delete.
3956
3957 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3958
3959 PR other/46202
3960 * Makefile.in (install-strip): New phony target.
3961
3962 2010-11-07 Ian Lance Taylor <iant@google.com>
3963
3964 PR target/46089
3965 * config/i386/morestack.S (__morestack_large_model): New
3966 function.
3967
3968 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
3969
3970 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
3971 Delete.
3972 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
3973
3974 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
3975
3976 * config/arm/bpabi.h: New file.
3977 * config/frv/frv-abi.h: New file.
3978
3979 2010-10-01 Ian Lance Taylor <iant@google.com>
3980
3981 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
3982 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
3983
3984 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
3985
3986 PR target/45858
3987 * config.host: Add the missing `$'.
3988
3989 2010-09-30 Michael Eager <eager@eagercon.com>
3990
3991 * config.host: Add microblaze*-*-*.
3992 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
3993 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
3994 udivsi3.asm,umodsi3.asm}: New.
3995
3996 2010-09-28 Ian Lance Taylor <iant@google.com>
3997
3998 * configure.ac: Adjust CFI test to test assembler directly rather
3999 than checking gcc preprocessor macro.
4000 * configure: Rebuild.
4001
4002 2010-09-27 Ian Lance Taylor <iant@google.com>
4003
4004 * configure.ac: Test whether assembler supports CFI directives.
4005 * config.host: Only add t-stack and i386/t-stack-i386 to
4006 tmake_file if libgcc_cv_cfi is "yes".
4007 * configure: Rebuild.
4008
4009 2010-09-27 Ian Lance Taylor <iant@google.com>
4010
4011 * generic-morestack.h: New file.
4012 * generic-morestack.c: New file.
4013 * generic-morestack-thread.c: New file.
4014 * config/i386/morestack.S: New file.
4015 * config/t-stack: New file.
4016 * config/i386/t-stack-i386: New file.
4017 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
4018 i386/t-stack-i386 to tmake_file.
4019
4020 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
4021
4022 * Makefile.in (libgcc-extra-parts): Check for static archives and
4023 invoke ranlib after installing them.
4024 (gcc-extra-parts): Likewise.
4025 (install-leaf): Likewise.
4026
4027 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
4028
4029 * configure: Regenerated.
4030
4031 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
4032
4033 * configure: Regenerated.
4034
4035 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
4036 Andrew Pinski <pinskia@gmail.com>
4037
4038 PR target/40959
4039 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
4040
4041 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
4042
4043 PR target/45524
4044 * configure: Regenerated.
4045
4046 2010-09-06 Andreas Schwab <schwab@redhat.com>
4047
4048 * configure: Regenerate.
4049
4050 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
4051
4052 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
4053 64bit targets.
4054 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
4055 for 64bit targets.
4056
4057 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
4058 Iain Sandoe <iains@gcc.gnu.org>
4059
4060 PR target/45476
4061 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
4062 LIB2FUNCS_EXCLUDE functions.
4063
4064 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4065
4066 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
4067 Include dfp.m4.
4068 * configure: Regenerate.
4069
4070 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
4071
4072 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
4073 i386/t-freebsd to tmake_file.
4074 * config/i386/t-freebsd: New file.
4075 * config/i386/libgcc-bsd.ver: New file.
4076
4077 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
4078
4079 * config.host (powerpc*-eabispe*): Set tmake_file.
4080 (powerpc*-eabi*): Likewise.
4081 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
4082 crtbeginS, crtendS, crtbeginT.
4083
4084 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
4085
4086 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
4087 to tmake_file. Add crtfastmath.o to extra_parts.
4088 * config/mips/t-crtfm: New.
4089
4090 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
4091
4092 * config.host (sparc64-*-rtems*): New target.
4093
4094 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4095
4096 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
4097 assembler syntax.
4098
4099 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
4100
4101 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
4102
4103 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4104
4105 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
4106 alpha-dec-osf5.0* support.
4107
4108 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
4109
4110 * config.host: Add lm32-*-rtems*.
4111
4112 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4113 Uros Bizjak <ubizjak@gmail.com>
4114
4115 PR target/39048
4116 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
4117 like other remaining 32-bit x86 OSes.
4118 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
4119 assembler syntax.
4120 * config/i386/libgcc-sol2.ver: New file.
4121 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
4122
4123 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
4124
4125 PR c/43553
4126 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
4127 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
4128 is used and substitute set_use_emutls.
4129 * configure: Regenerated.
4130
4131 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
4132
4133 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
4134
4135 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4136
4137 PR target/38085
4138 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
4139 MULTILIB_CFLAGS.
4140 ($(T)gcrt1.o): Likewise.
4141 ($(T)crt1.o): Likewise.
4142 ($(T)crti.o): Likewise.
4143 ($(T)crtn.o): Likewise.
4144
4145 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4146
4147 PR other/42980
4148 * Makefile.in (install): Use $(MAKE) string in rule, for
4149 parallel make.
4150
4151 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
4152
4153 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
4154 * config/mmix/t-mmix: New file.
4155 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
4156
4157 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
4158
4159 PR java/41991
4160 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
4161 SHLIB_MAPFILES.
4162
4163 2010-01-04 Anthony Green <green@moxielogic.com>
4164
4165 * config/moxie/crti.asm, config/moxie/crtn.asm,
4166 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
4167 config/moxie/t-moxie: New files.
4168 * config.host: Add t-moxie-softfp reference.
4169
4170 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
4171
4172 PR other/39888
4173 * config/t-slibgcc-darwin: Fix embedded rpaths for
4174 --enable-version-specific-runtime-libs, build extension stub
4175 libs exposing features available from current libgcc_s.
4176
4177 2009-11-11 Jon Beniston <jon@beniston.com>
4178
4179 * config.host: Add lm32 targets.
4180 * config/lm32: New directory.
4181 * config/lm32/libgcc_lm32.h: New file.
4182 * config/lm32/_mulsi3.c: New file.
4183 * config/lm32/_udivmodsi4.c: New file.
4184 * config/lm32/_divsi3.c: New file.
4185 * config/lm32/_modsi3.c: New file.
4186 * config/lm32/_udivsi3.c: New file.
4187 * config/lm32/_umodsi3.c: New file.
4188 * config/lm32/_lshrsi3.S: New file.
4189 * config/lm32/_ashrsi3.S: New file.
4190 * config/lm32/_ashlsi3.S: New file.
4191 * config/lm32/crti.S: New file.
4192 * config/lm32/crtn.S: New file.
4193 * config/lm32/t-lm32: New file.
4194 * config/lm32/t-elf: New file.
4195 * config/lm32/t-uclinux: New file.
4196
4197 2009-10-26 Nick Clifton <nickc@redhat.com>
4198
4199 * config.host: Add support for RX target.
4200 * config/rx: New directory.
4201 * config/rx/rx-abi-functions.c: New file. Supplementary
4202 functions for libgcc to support the RX ABI.
4203 * config/rx/rx-abi.h: New file. Supplementary header file for
4204 libgcc RX ABI functions.
4205 * config/rx/t-rx: New file: Makefile fragment for building
4206 libgcc for the RX.
4207
4208 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
4209
4210 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
4211 constraint of y0 to "g".
4212
4213 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4214
4215 * config.host: Include the s390 makefile fragments.
4216 * config/s390/32/_fixdfdi.c: New file.
4217 * config/s390/32/_fixsfdi.c: New file.
4218 * config/s390/32/_fixtfdi.c: New file.
4219 * config/s390/32/_fixunsdfdi.c: New file.
4220 * config/s390/32/_fixunssfdi.c: New file.
4221 * config/s390/32/_fixunstfdi.c: New file.
4222 * config/s390/32/t-floattodi: New file.
4223 * config/s390/libgcc-glibc.ver: New file.
4224 * config/s390/t-crtstuff: New file.
4225 * config/s390/t-linux: New file.
4226 * config/s390/t-tpf: New file.
4227
4228 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4229
4230 * configure.ac (AC_PREREQ): Bump to 2.64.
4231
4232 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
4233
4234 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
4235
4236 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4237
4238 * configure: Regenerate.
4239
4240 2009-08-09 Douglas B Rupp <rupp@gnat.com>
4241
4242 * config.host (ia64-hp-*vms*): New target.
4243 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
4244 with ia64-hp-*vms*.
4245
4246 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4247
4248 * configure.ac: Add snippet for maintainer-mode.
4249 * configure: Regenerate.
4250 * Makefile.in (AUTOCONF, configure_deps): New variables.
4251 ($(srcdir)/configure)): New rule, active only with maintainer
4252 mode turned on.
4253
4254 2009-06-23 DJ Delorie <dj@redhat.com>
4255
4256 Add MeP port.
4257 * config.host: Add mep support.
4258
4259 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
4260
4261 * config.host: Add i386/${host_address}/t-fprules-softfp and
4262 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
4263
4264 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
4265 for mingw targets.
4266 * config/i386/64/_multc3.c: Likewise.
4267 * config/i386/64/_powitf2.c: Likewise.
4268 * config/i386/64/eqtf2.c: Likewise.
4269 * config/i386/64/getf2.c: Likewise.
4270 * config/i386/64/letf2.c: Likewise.
4271 * config/i386/64/letf2.c: Likewise.
4272 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
4273 unsigned long long for x64 mingw targets.
4274 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
4275 (_FP_I_TYPE): Define as long long for x64 mingw target.
4276
4277 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
4278
4279 * config.host (vax-*-linux*): New.
4280
4281 2009-05-31 Anthony Green <green@moxielogic.com>
4282
4283 * config.host: Add moxie support.
4284 * config/moxie/t-moxie: New file.
4285
4286 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
4287
4288 * config.host: Add i386/${host_address}/t-fprules-softfp and
4289 t-softfp to tmake_file for i[34567]86-*-cygwin*.
4290
4291 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
4292
4293 * config.host: Add i386/${host_address}/t-fprules-softfp to
4294 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
4295
4296 2009-04-09 Nick Clifton <nickc@redhat.com>
4297
4298 * config/ia64/tf-signs.c: Change copyright header to refer to
4299 version 3 of the GNU General Public License with version 3.1
4300 of the GCC Runtime Library Exception and to point readers at
4301 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
4302 web page.
4303 * config/i386/32/tf-signs.c: Likewise.
4304 * config/libbid/_addsub_dd.c: Likewise.
4305 * config/libbid/_addsub_sd.c: Likewise.
4306 * config/libbid/_addsub_td.c: Likewise.
4307 * config/libbid/_dd_to_df.c: Likewise.
4308 * config/libbid/_dd_to_di.c: Likewise.
4309 * config/libbid/_dd_to_sd.c: Likewise.
4310 * config/libbid/_dd_to_sf.c: Likewise.
4311 * config/libbid/_dd_to_si.c: Likewise.
4312 * config/libbid/_dd_to_td.c: Likewise.
4313 * config/libbid/_dd_to_tf.c: Likewise.
4314 * config/libbid/_dd_to_udi.c: Likewise.
4315 * config/libbid/_dd_to_usi.c: Likewise.
4316 * config/libbid/_dd_to_xf.c: Likewise.
4317 * config/libbid/_df_to_dd.c: Likewise.
4318 * config/libbid/_df_to_sd.c: Likewise.
4319 * config/libbid/_df_to_td.c: Likewise.
4320 * config/libbid/_di_to_dd.c: Likewise.
4321 * config/libbid/_di_to_sd.c: Likewise.
4322 * config/libbid/_di_to_td.c: Likewise.
4323 * config/libbid/_div_dd.c: Likewise.
4324 * config/libbid/_div_sd.c: Likewise.
4325 * config/libbid/_div_td.c: Likewise.
4326 * config/libbid/_eq_dd.c: Likewise.
4327 * config/libbid/_eq_sd.c: Likewise.
4328 * config/libbid/_eq_td.c: Likewise.
4329 * config/libbid/_ge_dd.c: Likewise.
4330 * config/libbid/_ge_sd.c: Likewise.
4331 * config/libbid/_ge_td.c: Likewise.
4332 * config/libbid/_gt_dd.c: Likewise.
4333 * config/libbid/_gt_sd.c: Likewise.
4334 * config/libbid/_gt_td.c: Likewise.
4335 * config/libbid/_isinfd128.c: Likewise.
4336 * config/libbid/_isinfd32.c: Likewise.
4337 * config/libbid/_isinfd64.c: Likewise.
4338 * config/libbid/_le_dd.c: Likewise.
4339 * config/libbid/_le_sd.c: Likewise.
4340 * config/libbid/_le_td.c: Likewise.
4341 * config/libbid/_lt_dd.c: Likewise.
4342 * config/libbid/_lt_sd.c: Likewise.
4343 * config/libbid/_lt_td.c: Likewise.
4344 * config/libbid/_mul_dd.c: Likewise.
4345 * config/libbid/_mul_sd.c: Likewise.
4346 * config/libbid/_mul_td.c: Likewise.
4347 * config/libbid/_ne_dd.c: Likewise.
4348 * config/libbid/_ne_sd.c: Likewise.
4349 * config/libbid/_ne_td.c: Likewise.
4350 * config/libbid/_sd_to_dd.c: Likewise.
4351 * config/libbid/_sd_to_df.c: Likewise.
4352 * config/libbid/_sd_to_di.c: Likewise.
4353 * config/libbid/_sd_to_sf.c: Likewise.
4354 * config/libbid/_sd_to_si.c: Likewise.
4355 * config/libbid/_sd_to_td.c: Likewise.
4356 * config/libbid/_sd_to_tf.c: Likewise.
4357 * config/libbid/_sd_to_udi.c: Likewise.
4358 * config/libbid/_sd_to_usi.c: Likewise.
4359 * config/libbid/_sd_to_xf.c: Likewise.
4360 * config/libbid/_sf_to_dd.c: Likewise.
4361 * config/libbid/_sf_to_sd.c: Likewise.
4362 * config/libbid/_sf_to_td.c: Likewise.
4363 * config/libbid/_si_to_dd.c: Likewise.
4364 * config/libbid/_si_to_sd.c: Likewise.
4365 * config/libbid/_si_to_td.c: Likewise.
4366 * config/libbid/_td_to_dd.c: Likewise.
4367 * config/libbid/_td_to_df.c: Likewise.
4368 * config/libbid/_td_to_di.c: Likewise.
4369 * config/libbid/_td_to_sd.c: Likewise.
4370 * config/libbid/_td_to_sf.c: Likewise.
4371 * config/libbid/_td_to_si.c: Likewise.
4372 * config/libbid/_td_to_tf.c: Likewise.
4373 * config/libbid/_td_to_udi.c: Likewise.
4374 * config/libbid/_td_to_usi.c: Likewise.
4375 * config/libbid/_td_to_xf.c: Likewise.
4376 * config/libbid/_tf_to_dd.c: Likewise.
4377 * config/libbid/_tf_to_sd.c: Likewise.
4378 * config/libbid/_tf_to_td.c: Likewise.
4379 * config/libbid/_udi_to_dd.c: Likewise.
4380 * config/libbid/_udi_to_sd.c: Likewise.
4381 * config/libbid/_udi_to_td.c: Likewise.
4382 * config/libbid/_unord_dd.c: Likewise.
4383 * config/libbid/_unord_sd.c: Likewise.
4384 * config/libbid/_unord_td.c: Likewise.
4385 * config/libbid/_usi_to_dd.c: Likewise.
4386 * config/libbid/_usi_to_sd.c: Likewise.
4387 * config/libbid/_usi_to_td.c: Likewise.
4388 * config/libbid/_xf_to_dd.c: Likewise.
4389 * config/libbid/_xf_to_sd.c: Likewise.
4390 * config/libbid/_xf_to_td.c: Likewise.
4391 * config/libbid/bid128.c: Likewise.
4392 * config/libbid/bid128_2_str.h: Likewise.
4393 * config/libbid/bid128_2_str_macros.h: Likewise.
4394 * config/libbid/bid128_2_str_tables.c: Likewise.
4395 * config/libbid/bid128_add.c: Likewise.
4396 * config/libbid/bid128_compare.c: Likewise.
4397 * config/libbid/bid128_div.c: Likewise.
4398 * config/libbid/bid128_fma.c: Likewise.
4399 * config/libbid/bid128_logb.c: Likewise.
4400 * config/libbid/bid128_minmax.c: Likewise.
4401 * config/libbid/bid128_mul.c: Likewise.
4402 * config/libbid/bid128_next.c: Likewise.
4403 * config/libbid/bid128_noncomp.c: Likewise.
4404 * config/libbid/bid128_quantize.c: Likewise.
4405 * config/libbid/bid128_rem.c: Likewise.
4406 * config/libbid/bid128_round_integral.c: Likewise.
4407 * config/libbid/bid128_scalb.c: Likewise.
4408 * config/libbid/bid128_sqrt.c: Likewise.
4409 * config/libbid/bid128_string.c: Likewise.
4410 * config/libbid/bid128_to_int16.c: Likewise.
4411 * config/libbid/bid128_to_int32.c: Likewise.
4412 * config/libbid/bid128_to_int64.c: Likewise.
4413 * config/libbid/bid128_to_int8.c: Likewise.
4414 * config/libbid/bid128_to_uint16.c: Likewise.
4415 * config/libbid/bid128_to_uint32.c: Likewise.
4416 * config/libbid/bid128_to_uint64.c: Likewise.
4417 * config/libbid/bid128_to_uint8.c: Likewise.
4418 * config/libbid/bid32_to_bid128.c: Likewise.
4419 * config/libbid/bid32_to_bid64.c: Likewise.
4420 * config/libbid/bid64_add.c: Likewise.
4421 * config/libbid/bid64_compare.c: Likewise.
4422 * config/libbid/bid64_div.c: Likewise.
4423 * config/libbid/bid64_fma.c: Likewise.
4424 * config/libbid/bid64_logb.c: Likewise.
4425 * config/libbid/bid64_minmax.c: Likewise.
4426 * config/libbid/bid64_mul.c: Likewise.
4427 * config/libbid/bid64_next.c: Likewise.
4428 * config/libbid/bid64_noncomp.c: Likewise.
4429 * config/libbid/bid64_quantize.c: Likewise.
4430 * config/libbid/bid64_rem.c: Likewise.
4431 * config/libbid/bid64_round_integral.c: Likewise.
4432 * config/libbid/bid64_scalb.c: Likewise.
4433 * config/libbid/bid64_sqrt.c: Likewise.
4434 * config/libbid/bid64_string.c: Likewise.
4435 * config/libbid/bid64_to_bid128.c: Likewise.
4436 * config/libbid/bid64_to_int16.c: Likewise.
4437 * config/libbid/bid64_to_int32.c: Likewise.
4438 * config/libbid/bid64_to_int64.c: Likewise.
4439 * config/libbid/bid64_to_int8.c: Likewise.
4440 * config/libbid/bid64_to_uint16.c: Likewise.
4441 * config/libbid/bid64_to_uint32.c: Likewise.
4442 * config/libbid/bid64_to_uint64.c: Likewise.
4443 * config/libbid/bid64_to_uint8.c: Likewise.
4444 * config/libbid/bid_b2d.h: Likewise.
4445 * config/libbid/bid_binarydecimal.c: Likewise.
4446 * config/libbid/bid_conf.h: Likewise.
4447 * config/libbid/bid_convert_data.c: Likewise.
4448 * config/libbid/bid_decimal_data.c: Likewise.
4449 * config/libbid/bid_decimal_globals.c: Likewise.
4450 * config/libbid/bid_div_macros.h: Likewise.
4451 * config/libbid/bid_dpd.c: Likewise.
4452 * config/libbid/bid_flag_operations.c: Likewise.
4453 * config/libbid/bid_from_int.c: Likewise.
4454 * config/libbid/bid_functions.h: Likewise.
4455 * config/libbid/bid_gcc_intrinsics.h: Likewise.
4456 * config/libbid/bid_inline_add.h: Likewise.
4457 * config/libbid/bid_internal.h: Likewise.
4458 * config/libbid/bid_round.c: Likewise.
4459 * config/libbid/bid_sqrt_macros.h: Likewise.
4460
4461 2009-04-09 Jakub Jelinek <jakub@redhat.com>
4462
4463 * Makefile.in: Change copyright header to refer to version
4464 3 of the GNU General Public License and to point readers at the
4465 COPYING3 file and the FSF's license web page.
4466 * config.host: Likewise.
4467
4468 2009-04-07 Alan Modra <amodra@bigpond.net.au>
4469
4470 * config.host: Reorder and merge to match config.gcc change.
4471
4472 2009-04-03 Alan Modra <amodra@bigpond.net.au>
4473
4474 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
4475
4476 2009-03-28 Joseph Myers <joseph@codesourcery.com>
4477
4478 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
4479 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
4480 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
4481 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
4482
4483 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
4484
4485 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
4486 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
4487
4488 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
4489
4490 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
4491 ia64/t-softfp-compat to tmake_file.
4492
4493 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
4494
4495 * config/ia64/__divxf3.asm: New.
4496 * config/ia64/_fixtfdi.asm: Likewise.
4497 * config/ia64/_fixunstfdi.asm: Likewise.
4498 * config/ia64/_floatditf.asm: Likewise.
4499 * config/ia64/t-fprules-softfp: Likewise.
4500 * config/ia64/t-softfp-compat: Likewise.
4501 * config/ia64/tf-signs.c: Likewise.
4502
4503 2009-01-18 Ben Elliston <bje@au.ibm.com>
4504
4505 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
4506
4507 2009-01-16 Ben Elliston <bje@au.ibm.com>
4508
4509 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
4510 to tmake_file.
4511
4512 2009-01-13 Ben Elliston <bje@au.ibm.com>
4513
4514 * config/t-softfp: New file.
4515 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
4516 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
4517
4518 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
4519
4520 * config.host: Add m32r*-*-rtems*.
4521
4522 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
4523
4524 * config.host: Add m32c*-*-rtems*.
4525
4526 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4527
4528 PR bootstrap/33100
4529 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
4530 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
4531 * configure: Regenerate.
4532 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
4533 tmake_file here from gcc/config.gcc.
4534 Move extra_parts here from gcc/config.gcc.
4535 * config/i386/t-sol2: Move here from gcc/config/i386.
4536 Use gcc_srcdir instead of srcdir.
4537
4538 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
4539
4540 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
4541 case.
4542
4543 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
4544
4545 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
4546
4547 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
4548
4549 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
4550
4551 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
4552
4553 Add picoChip port.
4554 * config.host: Add picochip-*-*.
4555
4556 2008-08-06 Bob Wilson <bob.wilson@acm.org>
4557
4558 * config.host: Match more processor names for Xtensa.
4559
4560 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
4561
4562 * config/i386/64/t-softfp-compat: Update comments.
4563
4564 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
4565
4566 * config/i386/64/_divtc3-compat.c: Moved to ...
4567 * config/i386/64/_divtc3.c: Here.
4568
4569 * config/i386/64/_multc3-compat.c: Moved to ...
4570 * config/i386/64/_multc3.c: Here.
4571
4572 * config/i386/64/_powitf2-compat.c: Moved to ...
4573 * config/i386/64/_powitf2.c: Here.
4574
4575 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
4576 .c suffix instead of -compat.c.
4577
4578 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
4579
4580 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
4581 (_FP_MUL_MEAT_D): Ditto.
4582 (_FP_DIV_MEAT_S): Ditto.
4583 (_FP_DIV_MEAT_D): Ditto.
4584
4585 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
4586
4587 * Makefile.in: Add support for __sync_* libgcc functions.
4588
4589 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
4590
4591 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
4592
4593 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
4594
4595 PR boostrap/36702
4596 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
4597 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
4598
4599 * config/i386/64/t-fprules-softfp: Moved to ...
4600 * config/i386/64/t-softfp-compat: This. New.
4601
4602 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
4603
4604 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
4605 Initialize f with 0.0.
4606
4607 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
4608
4609 PR target/36669
4610 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
4611
4612 * config/i386/64/_divtc3-compat.c: New.
4613 * config/i386/64/_multc3-compat.c: Likewise.
4614 * config/i386/64/_powitf2-compat.c: Likewise.
4615 * config/i386/64/eqtf2.c: Likewise.
4616 * config/i386/64/getf2.c: Likewise.
4617 * config/i386/64/letf2.c: Likewise.
4618 * config/i386/64/t-fprules-softfp: Likewise.
4619
4620 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
4621
4622 * config.host: Add i386/${host_address}/t-fprules-softfp to
4623 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
4624 i[34567]86-*-linux*, x86_64-*-linux*.
4625
4626 * configure.ac: Set host_address to 64 or 32 for x86.
4627 * configure: Regenerated.
4628
4629 * Makefile.in (config.status): Also depend on
4630 $(srcdir)/config.host.
4631
4632 * config/i386/32/t-fprules-softfp: New.
4633 * config/i386/32/tf-signs.c: Likewise.
4634
4635 * config/i386/64/sfp-machine.h: New. Moved from gcc.
4636
4637 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
4638 Uros Bizjak <ubizjak@gmail.com>
4639
4640 * config/i386/32/sfp-machine.h: New.
4641
4642 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
4643
4644 * config/rs6000/t-ppccomm: Remove rules that conflict with
4645 auto-generated rules.
4646
4647 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4648
4649 * configure.ac: sinclude override.m4.
4650 * configure: Regenerate.
4651
4652 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
4653
4654 * configure: Regenerate.
4655
4656 2008-06-10 Joseph Myers <joseph@codesourcery.com>
4657
4658 * Makefile.in (DECNUMINC): Remove
4659 -I$(MULTIBUILDTOP)../../libdecnumber.
4660 * gstdint.h: New.
4661
4662 2008-06-07 Joseph Myers <joseph@codesourcery.com>
4663
4664 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
4665 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
4666 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
4667 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
4668 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
4669 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
4670 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
4671 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
4672 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
4673 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
4674 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
4675 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
4676 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
4677 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
4678
4679 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
4680
4681 * config.host (sh2[lbe]*-*-linux*): Allow target.
4682
4683 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
4684
4685 * config/rs6000/t-ppccomm: Add build rules for new files.
4686 (LIB2ADD_ST): New variable.
4687
4688 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
4689
4690 PR target/34210
4691 PR target/35508
4692 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
4693 * config/t-avr: New file. Build 16bit libgcc functions.
4694
4695 2008-03-02 Jakub Jelinek <jakub@redhat.com>
4696
4697 PR target/35401
4698 * config/t-slibgcc-darwin: Make install-leaf dependent on
4699 install-darwin-libgcc-stubs instead of install.
4700
4701 2008-01-25 Joseph Myers <joseph@codesourcery.com>
4702
4703 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
4704 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
4705 sh-*-rtemscoff*): Remove cases.
4706
4707 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
4708
4709 * Makefile.in (all): Use install-leaf rather than install.
4710 (install): Split most of the rule into...
4711 (install-leaf): ...this new one.
4712
4713 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
4714 Paolo Bonzini <bonzini@gnu.org>
4715
4716 PR target/30572
4717 * Makefile.in: Use @shlib_slibdir@ substitution to get
4718 correct install name on darwin.
4719 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
4720
4721 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
4722
4723 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
4724 cris-*-elf and cris-*-none.
4725 (crisv32-*-linux*): Similar, as cris-*-linux*.
4726
4727 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
4728
4729 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
4730
4731 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
4732
4733 PR regression/33926
4734 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
4735 * configure: Regenerated.
4736
4737 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
4738
4739 * Makefile.in (dfp-filenames): Replace decimal_globals,
4740 decimal_data, binarydecimal and convert_data with
4741 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
4742 and bid_convert_data, respectively.
4743
4744 2007-09-17 Chao-ying Fu <fu@mips.com>
4745 Nigel Stephens <nigel@mips.com>
4746
4747 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
4748 * Makefile.in (fixed_point): Define.
4749 Check if fixed_point is yes to build support functions.
4750 * configure.ac: Check for fixed_point support.
4751 * configure: Regenerated.
4752 * gen-fixed.sh: New file to generate lists of fixed-point labels,
4753 funcs, modes, from, to.
4754
4755 2007-09-11 Janis Johnson <janis187@us.ibm.com
4756
4757 * Makefile.in (dfp-filenames): Add bid128_noncomp.
4758
4759 2007-09-10 Janis Johnson <janis187@us.ibm.com>
4760
4761 * Makefile.in (dfp-filenames): Remove decUtility, add
4762 decDouble, decPacked, decQuad, decSingle.
4763
4764 2007-08-27 Hans Kester <hans.kester@ellips.nl>
4765
4766 * config.host : Add x86_64-elf target.
4767
4768 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
4769
4770 * configure.ac (set_have_cc_tls): Add a missing =.
4771 * configure: Regenerated.
4772
4773 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
4774
4775 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
4776 and x86_64-*-linux*.
4777
4778 * config/t-tls: New file.
4779
4780 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
4781
4782 * configure.ac: Include ../config/enable.m4 and
4783 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
4784 supports TLS and substitute set_have_cc_tls.
4785 * configure: Regenerated.
4786
4787 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
4788
4789 * Makefile.in: Use libbid for DFP when BID is enabled.
4790
4791 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
4792
4793 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
4794 extra_parts. Add config/i386/t-cygming to tmake_file.
4795 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
4796
4797 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
4798 Danny Smith <dannysmith@users.sourceforge.net>
4799
4800 PR target/29498
4801 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
4802 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
4803 * config/i386/t-crtfm: Compile crtfastmath.o with
4804 -minline-all-stringops.
4805
4806 2007-05-10 Richard Sandiford <richard@codesourcery.com>
4807
4808 * config.host (sparc-wrs-vxworks): New target.
4809
4810 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
4811
4812 * config.host: Recognize fido.
4813
4814 2007-04-04 Janis Johnson <janis187@us.ibm.com>
4815
4816 * configure: Check host, not target, for decimal float support.
4817
4818 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
4819
4820 * config/i386/t-crtpc: New file.
4821 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
4822 (x86_64-*-linux*): Ditto.
4823
4824 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
4825
4826 * config.host (x86_64-*-mingw*): New target.
4827
4828 2007-03-23 Michael Meissner <michael.meissner@amd.com>
4829 H.J. Lu <hongjiu.lu@intel.com>
4830
4831 * Makefile.in (enable_decimal_float): New.
4832 (DECNUMINC): Add
4833 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
4834 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
4835 (decbits-filenames): This.
4836 (decbits-objects): New.
4837 (libgcc-objects): Add $(decbits-objects).
4838
4839 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
4840 Substitute enable_decimal_float.
4841 * configure: Regenerated.
4842
4843 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
4844
4845 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
4846
4847 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
4848
4849 * Makefile.in (install-info): New dummy target.
4850
4851 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
4852
4853 * config.host (bfin*-linux-uclibc*): Set extra_parts.
4854
4855 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
4856
4857 * Makefile.in: Add install-html and install-pdf dummy
4858 targets.
4859
4860 2007-02-05 Roger Sayle <roger@eyesopen.com>
4861 Daniel Jacobowitz <dan@codesourcery.com>
4862
4863 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
4864 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
4865 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
4866
4867 2007-01-29 Janis Johnson <janis187@us.ibm.com>
4868
4869 * Makefile.in (dec-filenames): Add decExcept.
4870
4871 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
4872
4873 PR bootstrap/30469
4874 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
4875 -fprofile-use.
4876
4877 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
4878
4879 * configure.ac: Add --enable-version-specific-runtime-libs.
4880 Correct $slibdir default.
4881 * configure: Regenerated.
4882
4883 2007-01-23 Joseph Myers <joseph@codesourcery.com>
4884
4885 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
4886
4887 2007-01-21 Andrew Pinski <pinskia@gmail.com>
4888
4889 PR target/30519
4890 * config.host (alpha*-*-linux*): Set extra_parts.
4891
4892 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
4893
4894 * config/sh/t-linux: New.
4895 * config.host (sh*-*-linux*): Set tmake_file.
4896
4897 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
4898
4899 * Makefile.in (install): Handle multilibs.
4900
4901 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
4902
4903 * Makefile.in: Added .PHONY entry for documentation targets.
4904
4905 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
4906
4907 * Makefile.in: Add empty info, html, dvi, pdf targets.
4908
4909 2007-01-04 Mike Stump <mrs@apple.com>
4910
4911 * Makefile.in (MAKEINFO): Remove.
4912 (PERL): Likewise.
4913
4914 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
4915
4916 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
4917 * configure: Regenerate.
4918 * Makefile.in (host_subdir): Substitute it.
4919 (gcc_objdir): Use it.
4920
4921 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
4922
4923 * config.host (ia64*-*-linux*): Set tmake_file.
4924
4925 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
4926
4927 * Makefile.in (version): Define.
4928
4929 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
4930 Paolo Bonzini <bonzini@gnu.org>
4931
4932 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
4933 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
4934 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
4935 config/sparc/t-crtfm, config/t-slibgcc-darwin,
4936 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
4937 shared-object.mk, siditi-object.mk, static-object.mk: New files.
4938 * configure: Generated.