]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
Add a test for PR middle-end/53249
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
4ef7becb 12012-05-08 Teresa Johnson <tejohnson@google.com>
2
3 * libgcov.c (gcov_clear, __gcov_reset): New functions.
4 (__gcov_dump): Ditto.
5 (gcov_dump_complete): New global variable.
6 (gcov_exit): Export hidden to enable use in L_gcov_dump.
7 (__gcov_flush): Outline functionality now in gcov_clear.
8 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
9
416e60e6 102012-04-28 Aurelien Jarno <aurelien@aurel32.net>
11
12 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
13 (mips*-*-linux*): Include mips/t-tpbit when long double is
14 16 bytes long.
15
d79cfc15 162012-04-25 Sriraman Tallam <tmsriram@google.com>
17
18 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
19 (get_available_features): New argument. Check for AVX2.
20 (__cpu_indicator_init): Modify call to get_available_features.
21
cef20746 222012-04-25 Alan Modra <amodra@gmail.com>
23
24 * config/rs6000/crtsavevr.S: New file.
25 * config/rs6000/crtrestvr.S: New file.
26 * config/rs6000/t-savresfgpr: Build the above.
27 * config/rs6000/t-netbsd: Likewise.
28
0a166714 292012-04-24 Sriraman Tallam <tmsriram@google.com>
30
31 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
32
f0fd108f 332012-04-24 Sriraman Tallam <tmsriram@google.com>
34
35 * libgcc/config/i386/i386-cpuinfo.c: New file.
36 * libgcc/config/i386/t-cpuinfo: New file.
37 * libgcc/config.host: Include t-cpuinfo.
38 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
39
394bef3f 402012-04-24 Chao-ying Fu <fu@mips.com>
41
42 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
43
5617a3db 442012-04-20 Thomas Schwinge <thomas@codesourcery.com>
45
46 struct siginfo vs. siginfo_t
47
48 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
49 siginfo_t instead of struct siginfo.
50 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
51 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
52 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
53 (ia64_handle_unwabi): Likewise.
54 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
55 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
56 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
57 (sh_fallback_frame_state): Likewise.
58 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
59 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
60
49a280b5 612012-04-02 H.J. Lu <hongjiu.lu@intel.com>
62
63 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
64 system call number.
65
6c760a69 662012-03-31 Eric Botcazou <ebotcazou@adacore.com>
67
68 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
69 if it hasn't been previously saved.
70
59e4072c 712012-03-29 H.J. Lu <hongjiu.lu@intel.com>
72
73 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
74 only for glibc.
75
d32d7e3a 762012-03-28 Georg-Johann Lay <avr@gjlay.de>
77
78 PR target/52737
79 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
80 instead of __AVR_HAVE_8BIT_SP__.
81
6aadb6e2 822012-03-26 Tristan Gingold <gingold@adacore.com>
83
84 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
85 (unw_table_entry): Use unw_word instead of unsigned long.
86 (_Unwind_FindTableEntry): Likewise.
87 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
88 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
89 (_Unwind_FindTableEntry): Likewise.
90 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
91 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
92 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
93 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
94 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
95 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
96 (uw_init_context_1, uw_install_context): Likewise.
97 (unw_word): Move to unwind-ia64.h
98
784576c7 992012-03-26 Tristan Gingold <gingold@adacore.com>
100
101 * config/vms/vms-ucrt0.c: Update copyright years.
102 Add a sanity check.
103 (___gcc_main_flags): Declare.
104 (__main): Check flags to remap argv and exit code.
105 * config.host (*-*-*vms*): Adjust extra_parts.
106 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
107 (crt0.o): Add.
108
483ac460 1092012-03-22 Richard Earnshaw <rearnsha@arm.com>
110
111 * arm/lib1funcs.asm (ctzsi2): New function.
112 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
113 * arm/t-linux (LIB1ASMFUNCS): Likewise.
114 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
115 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
116 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
117 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
118
bdd1ee48 1192012-03-21 Andreas Tobler <andreast@fgznet.ch>
120
121 * config.host: Add bits to support powerpc64-*-freebsd*.
122 * config/rs6000/freebsd-unwind.h: New file.
123 * config/rs6000/t-freebsd64: New file.
124
df85f61c 1252012-03-20 Richard Guenther <rguenther@suse.de>
126
127 PR gcov-profile/52627
128 * libgcov.c (init_mx): Fix mutex name.
129
46da3ce5 1302012-03-16 Tristan Gingold <gingold@adacore.com>
131
132 * config/ia64/vms-unwind.h: Remove ulong (and replace
133 it by unw_reg where used). Define unw_reg with __int64.
134
264a5d11 1352012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
136
137 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
138 Solaris 8 handling.
139 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
140 Solaris 8 handling.
141 (sparc_is_sighandler): Likewise.
142
42b3e3d6 1432012-03-13 H.J. Lu <hongjiu.lu@intel.com>
144
145 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
146 <= saved reg size.
147
c2c4377d 1482012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
149
150 * config/arm/crtn.S: Fix typo.
151
3f2da048 1522012-03-13 Richard Guenther <rguenther@suse.de>
153
154 * libgcov.c: Remove stdio.h include and NULL un-define.
155
b4e1521f 1562012-03-13 Richard Guenther <rguenther@suse.de>
157
158 PR target/52569
159 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
160
1d110375 1612012-03-13 Richard Guenther <rguenther@suse.de>
162
163 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
164
0e6ad699 1652012-03-13 Richard Guenther <rguenther@suse.de>
166
167 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
168 and __gthread_mutex_init_function definitions.
169
1f7e141e 1702012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
171
172 * config.host (mips*-*-openbsd*): Remove.
173
126b6848 1742012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
175
176 * config.host: Remove alpha*-dec-osf5.1* handling.
177 * config/alpha/gthr-posix.c: Remove.
178 * config/alpha/libgcc-osf5.ver: Remove.
179 * config/alpha/osf5-unwind.h: Remove.
180 * config/alpha/t-osf-pthread: Remove.
181 * config/alpha/t-slibgcc-osf: Remove.
182 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
183 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
184 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
185 * mkmap-flat.awk: Remove osf_export handling.
186
2e7d9be1 1872012-03-12 Richard Guenther <rguenther@suse.de>
188
189 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
190 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
191 (__gthread_mutex_init_function): New function.
192 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
193
194 PR gcov/49484
195 * libgcov.c: Include gthr.h.
196 (__gcov_flush_mx): New global variable.
197 (init_mx, init_mx_once): New functions.
198 (__gcov_flush): Protect self with a mutex.
199 (__gcov_fork): Re-initialize mutex after forking.
200 * unwind-dw2-fde.c: Change condition under which to use
201 __GTHREAD_MUTEX_INIT_FUNCTION.
202
8f852c44 2032012-03-12 Tristan Gingold <gingold@adacore.com>
204
205 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
206 * config/ia64/t-vms: Likewise.
207
04d5d0ad 2082012-03-11 Michael Hope <michael.hope@linaro.org>
209
210 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
211 for Thumb-2.
212
3d14844b 2132012-03-07 Walter Lee <walt@tilera.com>
214
215 * config/tilepro/atomic.c: Rename "atomic_" prefix to
216 "arch_atomic_".
217 (atomic_xor): Rename and move definition to
218 config/tilepro/atomic.h.
219 (atomic_nand): Ditto.
220 * config/tilepro/atomic.h: Rename "atomic_" prefix to
221 "arch_atomic_".
222 (arch_atomic_xor): Move from config/tilepro/atomic.c.
223 (arch_atomic_nand): Ditto.
224
3abce231 2252012-03-07 Georg-Johann Lay <avr@gjlay.de>
226
227 PR target/52507
228 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
229
ee3ce577 2302012-03-07 Georg-Johann Lay <avr@gjlay.de>
231
232 PR target/52505
233 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
234 from RAM.
235
be20cbdd 2362012-03-07 Georg-Johann Lay <avr@gjlay.de>
237
238 PR target/52461
239 PR target/52508
240 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
241 if RAMPZ affects reading from RAM.
242 (__tablejump_elpm__): Ditto.
243 (.xload): Ditto.
244 (__movmemx_hi): Ditto.
245 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
246 (__do_global_dtors): Ditto.
247 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
248 (__movmemx_hi): Ditto.
249
e9b46b49 2502012-03-05 Richard Henderson <rth@redhat.com>
251
252 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
253 [ARM] (count_trailing_zeros): Use the builtin.
254
2da7d23a 2552012-03-01 Kai Tietz <ktietz@redhat.com>
256
257 * soft-fp: Imported from glibc upstream.
258
ed67de04 2592012-02-28 Kai Tietz <ktietz@redhat.com>
260
261 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
262 for mingw-targets as attribute gcc_struct.
263
154b49cd 2642012-02-28 Ian Lance Taylor <iant@google.com>
265
266 * generic-morestack.c (__splitstack_releasecontext): Correct call
267 to __morestack_release_segments.
268
8d2259c8 2692012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
270
271 PR target/52390
272 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
273 for __linux__ when removing signals from __morestack_fullmask.
274
97e18ae2 2752012-02-23 Georg-Johann Lay <avr@gjlay.de>
276
277 PR target/52261
278 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
279
c3dd2023 2802012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
281
282 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
283 instead of HAVE_INITFINI_ARRAY.
284 * config/ia64/crtend.S: Likewise.
285
7ed6dbef 2862012-02-20 Kai Tietz <ktietz@redhat.com>
287
52cec843 288 PR libstdc++/52300
289 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
290
7ed6dbef 291 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
292 to w32-unwind.h header.
293
6a8f7b8b 2942012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
295
296 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
297 (mips*-*-linux*): Remove t-slibgcc-libgcc.
298 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
299 * config/mips/mips16.S (__mips16_rdhwr): Delete.
300
7db87803 3012012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
302
303 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
304
d114e642 3052012-02-15 Iain Sandoe <iains@gcc.gnu.org>
306
307 PR libitm/52220
308 * config/darwin-crt-tm.c: Correct typo.
154b49cd 309
b8f45854 3102012-02-15 Iain Sandoe <iains@gcc.gnu.org>
311 Patrick Marlier <patrick.marlier@gmail.com>
312
313 PR libitm/52220
314 * config/darwin-crt-tm.c: Generate dummy functions.
315
621d0dd2 3162012-02-15 Iain Sandoe <iains@gcc.gnu.org>
317 Patrick Marlier <patrick.marlier@gmail.com>
318
319 PR libitm/52042
320 * config/darwin-crt-tm.c (getTMCloneTable): New function.
321 (__doTMRegistrations): Call it.
154b49cd 322 (__doTMdeRegistrations): Likewise.
621d0dd2 323
0b6cf66f 3242012-01-15 Georg-Johann Lay <avr@gjlay.de>
325 Anatoly Sokolov <aesok@post.ru>
326 Eric Weddington <eric.weddington@atmel.com>
327
328 PR target/52261
329 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
330 (__epilogue_restores__): Ditto.
331
99e0a0ad 3322012-02-15 Eric Botcazou <ebotcazou@adacore.com>
333
334 PR target/51921
335 PR target/52205
336 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
337 Solaris 11 and slightly reformat.
338 (sparc_is_sighandler): Likewise.
339
7ce78e23 3402012-02-14 Walter Lee <walt@tilera.com>
341
342 * config.host: Handle tilegx and tilepro.
343 * config/tilegx/sfp-machine.h: New file.
344 * config/tilegx/sfp-machine32.h: New file.
345 * config/tilegx/sfp-machine64.h: New file.
346 * config/tilegx/t-crtstuff: New file.
347 * config/tilegx/t-softfp: New file.
348 * config/tilegx/t-tilegx: New file.
349 * config/tilepro/atomic.c: New file.
350 * config/tilepro/atomic.h: New file.
351 * config/tilepro/linux-unwind.h: New file.
352 * config/tilepro/sfp-machine.h: New file.
353 * config/tilepro/softdivide.c: New file.
354 * config/tilepro/softmpy.S: New file.
355 * config/tilepro/t-crtstuff: New file.
356 * config/tilepro/t-tilepro: New file.
357
f47763a6 3582012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
359
360 PR libstdc++/51296
361 PR libstdc++/51906
362 * gthr-posix.h: Allow static initializer macros to be disabled.
363 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
364
674cb359 3652012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
366
367 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
368 Add t-slibgcc-libgcc to tmake_file.
369 * config/mips/libgcc-mips16.ver: Revert previous patch.
370 * config/mips/mips16.S (__mips16_rdhwr): Hide.
371
b9fdd12b 3722012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
373 Jayant R Sonar <jayant.sonar@kpitcummins.com>
374
375 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
376 * config/cr16/crti.S: New file.
377 * config/cr16/crtlibid.S: New file.
378 * config/cr16/crtn.S: New file.
379 * config/cr16/lib1funcs.S: New file.
380 * config/cr16/t-cr16: New file.
381 * config/cr16/t-crtlibid: New file.
382 * config/cr16/unwind-dw2.h: New file.
383 * config/cr16/unwind-cr16.c: New file.
384 * config/cr16/divmodhi3.c: New file.
385
01cdc5b2 3862012-01-25 Alan Modra <amodra@gmail.com>
387
388 * config/rs6000/t-linux64: Delete. Move..
389 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
390 * config/rs6000/t-linux: ..and libgcc flags to here.
391
af8e12d0 3922012-01-22 Douglas B Rupp <rupp@gnat.com>
393
394 * config.host (i[34567]86-*-interix3*):
01cdc5b2 395 Change triplet to i[34567]86-*-interix[3-9]*.
af8e12d0 396 * configure: Regenerate.
397
a657080a 3982012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
399 Richard Sandiford <rdsandiford@googlemail.com>
400
401 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
402 * config/mips/mips16.S (__mips16_rdhwr): New function.
403 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
404
72e76fa0 4052012-01-11 Nathan Sidwell <nathan@acm.org>
406
407 * libgcov.c (__gcov_init): Ignore objects with no functions.
408
ed2541ea 4092012-01-10 Georg-Johann Lay <avr@gjlay.de>
410
411 PR target/49868
412 Extend __pgmx semantics to linearize memory.
413 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
414 * config/avr/lib1funcs.S (__xload_1): New function.
415 (__movmemx_qi, __movmemx_hi): New functions.
416 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
417 semantics.
ddf97006 418
6e647e51 4192012-01-09 Eric Botcazou <ebotcazou@adacore.com>
420
421 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
422 purported sigacthandler address isn't null before dereferencing it.
423 (sparc_is_sighandler): Likewise.
424
af185b18 4252012-01-09 Eric Botcazou <ebotcazou@adacore.com>
426
427 PR ada/41929
428 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
429 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
430 (sparc_is_sighandler): Likewise.
431 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
432
2ff958e6 4332012-01-06 Tristan Gingold <gingold@adacore.com>
434
435 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
436 compatibility thunks...
437 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
438 (crtbeginS.o, crtendS.o): ... and these to ...
439 * config/ia64/t-ia64-elf: ... this new file.
440 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
441 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
442
ce94380e 4432012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
444
445 * configure: Regenerate.
446 * config/s390/t-crtstuff: Remove -fPIC.
447
ca4c7704 4482012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
449
450 PR bootstrap/51006
451 * enable-execute-stack-mprotect.c (getpagesize): Do not define
452 for NetBSD.
453
b32bc361 4542012-01-02 Georg-Johann Lay <avr@gjlay.de>
455
456 PR target/51345
457 * config/avr/lib1funcs.S: Remove FIXME comments.
458 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
459
83921eda 4602012-01-02 Georg-Johann Lay <avr@gjlay.de>
461
462 Implement light-weight DImode support.
463 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
464 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
465 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
466 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
467
6071b85b 4682011-12-30 Nathan Sidwell <nathan@acm.org>
469
470 * libgcov.c (gcov_crc32): Remove global var.
471 (free_fn_data): New function.
472 (buffer_fn_data): Pass in filename, more robust error recovery.
473 (crc32_unsigned): New function.
474 (gcov_exit): More robust detection of new program. More robust
475 error recovery.
476 (__gcov_init): Do not update program's crc here.
477
611b540a 4782011-12-21 Tristan Gingold <gingold@adacore.com>
479
480 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
481
ddf97006 4822011-12-21 Ian Lance Taylor <iant@google.com>
483
484 * config/i386/morestack.S: Simplify CFI opcodes throughout.
485
0d84f164 4862011-12-20 Ian Lance Taylor <iant@google.com>
487
488 * config/i386/morestack.S (__morestack_non_split): If there is
489 enough stack space already, don't split. Ask for more stack space
490 than we required.
491
d77ac56d 4922011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
493
494 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
495 `sys/sdt.h'.
496 (_Unwind_DebugHook): New function.
497 (uw_restore_core_regs): New define.
498 (unwind_phase2): Use uw_restore_core_regs instead of
499 restore_core_regs.
500 (unwind_phase2_forced): Likewise.
501 (__gnu_Unwind_Resume): Likewise.
502
80898d14 5032011-12-20 Uros Bizjak <ubizjak@gmail.com>
504
505 * config/alpha/linux-unwind.h: Update copyright years.
506 (MD_FROB_UPDATE_CONTEXT): New define.
507 (alpha_frob_update_context): New function.
508
20dbbfaf 5092011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
510
511 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
512 tmake_file rather replacing it.
513
d42ef213 5142011-12-15 Iain Sandoe <iains@gcc.gnu.org>
515
516 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
80898d14 517 function is not used for PPC64.
d42ef213 518 (save_world): Amend comments. Update the VRsave mask to reflect the
519 saved regs.
520 (rest_world): Update comments, do not clobber r10, do not use r8.
521 (eh_rest_world_r10): Amend comments, do not use r8.
522 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
523 no longer used, move restore of CR and target address to the end of
524 the routine.
525
3efc00f6 5262011-12-14 H.J. Lu <hongjiu.lu@intel.com>
527
528 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
529 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
530
fa0431fa 5312011-12-14 Georg-Johann Lay <avr@gjlay.de>
532
533 PR target/49313
534 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
535 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
536
18e6a060 5372011-12-11 Eric Botcazou <ebotcazou@adacore.com>
538
539 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
540
0dcd7d21 5412011-12-09 Georg-Johann Lay <avr@gjlay.de>
542
543 PR target/49313
544 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
545 * config/avr/lib1funcs.S (__muldi3): New function.
546
a41e0f2d 5472011-12-06 Andrew Pinski <apinski@cavium.com>
548
549 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
550 size of func_ptr.
551 (__frame_dummy_init_array_entry): Likewise.
552
8c8193e1 5532011-12-06 Georg-Johann Lay <avr@gjlay.de>
554
555 Forward-port from gcc-4_6-branch r181936 2011-12-02.
556
557 PR target/51345
558 PR target/51002
559 * config/avr/lib1funcs.S (__prologue_saves__,
560 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
561 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
562
e2306166 5632011-12-04 Iain Sandoe <iains@gcc.gnu.org>
564
565 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
566
61437698 5672011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
568
569 PR other/51272
570 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
571 (_ITM_deregisterTMCloneTable): Likewise.
572 (__register_frame_info): Fix unused warning.
573 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
574 pthread_default_stacksize_np): Likewise.
575 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
80898d14 576
78e515f7 5772011-11-29 DJ Delorie <dj@redhat.com>
578
579 * config.host (rl78-*-elf): New case.
580 * config/rl78: New directory for the Renesas RL78.
581
adce431d 5822011-11-29 Bernd Schmidt <bernds@codesourcery.com>
583
584 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
585 formatting.
586
738c50b8 5872011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
588
589 PR other/51022
590 * config/rs6000/t-savresfgpr: New file.
591 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
592 $(srcdir)/config/rs6000/eabi.S.
593 * config/rs6000/t-ppccomm-ldbl: Remove.
594 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
595 tmake_file.
596 (powerpc-*-eabispe*): Likewise.
597 (powerpc-*-eabi*): Likewise.
598 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
599 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
600 to tmake_file, remove rs6000/t-ppccomm-ldbl.
601 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
602 tmake_file.
603 (powerpc-*-eabisim*): Likewise.
604 (powerpc-*-elf*): Likewise.
605 (powerpc-*-eabialtivec*): Likewise.
606 (powerpc-xilinx-eabi*): Likewise.
607 (powerpc-*-rtems*): Likewise.
608 (powerpcle-*-elf*): Likewise.
609 (powerpcle-*-eabisim*): Likewise.
610 (powerpcle-*-eabi*): Likewise.
611
bda4944f 6122011-11-27 Ian Lance Taylor <iant@google.com>
613
614 * generic-morestack.c (__splitstack_find): Check for NULL old
615 stack value.
616 (__splitstack_resetcontext): New function.
617 (__splitstack_releasecontext): New function.
618 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
619
00b708da 6202011-11-27 Iain Sandoe <iains@gcc.gnu.org>
621
622 * config/darwin-crt-tm.c: Correct comments, use correct licence.
623
7c66781a 6242011-11-27 Iain Sandoe <iains@gcc.gnu.org>
625
626 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
627
5bb27b7c 6282011-11-26 Richard Henderson <rth@redhat.com>
629
630 * config/m68k/linux-atomic.c: New file.
631 * config/m68k/t-linux: New file.
632 * config.host (m68k-uclinux, m68k-linux): Use it.
633
d9ca835b 6342011-11-26 Richard Henderson <rth@redhat.com>
635
636 * crtstuff.c (__TMC_LIST__): Mark used not unused.
637 (__TMC_END__): Only declare if hidden is available; in the definition,
638 if hidden is unavailable add a null record.
639 (deregister_tm_clones, register_tm_clones): New.
640 (__do_global_dtors_aux, frame_dummy): Use them.
641 (__do_global_dtors, __do_global_ctors_1): Likewise.
642
8f8ba4fc 6432011-11-22 Iain Sandoe <iains@gcc.gnu.org>
644
645 * config/darwin-crt-tm.c: New file.
646 * config.host (darwin): Build crttms.o crttme.o to provide
647 startup and shutdown for tm clones.
648 * config/t-darwin (crttms.o): New build rule.
649 (crttme.o): Likewise.
650
e426aa2b 6512011-11-21 Hans-Peter Nilsson <hp@axis.com>
652
653 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
654 et al.
655
2d171408 6562011-11-21 Richard Henderson <rth@redhat.com>
657
658 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
659 (__TMC_LIST__, __TMC_END__): New.
660 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
661 (__do_global_dtors): Likewise.
662 (frame_dummy): Call _ITM_registerTMCloneTable.
663 (__do_global_ctors_1): Likewise.
664
08417926 6652011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
666
667 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
668 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
669 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
670 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
671 * config/i386/t-darwin64: Remove.
672 * config/sh/t-netbsd (LIB2ADD): Remove.
673
cde39152 6742011-11-21 Georg-Johann Lay <avr@gjlay.de>
675
676 PR target/49313
677 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
678 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
679 * config/avr/lib1funcs.S (wmov): New assembler macro.
680 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
681 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
682 (__udivmod64): New function.
683 (__negdi2): New function.
684
30957bde 6852011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
686
687 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
688 *-*-freebsd*aout*): Remove.
689
a504f092 6902011-11-20 Hans-Peter Nilsson <hp@axis.com>
691
692 * static-object.mk (c_flags-$o): Save c_flags.
693 ($(base)$(objext)): Use it.
694
31da0b3d 6952011-11-18 Steve Ellcey <sje@cup.hp.com>
696
697 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
698
5bd39e93 6992011-11-18 Georg-Johann Lay <avr@gjlay.de>
700
701 PR target/49868
702 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
703 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
704 New functions.
705
a3bfd5b2 7062011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
707
708 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
709 functions.
80898d14 710 (aeabi_uidivmod): Likewise.
a3bfd5b2 711 (umodsi3): Likewise.
712 (divsi3): Likewise.
713 (aeabi_idivmod): Likewise.
714 (modsi3): Likewise.
715
3512ee5b 7162011-11-16 Tristan Gingold <gingold@adacore.com>
717
718 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
719
4202ef11 7202011-11-15 Georg-Johann Lay <avr@gjlay.de>
721
722 PR target/49868
723 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
724 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
725
ab4fdb3d 7262011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
727
728 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
729 tmake_file list.
730 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
731 * config/pa/t-stublib64: Delete.
732
eee57ca7 7332011-11-12 Richard Henderson <rth@redhat.com>
734
735 * config/rs6000/linux-unwind.h (frob_update_context): Properly
736 cast the pointer argument to _Unwind_SetGRPtr.
737
0c74e0e8 7382011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
739
740 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
741
23371076 7422011-11-09 Ian Lance Taylor <iant@google.com>
743
744 * generic-morestack.c: Include <string.h>.
745 (uintptr_type): Define.
746 (struct initial_sp): Add dont_block_signals field. Reduce size of
747 extra array by 1.
748 (allocate_segment): Set prev field to NULL. Don't set
749 __morestack_current_segment or __morestack_segments.
750 (__generic_morestack): Update current->prev and *pp after calling
751 allocate_segment.
752 (__morestack_block_signals): Don't do anything if
753 dont_block_signals is set.
754 (__morestack_unblock_signals): Likewise.
755 (__generic_findstack): Check for initial_sp == NULL. Add casts to
756 uintptr_type.
757 (__splitstack_block_signals): New function.
758 (enum __splitstack_content_offsets): Define.
759 (__splitstack_getcontext, __splitstack_setcontext): New functions.
760 (__splitstack_makecontext): New function.
761 (__splitstack_block_signals_context): New function.
762 (__splitstack_find_context): New function.
763 * config/i386/morestack.S (__morestack_get_guard): New function.
764 (__morestack_set_guard, __morestack_make_guard): New functions.
765 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
766
2d00fffd 7672011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
768
769 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
770 (i[34567]86-*-mingw*): ... here.
771 (x86_64-*-mingw*): ... here.
772
6886ca41 7732011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
774
775 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
776
5014df5d 7772011-11-07 Nathan Sidwell <nathan@acm.org>
778
779 * libgcov.c (struct gcov_fn_buffer): New struct.
780 (buffer_fn_data): New helper.
781 (gcov_exit): Rework for new gcov data structures.
782
702a5eec 7832011-11-07 Georg-Johann Lay <avr@gjlay.de>
784
785 PR target/49313
786 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
787
2219274c 7882011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
789
790 * config.host (tmake_file): Correct comment.
791 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
792 t-libgcc-pic.
793 (bfin*-uclinux*): Likewise.
794 (bfin*-linux-uclibc*): Likewise.
795 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
796
797 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
798 assigning.
799 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
800 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
801 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
802 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
803 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
804 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
805 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
806 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
807 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
808 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
809 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
810 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
811 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
812
813 * config/bfin/t-elf: Remove.
814 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
815
fbb6f195 8162011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
817
818 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
819 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
820 (lm32-*-elf*, lm32-*-rtems*): Split into ...
821 (lm32-*-elf*): ... this.
822 (lm32-*-rtems*): ... and this.
823 Add to tmake_file.
824 (m32r-*-rtems*): Add to tmake_file.
825 (moxie-*-rtems*): Likewise.
826 (sparc-*-rtems*): Likewise.
827 Remove t-rtems from tmake_file.
828 (sparc64-*-rtems*): Likewise.
829 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
830 instead.
831
7336fab9 8322011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
833
834 PR bootstrap/50982
835 * config/gthr-posix.h: Move ...
836 * gthr-posix.h: ... here.
837 * config/gthr-lynx.h: Reflect this.
838 * config/gthr-vxworks.h: Likewise.
839 * config/rs6000/gthr-aix.h: Likewise.
840 * configure.ac (target_thread_file): Likewise.
841 * configure: Regenerate.
842
6c10eb68 8432011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
844
845 * config.host (arm*-*-rtemseabi*): New target.
846
3fe1f35b 8472011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
848
849 PR other/50991
850 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
851 extra-parts.
852
d19f5793 8532011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
854
855 * config.host (epiphany-*-elf*): New configuration.
856 * config/epiphany: New Directory.
857
02c5dcd9 8582011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
859
860 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
861 * config/avr/t-rtems: New.
862 Filter out _exit from LIB1ASMFUNCS.
863
f3223c0b 8642011-11-04 David S. Miller <davem@davemloft.net>
865
866 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
867 * configure: Rebuild.
868
994652ec 8692011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
870
871 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
872 variable.
873
02d9a2c3 8742011-11-04 Georg-Johann Lay <avr@gjlay.de>
875
876 PR target/50931
877 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
878 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
879
81b973fe 8802011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
881
882 PR target/50989
883 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
884
ae1b140e 8852011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
886
887 * config/c6x/t-elf (LIB2ADDEH): Set.
888 * config/c6x/t-c6x-elf: Remove.
889
0a76a5ff 8902011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
891
892 * config/i386/sol2-ci.S: Rename to ...
893 * config/i386/crti.S: ... this.
894 * config/i386/sol2-cn.S: Rename to ...
895 * config/i386/crtn.S: ... this.
896 * config/sparc/sol2-ci.S: Rename to ...
897 * config/sparc/crti.S: ... this.
898 * config/sparc/sol2-cn.S: Rename to ...
899 * config/sparc/crtn.S: ... this.
900 * config/t-sol2 (CUSTOM_CRTIN): Remove.
901 (crti.o, crtn.o): Remove.
902
26f2feff 9032011-11-04 Tristan Gingold <gingold@adacore.com>
904
905 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
906
131667b5 9072011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
908
909 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
910
af64ed6f 9112011-11-03 Hans-Peter Nilsson <hp@axis.com>
912
913 * config.host (crisv32-*-none, cris-*-none): Remove.
914 (crisv32-*-elf): Append to tmake_file, don't just set it.
915 (cris-*-elf): Add missing t-fdpbit to tmake_file.
916
4dad46bd 9172011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
918
919 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
920 (ecrtn$(objext)): Likewise.
921 (ncrti$(objext)): Likewise.
922 (ncrtn$(objext)): Likewise.
923
37626bf8 9242011-11-03 Andreas Schwab <schwab@redhat.com>
925
926 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
927
95de80bc 9282011-11-02 David S. Miller <davem@davemloft.net>
929
930 * configure.ac: Set host_address on sparc too.
931 * configure: Regenerate.
932 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
933 based upon host_address.
934 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
935
b5347955 9362011-11-02 Jason Merrill <jason@redhat.com>
937
938 * config/rs6000/t-ppccomm: Add missing \.
939
630d52ca 9402011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
941
942 * gthr-single.h, gthr.h: New files.
943 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
944 config/gthr-vxworks.h, config/i386/gthr-win32.h,
945 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
946 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
947 * config/i386/gthr-win32.c: Include "gthr-win32.h".
948 * configure.ac (thread_header): New variable.
949 Set it depending on target_thread_file.
950 (gthr-default.h): Link from $thread_header.
951 * configure: Regenerate.
952 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
953
022a2799 9542011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
955
956 * configure.ac (tm_file_): New variable.
957 Determine from tm_file.
958 (tm_file, tm_defines): Substitute.
959 * configure: Regenerate.
960 * mkheader.sh: New file.
961 * Makefile.in (clean): Remove libgcc_tm.h.
962 ($(objects)): Depend on libgcc_tm.h.
963 (libgcc_tm_defines, libgcc_tm_file): New variables.
964 (libgcc_tm.h, libgcc_tm.stamp): New targets.
965 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
966 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
967 ($(extra-parts)): Depend on libgcc_tm.h.
968 * config.host (tm_defines, tm_file): New variable.
969 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
970 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
971 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
972 (avr-*-rtems*): Likewise.
973 (avr-*-*): Likewise.
974 (frv-*-elf): Likewise.
975 (frv-*-*linux*): Likewise.
976 (h8300-*-rtems*): Likewise.
977 (h8300-*-elf*): Likewise.
978 (i[34567]86-*-darwin*): Likewise.
979 (x86_64-*-darwin*): Likewise.
980 (rx-*-elf): Likewise.
981 (tic6x-*-uclinux): Likewise.
982 (tic6x-*-elf): Likewise.
983 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
984 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
985 * config/i386/cygming-crtbegin.c: Likewise.
986 * config/i386/cygming-crtend.c: Likewise.
987 * config/ia64/fde-vms.c: Likewise.
988 * config/ia64/unwind-ia64.c: Likewise.
989 * config/libbid/bid_gcc_intrinsics.h: Likewise.
990 * config/rs6000/darwin-fallback.c: Likewise.
991 * config/stormy16/lib2funcs.c: Likewise.
992 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
993 * crtstuff.c: Likewise.
994 * dfp-bit.h: Likewise.
995 * emutls.c: Likewise.
996 * fixed-bit.c: Likewise.
997 * fp-bit.c: Likewise.
998 * generic-morestack-thread.c: Likewise.
999 * generic-morestack.c: Likewise.
1000 * libgcc2.c: Likewise.
1001 * libgcov.c: Likewise.
1002 * unwind-dw2-fde-dip.c: Likewise.
1003 * unwind-dw2-fde.c: Likewise.
1004 * unwind-dw2.c: Likewise.
1005 * unwind-sjlj.c: Likewise.
1006
4dc4ff49 10072011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1008
1009 * configure.ac: Include ../config/picflag.m4.
1010 (GCC_PICFLAG): Call it.
1011 Substitute.
1012 * configure: Regenerate.
1013 * Makefile.in (gcc_srcdir): Remove.
1014 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
1015 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
1016 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
1017 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
1018 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
1019 Use $<.
1020 Remove comment.
1021 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
1022 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
1023 to refer to libgcc2.c.
1024 Use $<.
1025 * config/darwin-64.c: New file.
1026 * config/darwin-crt3.c: Remove comment.
1027 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
1028 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
1029 config/udivmodsi4.c: New files.
1030 * config/memcmp.c, config/memcpy.c, config/memmove.c,
1031 config/memset.c: New files.
1032 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
1033 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
1034 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
1035 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
1036 * config/t-openbsd-thread: New file.
1037 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
1038 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
1039 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
1040 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
1041 qrnnd.S.
1042 Adapt filename.
1043 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
1044 to refer to gthr-posix.c.
1045 * config/alpha/t-vms (LIB2ADD): Set.
1046 * config/alpha/vms-gcc_shell_handler.c: New file.
1047 * config/arm/bpabi.c, config/arm/fp16.c,
1048 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
1049 config/arm/unaligned-funcs.c: New files.
1050 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
1051 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
1052 * config/arm/t-linux: Likewise.
1053 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
1054 * config/arm/t-netbsd: New file.
1055 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
1056 * config/arm/t-symbian (LIB2ADD_ST): Set.
1057 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
1058 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1059 * config/bfin/t-elf: New file.
1060 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
1061 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
1062 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
1063 config/c6x/ltf.c: New files.
1064 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
1065 (HOST_LIBGCC2_CFLAGS): Set.
1066 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
1067 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1068 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
1069 New files.
1070 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
1071 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
1072 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
1073 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
1074 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
1075 files.
1076 * config/frv/t-frv (LIB2ADD): Set.
1077 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1078 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
1079 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
1080 config/h8300/popcounthi2.c: New files.
1081 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
1082 * config/i386/gthr-win32.c: New file.
1083 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
1084 * config/i386/t-cygwin: Likewise.
1085 * config/i386/t-darwin, config/i386/t-darwin64,
1086 config/i386/t-gthr-win32, config/i386/t-interix: New files.
1087 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
1088 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1089 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1090 * config/ia64/quadlib.c: New file.
1091 * config/ia64/t-hpux (LIB2ADD): Set.
1092 * config/ia64/t-ia64: Add comment.
1093 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
1094 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1095 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
1096 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
1097 * config/m32c/t-m32c (LIB2ADD): Set.
1098 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
1099 * config/m32r/t-m32r: Likewise.
1100 * config/m68k/fpgnulib.c: New file.
1101 * config/m68k/t-floatlib (LIB2ADD): Set.
1102 (xfgnulib.c): New target.
1103 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
1104 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
1105 * config/mep/t-mep (LIB2ADD): Set.
1106 * config/microblaze/divsi3.asm: Rename to divsi3.S.
1107 * config/microblaze/moddi3.asm: Rename to moddi3.S.
1108 * config/microblaze/modsi3.asm: Rename to modsi3.S.
1109 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
1110 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
1111 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
1112 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
1113 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
1114 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
1115 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
1116 New files.
1117 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
1118 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
1119 * config/pa/fptr.c, config/pa/lib2funcs.S,
1120 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
1121 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
1122 (LIB2ADD, LIB2ADD_ST): Set.
1123 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
1124 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
1125 Set.
1126 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
1127 * config/pdp11/t-pdp11: New file.
1128 * config/picochip/libgccExtras/adddi3.S,
1129 config/picochip/libgccExtras/ashlsi3.S,
1130 config/picochip/libgccExtras/ashrsi3.S,
1131 config/picochip/libgccExtras/clzsi2.S,
1132 config/picochip/libgccExtras/cmpsi2.S,
1133 config/picochip/libgccExtras/divmod15.S,
1134 config/picochip/libgccExtras/divmodhi4.S,
1135 config/picochip/libgccExtras/divmodsi4.S,
1136 config/picochip/libgccExtras/lshrsi3.S,
1137 config/picochip/libgccExtras/parityhi2.S,
1138 config/picochip/libgccExtras/popcounthi2.S,
1139 config/picochip/libgccExtras/subdi3.S,
1140 config/picochip/libgccExtras/ucmpsi2.S,
1141 config/picochip/libgccExtras/udivmodhi4.S,
1142 config/picochip/libgccExtras/udivmodsi4.S: New files.
1143 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
1144 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
1145 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
1146 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
1147 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
1148 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
1149 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
1150 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
1151 files.
1152 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
1153 (HOST_LIBGCC2_CFLAGS): Set.
1154 * config/rs6000/t-darwin64: New file.
1155 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
1156 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
1157 * config/rs6000/t-ppccomm (LIB2ADD): Add
1158 $(srcdir)/config/rs6000/tramp.S.
1159 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
1160 Add $(srcdir)/config/rs6000/eabi.S.
1161 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
1162 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
1163 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
1164 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
1165 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
1166 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
1167 * config/rs6000/tramp.S: New file.
1168 * config/s390/t-tpf: Remove.
1169 * config/sh/linux-atomic.S: New file.
1170 * config/sh/t-linux (LIB2ADD): Set.
1171 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
1172 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
1173 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
1174 to unwind-dw2.c.
1175 (HOST_LIBGCC2_CFLAGS): Set.
1176 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1177 * config/spu/divmodti4.c, config/spu/divv2df3.c,
1178 config/spu/float_disf.c, config/spu/float_unsdidf.c,
1179 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
1180 config/spu/mfc_multi_tag_release.c,
1181 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
1182 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
1183 config/spu/multi3.c: New files.
1184 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
1185 (HOST_LIBGCC2_CFLAGS): Set.
1186 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
1187 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
1188 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
1189 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
1190 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
1191 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
1192 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
1193 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
1194 config/stormy16/umodsi3.c: New files.
1195 * config/xtensa/lib2funcs.S: New file.
1196 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
1197 * config/xtensa/t-xtensa (LIB2ADD): Set.
1198 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
1199 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
1200 Add t-freebsd-thread to tmake_file for posix threads.
1201 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
1202 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
1203 (*-*-lynxos*): Likewise.
1204 (*-*-netbsd*): Likewise.
1205 (*-*-openbsd*): Likewise.
1206 Add t-openbsd-thread to tmake_file for posix threads.
1207 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
1208 (*-*-vxworks*): Set tmake_file.
1209 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
1210 (alpha*-*-freebsd*): Likewise.
1211 (alpha*-*-netbsd*): Likewise.
1212 (alpha*-*-openbsd*): Likewise.
1213 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
1214 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
1215 (alpha*-dec-*vms*): Likewise.
1216 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
1217 (bfin*-elf*): Add bfin/t-elf to tmake_file.
1218 (bfin*-uclinux*): Likewise.
1219 (bfin*-linux-uclibc*): Likewise.
1220 (crisv32-*-elf): Add cris/t-cris to tmake_file.
1221 (crisv32-*-none): Likewise.
1222 (cris-*-elf): Likewise.
1223 (cris-*-none): Likewise.
1224 (cris-*-linux*, crisv32-*-linux*): Likewise.
1225 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
1226 tmake_file.
1227 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
1228 tmake_file.
1229 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
1230 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
1231 (x86_64-*-elf*): Likewise.
1232 (i[34567]86-*-nto-qnx*): Likewise.
1233 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
1234 win32 threads.
1235 (x86_64-*-mingw*): Likewise.
1236 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
1237 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
1238 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
1239 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
1240 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
1241 tmake_file.
1242 (mipsisa64sr71k-*-elf*): Likewise.
1243 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
1244 (mips-*-elf*, mipsel-*-elf*): Likewise.
1245 (mips64-*-elf*, mips64el-*-elf*): Likewise.
1246 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
1247 (mips*-*-rtems*): Likewise.
1248 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
1249 to tmake_file.
1250 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
1251 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
1252 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
1253 (spu-*-elf*): Likewise.
1254 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
1255
9213d2eb 12562011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1257
1258 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
1259 $(srcdir) to refer to $(LIB1ASMSRC).
1260 Use $<.
1261 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
1262 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
1263 config/arm/lib1funcs.S: New files.
1264 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
1265 * config/arm/t-arm: New file.
1266 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
1267 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
1268 config/arm/t-strongarm-elf: New files.
1269 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
1270 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
1271 * config/avr/lib1funcs.S: New file.
1272 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1273 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
1274 * config/c6x/lib1funcs.S: New file.
1275 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1276 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
1277 * config/frv/lib1funcs.S: New file.
1278 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1279 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
1280 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
1281 * config/ia64/__divxf3.asm: Rename to ...
1282 * config/ia64/__divxf3.S: ... this.
1283 Adapt lib1funcs.asm filename.
1284 * config/ia64/_fixtfdi.asm: Rename to ...
1285 * config/ia64/_fixtfdi.S: ... this.
1286 Adapt lib1funcs.asm filename.
1287 * config/ia64/_fixunstfdi.asm: Rename to ...
1288 * config/ia64/_fixunstfdi.S: ... this.
1289 Adapt lib1funcs.asm filename.
1290 * config/ia64/_floatditf.asm: Rename to ...
1291 * config/ia64/_floatditf.S: ... this.
1292 Adapt lib1funcs.asm filename.
1293 * config/ia64/lib1funcs.S: New file.
1294 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
1295 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1296 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
1297 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
1298 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
1299 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
1300 * config/mep/lib1funcs.S: New file.
1301 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1302 * config/mips/mips16.S: New file.
1303 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1304 * config/pa/milli64.S: New file.
1305 * config/pa/t-linux, config/pa/t-linux64: New files.
1306 * config/picochip/lib1funcs.S: New file.
1307 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1308 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
1309 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
1310 * config/sh/t-netbsd: New file.
1311 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
1312 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
1313 * config/sh/t-sh64: New file.
1314 * config/sparc/lb1spc.S: New file.
1315 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
1316 filename.
1317 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
1318 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
1319 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
1320 config/xtensa/lib1funcs.S: New files.
1321 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1322 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
1323 tmake_file.
1324 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
1325 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
1326 (arm*-*-linux*): Likewise.
1327 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
1328 arm*-*-linux-*eabi, add arm/t-linux otherwise.
1329 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
1330 (arm*-*-ecos-elf): Likewise.
1331 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
1332 (arm*-*-rtems*): Likewise.
1333 (arm*-*-elf): Likewise.
1334 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
1335 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
1336 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
1337 (bfin*-uclinux*): Likewise.
1338 (bfin*-linux-uclibc*): Likewise.
1339 (bfin*-rtems*): Likewise.
1340 (bfin*-*): Likewise.
1341 (fido-*-elf): Merge into m68k-*-elf*.
1342 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
1343 (frv-*-*linux*): Add frv/t-frv to tmake_file.
1344 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
1345 (h8300-*-elf*): Likewise.
1346 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
1347 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
1348 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
1349 (i[34567]86-*-mingw*): Likewise.
1350 (x86_64-*-mingw*): Likewise.
1351 (i[34567]86-*-interix3*): Likewise.
1352 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
1353 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
1354 (m68k-*-elf*): Also handle fido-*-elf.
1355 Add m68k/t-floatlib to tmake_file.
1356 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
1357 (m68k-*-linux*): Likewise.
1358 (m68k-*-rtems*): Likewise.
1359 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
1360 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
1361 sh64*-*-*.
1362 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
1363 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
1364 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
1365 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
1366 sh/t-netbsd to tmake_file.
1367 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
1368 (sh-*-rtems*): Add sh/t-sh to tmake_file.
1369 (sh-wrs-vxworks): Likewise.
1370 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
1371 *-leon[3-9]*.
1372 (v850*-*-*): Add v850/t-v850 to tmake_file.
1373 (vax-*-linux*): Add vax/t-linux to tmake_file.
1374 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
1375
237490bf 13762011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1377
1378 * crtstuff.c: New file.
1379 * Makefile.in (CRTSTUFF_CFLAGS): Define.
1380 (CRTSTUFF_T_CFLAGS): Define.
1381 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
1382 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
1383 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
1384 crtstuff.c.
1385 Use $<.
1386 (crtbeginT.o): Use $(objext).
1387 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
1388 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
1389 (gcc-extra-parts): Remove.
1390 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
1391 Set extra_parts.
1392 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
1393 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
1394 Add t-crtstuff-pic to tmake_file.
1395 (*-*-lynxos*): New case.
1396 Set tmake_file, extra_parts.
1397 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
1398 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
1399 *-*-netbsdelf[2-9]*.
1400 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
1401 (*-*-rtems*): Set extra_parts.
1402 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
1403 (*-*-uclinux*): New case.
1404 Set extra_parts.
1405 (*-*-vms*): New case.
1406 Set tmake_file, extra_parts.
1407 (*-*-elf): Set extra_parts.
1408 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
1409 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
1410 vms/t-vms64.
1411 Set extra_parts.
1412 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
1413 Set extra_parts.
1414 (arm*-*-freebsd*): Add t-crtin to tmake_file.
1415 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
1416 (arm-wrs-vxworks): Append to tmake_file.
1417 Set extra_parts.
1418 (arm*-*-uclinux*): Set extra_parts.
1419 (arm*-*-ecos-elf): Likewise.
1420 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
1421 arm*-*-eabi*.
1422 (arm*-*-rtems*): Set extra_parts.
1423 (arm*-*-elf): Likewise.
1424 (avr-*-rtems*): Clear extra_parts.
1425 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
1426 Set extra_parts.
1427 (bfin*-uclinux*): Likewise.
1428 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
1429 (bfin*-rtems*): Append to tmake_file.
1430 Set extra_parts.
1431 (bfin*-*): Likewise.
1432 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
1433 (crisv32-*-elf): ... this.
1434 (crisv32-*-none): ... this.
1435 (cris-*-elf, cris-*-none): New cases.
1436 Add cris/t-elfmulti to tmake_file.
1437 (fr30-*-elf): Append to tmake_file.
1438 Set extra_parts.
1439 (frv-*-elf): Append to tmake_file, add frv/t-frv.
1440 Set extra_parts.
1441 (h8300-*-rtems*): Append to tmake_file.
1442 Set extra_parts.
1443 (h8300-*-elf*): Likewise.
1444 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
1445 Set extra_parts.
1446 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
1447 Set extra_parts.
1448 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
1449 (x86_64-*-elf*): Likewise.
1450 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
1451 (x86_64-*-freebsd*): Likewise.
1452 (x86_64-*-netbsd*): Likewise.
1453 (i[34567]86-*-linux*): Likewise.
1454 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
1455 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
1456 (x86_64-*-linux*): Likewise.
1457 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
1458 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
1459 tmake_file.
1460 Set extra_parts.
1461 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
1462 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
1463 Append to extra_parts, remove crtbegin.o, crtend.o.
1464 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
1465 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
1466 crtend.o, crtbeginS.o, crtendS.o.
1467 (ia64*-*-linux*): Comment extra_parts.
1468 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
1469 Set extra_parts.
1470 (iq2000*-*-elf*): Clear extra_parts.
1471 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
1472 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
1473 (m32r-*-elf*, m32r-*-rtems*): Split off ...
1474 (m32r-*-rtems*): ... this.
1475 Add m32r/t-m32r to tmake_file.
1476 (m68k-*-elf*): Add t-crtin to tmake_file.
1477 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
1478 (mcore-*-elf): Likewise.
1479 (microblaze*-*-*): Set extra_parts.
1480 (mips*-sde-elf*): New case.
1481 Set tmake_file, extra_parts.
1482 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
1483 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
1484 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
1485 tmake_file.
1486 Set extra_parts.
1487 (mipsisa64sr71k-*-elf*): Likewise.
1488 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
1489 (mips-*-elf*, mipsel-*-elf*): Likewise.
1490 (mips64-*-elf*, mips64el-*-elf*): Likewise.
1491 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
1492 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
1493 (mips*-*-rtems*): Likewise.
1494 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
1495 (moxie-*-*): Split into ...
1496 (moxie-*-elf, moxie-*-uclinux*): ... this.
1497 Add to extra_parts, remove crtbegin.o, crtend.o.
1498 (moxie-*-rtems*): New case.
1499 Set tmake_file.
1500 Clear extra_parts.
1501 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
1502 Set extra_parts.
1503 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
1504 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
1505 tmake_file.
1506 Set extra_parts.
1507 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
1508 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
1509 Set extra_parts.
1510 (powerpc-*-eabisim*): Likewise.
1511 (powerpc-*-elf*): Likewise.
1512 (powerpc-*-eabialtivec*): Likewise.
1513 (powerpc-xilinx-eabi*): Likewise.
1514 (powerpc-*-eabi*): Likewise.
1515 (powerpc-*-rtems*): Likewise.
1516 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
1517 tmake_file.
1518 Set extra_parts.
1519 (powerpc-*-lynxos*): Add to tmake_file.
1520 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
1521 rs6000/t-crtstuff, t-crtstuff-pic.
1522 Set extra_parts.
1523 (powerpcle-*-eabisim*): Likewise.
1524 (powerpcle-*-eabi*): Likewise.
1525 (rx-*-elf): Remove extra_parts.
1526 (s390x-ibm-tpf*): Set extra_parts.
1527 (score-*-elf): Set extra_parts.
1528 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
1529 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
1530 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
1531 (sh64l*-*-netbsd*): Split into ...
1532 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
1533 Add t-crtstuff-pic to tmake_file.
1534 Set extra_parts.
1535 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
1536 Set extra_parts.
1537 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
1538 (sparc-*-elf*): Remove t-crtin from tmake_file.
1539 Add to extra_parts, remove crtbegin.o, crtend.o.
1540 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
1541 (sparc64-*-linux*): Likewise.
1542 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
1543 Add to extra_parts, remove crtbegin.o, crtend.o.
1544 (sparc64-*-elf*): Remove t-crtin from tmake_file.
1545 Add to extra_parts, remove crtbegin.o, crtend.o.
1546 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
1547 Add to extra_parts, remove crtbegin.o, crtend.o.
1548 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
1549 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
1550 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
1551 Set extra_parts.
1552 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
1553 Set extra_parts.
1554 (tic6x-*-*): Change to ...
1555 (tic6x-*-elf): ... this.
1556 Set extra_parts.
1557 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
1558 Set extra_parts.
1559 (am33_2.0-*-linux*): Add comment.
1560 (mep*-*-*): Add mep/t-mep to tmake_file.
1561 Set extra_parts.
1562 * config/alpha/t-vms: New file.
1563 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
1564 * config/arm/crti.S, config/arm/crtn.S: New files.
1565 * config/bfin/crti.S, config/bfin/crtn.S: New files.
1566 * config/bfin/crtlibid.S: New file.
1567 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
1568 * config/c6x/crti.S, config/c6x/crtn.S: New files.
1569 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
1570 (crti.o, crtin.o): New rules.
1571 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
1572 * config/c6x/t-uclinux: New file.
1573 * config/cris/t-elfmulti: New file.
1574 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
1575 * config/fr30/crti.S, config/fr30/crtn.S: New files.
1576 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
1577 * config/frv/t-frv: New file.
1578 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
1579 * config/h8300/crti.S, config/h8300/crtn.S: New files.
1580 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
1581 New files.
1582 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
1583 refer to cygming-crtbegin.c, cygming-crtend.c.
1584 Use $<.
1585 * config/i386/t-nto: New file.
1586 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
1587 * config/ia64/crti.S, config/ia64/crtn.S: New files.
1588 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
1589 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
1590 Use .S extension.
1591 Use $<.
1592 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
1593 (crtinitS.o): New rule.
1594 * config/ia64/vms-crtinit.S: New file.
1595 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
1596 * config/m32r/initfini.c: New file.
1597 * config/m32r/t-linux, config/m32r/t-m32r: New files.
1598 * config/m68k/crti.S, config/m68k/crtn.S: New files.
1599 * config/mcore/crti.S, config/mcore/crtn.S: New files.
1600 * config/mep/t-mep: New file.
1601 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
1602 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
1603 * config/mips/crti.S, config/mips/crtn.S: New files.
1604 * config/mips/t-crtstuff: New file.
1605 * config/mmix/crti.S, config/mmix/crtn.S: New files.
1606 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
1607 (CUSTOM_CRTIN): Set.
1608 ($(T)crti.o, $(T)crtn.o): Remove $(T),
1609 dependencies.
1610 Use $(srcdir) to refer to crti.S, crtn.S.
1611 Use .S extension, $<.
1612 * config/moxie/crti.asm: Rename to ...
1613 * config/moxie/crti.S: ... this.
1614 * config/moxie/crtn.asm: Rename to ...
1615 * config/moxie/crtn.S: ... this.
1616 * config/moxie/t-moxie: Remove.
1617 * config/pa/stublib.c: New file.
1618 * config/pa/t-stublib, config/pa/t-stublib64: New files.
1619 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
1620 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
1621 * config/rs6000/t-crtstuff: New file.
1622 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
1623 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
1624 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
1625 Make output file explicit.
1626 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
1627 Make output file explicit.
1628 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
1629 Make output file explicit.
1630 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
1631 Make output file explicit.
1632 * config/score/crti.S, config/score/crtn.S: New files.
1633 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
1634 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
1635 files.
1636 * config/sh/t-sh, config/sh/t-superh: New files.
1637 * config/sparc/t-linux64: New file.
1638 * config/spu/cache.S, config/spu/cachemgr.c: New files.
1639 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
1640 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
1641 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
1642 * config/t-crtin: Remove.
1643 * config/t-crtstuff-pic: New file.
1644 * config/t-sol2 (CUSTOM_CRTIN): Set.
1645 (crti.o, crtn.o): New rules.
1646 * config/vms/t-vms: New file.
1647 * config/vms/vms-ucrt0.c: New file.
1648 * config/xtensa/t-elf: New file.
1649
a997b0d8 16502011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1651
1652 * Makefile.in (SHLIB_NM_FLAGS): Set.
1653 * mkmap-flat.awk, mkmap-symver.awk: New files.
1654 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
1655 exceptions.
1656 * configure: Regenerate.
1657 * config/libgcc-glibc.ver: New file.
1658 * config/libgcc-libsystem.ver: New file.
1659 * config/t-libunwind (SHLIB_LC): Set.
1660 * config/t-linux: New file.
1661 * config/t-slibgcc (INSTALL_SHLIB): New.
1662 (SHLIB_INSTALL): Use it.
1663 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
1664 to mkmap-symver.awk.
1665 (SHLIB_MAPFILES): Don't append, adapt pathname.
1666 (SHLIB_VERPFX): Set.
1667 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
1668 to mkmap-symver.awk.
1669 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
1670 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
1671 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
1672 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
1673 to mkmap-flat.awk.
1674 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
1675 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
1676 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
1677 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
1678 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
1679 * config/i386/libgcc-darwin.10.4.ver,
1680 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
1681 New files.
1682 * config/i386/t-darwin: Remove.
1683 * config/i386/t-darwin64: Likewise.
1684 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
1685 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
1686 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
1687 * config/i386/t-linux: New file.
1688 * config/i386/t-mingw32: New file.
1689 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
1690 * config/ia64/t-glibc: Rename to ...
1691 * config/ia64/t-linux: ... this.
1692 (SHLIB_MAPFILES): Set.
1693 * config/ia64/t-glibc-libunwind: Rename to ...
1694 * config/ia64/t-linux-libunwind: ... this.
1695 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
1696 * config/ia64/t-slibgcc-hpux: New file.
1697 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
1698 * config/m68k/t-slibgcc-elf-ver: New file.
1699 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
1700 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
1701 to mkmap-flat.awk.
1702 * config/pa/t-slibgcc-hpux: New file.
1703 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
1704 files.
1705 * config/rs6000/libgcc-darwin.10.4.ver,
1706 config/rs6000/libgcc-darwin.10.5.ver: New files.
1707 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
1708 config/rs6000/libgcc-glibc.ver.
1709 * config/rs6000/libgcc-ppc64.ver: Rename to
1710 config/rs6000/libgcc-ibm-ldouble.ver.
1711 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
1712 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
1713 * config/rs6000/t-ldbl128: Rename to ...
1714 * config/rs6000/t-linux: ... this.
1715 (SHLIB_MAPFILES): Adapt filename.
1716 * config/rs6000/t-slibgcc-aix: New file.
1717 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
1718 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
1719 libgcc-excl.ver, libgcc-glibc.ver.
1720 (SHLIB_LINK, SHLIB_INSTALL): Remove.
1721 * config/sparc/libgcc-glibc.ver: New file.
1722 * config/sparc/t-linux: New file.
1723 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
1724 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
1725 t-slibgcc-elf-ver to tmake_file.
1726 Add t-slibgcc-nolc-override to tmake_file for posix threads on
1727 *-*-freebsd[34].
1728 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
1729 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
1730 t-slibgcc-elf-ver, t-linux to tmake_file.
1731 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
1732 tmake_file.
1733 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
1734 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
1735 (alpha*-dec-*vms*): Likewise.
1736 (arm*-*-freebsd*): Append to tmake_file.
1737 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
1738 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
1739 arm*-*-linux-*eabi.
1740 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
1741 tmake_file for arm*-*-symbianelf*.
1742 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
1743 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
1744 cris/t-linux.
1745 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
1746 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
1747 pa/t-slibgcc-dwarf-ver to tmake_file.
1748 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
1749 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
1750 (hppa*64*-*-hpux11*): Likewise.
1751 (hppa[12]*-*-hpux11*): Likewise.
1752 (x86_64-*-darwin*): Don't override tmake_file, but only keep
1753 i386/t-crtpc, i386/t-crtfm.
1754 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
1755 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
1756 to tmake_file.
1757 Add i386/t-cygwin to tmake_file.
1758 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
1759 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
1760 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
1761 to tmake_file.
1762 Add i386/t-mingw32 to tmake_file.
1763 (x86_64-*-mingw*): Likewise.
1764 (ia64*-*-freebsd*): Append to tmake_file.
1765 (ia64*-*-linux*): Append to tmake_file.
1766 Replace ia64/t-glibc by ia64/t-linux.
1767 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
1768 system libunwind.
1769 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
1770 t-slibgcc-hpux to tmake_file.
1771 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
1772 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
1773 (m32rle-*-linux*): Likewise.
1774 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
1775 sjlj exceptions.
1776 (microblaze*-linux*): New case.
1777 Append to tmake_file, add t-slibgcc-nolc-override.
1778 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
1779 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
1780 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
1781 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
1782 rs6000/t-slibgcc-aix to tmake_file.
1783 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
1784 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
1785 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
1786 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
1787 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
1788 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
1789 sh*-*-linux*.
1790 (sparc-*-linux*): Append to tmake_file for *-leon*.
1791 Add sparc/t-linux to tmake_file for non-Leon targets.
1792 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
1793 (tic6x-*-uclinux): New case.
1794 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
1795 (tic6x-*-*): Add c6x/t-elf to tmake_file.
1796 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
1797 (am33_2.0-*-linux*): Append to tmake_file.
1798 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
1799 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
1800 x86_64-*-kfreebsd*-gnu.
1801 Add i386/t-linux to tmake_file.
1802
638a95a0 18032011-10-28 Ian Lance Taylor <iant@google.com>
1804
1805 * config/i386/morestack.S: Correct CFI information to do proper
1806 returns throughout function. In 32-bit mode, save %ebx so that it
1807 is restored on unwind.
1808
ef785e44 18092011-10-25 Bernd Schmidt <bernds@codesourcery.com>
1810
1811 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
1812 case where B3 isn't the return register.
1813
19b85223 1814 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
1815 logic for doubleword pops.
1816
70f50eb0 18172011-10-25 Andreas Tobler <andreast@fgznet.ch>
1818
1819 * config/rs6000/t-freebsd: Add wildcard.
1820
ec2b386c 18212011-10-21 Paul Brook <paul@codesourcery.com>
1822
1823 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
1824
b09a3f46 18252011-10-16 Uros Bizjak <ubizjak@gmail.com>
1826 Eric Botcazou <ebotcazou@adacore.com>
1827
1828 PR target/50737
1829 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
1830 fs->signal_frame to 1.
1831
8acdf7c6 18322011-10-07 Ian Lance Taylor <iant@google.com>
1833
1834 * generic-morestack-thread.c: #include <errno.h>.
1835
1780e36e 18362011-10-07 Ian Lance Taylor <iant@google.com>
1837
1838 PR target/46093
1839 * generic-morestack.c (__generic_morestack): Make sure the segment
1840 is large enough for both the stack frame and the copied
1841 parameters.
1842
f57fac72 18432011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1844
1845 PR bootstrap/49804
1846 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
1847 extra_parts.
1848
6ef008f9 18492011-09-28 Nick Clifton <nickc@redhat.com>
1850
1851 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
1852 64-bit doubles are not enabled.
1853 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
1854 and floatunsisf functions.
1855
7e5fc0c4 18562011-09-13 Paul Brook <paul@codesourcery.com>
6ef008f9 1857
7e5fc0c4 1858 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
1859 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
1860 * unwind-arm-common.inc: New file.
1861 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
1862 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
1863 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
1864 * config/c6x/libunwind.S: New file.
1865 * config/c6x/pr-support.c: New file.
1866 * config/c6x/unwind-c6x.c: New file.
1867 * config/c6x/unwind-c6x.h: New file.
1868 * config/c6x/t-c6x-elf: New file.
1869
047a5c56 18702011-08-23 Uros Bizjak <ubizjak@gmail.com>
1871
1872 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
1873 (ASM_DIVZERO): Ditto.
1874 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
1875
985e908e 18762011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
1877
1878 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
1879
c1c81358 18802011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
1881
1882 PR target/50090
1883 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
1884 instead of an assembly one.
1885
7642fc98 18862011-08-12 Paolo Bonzini <bonzini@gnu.org>
1887
1888 PR bootstrap/50047
1889 * Makefile.in (install-unwind_h): Create
1890 $(gcc_objdir)/include/unwind.h atomically.
1891
392bda6f 18922011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1893
1894 * Makefile.in (install-unwind_h): Remove destination file first.
1895
21889c08 18962011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1897
1898 * sync.c: New file.
1899 * config/mips/t-mips16: New file.
1900 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
1901 (mips*-*-linux*): Likewise.
1902 (mips*-sde-elf*): Likewise.
1903 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
1904 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
1905 Add mips/t-mips16 to tmake_file.
1906 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
1907 (mips-*-elf*): Likewise.
1908 (mips64-*-elf*): Likewise.
1909 (mips64orion-*-elf*): Likewise.
1910 (mips*-*-rtems*): Likewise.
1911 (mipstx39-*-elf*): Likewise.
1912 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
1913 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
1914 LIBGCC_SYNC_CFLAGS.
1915 Use $(srcdir) to refer to sync.c.
1916 Use $<.
1917 ($(libgcc-sync-funcs-o)): Likewise.
1918 ($(libgcc-sync-size-funcs-s-o)): Likewise.
1919 ($(libgcc-sync-funcs-s-o)): Likewise.
1920
3569d462 19212011-08-09 Andreas Schwab <schwab@linux-m68k.org>
1922
1923 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
1924 t-libunwind.
1925
e451a093 19262011-08-08 H.J. Lu <hongjiu.lu@intel.com>
1927
1928 PR other/48007
1929 * config/i386/value-unwind.h: New.
1930
ab3bed33 19312011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
1932
1933 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
1934 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
1935 Add to tmake_file rather than overriding it.
1936
84600db5 19372011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1938
1939 * config/t-softfp: Remove.
1940 * soft-fp: Moved from ../gcc/config.
1941 * soft-fp/README: Remove t-softfp reference.
1942 * soft-fp/t-softfp: Move to config/t-softfp.
1943 (softfp_machine_header): Remove.
1944 (softfp_file_list): Remove config subdir.
1945 (soft-fp-objects): New variable.
1946 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
1947 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
1948 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
1949 * config/t-softfp-excl: New file.
1950 * config/t-softfp-sfdf: New file.
1951 * config/t-softfp-tf: New file.
1952 * config/no-sfp-machine.h: New file.
1953 * config/arm/sfp-machine.h: New file.
1954 * config/arm/t-softfp: New file.
1955 * config/c6x/sfp-machine.h: New file.
1956 * config/i386/32/t-fprules-softfp: Rename to ...
1957 * config/i386/32/t-softfp: ... this.
1958 (tifunctions, LIB2ADD): Remove.
1959 (softfp_int_modes): Override.
1960 * config/i386/64/t-softfp-compat (tf-functions): Remove config
1961 subdir.
1962 * config/i386/64/eqtf2.c: Likewise.
1963 * config/i386/64/getf2.c: Likewise.
1964 * config/i386/64/letf2.c: Likewise.
1965 * config/ia64/sft-machine.h: New file.
1966 * config/ia64/t-fprules-softfp: Rename to ...
1967 * config/ia64/t-softfp: ... this.
1968 * config/lm32/sfp-machine.h: New file.
1969 * config/moxie/t-moxie-softfp: Remove.
1970 * config/rs6000/ibm-ldouble-format: New file.
1971 * config/rs6000/ibm-ldouble.c: New file.
1972 * config/rs6000/libgcc-ppc-glibc.ver: New file
1973 * config/rs6000/libgcc-ppc64.ver: New file
1974 * config/rs6000/sfp-machine.h: New file.
1975 * config/rs6000/t-freebsd: New file.
1976 * config/rs6000/t-ibm-ldouble: New file.
1977 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
1978 libgcc-ppc-glibc.ver.
1979 * config/rs6000/t-linux64: New file.
1980 * config/rs6000/t-ppccomm (LIB2ADD): Add
1981 $(srcdir)/config/rs6000/ibm-ldouble.c.
1982 * config/rs6000/t-ppccomm-ldbl: New file.
1983 * config/score/sfp-machine.h: New file.
1984 * config.host (sfp_machine_header): Explain.
1985 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
1986 t-softfp to tmake_file.
1987 (arm*-*-uclinux*): Likewise.
1988 (arm*-*-ecos-elf): Likewise.
1989 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
1990 (arm*-*-rtems*): Likewise.
1991 (arm*-*-elf): Likewise.
1992 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
1993 in tmake_file.
1994 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
1995 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
1996 (lm32-*-uclinux*): Likewise.
1997 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
1998 t-softfp-excl, t-softfp.
1999 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
2000 (powerpc64-*-darwin*): Likewise.
2001 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
2002 to tmake_file.
2003 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
2004 tmake_file.
2005 (powerpc-*-eabisim*): Likewise.
2006 (powerpc-*-elf*): Likewise.
2007 (powerpc-*-eabialtivec*): Likewise.
2008 (powerpc-xilinx-eabi*): Likewise.
2009 (powerpc-*-rtems*): Likewise.
2010 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
2011 t-softfp-excl, t-softfp to tmake_file.
2012 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
2013 rs6000/t-ppccomm-ldbl to tmake_file.
2014 (powerpcle-*-elf*): Likewise.
2015 (powerpcle-*-eabisim*): Likewise.
2016 (powerpcle-*-eabi*): Likewise.
2017 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
2018 rs6000/t-ibm-ldouble to tmake_file.
2019 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2020 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2021 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
2022 (tic6x-*-*): Likewise.
2023 (i[34567]86-*-darwin*, x86_64-*-darwin*,
2024 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
2025 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
2026 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
2027 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
2028 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
2029 t-softfp to tmake_file.
2030 * configure.ac (sfp_machine_header): Provide default if unset.
2031 Substitute.
2032 Link sfp-machine.h to config/$sfp_machine_header.
2033 * configure: Regenerate.
2034
a23b9c51 20352011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2036
2037 * Makefile.in (double_type_size, long_double_type_size): Set.
2038 Remove $(fpbit-in-libgcc) support.
2039 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
2040 (fpbit-src): New variable.
2041 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
2042 Compile with -DFLOAT $(FPBIT_CFLAGS).
2043 Use $<.
2044 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
2045 Compile with $(FPBIT_CFLAGS).
2046 Use $<.
2047 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
2048 Compile with -DFLOAT $(TPBIT_CFLAGS).
2049 Use $<.
2050 * configure.ac (double_type_size, long_double_type_size):
2051 Determine and substitute.
2052 * configure: Regenerate.
2053 * fp-bit.c, fp-bit.h: New files.
2054 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
2055 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
2056 * config/mips/t-mips: New file.
2057 * config/mips/t-sdemtk: New file.
2058 * config/rs6000/ppc64-fp.c: New file.
2059 * config/rs6000/t-darwin (LIB2ADD): Add
2060 $(srcdir)/config/rs6000/ppc64-fp.c.
2061 * config/rs6000/t-ppc64-fp: New file.
2062 * config/rx/rx-lib.h: New file.
2063 * config/rx/t-rx (FPBIT): Set to true.
2064 ($(gcc_objdir)/fp-bit.c): Remove.
2065 (DPBIT): Set to true only with -m64bit-doubles.
2066 ($(gcc_objdir)/dp-bit.c): Remove.
2067 * config/sparc/t-softfp: Remove.
2068 * config/spu/t-elf: New file.
2069 * config/t-fdpbit, config/t-fpbit: New files.
2070 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
2071 (mips*-*-*): Likewise.
2072 (arm-wrs-vxworks): Likewise.
2073 (arm*-*-freebsd*): Likewise.
2074 (avr-*-rtems*): Add t-fpbit to tmake_file.
2075 (avr-*-*): Likewise.
2076 (bfin*-elf*): Add t-fdpbit to tmake_file.
2077 (bfin*-uclinux*): Likewise.
2078 (bfin*-linux-uclibc*): Likewise.
2079 (bfin*-rtems*): New case.
2080 Add t-fdpbit to tmake_file.
2081 (bfin*-*): Add t-fdpbit to tmake_file.
2082 (crisv32-*-elf): Likewise.
2083 (cris-*-linux*): Likewise.
2084 (fr30-*-elf): Likewise.
2085 (frv-*-elf, frv-*-*linux*): Likewise.
2086 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
2087 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
2088 (m32r-*-elf*): Likewise.
2089 (m32rle-*-elf*): Likewise.
2090 (m32r-*-linux*): Likewise.
2091 (m32rle-*-linux*): Likewise.
2092 (mcore-*-elf): Add t-fdpbit to tmake_file.
2093 (microblaze*-*-*): Likewise.
2094 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
2095 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
2096 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
2097 Fix typo.
2098 Add mips/t-tpbit to tmake-file.
2099 (mips*-*-linux*): Fix typo.
2100 (mips*-sde-elf*): New case
2101 Add mips/t-sdemtk unless using newlib.
2102 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
2103 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
2104 (mn10300-*-*): Likewise.
2105 (pdp11-*-*): Likewise.
2106 (picochip-*-*): Add t-fpbit to tmake_file.
2107 (powerpc-*-eabisimaltivec*): Likewise.
2108 (powerpc-*-eabisim*): Likewise.
2109 (powerpc-*-elf*): Likewise.
2110 (powerpc-*-eabialtivec*): Likewise.
2111 (powerpc-xilinx-eabi*): New case.
2112 Add t-fdpbit to tmake_file.
2113 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
2114 (powerpc-*-rtems*): Likewise.
2115 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
2116 tmake_file.
2117 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
2118 tmake_file.
2119 (powerpc-*-lynxos*): Likewise.
2120 (powerpcle-*-elf*): Likewise.
2121 (powerpcle-*-eabisim*): Likewise.
2122 (powerpcle-*-eabi*): Likewise.
2123 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
2124 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
2125 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2126 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2127 (rx-*-elf): Add t-fdpbit to tmake_file.
2128 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
2129 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
2130 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
2131 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
2132 sh*-*-netbsd*.
2133 (sh-*-rtems*): Add t-fdpbit to tmake_file.
2134 (sh-wrs-vxworks): Likewise.
2135 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
2136 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
2137 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
2138 (sparc64-*-rtems*): ... new case.
2139 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
2140 (spu-*-elf*): Likewise.
2141 Add spu/t-elf to tmake_file.
2142 (v850*-*-*): Add t-fdpbit to tmake_file.
2143 (xstormy16-*-elf): Likewise.
2144 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
2145 (mep*-*-*): Likewise.
2146
e59be7e3 21472011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2148
2149 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
2150 variables.
2151 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
2152 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
2153 (install-unwind_h): New target.
2154 (all): Depend on it.
2155 * config.host (unwind_header): New variable.
2156 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
2157 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
2158 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
2159 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
2160 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
2161 Set unwind_header.
2162 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
2163 Set unwind_header.
2164 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
2165 arm*-*-eabi*.
2166 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
2167 Set unwind_header.
2168 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
2169 (ia64*-*-freebsd*): Likewise.
2170 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
2171 tmake_file.
2172 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
2173 $with_system_libunwind.
2174 (ia64*-*-hpux*): Set tmake_file.
2175 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
2176 (picochip-*-*): Set tmake_file.
2177 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
2178 md_unwind_header.
2179 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2180 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2181 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
2182 (xtensa*-*-elf*): Set tmake_file.
2183 (xtensa*-*-linux*): Likewise.
2184 * configure.ac: Include ../config/unwind_ipinfo.m4.
2185 Call GCC_CHECK_UNWIND_GETIPINFO.
2186 Link unwind.h to $unwind_header.
2187 * configure: Regenerate.
2188 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
2189 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
2190 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
2191 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
2192 * config/unwind-dw2-fde-darwin.c: New file.
2193 * config/arm/libunwind.S, config/arm/pr-support.c,
2194 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
2195 config/arm/unwind-arm.h,: New files.
2196 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
2197 config/ia64/t-eh-ia64, config/ia64/t-glibc,
2198 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
2199 config/ia64/t-vms, config/ia64/unwind-ia64.c,
2200 config/ia64/unwind-ia64.h: New files.
2201 * config/picochip/t-picochip: New file.
2202 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
2203 files.
2204 * config/rs6000/t-darwin (LIB2ADDEH): Set.
2205 * config/s390/t-tpf (LIB2ADDEH): Remove.
2206 * config/t-darwin (LIB2ADDEH): Set.
2207 * config/t-eh-dw2-dip: New file.
2208 * config/t-libunwind, config/t-libunwind-elf: New files.
2209 * config/t-sol2 (LIB2ADDEH): Remove.
2210 * config/xtensa/t-xtensa: New file.
2211
b57de711 22122011-08-02 H.J. Lu <hongjiu.lu@intel.com>
2213
2214 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
2215 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
2216 long long to check rt_sigreturn syscall.
2217
9a4af446 22182011-08-02 Alan Modra <amodra@gmail.com>
2219
2220 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
2221 Restore for indirect call bcrtl from correct stack slot, and only
2222 if cfa+40 isn't valid.
2223
bbbe4599 22242011-08-01 Julian Brown <julian@codesourcery.com>
2225
2226 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
2227 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
2228 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
2229
ac34b7db 22302011-08-01 Julian Brown <julian@codesourcery.com>
2231
2232 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
2233 (libgcc-std.ver.in): Use above.
2234 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
2235 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
2236 throughout file.
2237 * config/t-fixedpoint-gnu-prefix: New file.
2238 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
2239 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
2240 instead of __PFX__.
2241
2a7dfa04 22422011-07-28 H.J. Lu <hongjiu.lu@intel.com>
2243
2244 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
2245 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
2246 for x86-64. Properly check __x86_64__ and __LP64__.
2247
a232cb08 22482010-07-28 H.J. Lu <hongjiu.lu@intel.com>
2249
2250 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
2251 version.
2252 (_FP_WS_TYPE): Likewise.
2253 (_FP_I_TYPE): Likewise.
2254
c54e2746 22552011-07-28 Alan Modra <amodra@gmail.com>
2256
2257 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
2258 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
2259 in a plt call stub. Do restore r2 if stopped on bctrl.
2260
4d72c922 22612011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2262
2263 * config.host (i[3456x]86-*-netware*): Remove.
2264 * config/i386/netware-crt0.c, config/i386/t-nwld,
2265 config/i386/t-slibgcc-nwld: Remove.
2266
5aa04b01 22672011-07-15 Bernd Schmidt <bernds@codesourcery.com>
2268
2269 * config.host: Handle tic6x-*-*.
2270 * config/c6x/c6x-abi.h: New file.
2271
ba079bc9 22722011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2273
2274 * config/i386/crtprec.c: New file.
2275 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
2276 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
2277 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
2278 (x86_64-*-darwin*): Likewise.
2279 (i[34567]86-*-solaris2*: Likewise.
2280
1125ba83 22812011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2282
2283 * config/alpha/crtfastmath.c: New file.
2284 * config/i386/crtfastmath.c: New file.
2285 * config/ia64/crtfastmath.c: New file.
2286 * config/mips/crtfastmath.c: New file.
2287 * config/sparc/crtfastmath.c: New file.
2288
2289 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
2290 crtfastmath.c.
2291 Add -frandom-seed=gcc-crtfastmath.
2292 * config/alpha/t-crtfm: Remove.
2293 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
2294 * config/ia64/t-ia64 (crtfastmath.o): Remove.
2295
2296 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
2297 (alpha*-dec-osf5.1*): Likewise.
2298 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
2299 Add crtfastmath.o to extra_parts.
2300 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
2301 Add crtfastmath.o to extra_parts.
2302 (x86_64-*-darwin*): Likewise.
2303 (x86_64-*-mingw*): Likewise.
2304 (ia64*-*-elf*): Add t-crtfm to tmake_file.
2305 (ia64*-*-freebsd*): Likewise.
2306 (ia64*-*-linux*): Likewise.
2307 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
2308 Add crtfastmath.o to extra_parts.
2309
1a4a11f3 23102011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2311
2312 * config/darwin-crt3.o: New file.
2313 * config/rs6000/darwin-crt2.c: New file.
2314 * config/t-darwin: New file.
2315 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
2316 (crt2.o): New rule.
2317 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
2318 (powerpc-*-darwin*): Add crt2.o to extra_parts.
2319 (powerpc64-*-darwin*): Likewise.
2320
ef3ab47f 23212011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2322
2323 * config/i386/netware-crt0.c: New file.
2324 * config/i386/t-nwld: Rename to ...
2325 * config/i386/t-slibgcc-nwld: ... this.
2326 * config/i386/t-nwld: New file.
2327 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
2328 tmake_file.
2329 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
2330 extra_parts.
2331
367b55f3 23322011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2333
2334 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
2335 i386/t-crtstuff.
2336 * configure: Regenerate.
2337
17aa03f5 23382011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2339
2340 * dfp-bit.c, dfp-bit.h: New files.
2341 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
2342 variables.
2343 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
2344 ($(d64pbit-o)): Likewise.
2345 ($(d128pbit-o)): Likewise.
2346 * config/t-dfprules: New file.
2347 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
2348 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
2349 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
2350 (x86_64-*-linux*): Likewise.
2351 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
2352 (i[34567]86-*-cygwin*): Likewise.
2353 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
2354 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
2355
2bc72a9f 23562011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2357
2358 * Makfile.in (LIBGCOV): New variable.
2359 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
2360 * libgcov.c: New file.
2361
36a5227d 23622011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2363
2364 * fixed-bit.c, fixed-bit.h: New files.
2365 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
2366 refer to fixed-bit.c.
2367
689a8077 23682011-07-07 Joseph Myers <joseph@codesourcery.com>
2369
2370 * config.host (*local*): Remove.
2371
14f27bc6 23722011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2373
2374 PR target/39150
2375 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
2376 like i?86-*-solaris2.1[0-9]*.
2377 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
2378 * configure.ac (i?86-*-solaris2*): Likewise.
2379 * configure: Regenerate.
2380
fe27820f 23812011-07-06 Thomas Schwinge <thomas@schwinge.name>
2382
2383 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
2384 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
2385 md_unwind_header by splitting out of...
2386 (i[34567]86-*-linux*): ... this.
2387 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
2388 Remove md_unwind_header by splitting out of...
2389 (x86_64-*-linux*): ... this.
2390
934ca5fd 23912011-07-04 Georg-Johann Lay <avr@gjlay.de>
2392
2393 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
2394
707238af 23952011-06-28 Nick Clifton <nickc@redhat.com>
2396
2397 * config.host: Recognize all V850 variants.
2398
5125dcef 23992011-06-22 Uros Bizjak <ubizjak@gmail.com>
2400
2401 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
2402
f92b36a5 24032011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2404
2405 * shared-object.mk (c_flags-$o): Save c_flags.
2406 ($(base)$(objext)): Use it.
2407 ($(base)_s$(objext)): Likewise.
2408
d8492bd3 24092011-06-21 Bernd Schmidt <bernds@codesourcery.com>
2410
2411 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
2412 * libgcc-std.ver.in (GCC_4.7.0): New section.
2413
fa72efb7 24142011-06-16 Georg-Johann Lay <avr@gjlay.de>
5125dcef 2415
fa72efb7 2416 PR target/49313
2417 PR target/29524
2418 * config/avr/t-avr: Fix line endings.
2419 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
2420 _parityXX2.
2421
adf7c0a1 24222011-06-14 Olivier Hainque <hainque@adacore.com>
2423 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2424
2425 * config/mips/irix6-unwind.h: New file.
2426 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
2427
47529489 24282011-06-10 Eric Botcazou <ebotcazou@adacore.com>
2429
2430 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
2431 (sparc64_fallback_frame_state): Use it.
2432 (sparc64_frob_update_context): Further adjust context.
2433 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
2434 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
2435 * config/sparc/sol2-cn.S: Likewise.
2436
a6f06169 24372011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2438
2439 * enable-execute-stack-empty.c: New file.
2440 * enable-execute-stack-mprotect.c: New file.
2441 * config/i386/enable-execute-stack-mingw32.c: New file.
2442 * config.host (enable_execute_stack): New variable.
2443 Select appropriate variants.
2444 * configure.ac: Link enable-execute-stack.c to
2445 $enable_execute_stack.
2446 * configure: Regenerate.
2447 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
2448 (lib2funcs): Remove _enable_execute_stack.
2449
f9cccfac 24502011-06-09 David S. Miller <davem@davemloft.net>
2451 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2452
2453 * config.host (sparc-*-linux*): Correct md_unwind_header
2454 filename.
2455 (s390x-ibm-tpf*): Fix typo.
2456
ee884cfb 24572011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2458
2459 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
2460 Add crtfastmath.o to extra_parts.
2461 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
2462 mips/t-crtfm.
2463 * config/mips/t-crtfm: Remove.
2464
01cb8ad1 24652011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2466
2467 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
2468
73956a0d 24692011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
2470
2471 * config.host (sh*-*-linux*): Fix typo.
2472
1e53920f 24732011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2474
2475 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
2476 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
2477 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
2478 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
2479 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
2480 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
2481 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
2482 Wrap in !__MINGW64__.
2483 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
2484 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
2485 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
2486 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
2487 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
2488 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
2489 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
2490 Wrap in !__LP64__.
2491 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
2492 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
2493 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
2494 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
2495 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
2496 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
2497 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
2498 * config/no-unwind.h: New file.
2499 * config.host (md_unwind_header): Document.
2500 Define.
2501 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
2502 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
2503 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
2504 hppa[12]*-*-hpux11*): Set md_unwind_header.
2505 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
2506 Set md_unwind_header.
2507 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
2508 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
2509 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
2510 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
2511 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
2512 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
2513 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
2514 md_unwind_header.
2515 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
2516 * configure: Regenerate.
2517
8087ae75 25182011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2519
2520 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
2521 Set tmake_file, extra_parts.
2522 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
2523 Remove O32 support.
2524 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
2525 Remove O32 support.
2526 * config/mips/t-irix6: New file.
2527 * config/mips/t-slibgcc-irix: New file.
2528
506cfbc8 25292011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2530
2531 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
2532 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
2533
541346b9 25342011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2535
2536 * configure.ac (target_thread_file): Determine thread model.
2537 * configure: Regenerate.
2538 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
2539 * config/alpha/t-alpha: New file.
2540 * config/alpha/t-crtfm: Use $<.
2541 * config/alpha/t-ieee: New file.
2542 * config/alpha/t-osf-pthread: New file.
2543 * config/alpha/t-slibgcc-osf: New file.
2544 * config/alpha/libgcc-osf5.ver: New file.
2545
43ae7603 25462011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2547
2548 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
2549 tmake_file.
2550 Add crtfastmath.o to extra_parts.
2551
f0d9a626 25522011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2553
2554 * config/gmon-sol2.c: Reindent.
2555 Cleanup comments.
2556 Remove, correct casts.
2557 Use STDERR_FILENO, NULL.
2558 (BASEADDRESS): Remove.
2559 (minbrk): Remove.
2560 (errno, sbrk): Remove declarations.
2561 (monstartup) [hp300]: Remove.
2562 (mcount): Remove.
2563
63abf89e 25642011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2565
2566 * Makefile.in (cpu_type): Define.
2567 * config.host (i[34567]86-*-rtems*): Handle it.
2568 (i[34567]86-*-solaris2*): Move body ...
2569 (*-*-solaris2*): ... here.
2570 New case, generalize.
2571 (sparc-*-elf*): Handle it.
2572 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
2573 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
2574 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
2575 Fold into ...
2576 (sparc*-*-solaris2*): ... this.
2577 New case.
2578 (sparc64-*-elf*): Handle it.
2579 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
2580 Merge ../gcc/config/i386/gmon-sol2.c.
2581 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
2582 Use C comments.
2583 Merge ../gcc/config/i386/sol2-gc1.asm.
2584 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
2585 Use C comments.
2586 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
2587 Use C comments.
2588 * config/i386/t-crtfm (crtfastmath.o): Use $<.
2589 * config/i386/t-crtstuff: New file.
2590 * config/i386/t-softfp: New file.
2591 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
2592 $(T)crti.o, $(T)crtn.o): Remove.
2593 (gcrt1.o): New rule.
2594 (TARGET_LIBGCC2_CFLAGS): Remove.
2595 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
2596 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
2597 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
2598 * config/sparc/t-sol2: New file.
2599 * config/sparc/t-crtfm: Move to ...
2600 * config/t-crtfm: ... this.
2601 Use $(cpu_type), $<.
2602 * config/t-crtin: New file.
2603 * config/sparc/t-softfp: New file.
2604 * config/sparc/t-softmul: New file.
2605 * config/t-rtems: New file.
2606 * config/t-slibgcc: New file.
2607 * config/t-slibgcc-elf-ver: New file.
2608 * config/t-slibgcc-gld: New file.
2609 * config/t-slibgcc-sld: New file.
2610 * config/t-sol2: New file.
2611 * configure.ac: Include ../config/lib-ld.m4.
2612 Call AC_LIB_PROG_LD_GNU.
2613 Substitute cpu_type.
2614 * configure: Regenerate.
2615
b1da9d72 26162011-05-27 Bernd Schmidt <bernds@codesourcery.com>
2617
2618 PR bootstrap/49173
2619 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
2620 libgcc-std.ver in the build directory.
2621 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
2622 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
2623
f308a9b2 26242011-05-25 Bernd Schmidt <bernds@codesourcery.com>
2625
2626 * libgcc-std.ver.in: New file.
2627 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
2628 variables.
2629 (libgcc-std.ver): New rule.
2630 * config/t-gnu-prefix: New file.
2631
c177b341 26322011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2633
2634 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
2635
8633828c 26362011-05-10 Joseph Myers <joseph@codesourcery.com>
2637
2638 * config/i386/darwin-lib.h: New file.
2639
3be74046 26402011-05-10 Joseph Myers <joseph@codesourcery.com>
2641
2642 * config/arm/symbian-lib.h: New.
2643
5e1a494e 26442011-05-04 Chris Demetriou <cgd@google.com>
2645
2646 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
2647 (__x86.get_pc_thunk.bx): ...this.
2648 (__morestack): Adjust for rename, remove undef of __i686.
2649
0bb50d04 26502011-05-03 Chris Demetriou <cgd@google.com>
2651
2652 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
2653
17b3d2a8 26542011-03-22 Joseph Myers <joseph@codesourcery.com>
2655
2656 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
2657 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
2658 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
2659 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
2660 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
2661 Remove cases.
2662
95525c17 26632011-03-14 Andreas Tobler <andreast@fgznet.ch>
2664
2665 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
2666 Adjust copyright year.
2667
82c96609 26682011-03-07 Ian Lance Taylor <iant@google.com>
2669
2670 * generic-morestack.c (__splitstack_find): Adjust returned stack
2671 pointer to include all registers pushed by __morestack.
2672
abfe0c5b 26732011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
2674
2675 PR target/40125
2676 * configure.ac: Call ACX_NONCANONICAL_TARGET.
2677 (toolexecdir): Calculate and AC_SUBST.
2678 (toolexeclibdir): Likewise.
2679 * Makefile.in (target_noncanonical): Import.
2680 (toolexecdir): Likewise.
2681 (toolexeclibdir): Likewise.
2682 * configure: Regenerate.
2683
48f93ee5 26842010-12-13 Nathan Froyd <froydnj@codesourcery.com>
2685
2686 PR target/46040
2687 * config/arm/bpabi.h: Rename to...
2688 * config/arm/bpabi-lib.h: ...this.
2689
76aa642f 26902010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2691
2692 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
2693 appropriate.
2694 * configure: Regenerate.
2695
e8b06528 26962010-11-24 Nathan Froyd <froydnj@codesourcery.com>
2697
2698 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
2699 __FLOAT_WORD_ORDER__.
2700 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
2701 Delete.
2702
2b7a4d59 27032010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2704
2705 PR other/46202
2706 * Makefile.in (install-strip): New phony target.
2707
457123d6 27082010-11-07 Ian Lance Taylor <iant@google.com>
2709
2710 PR target/46089
2711 * config/i386/morestack.S (__morestack_large_model): New
2712 function.
2713
f6e5e456 27142010-10-23 Nathan Froyd <froydnj@codesourcery.com>
2715
2716 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
2717 Delete.
2718 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
2719
faf175ae 27202010-10-14 Nathan Froyd <froydnj@codesourcery.com>
2721
2722 * config/arm/bpabi.h: New file.
2723 * config/frv/frv-abi.h: New file.
2724
9266176d 27252010-10-01 Ian Lance Taylor <iant@google.com>
2726
2727 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
2728 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
2729
13ba4217 27302010-10-01 H.J. Lu <hongjiu.lu@intel.com>
2731
2732 PR target/45858
2733 * config.host: Add the missing `$'.
2734
d34b0d1e 27352010-09-30 Michael Eager <eager@eagercon.com>
2736
2737 * config.host: Add microblaze*-*-*.
2738 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
2739 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
2740 udivsi3.asm,umodsi3.asm}: New.
2741
78ca2689 27422010-09-28 Ian Lance Taylor <iant@google.com>
2743
2744 * configure.ac: Adjust CFI test to test assembler directly rather
2745 than checking gcc preprocessor macro.
2746 * configure: Rebuild.
2747
c9b3ebc5 27482010-09-27 Ian Lance Taylor <iant@google.com>
2749
2750 * configure.ac: Test whether assembler supports CFI directives.
2751 * config.host: Only add t-stack and i386/t-stack-i386 to
2752 tmake_file if libgcc_cv_cfi is "yes".
2753 * configure: Rebuild.
2754
48b14f50 27552010-09-27 Ian Lance Taylor <iant@google.com>
2756
2757 * generic-morestack.h: New file.
2758 * generic-morestack.c: New file.
2759 * generic-morestack-thread.c: New file.
2760 * config/i386/morestack.S: New file.
2761 * config/t-stack: New file.
2762 * config/i386/t-stack-i386: New file.
2763 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
2764 i386/t-stack-i386 to tmake_file.
2765
fd80c7a1 27662010-09-21 Iain Sandoe <iains@gcc.gnu.org>
2767
2768 * Makefile.in (libgcc-extra-parts): Check for static archives and
2769 invoke ranlib after installing them.
2770 (gcc-extra-parts): Likewise.
2771 (install-leaf): Likewise.
2772
70fbcd6d 27732010-09-14 H.J. Lu <hongjiu.lu@intel.com>
2774
2775 * configure: Regenerated.
2776
19aace05 27772010-09-10 Kai Tietz <kai.tietz@onevision.com>
2778
70fbcd6d 2779 * configure: Regenerated.
19aace05 2780
279dadf5 27812010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
2782 Andrew Pinski <pinskia@gmail.com>
2783
5125dcef 2784 PR target/40959
279dadf5 2785 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
2786
a87eb011 27872010-09-06 H.J. Lu <hongjiu.lu@intel.com>
2788
2789 PR target/45524
2790 * configure: Regenerated.
2791
e6425baf 27922010-09-06 Andreas Schwab <schwab@redhat.com>
2793
2794 * configure: Regenerate.
2795
e88f4c66 27962010-09-03 Uros Bizjak <ubizjak@gmail.com>
2797
2798 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
2799 64bit targets.
2800 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
2801 for 64bit targets.
2802
1d8139cc 28032010-09-03 Uros Bizjak <ubizjak@gmail.com>
2804 Iain Sandoe <iains@gcc.gnu.org>
2805
2806 PR target/45476
2807 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
2808 LIB2FUNCS_EXCLUDE functions.
2809
23340821 28102010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2811
2812 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
2813 Include dfp.m4.
2814 * configure: Regenerate.
2815
278afeb5 28162010-09-01 Uros Bizjak <ubizjak@gmail.com>
2817
2818 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
2819 i386/t-freebsd to tmake_file.
2820 * config/i386/t-freebsd: New file.
2821 * config/i386/libgcc-bsd.ver: New file.
2822
952bf8bb 28232010-07-23 Nathan Froyd <froydnj@codesourcery.com>
2824
2825 * config.host (powerpc*-eabispe*): Set tmake_file.
2826 (powerpc*-eabi*): Likewise.
2827 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
2828 crtbeginS, crtendS, crtbeginT.
2829
283681bb 28302010-06-12 Kazu Hirata <kazu@codesourcery.com>
2831
2832 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
2833 to tmake_file. Add crtfastmath.o to extra_parts.
2834 * config/mips/t-crtfm: New.
2835
a6180b96 28362010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
2837
2838 * config.host (sparc64-*-rtems*): New target.
2839
05157f42 28402010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2841
2842 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
2843 assembler syntax.
2844
8a84c748 28452010-04-15 Thomas Schwinge <tschwinge@gnu.org>
2846
2847 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
2848
ed3e1bbc 28492010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2850
2851 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
2852 alpha-dec-osf5.0* support.
2853
f8a8f9d9 28542010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
432dd419 2855
2856 * config.host: Add lm32-*-rtems*.
2857
20be3c56 28582010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2859 Uros Bizjak <ubizjak@gmail.com>
2860
2861 PR target/39048
2862 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
2863 like other remaining 32-bit x86 OSes.
2864 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
2865 assembler syntax.
2866 * config/i386/libgcc-sol2.ver: New file.
2867 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
2868
8f0f72c0 28692010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
2870
2871 PR c/43553
2872 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
2873 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
2874 is used and substitute set_use_emutls.
2875 * configure: Regenerated.
2876
cf842d6a 28772010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
2878
2879 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
2880
4dcd7ab3 28812010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2882
2883 PR target/38085
2884 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
2885 MULTILIB_CFLAGS.
2886 ($(T)gcrt1.o): Likewise.
2887 ($(T)crt1.o): Likewise.
2888 ($(T)crti.o): Likewise.
2889 ($(T)crtn.o): Likewise.
2890
a426f025 28912010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2892
2893 PR other/42980
2894 * Makefile.in (install): Use $(MAKE) string in rule, for
2895 parallel make.
2896
8525326e 28972010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
2898
2899 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
2900 * config/mmix/t-mmix: New file.
2901 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
2902
14a10763 29032010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
2904
2905 PR java/41991
2906 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
2907 SHLIB_MAPFILES.
2908
00301a1a 29092010-01-04 Anthony Green <green@moxielogic.com>
2910
2911 * config/moxie/crti.asm, config/moxie/crtn.asm,
2912 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
2913 config/moxie/t-moxie: New files.
2914 * config.host: Add t-moxie-softfp reference.
2915
d2b1aa3d 29162009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
2917
2918 PR other/39888
2919 * config/t-slibgcc-darwin: Fix embedded rpaths for
2920 --enable-version-specific-runtime-libs, build extension stub
2921 libs exposing features available from current libgcc_s.
2922
f6fe91e8 29232009-11-11 Jon Beniston <jon@beniston.com>
2924
278afeb5 2925 * config.host: Add lm32 targets.
2926 * config/lm32: New directory.
2927 * config/lm32/libgcc_lm32.h: New file.
2928 * config/lm32/_mulsi3.c: New file.
2929 * config/lm32/_udivmodsi4.c: New file.
2930 * config/lm32/_divsi3.c: New file.
2931 * config/lm32/_modsi3.c: New file.
2932 * config/lm32/_udivsi3.c: New file.
2933 * config/lm32/_umodsi3.c: New file.
2934 * config/lm32/_lshrsi3.S: New file.
2935 * config/lm32/_ashrsi3.S: New file.
2936 * config/lm32/_ashlsi3.S: New file.
2937 * config/lm32/crti.S: New file.
2938 * config/lm32/crtn.S: New file.
2939 * config/lm32/t-lm32: New file.
2940 * config/lm32/t-elf: New file.
2941 * config/lm32/t-uclinux: New file.
f6fe91e8 2942
24833e1a 29432009-10-26 Nick Clifton <nickc@redhat.com>
2944
2945 * config.host: Add support for RX target.
2946 * config/rx: New directory.
2947 * config/rx/rx-abi-functions.c: New file. Supplementary
2948 functions for libgcc to support the RX ABI.
2949 * config/rx/rx-abi.h: New file. Supplementary header file for
2950 libgcc RX ABI functions.
2951 * config/rx/t-rx: New file: Makefile fragment for building
2952 libgcc for the RX.
2953
1d7e299f 29542009-10-09 Uros Bizjak <ubizjak@gmail.com>
2955
2956 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
2957 constraint of y0 to "g".
2958
e38fe738 29592009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2960
2961 * config.host: Include the s390 makefile fragments.
2962 * config/s390/32/_fixdfdi.c: New file.
2963 * config/s390/32/_fixsfdi.c: New file.
2964 * config/s390/32/_fixtfdi.c: New file.
2965 * config/s390/32/_fixunsdfdi.c: New file.
2966 * config/s390/32/_fixunssfdi.c: New file.
2967 * config/s390/32/_fixunstfdi.c: New file.
2968 * config/s390/32/t-floattodi: New file.
2969 * config/s390/libgcc-glibc.ver: New file.
2970 * config/s390/t-crtstuff: New file.
2971 * config/s390/t-linux: New file.
2972 * config/s390/t-tpf: New file.
2973
81a71e2b 29742009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2975
2976 * configure.ac (AC_PREREQ): Bump to 2.64.
2977
a1ef431d 29782009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
2979
2980 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
2981
cd9a469c 29822009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2983
2984 * configure: Regenerate.
2985
9b9a2528 29862009-08-09 Douglas B Rupp <rupp@gnat.com>
2987
2988 * config.host (ia64-hp-*vms*): New target.
2989 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
2990 with ia64-hp-*vms*.
2991
a2655af1 29922009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2993
2994 * configure.ac: Add snippet for maintainer-mode.
2995 * configure: Regenerate.
2996 * Makefile.in (AUTOCONF, configure_deps): New variables.
2997 ($(srcdir)/configure)): New rule, active only with maintainer
2998 mode turned on.
2999
46222c18 30002009-06-23 DJ Delorie <dj@redhat.com>
3001
3002 Add MeP port.
3003 * config.host: Add mep support.
3004
13dc7657 30052009-06-22 Kai Tietz <kai.tietz@onevision.com>
3006
82a3cc73 3007 * config.host: Add i386/${host_address}/t-fprules-softfp and
1d7e299f 3008 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
82a3cc73 3009
3010 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
3011 for mingw targets.
13dc7657 3012 * config/i386/64/_multc3.c: Likewise.
3013 * config/i386/64/_powitf2.c: Likewise.
3014 * config/i386/64/eqtf2.c: Likewise.
3015 * config/i386/64/getf2.c: Likewise.
3016 * config/i386/64/letf2.c: Likewise.
3017 * config/i386/64/letf2.c: Likewise.
82a3cc73 3018 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
3019 unsigned long long for x64 mingw targets.
3020 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
3021 (_FP_I_TYPE): Define as long long for x64 mingw target.
13dc7657 3022
63bfd172 30232009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
3024
3025 * config.host (vax-*-linux*): New.
3026
be52b6d8 30272009-05-31 Anthony Green <green@moxielogic.com>
3028
3029 * config.host: Add moxie support.
3030 * config/moxie/t-moxie: New file.
3031
6471e33b 30322009-05-29 David Billinghurst <billingd@gcc.gnu.org>
3033
3034 * config.host: Add i386/${host_address}/t-fprules-softfp and
1d7e299f 3035 t-softfp to tmake_file for i[34567]86-*-cygwin*.
6471e33b 3036
09ec66c8 30372009-04-17 Aurelien Jarno <aurelien@aurel32.net>
3038
3039 * config.host: Add i386/${host_address}/t-fprules-softfp to
3040 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
3041
6bc9506f 30422009-04-09 Nick Clifton <nickc@redhat.com>
3043
3044 * config/ia64/tf-signs.c: Change copyright header to refer to
3045 version 3 of the GNU General Public License with version 3.1
3046 of the GCC Runtime Library Exception and to point readers at
3047 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
3048 web page.
3049 * config/i386/32/tf-signs.c: Likewise.
3050 * config/libbid/_addsub_dd.c: Likewise.
3051 * config/libbid/_addsub_sd.c: Likewise.
3052 * config/libbid/_addsub_td.c: Likewise.
3053 * config/libbid/_dd_to_df.c: Likewise.
3054 * config/libbid/_dd_to_di.c: Likewise.
3055 * config/libbid/_dd_to_sd.c: Likewise.
3056 * config/libbid/_dd_to_sf.c: Likewise.
3057 * config/libbid/_dd_to_si.c: Likewise.
3058 * config/libbid/_dd_to_td.c: Likewise.
3059 * config/libbid/_dd_to_tf.c: Likewise.
3060 * config/libbid/_dd_to_udi.c: Likewise.
3061 * config/libbid/_dd_to_usi.c: Likewise.
3062 * config/libbid/_dd_to_xf.c: Likewise.
3063 * config/libbid/_df_to_dd.c: Likewise.
3064 * config/libbid/_df_to_sd.c: Likewise.
3065 * config/libbid/_df_to_td.c: Likewise.
3066 * config/libbid/_di_to_dd.c: Likewise.
3067 * config/libbid/_di_to_sd.c: Likewise.
3068 * config/libbid/_di_to_td.c: Likewise.
3069 * config/libbid/_div_dd.c: Likewise.
3070 * config/libbid/_div_sd.c: Likewise.
3071 * config/libbid/_div_td.c: Likewise.
3072 * config/libbid/_eq_dd.c: Likewise.
3073 * config/libbid/_eq_sd.c: Likewise.
3074 * config/libbid/_eq_td.c: Likewise.
3075 * config/libbid/_ge_dd.c: Likewise.
3076 * config/libbid/_ge_sd.c: Likewise.
3077 * config/libbid/_ge_td.c: Likewise.
3078 * config/libbid/_gt_dd.c: Likewise.
3079 * config/libbid/_gt_sd.c: Likewise.
3080 * config/libbid/_gt_td.c: Likewise.
3081 * config/libbid/_isinfd128.c: Likewise.
3082 * config/libbid/_isinfd32.c: Likewise.
3083 * config/libbid/_isinfd64.c: Likewise.
3084 * config/libbid/_le_dd.c: Likewise.
3085 * config/libbid/_le_sd.c: Likewise.
3086 * config/libbid/_le_td.c: Likewise.
3087 * config/libbid/_lt_dd.c: Likewise.
3088 * config/libbid/_lt_sd.c: Likewise.
3089 * config/libbid/_lt_td.c: Likewise.
3090 * config/libbid/_mul_dd.c: Likewise.
3091 * config/libbid/_mul_sd.c: Likewise.
3092 * config/libbid/_mul_td.c: Likewise.
3093 * config/libbid/_ne_dd.c: Likewise.
3094 * config/libbid/_ne_sd.c: Likewise.
3095 * config/libbid/_ne_td.c: Likewise.
3096 * config/libbid/_sd_to_dd.c: Likewise.
3097 * config/libbid/_sd_to_df.c: Likewise.
3098 * config/libbid/_sd_to_di.c: Likewise.
3099 * config/libbid/_sd_to_sf.c: Likewise.
3100 * config/libbid/_sd_to_si.c: Likewise.
3101 * config/libbid/_sd_to_td.c: Likewise.
3102 * config/libbid/_sd_to_tf.c: Likewise.
3103 * config/libbid/_sd_to_udi.c: Likewise.
3104 * config/libbid/_sd_to_usi.c: Likewise.
3105 * config/libbid/_sd_to_xf.c: Likewise.
3106 * config/libbid/_sf_to_dd.c: Likewise.
3107 * config/libbid/_sf_to_sd.c: Likewise.
3108 * config/libbid/_sf_to_td.c: Likewise.
3109 * config/libbid/_si_to_dd.c: Likewise.
3110 * config/libbid/_si_to_sd.c: Likewise.
3111 * config/libbid/_si_to_td.c: Likewise.
3112 * config/libbid/_td_to_dd.c: Likewise.
3113 * config/libbid/_td_to_df.c: Likewise.
3114 * config/libbid/_td_to_di.c: Likewise.
3115 * config/libbid/_td_to_sd.c: Likewise.
3116 * config/libbid/_td_to_sf.c: Likewise.
3117 * config/libbid/_td_to_si.c: Likewise.
3118 * config/libbid/_td_to_tf.c: Likewise.
3119 * config/libbid/_td_to_udi.c: Likewise.
3120 * config/libbid/_td_to_usi.c: Likewise.
3121 * config/libbid/_td_to_xf.c: Likewise.
3122 * config/libbid/_tf_to_dd.c: Likewise.
3123 * config/libbid/_tf_to_sd.c: Likewise.
3124 * config/libbid/_tf_to_td.c: Likewise.
3125 * config/libbid/_udi_to_dd.c: Likewise.
3126 * config/libbid/_udi_to_sd.c: Likewise.
3127 * config/libbid/_udi_to_td.c: Likewise.
3128 * config/libbid/_unord_dd.c: Likewise.
3129 * config/libbid/_unord_sd.c: Likewise.
3130 * config/libbid/_unord_td.c: Likewise.
3131 * config/libbid/_usi_to_dd.c: Likewise.
3132 * config/libbid/_usi_to_sd.c: Likewise.
3133 * config/libbid/_usi_to_td.c: Likewise.
3134 * config/libbid/_xf_to_dd.c: Likewise.
3135 * config/libbid/_xf_to_sd.c: Likewise.
3136 * config/libbid/_xf_to_td.c: Likewise.
3137 * config/libbid/bid128.c: Likewise.
3138 * config/libbid/bid128_2_str.h: Likewise.
3139 * config/libbid/bid128_2_str_macros.h: Likewise.
3140 * config/libbid/bid128_2_str_tables.c: Likewise.
3141 * config/libbid/bid128_add.c: Likewise.
3142 * config/libbid/bid128_compare.c: Likewise.
3143 * config/libbid/bid128_div.c: Likewise.
3144 * config/libbid/bid128_fma.c: Likewise.
3145 * config/libbid/bid128_logb.c: Likewise.
3146 * config/libbid/bid128_minmax.c: Likewise.
3147 * config/libbid/bid128_mul.c: Likewise.
3148 * config/libbid/bid128_next.c: Likewise.
3149 * config/libbid/bid128_noncomp.c: Likewise.
3150 * config/libbid/bid128_quantize.c: Likewise.
3151 * config/libbid/bid128_rem.c: Likewise.
3152 * config/libbid/bid128_round_integral.c: Likewise.
3153 * config/libbid/bid128_scalb.c: Likewise.
3154 * config/libbid/bid128_sqrt.c: Likewise.
3155 * config/libbid/bid128_string.c: Likewise.
3156 * config/libbid/bid128_to_int16.c: Likewise.
3157 * config/libbid/bid128_to_int32.c: Likewise.
3158 * config/libbid/bid128_to_int64.c: Likewise.
3159 * config/libbid/bid128_to_int8.c: Likewise.
3160 * config/libbid/bid128_to_uint16.c: Likewise.
3161 * config/libbid/bid128_to_uint32.c: Likewise.
3162 * config/libbid/bid128_to_uint64.c: Likewise.
3163 * config/libbid/bid128_to_uint8.c: Likewise.
3164 * config/libbid/bid32_to_bid128.c: Likewise.
3165 * config/libbid/bid32_to_bid64.c: Likewise.
3166 * config/libbid/bid64_add.c: Likewise.
3167 * config/libbid/bid64_compare.c: Likewise.
3168 * config/libbid/bid64_div.c: Likewise.
3169 * config/libbid/bid64_fma.c: Likewise.
3170 * config/libbid/bid64_logb.c: Likewise.
3171 * config/libbid/bid64_minmax.c: Likewise.
3172 * config/libbid/bid64_mul.c: Likewise.
3173 * config/libbid/bid64_next.c: Likewise.
3174 * config/libbid/bid64_noncomp.c: Likewise.
3175 * config/libbid/bid64_quantize.c: Likewise.
3176 * config/libbid/bid64_rem.c: Likewise.
3177 * config/libbid/bid64_round_integral.c: Likewise.
3178 * config/libbid/bid64_scalb.c: Likewise.
3179 * config/libbid/bid64_sqrt.c: Likewise.
3180 * config/libbid/bid64_string.c: Likewise.
3181 * config/libbid/bid64_to_bid128.c: Likewise.
3182 * config/libbid/bid64_to_int16.c: Likewise.
3183 * config/libbid/bid64_to_int32.c: Likewise.
3184 * config/libbid/bid64_to_int64.c: Likewise.
3185 * config/libbid/bid64_to_int8.c: Likewise.
3186 * config/libbid/bid64_to_uint16.c: Likewise.
3187 * config/libbid/bid64_to_uint32.c: Likewise.
3188 * config/libbid/bid64_to_uint64.c: Likewise.
3189 * config/libbid/bid64_to_uint8.c: Likewise.
3190 * config/libbid/bid_b2d.h: Likewise.
3191 * config/libbid/bid_binarydecimal.c: Likewise.
3192 * config/libbid/bid_conf.h: Likewise.
3193 * config/libbid/bid_convert_data.c: Likewise.
3194 * config/libbid/bid_decimal_data.c: Likewise.
3195 * config/libbid/bid_decimal_globals.c: Likewise.
3196 * config/libbid/bid_div_macros.h: Likewise.
3197 * config/libbid/bid_dpd.c: Likewise.
3198 * config/libbid/bid_flag_operations.c: Likewise.
3199 * config/libbid/bid_from_int.c: Likewise.
3200 * config/libbid/bid_functions.h: Likewise.
3201 * config/libbid/bid_gcc_intrinsics.h: Likewise.
3202 * config/libbid/bid_inline_add.h: Likewise.
3203 * config/libbid/bid_internal.h: Likewise.
3204 * config/libbid/bid_round.c: Likewise.
3205 * config/libbid/bid_sqrt_macros.h: Likewise.
3206
32072009-04-09 Jakub Jelinek <jakub@redhat.com>
3208
3209 * Makefile.in: Change copyright header to refer to version
3210 3 of the GNU General Public License and to point readers at the
3211 COPYING3 file and the FSF's license web page.
3212 * config.host: Likewise.
3213
4e5e2802 32142009-04-07 Alan Modra <amodra@bigpond.net.au>
3215
3216 * config.host: Reorder and merge to match config.gcc change.
3217
8d40ea45 32182009-04-03 Alan Modra <amodra@bigpond.net.au>
3219
3220 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
3221
f2397fc4 32222009-03-28 Joseph Myers <joseph@codesourcery.com>
3223
3224 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
3225 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
3226 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
3227 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
3228
24200b28 32292009-02-12 Uros Bizjak <ubizjak@gmail.com>
3230
3231 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
3232 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
3233
8b21beb2 32342009-02-12 H.J. Lu <hongjiu.lu@intel.com>
3235
24200b28 3236 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
3237 ia64/t-softfp-compat to tmake_file.
8b21beb2 3238
3239 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
3240
3241 * config/ia64/__divxf3.asm: New.
3242 * config/ia64/_fixtfdi.asm: Likewise.
3243 * config/ia64/_fixunstfdi.asm: Likewise.
3244 * config/ia64/_floatditf.asm: Likewise.
3245 * config/ia64/t-fprules-softfp: Likewise.
3246 * config/ia64/t-softfp-compat: Likewise.
3247 * config/ia64/tf-signs.c: Likewise.
3248
9df8be69 32492009-01-18 Ben Elliston <bje@au.ibm.com>
3250
3251 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
3252
f2b540ae 32532009-01-16 Ben Elliston <bje@au.ibm.com>
3254
3255 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
3256 to tmake_file.
3257
5790f80a 32582009-01-13 Ben Elliston <bje@au.ibm.com>
3259
3260 * config/t-softfp: New file.
3261 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
3262 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
3263
b8138586 32642009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
3265
3266 * config.host: Add m32r*-*-rtems*.
3267
7eac0a4e 32682008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
3269
3270 * config.host: Add m32c*-*-rtems*.
3271
03150a33 32722008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3273
3274 PR bootstrap/33100
3275 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
3276 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
3277 * configure: Regenerate.
3278 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
3279 tmake_file here from gcc/config.gcc.
3280 Move extra_parts here from gcc/config.gcc.
3281 * config/i386/t-sol2: Move here from gcc/config/i386.
3282 Use gcc_srcdir instead of srcdir.
3283
77a32a8e 32842008-11-18 Adam Nemet <anemet@caviumnetworks.com>
3285
3286 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
3287 case.
3288
1eab96a6 32892008-11-09 Thomas Schwinge <tschwinge@gnu.org>
3290
3291 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
3292
74cd9df8 32932008-10-08 Thomas Schwinge <tschwinge@gnu.org>
3294
3295 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
3296
8372e9ea 32972008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
3298
3299 Add picoChip port.
3300 * config.host: Add picochip-*-*.
3301
75c7ffbc 33022008-08-06 Bob Wilson <bob.wilson@acm.org>
3303
3304 * config.host: Match more processor names for Xtensa.
3305
fb4830c6 33062008-07-08 H.J. Lu <hongjiu.lu@intel.com>
3307
3308 * config/i386/64/t-softfp-compat: Update comments.
3309
7c92db45 33102008-07-07 H.J. Lu <hongjiu.lu@intel.com>
3311
3312 * config/i386/64/_divtc3-compat.c: Moved to ...
3313 * config/i386/64/_divtc3.c: Here.
3314
3315 * config/i386/64/_multc3-compat.c: Moved to ...
3316 * config/i386/64/_multc3.c: Here.
3317
3318 * config/i386/64/_powitf2-compat.c: Moved to ...
3319 * config/i386/64/_powitf2.c: Here.
3320
3321 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
3322 .c suffix instead of -compat.c.
3323
ec2e6a4e 33242008-07-05 Uros Bizjak <ubizjak@gmail.com>
3325
3326 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
3327 (_FP_MUL_MEAT_D): Ditto.
3328 (_FP_DIV_MEAT_S): Ditto.
3329 (_FP_DIV_MEAT_D): Ditto.
3330
fdbb505a 33312008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
3332
3333 * Makefile.in: Add support for __sync_* libgcc functions.
3334
310c48f2 33352008-07-03 H.J. Lu <hongjiu.lu@intel.com>
3336
3337 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
3338
144633f4 33392008-07-02 H.J. Lu <hongjiu.lu@intel.com>
3340
3341 PR boostrap/36702
3342 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
3343 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
3344
3345 * config/i386/64/t-fprules-softfp: Moved to ...
3346 * config/i386/64/t-softfp-compat: This. New.
3347
e25ffafe 33482008-07-02 Uros Bizjak <ubizjak@gmail.com>
3349
3350 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
3351 Initialize f with 0.0.
3352
b3fd46a0 33532008-07-02 H.J. Lu <hongjiu.lu@intel.com>
3354
3355 PR target/36669
3356 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
3357
3358 * config/i386/64/_divtc3-compat.c: New.
3359 * config/i386/64/_multc3-compat.c: Likewise.
3360 * config/i386/64/_powitf2-compat.c: Likewise.
3361 * config/i386/64/eqtf2.c: Likewise.
3362 * config/i386/64/getf2.c: Likewise.
3363 * config/i386/64/letf2.c: Likewise.
3364 * config/i386/64/t-fprules-softfp: Likewise.
3365
33662008-07-02 H.J. Lu <hongjiu.lu@intel.com>
3367
3368 * config.host: Add i386/${host_address}/t-fprules-softfp to
3369 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
1d7e299f 3370 i[34567]86-*-linux*, x86_64-*-linux*.
b3fd46a0 3371
3372 * configure.ac: Set host_address to 64 or 32 for x86.
3373 * configure: Regenerated.
3374
3375 * Makefile.in (config.status): Also depend on
3376 $(srcdir)/config.host.
3377
3378 * config/i386/32/t-fprules-softfp: New.
3379 * config/i386/32/tf-signs.c: Likewise.
3380
3381 * config/i386/64/sfp-machine.h: New. Moved from gcc.
3382
33832008-07-02 H.J. Lu <hongjiu.lu@intel.com>
3384 Uros Bizjak <ubizjak@gmail.com>
3385
3386 * config/i386/32/sfp-machine.h: New.
3387
eaef9489 33882008-06-26 Nathan Froyd <froydnj@codesourcery.com>
3389
3390 * config/rs6000/t-ppccomm: Remove rules that conflict with
3391 auto-generated rules.
3392
5b2c7553 33932008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3394
3395 * configure.ac: sinclude override.m4.
3396 * configure: Regenerate.
3397
dde02e56 33982008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
3399
3400 * configure: Regenerate.
3401
4d6f3aad 34022008-06-10 Joseph Myers <joseph@codesourcery.com>
3403
3404 * Makefile.in (DECNUMINC): Remove
3405 -I$(MULTIBUILDTOP)../../libdecnumber.
3406 * gstdint.h: New.
3407
6af9f7ea 34082008-06-07 Joseph Myers <joseph@codesourcery.com>
3409
3410 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
3411 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
3412 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
3413 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
3414 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
3415 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
3416 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
3417 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
3418 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
3419 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
3420 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
3421 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
3422 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
3423 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
3424
ccf1c0f1 34252008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
3426
3427 * config.host (sh2[lbe]*-*-linux*): Allow target.
3428
19872d0b 34292008-04-30 Nathan Froyd <froydnj@codesourcery.com>
3430
3431 * config/rs6000/t-ppccomm: Add build rules for new files.
3432 (LIB2ADD_ST): New variable.
3433
38dd5584 34342008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
3435
3436 PR target/34210
3437 PR target/35508
3438 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
3439 * config/t-avr: New file. Build 16bit libgcc functions.
3440
8e5da69c 34412008-03-02 Jakub Jelinek <jakub@redhat.com>
3442
3443 PR target/35401
3444 * config/t-slibgcc-darwin: Make install-leaf dependent on
3445 install-darwin-libgcc-stubs instead of install.
3446
99c77e32 34472008-01-25 Joseph Myers <joseph@codesourcery.com>
3448
3449 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
3450 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
3451 sh-*-rtemscoff*): Remove cases.
3452
8237872e 34532007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
3454
3455 * Makefile.in (all): Use install-leaf rather than install.
3456 (install): Split most of the rule into...
3457 (install-leaf): ...this new one.
3458
00a05b87 34592007-12-19 Etsushi Kato <ek.kato@gmail.com>
3460 Paolo Bonzini <bonzini@gnu.org>
3461
3462 PR target/30572
e25ffafe 3463 * Makefile.in: Use @shlib_slibdir@ substitution to get
3464 correct install name on darwin.
00a05b87 3465 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
1d7e299f 3466
877d7f12 34672007-12-15 Hans-Peter Nilsson <hp@axis.com>
3468
3469 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
3470 cris-*-elf and cris-*-none.
3471 (crisv32-*-linux*): Similar, as cris-*-linux*.
3472
75612461 34732007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
3474
3475 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
3476
f11b4169 34772007-10-27 H.J. Lu <hongjiu.lu@intel.com>
3478
3479 PR regression/33926
3480 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
3481 * configure: Regenerated.
3482
84d1fc49 34832007-09-27 H.J. Lu <hongjiu.lu@intel.com>
3484
3485 * Makefile.in (dfp-filenames): Replace decimal_globals,
3486 decimal_data, binarydecimal and convert_data with
3487 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
3488 and bid_convert_data, respectively.
3489
3ac0842f 34902007-09-17 Chao-ying Fu <fu@mips.com>
3491 Nigel Stephens <nigel@mips.com>
3492
3493 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
3494 * Makefile.in (fixed_point): Define.
3495 Check if fixed_point is yes to build support functions.
3496 * configure.ac: Check for fixed_point support.
3497 * configure: Regenerated.
3498 * gen-fixed.sh: New file to generate lists of fixed-point labels,
3499 funcs, modes, from, to.
3500
8c72b2f9 35012007-09-11 Janis Johnson <janis187@us.ibm.com
3502
3503 * Makefile.in (dfp-filenames): Add bid128_noncomp.
3504
c8ac5d9a 35052007-09-10 Janis Johnson <janis187@us.ibm.com>
3506
3507 * Makefile.in (dfp-filenames): Remove decUtility, add
3508 decDouble, decPacked, decQuad, decSingle.
3509
cc8ebe39 35102007-08-27 Hans Kester <hans.kester@ellips.nl>
3511
3512 * config.host : Add x86_64-elf target.
3513
db1c99de 35142007-07-06 H.J. Lu <hongjiu.lu@intel.com>
3515
3516 * configure.ac (set_have_cc_tls): Add a missing =.
3517 * configure: Regenerated.
3518
e4cbe54f 35192007-07-06 H.J. Lu <hongjiu.lu@intel.com>
3520
3521 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
3522 and x86_64-*-linux*.
3523
3524 * config/t-tls: New file.
3525
1d7e299f 3526 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
e4cbe54f 3527
3528 * configure.ac: Include ../config/enable.m4 and
3529 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
3530 supports TLS and substitute set_have_cc_tls.
3531 * configure: Regenerated.
3532
9b6b0236 35332007-07-04 H.J. Lu <hongjiu.lu@intel.com>
3534
3535 * Makefile.in: Use libbid for DFP when BID is enabled.
3536
9e51385b 35372007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
3538
3539 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
1d7e299f 3540 extra_parts. Add config/i386/t-cygming to tmake_file.
9e51385b 3541 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
3542
8f433c51 35432007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
9b6b0236 3544 Danny Smith <dannysmith@users.sourceforge.net>
8f433c51 3545
3546 PR target/29498
3547 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
3548 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
3549 * config/i386/t-crtfm: Compile crtfastmath.o with
3550 -minline-all-stringops.
3551
723e1902 35522007-05-10 Richard Sandiford <richard@codesourcery.com>
3553
3554 * config.host (sparc-wrs-vxworks): New target.
3555
278e2fd1 35562007-04-14 Kazu Hirata <kazu@codesourcery.com>
3557
3558 * config.host: Recognize fido.
3559
2968d68c 35602007-04-04 Janis Johnson <janis187@us.ibm.com>
3561
3562 * configure: Check host, not target, for decimal float support.
3563
6d057ce8 35642007-04-03 Uros Bizjak <ubizjak@gmail.com>
3565
3566 * config/i386/t-crtpc: New file.
3567 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
e25ffafe 3568 (x86_64-*-linux*): Ditto.
6d057ce8 3569
0bbe9142 35702007-02-30 Kai Tietz <kai.tietz@onevision.com>
3571
3572 * config.host (x86_64-*-mingw*): New target.
3573
10de71e1 35742007-03-23 Michael Meissner <michael.meissner@amd.com>
3575 H.J. Lu <hongjiu.lu@intel.com>
3576
3577 * Makefile.in (enable_decimal_float): New.
3578 (DECNUMINC): Add
3579 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
3580 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
3581 (decbits-filenames): This.
3582 (decbits-objects): New.
3583 (libgcc-objects): Add $(decbits-objects).
3584
3585 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
3586 Substitute enable_decimal_float.
3587 * configure: Regenerated.
3588
7a9b9c95 35892007-03-19 Hans-Peter Nilsson <hp@axis.com>
3590
3591 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
3592
37decb40 35932007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
3594
3595 * Makefile.in (install-info): New dummy target.
3596
bce94ab5 35972007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
3598
3599 * config.host (bfin*-linux-uclibc*): Set extra_parts.
3600
1403bdd1 36012007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
3602
3603 * Makefile.in: Add install-html and install-pdf dummy
3604 targets.
3605
fce64ed4 36062007-02-05 Roger Sayle <roger@eyesopen.com>
3607 Daniel Jacobowitz <dan@codesourcery.com>
3608
3609 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
3610 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
3611 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
3612
4d863ca5 36132007-01-29 Janis Johnson <janis187@us.ibm.com>
3614
3615 * Makefile.in (dec-filenames): Add decExcept.
3616
f0356913 36172007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
3618
3619 PR bootstrap/30469
3620 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
3621 -fprofile-use.
3622
bbdcab13 36232007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
3624
3625 * configure.ac: Add --enable-version-specific-runtime-libs.
3626 Correct $slibdir default.
3627 * configure: Regenerated.
3628
3da0fdbc 36292007-01-23 Joseph Myers <joseph@codesourcery.com>
3630
3631 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
3632
cdca0ab7 36332007-01-21 Andrew Pinski <pinskia@gmail.com>
3634
3635 PR target/30519
3636 * config.host (alpha*-*-linux*): Set extra_parts.
3637
97f1a704 36382007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
3639
3640 * config/sh/t-linux: New.
3641 * config.host (sh*-*-linux*): Set tmake_file.
3642
52617116 36432007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
3644
3645 * Makefile.in (install): Handle multilibs.
3646
c0e5c948 36472007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
3648
3649 * Makefile.in: Added .PHONY entry for documentation targets.
3650
d62e2f2f 36512007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
3652
3653 * Makefile.in: Add empty info, html, dvi, pdf targets.
3654
68cf2994 36552007-01-04 Mike Stump <mrs@apple.com>
3656
3657 * Makefile.in (MAKEINFO): Remove.
3658 (PERL): Likewise.
3659
f534b3b3 36602007-01-04 Paolo Bonzini <bonzini@gnu.org>
3661
3662 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
3663 * configure: Regenerate.
3664 * Makefile.in (host_subdir): Substitute it.
1d7e299f 3665 (gcc_objdir): Use it.
f534b3b3 3666
c11c6ae3 36672007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
3668
3669 * config.host (ia64*-*-linux*): Set tmake_file.
3670
d272bed8 36712007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
3672
3673 * Makefile.in (version): Define.
3674
894a47b4 36752007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
3676 Paolo Bonzini <bonzini@gnu.org>
3677
3678 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
3679 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
3680 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
3681 config/sparc/t-crtfm, config/t-slibgcc-darwin,
3682 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
3683 shared-object.mk, siditi-object.mk, static-object.mk: New files.
3684 * configure: Generated.