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