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