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