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