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