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