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