]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
* pt.c (instantiate_decl): Don't recheck substitutions.
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
659140c8
SB
12012-07-14 Steven Bosscher <steven@gcc.gnu.org>
2
3 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
4
a20d08fd
UB
52012-06-17 Uros Bizjak <ubizjak@gmail.com>
6
7 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
8 __builtin_expect when checking for exceptions.
9 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
10
79261115
UB
112012-06-13 Uros Bizjak <ubizjak@gmail.com>
12
4a172156
UB
13 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
14 function declaration.
15 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
16 (FP_RND_MASK): New.
17 * config/ia64/sfp-exceptions.c: New.
18 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
79261115 19
bb5c97d4
UB
202012-06-13 Uros Bizjak <ubizjak@gmail.com>
21
22 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
23 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
24 * config/i386/64/sfp-machine: ... (delete here) ...
25 * config/i386/sfp-machine.h: ... to here.
26 (FP_EX_MASK): Remove.
27 (FP_RND_MASK): New.
28 (FP_INIT_ROUNDMODE): Declare asm as volatile.
29
91fe5efb
ST
302012-06-11 Sriraman Tallam <tmsriram@google.com>
31
32 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
33 * config/i386/libgcc-sol2.ver: Ditto.
34 * config/i386/libgcc-glibc.ver: Ditto.
35
67a218c5
RM
362012-06-11 Roland McGrath <mcgrathr@google.com>
37
38 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
39 If __GLIBC__ is defined, refer to __pthread_key_create instead of
40 pthread_cancel.
41
492fbea1
UB
422012-06-09 Uros Bizjak <ubizjak@gmail.com>
43
44 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
45 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
46 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
47 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
48 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
49 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
50 * config/i386/64/sfp-machine: ... (delete here) ...
51 * config/i386/sfp-machine.h: ... to here.
52 (FP_EX_MASK): New.
53 (__sfp_handle_exceptions): New function declaration.
54 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
55 * config/i386/sfp-exceptions.c: New.
56 * config/i386/t-softfp: New.
57 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
58 i386/t-softfp to tmake_file.
59
7b4cf266
DM
602012-06-03 David S. Miller <davem@davemloft.net>
61
62 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
63 change.
64
0de0d5c6
DM
652012-05-31 David S. Miller <davem@davemloft.net>
66
67 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
68 multiply and divide instructions on 32-bit when V9.
69 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
70
d8c9d391
JM
712012-05-29 Joseph Myers <joseph@codesourcery.com>
72
73 * config/arm/ieee754-df.S: Fix typos.
74 * config/arm/ieee754-sf.S: Fix typos.
75 * config/c6x/libunwind.S: Fix typos.
76 * config/epiphany/udivsi3-float.c: Fix typos.
77 * config/microblaze/muldi3_hard.S: Fix typos.
78 * config/picochip/adddi3.S: Fix typos.
79 * config/picochip/ashlsi3.S: Fix typos.
80 * config/picochip/ashrsi3.S: Fix typos.
81 * config/picochip/clzsi2.S: Fix typos.
82 * config/picochip/cmpsi2.S: Fix typos.
83 * config/picochip/divmod15.S: Fix typos.
84 * config/picochip/divmodhi4.S: Fix typos.
85 * config/picochip/divmodsi4.S: Fix typos.
86 * config/picochip/longjmp.S: Fix typos.
87 * config/picochip/lshrsi3.S: Fix typos.
88 * config/picochip/parityhi2.S: Fix typos.
89 * config/picochip/popcounthi2.S: Fix typos.
90 * config/picochip/setjmp.S: Fix typos.
91 * config/picochip/subdi3.S: Fix typos.
92 * config/picochip/ucmpsi2.S: Fix typos.
93 * config/picochip/udivmodhi4.S: Fix typos.
94 * config/picochip/udivmodsi4.S: Fix typos.
95 * config/spu/divv2df3.c: Fix typos.
96 * config/spu/mfc_multi_tag_release.c: Fix typos.
97 * config/spu/mfc_tag_release.c: Fix typos.
98 * configure.ac: Fix typos.
99 * configure: Regenerate.
100
31a18a7e
ILT
1012012-05-25 Ian Lance Taylor <iant@google.com>
102
103 * config/i386/morestack.S (__morestack_non_split): Check whether
104 caller is varargs and needs %bp to hold the stack frame on return.
105
c5768510
OH
1062012-05-25 Olivier Hainque <hainque@adacore.com>
107
108 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
109 sequence in the non pic case on VxWorks.
110
7c7c339b
OH
1112012-05-24 Olivier Hainque <hainque@adacore.com>
112
73fb7630 113 * Makefile.in: Move dependency on install-unwind_h from
7c7c339b
OH
114 "install-leaf" to "install".
115
fdc1b7d3
OH
1162012-05-24 Olivier Hainque <hainque@adacore.com>
117
118 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
119 Use a separate command for stamp removals.
120
07ba94b9
AP
1212012-05-21 Andrew Pinski <apinski@cavium.com>
122
123 PR bootstrap/53183
124 * configure.ac: Define the default includes to being none.
125 * configure: Regenerate.
126
4677d2eb
OH
1272012-05-16 Olivier Hainque <hainque@adacore.com>
128
129 * Makefile.in (install-unwind_h): Rename into ...
130 (install-unwind_h-forbuild): New target.
131 (all): Use it instead of the former install-unwind_h.
132 (install-unwind_h): Reinstate, copy to user install destination
133 for include files, not to the internal gcc object directory one.
134 (install-leaf): Depend on it.
135
7d67c380
OH
1362012-05-15 Olivier Hainque <hainque@adacore.com>
137
138 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
139 register numbers. LR_REGNO replaces R_LR.
140 (ucontext_for): New, helper for ...
141 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
142 and 5.3 of ...
143 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
144
aca06c90
RO
1452012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
146
147 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
148 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
149 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
150 i386/t-cpuinfo ...
151 (i[34567]86-*-*, x86_64-*-*): ... here.
152
153 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
154 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
155
156 * config/i386/i386-cpuinfo.c: Rename to ...
157 * config/i386/cpuinfo.c: ... this.
158 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
159
160 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
161 (libgcc_cv_init_priority): New test.
162 * configure: Regenerate.
163 * config.in: New file.
164 * Makefile.in (clean): Rename config.h to auto-target.h.
165 (config.h): Likewise.
166 (stamp-h): Likewise.
167
168 * config/i386/cpuinfo.c (auto-target.h): Include.
169 (CONSTRUCTOR_PRIORITY): Define.
170 (__cpu_indicator_init): Use it.
171
0d03ac1b
L
1722012-05-09 H.J. Lu <hongjiu.lu@intel.com>
173
174 * longlong.h: Use a URL instead of an FSF postal address.
175 Replace spaces with tab.
176
4a172156 1772012-05-08 Teresa Johnson <tejohnson@google.com>
4e8ee9cb
TJ
178
179 * libgcov.c (gcov_clear, __gcov_reset): New functions.
180 (__gcov_dump): Ditto.
181 (gcov_dump_complete): New global variable.
182 (gcov_exit): Export hidden to enable use in L_gcov_dump.
183 (__gcov_flush): Outline functionality now in gcov_clear.
184 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
185
e4bb767e
AJ
1862012-04-28 Aurelien Jarno <aurelien@aurel32.net>
187
31a18a7e
ILT
188 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
189 (mips*-*-linux*): Include mips/t-tpbit when long double is
190 16 bytes long.
e4bb767e 191
5ddecff9
ST
1922012-04-25 Sriraman Tallam <tmsriram@google.com>
193
194 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
195 (get_available_features): New argument. Check for AVX2.
196 (__cpu_indicator_init): Modify call to get_available_features.
197
b427dd7a
AM
1982012-04-25 Alan Modra <amodra@gmail.com>
199
200 * config/rs6000/crtsavevr.S: New file.
201 * config/rs6000/crtrestvr.S: New file.
202 * config/rs6000/t-savresfgpr: Build the above.
203 * config/rs6000/t-netbsd: Likewise.
204
ad491329
ST
2052012-04-24 Sriraman Tallam <tmsriram@google.com>
206
207 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
208
792317cc
ST
2092012-04-24 Sriraman Tallam <tmsriram@google.com>
210
211 * libgcc/config/i386/i386-cpuinfo.c: New file.
212 * libgcc/config/i386/t-cpuinfo: New file.
213 * libgcc/config.host: Include t-cpuinfo.
214 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
215
e1be98a4
CF
2162012-04-24 Chao-ying Fu <fu@mips.com>
217
218 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
219
1bde7dab
TS
2202012-04-20 Thomas Schwinge <thomas@codesourcery.com>
221
222 struct siginfo vs. siginfo_t
223
224 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
225 siginfo_t instead of struct siginfo.
226 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
227 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
228 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
229 (ia64_handle_unwabi): Likewise.
230 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
231 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
232 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
233 (sh_fallback_frame_state): Likewise.
234 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
235 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
236
24590f66
L
2372012-04-02 H.J. Lu <hongjiu.lu@intel.com>
238
239 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
240 system call number.
241
9a9dcce8
EB
2422012-03-31 Eric Botcazou <ebotcazou@adacore.com>
243
244 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
245 if it hasn't been previously saved.
246
6401aaf5
L
2472012-03-29 H.J. Lu <hongjiu.lu@intel.com>
248
249 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
250 only for glibc.
251
7fd6378e
GJL
2522012-03-28 Georg-Johann Lay <avr@gjlay.de>
253
254 PR target/52737
255 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
256 instead of __AVR_HAVE_8BIT_SP__.
257
9e916de7
TG
2582012-03-26 Tristan Gingold <gingold@adacore.com>
259
260 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
261 (unw_table_entry): Use unw_word instead of unsigned long.
262 (_Unwind_FindTableEntry): Likewise.
263 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
264 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
265 (_Unwind_FindTableEntry): Likewise.
266 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
267 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
268 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
269 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
270 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
271 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
272 (uw_init_context_1, uw_install_context): Likewise.
273 (unw_word): Move to unwind-ia64.h
274
4b12e93d
TG
2752012-03-26 Tristan Gingold <gingold@adacore.com>
276
277 * config/vms/vms-ucrt0.c: Update copyright years.
278 Add a sanity check.
279 (___gcc_main_flags): Declare.
280 (__main): Check flags to remap argv and exit code.
281 * config.host (*-*-*vms*): Adjust extra_parts.
282 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
283 (crt0.o): Add.
284
06ea7371
RE
2852012-03-22 Richard Earnshaw <rearnsha@arm.com>
286
287 * arm/lib1funcs.asm (ctzsi2): New function.
288 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
289 * arm/t-linux (LIB1ASMFUNCS): Likewise.
290 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
291 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
292 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
293 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
294
d82ad50d
AT
2952012-03-21 Andreas Tobler <andreast@fgznet.ch>
296
297 * config.host: Add bits to support powerpc64-*-freebsd*.
298 * config/rs6000/freebsd-unwind.h: New file.
299 * config/rs6000/t-freebsd64: New file.
300
b260a8c0
RG
3012012-03-20 Richard Guenther <rguenther@suse.de>
302
303 PR gcov-profile/52627
304 * libgcov.c (init_mx): Fix mutex name.
305
86286a8a
TG
3062012-03-16 Tristan Gingold <gingold@adacore.com>
307
308 * config/ia64/vms-unwind.h: Remove ulong (and replace
309 it by unw_reg where used). Define unw_reg with __int64.
310
7888f266
RO
3112012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
312
313 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
314 Solaris 8 handling.
315 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
316 Solaris 8 handling.
317 (sparc_is_sighandler): Likewise.
318
f155bc64
L
3192012-03-13 H.J. Lu <hongjiu.lu@intel.com>
320
321 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
322 <= saved reg size.
323
d47657bd
RO
3242012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
325
326 * config/arm/crtn.S: Fix typo.
327
5bef73a1
RG
3282012-03-13 Richard Guenther <rguenther@suse.de>
329
330 * libgcov.c: Remove stdio.h include and NULL un-define.
331
9c4271f3
RG
3322012-03-13 Richard Guenther <rguenther@suse.de>
333
334 PR target/52569
335 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
336
c6d10e7c
RG
3372012-03-13 Richard Guenther <rguenther@suse.de>
338
339 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
340
074a385f
RG
3412012-03-13 Richard Guenther <rguenther@suse.de>
342
343 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
344 and __gthread_mutex_init_function definitions.
345
c4bc5c25
RO
3462012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
347
348 * config.host (mips*-*-openbsd*): Remove.
349
5c30094f
RO
3502012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
351
352 * config.host: Remove alpha*-dec-osf5.1* handling.
353 * config/alpha/gthr-posix.c: Remove.
354 * config/alpha/libgcc-osf5.ver: Remove.
355 * config/alpha/osf5-unwind.h: Remove.
356 * config/alpha/t-osf-pthread: Remove.
357 * config/alpha/t-slibgcc-osf: Remove.
358 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
359 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
360 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
361 * mkmap-flat.awk: Remove osf_export handling.
362
33e3e24d
RG
3632012-03-12 Richard Guenther <rguenther@suse.de>
364
365 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
366 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
367 (__gthread_mutex_init_function): New function.
368 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
369
370 PR gcov/49484
371 * libgcov.c: Include gthr.h.
372 (__gcov_flush_mx): New global variable.
373 (init_mx, init_mx_once): New functions.
374 (__gcov_flush): Protect self with a mutex.
375 (__gcov_fork): Re-initialize mutex after forking.
376 * unwind-dw2-fde.c: Change condition under which to use
377 __GTHREAD_MUTEX_INIT_FUNCTION.
378
d8aba32a
TG
3792012-03-12 Tristan Gingold <gingold@adacore.com>
380
381 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
382 * config/ia64/t-vms: Likewise.
383
75ffafdc
MH
3842012-03-11 Michael Hope <michael.hope@linaro.org>
385
4a172156
UB
386 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
387 for Thumb-2.
75ffafdc 388
ef6c2c53
WL
3892012-03-07 Walter Lee <walt@tilera.com>
390
391 * config/tilepro/atomic.c: Rename "atomic_" prefix to
392 "arch_atomic_".
393 (atomic_xor): Rename and move definition to
394 config/tilepro/atomic.h.
395 (atomic_nand): Ditto.
396 * config/tilepro/atomic.h: Rename "atomic_" prefix to
397 "arch_atomic_".
398 (arch_atomic_xor): Move from config/tilepro/atomic.c.
399 (arch_atomic_nand): Ditto.
400
4e30d980
GJL
4012012-03-07 Georg-Johann Lay <avr@gjlay.de>
402
403 PR target/52507
404 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
405
61108225
GJL
4062012-03-07 Georg-Johann Lay <avr@gjlay.de>
407
408 PR target/52505
409 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
410 from RAM.
411
b30e10ab
GJL
4122012-03-07 Georg-Johann Lay <avr@gjlay.de>
413
414 PR target/52461
415 PR target/52508
416 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
417 if RAMPZ affects reading from RAM.
418 (__tablejump_elpm__): Ditto.
419 (.xload): Ditto.
420 (__movmemx_hi): Ditto.
421 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
422 (__do_global_dtors): Ditto.
423 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
424 (__movmemx_hi): Ditto.
425
8993fde4
RH
4262012-03-05 Richard Henderson <rth@redhat.com>
427
428 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
429 [ARM] (count_trailing_zeros): Use the builtin.
430
b7633ee3
KT
4312012-03-01 Kai Tietz <ktietz@redhat.com>
432
433 * soft-fp: Imported from glibc upstream.
434
fbd3340c
KT
4352012-02-28 Kai Tietz <ktietz@redhat.com>
436
437 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
438 for mingw-targets as attribute gcc_struct.
439
e9e053eb
ILT
4402012-02-28 Ian Lance Taylor <iant@google.com>
441
442 * generic-morestack.c (__splitstack_releasecontext): Correct call
443 to __morestack_release_segments.
444
d80c632e
ST
4452012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
446
447 PR target/52390
448 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
449 for __linux__ when removing signals from __morestack_fullmask.
450
0253a8b1
GJL
4512012-02-23 Georg-Johann Lay <avr@gjlay.de>
452
453 PR target/52261
454 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
455
e10e461e
UW
4562012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
457
458 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
459 instead of HAVE_INITFINI_ARRAY.
460 * config/ia64/crtend.S: Likewise.
461
0c0c6398
KT
4622012-02-20 Kai Tietz <ktietz@redhat.com>
463
d7470374
KT
464 PR libstdc++/52300
465 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
466
0c0c6398
KT
467 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
468 to w32-unwind.h header.
469
78c27266
RS
4702012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
471
472 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
473 (mips*-*-linux*): Remove t-slibgcc-libgcc.
474 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
475 * config/mips/mips16.S (__mips16_rdhwr): Delete.
476
5adeb246
RS
4772012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
478
479 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
480
672ed313
IS
4812012-02-15 Iain Sandoe <iains@gcc.gnu.org>
482
483 PR libitm/52220
484 * config/darwin-crt-tm.c: Correct typo.
e9e053eb 485
e948a1fb
IS
4862012-02-15 Iain Sandoe <iains@gcc.gnu.org>
487 Patrick Marlier <patrick.marlier@gmail.com>
488
489 PR libitm/52220
490 * config/darwin-crt-tm.c: Generate dummy functions.
491
6017aed3
IS
4922012-02-15 Iain Sandoe <iains@gcc.gnu.org>
493 Patrick Marlier <patrick.marlier@gmail.com>
494
495 PR libitm/52042
496 * config/darwin-crt-tm.c (getTMCloneTable): New function.
497 (__doTMRegistrations): Call it.
e9e053eb 498 (__doTMdeRegistrations): Likewise.
6017aed3 499
2da8c1ad
GJL
5002012-01-15 Georg-Johann Lay <avr@gjlay.de>
501 Anatoly Sokolov <aesok@post.ru>
502 Eric Weddington <eric.weddington@atmel.com>
503
504 PR target/52261
505 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
506 (__epilogue_restores__): Ditto.
507
0f952eb4
EB
5082012-02-15 Eric Botcazou <ebotcazou@adacore.com>
509
510 PR target/51921
511 PR target/52205
512 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
513 Solaris 11 and slightly reformat.
514 (sparc_is_sighandler): Likewise.
515
dd552284
WL
5162012-02-14 Walter Lee <walt@tilera.com>
517
518 * config.host: Handle tilegx and tilepro.
519 * config/tilegx/sfp-machine.h: New file.
520 * config/tilegx/sfp-machine32.h: New file.
521 * config/tilegx/sfp-machine64.h: New file.
522 * config/tilegx/t-crtstuff: New file.
523 * config/tilegx/t-softfp: New file.
524 * config/tilegx/t-tilegx: New file.
525 * config/tilepro/atomic.c: New file.
526 * config/tilepro/atomic.h: New file.
527 * config/tilepro/linux-unwind.h: New file.
528 * config/tilepro/sfp-machine.h: New file.
529 * config/tilepro/softdivide.c: New file.
530 * config/tilepro/softmpy.S: New file.
531 * config/tilepro/t-crtstuff: New file.
532 * config/tilepro/t-tilepro: New file.
533
b59cbd50
JW
5342012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
535
536 PR libstdc++/51296
537 PR libstdc++/51906
538 * gthr-posix.h: Allow static initializer macros to be disabled.
539 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
540
6caf807f
CLT
5412012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
542
543 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
544 Add t-slibgcc-libgcc to tmake_file.
545 * config/mips/libgcc-mips16.ver: Revert previous patch.
546 * config/mips/mips16.S (__mips16_rdhwr): Hide.
547
b25364a0
S
5482012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
549 Jayant R Sonar <jayant.sonar@kpitcummins.com>
550
551 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
552 * config/cr16/crti.S: New file.
553 * config/cr16/crtlibid.S: New file.
554 * config/cr16/crtn.S: New file.
555 * config/cr16/lib1funcs.S: New file.
556 * config/cr16/t-cr16: New file.
557 * config/cr16/t-crtlibid: New file.
558 * config/cr16/unwind-dw2.h: New file.
559 * config/cr16/unwind-cr16.c: New file.
560 * config/cr16/divmodhi3.c: New file.
561
8ef03aa7
AM
5622012-01-25 Alan Modra <amodra@gmail.com>
563
564 * config/rs6000/t-linux64: Delete. Move..
565 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
566 * config/rs6000/t-linux: ..and libgcc flags to here.
567
daecebc8
DR
5682012-01-22 Douglas B Rupp <rupp@gnat.com>
569
570 * config.host (i[34567]86-*-interix3*):
8ef03aa7 571 Change triplet to i[34567]86-*-interix[3-9]*.
daecebc8
DR
572 * configure: Regenerate.
573
ddaf8125
RS
5742012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
575 Richard Sandiford <rdsandiford@googlemail.com>
576
577 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
578 * config/mips/mips16.S (__mips16_rdhwr): New function.
579 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
580
2cd8b32c
NS
5812012-01-11 Nathan Sidwell <nathan@acm.org>
582
583 * libgcov.c (__gcov_init): Ignore objects with no functions.
584
cba300dd
GJL
5852012-01-10 Georg-Johann Lay <avr@gjlay.de>
586
587 PR target/49868
588 Extend __pgmx semantics to linearize memory.
589 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
590 * config/avr/lib1funcs.S (__xload_1): New function.
591 (__movmemx_qi, __movmemx_hi): New functions.
592 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
593 semantics.
9ffaf4bc 594
3d137660
EB
5952012-01-09 Eric Botcazou <ebotcazou@adacore.com>
596
597 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
598 purported sigacthandler address isn't null before dereferencing it.
599 (sparc_is_sighandler): Likewise.
600
bf4db96c
EB
6012012-01-09 Eric Botcazou <ebotcazou@adacore.com>
602
603 PR ada/41929
604 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
605 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
606 (sparc_is_sighandler): Likewise.
607 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
608
1ab3568b
TG
6092012-01-06 Tristan Gingold <gingold@adacore.com>
610
611 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
612 compatibility thunks...
613 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
614 (crtbeginS.o, crtendS.o): ... and these to ...
615 * config/ia64/t-ia64-elf: ... this new file.
616 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
617 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
618
925b0ed8
AK
6192012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
620
621 * configure: Regenerate.
622 * config/s390/t-crtstuff: Remove -fPIC.
623
a99ad737
JW
6242012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
625
626 PR bootstrap/51006
627 * enable-execute-stack-mprotect.c (getpagesize): Do not define
628 for NetBSD.
629
884f56d1
GJL
6302012-01-02 Georg-Johann Lay <avr@gjlay.de>
631
632 PR target/51345
633 * config/avr/lib1funcs.S: Remove FIXME comments.
634 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
635
8c57e547
GJL
6362012-01-02 Georg-Johann Lay <avr@gjlay.de>
637
638 Implement light-weight DImode support.
639 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
640 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
641 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
642 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
643
04dbc287
NS
6442011-12-30 Nathan Sidwell <nathan@acm.org>
645
646 * libgcov.c (gcov_crc32): Remove global var.
647 (free_fn_data): New function.
648 (buffer_fn_data): Pass in filename, more robust error recovery.
649 (crc32_unsigned): New function.
650 (gcov_exit): More robust detection of new program. More robust
651 error recovery.
652 (__gcov_init): Do not update program's crc here.
653
8e1d97d4
TG
6542011-12-21 Tristan Gingold <gingold@adacore.com>
655
656 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
657
9ffaf4bc
ILT
6582011-12-21 Ian Lance Taylor <iant@google.com>
659
660 * config/i386/morestack.S: Simplify CFI opcodes throughout.
661
a0c8d0c1
ILT
6622011-12-20 Ian Lance Taylor <iant@google.com>
663
664 * config/i386/morestack.S (__morestack_non_split): If there is
665 enough stack space already, don't split. Ask for more stack space
666 than we required.
667
69048898
SDJ
6682011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
669
670 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
671 `sys/sdt.h'.
672 (_Unwind_DebugHook): New function.
673 (uw_restore_core_regs): New define.
674 (unwind_phase2): Use uw_restore_core_regs instead of
675 restore_core_regs.
676 (unwind_phase2_forced): Likewise.
677 (__gnu_Unwind_Resume): Likewise.
678
1bb4b6a3
UB
6792011-12-20 Uros Bizjak <ubizjak@gmail.com>
680
681 * config/alpha/linux-unwind.h: Update copyright years.
682 (MD_FROB_UPDATE_CONTEXT): New define.
683 (alpha_frob_update_context): New function.
684
eb028768
RS
6852011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
686
687 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
688 tmake_file rather replacing it.
689
6a2045bf
IS
6902011-12-15 Iain Sandoe <iains@gcc.gnu.org>
691
692 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1bb4b6a3 693 function is not used for PPC64.
6a2045bf
IS
694 (save_world): Amend comments. Update the VRsave mask to reflect the
695 saved regs.
696 (rest_world): Update comments, do not clobber r10, do not use r8.
697 (eh_rest_world_r10): Amend comments, do not use r8.
698 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
699 no longer used, move restore of CR and target address to the end of
700 the routine.
701
a13780a6
L
7022011-12-14 H.J. Lu <hongjiu.lu@intel.com>
703
704 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
705 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
706
d7288dfb
GJL
7072011-12-14 Georg-Johann Lay <avr@gjlay.de>
708
709 PR target/49313
710 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
711 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
712
8d2c862d
EB
7132011-12-11 Eric Botcazou <ebotcazou@adacore.com>
714
715 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
716
3447cae6
GJL
7172011-12-09 Georg-Johann Lay <avr@gjlay.de>
718
719 PR target/49313
720 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
721 * config/avr/lib1funcs.S (__muldi3): New function.
722
806fc6aa
AP
7232011-12-06 Andrew Pinski <apinski@cavium.com>
724
725 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
726 size of func_ptr.
727 (__frame_dummy_init_array_entry): Likewise.
728
28c5e6b5
GJL
7292011-12-06 Georg-Johann Lay <avr@gjlay.de>
730
731 Forward-port from gcc-4_6-branch r181936 2011-12-02.
732
733 PR target/51345
734 PR target/51002
735 * config/avr/lib1funcs.S (__prologue_saves__,
736 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
737 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
738
8f90394a
IS
7392011-12-04 Iain Sandoe <iains@gcc.gnu.org>
740
741 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
742
06dd33ac
JDA
7432011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
744
745 PR other/51272
746 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
747 (_ITM_deregisterTMCloneTable): Likewise.
748 (__register_frame_info): Fix unused warning.
749 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
750 pthread_default_stacksize_np): Likewise.
751 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1bb4b6a3 752
85b8555e
DD
7532011-11-29 DJ Delorie <dj@redhat.com>
754
755 * config.host (rl78-*-elf): New case.
756 * config/rl78: New directory for the Renesas RL78.
757
4d5ae4ea
BS
7582011-11-29 Bernd Schmidt <bernds@codesourcery.com>
759
760 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
761 formatting.
762
f9c55897
RO
7632011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
764
765 PR other/51022
766 * config/rs6000/t-savresfgpr: New file.
767 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
768 $(srcdir)/config/rs6000/eabi.S.
769 * config/rs6000/t-ppccomm-ldbl: Remove.
770 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
771 tmake_file.
772 (powerpc-*-eabispe*): Likewise.
773 (powerpc-*-eabi*): Likewise.
774 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
775 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
776 to tmake_file, remove rs6000/t-ppccomm-ldbl.
777 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
778 tmake_file.
779 (powerpc-*-eabisim*): Likewise.
780 (powerpc-*-elf*): Likewise.
781 (powerpc-*-eabialtivec*): Likewise.
782 (powerpc-xilinx-eabi*): Likewise.
783 (powerpc-*-rtems*): Likewise.
784 (powerpcle-*-elf*): Likewise.
785 (powerpcle-*-eabisim*): Likewise.
786 (powerpcle-*-eabi*): Likewise.
787
a01207c4
ILT
7882011-11-27 Ian Lance Taylor <iant@google.com>
789
790 * generic-morestack.c (__splitstack_find): Check for NULL old
791 stack value.
792 (__splitstack_resetcontext): New function.
793 (__splitstack_releasecontext): New function.
794 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
795
2b0b8ab2
IS
7962011-11-27 Iain Sandoe <iains@gcc.gnu.org>
797
798 * config/darwin-crt-tm.c: Correct comments, use correct licence.
799
c1d8101c
IS
8002011-11-27 Iain Sandoe <iains@gcc.gnu.org>
801
802 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
803
8b281334
RH
8042011-11-26 Richard Henderson <rth@redhat.com>
805
806 * config/m68k/linux-atomic.c: New file.
807 * config/m68k/t-linux: New file.
808 * config.host (m68k-uclinux, m68k-linux): Use it.
809
7546aa9d
RH
8102011-11-26 Richard Henderson <rth@redhat.com>
811
812 * crtstuff.c (__TMC_LIST__): Mark used not unused.
813 (__TMC_END__): Only declare if hidden is available; in the definition,
814 if hidden is unavailable add a null record.
815 (deregister_tm_clones, register_tm_clones): New.
816 (__do_global_dtors_aux, frame_dummy): Use them.
817 (__do_global_dtors, __do_global_ctors_1): Likewise.
818
e2362f5d
IS
8192011-11-22 Iain Sandoe <iains@gcc.gnu.org>
820
821 * config/darwin-crt-tm.c: New file.
822 * config.host (darwin): Build crttms.o crttme.o to provide
823 startup and shutdown for tm clones.
824 * config/t-darwin (crttms.o): New build rule.
825 (crttme.o): Likewise.
826
6685dd96
HPN
8272011-11-21 Hans-Peter Nilsson <hp@axis.com>
828
829 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
830 et al.
831
b0dc7e4c
RH
8322011-11-21 Richard Henderson <rth@redhat.com>
833
834 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
835 (__TMC_LIST__, __TMC_END__): New.
836 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
837 (__do_global_dtors): Likewise.
838 (frame_dummy): Call _ITM_registerTMCloneTable.
839 (__do_global_ctors_1): Likewise.
840
d4b4b542
RO
8412011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
842
843 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
844 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
845 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
846 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
847 * config/i386/t-darwin64: Remove.
848 * config/sh/t-netbsd (LIB2ADD): Remove.
849
989bdb74
GJL
8502011-11-21 Georg-Johann Lay <avr@gjlay.de>
851
852 PR target/49313
853 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
854 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
855 * config/avr/lib1funcs.S (wmov): New assembler macro.
856 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
857 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
858 (__udivmod64): New function.
859 (__negdi2): New function.
860
515a0cfc
GP
8612011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
862
863 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
864 *-*-freebsd*aout*): Remove.
865
0115d17f
HPN
8662011-11-20 Hans-Peter Nilsson <hp@axis.com>
867
868 * static-object.mk (c_flags-$o): Save c_flags.
869 ($(base)$(objext)): Use it.
870
93aeb62b
SE
8712011-11-18 Steve Ellcey <sje@cup.hp.com>
872
873 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
874
7bc6df2c
GJL
8752011-11-18 Georg-Johann Lay <avr@gjlay.de>
876
877 PR target/49868
878 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
879 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
880 New functions.
881
425d737b
MGD
8822011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
883
884 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
885 functions.
1bb4b6a3 886 (aeabi_uidivmod): Likewise.
425d737b
MGD
887 (umodsi3): Likewise.
888 (divsi3): Likewise.
889 (aeabi_idivmod): Likewise.
890 (modsi3): Likewise.
891
f2a176dc
TG
8922011-11-16 Tristan Gingold <gingold@adacore.com>
893
894 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
895
7c209481
GJL
8962011-11-15 Georg-Johann Lay <avr@gjlay.de>
897
898 PR target/49868
899 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
900 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
901
9dfd5832
JDA
9022011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
903
904 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
905 tmake_file list.
906 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
907 * config/pa/t-stublib64: Delete.
908
f77dca5d
RH
9092011-11-12 Richard Henderson <rth@redhat.com>
910
911 * config/rs6000/linux-unwind.h (frob_update_context): Properly
912 cast the pointer argument to _Unwind_SetGRPtr.
913
902828f0
RO
9142011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
915
916 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
917
e14304ef
ILT
9182011-11-09 Ian Lance Taylor <iant@google.com>
919
920 * generic-morestack.c: Include <string.h>.
921 (uintptr_type): Define.
922 (struct initial_sp): Add dont_block_signals field. Reduce size of
923 extra array by 1.
924 (allocate_segment): Set prev field to NULL. Don't set
925 __morestack_current_segment or __morestack_segments.
926 (__generic_morestack): Update current->prev and *pp after calling
927 allocate_segment.
928 (__morestack_block_signals): Don't do anything if
929 dont_block_signals is set.
930 (__morestack_unblock_signals): Likewise.
931 (__generic_findstack): Check for initial_sp == NULL. Add casts to
932 uintptr_type.
933 (__splitstack_block_signals): New function.
934 (enum __splitstack_content_offsets): Define.
935 (__splitstack_getcontext, __splitstack_setcontext): New functions.
936 (__splitstack_makecontext): New function.
937 (__splitstack_block_signals_context): New function.
938 (__splitstack_find_context): New function.
939 * config/i386/morestack.S (__morestack_get_guard): New function.
940 (__morestack_set_guard, __morestack_make_guard): New functions.
941 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
942
e3d871e4
RO
9432011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
944
945 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
946 (i[34567]86-*-mingw*): ... here.
947 (x86_64-*-mingw*): ... here.
948
e55cef40
RO
9492011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
950
951 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
952
5366b186
NS
9532011-11-07 Nathan Sidwell <nathan@acm.org>
954
955 * libgcov.c (struct gcov_fn_buffer): New struct.
956 (buffer_fn_data): New helper.
957 (gcov_exit): Rework for new gcov data structures.
958
74155a6f
GJL
9592011-11-07 Georg-Johann Lay <avr@gjlay.de>
960
961 PR target/49313
962 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
963
200feb07
RO
9642011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
965
966 * config.host (tmake_file): Correct comment.
967 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
968 t-libgcc-pic.
969 (bfin*-uclinux*): Likewise.
970 (bfin*-linux-uclibc*): Likewise.
971 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
972
973 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
974 assigning.
975 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
976 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
977 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
978 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
979 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
980 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
981 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
982 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
983 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
984 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
985 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
986 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
987 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
988
989 * config/bfin/t-elf: Remove.
990 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
991
c9cd1a07
RO
9922011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
993
994 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
995 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
996 (lm32-*-elf*, lm32-*-rtems*): Split into ...
997 (lm32-*-elf*): ... this.
998 (lm32-*-rtems*): ... and this.
999 Add to tmake_file.
1000 (m32r-*-rtems*): Add to tmake_file.
1001 (moxie-*-rtems*): Likewise.
1002 (sparc-*-rtems*): Likewise.
1003 Remove t-rtems from tmake_file.
1004 (sparc64-*-rtems*): Likewise.
1005 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
1006 instead.
1007
9fbcc75d
RO
10082011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1009
1010 PR bootstrap/50982
1011 * config/gthr-posix.h: Move ...
1012 * gthr-posix.h: ... here.
1013 * config/gthr-lynx.h: Reflect this.
1014 * config/gthr-vxworks.h: Likewise.
1015 * config/rs6000/gthr-aix.h: Likewise.
1016 * configure.ac (target_thread_file): Likewise.
1017 * configure: Regenerate.
1018
76644b68
SH
10192011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
1020
1021 * config.host (arm*-*-rtemseabi*): New target.
1022
5e490f2a
JDA
10232011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1024
1025 PR other/50991
1026 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
1027 extra-parts.
1028
feeeff5c
JR
10292011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
1030
1031 * config.host (epiphany-*-elf*): New configuration.
1032 * config/epiphany: New Directory.
1033
d618bb2c
RC
10342011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
1035
1036 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
1037 * config/avr/t-rtems: New.
1038 Filter out _exit from LIB1ASMFUNCS.
1039
1bb6f778
DM
10402011-11-04 David S. Miller <davem@davemloft.net>
1041
1042 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
1043 * configure: Rebuild.
1044
9a7f7422
AK
10452011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1046
1047 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
1048 variable.
1049
e4fe948a
GJL
10502011-11-04 Georg-Johann Lay <avr@gjlay.de>
1051
1052 PR target/50931
1053 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
1054 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
1055
7084e037
JS
10562011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
1057
1058 PR target/50989
1059 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
1060
1a032034
RO
10612011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1062
1063 * config/c6x/t-elf (LIB2ADDEH): Set.
1064 * config/c6x/t-c6x-elf: Remove.
1065
d385f772
RO
10662011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1067
1068 * config/i386/sol2-ci.S: Rename to ...
1069 * config/i386/crti.S: ... this.
1070 * config/i386/sol2-cn.S: Rename to ...
1071 * config/i386/crtn.S: ... this.
1072 * config/sparc/sol2-ci.S: Rename to ...
1073 * config/sparc/crti.S: ... this.
1074 * config/sparc/sol2-cn.S: Rename to ...
1075 * config/sparc/crtn.S: ... this.
1076 * config/t-sol2 (CUSTOM_CRTIN): Remove.
1077 (crti.o, crtn.o): Remove.
1078
1ba878a9
TG
10792011-11-04 Tristan Gingold <gingold@adacore.com>
1080
1081 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
1082
02750c15
KK
10832011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
1084
1085 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
1086
bf86b067
HPN
10872011-11-03 Hans-Peter Nilsson <hp@axis.com>
1088
1089 * config.host (crisv32-*-none, cris-*-none): Remove.
1090 (crisv32-*-elf): Append to tmake_file, don't just set it.
1091 (cris-*-elf): Add missing t-fdpbit to tmake_file.
1092
d0bc53bd
RO
10932011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1094
1095 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
1096 (ecrtn$(objext)): Likewise.
1097 (ncrti$(objext)): Likewise.
1098 (ncrtn$(objext)): Likewise.
1099
036da830
AS
11002011-11-03 Andreas Schwab <schwab@redhat.com>
1101
1102 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
1103
d2a7d041
DM
11042011-11-02 David S. Miller <davem@davemloft.net>
1105
1106 * configure.ac: Set host_address on sparc too.
1107 * configure: Regenerate.
1108 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
1109 based upon host_address.
1110 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
1111
af8ed618
JM
11122011-11-02 Jason Merrill <jason@redhat.com>
1113
1114 * config/rs6000/t-ppccomm: Add missing \.
1115
5d1c8e77
RO
11162011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1117
1118 * gthr-single.h, gthr.h: New files.
1119 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
1120 config/gthr-vxworks.h, config/i386/gthr-win32.h,
1121 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
1122 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
1123 * config/i386/gthr-win32.c: Include "gthr-win32.h".
1124 * configure.ac (thread_header): New variable.
1125 Set it depending on target_thread_file.
1126 (gthr-default.h): Link from $thread_header.
1127 * configure: Regenerate.
1128 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
1129
852b75ed
RO
11302011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1131
1132 * configure.ac (tm_file_): New variable.
1133 Determine from tm_file.
1134 (tm_file, tm_defines): Substitute.
1135 * configure: Regenerate.
1136 * mkheader.sh: New file.
1137 * Makefile.in (clean): Remove libgcc_tm.h.
1138 ($(objects)): Depend on libgcc_tm.h.
1139 (libgcc_tm_defines, libgcc_tm_file): New variables.
1140 (libgcc_tm.h, libgcc_tm.stamp): New targets.
1141 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
1142 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
1143 ($(extra-parts)): Depend on libgcc_tm.h.
1144 * config.host (tm_defines, tm_file): New variable.
1145 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
1146 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
1147 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
1148 (avr-*-rtems*): Likewise.
1149 (avr-*-*): Likewise.
1150 (frv-*-elf): Likewise.
1151 (frv-*-*linux*): Likewise.
1152 (h8300-*-rtems*): Likewise.
1153 (h8300-*-elf*): Likewise.
1154 (i[34567]86-*-darwin*): Likewise.
1155 (x86_64-*-darwin*): Likewise.
1156 (rx-*-elf): Likewise.
1157 (tic6x-*-uclinux): Likewise.
1158 (tic6x-*-elf): Likewise.
1159 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
1160 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
1161 * config/i386/cygming-crtbegin.c: Likewise.
1162 * config/i386/cygming-crtend.c: Likewise.
1163 * config/ia64/fde-vms.c: Likewise.
1164 * config/ia64/unwind-ia64.c: Likewise.
1165 * config/libbid/bid_gcc_intrinsics.h: Likewise.
1166 * config/rs6000/darwin-fallback.c: Likewise.
1167 * config/stormy16/lib2funcs.c: Likewise.
1168 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
1169 * crtstuff.c: Likewise.
1170 * dfp-bit.h: Likewise.
1171 * emutls.c: Likewise.
1172 * fixed-bit.c: Likewise.
1173 * fp-bit.c: Likewise.
1174 * generic-morestack-thread.c: Likewise.
1175 * generic-morestack.c: Likewise.
1176 * libgcc2.c: Likewise.
1177 * libgcov.c: Likewise.
1178 * unwind-dw2-fde-dip.c: Likewise.
1179 * unwind-dw2-fde.c: Likewise.
1180 * unwind-dw2.c: Likewise.
1181 * unwind-sjlj.c: Likewise.
1182
f9989b51
RO
11832011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1184
1185 * configure.ac: Include ../config/picflag.m4.
1186 (GCC_PICFLAG): Call it.
1187 Substitute.
1188 * configure: Regenerate.
1189 * Makefile.in (gcc_srcdir): Remove.
1190 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
1191 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
1192 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
1193 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
1194 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
1195 Use $<.
1196 Remove comment.
1197 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
1198 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
1199 to refer to libgcc2.c.
1200 Use $<.
1201 * config/darwin-64.c: New file.
1202 * config/darwin-crt3.c: Remove comment.
1203 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
1204 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
1205 config/udivmodsi4.c: New files.
1206 * config/memcmp.c, config/memcpy.c, config/memmove.c,
1207 config/memset.c: New files.
1208 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
1209 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
1210 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
1211 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
1212 * config/t-openbsd-thread: New file.
1213 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
1214 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
1215 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
1216 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
1217 qrnnd.S.
1218 Adapt filename.
1219 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
1220 to refer to gthr-posix.c.
1221 * config/alpha/t-vms (LIB2ADD): Set.
1222 * config/alpha/vms-gcc_shell_handler.c: New file.
1223 * config/arm/bpabi.c, config/arm/fp16.c,
1224 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
1225 config/arm/unaligned-funcs.c: New files.
1226 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
1227 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
1228 * config/arm/t-linux: Likewise.
1229 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
1230 * config/arm/t-netbsd: New file.
1231 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
1232 * config/arm/t-symbian (LIB2ADD_ST): Set.
1233 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
1234 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1235 * config/bfin/t-elf: New file.
1236 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
1237 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
1238 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
1239 config/c6x/ltf.c: New files.
1240 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
1241 (HOST_LIBGCC2_CFLAGS): Set.
1242 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
1243 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1244 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
1245 New files.
1246 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
1247 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
1248 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
1249 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
1250 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
1251 files.
1252 * config/frv/t-frv (LIB2ADD): Set.
1253 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1254 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
1255 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
1256 config/h8300/popcounthi2.c: New files.
1257 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
1258 * config/i386/gthr-win32.c: New file.
1259 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
1260 * config/i386/t-cygwin: Likewise.
1261 * config/i386/t-darwin, config/i386/t-darwin64,
1262 config/i386/t-gthr-win32, config/i386/t-interix: New files.
1263 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
1264 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1265 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1266 * config/ia64/quadlib.c: New file.
1267 * config/ia64/t-hpux (LIB2ADD): Set.
1268 * config/ia64/t-ia64: Add comment.
1269 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
1270 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1271 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
1272 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
1273 * config/m32c/t-m32c (LIB2ADD): Set.
1274 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
1275 * config/m32r/t-m32r: Likewise.
1276 * config/m68k/fpgnulib.c: New file.
1277 * config/m68k/t-floatlib (LIB2ADD): Set.
1278 (xfgnulib.c): New target.
1279 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
1280 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
1281 * config/mep/t-mep (LIB2ADD): Set.
1282 * config/microblaze/divsi3.asm: Rename to divsi3.S.
1283 * config/microblaze/moddi3.asm: Rename to moddi3.S.
1284 * config/microblaze/modsi3.asm: Rename to modsi3.S.
1285 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
1286 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
1287 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
1288 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
1289 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
1290 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
1291 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
1292 New files.
1293 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
1294 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
1295 * config/pa/fptr.c, config/pa/lib2funcs.S,
1296 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
1297 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
1298 (LIB2ADD, LIB2ADD_ST): Set.
1299 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
1300 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
1301 Set.
1302 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
1303 * config/pdp11/t-pdp11: New file.
1304 * config/picochip/libgccExtras/adddi3.S,
1305 config/picochip/libgccExtras/ashlsi3.S,
1306 config/picochip/libgccExtras/ashrsi3.S,
1307 config/picochip/libgccExtras/clzsi2.S,
1308 config/picochip/libgccExtras/cmpsi2.S,
1309 config/picochip/libgccExtras/divmod15.S,
1310 config/picochip/libgccExtras/divmodhi4.S,
1311 config/picochip/libgccExtras/divmodsi4.S,
1312 config/picochip/libgccExtras/lshrsi3.S,
1313 config/picochip/libgccExtras/parityhi2.S,
1314 config/picochip/libgccExtras/popcounthi2.S,
1315 config/picochip/libgccExtras/subdi3.S,
1316 config/picochip/libgccExtras/ucmpsi2.S,
1317 config/picochip/libgccExtras/udivmodhi4.S,
1318 config/picochip/libgccExtras/udivmodsi4.S: New files.
1319 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
1320 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
1321 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
1322 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
1323 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
1324 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
1325 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
1326 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
1327 files.
1328 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
1329 (HOST_LIBGCC2_CFLAGS): Set.
1330 * config/rs6000/t-darwin64: New file.
1331 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
1332 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
1333 * config/rs6000/t-ppccomm (LIB2ADD): Add
1334 $(srcdir)/config/rs6000/tramp.S.
1335 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
1336 Add $(srcdir)/config/rs6000/eabi.S.
1337 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
1338 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
1339 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
1340 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
1341 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
1342 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
1343 * config/rs6000/tramp.S: New file.
1344 * config/s390/t-tpf: Remove.
1345 * config/sh/linux-atomic.S: New file.
1346 * config/sh/t-linux (LIB2ADD): Set.
1347 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
1348 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
1349 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
1350 to unwind-dw2.c.
1351 (HOST_LIBGCC2_CFLAGS): Set.
1352 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1353 * config/spu/divmodti4.c, config/spu/divv2df3.c,
1354 config/spu/float_disf.c, config/spu/float_unsdidf.c,
1355 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
1356 config/spu/mfc_multi_tag_release.c,
1357 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
1358 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
1359 config/spu/multi3.c: New files.
1360 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
1361 (HOST_LIBGCC2_CFLAGS): Set.
1362 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
1363 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
1364 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
1365 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
1366 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
1367 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
1368 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
1369 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
1370 config/stormy16/umodsi3.c: New files.
1371 * config/xtensa/lib2funcs.S: New file.
1372 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
1373 * config/xtensa/t-xtensa (LIB2ADD): Set.
1374 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
1375 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
1376 Add t-freebsd-thread to tmake_file for posix threads.
1377 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
1378 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
1379 (*-*-lynxos*): Likewise.
1380 (*-*-netbsd*): Likewise.
1381 (*-*-openbsd*): Likewise.
1382 Add t-openbsd-thread to tmake_file for posix threads.
1383 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
1384 (*-*-vxworks*): Set tmake_file.
1385 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
1386 (alpha*-*-freebsd*): Likewise.
1387 (alpha*-*-netbsd*): Likewise.
1388 (alpha*-*-openbsd*): Likewise.
1389 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
1390 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
1391 (alpha*-dec-*vms*): Likewise.
1392 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
1393 (bfin*-elf*): Add bfin/t-elf to tmake_file.
1394 (bfin*-uclinux*): Likewise.
1395 (bfin*-linux-uclibc*): Likewise.
1396 (crisv32-*-elf): Add cris/t-cris to tmake_file.
1397 (crisv32-*-none): Likewise.
1398 (cris-*-elf): Likewise.
1399 (cris-*-none): Likewise.
1400 (cris-*-linux*, crisv32-*-linux*): Likewise.
1401 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
1402 tmake_file.
1403 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
1404 tmake_file.
1405 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
1406 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
1407 (x86_64-*-elf*): Likewise.
1408 (i[34567]86-*-nto-qnx*): Likewise.
1409 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
1410 win32 threads.
1411 (x86_64-*-mingw*): Likewise.
1412 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
1413 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
1414 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
1415 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
1416 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
1417 tmake_file.
1418 (mipsisa64sr71k-*-elf*): Likewise.
1419 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
1420 (mips-*-elf*, mipsel-*-elf*): Likewise.
1421 (mips64-*-elf*, mips64el-*-elf*): Likewise.
1422 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
1423 (mips*-*-rtems*): Likewise.
1424 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
1425 to tmake_file.
1426 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
1427 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
1428 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
1429 (spu-*-elf*): Likewise.
1430 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
1431
45b86625
RO
14322011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1433
1434 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
1435 $(srcdir) to refer to $(LIB1ASMSRC).
1436 Use $<.
1437 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
1438 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
1439 config/arm/lib1funcs.S: New files.
1440 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
1441 * config/arm/t-arm: New file.
1442 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
1443 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
1444 config/arm/t-strongarm-elf: New files.
1445 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
1446 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
1447 * config/avr/lib1funcs.S: New file.
1448 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1449 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
1450 * config/c6x/lib1funcs.S: New file.
1451 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1452 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
1453 * config/frv/lib1funcs.S: New file.
1454 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1455 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
1456 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
1457 * config/ia64/__divxf3.asm: Rename to ...
1458 * config/ia64/__divxf3.S: ... this.
1459 Adapt lib1funcs.asm filename.
1460 * config/ia64/_fixtfdi.asm: Rename to ...
1461 * config/ia64/_fixtfdi.S: ... this.
1462 Adapt lib1funcs.asm filename.
1463 * config/ia64/_fixunstfdi.asm: Rename to ...
1464 * config/ia64/_fixunstfdi.S: ... this.
1465 Adapt lib1funcs.asm filename.
1466 * config/ia64/_floatditf.asm: Rename to ...
1467 * config/ia64/_floatditf.S: ... this.
1468 Adapt lib1funcs.asm filename.
1469 * config/ia64/lib1funcs.S: New file.
1470 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
1471 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1472 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
1473 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
1474 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
1475 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
1476 * config/mep/lib1funcs.S: New file.
1477 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1478 * config/mips/mips16.S: New file.
1479 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1480 * config/pa/milli64.S: New file.
1481 * config/pa/t-linux, config/pa/t-linux64: New files.
1482 * config/picochip/lib1funcs.S: New file.
1483 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1484 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
1485 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
1486 * config/sh/t-netbsd: New file.
1487 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
1488 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
1489 * config/sh/t-sh64: New file.
1490 * config/sparc/lb1spc.S: New file.
1491 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
1492 filename.
1493 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
1494 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
1495 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
1496 config/xtensa/lib1funcs.S: New files.
1497 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1498 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
1499 tmake_file.
1500 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
1501 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
1502 (arm*-*-linux*): Likewise.
1503 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
1504 arm*-*-linux-*eabi, add arm/t-linux otherwise.
1505 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
1506 (arm*-*-ecos-elf): Likewise.
1507 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
1508 (arm*-*-rtems*): Likewise.
1509 (arm*-*-elf): Likewise.
1510 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
1511 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
1512 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
1513 (bfin*-uclinux*): Likewise.
1514 (bfin*-linux-uclibc*): Likewise.
1515 (bfin*-rtems*): Likewise.
1516 (bfin*-*): Likewise.
1517 (fido-*-elf): Merge into m68k-*-elf*.
1518 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
1519 (frv-*-*linux*): Add frv/t-frv to tmake_file.
1520 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
1521 (h8300-*-elf*): Likewise.
1522 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
1523 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
1524 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
1525 (i[34567]86-*-mingw*): Likewise.
1526 (x86_64-*-mingw*): Likewise.
1527 (i[34567]86-*-interix3*): Likewise.
1528 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
1529 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
1530 (m68k-*-elf*): Also handle fido-*-elf.
1531 Add m68k/t-floatlib to tmake_file.
1532 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
1533 (m68k-*-linux*): Likewise.
1534 (m68k-*-rtems*): Likewise.
1535 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
1536 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
1537 sh64*-*-*.
1538 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
1539 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
1540 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
1541 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
1542 sh/t-netbsd to tmake_file.
1543 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
1544 (sh-*-rtems*): Add sh/t-sh to tmake_file.
1545 (sh-wrs-vxworks): Likewise.
1546 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
1547 *-leon[3-9]*.
1548 (v850*-*-*): Add v850/t-v850 to tmake_file.
1549 (vax-*-linux*): Add vax/t-linux to tmake_file.
1550 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
1551
5f73c6cc
RO
15522011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1553
1554 * crtstuff.c: New file.
1555 * Makefile.in (CRTSTUFF_CFLAGS): Define.
1556 (CRTSTUFF_T_CFLAGS): Define.
1557 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
1558 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
1559 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
1560 crtstuff.c.
1561 Use $<.
1562 (crtbeginT.o): Use $(objext).
1563 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
1564 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
1565 (gcc-extra-parts): Remove.
1566 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
1567 Set extra_parts.
1568 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
1569 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
1570 Add t-crtstuff-pic to tmake_file.
1571 (*-*-lynxos*): New case.
1572 Set tmake_file, extra_parts.
1573 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
1574 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
1575 *-*-netbsdelf[2-9]*.
1576 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
1577 (*-*-rtems*): Set extra_parts.
1578 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
1579 (*-*-uclinux*): New case.
1580 Set extra_parts.
1581 (*-*-vms*): New case.
1582 Set tmake_file, extra_parts.
1583 (*-*-elf): Set extra_parts.
1584 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
1585 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
1586 vms/t-vms64.
1587 Set extra_parts.
1588 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
1589 Set extra_parts.
1590 (arm*-*-freebsd*): Add t-crtin to tmake_file.
1591 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
1592 (arm-wrs-vxworks): Append to tmake_file.
1593 Set extra_parts.
1594 (arm*-*-uclinux*): Set extra_parts.
1595 (arm*-*-ecos-elf): Likewise.
1596 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
1597 arm*-*-eabi*.
1598 (arm*-*-rtems*): Set extra_parts.
1599 (arm*-*-elf): Likewise.
1600 (avr-*-rtems*): Clear extra_parts.
1601 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
1602 Set extra_parts.
1603 (bfin*-uclinux*): Likewise.
1604 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
1605 (bfin*-rtems*): Append to tmake_file.
1606 Set extra_parts.
1607 (bfin*-*): Likewise.
1608 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
1609 (crisv32-*-elf): ... this.
1610 (crisv32-*-none): ... this.
1611 (cris-*-elf, cris-*-none): New cases.
1612 Add cris/t-elfmulti to tmake_file.
1613 (fr30-*-elf): Append to tmake_file.
1614 Set extra_parts.
1615 (frv-*-elf): Append to tmake_file, add frv/t-frv.
1616 Set extra_parts.
1617 (h8300-*-rtems*): Append to tmake_file.
1618 Set extra_parts.
1619 (h8300-*-elf*): Likewise.
1620 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
1621 Set extra_parts.
1622 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
1623 Set extra_parts.
1624 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
1625 (x86_64-*-elf*): Likewise.
1626 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
1627 (x86_64-*-freebsd*): Likewise.
1628 (x86_64-*-netbsd*): Likewise.
1629 (i[34567]86-*-linux*): Likewise.
1630 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
1631 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
1632 (x86_64-*-linux*): Likewise.
1633 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
1634 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
1635 tmake_file.
1636 Set extra_parts.
1637 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
1638 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
1639 Append to extra_parts, remove crtbegin.o, crtend.o.
1640 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
1641 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
1642 crtend.o, crtbeginS.o, crtendS.o.
1643 (ia64*-*-linux*): Comment extra_parts.
1644 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
1645 Set extra_parts.
1646 (iq2000*-*-elf*): Clear extra_parts.
1647 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
1648 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
1649 (m32r-*-elf*, m32r-*-rtems*): Split off ...
1650 (m32r-*-rtems*): ... this.
1651 Add m32r/t-m32r to tmake_file.
1652 (m68k-*-elf*): Add t-crtin to tmake_file.
1653 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
1654 (mcore-*-elf): Likewise.
1655 (microblaze*-*-*): Set extra_parts.
1656 (mips*-sde-elf*): New case.
1657 Set tmake_file, extra_parts.
1658 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
1659 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
1660 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
1661 tmake_file.
1662 Set extra_parts.
1663 (mipsisa64sr71k-*-elf*): Likewise.
1664 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
1665 (mips-*-elf*, mipsel-*-elf*): Likewise.
1666 (mips64-*-elf*, mips64el-*-elf*): Likewise.
1667 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
1668 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
1669 (mips*-*-rtems*): Likewise.
1670 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
1671 (moxie-*-*): Split into ...
1672 (moxie-*-elf, moxie-*-uclinux*): ... this.
1673 Add to extra_parts, remove crtbegin.o, crtend.o.
1674 (moxie-*-rtems*): New case.
1675 Set tmake_file.
1676 Clear extra_parts.
1677 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
1678 Set extra_parts.
1679 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
1680 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
1681 tmake_file.
1682 Set extra_parts.
1683 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
1684 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
1685 Set extra_parts.
1686 (powerpc-*-eabisim*): Likewise.
1687 (powerpc-*-elf*): Likewise.
1688 (powerpc-*-eabialtivec*): Likewise.
1689 (powerpc-xilinx-eabi*): Likewise.
1690 (powerpc-*-eabi*): Likewise.
1691 (powerpc-*-rtems*): Likewise.
1692 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
1693 tmake_file.
1694 Set extra_parts.
1695 (powerpc-*-lynxos*): Add to tmake_file.
1696 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
1697 rs6000/t-crtstuff, t-crtstuff-pic.
1698 Set extra_parts.
1699 (powerpcle-*-eabisim*): Likewise.
1700 (powerpcle-*-eabi*): Likewise.
1701 (rx-*-elf): Remove extra_parts.
1702 (s390x-ibm-tpf*): Set extra_parts.
1703 (score-*-elf): Set extra_parts.
1704 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
1705 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
1706 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
1707 (sh64l*-*-netbsd*): Split into ...
1708 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
1709 Add t-crtstuff-pic to tmake_file.
1710 Set extra_parts.
1711 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
1712 Set extra_parts.
1713 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
1714 (sparc-*-elf*): Remove t-crtin from tmake_file.
1715 Add to extra_parts, remove crtbegin.o, crtend.o.
1716 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
1717 (sparc64-*-linux*): Likewise.
1718 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
1719 Add to extra_parts, remove crtbegin.o, crtend.o.
1720 (sparc64-*-elf*): Remove t-crtin from tmake_file.
1721 Add to extra_parts, remove crtbegin.o, crtend.o.
1722 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
1723 Add to extra_parts, remove crtbegin.o, crtend.o.
1724 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
1725 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
1726 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
1727 Set extra_parts.
1728 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
1729 Set extra_parts.
1730 (tic6x-*-*): Change to ...
1731 (tic6x-*-elf): ... this.
1732 Set extra_parts.
1733 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
1734 Set extra_parts.
1735 (am33_2.0-*-linux*): Add comment.
1736 (mep*-*-*): Add mep/t-mep to tmake_file.
1737 Set extra_parts.
1738 * config/alpha/t-vms: New file.
1739 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
1740 * config/arm/crti.S, config/arm/crtn.S: New files.
1741 * config/bfin/crti.S, config/bfin/crtn.S: New files.
1742 * config/bfin/crtlibid.S: New file.
1743 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
1744 * config/c6x/crti.S, config/c6x/crtn.S: New files.
1745 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
1746 (crti.o, crtin.o): New rules.
1747 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
1748 * config/c6x/t-uclinux: New file.
1749 * config/cris/t-elfmulti: New file.
1750 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
1751 * config/fr30/crti.S, config/fr30/crtn.S: New files.
1752 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
1753 * config/frv/t-frv: New file.
1754 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
1755 * config/h8300/crti.S, config/h8300/crtn.S: New files.
1756 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
1757 New files.
1758 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
1759 refer to cygming-crtbegin.c, cygming-crtend.c.
1760 Use $<.
1761 * config/i386/t-nto: New file.
1762 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
1763 * config/ia64/crti.S, config/ia64/crtn.S: New files.
1764 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
1765 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
1766 Use .S extension.
1767 Use $<.
1768 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
1769 (crtinitS.o): New rule.
1770 * config/ia64/vms-crtinit.S: New file.
1771 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
1772 * config/m32r/initfini.c: New file.
1773 * config/m32r/t-linux, config/m32r/t-m32r: New files.
1774 * config/m68k/crti.S, config/m68k/crtn.S: New files.
1775 * config/mcore/crti.S, config/mcore/crtn.S: New files.
1776 * config/mep/t-mep: New file.
1777 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
1778 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
1779 * config/mips/crti.S, config/mips/crtn.S: New files.
1780 * config/mips/t-crtstuff: New file.
1781 * config/mmix/crti.S, config/mmix/crtn.S: New files.
1782 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
1783 (CUSTOM_CRTIN): Set.
1784 ($(T)crti.o, $(T)crtn.o): Remove $(T),
1785 dependencies.
1786 Use $(srcdir) to refer to crti.S, crtn.S.
1787 Use .S extension, $<.
1788 * config/moxie/crti.asm: Rename to ...
1789 * config/moxie/crti.S: ... this.
1790 * config/moxie/crtn.asm: Rename to ...
1791 * config/moxie/crtn.S: ... this.
1792 * config/moxie/t-moxie: Remove.
1793 * config/pa/stublib.c: New file.
1794 * config/pa/t-stublib, config/pa/t-stublib64: New files.
1795 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
1796 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
1797 * config/rs6000/t-crtstuff: New file.
1798 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
1799 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
1800 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
1801 Make output file explicit.
1802 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
1803 Make output file explicit.
1804 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
1805 Make output file explicit.
1806 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
1807 Make output file explicit.
1808 * config/score/crti.S, config/score/crtn.S: New files.
1809 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
1810 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
1811 files.
1812 * config/sh/t-sh, config/sh/t-superh: New files.
1813 * config/sparc/t-linux64: New file.
1814 * config/spu/cache.S, config/spu/cachemgr.c: New files.
1815 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
1816 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
1817 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
1818 * config/t-crtin: Remove.
1819 * config/t-crtstuff-pic: New file.
1820 * config/t-sol2 (CUSTOM_CRTIN): Set.
1821 (crti.o, crtn.o): New rules.
1822 * config/vms/t-vms: New file.
1823 * config/vms/vms-ucrt0.c: New file.
1824 * config/xtensa/t-elf: New file.
1825
b040f2be
RO
18262011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1827
1828 * Makefile.in (SHLIB_NM_FLAGS): Set.
1829 * mkmap-flat.awk, mkmap-symver.awk: New files.
1830 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
1831 exceptions.
1832 * configure: Regenerate.
1833 * config/libgcc-glibc.ver: New file.
1834 * config/libgcc-libsystem.ver: New file.
1835 * config/t-libunwind (SHLIB_LC): Set.
1836 * config/t-linux: New file.
1837 * config/t-slibgcc (INSTALL_SHLIB): New.
1838 (SHLIB_INSTALL): Use it.
1839 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
1840 to mkmap-symver.awk.
1841 (SHLIB_MAPFILES): Don't append, adapt pathname.
1842 (SHLIB_VERPFX): Set.
1843 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
1844 to mkmap-symver.awk.
1845 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
1846 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
1847 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
1848 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
1849 to mkmap-flat.awk.
1850 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
1851 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
1852 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
1853 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
1854 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
1855 * config/i386/libgcc-darwin.10.4.ver,
1856 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
1857 New files.
1858 * config/i386/t-darwin: Remove.
1859 * config/i386/t-darwin64: Likewise.
1860 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
1861 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
1862 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
1863 * config/i386/t-linux: New file.
1864 * config/i386/t-mingw32: New file.
1865 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
1866 * config/ia64/t-glibc: Rename to ...
1867 * config/ia64/t-linux: ... this.
1868 (SHLIB_MAPFILES): Set.
1869 * config/ia64/t-glibc-libunwind: Rename to ...
1870 * config/ia64/t-linux-libunwind: ... this.
1871 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
1872 * config/ia64/t-slibgcc-hpux: New file.
1873 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
1874 * config/m68k/t-slibgcc-elf-ver: New file.
1875 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
1876 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
1877 to mkmap-flat.awk.
1878 * config/pa/t-slibgcc-hpux: New file.
1879 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
1880 files.
1881 * config/rs6000/libgcc-darwin.10.4.ver,
1882 config/rs6000/libgcc-darwin.10.5.ver: New files.
1883 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
1884 config/rs6000/libgcc-glibc.ver.
1885 * config/rs6000/libgcc-ppc64.ver: Rename to
1886 config/rs6000/libgcc-ibm-ldouble.ver.
1887 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
1888 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
1889 * config/rs6000/t-ldbl128: Rename to ...
1890 * config/rs6000/t-linux: ... this.
1891 (SHLIB_MAPFILES): Adapt filename.
1892 * config/rs6000/t-slibgcc-aix: New file.
1893 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
1894 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
1895 libgcc-excl.ver, libgcc-glibc.ver.
1896 (SHLIB_LINK, SHLIB_INSTALL): Remove.
1897 * config/sparc/libgcc-glibc.ver: New file.
1898 * config/sparc/t-linux: New file.
1899 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
1900 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
1901 t-slibgcc-elf-ver to tmake_file.
1902 Add t-slibgcc-nolc-override to tmake_file for posix threads on
1903 *-*-freebsd[34].
1904 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
1905 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
1906 t-slibgcc-elf-ver, t-linux to tmake_file.
1907 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
1908 tmake_file.
1909 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
1910 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
1911 (alpha*-dec-*vms*): Likewise.
1912 (arm*-*-freebsd*): Append to tmake_file.
1913 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
1914 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
1915 arm*-*-linux-*eabi.
1916 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
1917 tmake_file for arm*-*-symbianelf*.
1918 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
1919 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
1920 cris/t-linux.
1921 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
1922 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
1923 pa/t-slibgcc-dwarf-ver to tmake_file.
1924 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
1925 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
1926 (hppa*64*-*-hpux11*): Likewise.
1927 (hppa[12]*-*-hpux11*): Likewise.
1928 (x86_64-*-darwin*): Don't override tmake_file, but only keep
1929 i386/t-crtpc, i386/t-crtfm.
1930 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
1931 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
1932 to tmake_file.
1933 Add i386/t-cygwin to tmake_file.
1934 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
1935 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
1936 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
1937 to tmake_file.
1938 Add i386/t-mingw32 to tmake_file.
1939 (x86_64-*-mingw*): Likewise.
1940 (ia64*-*-freebsd*): Append to tmake_file.
1941 (ia64*-*-linux*): Append to tmake_file.
1942 Replace ia64/t-glibc by ia64/t-linux.
1943 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
1944 system libunwind.
1945 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
1946 t-slibgcc-hpux to tmake_file.
1947 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
1948 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
1949 (m32rle-*-linux*): Likewise.
1950 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
1951 sjlj exceptions.
1952 (microblaze*-linux*): New case.
1953 Append to tmake_file, add t-slibgcc-nolc-override.
1954 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
1955 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
1956 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
1957 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
1958 rs6000/t-slibgcc-aix to tmake_file.
1959 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
1960 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
1961 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
1962 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
1963 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
1964 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
1965 sh*-*-linux*.
1966 (sparc-*-linux*): Append to tmake_file for *-leon*.
1967 Add sparc/t-linux to tmake_file for non-Leon targets.
1968 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
1969 (tic6x-*-uclinux): New case.
1970 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
1971 (tic6x-*-*): Add c6x/t-elf to tmake_file.
1972 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
1973 (am33_2.0-*-linux*): Append to tmake_file.
1974 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
1975 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
1976 x86_64-*-kfreebsd*-gnu.
1977 Add i386/t-linux to tmake_file.
1978
18b4bd7b
ILT
19792011-10-28 Ian Lance Taylor <iant@google.com>
1980
1981 * config/i386/morestack.S: Correct CFI information to do proper
1982 returns throughout function. In 32-bit mode, save %ebx so that it
1983 is restored on unwind.
1984
5b2d9d90
BS
19852011-10-25 Bernd Schmidt <bernds@codesourcery.com>
1986
1987 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
1988 case where B3 isn't the return register.
1989
0d53e346
BS
1990 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
1991 logic for doubleword pops.
1992
cbffbd59
AT
19932011-10-25 Andreas Tobler <andreast@fgznet.ch>
1994
1995 * config/rs6000/t-freebsd: Add wildcard.
1996
56dc349e
PB
19972011-10-21 Paul Brook <paul@codesourcery.com>
1998
1999 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
2000
1e06b07d
UB
20012011-10-16 Uros Bizjak <ubizjak@gmail.com>
2002 Eric Botcazou <ebotcazou@adacore.com>
2003
2004 PR target/50737
2005 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
2006 fs->signal_frame to 1.
2007
b5204884
ILT
20082011-10-07 Ian Lance Taylor <iant@google.com>
2009
2010 * generic-morestack-thread.c: #include <errno.h>.
2011
91a639a1
ILT
20122011-10-07 Ian Lance Taylor <iant@google.com>
2013
2014 PR target/46093
2015 * generic-morestack.c (__generic_morestack): Make sure the segment
2016 is large enough for both the stack frame and the copied
2017 parameters.
2018
cc49116d
RO
20192011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2020
2021 PR bootstrap/49804
2022 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
2023 extra_parts.
2024
2996d8c3
NC
20252011-09-28 Nick Clifton <nickc@redhat.com>
2026
2027 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
2028 64-bit doubles are not enabled.
2029 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
2030 and floatunsisf functions.
2031
1e874273 20322011-09-13 Paul Brook <paul@codesourcery.com>
2996d8c3 2033
1e874273
PB
2034 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
2035 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
2036 * unwind-arm-common.inc: New file.
2037 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
2038 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
2039 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
2040 * config/c6x/libunwind.S: New file.
2041 * config/c6x/pr-support.c: New file.
2042 * config/c6x/unwind-c6x.c: New file.
2043 * config/c6x/unwind-c6x.h: New file.
2044 * config/c6x/t-c6x-elf: New file.
2045
f70c879a
UB
20462011-08-23 Uros Bizjak <ubizjak@gmail.com>
2047
2048 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
2049 (ASM_DIVZERO): Ditto.
2050 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
2051
c55b374b
RS
20522011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
2053
2054 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
2055
1e138510
RS
20562011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
2057
2058 PR target/50090
2059 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
2060 instead of an assembly one.
2061
1563503d
PB
20622011-08-12 Paolo Bonzini <bonzini@gnu.org>
2063
2064 PR bootstrap/50047
2065 * Makefile.in (install-unwind_h): Create
2066 $(gcc_objdir)/include/unwind.h atomically.
2067
3627ac1a
RO
20682011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2069
2070 * Makefile.in (install-unwind_h): Remove destination file first.
2071
c6412d86
RO
20722011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2073
2074 * sync.c: New file.
2075 * config/mips/t-mips16: New file.
2076 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
2077 (mips*-*-linux*): Likewise.
2078 (mips*-sde-elf*): Likewise.
2079 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
2080 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
2081 Add mips/t-mips16 to tmake_file.
2082 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
2083 (mips-*-elf*): Likewise.
2084 (mips64-*-elf*): Likewise.
2085 (mips64orion-*-elf*): Likewise.
2086 (mips*-*-rtems*): Likewise.
2087 (mipstx39-*-elf*): Likewise.
2088 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
2089 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
2090 LIBGCC_SYNC_CFLAGS.
2091 Use $(srcdir) to refer to sync.c.
2092 Use $<.
2093 ($(libgcc-sync-funcs-o)): Likewise.
2094 ($(libgcc-sync-size-funcs-s-o)): Likewise.
2095 ($(libgcc-sync-funcs-s-o)): Likewise.
2096
3cb6e5bd
AS
20972011-08-09 Andreas Schwab <schwab@linux-m68k.org>
2098
2099 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
2100 t-libunwind.
2101
cca2207a
L
21022011-08-08 H.J. Lu <hongjiu.lu@intel.com>
2103
2104 PR other/48007
2105 * config/i386/value-unwind.h: New.
2106
ed39fbad
RS
21072011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
2108
2109 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
2110 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
2111 Add to tmake_file rather than overriding it.
2112
aca0b0b3
RO
21132011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2114
2115 * config/t-softfp: Remove.
2116 * soft-fp: Moved from ../gcc/config.
2117 * soft-fp/README: Remove t-softfp reference.
2118 * soft-fp/t-softfp: Move to config/t-softfp.
2119 (softfp_machine_header): Remove.
2120 (softfp_file_list): Remove config subdir.
2121 (soft-fp-objects): New variable.
2122 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
2123 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
2124 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
2125 * config/t-softfp-excl: New file.
2126 * config/t-softfp-sfdf: New file.
2127 * config/t-softfp-tf: New file.
2128 * config/no-sfp-machine.h: New file.
2129 * config/arm/sfp-machine.h: New file.
2130 * config/arm/t-softfp: New file.
2131 * config/c6x/sfp-machine.h: New file.
2132 * config/i386/32/t-fprules-softfp: Rename to ...
2133 * config/i386/32/t-softfp: ... this.
2134 (tifunctions, LIB2ADD): Remove.
2135 (softfp_int_modes): Override.
2136 * config/i386/64/t-softfp-compat (tf-functions): Remove config
2137 subdir.
2138 * config/i386/64/eqtf2.c: Likewise.
2139 * config/i386/64/getf2.c: Likewise.
2140 * config/i386/64/letf2.c: Likewise.
2141 * config/ia64/sft-machine.h: New file.
2142 * config/ia64/t-fprules-softfp: Rename to ...
2143 * config/ia64/t-softfp: ... this.
2144 * config/lm32/sfp-machine.h: New file.
2145 * config/moxie/t-moxie-softfp: Remove.
2146 * config/rs6000/ibm-ldouble-format: New file.
2147 * config/rs6000/ibm-ldouble.c: New file.
2148 * config/rs6000/libgcc-ppc-glibc.ver: New file
2149 * config/rs6000/libgcc-ppc64.ver: New file
2150 * config/rs6000/sfp-machine.h: New file.
2151 * config/rs6000/t-freebsd: New file.
2152 * config/rs6000/t-ibm-ldouble: New file.
2153 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
2154 libgcc-ppc-glibc.ver.
2155 * config/rs6000/t-linux64: New file.
2156 * config/rs6000/t-ppccomm (LIB2ADD): Add
2157 $(srcdir)/config/rs6000/ibm-ldouble.c.
2158 * config/rs6000/t-ppccomm-ldbl: New file.
2159 * config/score/sfp-machine.h: New file.
2160 * config.host (sfp_machine_header): Explain.
2161 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
2162 t-softfp to tmake_file.
2163 (arm*-*-uclinux*): Likewise.
2164 (arm*-*-ecos-elf): Likewise.
2165 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
2166 (arm*-*-rtems*): Likewise.
2167 (arm*-*-elf): Likewise.
2168 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
2169 in tmake_file.
2170 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
2171 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
2172 (lm32-*-uclinux*): Likewise.
2173 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
2174 t-softfp-excl, t-softfp.
2175 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
2176 (powerpc64-*-darwin*): Likewise.
2177 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
2178 to tmake_file.
2179 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
2180 tmake_file.
2181 (powerpc-*-eabisim*): Likewise.
2182 (powerpc-*-elf*): Likewise.
2183 (powerpc-*-eabialtivec*): Likewise.
2184 (powerpc-xilinx-eabi*): Likewise.
2185 (powerpc-*-rtems*): Likewise.
2186 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
2187 t-softfp-excl, t-softfp to tmake_file.
2188 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
2189 rs6000/t-ppccomm-ldbl to tmake_file.
2190 (powerpcle-*-elf*): Likewise.
2191 (powerpcle-*-eabisim*): Likewise.
2192 (powerpcle-*-eabi*): Likewise.
2193 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
2194 rs6000/t-ibm-ldouble to tmake_file.
2195 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2196 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2197 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
2198 (tic6x-*-*): Likewise.
2199 (i[34567]86-*-darwin*, x86_64-*-darwin*,
2200 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
2201 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
2202 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
2203 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
2204 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
2205 t-softfp to tmake_file.
2206 * configure.ac (sfp_machine_header): Provide default if unset.
2207 Substitute.
2208 Link sfp-machine.h to config/$sfp_machine_header.
2209 * configure: Regenerate.
2210
569dc494
RO
22112011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2212
2213 * Makefile.in (double_type_size, long_double_type_size): Set.
2214 Remove $(fpbit-in-libgcc) support.
2215 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
2216 (fpbit-src): New variable.
2217 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
2218 Compile with -DFLOAT $(FPBIT_CFLAGS).
2219 Use $<.
2220 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
2221 Compile with $(FPBIT_CFLAGS).
2222 Use $<.
2223 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
2224 Compile with -DFLOAT $(TPBIT_CFLAGS).
2225 Use $<.
2226 * configure.ac (double_type_size, long_double_type_size):
2227 Determine and substitute.
2228 * configure: Regenerate.
2229 * fp-bit.c, fp-bit.h: New files.
2230 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
2231 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
2232 * config/mips/t-mips: New file.
2233 * config/mips/t-sdemtk: New file.
2234 * config/rs6000/ppc64-fp.c: New file.
2235 * config/rs6000/t-darwin (LIB2ADD): Add
2236 $(srcdir)/config/rs6000/ppc64-fp.c.
2237 * config/rs6000/t-ppc64-fp: New file.
2238 * config/rx/rx-lib.h: New file.
2239 * config/rx/t-rx (FPBIT): Set to true.
2240 ($(gcc_objdir)/fp-bit.c): Remove.
2241 (DPBIT): Set to true only with -m64bit-doubles.
2242 ($(gcc_objdir)/dp-bit.c): Remove.
2243 * config/sparc/t-softfp: Remove.
2244 * config/spu/t-elf: New file.
2245 * config/t-fdpbit, config/t-fpbit: New files.
2246 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
2247 (mips*-*-*): Likewise.
2248 (arm-wrs-vxworks): Likewise.
2249 (arm*-*-freebsd*): Likewise.
2250 (avr-*-rtems*): Add t-fpbit to tmake_file.
2251 (avr-*-*): Likewise.
2252 (bfin*-elf*): Add t-fdpbit to tmake_file.
2253 (bfin*-uclinux*): Likewise.
2254 (bfin*-linux-uclibc*): Likewise.
2255 (bfin*-rtems*): New case.
2256 Add t-fdpbit to tmake_file.
2257 (bfin*-*): Add t-fdpbit to tmake_file.
2258 (crisv32-*-elf): Likewise.
2259 (cris-*-linux*): Likewise.
2260 (fr30-*-elf): Likewise.
2261 (frv-*-elf, frv-*-*linux*): Likewise.
2262 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
2263 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
2264 (m32r-*-elf*): Likewise.
2265 (m32rle-*-elf*): Likewise.
2266 (m32r-*-linux*): Likewise.
2267 (m32rle-*-linux*): Likewise.
2268 (mcore-*-elf): Add t-fdpbit to tmake_file.
2269 (microblaze*-*-*): Likewise.
2270 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
2271 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
2272 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
2273 Fix typo.
2274 Add mips/t-tpbit to tmake-file.
2275 (mips*-*-linux*): Fix typo.
2276 (mips*-sde-elf*): New case
2277 Add mips/t-sdemtk unless using newlib.
2278 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
2279 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
2280 (mn10300-*-*): Likewise.
2281 (pdp11-*-*): Likewise.
2282 (picochip-*-*): Add t-fpbit to tmake_file.
2283 (powerpc-*-eabisimaltivec*): Likewise.
2284 (powerpc-*-eabisim*): Likewise.
2285 (powerpc-*-elf*): Likewise.
2286 (powerpc-*-eabialtivec*): Likewise.
2287 (powerpc-xilinx-eabi*): New case.
2288 Add t-fdpbit to tmake_file.
2289 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
2290 (powerpc-*-rtems*): Likewise.
2291 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
2292 tmake_file.
2293 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
2294 tmake_file.
2295 (powerpc-*-lynxos*): Likewise.
2296 (powerpcle-*-elf*): Likewise.
2297 (powerpcle-*-eabisim*): Likewise.
2298 (powerpcle-*-eabi*): Likewise.
2299 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
2300 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
2301 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2302 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2303 (rx-*-elf): Add t-fdpbit to tmake_file.
2304 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
2305 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
2306 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
2307 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
2308 sh*-*-netbsd*.
2309 (sh-*-rtems*): Add t-fdpbit to tmake_file.
2310 (sh-wrs-vxworks): Likewise.
2311 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
2312 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
2313 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
2314 (sparc64-*-rtems*): ... new case.
2315 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
2316 (spu-*-elf*): Likewise.
2317 Add spu/t-elf to tmake_file.
2318 (v850*-*-*): Add t-fdpbit to tmake_file.
2319 (xstormy16-*-elf): Likewise.
2320 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
2321 (mep*-*-*): Likewise.
2322
201cdb74
RO
23232011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2324
2325 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
2326 variables.
2327 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
2328 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
2329 (install-unwind_h): New target.
2330 (all): Depend on it.
2331 * config.host (unwind_header): New variable.
2332 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
2333 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
2334 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
2335 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
2336 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
2337 Set unwind_header.
2338 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
2339 Set unwind_header.
2340 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
2341 arm*-*-eabi*.
2342 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
2343 Set unwind_header.
2344 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
2345 (ia64*-*-freebsd*): Likewise.
2346 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
2347 tmake_file.
2348 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
2349 $with_system_libunwind.
2350 (ia64*-*-hpux*): Set tmake_file.
2351 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
2352 (picochip-*-*): Set tmake_file.
2353 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
2354 md_unwind_header.
2355 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2356 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2357 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
2358 (xtensa*-*-elf*): Set tmake_file.
2359 (xtensa*-*-linux*): Likewise.
2360 * configure.ac: Include ../config/unwind_ipinfo.m4.
2361 Call GCC_CHECK_UNWIND_GETIPINFO.
2362 Link unwind.h to $unwind_header.
2363 * configure: Regenerate.
2364 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
2365 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
2366 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
2367 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
2368 * config/unwind-dw2-fde-darwin.c: New file.
2369 * config/arm/libunwind.S, config/arm/pr-support.c,
2370 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
2371 config/arm/unwind-arm.h,: New files.
2372 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
2373 config/ia64/t-eh-ia64, config/ia64/t-glibc,
2374 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
2375 config/ia64/t-vms, config/ia64/unwind-ia64.c,
2376 config/ia64/unwind-ia64.h: New files.
2377 * config/picochip/t-picochip: New file.
2378 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
2379 files.
2380 * config/rs6000/t-darwin (LIB2ADDEH): Set.
2381 * config/s390/t-tpf (LIB2ADDEH): Remove.
2382 * config/t-darwin (LIB2ADDEH): Set.
2383 * config/t-eh-dw2-dip: New file.
2384 * config/t-libunwind, config/t-libunwind-elf: New files.
2385 * config/t-sol2 (LIB2ADDEH): Remove.
2386 * config/xtensa/t-xtensa: New file.
2387
40f2f11f
L
23882011-08-02 H.J. Lu <hongjiu.lu@intel.com>
2389
2390 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
2391 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
2392 long long to check rt_sigreturn syscall.
2393
bd15e32c
AM
23942011-08-02 Alan Modra <amodra@gmail.com>
2395
2396 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
2397 Restore for indirect call bcrtl from correct stack slot, and only
2398 if cfa+40 isn't valid.
2399
655b30bf
JB
24002011-08-01 Julian Brown <julian@codesourcery.com>
2401
2402 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
2403 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
2404 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
2405
247eb06f
JB
24062011-08-01 Julian Brown <julian@codesourcery.com>
2407
2408 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
2409 (libgcc-std.ver.in): Use above.
2410 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
2411 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
2412 throughout file.
2413 * config/t-fixedpoint-gnu-prefix: New file.
2414 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
2415 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
2416 instead of __PFX__.
2417
02a8fe00
L
24182011-07-28 H.J. Lu <hongjiu.lu@intel.com>
2419
2420 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
2421 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
2422 for x86-64. Properly check __x86_64__ and __LP64__.
2423
5fce9126
L
24242010-07-28 H.J. Lu <hongjiu.lu@intel.com>
2425
2426 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
2427 version.
2428 (_FP_WS_TYPE): Likewise.
2429 (_FP_I_TYPE): Likewise.
2430
2374a88a
AM
24312011-07-28 Alan Modra <amodra@gmail.com>
2432
2433 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
2434 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
2435 in a plt call stub. Do restore r2 if stopped on bctrl.
2436
e44dbbe1
RO
24372011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2438
2439 * config.host (i[3456x]86-*-netware*): Remove.
2440 * config/i386/netware-crt0.c, config/i386/t-nwld,
2441 config/i386/t-slibgcc-nwld: Remove.
2442
bcead286
BS
24432011-07-15 Bernd Schmidt <bernds@codesourcery.com>
2444
2445 * config.host: Handle tic6x-*-*.
2446 * config/c6x/c6x-abi.h: New file.
2447
b3fe1584
RO
24482011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2449
2450 * config/i386/crtprec.c: New file.
2451 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
2452 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
2453 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
2454 (x86_64-*-darwin*): Likewise.
2455 (i[34567]86-*-solaris2*: Likewise.
2456
35d8090d
RO
24572011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2458
2459 * config/alpha/crtfastmath.c: New file.
2460 * config/i386/crtfastmath.c: New file.
2461 * config/ia64/crtfastmath.c: New file.
2462 * config/mips/crtfastmath.c: New file.
2463 * config/sparc/crtfastmath.c: New file.
2464
2465 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
2466 crtfastmath.c.
2467 Add -frandom-seed=gcc-crtfastmath.
2468 * config/alpha/t-crtfm: Remove.
2469 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
2470 * config/ia64/t-ia64 (crtfastmath.o): Remove.
2471
2472 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
2473 (alpha*-dec-osf5.1*): Likewise.
2474 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
2475 Add crtfastmath.o to extra_parts.
2476 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
2477 Add crtfastmath.o to extra_parts.
2478 (x86_64-*-darwin*): Likewise.
2479 (x86_64-*-mingw*): Likewise.
2480 (ia64*-*-elf*): Add t-crtfm to tmake_file.
2481 (ia64*-*-freebsd*): Likewise.
2482 (ia64*-*-linux*): Likewise.
2483 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
2484 Add crtfastmath.o to extra_parts.
2485
e141542e
RO
24862011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2487
2488 * config/darwin-crt3.o: New file.
2489 * config/rs6000/darwin-crt2.c: New file.
2490 * config/t-darwin: New file.
2491 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
2492 (crt2.o): New rule.
2493 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
2494 (powerpc-*-darwin*): Add crt2.o to extra_parts.
2495 (powerpc64-*-darwin*): Likewise.
2496
2d1efe2d
RO
24972011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2498
2499 * config/i386/netware-crt0.c: New file.
2500 * config/i386/t-nwld: Rename to ...
2501 * config/i386/t-slibgcc-nwld: ... this.
2502 * config/i386/t-nwld: New file.
2503 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
2504 tmake_file.
2505 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
2506 extra_parts.
2507
4a8bb046
RO
25082011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2509
2510 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
2511 i386/t-crtstuff.
2512 * configure: Regenerate.
2513
2d8d5935
RO
25142011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2515
2516 * dfp-bit.c, dfp-bit.h: New files.
2517 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
2518 variables.
2519 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
2520 ($(d64pbit-o)): Likewise.
2521 ($(d128pbit-o)): Likewise.
2522 * config/t-dfprules: New file.
2523 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
2524 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
2525 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
2526 (x86_64-*-linux*): Likewise.
2527 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
2528 (i[34567]86-*-cygwin*): Likewise.
2529 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
2530 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
2531
2c50b2c3
RO
25322011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2533
2534 * Makfile.in (LIBGCOV): New variable.
2535 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
2536 * libgcov.c: New file.
2537
a039d7c2
RO
25382011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2539
2540 * fixed-bit.c, fixed-bit.h: New files.
2541 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
2542 refer to fixed-bit.c.
2543
1e4b2746
JM
25442011-07-07 Joseph Myers <joseph@codesourcery.com>
2545
2546 * config.host (*local*): Remove.
2547
fbdd5d87
RO
25482011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2549
2550 PR target/39150
2551 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
2552 like i?86-*-solaris2.1[0-9]*.
2553 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
2554 * configure.ac (i?86-*-solaris2*): Likewise.
2555 * configure: Regenerate.
2556
9e7714f4
TS
25572011-07-06 Thomas Schwinge <thomas@schwinge.name>
2558
2559 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
2560 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
2561 md_unwind_header by splitting out of...
2562 (i[34567]86-*-linux*): ... this.
2563 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
2564 Remove md_unwind_header by splitting out of...
2565 (x86_64-*-linux*): ... this.
2566
6dab9931
GJL
25672011-07-04 Georg-Johann Lay <avr@gjlay.de>
2568
2569 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
2570
4be46d19
NC
25712011-06-28 Nick Clifton <nickc@redhat.com>
2572
2573 * config.host: Recognize all V850 variants.
2574
1da9434b
UB
25752011-06-22 Uros Bizjak <ubizjak@gmail.com>
2576
2577 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
2578
e4d48a4d
RO
25792011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2580
2581 * shared-object.mk (c_flags-$o): Save c_flags.
2582 ($(base)$(objext)): Use it.
2583 ($(base)_s$(objext)): Likewise.
2584
3801c801
BS
25852011-06-21 Bernd Schmidt <bernds@codesourcery.com>
2586
2587 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
2588 * libgcc-std.ver.in (GCC_4.7.0): New section.
2589
0ad8bb3b 25902011-06-16 Georg-Johann Lay <avr@gjlay.de>
1da9434b 2591
0ad8bb3b
GJL
2592 PR target/49313
2593 PR target/29524
2594 * config/avr/t-avr: Fix line endings.
2595 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
2596 _parityXX2.
2597
ea963999
OH
25982011-06-14 Olivier Hainque <hainque@adacore.com>
2599 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2600
2601 * config/mips/irix6-unwind.h: New file.
2602 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
2603
b11b0904
EB
26042011-06-10 Eric Botcazou <ebotcazou@adacore.com>
2605
2606 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
2607 (sparc64_fallback_frame_state): Use it.
2608 (sparc64_frob_update_context): Further adjust context.
2609 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
2610 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
2611 * config/sparc/sol2-cn.S: Likewise.
2612
10e48e39
RO
26132011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2614
2615 * enable-execute-stack-empty.c: New file.
2616 * enable-execute-stack-mprotect.c: New file.
2617 * config/i386/enable-execute-stack-mingw32.c: New file.
2618 * config.host (enable_execute_stack): New variable.
2619 Select appropriate variants.
2620 * configure.ac: Link enable-execute-stack.c to
2621 $enable_execute_stack.
2622 * configure: Regenerate.
2623 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
2624 (lib2funcs): Remove _enable_execute_stack.
2625
10c4cabc
DM
26262011-06-09 David S. Miller <davem@davemloft.net>
2627 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2628
2629 * config.host (sparc-*-linux*): Correct md_unwind_header
2630 filename.
2631 (s390x-ibm-tpf*): Fix typo.
2632
aa4203e7
RO
26332011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2634
2635 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
2636 Add crtfastmath.o to extra_parts.
2637 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
2638 mips/t-crtfm.
2639 * config/mips/t-crtfm: Remove.
2640
0defd786
JDA
26412011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2642
2643 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
2644
82f247af
KK
26452011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
2646
2647 * config.host (sh*-*-linux*): Fix typo.
2648
58cd1d70
RO
26492011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2650
2651 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
2652 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
2653 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
2654 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
2655 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
2656 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
2657 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
2658 Wrap in !__MINGW64__.
2659 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
2660 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
2661 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
2662 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
2663 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
2664 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
2665 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
2666 Wrap in !__LP64__.
2667 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
2668 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
2669 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
2670 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
2671 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
2672 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
2673 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
2674 * config/no-unwind.h: New file.
2675 * config.host (md_unwind_header): Document.
2676 Define.
2677 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
2678 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
2679 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
2680 hppa[12]*-*-hpux11*): Set md_unwind_header.
2681 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
2682 Set md_unwind_header.
2683 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
2684 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
2685 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
2686 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
2687 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
2688 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
2689 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
2690 md_unwind_header.
2691 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
2692 * configure: Regenerate.
2693
737346fa
RO
26942011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2695
2696 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
2697 Set tmake_file, extra_parts.
2698 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
2699 Remove O32 support.
2700 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
2701 Remove O32 support.
2702 * config/mips/t-irix6: New file.
2703 * config/mips/t-slibgcc-irix: New file.
2704
c192cee6
RO
27052011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2706
2707 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
2708 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
2709
ee33b5f0
RO
27102011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2711
2712 * configure.ac (target_thread_file): Determine thread model.
2713 * configure: Regenerate.
2714 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
2715 * config/alpha/t-alpha: New file.
2716 * config/alpha/t-crtfm: Use $<.
2717 * config/alpha/t-ieee: New file.
2718 * config/alpha/t-osf-pthread: New file.
2719 * config/alpha/t-slibgcc-osf: New file.
2720 * config/alpha/libgcc-osf5.ver: New file.
2721
0699e415
RO
27222011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2723
2724 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
2725 tmake_file.
2726 Add crtfastmath.o to extra_parts.
2727
a3fab9c2
RO
27282011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2729
2730 * config/gmon-sol2.c: Reindent.
2731 Cleanup comments.
2732 Remove, correct casts.
2733 Use STDERR_FILENO, NULL.
2734 (BASEADDRESS): Remove.
2735 (minbrk): Remove.
2736 (errno, sbrk): Remove declarations.
2737 (monstartup) [hp300]: Remove.
2738 (mcount): Remove.
2739
ca24c5ad
RO
27402011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2741
2742 * Makefile.in (cpu_type): Define.
2743 * config.host (i[34567]86-*-rtems*): Handle it.
2744 (i[34567]86-*-solaris2*): Move body ...
2745 (*-*-solaris2*): ... here.
2746 New case, generalize.
2747 (sparc-*-elf*): Handle it.
2748 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
2749 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
2750 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
2751 Fold into ...
2752 (sparc*-*-solaris2*): ... this.
2753 New case.
2754 (sparc64-*-elf*): Handle it.
2755 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
2756 Merge ../gcc/config/i386/gmon-sol2.c.
2757 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
2758 Use C comments.
2759 Merge ../gcc/config/i386/sol2-gc1.asm.
2760 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
2761 Use C comments.
2762 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
2763 Use C comments.
2764 * config/i386/t-crtfm (crtfastmath.o): Use $<.
2765 * config/i386/t-crtstuff: New file.
2766 * config/i386/t-softfp: New file.
2767 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
2768 $(T)crti.o, $(T)crtn.o): Remove.
2769 (gcrt1.o): New rule.
2770 (TARGET_LIBGCC2_CFLAGS): Remove.
2771 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
2772 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
2773 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
2774 * config/sparc/t-sol2: New file.
2775 * config/sparc/t-crtfm: Move to ...
2776 * config/t-crtfm: ... this.
2777 Use $(cpu_type), $<.
2778 * config/t-crtin: New file.
2779 * config/sparc/t-softfp: New file.
2780 * config/sparc/t-softmul: New file.
2781 * config/t-rtems: New file.
2782 * config/t-slibgcc: New file.
2783 * config/t-slibgcc-elf-ver: New file.
2784 * config/t-slibgcc-gld: New file.
2785 * config/t-slibgcc-sld: New file.
2786 * config/t-sol2: New file.
2787 * configure.ac: Include ../config/lib-ld.m4.
2788 Call AC_LIB_PROG_LD_GNU.
2789 Substitute cpu_type.
2790 * configure: Regenerate.
2791
ad5f3d7b
BS
27922011-05-27 Bernd Schmidt <bernds@codesourcery.com>
2793
2794 PR bootstrap/49173
2795 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
2796 libgcc-std.ver in the build directory.
2797 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
2798 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
2799
cdbf4541
BS
28002011-05-25 Bernd Schmidt <bernds@codesourcery.com>
2801
2802 * libgcc-std.ver.in: New file.
2803 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
2804 variables.
2805 (libgcc-std.ver): New rule.
2806 * config/t-gnu-prefix: New file.
2807
c8028650
RO
28082011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2809
2810 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
2811
4a68b4ca
JM
28122011-05-10 Joseph Myers <joseph@codesourcery.com>
2813
2814 * config/i386/darwin-lib.h: New file.
2815
80cf2e08
JM
28162011-05-10 Joseph Myers <joseph@codesourcery.com>
2817
2818 * config/arm/symbian-lib.h: New.
2819
a3330c9d
CD
28202011-05-04 Chris Demetriou <cgd@google.com>
2821
2822 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
2823 (__x86.get_pc_thunk.bx): ...this.
2824 (__morestack): Adjust for rename, remove undef of __i686.
2825
6ace0756
CD
28262011-05-03 Chris Demetriou <cgd@google.com>
2827
2828 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
2829
ebb9f8b0
JM
28302011-03-22 Joseph Myers <joseph@codesourcery.com>
2831
2832 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
2833 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
2834 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
2835 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
2836 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
2837 Remove cases.
2838
9cfa1499
AT
28392011-03-14 Andreas Tobler <andreast@fgznet.ch>
2840
2841 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
2842 Adjust copyright year.
2843
457186f6
ILT
28442011-03-07 Ian Lance Taylor <iant@google.com>
2845
2846 * generic-morestack.c (__splitstack_find): Adjust returned stack
2847 pointer to include all registers pushed by __morestack.
2848
58c741a6
DK
28492011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
2850
2851 PR target/40125
2852 * configure.ac: Call ACX_NONCANONICAL_TARGET.
2853 (toolexecdir): Calculate and AC_SUBST.
2854 (toolexeclibdir): Likewise.
2855 * Makefile.in (target_noncanonical): Import.
2856 (toolexecdir): Likewise.
2857 (toolexeclibdir): Likewise.
2858 * configure: Regenerate.
2859
26716c44
NF
28602010-12-13 Nathan Froyd <froydnj@codesourcery.com>
2861
2862 PR target/46040
2863 * config/arm/bpabi.h: Rename to...
2864 * config/arm/bpabi-lib.h: ...this.
2865
b595b1a1
RO
28662010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2867
2868 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
2869 appropriate.
2870 * configure: Regenerate.
2871
a3abe41c
NF
28722010-11-24 Nathan Froyd <froydnj@codesourcery.com>
2873
2874 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
2875 __FLOAT_WORD_ORDER__.
2876 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
2877 Delete.
2878
455c8f48
RW
28792010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2880
2881 PR other/46202
2882 * Makefile.in (install-strip): New phony target.
2883
f3824a8b
ILT
28842010-11-07 Ian Lance Taylor <iant@google.com>
2885
2886 PR target/46089
2887 * config/i386/morestack.S (__morestack_large_model): New
2888 function.
2889
18ed6ee4
NF
28902010-10-23 Nathan Froyd <froydnj@codesourcery.com>
2891
2892 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
2893 Delete.
2894 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
2895
8ac7fdcb
NF
28962010-10-14 Nathan Froyd <froydnj@codesourcery.com>
2897
2898 * config/arm/bpabi.h: New file.
2899 * config/frv/frv-abi.h: New file.
2900
cdb388c2
ILT
29012010-10-01 Ian Lance Taylor <iant@google.com>
2902
2903 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
2904 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
2905
ef7c141c
L
29062010-10-01 H.J. Lu <hongjiu.lu@intel.com>
2907
2908 PR target/45858
2909 * config.host: Add the missing `$'.
2910
80920132
ME
29112010-09-30 Michael Eager <eager@eagercon.com>
2912
2913 * config.host: Add microblaze*-*-*.
2914 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
2915 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
2916 udivsi3.asm,umodsi3.asm}: New.
2917
6dace308
ILT
29182010-09-28 Ian Lance Taylor <iant@google.com>
2919
2920 * configure.ac: Adjust CFI test to test assembler directly rather
2921 than checking gcc preprocessor macro.
2922 * configure: Rebuild.
2923
b6110d6d
ILT
29242010-09-27 Ian Lance Taylor <iant@google.com>
2925
2926 * configure.ac: Test whether assembler supports CFI directives.
2927 * config.host: Only add t-stack and i386/t-stack-i386 to
2928 tmake_file if libgcc_cv_cfi is "yes".
2929 * configure: Rebuild.
2930
7458026b
ILT
29312010-09-27 Ian Lance Taylor <iant@google.com>
2932
2933 * generic-morestack.h: New file.
2934 * generic-morestack.c: New file.
2935 * generic-morestack-thread.c: New file.
2936 * config/i386/morestack.S: New file.
2937 * config/t-stack: New file.
2938 * config/i386/t-stack-i386: New file.
2939 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
2940 i386/t-stack-i386 to tmake_file.
2941
5b50fc0c
IS
29422010-09-21 Iain Sandoe <iains@gcc.gnu.org>
2943
2944 * Makefile.in (libgcc-extra-parts): Check for static archives and
2945 invoke ranlib after installing them.
2946 (gcc-extra-parts): Likewise.
2947 (install-leaf): Likewise.
2948
b93cf342
L
29492010-09-14 H.J. Lu <hongjiu.lu@intel.com>
2950
2951 * configure: Regenerated.
2952
996b42ef
KT
29532010-09-10 Kai Tietz <kai.tietz@onevision.com>
2954
b93cf342 2955 * configure: Regenerated.
996b42ef 2956
be1c764e
GP
29572010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
2958 Andrew Pinski <pinskia@gmail.com>
2959
1da9434b 2960 PR target/40959
be1c764e
GP
2961 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
2962
cc0ae0ca
L
29632010-09-06 H.J. Lu <hongjiu.lu@intel.com>
2964
2965 PR target/45524
2966 * configure: Regenerated.
2967
84f47d20
AS
29682010-09-06 Andreas Schwab <schwab@redhat.com>
2969
2970 * configure: Regenerate.
2971
4159fb8d
UB
29722010-09-03 Uros Bizjak <ubizjak@gmail.com>
2973
2974 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
2975 64bit targets.
2976 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
2977 for 64bit targets.
2978
0df8fcc8
UB
29792010-09-03 Uros Bizjak <ubizjak@gmail.com>
2980 Iain Sandoe <iains@gcc.gnu.org>
2981
2982 PR target/45476
2983 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
2984 LIB2FUNCS_EXCLUDE functions.
2985
3c39bca6
AK
29862010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2987
2988 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
2989 Include dfp.m4.
2990 * configure: Regenerate.
2991
d78552bd
UB
29922010-09-01 Uros Bizjak <ubizjak@gmail.com>
2993
2994 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
2995 i386/t-freebsd to tmake_file.
2996 * config/i386/t-freebsd: New file.
2997 * config/i386/libgcc-bsd.ver: New file.
2998
c5b79d4e
NF
29992010-07-23 Nathan Froyd <froydnj@codesourcery.com>
3000
3001 * config.host (powerpc*-eabispe*): Set tmake_file.
3002 (powerpc*-eabi*): Likewise.
3003 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
3004 crtbeginS, crtendS, crtbeginT.
3005
48b09a92
KH
30062010-06-12 Kazu Hirata <kazu@codesourcery.com>
3007
3008 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
3009 to tmake_file. Add crtfastmath.o to extra_parts.
3010 * config/mips/t-crtfm: New.
3011
a4389204
JS
30122010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
3013
3014 * config.host (sparc64-*-rtems*): New target.
3015
ed104137
RO
30162010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3017
3018 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
3019 assembler syntax.
3020
3f56ef8b
TS
30212010-04-15 Thomas Schwinge <tschwinge@gnu.org>
3022
3023 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
3024
8c200350
RO
30252010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3026
3027 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
3028 alpha-dec-osf5.0* support.
3029
80a61cb4 30302010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
c1b14424
RC
3031
3032 * config.host: Add lm32-*-rtems*.
3033
f128db92
RO
30342010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3035 Uros Bizjak <ubizjak@gmail.com>
3036
3037 PR target/39048
3038 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
3039 like other remaining 32-bit x86 OSes.
3040 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
3041 assembler syntax.
3042 * config/i386/libgcc-sol2.ver: New file.
3043 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
3044
368fabd5
JH
30452010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
3046
3047 PR c/43553
3048 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
3049 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
3050 is used and substitute set_use_emutls.
3051 * configure: Regenerated.
3052
15baf7f8
TG
30532010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
3054
3055 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
3056
7f5441df
RO
30572010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3058
3059 PR target/38085
3060 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
3061 MULTILIB_CFLAGS.
3062 ($(T)gcrt1.o): Likewise.
3063 ($(T)crt1.o): Likewise.
3064 ($(T)crti.o): Likewise.
3065 ($(T)crtn.o): Likewise.
3066
ef74edbd
RW
30672010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3068
3069 PR other/42980
3070 * Makefile.in (install): Use $(MAKE) string in rule, for
3071 parallel make.
3072
e7c914db
HPN
30732010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
3074
3075 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
3076 * config/mmix/t-mmix: New file.
3077 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
3078
1bcb71c4
JH
30792010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
3080
3081 PR java/41991
3082 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
3083 SHLIB_MAPFILES.
3084
e6e50811
AG
30852010-01-04 Anthony Green <green@moxielogic.com>
3086
3087 * config/moxie/crti.asm, config/moxie/crtn.asm,
3088 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
3089 config/moxie/t-moxie: New files.
3090 * config.host: Add t-moxie-softfp reference.
3091
ca8520ad
IS
30922009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
3093
3094 PR other/39888
3095 * config/t-slibgcc-darwin: Fix embedded rpaths for
3096 --enable-version-specific-runtime-libs, build extension stub
3097 libs exposing features available from current libgcc_s.
3098
aa4945c1
JB
30992009-11-11 Jon Beniston <jon@beniston.com>
3100
d78552bd
UB
3101 * config.host: Add lm32 targets.
3102 * config/lm32: New directory.
3103 * config/lm32/libgcc_lm32.h: New file.
3104 * config/lm32/_mulsi3.c: New file.
3105 * config/lm32/_udivmodsi4.c: New file.
3106 * config/lm32/_divsi3.c: New file.
3107 * config/lm32/_modsi3.c: New file.
3108 * config/lm32/_udivsi3.c: New file.
3109 * config/lm32/_umodsi3.c: New file.
3110 * config/lm32/_lshrsi3.S: New file.
3111 * config/lm32/_ashrsi3.S: New file.
3112 * config/lm32/_ashlsi3.S: New file.
3113 * config/lm32/crti.S: New file.
3114 * config/lm32/crtn.S: New file.
3115 * config/lm32/t-lm32: New file.
3116 * config/lm32/t-elf: New file.
3117 * config/lm32/t-uclinux: New file.
aa4945c1 3118
65a324b4
NC
31192009-10-26 Nick Clifton <nickc@redhat.com>
3120
3121 * config.host: Add support for RX target.
3122 * config/rx: New directory.
3123 * config/rx/rx-abi-functions.c: New file. Supplementary
3124 functions for libgcc to support the RX ABI.
3125 * config/rx/rx-abi.h: New file. Supplementary header file for
3126 libgcc RX ABI functions.
3127 * config/rx/t-rx: New file: Makefile fragment for building
3128 libgcc for the RX.
3129
dfb3b0e3
UB
31302009-10-09 Uros Bizjak <ubizjak@gmail.com>
3131
3132 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
3133 constraint of y0 to "g".
3134
81dd9fd7
AK
31352009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3136
3137 * config.host: Include the s390 makefile fragments.
3138 * config/s390/32/_fixdfdi.c: New file.
3139 * config/s390/32/_fixsfdi.c: New file.
3140 * config/s390/32/_fixtfdi.c: New file.
3141 * config/s390/32/_fixunsdfdi.c: New file.
3142 * config/s390/32/_fixunssfdi.c: New file.
3143 * config/s390/32/_fixunstfdi.c: New file.
3144 * config/s390/32/t-floattodi: New file.
3145 * config/s390/libgcc-glibc.ver: New file.
3146 * config/s390/t-crtstuff: New file.
3147 * config/s390/t-linux: New file.
3148 * config/s390/t-tpf: New file.
3149
df58e648
RW
31502009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3151
3152 * configure.ac (AC_PREREQ): Bump to 2.64.
3153
79052be3
KK
31542009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
3155
3156 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
3157
5213506e
RW
31582009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3159
3160 * configure: Regenerate.
3161
a9a25daa
DR
31622009-08-09 Douglas B Rupp <rupp@gnat.com>
3163
3164 * config.host (ia64-hp-*vms*): New target.
3165 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
3166 with ia64-hp-*vms*.
3167
6efbd53f
RW
31682009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3169
3170 * configure.ac: Add snippet for maintainer-mode.
3171 * configure: Regenerate.
3172 * Makefile.in (AUTOCONF, configure_deps): New variables.
3173 ($(srcdir)/configure)): New rule, active only with maintainer
3174 mode turned on.
3175
7acf4da6
DD
31762009-06-23 DJ Delorie <dj@redhat.com>
3177
3178 Add MeP port.
3179 * config.host: Add mep support.
3180
54f549af
KT
31812009-06-22 Kai Tietz <kai.tietz@onevision.com>
3182
34481f28 3183 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 3184 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
34481f28
UB
3185
3186 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
3187 for mingw targets.
54f549af
KT
3188 * config/i386/64/_multc3.c: Likewise.
3189 * config/i386/64/_powitf2.c: Likewise.
3190 * config/i386/64/eqtf2.c: Likewise.
3191 * config/i386/64/getf2.c: Likewise.
3192 * config/i386/64/letf2.c: Likewise.
3193 * config/i386/64/letf2.c: Likewise.
34481f28
UB
3194 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
3195 unsigned long long for x64 mingw targets.
3196 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
3197 (_FP_I_TYPE): Define as long long for x64 mingw target.
54f549af 3198
fea96e25
MR
31992009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
3200
3201 * config.host (vax-*-linux*): New.
3202
cceb575c
AG
32032009-05-31 Anthony Green <green@moxielogic.com>
3204
3205 * config.host: Add moxie support.
3206 * config/moxie/t-moxie: New file.
3207
e997fb9c
DB
32082009-05-29 David Billinghurst <billingd@gcc.gnu.org>
3209
3210 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 3211 t-softfp to tmake_file for i[34567]86-*-cygwin*.
e997fb9c 3212
532bfb0a
AJ
32132009-04-17 Aurelien Jarno <aurelien@aurel32.net>
3214
3215 * config.host: Add i386/${host_address}/t-fprules-softfp to
3216 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
3217
748086b7
JJ
32182009-04-09 Nick Clifton <nickc@redhat.com>
3219
3220 * config/ia64/tf-signs.c: Change copyright header to refer to
3221 version 3 of the GNU General Public License with version 3.1
3222 of the GCC Runtime Library Exception and to point readers at
3223 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
3224 web page.
3225 * config/i386/32/tf-signs.c: Likewise.
3226 * config/libbid/_addsub_dd.c: Likewise.
3227 * config/libbid/_addsub_sd.c: Likewise.
3228 * config/libbid/_addsub_td.c: Likewise.
3229 * config/libbid/_dd_to_df.c: Likewise.
3230 * config/libbid/_dd_to_di.c: Likewise.
3231 * config/libbid/_dd_to_sd.c: Likewise.
3232 * config/libbid/_dd_to_sf.c: Likewise.
3233 * config/libbid/_dd_to_si.c: Likewise.
3234 * config/libbid/_dd_to_td.c: Likewise.
3235 * config/libbid/_dd_to_tf.c: Likewise.
3236 * config/libbid/_dd_to_udi.c: Likewise.
3237 * config/libbid/_dd_to_usi.c: Likewise.
3238 * config/libbid/_dd_to_xf.c: Likewise.
3239 * config/libbid/_df_to_dd.c: Likewise.
3240 * config/libbid/_df_to_sd.c: Likewise.
3241 * config/libbid/_df_to_td.c: Likewise.
3242 * config/libbid/_di_to_dd.c: Likewise.
3243 * config/libbid/_di_to_sd.c: Likewise.
3244 * config/libbid/_di_to_td.c: Likewise.
3245 * config/libbid/_div_dd.c: Likewise.
3246 * config/libbid/_div_sd.c: Likewise.
3247 * config/libbid/_div_td.c: Likewise.
3248 * config/libbid/_eq_dd.c: Likewise.
3249 * config/libbid/_eq_sd.c: Likewise.
3250 * config/libbid/_eq_td.c: Likewise.
3251 * config/libbid/_ge_dd.c: Likewise.
3252 * config/libbid/_ge_sd.c: Likewise.
3253 * config/libbid/_ge_td.c: Likewise.
3254 * config/libbid/_gt_dd.c: Likewise.
3255 * config/libbid/_gt_sd.c: Likewise.
3256 * config/libbid/_gt_td.c: Likewise.
3257 * config/libbid/_isinfd128.c: Likewise.
3258 * config/libbid/_isinfd32.c: Likewise.
3259 * config/libbid/_isinfd64.c: Likewise.
3260 * config/libbid/_le_dd.c: Likewise.
3261 * config/libbid/_le_sd.c: Likewise.
3262 * config/libbid/_le_td.c: Likewise.
3263 * config/libbid/_lt_dd.c: Likewise.
3264 * config/libbid/_lt_sd.c: Likewise.
3265 * config/libbid/_lt_td.c: Likewise.
3266 * config/libbid/_mul_dd.c: Likewise.
3267 * config/libbid/_mul_sd.c: Likewise.
3268 * config/libbid/_mul_td.c: Likewise.
3269 * config/libbid/_ne_dd.c: Likewise.
3270 * config/libbid/_ne_sd.c: Likewise.
3271 * config/libbid/_ne_td.c: Likewise.
3272 * config/libbid/_sd_to_dd.c: Likewise.
3273 * config/libbid/_sd_to_df.c: Likewise.
3274 * config/libbid/_sd_to_di.c: Likewise.
3275 * config/libbid/_sd_to_sf.c: Likewise.
3276 * config/libbid/_sd_to_si.c: Likewise.
3277 * config/libbid/_sd_to_td.c: Likewise.
3278 * config/libbid/_sd_to_tf.c: Likewise.
3279 * config/libbid/_sd_to_udi.c: Likewise.
3280 * config/libbid/_sd_to_usi.c: Likewise.
3281 * config/libbid/_sd_to_xf.c: Likewise.
3282 * config/libbid/_sf_to_dd.c: Likewise.
3283 * config/libbid/_sf_to_sd.c: Likewise.
3284 * config/libbid/_sf_to_td.c: Likewise.
3285 * config/libbid/_si_to_dd.c: Likewise.
3286 * config/libbid/_si_to_sd.c: Likewise.
3287 * config/libbid/_si_to_td.c: Likewise.
3288 * config/libbid/_td_to_dd.c: Likewise.
3289 * config/libbid/_td_to_df.c: Likewise.
3290 * config/libbid/_td_to_di.c: Likewise.
3291 * config/libbid/_td_to_sd.c: Likewise.
3292 * config/libbid/_td_to_sf.c: Likewise.
3293 * config/libbid/_td_to_si.c: Likewise.
3294 * config/libbid/_td_to_tf.c: Likewise.
3295 * config/libbid/_td_to_udi.c: Likewise.
3296 * config/libbid/_td_to_usi.c: Likewise.
3297 * config/libbid/_td_to_xf.c: Likewise.
3298 * config/libbid/_tf_to_dd.c: Likewise.
3299 * config/libbid/_tf_to_sd.c: Likewise.
3300 * config/libbid/_tf_to_td.c: Likewise.
3301 * config/libbid/_udi_to_dd.c: Likewise.
3302 * config/libbid/_udi_to_sd.c: Likewise.
3303 * config/libbid/_udi_to_td.c: Likewise.
3304 * config/libbid/_unord_dd.c: Likewise.
3305 * config/libbid/_unord_sd.c: Likewise.
3306 * config/libbid/_unord_td.c: Likewise.
3307 * config/libbid/_usi_to_dd.c: Likewise.
3308 * config/libbid/_usi_to_sd.c: Likewise.
3309 * config/libbid/_usi_to_td.c: Likewise.
3310 * config/libbid/_xf_to_dd.c: Likewise.
3311 * config/libbid/_xf_to_sd.c: Likewise.
3312 * config/libbid/_xf_to_td.c: Likewise.
3313 * config/libbid/bid128.c: Likewise.
3314 * config/libbid/bid128_2_str.h: Likewise.
3315 * config/libbid/bid128_2_str_macros.h: Likewise.
3316 * config/libbid/bid128_2_str_tables.c: Likewise.
3317 * config/libbid/bid128_add.c: Likewise.
3318 * config/libbid/bid128_compare.c: Likewise.
3319 * config/libbid/bid128_div.c: Likewise.
3320 * config/libbid/bid128_fma.c: Likewise.
3321 * config/libbid/bid128_logb.c: Likewise.
3322 * config/libbid/bid128_minmax.c: Likewise.
3323 * config/libbid/bid128_mul.c: Likewise.
3324 * config/libbid/bid128_next.c: Likewise.
3325 * config/libbid/bid128_noncomp.c: Likewise.
3326 * config/libbid/bid128_quantize.c: Likewise.
3327 * config/libbid/bid128_rem.c: Likewise.
3328 * config/libbid/bid128_round_integral.c: Likewise.
3329 * config/libbid/bid128_scalb.c: Likewise.
3330 * config/libbid/bid128_sqrt.c: Likewise.
3331 * config/libbid/bid128_string.c: Likewise.
3332 * config/libbid/bid128_to_int16.c: Likewise.
3333 * config/libbid/bid128_to_int32.c: Likewise.
3334 * config/libbid/bid128_to_int64.c: Likewise.
3335 * config/libbid/bid128_to_int8.c: Likewise.
3336 * config/libbid/bid128_to_uint16.c: Likewise.
3337 * config/libbid/bid128_to_uint32.c: Likewise.
3338 * config/libbid/bid128_to_uint64.c: Likewise.
3339 * config/libbid/bid128_to_uint8.c: Likewise.
3340 * config/libbid/bid32_to_bid128.c: Likewise.
3341 * config/libbid/bid32_to_bid64.c: Likewise.
3342 * config/libbid/bid64_add.c: Likewise.
3343 * config/libbid/bid64_compare.c: Likewise.
3344 * config/libbid/bid64_div.c: Likewise.
3345 * config/libbid/bid64_fma.c: Likewise.
3346 * config/libbid/bid64_logb.c: Likewise.
3347 * config/libbid/bid64_minmax.c: Likewise.
3348 * config/libbid/bid64_mul.c: Likewise.
3349 * config/libbid/bid64_next.c: Likewise.
3350 * config/libbid/bid64_noncomp.c: Likewise.
3351 * config/libbid/bid64_quantize.c: Likewise.
3352 * config/libbid/bid64_rem.c: Likewise.
3353 * config/libbid/bid64_round_integral.c: Likewise.
3354 * config/libbid/bid64_scalb.c: Likewise.
3355 * config/libbid/bid64_sqrt.c: Likewise.
3356 * config/libbid/bid64_string.c: Likewise.
3357 * config/libbid/bid64_to_bid128.c: Likewise.
3358 * config/libbid/bid64_to_int16.c: Likewise.
3359 * config/libbid/bid64_to_int32.c: Likewise.
3360 * config/libbid/bid64_to_int64.c: Likewise.
3361 * config/libbid/bid64_to_int8.c: Likewise.
3362 * config/libbid/bid64_to_uint16.c: Likewise.
3363 * config/libbid/bid64_to_uint32.c: Likewise.
3364 * config/libbid/bid64_to_uint64.c: Likewise.
3365 * config/libbid/bid64_to_uint8.c: Likewise.
3366 * config/libbid/bid_b2d.h: Likewise.
3367 * config/libbid/bid_binarydecimal.c: Likewise.
3368 * config/libbid/bid_conf.h: Likewise.
3369 * config/libbid/bid_convert_data.c: Likewise.
3370 * config/libbid/bid_decimal_data.c: Likewise.
3371 * config/libbid/bid_decimal_globals.c: Likewise.
3372 * config/libbid/bid_div_macros.h: Likewise.
3373 * config/libbid/bid_dpd.c: Likewise.
3374 * config/libbid/bid_flag_operations.c: Likewise.
3375 * config/libbid/bid_from_int.c: Likewise.
3376 * config/libbid/bid_functions.h: Likewise.
3377 * config/libbid/bid_gcc_intrinsics.h: Likewise.
3378 * config/libbid/bid_inline_add.h: Likewise.
3379 * config/libbid/bid_internal.h: Likewise.
3380 * config/libbid/bid_round.c: Likewise.
3381 * config/libbid/bid_sqrt_macros.h: Likewise.
3382
33832009-04-09 Jakub Jelinek <jakub@redhat.com>
3384
3385 * Makefile.in: Change copyright header to refer to version
3386 3 of the GNU General Public License and to point readers at the
3387 COPYING3 file and the FSF's license web page.
3388 * config.host: Likewise.
3389
633dd061
AM
33902009-04-07 Alan Modra <amodra@bigpond.net.au>
3391
3392 * config.host: Reorder and merge to match config.gcc change.
3393
457d1d00
AM
33942009-04-03 Alan Modra <amodra@bigpond.net.au>
3395
3396 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
3397
52c0e446
JM
33982009-03-28 Joseph Myers <joseph@codesourcery.com>
3399
3400 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
3401 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
3402 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
3403 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
3404
ba181049
UB
34052009-02-12 Uros Bizjak <ubizjak@gmail.com>
3406
3407 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
3408 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
3409
c252db20
L
34102009-02-12 H.J. Lu <hongjiu.lu@intel.com>
3411
ba181049
UB
3412 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
3413 ia64/t-softfp-compat to tmake_file.
c252db20
L
3414
3415 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
3416
3417 * config/ia64/__divxf3.asm: New.
3418 * config/ia64/_fixtfdi.asm: Likewise.
3419 * config/ia64/_fixunstfdi.asm: Likewise.
3420 * config/ia64/_floatditf.asm: Likewise.
3421 * config/ia64/t-fprules-softfp: Likewise.
3422 * config/ia64/t-softfp-compat: Likewise.
3423 * config/ia64/tf-signs.c: Likewise.
3424
c60535f9
BE
34252009-01-18 Ben Elliston <bje@au.ibm.com>
3426
3427 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
3428
ce16861e
BE
34292009-01-16 Ben Elliston <bje@au.ibm.com>
3430
3431 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
3432 to tmake_file.
3433
bcf4713b
BE
34342009-01-13 Ben Elliston <bje@au.ibm.com>
3435
3436 * config/t-softfp: New file.
3437 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
3438 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
3439
2042cb04
JS
34402009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
3441
3442 * config.host: Add m32r*-*-rtems*.
3443
541ed00e
JS
34442008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
3445
3446 * config.host: Add m32c*-*-rtems*.
3447
19523300
RO
34482008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3449
3450 PR bootstrap/33100
3451 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
3452 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
3453 * configure: Regenerate.
3454 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
3455 tmake_file here from gcc/config.gcc.
3456 Move extra_parts here from gcc/config.gcc.
3457 * config/i386/t-sol2: Move here from gcc/config/i386.
3458 Use gcc_srcdir instead of srcdir.
3459
0a4a51c7
AN
34602008-11-18 Adam Nemet <anemet@caviumnetworks.com>
3461
3462 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
3463 case.
3464
2a761e46
TS
34652008-11-09 Thomas Schwinge <tschwinge@gnu.org>
3466
3467 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
3468
c0451df7
TS
34692008-10-08 Thomas Schwinge <tschwinge@gnu.org>
3470
3471 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
3472
358da97e
HS
34732008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
3474
3475 Add picoChip port.
3476 * config.host: Add picochip-*-*.
3477
c660f132
BW
34782008-08-06 Bob Wilson <bob.wilson@acm.org>
3479
3480 * config.host: Match more processor names for Xtensa.
3481
d1349557
L
34822008-07-08 H.J. Lu <hongjiu.lu@intel.com>
3483
3484 * config/i386/64/t-softfp-compat: Update comments.
3485
dd7b73c0
L
34862008-07-07 H.J. Lu <hongjiu.lu@intel.com>
3487
3488 * config/i386/64/_divtc3-compat.c: Moved to ...
3489 * config/i386/64/_divtc3.c: Here.
3490
3491 * config/i386/64/_multc3-compat.c: Moved to ...
3492 * config/i386/64/_multc3.c: Here.
3493
3494 * config/i386/64/_powitf2-compat.c: Moved to ...
3495 * config/i386/64/_powitf2.c: Here.
3496
3497 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
3498 .c suffix instead of -compat.c.
3499
6e1fab3d
UB
35002008-07-05 Uros Bizjak <ubizjak@gmail.com>
3501
3502 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
3503 (_FP_MUL_MEAT_D): Ditto.
3504 (_FP_DIV_MEAT_S): Ditto.
3505 (_FP_DIV_MEAT_D): Ditto.
3506
f92518d7
RS
35072008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
3508
3509 * Makefile.in: Add support for __sync_* libgcc functions.
3510
d0aede14
L
35112008-07-03 H.J. Lu <hongjiu.lu@intel.com>
3512
3513 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
3514
c174f11c
L
35152008-07-02 H.J. Lu <hongjiu.lu@intel.com>
3516
3517 PR boostrap/36702
3518 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
3519 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
3520
3521 * config/i386/64/t-fprules-softfp: Moved to ...
3522 * config/i386/64/t-softfp-compat: This. New.
3523
5f464fa2
UB
35242008-07-02 Uros Bizjak <ubizjak@gmail.com>
3525
3526 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
3527 Initialize f with 0.0.
3528
ff473280
L
35292008-07-02 H.J. Lu <hongjiu.lu@intel.com>
3530
3531 PR target/36669
3532 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
3533
3534 * config/i386/64/_divtc3-compat.c: New.
3535 * config/i386/64/_multc3-compat.c: Likewise.
3536 * config/i386/64/_powitf2-compat.c: Likewise.
3537 * config/i386/64/eqtf2.c: Likewise.
3538 * config/i386/64/getf2.c: Likewise.
3539 * config/i386/64/letf2.c: Likewise.
3540 * config/i386/64/t-fprules-softfp: Likewise.
3541
35422008-07-02 H.J. Lu <hongjiu.lu@intel.com>
3543
3544 * config.host: Add i386/${host_address}/t-fprules-softfp to
3545 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
dfb3b0e3 3546 i[34567]86-*-linux*, x86_64-*-linux*.
ff473280
L
3547
3548 * configure.ac: Set host_address to 64 or 32 for x86.
3549 * configure: Regenerated.
3550
3551 * Makefile.in (config.status): Also depend on
3552 $(srcdir)/config.host.
3553
3554 * config/i386/32/t-fprules-softfp: New.
3555 * config/i386/32/tf-signs.c: Likewise.
3556
3557 * config/i386/64/sfp-machine.h: New. Moved from gcc.
3558
35592008-07-02 H.J. Lu <hongjiu.lu@intel.com>
3560 Uros Bizjak <ubizjak@gmail.com>
3561
3562 * config/i386/32/sfp-machine.h: New.
3563
30551d99
NF
35642008-06-26 Nathan Froyd <froydnj@codesourcery.com>
3565
3566 * config/rs6000/t-ppccomm: Remove rules that conflict with
3567 auto-generated rules.
3568
18c04407
RW
35692008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3570
3571 * configure.ac: sinclude override.m4.
3572 * configure: Regenerate.
3573
10fbe77a
BRF
35742008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
3575
3576 * configure: Regenerate.
3577
bc6d4c3f
JM
35782008-06-10 Joseph Myers <joseph@codesourcery.com>
3579
3580 * Makefile.in (DECNUMINC): Remove
3581 -I$(MULTIBUILDTOP)../../libdecnumber.
3582 * gstdint.h: New.
3583
cd985f66
JM
35842008-06-07 Joseph Myers <joseph@codesourcery.com>
3585
3586 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
3587 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
3588 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
3589 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
3590 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
3591 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
3592 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
3593 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
3594 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
3595 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
3596 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
3597 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
3598 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
3599 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
3600
93fea8d3
AL
36012008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
3602
3603 * config.host (sh2[lbe]*-*-linux*): Allow target.
3604
18724e30
NF
36052008-04-30 Nathan Froyd <froydnj@codesourcery.com>
3606
3607 * config/rs6000/t-ppccomm: Add build rules for new files.
3608 (LIB2ADD_ST): New variable.
3609
47583040
AH
36102008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
3611
3612 PR target/34210
3613 PR target/35508
3614 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
3615 * config/t-avr: New file. Build 16bit libgcc functions.
3616
cf8e67fe
JJ
36172008-03-02 Jakub Jelinek <jakub@redhat.com>
3618
3619 PR target/35401
3620 * config/t-slibgcc-darwin: Make install-leaf dependent on
3621 install-darwin-libgcc-stubs instead of install.
3622
8d8da227
JM
36232008-01-25 Joseph Myers <joseph@codesourcery.com>
3624
3625 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
3626 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
3627 sh-*-rtemscoff*): Remove cases.
3628
edbf8b16
RS
36292007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
3630
3631 * Makefile.in (all): Use install-leaf rather than install.
3632 (install): Split most of the rule into...
3633 (install-leaf): ...this new one.
3634
89deeaff
EK
36352007-12-19 Etsushi Kato <ek.kato@gmail.com>
3636 Paolo Bonzini <bonzini@gnu.org>
3637
3638 PR target/30572
5f464fa2
UB
3639 * Makefile.in: Use @shlib_slibdir@ substitution to get
3640 correct install name on darwin.
89deeaff 3641 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
dfb3b0e3 3642
4081d704
HPN
36432007-12-15 Hans-Peter Nilsson <hp@axis.com>
3644
3645 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
3646 cris-*-elf and cris-*-none.
3647 (crisv32-*-linux*): Similar, as cris-*-linux*.
3648
f43e89a3
RIL
36492007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
3650
3651 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
3652
b4e9c2c6
L
36532007-10-27 H.J. Lu <hongjiu.lu@intel.com>
3654
3655 PR regression/33926
3656 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
3657 * configure: Regenerated.
3658
b2a00c89
L
36592007-09-27 H.J. Lu <hongjiu.lu@intel.com>
3660
3661 * Makefile.in (dfp-filenames): Replace decimal_globals,
3662 decimal_data, binarydecimal and convert_data with
3663 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
3664 and bid_convert_data, respectively.
3665
8d2a9e0e
CF
36662007-09-17 Chao-ying Fu <fu@mips.com>
3667 Nigel Stephens <nigel@mips.com>
3668
3669 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
3670 * Makefile.in (fixed_point): Define.
3671 Check if fixed_point is yes to build support functions.
3672 * configure.ac: Check for fixed_point support.
3673 * configure: Regenerated.
3674 * gen-fixed.sh: New file to generate lists of fixed-point labels,
3675 funcs, modes, from, to.
3676
2b53935d
JJ
36772007-09-11 Janis Johnson <janis187@us.ibm.com
3678
3679 * Makefile.in (dfp-filenames): Add bid128_noncomp.
3680
2533577f
JJ
36812007-09-10 Janis Johnson <janis187@us.ibm.com>
3682
3683 * Makefile.in (dfp-filenames): Remove decUtility, add
3684 decDouble, decPacked, decQuad, decSingle.
3685
3ae3dbd6
HK
36862007-08-27 Hans Kester <hans.kester@ellips.nl>
3687
3688 * config.host : Add x86_64-elf target.
3689
22867d02
L
36902007-07-06 H.J. Lu <hongjiu.lu@intel.com>
3691
3692 * configure.ac (set_have_cc_tls): Add a missing =.
3693 * configure: Regenerated.
3694
6f461e76
L
36952007-07-06 H.J. Lu <hongjiu.lu@intel.com>
3696
3697 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
3698 and x86_64-*-linux*.
3699
3700 * config/t-tls: New file.
3701
dfb3b0e3 3702 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6f461e76
L
3703
3704 * configure.ac: Include ../config/enable.m4 and
3705 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
3706 supports TLS and substitute set_have_cc_tls.
3707 * configure: Regenerated.
3708
200359e8
L
37092007-07-04 H.J. Lu <hongjiu.lu@intel.com>
3710
3711 * Makefile.in: Use libbid for DFP when BID is enabled.
3712
76f5e200
DS
37132007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
3714
3715 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
dfb3b0e3 3716 extra_parts. Add config/i386/t-cygming to tmake_file.
76f5e200
DS
3717 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
3718
9bd196f0 37192007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
200359e8 3720 Danny Smith <dannysmith@users.sourceforge.net>
9bd196f0
ZM
3721
3722 PR target/29498
3723 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
3724 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
3725 * config/i386/t-crtfm: Compile crtfastmath.o with
3726 -minline-all-stringops.
3727
1910440e
RS
37282007-05-10 Richard Sandiford <richard@codesourcery.com>
3729
3730 * config.host (sparc-wrs-vxworks): New target.
3731
7d33c31d
KH
37322007-04-14 Kazu Hirata <kazu@codesourcery.com>
3733
3734 * config.host: Recognize fido.
3735
96fccd0d
JJ
37362007-04-04 Janis Johnson <janis187@us.ibm.com>
3737
3738 * configure: Check host, not target, for decimal float support.
3739
577565f9
UB
37402007-04-03 Uros Bizjak <ubizjak@gmail.com>
3741
3742 * config/i386/t-crtpc: New file.
3743 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5f464fa2 3744 (x86_64-*-linux*): Ditto.
577565f9 3745
ccf8e764
RH
37462007-02-30 Kai Tietz <kai.tietz@onevision.com>
3747
3748 * config.host (x86_64-*-mingw*): New target.
3749
79b87c74
MM
37502007-03-23 Michael Meissner <michael.meissner@amd.com>
3751 H.J. Lu <hongjiu.lu@intel.com>
3752
3753 * Makefile.in (enable_decimal_float): New.
3754 (DECNUMINC): Add
3755 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
3756 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
3757 (decbits-filenames): This.
3758 (decbits-objects): New.
3759 (libgcc-objects): Add $(decbits-objects).
3760
3761 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
3762 Substitute enable_decimal_float.
3763 * configure: Regenerated.
3764
8fce4e31
HPN
37652007-03-19 Hans-Peter Nilsson <hp@axis.com>
3766
3767 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
3768
e8bb4597
BM
37692007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
3770
3771 * Makefile.in (install-info): New dummy target.
3772
344189f9
BS
37732007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
3774
3775 * config.host (bfin*-linux-uclibc*): Set extra_parts.
3776
ac84c172
BM
37772007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
3778
3779 * Makefile.in: Add install-html and install-pdf dummy
3780 targets.
3781
cd5c2357
RS
37822007-02-05 Roger Sayle <roger@eyesopen.com>
3783 Daniel Jacobowitz <dan@codesourcery.com>
3784
3785 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
3786 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
3787 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
3788
d9a66f98
JJ
37892007-01-29 Janis Johnson <janis187@us.ibm.com>
3790
3791 * Makefile.in (dec-filenames): Add decExcept.
3792
9891ec5f
DJ
37932007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
3794
3795 PR bootstrap/30469
3796 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
3797 -fprofile-use.
3798
d6efbf5a
DJ
37992007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
3800
3801 * configure.ac: Add --enable-version-specific-runtime-libs.
3802 Correct $slibdir default.
3803 * configure: Regenerated.
3804
17caeff2
JM
38052007-01-23 Joseph Myers <joseph@codesourcery.com>
3806
3807 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
3808
5ea41e3a
AP
38092007-01-21 Andrew Pinski <pinskia@gmail.com>
3810
3811 PR target/30519
3812 * config.host (alpha*-*-linux*): Set extra_parts.
3813
26900826
KK
38142007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
3815
3816 * config/sh/t-linux: New.
3817 * config.host (sh*-*-linux*): Set tmake_file.
3818
97af925b
DJ
38192007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
3820
3821 * Makefile.in (install): Handle multilibs.
3822
b0088af7
BM
38232007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
3824
3825 * Makefile.in: Added .PHONY entry for documentation targets.
3826
e0a9456a
BM
38272007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
3828
3829 * Makefile.in: Add empty info, html, dvi, pdf targets.
3830
7fd453b4
MS
38312007-01-04 Mike Stump <mrs@apple.com>
3832
3833 * Makefile.in (MAKEINFO): Remove.
3834 (PERL): Likewise.
3835
14e8fc8b
PB
38362007-01-04 Paolo Bonzini <bonzini@gnu.org>
3837
3838 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
3839 * configure: Regenerate.
3840 * Makefile.in (host_subdir): Substitute it.
dfb3b0e3 3841 (gcc_objdir): Use it.
14e8fc8b 3842
1555beba
DJ
38432007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
3844
3845 * config.host (ia64*-*-linux*): Set tmake_file.
3846
79e6eaeb
DJ
38472007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
3848
3849 * Makefile.in (version): Define.
3850
fa958513
DJ
38512007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
3852 Paolo Bonzini <bonzini@gnu.org>
3853
3854 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
3855 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
3856 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
3857 config/sparc/t-crtfm, config/t-slibgcc-darwin,
3858 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
3859 shared-object.mk, siditi-object.mk, static-object.mk: New files.
3860 * configure: Generated.