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