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