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