]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
re PR tree-optimization/56787 (Vectorization fails because of CLOBBER statements)
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
49dcafd4
EB
12013-05-22 Eric Botcazou <ebotcazou@adacore.com>
2
3 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
4 (powerpc-wrs-vxworks): Likewise.
5
4fcb5d87
EB
62013-05-22 Eric Botcazou <ebotcazou@adacore.com>
7
8 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
9 signal frames as well.
10 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
11 STACK_BIAS to the CFA offset.
12
0ec33224
RH
132013-05-17 Richard Henderson <rth@redhat.com>
14
15 PR target/49146
16 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
17 (execute_cfa_program): Use it when storing to fs->regs.
18
492a8029
KT
192013-05-08 Kai Tietz <ktietz@redhat.com>
20
21 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
22 (__deregister_frame_info): Likewise.
23
701e2f0a
TS
242013-05-06 Thomas Schwinge <thomas@codesourcery.com>
25
e5123d08
TS
26 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
27 NaN's payload.
28
701e2f0a
TS
29 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
30
b9a7eb5d
AM
312013-04-25 Alan Modra <amodra@gmail.com>
32
33 * config.host: Match little-endian powerpc-linux.
34
dfe192f5
YZ
352013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
36
37 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
38 as 'unsigned long long' instead of 'unsigned long'.
39 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
40 'signed long'.
41
b6b9af2f
JB
422013-04-10 Julian Brown <julian@codesourcery.com>
43
44 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
45 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
46 unsigned char/unsigned short.
47 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
48
ecabdd00
JDA
492013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
50
51 PR other/55274
52 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
53
34652576
MI
542013-04-04 Meador Inge <meadori@codesourcery.com>
55
56 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
57 computing the location of the link register.
58 (aeabi_uldivmod): Ditto.
59
e9fd8c19
KT
602013-03-27 Kai Tietz <ktietz@redhat.com>
61
62 * config.host: Add support for cygwin x64 target.
63 * configure: Regenerated.
64
a6406324
WL
652013-03-26 Walter Lee <walt@tilera.com>
66
67 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
68 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
69
55446c7e
KT
702013-03-25 Kai Tietz <ktietz@redhat.com>
71
72 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
73
d2ae19d9
RM
742013-03-20 Robert Mason <rbmj@verizon.net>
75
76 * config/vxlib-tls.c (__gthread_get_tsd_data,)
77 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
78 (__gthread_leave_tsd_dtor_context): Add prototypes.
79 (tls_delete_hook): Update.
80
22c4c869
CM
812013-03-20 Catherine Moore <clm@codesourcery.com>
82 Joseph Myers <joseph@codesourcery.com>
83 Chao-ying Fu <fu@mips.com>
84
85 * config/mips/mips16.S: Don't build for microMIPS.
86 * config/mips/linux-unwind.h: Handle microMIPS frame.
87 * config/mips/crtn.S (fini, init): New labels.
88
fbd28bc3
JJ
892013-03-14 Jakub Jelinek <jakub@redhat.com>
90
91 PR tree-optimization/53265
92 * unwind-dw2.c (execute_cfa_program): Avoid
93 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
94 on targets with DWARF_FRAME_REGISTERS < 32.
95
decc676e
OE
962013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
97
98 PR target/49880
99 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
100 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
101
84ea618a
ST
1022013-03-07 Sriraman Tallam <tmsriram@google.com>
103
104 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
105 sandybridge processors.
106
8f6d1c86
OE
1072013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
108
109 PR target/56529
110 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
111 inclusion list.
112
409b1de4
EI
1132013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
114
115 * config/microblaze/crti.S: Setup stack protection at entry
116
0b4ce21b
GJL
1172013-03-04 Georg-Johann Lay <avr@gjlay.de>
118
119 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
120 (__rotldi3): Shift bytewise if applicable.
121
b7c3f1ca
JG
1222013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
123
124 * config/aarch64/sync-cache.c
125 (__aarch64_sync_cache_range): Silence warnings.
126
6d65e8f1
CM
1272013-02-25 Catherine Moore <clm@codesourcery.com>
128
129 Revert:
130 2013-02-24 Catherine Moore <clm@codesourcery.com>
131 Joseph Myers <joseph@codesourcery.com>
132 Chao-ying Fu <fu@mips.com>
133
134 * config/mips/mips16.S: Don't build for microMIPS.
135 * config/mips/linux-unwind.h: Handle microMIPS frame.
136 * config/mips/crtn.S (fini, init): New labels.
137
6941b508
CM
1382013-02-24 Catherine Moore <clm@codesourcery.com>
139 Joseph Myers <joseph@codesourcery.com>
140 Chao-ying Fu <fu@mips.com>
141
142 * config/mips/mips16.S: Don't build for microMIPS.
143 * config/mips/linux-unwind.h: Handle microMIPS frame.
144 * config/mips/crtn.S (fini, init): New labels.
145
7c422dbb
EI
1462012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
147 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
148 as dividend.
149
110207ad
AM
1502013-02-16 Alan Modra <amodra@gmail.com>
151
152 PR target/55431
153 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
154 (ppc_fallback_frame_state): Always set up save locations for fp
155 and altivec. Don't bother with non-callee-saved regs, r0-r13
156 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
157
e68a4ef6
GJL
1582013-02-12 Georg-Johann Lay <avr@gjlay.de>
159
160 PR target/54222
161 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
162 _ssmulHA, _ssmulSA.
163 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
164 _ssmulha3, _usmulusa3, _ssmulsa3.
165 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
166 (__muldi3): XCALL __muldi3_6 instead of rcall.
167 (__umulsidi3, __mulsidi3): New functions.
168 (do_prologue_saves, do_epilogue_restores): New .macros.
169 (__divdi3_moddi3): Use them.
170 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
171 (__usmulusa3, __ssmulsa3): New functions.
172
6c59ffd1
IS
1732013-02-11 Iain Sandoe <iain@codesourcery.com>
174 Jack Howarth <howarth@bromo.med.uc.edu>
175 Patrick Marlier <patrick.marlier@gmail.com>
176
177 PR libitm/55693
178 * config/darwin-crt-tm.c: Remove dummy functions hack.
179
85d768f3
GJL
1802013-02-08 Georg-Johann Lay <avr@gjlay.de>
181
182 PR target/54222
183 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
184 * config/avr/lib2-object.mk: New iterator to build objects from it.
185 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
186 lib2funcs.c.
187 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
188 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
189 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
190 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
191 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
192 * config/avr/lib1funcs-fixed.S: Implement them.
193
5d5bf775
RS
1942013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
195
196 Update copyright years.
197
99113dff
DE
1982013-02-01 David Edelsohn <dje.gcc@gmail.com>
199
200 PR target/54601
201 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
202 Add crtcxa to extra_parts.
203 * config/rs6000/exit.h: New file.
204 * config/rs6000/cxa_atexit.c: New file.
205 * config/rs6000/cxa_finalize.c: New file.
206 * config/rs6000/crtcxa.c: New file.
207 * config/rs6000/t-aix-cxa: New file.
208 * config/rs6000/libgcc-aix-cxa.ver: New file.
209
dbdbd982
NC
2102013-01-31 Nick Clifton <nickc@redhat.com>
211
212 * config/v850/lib1funcs.S: Add support for e3v5 architecture
213 variant.
214
5893f158
GJL
2152013-01-29 Georg-Johann Lay <avr@gjlay.de>
216
217 PR target/54222
218 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
219 _mulQQ, _mulHQ, _mulHA, _mulSA,
220 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
221 _divQQ, _divHQ, _divHA, _divSA,
222 _divUQQ, _divUHQ, _divUHA, _divUSA.
223
fbf0cf90
DH
2242013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
225
dbdbd982 226 * config.host(microblaze*-linux*): tmake_file: Remove
fbf0cf90
DH
227 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
228 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
229 to exclude functions from being built with libgcc.c and use
230 the microblaze assembly.
231
6f14eef2
EI
2322013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
233
234 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
235 extra_parts.
236
922c57d1
YZ
2372013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
238
239 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
240 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
241 __UINTPTR_TYPE__; also cast 'base' to the same type before the
242 alignment operation.
243
e0f8b6a0
SN
2442013-01-15 Sofiane Naci <sofiane.naci@arm.com>
245
246 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
247 loop start address for cache clearing.
248
00892272
GJL
2492013-01-14 Georg-Johann Lay <avr@gjlay.de>
250
251 * config/avr/lib1funcs.S: Remove trailing blanks.
252 * config/avr/lib1funcs-fixed.S: Ditto.
253
e59ec5fd
GJL
2542013-01-14 Georg-Johann Lay <avr@gjlay.de>
255
256 * config/avr/avr-lib.h: Add GPL copyright notice.
257
3ffc1958
GJL
2582013-01-14 Georg-Johann Lay <avr@gjlay.de>
259
260 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
261 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
262 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
263 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
264
25c210f9
MK
2652013-01-07 Mark Kettenis <kettenis@openbsd.org>
266
267 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
268 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
2bc15360 269
db59befb
NC
2702013-01-04 Nick Clifton <nickc@redhat.com>
271
272 * config/v850/lib1funcs.S: Only provide CALLT support functions if
273 the CALLT instruction is supported.
274
5aa12dbf
JW
2752012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
276
277 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
278 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
279
65f14117
JT
2802012-12-13 John Tytgat <John@bass-software.com>
281
282 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
283 is 25.
284
ee3ae4f7
JJ
2852012-12-12 Jakub Jelinek <jakub@redhat.com>
286
287 PR libgcc/55451
288 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
289 undefined signed overflows.
290
2fcfba3d
UB
2912012-12-09 Uros Bizjak <ubizjak@gmail.com>
292
293 PR target/55344
294 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
295
4f2b3dc2
UB
2962012-12-06 Uros Bizjak <ubizjak@gmail.com>
297
298 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
299 (FP_TRAPPING_EXCEPTIONS): Define.
300 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
301 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
302
066161a2
RH
3032012-12-04 Richard Henderson <rth@redhat.com>
304
305 PR bootstrap/55571
306 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
307
25626181
MS
3082012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
309
4f2b3dc2 310 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
25626181
MS
311 (FP_EX_SHIFT): Define.
312 (FP_TRAPPING_EXCEPTIONS): Define.
313
868395e8
MS
3142012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
315
316 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
317 (FP_ROUNDMODE): Use FP_RND_MASK.
318 * config/aarch64/sfp-exceptions.c: New.
319 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
320 Use __sfp_handle_exceptions.
321
5005fe22
RE
3222012-12-04 Richard Earnshaw <rearnsha@arm.com>
323
324 * config.host: (arm*-*-freebsd*): Remove.
325 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
326 (arm*-*-elf*): Remove.
327 (arm*-*-wince-pe*): Remove.
328 * arm/unwind-arm.c (struct fpa_reg): Delete.
329 (struct fpa_regs): Delete.
330 (phase1_vrs): Remove fpa element.
331 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
332 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
333 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
334 * ieee754-sf.S (floatundisf): Remove FPA support.
335 (floatdisf): Likewise.
336 * ieee75f-df.S (floatundidf): Likewise.
337 (floatdidf): Likewise.
338
e5a81c8e
KT
3392012-11-29 Kai Tietz <ktietz@redhat.com>
340
341 PR target/55445
342 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
343 * unwind-generic.h: Likewise.
344 * unwind-seh.c: Likewise.
345
f4919e4a
RH
3462012-11-28 Richard Henderson <rth@redhat.com>
347
348 PR libgcc/48076
349 * emutls.c (__emutls_get_address): Avoid race condition between
350 obj->loc.offset read and emutls_key initialization.
4f2b3dc2 351
e13d9d5a
GJL
3522012-11-22 Georg-Johann Lay <avr@gjlay.de>
353
354 Adjust decimal point of signed accum mode to GCC default.
355
356 PR target/54222
357 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
358 _divqq_helper.
359 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
360 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
361 (__mulha3, __mulsa3)
362 (__divqq3, __divha3, __divsa3): Adjust to new position of
4f2b3dc2
UB
363 decimal point of signed accum types.
364
e13d9d5a
GJL
365 (__mulusa3_round): New function.
366 (__mulusa3): Use it.
367 (__divqq_helper): New function.
368 (__udivuqq3): Use it.
369
1b845c6e
JJ
3702012-11-20 Jakub Jelinek <jakub@redhat.com>
371
372 PR bootstrap/55370
373 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
374
822a258a
TJ
3752012-11-18 Teresa Johnson <tejohnson@google.com>
376
377 PR bootstrap/55051
378 * libgcov.c (gcov_exit): Remove merged program summary
379 comparison unless !GCOV_LOCKED.
380
54f4eaf0
MS
3812012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
382
383 * soft-fp: Updated from glibc upstream.
384
e808687a
ILT
3852012-11-06 Ian Lance Taylor <iant@google.com>
386
387 * generic-morestack.c (__generic_morestack): Align the returned
388 stack pointer to a 32 byte boundary.
389 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
390 increment the return address until we have decided that we don't
391 have a varargs function.
392 (__morestack) [32-bit]: Align stack correctly when calling C
393 functions.
394 (__morestack) [64-bit]: Likewise.
395
460277e0
TS
3962012-11-04 Thomas Schwinge <thomas@codesourcery.com>
397
398 * configure: Regenerate.
399
73edb277
UB
4002012-11-02 Uros Bizjak <ubizjak@gmail.com>
401
402 PR target/55175
403 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
404 * config/i386/sfp-machine.h: Guard exception handling
405 code with _SOFT_FLOAT.
406 * config/i386/32/sfp-machine.h: Guard rounding handling
407 code with _SOFT_FLOAT.
408 * config/i386/64/sfp-machine.h: Ditto.
409
c1d4fa04
JS
4102012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
411
412 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
413 as extra_parts.
414
eff6ca85
UB
4152012-10-26 Uros Bizjak <ubizjak@gmail.com>
416
417 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
418 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
419 when appropriate. Correct structure element types.
420 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
421 -minline-all-stringops from compile flags.
422
43a8f1a1
RC
4232012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
424
425 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
426
76c78361
RC
4272012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
428
eff6ca85 429 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
76c78361 430
6f288860
SH
4312012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
432
433 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
434 tmake_file.
435
1e3d5096
IB
4362012-10-23 Ian Bolton <ian.bolton@arm.com>
437 Jim MacArthur <jim.macarthur@arm.com>
438 Marcus Shawcroft <marcus.shawcroft@arm.com>
439 Nigel Stephens <nigel.stephens@arm.com>
440 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
441 Richard Earnshaw <rearnsha@arm.com>
442 Sofiane Naci <sofiane.naci@arm.com>
443 Stephen Thomas <stephen.thomas@arm.com>
444 Tejas Belagod <tejas.belagod@arm.com>
445 Yufeng Zhang <yufeng.zhang@arm.com>
446
447 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
448 * config/aarch64/crti.S: New file.
449 * config/aarch64/crtn.S: New file.
450 * config/aarch64/linux-unwind.h: New file.
451 * config/aarch64/sfp-machine.h: New file.
452 * config/aarch64/sync-cache.c: New file.
453 * config/aarch64/t-aarch64: New file.
454 * config/aarch64/t-softfp: New file.
455
8a740f07
HPN
4562012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
457
458 * config/mmix/crti.S: Mark program and data addresses using PRELD.
459 Remove typo'd and unnecessary alignment-LOC for .data. Remove
460 no-longer-needed LDBU insns.
461
153c8397
SH
4622012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
463
464 * config.host
465 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
466 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
467
595fefee
MGD
4682012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
469
470 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
471
9945a876
MK
4722012-10-15 Matthias Klose <doko@ubuntu.com>
473
474 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
475
1183dc2c
PC
4762012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
477
478 * configure: Regenerate.
479 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
480
945a9c1f
UB
4812012-10-10 Uros Bizjak <ubizjak@gmail.com>
482
483 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
484 instructions for 64bit targets only.
485
fb8bf47a
UB
4862012-10-10 Uros Bizjak <ubizjak@gmail.com>
487
488 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
489 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
490 * config/i386/32/sfp-machine.h: ... here.
491 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
492 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
493 New defines.
494
acb72498
MK
4952012-10-07 Matthias Klose <doko@ubuntu.com>
496
497 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
498 as unused.
499 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
500
8eaee0f0
MK
5012012-10-06 Mark Kettenis <kettenis@openbsd.org>
502
503 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
504 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
505 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
506 (ElfW): Likewise.
507
5e3e4fe8
JW
5082012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
509
510 PR other/53889
511 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
512 Fix parameter names.
513
86086376
OE
5142012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
515
516 PR target/33135
517 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
518 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
519 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
520
9597375a
OE
5212012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
522
523 PR target/50457
524 * config/sh/linux-atomic.S: Delete.
525 * config/sh/linux-atomic.c: New.
526 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
527 linux-atomic.c. Add cflags to disable warnings.
528
1504e3e1
JW
5292012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
530
531 PR other/53889
532 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
533 function.
534 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
535 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
536 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
537 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5e3e4fe8
JW
538 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
539 Likewise.
1504e3e1
JW
540 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
541 Likewise.
542 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
543 Likewise.
544 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
545 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
546
17f293b0
MK
5472012-09-19 Mark Kettenis <kettenis@openbsd.org>
548
9597375a
OE
549 * config.host (hppa-*-openbsd*): New target.
550 * config/pa/t-openbsd: New file.
17f293b0 551
51526856
GJL
5522012-09-15 Georg-Johann Lay <avr@gjlay.de>
553
554 PR target/54222
555 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
556 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
557 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
558 (__divsa3): Use __negsi2 to negate r_quoL.
559 * config/avr/lib1funcs.S (FALIAS): New macro.
560 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
561 (__negsi2): ...this new function.
562 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
563 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
564 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
565 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
566 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
567 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
568
aadb5b43
OE
5692012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
570
571 PR target/54089
572 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
573 (lshrsi3): Reimplement as lshrsi3_r0.
574
d5d66749
AS
5752012-09-10 Andreas Schwab <schwab@linux-m68k.org>
576
577 PR target/46191
578 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
579 of libgcc.a.
580
c6c36e73
TJ
5812012-09-07 Teresa Johnson <tejohnson@google.com>
582
9597375a 583 PR gcov-profile/54487
c6c36e73 584 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9597375a 585 differences.
c6c36e73 586
b588ae30
GJL
5872012-09-05 Georg-Johann Lay <avr@gjlay.de>
588
589 PR target/54461
590 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
591 not configured --with-avrlibc=no.
592 * config/avr/t-avrlibc: New file.
593 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
594 (DPBIT_FUNCS): Ditto.
595 (TPBIT_FUNCS): Ditto.
596
abd16fb1
TJ
5972012-09-04 Teresa Johnson <tejohnson@google.com>
598
599 * libgcov.c (struct gcov_summary_buffer): New structure.
600 (gcov_histogram_insert): New function.
601 (gcov_compute_histogram): Ditto.
602 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
603 histograms during summary merging.
604
613061fd
MK
6052012-09-01 Mark Kettenis <kettenis@openbsd.org>
606
607 * config.host (x86_64-*-openbsd*): New target.
73edb277 608
867a8345
CLT
6092012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
610
611 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
612 attribute.
613
4aeaaca3
GJL
6142012-08-24 Georg-Johann Lay <avr@gjlay.de>
615
616 PR target/54222
617 * config/avr/t-avr (conv_X): Rename to func_X.
618
e55e4056
GJL
6192012-08-24 Georg-Johann Lay <avr@gjlay.de>
620
621 PR target/54222
622 * config/avr/lib1funcs-fixed.S: New file.
623 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
624 after they are used.
625 (neg2, neg4): New macros.
626 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
627 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
628 (__umulhisi3): Speed up MUL variant if there is enough flash.
629 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
630 avr-modes.def.
631 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
632 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
633 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
634 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
635 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
636 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
637 (LIB2FUNCS_EXCLUDE): Add supported functions.
638
a147b6d2
GJL
6392012-08-22 Georg-Johann Lay <avr@gjlay.de>
640
641 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
642 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
643 libgcc-s-objects.
644 * fixed-obj.mk: Only expand dependency if $o is not in
645 LIB2FUNCS_EXCLUDE.
646
c637141a
L
6472012-08-22 H.J. Lu <hongjiu.lu@intel.com>
648
649 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
650
130e00bd
JM
6512012-08-22 Joseph Myers <joseph@codesourcery.com>
652
653 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
654 depend on --enable-shared.
655 ($(lib1asmfuncs-o)): Use %.vis files independent of
656 --enable-shared.
657 * static-object.mk ($(base)$(objext), $(base).vis)
658 ($(base)_s$(objext)): Use same rules for visibility handling as in
659 shared-object.mk.
660
4b1b3788
ILT
6612012-08-21 Ian Lance Taylor <iant@google.com>
662
663 * config/i386/morestack.S (__morestack_non_split): Increase amount
664 of space allocated for non-split code stack.
665
d2468141
JM
6662012-08-19 Joseph Myers <joseph@codesourcery.com>
667
668 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
669 even if inhibit_libc.
670
a508e1a8
JB
6712012-08-17 Julian Brown <julian@codesourcery.com>
672
673 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
674 -fexceptions -fnon-call-exceptions if not defined.
675 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
676 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
677
5615a07d
AS
6782012-08-17 Andreas Schwab <schwab@linux-m68k.org>
679
680 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
681 type.
682
138f5acd
DE
6832012-08-16 David Edelsohn <dje.gcc@gmail.com>
684
685 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
686 rs6000/t-slibgcc-aix.
687
18efc0dd
SB
6882012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
689
690 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
691
6b39bc38
SB
6922012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
693
694 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
695
cd25dea0
L
6962012-08-03 H.J. Lu <hongjiu.lu@intel.com>
697
698 PR driver/54171
699 * Makefile.in (version): Replace top_srcdir with srcdir.
700
a3dda30b
JY
7012012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
702
703 * Makefile.in (version): set to BASE-VER file from gcc directory.
704
d04aacfc
NC
7052012-08-01 Nick Clifton <nickc@redhat.com>
706
707 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
708 Implements __clrsb for an HImode argument.
709
0d13c974
NC
7102012-07-31 Nick Clifton <nickc@redhat.com>
711
712 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
713 Implements __clrsb for an HImode argument.
714 * config/stormy16/clrsbhi2.c: New file:
715 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
716
efbb59b2
SB
7172012-07-22 Steven Bosscher <steven@gcc.gnu.org>
718
719 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
720
bf1431e3
TG
7212012-07-19 Tristan Gingold <gingold@adacore.com>
722 Richard Henderson <rth@redhat.com>
723
724 * unwind-seh.c: New file.
725 * unwind-generic.h: Include windows.h for SEH.
726 (_Unwind_Exception): Use 6 private fields for SEH.
727 (_GCC_specific_handler): Declare.
728 * unwind-c.c (__gcc_personality_seh0): New function.
729 Adjust for SEH.
730 * config/i386/libgcc-cygming.ver: New file.
731 * config/i386/t-seh-eh: New file.
732 * config.host (x86_64-*-mingw*): Default to seh.
733
659140c8
SB
7342012-07-14 Steven Bosscher <steven@gcc.gnu.org>
735
736 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
737
a20d08fd
UB
7382012-06-17 Uros Bizjak <ubizjak@gmail.com>
739
740 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
741 __builtin_expect when checking for exceptions.
742 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
743
79261115
UB
7442012-06-13 Uros Bizjak <ubizjak@gmail.com>
745
4a172156
UB
746 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
747 function declaration.
748 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
749 (FP_RND_MASK): New.
750 * config/ia64/sfp-exceptions.c: New.
751 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
79261115 752
bb5c97d4
UB
7532012-06-13 Uros Bizjak <ubizjak@gmail.com>
754
755 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
756 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
757 * config/i386/64/sfp-machine: ... (delete here) ...
758 * config/i386/sfp-machine.h: ... to here.
759 (FP_EX_MASK): Remove.
760 (FP_RND_MASK): New.
761 (FP_INIT_ROUNDMODE): Declare asm as volatile.
762
91fe5efb
ST
7632012-06-11 Sriraman Tallam <tmsriram@google.com>
764
765 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
766 * config/i386/libgcc-sol2.ver: Ditto.
767 * config/i386/libgcc-glibc.ver: Ditto.
768
67a218c5
RM
7692012-06-11 Roland McGrath <mcgrathr@google.com>
770
771 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
772 If __GLIBC__ is defined, refer to __pthread_key_create instead of
773 pthread_cancel.
774
492fbea1
UB
7752012-06-09 Uros Bizjak <ubizjak@gmail.com>
776
777 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
778 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
779 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
780 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
781 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
782 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
783 * config/i386/64/sfp-machine: ... (delete here) ...
784 * config/i386/sfp-machine.h: ... to here.
785 (FP_EX_MASK): New.
786 (__sfp_handle_exceptions): New function declaration.
787 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
788 * config/i386/sfp-exceptions.c: New.
789 * config/i386/t-softfp: New.
790 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
791 i386/t-softfp to tmake_file.
792
7b4cf266
DM
7932012-06-03 David S. Miller <davem@davemloft.net>
794
795 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
796 change.
797
0de0d5c6
DM
7982012-05-31 David S. Miller <davem@davemloft.net>
799
800 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
801 multiply and divide instructions on 32-bit when V9.
802 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
803
d8c9d391
JM
8042012-05-29 Joseph Myers <joseph@codesourcery.com>
805
806 * config/arm/ieee754-df.S: Fix typos.
807 * config/arm/ieee754-sf.S: Fix typos.
808 * config/c6x/libunwind.S: Fix typos.
809 * config/epiphany/udivsi3-float.c: Fix typos.
810 * config/microblaze/muldi3_hard.S: Fix typos.
811 * config/picochip/adddi3.S: Fix typos.
812 * config/picochip/ashlsi3.S: Fix typos.
813 * config/picochip/ashrsi3.S: Fix typos.
814 * config/picochip/clzsi2.S: Fix typos.
815 * config/picochip/cmpsi2.S: Fix typos.
816 * config/picochip/divmod15.S: Fix typos.
817 * config/picochip/divmodhi4.S: Fix typos.
818 * config/picochip/divmodsi4.S: Fix typos.
819 * config/picochip/longjmp.S: Fix typos.
820 * config/picochip/lshrsi3.S: Fix typos.
821 * config/picochip/parityhi2.S: Fix typos.
822 * config/picochip/popcounthi2.S: Fix typos.
823 * config/picochip/setjmp.S: Fix typos.
824 * config/picochip/subdi3.S: Fix typos.
825 * config/picochip/ucmpsi2.S: Fix typos.
826 * config/picochip/udivmodhi4.S: Fix typos.
827 * config/picochip/udivmodsi4.S: Fix typos.
828 * config/spu/divv2df3.c: Fix typos.
829 * config/spu/mfc_multi_tag_release.c: Fix typos.
830 * config/spu/mfc_tag_release.c: Fix typos.
831 * configure.ac: Fix typos.
832 * configure: Regenerate.
833
31a18a7e
ILT
8342012-05-25 Ian Lance Taylor <iant@google.com>
835
836 * config/i386/morestack.S (__morestack_non_split): Check whether
837 caller is varargs and needs %bp to hold the stack frame on return.
838
c5768510
OH
8392012-05-25 Olivier Hainque <hainque@adacore.com>
840
841 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
842 sequence in the non pic case on VxWorks.
843
7c7c339b
OH
8442012-05-24 Olivier Hainque <hainque@adacore.com>
845
73fb7630 846 * Makefile.in: Move dependency on install-unwind_h from
7c7c339b
OH
847 "install-leaf" to "install".
848
fdc1b7d3
OH
8492012-05-24 Olivier Hainque <hainque@adacore.com>
850
851 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
852 Use a separate command for stamp removals.
853
07ba94b9
AP
8542012-05-21 Andrew Pinski <apinski@cavium.com>
855
856 PR bootstrap/53183
857 * configure.ac: Define the default includes to being none.
858 * configure: Regenerate.
859
4677d2eb
OH
8602012-05-16 Olivier Hainque <hainque@adacore.com>
861
862 * Makefile.in (install-unwind_h): Rename into ...
863 (install-unwind_h-forbuild): New target.
864 (all): Use it instead of the former install-unwind_h.
865 (install-unwind_h): Reinstate, copy to user install destination
866 for include files, not to the internal gcc object directory one.
867 (install-leaf): Depend on it.
868
7d67c380
OH
8692012-05-15 Olivier Hainque <hainque@adacore.com>
870
871 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
872 register numbers. LR_REGNO replaces R_LR.
873 (ucontext_for): New, helper for ...
874 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
875 and 5.3 of ...
876 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
877
aca06c90
RO
8782012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
879
880 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
881 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
882 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
883 i386/t-cpuinfo ...
884 (i[34567]86-*-*, x86_64-*-*): ... here.
885
886 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
887 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
888
889 * config/i386/i386-cpuinfo.c: Rename to ...
890 * config/i386/cpuinfo.c: ... this.
891 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
892
893 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
894 (libgcc_cv_init_priority): New test.
895 * configure: Regenerate.
896 * config.in: New file.
897 * Makefile.in (clean): Rename config.h to auto-target.h.
898 (config.h): Likewise.
899 (stamp-h): Likewise.
900
901 * config/i386/cpuinfo.c (auto-target.h): Include.
902 (CONSTRUCTOR_PRIORITY): Define.
903 (__cpu_indicator_init): Use it.
904
0d03ac1b
L
9052012-05-09 H.J. Lu <hongjiu.lu@intel.com>
906
907 * longlong.h: Use a URL instead of an FSF postal address.
908 Replace spaces with tab.
909
4a172156 9102012-05-08 Teresa Johnson <tejohnson@google.com>
4e8ee9cb
TJ
911
912 * libgcov.c (gcov_clear, __gcov_reset): New functions.
913 (__gcov_dump): Ditto.
914 (gcov_dump_complete): New global variable.
915 (gcov_exit): Export hidden to enable use in L_gcov_dump.
916 (__gcov_flush): Outline functionality now in gcov_clear.
917 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
918
e4bb767e
AJ
9192012-04-28 Aurelien Jarno <aurelien@aurel32.net>
920
31a18a7e
ILT
921 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
922 (mips*-*-linux*): Include mips/t-tpbit when long double is
923 16 bytes long.
e4bb767e 924
5ddecff9
ST
9252012-04-25 Sriraman Tallam <tmsriram@google.com>
926
927 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
928 (get_available_features): New argument. Check for AVX2.
929 (__cpu_indicator_init): Modify call to get_available_features.
930
b427dd7a
AM
9312012-04-25 Alan Modra <amodra@gmail.com>
932
933 * config/rs6000/crtsavevr.S: New file.
934 * config/rs6000/crtrestvr.S: New file.
935 * config/rs6000/t-savresfgpr: Build the above.
936 * config/rs6000/t-netbsd: Likewise.
937
ad491329
ST
9382012-04-24 Sriraman Tallam <tmsriram@google.com>
939
940 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
941
792317cc
ST
9422012-04-24 Sriraman Tallam <tmsriram@google.com>
943
944 * libgcc/config/i386/i386-cpuinfo.c: New file.
945 * libgcc/config/i386/t-cpuinfo: New file.
946 * libgcc/config.host: Include t-cpuinfo.
947 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
948
e1be98a4
CF
9492012-04-24 Chao-ying Fu <fu@mips.com>
950
951 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
952
1bde7dab
TS
9532012-04-20 Thomas Schwinge <thomas@codesourcery.com>
954
955 struct siginfo vs. siginfo_t
956
957 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
958 siginfo_t instead of struct siginfo.
959 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
960 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
961 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
962 (ia64_handle_unwabi): Likewise.
963 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
964 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
965 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
966 (sh_fallback_frame_state): Likewise.
967 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
968 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
969
24590f66
L
9702012-04-02 H.J. Lu <hongjiu.lu@intel.com>
971
972 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
973 system call number.
974
9a9dcce8
EB
9752012-03-31 Eric Botcazou <ebotcazou@adacore.com>
976
977 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
978 if it hasn't been previously saved.
979
6401aaf5
L
9802012-03-29 H.J. Lu <hongjiu.lu@intel.com>
981
982 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
983 only for glibc.
984
7fd6378e
GJL
9852012-03-28 Georg-Johann Lay <avr@gjlay.de>
986
987 PR target/52737
988 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
989 instead of __AVR_HAVE_8BIT_SP__.
990
9e916de7
TG
9912012-03-26 Tristan Gingold <gingold@adacore.com>
992
993 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
994 (unw_table_entry): Use unw_word instead of unsigned long.
995 (_Unwind_FindTableEntry): Likewise.
996 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
997 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
998 (_Unwind_FindTableEntry): Likewise.
999 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
1000 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
1001 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
1002 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
1003 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
1004 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
1005 (uw_init_context_1, uw_install_context): Likewise.
1006 (unw_word): Move to unwind-ia64.h
1007
4b12e93d
TG
10082012-03-26 Tristan Gingold <gingold@adacore.com>
1009
1010 * config/vms/vms-ucrt0.c: Update copyright years.
1011 Add a sanity check.
1012 (___gcc_main_flags): Declare.
1013 (__main): Check flags to remap argv and exit code.
1014 * config.host (*-*-*vms*): Adjust extra_parts.
1015 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
1016 (crt0.o): Add.
1017
06ea7371
RE
10182012-03-22 Richard Earnshaw <rearnsha@arm.com>
1019
1020 * arm/lib1funcs.asm (ctzsi2): New function.
1021 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
1022 * arm/t-linux (LIB1ASMFUNCS): Likewise.
1023 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
1024 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
1025 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
1026 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
1027
d82ad50d
AT
10282012-03-21 Andreas Tobler <andreast@fgznet.ch>
1029
1030 * config.host: Add bits to support powerpc64-*-freebsd*.
1031 * config/rs6000/freebsd-unwind.h: New file.
1032 * config/rs6000/t-freebsd64: New file.
1033
b260a8c0
RG
10342012-03-20 Richard Guenther <rguenther@suse.de>
1035
1036 PR gcov-profile/52627
1037 * libgcov.c (init_mx): Fix mutex name.
1038
86286a8a
TG
10392012-03-16 Tristan Gingold <gingold@adacore.com>
1040
1041 * config/ia64/vms-unwind.h: Remove ulong (and replace
1042 it by unw_reg where used). Define unw_reg with __int64.
1043
7888f266
RO
10442012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1045
1046 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
1047 Solaris 8 handling.
1048 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
1049 Solaris 8 handling.
1050 (sparc_is_sighandler): Likewise.
1051
f155bc64
L
10522012-03-13 H.J. Lu <hongjiu.lu@intel.com>
1053
1054 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
1055 <= saved reg size.
1056
d47657bd
RO
10572012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1058
1059 * config/arm/crtn.S: Fix typo.
1060
5bef73a1
RG
10612012-03-13 Richard Guenther <rguenther@suse.de>
1062
1063 * libgcov.c: Remove stdio.h include and NULL un-define.
1064
9c4271f3
RG
10652012-03-13 Richard Guenther <rguenther@suse.de>
1066
1067 PR target/52569
1068 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
1069
c6d10e7c
RG
10702012-03-13 Richard Guenther <rguenther@suse.de>
1071
1072 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
1073
074a385f
RG
10742012-03-13 Richard Guenther <rguenther@suse.de>
1075
1076 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
1077 and __gthread_mutex_init_function definitions.
1078
c4bc5c25
RO
10792012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1080
1081 * config.host (mips*-*-openbsd*): Remove.
1082
5c30094f
RO
10832012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1084
1085 * config.host: Remove alpha*-dec-osf5.1* handling.
1086 * config/alpha/gthr-posix.c: Remove.
1087 * config/alpha/libgcc-osf5.ver: Remove.
1088 * config/alpha/osf5-unwind.h: Remove.
1089 * config/alpha/t-osf-pthread: Remove.
1090 * config/alpha/t-slibgcc-osf: Remove.
1091 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
1092 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
1093 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
1094 * mkmap-flat.awk: Remove osf_export handling.
1095
33e3e24d
RG
10962012-03-12 Richard Guenther <rguenther@suse.de>
1097
1098 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
1099 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
1100 (__gthread_mutex_init_function): New function.
1101 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
1102
1103 PR gcov/49484
1104 * libgcov.c: Include gthr.h.
1105 (__gcov_flush_mx): New global variable.
1106 (init_mx, init_mx_once): New functions.
1107 (__gcov_flush): Protect self with a mutex.
1108 (__gcov_fork): Re-initialize mutex after forking.
1109 * unwind-dw2-fde.c: Change condition under which to use
1110 __GTHREAD_MUTEX_INIT_FUNCTION.
1111
d8aba32a
TG
11122012-03-12 Tristan Gingold <gingold@adacore.com>
1113
1114 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
1115 * config/ia64/t-vms: Likewise.
1116
75ffafdc
MH
11172012-03-11 Michael Hope <michael.hope@linaro.org>
1118
4a172156
UB
1119 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
1120 for Thumb-2.
75ffafdc 1121
ef6c2c53
WL
11222012-03-07 Walter Lee <walt@tilera.com>
1123
1124 * config/tilepro/atomic.c: Rename "atomic_" prefix to
1125 "arch_atomic_".
1126 (atomic_xor): Rename and move definition to
1127 config/tilepro/atomic.h.
1128 (atomic_nand): Ditto.
1129 * config/tilepro/atomic.h: Rename "atomic_" prefix to
1130 "arch_atomic_".
1131 (arch_atomic_xor): Move from config/tilepro/atomic.c.
1132 (arch_atomic_nand): Ditto.
1133
4e30d980
GJL
11342012-03-07 Georg-Johann Lay <avr@gjlay.de>
1135
1136 PR target/52507
1137 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
1138
61108225
GJL
11392012-03-07 Georg-Johann Lay <avr@gjlay.de>
1140
1141 PR target/52505
1142 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
1143 from RAM.
1144
b30e10ab
GJL
11452012-03-07 Georg-Johann Lay <avr@gjlay.de>
1146
1147 PR target/52461
1148 PR target/52508
1149 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
1150 if RAMPZ affects reading from RAM.
1151 (__tablejump_elpm__): Ditto.
1152 (.xload): Ditto.
1153 (__movmemx_hi): Ditto.
1154 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
1155 (__do_global_dtors): Ditto.
1156 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
1157 (__movmemx_hi): Ditto.
1158
8993fde4
RH
11592012-03-05 Richard Henderson <rth@redhat.com>
1160
1161 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
1162 [ARM] (count_trailing_zeros): Use the builtin.
1163
b7633ee3
KT
11642012-03-01 Kai Tietz <ktietz@redhat.com>
1165
1166 * soft-fp: Imported from glibc upstream.
1167
fbd3340c
KT
11682012-02-28 Kai Tietz <ktietz@redhat.com>
1169
1170 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
1171 for mingw-targets as attribute gcc_struct.
1172
e9e053eb
ILT
11732012-02-28 Ian Lance Taylor <iant@google.com>
1174
1175 * generic-morestack.c (__splitstack_releasecontext): Correct call
1176 to __morestack_release_segments.
1177
d80c632e
ST
11782012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
1179
1180 PR target/52390
1181 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
1182 for __linux__ when removing signals from __morestack_fullmask.
1183
0253a8b1
GJL
11842012-02-23 Georg-Johann Lay <avr@gjlay.de>
1185
1186 PR target/52261
1187 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
1188
e10e461e
UW
11892012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1190
1191 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
1192 instead of HAVE_INITFINI_ARRAY.
1193 * config/ia64/crtend.S: Likewise.
1194
0c0c6398
KT
11952012-02-20 Kai Tietz <ktietz@redhat.com>
1196
d7470374
KT
1197 PR libstdc++/52300
1198 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
1199
0c0c6398
KT
1200 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
1201 to w32-unwind.h header.
1202
78c27266
RS
12032012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
1204
1205 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
1206 (mips*-*-linux*): Remove t-slibgcc-libgcc.
1207 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
1208 * config/mips/mips16.S (__mips16_rdhwr): Delete.
1209
5adeb246
RS
12102012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
1211
1212 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
1213
672ed313
IS
12142012-02-15 Iain Sandoe <iains@gcc.gnu.org>
1215
1216 PR libitm/52220
1217 * config/darwin-crt-tm.c: Correct typo.
e9e053eb 1218
e948a1fb
IS
12192012-02-15 Iain Sandoe <iains@gcc.gnu.org>
1220 Patrick Marlier <patrick.marlier@gmail.com>
1221
1222 PR libitm/52220
1223 * config/darwin-crt-tm.c: Generate dummy functions.
1224
6017aed3
IS
12252012-02-15 Iain Sandoe <iains@gcc.gnu.org>
1226 Patrick Marlier <patrick.marlier@gmail.com>
1227
1228 PR libitm/52042
1229 * config/darwin-crt-tm.c (getTMCloneTable): New function.
1230 (__doTMRegistrations): Call it.
e9e053eb 1231 (__doTMdeRegistrations): Likewise.
6017aed3 1232
2da8c1ad
GJL
12332012-01-15 Georg-Johann Lay <avr@gjlay.de>
1234 Anatoly Sokolov <aesok@post.ru>
1235 Eric Weddington <eric.weddington@atmel.com>
1236
1237 PR target/52261
1238 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
1239 (__epilogue_restores__): Ditto.
1240
0f952eb4
EB
12412012-02-15 Eric Botcazou <ebotcazou@adacore.com>
1242
1243 PR target/51921
1244 PR target/52205
1245 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
1246 Solaris 11 and slightly reformat.
1247 (sparc_is_sighandler): Likewise.
1248
dd552284
WL
12492012-02-14 Walter Lee <walt@tilera.com>
1250
1251 * config.host: Handle tilegx and tilepro.
1252 * config/tilegx/sfp-machine.h: New file.
1253 * config/tilegx/sfp-machine32.h: New file.
1254 * config/tilegx/sfp-machine64.h: New file.
1255 * config/tilegx/t-crtstuff: New file.
1256 * config/tilegx/t-softfp: New file.
1257 * config/tilegx/t-tilegx: New file.
1258 * config/tilepro/atomic.c: New file.
1259 * config/tilepro/atomic.h: New file.
1260 * config/tilepro/linux-unwind.h: New file.
1261 * config/tilepro/sfp-machine.h: New file.
1262 * config/tilepro/softdivide.c: New file.
1263 * config/tilepro/softmpy.S: New file.
1264 * config/tilepro/t-crtstuff: New file.
1265 * config/tilepro/t-tilepro: New file.
1266
b59cbd50
JW
12672012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
1268
1269 PR libstdc++/51296
1270 PR libstdc++/51906
1271 * gthr-posix.h: Allow static initializer macros to be disabled.
1272 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
1273
6caf807f
CLT
12742012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
1275
1276 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
1277 Add t-slibgcc-libgcc to tmake_file.
1278 * config/mips/libgcc-mips16.ver: Revert previous patch.
1279 * config/mips/mips16.S (__mips16_rdhwr): Hide.
1280
b25364a0
S
12812012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
1282 Jayant R Sonar <jayant.sonar@kpitcummins.com>
1283
1284 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
1285 * config/cr16/crti.S: New file.
1286 * config/cr16/crtlibid.S: New file.
1287 * config/cr16/crtn.S: New file.
1288 * config/cr16/lib1funcs.S: New file.
1289 * config/cr16/t-cr16: New file.
1290 * config/cr16/t-crtlibid: New file.
1291 * config/cr16/unwind-dw2.h: New file.
1292 * config/cr16/unwind-cr16.c: New file.
1293 * config/cr16/divmodhi3.c: New file.
1294
8ef03aa7
AM
12952012-01-25 Alan Modra <amodra@gmail.com>
1296
1297 * config/rs6000/t-linux64: Delete. Move..
1298 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
1299 * config/rs6000/t-linux: ..and libgcc flags to here.
1300
daecebc8
DR
13012012-01-22 Douglas B Rupp <rupp@gnat.com>
1302
1303 * config.host (i[34567]86-*-interix3*):
8ef03aa7 1304 Change triplet to i[34567]86-*-interix[3-9]*.
daecebc8
DR
1305 * configure: Regenerate.
1306
ddaf8125
RS
13072012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
1308 Richard Sandiford <rdsandiford@googlemail.com>
1309
1310 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
1311 * config/mips/mips16.S (__mips16_rdhwr): New function.
1312 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
1313
2cd8b32c
NS
13142012-01-11 Nathan Sidwell <nathan@acm.org>
1315
1316 * libgcov.c (__gcov_init): Ignore objects with no functions.
1317
cba300dd
GJL
13182012-01-10 Georg-Johann Lay <avr@gjlay.de>
1319
1320 PR target/49868
1321 Extend __pgmx semantics to linearize memory.
1322 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
1323 * config/avr/lib1funcs.S (__xload_1): New function.
1324 (__movmemx_qi, __movmemx_hi): New functions.
1325 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
1326 semantics.
9ffaf4bc 1327
3d137660
EB
13282012-01-09 Eric Botcazou <ebotcazou@adacore.com>
1329
1330 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
1331 purported sigacthandler address isn't null before dereferencing it.
1332 (sparc_is_sighandler): Likewise.
1333
bf4db96c
EB
13342012-01-09 Eric Botcazou <ebotcazou@adacore.com>
1335
1336 PR ada/41929
1337 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
1338 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
1339 (sparc_is_sighandler): Likewise.
1340 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
1341
1ab3568b
TG
13422012-01-06 Tristan Gingold <gingold@adacore.com>
1343
1344 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
1345 compatibility thunks...
1346 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
1347 (crtbeginS.o, crtendS.o): ... and these to ...
1348 * config/ia64/t-ia64-elf: ... this new file.
1349 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
1350 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
1351
925b0ed8
AK
13522012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1353
1354 * configure: Regenerate.
1355 * config/s390/t-crtstuff: Remove -fPIC.
1356
a99ad737
JW
13572012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
1358
1359 PR bootstrap/51006
1360 * enable-execute-stack-mprotect.c (getpagesize): Do not define
1361 for NetBSD.
1362
884f56d1
GJL
13632012-01-02 Georg-Johann Lay <avr@gjlay.de>
1364
1365 PR target/51345
1366 * config/avr/lib1funcs.S: Remove FIXME comments.
1367 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
1368
8c57e547
GJL
13692012-01-02 Georg-Johann Lay <avr@gjlay.de>
1370
1371 Implement light-weight DImode support.
1372 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
1373 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
1374 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
1375 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
1376
04dbc287
NS
13772011-12-30 Nathan Sidwell <nathan@acm.org>
1378
1379 * libgcov.c (gcov_crc32): Remove global var.
1380 (free_fn_data): New function.
1381 (buffer_fn_data): Pass in filename, more robust error recovery.
1382 (crc32_unsigned): New function.
1383 (gcov_exit): More robust detection of new program. More robust
1384 error recovery.
1385 (__gcov_init): Do not update program's crc here.
1386
8e1d97d4
TG
13872011-12-21 Tristan Gingold <gingold@adacore.com>
1388
1389 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
1390
9ffaf4bc
ILT
13912011-12-21 Ian Lance Taylor <iant@google.com>
1392
1393 * config/i386/morestack.S: Simplify CFI opcodes throughout.
1394
a0c8d0c1
ILT
13952011-12-20 Ian Lance Taylor <iant@google.com>
1396
1397 * config/i386/morestack.S (__morestack_non_split): If there is
1398 enough stack space already, don't split. Ask for more stack space
1399 than we required.
1400
69048898
SDJ
14012011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
1402
1403 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
1404 `sys/sdt.h'.
1405 (_Unwind_DebugHook): New function.
1406 (uw_restore_core_regs): New define.
1407 (unwind_phase2): Use uw_restore_core_regs instead of
1408 restore_core_regs.
1409 (unwind_phase2_forced): Likewise.
1410 (__gnu_Unwind_Resume): Likewise.
1411
1bb4b6a3
UB
14122011-12-20 Uros Bizjak <ubizjak@gmail.com>
1413
1414 * config/alpha/linux-unwind.h: Update copyright years.
1415 (MD_FROB_UPDATE_CONTEXT): New define.
1416 (alpha_frob_update_context): New function.
1417
eb028768
RS
14182011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
1419
1420 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
1421 tmake_file rather replacing it.
1422
6a2045bf
IS
14232011-12-15 Iain Sandoe <iains@gcc.gnu.org>
1424
1425 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1bb4b6a3 1426 function is not used for PPC64.
6a2045bf
IS
1427 (save_world): Amend comments. Update the VRsave mask to reflect the
1428 saved regs.
1429 (rest_world): Update comments, do not clobber r10, do not use r8.
1430 (eh_rest_world_r10): Amend comments, do not use r8.
1431 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
1432 no longer used, move restore of CR and target address to the end of
1433 the routine.
1434
a13780a6
L
14352011-12-14 H.J. Lu <hongjiu.lu@intel.com>
1436
1437 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
1438 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
1439
d7288dfb
GJL
14402011-12-14 Georg-Johann Lay <avr@gjlay.de>
1441
1442 PR target/49313
1443 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
1444 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
1445
8d2c862d
EB
14462011-12-11 Eric Botcazou <ebotcazou@adacore.com>
1447
1448 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
1449
3447cae6
GJL
14502011-12-09 Georg-Johann Lay <avr@gjlay.de>
1451
1452 PR target/49313
1453 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
1454 * config/avr/lib1funcs.S (__muldi3): New function.
1455
806fc6aa
AP
14562011-12-06 Andrew Pinski <apinski@cavium.com>
1457
1458 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
1459 size of func_ptr.
1460 (__frame_dummy_init_array_entry): Likewise.
1461
28c5e6b5
GJL
14622011-12-06 Georg-Johann Lay <avr@gjlay.de>
1463
1464 Forward-port from gcc-4_6-branch r181936 2011-12-02.
1465
1466 PR target/51345
1467 PR target/51002
1468 * config/avr/lib1funcs.S (__prologue_saves__,
1469 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
1470 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
1471
8f90394a
IS
14722011-12-04 Iain Sandoe <iains@gcc.gnu.org>
1473
1474 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
1475
06dd33ac
JDA
14762011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1477
1478 PR other/51272
1479 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
1480 (_ITM_deregisterTMCloneTable): Likewise.
1481 (__register_frame_info): Fix unused warning.
1482 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
1483 pthread_default_stacksize_np): Likewise.
1484 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1bb4b6a3 1485
85b8555e
DD
14862011-11-29 DJ Delorie <dj@redhat.com>
1487
1488 * config.host (rl78-*-elf): New case.
1489 * config/rl78: New directory for the Renesas RL78.
1490
4d5ae4ea
BS
14912011-11-29 Bernd Schmidt <bernds@codesourcery.com>
1492
1493 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
1494 formatting.
1495
f9c55897
RO
14962011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1497
1498 PR other/51022
1499 * config/rs6000/t-savresfgpr: New file.
1500 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
1501 $(srcdir)/config/rs6000/eabi.S.
1502 * config/rs6000/t-ppccomm-ldbl: Remove.
1503 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
1504 tmake_file.
1505 (powerpc-*-eabispe*): Likewise.
1506 (powerpc-*-eabi*): Likewise.
1507 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
1508 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
1509 to tmake_file, remove rs6000/t-ppccomm-ldbl.
1510 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
1511 tmake_file.
1512 (powerpc-*-eabisim*): Likewise.
1513 (powerpc-*-elf*): Likewise.
1514 (powerpc-*-eabialtivec*): Likewise.
1515 (powerpc-xilinx-eabi*): Likewise.
1516 (powerpc-*-rtems*): Likewise.
1517 (powerpcle-*-elf*): Likewise.
1518 (powerpcle-*-eabisim*): Likewise.
1519 (powerpcle-*-eabi*): Likewise.
1520
a01207c4
ILT
15212011-11-27 Ian Lance Taylor <iant@google.com>
1522
1523 * generic-morestack.c (__splitstack_find): Check for NULL old
1524 stack value.
1525 (__splitstack_resetcontext): New function.
1526 (__splitstack_releasecontext): New function.
1527 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
1528
2b0b8ab2
IS
15292011-11-27 Iain Sandoe <iains@gcc.gnu.org>
1530
1531 * config/darwin-crt-tm.c: Correct comments, use correct licence.
1532
c1d8101c
IS
15332011-11-27 Iain Sandoe <iains@gcc.gnu.org>
1534
1535 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
1536
8b281334
RH
15372011-11-26 Richard Henderson <rth@redhat.com>
1538
1539 * config/m68k/linux-atomic.c: New file.
1540 * config/m68k/t-linux: New file.
1541 * config.host (m68k-uclinux, m68k-linux): Use it.
1542
7546aa9d
RH
15432011-11-26 Richard Henderson <rth@redhat.com>
1544
1545 * crtstuff.c (__TMC_LIST__): Mark used not unused.
1546 (__TMC_END__): Only declare if hidden is available; in the definition,
1547 if hidden is unavailable add a null record.
1548 (deregister_tm_clones, register_tm_clones): New.
1549 (__do_global_dtors_aux, frame_dummy): Use them.
1550 (__do_global_dtors, __do_global_ctors_1): Likewise.
1551
e2362f5d
IS
15522011-11-22 Iain Sandoe <iains@gcc.gnu.org>
1553
1554 * config/darwin-crt-tm.c: New file.
1555 * config.host (darwin): Build crttms.o crttme.o to provide
1556 startup and shutdown for tm clones.
1557 * config/t-darwin (crttms.o): New build rule.
1558 (crttme.o): Likewise.
1559
6685dd96
HPN
15602011-11-21 Hans-Peter Nilsson <hp@axis.com>
1561
1562 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
1563 et al.
1564
b0dc7e4c
RH
15652011-11-21 Richard Henderson <rth@redhat.com>
1566
1567 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
1568 (__TMC_LIST__, __TMC_END__): New.
1569 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
1570 (__do_global_dtors): Likewise.
1571 (frame_dummy): Call _ITM_registerTMCloneTable.
1572 (__do_global_ctors_1): Likewise.
1573
d4b4b542
RO
15742011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1575
1576 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
1577 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
1578 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
1579 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
1580 * config/i386/t-darwin64: Remove.
1581 * config/sh/t-netbsd (LIB2ADD): Remove.
1582
989bdb74
GJL
15832011-11-21 Georg-Johann Lay <avr@gjlay.de>
1584
1585 PR target/49313
1586 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
1587 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
1588 * config/avr/lib1funcs.S (wmov): New assembler macro.
1589 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
1590 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
1591 (__udivmod64): New function.
1592 (__negdi2): New function.
1593
515a0cfc
GP
15942011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
1595
1596 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
1597 *-*-freebsd*aout*): Remove.
1598
0115d17f
HPN
15992011-11-20 Hans-Peter Nilsson <hp@axis.com>
1600
1601 * static-object.mk (c_flags-$o): Save c_flags.
1602 ($(base)$(objext)): Use it.
1603
93aeb62b
SE
16042011-11-18 Steve Ellcey <sje@cup.hp.com>
1605
1606 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
1607
7bc6df2c
GJL
16082011-11-18 Georg-Johann Lay <avr@gjlay.de>
1609
1610 PR target/49868
1611 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
1612 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
1613 New functions.
1614
425d737b
MGD
16152011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1616
1617 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
1618 functions.
1bb4b6a3 1619 (aeabi_uidivmod): Likewise.
425d737b
MGD
1620 (umodsi3): Likewise.
1621 (divsi3): Likewise.
1622 (aeabi_idivmod): Likewise.
1623 (modsi3): Likewise.
1624
f2a176dc
TG
16252011-11-16 Tristan Gingold <gingold@adacore.com>
1626
1627 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
1628
7c209481
GJL
16292011-11-15 Georg-Johann Lay <avr@gjlay.de>
1630
1631 PR target/49868
1632 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
1633 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
1634
9dfd5832
JDA
16352011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1636
1637 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
1638 tmake_file list.
1639 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
1640 * config/pa/t-stublib64: Delete.
1641
f77dca5d
RH
16422011-11-12 Richard Henderson <rth@redhat.com>
1643
1644 * config/rs6000/linux-unwind.h (frob_update_context): Properly
1645 cast the pointer argument to _Unwind_SetGRPtr.
1646
902828f0
RO
16472011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1648
1649 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
1650
e14304ef
ILT
16512011-11-09 Ian Lance Taylor <iant@google.com>
1652
1653 * generic-morestack.c: Include <string.h>.
1654 (uintptr_type): Define.
1655 (struct initial_sp): Add dont_block_signals field. Reduce size of
1656 extra array by 1.
1657 (allocate_segment): Set prev field to NULL. Don't set
1658 __morestack_current_segment or __morestack_segments.
1659 (__generic_morestack): Update current->prev and *pp after calling
1660 allocate_segment.
1661 (__morestack_block_signals): Don't do anything if
1662 dont_block_signals is set.
1663 (__morestack_unblock_signals): Likewise.
1664 (__generic_findstack): Check for initial_sp == NULL. Add casts to
1665 uintptr_type.
1666 (__splitstack_block_signals): New function.
1667 (enum __splitstack_content_offsets): Define.
1668 (__splitstack_getcontext, __splitstack_setcontext): New functions.
1669 (__splitstack_makecontext): New function.
1670 (__splitstack_block_signals_context): New function.
1671 (__splitstack_find_context): New function.
1672 * config/i386/morestack.S (__morestack_get_guard): New function.
1673 (__morestack_set_guard, __morestack_make_guard): New functions.
1674 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
1675
e3d871e4
RO
16762011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1677
1678 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
1679 (i[34567]86-*-mingw*): ... here.
1680 (x86_64-*-mingw*): ... here.
1681
e55cef40
RO
16822011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1683
1684 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
1685
5366b186
NS
16862011-11-07 Nathan Sidwell <nathan@acm.org>
1687
1688 * libgcov.c (struct gcov_fn_buffer): New struct.
1689 (buffer_fn_data): New helper.
1690 (gcov_exit): Rework for new gcov data structures.
1691
74155a6f
GJL
16922011-11-07 Georg-Johann Lay <avr@gjlay.de>
1693
1694 PR target/49313
1695 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
1696
200feb07
RO
16972011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1698
1699 * config.host (tmake_file): Correct comment.
1700 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
1701 t-libgcc-pic.
1702 (bfin*-uclinux*): Likewise.
1703 (bfin*-linux-uclibc*): Likewise.
1704 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
1705
1706 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
1707 assigning.
1708 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1709 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
1710 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1711 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
1712 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1713 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
1714 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
1715 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1716 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
1717 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
1718 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
1719 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
1720 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
1721
1722 * config/bfin/t-elf: Remove.
1723 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
1724
c9cd1a07
RO
17252011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1726
1727 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
1728 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
1729 (lm32-*-elf*, lm32-*-rtems*): Split into ...
1730 (lm32-*-elf*): ... this.
1731 (lm32-*-rtems*): ... and this.
1732 Add to tmake_file.
1733 (m32r-*-rtems*): Add to tmake_file.
1734 (moxie-*-rtems*): Likewise.
1735 (sparc-*-rtems*): Likewise.
1736 Remove t-rtems from tmake_file.
1737 (sparc64-*-rtems*): Likewise.
1738 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
1739 instead.
1740
9fbcc75d
RO
17412011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1742
1743 PR bootstrap/50982
1744 * config/gthr-posix.h: Move ...
1745 * gthr-posix.h: ... here.
1746 * config/gthr-lynx.h: Reflect this.
1747 * config/gthr-vxworks.h: Likewise.
1748 * config/rs6000/gthr-aix.h: Likewise.
1749 * configure.ac (target_thread_file): Likewise.
1750 * configure: Regenerate.
1751
76644b68
SH
17522011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
1753
1754 * config.host (arm*-*-rtemseabi*): New target.
1755
5e490f2a
JDA
17562011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1757
1758 PR other/50991
1759 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
1760 extra-parts.
1761
feeeff5c
JR
17622011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
1763
1764 * config.host (epiphany-*-elf*): New configuration.
1765 * config/epiphany: New Directory.
1766
d618bb2c
RC
17672011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
1768
1769 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
1770 * config/avr/t-rtems: New.
1771 Filter out _exit from LIB1ASMFUNCS.
1772
1bb6f778
DM
17732011-11-04 David S. Miller <davem@davemloft.net>
1774
1775 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
1776 * configure: Rebuild.
1777
9a7f7422
AK
17782011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1779
1780 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
1781 variable.
1782
e4fe948a
GJL
17832011-11-04 Georg-Johann Lay <avr@gjlay.de>
1784
1785 PR target/50931
1786 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
1787 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
1788
7084e037
JS
17892011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
1790
1791 PR target/50989
1792 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
1793
1a032034
RO
17942011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1795
1796 * config/c6x/t-elf (LIB2ADDEH): Set.
1797 * config/c6x/t-c6x-elf: Remove.
1798
d385f772
RO
17992011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1800
1801 * config/i386/sol2-ci.S: Rename to ...
1802 * config/i386/crti.S: ... this.
1803 * config/i386/sol2-cn.S: Rename to ...
1804 * config/i386/crtn.S: ... this.
1805 * config/sparc/sol2-ci.S: Rename to ...
1806 * config/sparc/crti.S: ... this.
1807 * config/sparc/sol2-cn.S: Rename to ...
1808 * config/sparc/crtn.S: ... this.
1809 * config/t-sol2 (CUSTOM_CRTIN): Remove.
1810 (crti.o, crtn.o): Remove.
1811
1ba878a9
TG
18122011-11-04 Tristan Gingold <gingold@adacore.com>
1813
1814 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
1815
02750c15
KK
18162011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
1817
1818 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
1819
bf86b067
HPN
18202011-11-03 Hans-Peter Nilsson <hp@axis.com>
1821
1822 * config.host (crisv32-*-none, cris-*-none): Remove.
1823 (crisv32-*-elf): Append to tmake_file, don't just set it.
1824 (cris-*-elf): Add missing t-fdpbit to tmake_file.
1825
d0bc53bd
RO
18262011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1827
1828 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
1829 (ecrtn$(objext)): Likewise.
1830 (ncrti$(objext)): Likewise.
1831 (ncrtn$(objext)): Likewise.
1832
036da830
AS
18332011-11-03 Andreas Schwab <schwab@redhat.com>
1834
1835 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
1836
d2a7d041
DM
18372011-11-02 David S. Miller <davem@davemloft.net>
1838
1839 * configure.ac: Set host_address on sparc too.
1840 * configure: Regenerate.
1841 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
1842 based upon host_address.
1843 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
1844
af8ed618
JM
18452011-11-02 Jason Merrill <jason@redhat.com>
1846
1847 * config/rs6000/t-ppccomm: Add missing \.
1848
5d1c8e77
RO
18492011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1850
1851 * gthr-single.h, gthr.h: New files.
1852 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
1853 config/gthr-vxworks.h, config/i386/gthr-win32.h,
1854 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
1855 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
1856 * config/i386/gthr-win32.c: Include "gthr-win32.h".
1857 * configure.ac (thread_header): New variable.
1858 Set it depending on target_thread_file.
1859 (gthr-default.h): Link from $thread_header.
1860 * configure: Regenerate.
1861 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
1862
852b75ed
RO
18632011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1864
1865 * configure.ac (tm_file_): New variable.
1866 Determine from tm_file.
1867 (tm_file, tm_defines): Substitute.
1868 * configure: Regenerate.
1869 * mkheader.sh: New file.
1870 * Makefile.in (clean): Remove libgcc_tm.h.
1871 ($(objects)): Depend on libgcc_tm.h.
1872 (libgcc_tm_defines, libgcc_tm_file): New variables.
1873 (libgcc_tm.h, libgcc_tm.stamp): New targets.
1874 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
1875 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
1876 ($(extra-parts)): Depend on libgcc_tm.h.
1877 * config.host (tm_defines, tm_file): New variable.
1878 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
1879 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
1880 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
1881 (avr-*-rtems*): Likewise.
1882 (avr-*-*): Likewise.
1883 (frv-*-elf): Likewise.
1884 (frv-*-*linux*): Likewise.
1885 (h8300-*-rtems*): Likewise.
1886 (h8300-*-elf*): Likewise.
1887 (i[34567]86-*-darwin*): Likewise.
1888 (x86_64-*-darwin*): Likewise.
1889 (rx-*-elf): Likewise.
1890 (tic6x-*-uclinux): Likewise.
1891 (tic6x-*-elf): Likewise.
1892 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
1893 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
1894 * config/i386/cygming-crtbegin.c: Likewise.
1895 * config/i386/cygming-crtend.c: Likewise.
1896 * config/ia64/fde-vms.c: Likewise.
1897 * config/ia64/unwind-ia64.c: Likewise.
1898 * config/libbid/bid_gcc_intrinsics.h: Likewise.
1899 * config/rs6000/darwin-fallback.c: Likewise.
1900 * config/stormy16/lib2funcs.c: Likewise.
1901 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
1902 * crtstuff.c: Likewise.
1903 * dfp-bit.h: Likewise.
1904 * emutls.c: Likewise.
1905 * fixed-bit.c: Likewise.
1906 * fp-bit.c: Likewise.
1907 * generic-morestack-thread.c: Likewise.
1908 * generic-morestack.c: Likewise.
1909 * libgcc2.c: Likewise.
1910 * libgcov.c: Likewise.
1911 * unwind-dw2-fde-dip.c: Likewise.
1912 * unwind-dw2-fde.c: Likewise.
1913 * unwind-dw2.c: Likewise.
1914 * unwind-sjlj.c: Likewise.
1915
f9989b51
RO
19162011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1917
1918 * configure.ac: Include ../config/picflag.m4.
1919 (GCC_PICFLAG): Call it.
1920 Substitute.
1921 * configure: Regenerate.
1922 * Makefile.in (gcc_srcdir): Remove.
1923 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
1924 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
1925 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
1926 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
1927 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
1928 Use $<.
1929 Remove comment.
1930 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
1931 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
1932 to refer to libgcc2.c.
1933 Use $<.
1934 * config/darwin-64.c: New file.
1935 * config/darwin-crt3.c: Remove comment.
1936 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
1937 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
1938 config/udivmodsi4.c: New files.
1939 * config/memcmp.c, config/memcpy.c, config/memmove.c,
1940 config/memset.c: New files.
1941 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
1942 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
1943 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
1944 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
1945 * config/t-openbsd-thread: New file.
1946 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
1947 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
1948 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
1949 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
1950 qrnnd.S.
1951 Adapt filename.
1952 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
1953 to refer to gthr-posix.c.
1954 * config/alpha/t-vms (LIB2ADD): Set.
1955 * config/alpha/vms-gcc_shell_handler.c: New file.
1956 * config/arm/bpabi.c, config/arm/fp16.c,
1957 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
1958 config/arm/unaligned-funcs.c: New files.
1959 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
1960 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
1961 * config/arm/t-linux: Likewise.
1962 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
1963 * config/arm/t-netbsd: New file.
1964 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
1965 * config/arm/t-symbian (LIB2ADD_ST): Set.
1966 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
1967 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1968 * config/bfin/t-elf: New file.
1969 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
1970 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
1971 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
1972 config/c6x/ltf.c: New files.
1973 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
1974 (HOST_LIBGCC2_CFLAGS): Set.
1975 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
1976 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1977 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
1978 New files.
1979 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
1980 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
1981 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
1982 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
1983 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
1984 files.
1985 * config/frv/t-frv (LIB2ADD): Set.
1986 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1987 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
1988 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
1989 config/h8300/popcounthi2.c: New files.
1990 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
1991 * config/i386/gthr-win32.c: New file.
1992 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
1993 * config/i386/t-cygwin: Likewise.
1994 * config/i386/t-darwin, config/i386/t-darwin64,
1995 config/i386/t-gthr-win32, config/i386/t-interix: New files.
1996 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
1997 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1998 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1999 * config/ia64/quadlib.c: New file.
2000 * config/ia64/t-hpux (LIB2ADD): Set.
2001 * config/ia64/t-ia64: Add comment.
2002 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
2003 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2004 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
2005 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
2006 * config/m32c/t-m32c (LIB2ADD): Set.
2007 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
2008 * config/m32r/t-m32r: Likewise.
2009 * config/m68k/fpgnulib.c: New file.
2010 * config/m68k/t-floatlib (LIB2ADD): Set.
2011 (xfgnulib.c): New target.
2012 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
2013 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
2014 * config/mep/t-mep (LIB2ADD): Set.
2015 * config/microblaze/divsi3.asm: Rename to divsi3.S.
2016 * config/microblaze/moddi3.asm: Rename to moddi3.S.
2017 * config/microblaze/modsi3.asm: Rename to modsi3.S.
2018 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
2019 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
2020 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
2021 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
2022 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
2023 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
2024 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
2025 New files.
2026 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
2027 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
2028 * config/pa/fptr.c, config/pa/lib2funcs.S,
2029 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
2030 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
2031 (LIB2ADD, LIB2ADD_ST): Set.
2032 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
2033 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
2034 Set.
2035 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
2036 * config/pdp11/t-pdp11: New file.
2037 * config/picochip/libgccExtras/adddi3.S,
2038 config/picochip/libgccExtras/ashlsi3.S,
2039 config/picochip/libgccExtras/ashrsi3.S,
2040 config/picochip/libgccExtras/clzsi2.S,
2041 config/picochip/libgccExtras/cmpsi2.S,
2042 config/picochip/libgccExtras/divmod15.S,
2043 config/picochip/libgccExtras/divmodhi4.S,
2044 config/picochip/libgccExtras/divmodsi4.S,
2045 config/picochip/libgccExtras/lshrsi3.S,
2046 config/picochip/libgccExtras/parityhi2.S,
2047 config/picochip/libgccExtras/popcounthi2.S,
2048 config/picochip/libgccExtras/subdi3.S,
2049 config/picochip/libgccExtras/ucmpsi2.S,
2050 config/picochip/libgccExtras/udivmodhi4.S,
2051 config/picochip/libgccExtras/udivmodsi4.S: New files.
2052 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
2053 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
2054 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
2055 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
2056 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
2057 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
2058 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
2059 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
2060 files.
2061 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
2062 (HOST_LIBGCC2_CFLAGS): Set.
2063 * config/rs6000/t-darwin64: New file.
2064 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
2065 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
2066 * config/rs6000/t-ppccomm (LIB2ADD): Add
2067 $(srcdir)/config/rs6000/tramp.S.
2068 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
2069 Add $(srcdir)/config/rs6000/eabi.S.
2070 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
2071 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
2072 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
2073 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
2074 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
2075 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
2076 * config/rs6000/tramp.S: New file.
2077 * config/s390/t-tpf: Remove.
2078 * config/sh/linux-atomic.S: New file.
2079 * config/sh/t-linux (LIB2ADD): Set.
2080 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
2081 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
2082 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
2083 to unwind-dw2.c.
2084 (HOST_LIBGCC2_CFLAGS): Set.
2085 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2086 * config/spu/divmodti4.c, config/spu/divv2df3.c,
2087 config/spu/float_disf.c, config/spu/float_unsdidf.c,
2088 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
2089 config/spu/mfc_multi_tag_release.c,
2090 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
2091 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
2092 config/spu/multi3.c: New files.
2093 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
2094 (HOST_LIBGCC2_CFLAGS): Set.
2095 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
2096 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
2097 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
2098 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
2099 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
2100 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
2101 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
2102 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
2103 config/stormy16/umodsi3.c: New files.
2104 * config/xtensa/lib2funcs.S: New file.
2105 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
2106 * config/xtensa/t-xtensa (LIB2ADD): Set.
2107 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
2108 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
2109 Add t-freebsd-thread to tmake_file for posix threads.
2110 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
2111 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
2112 (*-*-lynxos*): Likewise.
2113 (*-*-netbsd*): Likewise.
2114 (*-*-openbsd*): Likewise.
2115 Add t-openbsd-thread to tmake_file for posix threads.
2116 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
2117 (*-*-vxworks*): Set tmake_file.
2118 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
2119 (alpha*-*-freebsd*): Likewise.
2120 (alpha*-*-netbsd*): Likewise.
2121 (alpha*-*-openbsd*): Likewise.
2122 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
2123 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
2124 (alpha*-dec-*vms*): Likewise.
2125 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
2126 (bfin*-elf*): Add bfin/t-elf to tmake_file.
2127 (bfin*-uclinux*): Likewise.
2128 (bfin*-linux-uclibc*): Likewise.
2129 (crisv32-*-elf): Add cris/t-cris to tmake_file.
2130 (crisv32-*-none): Likewise.
2131 (cris-*-elf): Likewise.
2132 (cris-*-none): Likewise.
2133 (cris-*-linux*, crisv32-*-linux*): Likewise.
2134 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
2135 tmake_file.
2136 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
2137 tmake_file.
2138 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
2139 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
2140 (x86_64-*-elf*): Likewise.
2141 (i[34567]86-*-nto-qnx*): Likewise.
2142 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
2143 win32 threads.
2144 (x86_64-*-mingw*): Likewise.
2145 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
2146 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
2147 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
2148 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
2149 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
2150 tmake_file.
2151 (mipsisa64sr71k-*-elf*): Likewise.
2152 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
2153 (mips-*-elf*, mipsel-*-elf*): Likewise.
2154 (mips64-*-elf*, mips64el-*-elf*): Likewise.
2155 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
2156 (mips*-*-rtems*): Likewise.
2157 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
2158 to tmake_file.
2159 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
2160 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
2161 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
2162 (spu-*-elf*): Likewise.
2163 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
2164
45b86625
RO
21652011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2166
2167 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
2168 $(srcdir) to refer to $(LIB1ASMSRC).
2169 Use $<.
2170 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
2171 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
2172 config/arm/lib1funcs.S: New files.
2173 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
2174 * config/arm/t-arm: New file.
2175 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
2176 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
2177 config/arm/t-strongarm-elf: New files.
2178 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
2179 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
2180 * config/avr/lib1funcs.S: New file.
2181 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2182 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
2183 * config/c6x/lib1funcs.S: New file.
2184 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2185 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
2186 * config/frv/lib1funcs.S: New file.
2187 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2188 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
2189 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
2190 * config/ia64/__divxf3.asm: Rename to ...
2191 * config/ia64/__divxf3.S: ... this.
2192 Adapt lib1funcs.asm filename.
2193 * config/ia64/_fixtfdi.asm: Rename to ...
2194 * config/ia64/_fixtfdi.S: ... this.
2195 Adapt lib1funcs.asm filename.
2196 * config/ia64/_fixunstfdi.asm: Rename to ...
2197 * config/ia64/_fixunstfdi.S: ... this.
2198 Adapt lib1funcs.asm filename.
2199 * config/ia64/_floatditf.asm: Rename to ...
2200 * config/ia64/_floatditf.S: ... this.
2201 Adapt lib1funcs.asm filename.
2202 * config/ia64/lib1funcs.S: New file.
2203 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
2204 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2205 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
2206 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
2207 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
2208 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
2209 * config/mep/lib1funcs.S: New file.
2210 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2211 * config/mips/mips16.S: New file.
2212 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2213 * config/pa/milli64.S: New file.
2214 * config/pa/t-linux, config/pa/t-linux64: New files.
2215 * config/picochip/lib1funcs.S: New file.
2216 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2217 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
2218 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
2219 * config/sh/t-netbsd: New file.
2220 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
2221 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
2222 * config/sh/t-sh64: New file.
2223 * config/sparc/lb1spc.S: New file.
2224 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
2225 filename.
2226 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
2227 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
2228 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
2229 config/xtensa/lib1funcs.S: New files.
2230 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2231 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
2232 tmake_file.
2233 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
2234 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
2235 (arm*-*-linux*): Likewise.
2236 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
2237 arm*-*-linux-*eabi, add arm/t-linux otherwise.
2238 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
2239 (arm*-*-ecos-elf): Likewise.
2240 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
2241 (arm*-*-rtems*): Likewise.
2242 (arm*-*-elf): Likewise.
2243 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
2244 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
2245 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
2246 (bfin*-uclinux*): Likewise.
2247 (bfin*-linux-uclibc*): Likewise.
2248 (bfin*-rtems*): Likewise.
2249 (bfin*-*): Likewise.
2250 (fido-*-elf): Merge into m68k-*-elf*.
2251 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
2252 (frv-*-*linux*): Add frv/t-frv to tmake_file.
2253 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
2254 (h8300-*-elf*): Likewise.
2255 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
2256 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
2257 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
2258 (i[34567]86-*-mingw*): Likewise.
2259 (x86_64-*-mingw*): Likewise.
2260 (i[34567]86-*-interix3*): Likewise.
2261 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
2262 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
2263 (m68k-*-elf*): Also handle fido-*-elf.
2264 Add m68k/t-floatlib to tmake_file.
2265 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
2266 (m68k-*-linux*): Likewise.
2267 (m68k-*-rtems*): Likewise.
2268 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
2269 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
2270 sh64*-*-*.
2271 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
2272 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
2273 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
2274 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
2275 sh/t-netbsd to tmake_file.
2276 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
2277 (sh-*-rtems*): Add sh/t-sh to tmake_file.
2278 (sh-wrs-vxworks): Likewise.
2279 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
2280 *-leon[3-9]*.
2281 (v850*-*-*): Add v850/t-v850 to tmake_file.
2282 (vax-*-linux*): Add vax/t-linux to tmake_file.
2283 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
2284
5f73c6cc
RO
22852011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2286
2287 * crtstuff.c: New file.
2288 * Makefile.in (CRTSTUFF_CFLAGS): Define.
2289 (CRTSTUFF_T_CFLAGS): Define.
2290 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
2291 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
2292 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
2293 crtstuff.c.
2294 Use $<.
2295 (crtbeginT.o): Use $(objext).
2296 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
2297 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
2298 (gcc-extra-parts): Remove.
2299 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
2300 Set extra_parts.
2301 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
2302 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
2303 Add t-crtstuff-pic to tmake_file.
2304 (*-*-lynxos*): New case.
2305 Set tmake_file, extra_parts.
2306 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
2307 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
2308 *-*-netbsdelf[2-9]*.
2309 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
2310 (*-*-rtems*): Set extra_parts.
2311 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
2312 (*-*-uclinux*): New case.
2313 Set extra_parts.
2314 (*-*-vms*): New case.
2315 Set tmake_file, extra_parts.
2316 (*-*-elf): Set extra_parts.
2317 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
2318 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
2319 vms/t-vms64.
2320 Set extra_parts.
2321 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
2322 Set extra_parts.
2323 (arm*-*-freebsd*): Add t-crtin to tmake_file.
2324 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
2325 (arm-wrs-vxworks): Append to tmake_file.
2326 Set extra_parts.
2327 (arm*-*-uclinux*): Set extra_parts.
2328 (arm*-*-ecos-elf): Likewise.
2329 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
2330 arm*-*-eabi*.
2331 (arm*-*-rtems*): Set extra_parts.
2332 (arm*-*-elf): Likewise.
2333 (avr-*-rtems*): Clear extra_parts.
2334 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
2335 Set extra_parts.
2336 (bfin*-uclinux*): Likewise.
2337 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
2338 (bfin*-rtems*): Append to tmake_file.
2339 Set extra_parts.
2340 (bfin*-*): Likewise.
2341 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
2342 (crisv32-*-elf): ... this.
2343 (crisv32-*-none): ... this.
2344 (cris-*-elf, cris-*-none): New cases.
2345 Add cris/t-elfmulti to tmake_file.
2346 (fr30-*-elf): Append to tmake_file.
2347 Set extra_parts.
2348 (frv-*-elf): Append to tmake_file, add frv/t-frv.
2349 Set extra_parts.
2350 (h8300-*-rtems*): Append to tmake_file.
2351 Set extra_parts.
2352 (h8300-*-elf*): Likewise.
2353 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
2354 Set extra_parts.
2355 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
2356 Set extra_parts.
2357 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
2358 (x86_64-*-elf*): Likewise.
2359 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
2360 (x86_64-*-freebsd*): Likewise.
2361 (x86_64-*-netbsd*): Likewise.
2362 (i[34567]86-*-linux*): Likewise.
2363 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
2364 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
2365 (x86_64-*-linux*): Likewise.
2366 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
2367 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
2368 tmake_file.
2369 Set extra_parts.
2370 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
2371 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
2372 Append to extra_parts, remove crtbegin.o, crtend.o.
2373 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
2374 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
2375 crtend.o, crtbeginS.o, crtendS.o.
2376 (ia64*-*-linux*): Comment extra_parts.
2377 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
2378 Set extra_parts.
2379 (iq2000*-*-elf*): Clear extra_parts.
2380 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
2381 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
2382 (m32r-*-elf*, m32r-*-rtems*): Split off ...
2383 (m32r-*-rtems*): ... this.
2384 Add m32r/t-m32r to tmake_file.
2385 (m68k-*-elf*): Add t-crtin to tmake_file.
2386 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
2387 (mcore-*-elf): Likewise.
2388 (microblaze*-*-*): Set extra_parts.
2389 (mips*-sde-elf*): New case.
2390 Set tmake_file, extra_parts.
2391 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
2392 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
2393 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
2394 tmake_file.
2395 Set extra_parts.
2396 (mipsisa64sr71k-*-elf*): Likewise.
2397 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
2398 (mips-*-elf*, mipsel-*-elf*): Likewise.
2399 (mips64-*-elf*, mips64el-*-elf*): Likewise.
2400 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
2401 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
2402 (mips*-*-rtems*): Likewise.
2403 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
2404 (moxie-*-*): Split into ...
2405 (moxie-*-elf, moxie-*-uclinux*): ... this.
2406 Add to extra_parts, remove crtbegin.o, crtend.o.
2407 (moxie-*-rtems*): New case.
2408 Set tmake_file.
2409 Clear extra_parts.
2410 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
2411 Set extra_parts.
2412 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
2413 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
2414 tmake_file.
2415 Set extra_parts.
2416 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
2417 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
2418 Set extra_parts.
2419 (powerpc-*-eabisim*): Likewise.
2420 (powerpc-*-elf*): Likewise.
2421 (powerpc-*-eabialtivec*): Likewise.
2422 (powerpc-xilinx-eabi*): Likewise.
2423 (powerpc-*-eabi*): Likewise.
2424 (powerpc-*-rtems*): Likewise.
2425 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
2426 tmake_file.
2427 Set extra_parts.
2428 (powerpc-*-lynxos*): Add to tmake_file.
2429 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
2430 rs6000/t-crtstuff, t-crtstuff-pic.
2431 Set extra_parts.
2432 (powerpcle-*-eabisim*): Likewise.
2433 (powerpcle-*-eabi*): Likewise.
2434 (rx-*-elf): Remove extra_parts.
2435 (s390x-ibm-tpf*): Set extra_parts.
2436 (score-*-elf): Set extra_parts.
2437 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
2438 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
2439 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
2440 (sh64l*-*-netbsd*): Split into ...
2441 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
2442 Add t-crtstuff-pic to tmake_file.
2443 Set extra_parts.
2444 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
2445 Set extra_parts.
2446 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
2447 (sparc-*-elf*): Remove t-crtin from tmake_file.
2448 Add to extra_parts, remove crtbegin.o, crtend.o.
2449 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
2450 (sparc64-*-linux*): Likewise.
2451 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
2452 Add to extra_parts, remove crtbegin.o, crtend.o.
2453 (sparc64-*-elf*): Remove t-crtin from tmake_file.
2454 Add to extra_parts, remove crtbegin.o, crtend.o.
2455 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
2456 Add to extra_parts, remove crtbegin.o, crtend.o.
2457 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
2458 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
2459 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
2460 Set extra_parts.
2461 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
2462 Set extra_parts.
2463 (tic6x-*-*): Change to ...
2464 (tic6x-*-elf): ... this.
2465 Set extra_parts.
2466 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
2467 Set extra_parts.
2468 (am33_2.0-*-linux*): Add comment.
2469 (mep*-*-*): Add mep/t-mep to tmake_file.
2470 Set extra_parts.
2471 * config/alpha/t-vms: New file.
2472 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
2473 * config/arm/crti.S, config/arm/crtn.S: New files.
2474 * config/bfin/crti.S, config/bfin/crtn.S: New files.
2475 * config/bfin/crtlibid.S: New file.
2476 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
2477 * config/c6x/crti.S, config/c6x/crtn.S: New files.
2478 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
2479 (crti.o, crtin.o): New rules.
2480 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
2481 * config/c6x/t-uclinux: New file.
2482 * config/cris/t-elfmulti: New file.
2483 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
2484 * config/fr30/crti.S, config/fr30/crtn.S: New files.
2485 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
2486 * config/frv/t-frv: New file.
2487 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
2488 * config/h8300/crti.S, config/h8300/crtn.S: New files.
2489 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
2490 New files.
2491 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
2492 refer to cygming-crtbegin.c, cygming-crtend.c.
2493 Use $<.
2494 * config/i386/t-nto: New file.
2495 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
2496 * config/ia64/crti.S, config/ia64/crtn.S: New files.
2497 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
2498 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
2499 Use .S extension.
2500 Use $<.
2501 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
2502 (crtinitS.o): New rule.
2503 * config/ia64/vms-crtinit.S: New file.
2504 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
2505 * config/m32r/initfini.c: New file.
2506 * config/m32r/t-linux, config/m32r/t-m32r: New files.
2507 * config/m68k/crti.S, config/m68k/crtn.S: New files.
2508 * config/mcore/crti.S, config/mcore/crtn.S: New files.
2509 * config/mep/t-mep: New file.
2510 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
2511 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
2512 * config/mips/crti.S, config/mips/crtn.S: New files.
2513 * config/mips/t-crtstuff: New file.
2514 * config/mmix/crti.S, config/mmix/crtn.S: New files.
2515 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
2516 (CUSTOM_CRTIN): Set.
2517 ($(T)crti.o, $(T)crtn.o): Remove $(T),
2518 dependencies.
2519 Use $(srcdir) to refer to crti.S, crtn.S.
2520 Use .S extension, $<.
2521 * config/moxie/crti.asm: Rename to ...
2522 * config/moxie/crti.S: ... this.
2523 * config/moxie/crtn.asm: Rename to ...
2524 * config/moxie/crtn.S: ... this.
2525 * config/moxie/t-moxie: Remove.
2526 * config/pa/stublib.c: New file.
2527 * config/pa/t-stublib, config/pa/t-stublib64: New files.
2528 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
2529 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
2530 * config/rs6000/t-crtstuff: New file.
2531 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
2532 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
2533 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
2534 Make output file explicit.
2535 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
2536 Make output file explicit.
2537 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
2538 Make output file explicit.
2539 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
2540 Make output file explicit.
2541 * config/score/crti.S, config/score/crtn.S: New files.
2542 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
2543 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
2544 files.
2545 * config/sh/t-sh, config/sh/t-superh: New files.
2546 * config/sparc/t-linux64: New file.
2547 * config/spu/cache.S, config/spu/cachemgr.c: New files.
2548 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
2549 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
2550 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
2551 * config/t-crtin: Remove.
2552 * config/t-crtstuff-pic: New file.
2553 * config/t-sol2 (CUSTOM_CRTIN): Set.
2554 (crti.o, crtn.o): New rules.
2555 * config/vms/t-vms: New file.
2556 * config/vms/vms-ucrt0.c: New file.
2557 * config/xtensa/t-elf: New file.
2558
b040f2be
RO
25592011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2560
2561 * Makefile.in (SHLIB_NM_FLAGS): Set.
2562 * mkmap-flat.awk, mkmap-symver.awk: New files.
2563 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
2564 exceptions.
2565 * configure: Regenerate.
2566 * config/libgcc-glibc.ver: New file.
2567 * config/libgcc-libsystem.ver: New file.
2568 * config/t-libunwind (SHLIB_LC): Set.
2569 * config/t-linux: New file.
2570 * config/t-slibgcc (INSTALL_SHLIB): New.
2571 (SHLIB_INSTALL): Use it.
2572 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
2573 to mkmap-symver.awk.
2574 (SHLIB_MAPFILES): Don't append, adapt pathname.
2575 (SHLIB_VERPFX): Set.
2576 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
2577 to mkmap-symver.awk.
2578 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
2579 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
2580 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
2581 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
2582 to mkmap-flat.awk.
2583 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
2584 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
2585 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
2586 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
2587 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
2588 * config/i386/libgcc-darwin.10.4.ver,
2589 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
2590 New files.
2591 * config/i386/t-darwin: Remove.
2592 * config/i386/t-darwin64: Likewise.
2593 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
2594 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
2595 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
2596 * config/i386/t-linux: New file.
2597 * config/i386/t-mingw32: New file.
2598 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
2599 * config/ia64/t-glibc: Rename to ...
2600 * config/ia64/t-linux: ... this.
2601 (SHLIB_MAPFILES): Set.
2602 * config/ia64/t-glibc-libunwind: Rename to ...
2603 * config/ia64/t-linux-libunwind: ... this.
2604 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
2605 * config/ia64/t-slibgcc-hpux: New file.
2606 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
2607 * config/m68k/t-slibgcc-elf-ver: New file.
2608 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
2609 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
2610 to mkmap-flat.awk.
2611 * config/pa/t-slibgcc-hpux: New file.
2612 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
2613 files.
2614 * config/rs6000/libgcc-darwin.10.4.ver,
2615 config/rs6000/libgcc-darwin.10.5.ver: New files.
2616 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
2617 config/rs6000/libgcc-glibc.ver.
2618 * config/rs6000/libgcc-ppc64.ver: Rename to
2619 config/rs6000/libgcc-ibm-ldouble.ver.
2620 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
2621 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
2622 * config/rs6000/t-ldbl128: Rename to ...
2623 * config/rs6000/t-linux: ... this.
2624 (SHLIB_MAPFILES): Adapt filename.
2625 * config/rs6000/t-slibgcc-aix: New file.
2626 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
2627 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
2628 libgcc-excl.ver, libgcc-glibc.ver.
2629 (SHLIB_LINK, SHLIB_INSTALL): Remove.
2630 * config/sparc/libgcc-glibc.ver: New file.
2631 * config/sparc/t-linux: New file.
2632 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
2633 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
2634 t-slibgcc-elf-ver to tmake_file.
2635 Add t-slibgcc-nolc-override to tmake_file for posix threads on
2636 *-*-freebsd[34].
2637 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
2638 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
2639 t-slibgcc-elf-ver, t-linux to tmake_file.
2640 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
2641 tmake_file.
2642 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
2643 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
2644 (alpha*-dec-*vms*): Likewise.
2645 (arm*-*-freebsd*): Append to tmake_file.
2646 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
2647 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
2648 arm*-*-linux-*eabi.
2649 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
2650 tmake_file for arm*-*-symbianelf*.
2651 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
2652 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
2653 cris/t-linux.
2654 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
2655 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
2656 pa/t-slibgcc-dwarf-ver to tmake_file.
2657 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
2658 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
2659 (hppa*64*-*-hpux11*): Likewise.
2660 (hppa[12]*-*-hpux11*): Likewise.
2661 (x86_64-*-darwin*): Don't override tmake_file, but only keep
2662 i386/t-crtpc, i386/t-crtfm.
2663 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
2664 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
2665 to tmake_file.
2666 Add i386/t-cygwin to tmake_file.
2667 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
2668 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
2669 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
2670 to tmake_file.
2671 Add i386/t-mingw32 to tmake_file.
2672 (x86_64-*-mingw*): Likewise.
2673 (ia64*-*-freebsd*): Append to tmake_file.
2674 (ia64*-*-linux*): Append to tmake_file.
2675 Replace ia64/t-glibc by ia64/t-linux.
2676 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
2677 system libunwind.
2678 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
2679 t-slibgcc-hpux to tmake_file.
2680 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
2681 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
2682 (m32rle-*-linux*): Likewise.
2683 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
2684 sjlj exceptions.
2685 (microblaze*-linux*): New case.
2686 Append to tmake_file, add t-slibgcc-nolc-override.
2687 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
2688 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
2689 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
2690 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
2691 rs6000/t-slibgcc-aix to tmake_file.
2692 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2693 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2694 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
2695 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
2696 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
2697 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
2698 sh*-*-linux*.
2699 (sparc-*-linux*): Append to tmake_file for *-leon*.
2700 Add sparc/t-linux to tmake_file for non-Leon targets.
2701 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
2702 (tic6x-*-uclinux): New case.
2703 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
2704 (tic6x-*-*): Add c6x/t-elf to tmake_file.
2705 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
2706 (am33_2.0-*-linux*): Append to tmake_file.
2707 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
2708 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
2709 x86_64-*-kfreebsd*-gnu.
2710 Add i386/t-linux to tmake_file.
2711
18b4bd7b
ILT
27122011-10-28 Ian Lance Taylor <iant@google.com>
2713
2714 * config/i386/morestack.S: Correct CFI information to do proper
2715 returns throughout function. In 32-bit mode, save %ebx so that it
2716 is restored on unwind.
2717
5b2d9d90
BS
27182011-10-25 Bernd Schmidt <bernds@codesourcery.com>
2719
2720 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
2721 case where B3 isn't the return register.
2722
0d53e346
BS
2723 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
2724 logic for doubleword pops.
2725
cbffbd59
AT
27262011-10-25 Andreas Tobler <andreast@fgznet.ch>
2727
2728 * config/rs6000/t-freebsd: Add wildcard.
2729
56dc349e
PB
27302011-10-21 Paul Brook <paul@codesourcery.com>
2731
2732 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
2733
1e06b07d
UB
27342011-10-16 Uros Bizjak <ubizjak@gmail.com>
2735 Eric Botcazou <ebotcazou@adacore.com>
2736
2737 PR target/50737
2738 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
2739 fs->signal_frame to 1.
2740
b5204884
ILT
27412011-10-07 Ian Lance Taylor <iant@google.com>
2742
2743 * generic-morestack-thread.c: #include <errno.h>.
2744
91a639a1
ILT
27452011-10-07 Ian Lance Taylor <iant@google.com>
2746
2747 PR target/46093
2748 * generic-morestack.c (__generic_morestack): Make sure the segment
2749 is large enough for both the stack frame and the copied
2750 parameters.
2751
cc49116d
RO
27522011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2753
2754 PR bootstrap/49804
2755 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
2756 extra_parts.
2757
2996d8c3
NC
27582011-09-28 Nick Clifton <nickc@redhat.com>
2759
2760 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
2761 64-bit doubles are not enabled.
2762 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
2763 and floatunsisf functions.
2764
1e874273 27652011-09-13 Paul Brook <paul@codesourcery.com>
2996d8c3 2766
1e874273
PB
2767 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
2768 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
2769 * unwind-arm-common.inc: New file.
2770 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
2771 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
2772 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
2773 * config/c6x/libunwind.S: New file.
2774 * config/c6x/pr-support.c: New file.
2775 * config/c6x/unwind-c6x.c: New file.
2776 * config/c6x/unwind-c6x.h: New file.
2777 * config/c6x/t-c6x-elf: New file.
2778
f70c879a
UB
27792011-08-23 Uros Bizjak <ubizjak@gmail.com>
2780
2781 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
2782 (ASM_DIVZERO): Ditto.
2783 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
2784
c55b374b
RS
27852011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
2786
2787 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
2788
1e138510
RS
27892011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
2790
2791 PR target/50090
2792 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
2793 instead of an assembly one.
2794
1563503d
PB
27952011-08-12 Paolo Bonzini <bonzini@gnu.org>
2796
2797 PR bootstrap/50047
2798 * Makefile.in (install-unwind_h): Create
2799 $(gcc_objdir)/include/unwind.h atomically.
2800
3627ac1a
RO
28012011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2802
2803 * Makefile.in (install-unwind_h): Remove destination file first.
2804
c6412d86
RO
28052011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2806
2807 * sync.c: New file.
2808 * config/mips/t-mips16: New file.
2809 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
2810 (mips*-*-linux*): Likewise.
2811 (mips*-sde-elf*): Likewise.
2812 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
2813 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
2814 Add mips/t-mips16 to tmake_file.
2815 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
2816 (mips-*-elf*): Likewise.
2817 (mips64-*-elf*): Likewise.
2818 (mips64orion-*-elf*): Likewise.
2819 (mips*-*-rtems*): Likewise.
2820 (mipstx39-*-elf*): Likewise.
2821 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
2822 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
2823 LIBGCC_SYNC_CFLAGS.
2824 Use $(srcdir) to refer to sync.c.
2825 Use $<.
2826 ($(libgcc-sync-funcs-o)): Likewise.
2827 ($(libgcc-sync-size-funcs-s-o)): Likewise.
2828 ($(libgcc-sync-funcs-s-o)): Likewise.
2829
3cb6e5bd
AS
28302011-08-09 Andreas Schwab <schwab@linux-m68k.org>
2831
2832 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
2833 t-libunwind.
2834
cca2207a
L
28352011-08-08 H.J. Lu <hongjiu.lu@intel.com>
2836
2837 PR other/48007
2838 * config/i386/value-unwind.h: New.
2839
ed39fbad
RS
28402011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
2841
2842 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
2843 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
2844 Add to tmake_file rather than overriding it.
2845
aca0b0b3
RO
28462011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2847
2848 * config/t-softfp: Remove.
2849 * soft-fp: Moved from ../gcc/config.
2850 * soft-fp/README: Remove t-softfp reference.
2851 * soft-fp/t-softfp: Move to config/t-softfp.
2852 (softfp_machine_header): Remove.
2853 (softfp_file_list): Remove config subdir.
2854 (soft-fp-objects): New variable.
2855 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
2856 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
2857 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
2858 * config/t-softfp-excl: New file.
2859 * config/t-softfp-sfdf: New file.
2860 * config/t-softfp-tf: New file.
2861 * config/no-sfp-machine.h: New file.
2862 * config/arm/sfp-machine.h: New file.
2863 * config/arm/t-softfp: New file.
2864 * config/c6x/sfp-machine.h: New file.
2865 * config/i386/32/t-fprules-softfp: Rename to ...
2866 * config/i386/32/t-softfp: ... this.
2867 (tifunctions, LIB2ADD): Remove.
2868 (softfp_int_modes): Override.
2869 * config/i386/64/t-softfp-compat (tf-functions): Remove config
2870 subdir.
2871 * config/i386/64/eqtf2.c: Likewise.
2872 * config/i386/64/getf2.c: Likewise.
2873 * config/i386/64/letf2.c: Likewise.
2874 * config/ia64/sft-machine.h: New file.
2875 * config/ia64/t-fprules-softfp: Rename to ...
2876 * config/ia64/t-softfp: ... this.
2877 * config/lm32/sfp-machine.h: New file.
2878 * config/moxie/t-moxie-softfp: Remove.
2879 * config/rs6000/ibm-ldouble-format: New file.
2880 * config/rs6000/ibm-ldouble.c: New file.
2881 * config/rs6000/libgcc-ppc-glibc.ver: New file
2882 * config/rs6000/libgcc-ppc64.ver: New file
2883 * config/rs6000/sfp-machine.h: New file.
2884 * config/rs6000/t-freebsd: New file.
2885 * config/rs6000/t-ibm-ldouble: New file.
2886 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
2887 libgcc-ppc-glibc.ver.
2888 * config/rs6000/t-linux64: New file.
2889 * config/rs6000/t-ppccomm (LIB2ADD): Add
2890 $(srcdir)/config/rs6000/ibm-ldouble.c.
2891 * config/rs6000/t-ppccomm-ldbl: New file.
2892 * config/score/sfp-machine.h: New file.
2893 * config.host (sfp_machine_header): Explain.
2894 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
2895 t-softfp to tmake_file.
2896 (arm*-*-uclinux*): Likewise.
2897 (arm*-*-ecos-elf): Likewise.
2898 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
2899 (arm*-*-rtems*): Likewise.
2900 (arm*-*-elf): Likewise.
2901 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
2902 in tmake_file.
2903 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
2904 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
2905 (lm32-*-uclinux*): Likewise.
2906 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
2907 t-softfp-excl, t-softfp.
2908 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
2909 (powerpc64-*-darwin*): Likewise.
2910 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
2911 to tmake_file.
2912 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
2913 tmake_file.
2914 (powerpc-*-eabisim*): Likewise.
2915 (powerpc-*-elf*): Likewise.
2916 (powerpc-*-eabialtivec*): Likewise.
2917 (powerpc-xilinx-eabi*): Likewise.
2918 (powerpc-*-rtems*): Likewise.
2919 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
2920 t-softfp-excl, t-softfp to tmake_file.
2921 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
2922 rs6000/t-ppccomm-ldbl to tmake_file.
2923 (powerpcle-*-elf*): Likewise.
2924 (powerpcle-*-eabisim*): Likewise.
2925 (powerpcle-*-eabi*): Likewise.
2926 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
2927 rs6000/t-ibm-ldouble to tmake_file.
2928 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2929 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2930 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
2931 (tic6x-*-*): Likewise.
2932 (i[34567]86-*-darwin*, x86_64-*-darwin*,
2933 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
2934 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
2935 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
2936 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
2937 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
2938 t-softfp to tmake_file.
2939 * configure.ac (sfp_machine_header): Provide default if unset.
2940 Substitute.
2941 Link sfp-machine.h to config/$sfp_machine_header.
2942 * configure: Regenerate.
2943
569dc494
RO
29442011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2945
2946 * Makefile.in (double_type_size, long_double_type_size): Set.
2947 Remove $(fpbit-in-libgcc) support.
2948 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
2949 (fpbit-src): New variable.
2950 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
2951 Compile with -DFLOAT $(FPBIT_CFLAGS).
2952 Use $<.
2953 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
2954 Compile with $(FPBIT_CFLAGS).
2955 Use $<.
2956 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
2957 Compile with -DFLOAT $(TPBIT_CFLAGS).
2958 Use $<.
2959 * configure.ac (double_type_size, long_double_type_size):
2960 Determine and substitute.
2961 * configure: Regenerate.
2962 * fp-bit.c, fp-bit.h: New files.
2963 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
2964 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
2965 * config/mips/t-mips: New file.
2966 * config/mips/t-sdemtk: New file.
2967 * config/rs6000/ppc64-fp.c: New file.
2968 * config/rs6000/t-darwin (LIB2ADD): Add
2969 $(srcdir)/config/rs6000/ppc64-fp.c.
2970 * config/rs6000/t-ppc64-fp: New file.
2971 * config/rx/rx-lib.h: New file.
2972 * config/rx/t-rx (FPBIT): Set to true.
2973 ($(gcc_objdir)/fp-bit.c): Remove.
2974 (DPBIT): Set to true only with -m64bit-doubles.
2975 ($(gcc_objdir)/dp-bit.c): Remove.
2976 * config/sparc/t-softfp: Remove.
2977 * config/spu/t-elf: New file.
2978 * config/t-fdpbit, config/t-fpbit: New files.
2979 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
2980 (mips*-*-*): Likewise.
2981 (arm-wrs-vxworks): Likewise.
2982 (arm*-*-freebsd*): Likewise.
2983 (avr-*-rtems*): Add t-fpbit to tmake_file.
2984 (avr-*-*): Likewise.
2985 (bfin*-elf*): Add t-fdpbit to tmake_file.
2986 (bfin*-uclinux*): Likewise.
2987 (bfin*-linux-uclibc*): Likewise.
2988 (bfin*-rtems*): New case.
2989 Add t-fdpbit to tmake_file.
2990 (bfin*-*): Add t-fdpbit to tmake_file.
2991 (crisv32-*-elf): Likewise.
2992 (cris-*-linux*): Likewise.
2993 (fr30-*-elf): Likewise.
2994 (frv-*-elf, frv-*-*linux*): Likewise.
2995 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
2996 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
2997 (m32r-*-elf*): Likewise.
2998 (m32rle-*-elf*): Likewise.
2999 (m32r-*-linux*): Likewise.
3000 (m32rle-*-linux*): Likewise.
3001 (mcore-*-elf): Add t-fdpbit to tmake_file.
3002 (microblaze*-*-*): Likewise.
3003 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
3004 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
3005 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
3006 Fix typo.
3007 Add mips/t-tpbit to tmake-file.
3008 (mips*-*-linux*): Fix typo.
3009 (mips*-sde-elf*): New case
3010 Add mips/t-sdemtk unless using newlib.
3011 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
3012 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
3013 (mn10300-*-*): Likewise.
3014 (pdp11-*-*): Likewise.
3015 (picochip-*-*): Add t-fpbit to tmake_file.
3016 (powerpc-*-eabisimaltivec*): Likewise.
3017 (powerpc-*-eabisim*): Likewise.
3018 (powerpc-*-elf*): Likewise.
3019 (powerpc-*-eabialtivec*): Likewise.
3020 (powerpc-xilinx-eabi*): New case.
3021 Add t-fdpbit to tmake_file.
3022 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
3023 (powerpc-*-rtems*): Likewise.
3024 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
3025 tmake_file.
3026 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
3027 tmake_file.
3028 (powerpc-*-lynxos*): Likewise.
3029 (powerpcle-*-elf*): Likewise.
3030 (powerpcle-*-eabisim*): Likewise.
3031 (powerpcle-*-eabi*): Likewise.
3032 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
3033 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
3034 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
3035 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
3036 (rx-*-elf): Add t-fdpbit to tmake_file.
3037 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
3038 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
3039 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
3040 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
3041 sh*-*-netbsd*.
3042 (sh-*-rtems*): Add t-fdpbit to tmake_file.
3043 (sh-wrs-vxworks): Likewise.
3044 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
3045 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
3046 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
3047 (sparc64-*-rtems*): ... new case.
3048 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
3049 (spu-*-elf*): Likewise.
3050 Add spu/t-elf to tmake_file.
3051 (v850*-*-*): Add t-fdpbit to tmake_file.
3052 (xstormy16-*-elf): Likewise.
3053 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
3054 (mep*-*-*): Likewise.
3055
201cdb74
RO
30562011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3057
3058 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
3059 variables.
3060 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
3061 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
3062 (install-unwind_h): New target.
3063 (all): Depend on it.
3064 * config.host (unwind_header): New variable.
3065 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
3066 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
3067 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
3068 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
3069 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
3070 Set unwind_header.
3071 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
3072 Set unwind_header.
3073 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
3074 arm*-*-eabi*.
3075 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
3076 Set unwind_header.
3077 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
3078 (ia64*-*-freebsd*): Likewise.
3079 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
3080 tmake_file.
3081 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
3082 $with_system_libunwind.
3083 (ia64*-*-hpux*): Set tmake_file.
3084 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
3085 (picochip-*-*): Set tmake_file.
3086 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
3087 md_unwind_header.
3088 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
3089 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
3090 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
3091 (xtensa*-*-elf*): Set tmake_file.
3092 (xtensa*-*-linux*): Likewise.
3093 * configure.ac: Include ../config/unwind_ipinfo.m4.
3094 Call GCC_CHECK_UNWIND_GETIPINFO.
3095 Link unwind.h to $unwind_header.
3096 * configure: Regenerate.
3097 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
3098 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
3099 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
3100 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
3101 * config/unwind-dw2-fde-darwin.c: New file.
3102 * config/arm/libunwind.S, config/arm/pr-support.c,
3103 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
3104 config/arm/unwind-arm.h,: New files.
3105 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
3106 config/ia64/t-eh-ia64, config/ia64/t-glibc,
3107 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
3108 config/ia64/t-vms, config/ia64/unwind-ia64.c,
3109 config/ia64/unwind-ia64.h: New files.
3110 * config/picochip/t-picochip: New file.
3111 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
3112 files.
3113 * config/rs6000/t-darwin (LIB2ADDEH): Set.
3114 * config/s390/t-tpf (LIB2ADDEH): Remove.
3115 * config/t-darwin (LIB2ADDEH): Set.
3116 * config/t-eh-dw2-dip: New file.
3117 * config/t-libunwind, config/t-libunwind-elf: New files.
3118 * config/t-sol2 (LIB2ADDEH): Remove.
3119 * config/xtensa/t-xtensa: New file.
3120
40f2f11f
L
31212011-08-02 H.J. Lu <hongjiu.lu@intel.com>
3122
3123 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
3124 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
3125 long long to check rt_sigreturn syscall.
3126
bd15e32c
AM
31272011-08-02 Alan Modra <amodra@gmail.com>
3128
3129 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
3130 Restore for indirect call bcrtl from correct stack slot, and only
3131 if cfa+40 isn't valid.
3132
655b30bf
JB
31332011-08-01 Julian Brown <julian@codesourcery.com>
3134
3135 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
3136 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
3137 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
3138
247eb06f
JB
31392011-08-01 Julian Brown <julian@codesourcery.com>
3140
3141 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
3142 (libgcc-std.ver.in): Use above.
3143 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
3144 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
3145 throughout file.
3146 * config/t-fixedpoint-gnu-prefix: New file.
3147 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
3148 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
3149 instead of __PFX__.
3150
02a8fe00
L
31512011-07-28 H.J. Lu <hongjiu.lu@intel.com>
3152
3153 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
3154 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
3155 for x86-64. Properly check __x86_64__ and __LP64__.
3156
5fce9126
L
31572010-07-28 H.J. Lu <hongjiu.lu@intel.com>
3158
3159 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
3160 version.
3161 (_FP_WS_TYPE): Likewise.
3162 (_FP_I_TYPE): Likewise.
3163
2374a88a
AM
31642011-07-28 Alan Modra <amodra@gmail.com>
3165
3166 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
3167 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
3168 in a plt call stub. Do restore r2 if stopped on bctrl.
3169
e44dbbe1
RO
31702011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3171
3172 * config.host (i[3456x]86-*-netware*): Remove.
3173 * config/i386/netware-crt0.c, config/i386/t-nwld,
3174 config/i386/t-slibgcc-nwld: Remove.
3175
bcead286
BS
31762011-07-15 Bernd Schmidt <bernds@codesourcery.com>
3177
3178 * config.host: Handle tic6x-*-*.
3179 * config/c6x/c6x-abi.h: New file.
3180
b3fe1584
RO
31812011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3182
3183 * config/i386/crtprec.c: New file.
3184 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
3185 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
3186 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
3187 (x86_64-*-darwin*): Likewise.
3188 (i[34567]86-*-solaris2*: Likewise.
3189
35d8090d
RO
31902011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3191
3192 * config/alpha/crtfastmath.c: New file.
3193 * config/i386/crtfastmath.c: New file.
3194 * config/ia64/crtfastmath.c: New file.
3195 * config/mips/crtfastmath.c: New file.
3196 * config/sparc/crtfastmath.c: New file.
3197
3198 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
3199 crtfastmath.c.
3200 Add -frandom-seed=gcc-crtfastmath.
3201 * config/alpha/t-crtfm: Remove.
3202 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
3203 * config/ia64/t-ia64 (crtfastmath.o): Remove.
3204
3205 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
3206 (alpha*-dec-osf5.1*): Likewise.
3207 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
3208 Add crtfastmath.o to extra_parts.
3209 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
3210 Add crtfastmath.o to extra_parts.
3211 (x86_64-*-darwin*): Likewise.
3212 (x86_64-*-mingw*): Likewise.
3213 (ia64*-*-elf*): Add t-crtfm to tmake_file.
3214 (ia64*-*-freebsd*): Likewise.
3215 (ia64*-*-linux*): Likewise.
3216 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
3217 Add crtfastmath.o to extra_parts.
3218
e141542e
RO
32192011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3220
3221 * config/darwin-crt3.o: New file.
3222 * config/rs6000/darwin-crt2.c: New file.
3223 * config/t-darwin: New file.
3224 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
3225 (crt2.o): New rule.
3226 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
3227 (powerpc-*-darwin*): Add crt2.o to extra_parts.
3228 (powerpc64-*-darwin*): Likewise.
3229
2d1efe2d
RO
32302011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3231
3232 * config/i386/netware-crt0.c: New file.
3233 * config/i386/t-nwld: Rename to ...
3234 * config/i386/t-slibgcc-nwld: ... this.
3235 * config/i386/t-nwld: New file.
3236 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
3237 tmake_file.
3238 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
3239 extra_parts.
3240
4a8bb046
RO
32412011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3242
3243 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
3244 i386/t-crtstuff.
3245 * configure: Regenerate.
3246
2d8d5935
RO
32472011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3248
3249 * dfp-bit.c, dfp-bit.h: New files.
3250 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
3251 variables.
3252 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
3253 ($(d64pbit-o)): Likewise.
3254 ($(d128pbit-o)): Likewise.
3255 * config/t-dfprules: New file.
3256 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
3257 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
3258 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
3259 (x86_64-*-linux*): Likewise.
3260 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
3261 (i[34567]86-*-cygwin*): Likewise.
3262 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
3263 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
3264
2c50b2c3
RO
32652011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3266
3267 * Makfile.in (LIBGCOV): New variable.
3268 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
3269 * libgcov.c: New file.
3270
a039d7c2
RO
32712011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3272
3273 * fixed-bit.c, fixed-bit.h: New files.
3274 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
3275 refer to fixed-bit.c.
3276
1e4b2746
JM
32772011-07-07 Joseph Myers <joseph@codesourcery.com>
3278
3279 * config.host (*local*): Remove.
3280
fbdd5d87
RO
32812011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3282
3283 PR target/39150
3284 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
3285 like i?86-*-solaris2.1[0-9]*.
3286 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
3287 * configure.ac (i?86-*-solaris2*): Likewise.
3288 * configure: Regenerate.
3289
9e7714f4
TS
32902011-07-06 Thomas Schwinge <thomas@schwinge.name>
3291
3292 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
3293 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
3294 md_unwind_header by splitting out of...
3295 (i[34567]86-*-linux*): ... this.
3296 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
3297 Remove md_unwind_header by splitting out of...
3298 (x86_64-*-linux*): ... this.
3299
6dab9931
GJL
33002011-07-04 Georg-Johann Lay <avr@gjlay.de>
3301
3302 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
3303
4be46d19
NC
33042011-06-28 Nick Clifton <nickc@redhat.com>
3305
3306 * config.host: Recognize all V850 variants.
3307
1da9434b
UB
33082011-06-22 Uros Bizjak <ubizjak@gmail.com>
3309
3310 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
3311
e4d48a4d
RO
33122011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3313
3314 * shared-object.mk (c_flags-$o): Save c_flags.
3315 ($(base)$(objext)): Use it.
3316 ($(base)_s$(objext)): Likewise.
3317
3801c801
BS
33182011-06-21 Bernd Schmidt <bernds@codesourcery.com>
3319
3320 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
3321 * libgcc-std.ver.in (GCC_4.7.0): New section.
3322
0ad8bb3b 33232011-06-16 Georg-Johann Lay <avr@gjlay.de>
1da9434b 3324
0ad8bb3b
GJL
3325 PR target/49313
3326 PR target/29524
3327 * config/avr/t-avr: Fix line endings.
3328 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
3329 _parityXX2.
3330
ea963999
OH
33312011-06-14 Olivier Hainque <hainque@adacore.com>
3332 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3333
3334 * config/mips/irix6-unwind.h: New file.
3335 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
3336
b11b0904
EB
33372011-06-10 Eric Botcazou <ebotcazou@adacore.com>
3338
3339 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
3340 (sparc64_fallback_frame_state): Use it.
3341 (sparc64_frob_update_context): Further adjust context.
3342 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
3343 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
3344 * config/sparc/sol2-cn.S: Likewise.
3345
10e48e39
RO
33462011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3347
3348 * enable-execute-stack-empty.c: New file.
3349 * enable-execute-stack-mprotect.c: New file.
3350 * config/i386/enable-execute-stack-mingw32.c: New file.
3351 * config.host (enable_execute_stack): New variable.
3352 Select appropriate variants.
3353 * configure.ac: Link enable-execute-stack.c to
3354 $enable_execute_stack.
3355 * configure: Regenerate.
3356 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
3357 (lib2funcs): Remove _enable_execute_stack.
3358
10c4cabc
DM
33592011-06-09 David S. Miller <davem@davemloft.net>
3360 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3361
3362 * config.host (sparc-*-linux*): Correct md_unwind_header
3363 filename.
3364 (s390x-ibm-tpf*): Fix typo.
3365
aa4203e7
RO
33662011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3367
3368 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
3369 Add crtfastmath.o to extra_parts.
3370 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
3371 mips/t-crtfm.
3372 * config/mips/t-crtfm: Remove.
3373
0defd786
JDA
33742011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3375
3376 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
3377
82f247af
KK
33782011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
3379
3380 * config.host (sh*-*-linux*): Fix typo.
3381
58cd1d70
RO
33822011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3383
3384 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
3385 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
3386 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
3387 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
3388 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
3389 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
3390 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
3391 Wrap in !__MINGW64__.
3392 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
3393 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
3394 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
3395 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
3396 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
3397 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
3398 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
3399 Wrap in !__LP64__.
3400 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
3401 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
3402 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
3403 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
3404 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
3405 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
3406 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
3407 * config/no-unwind.h: New file.
3408 * config.host (md_unwind_header): Document.
3409 Define.
3410 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
3411 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
3412 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
3413 hppa[12]*-*-hpux11*): Set md_unwind_header.
3414 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
3415 Set md_unwind_header.
3416 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
3417 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
3418 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
3419 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
3420 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
3421 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
3422 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
3423 md_unwind_header.
3424 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
3425 * configure: Regenerate.
3426
737346fa
RO
34272011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3428
3429 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
3430 Set tmake_file, extra_parts.
3431 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
3432 Remove O32 support.
3433 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
3434 Remove O32 support.
3435 * config/mips/t-irix6: New file.
3436 * config/mips/t-slibgcc-irix: New file.
3437
c192cee6
RO
34382011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3439
3440 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
3441 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
3442
ee33b5f0
RO
34432011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3444
3445 * configure.ac (target_thread_file): Determine thread model.
3446 * configure: Regenerate.
3447 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
3448 * config/alpha/t-alpha: New file.
3449 * config/alpha/t-crtfm: Use $<.
3450 * config/alpha/t-ieee: New file.
3451 * config/alpha/t-osf-pthread: New file.
3452 * config/alpha/t-slibgcc-osf: New file.
3453 * config/alpha/libgcc-osf5.ver: New file.
3454
0699e415
RO
34552011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3456
3457 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
3458 tmake_file.
3459 Add crtfastmath.o to extra_parts.
3460
a3fab9c2
RO
34612011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3462
3463 * config/gmon-sol2.c: Reindent.
3464 Cleanup comments.
3465 Remove, correct casts.
3466 Use STDERR_FILENO, NULL.
3467 (BASEADDRESS): Remove.
3468 (minbrk): Remove.
3469 (errno, sbrk): Remove declarations.
3470 (monstartup) [hp300]: Remove.
3471 (mcount): Remove.
3472
ca24c5ad
RO
34732011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3474
3475 * Makefile.in (cpu_type): Define.
3476 * config.host (i[34567]86-*-rtems*): Handle it.
3477 (i[34567]86-*-solaris2*): Move body ...
3478 (*-*-solaris2*): ... here.
3479 New case, generalize.
3480 (sparc-*-elf*): Handle it.
3481 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
3482 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
3483 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
3484 Fold into ...
3485 (sparc*-*-solaris2*): ... this.
3486 New case.
3487 (sparc64-*-elf*): Handle it.
3488 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
3489 Merge ../gcc/config/i386/gmon-sol2.c.
3490 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
3491 Use C comments.
3492 Merge ../gcc/config/i386/sol2-gc1.asm.
3493 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
3494 Use C comments.
3495 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
3496 Use C comments.
3497 * config/i386/t-crtfm (crtfastmath.o): Use $<.
3498 * config/i386/t-crtstuff: New file.
3499 * config/i386/t-softfp: New file.
3500 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
3501 $(T)crti.o, $(T)crtn.o): Remove.
3502 (gcrt1.o): New rule.
3503 (TARGET_LIBGCC2_CFLAGS): Remove.
3504 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
3505 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
3506 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
3507 * config/sparc/t-sol2: New file.
3508 * config/sparc/t-crtfm: Move to ...
3509 * config/t-crtfm: ... this.
3510 Use $(cpu_type), $<.
3511 * config/t-crtin: New file.
3512 * config/sparc/t-softfp: New file.
3513 * config/sparc/t-softmul: New file.
3514 * config/t-rtems: New file.
3515 * config/t-slibgcc: New file.
3516 * config/t-slibgcc-elf-ver: New file.
3517 * config/t-slibgcc-gld: New file.
3518 * config/t-slibgcc-sld: New file.
3519 * config/t-sol2: New file.
3520 * configure.ac: Include ../config/lib-ld.m4.
3521 Call AC_LIB_PROG_LD_GNU.
3522 Substitute cpu_type.
3523 * configure: Regenerate.
3524
ad5f3d7b
BS
35252011-05-27 Bernd Schmidt <bernds@codesourcery.com>
3526
3527 PR bootstrap/49173
3528 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
3529 libgcc-std.ver in the build directory.
3530 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
3531 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
3532
cdbf4541
BS
35332011-05-25 Bernd Schmidt <bernds@codesourcery.com>
3534
3535 * libgcc-std.ver.in: New file.
3536 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
3537 variables.
3538 (libgcc-std.ver): New rule.
3539 * config/t-gnu-prefix: New file.
3540
c8028650
RO
35412011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3542
3543 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
3544
4a68b4ca
JM
35452011-05-10 Joseph Myers <joseph@codesourcery.com>
3546
3547 * config/i386/darwin-lib.h: New file.
3548
80cf2e08
JM
35492011-05-10 Joseph Myers <joseph@codesourcery.com>
3550
3551 * config/arm/symbian-lib.h: New.
3552
a3330c9d
CD
35532011-05-04 Chris Demetriou <cgd@google.com>
3554
3555 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
3556 (__x86.get_pc_thunk.bx): ...this.
3557 (__morestack): Adjust for rename, remove undef of __i686.
3558
6ace0756
CD
35592011-05-03 Chris Demetriou <cgd@google.com>
3560
3561 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
3562
ebb9f8b0
JM
35632011-03-22 Joseph Myers <joseph@codesourcery.com>
3564
3565 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
3566 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
3567 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
3568 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
3569 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
3570 Remove cases.
3571
9cfa1499
AT
35722011-03-14 Andreas Tobler <andreast@fgznet.ch>
3573
3574 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
3575 Adjust copyright year.
3576
457186f6
ILT
35772011-03-07 Ian Lance Taylor <iant@google.com>
3578
3579 * generic-morestack.c (__splitstack_find): Adjust returned stack
3580 pointer to include all registers pushed by __morestack.
3581
58c741a6
DK
35822011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
3583
3584 PR target/40125
3585 * configure.ac: Call ACX_NONCANONICAL_TARGET.
3586 (toolexecdir): Calculate and AC_SUBST.
3587 (toolexeclibdir): Likewise.
3588 * Makefile.in (target_noncanonical): Import.
3589 (toolexecdir): Likewise.
3590 (toolexeclibdir): Likewise.
3591 * configure: Regenerate.
3592
26716c44
NF
35932010-12-13 Nathan Froyd <froydnj@codesourcery.com>
3594
3595 PR target/46040
3596 * config/arm/bpabi.h: Rename to...
3597 * config/arm/bpabi-lib.h: ...this.
3598
b595b1a1
RO
35992010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3600
3601 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
3602 appropriate.
3603 * configure: Regenerate.
3604
a3abe41c
NF
36052010-11-24 Nathan Froyd <froydnj@codesourcery.com>
3606
3607 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
3608 __FLOAT_WORD_ORDER__.
3609 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
3610 Delete.
3611
455c8f48
RW
36122010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3613
3614 PR other/46202
3615 * Makefile.in (install-strip): New phony target.
3616
f3824a8b
ILT
36172010-11-07 Ian Lance Taylor <iant@google.com>
3618
3619 PR target/46089
3620 * config/i386/morestack.S (__morestack_large_model): New
3621 function.
3622
18ed6ee4
NF
36232010-10-23 Nathan Froyd <froydnj@codesourcery.com>
3624
3625 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
3626 Delete.
3627 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
3628
8ac7fdcb
NF
36292010-10-14 Nathan Froyd <froydnj@codesourcery.com>
3630
3631 * config/arm/bpabi.h: New file.
3632 * config/frv/frv-abi.h: New file.
3633
cdb388c2
ILT
36342010-10-01 Ian Lance Taylor <iant@google.com>
3635
3636 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
3637 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
3638
ef7c141c
L
36392010-10-01 H.J. Lu <hongjiu.lu@intel.com>
3640
3641 PR target/45858
3642 * config.host: Add the missing `$'.
3643
80920132
ME
36442010-09-30 Michael Eager <eager@eagercon.com>
3645
3646 * config.host: Add microblaze*-*-*.
3647 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
3648 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
3649 udivsi3.asm,umodsi3.asm}: New.
3650
6dace308
ILT
36512010-09-28 Ian Lance Taylor <iant@google.com>
3652
3653 * configure.ac: Adjust CFI test to test assembler directly rather
3654 than checking gcc preprocessor macro.
3655 * configure: Rebuild.
3656
b6110d6d
ILT
36572010-09-27 Ian Lance Taylor <iant@google.com>
3658
3659 * configure.ac: Test whether assembler supports CFI directives.
3660 * config.host: Only add t-stack and i386/t-stack-i386 to
3661 tmake_file if libgcc_cv_cfi is "yes".
3662 * configure: Rebuild.
3663
7458026b
ILT
36642010-09-27 Ian Lance Taylor <iant@google.com>
3665
3666 * generic-morestack.h: New file.
3667 * generic-morestack.c: New file.
3668 * generic-morestack-thread.c: New file.
3669 * config/i386/morestack.S: New file.
3670 * config/t-stack: New file.
3671 * config/i386/t-stack-i386: New file.
3672 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
3673 i386/t-stack-i386 to tmake_file.
3674
5b50fc0c
IS
36752010-09-21 Iain Sandoe <iains@gcc.gnu.org>
3676
3677 * Makefile.in (libgcc-extra-parts): Check for static archives and
3678 invoke ranlib after installing them.
3679 (gcc-extra-parts): Likewise.
3680 (install-leaf): Likewise.
3681
b93cf342
L
36822010-09-14 H.J. Lu <hongjiu.lu@intel.com>
3683
3684 * configure: Regenerated.
3685
996b42ef
KT
36862010-09-10 Kai Tietz <kai.tietz@onevision.com>
3687
b93cf342 3688 * configure: Regenerated.
996b42ef 3689
be1c764e
GP
36902010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
3691 Andrew Pinski <pinskia@gmail.com>
3692
1da9434b 3693 PR target/40959
be1c764e
GP
3694 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
3695
cc0ae0ca
L
36962010-09-06 H.J. Lu <hongjiu.lu@intel.com>
3697
3698 PR target/45524
3699 * configure: Regenerated.
3700
84f47d20
AS
37012010-09-06 Andreas Schwab <schwab@redhat.com>
3702
3703 * configure: Regenerate.
3704
4159fb8d
UB
37052010-09-03 Uros Bizjak <ubizjak@gmail.com>
3706
3707 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
3708 64bit targets.
3709 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
3710 for 64bit targets.
3711
0df8fcc8
UB
37122010-09-03 Uros Bizjak <ubizjak@gmail.com>
3713 Iain Sandoe <iains@gcc.gnu.org>
3714
3715 PR target/45476
3716 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
3717 LIB2FUNCS_EXCLUDE functions.
3718
3c39bca6
AK
37192010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3720
3721 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
3722 Include dfp.m4.
3723 * configure: Regenerate.
3724
d78552bd
UB
37252010-09-01 Uros Bizjak <ubizjak@gmail.com>
3726
3727 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
3728 i386/t-freebsd to tmake_file.
3729 * config/i386/t-freebsd: New file.
3730 * config/i386/libgcc-bsd.ver: New file.
3731
c5b79d4e
NF
37322010-07-23 Nathan Froyd <froydnj@codesourcery.com>
3733
3734 * config.host (powerpc*-eabispe*): Set tmake_file.
3735 (powerpc*-eabi*): Likewise.
3736 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
3737 crtbeginS, crtendS, crtbeginT.
3738
48b09a92
KH
37392010-06-12 Kazu Hirata <kazu@codesourcery.com>
3740
3741 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
3742 to tmake_file. Add crtfastmath.o to extra_parts.
3743 * config/mips/t-crtfm: New.
3744
a4389204
JS
37452010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
3746
3747 * config.host (sparc64-*-rtems*): New target.
3748
ed104137
RO
37492010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3750
3751 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
3752 assembler syntax.
3753
3f56ef8b
TS
37542010-04-15 Thomas Schwinge <tschwinge@gnu.org>
3755
3756 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
3757
8c200350
RO
37582010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3759
3760 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
3761 alpha-dec-osf5.0* support.
3762
80a61cb4 37632010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
c1b14424
RC
3764
3765 * config.host: Add lm32-*-rtems*.
3766
f128db92
RO
37672010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3768 Uros Bizjak <ubizjak@gmail.com>
3769
3770 PR target/39048
3771 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
3772 like other remaining 32-bit x86 OSes.
3773 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
3774 assembler syntax.
3775 * config/i386/libgcc-sol2.ver: New file.
3776 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
3777
368fabd5
JH
37782010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
3779
3780 PR c/43553
3781 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
3782 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
3783 is used and substitute set_use_emutls.
3784 * configure: Regenerated.
3785
15baf7f8
TG
37862010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
3787
3788 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
3789
7f5441df
RO
37902010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3791
3792 PR target/38085
3793 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
3794 MULTILIB_CFLAGS.
3795 ($(T)gcrt1.o): Likewise.
3796 ($(T)crt1.o): Likewise.
3797 ($(T)crti.o): Likewise.
3798 ($(T)crtn.o): Likewise.
3799
ef74edbd
RW
38002010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3801
3802 PR other/42980
3803 * Makefile.in (install): Use $(MAKE) string in rule, for
3804 parallel make.
3805
e7c914db
HPN
38062010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
3807
3808 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
3809 * config/mmix/t-mmix: New file.
3810 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
3811
1bcb71c4
JH
38122010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
3813
3814 PR java/41991
3815 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
3816 SHLIB_MAPFILES.
3817
e6e50811
AG
38182010-01-04 Anthony Green <green@moxielogic.com>
3819
3820 * config/moxie/crti.asm, config/moxie/crtn.asm,
3821 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
3822 config/moxie/t-moxie: New files.
3823 * config.host: Add t-moxie-softfp reference.
3824
ca8520ad
IS
38252009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
3826
3827 PR other/39888
3828 * config/t-slibgcc-darwin: Fix embedded rpaths for
3829 --enable-version-specific-runtime-libs, build extension stub
3830 libs exposing features available from current libgcc_s.
3831
aa4945c1
JB
38322009-11-11 Jon Beniston <jon@beniston.com>
3833
d78552bd
UB
3834 * config.host: Add lm32 targets.
3835 * config/lm32: New directory.
3836 * config/lm32/libgcc_lm32.h: New file.
3837 * config/lm32/_mulsi3.c: New file.
3838 * config/lm32/_udivmodsi4.c: New file.
3839 * config/lm32/_divsi3.c: New file.
3840 * config/lm32/_modsi3.c: New file.
3841 * config/lm32/_udivsi3.c: New file.
3842 * config/lm32/_umodsi3.c: New file.
3843 * config/lm32/_lshrsi3.S: New file.
3844 * config/lm32/_ashrsi3.S: New file.
3845 * config/lm32/_ashlsi3.S: New file.
3846 * config/lm32/crti.S: New file.
3847 * config/lm32/crtn.S: New file.
3848 * config/lm32/t-lm32: New file.
3849 * config/lm32/t-elf: New file.
3850 * config/lm32/t-uclinux: New file.
aa4945c1 3851
65a324b4
NC
38522009-10-26 Nick Clifton <nickc@redhat.com>
3853
3854 * config.host: Add support for RX target.
3855 * config/rx: New directory.
3856 * config/rx/rx-abi-functions.c: New file. Supplementary
3857 functions for libgcc to support the RX ABI.
3858 * config/rx/rx-abi.h: New file. Supplementary header file for
3859 libgcc RX ABI functions.
3860 * config/rx/t-rx: New file: Makefile fragment for building
3861 libgcc for the RX.
3862
dfb3b0e3
UB
38632009-10-09 Uros Bizjak <ubizjak@gmail.com>
3864
3865 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
3866 constraint of y0 to "g".
3867
81dd9fd7
AK
38682009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3869
3870 * config.host: Include the s390 makefile fragments.
3871 * config/s390/32/_fixdfdi.c: New file.
3872 * config/s390/32/_fixsfdi.c: New file.
3873 * config/s390/32/_fixtfdi.c: New file.
3874 * config/s390/32/_fixunsdfdi.c: New file.
3875 * config/s390/32/_fixunssfdi.c: New file.
3876 * config/s390/32/_fixunstfdi.c: New file.
3877 * config/s390/32/t-floattodi: New file.
3878 * config/s390/libgcc-glibc.ver: New file.
3879 * config/s390/t-crtstuff: New file.
3880 * config/s390/t-linux: New file.
3881 * config/s390/t-tpf: New file.
3882
df58e648
RW
38832009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3884
3885 * configure.ac (AC_PREREQ): Bump to 2.64.
3886
79052be3
KK
38872009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
3888
3889 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
3890
5213506e
RW
38912009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3892
3893 * configure: Regenerate.
3894
a9a25daa
DR
38952009-08-09 Douglas B Rupp <rupp@gnat.com>
3896
3897 * config.host (ia64-hp-*vms*): New target.
3898 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
3899 with ia64-hp-*vms*.
3900
6efbd53f
RW
39012009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3902
3903 * configure.ac: Add snippet for maintainer-mode.
3904 * configure: Regenerate.
3905 * Makefile.in (AUTOCONF, configure_deps): New variables.
3906 ($(srcdir)/configure)): New rule, active only with maintainer
3907 mode turned on.
3908
7acf4da6
DD
39092009-06-23 DJ Delorie <dj@redhat.com>
3910
3911 Add MeP port.
3912 * config.host: Add mep support.
3913
54f549af
KT
39142009-06-22 Kai Tietz <kai.tietz@onevision.com>
3915
34481f28 3916 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 3917 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
34481f28
UB
3918
3919 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
3920 for mingw targets.
54f549af
KT
3921 * config/i386/64/_multc3.c: Likewise.
3922 * config/i386/64/_powitf2.c: Likewise.
3923 * config/i386/64/eqtf2.c: Likewise.
3924 * config/i386/64/getf2.c: Likewise.
3925 * config/i386/64/letf2.c: Likewise.
3926 * config/i386/64/letf2.c: Likewise.
34481f28
UB
3927 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
3928 unsigned long long for x64 mingw targets.
3929 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
3930 (_FP_I_TYPE): Define as long long for x64 mingw target.
54f549af 3931
fea96e25
MR
39322009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
3933
3934 * config.host (vax-*-linux*): New.
3935
cceb575c
AG
39362009-05-31 Anthony Green <green@moxielogic.com>
3937
3938 * config.host: Add moxie support.
3939 * config/moxie/t-moxie: New file.
3940
e997fb9c
DB
39412009-05-29 David Billinghurst <billingd@gcc.gnu.org>
3942
3943 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 3944 t-softfp to tmake_file for i[34567]86-*-cygwin*.
e997fb9c 3945
532bfb0a
AJ
39462009-04-17 Aurelien Jarno <aurelien@aurel32.net>
3947
3948 * config.host: Add i386/${host_address}/t-fprules-softfp to
3949 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
3950
748086b7
JJ
39512009-04-09 Nick Clifton <nickc@redhat.com>
3952
3953 * config/ia64/tf-signs.c: Change copyright header to refer to
3954 version 3 of the GNU General Public License with version 3.1
3955 of the GCC Runtime Library Exception and to point readers at
3956 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
3957 web page.
3958 * config/i386/32/tf-signs.c: Likewise.
3959 * config/libbid/_addsub_dd.c: Likewise.
3960 * config/libbid/_addsub_sd.c: Likewise.
3961 * config/libbid/_addsub_td.c: Likewise.
3962 * config/libbid/_dd_to_df.c: Likewise.
3963 * config/libbid/_dd_to_di.c: Likewise.
3964 * config/libbid/_dd_to_sd.c: Likewise.
3965 * config/libbid/_dd_to_sf.c: Likewise.
3966 * config/libbid/_dd_to_si.c: Likewise.
3967 * config/libbid/_dd_to_td.c: Likewise.
3968 * config/libbid/_dd_to_tf.c: Likewise.
3969 * config/libbid/_dd_to_udi.c: Likewise.
3970 * config/libbid/_dd_to_usi.c: Likewise.
3971 * config/libbid/_dd_to_xf.c: Likewise.
3972 * config/libbid/_df_to_dd.c: Likewise.
3973 * config/libbid/_df_to_sd.c: Likewise.
3974 * config/libbid/_df_to_td.c: Likewise.
3975 * config/libbid/_di_to_dd.c: Likewise.
3976 * config/libbid/_di_to_sd.c: Likewise.
3977 * config/libbid/_di_to_td.c: Likewise.
3978 * config/libbid/_div_dd.c: Likewise.
3979 * config/libbid/_div_sd.c: Likewise.
3980 * config/libbid/_div_td.c: Likewise.
3981 * config/libbid/_eq_dd.c: Likewise.
3982 * config/libbid/_eq_sd.c: Likewise.
3983 * config/libbid/_eq_td.c: Likewise.
3984 * config/libbid/_ge_dd.c: Likewise.
3985 * config/libbid/_ge_sd.c: Likewise.
3986 * config/libbid/_ge_td.c: Likewise.
3987 * config/libbid/_gt_dd.c: Likewise.
3988 * config/libbid/_gt_sd.c: Likewise.
3989 * config/libbid/_gt_td.c: Likewise.
3990 * config/libbid/_isinfd128.c: Likewise.
3991 * config/libbid/_isinfd32.c: Likewise.
3992 * config/libbid/_isinfd64.c: Likewise.
3993 * config/libbid/_le_dd.c: Likewise.
3994 * config/libbid/_le_sd.c: Likewise.
3995 * config/libbid/_le_td.c: Likewise.
3996 * config/libbid/_lt_dd.c: Likewise.
3997 * config/libbid/_lt_sd.c: Likewise.
3998 * config/libbid/_lt_td.c: Likewise.
3999 * config/libbid/_mul_dd.c: Likewise.
4000 * config/libbid/_mul_sd.c: Likewise.
4001 * config/libbid/_mul_td.c: Likewise.
4002 * config/libbid/_ne_dd.c: Likewise.
4003 * config/libbid/_ne_sd.c: Likewise.
4004 * config/libbid/_ne_td.c: Likewise.
4005 * config/libbid/_sd_to_dd.c: Likewise.
4006 * config/libbid/_sd_to_df.c: Likewise.
4007 * config/libbid/_sd_to_di.c: Likewise.
4008 * config/libbid/_sd_to_sf.c: Likewise.
4009 * config/libbid/_sd_to_si.c: Likewise.
4010 * config/libbid/_sd_to_td.c: Likewise.
4011 * config/libbid/_sd_to_tf.c: Likewise.
4012 * config/libbid/_sd_to_udi.c: Likewise.
4013 * config/libbid/_sd_to_usi.c: Likewise.
4014 * config/libbid/_sd_to_xf.c: Likewise.
4015 * config/libbid/_sf_to_dd.c: Likewise.
4016 * config/libbid/_sf_to_sd.c: Likewise.
4017 * config/libbid/_sf_to_td.c: Likewise.
4018 * config/libbid/_si_to_dd.c: Likewise.
4019 * config/libbid/_si_to_sd.c: Likewise.
4020 * config/libbid/_si_to_td.c: Likewise.
4021 * config/libbid/_td_to_dd.c: Likewise.
4022 * config/libbid/_td_to_df.c: Likewise.
4023 * config/libbid/_td_to_di.c: Likewise.
4024 * config/libbid/_td_to_sd.c: Likewise.
4025 * config/libbid/_td_to_sf.c: Likewise.
4026 * config/libbid/_td_to_si.c: Likewise.
4027 * config/libbid/_td_to_tf.c: Likewise.
4028 * config/libbid/_td_to_udi.c: Likewise.
4029 * config/libbid/_td_to_usi.c: Likewise.
4030 * config/libbid/_td_to_xf.c: Likewise.
4031 * config/libbid/_tf_to_dd.c: Likewise.
4032 * config/libbid/_tf_to_sd.c: Likewise.
4033 * config/libbid/_tf_to_td.c: Likewise.
4034 * config/libbid/_udi_to_dd.c: Likewise.
4035 * config/libbid/_udi_to_sd.c: Likewise.
4036 * config/libbid/_udi_to_td.c: Likewise.
4037 * config/libbid/_unord_dd.c: Likewise.
4038 * config/libbid/_unord_sd.c: Likewise.
4039 * config/libbid/_unord_td.c: Likewise.
4040 * config/libbid/_usi_to_dd.c: Likewise.
4041 * config/libbid/_usi_to_sd.c: Likewise.
4042 * config/libbid/_usi_to_td.c: Likewise.
4043 * config/libbid/_xf_to_dd.c: Likewise.
4044 * config/libbid/_xf_to_sd.c: Likewise.
4045 * config/libbid/_xf_to_td.c: Likewise.
4046 * config/libbid/bid128.c: Likewise.
4047 * config/libbid/bid128_2_str.h: Likewise.
4048 * config/libbid/bid128_2_str_macros.h: Likewise.
4049 * config/libbid/bid128_2_str_tables.c: Likewise.
4050 * config/libbid/bid128_add.c: Likewise.
4051 * config/libbid/bid128_compare.c: Likewise.
4052 * config/libbid/bid128_div.c: Likewise.
4053 * config/libbid/bid128_fma.c: Likewise.
4054 * config/libbid/bid128_logb.c: Likewise.
4055 * config/libbid/bid128_minmax.c: Likewise.
4056 * config/libbid/bid128_mul.c: Likewise.
4057 * config/libbid/bid128_next.c: Likewise.
4058 * config/libbid/bid128_noncomp.c: Likewise.
4059 * config/libbid/bid128_quantize.c: Likewise.
4060 * config/libbid/bid128_rem.c: Likewise.
4061 * config/libbid/bid128_round_integral.c: Likewise.
4062 * config/libbid/bid128_scalb.c: Likewise.
4063 * config/libbid/bid128_sqrt.c: Likewise.
4064 * config/libbid/bid128_string.c: Likewise.
4065 * config/libbid/bid128_to_int16.c: Likewise.
4066 * config/libbid/bid128_to_int32.c: Likewise.
4067 * config/libbid/bid128_to_int64.c: Likewise.
4068 * config/libbid/bid128_to_int8.c: Likewise.
4069 * config/libbid/bid128_to_uint16.c: Likewise.
4070 * config/libbid/bid128_to_uint32.c: Likewise.
4071 * config/libbid/bid128_to_uint64.c: Likewise.
4072 * config/libbid/bid128_to_uint8.c: Likewise.
4073 * config/libbid/bid32_to_bid128.c: Likewise.
4074 * config/libbid/bid32_to_bid64.c: Likewise.
4075 * config/libbid/bid64_add.c: Likewise.
4076 * config/libbid/bid64_compare.c: Likewise.
4077 * config/libbid/bid64_div.c: Likewise.
4078 * config/libbid/bid64_fma.c: Likewise.
4079 * config/libbid/bid64_logb.c: Likewise.
4080 * config/libbid/bid64_minmax.c: Likewise.
4081 * config/libbid/bid64_mul.c: Likewise.
4082 * config/libbid/bid64_next.c: Likewise.
4083 * config/libbid/bid64_noncomp.c: Likewise.
4084 * config/libbid/bid64_quantize.c: Likewise.
4085 * config/libbid/bid64_rem.c: Likewise.
4086 * config/libbid/bid64_round_integral.c: Likewise.
4087 * config/libbid/bid64_scalb.c: Likewise.
4088 * config/libbid/bid64_sqrt.c: Likewise.
4089 * config/libbid/bid64_string.c: Likewise.
4090 * config/libbid/bid64_to_bid128.c: Likewise.
4091 * config/libbid/bid64_to_int16.c: Likewise.
4092 * config/libbid/bid64_to_int32.c: Likewise.
4093 * config/libbid/bid64_to_int64.c: Likewise.
4094 * config/libbid/bid64_to_int8.c: Likewise.
4095 * config/libbid/bid64_to_uint16.c: Likewise.
4096 * config/libbid/bid64_to_uint32.c: Likewise.
4097 * config/libbid/bid64_to_uint64.c: Likewise.
4098 * config/libbid/bid64_to_uint8.c: Likewise.
4099 * config/libbid/bid_b2d.h: Likewise.
4100 * config/libbid/bid_binarydecimal.c: Likewise.
4101 * config/libbid/bid_conf.h: Likewise.
4102 * config/libbid/bid_convert_data.c: Likewise.
4103 * config/libbid/bid_decimal_data.c: Likewise.
4104 * config/libbid/bid_decimal_globals.c: Likewise.
4105 * config/libbid/bid_div_macros.h: Likewise.
4106 * config/libbid/bid_dpd.c: Likewise.
4107 * config/libbid/bid_flag_operations.c: Likewise.
4108 * config/libbid/bid_from_int.c: Likewise.
4109 * config/libbid/bid_functions.h: Likewise.
4110 * config/libbid/bid_gcc_intrinsics.h: Likewise.
4111 * config/libbid/bid_inline_add.h: Likewise.
4112 * config/libbid/bid_internal.h: Likewise.
4113 * config/libbid/bid_round.c: Likewise.
4114 * config/libbid/bid_sqrt_macros.h: Likewise.
4115
41162009-04-09 Jakub Jelinek <jakub@redhat.com>
4117
4118 * Makefile.in: Change copyright header to refer to version
4119 3 of the GNU General Public License and to point readers at the
4120 COPYING3 file and the FSF's license web page.
4121 * config.host: Likewise.
4122
633dd061
AM
41232009-04-07 Alan Modra <amodra@bigpond.net.au>
4124
4125 * config.host: Reorder and merge to match config.gcc change.
4126
457d1d00
AM
41272009-04-03 Alan Modra <amodra@bigpond.net.au>
4128
4129 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
4130
52c0e446
JM
41312009-03-28 Joseph Myers <joseph@codesourcery.com>
4132
4133 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
4134 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
4135 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
4136 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
4137
ba181049
UB
41382009-02-12 Uros Bizjak <ubizjak@gmail.com>
4139
4140 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
4141 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
4142
c252db20
L
41432009-02-12 H.J. Lu <hongjiu.lu@intel.com>
4144
ba181049
UB
4145 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
4146 ia64/t-softfp-compat to tmake_file.
c252db20
L
4147
4148 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
4149
4150 * config/ia64/__divxf3.asm: New.
4151 * config/ia64/_fixtfdi.asm: Likewise.
4152 * config/ia64/_fixunstfdi.asm: Likewise.
4153 * config/ia64/_floatditf.asm: Likewise.
4154 * config/ia64/t-fprules-softfp: Likewise.
4155 * config/ia64/t-softfp-compat: Likewise.
4156 * config/ia64/tf-signs.c: Likewise.
4157
c60535f9
BE
41582009-01-18 Ben Elliston <bje@au.ibm.com>
4159
4160 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
4161
ce16861e
BE
41622009-01-16 Ben Elliston <bje@au.ibm.com>
4163
4164 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
4165 to tmake_file.
4166
bcf4713b
BE
41672009-01-13 Ben Elliston <bje@au.ibm.com>
4168
4169 * config/t-softfp: New file.
4170 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
4171 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
4172
2042cb04
JS
41732009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
4174
4175 * config.host: Add m32r*-*-rtems*.
4176
541ed00e
JS
41772008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
4178
4179 * config.host: Add m32c*-*-rtems*.
4180
19523300
RO
41812008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4182
4183 PR bootstrap/33100
4184 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
4185 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
4186 * configure: Regenerate.
4187 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
4188 tmake_file here from gcc/config.gcc.
4189 Move extra_parts here from gcc/config.gcc.
4190 * config/i386/t-sol2: Move here from gcc/config/i386.
4191 Use gcc_srcdir instead of srcdir.
4192
0a4a51c7
AN
41932008-11-18 Adam Nemet <anemet@caviumnetworks.com>
4194
4195 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
4196 case.
4197
2a761e46
TS
41982008-11-09 Thomas Schwinge <tschwinge@gnu.org>
4199
4200 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
4201
c0451df7
TS
42022008-10-08 Thomas Schwinge <tschwinge@gnu.org>
4203
4204 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
4205
358da97e
HS
42062008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
4207
4208 Add picoChip port.
4209 * config.host: Add picochip-*-*.
4210
c660f132
BW
42112008-08-06 Bob Wilson <bob.wilson@acm.org>
4212
4213 * config.host: Match more processor names for Xtensa.
4214
d1349557
L
42152008-07-08 H.J. Lu <hongjiu.lu@intel.com>
4216
4217 * config/i386/64/t-softfp-compat: Update comments.
4218
dd7b73c0
L
42192008-07-07 H.J. Lu <hongjiu.lu@intel.com>
4220
4221 * config/i386/64/_divtc3-compat.c: Moved to ...
4222 * config/i386/64/_divtc3.c: Here.
4223
4224 * config/i386/64/_multc3-compat.c: Moved to ...
4225 * config/i386/64/_multc3.c: Here.
4226
4227 * config/i386/64/_powitf2-compat.c: Moved to ...
4228 * config/i386/64/_powitf2.c: Here.
4229
4230 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
4231 .c suffix instead of -compat.c.
4232
6e1fab3d
UB
42332008-07-05 Uros Bizjak <ubizjak@gmail.com>
4234
4235 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
4236 (_FP_MUL_MEAT_D): Ditto.
4237 (_FP_DIV_MEAT_S): Ditto.
4238 (_FP_DIV_MEAT_D): Ditto.
4239
f92518d7
RS
42402008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
4241
4242 * Makefile.in: Add support for __sync_* libgcc functions.
4243
d0aede14
L
42442008-07-03 H.J. Lu <hongjiu.lu@intel.com>
4245
4246 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
4247
c174f11c
L
42482008-07-02 H.J. Lu <hongjiu.lu@intel.com>
4249
4250 PR boostrap/36702
4251 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
4252 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
4253
4254 * config/i386/64/t-fprules-softfp: Moved to ...
4255 * config/i386/64/t-softfp-compat: This. New.
4256
5f464fa2
UB
42572008-07-02 Uros Bizjak <ubizjak@gmail.com>
4258
4259 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
4260 Initialize f with 0.0.
4261
ff473280
L
42622008-07-02 H.J. Lu <hongjiu.lu@intel.com>
4263
4264 PR target/36669
4265 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
4266
4267 * config/i386/64/_divtc3-compat.c: New.
4268 * config/i386/64/_multc3-compat.c: Likewise.
4269 * config/i386/64/_powitf2-compat.c: Likewise.
4270 * config/i386/64/eqtf2.c: Likewise.
4271 * config/i386/64/getf2.c: Likewise.
4272 * config/i386/64/letf2.c: Likewise.
4273 * config/i386/64/t-fprules-softfp: Likewise.
4274
42752008-07-02 H.J. Lu <hongjiu.lu@intel.com>
4276
4277 * config.host: Add i386/${host_address}/t-fprules-softfp to
4278 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
dfb3b0e3 4279 i[34567]86-*-linux*, x86_64-*-linux*.
ff473280
L
4280
4281 * configure.ac: Set host_address to 64 or 32 for x86.
4282 * configure: Regenerated.
4283
4284 * Makefile.in (config.status): Also depend on
4285 $(srcdir)/config.host.
4286
4287 * config/i386/32/t-fprules-softfp: New.
4288 * config/i386/32/tf-signs.c: Likewise.
4289
4290 * config/i386/64/sfp-machine.h: New. Moved from gcc.
4291
42922008-07-02 H.J. Lu <hongjiu.lu@intel.com>
4293 Uros Bizjak <ubizjak@gmail.com>
4294
4295 * config/i386/32/sfp-machine.h: New.
4296
30551d99
NF
42972008-06-26 Nathan Froyd <froydnj@codesourcery.com>
4298
4299 * config/rs6000/t-ppccomm: Remove rules that conflict with
4300 auto-generated rules.
4301
18c04407
RW
43022008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4303
4304 * configure.ac: sinclude override.m4.
4305 * configure: Regenerate.
4306
10fbe77a
BRF
43072008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
4308
4309 * configure: Regenerate.
4310
bc6d4c3f
JM
43112008-06-10 Joseph Myers <joseph@codesourcery.com>
4312
4313 * Makefile.in (DECNUMINC): Remove
4314 -I$(MULTIBUILDTOP)../../libdecnumber.
4315 * gstdint.h: New.
4316
cd985f66
JM
43172008-06-07 Joseph Myers <joseph@codesourcery.com>
4318
4319 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
4320 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
4321 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
4322 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
4323 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
4324 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
4325 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
4326 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
4327 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
4328 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
4329 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
4330 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
4331 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
4332 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
4333
93fea8d3
AL
43342008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
4335
4336 * config.host (sh2[lbe]*-*-linux*): Allow target.
4337
18724e30
NF
43382008-04-30 Nathan Froyd <froydnj@codesourcery.com>
4339
4340 * config/rs6000/t-ppccomm: Add build rules for new files.
4341 (LIB2ADD_ST): New variable.
4342
47583040
AH
43432008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
4344
4345 PR target/34210
4346 PR target/35508
4347 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
4348 * config/t-avr: New file. Build 16bit libgcc functions.
4349
cf8e67fe
JJ
43502008-03-02 Jakub Jelinek <jakub@redhat.com>
4351
4352 PR target/35401
4353 * config/t-slibgcc-darwin: Make install-leaf dependent on
4354 install-darwin-libgcc-stubs instead of install.
4355
8d8da227
JM
43562008-01-25 Joseph Myers <joseph@codesourcery.com>
4357
4358 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
4359 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
4360 sh-*-rtemscoff*): Remove cases.
4361
edbf8b16
RS
43622007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
4363
4364 * Makefile.in (all): Use install-leaf rather than install.
4365 (install): Split most of the rule into...
4366 (install-leaf): ...this new one.
4367
89deeaff
EK
43682007-12-19 Etsushi Kato <ek.kato@gmail.com>
4369 Paolo Bonzini <bonzini@gnu.org>
4370
4371 PR target/30572
5f464fa2
UB
4372 * Makefile.in: Use @shlib_slibdir@ substitution to get
4373 correct install name on darwin.
89deeaff 4374 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
dfb3b0e3 4375
4081d704
HPN
43762007-12-15 Hans-Peter Nilsson <hp@axis.com>
4377
4378 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
4379 cris-*-elf and cris-*-none.
4380 (crisv32-*-linux*): Similar, as cris-*-linux*.
4381
f43e89a3
RIL
43822007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
4383
4384 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
4385
b4e9c2c6
L
43862007-10-27 H.J. Lu <hongjiu.lu@intel.com>
4387
4388 PR regression/33926
4389 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
4390 * configure: Regenerated.
4391
b2a00c89
L
43922007-09-27 H.J. Lu <hongjiu.lu@intel.com>
4393
4394 * Makefile.in (dfp-filenames): Replace decimal_globals,
4395 decimal_data, binarydecimal and convert_data with
4396 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
4397 and bid_convert_data, respectively.
4398
8d2a9e0e
CF
43992007-09-17 Chao-ying Fu <fu@mips.com>
4400 Nigel Stephens <nigel@mips.com>
4401
4402 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
4403 * Makefile.in (fixed_point): Define.
4404 Check if fixed_point is yes to build support functions.
4405 * configure.ac: Check for fixed_point support.
4406 * configure: Regenerated.
4407 * gen-fixed.sh: New file to generate lists of fixed-point labels,
4408 funcs, modes, from, to.
4409
2b53935d
JJ
44102007-09-11 Janis Johnson <janis187@us.ibm.com
4411
4412 * Makefile.in (dfp-filenames): Add bid128_noncomp.
4413
2533577f
JJ
44142007-09-10 Janis Johnson <janis187@us.ibm.com>
4415
4416 * Makefile.in (dfp-filenames): Remove decUtility, add
4417 decDouble, decPacked, decQuad, decSingle.
4418
3ae3dbd6
HK
44192007-08-27 Hans Kester <hans.kester@ellips.nl>
4420
4421 * config.host : Add x86_64-elf target.
4422
22867d02
L
44232007-07-06 H.J. Lu <hongjiu.lu@intel.com>
4424
4425 * configure.ac (set_have_cc_tls): Add a missing =.
4426 * configure: Regenerated.
4427
6f461e76
L
44282007-07-06 H.J. Lu <hongjiu.lu@intel.com>
4429
4430 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
4431 and x86_64-*-linux*.
4432
4433 * config/t-tls: New file.
4434
dfb3b0e3 4435 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6f461e76
L
4436
4437 * configure.ac: Include ../config/enable.m4 and
4438 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
4439 supports TLS and substitute set_have_cc_tls.
4440 * configure: Regenerated.
4441
200359e8
L
44422007-07-04 H.J. Lu <hongjiu.lu@intel.com>
4443
4444 * Makefile.in: Use libbid for DFP when BID is enabled.
4445
76f5e200
DS
44462007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
4447
4448 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
dfb3b0e3 4449 extra_parts. Add config/i386/t-cygming to tmake_file.
76f5e200
DS
4450 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
4451
9bd196f0 44522007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
200359e8 4453 Danny Smith <dannysmith@users.sourceforge.net>
9bd196f0
ZM
4454
4455 PR target/29498
4456 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
4457 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
4458 * config/i386/t-crtfm: Compile crtfastmath.o with
4459 -minline-all-stringops.
4460
1910440e
RS
44612007-05-10 Richard Sandiford <richard@codesourcery.com>
4462
4463 * config.host (sparc-wrs-vxworks): New target.
4464
7d33c31d
KH
44652007-04-14 Kazu Hirata <kazu@codesourcery.com>
4466
4467 * config.host: Recognize fido.
4468
96fccd0d
JJ
44692007-04-04 Janis Johnson <janis187@us.ibm.com>
4470
4471 * configure: Check host, not target, for decimal float support.
4472
577565f9
UB
44732007-04-03 Uros Bizjak <ubizjak@gmail.com>
4474
4475 * config/i386/t-crtpc: New file.
4476 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5f464fa2 4477 (x86_64-*-linux*): Ditto.
577565f9 4478
ccf8e764
RH
44792007-02-30 Kai Tietz <kai.tietz@onevision.com>
4480
4481 * config.host (x86_64-*-mingw*): New target.
4482
79b87c74
MM
44832007-03-23 Michael Meissner <michael.meissner@amd.com>
4484 H.J. Lu <hongjiu.lu@intel.com>
4485
4486 * Makefile.in (enable_decimal_float): New.
4487 (DECNUMINC): Add
4488 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
4489 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
4490 (decbits-filenames): This.
4491 (decbits-objects): New.
4492 (libgcc-objects): Add $(decbits-objects).
4493
4494 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
4495 Substitute enable_decimal_float.
4496 * configure: Regenerated.
4497
8fce4e31
HPN
44982007-03-19 Hans-Peter Nilsson <hp@axis.com>
4499
4500 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
4501
e8bb4597
BM
45022007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
4503
4504 * Makefile.in (install-info): New dummy target.
4505
344189f9
BS
45062007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
4507
4508 * config.host (bfin*-linux-uclibc*): Set extra_parts.
4509
ac84c172
BM
45102007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
4511
4512 * Makefile.in: Add install-html and install-pdf dummy
4513 targets.
4514
cd5c2357
RS
45152007-02-05 Roger Sayle <roger@eyesopen.com>
4516 Daniel Jacobowitz <dan@codesourcery.com>
4517
4518 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
4519 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
4520 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
4521
d9a66f98
JJ
45222007-01-29 Janis Johnson <janis187@us.ibm.com>
4523
4524 * Makefile.in (dec-filenames): Add decExcept.
4525
9891ec5f
DJ
45262007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
4527
4528 PR bootstrap/30469
4529 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
4530 -fprofile-use.
4531
d6efbf5a
DJ
45322007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
4533
4534 * configure.ac: Add --enable-version-specific-runtime-libs.
4535 Correct $slibdir default.
4536 * configure: Regenerated.
4537
17caeff2
JM
45382007-01-23 Joseph Myers <joseph@codesourcery.com>
4539
4540 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
4541
5ea41e3a
AP
45422007-01-21 Andrew Pinski <pinskia@gmail.com>
4543
4544 PR target/30519
4545 * config.host (alpha*-*-linux*): Set extra_parts.
4546
26900826
KK
45472007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
4548
4549 * config/sh/t-linux: New.
4550 * config.host (sh*-*-linux*): Set tmake_file.
4551
97af925b
DJ
45522007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
4553
4554 * Makefile.in (install): Handle multilibs.
4555
b0088af7
BM
45562007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
4557
4558 * Makefile.in: Added .PHONY entry for documentation targets.
4559
e0a9456a
BM
45602007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
4561
4562 * Makefile.in: Add empty info, html, dvi, pdf targets.
4563
7fd453b4
MS
45642007-01-04 Mike Stump <mrs@apple.com>
4565
4566 * Makefile.in (MAKEINFO): Remove.
4567 (PERL): Likewise.
4568
14e8fc8b
PB
45692007-01-04 Paolo Bonzini <bonzini@gnu.org>
4570
4571 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
4572 * configure: Regenerate.
4573 * Makefile.in (host_subdir): Substitute it.
dfb3b0e3 4574 (gcc_objdir): Use it.
14e8fc8b 4575
1555beba
DJ
45762007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
4577
4578 * config.host (ia64*-*-linux*): Set tmake_file.
4579
79e6eaeb
DJ
45802007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
4581
4582 * Makefile.in (version): Define.
4583
fa958513
DJ
45842007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
4585 Paolo Bonzini <bonzini@gnu.org>
4586
4587 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
4588 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
4589 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
4590 config/sparc/t-crtfm, config/t-slibgcc-darwin,
4591 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
4592 shared-object.mk, siditi-object.mk, static-object.mk: New files.
4593 * configure: Generated.