]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
* include/bits/stl_algo.h (is_permutation): Add overloads from N3671.
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
1a7dfb13 12013-06-06 Douglas B Rupp <rupp@adacore.com>
2
3 * config.host (arm-wrs-vxworks): Configure with other soft float.
4
60b34f30 52013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
6
7 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
8 (mips64r5900el-*-elf*): New configurations.
9
ebe9cbdb 102013-06-04 Alan Modra <amodra@gmail.com>
11
12 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
13
fbcee6d1 142013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
15
16 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
17
aad33226 182013-05-28 Eric Botcazou <ebotcazou@adacore.com>
19
20 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
21 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
22 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
23
47ab8c10 242013-05-22 Eric Botcazou <ebotcazou@adacore.com>
25
26 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
27 (powerpc-wrs-vxworks): Likewise.
28
34a60aa2 292013-05-22 Eric Botcazou <ebotcazou@adacore.com>
30
31 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
32 signal frames as well.
33 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
34 STACK_BIAS to the CFA offset.
35
be82f7a8 362013-05-17 Richard Henderson <rth@redhat.com>
37
38 PR target/49146
39 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
40 (execute_cfa_program): Use it when storing to fs->regs.
41
bd89d2b6 422013-05-08 Kai Tietz <ktietz@redhat.com>
43
44 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
45 (__deregister_frame_info): Likewise.
46
9e849aff 472013-05-06 Thomas Schwinge <thomas@codesourcery.com>
48
dfa9a36a 49 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
50 NaN's payload.
51
9e849aff 52 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
53
d80dc920 542013-04-25 Alan Modra <amodra@gmail.com>
55
56 * config.host: Match little-endian powerpc-linux.
57
d359df0c 582013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
59
60 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
61 as 'unsigned long long' instead of 'unsigned long'.
62 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
63 'signed long'.
64
912507e5 652013-04-10 Julian Brown <julian@codesourcery.com>
66
67 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
68 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
69 unsigned char/unsigned short.
70 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
71
9dafcef4 722013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
73
74 PR other/55274
75 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
76
11bec6e6 772013-04-04 Meador Inge <meadori@codesourcery.com>
78
79 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
80 computing the location of the link register.
81 (aeabi_uldivmod): Ditto.
82
45d13ef4 832013-03-27 Kai Tietz <ktietz@redhat.com>
84
85 * config.host: Add support for cygwin x64 target.
86 * configure: Regenerated.
87
cad8262b 882013-03-26 Walter Lee <walt@tilera.com>
89
90 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
91 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
92
d2adc174 932013-03-25 Kai Tietz <ktietz@redhat.com>
94
95 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
96
a5487e41 972013-03-20 Robert Mason <rbmj@verizon.net>
98
99 * config/vxlib-tls.c (__gthread_get_tsd_data,)
100 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
101 (__gthread_leave_tsd_dtor_context): Add prototypes.
102 (tls_delete_hook): Update.
103
ff9c1bc1 1042013-03-20 Catherine Moore <clm@codesourcery.com>
105 Joseph Myers <joseph@codesourcery.com>
106 Chao-ying Fu <fu@mips.com>
107
108 * config/mips/mips16.S: Don't build for microMIPS.
109 * config/mips/linux-unwind.h: Handle microMIPS frame.
110 * config/mips/crtn.S (fini, init): New labels.
111
228bf2b8 1122013-03-14 Jakub Jelinek <jakub@redhat.com>
113
114 PR tree-optimization/53265
115 * unwind-dw2.c (execute_cfa_program): Avoid
116 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
117 on targets with DWARF_FRAME_REGISTERS < 32.
118
bb057878 1192013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
120
121 PR target/49880
122 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
123 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
124
a1b2a524 1252013-03-07 Sriraman Tallam <tmsriram@google.com>
126
127 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
128 sandybridge processors.
129
9fe603c3 1302013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
131
132 PR target/56529
133 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
134 inclusion list.
135
02f4bd0d 1362013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
137
138 * config/microblaze/crti.S: Setup stack protection at entry
139
958069e9 1402013-03-04 Georg-Johann Lay <avr@gjlay.de>
141
142 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
143 (__rotldi3): Shift bytewise if applicable.
144
49be16da 1452013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
146
147 * config/aarch64/sync-cache.c
148 (__aarch64_sync_cache_range): Silence warnings.
149
ca7a473f 1502013-02-25 Catherine Moore <clm@codesourcery.com>
151
152 Revert:
153 2013-02-24 Catherine Moore <clm@codesourcery.com>
154 Joseph Myers <joseph@codesourcery.com>
155 Chao-ying Fu <fu@mips.com>
156
157 * config/mips/mips16.S: Don't build for microMIPS.
158 * config/mips/linux-unwind.h: Handle microMIPS frame.
159 * config/mips/crtn.S (fini, init): New labels.
160
7fd93f9c 1612013-02-24 Catherine Moore <clm@codesourcery.com>
162 Joseph Myers <joseph@codesourcery.com>
163 Chao-ying Fu <fu@mips.com>
164
165 * config/mips/mips16.S: Don't build for microMIPS.
166 * config/mips/linux-unwind.h: Handle microMIPS frame.
167 * config/mips/crtn.S (fini, init): New labels.
168
1859244f 1692012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
170 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
171 as dividend.
172
2a0bfd56 1732013-02-16 Alan Modra <amodra@gmail.com>
174
175 PR target/55431
176 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
177 (ppc_fallback_frame_state): Always set up save locations for fp
178 and altivec. Don't bother with non-callee-saved regs, r0-r13
179 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
180
cfbcb7d5 1812013-02-12 Georg-Johann Lay <avr@gjlay.de>
182
183 PR target/54222
184 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
185 _ssmulHA, _ssmulSA.
186 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
187 _ssmulha3, _usmulusa3, _ssmulsa3.
188 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
189 (__muldi3): XCALL __muldi3_6 instead of rcall.
190 (__umulsidi3, __mulsidi3): New functions.
191 (do_prologue_saves, do_epilogue_restores): New .macros.
192 (__divdi3_moddi3): Use them.
193 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
194 (__usmulusa3, __ssmulsa3): New functions.
195
48b8e70a 1962013-02-11 Iain Sandoe <iain@codesourcery.com>
197 Jack Howarth <howarth@bromo.med.uc.edu>
198 Patrick Marlier <patrick.marlier@gmail.com>
199
200 PR libitm/55693
201 * config/darwin-crt-tm.c: Remove dummy functions hack.
202
eafea251 2032013-02-08 Georg-Johann Lay <avr@gjlay.de>
204
205 PR target/54222
206 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
207 * config/avr/lib2-object.mk: New iterator to build objects from it.
208 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
209 lib2funcs.c.
210 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
211 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
212 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
213 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
214 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
215 * config/avr/lib1funcs-fixed.S: Implement them.
216
64b7b462 2172013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
218
219 Update copyright years.
220
a8af2dd5 2212013-02-01 David Edelsohn <dje.gcc@gmail.com>
222
223 PR target/54601
224 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
225 Add crtcxa to extra_parts.
226 * config/rs6000/exit.h: New file.
227 * config/rs6000/cxa_atexit.c: New file.
228 * config/rs6000/cxa_finalize.c: New file.
229 * config/rs6000/crtcxa.c: New file.
230 * config/rs6000/t-aix-cxa: New file.
231 * config/rs6000/libgcc-aix-cxa.ver: New file.
232
9a5788ea 2332013-01-31 Nick Clifton <nickc@redhat.com>
234
235 * config/v850/lib1funcs.S: Add support for e3v5 architecture
236 variant.
237
63c85bd5 2382013-01-29 Georg-Johann Lay <avr@gjlay.de>
239
240 PR target/54222
241 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
242 _mulQQ, _mulHQ, _mulHA, _mulSA,
243 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
244 _divQQ, _divHQ, _divHA, _divSA,
245 _divUQQ, _divUHQ, _divUHA, _divUSA.
246
c48df545 2472013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
248
9a5788ea 249 * config.host(microblaze*-linux*): tmake_file: Remove
c48df545 250 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
251 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
252 to exclude functions from being built with libgcc.c and use
253 the microblaze assembly.
254
98f2ac05 2552013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
256
257 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
258 extra_parts.
259
ee4d7d9e 2602013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
261
262 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
263 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
264 __UINTPTR_TYPE__; also cast 'base' to the same type before the
265 alignment operation.
266
7deea711 2672013-01-15 Sofiane Naci <sofiane.naci@arm.com>
268
269 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
270 loop start address for cache clearing.
271
0dff9558 2722013-01-14 Georg-Johann Lay <avr@gjlay.de>
273
274 * config/avr/lib1funcs.S: Remove trailing blanks.
275 * config/avr/lib1funcs-fixed.S: Ditto.
276
d8ff1e9a 2772013-01-14 Georg-Johann Lay <avr@gjlay.de>
278
279 * config/avr/avr-lib.h: Add GPL copyright notice.
280
dd509879 2812013-01-14 Georg-Johann Lay <avr@gjlay.de>
282
283 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
284 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
285 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
286 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
287
6e029611 2882013-01-07 Mark Kettenis <kettenis@openbsd.org>
289
290 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
291 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
51918e06 292
409ad634 2932013-01-04 Nick Clifton <nickc@redhat.com>
294
295 * config/v850/lib1funcs.S: Only provide CALLT support functions if
296 the CALLT instruction is supported.
297
1d384e02 2982012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
299
300 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
301 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
302
cc4b03ac 3032012-12-13 John Tytgat <John@bass-software.com>
304
305 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
306 is 25.
307
990457e2 3082012-12-12 Jakub Jelinek <jakub@redhat.com>
309
310 PR libgcc/55451
311 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
312 undefined signed overflows.
313
db6a9a70 3142012-12-09 Uros Bizjak <ubizjak@gmail.com>
315
316 PR target/55344
317 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
318
038a6cd9 3192012-12-06 Uros Bizjak <ubizjak@gmail.com>
320
321 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
322 (FP_TRAPPING_EXCEPTIONS): Define.
323 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
324 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
325
ef5f15fb 3262012-12-04 Richard Henderson <rth@redhat.com>
327
328 PR bootstrap/55571
329 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
330
09ef8b8d 3312012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
332
038a6cd9 333 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
09ef8b8d 334 (FP_EX_SHIFT): Define.
335 (FP_TRAPPING_EXCEPTIONS): Define.
336
1caca546 3372012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
338
339 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
340 (FP_ROUNDMODE): Use FP_RND_MASK.
341 * config/aarch64/sfp-exceptions.c: New.
342 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
343 Use __sfp_handle_exceptions.
344
6a11e52b 3452012-12-04 Richard Earnshaw <rearnsha@arm.com>
346
347 * config.host: (arm*-*-freebsd*): Remove.
348 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
349 (arm*-*-elf*): Remove.
350 (arm*-*-wince-pe*): Remove.
351 * arm/unwind-arm.c (struct fpa_reg): Delete.
352 (struct fpa_regs): Delete.
353 (phase1_vrs): Remove fpa element.
354 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
355 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
356 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
357 * ieee754-sf.S (floatundisf): Remove FPA support.
358 (floatdisf): Likewise.
359 * ieee75f-df.S (floatundidf): Likewise.
360 (floatdidf): Likewise.
361
a92cf445 3622012-11-29 Kai Tietz <ktietz@redhat.com>
363
364 PR target/55445
365 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
366 * unwind-generic.h: Likewise.
367 * unwind-seh.c: Likewise.
368
f0b6dfa6 3692012-11-28 Richard Henderson <rth@redhat.com>
370
371 PR libgcc/48076
372 * emutls.c (__emutls_get_address): Avoid race condition between
373 obj->loc.offset read and emutls_key initialization.
038a6cd9 374
c8ec4eb6 3752012-11-22 Georg-Johann Lay <avr@gjlay.de>
376
377 Adjust decimal point of signed accum mode to GCC default.
378
379 PR target/54222
380 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
381 _divqq_helper.
382 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
383 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
384 (__mulha3, __mulsa3)
385 (__divqq3, __divha3, __divsa3): Adjust to new position of
038a6cd9 386 decimal point of signed accum types.
387
c8ec4eb6 388 (__mulusa3_round): New function.
389 (__mulusa3): Use it.
390 (__divqq_helper): New function.
391 (__udivuqq3): Use it.
392
ca8c4cb9 3932012-11-20 Jakub Jelinek <jakub@redhat.com>
394
395 PR bootstrap/55370
396 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
397
5d2fca09 3982012-11-18 Teresa Johnson <tejohnson@google.com>
399
400 PR bootstrap/55051
401 * libgcov.c (gcov_exit): Remove merged program summary
402 comparison unless !GCOV_LOCKED.
403
bfc20a3e 4042012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
405
406 * soft-fp: Updated from glibc upstream.
407
20f6e7a3 4082012-11-06 Ian Lance Taylor <iant@google.com>
409
410 * generic-morestack.c (__generic_morestack): Align the returned
411 stack pointer to a 32 byte boundary.
412 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
413 increment the return address until we have decided that we don't
414 have a varargs function.
415 (__morestack) [32-bit]: Align stack correctly when calling C
416 functions.
417 (__morestack) [64-bit]: Likewise.
418
97bd2465 4192012-11-04 Thomas Schwinge <thomas@codesourcery.com>
420
421 * configure: Regenerate.
422
d152ae90 4232012-11-02 Uros Bizjak <ubizjak@gmail.com>
424
425 PR target/55175
426 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
427 * config/i386/sfp-machine.h: Guard exception handling
428 code with _SOFT_FLOAT.
429 * config/i386/32/sfp-machine.h: Guard rounding handling
430 code with _SOFT_FLOAT.
431 * config/i386/64/sfp-machine.h: Ditto.
432
0cd8c088 4332012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
434
435 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
436 as extra_parts.
437
113702f6 4382012-10-26 Uros Bizjak <ubizjak@gmail.com>
439
440 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
441 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
442 when appropriate. Correct structure element types.
443 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
444 -minline-all-stringops from compile flags.
445
00b706f9 4462012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
447
448 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
449
57380e33 4502012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
451
113702f6 452 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
57380e33 453
a2397d15 4542012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
455
456 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
457 tmake_file.
458
1b3d2097 4592012-10-23 Ian Bolton <ian.bolton@arm.com>
460 Jim MacArthur <jim.macarthur@arm.com>
461 Marcus Shawcroft <marcus.shawcroft@arm.com>
462 Nigel Stephens <nigel.stephens@arm.com>
463 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
464 Richard Earnshaw <rearnsha@arm.com>
465 Sofiane Naci <sofiane.naci@arm.com>
466 Stephen Thomas <stephen.thomas@arm.com>
467 Tejas Belagod <tejas.belagod@arm.com>
468 Yufeng Zhang <yufeng.zhang@arm.com>
469
470 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
471 * config/aarch64/crti.S: New file.
472 * config/aarch64/crtn.S: New file.
473 * config/aarch64/linux-unwind.h: New file.
474 * config/aarch64/sfp-machine.h: New file.
475 * config/aarch64/sync-cache.c: New file.
476 * config/aarch64/t-aarch64: New file.
477 * config/aarch64/t-softfp: New file.
478
cfdcf688 4792012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
480
481 * config/mmix/crti.S: Mark program and data addresses using PRELD.
482 Remove typo'd and unnecessary alignment-LOC for .data. Remove
483 no-longer-needed LDBU insns.
484
598ebe3d 4852012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
486
487 * config.host
488 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
489 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
490
530c2b2e 4912012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
492
493 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
494
f49eb158 4952012-10-15 Matthias Klose <doko@ubuntu.com>
496
497 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
498
017f22df 4992012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
500
501 * configure: Regenerate.
502 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
503
da8b7497 5042012-10-10 Uros Bizjak <ubizjak@gmail.com>
505
506 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
507 instructions for 64bit targets only.
508
19a23012 5092012-10-10 Uros Bizjak <ubizjak@gmail.com>
510
511 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
512 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
513 * config/i386/32/sfp-machine.h: ... here.
514 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
515 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
516 New defines.
517
a32dc74a 5182012-10-07 Matthias Klose <doko@ubuntu.com>
519
520 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
521 as unused.
522 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
523
81ae3d37 5242012-10-06 Mark Kettenis <kettenis@openbsd.org>
525
526 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
527 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
528 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
529 (ElfW): Likewise.
530
4e6a7cfc 5312012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
532
533 PR other/53889
534 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
535 Fix parameter names.
536
7cc401e3 5372012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
538
539 PR target/33135
540 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
541 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
542 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
543
cfaba078 5442012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
545
546 PR target/50457
547 * config/sh/linux-atomic.S: Delete.
548 * config/sh/linux-atomic.c: New.
549 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
550 linux-atomic.c. Add cflags to disable warnings.
551
4854adab 5522012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
553
554 PR other/53889
555 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
556 function.
557 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
558 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
559 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
560 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
4e6a7cfc 561 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
562 Likewise.
4854adab 563 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
564 Likewise.
565 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
566 Likewise.
567 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
568 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
569
07cf7615 5702012-09-19 Mark Kettenis <kettenis@openbsd.org>
571
cfaba078 572 * config.host (hppa-*-openbsd*): New target.
573 * config/pa/t-openbsd: New file.
07cf7615 574
b4ebb666 5752012-09-15 Georg-Johann Lay <avr@gjlay.de>
576
577 PR target/54222
578 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
579 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
580 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
581 (__divsa3): Use __negsi2 to negate r_quoL.
582 * config/avr/lib1funcs.S (FALIAS): New macro.
583 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
584 (__negsi2): ...this new function.
585 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
586 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
587 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
588 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
589 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
590 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
591
6e7c6395 5922012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
593
594 PR target/54089
595 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
596 (lshrsi3): Reimplement as lshrsi3_r0.
597
5e847ded 5982012-09-10 Andreas Schwab <schwab@linux-m68k.org>
599
600 PR target/46191
601 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
602 of libgcc.a.
603
7995ce5f 6042012-09-07 Teresa Johnson <tejohnson@google.com>
605
cfaba078 606 PR gcov-profile/54487
7995ce5f 607 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
cfaba078 608 differences.
7995ce5f 609
fd28e216 6102012-09-05 Georg-Johann Lay <avr@gjlay.de>
611
612 PR target/54461
613 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
614 not configured --with-avrlibc=no.
615 * config/avr/t-avrlibc: New file.
616 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
617 (DPBIT_FUNCS): Ditto.
618 (TPBIT_FUNCS): Ditto.
619
2688cb90 6202012-09-04 Teresa Johnson <tejohnson@google.com>
621
622 * libgcov.c (struct gcov_summary_buffer): New structure.
623 (gcov_histogram_insert): New function.
624 (gcov_compute_histogram): Ditto.
625 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
626 histograms during summary merging.
627
51796b3a 6282012-09-01 Mark Kettenis <kettenis@openbsd.org>
629
630 * config.host (x86_64-*-openbsd*): New target.
d152ae90 631
d36db932 6322012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
633
634 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
635 attribute.
636
d87654c8 6372012-08-24 Georg-Johann Lay <avr@gjlay.de>
638
639 PR target/54222
640 * config/avr/t-avr (conv_X): Rename to func_X.
641
017c5b98 6422012-08-24 Georg-Johann Lay <avr@gjlay.de>
643
644 PR target/54222
645 * config/avr/lib1funcs-fixed.S: New file.
646 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
647 after they are used.
648 (neg2, neg4): New macros.
649 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
650 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
651 (__umulhisi3): Speed up MUL variant if there is enough flash.
652 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
653 avr-modes.def.
654 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
655 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
656 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
657 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
658 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
659 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
660 (LIB2FUNCS_EXCLUDE): Add supported functions.
661
65bcd545 6622012-08-22 Georg-Johann Lay <avr@gjlay.de>
663
664 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
665 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
666 libgcc-s-objects.
667 * fixed-obj.mk: Only expand dependency if $o is not in
668 LIB2FUNCS_EXCLUDE.
669
39166195 6702012-08-22 H.J. Lu <hongjiu.lu@intel.com>
671
672 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
673
b78f422e 6742012-08-22 Joseph Myers <joseph@codesourcery.com>
675
676 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
677 depend on --enable-shared.
678 ($(lib1asmfuncs-o)): Use %.vis files independent of
679 --enable-shared.
680 * static-object.mk ($(base)$(objext), $(base).vis)
681 ($(base)_s$(objext)): Use same rules for visibility handling as in
682 shared-object.mk.
683
66ef0f44 6842012-08-21 Ian Lance Taylor <iant@google.com>
685
686 * config/i386/morestack.S (__morestack_non_split): Increase amount
687 of space allocated for non-split code stack.
688
93547515 6892012-08-19 Joseph Myers <joseph@codesourcery.com>
690
691 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
692 even if inhibit_libc.
693
98d22b3c 6942012-08-17 Julian Brown <julian@codesourcery.com>
695
696 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
697 -fexceptions -fnon-call-exceptions if not defined.
698 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
699 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
700
2076ec4b 7012012-08-17 Andreas Schwab <schwab@linux-m68k.org>
702
703 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
704 type.
705
c1420b84 7062012-08-16 David Edelsohn <dje.gcc@gmail.com>
707
708 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
709 rs6000/t-slibgcc-aix.
710
ae5b70d0 7112012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
712
713 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
714
4ff70f1c 7152012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
716
717 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
718
464810a0 7192012-08-03 H.J. Lu <hongjiu.lu@intel.com>
720
721 PR driver/54171
722 * Makefile.in (version): Replace top_srcdir with srcdir.
723
d2c6da38 7242012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
725
726 * Makefile.in (version): set to BASE-VER file from gcc directory.
727
a575acb2 7282012-08-01 Nick Clifton <nickc@redhat.com>
729
730 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
731 Implements __clrsb for an HImode argument.
732
3a44f5e6 7332012-07-31 Nick Clifton <nickc@redhat.com>
734
735 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
736 Implements __clrsb for an HImode argument.
737 * config/stormy16/clrsbhi2.c: New file:
738 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
739
56b17dd7 7402012-07-22 Steven Bosscher <steven@gcc.gnu.org>
741
742 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
743
8ad0b530 7442012-07-19 Tristan Gingold <gingold@adacore.com>
745 Richard Henderson <rth@redhat.com>
746
747 * unwind-seh.c: New file.
748 * unwind-generic.h: Include windows.h for SEH.
749 (_Unwind_Exception): Use 6 private fields for SEH.
750 (_GCC_specific_handler): Declare.
751 * unwind-c.c (__gcc_personality_seh0): New function.
752 Adjust for SEH.
753 * config/i386/libgcc-cygming.ver: New file.
754 * config/i386/t-seh-eh: New file.
755 * config.host (x86_64-*-mingw*): Default to seh.
756
017bf976 7572012-07-14 Steven Bosscher <steven@gcc.gnu.org>
758
759 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
760
6f24586e 7612012-06-17 Uros Bizjak <ubizjak@gmail.com>
762
763 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
764 __builtin_expect when checking for exceptions.
765 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
766
1927db1f 7672012-06-13 Uros Bizjak <ubizjak@gmail.com>
768
7b9088d5 769 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
770 function declaration.
771 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
772 (FP_RND_MASK): New.
773 * config/ia64/sfp-exceptions.c: New.
774 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
1927db1f 775
c3576308 7762012-06-13 Uros Bizjak <ubizjak@gmail.com>
777
778 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
779 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
780 * config/i386/64/sfp-machine: ... (delete here) ...
781 * config/i386/sfp-machine.h: ... to here.
782 (FP_EX_MASK): Remove.
783 (FP_RND_MASK): New.
784 (FP_INIT_ROUNDMODE): Declare asm as volatile.
785
725b956c 7862012-06-11 Sriraman Tallam <tmsriram@google.com>
787
788 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
789 * config/i386/libgcc-sol2.ver: Ditto.
790 * config/i386/libgcc-glibc.ver: Ditto.
791
026e608e 7922012-06-11 Roland McGrath <mcgrathr@google.com>
793
794 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
795 If __GLIBC__ is defined, refer to __pthread_key_create instead of
796 pthread_cancel.
797
2c223cf2 7982012-06-09 Uros Bizjak <ubizjak@gmail.com>
799
800 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
801 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
802 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
803 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
804 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
805 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
806 * config/i386/64/sfp-machine: ... (delete here) ...
807 * config/i386/sfp-machine.h: ... to here.
808 (FP_EX_MASK): New.
809 (__sfp_handle_exceptions): New function declaration.
810 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
811 * config/i386/sfp-exceptions.c: New.
812 * config/i386/t-softfp: New.
813 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
814 i386/t-softfp to tmake_file.
815
620803f2 8162012-06-03 David S. Miller <davem@davemloft.net>
817
818 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
819 change.
820
38ef0978 8212012-05-31 David S. Miller <davem@davemloft.net>
822
823 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
824 multiply and divide instructions on 32-bit when V9.
825 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
826
e1c346e5 8272012-05-29 Joseph Myers <joseph@codesourcery.com>
828
829 * config/arm/ieee754-df.S: Fix typos.
830 * config/arm/ieee754-sf.S: Fix typos.
831 * config/c6x/libunwind.S: Fix typos.
832 * config/epiphany/udivsi3-float.c: Fix typos.
833 * config/microblaze/muldi3_hard.S: Fix typos.
834 * config/picochip/adddi3.S: Fix typos.
835 * config/picochip/ashlsi3.S: Fix typos.
836 * config/picochip/ashrsi3.S: Fix typos.
837 * config/picochip/clzsi2.S: Fix typos.
838 * config/picochip/cmpsi2.S: Fix typos.
839 * config/picochip/divmod15.S: Fix typos.
840 * config/picochip/divmodhi4.S: Fix typos.
841 * config/picochip/divmodsi4.S: Fix typos.
842 * config/picochip/longjmp.S: Fix typos.
843 * config/picochip/lshrsi3.S: Fix typos.
844 * config/picochip/parityhi2.S: Fix typos.
845 * config/picochip/popcounthi2.S: Fix typos.
846 * config/picochip/setjmp.S: Fix typos.
847 * config/picochip/subdi3.S: Fix typos.
848 * config/picochip/ucmpsi2.S: Fix typos.
849 * config/picochip/udivmodhi4.S: Fix typos.
850 * config/picochip/udivmodsi4.S: Fix typos.
851 * config/spu/divv2df3.c: Fix typos.
852 * config/spu/mfc_multi_tag_release.c: Fix typos.
853 * config/spu/mfc_tag_release.c: Fix typos.
854 * configure.ac: Fix typos.
855 * configure: Regenerate.
856
4bb0c596 8572012-05-25 Ian Lance Taylor <iant@google.com>
858
859 * config/i386/morestack.S (__morestack_non_split): Check whether
860 caller is varargs and needs %bp to hold the stack frame on return.
861
05b6028a 8622012-05-25 Olivier Hainque <hainque@adacore.com>
863
864 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
865 sequence in the non pic case on VxWorks.
866
de055a8b 8672012-05-24 Olivier Hainque <hainque@adacore.com>
868
05c265fe 869 * Makefile.in: Move dependency on install-unwind_h from
de055a8b 870 "install-leaf" to "install".
871
511797dd 8722012-05-24 Olivier Hainque <hainque@adacore.com>
873
874 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
875 Use a separate command for stamp removals.
876
c05436a7 8772012-05-21 Andrew Pinski <apinski@cavium.com>
878
879 PR bootstrap/53183
880 * configure.ac: Define the default includes to being none.
881 * configure: Regenerate.
882
0e0bcebd 8832012-05-16 Olivier Hainque <hainque@adacore.com>
884
885 * Makefile.in (install-unwind_h): Rename into ...
886 (install-unwind_h-forbuild): New target.
887 (all): Use it instead of the former install-unwind_h.
888 (install-unwind_h): Reinstate, copy to user install destination
889 for include files, not to the internal gcc object directory one.
890 (install-leaf): Depend on it.
891
4ea72f7b 8922012-05-15 Olivier Hainque <hainque@adacore.com>
893
894 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
895 register numbers. LR_REGNO replaces R_LR.
896 (ucontext_for): New, helper for ...
897 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
898 and 5.3 of ...
899 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
900
98c9b52b 9012012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
902
903 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
904 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
905 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
906 i386/t-cpuinfo ...
907 (i[34567]86-*-*, x86_64-*-*): ... here.
908
909 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
910 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
911
912 * config/i386/i386-cpuinfo.c: Rename to ...
913 * config/i386/cpuinfo.c: ... this.
914 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
915
916 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
917 (libgcc_cv_init_priority): New test.
918 * configure: Regenerate.
919 * config.in: New file.
920 * Makefile.in (clean): Rename config.h to auto-target.h.
921 (config.h): Likewise.
922 (stamp-h): Likewise.
923
924 * config/i386/cpuinfo.c (auto-target.h): Include.
925 (CONSTRUCTOR_PRIORITY): Define.
926 (__cpu_indicator_init): Use it.
927
a7534247 9282012-05-09 H.J. Lu <hongjiu.lu@intel.com>
929
930 * longlong.h: Use a URL instead of an FSF postal address.
931 Replace spaces with tab.
932
7b9088d5 9332012-05-08 Teresa Johnson <tejohnson@google.com>
4ef7becb 934
935 * libgcov.c (gcov_clear, __gcov_reset): New functions.
936 (__gcov_dump): Ditto.
937 (gcov_dump_complete): New global variable.
938 (gcov_exit): Export hidden to enable use in L_gcov_dump.
939 (__gcov_flush): Outline functionality now in gcov_clear.
940 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
941
416e60e6 9422012-04-28 Aurelien Jarno <aurelien@aurel32.net>
943
4bb0c596 944 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
945 (mips*-*-linux*): Include mips/t-tpbit when long double is
946 16 bytes long.
416e60e6 947
d79cfc15 9482012-04-25 Sriraman Tallam <tmsriram@google.com>
949
950 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
951 (get_available_features): New argument. Check for AVX2.
952 (__cpu_indicator_init): Modify call to get_available_features.
953
cef20746 9542012-04-25 Alan Modra <amodra@gmail.com>
955
956 * config/rs6000/crtsavevr.S: New file.
957 * config/rs6000/crtrestvr.S: New file.
958 * config/rs6000/t-savresfgpr: Build the above.
959 * config/rs6000/t-netbsd: Likewise.
960
0a166714 9612012-04-24 Sriraman Tallam <tmsriram@google.com>
962
963 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
964
f0fd108f 9652012-04-24 Sriraman Tallam <tmsriram@google.com>
966
967 * libgcc/config/i386/i386-cpuinfo.c: New file.
968 * libgcc/config/i386/t-cpuinfo: New file.
969 * libgcc/config.host: Include t-cpuinfo.
970 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
971
394bef3f 9722012-04-24 Chao-ying Fu <fu@mips.com>
973
974 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
975
5617a3db 9762012-04-20 Thomas Schwinge <thomas@codesourcery.com>
977
978 struct siginfo vs. siginfo_t
979
980 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
981 siginfo_t instead of struct siginfo.
982 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
983 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
984 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
985 (ia64_handle_unwabi): Likewise.
986 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
987 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
988 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
989 (sh_fallback_frame_state): Likewise.
990 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
991 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
992
49a280b5 9932012-04-02 H.J. Lu <hongjiu.lu@intel.com>
994
995 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
996 system call number.
997
6c760a69 9982012-03-31 Eric Botcazou <ebotcazou@adacore.com>
999
1000 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
1001 if it hasn't been previously saved.
1002
59e4072c 10032012-03-29 H.J. Lu <hongjiu.lu@intel.com>
1004
1005 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
1006 only for glibc.
1007
d32d7e3a 10082012-03-28 Georg-Johann Lay <avr@gjlay.de>
1009
1010 PR target/52737
1011 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
1012 instead of __AVR_HAVE_8BIT_SP__.
1013
6aadb6e2 10142012-03-26 Tristan Gingold <gingold@adacore.com>
1015
1016 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
1017 (unw_table_entry): Use unw_word instead of unsigned long.
1018 (_Unwind_FindTableEntry): Likewise.
1019 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
1020 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
1021 (_Unwind_FindTableEntry): Likewise.
1022 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
1023 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
1024 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
1025 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
1026 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
1027 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
1028 (uw_init_context_1, uw_install_context): Likewise.
1029 (unw_word): Move to unwind-ia64.h
1030
784576c7 10312012-03-26 Tristan Gingold <gingold@adacore.com>
1032
1033 * config/vms/vms-ucrt0.c: Update copyright years.
1034 Add a sanity check.
1035 (___gcc_main_flags): Declare.
1036 (__main): Check flags to remap argv and exit code.
1037 * config.host (*-*-*vms*): Adjust extra_parts.
1038 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
1039 (crt0.o): Add.
1040
483ac460 10412012-03-22 Richard Earnshaw <rearnsha@arm.com>
1042
1043 * arm/lib1funcs.asm (ctzsi2): New function.
1044 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
1045 * arm/t-linux (LIB1ASMFUNCS): Likewise.
1046 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
1047 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
1048 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
1049 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
1050
bdd1ee48 10512012-03-21 Andreas Tobler <andreast@fgznet.ch>
1052
1053 * config.host: Add bits to support powerpc64-*-freebsd*.
1054 * config/rs6000/freebsd-unwind.h: New file.
1055 * config/rs6000/t-freebsd64: New file.
1056
df85f61c 10572012-03-20 Richard Guenther <rguenther@suse.de>
1058
1059 PR gcov-profile/52627
1060 * libgcov.c (init_mx): Fix mutex name.
1061
46da3ce5 10622012-03-16 Tristan Gingold <gingold@adacore.com>
1063
1064 * config/ia64/vms-unwind.h: Remove ulong (and replace
1065 it by unw_reg where used). Define unw_reg with __int64.
1066
264a5d11 10672012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1068
1069 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
1070 Solaris 8 handling.
1071 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
1072 Solaris 8 handling.
1073 (sparc_is_sighandler): Likewise.
1074
42b3e3d6 10752012-03-13 H.J. Lu <hongjiu.lu@intel.com>
1076
1077 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
1078 <= saved reg size.
1079
c2c4377d 10802012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1081
1082 * config/arm/crtn.S: Fix typo.
1083
3f2da048 10842012-03-13 Richard Guenther <rguenther@suse.de>
1085
1086 * libgcov.c: Remove stdio.h include and NULL un-define.
1087
b4e1521f 10882012-03-13 Richard Guenther <rguenther@suse.de>
1089
1090 PR target/52569
1091 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
1092
1d110375 10932012-03-13 Richard Guenther <rguenther@suse.de>
1094
1095 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
1096
0e6ad699 10972012-03-13 Richard Guenther <rguenther@suse.de>
1098
1099 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
1100 and __gthread_mutex_init_function definitions.
1101
1f7e141e 11022012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1103
1104 * config.host (mips*-*-openbsd*): Remove.
1105
126b6848 11062012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1107
1108 * config.host: Remove alpha*-dec-osf5.1* handling.
1109 * config/alpha/gthr-posix.c: Remove.
1110 * config/alpha/libgcc-osf5.ver: Remove.
1111 * config/alpha/osf5-unwind.h: Remove.
1112 * config/alpha/t-osf-pthread: Remove.
1113 * config/alpha/t-slibgcc-osf: Remove.
1114 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
1115 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
1116 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
1117 * mkmap-flat.awk: Remove osf_export handling.
1118
2e7d9be1 11192012-03-12 Richard Guenther <rguenther@suse.de>
1120
1121 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
1122 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
1123 (__gthread_mutex_init_function): New function.
1124 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
1125
1126 PR gcov/49484
1127 * libgcov.c: Include gthr.h.
1128 (__gcov_flush_mx): New global variable.
1129 (init_mx, init_mx_once): New functions.
1130 (__gcov_flush): Protect self with a mutex.
1131 (__gcov_fork): Re-initialize mutex after forking.
1132 * unwind-dw2-fde.c: Change condition under which to use
1133 __GTHREAD_MUTEX_INIT_FUNCTION.
1134
8f852c44 11352012-03-12 Tristan Gingold <gingold@adacore.com>
1136
1137 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
1138 * config/ia64/t-vms: Likewise.
1139
04d5d0ad 11402012-03-11 Michael Hope <michael.hope@linaro.org>
1141
7b9088d5 1142 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
1143 for Thumb-2.
04d5d0ad 1144
3d14844b 11452012-03-07 Walter Lee <walt@tilera.com>
1146
1147 * config/tilepro/atomic.c: Rename "atomic_" prefix to
1148 "arch_atomic_".
1149 (atomic_xor): Rename and move definition to
1150 config/tilepro/atomic.h.
1151 (atomic_nand): Ditto.
1152 * config/tilepro/atomic.h: Rename "atomic_" prefix to
1153 "arch_atomic_".
1154 (arch_atomic_xor): Move from config/tilepro/atomic.c.
1155 (arch_atomic_nand): Ditto.
1156
3abce231 11572012-03-07 Georg-Johann Lay <avr@gjlay.de>
1158
1159 PR target/52507
1160 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
1161
ee3ce577 11622012-03-07 Georg-Johann Lay <avr@gjlay.de>
1163
1164 PR target/52505
1165 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
1166 from RAM.
1167
be20cbdd 11682012-03-07 Georg-Johann Lay <avr@gjlay.de>
1169
1170 PR target/52461
1171 PR target/52508
1172 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
1173 if RAMPZ affects reading from RAM.
1174 (__tablejump_elpm__): Ditto.
1175 (.xload): Ditto.
1176 (__movmemx_hi): Ditto.
1177 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
1178 (__do_global_dtors): Ditto.
1179 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
1180 (__movmemx_hi): Ditto.
1181
e9b46b49 11822012-03-05 Richard Henderson <rth@redhat.com>
1183
1184 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
1185 [ARM] (count_trailing_zeros): Use the builtin.
1186
2da7d23a 11872012-03-01 Kai Tietz <ktietz@redhat.com>
1188
1189 * soft-fp: Imported from glibc upstream.
1190
ed67de04 11912012-02-28 Kai Tietz <ktietz@redhat.com>
1192
1193 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
1194 for mingw-targets as attribute gcc_struct.
1195
154b49cd 11962012-02-28 Ian Lance Taylor <iant@google.com>
1197
1198 * generic-morestack.c (__splitstack_releasecontext): Correct call
1199 to __morestack_release_segments.
1200
8d2259c8 12012012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
1202
1203 PR target/52390
1204 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
1205 for __linux__ when removing signals from __morestack_fullmask.
1206
97e18ae2 12072012-02-23 Georg-Johann Lay <avr@gjlay.de>
1208
1209 PR target/52261
1210 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
1211
c3dd2023 12122012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1213
1214 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
1215 instead of HAVE_INITFINI_ARRAY.
1216 * config/ia64/crtend.S: Likewise.
1217
7ed6dbef 12182012-02-20 Kai Tietz <ktietz@redhat.com>
1219
52cec843 1220 PR libstdc++/52300
1221 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
1222
7ed6dbef 1223 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
1224 to w32-unwind.h header.
1225
6a8f7b8b 12262012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
1227
1228 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
1229 (mips*-*-linux*): Remove t-slibgcc-libgcc.
1230 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
1231 * config/mips/mips16.S (__mips16_rdhwr): Delete.
1232
7db87803 12332012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
1234
1235 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
1236
d114e642 12372012-02-15 Iain Sandoe <iains@gcc.gnu.org>
1238
1239 PR libitm/52220
1240 * config/darwin-crt-tm.c: Correct typo.
154b49cd 1241
b8f45854 12422012-02-15 Iain Sandoe <iains@gcc.gnu.org>
1243 Patrick Marlier <patrick.marlier@gmail.com>
1244
1245 PR libitm/52220
1246 * config/darwin-crt-tm.c: Generate dummy functions.
1247
621d0dd2 12482012-02-15 Iain Sandoe <iains@gcc.gnu.org>
1249 Patrick Marlier <patrick.marlier@gmail.com>
1250
1251 PR libitm/52042
1252 * config/darwin-crt-tm.c (getTMCloneTable): New function.
1253 (__doTMRegistrations): Call it.
154b49cd 1254 (__doTMdeRegistrations): Likewise.
621d0dd2 1255
0b6cf66f 12562012-01-15 Georg-Johann Lay <avr@gjlay.de>
1257 Anatoly Sokolov <aesok@post.ru>
1258 Eric Weddington <eric.weddington@atmel.com>
1259
1260 PR target/52261
1261 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
1262 (__epilogue_restores__): Ditto.
1263
99e0a0ad 12642012-02-15 Eric Botcazou <ebotcazou@adacore.com>
1265
1266 PR target/51921
1267 PR target/52205
1268 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
1269 Solaris 11 and slightly reformat.
1270 (sparc_is_sighandler): Likewise.
1271
7ce78e23 12722012-02-14 Walter Lee <walt@tilera.com>
1273
1274 * config.host: Handle tilegx and tilepro.
1275 * config/tilegx/sfp-machine.h: New file.
1276 * config/tilegx/sfp-machine32.h: New file.
1277 * config/tilegx/sfp-machine64.h: New file.
1278 * config/tilegx/t-crtstuff: New file.
1279 * config/tilegx/t-softfp: New file.
1280 * config/tilegx/t-tilegx: New file.
1281 * config/tilepro/atomic.c: New file.
1282 * config/tilepro/atomic.h: New file.
1283 * config/tilepro/linux-unwind.h: New file.
1284 * config/tilepro/sfp-machine.h: New file.
1285 * config/tilepro/softdivide.c: New file.
1286 * config/tilepro/softmpy.S: New file.
1287 * config/tilepro/t-crtstuff: New file.
1288 * config/tilepro/t-tilepro: New file.
1289
f47763a6 12902012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
1291
1292 PR libstdc++/51296
1293 PR libstdc++/51906
1294 * gthr-posix.h: Allow static initializer macros to be disabled.
1295 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
1296
674cb359 12972012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
1298
1299 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
1300 Add t-slibgcc-libgcc to tmake_file.
1301 * config/mips/libgcc-mips16.ver: Revert previous patch.
1302 * config/mips/mips16.S (__mips16_rdhwr): Hide.
1303
b9fdd12b 13042012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
1305 Jayant R Sonar <jayant.sonar@kpitcummins.com>
1306
1307 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
1308 * config/cr16/crti.S: New file.
1309 * config/cr16/crtlibid.S: New file.
1310 * config/cr16/crtn.S: New file.
1311 * config/cr16/lib1funcs.S: New file.
1312 * config/cr16/t-cr16: New file.
1313 * config/cr16/t-crtlibid: New file.
1314 * config/cr16/unwind-dw2.h: New file.
1315 * config/cr16/unwind-cr16.c: New file.
1316 * config/cr16/divmodhi3.c: New file.
1317
01cdc5b2 13182012-01-25 Alan Modra <amodra@gmail.com>
1319
1320 * config/rs6000/t-linux64: Delete. Move..
1321 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
1322 * config/rs6000/t-linux: ..and libgcc flags to here.
1323
af8e12d0 13242012-01-22 Douglas B Rupp <rupp@gnat.com>
1325
1326 * config.host (i[34567]86-*-interix3*):
01cdc5b2 1327 Change triplet to i[34567]86-*-interix[3-9]*.
af8e12d0 1328 * configure: Regenerate.
1329
a657080a 13302012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
1331 Richard Sandiford <rdsandiford@googlemail.com>
1332
1333 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
1334 * config/mips/mips16.S (__mips16_rdhwr): New function.
1335 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
1336
72e76fa0 13372012-01-11 Nathan Sidwell <nathan@acm.org>
1338
1339 * libgcov.c (__gcov_init): Ignore objects with no functions.
1340
ed2541ea 13412012-01-10 Georg-Johann Lay <avr@gjlay.de>
1342
1343 PR target/49868
1344 Extend __pgmx semantics to linearize memory.
1345 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
1346 * config/avr/lib1funcs.S (__xload_1): New function.
1347 (__movmemx_qi, __movmemx_hi): New functions.
1348 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
1349 semantics.
ddf97006 1350
6e647e51 13512012-01-09 Eric Botcazou <ebotcazou@adacore.com>
1352
1353 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
1354 purported sigacthandler address isn't null before dereferencing it.
1355 (sparc_is_sighandler): Likewise.
1356
af185b18 13572012-01-09 Eric Botcazou <ebotcazou@adacore.com>
1358
1359 PR ada/41929
1360 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
1361 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
1362 (sparc_is_sighandler): Likewise.
1363 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
1364
2ff958e6 13652012-01-06 Tristan Gingold <gingold@adacore.com>
1366
1367 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
1368 compatibility thunks...
1369 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
1370 (crtbeginS.o, crtendS.o): ... and these to ...
1371 * config/ia64/t-ia64-elf: ... this new file.
1372 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
1373 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
1374
ce94380e 13752012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1376
1377 * configure: Regenerate.
1378 * config/s390/t-crtstuff: Remove -fPIC.
1379
ca4c7704 13802012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
1381
1382 PR bootstrap/51006
1383 * enable-execute-stack-mprotect.c (getpagesize): Do not define
1384 for NetBSD.
1385
b32bc361 13862012-01-02 Georg-Johann Lay <avr@gjlay.de>
1387
1388 PR target/51345
1389 * config/avr/lib1funcs.S: Remove FIXME comments.
1390 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
1391
83921eda 13922012-01-02 Georg-Johann Lay <avr@gjlay.de>
1393
1394 Implement light-weight DImode support.
1395 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
1396 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
1397 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
1398 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
1399
6071b85b 14002011-12-30 Nathan Sidwell <nathan@acm.org>
1401
1402 * libgcov.c (gcov_crc32): Remove global var.
1403 (free_fn_data): New function.
1404 (buffer_fn_data): Pass in filename, more robust error recovery.
1405 (crc32_unsigned): New function.
1406 (gcov_exit): More robust detection of new program. More robust
1407 error recovery.
1408 (__gcov_init): Do not update program's crc here.
1409
611b540a 14102011-12-21 Tristan Gingold <gingold@adacore.com>
1411
1412 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
1413
ddf97006 14142011-12-21 Ian Lance Taylor <iant@google.com>
1415
1416 * config/i386/morestack.S: Simplify CFI opcodes throughout.
1417
0d84f164 14182011-12-20 Ian Lance Taylor <iant@google.com>
1419
1420 * config/i386/morestack.S (__morestack_non_split): If there is
1421 enough stack space already, don't split. Ask for more stack space
1422 than we required.
1423
d77ac56d 14242011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
1425
1426 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
1427 `sys/sdt.h'.
1428 (_Unwind_DebugHook): New function.
1429 (uw_restore_core_regs): New define.
1430 (unwind_phase2): Use uw_restore_core_regs instead of
1431 restore_core_regs.
1432 (unwind_phase2_forced): Likewise.
1433 (__gnu_Unwind_Resume): Likewise.
1434
80898d14 14352011-12-20 Uros Bizjak <ubizjak@gmail.com>
1436
1437 * config/alpha/linux-unwind.h: Update copyright years.
1438 (MD_FROB_UPDATE_CONTEXT): New define.
1439 (alpha_frob_update_context): New function.
1440
20dbbfaf 14412011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
1442
1443 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
1444 tmake_file rather replacing it.
1445
d42ef213 14462011-12-15 Iain Sandoe <iains@gcc.gnu.org>
1447
1448 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
80898d14 1449 function is not used for PPC64.
d42ef213 1450 (save_world): Amend comments. Update the VRsave mask to reflect the
1451 saved regs.
1452 (rest_world): Update comments, do not clobber r10, do not use r8.
1453 (eh_rest_world_r10): Amend comments, do not use r8.
1454 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
1455 no longer used, move restore of CR and target address to the end of
1456 the routine.
1457
3efc00f6 14582011-12-14 H.J. Lu <hongjiu.lu@intel.com>
1459
1460 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
1461 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
1462
fa0431fa 14632011-12-14 Georg-Johann Lay <avr@gjlay.de>
1464
1465 PR target/49313
1466 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
1467 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
1468
18e6a060 14692011-12-11 Eric Botcazou <ebotcazou@adacore.com>
1470
1471 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
1472
0dcd7d21 14732011-12-09 Georg-Johann Lay <avr@gjlay.de>
1474
1475 PR target/49313
1476 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
1477 * config/avr/lib1funcs.S (__muldi3): New function.
1478
a41e0f2d 14792011-12-06 Andrew Pinski <apinski@cavium.com>
1480
1481 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
1482 size of func_ptr.
1483 (__frame_dummy_init_array_entry): Likewise.
1484
8c8193e1 14852011-12-06 Georg-Johann Lay <avr@gjlay.de>
1486
1487 Forward-port from gcc-4_6-branch r181936 2011-12-02.
1488
1489 PR target/51345
1490 PR target/51002
1491 * config/avr/lib1funcs.S (__prologue_saves__,
1492 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
1493 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
1494
e2306166 14952011-12-04 Iain Sandoe <iains@gcc.gnu.org>
1496
1497 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
1498
61437698 14992011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1500
1501 PR other/51272
1502 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
1503 (_ITM_deregisterTMCloneTable): Likewise.
1504 (__register_frame_info): Fix unused warning.
1505 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
1506 pthread_default_stacksize_np): Likewise.
1507 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
80898d14 1508
78e515f7 15092011-11-29 DJ Delorie <dj@redhat.com>
1510
1511 * config.host (rl78-*-elf): New case.
1512 * config/rl78: New directory for the Renesas RL78.
1513
adce431d 15142011-11-29 Bernd Schmidt <bernds@codesourcery.com>
1515
1516 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
1517 formatting.
1518
738c50b8 15192011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1520
1521 PR other/51022
1522 * config/rs6000/t-savresfgpr: New file.
1523 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
1524 $(srcdir)/config/rs6000/eabi.S.
1525 * config/rs6000/t-ppccomm-ldbl: Remove.
1526 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
1527 tmake_file.
1528 (powerpc-*-eabispe*): Likewise.
1529 (powerpc-*-eabi*): Likewise.
1530 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
1531 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
1532 to tmake_file, remove rs6000/t-ppccomm-ldbl.
1533 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
1534 tmake_file.
1535 (powerpc-*-eabisim*): Likewise.
1536 (powerpc-*-elf*): Likewise.
1537 (powerpc-*-eabialtivec*): Likewise.
1538 (powerpc-xilinx-eabi*): Likewise.
1539 (powerpc-*-rtems*): Likewise.
1540 (powerpcle-*-elf*): Likewise.
1541 (powerpcle-*-eabisim*): Likewise.
1542 (powerpcle-*-eabi*): Likewise.
1543
bda4944f 15442011-11-27 Ian Lance Taylor <iant@google.com>
1545
1546 * generic-morestack.c (__splitstack_find): Check for NULL old
1547 stack value.
1548 (__splitstack_resetcontext): New function.
1549 (__splitstack_releasecontext): New function.
1550 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
1551
00b708da 15522011-11-27 Iain Sandoe <iains@gcc.gnu.org>
1553
1554 * config/darwin-crt-tm.c: Correct comments, use correct licence.
1555
7c66781a 15562011-11-27 Iain Sandoe <iains@gcc.gnu.org>
1557
1558 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
1559
5bb27b7c 15602011-11-26 Richard Henderson <rth@redhat.com>
1561
1562 * config/m68k/linux-atomic.c: New file.
1563 * config/m68k/t-linux: New file.
1564 * config.host (m68k-uclinux, m68k-linux): Use it.
1565
d9ca835b 15662011-11-26 Richard Henderson <rth@redhat.com>
1567
1568 * crtstuff.c (__TMC_LIST__): Mark used not unused.
1569 (__TMC_END__): Only declare if hidden is available; in the definition,
1570 if hidden is unavailable add a null record.
1571 (deregister_tm_clones, register_tm_clones): New.
1572 (__do_global_dtors_aux, frame_dummy): Use them.
1573 (__do_global_dtors, __do_global_ctors_1): Likewise.
1574
8f8ba4fc 15752011-11-22 Iain Sandoe <iains@gcc.gnu.org>
1576
1577 * config/darwin-crt-tm.c: New file.
1578 * config.host (darwin): Build crttms.o crttme.o to provide
1579 startup and shutdown for tm clones.
1580 * config/t-darwin (crttms.o): New build rule.
1581 (crttme.o): Likewise.
1582
e426aa2b 15832011-11-21 Hans-Peter Nilsson <hp@axis.com>
1584
1585 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
1586 et al.
1587
2d171408 15882011-11-21 Richard Henderson <rth@redhat.com>
1589
1590 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
1591 (__TMC_LIST__, __TMC_END__): New.
1592 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
1593 (__do_global_dtors): Likewise.
1594 (frame_dummy): Call _ITM_registerTMCloneTable.
1595 (__do_global_ctors_1): Likewise.
1596
08417926 15972011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1598
1599 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
1600 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
1601 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
1602 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
1603 * config/i386/t-darwin64: Remove.
1604 * config/sh/t-netbsd (LIB2ADD): Remove.
1605
cde39152 16062011-11-21 Georg-Johann Lay <avr@gjlay.de>
1607
1608 PR target/49313
1609 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
1610 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
1611 * config/avr/lib1funcs.S (wmov): New assembler macro.
1612 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
1613 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
1614 (__udivmod64): New function.
1615 (__negdi2): New function.
1616
30957bde 16172011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
1618
1619 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
1620 *-*-freebsd*aout*): Remove.
1621
a504f092 16222011-11-20 Hans-Peter Nilsson <hp@axis.com>
1623
1624 * static-object.mk (c_flags-$o): Save c_flags.
1625 ($(base)$(objext)): Use it.
1626
31da0b3d 16272011-11-18 Steve Ellcey <sje@cup.hp.com>
1628
1629 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
1630
5bd39e93 16312011-11-18 Georg-Johann Lay <avr@gjlay.de>
1632
1633 PR target/49868
1634 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
1635 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
1636 New functions.
1637
a3bfd5b2 16382011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1639
1640 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
1641 functions.
80898d14 1642 (aeabi_uidivmod): Likewise.
a3bfd5b2 1643 (umodsi3): Likewise.
1644 (divsi3): Likewise.
1645 (aeabi_idivmod): Likewise.
1646 (modsi3): Likewise.
1647
3512ee5b 16482011-11-16 Tristan Gingold <gingold@adacore.com>
1649
1650 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
1651
4202ef11 16522011-11-15 Georg-Johann Lay <avr@gjlay.de>
1653
1654 PR target/49868
1655 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
1656 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
1657
ab4fdb3d 16582011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1659
1660 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
1661 tmake_file list.
1662 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
1663 * config/pa/t-stublib64: Delete.
1664
eee57ca7 16652011-11-12 Richard Henderson <rth@redhat.com>
1666
1667 * config/rs6000/linux-unwind.h (frob_update_context): Properly
1668 cast the pointer argument to _Unwind_SetGRPtr.
1669
0c74e0e8 16702011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1671
1672 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
1673
23371076 16742011-11-09 Ian Lance Taylor <iant@google.com>
1675
1676 * generic-morestack.c: Include <string.h>.
1677 (uintptr_type): Define.
1678 (struct initial_sp): Add dont_block_signals field. Reduce size of
1679 extra array by 1.
1680 (allocate_segment): Set prev field to NULL. Don't set
1681 __morestack_current_segment or __morestack_segments.
1682 (__generic_morestack): Update current->prev and *pp after calling
1683 allocate_segment.
1684 (__morestack_block_signals): Don't do anything if
1685 dont_block_signals is set.
1686 (__morestack_unblock_signals): Likewise.
1687 (__generic_findstack): Check for initial_sp == NULL. Add casts to
1688 uintptr_type.
1689 (__splitstack_block_signals): New function.
1690 (enum __splitstack_content_offsets): Define.
1691 (__splitstack_getcontext, __splitstack_setcontext): New functions.
1692 (__splitstack_makecontext): New function.
1693 (__splitstack_block_signals_context): New function.
1694 (__splitstack_find_context): New function.
1695 * config/i386/morestack.S (__morestack_get_guard): New function.
1696 (__morestack_set_guard, __morestack_make_guard): New functions.
1697 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
1698
2d00fffd 16992011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1700
1701 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
1702 (i[34567]86-*-mingw*): ... here.
1703 (x86_64-*-mingw*): ... here.
1704
6886ca41 17052011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1706
1707 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
1708
5014df5d 17092011-11-07 Nathan Sidwell <nathan@acm.org>
1710
1711 * libgcov.c (struct gcov_fn_buffer): New struct.
1712 (buffer_fn_data): New helper.
1713 (gcov_exit): Rework for new gcov data structures.
1714
702a5eec 17152011-11-07 Georg-Johann Lay <avr@gjlay.de>
1716
1717 PR target/49313
1718 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
1719
2219274c 17202011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1721
1722 * config.host (tmake_file): Correct comment.
1723 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
1724 t-libgcc-pic.
1725 (bfin*-uclinux*): Likewise.
1726 (bfin*-linux-uclibc*): Likewise.
1727 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
1728
1729 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
1730 assigning.
1731 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1732 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
1733 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1734 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
1735 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1736 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
1737 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
1738 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1739 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
1740 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
1741 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
1742 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
1743 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
1744
1745 * config/bfin/t-elf: Remove.
1746 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
1747
fbb6f195 17482011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1749
1750 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
1751 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
1752 (lm32-*-elf*, lm32-*-rtems*): Split into ...
1753 (lm32-*-elf*): ... this.
1754 (lm32-*-rtems*): ... and this.
1755 Add to tmake_file.
1756 (m32r-*-rtems*): Add to tmake_file.
1757 (moxie-*-rtems*): Likewise.
1758 (sparc-*-rtems*): Likewise.
1759 Remove t-rtems from tmake_file.
1760 (sparc64-*-rtems*): Likewise.
1761 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
1762 instead.
1763
7336fab9 17642011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1765
1766 PR bootstrap/50982
1767 * config/gthr-posix.h: Move ...
1768 * gthr-posix.h: ... here.
1769 * config/gthr-lynx.h: Reflect this.
1770 * config/gthr-vxworks.h: Likewise.
1771 * config/rs6000/gthr-aix.h: Likewise.
1772 * configure.ac (target_thread_file): Likewise.
1773 * configure: Regenerate.
1774
6c10eb68 17752011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
1776
1777 * config.host (arm*-*-rtemseabi*): New target.
1778
3fe1f35b 17792011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1780
1781 PR other/50991
1782 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
1783 extra-parts.
1784
d19f5793 17852011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
1786
1787 * config.host (epiphany-*-elf*): New configuration.
1788 * config/epiphany: New Directory.
1789
02c5dcd9 17902011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
1791
1792 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
1793 * config/avr/t-rtems: New.
1794 Filter out _exit from LIB1ASMFUNCS.
1795
f3223c0b 17962011-11-04 David S. Miller <davem@davemloft.net>
1797
1798 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
1799 * configure: Rebuild.
1800
994652ec 18012011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1802
1803 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
1804 variable.
1805
02d9a2c3 18062011-11-04 Georg-Johann Lay <avr@gjlay.de>
1807
1808 PR target/50931
1809 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
1810 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
1811
81b973fe 18122011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
1813
1814 PR target/50989
1815 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
1816
ae1b140e 18172011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1818
1819 * config/c6x/t-elf (LIB2ADDEH): Set.
1820 * config/c6x/t-c6x-elf: Remove.
1821
0a76a5ff 18222011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1823
1824 * config/i386/sol2-ci.S: Rename to ...
1825 * config/i386/crti.S: ... this.
1826 * config/i386/sol2-cn.S: Rename to ...
1827 * config/i386/crtn.S: ... this.
1828 * config/sparc/sol2-ci.S: Rename to ...
1829 * config/sparc/crti.S: ... this.
1830 * config/sparc/sol2-cn.S: Rename to ...
1831 * config/sparc/crtn.S: ... this.
1832 * config/t-sol2 (CUSTOM_CRTIN): Remove.
1833 (crti.o, crtn.o): Remove.
1834
26f2feff 18352011-11-04 Tristan Gingold <gingold@adacore.com>
1836
1837 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
1838
131667b5 18392011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
1840
1841 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
1842
af64ed6f 18432011-11-03 Hans-Peter Nilsson <hp@axis.com>
1844
1845 * config.host (crisv32-*-none, cris-*-none): Remove.
1846 (crisv32-*-elf): Append to tmake_file, don't just set it.
1847 (cris-*-elf): Add missing t-fdpbit to tmake_file.
1848
4dad46bd 18492011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1850
1851 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
1852 (ecrtn$(objext)): Likewise.
1853 (ncrti$(objext)): Likewise.
1854 (ncrtn$(objext)): Likewise.
1855
37626bf8 18562011-11-03 Andreas Schwab <schwab@redhat.com>
1857
1858 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
1859
95de80bc 18602011-11-02 David S. Miller <davem@davemloft.net>
1861
1862 * configure.ac: Set host_address on sparc too.
1863 * configure: Regenerate.
1864 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
1865 based upon host_address.
1866 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
1867
b5347955 18682011-11-02 Jason Merrill <jason@redhat.com>
1869
1870 * config/rs6000/t-ppccomm: Add missing \.
1871
630d52ca 18722011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1873
1874 * gthr-single.h, gthr.h: New files.
1875 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
1876 config/gthr-vxworks.h, config/i386/gthr-win32.h,
1877 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
1878 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
1879 * config/i386/gthr-win32.c: Include "gthr-win32.h".
1880 * configure.ac (thread_header): New variable.
1881 Set it depending on target_thread_file.
1882 (gthr-default.h): Link from $thread_header.
1883 * configure: Regenerate.
1884 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
1885
022a2799 18862011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1887
1888 * configure.ac (tm_file_): New variable.
1889 Determine from tm_file.
1890 (tm_file, tm_defines): Substitute.
1891 * configure: Regenerate.
1892 * mkheader.sh: New file.
1893 * Makefile.in (clean): Remove libgcc_tm.h.
1894 ($(objects)): Depend on libgcc_tm.h.
1895 (libgcc_tm_defines, libgcc_tm_file): New variables.
1896 (libgcc_tm.h, libgcc_tm.stamp): New targets.
1897 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
1898 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
1899 ($(extra-parts)): Depend on libgcc_tm.h.
1900 * config.host (tm_defines, tm_file): New variable.
1901 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
1902 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
1903 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
1904 (avr-*-rtems*): Likewise.
1905 (avr-*-*): Likewise.
1906 (frv-*-elf): Likewise.
1907 (frv-*-*linux*): Likewise.
1908 (h8300-*-rtems*): Likewise.
1909 (h8300-*-elf*): Likewise.
1910 (i[34567]86-*-darwin*): Likewise.
1911 (x86_64-*-darwin*): Likewise.
1912 (rx-*-elf): Likewise.
1913 (tic6x-*-uclinux): Likewise.
1914 (tic6x-*-elf): Likewise.
1915 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
1916 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
1917 * config/i386/cygming-crtbegin.c: Likewise.
1918 * config/i386/cygming-crtend.c: Likewise.
1919 * config/ia64/fde-vms.c: Likewise.
1920 * config/ia64/unwind-ia64.c: Likewise.
1921 * config/libbid/bid_gcc_intrinsics.h: Likewise.
1922 * config/rs6000/darwin-fallback.c: Likewise.
1923 * config/stormy16/lib2funcs.c: Likewise.
1924 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
1925 * crtstuff.c: Likewise.
1926 * dfp-bit.h: Likewise.
1927 * emutls.c: Likewise.
1928 * fixed-bit.c: Likewise.
1929 * fp-bit.c: Likewise.
1930 * generic-morestack-thread.c: Likewise.
1931 * generic-morestack.c: Likewise.
1932 * libgcc2.c: Likewise.
1933 * libgcov.c: Likewise.
1934 * unwind-dw2-fde-dip.c: Likewise.
1935 * unwind-dw2-fde.c: Likewise.
1936 * unwind-dw2.c: Likewise.
1937 * unwind-sjlj.c: Likewise.
1938
4dc4ff49 19392011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1940
1941 * configure.ac: Include ../config/picflag.m4.
1942 (GCC_PICFLAG): Call it.
1943 Substitute.
1944 * configure: Regenerate.
1945 * Makefile.in (gcc_srcdir): Remove.
1946 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
1947 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
1948 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
1949 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
1950 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
1951 Use $<.
1952 Remove comment.
1953 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
1954 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
1955 to refer to libgcc2.c.
1956 Use $<.
1957 * config/darwin-64.c: New file.
1958 * config/darwin-crt3.c: Remove comment.
1959 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
1960 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
1961 config/udivmodsi4.c: New files.
1962 * config/memcmp.c, config/memcpy.c, config/memmove.c,
1963 config/memset.c: New files.
1964 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
1965 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
1966 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
1967 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
1968 * config/t-openbsd-thread: New file.
1969 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
1970 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
1971 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
1972 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
1973 qrnnd.S.
1974 Adapt filename.
1975 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
1976 to refer to gthr-posix.c.
1977 * config/alpha/t-vms (LIB2ADD): Set.
1978 * config/alpha/vms-gcc_shell_handler.c: New file.
1979 * config/arm/bpabi.c, config/arm/fp16.c,
1980 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
1981 config/arm/unaligned-funcs.c: New files.
1982 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
1983 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
1984 * config/arm/t-linux: Likewise.
1985 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
1986 * config/arm/t-netbsd: New file.
1987 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
1988 * config/arm/t-symbian (LIB2ADD_ST): Set.
1989 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
1990 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1991 * config/bfin/t-elf: New file.
1992 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
1993 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
1994 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
1995 config/c6x/ltf.c: New files.
1996 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
1997 (HOST_LIBGCC2_CFLAGS): Set.
1998 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
1999 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2000 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
2001 New files.
2002 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
2003 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
2004 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
2005 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
2006 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
2007 files.
2008 * config/frv/t-frv (LIB2ADD): Set.
2009 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2010 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
2011 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
2012 config/h8300/popcounthi2.c: New files.
2013 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
2014 * config/i386/gthr-win32.c: New file.
2015 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
2016 * config/i386/t-cygwin: Likewise.
2017 * config/i386/t-darwin, config/i386/t-darwin64,
2018 config/i386/t-gthr-win32, config/i386/t-interix: New files.
2019 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
2020 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2021 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2022 * config/ia64/quadlib.c: New file.
2023 * config/ia64/t-hpux (LIB2ADD): Set.
2024 * config/ia64/t-ia64: Add comment.
2025 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
2026 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2027 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
2028 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
2029 * config/m32c/t-m32c (LIB2ADD): Set.
2030 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
2031 * config/m32r/t-m32r: Likewise.
2032 * config/m68k/fpgnulib.c: New file.
2033 * config/m68k/t-floatlib (LIB2ADD): Set.
2034 (xfgnulib.c): New target.
2035 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
2036 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
2037 * config/mep/t-mep (LIB2ADD): Set.
2038 * config/microblaze/divsi3.asm: Rename to divsi3.S.
2039 * config/microblaze/moddi3.asm: Rename to moddi3.S.
2040 * config/microblaze/modsi3.asm: Rename to modsi3.S.
2041 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
2042 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
2043 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
2044 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
2045 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
2046 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
2047 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
2048 New files.
2049 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
2050 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
2051 * config/pa/fptr.c, config/pa/lib2funcs.S,
2052 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
2053 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
2054 (LIB2ADD, LIB2ADD_ST): Set.
2055 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
2056 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
2057 Set.
2058 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
2059 * config/pdp11/t-pdp11: New file.
2060 * config/picochip/libgccExtras/adddi3.S,
2061 config/picochip/libgccExtras/ashlsi3.S,
2062 config/picochip/libgccExtras/ashrsi3.S,
2063 config/picochip/libgccExtras/clzsi2.S,
2064 config/picochip/libgccExtras/cmpsi2.S,
2065 config/picochip/libgccExtras/divmod15.S,
2066 config/picochip/libgccExtras/divmodhi4.S,
2067 config/picochip/libgccExtras/divmodsi4.S,
2068 config/picochip/libgccExtras/lshrsi3.S,
2069 config/picochip/libgccExtras/parityhi2.S,
2070 config/picochip/libgccExtras/popcounthi2.S,
2071 config/picochip/libgccExtras/subdi3.S,
2072 config/picochip/libgccExtras/ucmpsi2.S,
2073 config/picochip/libgccExtras/udivmodhi4.S,
2074 config/picochip/libgccExtras/udivmodsi4.S: New files.
2075 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
2076 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
2077 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
2078 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
2079 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
2080 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
2081 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
2082 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
2083 files.
2084 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
2085 (HOST_LIBGCC2_CFLAGS): Set.
2086 * config/rs6000/t-darwin64: New file.
2087 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
2088 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
2089 * config/rs6000/t-ppccomm (LIB2ADD): Add
2090 $(srcdir)/config/rs6000/tramp.S.
2091 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
2092 Add $(srcdir)/config/rs6000/eabi.S.
2093 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
2094 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
2095 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
2096 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
2097 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
2098 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
2099 * config/rs6000/tramp.S: New file.
2100 * config/s390/t-tpf: Remove.
2101 * config/sh/linux-atomic.S: New file.
2102 * config/sh/t-linux (LIB2ADD): Set.
2103 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
2104 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
2105 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
2106 to unwind-dw2.c.
2107 (HOST_LIBGCC2_CFLAGS): Set.
2108 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2109 * config/spu/divmodti4.c, config/spu/divv2df3.c,
2110 config/spu/float_disf.c, config/spu/float_unsdidf.c,
2111 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
2112 config/spu/mfc_multi_tag_release.c,
2113 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
2114 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
2115 config/spu/multi3.c: New files.
2116 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
2117 (HOST_LIBGCC2_CFLAGS): Set.
2118 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
2119 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
2120 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
2121 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
2122 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
2123 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
2124 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
2125 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
2126 config/stormy16/umodsi3.c: New files.
2127 * config/xtensa/lib2funcs.S: New file.
2128 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
2129 * config/xtensa/t-xtensa (LIB2ADD): Set.
2130 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
2131 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
2132 Add t-freebsd-thread to tmake_file for posix threads.
2133 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
2134 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
2135 (*-*-lynxos*): Likewise.
2136 (*-*-netbsd*): Likewise.
2137 (*-*-openbsd*): Likewise.
2138 Add t-openbsd-thread to tmake_file for posix threads.
2139 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
2140 (*-*-vxworks*): Set tmake_file.
2141 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
2142 (alpha*-*-freebsd*): Likewise.
2143 (alpha*-*-netbsd*): Likewise.
2144 (alpha*-*-openbsd*): Likewise.
2145 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
2146 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
2147 (alpha*-dec-*vms*): Likewise.
2148 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
2149 (bfin*-elf*): Add bfin/t-elf to tmake_file.
2150 (bfin*-uclinux*): Likewise.
2151 (bfin*-linux-uclibc*): Likewise.
2152 (crisv32-*-elf): Add cris/t-cris to tmake_file.
2153 (crisv32-*-none): Likewise.
2154 (cris-*-elf): Likewise.
2155 (cris-*-none): Likewise.
2156 (cris-*-linux*, crisv32-*-linux*): Likewise.
2157 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
2158 tmake_file.
2159 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
2160 tmake_file.
2161 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
2162 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
2163 (x86_64-*-elf*): Likewise.
2164 (i[34567]86-*-nto-qnx*): Likewise.
2165 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
2166 win32 threads.
2167 (x86_64-*-mingw*): Likewise.
2168 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
2169 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
2170 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
2171 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
2172 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
2173 tmake_file.
2174 (mipsisa64sr71k-*-elf*): Likewise.
2175 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
2176 (mips-*-elf*, mipsel-*-elf*): Likewise.
2177 (mips64-*-elf*, mips64el-*-elf*): Likewise.
2178 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
2179 (mips*-*-rtems*): Likewise.
2180 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
2181 to tmake_file.
2182 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
2183 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
2184 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
2185 (spu-*-elf*): Likewise.
2186 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
2187
9213d2eb 21882011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2189
2190 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
2191 $(srcdir) to refer to $(LIB1ASMSRC).
2192 Use $<.
2193 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
2194 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
2195 config/arm/lib1funcs.S: New files.
2196 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
2197 * config/arm/t-arm: New file.
2198 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
2199 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
2200 config/arm/t-strongarm-elf: New files.
2201 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
2202 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
2203 * config/avr/lib1funcs.S: New file.
2204 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2205 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
2206 * config/c6x/lib1funcs.S: New file.
2207 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2208 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
2209 * config/frv/lib1funcs.S: New file.
2210 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2211 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
2212 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
2213 * config/ia64/__divxf3.asm: Rename to ...
2214 * config/ia64/__divxf3.S: ... this.
2215 Adapt lib1funcs.asm filename.
2216 * config/ia64/_fixtfdi.asm: Rename to ...
2217 * config/ia64/_fixtfdi.S: ... this.
2218 Adapt lib1funcs.asm filename.
2219 * config/ia64/_fixunstfdi.asm: Rename to ...
2220 * config/ia64/_fixunstfdi.S: ... this.
2221 Adapt lib1funcs.asm filename.
2222 * config/ia64/_floatditf.asm: Rename to ...
2223 * config/ia64/_floatditf.S: ... this.
2224 Adapt lib1funcs.asm filename.
2225 * config/ia64/lib1funcs.S: New file.
2226 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
2227 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2228 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
2229 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
2230 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
2231 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
2232 * config/mep/lib1funcs.S: New file.
2233 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2234 * config/mips/mips16.S: New file.
2235 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2236 * config/pa/milli64.S: New file.
2237 * config/pa/t-linux, config/pa/t-linux64: New files.
2238 * config/picochip/lib1funcs.S: New file.
2239 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2240 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
2241 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
2242 * config/sh/t-netbsd: New file.
2243 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
2244 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
2245 * config/sh/t-sh64: New file.
2246 * config/sparc/lb1spc.S: New file.
2247 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
2248 filename.
2249 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
2250 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
2251 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
2252 config/xtensa/lib1funcs.S: New files.
2253 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2254 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
2255 tmake_file.
2256 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
2257 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
2258 (arm*-*-linux*): Likewise.
2259 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
2260 arm*-*-linux-*eabi, add arm/t-linux otherwise.
2261 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
2262 (arm*-*-ecos-elf): Likewise.
2263 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
2264 (arm*-*-rtems*): Likewise.
2265 (arm*-*-elf): Likewise.
2266 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
2267 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
2268 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
2269 (bfin*-uclinux*): Likewise.
2270 (bfin*-linux-uclibc*): Likewise.
2271 (bfin*-rtems*): Likewise.
2272 (bfin*-*): Likewise.
2273 (fido-*-elf): Merge into m68k-*-elf*.
2274 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
2275 (frv-*-*linux*): Add frv/t-frv to tmake_file.
2276 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
2277 (h8300-*-elf*): Likewise.
2278 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
2279 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
2280 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
2281 (i[34567]86-*-mingw*): Likewise.
2282 (x86_64-*-mingw*): Likewise.
2283 (i[34567]86-*-interix3*): Likewise.
2284 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
2285 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
2286 (m68k-*-elf*): Also handle fido-*-elf.
2287 Add m68k/t-floatlib to tmake_file.
2288 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
2289 (m68k-*-linux*): Likewise.
2290 (m68k-*-rtems*): Likewise.
2291 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
2292 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
2293 sh64*-*-*.
2294 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
2295 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
2296 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
2297 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
2298 sh/t-netbsd to tmake_file.
2299 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
2300 (sh-*-rtems*): Add sh/t-sh to tmake_file.
2301 (sh-wrs-vxworks): Likewise.
2302 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
2303 *-leon[3-9]*.
2304 (v850*-*-*): Add v850/t-v850 to tmake_file.
2305 (vax-*-linux*): Add vax/t-linux to tmake_file.
2306 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
2307
237490bf 23082011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2309
2310 * crtstuff.c: New file.
2311 * Makefile.in (CRTSTUFF_CFLAGS): Define.
2312 (CRTSTUFF_T_CFLAGS): Define.
2313 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
2314 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
2315 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
2316 crtstuff.c.
2317 Use $<.
2318 (crtbeginT.o): Use $(objext).
2319 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
2320 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
2321 (gcc-extra-parts): Remove.
2322 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
2323 Set extra_parts.
2324 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
2325 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
2326 Add t-crtstuff-pic to tmake_file.
2327 (*-*-lynxos*): New case.
2328 Set tmake_file, extra_parts.
2329 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
2330 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
2331 *-*-netbsdelf[2-9]*.
2332 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
2333 (*-*-rtems*): Set extra_parts.
2334 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
2335 (*-*-uclinux*): New case.
2336 Set extra_parts.
2337 (*-*-vms*): New case.
2338 Set tmake_file, extra_parts.
2339 (*-*-elf): Set extra_parts.
2340 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
2341 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
2342 vms/t-vms64.
2343 Set extra_parts.
2344 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
2345 Set extra_parts.
2346 (arm*-*-freebsd*): Add t-crtin to tmake_file.
2347 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
2348 (arm-wrs-vxworks): Append to tmake_file.
2349 Set extra_parts.
2350 (arm*-*-uclinux*): Set extra_parts.
2351 (arm*-*-ecos-elf): Likewise.
2352 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
2353 arm*-*-eabi*.
2354 (arm*-*-rtems*): Set extra_parts.
2355 (arm*-*-elf): Likewise.
2356 (avr-*-rtems*): Clear extra_parts.
2357 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
2358 Set extra_parts.
2359 (bfin*-uclinux*): Likewise.
2360 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
2361 (bfin*-rtems*): Append to tmake_file.
2362 Set extra_parts.
2363 (bfin*-*): Likewise.
2364 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
2365 (crisv32-*-elf): ... this.
2366 (crisv32-*-none): ... this.
2367 (cris-*-elf, cris-*-none): New cases.
2368 Add cris/t-elfmulti to tmake_file.
2369 (fr30-*-elf): Append to tmake_file.
2370 Set extra_parts.
2371 (frv-*-elf): Append to tmake_file, add frv/t-frv.
2372 Set extra_parts.
2373 (h8300-*-rtems*): Append to tmake_file.
2374 Set extra_parts.
2375 (h8300-*-elf*): Likewise.
2376 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
2377 Set extra_parts.
2378 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
2379 Set extra_parts.
2380 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
2381 (x86_64-*-elf*): Likewise.
2382 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
2383 (x86_64-*-freebsd*): Likewise.
2384 (x86_64-*-netbsd*): Likewise.
2385 (i[34567]86-*-linux*): Likewise.
2386 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
2387 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
2388 (x86_64-*-linux*): Likewise.
2389 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
2390 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
2391 tmake_file.
2392 Set extra_parts.
2393 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
2394 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
2395 Append to extra_parts, remove crtbegin.o, crtend.o.
2396 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
2397 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
2398 crtend.o, crtbeginS.o, crtendS.o.
2399 (ia64*-*-linux*): Comment extra_parts.
2400 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
2401 Set extra_parts.
2402 (iq2000*-*-elf*): Clear extra_parts.
2403 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
2404 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
2405 (m32r-*-elf*, m32r-*-rtems*): Split off ...
2406 (m32r-*-rtems*): ... this.
2407 Add m32r/t-m32r to tmake_file.
2408 (m68k-*-elf*): Add t-crtin to tmake_file.
2409 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
2410 (mcore-*-elf): Likewise.
2411 (microblaze*-*-*): Set extra_parts.
2412 (mips*-sde-elf*): New case.
2413 Set tmake_file, extra_parts.
2414 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
2415 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
2416 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
2417 tmake_file.
2418 Set extra_parts.
2419 (mipsisa64sr71k-*-elf*): Likewise.
2420 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
2421 (mips-*-elf*, mipsel-*-elf*): Likewise.
2422 (mips64-*-elf*, mips64el-*-elf*): Likewise.
2423 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
2424 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
2425 (mips*-*-rtems*): Likewise.
2426 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
2427 (moxie-*-*): Split into ...
2428 (moxie-*-elf, moxie-*-uclinux*): ... this.
2429 Add to extra_parts, remove crtbegin.o, crtend.o.
2430 (moxie-*-rtems*): New case.
2431 Set tmake_file.
2432 Clear extra_parts.
2433 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
2434 Set extra_parts.
2435 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
2436 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
2437 tmake_file.
2438 Set extra_parts.
2439 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
2440 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
2441 Set extra_parts.
2442 (powerpc-*-eabisim*): Likewise.
2443 (powerpc-*-elf*): Likewise.
2444 (powerpc-*-eabialtivec*): Likewise.
2445 (powerpc-xilinx-eabi*): Likewise.
2446 (powerpc-*-eabi*): Likewise.
2447 (powerpc-*-rtems*): Likewise.
2448 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
2449 tmake_file.
2450 Set extra_parts.
2451 (powerpc-*-lynxos*): Add to tmake_file.
2452 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
2453 rs6000/t-crtstuff, t-crtstuff-pic.
2454 Set extra_parts.
2455 (powerpcle-*-eabisim*): Likewise.
2456 (powerpcle-*-eabi*): Likewise.
2457 (rx-*-elf): Remove extra_parts.
2458 (s390x-ibm-tpf*): Set extra_parts.
2459 (score-*-elf): Set extra_parts.
2460 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
2461 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
2462 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
2463 (sh64l*-*-netbsd*): Split into ...
2464 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
2465 Add t-crtstuff-pic to tmake_file.
2466 Set extra_parts.
2467 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
2468 Set extra_parts.
2469 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
2470 (sparc-*-elf*): Remove t-crtin from tmake_file.
2471 Add to extra_parts, remove crtbegin.o, crtend.o.
2472 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
2473 (sparc64-*-linux*): Likewise.
2474 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
2475 Add to extra_parts, remove crtbegin.o, crtend.o.
2476 (sparc64-*-elf*): Remove t-crtin from tmake_file.
2477 Add to extra_parts, remove crtbegin.o, crtend.o.
2478 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
2479 Add to extra_parts, remove crtbegin.o, crtend.o.
2480 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
2481 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
2482 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
2483 Set extra_parts.
2484 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
2485 Set extra_parts.
2486 (tic6x-*-*): Change to ...
2487 (tic6x-*-elf): ... this.
2488 Set extra_parts.
2489 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
2490 Set extra_parts.
2491 (am33_2.0-*-linux*): Add comment.
2492 (mep*-*-*): Add mep/t-mep to tmake_file.
2493 Set extra_parts.
2494 * config/alpha/t-vms: New file.
2495 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
2496 * config/arm/crti.S, config/arm/crtn.S: New files.
2497 * config/bfin/crti.S, config/bfin/crtn.S: New files.
2498 * config/bfin/crtlibid.S: New file.
2499 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
2500 * config/c6x/crti.S, config/c6x/crtn.S: New files.
2501 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
2502 (crti.o, crtin.o): New rules.
2503 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
2504 * config/c6x/t-uclinux: New file.
2505 * config/cris/t-elfmulti: New file.
2506 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
2507 * config/fr30/crti.S, config/fr30/crtn.S: New files.
2508 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
2509 * config/frv/t-frv: New file.
2510 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
2511 * config/h8300/crti.S, config/h8300/crtn.S: New files.
2512 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
2513 New files.
2514 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
2515 refer to cygming-crtbegin.c, cygming-crtend.c.
2516 Use $<.
2517 * config/i386/t-nto: New file.
2518 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
2519 * config/ia64/crti.S, config/ia64/crtn.S: New files.
2520 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
2521 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
2522 Use .S extension.
2523 Use $<.
2524 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
2525 (crtinitS.o): New rule.
2526 * config/ia64/vms-crtinit.S: New file.
2527 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
2528 * config/m32r/initfini.c: New file.
2529 * config/m32r/t-linux, config/m32r/t-m32r: New files.
2530 * config/m68k/crti.S, config/m68k/crtn.S: New files.
2531 * config/mcore/crti.S, config/mcore/crtn.S: New files.
2532 * config/mep/t-mep: New file.
2533 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
2534 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
2535 * config/mips/crti.S, config/mips/crtn.S: New files.
2536 * config/mips/t-crtstuff: New file.
2537 * config/mmix/crti.S, config/mmix/crtn.S: New files.
2538 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
2539 (CUSTOM_CRTIN): Set.
2540 ($(T)crti.o, $(T)crtn.o): Remove $(T),
2541 dependencies.
2542 Use $(srcdir) to refer to crti.S, crtn.S.
2543 Use .S extension, $<.
2544 * config/moxie/crti.asm: Rename to ...
2545 * config/moxie/crti.S: ... this.
2546 * config/moxie/crtn.asm: Rename to ...
2547 * config/moxie/crtn.S: ... this.
2548 * config/moxie/t-moxie: Remove.
2549 * config/pa/stublib.c: New file.
2550 * config/pa/t-stublib, config/pa/t-stublib64: New files.
2551 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
2552 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
2553 * config/rs6000/t-crtstuff: New file.
2554 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
2555 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
2556 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
2557 Make output file explicit.
2558 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
2559 Make output file explicit.
2560 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
2561 Make output file explicit.
2562 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
2563 Make output file explicit.
2564 * config/score/crti.S, config/score/crtn.S: New files.
2565 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
2566 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
2567 files.
2568 * config/sh/t-sh, config/sh/t-superh: New files.
2569 * config/sparc/t-linux64: New file.
2570 * config/spu/cache.S, config/spu/cachemgr.c: New files.
2571 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
2572 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
2573 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
2574 * config/t-crtin: Remove.
2575 * config/t-crtstuff-pic: New file.
2576 * config/t-sol2 (CUSTOM_CRTIN): Set.
2577 (crti.o, crtn.o): New rules.
2578 * config/vms/t-vms: New file.
2579 * config/vms/vms-ucrt0.c: New file.
2580 * config/xtensa/t-elf: New file.
2581
a997b0d8 25822011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2583
2584 * Makefile.in (SHLIB_NM_FLAGS): Set.
2585 * mkmap-flat.awk, mkmap-symver.awk: New files.
2586 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
2587 exceptions.
2588 * configure: Regenerate.
2589 * config/libgcc-glibc.ver: New file.
2590 * config/libgcc-libsystem.ver: New file.
2591 * config/t-libunwind (SHLIB_LC): Set.
2592 * config/t-linux: New file.
2593 * config/t-slibgcc (INSTALL_SHLIB): New.
2594 (SHLIB_INSTALL): Use it.
2595 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
2596 to mkmap-symver.awk.
2597 (SHLIB_MAPFILES): Don't append, adapt pathname.
2598 (SHLIB_VERPFX): Set.
2599 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
2600 to mkmap-symver.awk.
2601 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
2602 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
2603 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
2604 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
2605 to mkmap-flat.awk.
2606 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
2607 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
2608 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
2609 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
2610 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
2611 * config/i386/libgcc-darwin.10.4.ver,
2612 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
2613 New files.
2614 * config/i386/t-darwin: Remove.
2615 * config/i386/t-darwin64: Likewise.
2616 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
2617 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
2618 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
2619 * config/i386/t-linux: New file.
2620 * config/i386/t-mingw32: New file.
2621 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
2622 * config/ia64/t-glibc: Rename to ...
2623 * config/ia64/t-linux: ... this.
2624 (SHLIB_MAPFILES): Set.
2625 * config/ia64/t-glibc-libunwind: Rename to ...
2626 * config/ia64/t-linux-libunwind: ... this.
2627 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
2628 * config/ia64/t-slibgcc-hpux: New file.
2629 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
2630 * config/m68k/t-slibgcc-elf-ver: New file.
2631 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
2632 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
2633 to mkmap-flat.awk.
2634 * config/pa/t-slibgcc-hpux: New file.
2635 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
2636 files.
2637 * config/rs6000/libgcc-darwin.10.4.ver,
2638 config/rs6000/libgcc-darwin.10.5.ver: New files.
2639 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
2640 config/rs6000/libgcc-glibc.ver.
2641 * config/rs6000/libgcc-ppc64.ver: Rename to
2642 config/rs6000/libgcc-ibm-ldouble.ver.
2643 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
2644 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
2645 * config/rs6000/t-ldbl128: Rename to ...
2646 * config/rs6000/t-linux: ... this.
2647 (SHLIB_MAPFILES): Adapt filename.
2648 * config/rs6000/t-slibgcc-aix: New file.
2649 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
2650 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
2651 libgcc-excl.ver, libgcc-glibc.ver.
2652 (SHLIB_LINK, SHLIB_INSTALL): Remove.
2653 * config/sparc/libgcc-glibc.ver: New file.
2654 * config/sparc/t-linux: New file.
2655 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
2656 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
2657 t-slibgcc-elf-ver to tmake_file.
2658 Add t-slibgcc-nolc-override to tmake_file for posix threads on
2659 *-*-freebsd[34].
2660 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
2661 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
2662 t-slibgcc-elf-ver, t-linux to tmake_file.
2663 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
2664 tmake_file.
2665 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
2666 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
2667 (alpha*-dec-*vms*): Likewise.
2668 (arm*-*-freebsd*): Append to tmake_file.
2669 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
2670 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
2671 arm*-*-linux-*eabi.
2672 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
2673 tmake_file for arm*-*-symbianelf*.
2674 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
2675 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
2676 cris/t-linux.
2677 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
2678 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
2679 pa/t-slibgcc-dwarf-ver to tmake_file.
2680 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
2681 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
2682 (hppa*64*-*-hpux11*): Likewise.
2683 (hppa[12]*-*-hpux11*): Likewise.
2684 (x86_64-*-darwin*): Don't override tmake_file, but only keep
2685 i386/t-crtpc, i386/t-crtfm.
2686 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
2687 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
2688 to tmake_file.
2689 Add i386/t-cygwin to tmake_file.
2690 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
2691 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
2692 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
2693 to tmake_file.
2694 Add i386/t-mingw32 to tmake_file.
2695 (x86_64-*-mingw*): Likewise.
2696 (ia64*-*-freebsd*): Append to tmake_file.
2697 (ia64*-*-linux*): Append to tmake_file.
2698 Replace ia64/t-glibc by ia64/t-linux.
2699 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
2700 system libunwind.
2701 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
2702 t-slibgcc-hpux to tmake_file.
2703 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
2704 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
2705 (m32rle-*-linux*): Likewise.
2706 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
2707 sjlj exceptions.
2708 (microblaze*-linux*): New case.
2709 Append to tmake_file, add t-slibgcc-nolc-override.
2710 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
2711 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
2712 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
2713 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
2714 rs6000/t-slibgcc-aix to tmake_file.
2715 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2716 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2717 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
2718 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
2719 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
2720 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
2721 sh*-*-linux*.
2722 (sparc-*-linux*): Append to tmake_file for *-leon*.
2723 Add sparc/t-linux to tmake_file for non-Leon targets.
2724 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
2725 (tic6x-*-uclinux): New case.
2726 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
2727 (tic6x-*-*): Add c6x/t-elf to tmake_file.
2728 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
2729 (am33_2.0-*-linux*): Append to tmake_file.
2730 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
2731 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
2732 x86_64-*-kfreebsd*-gnu.
2733 Add i386/t-linux to tmake_file.
2734
638a95a0 27352011-10-28 Ian Lance Taylor <iant@google.com>
2736
2737 * config/i386/morestack.S: Correct CFI information to do proper
2738 returns throughout function. In 32-bit mode, save %ebx so that it
2739 is restored on unwind.
2740
ef785e44 27412011-10-25 Bernd Schmidt <bernds@codesourcery.com>
2742
2743 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
2744 case where B3 isn't the return register.
2745
19b85223 2746 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
2747 logic for doubleword pops.
2748
70f50eb0 27492011-10-25 Andreas Tobler <andreast@fgznet.ch>
2750
2751 * config/rs6000/t-freebsd: Add wildcard.
2752
ec2b386c 27532011-10-21 Paul Brook <paul@codesourcery.com>
2754
2755 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
2756
b09a3f46 27572011-10-16 Uros Bizjak <ubizjak@gmail.com>
2758 Eric Botcazou <ebotcazou@adacore.com>
2759
2760 PR target/50737
2761 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
2762 fs->signal_frame to 1.
2763
8acdf7c6 27642011-10-07 Ian Lance Taylor <iant@google.com>
2765
2766 * generic-morestack-thread.c: #include <errno.h>.
2767
1780e36e 27682011-10-07 Ian Lance Taylor <iant@google.com>
2769
2770 PR target/46093
2771 * generic-morestack.c (__generic_morestack): Make sure the segment
2772 is large enough for both the stack frame and the copied
2773 parameters.
2774
f57fac72 27752011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2776
2777 PR bootstrap/49804
2778 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
2779 extra_parts.
2780
6ef008f9 27812011-09-28 Nick Clifton <nickc@redhat.com>
2782
2783 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
2784 64-bit doubles are not enabled.
2785 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
2786 and floatunsisf functions.
2787
7e5fc0c4 27882011-09-13 Paul Brook <paul@codesourcery.com>
6ef008f9 2789
7e5fc0c4 2790 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
2791 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
2792 * unwind-arm-common.inc: New file.
2793 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
2794 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
2795 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
2796 * config/c6x/libunwind.S: New file.
2797 * config/c6x/pr-support.c: New file.
2798 * config/c6x/unwind-c6x.c: New file.
2799 * config/c6x/unwind-c6x.h: New file.
2800 * config/c6x/t-c6x-elf: New file.
2801
047a5c56 28022011-08-23 Uros Bizjak <ubizjak@gmail.com>
2803
2804 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
2805 (ASM_DIVZERO): Ditto.
2806 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
2807
985e908e 28082011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
2809
2810 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
2811
c1c81358 28122011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
2813
2814 PR target/50090
2815 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
2816 instead of an assembly one.
2817
7642fc98 28182011-08-12 Paolo Bonzini <bonzini@gnu.org>
2819
2820 PR bootstrap/50047
2821 * Makefile.in (install-unwind_h): Create
2822 $(gcc_objdir)/include/unwind.h atomically.
2823
392bda6f 28242011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2825
2826 * Makefile.in (install-unwind_h): Remove destination file first.
2827
21889c08 28282011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2829
2830 * sync.c: New file.
2831 * config/mips/t-mips16: New file.
2832 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
2833 (mips*-*-linux*): Likewise.
2834 (mips*-sde-elf*): Likewise.
2835 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
2836 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
2837 Add mips/t-mips16 to tmake_file.
2838 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
2839 (mips-*-elf*): Likewise.
2840 (mips64-*-elf*): Likewise.
2841 (mips64orion-*-elf*): Likewise.
2842 (mips*-*-rtems*): Likewise.
2843 (mipstx39-*-elf*): Likewise.
2844 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
2845 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
2846 LIBGCC_SYNC_CFLAGS.
2847 Use $(srcdir) to refer to sync.c.
2848 Use $<.
2849 ($(libgcc-sync-funcs-o)): Likewise.
2850 ($(libgcc-sync-size-funcs-s-o)): Likewise.
2851 ($(libgcc-sync-funcs-s-o)): Likewise.
2852
3569d462 28532011-08-09 Andreas Schwab <schwab@linux-m68k.org>
2854
2855 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
2856 t-libunwind.
2857
e451a093 28582011-08-08 H.J. Lu <hongjiu.lu@intel.com>
2859
2860 PR other/48007
2861 * config/i386/value-unwind.h: New.
2862
ab3bed33 28632011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
2864
2865 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
2866 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
2867 Add to tmake_file rather than overriding it.
2868
84600db5 28692011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2870
2871 * config/t-softfp: Remove.
2872 * soft-fp: Moved from ../gcc/config.
2873 * soft-fp/README: Remove t-softfp reference.
2874 * soft-fp/t-softfp: Move to config/t-softfp.
2875 (softfp_machine_header): Remove.
2876 (softfp_file_list): Remove config subdir.
2877 (soft-fp-objects): New variable.
2878 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
2879 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
2880 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
2881 * config/t-softfp-excl: New file.
2882 * config/t-softfp-sfdf: New file.
2883 * config/t-softfp-tf: New file.
2884 * config/no-sfp-machine.h: New file.
2885 * config/arm/sfp-machine.h: New file.
2886 * config/arm/t-softfp: New file.
2887 * config/c6x/sfp-machine.h: New file.
2888 * config/i386/32/t-fprules-softfp: Rename to ...
2889 * config/i386/32/t-softfp: ... this.
2890 (tifunctions, LIB2ADD): Remove.
2891 (softfp_int_modes): Override.
2892 * config/i386/64/t-softfp-compat (tf-functions): Remove config
2893 subdir.
2894 * config/i386/64/eqtf2.c: Likewise.
2895 * config/i386/64/getf2.c: Likewise.
2896 * config/i386/64/letf2.c: Likewise.
2897 * config/ia64/sft-machine.h: New file.
2898 * config/ia64/t-fprules-softfp: Rename to ...
2899 * config/ia64/t-softfp: ... this.
2900 * config/lm32/sfp-machine.h: New file.
2901 * config/moxie/t-moxie-softfp: Remove.
2902 * config/rs6000/ibm-ldouble-format: New file.
2903 * config/rs6000/ibm-ldouble.c: New file.
2904 * config/rs6000/libgcc-ppc-glibc.ver: New file
2905 * config/rs6000/libgcc-ppc64.ver: New file
2906 * config/rs6000/sfp-machine.h: New file.
2907 * config/rs6000/t-freebsd: New file.
2908 * config/rs6000/t-ibm-ldouble: New file.
2909 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
2910 libgcc-ppc-glibc.ver.
2911 * config/rs6000/t-linux64: New file.
2912 * config/rs6000/t-ppccomm (LIB2ADD): Add
2913 $(srcdir)/config/rs6000/ibm-ldouble.c.
2914 * config/rs6000/t-ppccomm-ldbl: New file.
2915 * config/score/sfp-machine.h: New file.
2916 * config.host (sfp_machine_header): Explain.
2917 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
2918 t-softfp to tmake_file.
2919 (arm*-*-uclinux*): Likewise.
2920 (arm*-*-ecos-elf): Likewise.
2921 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
2922 (arm*-*-rtems*): Likewise.
2923 (arm*-*-elf): Likewise.
2924 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
2925 in tmake_file.
2926 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
2927 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
2928 (lm32-*-uclinux*): Likewise.
2929 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
2930 t-softfp-excl, t-softfp.
2931 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
2932 (powerpc64-*-darwin*): Likewise.
2933 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
2934 to tmake_file.
2935 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
2936 tmake_file.
2937 (powerpc-*-eabisim*): Likewise.
2938 (powerpc-*-elf*): Likewise.
2939 (powerpc-*-eabialtivec*): Likewise.
2940 (powerpc-xilinx-eabi*): Likewise.
2941 (powerpc-*-rtems*): Likewise.
2942 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
2943 t-softfp-excl, t-softfp to tmake_file.
2944 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
2945 rs6000/t-ppccomm-ldbl to tmake_file.
2946 (powerpcle-*-elf*): Likewise.
2947 (powerpcle-*-eabisim*): Likewise.
2948 (powerpcle-*-eabi*): Likewise.
2949 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
2950 rs6000/t-ibm-ldouble to tmake_file.
2951 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2952 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2953 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
2954 (tic6x-*-*): Likewise.
2955 (i[34567]86-*-darwin*, x86_64-*-darwin*,
2956 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
2957 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
2958 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
2959 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
2960 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
2961 t-softfp to tmake_file.
2962 * configure.ac (sfp_machine_header): Provide default if unset.
2963 Substitute.
2964 Link sfp-machine.h to config/$sfp_machine_header.
2965 * configure: Regenerate.
2966
a23b9c51 29672011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2968
2969 * Makefile.in (double_type_size, long_double_type_size): Set.
2970 Remove $(fpbit-in-libgcc) support.
2971 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
2972 (fpbit-src): New variable.
2973 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
2974 Compile with -DFLOAT $(FPBIT_CFLAGS).
2975 Use $<.
2976 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
2977 Compile with $(FPBIT_CFLAGS).
2978 Use $<.
2979 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
2980 Compile with -DFLOAT $(TPBIT_CFLAGS).
2981 Use $<.
2982 * configure.ac (double_type_size, long_double_type_size):
2983 Determine and substitute.
2984 * configure: Regenerate.
2985 * fp-bit.c, fp-bit.h: New files.
2986 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
2987 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
2988 * config/mips/t-mips: New file.
2989 * config/mips/t-sdemtk: New file.
2990 * config/rs6000/ppc64-fp.c: New file.
2991 * config/rs6000/t-darwin (LIB2ADD): Add
2992 $(srcdir)/config/rs6000/ppc64-fp.c.
2993 * config/rs6000/t-ppc64-fp: New file.
2994 * config/rx/rx-lib.h: New file.
2995 * config/rx/t-rx (FPBIT): Set to true.
2996 ($(gcc_objdir)/fp-bit.c): Remove.
2997 (DPBIT): Set to true only with -m64bit-doubles.
2998 ($(gcc_objdir)/dp-bit.c): Remove.
2999 * config/sparc/t-softfp: Remove.
3000 * config/spu/t-elf: New file.
3001 * config/t-fdpbit, config/t-fpbit: New files.
3002 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
3003 (mips*-*-*): Likewise.
3004 (arm-wrs-vxworks): Likewise.
3005 (arm*-*-freebsd*): Likewise.
3006 (avr-*-rtems*): Add t-fpbit to tmake_file.
3007 (avr-*-*): Likewise.
3008 (bfin*-elf*): Add t-fdpbit to tmake_file.
3009 (bfin*-uclinux*): Likewise.
3010 (bfin*-linux-uclibc*): Likewise.
3011 (bfin*-rtems*): New case.
3012 Add t-fdpbit to tmake_file.
3013 (bfin*-*): Add t-fdpbit to tmake_file.
3014 (crisv32-*-elf): Likewise.
3015 (cris-*-linux*): Likewise.
3016 (fr30-*-elf): Likewise.
3017 (frv-*-elf, frv-*-*linux*): Likewise.
3018 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
3019 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
3020 (m32r-*-elf*): Likewise.
3021 (m32rle-*-elf*): Likewise.
3022 (m32r-*-linux*): Likewise.
3023 (m32rle-*-linux*): Likewise.
3024 (mcore-*-elf): Add t-fdpbit to tmake_file.
3025 (microblaze*-*-*): Likewise.
3026 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
3027 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
3028 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
3029 Fix typo.
3030 Add mips/t-tpbit to tmake-file.
3031 (mips*-*-linux*): Fix typo.
3032 (mips*-sde-elf*): New case
3033 Add mips/t-sdemtk unless using newlib.
3034 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
3035 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
3036 (mn10300-*-*): Likewise.
3037 (pdp11-*-*): Likewise.
3038 (picochip-*-*): Add t-fpbit to tmake_file.
3039 (powerpc-*-eabisimaltivec*): Likewise.
3040 (powerpc-*-eabisim*): Likewise.
3041 (powerpc-*-elf*): Likewise.
3042 (powerpc-*-eabialtivec*): Likewise.
3043 (powerpc-xilinx-eabi*): New case.
3044 Add t-fdpbit to tmake_file.
3045 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
3046 (powerpc-*-rtems*): Likewise.
3047 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
3048 tmake_file.
3049 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
3050 tmake_file.
3051 (powerpc-*-lynxos*): Likewise.
3052 (powerpcle-*-elf*): Likewise.
3053 (powerpcle-*-eabisim*): Likewise.
3054 (powerpcle-*-eabi*): Likewise.
3055 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
3056 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
3057 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
3058 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
3059 (rx-*-elf): Add t-fdpbit to tmake_file.
3060 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
3061 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
3062 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
3063 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
3064 sh*-*-netbsd*.
3065 (sh-*-rtems*): Add t-fdpbit to tmake_file.
3066 (sh-wrs-vxworks): Likewise.
3067 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
3068 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
3069 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
3070 (sparc64-*-rtems*): ... new case.
3071 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
3072 (spu-*-elf*): Likewise.
3073 Add spu/t-elf to tmake_file.
3074 (v850*-*-*): Add t-fdpbit to tmake_file.
3075 (xstormy16-*-elf): Likewise.
3076 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
3077 (mep*-*-*): Likewise.
3078
e59be7e3 30792011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3080
3081 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
3082 variables.
3083 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
3084 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
3085 (install-unwind_h): New target.
3086 (all): Depend on it.
3087 * config.host (unwind_header): New variable.
3088 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
3089 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
3090 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
3091 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
3092 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
3093 Set unwind_header.
3094 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
3095 Set unwind_header.
3096 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
3097 arm*-*-eabi*.
3098 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
3099 Set unwind_header.
3100 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
3101 (ia64*-*-freebsd*): Likewise.
3102 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
3103 tmake_file.
3104 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
3105 $with_system_libunwind.
3106 (ia64*-*-hpux*): Set tmake_file.
3107 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
3108 (picochip-*-*): Set tmake_file.
3109 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
3110 md_unwind_header.
3111 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
3112 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
3113 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
3114 (xtensa*-*-elf*): Set tmake_file.
3115 (xtensa*-*-linux*): Likewise.
3116 * configure.ac: Include ../config/unwind_ipinfo.m4.
3117 Call GCC_CHECK_UNWIND_GETIPINFO.
3118 Link unwind.h to $unwind_header.
3119 * configure: Regenerate.
3120 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
3121 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
3122 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
3123 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
3124 * config/unwind-dw2-fde-darwin.c: New file.
3125 * config/arm/libunwind.S, config/arm/pr-support.c,
3126 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
3127 config/arm/unwind-arm.h,: New files.
3128 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
3129 config/ia64/t-eh-ia64, config/ia64/t-glibc,
3130 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
3131 config/ia64/t-vms, config/ia64/unwind-ia64.c,
3132 config/ia64/unwind-ia64.h: New files.
3133 * config/picochip/t-picochip: New file.
3134 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
3135 files.
3136 * config/rs6000/t-darwin (LIB2ADDEH): Set.
3137 * config/s390/t-tpf (LIB2ADDEH): Remove.
3138 * config/t-darwin (LIB2ADDEH): Set.
3139 * config/t-eh-dw2-dip: New file.
3140 * config/t-libunwind, config/t-libunwind-elf: New files.
3141 * config/t-sol2 (LIB2ADDEH): Remove.
3142 * config/xtensa/t-xtensa: New file.
3143
b57de711 31442011-08-02 H.J. Lu <hongjiu.lu@intel.com>
3145
3146 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
3147 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
3148 long long to check rt_sigreturn syscall.
3149
9a4af446 31502011-08-02 Alan Modra <amodra@gmail.com>
3151
3152 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
3153 Restore for indirect call bcrtl from correct stack slot, and only
3154 if cfa+40 isn't valid.
3155
bbbe4599 31562011-08-01 Julian Brown <julian@codesourcery.com>
3157
3158 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
3159 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
3160 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
3161
ac34b7db 31622011-08-01 Julian Brown <julian@codesourcery.com>
3163
3164 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
3165 (libgcc-std.ver.in): Use above.
3166 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
3167 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
3168 throughout file.
3169 * config/t-fixedpoint-gnu-prefix: New file.
3170 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
3171 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
3172 instead of __PFX__.
3173
2a7dfa04 31742011-07-28 H.J. Lu <hongjiu.lu@intel.com>
3175
3176 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
3177 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
3178 for x86-64. Properly check __x86_64__ and __LP64__.
3179
a232cb08 31802010-07-28 H.J. Lu <hongjiu.lu@intel.com>
3181
3182 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
3183 version.
3184 (_FP_WS_TYPE): Likewise.
3185 (_FP_I_TYPE): Likewise.
3186
c54e2746 31872011-07-28 Alan Modra <amodra@gmail.com>
3188
3189 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
3190 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
3191 in a plt call stub. Do restore r2 if stopped on bctrl.
3192
4d72c922 31932011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3194
3195 * config.host (i[3456x]86-*-netware*): Remove.
3196 * config/i386/netware-crt0.c, config/i386/t-nwld,
3197 config/i386/t-slibgcc-nwld: Remove.
3198
5aa04b01 31992011-07-15 Bernd Schmidt <bernds@codesourcery.com>
3200
3201 * config.host: Handle tic6x-*-*.
3202 * config/c6x/c6x-abi.h: New file.
3203
ba079bc9 32042011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3205
3206 * config/i386/crtprec.c: New file.
3207 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
3208 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
3209 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
3210 (x86_64-*-darwin*): Likewise.
3211 (i[34567]86-*-solaris2*: Likewise.
3212
1125ba83 32132011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3214
3215 * config/alpha/crtfastmath.c: New file.
3216 * config/i386/crtfastmath.c: New file.
3217 * config/ia64/crtfastmath.c: New file.
3218 * config/mips/crtfastmath.c: New file.
3219 * config/sparc/crtfastmath.c: New file.
3220
3221 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
3222 crtfastmath.c.
3223 Add -frandom-seed=gcc-crtfastmath.
3224 * config/alpha/t-crtfm: Remove.
3225 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
3226 * config/ia64/t-ia64 (crtfastmath.o): Remove.
3227
3228 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
3229 (alpha*-dec-osf5.1*): Likewise.
3230 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
3231 Add crtfastmath.o to extra_parts.
3232 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
3233 Add crtfastmath.o to extra_parts.
3234 (x86_64-*-darwin*): Likewise.
3235 (x86_64-*-mingw*): Likewise.
3236 (ia64*-*-elf*): Add t-crtfm to tmake_file.
3237 (ia64*-*-freebsd*): Likewise.
3238 (ia64*-*-linux*): Likewise.
3239 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
3240 Add crtfastmath.o to extra_parts.
3241
1a4a11f3 32422011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3243
3244 * config/darwin-crt3.o: New file.
3245 * config/rs6000/darwin-crt2.c: New file.
3246 * config/t-darwin: New file.
3247 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
3248 (crt2.o): New rule.
3249 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
3250 (powerpc-*-darwin*): Add crt2.o to extra_parts.
3251 (powerpc64-*-darwin*): Likewise.
3252
ef3ab47f 32532011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3254
3255 * config/i386/netware-crt0.c: New file.
3256 * config/i386/t-nwld: Rename to ...
3257 * config/i386/t-slibgcc-nwld: ... this.
3258 * config/i386/t-nwld: New file.
3259 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
3260 tmake_file.
3261 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
3262 extra_parts.
3263
367b55f3 32642011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3265
3266 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
3267 i386/t-crtstuff.
3268 * configure: Regenerate.
3269
17aa03f5 32702011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3271
3272 * dfp-bit.c, dfp-bit.h: New files.
3273 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
3274 variables.
3275 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
3276 ($(d64pbit-o)): Likewise.
3277 ($(d128pbit-o)): Likewise.
3278 * config/t-dfprules: New file.
3279 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
3280 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
3281 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
3282 (x86_64-*-linux*): Likewise.
3283 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
3284 (i[34567]86-*-cygwin*): Likewise.
3285 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
3286 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
3287
2bc72a9f 32882011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3289
3290 * Makfile.in (LIBGCOV): New variable.
3291 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
3292 * libgcov.c: New file.
3293
36a5227d 32942011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3295
3296 * fixed-bit.c, fixed-bit.h: New files.
3297 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
3298 refer to fixed-bit.c.
3299
689a8077 33002011-07-07 Joseph Myers <joseph@codesourcery.com>
3301
3302 * config.host (*local*): Remove.
3303
14f27bc6 33042011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3305
3306 PR target/39150
3307 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
3308 like i?86-*-solaris2.1[0-9]*.
3309 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
3310 * configure.ac (i?86-*-solaris2*): Likewise.
3311 * configure: Regenerate.
3312
fe27820f 33132011-07-06 Thomas Schwinge <thomas@schwinge.name>
3314
3315 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
3316 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
3317 md_unwind_header by splitting out of...
3318 (i[34567]86-*-linux*): ... this.
3319 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
3320 Remove md_unwind_header by splitting out of...
3321 (x86_64-*-linux*): ... this.
3322
934ca5fd 33232011-07-04 Georg-Johann Lay <avr@gjlay.de>
3324
3325 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
3326
707238af 33272011-06-28 Nick Clifton <nickc@redhat.com>
3328
3329 * config.host: Recognize all V850 variants.
3330
5125dcef 33312011-06-22 Uros Bizjak <ubizjak@gmail.com>
3332
3333 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
3334
f92b36a5 33352011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3336
3337 * shared-object.mk (c_flags-$o): Save c_flags.
3338 ($(base)$(objext)): Use it.
3339 ($(base)_s$(objext)): Likewise.
3340
d8492bd3 33412011-06-21 Bernd Schmidt <bernds@codesourcery.com>
3342
3343 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
3344 * libgcc-std.ver.in (GCC_4.7.0): New section.
3345
fa72efb7 33462011-06-16 Georg-Johann Lay <avr@gjlay.de>
5125dcef 3347
fa72efb7 3348 PR target/49313
3349 PR target/29524
3350 * config/avr/t-avr: Fix line endings.
3351 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
3352 _parityXX2.
3353
adf7c0a1 33542011-06-14 Olivier Hainque <hainque@adacore.com>
3355 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3356
3357 * config/mips/irix6-unwind.h: New file.
3358 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
3359
47529489 33602011-06-10 Eric Botcazou <ebotcazou@adacore.com>
3361
3362 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
3363 (sparc64_fallback_frame_state): Use it.
3364 (sparc64_frob_update_context): Further adjust context.
3365 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
3366 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
3367 * config/sparc/sol2-cn.S: Likewise.
3368
a6f06169 33692011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3370
3371 * enable-execute-stack-empty.c: New file.
3372 * enable-execute-stack-mprotect.c: New file.
3373 * config/i386/enable-execute-stack-mingw32.c: New file.
3374 * config.host (enable_execute_stack): New variable.
3375 Select appropriate variants.
3376 * configure.ac: Link enable-execute-stack.c to
3377 $enable_execute_stack.
3378 * configure: Regenerate.
3379 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
3380 (lib2funcs): Remove _enable_execute_stack.
3381
f9cccfac 33822011-06-09 David S. Miller <davem@davemloft.net>
3383 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3384
3385 * config.host (sparc-*-linux*): Correct md_unwind_header
3386 filename.
3387 (s390x-ibm-tpf*): Fix typo.
3388
ee884cfb 33892011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3390
3391 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
3392 Add crtfastmath.o to extra_parts.
3393 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
3394 mips/t-crtfm.
3395 * config/mips/t-crtfm: Remove.
3396
01cb8ad1 33972011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3398
3399 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
3400
73956a0d 34012011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
3402
3403 * config.host (sh*-*-linux*): Fix typo.
3404
1e53920f 34052011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3406
3407 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
3408 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
3409 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
3410 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
3411 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
3412 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
3413 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
3414 Wrap in !__MINGW64__.
3415 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
3416 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
3417 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
3418 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
3419 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
3420 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
3421 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
3422 Wrap in !__LP64__.
3423 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
3424 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
3425 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
3426 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
3427 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
3428 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
3429 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
3430 * config/no-unwind.h: New file.
3431 * config.host (md_unwind_header): Document.
3432 Define.
3433 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
3434 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
3435 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
3436 hppa[12]*-*-hpux11*): Set md_unwind_header.
3437 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
3438 Set md_unwind_header.
3439 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
3440 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
3441 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
3442 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
3443 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
3444 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
3445 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
3446 md_unwind_header.
3447 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
3448 * configure: Regenerate.
3449
8087ae75 34502011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3451
3452 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
3453 Set tmake_file, extra_parts.
3454 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
3455 Remove O32 support.
3456 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
3457 Remove O32 support.
3458 * config/mips/t-irix6: New file.
3459 * config/mips/t-slibgcc-irix: New file.
3460
506cfbc8 34612011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3462
3463 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
3464 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
3465
541346b9 34662011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3467
3468 * configure.ac (target_thread_file): Determine thread model.
3469 * configure: Regenerate.
3470 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
3471 * config/alpha/t-alpha: New file.
3472 * config/alpha/t-crtfm: Use $<.
3473 * config/alpha/t-ieee: New file.
3474 * config/alpha/t-osf-pthread: New file.
3475 * config/alpha/t-slibgcc-osf: New file.
3476 * config/alpha/libgcc-osf5.ver: New file.
3477
43ae7603 34782011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3479
3480 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
3481 tmake_file.
3482 Add crtfastmath.o to extra_parts.
3483
f0d9a626 34842011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3485
3486 * config/gmon-sol2.c: Reindent.
3487 Cleanup comments.
3488 Remove, correct casts.
3489 Use STDERR_FILENO, NULL.
3490 (BASEADDRESS): Remove.
3491 (minbrk): Remove.
3492 (errno, sbrk): Remove declarations.
3493 (monstartup) [hp300]: Remove.
3494 (mcount): Remove.
3495
63abf89e 34962011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3497
3498 * Makefile.in (cpu_type): Define.
3499 * config.host (i[34567]86-*-rtems*): Handle it.
3500 (i[34567]86-*-solaris2*): Move body ...
3501 (*-*-solaris2*): ... here.
3502 New case, generalize.
3503 (sparc-*-elf*): Handle it.
3504 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
3505 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
3506 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
3507 Fold into ...
3508 (sparc*-*-solaris2*): ... this.
3509 New case.
3510 (sparc64-*-elf*): Handle it.
3511 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
3512 Merge ../gcc/config/i386/gmon-sol2.c.
3513 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
3514 Use C comments.
3515 Merge ../gcc/config/i386/sol2-gc1.asm.
3516 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
3517 Use C comments.
3518 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
3519 Use C comments.
3520 * config/i386/t-crtfm (crtfastmath.o): Use $<.
3521 * config/i386/t-crtstuff: New file.
3522 * config/i386/t-softfp: New file.
3523 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
3524 $(T)crti.o, $(T)crtn.o): Remove.
3525 (gcrt1.o): New rule.
3526 (TARGET_LIBGCC2_CFLAGS): Remove.
3527 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
3528 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
3529 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
3530 * config/sparc/t-sol2: New file.
3531 * config/sparc/t-crtfm: Move to ...
3532 * config/t-crtfm: ... this.
3533 Use $(cpu_type), $<.
3534 * config/t-crtin: New file.
3535 * config/sparc/t-softfp: New file.
3536 * config/sparc/t-softmul: New file.
3537 * config/t-rtems: New file.
3538 * config/t-slibgcc: New file.
3539 * config/t-slibgcc-elf-ver: New file.
3540 * config/t-slibgcc-gld: New file.
3541 * config/t-slibgcc-sld: New file.
3542 * config/t-sol2: New file.
3543 * configure.ac: Include ../config/lib-ld.m4.
3544 Call AC_LIB_PROG_LD_GNU.
3545 Substitute cpu_type.
3546 * configure: Regenerate.
3547
b1da9d72 35482011-05-27 Bernd Schmidt <bernds@codesourcery.com>
3549
3550 PR bootstrap/49173
3551 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
3552 libgcc-std.ver in the build directory.
3553 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
3554 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
3555
f308a9b2 35562011-05-25 Bernd Schmidt <bernds@codesourcery.com>
3557
3558 * libgcc-std.ver.in: New file.
3559 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
3560 variables.
3561 (libgcc-std.ver): New rule.
3562 * config/t-gnu-prefix: New file.
3563
c177b341 35642011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3565
3566 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
3567
8633828c 35682011-05-10 Joseph Myers <joseph@codesourcery.com>
3569
3570 * config/i386/darwin-lib.h: New file.
3571
3be74046 35722011-05-10 Joseph Myers <joseph@codesourcery.com>
3573
3574 * config/arm/symbian-lib.h: New.
3575
5e1a494e 35762011-05-04 Chris Demetriou <cgd@google.com>
3577
3578 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
3579 (__x86.get_pc_thunk.bx): ...this.
3580 (__morestack): Adjust for rename, remove undef of __i686.
3581
0bb50d04 35822011-05-03 Chris Demetriou <cgd@google.com>
3583
3584 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
3585
17b3d2a8 35862011-03-22 Joseph Myers <joseph@codesourcery.com>
3587
3588 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
3589 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
3590 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
3591 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
3592 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
3593 Remove cases.
3594
95525c17 35952011-03-14 Andreas Tobler <andreast@fgznet.ch>
3596
3597 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
3598 Adjust copyright year.
3599
82c96609 36002011-03-07 Ian Lance Taylor <iant@google.com>
3601
3602 * generic-morestack.c (__splitstack_find): Adjust returned stack
3603 pointer to include all registers pushed by __morestack.
3604
abfe0c5b 36052011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
3606
3607 PR target/40125
3608 * configure.ac: Call ACX_NONCANONICAL_TARGET.
3609 (toolexecdir): Calculate and AC_SUBST.
3610 (toolexeclibdir): Likewise.
3611 * Makefile.in (target_noncanonical): Import.
3612 (toolexecdir): Likewise.
3613 (toolexeclibdir): Likewise.
3614 * configure: Regenerate.
3615
48f93ee5 36162010-12-13 Nathan Froyd <froydnj@codesourcery.com>
3617
3618 PR target/46040
3619 * config/arm/bpabi.h: Rename to...
3620 * config/arm/bpabi-lib.h: ...this.
3621
76aa642f 36222010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3623
3624 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
3625 appropriate.
3626 * configure: Regenerate.
3627
e8b06528 36282010-11-24 Nathan Froyd <froydnj@codesourcery.com>
3629
3630 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
3631 __FLOAT_WORD_ORDER__.
3632 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
3633 Delete.
3634
2b7a4d59 36352010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3636
3637 PR other/46202
3638 * Makefile.in (install-strip): New phony target.
3639
457123d6 36402010-11-07 Ian Lance Taylor <iant@google.com>
3641
3642 PR target/46089
3643 * config/i386/morestack.S (__morestack_large_model): New
3644 function.
3645
f6e5e456 36462010-10-23 Nathan Froyd <froydnj@codesourcery.com>
3647
3648 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
3649 Delete.
3650 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
3651
faf175ae 36522010-10-14 Nathan Froyd <froydnj@codesourcery.com>
3653
3654 * config/arm/bpabi.h: New file.
3655 * config/frv/frv-abi.h: New file.
3656
9266176d 36572010-10-01 Ian Lance Taylor <iant@google.com>
3658
3659 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
3660 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
3661
13ba4217 36622010-10-01 H.J. Lu <hongjiu.lu@intel.com>
3663
3664 PR target/45858
3665 * config.host: Add the missing `$'.
3666
d34b0d1e 36672010-09-30 Michael Eager <eager@eagercon.com>
3668
3669 * config.host: Add microblaze*-*-*.
3670 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
3671 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
3672 udivsi3.asm,umodsi3.asm}: New.
3673
78ca2689 36742010-09-28 Ian Lance Taylor <iant@google.com>
3675
3676 * configure.ac: Adjust CFI test to test assembler directly rather
3677 than checking gcc preprocessor macro.
3678 * configure: Rebuild.
3679
c9b3ebc5 36802010-09-27 Ian Lance Taylor <iant@google.com>
3681
3682 * configure.ac: Test whether assembler supports CFI directives.
3683 * config.host: Only add t-stack and i386/t-stack-i386 to
3684 tmake_file if libgcc_cv_cfi is "yes".
3685 * configure: Rebuild.
3686
48b14f50 36872010-09-27 Ian Lance Taylor <iant@google.com>
3688
3689 * generic-morestack.h: New file.
3690 * generic-morestack.c: New file.
3691 * generic-morestack-thread.c: New file.
3692 * config/i386/morestack.S: New file.
3693 * config/t-stack: New file.
3694 * config/i386/t-stack-i386: New file.
3695 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
3696 i386/t-stack-i386 to tmake_file.
3697
fd80c7a1 36982010-09-21 Iain Sandoe <iains@gcc.gnu.org>
3699
3700 * Makefile.in (libgcc-extra-parts): Check for static archives and
3701 invoke ranlib after installing them.
3702 (gcc-extra-parts): Likewise.
3703 (install-leaf): Likewise.
3704
70fbcd6d 37052010-09-14 H.J. Lu <hongjiu.lu@intel.com>
3706
3707 * configure: Regenerated.
3708
19aace05 37092010-09-10 Kai Tietz <kai.tietz@onevision.com>
3710
70fbcd6d 3711 * configure: Regenerated.
19aace05 3712
279dadf5 37132010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
3714 Andrew Pinski <pinskia@gmail.com>
3715
5125dcef 3716 PR target/40959
279dadf5 3717 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
3718
a87eb011 37192010-09-06 H.J. Lu <hongjiu.lu@intel.com>
3720
3721 PR target/45524
3722 * configure: Regenerated.
3723
e6425baf 37242010-09-06 Andreas Schwab <schwab@redhat.com>
3725
3726 * configure: Regenerate.
3727
e88f4c66 37282010-09-03 Uros Bizjak <ubizjak@gmail.com>
3729
3730 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
3731 64bit targets.
3732 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
3733 for 64bit targets.
3734
1d8139cc 37352010-09-03 Uros Bizjak <ubizjak@gmail.com>
3736 Iain Sandoe <iains@gcc.gnu.org>
3737
3738 PR target/45476
3739 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
3740 LIB2FUNCS_EXCLUDE functions.
3741
23340821 37422010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3743
3744 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
3745 Include dfp.m4.
3746 * configure: Regenerate.
3747
278afeb5 37482010-09-01 Uros Bizjak <ubizjak@gmail.com>
3749
3750 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
3751 i386/t-freebsd to tmake_file.
3752 * config/i386/t-freebsd: New file.
3753 * config/i386/libgcc-bsd.ver: New file.
3754
952bf8bb 37552010-07-23 Nathan Froyd <froydnj@codesourcery.com>
3756
3757 * config.host (powerpc*-eabispe*): Set tmake_file.
3758 (powerpc*-eabi*): Likewise.
3759 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
3760 crtbeginS, crtendS, crtbeginT.
3761
283681bb 37622010-06-12 Kazu Hirata <kazu@codesourcery.com>
3763
3764 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
3765 to tmake_file. Add crtfastmath.o to extra_parts.
3766 * config/mips/t-crtfm: New.
3767
a6180b96 37682010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
3769
3770 * config.host (sparc64-*-rtems*): New target.
3771
05157f42 37722010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3773
3774 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
3775 assembler syntax.
3776
8a84c748 37772010-04-15 Thomas Schwinge <tschwinge@gnu.org>
3778
3779 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
3780
ed3e1bbc 37812010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3782
3783 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
3784 alpha-dec-osf5.0* support.
3785
f8a8f9d9 37862010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
432dd419 3787
3788 * config.host: Add lm32-*-rtems*.
3789
20be3c56 37902010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3791 Uros Bizjak <ubizjak@gmail.com>
3792
3793 PR target/39048
3794 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
3795 like other remaining 32-bit x86 OSes.
3796 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
3797 assembler syntax.
3798 * config/i386/libgcc-sol2.ver: New file.
3799 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
3800
8f0f72c0 38012010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
3802
3803 PR c/43553
3804 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
3805 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
3806 is used and substitute set_use_emutls.
3807 * configure: Regenerated.
3808
cf842d6a 38092010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
3810
3811 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
3812
4dcd7ab3 38132010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3814
3815 PR target/38085
3816 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
3817 MULTILIB_CFLAGS.
3818 ($(T)gcrt1.o): Likewise.
3819 ($(T)crt1.o): Likewise.
3820 ($(T)crti.o): Likewise.
3821 ($(T)crtn.o): Likewise.
3822
a426f025 38232010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3824
3825 PR other/42980
3826 * Makefile.in (install): Use $(MAKE) string in rule, for
3827 parallel make.
3828
8525326e 38292010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
3830
3831 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
3832 * config/mmix/t-mmix: New file.
3833 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
3834
14a10763 38352010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
3836
3837 PR java/41991
3838 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
3839 SHLIB_MAPFILES.
3840
00301a1a 38412010-01-04 Anthony Green <green@moxielogic.com>
3842
3843 * config/moxie/crti.asm, config/moxie/crtn.asm,
3844 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
3845 config/moxie/t-moxie: New files.
3846 * config.host: Add t-moxie-softfp reference.
3847
d2b1aa3d 38482009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
3849
3850 PR other/39888
3851 * config/t-slibgcc-darwin: Fix embedded rpaths for
3852 --enable-version-specific-runtime-libs, build extension stub
3853 libs exposing features available from current libgcc_s.
3854
f6fe91e8 38552009-11-11 Jon Beniston <jon@beniston.com>
3856
278afeb5 3857 * config.host: Add lm32 targets.
3858 * config/lm32: New directory.
3859 * config/lm32/libgcc_lm32.h: New file.
3860 * config/lm32/_mulsi3.c: New file.
3861 * config/lm32/_udivmodsi4.c: New file.
3862 * config/lm32/_divsi3.c: New file.
3863 * config/lm32/_modsi3.c: New file.
3864 * config/lm32/_udivsi3.c: New file.
3865 * config/lm32/_umodsi3.c: New file.
3866 * config/lm32/_lshrsi3.S: New file.
3867 * config/lm32/_ashrsi3.S: New file.
3868 * config/lm32/_ashlsi3.S: New file.
3869 * config/lm32/crti.S: New file.
3870 * config/lm32/crtn.S: New file.
3871 * config/lm32/t-lm32: New file.
3872 * config/lm32/t-elf: New file.
3873 * config/lm32/t-uclinux: New file.
f6fe91e8 3874
24833e1a 38752009-10-26 Nick Clifton <nickc@redhat.com>
3876
3877 * config.host: Add support for RX target.
3878 * config/rx: New directory.
3879 * config/rx/rx-abi-functions.c: New file. Supplementary
3880 functions for libgcc to support the RX ABI.
3881 * config/rx/rx-abi.h: New file. Supplementary header file for
3882 libgcc RX ABI functions.
3883 * config/rx/t-rx: New file: Makefile fragment for building
3884 libgcc for the RX.
3885
1d7e299f 38862009-10-09 Uros Bizjak <ubizjak@gmail.com>
3887
3888 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
3889 constraint of y0 to "g".
3890
e38fe738 38912009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3892
3893 * config.host: Include the s390 makefile fragments.
3894 * config/s390/32/_fixdfdi.c: New file.
3895 * config/s390/32/_fixsfdi.c: New file.
3896 * config/s390/32/_fixtfdi.c: New file.
3897 * config/s390/32/_fixunsdfdi.c: New file.
3898 * config/s390/32/_fixunssfdi.c: New file.
3899 * config/s390/32/_fixunstfdi.c: New file.
3900 * config/s390/32/t-floattodi: New file.
3901 * config/s390/libgcc-glibc.ver: New file.
3902 * config/s390/t-crtstuff: New file.
3903 * config/s390/t-linux: New file.
3904 * config/s390/t-tpf: New file.
3905
81a71e2b 39062009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3907
3908 * configure.ac (AC_PREREQ): Bump to 2.64.
3909
a1ef431d 39102009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
3911
3912 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
3913
cd9a469c 39142009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3915
3916 * configure: Regenerate.
3917
9b9a2528 39182009-08-09 Douglas B Rupp <rupp@gnat.com>
3919
3920 * config.host (ia64-hp-*vms*): New target.
3921 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
3922 with ia64-hp-*vms*.
3923
a2655af1 39242009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3925
3926 * configure.ac: Add snippet for maintainer-mode.
3927 * configure: Regenerate.
3928 * Makefile.in (AUTOCONF, configure_deps): New variables.
3929 ($(srcdir)/configure)): New rule, active only with maintainer
3930 mode turned on.
3931
46222c18 39322009-06-23 DJ Delorie <dj@redhat.com>
3933
3934 Add MeP port.
3935 * config.host: Add mep support.
3936
13dc7657 39372009-06-22 Kai Tietz <kai.tietz@onevision.com>
3938
82a3cc73 3939 * config.host: Add i386/${host_address}/t-fprules-softfp and
1d7e299f 3940 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
82a3cc73 3941
3942 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
3943 for mingw targets.
13dc7657 3944 * config/i386/64/_multc3.c: Likewise.
3945 * config/i386/64/_powitf2.c: Likewise.
3946 * config/i386/64/eqtf2.c: Likewise.
3947 * config/i386/64/getf2.c: Likewise.
3948 * config/i386/64/letf2.c: Likewise.
3949 * config/i386/64/letf2.c: Likewise.
82a3cc73 3950 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
3951 unsigned long long for x64 mingw targets.
3952 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
3953 (_FP_I_TYPE): Define as long long for x64 mingw target.
13dc7657 3954
63bfd172 39552009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
3956
3957 * config.host (vax-*-linux*): New.
3958
be52b6d8 39592009-05-31 Anthony Green <green@moxielogic.com>
3960
3961 * config.host: Add moxie support.
3962 * config/moxie/t-moxie: New file.
3963
6471e33b 39642009-05-29 David Billinghurst <billingd@gcc.gnu.org>
3965
3966 * config.host: Add i386/${host_address}/t-fprules-softfp and
1d7e299f 3967 t-softfp to tmake_file for i[34567]86-*-cygwin*.
6471e33b 3968
09ec66c8 39692009-04-17 Aurelien Jarno <aurelien@aurel32.net>
3970
3971 * config.host: Add i386/${host_address}/t-fprules-softfp to
3972 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
3973
6bc9506f 39742009-04-09 Nick Clifton <nickc@redhat.com>
3975
3976 * config/ia64/tf-signs.c: Change copyright header to refer to
3977 version 3 of the GNU General Public License with version 3.1
3978 of the GCC Runtime Library Exception and to point readers at
3979 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
3980 web page.
3981 * config/i386/32/tf-signs.c: Likewise.
3982 * config/libbid/_addsub_dd.c: Likewise.
3983 * config/libbid/_addsub_sd.c: Likewise.
3984 * config/libbid/_addsub_td.c: Likewise.
3985 * config/libbid/_dd_to_df.c: Likewise.
3986 * config/libbid/_dd_to_di.c: Likewise.
3987 * config/libbid/_dd_to_sd.c: Likewise.
3988 * config/libbid/_dd_to_sf.c: Likewise.
3989 * config/libbid/_dd_to_si.c: Likewise.
3990 * config/libbid/_dd_to_td.c: Likewise.
3991 * config/libbid/_dd_to_tf.c: Likewise.
3992 * config/libbid/_dd_to_udi.c: Likewise.
3993 * config/libbid/_dd_to_usi.c: Likewise.
3994 * config/libbid/_dd_to_xf.c: Likewise.
3995 * config/libbid/_df_to_dd.c: Likewise.
3996 * config/libbid/_df_to_sd.c: Likewise.
3997 * config/libbid/_df_to_td.c: Likewise.
3998 * config/libbid/_di_to_dd.c: Likewise.
3999 * config/libbid/_di_to_sd.c: Likewise.
4000 * config/libbid/_di_to_td.c: Likewise.
4001 * config/libbid/_div_dd.c: Likewise.
4002 * config/libbid/_div_sd.c: Likewise.
4003 * config/libbid/_div_td.c: Likewise.
4004 * config/libbid/_eq_dd.c: Likewise.
4005 * config/libbid/_eq_sd.c: Likewise.
4006 * config/libbid/_eq_td.c: Likewise.
4007 * config/libbid/_ge_dd.c: Likewise.
4008 * config/libbid/_ge_sd.c: Likewise.
4009 * config/libbid/_ge_td.c: Likewise.
4010 * config/libbid/_gt_dd.c: Likewise.
4011 * config/libbid/_gt_sd.c: Likewise.
4012 * config/libbid/_gt_td.c: Likewise.
4013 * config/libbid/_isinfd128.c: Likewise.
4014 * config/libbid/_isinfd32.c: Likewise.
4015 * config/libbid/_isinfd64.c: Likewise.
4016 * config/libbid/_le_dd.c: Likewise.
4017 * config/libbid/_le_sd.c: Likewise.
4018 * config/libbid/_le_td.c: Likewise.
4019 * config/libbid/_lt_dd.c: Likewise.
4020 * config/libbid/_lt_sd.c: Likewise.
4021 * config/libbid/_lt_td.c: Likewise.
4022 * config/libbid/_mul_dd.c: Likewise.
4023 * config/libbid/_mul_sd.c: Likewise.
4024 * config/libbid/_mul_td.c: Likewise.
4025 * config/libbid/_ne_dd.c: Likewise.
4026 * config/libbid/_ne_sd.c: Likewise.
4027 * config/libbid/_ne_td.c: Likewise.
4028 * config/libbid/_sd_to_dd.c: Likewise.
4029 * config/libbid/_sd_to_df.c: Likewise.
4030 * config/libbid/_sd_to_di.c: Likewise.
4031 * config/libbid/_sd_to_sf.c: Likewise.
4032 * config/libbid/_sd_to_si.c: Likewise.
4033 * config/libbid/_sd_to_td.c: Likewise.
4034 * config/libbid/_sd_to_tf.c: Likewise.
4035 * config/libbid/_sd_to_udi.c: Likewise.
4036 * config/libbid/_sd_to_usi.c: Likewise.
4037 * config/libbid/_sd_to_xf.c: Likewise.
4038 * config/libbid/_sf_to_dd.c: Likewise.
4039 * config/libbid/_sf_to_sd.c: Likewise.
4040 * config/libbid/_sf_to_td.c: Likewise.
4041 * config/libbid/_si_to_dd.c: Likewise.
4042 * config/libbid/_si_to_sd.c: Likewise.
4043 * config/libbid/_si_to_td.c: Likewise.
4044 * config/libbid/_td_to_dd.c: Likewise.
4045 * config/libbid/_td_to_df.c: Likewise.
4046 * config/libbid/_td_to_di.c: Likewise.
4047 * config/libbid/_td_to_sd.c: Likewise.
4048 * config/libbid/_td_to_sf.c: Likewise.
4049 * config/libbid/_td_to_si.c: Likewise.
4050 * config/libbid/_td_to_tf.c: Likewise.
4051 * config/libbid/_td_to_udi.c: Likewise.
4052 * config/libbid/_td_to_usi.c: Likewise.
4053 * config/libbid/_td_to_xf.c: Likewise.
4054 * config/libbid/_tf_to_dd.c: Likewise.
4055 * config/libbid/_tf_to_sd.c: Likewise.
4056 * config/libbid/_tf_to_td.c: Likewise.
4057 * config/libbid/_udi_to_dd.c: Likewise.
4058 * config/libbid/_udi_to_sd.c: Likewise.
4059 * config/libbid/_udi_to_td.c: Likewise.
4060 * config/libbid/_unord_dd.c: Likewise.
4061 * config/libbid/_unord_sd.c: Likewise.
4062 * config/libbid/_unord_td.c: Likewise.
4063 * config/libbid/_usi_to_dd.c: Likewise.
4064 * config/libbid/_usi_to_sd.c: Likewise.
4065 * config/libbid/_usi_to_td.c: Likewise.
4066 * config/libbid/_xf_to_dd.c: Likewise.
4067 * config/libbid/_xf_to_sd.c: Likewise.
4068 * config/libbid/_xf_to_td.c: Likewise.
4069 * config/libbid/bid128.c: Likewise.
4070 * config/libbid/bid128_2_str.h: Likewise.
4071 * config/libbid/bid128_2_str_macros.h: Likewise.
4072 * config/libbid/bid128_2_str_tables.c: Likewise.
4073 * config/libbid/bid128_add.c: Likewise.
4074 * config/libbid/bid128_compare.c: Likewise.
4075 * config/libbid/bid128_div.c: Likewise.
4076 * config/libbid/bid128_fma.c: Likewise.
4077 * config/libbid/bid128_logb.c: Likewise.
4078 * config/libbid/bid128_minmax.c: Likewise.
4079 * config/libbid/bid128_mul.c: Likewise.
4080 * config/libbid/bid128_next.c: Likewise.
4081 * config/libbid/bid128_noncomp.c: Likewise.
4082 * config/libbid/bid128_quantize.c: Likewise.
4083 * config/libbid/bid128_rem.c: Likewise.
4084 * config/libbid/bid128_round_integral.c: Likewise.
4085 * config/libbid/bid128_scalb.c: Likewise.
4086 * config/libbid/bid128_sqrt.c: Likewise.
4087 * config/libbid/bid128_string.c: Likewise.
4088 * config/libbid/bid128_to_int16.c: Likewise.
4089 * config/libbid/bid128_to_int32.c: Likewise.
4090 * config/libbid/bid128_to_int64.c: Likewise.
4091 * config/libbid/bid128_to_int8.c: Likewise.
4092 * config/libbid/bid128_to_uint16.c: Likewise.
4093 * config/libbid/bid128_to_uint32.c: Likewise.
4094 * config/libbid/bid128_to_uint64.c: Likewise.
4095 * config/libbid/bid128_to_uint8.c: Likewise.
4096 * config/libbid/bid32_to_bid128.c: Likewise.
4097 * config/libbid/bid32_to_bid64.c: Likewise.
4098 * config/libbid/bid64_add.c: Likewise.
4099 * config/libbid/bid64_compare.c: Likewise.
4100 * config/libbid/bid64_div.c: Likewise.
4101 * config/libbid/bid64_fma.c: Likewise.
4102 * config/libbid/bid64_logb.c: Likewise.
4103 * config/libbid/bid64_minmax.c: Likewise.
4104 * config/libbid/bid64_mul.c: Likewise.
4105 * config/libbid/bid64_next.c: Likewise.
4106 * config/libbid/bid64_noncomp.c: Likewise.
4107 * config/libbid/bid64_quantize.c: Likewise.
4108 * config/libbid/bid64_rem.c: Likewise.
4109 * config/libbid/bid64_round_integral.c: Likewise.
4110 * config/libbid/bid64_scalb.c: Likewise.
4111 * config/libbid/bid64_sqrt.c: Likewise.
4112 * config/libbid/bid64_string.c: Likewise.
4113 * config/libbid/bid64_to_bid128.c: Likewise.
4114 * config/libbid/bid64_to_int16.c: Likewise.
4115 * config/libbid/bid64_to_int32.c: Likewise.
4116 * config/libbid/bid64_to_int64.c: Likewise.
4117 * config/libbid/bid64_to_int8.c: Likewise.
4118 * config/libbid/bid64_to_uint16.c: Likewise.
4119 * config/libbid/bid64_to_uint32.c: Likewise.
4120 * config/libbid/bid64_to_uint64.c: Likewise.
4121 * config/libbid/bid64_to_uint8.c: Likewise.
4122 * config/libbid/bid_b2d.h: Likewise.
4123 * config/libbid/bid_binarydecimal.c: Likewise.
4124 * config/libbid/bid_conf.h: Likewise.
4125 * config/libbid/bid_convert_data.c: Likewise.
4126 * config/libbid/bid_decimal_data.c: Likewise.
4127 * config/libbid/bid_decimal_globals.c: Likewise.
4128 * config/libbid/bid_div_macros.h: Likewise.
4129 * config/libbid/bid_dpd.c: Likewise.
4130 * config/libbid/bid_flag_operations.c: Likewise.
4131 * config/libbid/bid_from_int.c: Likewise.
4132 * config/libbid/bid_functions.h: Likewise.
4133 * config/libbid/bid_gcc_intrinsics.h: Likewise.
4134 * config/libbid/bid_inline_add.h: Likewise.
4135 * config/libbid/bid_internal.h: Likewise.
4136 * config/libbid/bid_round.c: Likewise.
4137 * config/libbid/bid_sqrt_macros.h: Likewise.
4138
41392009-04-09 Jakub Jelinek <jakub@redhat.com>
4140
4141 * Makefile.in: Change copyright header to refer to version
4142 3 of the GNU General Public License and to point readers at the
4143 COPYING3 file and the FSF's license web page.
4144 * config.host: Likewise.
4145
4e5e2802 41462009-04-07 Alan Modra <amodra@bigpond.net.au>
4147
4148 * config.host: Reorder and merge to match config.gcc change.
4149
8d40ea45 41502009-04-03 Alan Modra <amodra@bigpond.net.au>
4151
4152 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
4153
f2397fc4 41542009-03-28 Joseph Myers <joseph@codesourcery.com>
4155
4156 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
4157 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
4158 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
4159 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
4160
24200b28 41612009-02-12 Uros Bizjak <ubizjak@gmail.com>
4162
4163 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
4164 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
4165
8b21beb2 41662009-02-12 H.J. Lu <hongjiu.lu@intel.com>
4167
24200b28 4168 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
4169 ia64/t-softfp-compat to tmake_file.
8b21beb2 4170
4171 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
4172
4173 * config/ia64/__divxf3.asm: New.
4174 * config/ia64/_fixtfdi.asm: Likewise.
4175 * config/ia64/_fixunstfdi.asm: Likewise.
4176 * config/ia64/_floatditf.asm: Likewise.
4177 * config/ia64/t-fprules-softfp: Likewise.
4178 * config/ia64/t-softfp-compat: Likewise.
4179 * config/ia64/tf-signs.c: Likewise.
4180
9df8be69 41812009-01-18 Ben Elliston <bje@au.ibm.com>
4182
4183 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
4184
f2b540ae 41852009-01-16 Ben Elliston <bje@au.ibm.com>
4186
4187 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
4188 to tmake_file.
4189
5790f80a 41902009-01-13 Ben Elliston <bje@au.ibm.com>
4191
4192 * config/t-softfp: New file.
4193 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
4194 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
4195
b8138586 41962009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
4197
4198 * config.host: Add m32r*-*-rtems*.
4199
7eac0a4e 42002008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
4201
4202 * config.host: Add m32c*-*-rtems*.
4203
03150a33 42042008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4205
4206 PR bootstrap/33100
4207 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
4208 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
4209 * configure: Regenerate.
4210 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
4211 tmake_file here from gcc/config.gcc.
4212 Move extra_parts here from gcc/config.gcc.
4213 * config/i386/t-sol2: Move here from gcc/config/i386.
4214 Use gcc_srcdir instead of srcdir.
4215
77a32a8e 42162008-11-18 Adam Nemet <anemet@caviumnetworks.com>
4217
4218 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
4219 case.
4220
1eab96a6 42212008-11-09 Thomas Schwinge <tschwinge@gnu.org>
4222
4223 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
4224
74cd9df8 42252008-10-08 Thomas Schwinge <tschwinge@gnu.org>
4226
4227 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
4228
8372e9ea 42292008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
4230
4231 Add picoChip port.
4232 * config.host: Add picochip-*-*.
4233
75c7ffbc 42342008-08-06 Bob Wilson <bob.wilson@acm.org>
4235
4236 * config.host: Match more processor names for Xtensa.
4237
fb4830c6 42382008-07-08 H.J. Lu <hongjiu.lu@intel.com>
4239
4240 * config/i386/64/t-softfp-compat: Update comments.
4241
7c92db45 42422008-07-07 H.J. Lu <hongjiu.lu@intel.com>
4243
4244 * config/i386/64/_divtc3-compat.c: Moved to ...
4245 * config/i386/64/_divtc3.c: Here.
4246
4247 * config/i386/64/_multc3-compat.c: Moved to ...
4248 * config/i386/64/_multc3.c: Here.
4249
4250 * config/i386/64/_powitf2-compat.c: Moved to ...
4251 * config/i386/64/_powitf2.c: Here.
4252
4253 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
4254 .c suffix instead of -compat.c.
4255
ec2e6a4e 42562008-07-05 Uros Bizjak <ubizjak@gmail.com>
4257
4258 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
4259 (_FP_MUL_MEAT_D): Ditto.
4260 (_FP_DIV_MEAT_S): Ditto.
4261 (_FP_DIV_MEAT_D): Ditto.
4262
fdbb505a 42632008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
4264
4265 * Makefile.in: Add support for __sync_* libgcc functions.
4266
310c48f2 42672008-07-03 H.J. Lu <hongjiu.lu@intel.com>
4268
4269 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
4270
144633f4 42712008-07-02 H.J. Lu <hongjiu.lu@intel.com>
4272
4273 PR boostrap/36702
4274 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
4275 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
4276
4277 * config/i386/64/t-fprules-softfp: Moved to ...
4278 * config/i386/64/t-softfp-compat: This. New.
4279
e25ffafe 42802008-07-02 Uros Bizjak <ubizjak@gmail.com>
4281
4282 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
4283 Initialize f with 0.0.
4284
b3fd46a0 42852008-07-02 H.J. Lu <hongjiu.lu@intel.com>
4286
4287 PR target/36669
4288 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
4289
4290 * config/i386/64/_divtc3-compat.c: New.
4291 * config/i386/64/_multc3-compat.c: Likewise.
4292 * config/i386/64/_powitf2-compat.c: Likewise.
4293 * config/i386/64/eqtf2.c: Likewise.
4294 * config/i386/64/getf2.c: Likewise.
4295 * config/i386/64/letf2.c: Likewise.
4296 * config/i386/64/t-fprules-softfp: Likewise.
4297
42982008-07-02 H.J. Lu <hongjiu.lu@intel.com>
4299
4300 * config.host: Add i386/${host_address}/t-fprules-softfp to
4301 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
1d7e299f 4302 i[34567]86-*-linux*, x86_64-*-linux*.
b3fd46a0 4303
4304 * configure.ac: Set host_address to 64 or 32 for x86.
4305 * configure: Regenerated.
4306
4307 * Makefile.in (config.status): Also depend on
4308 $(srcdir)/config.host.
4309
4310 * config/i386/32/t-fprules-softfp: New.
4311 * config/i386/32/tf-signs.c: Likewise.
4312
4313 * config/i386/64/sfp-machine.h: New. Moved from gcc.
4314
43152008-07-02 H.J. Lu <hongjiu.lu@intel.com>
4316 Uros Bizjak <ubizjak@gmail.com>
4317
4318 * config/i386/32/sfp-machine.h: New.
4319
eaef9489 43202008-06-26 Nathan Froyd <froydnj@codesourcery.com>
4321
4322 * config/rs6000/t-ppccomm: Remove rules that conflict with
4323 auto-generated rules.
4324
5b2c7553 43252008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4326
4327 * configure.ac: sinclude override.m4.
4328 * configure: Regenerate.
4329
dde02e56 43302008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
4331
4332 * configure: Regenerate.
4333
4d6f3aad 43342008-06-10 Joseph Myers <joseph@codesourcery.com>
4335
4336 * Makefile.in (DECNUMINC): Remove
4337 -I$(MULTIBUILDTOP)../../libdecnumber.
4338 * gstdint.h: New.
4339
6af9f7ea 43402008-06-07 Joseph Myers <joseph@codesourcery.com>
4341
4342 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
4343 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
4344 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
4345 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
4346 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
4347 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
4348 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
4349 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
4350 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
4351 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
4352 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
4353 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
4354 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
4355 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
4356
ccf1c0f1 43572008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
4358
4359 * config.host (sh2[lbe]*-*-linux*): Allow target.
4360
19872d0b 43612008-04-30 Nathan Froyd <froydnj@codesourcery.com>
4362
4363 * config/rs6000/t-ppccomm: Add build rules for new files.
4364 (LIB2ADD_ST): New variable.
4365
38dd5584 43662008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
4367
4368 PR target/34210
4369 PR target/35508
4370 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
4371 * config/t-avr: New file. Build 16bit libgcc functions.
4372
8e5da69c 43732008-03-02 Jakub Jelinek <jakub@redhat.com>
4374
4375 PR target/35401
4376 * config/t-slibgcc-darwin: Make install-leaf dependent on
4377 install-darwin-libgcc-stubs instead of install.
4378
99c77e32 43792008-01-25 Joseph Myers <joseph@codesourcery.com>
4380
4381 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
4382 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
4383 sh-*-rtemscoff*): Remove cases.
4384
8237872e 43852007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
4386
4387 * Makefile.in (all): Use install-leaf rather than install.
4388 (install): Split most of the rule into...
4389 (install-leaf): ...this new one.
4390
00a05b87 43912007-12-19 Etsushi Kato <ek.kato@gmail.com>
4392 Paolo Bonzini <bonzini@gnu.org>
4393
4394 PR target/30572
e25ffafe 4395 * Makefile.in: Use @shlib_slibdir@ substitution to get
4396 correct install name on darwin.
00a05b87 4397 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
1d7e299f 4398
877d7f12 43992007-12-15 Hans-Peter Nilsson <hp@axis.com>
4400
4401 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
4402 cris-*-elf and cris-*-none.
4403 (crisv32-*-linux*): Similar, as cris-*-linux*.
4404
75612461 44052007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
4406
4407 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
4408
f11b4169 44092007-10-27 H.J. Lu <hongjiu.lu@intel.com>
4410
4411 PR regression/33926
4412 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
4413 * configure: Regenerated.
4414
84d1fc49 44152007-09-27 H.J. Lu <hongjiu.lu@intel.com>
4416
4417 * Makefile.in (dfp-filenames): Replace decimal_globals,
4418 decimal_data, binarydecimal and convert_data with
4419 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
4420 and bid_convert_data, respectively.
4421
3ac0842f 44222007-09-17 Chao-ying Fu <fu@mips.com>
4423 Nigel Stephens <nigel@mips.com>
4424
4425 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
4426 * Makefile.in (fixed_point): Define.
4427 Check if fixed_point is yes to build support functions.
4428 * configure.ac: Check for fixed_point support.
4429 * configure: Regenerated.
4430 * gen-fixed.sh: New file to generate lists of fixed-point labels,
4431 funcs, modes, from, to.
4432
8c72b2f9 44332007-09-11 Janis Johnson <janis187@us.ibm.com
4434
4435 * Makefile.in (dfp-filenames): Add bid128_noncomp.
4436
c8ac5d9a 44372007-09-10 Janis Johnson <janis187@us.ibm.com>
4438
4439 * Makefile.in (dfp-filenames): Remove decUtility, add
4440 decDouble, decPacked, decQuad, decSingle.
4441
cc8ebe39 44422007-08-27 Hans Kester <hans.kester@ellips.nl>
4443
4444 * config.host : Add x86_64-elf target.
4445
db1c99de 44462007-07-06 H.J. Lu <hongjiu.lu@intel.com>
4447
4448 * configure.ac (set_have_cc_tls): Add a missing =.
4449 * configure: Regenerated.
4450
e4cbe54f 44512007-07-06 H.J. Lu <hongjiu.lu@intel.com>
4452
4453 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
4454 and x86_64-*-linux*.
4455
4456 * config/t-tls: New file.
4457
1d7e299f 4458 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
e4cbe54f 4459
4460 * configure.ac: Include ../config/enable.m4 and
4461 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
4462 supports TLS and substitute set_have_cc_tls.
4463 * configure: Regenerated.
4464
9b6b0236 44652007-07-04 H.J. Lu <hongjiu.lu@intel.com>
4466
4467 * Makefile.in: Use libbid for DFP when BID is enabled.
4468
9e51385b 44692007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
4470
4471 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
1d7e299f 4472 extra_parts. Add config/i386/t-cygming to tmake_file.
9e51385b 4473 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
4474
8f433c51 44752007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
9b6b0236 4476 Danny Smith <dannysmith@users.sourceforge.net>
8f433c51 4477
4478 PR target/29498
4479 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
4480 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
4481 * config/i386/t-crtfm: Compile crtfastmath.o with
4482 -minline-all-stringops.
4483
723e1902 44842007-05-10 Richard Sandiford <richard@codesourcery.com>
4485
4486 * config.host (sparc-wrs-vxworks): New target.
4487
278e2fd1 44882007-04-14 Kazu Hirata <kazu@codesourcery.com>
4489
4490 * config.host: Recognize fido.
4491
2968d68c 44922007-04-04 Janis Johnson <janis187@us.ibm.com>
4493
4494 * configure: Check host, not target, for decimal float support.
4495
6d057ce8 44962007-04-03 Uros Bizjak <ubizjak@gmail.com>
4497
4498 * config/i386/t-crtpc: New file.
4499 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
e25ffafe 4500 (x86_64-*-linux*): Ditto.
6d057ce8 4501
0bbe9142 45022007-02-30 Kai Tietz <kai.tietz@onevision.com>
4503
4504 * config.host (x86_64-*-mingw*): New target.
4505
10de71e1 45062007-03-23 Michael Meissner <michael.meissner@amd.com>
4507 H.J. Lu <hongjiu.lu@intel.com>
4508
4509 * Makefile.in (enable_decimal_float): New.
4510 (DECNUMINC): Add
4511 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
4512 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
4513 (decbits-filenames): This.
4514 (decbits-objects): New.
4515 (libgcc-objects): Add $(decbits-objects).
4516
4517 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
4518 Substitute enable_decimal_float.
4519 * configure: Regenerated.
4520
7a9b9c95 45212007-03-19 Hans-Peter Nilsson <hp@axis.com>
4522
4523 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
4524
37decb40 45252007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
4526
4527 * Makefile.in (install-info): New dummy target.
4528
bce94ab5 45292007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
4530
4531 * config.host (bfin*-linux-uclibc*): Set extra_parts.
4532
1403bdd1 45332007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
4534
4535 * Makefile.in: Add install-html and install-pdf dummy
4536 targets.
4537
fce64ed4 45382007-02-05 Roger Sayle <roger@eyesopen.com>
4539 Daniel Jacobowitz <dan@codesourcery.com>
4540
4541 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
4542 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
4543 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
4544
4d863ca5 45452007-01-29 Janis Johnson <janis187@us.ibm.com>
4546
4547 * Makefile.in (dec-filenames): Add decExcept.
4548
f0356913 45492007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
4550
4551 PR bootstrap/30469
4552 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
4553 -fprofile-use.
4554
bbdcab13 45552007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
4556
4557 * configure.ac: Add --enable-version-specific-runtime-libs.
4558 Correct $slibdir default.
4559 * configure: Regenerated.
4560
3da0fdbc 45612007-01-23 Joseph Myers <joseph@codesourcery.com>
4562
4563 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
4564
cdca0ab7 45652007-01-21 Andrew Pinski <pinskia@gmail.com>
4566
4567 PR target/30519
4568 * config.host (alpha*-*-linux*): Set extra_parts.
4569
97f1a704 45702007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
4571
4572 * config/sh/t-linux: New.
4573 * config.host (sh*-*-linux*): Set tmake_file.
4574
52617116 45752007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
4576
4577 * Makefile.in (install): Handle multilibs.
4578
c0e5c948 45792007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
4580
4581 * Makefile.in: Added .PHONY entry for documentation targets.
4582
d62e2f2f 45832007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
4584
4585 * Makefile.in: Add empty info, html, dvi, pdf targets.
4586
68cf2994 45872007-01-04 Mike Stump <mrs@apple.com>
4588
4589 * Makefile.in (MAKEINFO): Remove.
4590 (PERL): Likewise.
4591
f534b3b3 45922007-01-04 Paolo Bonzini <bonzini@gnu.org>
4593
4594 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
4595 * configure: Regenerate.
4596 * Makefile.in (host_subdir): Substitute it.
1d7e299f 4597 (gcc_objdir): Use it.
f534b3b3 4598
c11c6ae3 45992007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
4600
4601 * config.host (ia64*-*-linux*): Set tmake_file.
4602
d272bed8 46032007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
4604
4605 * Makefile.in (version): Define.
4606
894a47b4 46072007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
4608 Paolo Bonzini <bonzini@gnu.org>
4609
4610 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
4611 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
4612 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
4613 config/sparc/t-crtfm, config/t-slibgcc-darwin,
4614 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
4615 shared-object.mk, siditi-object.mk, static-object.mk: New files.
4616 * configure: Generated.