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