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