]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
syscall: fix creds_test to reliably close os.File
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
43a8f1a1
RC
12012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
2
3 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
4
76c78361
RC
52012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
6
7 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
8
6f288860
SH
92012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
10
11 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
12 tmake_file.
13
1e3d5096
IB
142012-10-23 Ian Bolton <ian.bolton@arm.com>
15 Jim MacArthur <jim.macarthur@arm.com>
16 Marcus Shawcroft <marcus.shawcroft@arm.com>
17 Nigel Stephens <nigel.stephens@arm.com>
18 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
19 Richard Earnshaw <rearnsha@arm.com>
20 Sofiane Naci <sofiane.naci@arm.com>
21 Stephen Thomas <stephen.thomas@arm.com>
22 Tejas Belagod <tejas.belagod@arm.com>
23 Yufeng Zhang <yufeng.zhang@arm.com>
24
25 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
26 * config/aarch64/crti.S: New file.
27 * config/aarch64/crtn.S: New file.
28 * config/aarch64/linux-unwind.h: New file.
29 * config/aarch64/sfp-machine.h: New file.
30 * config/aarch64/sync-cache.c: New file.
31 * config/aarch64/t-aarch64: New file.
32 * config/aarch64/t-softfp: New file.
33
8a740f07
HPN
342012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
35
36 * config/mmix/crti.S: Mark program and data addresses using PRELD.
37 Remove typo'd and unnecessary alignment-LOC for .data. Remove
38 no-longer-needed LDBU insns.
39
153c8397
SH
402012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
41
42 * config.host
43 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
44 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
45
595fefee
MGD
462012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
47
48 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
49
9945a876
MK
502012-10-15 Matthias Klose <doko@ubuntu.com>
51
52 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
53
1183dc2c
PC
542012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
55
56 * configure: Regenerate.
57 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
58
945a9c1f
UB
592012-10-10 Uros Bizjak <ubizjak@gmail.com>
60
61 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
62 instructions for 64bit targets only.
63
fb8bf47a
UB
642012-10-10 Uros Bizjak <ubizjak@gmail.com>
65
66 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
67 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
68 * config/i386/32/sfp-machine.h: ... here.
69 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
70 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
71 New defines.
72
acb72498
MK
732012-10-07 Matthias Klose <doko@ubuntu.com>
74
75 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
76 as unused.
77 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
78
8eaee0f0
MK
792012-10-06 Mark Kettenis <kettenis@openbsd.org>
80
81 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
82 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
83 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
84 (ElfW): Likewise.
85
5e3e4fe8
JW
862012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
87
88 PR other/53889
89 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
90 Fix parameter names.
91
86086376
OE
922012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
93
94 PR target/33135
95 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
96 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
97 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
98
9597375a
OE
992012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
100
101 PR target/50457
102 * config/sh/linux-atomic.S: Delete.
103 * config/sh/linux-atomic.c: New.
104 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
105 linux-atomic.c. Add cflags to disable warnings.
106
1504e3e1
JW
1072012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
108
109 PR other/53889
110 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
111 function.
112 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
113 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
114 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
115 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5e3e4fe8
JW
116 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
117 Likewise.
1504e3e1
JW
118 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
119 Likewise.
120 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
121 Likewise.
122 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
123 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
124
17f293b0
MK
1252012-09-19 Mark Kettenis <kettenis@openbsd.org>
126
9597375a
OE
127 * config.host (hppa-*-openbsd*): New target.
128 * config/pa/t-openbsd: New file.
17f293b0 129
51526856
GJL
1302012-09-15 Georg-Johann Lay <avr@gjlay.de>
131
132 PR target/54222
133 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
134 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
135 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
136 (__divsa3): Use __negsi2 to negate r_quoL.
137 * config/avr/lib1funcs.S (FALIAS): New macro.
138 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
139 (__negsi2): ...this new function.
140 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
141 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
142 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
143 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
144 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
145 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
146
aadb5b43
OE
1472012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
148
149 PR target/54089
150 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
151 (lshrsi3): Reimplement as lshrsi3_r0.
152
d5d66749
AS
1532012-09-10 Andreas Schwab <schwab@linux-m68k.org>
154
155 PR target/46191
156 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
157 of libgcc.a.
158
c6c36e73
TJ
1592012-09-07 Teresa Johnson <tejohnson@google.com>
160
9597375a 161 PR gcov-profile/54487
c6c36e73 162 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9597375a 163 differences.
c6c36e73 164
b588ae30
GJL
1652012-09-05 Georg-Johann Lay <avr@gjlay.de>
166
167 PR target/54461
168 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
169 not configured --with-avrlibc=no.
170 * config/avr/t-avrlibc: New file.
171 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
172 (DPBIT_FUNCS): Ditto.
173 (TPBIT_FUNCS): Ditto.
174
abd16fb1
TJ
1752012-09-04 Teresa Johnson <tejohnson@google.com>
176
177 * libgcov.c (struct gcov_summary_buffer): New structure.
178 (gcov_histogram_insert): New function.
179 (gcov_compute_histogram): Ditto.
180 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
181 histograms during summary merging.
182
613061fd
MK
1832012-09-01 Mark Kettenis <kettenis@openbsd.org>
184
185 * config.host (x86_64-*-openbsd*): New target.
186
867a8345
CLT
1872012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
188
189 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
190 attribute.
191
4aeaaca3
GJL
1922012-08-24 Georg-Johann Lay <avr@gjlay.de>
193
194 PR target/54222
195 * config/avr/t-avr (conv_X): Rename to func_X.
196
e55e4056
GJL
1972012-08-24 Georg-Johann Lay <avr@gjlay.de>
198
199 PR target/54222
200 * config/avr/lib1funcs-fixed.S: New file.
201 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
202 after they are used.
203 (neg2, neg4): New macros.
204 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
205 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
206 (__umulhisi3): Speed up MUL variant if there is enough flash.
207 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
208 avr-modes.def.
209 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
210 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
211 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
212 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
213 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
214 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
215 (LIB2FUNCS_EXCLUDE): Add supported functions.
216
a147b6d2
GJL
2172012-08-22 Georg-Johann Lay <avr@gjlay.de>
218
219 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
220 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
221 libgcc-s-objects.
222 * fixed-obj.mk: Only expand dependency if $o is not in
223 LIB2FUNCS_EXCLUDE.
224
c637141a
L
2252012-08-22 H.J. Lu <hongjiu.lu@intel.com>
226
227 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
228
130e00bd
JM
2292012-08-22 Joseph Myers <joseph@codesourcery.com>
230
231 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
232 depend on --enable-shared.
233 ($(lib1asmfuncs-o)): Use %.vis files independent of
234 --enable-shared.
235 * static-object.mk ($(base)$(objext), $(base).vis)
236 ($(base)_s$(objext)): Use same rules for visibility handling as in
237 shared-object.mk.
238
4b1b3788
ILT
2392012-08-21 Ian Lance Taylor <iant@google.com>
240
241 * config/i386/morestack.S (__morestack_non_split): Increase amount
242 of space allocated for non-split code stack.
243
d2468141
JM
2442012-08-19 Joseph Myers <joseph@codesourcery.com>
245
246 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
247 even if inhibit_libc.
248
a508e1a8
JB
2492012-08-17 Julian Brown <julian@codesourcery.com>
250
251 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
252 -fexceptions -fnon-call-exceptions if not defined.
253 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
254 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
255
5615a07d
AS
2562012-08-17 Andreas Schwab <schwab@linux-m68k.org>
257
258 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
259 type.
260
138f5acd
DE
2612012-08-16 David Edelsohn <dje.gcc@gmail.com>
262
263 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
264 rs6000/t-slibgcc-aix.
265
18efc0dd
SB
2662012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
267
268 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
269
6b39bc38
SB
2702012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
271
272 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
273
cd25dea0
L
2742012-08-03 H.J. Lu <hongjiu.lu@intel.com>
275
276 PR driver/54171
277 * Makefile.in (version): Replace top_srcdir with srcdir.
278
a3dda30b
JY
2792012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
280
281 * Makefile.in (version): set to BASE-VER file from gcc directory.
282
d04aacfc
NC
2832012-08-01 Nick Clifton <nickc@redhat.com>
284
285 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
286 Implements __clrsb for an HImode argument.
287
0d13c974
NC
2882012-07-31 Nick Clifton <nickc@redhat.com>
289
290 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
291 Implements __clrsb for an HImode argument.
292 * config/stormy16/clrsbhi2.c: New file:
293 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
294
efbb59b2
SB
2952012-07-22 Steven Bosscher <steven@gcc.gnu.org>
296
297 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
298
bf1431e3
TG
2992012-07-19 Tristan Gingold <gingold@adacore.com>
300 Richard Henderson <rth@redhat.com>
301
302 * unwind-seh.c: New file.
303 * unwind-generic.h: Include windows.h for SEH.
304 (_Unwind_Exception): Use 6 private fields for SEH.
305 (_GCC_specific_handler): Declare.
306 * unwind-c.c (__gcc_personality_seh0): New function.
307 Adjust for SEH.
308 * config/i386/libgcc-cygming.ver: New file.
309 * config/i386/t-seh-eh: New file.
310 * config.host (x86_64-*-mingw*): Default to seh.
311
659140c8
SB
3122012-07-14 Steven Bosscher <steven@gcc.gnu.org>
313
314 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
315
a20d08fd
UB
3162012-06-17 Uros Bizjak <ubizjak@gmail.com>
317
318 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
319 __builtin_expect when checking for exceptions.
320 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
321
79261115
UB
3222012-06-13 Uros Bizjak <ubizjak@gmail.com>
323
4a172156
UB
324 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
325 function declaration.
326 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
327 (FP_RND_MASK): New.
328 * config/ia64/sfp-exceptions.c: New.
329 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
79261115 330
bb5c97d4
UB
3312012-06-13 Uros Bizjak <ubizjak@gmail.com>
332
333 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
334 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
335 * config/i386/64/sfp-machine: ... (delete here) ...
336 * config/i386/sfp-machine.h: ... to here.
337 (FP_EX_MASK): Remove.
338 (FP_RND_MASK): New.
339 (FP_INIT_ROUNDMODE): Declare asm as volatile.
340
91fe5efb
ST
3412012-06-11 Sriraman Tallam <tmsriram@google.com>
342
343 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
344 * config/i386/libgcc-sol2.ver: Ditto.
345 * config/i386/libgcc-glibc.ver: Ditto.
346
67a218c5
RM
3472012-06-11 Roland McGrath <mcgrathr@google.com>
348
349 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
350 If __GLIBC__ is defined, refer to __pthread_key_create instead of
351 pthread_cancel.
352
492fbea1
UB
3532012-06-09 Uros Bizjak <ubizjak@gmail.com>
354
355 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
356 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
357 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
358 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
359 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
360 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
361 * config/i386/64/sfp-machine: ... (delete here) ...
362 * config/i386/sfp-machine.h: ... to here.
363 (FP_EX_MASK): New.
364 (__sfp_handle_exceptions): New function declaration.
365 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
366 * config/i386/sfp-exceptions.c: New.
367 * config/i386/t-softfp: New.
368 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
369 i386/t-softfp to tmake_file.
370
7b4cf266
DM
3712012-06-03 David S. Miller <davem@davemloft.net>
372
373 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
374 change.
375
0de0d5c6
DM
3762012-05-31 David S. Miller <davem@davemloft.net>
377
378 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
379 multiply and divide instructions on 32-bit when V9.
380 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
381
d8c9d391
JM
3822012-05-29 Joseph Myers <joseph@codesourcery.com>
383
384 * config/arm/ieee754-df.S: Fix typos.
385 * config/arm/ieee754-sf.S: Fix typos.
386 * config/c6x/libunwind.S: Fix typos.
387 * config/epiphany/udivsi3-float.c: Fix typos.
388 * config/microblaze/muldi3_hard.S: Fix typos.
389 * config/picochip/adddi3.S: Fix typos.
390 * config/picochip/ashlsi3.S: Fix typos.
391 * config/picochip/ashrsi3.S: Fix typos.
392 * config/picochip/clzsi2.S: Fix typos.
393 * config/picochip/cmpsi2.S: Fix typos.
394 * config/picochip/divmod15.S: Fix typos.
395 * config/picochip/divmodhi4.S: Fix typos.
396 * config/picochip/divmodsi4.S: Fix typos.
397 * config/picochip/longjmp.S: Fix typos.
398 * config/picochip/lshrsi3.S: Fix typos.
399 * config/picochip/parityhi2.S: Fix typos.
400 * config/picochip/popcounthi2.S: Fix typos.
401 * config/picochip/setjmp.S: Fix typos.
402 * config/picochip/subdi3.S: Fix typos.
403 * config/picochip/ucmpsi2.S: Fix typos.
404 * config/picochip/udivmodhi4.S: Fix typos.
405 * config/picochip/udivmodsi4.S: Fix typos.
406 * config/spu/divv2df3.c: Fix typos.
407 * config/spu/mfc_multi_tag_release.c: Fix typos.
408 * config/spu/mfc_tag_release.c: Fix typos.
409 * configure.ac: Fix typos.
410 * configure: Regenerate.
411
31a18a7e
ILT
4122012-05-25 Ian Lance Taylor <iant@google.com>
413
414 * config/i386/morestack.S (__morestack_non_split): Check whether
415 caller is varargs and needs %bp to hold the stack frame on return.
416
c5768510
OH
4172012-05-25 Olivier Hainque <hainque@adacore.com>
418
419 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
420 sequence in the non pic case on VxWorks.
421
7c7c339b
OH
4222012-05-24 Olivier Hainque <hainque@adacore.com>
423
73fb7630 424 * Makefile.in: Move dependency on install-unwind_h from
7c7c339b
OH
425 "install-leaf" to "install".
426
fdc1b7d3
OH
4272012-05-24 Olivier Hainque <hainque@adacore.com>
428
429 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
430 Use a separate command for stamp removals.
431
07ba94b9
AP
4322012-05-21 Andrew Pinski <apinski@cavium.com>
433
434 PR bootstrap/53183
435 * configure.ac: Define the default includes to being none.
436 * configure: Regenerate.
437
4677d2eb
OH
4382012-05-16 Olivier Hainque <hainque@adacore.com>
439
440 * Makefile.in (install-unwind_h): Rename into ...
441 (install-unwind_h-forbuild): New target.
442 (all): Use it instead of the former install-unwind_h.
443 (install-unwind_h): Reinstate, copy to user install destination
444 for include files, not to the internal gcc object directory one.
445 (install-leaf): Depend on it.
446
7d67c380
OH
4472012-05-15 Olivier Hainque <hainque@adacore.com>
448
449 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
450 register numbers. LR_REGNO replaces R_LR.
451 (ucontext_for): New, helper for ...
452 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
453 and 5.3 of ...
454 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
455
aca06c90
RO
4562012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
457
458 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
459 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
460 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
461 i386/t-cpuinfo ...
462 (i[34567]86-*-*, x86_64-*-*): ... here.
463
464 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
465 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
466
467 * config/i386/i386-cpuinfo.c: Rename to ...
468 * config/i386/cpuinfo.c: ... this.
469 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
470
471 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
472 (libgcc_cv_init_priority): New test.
473 * configure: Regenerate.
474 * config.in: New file.
475 * Makefile.in (clean): Rename config.h to auto-target.h.
476 (config.h): Likewise.
477 (stamp-h): Likewise.
478
479 * config/i386/cpuinfo.c (auto-target.h): Include.
480 (CONSTRUCTOR_PRIORITY): Define.
481 (__cpu_indicator_init): Use it.
482
0d03ac1b
L
4832012-05-09 H.J. Lu <hongjiu.lu@intel.com>
484
485 * longlong.h: Use a URL instead of an FSF postal address.
486 Replace spaces with tab.
487
4a172156 4882012-05-08 Teresa Johnson <tejohnson@google.com>
4e8ee9cb
TJ
489
490 * libgcov.c (gcov_clear, __gcov_reset): New functions.
491 (__gcov_dump): Ditto.
492 (gcov_dump_complete): New global variable.
493 (gcov_exit): Export hidden to enable use in L_gcov_dump.
494 (__gcov_flush): Outline functionality now in gcov_clear.
495 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
496
e4bb767e
AJ
4972012-04-28 Aurelien Jarno <aurelien@aurel32.net>
498
31a18a7e
ILT
499 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
500 (mips*-*-linux*): Include mips/t-tpbit when long double is
501 16 bytes long.
e4bb767e 502
5ddecff9
ST
5032012-04-25 Sriraman Tallam <tmsriram@google.com>
504
505 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
506 (get_available_features): New argument. Check for AVX2.
507 (__cpu_indicator_init): Modify call to get_available_features.
508
b427dd7a
AM
5092012-04-25 Alan Modra <amodra@gmail.com>
510
511 * config/rs6000/crtsavevr.S: New file.
512 * config/rs6000/crtrestvr.S: New file.
513 * config/rs6000/t-savresfgpr: Build the above.
514 * config/rs6000/t-netbsd: Likewise.
515
ad491329
ST
5162012-04-24 Sriraman Tallam <tmsriram@google.com>
517
518 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
519
792317cc
ST
5202012-04-24 Sriraman Tallam <tmsriram@google.com>
521
522 * libgcc/config/i386/i386-cpuinfo.c: New file.
523 * libgcc/config/i386/t-cpuinfo: New file.
524 * libgcc/config.host: Include t-cpuinfo.
525 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
526
e1be98a4
CF
5272012-04-24 Chao-ying Fu <fu@mips.com>
528
529 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
530
1bde7dab
TS
5312012-04-20 Thomas Schwinge <thomas@codesourcery.com>
532
533 struct siginfo vs. siginfo_t
534
535 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
536 siginfo_t instead of struct siginfo.
537 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
538 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
539 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
540 (ia64_handle_unwabi): Likewise.
541 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
542 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
543 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
544 (sh_fallback_frame_state): Likewise.
545 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
546 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
547
24590f66
L
5482012-04-02 H.J. Lu <hongjiu.lu@intel.com>
549
550 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
551 system call number.
552
9a9dcce8
EB
5532012-03-31 Eric Botcazou <ebotcazou@adacore.com>
554
555 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
556 if it hasn't been previously saved.
557
6401aaf5
L
5582012-03-29 H.J. Lu <hongjiu.lu@intel.com>
559
560 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
561 only for glibc.
562
7fd6378e
GJL
5632012-03-28 Georg-Johann Lay <avr@gjlay.de>
564
565 PR target/52737
566 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
567 instead of __AVR_HAVE_8BIT_SP__.
568
9e916de7
TG
5692012-03-26 Tristan Gingold <gingold@adacore.com>
570
571 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
572 (unw_table_entry): Use unw_word instead of unsigned long.
573 (_Unwind_FindTableEntry): Likewise.
574 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
575 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
576 (_Unwind_FindTableEntry): Likewise.
577 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
578 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
579 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
580 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
581 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
582 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
583 (uw_init_context_1, uw_install_context): Likewise.
584 (unw_word): Move to unwind-ia64.h
585
4b12e93d
TG
5862012-03-26 Tristan Gingold <gingold@adacore.com>
587
588 * config/vms/vms-ucrt0.c: Update copyright years.
589 Add a sanity check.
590 (___gcc_main_flags): Declare.
591 (__main): Check flags to remap argv and exit code.
592 * config.host (*-*-*vms*): Adjust extra_parts.
593 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
594 (crt0.o): Add.
595
06ea7371
RE
5962012-03-22 Richard Earnshaw <rearnsha@arm.com>
597
598 * arm/lib1funcs.asm (ctzsi2): New function.
599 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
600 * arm/t-linux (LIB1ASMFUNCS): Likewise.
601 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
602 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
603 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
604 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
605
d82ad50d
AT
6062012-03-21 Andreas Tobler <andreast@fgznet.ch>
607
608 * config.host: Add bits to support powerpc64-*-freebsd*.
609 * config/rs6000/freebsd-unwind.h: New file.
610 * config/rs6000/t-freebsd64: New file.
611
b260a8c0
RG
6122012-03-20 Richard Guenther <rguenther@suse.de>
613
614 PR gcov-profile/52627
615 * libgcov.c (init_mx): Fix mutex name.
616
86286a8a
TG
6172012-03-16 Tristan Gingold <gingold@adacore.com>
618
619 * config/ia64/vms-unwind.h: Remove ulong (and replace
620 it by unw_reg where used). Define unw_reg with __int64.
621
7888f266
RO
6222012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
623
624 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
625 Solaris 8 handling.
626 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
627 Solaris 8 handling.
628 (sparc_is_sighandler): Likewise.
629
f155bc64
L
6302012-03-13 H.J. Lu <hongjiu.lu@intel.com>
631
632 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
633 <= saved reg size.
634
d47657bd
RO
6352012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
636
637 * config/arm/crtn.S: Fix typo.
638
5bef73a1
RG
6392012-03-13 Richard Guenther <rguenther@suse.de>
640
641 * libgcov.c: Remove stdio.h include and NULL un-define.
642
9c4271f3
RG
6432012-03-13 Richard Guenther <rguenther@suse.de>
644
645 PR target/52569
646 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
647
c6d10e7c
RG
6482012-03-13 Richard Guenther <rguenther@suse.de>
649
650 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
651
074a385f
RG
6522012-03-13 Richard Guenther <rguenther@suse.de>
653
654 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
655 and __gthread_mutex_init_function definitions.
656
c4bc5c25
RO
6572012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
658
659 * config.host (mips*-*-openbsd*): Remove.
660
5c30094f
RO
6612012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
662
663 * config.host: Remove alpha*-dec-osf5.1* handling.
664 * config/alpha/gthr-posix.c: Remove.
665 * config/alpha/libgcc-osf5.ver: Remove.
666 * config/alpha/osf5-unwind.h: Remove.
667 * config/alpha/t-osf-pthread: Remove.
668 * config/alpha/t-slibgcc-osf: Remove.
669 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
670 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
671 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
672 * mkmap-flat.awk: Remove osf_export handling.
673
33e3e24d
RG
6742012-03-12 Richard Guenther <rguenther@suse.de>
675
676 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
677 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
678 (__gthread_mutex_init_function): New function.
679 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
680
681 PR gcov/49484
682 * libgcov.c: Include gthr.h.
683 (__gcov_flush_mx): New global variable.
684 (init_mx, init_mx_once): New functions.
685 (__gcov_flush): Protect self with a mutex.
686 (__gcov_fork): Re-initialize mutex after forking.
687 * unwind-dw2-fde.c: Change condition under which to use
688 __GTHREAD_MUTEX_INIT_FUNCTION.
689
d8aba32a
TG
6902012-03-12 Tristan Gingold <gingold@adacore.com>
691
692 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
693 * config/ia64/t-vms: Likewise.
694
75ffafdc
MH
6952012-03-11 Michael Hope <michael.hope@linaro.org>
696
4a172156
UB
697 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
698 for Thumb-2.
75ffafdc 699
ef6c2c53
WL
7002012-03-07 Walter Lee <walt@tilera.com>
701
702 * config/tilepro/atomic.c: Rename "atomic_" prefix to
703 "arch_atomic_".
704 (atomic_xor): Rename and move definition to
705 config/tilepro/atomic.h.
706 (atomic_nand): Ditto.
707 * config/tilepro/atomic.h: Rename "atomic_" prefix to
708 "arch_atomic_".
709 (arch_atomic_xor): Move from config/tilepro/atomic.c.
710 (arch_atomic_nand): Ditto.
711
4e30d980
GJL
7122012-03-07 Georg-Johann Lay <avr@gjlay.de>
713
714 PR target/52507
715 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
716
61108225
GJL
7172012-03-07 Georg-Johann Lay <avr@gjlay.de>
718
719 PR target/52505
720 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
721 from RAM.
722
b30e10ab
GJL
7232012-03-07 Georg-Johann Lay <avr@gjlay.de>
724
725 PR target/52461
726 PR target/52508
727 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
728 if RAMPZ affects reading from RAM.
729 (__tablejump_elpm__): Ditto.
730 (.xload): Ditto.
731 (__movmemx_hi): Ditto.
732 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
733 (__do_global_dtors): Ditto.
734 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
735 (__movmemx_hi): Ditto.
736
8993fde4
RH
7372012-03-05 Richard Henderson <rth@redhat.com>
738
739 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
740 [ARM] (count_trailing_zeros): Use the builtin.
741
b7633ee3
KT
7422012-03-01 Kai Tietz <ktietz@redhat.com>
743
744 * soft-fp: Imported from glibc upstream.
745
fbd3340c
KT
7462012-02-28 Kai Tietz <ktietz@redhat.com>
747
748 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
749 for mingw-targets as attribute gcc_struct.
750
e9e053eb
ILT
7512012-02-28 Ian Lance Taylor <iant@google.com>
752
753 * generic-morestack.c (__splitstack_releasecontext): Correct call
754 to __morestack_release_segments.
755
d80c632e
ST
7562012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
757
758 PR target/52390
759 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
760 for __linux__ when removing signals from __morestack_fullmask.
761
0253a8b1
GJL
7622012-02-23 Georg-Johann Lay <avr@gjlay.de>
763
764 PR target/52261
765 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
766
e10e461e
UW
7672012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
768
769 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
770 instead of HAVE_INITFINI_ARRAY.
771 * config/ia64/crtend.S: Likewise.
772
0c0c6398
KT
7732012-02-20 Kai Tietz <ktietz@redhat.com>
774
d7470374
KT
775 PR libstdc++/52300
776 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
777
0c0c6398
KT
778 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
779 to w32-unwind.h header.
780
78c27266
RS
7812012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
782
783 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
784 (mips*-*-linux*): Remove t-slibgcc-libgcc.
785 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
786 * config/mips/mips16.S (__mips16_rdhwr): Delete.
787
5adeb246
RS
7882012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
789
790 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
791
672ed313
IS
7922012-02-15 Iain Sandoe <iains@gcc.gnu.org>
793
794 PR libitm/52220
795 * config/darwin-crt-tm.c: Correct typo.
e9e053eb 796
e948a1fb
IS
7972012-02-15 Iain Sandoe <iains@gcc.gnu.org>
798 Patrick Marlier <patrick.marlier@gmail.com>
799
800 PR libitm/52220
801 * config/darwin-crt-tm.c: Generate dummy functions.
802
6017aed3
IS
8032012-02-15 Iain Sandoe <iains@gcc.gnu.org>
804 Patrick Marlier <patrick.marlier@gmail.com>
805
806 PR libitm/52042
807 * config/darwin-crt-tm.c (getTMCloneTable): New function.
808 (__doTMRegistrations): Call it.
e9e053eb 809 (__doTMdeRegistrations): Likewise.
6017aed3 810
2da8c1ad
GJL
8112012-01-15 Georg-Johann Lay <avr@gjlay.de>
812 Anatoly Sokolov <aesok@post.ru>
813 Eric Weddington <eric.weddington@atmel.com>
814
815 PR target/52261
816 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
817 (__epilogue_restores__): Ditto.
818
0f952eb4
EB
8192012-02-15 Eric Botcazou <ebotcazou@adacore.com>
820
821 PR target/51921
822 PR target/52205
823 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
824 Solaris 11 and slightly reformat.
825 (sparc_is_sighandler): Likewise.
826
dd552284
WL
8272012-02-14 Walter Lee <walt@tilera.com>
828
829 * config.host: Handle tilegx and tilepro.
830 * config/tilegx/sfp-machine.h: New file.
831 * config/tilegx/sfp-machine32.h: New file.
832 * config/tilegx/sfp-machine64.h: New file.
833 * config/tilegx/t-crtstuff: New file.
834 * config/tilegx/t-softfp: New file.
835 * config/tilegx/t-tilegx: New file.
836 * config/tilepro/atomic.c: New file.
837 * config/tilepro/atomic.h: New file.
838 * config/tilepro/linux-unwind.h: New file.
839 * config/tilepro/sfp-machine.h: New file.
840 * config/tilepro/softdivide.c: New file.
841 * config/tilepro/softmpy.S: New file.
842 * config/tilepro/t-crtstuff: New file.
843 * config/tilepro/t-tilepro: New file.
844
b59cbd50
JW
8452012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
846
847 PR libstdc++/51296
848 PR libstdc++/51906
849 * gthr-posix.h: Allow static initializer macros to be disabled.
850 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
851
6caf807f
CLT
8522012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
853
854 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
855 Add t-slibgcc-libgcc to tmake_file.
856 * config/mips/libgcc-mips16.ver: Revert previous patch.
857 * config/mips/mips16.S (__mips16_rdhwr): Hide.
858
b25364a0
S
8592012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
860 Jayant R Sonar <jayant.sonar@kpitcummins.com>
861
862 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
863 * config/cr16/crti.S: New file.
864 * config/cr16/crtlibid.S: New file.
865 * config/cr16/crtn.S: New file.
866 * config/cr16/lib1funcs.S: New file.
867 * config/cr16/t-cr16: New file.
868 * config/cr16/t-crtlibid: New file.
869 * config/cr16/unwind-dw2.h: New file.
870 * config/cr16/unwind-cr16.c: New file.
871 * config/cr16/divmodhi3.c: New file.
872
8ef03aa7
AM
8732012-01-25 Alan Modra <amodra@gmail.com>
874
875 * config/rs6000/t-linux64: Delete. Move..
876 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
877 * config/rs6000/t-linux: ..and libgcc flags to here.
878
daecebc8
DR
8792012-01-22 Douglas B Rupp <rupp@gnat.com>
880
881 * config.host (i[34567]86-*-interix3*):
8ef03aa7 882 Change triplet to i[34567]86-*-interix[3-9]*.
daecebc8
DR
883 * configure: Regenerate.
884
ddaf8125
RS
8852012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
886 Richard Sandiford <rdsandiford@googlemail.com>
887
888 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
889 * config/mips/mips16.S (__mips16_rdhwr): New function.
890 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
891
2cd8b32c
NS
8922012-01-11 Nathan Sidwell <nathan@acm.org>
893
894 * libgcov.c (__gcov_init): Ignore objects with no functions.
895
cba300dd
GJL
8962012-01-10 Georg-Johann Lay <avr@gjlay.de>
897
898 PR target/49868
899 Extend __pgmx semantics to linearize memory.
900 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
901 * config/avr/lib1funcs.S (__xload_1): New function.
902 (__movmemx_qi, __movmemx_hi): New functions.
903 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
904 semantics.
9ffaf4bc 905
3d137660
EB
9062012-01-09 Eric Botcazou <ebotcazou@adacore.com>
907
908 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
909 purported sigacthandler address isn't null before dereferencing it.
910 (sparc_is_sighandler): Likewise.
911
bf4db96c
EB
9122012-01-09 Eric Botcazou <ebotcazou@adacore.com>
913
914 PR ada/41929
915 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
916 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
917 (sparc_is_sighandler): Likewise.
918 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
919
1ab3568b
TG
9202012-01-06 Tristan Gingold <gingold@adacore.com>
921
922 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
923 compatibility thunks...
924 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
925 (crtbeginS.o, crtendS.o): ... and these to ...
926 * config/ia64/t-ia64-elf: ... this new file.
927 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
928 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
929
925b0ed8
AK
9302012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
931
932 * configure: Regenerate.
933 * config/s390/t-crtstuff: Remove -fPIC.
934
a99ad737
JW
9352012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
936
937 PR bootstrap/51006
938 * enable-execute-stack-mprotect.c (getpagesize): Do not define
939 for NetBSD.
940
884f56d1
GJL
9412012-01-02 Georg-Johann Lay <avr@gjlay.de>
942
943 PR target/51345
944 * config/avr/lib1funcs.S: Remove FIXME comments.
945 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
946
8c57e547
GJL
9472012-01-02 Georg-Johann Lay <avr@gjlay.de>
948
949 Implement light-weight DImode support.
950 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
951 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
952 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
953 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
954
04dbc287
NS
9552011-12-30 Nathan Sidwell <nathan@acm.org>
956
957 * libgcov.c (gcov_crc32): Remove global var.
958 (free_fn_data): New function.
959 (buffer_fn_data): Pass in filename, more robust error recovery.
960 (crc32_unsigned): New function.
961 (gcov_exit): More robust detection of new program. More robust
962 error recovery.
963 (__gcov_init): Do not update program's crc here.
964
8e1d97d4
TG
9652011-12-21 Tristan Gingold <gingold@adacore.com>
966
967 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
968
9ffaf4bc
ILT
9692011-12-21 Ian Lance Taylor <iant@google.com>
970
971 * config/i386/morestack.S: Simplify CFI opcodes throughout.
972
a0c8d0c1
ILT
9732011-12-20 Ian Lance Taylor <iant@google.com>
974
975 * config/i386/morestack.S (__morestack_non_split): If there is
976 enough stack space already, don't split. Ask for more stack space
977 than we required.
978
69048898
SDJ
9792011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
980
981 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
982 `sys/sdt.h'.
983 (_Unwind_DebugHook): New function.
984 (uw_restore_core_regs): New define.
985 (unwind_phase2): Use uw_restore_core_regs instead of
986 restore_core_regs.
987 (unwind_phase2_forced): Likewise.
988 (__gnu_Unwind_Resume): Likewise.
989
1bb4b6a3
UB
9902011-12-20 Uros Bizjak <ubizjak@gmail.com>
991
992 * config/alpha/linux-unwind.h: Update copyright years.
993 (MD_FROB_UPDATE_CONTEXT): New define.
994 (alpha_frob_update_context): New function.
995
eb028768
RS
9962011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
997
998 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
999 tmake_file rather replacing it.
1000
6a2045bf
IS
10012011-12-15 Iain Sandoe <iains@gcc.gnu.org>
1002
1003 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1bb4b6a3 1004 function is not used for PPC64.
6a2045bf
IS
1005 (save_world): Amend comments. Update the VRsave mask to reflect the
1006 saved regs.
1007 (rest_world): Update comments, do not clobber r10, do not use r8.
1008 (eh_rest_world_r10): Amend comments, do not use r8.
1009 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
1010 no longer used, move restore of CR and target address to the end of
1011 the routine.
1012
a13780a6
L
10132011-12-14 H.J. Lu <hongjiu.lu@intel.com>
1014
1015 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
1016 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
1017
d7288dfb
GJL
10182011-12-14 Georg-Johann Lay <avr@gjlay.de>
1019
1020 PR target/49313
1021 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
1022 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
1023
8d2c862d
EB
10242011-12-11 Eric Botcazou <ebotcazou@adacore.com>
1025
1026 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
1027
3447cae6
GJL
10282011-12-09 Georg-Johann Lay <avr@gjlay.de>
1029
1030 PR target/49313
1031 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
1032 * config/avr/lib1funcs.S (__muldi3): New function.
1033
806fc6aa
AP
10342011-12-06 Andrew Pinski <apinski@cavium.com>
1035
1036 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
1037 size of func_ptr.
1038 (__frame_dummy_init_array_entry): Likewise.
1039
28c5e6b5
GJL
10402011-12-06 Georg-Johann Lay <avr@gjlay.de>
1041
1042 Forward-port from gcc-4_6-branch r181936 2011-12-02.
1043
1044 PR target/51345
1045 PR target/51002
1046 * config/avr/lib1funcs.S (__prologue_saves__,
1047 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
1048 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
1049
8f90394a
IS
10502011-12-04 Iain Sandoe <iains@gcc.gnu.org>
1051
1052 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
1053
06dd33ac
JDA
10542011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1055
1056 PR other/51272
1057 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
1058 (_ITM_deregisterTMCloneTable): Likewise.
1059 (__register_frame_info): Fix unused warning.
1060 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
1061 pthread_default_stacksize_np): Likewise.
1062 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1bb4b6a3 1063
85b8555e
DD
10642011-11-29 DJ Delorie <dj@redhat.com>
1065
1066 * config.host (rl78-*-elf): New case.
1067 * config/rl78: New directory for the Renesas RL78.
1068
4d5ae4ea
BS
10692011-11-29 Bernd Schmidt <bernds@codesourcery.com>
1070
1071 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
1072 formatting.
1073
f9c55897
RO
10742011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1075
1076 PR other/51022
1077 * config/rs6000/t-savresfgpr: New file.
1078 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
1079 $(srcdir)/config/rs6000/eabi.S.
1080 * config/rs6000/t-ppccomm-ldbl: Remove.
1081 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
1082 tmake_file.
1083 (powerpc-*-eabispe*): Likewise.
1084 (powerpc-*-eabi*): Likewise.
1085 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
1086 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
1087 to tmake_file, remove rs6000/t-ppccomm-ldbl.
1088 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
1089 tmake_file.
1090 (powerpc-*-eabisim*): Likewise.
1091 (powerpc-*-elf*): Likewise.
1092 (powerpc-*-eabialtivec*): Likewise.
1093 (powerpc-xilinx-eabi*): Likewise.
1094 (powerpc-*-rtems*): Likewise.
1095 (powerpcle-*-elf*): Likewise.
1096 (powerpcle-*-eabisim*): Likewise.
1097 (powerpcle-*-eabi*): Likewise.
1098
a01207c4
ILT
10992011-11-27 Ian Lance Taylor <iant@google.com>
1100
1101 * generic-morestack.c (__splitstack_find): Check for NULL old
1102 stack value.
1103 (__splitstack_resetcontext): New function.
1104 (__splitstack_releasecontext): New function.
1105 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
1106
2b0b8ab2
IS
11072011-11-27 Iain Sandoe <iains@gcc.gnu.org>
1108
1109 * config/darwin-crt-tm.c: Correct comments, use correct licence.
1110
c1d8101c
IS
11112011-11-27 Iain Sandoe <iains@gcc.gnu.org>
1112
1113 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
1114
8b281334
RH
11152011-11-26 Richard Henderson <rth@redhat.com>
1116
1117 * config/m68k/linux-atomic.c: New file.
1118 * config/m68k/t-linux: New file.
1119 * config.host (m68k-uclinux, m68k-linux): Use it.
1120
7546aa9d
RH
11212011-11-26 Richard Henderson <rth@redhat.com>
1122
1123 * crtstuff.c (__TMC_LIST__): Mark used not unused.
1124 (__TMC_END__): Only declare if hidden is available; in the definition,
1125 if hidden is unavailable add a null record.
1126 (deregister_tm_clones, register_tm_clones): New.
1127 (__do_global_dtors_aux, frame_dummy): Use them.
1128 (__do_global_dtors, __do_global_ctors_1): Likewise.
1129
e2362f5d
IS
11302011-11-22 Iain Sandoe <iains@gcc.gnu.org>
1131
1132 * config/darwin-crt-tm.c: New file.
1133 * config.host (darwin): Build crttms.o crttme.o to provide
1134 startup and shutdown for tm clones.
1135 * config/t-darwin (crttms.o): New build rule.
1136 (crttme.o): Likewise.
1137
6685dd96
HPN
11382011-11-21 Hans-Peter Nilsson <hp@axis.com>
1139
1140 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
1141 et al.
1142
b0dc7e4c
RH
11432011-11-21 Richard Henderson <rth@redhat.com>
1144
1145 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
1146 (__TMC_LIST__, __TMC_END__): New.
1147 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
1148 (__do_global_dtors): Likewise.
1149 (frame_dummy): Call _ITM_registerTMCloneTable.
1150 (__do_global_ctors_1): Likewise.
1151
d4b4b542
RO
11522011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1153
1154 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
1155 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
1156 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
1157 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
1158 * config/i386/t-darwin64: Remove.
1159 * config/sh/t-netbsd (LIB2ADD): Remove.
1160
989bdb74
GJL
11612011-11-21 Georg-Johann Lay <avr@gjlay.de>
1162
1163 PR target/49313
1164 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
1165 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
1166 * config/avr/lib1funcs.S (wmov): New assembler macro.
1167 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
1168 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
1169 (__udivmod64): New function.
1170 (__negdi2): New function.
1171
515a0cfc
GP
11722011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
1173
1174 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
1175 *-*-freebsd*aout*): Remove.
1176
0115d17f
HPN
11772011-11-20 Hans-Peter Nilsson <hp@axis.com>
1178
1179 * static-object.mk (c_flags-$o): Save c_flags.
1180 ($(base)$(objext)): Use it.
1181
93aeb62b
SE
11822011-11-18 Steve Ellcey <sje@cup.hp.com>
1183
1184 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
1185
7bc6df2c
GJL
11862011-11-18 Georg-Johann Lay <avr@gjlay.de>
1187
1188 PR target/49868
1189 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
1190 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
1191 New functions.
1192
425d737b
MGD
11932011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1194
1195 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
1196 functions.
1bb4b6a3 1197 (aeabi_uidivmod): Likewise.
425d737b
MGD
1198 (umodsi3): Likewise.
1199 (divsi3): Likewise.
1200 (aeabi_idivmod): Likewise.
1201 (modsi3): Likewise.
1202
f2a176dc
TG
12032011-11-16 Tristan Gingold <gingold@adacore.com>
1204
1205 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
1206
7c209481
GJL
12072011-11-15 Georg-Johann Lay <avr@gjlay.de>
1208
1209 PR target/49868
1210 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
1211 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
1212
9dfd5832
JDA
12132011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1214
1215 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
1216 tmake_file list.
1217 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
1218 * config/pa/t-stublib64: Delete.
1219
f77dca5d
RH
12202011-11-12 Richard Henderson <rth@redhat.com>
1221
1222 * config/rs6000/linux-unwind.h (frob_update_context): Properly
1223 cast the pointer argument to _Unwind_SetGRPtr.
1224
902828f0
RO
12252011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1226
1227 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
1228
e14304ef
ILT
12292011-11-09 Ian Lance Taylor <iant@google.com>
1230
1231 * generic-morestack.c: Include <string.h>.
1232 (uintptr_type): Define.
1233 (struct initial_sp): Add dont_block_signals field. Reduce size of
1234 extra array by 1.
1235 (allocate_segment): Set prev field to NULL. Don't set
1236 __morestack_current_segment or __morestack_segments.
1237 (__generic_morestack): Update current->prev and *pp after calling
1238 allocate_segment.
1239 (__morestack_block_signals): Don't do anything if
1240 dont_block_signals is set.
1241 (__morestack_unblock_signals): Likewise.
1242 (__generic_findstack): Check for initial_sp == NULL. Add casts to
1243 uintptr_type.
1244 (__splitstack_block_signals): New function.
1245 (enum __splitstack_content_offsets): Define.
1246 (__splitstack_getcontext, __splitstack_setcontext): New functions.
1247 (__splitstack_makecontext): New function.
1248 (__splitstack_block_signals_context): New function.
1249 (__splitstack_find_context): New function.
1250 * config/i386/morestack.S (__morestack_get_guard): New function.
1251 (__morestack_set_guard, __morestack_make_guard): New functions.
1252 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
1253
e3d871e4
RO
12542011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1255
1256 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
1257 (i[34567]86-*-mingw*): ... here.
1258 (x86_64-*-mingw*): ... here.
1259
e55cef40
RO
12602011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1261
1262 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
1263
5366b186
NS
12642011-11-07 Nathan Sidwell <nathan@acm.org>
1265
1266 * libgcov.c (struct gcov_fn_buffer): New struct.
1267 (buffer_fn_data): New helper.
1268 (gcov_exit): Rework for new gcov data structures.
1269
74155a6f
GJL
12702011-11-07 Georg-Johann Lay <avr@gjlay.de>
1271
1272 PR target/49313
1273 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
1274
200feb07
RO
12752011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1276
1277 * config.host (tmake_file): Correct comment.
1278 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
1279 t-libgcc-pic.
1280 (bfin*-uclinux*): Likewise.
1281 (bfin*-linux-uclibc*): Likewise.
1282 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
1283
1284 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
1285 assigning.
1286 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1287 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
1288 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1289 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
1290 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1291 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
1292 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
1293 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1294 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
1295 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
1296 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
1297 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
1298 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
1299
1300 * config/bfin/t-elf: Remove.
1301 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
1302
c9cd1a07
RO
13032011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1304
1305 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
1306 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
1307 (lm32-*-elf*, lm32-*-rtems*): Split into ...
1308 (lm32-*-elf*): ... this.
1309 (lm32-*-rtems*): ... and this.
1310 Add to tmake_file.
1311 (m32r-*-rtems*): Add to tmake_file.
1312 (moxie-*-rtems*): Likewise.
1313 (sparc-*-rtems*): Likewise.
1314 Remove t-rtems from tmake_file.
1315 (sparc64-*-rtems*): Likewise.
1316 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
1317 instead.
1318
9fbcc75d
RO
13192011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1320
1321 PR bootstrap/50982
1322 * config/gthr-posix.h: Move ...
1323 * gthr-posix.h: ... here.
1324 * config/gthr-lynx.h: Reflect this.
1325 * config/gthr-vxworks.h: Likewise.
1326 * config/rs6000/gthr-aix.h: Likewise.
1327 * configure.ac (target_thread_file): Likewise.
1328 * configure: Regenerate.
1329
76644b68
SH
13302011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
1331
1332 * config.host (arm*-*-rtemseabi*): New target.
1333
5e490f2a
JDA
13342011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1335
1336 PR other/50991
1337 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
1338 extra-parts.
1339
feeeff5c
JR
13402011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
1341
1342 * config.host (epiphany-*-elf*): New configuration.
1343 * config/epiphany: New Directory.
1344
d618bb2c
RC
13452011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
1346
1347 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
1348 * config/avr/t-rtems: New.
1349 Filter out _exit from LIB1ASMFUNCS.
1350
1bb6f778
DM
13512011-11-04 David S. Miller <davem@davemloft.net>
1352
1353 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
1354 * configure: Rebuild.
1355
9a7f7422
AK
13562011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1357
1358 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
1359 variable.
1360
e4fe948a
GJL
13612011-11-04 Georg-Johann Lay <avr@gjlay.de>
1362
1363 PR target/50931
1364 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
1365 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
1366
7084e037
JS
13672011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
1368
1369 PR target/50989
1370 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
1371
1a032034
RO
13722011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1373
1374 * config/c6x/t-elf (LIB2ADDEH): Set.
1375 * config/c6x/t-c6x-elf: Remove.
1376
d385f772
RO
13772011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1378
1379 * config/i386/sol2-ci.S: Rename to ...
1380 * config/i386/crti.S: ... this.
1381 * config/i386/sol2-cn.S: Rename to ...
1382 * config/i386/crtn.S: ... this.
1383 * config/sparc/sol2-ci.S: Rename to ...
1384 * config/sparc/crti.S: ... this.
1385 * config/sparc/sol2-cn.S: Rename to ...
1386 * config/sparc/crtn.S: ... this.
1387 * config/t-sol2 (CUSTOM_CRTIN): Remove.
1388 (crti.o, crtn.o): Remove.
1389
1ba878a9
TG
13902011-11-04 Tristan Gingold <gingold@adacore.com>
1391
1392 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
1393
02750c15
KK
13942011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
1395
1396 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
1397
bf86b067
HPN
13982011-11-03 Hans-Peter Nilsson <hp@axis.com>
1399
1400 * config.host (crisv32-*-none, cris-*-none): Remove.
1401 (crisv32-*-elf): Append to tmake_file, don't just set it.
1402 (cris-*-elf): Add missing t-fdpbit to tmake_file.
1403
d0bc53bd
RO
14042011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1405
1406 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
1407 (ecrtn$(objext)): Likewise.
1408 (ncrti$(objext)): Likewise.
1409 (ncrtn$(objext)): Likewise.
1410
036da830
AS
14112011-11-03 Andreas Schwab <schwab@redhat.com>
1412
1413 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
1414
d2a7d041
DM
14152011-11-02 David S. Miller <davem@davemloft.net>
1416
1417 * configure.ac: Set host_address on sparc too.
1418 * configure: Regenerate.
1419 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
1420 based upon host_address.
1421 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
1422
af8ed618
JM
14232011-11-02 Jason Merrill <jason@redhat.com>
1424
1425 * config/rs6000/t-ppccomm: Add missing \.
1426
5d1c8e77
RO
14272011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1428
1429 * gthr-single.h, gthr.h: New files.
1430 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
1431 config/gthr-vxworks.h, config/i386/gthr-win32.h,
1432 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
1433 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
1434 * config/i386/gthr-win32.c: Include "gthr-win32.h".
1435 * configure.ac (thread_header): New variable.
1436 Set it depending on target_thread_file.
1437 (gthr-default.h): Link from $thread_header.
1438 * configure: Regenerate.
1439 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
1440
852b75ed
RO
14412011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1442
1443 * configure.ac (tm_file_): New variable.
1444 Determine from tm_file.
1445 (tm_file, tm_defines): Substitute.
1446 * configure: Regenerate.
1447 * mkheader.sh: New file.
1448 * Makefile.in (clean): Remove libgcc_tm.h.
1449 ($(objects)): Depend on libgcc_tm.h.
1450 (libgcc_tm_defines, libgcc_tm_file): New variables.
1451 (libgcc_tm.h, libgcc_tm.stamp): New targets.
1452 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
1453 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
1454 ($(extra-parts)): Depend on libgcc_tm.h.
1455 * config.host (tm_defines, tm_file): New variable.
1456 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
1457 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
1458 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
1459 (avr-*-rtems*): Likewise.
1460 (avr-*-*): Likewise.
1461 (frv-*-elf): Likewise.
1462 (frv-*-*linux*): Likewise.
1463 (h8300-*-rtems*): Likewise.
1464 (h8300-*-elf*): Likewise.
1465 (i[34567]86-*-darwin*): Likewise.
1466 (x86_64-*-darwin*): Likewise.
1467 (rx-*-elf): Likewise.
1468 (tic6x-*-uclinux): Likewise.
1469 (tic6x-*-elf): Likewise.
1470 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
1471 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
1472 * config/i386/cygming-crtbegin.c: Likewise.
1473 * config/i386/cygming-crtend.c: Likewise.
1474 * config/ia64/fde-vms.c: Likewise.
1475 * config/ia64/unwind-ia64.c: Likewise.
1476 * config/libbid/bid_gcc_intrinsics.h: Likewise.
1477 * config/rs6000/darwin-fallback.c: Likewise.
1478 * config/stormy16/lib2funcs.c: Likewise.
1479 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
1480 * crtstuff.c: Likewise.
1481 * dfp-bit.h: Likewise.
1482 * emutls.c: Likewise.
1483 * fixed-bit.c: Likewise.
1484 * fp-bit.c: Likewise.
1485 * generic-morestack-thread.c: Likewise.
1486 * generic-morestack.c: Likewise.
1487 * libgcc2.c: Likewise.
1488 * libgcov.c: Likewise.
1489 * unwind-dw2-fde-dip.c: Likewise.
1490 * unwind-dw2-fde.c: Likewise.
1491 * unwind-dw2.c: Likewise.
1492 * unwind-sjlj.c: Likewise.
1493
f9989b51
RO
14942011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1495
1496 * configure.ac: Include ../config/picflag.m4.
1497 (GCC_PICFLAG): Call it.
1498 Substitute.
1499 * configure: Regenerate.
1500 * Makefile.in (gcc_srcdir): Remove.
1501 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
1502 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
1503 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
1504 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
1505 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
1506 Use $<.
1507 Remove comment.
1508 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
1509 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
1510 to refer to libgcc2.c.
1511 Use $<.
1512 * config/darwin-64.c: New file.
1513 * config/darwin-crt3.c: Remove comment.
1514 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
1515 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
1516 config/udivmodsi4.c: New files.
1517 * config/memcmp.c, config/memcpy.c, config/memmove.c,
1518 config/memset.c: New files.
1519 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
1520 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
1521 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
1522 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
1523 * config/t-openbsd-thread: New file.
1524 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
1525 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
1526 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
1527 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
1528 qrnnd.S.
1529 Adapt filename.
1530 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
1531 to refer to gthr-posix.c.
1532 * config/alpha/t-vms (LIB2ADD): Set.
1533 * config/alpha/vms-gcc_shell_handler.c: New file.
1534 * config/arm/bpabi.c, config/arm/fp16.c,
1535 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
1536 config/arm/unaligned-funcs.c: New files.
1537 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
1538 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
1539 * config/arm/t-linux: Likewise.
1540 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
1541 * config/arm/t-netbsd: New file.
1542 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
1543 * config/arm/t-symbian (LIB2ADD_ST): Set.
1544 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
1545 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1546 * config/bfin/t-elf: New file.
1547 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
1548 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
1549 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
1550 config/c6x/ltf.c: New files.
1551 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
1552 (HOST_LIBGCC2_CFLAGS): Set.
1553 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
1554 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1555 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
1556 New files.
1557 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
1558 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
1559 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
1560 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
1561 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
1562 files.
1563 * config/frv/t-frv (LIB2ADD): Set.
1564 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1565 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
1566 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
1567 config/h8300/popcounthi2.c: New files.
1568 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
1569 * config/i386/gthr-win32.c: New file.
1570 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
1571 * config/i386/t-cygwin: Likewise.
1572 * config/i386/t-darwin, config/i386/t-darwin64,
1573 config/i386/t-gthr-win32, config/i386/t-interix: New files.
1574 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
1575 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1576 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1577 * config/ia64/quadlib.c: New file.
1578 * config/ia64/t-hpux (LIB2ADD): Set.
1579 * config/ia64/t-ia64: Add comment.
1580 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
1581 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1582 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
1583 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
1584 * config/m32c/t-m32c (LIB2ADD): Set.
1585 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
1586 * config/m32r/t-m32r: Likewise.
1587 * config/m68k/fpgnulib.c: New file.
1588 * config/m68k/t-floatlib (LIB2ADD): Set.
1589 (xfgnulib.c): New target.
1590 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
1591 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
1592 * config/mep/t-mep (LIB2ADD): Set.
1593 * config/microblaze/divsi3.asm: Rename to divsi3.S.
1594 * config/microblaze/moddi3.asm: Rename to moddi3.S.
1595 * config/microblaze/modsi3.asm: Rename to modsi3.S.
1596 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
1597 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
1598 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
1599 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
1600 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
1601 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
1602 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
1603 New files.
1604 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
1605 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
1606 * config/pa/fptr.c, config/pa/lib2funcs.S,
1607 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
1608 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
1609 (LIB2ADD, LIB2ADD_ST): Set.
1610 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
1611 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
1612 Set.
1613 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
1614 * config/pdp11/t-pdp11: New file.
1615 * config/picochip/libgccExtras/adddi3.S,
1616 config/picochip/libgccExtras/ashlsi3.S,
1617 config/picochip/libgccExtras/ashrsi3.S,
1618 config/picochip/libgccExtras/clzsi2.S,
1619 config/picochip/libgccExtras/cmpsi2.S,
1620 config/picochip/libgccExtras/divmod15.S,
1621 config/picochip/libgccExtras/divmodhi4.S,
1622 config/picochip/libgccExtras/divmodsi4.S,
1623 config/picochip/libgccExtras/lshrsi3.S,
1624 config/picochip/libgccExtras/parityhi2.S,
1625 config/picochip/libgccExtras/popcounthi2.S,
1626 config/picochip/libgccExtras/subdi3.S,
1627 config/picochip/libgccExtras/ucmpsi2.S,
1628 config/picochip/libgccExtras/udivmodhi4.S,
1629 config/picochip/libgccExtras/udivmodsi4.S: New files.
1630 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
1631 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
1632 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
1633 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
1634 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
1635 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
1636 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
1637 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
1638 files.
1639 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
1640 (HOST_LIBGCC2_CFLAGS): Set.
1641 * config/rs6000/t-darwin64: New file.
1642 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
1643 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
1644 * config/rs6000/t-ppccomm (LIB2ADD): Add
1645 $(srcdir)/config/rs6000/tramp.S.
1646 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
1647 Add $(srcdir)/config/rs6000/eabi.S.
1648 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
1649 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
1650 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
1651 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
1652 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
1653 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
1654 * config/rs6000/tramp.S: New file.
1655 * config/s390/t-tpf: Remove.
1656 * config/sh/linux-atomic.S: New file.
1657 * config/sh/t-linux (LIB2ADD): Set.
1658 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
1659 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
1660 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
1661 to unwind-dw2.c.
1662 (HOST_LIBGCC2_CFLAGS): Set.
1663 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1664 * config/spu/divmodti4.c, config/spu/divv2df3.c,
1665 config/spu/float_disf.c, config/spu/float_unsdidf.c,
1666 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
1667 config/spu/mfc_multi_tag_release.c,
1668 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
1669 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
1670 config/spu/multi3.c: New files.
1671 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
1672 (HOST_LIBGCC2_CFLAGS): Set.
1673 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
1674 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
1675 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
1676 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
1677 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
1678 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
1679 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
1680 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
1681 config/stormy16/umodsi3.c: New files.
1682 * config/xtensa/lib2funcs.S: New file.
1683 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
1684 * config/xtensa/t-xtensa (LIB2ADD): Set.
1685 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
1686 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
1687 Add t-freebsd-thread to tmake_file for posix threads.
1688 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
1689 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
1690 (*-*-lynxos*): Likewise.
1691 (*-*-netbsd*): Likewise.
1692 (*-*-openbsd*): Likewise.
1693 Add t-openbsd-thread to tmake_file for posix threads.
1694 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
1695 (*-*-vxworks*): Set tmake_file.
1696 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
1697 (alpha*-*-freebsd*): Likewise.
1698 (alpha*-*-netbsd*): Likewise.
1699 (alpha*-*-openbsd*): Likewise.
1700 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
1701 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
1702 (alpha*-dec-*vms*): Likewise.
1703 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
1704 (bfin*-elf*): Add bfin/t-elf to tmake_file.
1705 (bfin*-uclinux*): Likewise.
1706 (bfin*-linux-uclibc*): Likewise.
1707 (crisv32-*-elf): Add cris/t-cris to tmake_file.
1708 (crisv32-*-none): Likewise.
1709 (cris-*-elf): Likewise.
1710 (cris-*-none): Likewise.
1711 (cris-*-linux*, crisv32-*-linux*): Likewise.
1712 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
1713 tmake_file.
1714 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
1715 tmake_file.
1716 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
1717 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
1718 (x86_64-*-elf*): Likewise.
1719 (i[34567]86-*-nto-qnx*): Likewise.
1720 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
1721 win32 threads.
1722 (x86_64-*-mingw*): Likewise.
1723 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
1724 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
1725 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
1726 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
1727 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
1728 tmake_file.
1729 (mipsisa64sr71k-*-elf*): Likewise.
1730 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
1731 (mips-*-elf*, mipsel-*-elf*): Likewise.
1732 (mips64-*-elf*, mips64el-*-elf*): Likewise.
1733 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
1734 (mips*-*-rtems*): Likewise.
1735 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
1736 to tmake_file.
1737 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
1738 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
1739 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
1740 (spu-*-elf*): Likewise.
1741 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
1742
45b86625
RO
17432011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1744
1745 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
1746 $(srcdir) to refer to $(LIB1ASMSRC).
1747 Use $<.
1748 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
1749 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
1750 config/arm/lib1funcs.S: New files.
1751 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
1752 * config/arm/t-arm: New file.
1753 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
1754 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
1755 config/arm/t-strongarm-elf: New files.
1756 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
1757 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
1758 * config/avr/lib1funcs.S: New file.
1759 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1760 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
1761 * config/c6x/lib1funcs.S: New file.
1762 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1763 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
1764 * config/frv/lib1funcs.S: New file.
1765 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1766 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
1767 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
1768 * config/ia64/__divxf3.asm: Rename to ...
1769 * config/ia64/__divxf3.S: ... this.
1770 Adapt lib1funcs.asm filename.
1771 * config/ia64/_fixtfdi.asm: Rename to ...
1772 * config/ia64/_fixtfdi.S: ... this.
1773 Adapt lib1funcs.asm filename.
1774 * config/ia64/_fixunstfdi.asm: Rename to ...
1775 * config/ia64/_fixunstfdi.S: ... this.
1776 Adapt lib1funcs.asm filename.
1777 * config/ia64/_floatditf.asm: Rename to ...
1778 * config/ia64/_floatditf.S: ... this.
1779 Adapt lib1funcs.asm filename.
1780 * config/ia64/lib1funcs.S: New file.
1781 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
1782 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1783 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
1784 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
1785 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
1786 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
1787 * config/mep/lib1funcs.S: New file.
1788 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1789 * config/mips/mips16.S: New file.
1790 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1791 * config/pa/milli64.S: New file.
1792 * config/pa/t-linux, config/pa/t-linux64: New files.
1793 * config/picochip/lib1funcs.S: New file.
1794 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1795 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
1796 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
1797 * config/sh/t-netbsd: New file.
1798 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
1799 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
1800 * config/sh/t-sh64: New file.
1801 * config/sparc/lb1spc.S: New file.
1802 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
1803 filename.
1804 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
1805 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
1806 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
1807 config/xtensa/lib1funcs.S: New files.
1808 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1809 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
1810 tmake_file.
1811 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
1812 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
1813 (arm*-*-linux*): Likewise.
1814 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
1815 arm*-*-linux-*eabi, add arm/t-linux otherwise.
1816 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
1817 (arm*-*-ecos-elf): Likewise.
1818 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
1819 (arm*-*-rtems*): Likewise.
1820 (arm*-*-elf): Likewise.
1821 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
1822 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
1823 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
1824 (bfin*-uclinux*): Likewise.
1825 (bfin*-linux-uclibc*): Likewise.
1826 (bfin*-rtems*): Likewise.
1827 (bfin*-*): Likewise.
1828 (fido-*-elf): Merge into m68k-*-elf*.
1829 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
1830 (frv-*-*linux*): Add frv/t-frv to tmake_file.
1831 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
1832 (h8300-*-elf*): Likewise.
1833 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
1834 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
1835 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
1836 (i[34567]86-*-mingw*): Likewise.
1837 (x86_64-*-mingw*): Likewise.
1838 (i[34567]86-*-interix3*): Likewise.
1839 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
1840 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
1841 (m68k-*-elf*): Also handle fido-*-elf.
1842 Add m68k/t-floatlib to tmake_file.
1843 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
1844 (m68k-*-linux*): Likewise.
1845 (m68k-*-rtems*): Likewise.
1846 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
1847 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
1848 sh64*-*-*.
1849 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
1850 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
1851 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
1852 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
1853 sh/t-netbsd to tmake_file.
1854 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
1855 (sh-*-rtems*): Add sh/t-sh to tmake_file.
1856 (sh-wrs-vxworks): Likewise.
1857 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
1858 *-leon[3-9]*.
1859 (v850*-*-*): Add v850/t-v850 to tmake_file.
1860 (vax-*-linux*): Add vax/t-linux to tmake_file.
1861 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
1862
5f73c6cc
RO
18632011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1864
1865 * crtstuff.c: New file.
1866 * Makefile.in (CRTSTUFF_CFLAGS): Define.
1867 (CRTSTUFF_T_CFLAGS): Define.
1868 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
1869 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
1870 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
1871 crtstuff.c.
1872 Use $<.
1873 (crtbeginT.o): Use $(objext).
1874 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
1875 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
1876 (gcc-extra-parts): Remove.
1877 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
1878 Set extra_parts.
1879 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
1880 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
1881 Add t-crtstuff-pic to tmake_file.
1882 (*-*-lynxos*): New case.
1883 Set tmake_file, extra_parts.
1884 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
1885 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
1886 *-*-netbsdelf[2-9]*.
1887 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
1888 (*-*-rtems*): Set extra_parts.
1889 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
1890 (*-*-uclinux*): New case.
1891 Set extra_parts.
1892 (*-*-vms*): New case.
1893 Set tmake_file, extra_parts.
1894 (*-*-elf): Set extra_parts.
1895 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
1896 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
1897 vms/t-vms64.
1898 Set extra_parts.
1899 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
1900 Set extra_parts.
1901 (arm*-*-freebsd*): Add t-crtin to tmake_file.
1902 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
1903 (arm-wrs-vxworks): Append to tmake_file.
1904 Set extra_parts.
1905 (arm*-*-uclinux*): Set extra_parts.
1906 (arm*-*-ecos-elf): Likewise.
1907 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
1908 arm*-*-eabi*.
1909 (arm*-*-rtems*): Set extra_parts.
1910 (arm*-*-elf): Likewise.
1911 (avr-*-rtems*): Clear extra_parts.
1912 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
1913 Set extra_parts.
1914 (bfin*-uclinux*): Likewise.
1915 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
1916 (bfin*-rtems*): Append to tmake_file.
1917 Set extra_parts.
1918 (bfin*-*): Likewise.
1919 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
1920 (crisv32-*-elf): ... this.
1921 (crisv32-*-none): ... this.
1922 (cris-*-elf, cris-*-none): New cases.
1923 Add cris/t-elfmulti to tmake_file.
1924 (fr30-*-elf): Append to tmake_file.
1925 Set extra_parts.
1926 (frv-*-elf): Append to tmake_file, add frv/t-frv.
1927 Set extra_parts.
1928 (h8300-*-rtems*): Append to tmake_file.
1929 Set extra_parts.
1930 (h8300-*-elf*): Likewise.
1931 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
1932 Set extra_parts.
1933 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
1934 Set extra_parts.
1935 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
1936 (x86_64-*-elf*): Likewise.
1937 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
1938 (x86_64-*-freebsd*): Likewise.
1939 (x86_64-*-netbsd*): Likewise.
1940 (i[34567]86-*-linux*): Likewise.
1941 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
1942 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
1943 (x86_64-*-linux*): Likewise.
1944 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
1945 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
1946 tmake_file.
1947 Set extra_parts.
1948 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
1949 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
1950 Append to extra_parts, remove crtbegin.o, crtend.o.
1951 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
1952 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
1953 crtend.o, crtbeginS.o, crtendS.o.
1954 (ia64*-*-linux*): Comment extra_parts.
1955 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
1956 Set extra_parts.
1957 (iq2000*-*-elf*): Clear extra_parts.
1958 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
1959 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
1960 (m32r-*-elf*, m32r-*-rtems*): Split off ...
1961 (m32r-*-rtems*): ... this.
1962 Add m32r/t-m32r to tmake_file.
1963 (m68k-*-elf*): Add t-crtin to tmake_file.
1964 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
1965 (mcore-*-elf): Likewise.
1966 (microblaze*-*-*): Set extra_parts.
1967 (mips*-sde-elf*): New case.
1968 Set tmake_file, extra_parts.
1969 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
1970 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
1971 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
1972 tmake_file.
1973 Set extra_parts.
1974 (mipsisa64sr71k-*-elf*): Likewise.
1975 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
1976 (mips-*-elf*, mipsel-*-elf*): Likewise.
1977 (mips64-*-elf*, mips64el-*-elf*): Likewise.
1978 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
1979 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
1980 (mips*-*-rtems*): Likewise.
1981 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
1982 (moxie-*-*): Split into ...
1983 (moxie-*-elf, moxie-*-uclinux*): ... this.
1984 Add to extra_parts, remove crtbegin.o, crtend.o.
1985 (moxie-*-rtems*): New case.
1986 Set tmake_file.
1987 Clear extra_parts.
1988 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
1989 Set extra_parts.
1990 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
1991 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
1992 tmake_file.
1993 Set extra_parts.
1994 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
1995 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
1996 Set extra_parts.
1997 (powerpc-*-eabisim*): Likewise.
1998 (powerpc-*-elf*): Likewise.
1999 (powerpc-*-eabialtivec*): Likewise.
2000 (powerpc-xilinx-eabi*): Likewise.
2001 (powerpc-*-eabi*): Likewise.
2002 (powerpc-*-rtems*): Likewise.
2003 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
2004 tmake_file.
2005 Set extra_parts.
2006 (powerpc-*-lynxos*): Add to tmake_file.
2007 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
2008 rs6000/t-crtstuff, t-crtstuff-pic.
2009 Set extra_parts.
2010 (powerpcle-*-eabisim*): Likewise.
2011 (powerpcle-*-eabi*): Likewise.
2012 (rx-*-elf): Remove extra_parts.
2013 (s390x-ibm-tpf*): Set extra_parts.
2014 (score-*-elf): Set extra_parts.
2015 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
2016 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
2017 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
2018 (sh64l*-*-netbsd*): Split into ...
2019 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
2020 Add t-crtstuff-pic to tmake_file.
2021 Set extra_parts.
2022 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
2023 Set extra_parts.
2024 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
2025 (sparc-*-elf*): Remove t-crtin from tmake_file.
2026 Add to extra_parts, remove crtbegin.o, crtend.o.
2027 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
2028 (sparc64-*-linux*): Likewise.
2029 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
2030 Add to extra_parts, remove crtbegin.o, crtend.o.
2031 (sparc64-*-elf*): Remove t-crtin from tmake_file.
2032 Add to extra_parts, remove crtbegin.o, crtend.o.
2033 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
2034 Add to extra_parts, remove crtbegin.o, crtend.o.
2035 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
2036 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
2037 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
2038 Set extra_parts.
2039 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
2040 Set extra_parts.
2041 (tic6x-*-*): Change to ...
2042 (tic6x-*-elf): ... this.
2043 Set extra_parts.
2044 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
2045 Set extra_parts.
2046 (am33_2.0-*-linux*): Add comment.
2047 (mep*-*-*): Add mep/t-mep to tmake_file.
2048 Set extra_parts.
2049 * config/alpha/t-vms: New file.
2050 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
2051 * config/arm/crti.S, config/arm/crtn.S: New files.
2052 * config/bfin/crti.S, config/bfin/crtn.S: New files.
2053 * config/bfin/crtlibid.S: New file.
2054 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
2055 * config/c6x/crti.S, config/c6x/crtn.S: New files.
2056 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
2057 (crti.o, crtin.o): New rules.
2058 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
2059 * config/c6x/t-uclinux: New file.
2060 * config/cris/t-elfmulti: New file.
2061 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
2062 * config/fr30/crti.S, config/fr30/crtn.S: New files.
2063 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
2064 * config/frv/t-frv: New file.
2065 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
2066 * config/h8300/crti.S, config/h8300/crtn.S: New files.
2067 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
2068 New files.
2069 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
2070 refer to cygming-crtbegin.c, cygming-crtend.c.
2071 Use $<.
2072 * config/i386/t-nto: New file.
2073 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
2074 * config/ia64/crti.S, config/ia64/crtn.S: New files.
2075 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
2076 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
2077 Use .S extension.
2078 Use $<.
2079 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
2080 (crtinitS.o): New rule.
2081 * config/ia64/vms-crtinit.S: New file.
2082 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
2083 * config/m32r/initfini.c: New file.
2084 * config/m32r/t-linux, config/m32r/t-m32r: New files.
2085 * config/m68k/crti.S, config/m68k/crtn.S: New files.
2086 * config/mcore/crti.S, config/mcore/crtn.S: New files.
2087 * config/mep/t-mep: New file.
2088 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
2089 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
2090 * config/mips/crti.S, config/mips/crtn.S: New files.
2091 * config/mips/t-crtstuff: New file.
2092 * config/mmix/crti.S, config/mmix/crtn.S: New files.
2093 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
2094 (CUSTOM_CRTIN): Set.
2095 ($(T)crti.o, $(T)crtn.o): Remove $(T),
2096 dependencies.
2097 Use $(srcdir) to refer to crti.S, crtn.S.
2098 Use .S extension, $<.
2099 * config/moxie/crti.asm: Rename to ...
2100 * config/moxie/crti.S: ... this.
2101 * config/moxie/crtn.asm: Rename to ...
2102 * config/moxie/crtn.S: ... this.
2103 * config/moxie/t-moxie: Remove.
2104 * config/pa/stublib.c: New file.
2105 * config/pa/t-stublib, config/pa/t-stublib64: New files.
2106 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
2107 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
2108 * config/rs6000/t-crtstuff: New file.
2109 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
2110 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
2111 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
2112 Make output file explicit.
2113 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
2114 Make output file explicit.
2115 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
2116 Make output file explicit.
2117 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
2118 Make output file explicit.
2119 * config/score/crti.S, config/score/crtn.S: New files.
2120 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
2121 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
2122 files.
2123 * config/sh/t-sh, config/sh/t-superh: New files.
2124 * config/sparc/t-linux64: New file.
2125 * config/spu/cache.S, config/spu/cachemgr.c: New files.
2126 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
2127 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
2128 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
2129 * config/t-crtin: Remove.
2130 * config/t-crtstuff-pic: New file.
2131 * config/t-sol2 (CUSTOM_CRTIN): Set.
2132 (crti.o, crtn.o): New rules.
2133 * config/vms/t-vms: New file.
2134 * config/vms/vms-ucrt0.c: New file.
2135 * config/xtensa/t-elf: New file.
2136
b040f2be
RO
21372011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2138
2139 * Makefile.in (SHLIB_NM_FLAGS): Set.
2140 * mkmap-flat.awk, mkmap-symver.awk: New files.
2141 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
2142 exceptions.
2143 * configure: Regenerate.
2144 * config/libgcc-glibc.ver: New file.
2145 * config/libgcc-libsystem.ver: New file.
2146 * config/t-libunwind (SHLIB_LC): Set.
2147 * config/t-linux: New file.
2148 * config/t-slibgcc (INSTALL_SHLIB): New.
2149 (SHLIB_INSTALL): Use it.
2150 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
2151 to mkmap-symver.awk.
2152 (SHLIB_MAPFILES): Don't append, adapt pathname.
2153 (SHLIB_VERPFX): Set.
2154 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
2155 to mkmap-symver.awk.
2156 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
2157 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
2158 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
2159 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
2160 to mkmap-flat.awk.
2161 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
2162 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
2163 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
2164 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
2165 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
2166 * config/i386/libgcc-darwin.10.4.ver,
2167 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
2168 New files.
2169 * config/i386/t-darwin: Remove.
2170 * config/i386/t-darwin64: Likewise.
2171 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
2172 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
2173 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
2174 * config/i386/t-linux: New file.
2175 * config/i386/t-mingw32: New file.
2176 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
2177 * config/ia64/t-glibc: Rename to ...
2178 * config/ia64/t-linux: ... this.
2179 (SHLIB_MAPFILES): Set.
2180 * config/ia64/t-glibc-libunwind: Rename to ...
2181 * config/ia64/t-linux-libunwind: ... this.
2182 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
2183 * config/ia64/t-slibgcc-hpux: New file.
2184 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
2185 * config/m68k/t-slibgcc-elf-ver: New file.
2186 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
2187 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
2188 to mkmap-flat.awk.
2189 * config/pa/t-slibgcc-hpux: New file.
2190 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
2191 files.
2192 * config/rs6000/libgcc-darwin.10.4.ver,
2193 config/rs6000/libgcc-darwin.10.5.ver: New files.
2194 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
2195 config/rs6000/libgcc-glibc.ver.
2196 * config/rs6000/libgcc-ppc64.ver: Rename to
2197 config/rs6000/libgcc-ibm-ldouble.ver.
2198 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
2199 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
2200 * config/rs6000/t-ldbl128: Rename to ...
2201 * config/rs6000/t-linux: ... this.
2202 (SHLIB_MAPFILES): Adapt filename.
2203 * config/rs6000/t-slibgcc-aix: New file.
2204 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
2205 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
2206 libgcc-excl.ver, libgcc-glibc.ver.
2207 (SHLIB_LINK, SHLIB_INSTALL): Remove.
2208 * config/sparc/libgcc-glibc.ver: New file.
2209 * config/sparc/t-linux: New file.
2210 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
2211 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
2212 t-slibgcc-elf-ver to tmake_file.
2213 Add t-slibgcc-nolc-override to tmake_file for posix threads on
2214 *-*-freebsd[34].
2215 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
2216 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
2217 t-slibgcc-elf-ver, t-linux to tmake_file.
2218 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
2219 tmake_file.
2220 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
2221 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
2222 (alpha*-dec-*vms*): Likewise.
2223 (arm*-*-freebsd*): Append to tmake_file.
2224 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
2225 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
2226 arm*-*-linux-*eabi.
2227 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
2228 tmake_file for arm*-*-symbianelf*.
2229 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
2230 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
2231 cris/t-linux.
2232 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
2233 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
2234 pa/t-slibgcc-dwarf-ver to tmake_file.
2235 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
2236 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
2237 (hppa*64*-*-hpux11*): Likewise.
2238 (hppa[12]*-*-hpux11*): Likewise.
2239 (x86_64-*-darwin*): Don't override tmake_file, but only keep
2240 i386/t-crtpc, i386/t-crtfm.
2241 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
2242 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
2243 to tmake_file.
2244 Add i386/t-cygwin to tmake_file.
2245 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
2246 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
2247 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
2248 to tmake_file.
2249 Add i386/t-mingw32 to tmake_file.
2250 (x86_64-*-mingw*): Likewise.
2251 (ia64*-*-freebsd*): Append to tmake_file.
2252 (ia64*-*-linux*): Append to tmake_file.
2253 Replace ia64/t-glibc by ia64/t-linux.
2254 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
2255 system libunwind.
2256 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
2257 t-slibgcc-hpux to tmake_file.
2258 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
2259 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
2260 (m32rle-*-linux*): Likewise.
2261 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
2262 sjlj exceptions.
2263 (microblaze*-linux*): New case.
2264 Append to tmake_file, add t-slibgcc-nolc-override.
2265 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
2266 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
2267 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
2268 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
2269 rs6000/t-slibgcc-aix to tmake_file.
2270 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2271 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2272 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
2273 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
2274 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
2275 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
2276 sh*-*-linux*.
2277 (sparc-*-linux*): Append to tmake_file for *-leon*.
2278 Add sparc/t-linux to tmake_file for non-Leon targets.
2279 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
2280 (tic6x-*-uclinux): New case.
2281 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
2282 (tic6x-*-*): Add c6x/t-elf to tmake_file.
2283 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
2284 (am33_2.0-*-linux*): Append to tmake_file.
2285 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
2286 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
2287 x86_64-*-kfreebsd*-gnu.
2288 Add i386/t-linux to tmake_file.
2289
18b4bd7b
ILT
22902011-10-28 Ian Lance Taylor <iant@google.com>
2291
2292 * config/i386/morestack.S: Correct CFI information to do proper
2293 returns throughout function. In 32-bit mode, save %ebx so that it
2294 is restored on unwind.
2295
5b2d9d90
BS
22962011-10-25 Bernd Schmidt <bernds@codesourcery.com>
2297
2298 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
2299 case where B3 isn't the return register.
2300
0d53e346
BS
2301 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
2302 logic for doubleword pops.
2303
cbffbd59
AT
23042011-10-25 Andreas Tobler <andreast@fgznet.ch>
2305
2306 * config/rs6000/t-freebsd: Add wildcard.
2307
56dc349e
PB
23082011-10-21 Paul Brook <paul@codesourcery.com>
2309
2310 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
2311
1e06b07d
UB
23122011-10-16 Uros Bizjak <ubizjak@gmail.com>
2313 Eric Botcazou <ebotcazou@adacore.com>
2314
2315 PR target/50737
2316 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
2317 fs->signal_frame to 1.
2318
b5204884
ILT
23192011-10-07 Ian Lance Taylor <iant@google.com>
2320
2321 * generic-morestack-thread.c: #include <errno.h>.
2322
91a639a1
ILT
23232011-10-07 Ian Lance Taylor <iant@google.com>
2324
2325 PR target/46093
2326 * generic-morestack.c (__generic_morestack): Make sure the segment
2327 is large enough for both the stack frame and the copied
2328 parameters.
2329
cc49116d
RO
23302011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2331
2332 PR bootstrap/49804
2333 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
2334 extra_parts.
2335
2996d8c3
NC
23362011-09-28 Nick Clifton <nickc@redhat.com>
2337
2338 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
2339 64-bit doubles are not enabled.
2340 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
2341 and floatunsisf functions.
2342
1e874273 23432011-09-13 Paul Brook <paul@codesourcery.com>
2996d8c3 2344
1e874273
PB
2345 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
2346 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
2347 * unwind-arm-common.inc: New file.
2348 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
2349 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
2350 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
2351 * config/c6x/libunwind.S: New file.
2352 * config/c6x/pr-support.c: New file.
2353 * config/c6x/unwind-c6x.c: New file.
2354 * config/c6x/unwind-c6x.h: New file.
2355 * config/c6x/t-c6x-elf: New file.
2356
f70c879a
UB
23572011-08-23 Uros Bizjak <ubizjak@gmail.com>
2358
2359 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
2360 (ASM_DIVZERO): Ditto.
2361 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
2362
c55b374b
RS
23632011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
2364
2365 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
2366
1e138510
RS
23672011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
2368
2369 PR target/50090
2370 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
2371 instead of an assembly one.
2372
1563503d
PB
23732011-08-12 Paolo Bonzini <bonzini@gnu.org>
2374
2375 PR bootstrap/50047
2376 * Makefile.in (install-unwind_h): Create
2377 $(gcc_objdir)/include/unwind.h atomically.
2378
3627ac1a
RO
23792011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2380
2381 * Makefile.in (install-unwind_h): Remove destination file first.
2382
c6412d86
RO
23832011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2384
2385 * sync.c: New file.
2386 * config/mips/t-mips16: New file.
2387 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
2388 (mips*-*-linux*): Likewise.
2389 (mips*-sde-elf*): Likewise.
2390 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
2391 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
2392 Add mips/t-mips16 to tmake_file.
2393 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
2394 (mips-*-elf*): Likewise.
2395 (mips64-*-elf*): Likewise.
2396 (mips64orion-*-elf*): Likewise.
2397 (mips*-*-rtems*): Likewise.
2398 (mipstx39-*-elf*): Likewise.
2399 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
2400 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
2401 LIBGCC_SYNC_CFLAGS.
2402 Use $(srcdir) to refer to sync.c.
2403 Use $<.
2404 ($(libgcc-sync-funcs-o)): Likewise.
2405 ($(libgcc-sync-size-funcs-s-o)): Likewise.
2406 ($(libgcc-sync-funcs-s-o)): Likewise.
2407
3cb6e5bd
AS
24082011-08-09 Andreas Schwab <schwab@linux-m68k.org>
2409
2410 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
2411 t-libunwind.
2412
cca2207a
L
24132011-08-08 H.J. Lu <hongjiu.lu@intel.com>
2414
2415 PR other/48007
2416 * config/i386/value-unwind.h: New.
2417
ed39fbad
RS
24182011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
2419
2420 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
2421 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
2422 Add to tmake_file rather than overriding it.
2423
aca0b0b3
RO
24242011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2425
2426 * config/t-softfp: Remove.
2427 * soft-fp: Moved from ../gcc/config.
2428 * soft-fp/README: Remove t-softfp reference.
2429 * soft-fp/t-softfp: Move to config/t-softfp.
2430 (softfp_machine_header): Remove.
2431 (softfp_file_list): Remove config subdir.
2432 (soft-fp-objects): New variable.
2433 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
2434 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
2435 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
2436 * config/t-softfp-excl: New file.
2437 * config/t-softfp-sfdf: New file.
2438 * config/t-softfp-tf: New file.
2439 * config/no-sfp-machine.h: New file.
2440 * config/arm/sfp-machine.h: New file.
2441 * config/arm/t-softfp: New file.
2442 * config/c6x/sfp-machine.h: New file.
2443 * config/i386/32/t-fprules-softfp: Rename to ...
2444 * config/i386/32/t-softfp: ... this.
2445 (tifunctions, LIB2ADD): Remove.
2446 (softfp_int_modes): Override.
2447 * config/i386/64/t-softfp-compat (tf-functions): Remove config
2448 subdir.
2449 * config/i386/64/eqtf2.c: Likewise.
2450 * config/i386/64/getf2.c: Likewise.
2451 * config/i386/64/letf2.c: Likewise.
2452 * config/ia64/sft-machine.h: New file.
2453 * config/ia64/t-fprules-softfp: Rename to ...
2454 * config/ia64/t-softfp: ... this.
2455 * config/lm32/sfp-machine.h: New file.
2456 * config/moxie/t-moxie-softfp: Remove.
2457 * config/rs6000/ibm-ldouble-format: New file.
2458 * config/rs6000/ibm-ldouble.c: New file.
2459 * config/rs6000/libgcc-ppc-glibc.ver: New file
2460 * config/rs6000/libgcc-ppc64.ver: New file
2461 * config/rs6000/sfp-machine.h: New file.
2462 * config/rs6000/t-freebsd: New file.
2463 * config/rs6000/t-ibm-ldouble: New file.
2464 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
2465 libgcc-ppc-glibc.ver.
2466 * config/rs6000/t-linux64: New file.
2467 * config/rs6000/t-ppccomm (LIB2ADD): Add
2468 $(srcdir)/config/rs6000/ibm-ldouble.c.
2469 * config/rs6000/t-ppccomm-ldbl: New file.
2470 * config/score/sfp-machine.h: New file.
2471 * config.host (sfp_machine_header): Explain.
2472 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
2473 t-softfp to tmake_file.
2474 (arm*-*-uclinux*): Likewise.
2475 (arm*-*-ecos-elf): Likewise.
2476 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
2477 (arm*-*-rtems*): Likewise.
2478 (arm*-*-elf): Likewise.
2479 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
2480 in tmake_file.
2481 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
2482 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
2483 (lm32-*-uclinux*): Likewise.
2484 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
2485 t-softfp-excl, t-softfp.
2486 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
2487 (powerpc64-*-darwin*): Likewise.
2488 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
2489 to tmake_file.
2490 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
2491 tmake_file.
2492 (powerpc-*-eabisim*): Likewise.
2493 (powerpc-*-elf*): Likewise.
2494 (powerpc-*-eabialtivec*): Likewise.
2495 (powerpc-xilinx-eabi*): Likewise.
2496 (powerpc-*-rtems*): Likewise.
2497 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
2498 t-softfp-excl, t-softfp to tmake_file.
2499 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
2500 rs6000/t-ppccomm-ldbl to tmake_file.
2501 (powerpcle-*-elf*): Likewise.
2502 (powerpcle-*-eabisim*): Likewise.
2503 (powerpcle-*-eabi*): Likewise.
2504 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
2505 rs6000/t-ibm-ldouble to tmake_file.
2506 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2507 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2508 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
2509 (tic6x-*-*): Likewise.
2510 (i[34567]86-*-darwin*, x86_64-*-darwin*,
2511 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
2512 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
2513 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
2514 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
2515 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
2516 t-softfp to tmake_file.
2517 * configure.ac (sfp_machine_header): Provide default if unset.
2518 Substitute.
2519 Link sfp-machine.h to config/$sfp_machine_header.
2520 * configure: Regenerate.
2521
569dc494
RO
25222011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2523
2524 * Makefile.in (double_type_size, long_double_type_size): Set.
2525 Remove $(fpbit-in-libgcc) support.
2526 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
2527 (fpbit-src): New variable.
2528 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
2529 Compile with -DFLOAT $(FPBIT_CFLAGS).
2530 Use $<.
2531 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
2532 Compile with $(FPBIT_CFLAGS).
2533 Use $<.
2534 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
2535 Compile with -DFLOAT $(TPBIT_CFLAGS).
2536 Use $<.
2537 * configure.ac (double_type_size, long_double_type_size):
2538 Determine and substitute.
2539 * configure: Regenerate.
2540 * fp-bit.c, fp-bit.h: New files.
2541 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
2542 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
2543 * config/mips/t-mips: New file.
2544 * config/mips/t-sdemtk: New file.
2545 * config/rs6000/ppc64-fp.c: New file.
2546 * config/rs6000/t-darwin (LIB2ADD): Add
2547 $(srcdir)/config/rs6000/ppc64-fp.c.
2548 * config/rs6000/t-ppc64-fp: New file.
2549 * config/rx/rx-lib.h: New file.
2550 * config/rx/t-rx (FPBIT): Set to true.
2551 ($(gcc_objdir)/fp-bit.c): Remove.
2552 (DPBIT): Set to true only with -m64bit-doubles.
2553 ($(gcc_objdir)/dp-bit.c): Remove.
2554 * config/sparc/t-softfp: Remove.
2555 * config/spu/t-elf: New file.
2556 * config/t-fdpbit, config/t-fpbit: New files.
2557 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
2558 (mips*-*-*): Likewise.
2559 (arm-wrs-vxworks): Likewise.
2560 (arm*-*-freebsd*): Likewise.
2561 (avr-*-rtems*): Add t-fpbit to tmake_file.
2562 (avr-*-*): Likewise.
2563 (bfin*-elf*): Add t-fdpbit to tmake_file.
2564 (bfin*-uclinux*): Likewise.
2565 (bfin*-linux-uclibc*): Likewise.
2566 (bfin*-rtems*): New case.
2567 Add t-fdpbit to tmake_file.
2568 (bfin*-*): Add t-fdpbit to tmake_file.
2569 (crisv32-*-elf): Likewise.
2570 (cris-*-linux*): Likewise.
2571 (fr30-*-elf): Likewise.
2572 (frv-*-elf, frv-*-*linux*): Likewise.
2573 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
2574 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
2575 (m32r-*-elf*): Likewise.
2576 (m32rle-*-elf*): Likewise.
2577 (m32r-*-linux*): Likewise.
2578 (m32rle-*-linux*): Likewise.
2579 (mcore-*-elf): Add t-fdpbit to tmake_file.
2580 (microblaze*-*-*): Likewise.
2581 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
2582 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
2583 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
2584 Fix typo.
2585 Add mips/t-tpbit to tmake-file.
2586 (mips*-*-linux*): Fix typo.
2587 (mips*-sde-elf*): New case
2588 Add mips/t-sdemtk unless using newlib.
2589 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
2590 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
2591 (mn10300-*-*): Likewise.
2592 (pdp11-*-*): Likewise.
2593 (picochip-*-*): Add t-fpbit to tmake_file.
2594 (powerpc-*-eabisimaltivec*): Likewise.
2595 (powerpc-*-eabisim*): Likewise.
2596 (powerpc-*-elf*): Likewise.
2597 (powerpc-*-eabialtivec*): Likewise.
2598 (powerpc-xilinx-eabi*): New case.
2599 Add t-fdpbit to tmake_file.
2600 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
2601 (powerpc-*-rtems*): Likewise.
2602 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
2603 tmake_file.
2604 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
2605 tmake_file.
2606 (powerpc-*-lynxos*): Likewise.
2607 (powerpcle-*-elf*): Likewise.
2608 (powerpcle-*-eabisim*): Likewise.
2609 (powerpcle-*-eabi*): Likewise.
2610 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
2611 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
2612 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2613 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2614 (rx-*-elf): Add t-fdpbit to tmake_file.
2615 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
2616 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
2617 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
2618 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
2619 sh*-*-netbsd*.
2620 (sh-*-rtems*): Add t-fdpbit to tmake_file.
2621 (sh-wrs-vxworks): Likewise.
2622 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
2623 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
2624 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
2625 (sparc64-*-rtems*): ... new case.
2626 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
2627 (spu-*-elf*): Likewise.
2628 Add spu/t-elf to tmake_file.
2629 (v850*-*-*): Add t-fdpbit to tmake_file.
2630 (xstormy16-*-elf): Likewise.
2631 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
2632 (mep*-*-*): Likewise.
2633
201cdb74
RO
26342011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2635
2636 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
2637 variables.
2638 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
2639 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
2640 (install-unwind_h): New target.
2641 (all): Depend on it.
2642 * config.host (unwind_header): New variable.
2643 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
2644 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
2645 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
2646 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
2647 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
2648 Set unwind_header.
2649 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
2650 Set unwind_header.
2651 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
2652 arm*-*-eabi*.
2653 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
2654 Set unwind_header.
2655 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
2656 (ia64*-*-freebsd*): Likewise.
2657 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
2658 tmake_file.
2659 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
2660 $with_system_libunwind.
2661 (ia64*-*-hpux*): Set tmake_file.
2662 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
2663 (picochip-*-*): Set tmake_file.
2664 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
2665 md_unwind_header.
2666 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2667 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2668 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
2669 (xtensa*-*-elf*): Set tmake_file.
2670 (xtensa*-*-linux*): Likewise.
2671 * configure.ac: Include ../config/unwind_ipinfo.m4.
2672 Call GCC_CHECK_UNWIND_GETIPINFO.
2673 Link unwind.h to $unwind_header.
2674 * configure: Regenerate.
2675 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
2676 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
2677 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
2678 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
2679 * config/unwind-dw2-fde-darwin.c: New file.
2680 * config/arm/libunwind.S, config/arm/pr-support.c,
2681 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
2682 config/arm/unwind-arm.h,: New files.
2683 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
2684 config/ia64/t-eh-ia64, config/ia64/t-glibc,
2685 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
2686 config/ia64/t-vms, config/ia64/unwind-ia64.c,
2687 config/ia64/unwind-ia64.h: New files.
2688 * config/picochip/t-picochip: New file.
2689 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
2690 files.
2691 * config/rs6000/t-darwin (LIB2ADDEH): Set.
2692 * config/s390/t-tpf (LIB2ADDEH): Remove.
2693 * config/t-darwin (LIB2ADDEH): Set.
2694 * config/t-eh-dw2-dip: New file.
2695 * config/t-libunwind, config/t-libunwind-elf: New files.
2696 * config/t-sol2 (LIB2ADDEH): Remove.
2697 * config/xtensa/t-xtensa: New file.
2698
40f2f11f
L
26992011-08-02 H.J. Lu <hongjiu.lu@intel.com>
2700
2701 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
2702 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
2703 long long to check rt_sigreturn syscall.
2704
bd15e32c
AM
27052011-08-02 Alan Modra <amodra@gmail.com>
2706
2707 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
2708 Restore for indirect call bcrtl from correct stack slot, and only
2709 if cfa+40 isn't valid.
2710
655b30bf
JB
27112011-08-01 Julian Brown <julian@codesourcery.com>
2712
2713 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
2714 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
2715 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
2716
247eb06f
JB
27172011-08-01 Julian Brown <julian@codesourcery.com>
2718
2719 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
2720 (libgcc-std.ver.in): Use above.
2721 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
2722 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
2723 throughout file.
2724 * config/t-fixedpoint-gnu-prefix: New file.
2725 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
2726 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
2727 instead of __PFX__.
2728
02a8fe00
L
27292011-07-28 H.J. Lu <hongjiu.lu@intel.com>
2730
2731 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
2732 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
2733 for x86-64. Properly check __x86_64__ and __LP64__.
2734
5fce9126
L
27352010-07-28 H.J. Lu <hongjiu.lu@intel.com>
2736
2737 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
2738 version.
2739 (_FP_WS_TYPE): Likewise.
2740 (_FP_I_TYPE): Likewise.
2741
2374a88a
AM
27422011-07-28 Alan Modra <amodra@gmail.com>
2743
2744 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
2745 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
2746 in a plt call stub. Do restore r2 if stopped on bctrl.
2747
e44dbbe1
RO
27482011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2749
2750 * config.host (i[3456x]86-*-netware*): Remove.
2751 * config/i386/netware-crt0.c, config/i386/t-nwld,
2752 config/i386/t-slibgcc-nwld: Remove.
2753
bcead286
BS
27542011-07-15 Bernd Schmidt <bernds@codesourcery.com>
2755
2756 * config.host: Handle tic6x-*-*.
2757 * config/c6x/c6x-abi.h: New file.
2758
b3fe1584
RO
27592011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2760
2761 * config/i386/crtprec.c: New file.
2762 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
2763 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
2764 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
2765 (x86_64-*-darwin*): Likewise.
2766 (i[34567]86-*-solaris2*: Likewise.
2767
35d8090d
RO
27682011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2769
2770 * config/alpha/crtfastmath.c: New file.
2771 * config/i386/crtfastmath.c: New file.
2772 * config/ia64/crtfastmath.c: New file.
2773 * config/mips/crtfastmath.c: New file.
2774 * config/sparc/crtfastmath.c: New file.
2775
2776 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
2777 crtfastmath.c.
2778 Add -frandom-seed=gcc-crtfastmath.
2779 * config/alpha/t-crtfm: Remove.
2780 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
2781 * config/ia64/t-ia64 (crtfastmath.o): Remove.
2782
2783 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
2784 (alpha*-dec-osf5.1*): Likewise.
2785 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
2786 Add crtfastmath.o to extra_parts.
2787 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
2788 Add crtfastmath.o to extra_parts.
2789 (x86_64-*-darwin*): Likewise.
2790 (x86_64-*-mingw*): Likewise.
2791 (ia64*-*-elf*): Add t-crtfm to tmake_file.
2792 (ia64*-*-freebsd*): Likewise.
2793 (ia64*-*-linux*): Likewise.
2794 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
2795 Add crtfastmath.o to extra_parts.
2796
e141542e
RO
27972011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2798
2799 * config/darwin-crt3.o: New file.
2800 * config/rs6000/darwin-crt2.c: New file.
2801 * config/t-darwin: New file.
2802 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
2803 (crt2.o): New rule.
2804 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
2805 (powerpc-*-darwin*): Add crt2.o to extra_parts.
2806 (powerpc64-*-darwin*): Likewise.
2807
2d1efe2d
RO
28082011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2809
2810 * config/i386/netware-crt0.c: New file.
2811 * config/i386/t-nwld: Rename to ...
2812 * config/i386/t-slibgcc-nwld: ... this.
2813 * config/i386/t-nwld: New file.
2814 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
2815 tmake_file.
2816 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
2817 extra_parts.
2818
4a8bb046
RO
28192011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2820
2821 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
2822 i386/t-crtstuff.
2823 * configure: Regenerate.
2824
2d8d5935
RO
28252011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2826
2827 * dfp-bit.c, dfp-bit.h: New files.
2828 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
2829 variables.
2830 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
2831 ($(d64pbit-o)): Likewise.
2832 ($(d128pbit-o)): Likewise.
2833 * config/t-dfprules: New file.
2834 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
2835 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
2836 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
2837 (x86_64-*-linux*): Likewise.
2838 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
2839 (i[34567]86-*-cygwin*): Likewise.
2840 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
2841 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
2842
2c50b2c3
RO
28432011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2844
2845 * Makfile.in (LIBGCOV): New variable.
2846 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
2847 * libgcov.c: New file.
2848
a039d7c2
RO
28492011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2850
2851 * fixed-bit.c, fixed-bit.h: New files.
2852 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
2853 refer to fixed-bit.c.
2854
1e4b2746
JM
28552011-07-07 Joseph Myers <joseph@codesourcery.com>
2856
2857 * config.host (*local*): Remove.
2858
fbdd5d87
RO
28592011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2860
2861 PR target/39150
2862 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
2863 like i?86-*-solaris2.1[0-9]*.
2864 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
2865 * configure.ac (i?86-*-solaris2*): Likewise.
2866 * configure: Regenerate.
2867
9e7714f4
TS
28682011-07-06 Thomas Schwinge <thomas@schwinge.name>
2869
2870 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
2871 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
2872 md_unwind_header by splitting out of...
2873 (i[34567]86-*-linux*): ... this.
2874 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
2875 Remove md_unwind_header by splitting out of...
2876 (x86_64-*-linux*): ... this.
2877
6dab9931
GJL
28782011-07-04 Georg-Johann Lay <avr@gjlay.de>
2879
2880 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
2881
4be46d19
NC
28822011-06-28 Nick Clifton <nickc@redhat.com>
2883
2884 * config.host: Recognize all V850 variants.
2885
1da9434b
UB
28862011-06-22 Uros Bizjak <ubizjak@gmail.com>
2887
2888 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
2889
e4d48a4d
RO
28902011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2891
2892 * shared-object.mk (c_flags-$o): Save c_flags.
2893 ($(base)$(objext)): Use it.
2894 ($(base)_s$(objext)): Likewise.
2895
3801c801
BS
28962011-06-21 Bernd Schmidt <bernds@codesourcery.com>
2897
2898 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
2899 * libgcc-std.ver.in (GCC_4.7.0): New section.
2900
0ad8bb3b 29012011-06-16 Georg-Johann Lay <avr@gjlay.de>
1da9434b 2902
0ad8bb3b
GJL
2903 PR target/49313
2904 PR target/29524
2905 * config/avr/t-avr: Fix line endings.
2906 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
2907 _parityXX2.
2908
ea963999
OH
29092011-06-14 Olivier Hainque <hainque@adacore.com>
2910 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2911
2912 * config/mips/irix6-unwind.h: New file.
2913 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
2914
b11b0904
EB
29152011-06-10 Eric Botcazou <ebotcazou@adacore.com>
2916
2917 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
2918 (sparc64_fallback_frame_state): Use it.
2919 (sparc64_frob_update_context): Further adjust context.
2920 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
2921 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
2922 * config/sparc/sol2-cn.S: Likewise.
2923
10e48e39
RO
29242011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2925
2926 * enable-execute-stack-empty.c: New file.
2927 * enable-execute-stack-mprotect.c: New file.
2928 * config/i386/enable-execute-stack-mingw32.c: New file.
2929 * config.host (enable_execute_stack): New variable.
2930 Select appropriate variants.
2931 * configure.ac: Link enable-execute-stack.c to
2932 $enable_execute_stack.
2933 * configure: Regenerate.
2934 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
2935 (lib2funcs): Remove _enable_execute_stack.
2936
10c4cabc
DM
29372011-06-09 David S. Miller <davem@davemloft.net>
2938 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2939
2940 * config.host (sparc-*-linux*): Correct md_unwind_header
2941 filename.
2942 (s390x-ibm-tpf*): Fix typo.
2943
aa4203e7
RO
29442011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2945
2946 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
2947 Add crtfastmath.o to extra_parts.
2948 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
2949 mips/t-crtfm.
2950 * config/mips/t-crtfm: Remove.
2951
0defd786
JDA
29522011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2953
2954 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
2955
82f247af
KK
29562011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
2957
2958 * config.host (sh*-*-linux*): Fix typo.
2959
58cd1d70
RO
29602011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2961
2962 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
2963 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
2964 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
2965 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
2966 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
2967 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
2968 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
2969 Wrap in !__MINGW64__.
2970 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
2971 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
2972 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
2973 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
2974 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
2975 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
2976 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
2977 Wrap in !__LP64__.
2978 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
2979 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
2980 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
2981 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
2982 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
2983 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
2984 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
2985 * config/no-unwind.h: New file.
2986 * config.host (md_unwind_header): Document.
2987 Define.
2988 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
2989 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
2990 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
2991 hppa[12]*-*-hpux11*): Set md_unwind_header.
2992 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
2993 Set md_unwind_header.
2994 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
2995 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
2996 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
2997 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
2998 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
2999 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
3000 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
3001 md_unwind_header.
3002 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
3003 * configure: Regenerate.
3004
737346fa
RO
30052011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3006
3007 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
3008 Set tmake_file, extra_parts.
3009 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
3010 Remove O32 support.
3011 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
3012 Remove O32 support.
3013 * config/mips/t-irix6: New file.
3014 * config/mips/t-slibgcc-irix: New file.
3015
c192cee6
RO
30162011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3017
3018 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
3019 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
3020
ee33b5f0
RO
30212011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3022
3023 * configure.ac (target_thread_file): Determine thread model.
3024 * configure: Regenerate.
3025 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
3026 * config/alpha/t-alpha: New file.
3027 * config/alpha/t-crtfm: Use $<.
3028 * config/alpha/t-ieee: New file.
3029 * config/alpha/t-osf-pthread: New file.
3030 * config/alpha/t-slibgcc-osf: New file.
3031 * config/alpha/libgcc-osf5.ver: New file.
3032
0699e415
RO
30332011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3034
3035 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
3036 tmake_file.
3037 Add crtfastmath.o to extra_parts.
3038
a3fab9c2
RO
30392011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3040
3041 * config/gmon-sol2.c: Reindent.
3042 Cleanup comments.
3043 Remove, correct casts.
3044 Use STDERR_FILENO, NULL.
3045 (BASEADDRESS): Remove.
3046 (minbrk): Remove.
3047 (errno, sbrk): Remove declarations.
3048 (monstartup) [hp300]: Remove.
3049 (mcount): Remove.
3050
ca24c5ad
RO
30512011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3052
3053 * Makefile.in (cpu_type): Define.
3054 * config.host (i[34567]86-*-rtems*): Handle it.
3055 (i[34567]86-*-solaris2*): Move body ...
3056 (*-*-solaris2*): ... here.
3057 New case, generalize.
3058 (sparc-*-elf*): Handle it.
3059 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
3060 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
3061 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
3062 Fold into ...
3063 (sparc*-*-solaris2*): ... this.
3064 New case.
3065 (sparc64-*-elf*): Handle it.
3066 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
3067 Merge ../gcc/config/i386/gmon-sol2.c.
3068 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
3069 Use C comments.
3070 Merge ../gcc/config/i386/sol2-gc1.asm.
3071 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
3072 Use C comments.
3073 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
3074 Use C comments.
3075 * config/i386/t-crtfm (crtfastmath.o): Use $<.
3076 * config/i386/t-crtstuff: New file.
3077 * config/i386/t-softfp: New file.
3078 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
3079 $(T)crti.o, $(T)crtn.o): Remove.
3080 (gcrt1.o): New rule.
3081 (TARGET_LIBGCC2_CFLAGS): Remove.
3082 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
3083 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
3084 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
3085 * config/sparc/t-sol2: New file.
3086 * config/sparc/t-crtfm: Move to ...
3087 * config/t-crtfm: ... this.
3088 Use $(cpu_type), $<.
3089 * config/t-crtin: New file.
3090 * config/sparc/t-softfp: New file.
3091 * config/sparc/t-softmul: New file.
3092 * config/t-rtems: New file.
3093 * config/t-slibgcc: New file.
3094 * config/t-slibgcc-elf-ver: New file.
3095 * config/t-slibgcc-gld: New file.
3096 * config/t-slibgcc-sld: New file.
3097 * config/t-sol2: New file.
3098 * configure.ac: Include ../config/lib-ld.m4.
3099 Call AC_LIB_PROG_LD_GNU.
3100 Substitute cpu_type.
3101 * configure: Regenerate.
3102
ad5f3d7b
BS
31032011-05-27 Bernd Schmidt <bernds@codesourcery.com>
3104
3105 PR bootstrap/49173
3106 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
3107 libgcc-std.ver in the build directory.
3108 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
3109 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
3110
cdbf4541
BS
31112011-05-25 Bernd Schmidt <bernds@codesourcery.com>
3112
3113 * libgcc-std.ver.in: New file.
3114 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
3115 variables.
3116 (libgcc-std.ver): New rule.
3117 * config/t-gnu-prefix: New file.
3118
c8028650
RO
31192011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3120
3121 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
3122
4a68b4ca
JM
31232011-05-10 Joseph Myers <joseph@codesourcery.com>
3124
3125 * config/i386/darwin-lib.h: New file.
3126
80cf2e08
JM
31272011-05-10 Joseph Myers <joseph@codesourcery.com>
3128
3129 * config/arm/symbian-lib.h: New.
3130
a3330c9d
CD
31312011-05-04 Chris Demetriou <cgd@google.com>
3132
3133 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
3134 (__x86.get_pc_thunk.bx): ...this.
3135 (__morestack): Adjust for rename, remove undef of __i686.
3136
6ace0756
CD
31372011-05-03 Chris Demetriou <cgd@google.com>
3138
3139 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
3140
ebb9f8b0
JM
31412011-03-22 Joseph Myers <joseph@codesourcery.com>
3142
3143 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
3144 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
3145 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
3146 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
3147 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
3148 Remove cases.
3149
9cfa1499
AT
31502011-03-14 Andreas Tobler <andreast@fgznet.ch>
3151
3152 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
3153 Adjust copyright year.
3154
457186f6
ILT
31552011-03-07 Ian Lance Taylor <iant@google.com>
3156
3157 * generic-morestack.c (__splitstack_find): Adjust returned stack
3158 pointer to include all registers pushed by __morestack.
3159
58c741a6
DK
31602011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
3161
3162 PR target/40125
3163 * configure.ac: Call ACX_NONCANONICAL_TARGET.
3164 (toolexecdir): Calculate and AC_SUBST.
3165 (toolexeclibdir): Likewise.
3166 * Makefile.in (target_noncanonical): Import.
3167 (toolexecdir): Likewise.
3168 (toolexeclibdir): Likewise.
3169 * configure: Regenerate.
3170
26716c44
NF
31712010-12-13 Nathan Froyd <froydnj@codesourcery.com>
3172
3173 PR target/46040
3174 * config/arm/bpabi.h: Rename to...
3175 * config/arm/bpabi-lib.h: ...this.
3176
b595b1a1
RO
31772010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3178
3179 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
3180 appropriate.
3181 * configure: Regenerate.
3182
a3abe41c
NF
31832010-11-24 Nathan Froyd <froydnj@codesourcery.com>
3184
3185 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
3186 __FLOAT_WORD_ORDER__.
3187 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
3188 Delete.
3189
455c8f48
RW
31902010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3191
3192 PR other/46202
3193 * Makefile.in (install-strip): New phony target.
3194
f3824a8b
ILT
31952010-11-07 Ian Lance Taylor <iant@google.com>
3196
3197 PR target/46089
3198 * config/i386/morestack.S (__morestack_large_model): New
3199 function.
3200
18ed6ee4
NF
32012010-10-23 Nathan Froyd <froydnj@codesourcery.com>
3202
3203 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
3204 Delete.
3205 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
3206
8ac7fdcb
NF
32072010-10-14 Nathan Froyd <froydnj@codesourcery.com>
3208
3209 * config/arm/bpabi.h: New file.
3210 * config/frv/frv-abi.h: New file.
3211
cdb388c2
ILT
32122010-10-01 Ian Lance Taylor <iant@google.com>
3213
3214 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
3215 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
3216
ef7c141c
L
32172010-10-01 H.J. Lu <hongjiu.lu@intel.com>
3218
3219 PR target/45858
3220 * config.host: Add the missing `$'.
3221
80920132
ME
32222010-09-30 Michael Eager <eager@eagercon.com>
3223
3224 * config.host: Add microblaze*-*-*.
3225 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
3226 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
3227 udivsi3.asm,umodsi3.asm}: New.
3228
6dace308
ILT
32292010-09-28 Ian Lance Taylor <iant@google.com>
3230
3231 * configure.ac: Adjust CFI test to test assembler directly rather
3232 than checking gcc preprocessor macro.
3233 * configure: Rebuild.
3234
b6110d6d
ILT
32352010-09-27 Ian Lance Taylor <iant@google.com>
3236
3237 * configure.ac: Test whether assembler supports CFI directives.
3238 * config.host: Only add t-stack and i386/t-stack-i386 to
3239 tmake_file if libgcc_cv_cfi is "yes".
3240 * configure: Rebuild.
3241
7458026b
ILT
32422010-09-27 Ian Lance Taylor <iant@google.com>
3243
3244 * generic-morestack.h: New file.
3245 * generic-morestack.c: New file.
3246 * generic-morestack-thread.c: New file.
3247 * config/i386/morestack.S: New file.
3248 * config/t-stack: New file.
3249 * config/i386/t-stack-i386: New file.
3250 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
3251 i386/t-stack-i386 to tmake_file.
3252
5b50fc0c
IS
32532010-09-21 Iain Sandoe <iains@gcc.gnu.org>
3254
3255 * Makefile.in (libgcc-extra-parts): Check for static archives and
3256 invoke ranlib after installing them.
3257 (gcc-extra-parts): Likewise.
3258 (install-leaf): Likewise.
3259
b93cf342
L
32602010-09-14 H.J. Lu <hongjiu.lu@intel.com>
3261
3262 * configure: Regenerated.
3263
996b42ef
KT
32642010-09-10 Kai Tietz <kai.tietz@onevision.com>
3265
b93cf342 3266 * configure: Regenerated.
996b42ef 3267
be1c764e
GP
32682010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
3269 Andrew Pinski <pinskia@gmail.com>
3270
1da9434b 3271 PR target/40959
be1c764e
GP
3272 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
3273
cc0ae0ca
L
32742010-09-06 H.J. Lu <hongjiu.lu@intel.com>
3275
3276 PR target/45524
3277 * configure: Regenerated.
3278
84f47d20
AS
32792010-09-06 Andreas Schwab <schwab@redhat.com>
3280
3281 * configure: Regenerate.
3282
4159fb8d
UB
32832010-09-03 Uros Bizjak <ubizjak@gmail.com>
3284
3285 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
3286 64bit targets.
3287 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
3288 for 64bit targets.
3289
0df8fcc8
UB
32902010-09-03 Uros Bizjak <ubizjak@gmail.com>
3291 Iain Sandoe <iains@gcc.gnu.org>
3292
3293 PR target/45476
3294 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
3295 LIB2FUNCS_EXCLUDE functions.
3296
3c39bca6
AK
32972010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3298
3299 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
3300 Include dfp.m4.
3301 * configure: Regenerate.
3302
d78552bd
UB
33032010-09-01 Uros Bizjak <ubizjak@gmail.com>
3304
3305 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
3306 i386/t-freebsd to tmake_file.
3307 * config/i386/t-freebsd: New file.
3308 * config/i386/libgcc-bsd.ver: New file.
3309
c5b79d4e
NF
33102010-07-23 Nathan Froyd <froydnj@codesourcery.com>
3311
3312 * config.host (powerpc*-eabispe*): Set tmake_file.
3313 (powerpc*-eabi*): Likewise.
3314 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
3315 crtbeginS, crtendS, crtbeginT.
3316
48b09a92
KH
33172010-06-12 Kazu Hirata <kazu@codesourcery.com>
3318
3319 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
3320 to tmake_file. Add crtfastmath.o to extra_parts.
3321 * config/mips/t-crtfm: New.
3322
a4389204
JS
33232010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
3324
3325 * config.host (sparc64-*-rtems*): New target.
3326
ed104137
RO
33272010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3328
3329 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
3330 assembler syntax.
3331
3f56ef8b
TS
33322010-04-15 Thomas Schwinge <tschwinge@gnu.org>
3333
3334 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
3335
8c200350
RO
33362010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3337
3338 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
3339 alpha-dec-osf5.0* support.
3340
80a61cb4 33412010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
c1b14424
RC
3342
3343 * config.host: Add lm32-*-rtems*.
3344
f128db92
RO
33452010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3346 Uros Bizjak <ubizjak@gmail.com>
3347
3348 PR target/39048
3349 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
3350 like other remaining 32-bit x86 OSes.
3351 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
3352 assembler syntax.
3353 * config/i386/libgcc-sol2.ver: New file.
3354 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
3355
368fabd5
JH
33562010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
3357
3358 PR c/43553
3359 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
3360 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
3361 is used and substitute set_use_emutls.
3362 * configure: Regenerated.
3363
15baf7f8
TG
33642010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
3365
3366 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
3367
7f5441df
RO
33682010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3369
3370 PR target/38085
3371 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
3372 MULTILIB_CFLAGS.
3373 ($(T)gcrt1.o): Likewise.
3374 ($(T)crt1.o): Likewise.
3375 ($(T)crti.o): Likewise.
3376 ($(T)crtn.o): Likewise.
3377
ef74edbd
RW
33782010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3379
3380 PR other/42980
3381 * Makefile.in (install): Use $(MAKE) string in rule, for
3382 parallel make.
3383
e7c914db
HPN
33842010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
3385
3386 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
3387 * config/mmix/t-mmix: New file.
3388 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
3389
1bcb71c4
JH
33902010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
3391
3392 PR java/41991
3393 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
3394 SHLIB_MAPFILES.
3395
e6e50811
AG
33962010-01-04 Anthony Green <green@moxielogic.com>
3397
3398 * config/moxie/crti.asm, config/moxie/crtn.asm,
3399 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
3400 config/moxie/t-moxie: New files.
3401 * config.host: Add t-moxie-softfp reference.
3402
ca8520ad
IS
34032009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
3404
3405 PR other/39888
3406 * config/t-slibgcc-darwin: Fix embedded rpaths for
3407 --enable-version-specific-runtime-libs, build extension stub
3408 libs exposing features available from current libgcc_s.
3409
aa4945c1
JB
34102009-11-11 Jon Beniston <jon@beniston.com>
3411
d78552bd
UB
3412 * config.host: Add lm32 targets.
3413 * config/lm32: New directory.
3414 * config/lm32/libgcc_lm32.h: New file.
3415 * config/lm32/_mulsi3.c: New file.
3416 * config/lm32/_udivmodsi4.c: New file.
3417 * config/lm32/_divsi3.c: New file.
3418 * config/lm32/_modsi3.c: New file.
3419 * config/lm32/_udivsi3.c: New file.
3420 * config/lm32/_umodsi3.c: New file.
3421 * config/lm32/_lshrsi3.S: New file.
3422 * config/lm32/_ashrsi3.S: New file.
3423 * config/lm32/_ashlsi3.S: New file.
3424 * config/lm32/crti.S: New file.
3425 * config/lm32/crtn.S: New file.
3426 * config/lm32/t-lm32: New file.
3427 * config/lm32/t-elf: New file.
3428 * config/lm32/t-uclinux: New file.
aa4945c1 3429
65a324b4
NC
34302009-10-26 Nick Clifton <nickc@redhat.com>
3431
3432 * config.host: Add support for RX target.
3433 * config/rx: New directory.
3434 * config/rx/rx-abi-functions.c: New file. Supplementary
3435 functions for libgcc to support the RX ABI.
3436 * config/rx/rx-abi.h: New file. Supplementary header file for
3437 libgcc RX ABI functions.
3438 * config/rx/t-rx: New file: Makefile fragment for building
3439 libgcc for the RX.
3440
dfb3b0e3
UB
34412009-10-09 Uros Bizjak <ubizjak@gmail.com>
3442
3443 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
3444 constraint of y0 to "g".
3445
81dd9fd7
AK
34462009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3447
3448 * config.host: Include the s390 makefile fragments.
3449 * config/s390/32/_fixdfdi.c: New file.
3450 * config/s390/32/_fixsfdi.c: New file.
3451 * config/s390/32/_fixtfdi.c: New file.
3452 * config/s390/32/_fixunsdfdi.c: New file.
3453 * config/s390/32/_fixunssfdi.c: New file.
3454 * config/s390/32/_fixunstfdi.c: New file.
3455 * config/s390/32/t-floattodi: New file.
3456 * config/s390/libgcc-glibc.ver: New file.
3457 * config/s390/t-crtstuff: New file.
3458 * config/s390/t-linux: New file.
3459 * config/s390/t-tpf: New file.
3460
df58e648
RW
34612009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3462
3463 * configure.ac (AC_PREREQ): Bump to 2.64.
3464
79052be3
KK
34652009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
3466
3467 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
3468
5213506e
RW
34692009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3470
3471 * configure: Regenerate.
3472
a9a25daa
DR
34732009-08-09 Douglas B Rupp <rupp@gnat.com>
3474
3475 * config.host (ia64-hp-*vms*): New target.
3476 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
3477 with ia64-hp-*vms*.
3478
6efbd53f
RW
34792009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3480
3481 * configure.ac: Add snippet for maintainer-mode.
3482 * configure: Regenerate.
3483 * Makefile.in (AUTOCONF, configure_deps): New variables.
3484 ($(srcdir)/configure)): New rule, active only with maintainer
3485 mode turned on.
3486
7acf4da6
DD
34872009-06-23 DJ Delorie <dj@redhat.com>
3488
3489 Add MeP port.
3490 * config.host: Add mep support.
3491
54f549af
KT
34922009-06-22 Kai Tietz <kai.tietz@onevision.com>
3493
34481f28 3494 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 3495 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
34481f28
UB
3496
3497 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
3498 for mingw targets.
54f549af
KT
3499 * config/i386/64/_multc3.c: Likewise.
3500 * config/i386/64/_powitf2.c: Likewise.
3501 * config/i386/64/eqtf2.c: Likewise.
3502 * config/i386/64/getf2.c: Likewise.
3503 * config/i386/64/letf2.c: Likewise.
3504 * config/i386/64/letf2.c: Likewise.
34481f28
UB
3505 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
3506 unsigned long long for x64 mingw targets.
3507 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
3508 (_FP_I_TYPE): Define as long long for x64 mingw target.
54f549af 3509
fea96e25
MR
35102009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
3511
3512 * config.host (vax-*-linux*): New.
3513
cceb575c
AG
35142009-05-31 Anthony Green <green@moxielogic.com>
3515
3516 * config.host: Add moxie support.
3517 * config/moxie/t-moxie: New file.
3518
e997fb9c
DB
35192009-05-29 David Billinghurst <billingd@gcc.gnu.org>
3520
3521 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 3522 t-softfp to tmake_file for i[34567]86-*-cygwin*.
e997fb9c 3523
532bfb0a
AJ
35242009-04-17 Aurelien Jarno <aurelien@aurel32.net>
3525
3526 * config.host: Add i386/${host_address}/t-fprules-softfp to
3527 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
3528
748086b7
JJ
35292009-04-09 Nick Clifton <nickc@redhat.com>
3530
3531 * config/ia64/tf-signs.c: Change copyright header to refer to
3532 version 3 of the GNU General Public License with version 3.1
3533 of the GCC Runtime Library Exception and to point readers at
3534 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
3535 web page.
3536 * config/i386/32/tf-signs.c: Likewise.
3537 * config/libbid/_addsub_dd.c: Likewise.
3538 * config/libbid/_addsub_sd.c: Likewise.
3539 * config/libbid/_addsub_td.c: Likewise.
3540 * config/libbid/_dd_to_df.c: Likewise.
3541 * config/libbid/_dd_to_di.c: Likewise.
3542 * config/libbid/_dd_to_sd.c: Likewise.
3543 * config/libbid/_dd_to_sf.c: Likewise.
3544 * config/libbid/_dd_to_si.c: Likewise.
3545 * config/libbid/_dd_to_td.c: Likewise.
3546 * config/libbid/_dd_to_tf.c: Likewise.
3547 * config/libbid/_dd_to_udi.c: Likewise.
3548 * config/libbid/_dd_to_usi.c: Likewise.
3549 * config/libbid/_dd_to_xf.c: Likewise.
3550 * config/libbid/_df_to_dd.c: Likewise.
3551 * config/libbid/_df_to_sd.c: Likewise.
3552 * config/libbid/_df_to_td.c: Likewise.
3553 * config/libbid/_di_to_dd.c: Likewise.
3554 * config/libbid/_di_to_sd.c: Likewise.
3555 * config/libbid/_di_to_td.c: Likewise.
3556 * config/libbid/_div_dd.c: Likewise.
3557 * config/libbid/_div_sd.c: Likewise.
3558 * config/libbid/_div_td.c: Likewise.
3559 * config/libbid/_eq_dd.c: Likewise.
3560 * config/libbid/_eq_sd.c: Likewise.
3561 * config/libbid/_eq_td.c: Likewise.
3562 * config/libbid/_ge_dd.c: Likewise.
3563 * config/libbid/_ge_sd.c: Likewise.
3564 * config/libbid/_ge_td.c: Likewise.
3565 * config/libbid/_gt_dd.c: Likewise.
3566 * config/libbid/_gt_sd.c: Likewise.
3567 * config/libbid/_gt_td.c: Likewise.
3568 * config/libbid/_isinfd128.c: Likewise.
3569 * config/libbid/_isinfd32.c: Likewise.
3570 * config/libbid/_isinfd64.c: Likewise.
3571 * config/libbid/_le_dd.c: Likewise.
3572 * config/libbid/_le_sd.c: Likewise.
3573 * config/libbid/_le_td.c: Likewise.
3574 * config/libbid/_lt_dd.c: Likewise.
3575 * config/libbid/_lt_sd.c: Likewise.
3576 * config/libbid/_lt_td.c: Likewise.
3577 * config/libbid/_mul_dd.c: Likewise.
3578 * config/libbid/_mul_sd.c: Likewise.
3579 * config/libbid/_mul_td.c: Likewise.
3580 * config/libbid/_ne_dd.c: Likewise.
3581 * config/libbid/_ne_sd.c: Likewise.
3582 * config/libbid/_ne_td.c: Likewise.
3583 * config/libbid/_sd_to_dd.c: Likewise.
3584 * config/libbid/_sd_to_df.c: Likewise.
3585 * config/libbid/_sd_to_di.c: Likewise.
3586 * config/libbid/_sd_to_sf.c: Likewise.
3587 * config/libbid/_sd_to_si.c: Likewise.
3588 * config/libbid/_sd_to_td.c: Likewise.
3589 * config/libbid/_sd_to_tf.c: Likewise.
3590 * config/libbid/_sd_to_udi.c: Likewise.
3591 * config/libbid/_sd_to_usi.c: Likewise.
3592 * config/libbid/_sd_to_xf.c: Likewise.
3593 * config/libbid/_sf_to_dd.c: Likewise.
3594 * config/libbid/_sf_to_sd.c: Likewise.
3595 * config/libbid/_sf_to_td.c: Likewise.
3596 * config/libbid/_si_to_dd.c: Likewise.
3597 * config/libbid/_si_to_sd.c: Likewise.
3598 * config/libbid/_si_to_td.c: Likewise.
3599 * config/libbid/_td_to_dd.c: Likewise.
3600 * config/libbid/_td_to_df.c: Likewise.
3601 * config/libbid/_td_to_di.c: Likewise.
3602 * config/libbid/_td_to_sd.c: Likewise.
3603 * config/libbid/_td_to_sf.c: Likewise.
3604 * config/libbid/_td_to_si.c: Likewise.
3605 * config/libbid/_td_to_tf.c: Likewise.
3606 * config/libbid/_td_to_udi.c: Likewise.
3607 * config/libbid/_td_to_usi.c: Likewise.
3608 * config/libbid/_td_to_xf.c: Likewise.
3609 * config/libbid/_tf_to_dd.c: Likewise.
3610 * config/libbid/_tf_to_sd.c: Likewise.
3611 * config/libbid/_tf_to_td.c: Likewise.
3612 * config/libbid/_udi_to_dd.c: Likewise.
3613 * config/libbid/_udi_to_sd.c: Likewise.
3614 * config/libbid/_udi_to_td.c: Likewise.
3615 * config/libbid/_unord_dd.c: Likewise.
3616 * config/libbid/_unord_sd.c: Likewise.
3617 * config/libbid/_unord_td.c: Likewise.
3618 * config/libbid/_usi_to_dd.c: Likewise.
3619 * config/libbid/_usi_to_sd.c: Likewise.
3620 * config/libbid/_usi_to_td.c: Likewise.
3621 * config/libbid/_xf_to_dd.c: Likewise.
3622 * config/libbid/_xf_to_sd.c: Likewise.
3623 * config/libbid/_xf_to_td.c: Likewise.
3624 * config/libbid/bid128.c: Likewise.
3625 * config/libbid/bid128_2_str.h: Likewise.
3626 * config/libbid/bid128_2_str_macros.h: Likewise.
3627 * config/libbid/bid128_2_str_tables.c: Likewise.
3628 * config/libbid/bid128_add.c: Likewise.
3629 * config/libbid/bid128_compare.c: Likewise.
3630 * config/libbid/bid128_div.c: Likewise.
3631 * config/libbid/bid128_fma.c: Likewise.
3632 * config/libbid/bid128_logb.c: Likewise.
3633 * config/libbid/bid128_minmax.c: Likewise.
3634 * config/libbid/bid128_mul.c: Likewise.
3635 * config/libbid/bid128_next.c: Likewise.
3636 * config/libbid/bid128_noncomp.c: Likewise.
3637 * config/libbid/bid128_quantize.c: Likewise.
3638 * config/libbid/bid128_rem.c: Likewise.
3639 * config/libbid/bid128_round_integral.c: Likewise.
3640 * config/libbid/bid128_scalb.c: Likewise.
3641 * config/libbid/bid128_sqrt.c: Likewise.
3642 * config/libbid/bid128_string.c: Likewise.
3643 * config/libbid/bid128_to_int16.c: Likewise.
3644 * config/libbid/bid128_to_int32.c: Likewise.
3645 * config/libbid/bid128_to_int64.c: Likewise.
3646 * config/libbid/bid128_to_int8.c: Likewise.
3647 * config/libbid/bid128_to_uint16.c: Likewise.
3648 * config/libbid/bid128_to_uint32.c: Likewise.
3649 * config/libbid/bid128_to_uint64.c: Likewise.
3650 * config/libbid/bid128_to_uint8.c: Likewise.
3651 * config/libbid/bid32_to_bid128.c: Likewise.
3652 * config/libbid/bid32_to_bid64.c: Likewise.
3653 * config/libbid/bid64_add.c: Likewise.
3654 * config/libbid/bid64_compare.c: Likewise.
3655 * config/libbid/bid64_div.c: Likewise.
3656 * config/libbid/bid64_fma.c: Likewise.
3657 * config/libbid/bid64_logb.c: Likewise.
3658 * config/libbid/bid64_minmax.c: Likewise.
3659 * config/libbid/bid64_mul.c: Likewise.
3660 * config/libbid/bid64_next.c: Likewise.
3661 * config/libbid/bid64_noncomp.c: Likewise.
3662 * config/libbid/bid64_quantize.c: Likewise.
3663 * config/libbid/bid64_rem.c: Likewise.
3664 * config/libbid/bid64_round_integral.c: Likewise.
3665 * config/libbid/bid64_scalb.c: Likewise.
3666 * config/libbid/bid64_sqrt.c: Likewise.
3667 * config/libbid/bid64_string.c: Likewise.
3668 * config/libbid/bid64_to_bid128.c: Likewise.
3669 * config/libbid/bid64_to_int16.c: Likewise.
3670 * config/libbid/bid64_to_int32.c: Likewise.
3671 * config/libbid/bid64_to_int64.c: Likewise.
3672 * config/libbid/bid64_to_int8.c: Likewise.
3673 * config/libbid/bid64_to_uint16.c: Likewise.
3674 * config/libbid/bid64_to_uint32.c: Likewise.
3675 * config/libbid/bid64_to_uint64.c: Likewise.
3676 * config/libbid/bid64_to_uint8.c: Likewise.
3677 * config/libbid/bid_b2d.h: Likewise.
3678 * config/libbid/bid_binarydecimal.c: Likewise.
3679 * config/libbid/bid_conf.h: Likewise.
3680 * config/libbid/bid_convert_data.c: Likewise.
3681 * config/libbid/bid_decimal_data.c: Likewise.
3682 * config/libbid/bid_decimal_globals.c: Likewise.
3683 * config/libbid/bid_div_macros.h: Likewise.
3684 * config/libbid/bid_dpd.c: Likewise.
3685 * config/libbid/bid_flag_operations.c: Likewise.
3686 * config/libbid/bid_from_int.c: Likewise.
3687 * config/libbid/bid_functions.h: Likewise.
3688 * config/libbid/bid_gcc_intrinsics.h: Likewise.
3689 * config/libbid/bid_inline_add.h: Likewise.
3690 * config/libbid/bid_internal.h: Likewise.
3691 * config/libbid/bid_round.c: Likewise.
3692 * config/libbid/bid_sqrt_macros.h: Likewise.
3693
36942009-04-09 Jakub Jelinek <jakub@redhat.com>
3695
3696 * Makefile.in: Change copyright header to refer to version
3697 3 of the GNU General Public License and to point readers at the
3698 COPYING3 file and the FSF's license web page.
3699 * config.host: Likewise.
3700
633dd061
AM
37012009-04-07 Alan Modra <amodra@bigpond.net.au>
3702
3703 * config.host: Reorder and merge to match config.gcc change.
3704
457d1d00
AM
37052009-04-03 Alan Modra <amodra@bigpond.net.au>
3706
3707 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
3708
52c0e446
JM
37092009-03-28 Joseph Myers <joseph@codesourcery.com>
3710
3711 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
3712 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
3713 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
3714 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
3715
ba181049
UB
37162009-02-12 Uros Bizjak <ubizjak@gmail.com>
3717
3718 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
3719 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
3720
c252db20
L
37212009-02-12 H.J. Lu <hongjiu.lu@intel.com>
3722
ba181049
UB
3723 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
3724 ia64/t-softfp-compat to tmake_file.
c252db20
L
3725
3726 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
3727
3728 * config/ia64/__divxf3.asm: New.
3729 * config/ia64/_fixtfdi.asm: Likewise.
3730 * config/ia64/_fixunstfdi.asm: Likewise.
3731 * config/ia64/_floatditf.asm: Likewise.
3732 * config/ia64/t-fprules-softfp: Likewise.
3733 * config/ia64/t-softfp-compat: Likewise.
3734 * config/ia64/tf-signs.c: Likewise.
3735
c60535f9
BE
37362009-01-18 Ben Elliston <bje@au.ibm.com>
3737
3738 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
3739
ce16861e
BE
37402009-01-16 Ben Elliston <bje@au.ibm.com>
3741
3742 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
3743 to tmake_file.
3744
bcf4713b
BE
37452009-01-13 Ben Elliston <bje@au.ibm.com>
3746
3747 * config/t-softfp: New file.
3748 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
3749 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
3750
2042cb04
JS
37512009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
3752
3753 * config.host: Add m32r*-*-rtems*.
3754
541ed00e
JS
37552008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
3756
3757 * config.host: Add m32c*-*-rtems*.
3758
19523300
RO
37592008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3760
3761 PR bootstrap/33100
3762 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
3763 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
3764 * configure: Regenerate.
3765 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
3766 tmake_file here from gcc/config.gcc.
3767 Move extra_parts here from gcc/config.gcc.
3768 * config/i386/t-sol2: Move here from gcc/config/i386.
3769 Use gcc_srcdir instead of srcdir.
3770
0a4a51c7
AN
37712008-11-18 Adam Nemet <anemet@caviumnetworks.com>
3772
3773 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
3774 case.
3775
2a761e46
TS
37762008-11-09 Thomas Schwinge <tschwinge@gnu.org>
3777
3778 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
3779
c0451df7
TS
37802008-10-08 Thomas Schwinge <tschwinge@gnu.org>
3781
3782 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
3783
358da97e
HS
37842008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
3785
3786 Add picoChip port.
3787 * config.host: Add picochip-*-*.
3788
c660f132
BW
37892008-08-06 Bob Wilson <bob.wilson@acm.org>
3790
3791 * config.host: Match more processor names for Xtensa.
3792
d1349557
L
37932008-07-08 H.J. Lu <hongjiu.lu@intel.com>
3794
3795 * config/i386/64/t-softfp-compat: Update comments.
3796
dd7b73c0
L
37972008-07-07 H.J. Lu <hongjiu.lu@intel.com>
3798
3799 * config/i386/64/_divtc3-compat.c: Moved to ...
3800 * config/i386/64/_divtc3.c: Here.
3801
3802 * config/i386/64/_multc3-compat.c: Moved to ...
3803 * config/i386/64/_multc3.c: Here.
3804
3805 * config/i386/64/_powitf2-compat.c: Moved to ...
3806 * config/i386/64/_powitf2.c: Here.
3807
3808 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
3809 .c suffix instead of -compat.c.
3810
6e1fab3d
UB
38112008-07-05 Uros Bizjak <ubizjak@gmail.com>
3812
3813 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
3814 (_FP_MUL_MEAT_D): Ditto.
3815 (_FP_DIV_MEAT_S): Ditto.
3816 (_FP_DIV_MEAT_D): Ditto.
3817
f92518d7
RS
38182008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
3819
3820 * Makefile.in: Add support for __sync_* libgcc functions.
3821
d0aede14
L
38222008-07-03 H.J. Lu <hongjiu.lu@intel.com>
3823
3824 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
3825
c174f11c
L
38262008-07-02 H.J. Lu <hongjiu.lu@intel.com>
3827
3828 PR boostrap/36702
3829 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
3830 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
3831
3832 * config/i386/64/t-fprules-softfp: Moved to ...
3833 * config/i386/64/t-softfp-compat: This. New.
3834
5f464fa2
UB
38352008-07-02 Uros Bizjak <ubizjak@gmail.com>
3836
3837 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
3838 Initialize f with 0.0.
3839
ff473280
L
38402008-07-02 H.J. Lu <hongjiu.lu@intel.com>
3841
3842 PR target/36669
3843 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
3844
3845 * config/i386/64/_divtc3-compat.c: New.
3846 * config/i386/64/_multc3-compat.c: Likewise.
3847 * config/i386/64/_powitf2-compat.c: Likewise.
3848 * config/i386/64/eqtf2.c: Likewise.
3849 * config/i386/64/getf2.c: Likewise.
3850 * config/i386/64/letf2.c: Likewise.
3851 * config/i386/64/t-fprules-softfp: Likewise.
3852
38532008-07-02 H.J. Lu <hongjiu.lu@intel.com>
3854
3855 * config.host: Add i386/${host_address}/t-fprules-softfp to
3856 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
dfb3b0e3 3857 i[34567]86-*-linux*, x86_64-*-linux*.
ff473280
L
3858
3859 * configure.ac: Set host_address to 64 or 32 for x86.
3860 * configure: Regenerated.
3861
3862 * Makefile.in (config.status): Also depend on
3863 $(srcdir)/config.host.
3864
3865 * config/i386/32/t-fprules-softfp: New.
3866 * config/i386/32/tf-signs.c: Likewise.
3867
3868 * config/i386/64/sfp-machine.h: New. Moved from gcc.
3869
38702008-07-02 H.J. Lu <hongjiu.lu@intel.com>
3871 Uros Bizjak <ubizjak@gmail.com>
3872
3873 * config/i386/32/sfp-machine.h: New.
3874
30551d99
NF
38752008-06-26 Nathan Froyd <froydnj@codesourcery.com>
3876
3877 * config/rs6000/t-ppccomm: Remove rules that conflict with
3878 auto-generated rules.
3879
18c04407
RW
38802008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3881
3882 * configure.ac: sinclude override.m4.
3883 * configure: Regenerate.
3884
10fbe77a
BRF
38852008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
3886
3887 * configure: Regenerate.
3888
bc6d4c3f
JM
38892008-06-10 Joseph Myers <joseph@codesourcery.com>
3890
3891 * Makefile.in (DECNUMINC): Remove
3892 -I$(MULTIBUILDTOP)../../libdecnumber.
3893 * gstdint.h: New.
3894
cd985f66
JM
38952008-06-07 Joseph Myers <joseph@codesourcery.com>
3896
3897 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
3898 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
3899 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
3900 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
3901 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
3902 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
3903 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
3904 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
3905 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
3906 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
3907 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
3908 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
3909 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
3910 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
3911
93fea8d3
AL
39122008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
3913
3914 * config.host (sh2[lbe]*-*-linux*): Allow target.
3915
18724e30
NF
39162008-04-30 Nathan Froyd <froydnj@codesourcery.com>
3917
3918 * config/rs6000/t-ppccomm: Add build rules for new files.
3919 (LIB2ADD_ST): New variable.
3920
47583040
AH
39212008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
3922
3923 PR target/34210
3924 PR target/35508
3925 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
3926 * config/t-avr: New file. Build 16bit libgcc functions.
3927
cf8e67fe
JJ
39282008-03-02 Jakub Jelinek <jakub@redhat.com>
3929
3930 PR target/35401
3931 * config/t-slibgcc-darwin: Make install-leaf dependent on
3932 install-darwin-libgcc-stubs instead of install.
3933
8d8da227
JM
39342008-01-25 Joseph Myers <joseph@codesourcery.com>
3935
3936 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
3937 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
3938 sh-*-rtemscoff*): Remove cases.
3939
edbf8b16
RS
39402007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
3941
3942 * Makefile.in (all): Use install-leaf rather than install.
3943 (install): Split most of the rule into...
3944 (install-leaf): ...this new one.
3945
89deeaff
EK
39462007-12-19 Etsushi Kato <ek.kato@gmail.com>
3947 Paolo Bonzini <bonzini@gnu.org>
3948
3949 PR target/30572
5f464fa2
UB
3950 * Makefile.in: Use @shlib_slibdir@ substitution to get
3951 correct install name on darwin.
89deeaff 3952 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
dfb3b0e3 3953
4081d704
HPN
39542007-12-15 Hans-Peter Nilsson <hp@axis.com>
3955
3956 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
3957 cris-*-elf and cris-*-none.
3958 (crisv32-*-linux*): Similar, as cris-*-linux*.
3959
f43e89a3
RIL
39602007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
3961
3962 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
3963
b4e9c2c6
L
39642007-10-27 H.J. Lu <hongjiu.lu@intel.com>
3965
3966 PR regression/33926
3967 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
3968 * configure: Regenerated.
3969
b2a00c89
L
39702007-09-27 H.J. Lu <hongjiu.lu@intel.com>
3971
3972 * Makefile.in (dfp-filenames): Replace decimal_globals,
3973 decimal_data, binarydecimal and convert_data with
3974 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
3975 and bid_convert_data, respectively.
3976
8d2a9e0e
CF
39772007-09-17 Chao-ying Fu <fu@mips.com>
3978 Nigel Stephens <nigel@mips.com>
3979
3980 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
3981 * Makefile.in (fixed_point): Define.
3982 Check if fixed_point is yes to build support functions.
3983 * configure.ac: Check for fixed_point support.
3984 * configure: Regenerated.
3985 * gen-fixed.sh: New file to generate lists of fixed-point labels,
3986 funcs, modes, from, to.
3987
2b53935d
JJ
39882007-09-11 Janis Johnson <janis187@us.ibm.com
3989
3990 * Makefile.in (dfp-filenames): Add bid128_noncomp.
3991
2533577f
JJ
39922007-09-10 Janis Johnson <janis187@us.ibm.com>
3993
3994 * Makefile.in (dfp-filenames): Remove decUtility, add
3995 decDouble, decPacked, decQuad, decSingle.
3996
3ae3dbd6
HK
39972007-08-27 Hans Kester <hans.kester@ellips.nl>
3998
3999 * config.host : Add x86_64-elf target.
4000
22867d02
L
40012007-07-06 H.J. Lu <hongjiu.lu@intel.com>
4002
4003 * configure.ac (set_have_cc_tls): Add a missing =.
4004 * configure: Regenerated.
4005
6f461e76
L
40062007-07-06 H.J. Lu <hongjiu.lu@intel.com>
4007
4008 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
4009 and x86_64-*-linux*.
4010
4011 * config/t-tls: New file.
4012
dfb3b0e3 4013 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6f461e76
L
4014
4015 * configure.ac: Include ../config/enable.m4 and
4016 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
4017 supports TLS and substitute set_have_cc_tls.
4018 * configure: Regenerated.
4019
200359e8
L
40202007-07-04 H.J. Lu <hongjiu.lu@intel.com>
4021
4022 * Makefile.in: Use libbid for DFP when BID is enabled.
4023
76f5e200
DS
40242007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
4025
4026 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
dfb3b0e3 4027 extra_parts. Add config/i386/t-cygming to tmake_file.
76f5e200
DS
4028 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
4029
9bd196f0 40302007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
200359e8 4031 Danny Smith <dannysmith@users.sourceforge.net>
9bd196f0
ZM
4032
4033 PR target/29498
4034 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
4035 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
4036 * config/i386/t-crtfm: Compile crtfastmath.o with
4037 -minline-all-stringops.
4038
1910440e
RS
40392007-05-10 Richard Sandiford <richard@codesourcery.com>
4040
4041 * config.host (sparc-wrs-vxworks): New target.
4042
7d33c31d
KH
40432007-04-14 Kazu Hirata <kazu@codesourcery.com>
4044
4045 * config.host: Recognize fido.
4046
96fccd0d
JJ
40472007-04-04 Janis Johnson <janis187@us.ibm.com>
4048
4049 * configure: Check host, not target, for decimal float support.
4050
577565f9
UB
40512007-04-03 Uros Bizjak <ubizjak@gmail.com>
4052
4053 * config/i386/t-crtpc: New file.
4054 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5f464fa2 4055 (x86_64-*-linux*): Ditto.
577565f9 4056
ccf8e764
RH
40572007-02-30 Kai Tietz <kai.tietz@onevision.com>
4058
4059 * config.host (x86_64-*-mingw*): New target.
4060
79b87c74
MM
40612007-03-23 Michael Meissner <michael.meissner@amd.com>
4062 H.J. Lu <hongjiu.lu@intel.com>
4063
4064 * Makefile.in (enable_decimal_float): New.
4065 (DECNUMINC): Add
4066 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
4067 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
4068 (decbits-filenames): This.
4069 (decbits-objects): New.
4070 (libgcc-objects): Add $(decbits-objects).
4071
4072 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
4073 Substitute enable_decimal_float.
4074 * configure: Regenerated.
4075
8fce4e31
HPN
40762007-03-19 Hans-Peter Nilsson <hp@axis.com>
4077
4078 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
4079
e8bb4597
BM
40802007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
4081
4082 * Makefile.in (install-info): New dummy target.
4083
344189f9
BS
40842007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
4085
4086 * config.host (bfin*-linux-uclibc*): Set extra_parts.
4087
ac84c172
BM
40882007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
4089
4090 * Makefile.in: Add install-html and install-pdf dummy
4091 targets.
4092
cd5c2357
RS
40932007-02-05 Roger Sayle <roger@eyesopen.com>
4094 Daniel Jacobowitz <dan@codesourcery.com>
4095
4096 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
4097 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
4098 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
4099
d9a66f98
JJ
41002007-01-29 Janis Johnson <janis187@us.ibm.com>
4101
4102 * Makefile.in (dec-filenames): Add decExcept.
4103
9891ec5f
DJ
41042007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
4105
4106 PR bootstrap/30469
4107 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
4108 -fprofile-use.
4109
d6efbf5a
DJ
41102007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
4111
4112 * configure.ac: Add --enable-version-specific-runtime-libs.
4113 Correct $slibdir default.
4114 * configure: Regenerated.
4115
17caeff2
JM
41162007-01-23 Joseph Myers <joseph@codesourcery.com>
4117
4118 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
4119
5ea41e3a
AP
41202007-01-21 Andrew Pinski <pinskia@gmail.com>
4121
4122 PR target/30519
4123 * config.host (alpha*-*-linux*): Set extra_parts.
4124
26900826
KK
41252007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
4126
4127 * config/sh/t-linux: New.
4128 * config.host (sh*-*-linux*): Set tmake_file.
4129
97af925b
DJ
41302007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
4131
4132 * Makefile.in (install): Handle multilibs.
4133
b0088af7
BM
41342007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
4135
4136 * Makefile.in: Added .PHONY entry for documentation targets.
4137
e0a9456a
BM
41382007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
4139
4140 * Makefile.in: Add empty info, html, dvi, pdf targets.
4141
7fd453b4
MS
41422007-01-04 Mike Stump <mrs@apple.com>
4143
4144 * Makefile.in (MAKEINFO): Remove.
4145 (PERL): Likewise.
4146
14e8fc8b
PB
41472007-01-04 Paolo Bonzini <bonzini@gnu.org>
4148
4149 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
4150 * configure: Regenerate.
4151 * Makefile.in (host_subdir): Substitute it.
dfb3b0e3 4152 (gcc_objdir): Use it.
14e8fc8b 4153
1555beba
DJ
41542007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
4155
4156 * config.host (ia64*-*-linux*): Set tmake_file.
4157
79e6eaeb
DJ
41582007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
4159
4160 * Makefile.in (version): Define.
4161
fa958513
DJ
41622007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
4163 Paolo Bonzini <bonzini@gnu.org>
4164
4165 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
4166 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
4167 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
4168 config/sparc/t-crtfm, config/t-slibgcc-darwin,
4169 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
4170 shared-object.mk, siditi-object.mk, static-object.mk: New files.
4171 * configure: Generated.