]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
re PR tree-optimization/59038 (r204398 causes 186.crafty init.c to be miscompiled)
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
d59a8fcc
UB
12013-11-07 Uros Bizjak <ubizjak@gmail.com>
2
3 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
4 FP_EX_DENORM. Store result to volatile location after SSE division
5 to close interrupt window. Remove unneeded fwait after x87
6 division since interrupt window will be closed by emitted fstp.
9de84e84 7 Rewrite FP_EX_INEXACT handling.
d59a8fcc 8
9954c743
JM
92013-11-06 Joseph Myers <joseph@codesourcery.com>
10
11 * soft-fp/README: Update.
12 * soft-fp/adddf3.c: Update from glibc.
13 * soft-fp/addsf3.c: Likewise.
14 * soft-fp/addtf3.c: Likewise.
15 * soft-fp/divdf3.c: Likewise.
16 * soft-fp/divsf3.c: Likewise.
17 * soft-fp/divtf3.c: Likewise.
18 * soft-fp/double.h: Likewise.
19 * soft-fp/eqdf2.c: Likewise.
20 * soft-fp/eqsf2.c: Likewise.
21 * soft-fp/eqtf2.c: Likewise.
22 * soft-fp/extenddftf2.c: Likewise.
23 * soft-fp/extended.h: Likewise.
24 * soft-fp/extendsfdf2.c: Likewise.
25 * soft-fp/extendsftf2.c: Likewise.
26 * soft-fp/extendxftf2.c: Likewise.
27 * soft-fp/fixdfdi.c: Likewise.
28 * soft-fp/fixdfsi.c: Likewise.
29 * soft-fp/fixdfti.c: Likewise.
30 * soft-fp/fixsfdi.c: Likewise.
31 * soft-fp/fixsfsi.c: Likewise.
32 * soft-fp/fixsfti.c: Likewise.
33 * soft-fp/fixtfdi.c: Likewise.
34 * soft-fp/fixtfsi.c: Likewise.
35 * soft-fp/fixtfti.c: Likewise.
36 * soft-fp/fixunsdfdi.c: Likewise.
37 * soft-fp/fixunsdfsi.c: Likewise.
38 * soft-fp/fixunsdfti.c: Likewise.
39 * soft-fp/fixunssfdi.c: Likewise.
40 * soft-fp/fixunssfsi.c: Likewise.
41 * soft-fp/fixunssfti.c: Likewise.
42 * soft-fp/fixunstfdi.c: Likewise.
43 * soft-fp/fixunstfsi.c: Likewise.
44 * soft-fp/fixunstfti.c: Likewise.
45 * soft-fp/floatdidf.c: Likewise.
46 * soft-fp/floatdisf.c: Likewise.
47 * soft-fp/floatditf.c: Likewise.
48 * soft-fp/floatsidf.c: Likewise.
49 * soft-fp/floatsisf.c: Likewise.
50 * soft-fp/floatsitf.c: Likewise.
51 * soft-fp/floattidf.c: Likewise.
52 * soft-fp/floattisf.c: Likewise.
53 * soft-fp/floattitf.c: Likewise.
54 * soft-fp/floatundidf.c: Likewise.
55 * soft-fp/floatundisf.c: Likewise.
56 * soft-fp/floatunditf.c: Likewise.
57 * soft-fp/floatunsidf.c: Likewise.
58 * soft-fp/floatunsisf.c: Likewise.
59 * soft-fp/floatunsitf.c: Likewise.
60 * soft-fp/floatuntidf.c: Likewise.
61 * soft-fp/floatuntisf.c: Likewise.
62 * soft-fp/floatuntitf.c: Likewise.
63 * soft-fp/gedf2.c: Likewise.
64 * soft-fp/gesf2.c: Likewise.
65 * soft-fp/getf2.c: Likewise.
66 * soft-fp/ledf2.c: Likewise.
67 * soft-fp/lesf2.c: Likewise.
68 * soft-fp/letf2.c: Likewise.
69 * soft-fp/muldf3.c: Likewise.
70 * soft-fp/mulsf3.c: Likewise.
71 * soft-fp/multf3.c: Likewise.
72 * soft-fp/negdf2.c: Likewise.
73 * soft-fp/negsf2.c: Likewise.
74 * soft-fp/negtf2.c: Likewise.
75 * soft-fp/op-1.h: Likewise.
76 * soft-fp/op-2.h: Likewise.
77 * soft-fp/op-4.h: Likewise.
78 * soft-fp/op-8.h: Likewise.
79 * soft-fp/op-common.h: Likewise.
80 * soft-fp/quad.h: Likewise.
81 * soft-fp/single.h: Likewise.
82 * soft-fp/soft-fp.h: Likewise.
83 * soft-fp/subdf3.c: Likewise.
84 * soft-fp/subsf3.c: Likewise.
85 * soft-fp/subtf3.c: Likewise.
86 * soft-fp/truncdfsf2.c: Likewise.
87 * soft-fp/trunctfdf2.c: Likewise.
88 * soft-fp/trunctfsf2.c: Likewise.
89 * soft-fp/trunctfxf2.c: Likewise.
90 * soft-fp/unorddf2.c: Likewise.
91 * soft-fp/unordsf2.c: Likewise.
92 * soft-fp/unordtf2.c: Likewise.
93
02ac9503
UB
942013-11-05 Uros Bizjak <ubizjak@gmail.com>
95
96 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
97 (_FP_MUL_MEAT_D): Ditto.
98 (_FP_DIV_MEAT_S): Ditto.
99 (_FP_DIV_MEAT_D): Ditto.
100 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
101 t-softfp-sfdf and t-softfp to tmake_file.
102
61221141
UB
1032013-11-03 Uros Bizjak <ubizjak@gmail.com>
104
105 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
106 * config/i386/crtprec.c: Ditto.
107
9304f876
CJW
1082013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
109 Shiva Chen <shiva0217@gmail.com>
110
111 * config.host (nds32*-elf*): Add nds32 target.
112 * config/nds32 : New directory and files.
113
0e499e75
HPN
1142013-10-16 Hans-Peter Nilsson <hp@axis.com>
115
116 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
117 * config.host (cpu_type) <Setting default>: Add entry for
118 crisv32-*-*.
119 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
120 <crisv32-*-linux*>: Adjust.
121 * longlong.h: Wrap the whole CRIS section in a single
122 defined(__CRIS__) conditional. Add comment about add_ssaaaa
123 and sub_ddmmss.
124 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
125 defined.
126 [__CRIS__] (__umulsidi3): Define.
127 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
128 * config/cris/sfp-machine.h: New file.
129 * config/cris/umulsidi3.S: New file.
130 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
131 * config/cris/arit.c (SIGNMULT): New macro.
132 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
133 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
134 saving 3 out of originally 33 cycles from the fastest
135 path, 3 out of 54 from the medium path and one from the longest
136 path. Improve comments.
137
16022041
RS
1382013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
139
140 * sync.c: Remove static aliases and define each function directly
141 under its real name.
142
69778659
JDA
1432013-10-02 John David Anglin <danglin@gcc.gnu.org>
144
145 * config.host (hppa*64*-*-linux*): Define extra_parts.
146 (hppa*-*-linux*): Likewise.
147
2deaf8b0
JR
1482013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
149
150 * config/arc/crtgend.S: Add 2013 to Copyright years.
151 * config/arc/gmon/atomic.h: Likewise.
152 * config/arc/gmon/auxreg.h: Likewise.
153 * config/arc/gmon/sys/gmon_out.h: Likewise.
154 * config/arc/gmon/sys/gmon.h: Likewise.
155 * config/arc/gmon/prof-freq.c: Likewise.
156 * config/arc/gmon/mcount.c: Likewise.
157 * config/arc/gmon/prof-freq-stub.S: Likewise.
158 * config/arc/gmon/gmon.c: Likewise.
159 * config/arc/gmon/machine-gmon.h: Likewise.
160 * config/arc/gmon/profil.S: Likewise.
161 * config/arc/gmon/dcache_linesz.S: Likewise.
162 * config/arc/crtg.S: Likewise.
163 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
164 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
165 * config/arc/ieee-754/adddf3.S: Likewise.
166 * config/arc/ieee-754/truncdfsf2.S: Likewise.
167 * config/arc/ieee-754/fixsfsi.S: Likewise.
168 * config/arc/ieee-754/gtsf2.S: Likewise.
169 * config/arc/ieee-754/floatsisf.S: Likewise.
170 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
171 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
172 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
173 * config/arc/ieee-754/fixdfsi.S: Likewise.
174 * config/arc/ieee-754/addsf3.S: Likewise.
175 * config/arc/ieee-754/gesf2.S: Likewise.
176 * config/arc/ieee-754/floatsidf.S: Likewise.
177 * config/arc/ieee-754/extendsfdf2.S: Likewise.
178 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
179 * config/arc/ieee-754/gtdf2.S: Likewise.
180 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
181 * config/arc/ieee-754/uneqdf2.S: Likewise.
182 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
183 * config/arc/ieee-754/uneqsf2.S: Likewise.
184 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
185 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
186 * config/arc/ieee-754/eqdf2.S: Likewise.
187 * config/arc/ieee-754/ordsf2.S: Likewise.
188 * config/arc/ieee-754/divsf3.S: Likewise.
189 * config/arc/ieee-754/divdf3.S: Likewise.
190 * config/arc/ieee-754/floatunsidf.S: Likewise.
191 * config/arc/ieee-754/orddf2.S: Likewise.
192 * config/arc/ieee-754/eqsf2.S: Likewise.
193 * config/arc/ieee-754/gedf2.S: Likewise.
194 * config/arc/crtn.S: Likewise.
195 * config/arc/crti.S: Likewise.
196 * config/arc/t-arc700-uClibc: Likewise.
197 * config/arc/asm.h: Likewise.
198 * config/arc/libgcc-excl.ver: Likewise.
199 * config/arc/t-arc-newlib: Likewise.
200 * config/arc/divtab-arc700.c: Likewise.
201 * config/arc/initfini.c: Likewise.
202 * config/arc/fp-hack.h: Likewise.
203
c8e318b0
JR
2042013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
205 Diego Novillo <dnovillo@google.com>
206
207 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
a07c5b47
JR
208 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
209 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
210 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
c8e318b0 211
d38a64b4
JR
2122013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
213 Brendan Kehoe <brendan@zen.org>
214 Simon Cook <simon.cook@embecosm.com>
215
216 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
217 * config/arc: New directory.
218 * longlong.h [__arc__] (umul_ppmm): Remove.
219 [__arc__] (__umulsidi3): Define.
220 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
221 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
222
dff717d2
JC
2232013-09-17 Jacek Caban <jacek@codeweavers.com>
224
225 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
226 CreateSemaphoreA.
227 * config/i386/gthr-win32.h: Likewise.
228
5c0029de
DD
2292013-09-16 DJ Delorie <dj@redhat.com>
230
844ad6c6 231 * config/rl78/vregs.h: Add G10 register definitions.
5c0029de
DD
232 * config/rl78/lib2mul.c: Enable for RL78/G10.
233 * config/rl78/lib2div.c: Likewise.
234 * config/rl78/lshrsi3.S: Use vregs.h.
235 * config/rl78/cmpsi2.S: Likewise.
236 * config/rl78/trampoline.S: Likewise.
237 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
238
ceb2fc49
DD
2392013-09-14 DJ Delorie <dj@redhat.com>
240 Nick Clifton <nickc@redhat.com>
241
242 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
243 * config/rl78/vregs.h: New.
244 * config/rl78/signbit.S: New file. Implements signbit function.
245 * config/rl78/divmodsi.S: New.
246 * config/rl78/divmodhi.S: New.
247 * config/rl78/divmodqi.S: New.
248 * config/rl78/t-rl78: Build them here...
249 * config/rl78/lib2div.c: ...but not here.
250
f6a83b4a
DD
2512013-09-12 DJ Delorie <dj@redhat.com>
252
253 * config.host (msp*-*-elf): New.
254 * config/msp430/: New port.
255
9107b096
IS
2562013-08-18 Iain Sandoe <iain@codesourcery.com>
257
258 PR gcov-profile/58127
259 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
260 __thread var for emulated TLS.
261 (__gcov_indirect_call_counters): Likewise.
262
0f9bde1f 2632013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
61221141
UB
264 Catherine Moore <clm@codesourcery.com>
265 Richard Sandiford <rdsandiford@googlemail.com>
0f9bde1f
MR
266
267 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
268 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
269 (CALL_STUB_NO_RET): Likewise.
270 (CALL_STUB_RET): Likewise.
271 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
272 __mips16_ret call/return stub symbols.
273 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
274 to tmake_file.
275
2dc14aac
MR
2762013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
277
278 * config.host <mips*-*-linux*>: Remove a stray comment.
279
748d71f3
JH
2802013-08-10 Jan Hubicka <jh@suse.cz>
281
282 Work around binutils PR14342
283 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
284 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
285 (L_gcov_indirect_call_profiler_v2): New.
286
2fa3d31b
JH
2872013-08-06 Jan Hubicka <jh@suse.cz>
288
289 * libgcov.c (__gcov_indirect_call_callee,
290 __gcov_indirect_call_counters): New global vars.
291 (__gcov_indirect_call_profiler): replace by ...
292 (__gcov_indirect_call_profiler_v2) ... this one.
293
2077db1b
CT
2942013-08-06 Caroline Tice <cmtice@google.com>
295
d0595b65 296 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
2077db1b 297 vtv_start_preinit.o and vtv_end_preinit.o.
d0595b65
CT
298 * configure.ac: Add code to check/set enable_vtable_verify.
299 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
2077db1b 300 true.
d0595b65
CT
301 * vtv_start_preinit.c: New file.
302 * vtv_end_preinit.c: New file.
303 * vtv_start.c: New file.
304 * vtv_end.c: New file.
305 * configure: Regenerated.
2077db1b 306
46549c20
MK
3072013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
308
309 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
310 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
311 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
312 GPL-3.0-with-GCC-exception.
313
72be589b
MR
3142013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
315
316 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
317 ISA and up.
318
902a3faf
AK
3192013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
320
321 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
322 mapping for FPRs when creating the fallback framestate.
323
02371798
GJL
3242013-07-19 Georg-Johann Lay <avr@gjlay.de>
325
326 PR target/57516
327 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
328 (__round_s2_const, __round_u2_const)
329 (__round_s4_const, __round_u4_const, __round_x8):
330 Saturate result if addition result cannot be represented.
331
ab0e8379
MK
3322013-07-15 Matthias Klose <doko@ubuntu.com>
333
334 * libgcc2.c: Don't include <limits.h>.
335
7da38058
JJ
3362013-07-09 Janis Johnson <janisjo@codesourcery.com>
337
338 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
339
1f6eac90
JJ
3402013-07-06 Jakub Jelinek <jakub@redhat.com>
341
342 PR target/29776
343 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
344
4ea3d774
JJ
3452013-06-28 Jakub Jelinek <jakub@redhat.com>
346
347 PR middle-end/36041
348 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
349 Define.
350 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
351 instead of table lookups.
352 (__popcountDI2): Likewise.
353
9d2cdf25
CJW
3542013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
355
356 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
357 correctly.
358
fa1e55b0
JM
3592013-06-21 Joseph Myers <joseph@codesourcery.com>
360
361 PR other/53317
362 * soft-fp/adddf3.c: Update from glibc.
363 * soft-fp/addsf3.c: Likewise.
364 * soft-fp/addtf3.c: Likewise.
365 * soft-fp/divdf3.c: Likewise.
366 * soft-fp/divsf3.c: Likewise.
367 * soft-fp/divtf3.c: Likewise.
368 * soft-fp/double.h: Likewise.
369 * soft-fp/eqdf2.c: Likewise.
370 * soft-fp/eqsf2.c: Likewise.
371 * soft-fp/eqtf2.c: Likewise.
372 * soft-fp/extenddftf2.c: Likewise.
373 * soft-fp/extended.h: Likewise.
374 * soft-fp/extendsfdf2.c: Likewise.
375 * soft-fp/extendsftf2.c: Likewise.
376 * soft-fp/fixdfdi.c: Likewise.
377 * soft-fp/fixdfsi.c: Likewise.
378 * soft-fp/fixsfdi.c: Likewise.
379 * soft-fp/fixsfsi.c: Likewise.
380 * soft-fp/fixtfdi.c: Likewise.
381 * soft-fp/fixtfsi.c: Likewise.
382 * soft-fp/fixunsdfdi.c: Likewise.
383 * soft-fp/fixunsdfsi.c: Likewise.
384 * soft-fp/fixunssfdi.c: Likewise.
385 * soft-fp/fixunssfsi.c: Likewise.
386 * soft-fp/fixunstfdi.c: Likewise.
387 * soft-fp/fixunstfsi.c: Likewise.
388 * soft-fp/floatdidf.c: Likewise.
389 * soft-fp/floatdisf.c: Likewise.
390 * soft-fp/floatditf.c: Likewise.
391 * soft-fp/floatsidf.c: Likewise.
392 * soft-fp/floatsisf.c: Likewise.
393 * soft-fp/floatsitf.c: Likewise.
394 * soft-fp/floatundidf.c: Likewise.
395 * soft-fp/floatundisf.c: Likewise.
396 * soft-fp/floatunditf.c: Likewise.
397 * soft-fp/floatunsidf.c: Likewise.
398 * soft-fp/floatunsisf.c: Likewise.
399 * soft-fp/floatunsitf.c: Likewise.
400 * soft-fp/gedf2.c: Likewise.
401 * soft-fp/gesf2.c: Likewise.
402 * soft-fp/getf2.c: Likewise.
403 * soft-fp/ledf2.c: Likewise.
404 * soft-fp/lesf2.c: Likewise.
405 * soft-fp/letf2.c: Likewise.
406 * soft-fp/muldf3.c: Likewise.
407 * soft-fp/mulsf3.c: Likewise.
408 * soft-fp/multf3.c: Likewise.
409 * soft-fp/negdf2.c: Likewise.
410 * soft-fp/negsf2.c: Likewise.
411 * soft-fp/negtf2.c: Likewise.
412 * soft-fp/op-1.h: Likewise.
413 * soft-fp/op-2.h: Likewise.
414 * soft-fp/op-4.h: Likewise.
415 * soft-fp/op-8.h: Likewise.
416 * soft-fp/op-common.h: Likewise.
417 * soft-fp/quad.h: Likewise.
418 * soft-fp/single.h: Likewise.
419 * soft-fp/soft-fp.h: Likewise.
420 * soft-fp/subdf3.c: Likewise.
421 * soft-fp/subsf3.c: Likewise.
422 * soft-fp/subtf3.c: Likewise.
423 * soft-fp/truncdfsf2.c: Likewise.
424 * soft-fp/trunctfdf2.c: Likewise.
425 * soft-fp/trunctfsf2.c: Likewise.
426 * soft-fp/unorddf2.c: Likewise.
427 * soft-fp/unordsf2.c: Likewise.
428 * soft-fp/unordtf2.c: Likewise.
429 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
430 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
431 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
432 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
433 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
434 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
435 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
436 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
437 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
438 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
439 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
440 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
441
0de86a92
JU
4422013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
443
444 * config/mips/lib2funcs.c: New file.
445 * config/mips/t-mips (LIB2ADD_ST): Add it.
446
0d008882
OE
4472013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
448
449 PR target/6526
450 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
451 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
452
776434d1
WL
4532013-06-08 Walter Lee <walt@tilera.com>
454
455 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
456 Replace int64_t with long long. Add __extension__ where
457 appropriate.
458 * config/tilepro/atomic.c: Include config.h.
459
6ab3ebb4
DR
4602013-06-06 Douglas B Rupp <rupp@adacore.com>
461
462 * config.host (arm-wrs-vxworks): Configure with other soft float.
463
107eea2c
JU
4642013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
465
466 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
467 (mips64r5900el-*-elf*): New configurations.
468
5cc19c62
AM
4692013-06-04 Alan Modra <amodra@gmail.com>
470
471 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
472
0f1d3965
YR
4732013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
474
475 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
476
0ba045df
EB
4772013-05-28 Eric Botcazou <ebotcazou@adacore.com>
478
479 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
480 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
481 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
482
49dcafd4
EB
4832013-05-22 Eric Botcazou <ebotcazou@adacore.com>
484
485 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
486 (powerpc-wrs-vxworks): Likewise.
487
4fcb5d87
EB
4882013-05-22 Eric Botcazou <ebotcazou@adacore.com>
489
490 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
491 signal frames as well.
492 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
493 STACK_BIAS to the CFA offset.
494
0ec33224
RH
4952013-05-17 Richard Henderson <rth@redhat.com>
496
497 PR target/49146
498 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
499 (execute_cfa_program): Use it when storing to fs->regs.
500
492a8029
KT
5012013-05-08 Kai Tietz <ktietz@redhat.com>
502
503 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
504 (__deregister_frame_info): Likewise.
505
701e2f0a
TS
5062013-05-06 Thomas Schwinge <thomas@codesourcery.com>
507
e5123d08
TS
508 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
509 NaN's payload.
510
701e2f0a
TS
511 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
512
b9a7eb5d
AM
5132013-04-25 Alan Modra <amodra@gmail.com>
514
515 * config.host: Match little-endian powerpc-linux.
516
dfe192f5
YZ
5172013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
518
519 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
520 as 'unsigned long long' instead of 'unsigned long'.
521 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
522 'signed long'.
523
b6b9af2f
JB
5242013-04-10 Julian Brown <julian@codesourcery.com>
525
526 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
527 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
528 unsigned char/unsigned short.
529 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
530
ecabdd00
JDA
5312013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
532
533 PR other/55274
534 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
535
34652576
MI
5362013-04-04 Meador Inge <meadori@codesourcery.com>
537
538 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
539 computing the location of the link register.
540 (aeabi_uldivmod): Ditto.
541
e9fd8c19
KT
5422013-03-27 Kai Tietz <ktietz@redhat.com>
543
544 * config.host: Add support for cygwin x64 target.
545 * configure: Regenerated.
546
a6406324
WL
5472013-03-26 Walter Lee <walt@tilera.com>
548
549 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
550 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
551
55446c7e
KT
5522013-03-25 Kai Tietz <ktietz@redhat.com>
553
554 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
555
d2ae19d9
RM
5562013-03-20 Robert Mason <rbmj@verizon.net>
557
558 * config/vxlib-tls.c (__gthread_get_tsd_data,)
559 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
560 (__gthread_leave_tsd_dtor_context): Add prototypes.
561 (tls_delete_hook): Update.
562
22c4c869
CM
5632013-03-20 Catherine Moore <clm@codesourcery.com>
564 Joseph Myers <joseph@codesourcery.com>
565 Chao-ying Fu <fu@mips.com>
566
567 * config/mips/mips16.S: Don't build for microMIPS.
568 * config/mips/linux-unwind.h: Handle microMIPS frame.
569 * config/mips/crtn.S (fini, init): New labels.
570
fbd28bc3
JJ
5712013-03-14 Jakub Jelinek <jakub@redhat.com>
572
573 PR tree-optimization/53265
574 * unwind-dw2.c (execute_cfa_program): Avoid
575 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
576 on targets with DWARF_FRAME_REGISTERS < 32.
577
decc676e
OE
5782013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
579
580 PR target/49880
581 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
582 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
583
84ea618a
ST
5842013-03-07 Sriraman Tallam <tmsriram@google.com>
585
586 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
587 sandybridge processors.
588
8f6d1c86
OE
5892013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
590
591 PR target/56529
592 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
593 inclusion list.
594
ecdbd01a 5952013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
409b1de4
EI
596
597 * config/microblaze/crti.S: Setup stack protection at entry
598
0b4ce21b
GJL
5992013-03-04 Georg-Johann Lay <avr@gjlay.de>
600
601 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
602 (__rotldi3): Shift bytewise if applicable.
603
b7c3f1ca
JG
6042013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
605
606 * config/aarch64/sync-cache.c
607 (__aarch64_sync_cache_range): Silence warnings.
608
6d65e8f1
CM
6092013-02-25 Catherine Moore <clm@codesourcery.com>
610
611 Revert:
612 2013-02-24 Catherine Moore <clm@codesourcery.com>
613 Joseph Myers <joseph@codesourcery.com>
614 Chao-ying Fu <fu@mips.com>
615
616 * config/mips/mips16.S: Don't build for microMIPS.
617 * config/mips/linux-unwind.h: Handle microMIPS frame.
618 * config/mips/crtn.S (fini, init): New labels.
619
6941b508
CM
6202013-02-24 Catherine Moore <clm@codesourcery.com>
621 Joseph Myers <joseph@codesourcery.com>
622 Chao-ying Fu <fu@mips.com>
623
624 * config/mips/mips16.S: Don't build for microMIPS.
625 * config/mips/linux-unwind.h: Handle microMIPS frame.
626 * config/mips/crtn.S (fini, init): New labels.
627
7c422dbb
EI
6282012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
629 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
630 as dividend.
631
110207ad
AM
6322013-02-16 Alan Modra <amodra@gmail.com>
633
634 PR target/55431
635 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
636 (ppc_fallback_frame_state): Always set up save locations for fp
637 and altivec. Don't bother with non-callee-saved regs, r0-r13
638 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
639
e68a4ef6
GJL
6402013-02-12 Georg-Johann Lay <avr@gjlay.de>
641
642 PR target/54222
643 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
644 _ssmulHA, _ssmulSA.
645 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
646 _ssmulha3, _usmulusa3, _ssmulsa3.
647 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
648 (__muldi3): XCALL __muldi3_6 instead of rcall.
649 (__umulsidi3, __mulsidi3): New functions.
650 (do_prologue_saves, do_epilogue_restores): New .macros.
651 (__divdi3_moddi3): Use them.
652 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
653 (__usmulusa3, __ssmulsa3): New functions.
654
6c59ffd1
IS
6552013-02-11 Iain Sandoe <iain@codesourcery.com>
656 Jack Howarth <howarth@bromo.med.uc.edu>
657 Patrick Marlier <patrick.marlier@gmail.com>
658
659 PR libitm/55693
660 * config/darwin-crt-tm.c: Remove dummy functions hack.
661
85d768f3
GJL
6622013-02-08 Georg-Johann Lay <avr@gjlay.de>
663
664 PR target/54222
665 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
666 * config/avr/lib2-object.mk: New iterator to build objects from it.
667 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
668 lib2funcs.c.
669 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
670 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
671 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
672 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
673 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
674 * config/avr/lib1funcs-fixed.S: Implement them.
675
5d5bf775
RS
6762013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
677
678 Update copyright years.
679
99113dff
DE
6802013-02-01 David Edelsohn <dje.gcc@gmail.com>
681
682 PR target/54601
683 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
684 Add crtcxa to extra_parts.
685 * config/rs6000/exit.h: New file.
686 * config/rs6000/cxa_atexit.c: New file.
687 * config/rs6000/cxa_finalize.c: New file.
688 * config/rs6000/crtcxa.c: New file.
689 * config/rs6000/t-aix-cxa: New file.
690 * config/rs6000/libgcc-aix-cxa.ver: New file.
691
dbdbd982
NC
6922013-01-31 Nick Clifton <nickc@redhat.com>
693
694 * config/v850/lib1funcs.S: Add support for e3v5 architecture
695 variant.
696
5893f158
GJL
6972013-01-29 Georg-Johann Lay <avr@gjlay.de>
698
699 PR target/54222
700 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
701 _mulQQ, _mulHQ, _mulHA, _mulSA,
702 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
703 _divQQ, _divHQ, _divHA, _divSA,
704 _divUQQ, _divUHQ, _divUHA, _divUSA.
705
ecdbd01a 7062013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
fbf0cf90 707
dbdbd982 708 * config.host(microblaze*-linux*): tmake_file: Remove
fbf0cf90
DH
709 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
710 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
711 to exclude functions from being built with libgcc.c and use
712 the microblaze assembly.
713
ecdbd01a 7142013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6f14eef2
EI
715
716 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
717 extra_parts.
718
922c57d1
YZ
7192013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
720
721 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
722 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
723 __UINTPTR_TYPE__; also cast 'base' to the same type before the
724 alignment operation.
725
e0f8b6a0
SN
7262013-01-15 Sofiane Naci <sofiane.naci@arm.com>
727
728 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
729 loop start address for cache clearing.
730
00892272
GJL
7312013-01-14 Georg-Johann Lay <avr@gjlay.de>
732
733 * config/avr/lib1funcs.S: Remove trailing blanks.
734 * config/avr/lib1funcs-fixed.S: Ditto.
735
e59ec5fd
GJL
7362013-01-14 Georg-Johann Lay <avr@gjlay.de>
737
738 * config/avr/avr-lib.h: Add GPL copyright notice.
739
3ffc1958
GJL
7402013-01-14 Georg-Johann Lay <avr@gjlay.de>
741
742 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
743 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
744 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
745 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
746
25c210f9
MK
7472013-01-07 Mark Kettenis <kettenis@openbsd.org>
748
749 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
750 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
2bc15360 751
db59befb
NC
7522013-01-04 Nick Clifton <nickc@redhat.com>
753
754 * config/v850/lib1funcs.S: Only provide CALLT support functions if
755 the CALLT instruction is supported.
756
5aa12dbf
JW
7572012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
758
759 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
760 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
761
65f14117
JT
7622012-12-13 John Tytgat <John@bass-software.com>
763
764 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
765 is 25.
766
ee3ae4f7
JJ
7672012-12-12 Jakub Jelinek <jakub@redhat.com>
768
769 PR libgcc/55451
770 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
771 undefined signed overflows.
772
2fcfba3d
UB
7732012-12-09 Uros Bizjak <ubizjak@gmail.com>
774
775 PR target/55344
776 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
777
4f2b3dc2
UB
7782012-12-06 Uros Bizjak <ubizjak@gmail.com>
779
780 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
781 (FP_TRAPPING_EXCEPTIONS): Define.
782 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
783 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
784
066161a2
RH
7852012-12-04 Richard Henderson <rth@redhat.com>
786
787 PR bootstrap/55571
788 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
789
25626181
MS
7902012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
791
4f2b3dc2 792 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
25626181
MS
793 (FP_EX_SHIFT): Define.
794 (FP_TRAPPING_EXCEPTIONS): Define.
795
868395e8
MS
7962012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
797
798 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
799 (FP_ROUNDMODE): Use FP_RND_MASK.
800 * config/aarch64/sfp-exceptions.c: New.
801 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
802 Use __sfp_handle_exceptions.
803
5005fe22
RE
8042012-12-04 Richard Earnshaw <rearnsha@arm.com>
805
806 * config.host: (arm*-*-freebsd*): Remove.
807 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
808 (arm*-*-elf*): Remove.
809 (arm*-*-wince-pe*): Remove.
810 * arm/unwind-arm.c (struct fpa_reg): Delete.
811 (struct fpa_regs): Delete.
812 (phase1_vrs): Remove fpa element.
813 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
814 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
815 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
816 * ieee754-sf.S (floatundisf): Remove FPA support.
817 (floatdisf): Likewise.
818 * ieee75f-df.S (floatundidf): Likewise.
819 (floatdidf): Likewise.
820
e5a81c8e
KT
8212012-11-29 Kai Tietz <ktietz@redhat.com>
822
823 PR target/55445
824 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
825 * unwind-generic.h: Likewise.
826 * unwind-seh.c: Likewise.
827
f4919e4a
RH
8282012-11-28 Richard Henderson <rth@redhat.com>
829
830 PR libgcc/48076
831 * emutls.c (__emutls_get_address): Avoid race condition between
832 obj->loc.offset read and emutls_key initialization.
4f2b3dc2 833
e13d9d5a
GJL
8342012-11-22 Georg-Johann Lay <avr@gjlay.de>
835
836 Adjust decimal point of signed accum mode to GCC default.
837
838 PR target/54222
839 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
840 _divqq_helper.
841 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
842 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
843 (__mulha3, __mulsa3)
844 (__divqq3, __divha3, __divsa3): Adjust to new position of
4f2b3dc2
UB
845 decimal point of signed accum types.
846
e13d9d5a
GJL
847 (__mulusa3_round): New function.
848 (__mulusa3): Use it.
849 (__divqq_helper): New function.
850 (__udivuqq3): Use it.
851
1b845c6e
JJ
8522012-11-20 Jakub Jelinek <jakub@redhat.com>
853
854 PR bootstrap/55370
855 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
856
822a258a
TJ
8572012-11-18 Teresa Johnson <tejohnson@google.com>
858
859 PR bootstrap/55051
860 * libgcov.c (gcov_exit): Remove merged program summary
861 comparison unless !GCOV_LOCKED.
862
54f4eaf0
MS
8632012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
864
865 * soft-fp: Updated from glibc upstream.
866
e808687a
ILT
8672012-11-06 Ian Lance Taylor <iant@google.com>
868
869 * generic-morestack.c (__generic_morestack): Align the returned
870 stack pointer to a 32 byte boundary.
871 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
872 increment the return address until we have decided that we don't
873 have a varargs function.
874 (__morestack) [32-bit]: Align stack correctly when calling C
875 functions.
876 (__morestack) [64-bit]: Likewise.
877
460277e0
TS
8782012-11-04 Thomas Schwinge <thomas@codesourcery.com>
879
880 * configure: Regenerate.
881
73edb277
UB
8822012-11-02 Uros Bizjak <ubizjak@gmail.com>
883
884 PR target/55175
885 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
886 * config/i386/sfp-machine.h: Guard exception handling
887 code with _SOFT_FLOAT.
888 * config/i386/32/sfp-machine.h: Guard rounding handling
889 code with _SOFT_FLOAT.
890 * config/i386/64/sfp-machine.h: Ditto.
891
c1d4fa04
JS
8922012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
893
894 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
895 as extra_parts.
896
eff6ca85
UB
8972012-10-26 Uros Bizjak <ubizjak@gmail.com>
898
899 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
900 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
901 when appropriate. Correct structure element types.
902 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
903 -minline-all-stringops from compile flags.
904
43a8f1a1
RC
9052012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
906
907 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
908
76c78361
RC
9092012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
910
eff6ca85 911 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
76c78361 912
6f288860
SH
9132012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
914
915 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
916 tmake_file.
917
1e3d5096
IB
9182012-10-23 Ian Bolton <ian.bolton@arm.com>
919 Jim MacArthur <jim.macarthur@arm.com>
920 Marcus Shawcroft <marcus.shawcroft@arm.com>
921 Nigel Stephens <nigel.stephens@arm.com>
922 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
923 Richard Earnshaw <rearnsha@arm.com>
924 Sofiane Naci <sofiane.naci@arm.com>
925 Stephen Thomas <stephen.thomas@arm.com>
926 Tejas Belagod <tejas.belagod@arm.com>
927 Yufeng Zhang <yufeng.zhang@arm.com>
928
929 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
930 * config/aarch64/crti.S: New file.
931 * config/aarch64/crtn.S: New file.
932 * config/aarch64/linux-unwind.h: New file.
933 * config/aarch64/sfp-machine.h: New file.
934 * config/aarch64/sync-cache.c: New file.
935 * config/aarch64/t-aarch64: New file.
936 * config/aarch64/t-softfp: New file.
937
8a740f07
HPN
9382012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
939
940 * config/mmix/crti.S: Mark program and data addresses using PRELD.
941 Remove typo'd and unnecessary alignment-LOC for .data. Remove
942 no-longer-needed LDBU insns.
943
153c8397
SH
9442012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
945
946 * config.host
947 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
948 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
949
595fefee
MGD
9502012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
951
952 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
953
9945a876
MK
9542012-10-15 Matthias Klose <doko@ubuntu.com>
955
956 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
957
1183dc2c
PC
9582012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
959
960 * configure: Regenerate.
961 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
962
945a9c1f
UB
9632012-10-10 Uros Bizjak <ubizjak@gmail.com>
964
965 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
966 instructions for 64bit targets only.
967
fb8bf47a
UB
9682012-10-10 Uros Bizjak <ubizjak@gmail.com>
969
970 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
971 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
972 * config/i386/32/sfp-machine.h: ... here.
973 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
974 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
975 New defines.
976
acb72498
MK
9772012-10-07 Matthias Klose <doko@ubuntu.com>
978
979 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
980 as unused.
981 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
982
8eaee0f0
MK
9832012-10-06 Mark Kettenis <kettenis@openbsd.org>
984
985 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
986 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
987 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
988 (ElfW): Likewise.
989
5e3e4fe8
JW
9902012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
991
992 PR other/53889
993 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
994 Fix parameter names.
995
86086376
OE
9962012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
997
998 PR target/33135
999 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
1000 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
1001 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
1002
9597375a
OE
10032012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
1004
1005 PR target/50457
1006 * config/sh/linux-atomic.S: Delete.
1007 * config/sh/linux-atomic.c: New.
1008 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
1009 linux-atomic.c. Add cflags to disable warnings.
1010
1504e3e1
JW
10112012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
1012
1013 PR other/53889
1014 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
1015 function.
1016 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
1017 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
1018 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
1019 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5e3e4fe8
JW
1020 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
1021 Likewise.
1504e3e1
JW
1022 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
1023 Likewise.
1024 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
1025 Likewise.
1026 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
1027 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
1028
17f293b0
MK
10292012-09-19 Mark Kettenis <kettenis@openbsd.org>
1030
9597375a
OE
1031 * config.host (hppa-*-openbsd*): New target.
1032 * config/pa/t-openbsd: New file.
17f293b0 1033
51526856
GJL
10342012-09-15 Georg-Johann Lay <avr@gjlay.de>
1035
1036 PR target/54222
1037 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
1038 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
1039 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
1040 (__divsa3): Use __negsi2 to negate r_quoL.
1041 * config/avr/lib1funcs.S (FALIAS): New macro.
1042 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
1043 (__negsi2): ...this new function.
1044 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
1045 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
1046 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
1047 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
1048 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
1049 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
1050
aadb5b43
OE
10512012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
1052
1053 PR target/54089
1054 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
1055 (lshrsi3): Reimplement as lshrsi3_r0.
1056
d5d66749
AS
10572012-09-10 Andreas Schwab <schwab@linux-m68k.org>
1058
1059 PR target/46191
1060 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
1061 of libgcc.a.
1062
c6c36e73
TJ
10632012-09-07 Teresa Johnson <tejohnson@google.com>
1064
9597375a 1065 PR gcov-profile/54487
c6c36e73 1066 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9597375a 1067 differences.
c6c36e73 1068
b588ae30
GJL
10692012-09-05 Georg-Johann Lay <avr@gjlay.de>
1070
1071 PR target/54461
1072 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
1073 not configured --with-avrlibc=no.
1074 * config/avr/t-avrlibc: New file.
1075 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
1076 (DPBIT_FUNCS): Ditto.
1077 (TPBIT_FUNCS): Ditto.
1078
abd16fb1
TJ
10792012-09-04 Teresa Johnson <tejohnson@google.com>
1080
1081 * libgcov.c (struct gcov_summary_buffer): New structure.
1082 (gcov_histogram_insert): New function.
1083 (gcov_compute_histogram): Ditto.
1084 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
1085 histograms during summary merging.
1086
613061fd
MK
10872012-09-01 Mark Kettenis <kettenis@openbsd.org>
1088
1089 * config.host (x86_64-*-openbsd*): New target.
73edb277 1090
867a8345
CLT
10912012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
1092
1093 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
1094 attribute.
1095
4aeaaca3
GJL
10962012-08-24 Georg-Johann Lay <avr@gjlay.de>
1097
1098 PR target/54222
1099 * config/avr/t-avr (conv_X): Rename to func_X.
1100
e55e4056
GJL
11012012-08-24 Georg-Johann Lay <avr@gjlay.de>
1102
1103 PR target/54222
1104 * config/avr/lib1funcs-fixed.S: New file.
1105 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
1106 after they are used.
1107 (neg2, neg4): New macros.
1108 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
1109 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
1110 (__umulhisi3): Speed up MUL variant if there is enough flash.
1111 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
1112 avr-modes.def.
1113 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
1114 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
1115 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
1116 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
1117 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
1118 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
1119 (LIB2FUNCS_EXCLUDE): Add supported functions.
1120
a147b6d2
GJL
11212012-08-22 Georg-Johann Lay <avr@gjlay.de>
1122
1123 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
1124 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
1125 libgcc-s-objects.
1126 * fixed-obj.mk: Only expand dependency if $o is not in
1127 LIB2FUNCS_EXCLUDE.
1128
c637141a
L
11292012-08-22 H.J. Lu <hongjiu.lu@intel.com>
1130
1131 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
1132
130e00bd
JM
11332012-08-22 Joseph Myers <joseph@codesourcery.com>
1134
1135 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
1136 depend on --enable-shared.
1137 ($(lib1asmfuncs-o)): Use %.vis files independent of
1138 --enable-shared.
1139 * static-object.mk ($(base)$(objext), $(base).vis)
1140 ($(base)_s$(objext)): Use same rules for visibility handling as in
1141 shared-object.mk.
1142
4b1b3788
ILT
11432012-08-21 Ian Lance Taylor <iant@google.com>
1144
1145 * config/i386/morestack.S (__morestack_non_split): Increase amount
1146 of space allocated for non-split code stack.
1147
d2468141
JM
11482012-08-19 Joseph Myers <joseph@codesourcery.com>
1149
1150 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
1151 even if inhibit_libc.
1152
a508e1a8
JB
11532012-08-17 Julian Brown <julian@codesourcery.com>
1154
1155 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
1156 -fexceptions -fnon-call-exceptions if not defined.
1157 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
1158 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
1159
5615a07d
AS
11602012-08-17 Andreas Schwab <schwab@linux-m68k.org>
1161
1162 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
1163 type.
1164
138f5acd
DE
11652012-08-16 David Edelsohn <dje.gcc@gmail.com>
1166
1167 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
1168 rs6000/t-slibgcc-aix.
1169
18efc0dd
SB
11702012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
1171
1172 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
1173
6b39bc38
SB
11742012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
1175
1176 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
1177
cd25dea0
L
11782012-08-03 H.J. Lu <hongjiu.lu@intel.com>
1179
1180 PR driver/54171
1181 * Makefile.in (version): Replace top_srcdir with srcdir.
1182
a3dda30b
JY
11832012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
1184
1185 * Makefile.in (version): set to BASE-VER file from gcc directory.
1186
d04aacfc
NC
11872012-08-01 Nick Clifton <nickc@redhat.com>
1188
1189 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
1190 Implements __clrsb for an HImode argument.
1191
0d13c974
NC
11922012-07-31 Nick Clifton <nickc@redhat.com>
1193
1194 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
1195 Implements __clrsb for an HImode argument.
1196 * config/stormy16/clrsbhi2.c: New file:
1197 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
1198
efbb59b2
SB
11992012-07-22 Steven Bosscher <steven@gcc.gnu.org>
1200
1201 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
1202
bf1431e3
TG
12032012-07-19 Tristan Gingold <gingold@adacore.com>
1204 Richard Henderson <rth@redhat.com>
1205
1206 * unwind-seh.c: New file.
1207 * unwind-generic.h: Include windows.h for SEH.
1208 (_Unwind_Exception): Use 6 private fields for SEH.
1209 (_GCC_specific_handler): Declare.
1210 * unwind-c.c (__gcc_personality_seh0): New function.
1211 Adjust for SEH.
1212 * config/i386/libgcc-cygming.ver: New file.
1213 * config/i386/t-seh-eh: New file.
1214 * config.host (x86_64-*-mingw*): Default to seh.
1215
659140c8
SB
12162012-07-14 Steven Bosscher <steven@gcc.gnu.org>
1217
1218 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
1219
a20d08fd
UB
12202012-06-17 Uros Bizjak <ubizjak@gmail.com>
1221
1222 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
1223 __builtin_expect when checking for exceptions.
1224 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
1225
79261115
UB
12262012-06-13 Uros Bizjak <ubizjak@gmail.com>
1227
4a172156
UB
1228 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
1229 function declaration.
1230 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
1231 (FP_RND_MASK): New.
1232 * config/ia64/sfp-exceptions.c: New.
1233 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
79261115 1234
bb5c97d4
UB
12352012-06-13 Uros Bizjak <ubizjak@gmail.com>
1236
1237 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
1238 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
1239 * config/i386/64/sfp-machine: ... (delete here) ...
1240 * config/i386/sfp-machine.h: ... to here.
1241 (FP_EX_MASK): Remove.
1242 (FP_RND_MASK): New.
1243 (FP_INIT_ROUNDMODE): Declare asm as volatile.
1244
91fe5efb
ST
12452012-06-11 Sriraman Tallam <tmsriram@google.com>
1246
1247 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
1248 * config/i386/libgcc-sol2.ver: Ditto.
1249 * config/i386/libgcc-glibc.ver: Ditto.
1250
67a218c5
RM
12512012-06-11 Roland McGrath <mcgrathr@google.com>
1252
1253 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
1254 If __GLIBC__ is defined, refer to __pthread_key_create instead of
1255 pthread_cancel.
1256
492fbea1
UB
12572012-06-09 Uros Bizjak <ubizjak@gmail.com>
1258
1259 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
1260 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
1261 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
1262 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
1263 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
1264 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
1265 * config/i386/64/sfp-machine: ... (delete here) ...
1266 * config/i386/sfp-machine.h: ... to here.
1267 (FP_EX_MASK): New.
1268 (__sfp_handle_exceptions): New function declaration.
1269 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
1270 * config/i386/sfp-exceptions.c: New.
1271 * config/i386/t-softfp: New.
1272 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
1273 i386/t-softfp to tmake_file.
1274
7b4cf266
DM
12752012-06-03 David S. Miller <davem@davemloft.net>
1276
1277 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
1278 change.
1279
0de0d5c6
DM
12802012-05-31 David S. Miller <davem@davemloft.net>
1281
1282 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
1283 multiply and divide instructions on 32-bit when V9.
1284 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
1285
d8c9d391
JM
12862012-05-29 Joseph Myers <joseph@codesourcery.com>
1287
1288 * config/arm/ieee754-df.S: Fix typos.
1289 * config/arm/ieee754-sf.S: Fix typos.
1290 * config/c6x/libunwind.S: Fix typos.
1291 * config/epiphany/udivsi3-float.c: Fix typos.
1292 * config/microblaze/muldi3_hard.S: Fix typos.
1293 * config/picochip/adddi3.S: Fix typos.
1294 * config/picochip/ashlsi3.S: Fix typos.
1295 * config/picochip/ashrsi3.S: Fix typos.
1296 * config/picochip/clzsi2.S: Fix typos.
1297 * config/picochip/cmpsi2.S: Fix typos.
1298 * config/picochip/divmod15.S: Fix typos.
1299 * config/picochip/divmodhi4.S: Fix typos.
1300 * config/picochip/divmodsi4.S: Fix typos.
1301 * config/picochip/longjmp.S: Fix typos.
1302 * config/picochip/lshrsi3.S: Fix typos.
1303 * config/picochip/parityhi2.S: Fix typos.
1304 * config/picochip/popcounthi2.S: Fix typos.
1305 * config/picochip/setjmp.S: Fix typos.
1306 * config/picochip/subdi3.S: Fix typos.
1307 * config/picochip/ucmpsi2.S: Fix typos.
1308 * config/picochip/udivmodhi4.S: Fix typos.
1309 * config/picochip/udivmodsi4.S: Fix typos.
1310 * config/spu/divv2df3.c: Fix typos.
1311 * config/spu/mfc_multi_tag_release.c: Fix typos.
1312 * config/spu/mfc_tag_release.c: Fix typos.
1313 * configure.ac: Fix typos.
1314 * configure: Regenerate.
1315
31a18a7e
ILT
13162012-05-25 Ian Lance Taylor <iant@google.com>
1317
1318 * config/i386/morestack.S (__morestack_non_split): Check whether
1319 caller is varargs and needs %bp to hold the stack frame on return.
1320
c5768510
OH
13212012-05-25 Olivier Hainque <hainque@adacore.com>
1322
1323 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
1324 sequence in the non pic case on VxWorks.
1325
7c7c339b
OH
13262012-05-24 Olivier Hainque <hainque@adacore.com>
1327
73fb7630 1328 * Makefile.in: Move dependency on install-unwind_h from
7c7c339b
OH
1329 "install-leaf" to "install".
1330
fdc1b7d3
OH
13312012-05-24 Olivier Hainque <hainque@adacore.com>
1332
1333 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
1334 Use a separate command for stamp removals.
1335
07ba94b9
AP
13362012-05-21 Andrew Pinski <apinski@cavium.com>
1337
1338 PR bootstrap/53183
1339 * configure.ac: Define the default includes to being none.
1340 * configure: Regenerate.
1341
4677d2eb
OH
13422012-05-16 Olivier Hainque <hainque@adacore.com>
1343
1344 * Makefile.in (install-unwind_h): Rename into ...
1345 (install-unwind_h-forbuild): New target.
1346 (all): Use it instead of the former install-unwind_h.
1347 (install-unwind_h): Reinstate, copy to user install destination
1348 for include files, not to the internal gcc object directory one.
1349 (install-leaf): Depend on it.
1350
7d67c380
OH
13512012-05-15 Olivier Hainque <hainque@adacore.com>
1352
1353 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
1354 register numbers. LR_REGNO replaces R_LR.
1355 (ucontext_for): New, helper for ...
1356 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
1357 and 5.3 of ...
1358 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
1359
aca06c90
RO
13602012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1361
1362 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
1363 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
1364 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
1365 i386/t-cpuinfo ...
1366 (i[34567]86-*-*, x86_64-*-*): ... here.
1367
1368 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
1369 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
1370
1371 * config/i386/i386-cpuinfo.c: Rename to ...
1372 * config/i386/cpuinfo.c: ... this.
1373 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
1374
1375 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
1376 (libgcc_cv_init_priority): New test.
1377 * configure: Regenerate.
1378 * config.in: New file.
1379 * Makefile.in (clean): Rename config.h to auto-target.h.
1380 (config.h): Likewise.
1381 (stamp-h): Likewise.
1382
1383 * config/i386/cpuinfo.c (auto-target.h): Include.
1384 (CONSTRUCTOR_PRIORITY): Define.
1385 (__cpu_indicator_init): Use it.
1386
0d03ac1b
L
13872012-05-09 H.J. Lu <hongjiu.lu@intel.com>
1388
1389 * longlong.h: Use a URL instead of an FSF postal address.
1390 Replace spaces with tab.
1391
4a172156 13922012-05-08 Teresa Johnson <tejohnson@google.com>
4e8ee9cb
TJ
1393
1394 * libgcov.c (gcov_clear, __gcov_reset): New functions.
1395 (__gcov_dump): Ditto.
1396 (gcov_dump_complete): New global variable.
1397 (gcov_exit): Export hidden to enable use in L_gcov_dump.
1398 (__gcov_flush): Outline functionality now in gcov_clear.
1399 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
1400
e4bb767e
AJ
14012012-04-28 Aurelien Jarno <aurelien@aurel32.net>
1402
31a18a7e
ILT
1403 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
1404 (mips*-*-linux*): Include mips/t-tpbit when long double is
1405 16 bytes long.
e4bb767e 1406
5ddecff9
ST
14072012-04-25 Sriraman Tallam <tmsriram@google.com>
1408
1409 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
1410 (get_available_features): New argument. Check for AVX2.
1411 (__cpu_indicator_init): Modify call to get_available_features.
1412
b427dd7a
AM
14132012-04-25 Alan Modra <amodra@gmail.com>
1414
1415 * config/rs6000/crtsavevr.S: New file.
1416 * config/rs6000/crtrestvr.S: New file.
1417 * config/rs6000/t-savresfgpr: Build the above.
1418 * config/rs6000/t-netbsd: Likewise.
1419
ad491329
ST
14202012-04-24 Sriraman Tallam <tmsriram@google.com>
1421
1422 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
1423
792317cc
ST
14242012-04-24 Sriraman Tallam <tmsriram@google.com>
1425
1426 * libgcc/config/i386/i386-cpuinfo.c: New file.
1427 * libgcc/config/i386/t-cpuinfo: New file.
1428 * libgcc/config.host: Include t-cpuinfo.
1429 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
1430
e1be98a4
CF
14312012-04-24 Chao-ying Fu <fu@mips.com>
1432
1433 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
1434
1bde7dab
TS
14352012-04-20 Thomas Schwinge <thomas@codesourcery.com>
1436
1437 struct siginfo vs. siginfo_t
1438
1439 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
1440 siginfo_t instead of struct siginfo.
1441 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
1442 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
1443 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
1444 (ia64_handle_unwabi): Likewise.
1445 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
1446 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
1447 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
1448 (sh_fallback_frame_state): Likewise.
1449 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
1450 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
1451
24590f66
L
14522012-04-02 H.J. Lu <hongjiu.lu@intel.com>
1453
1454 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
1455 system call number.
1456
9a9dcce8
EB
14572012-03-31 Eric Botcazou <ebotcazou@adacore.com>
1458
1459 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
1460 if it hasn't been previously saved.
1461
6401aaf5
L
14622012-03-29 H.J. Lu <hongjiu.lu@intel.com>
1463
1464 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
1465 only for glibc.
1466
7fd6378e
GJL
14672012-03-28 Georg-Johann Lay <avr@gjlay.de>
1468
1469 PR target/52737
1470 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
1471 instead of __AVR_HAVE_8BIT_SP__.
1472
9e916de7
TG
14732012-03-26 Tristan Gingold <gingold@adacore.com>
1474
1475 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
1476 (unw_table_entry): Use unw_word instead of unsigned long.
1477 (_Unwind_FindTableEntry): Likewise.
1478 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
1479 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
1480 (_Unwind_FindTableEntry): Likewise.
1481 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
1482 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
1483 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
1484 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
1485 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
1486 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
1487 (uw_init_context_1, uw_install_context): Likewise.
1488 (unw_word): Move to unwind-ia64.h
1489
4b12e93d
TG
14902012-03-26 Tristan Gingold <gingold@adacore.com>
1491
1492 * config/vms/vms-ucrt0.c: Update copyright years.
1493 Add a sanity check.
1494 (___gcc_main_flags): Declare.
1495 (__main): Check flags to remap argv and exit code.
1496 * config.host (*-*-*vms*): Adjust extra_parts.
1497 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
1498 (crt0.o): Add.
1499
06ea7371
RE
15002012-03-22 Richard Earnshaw <rearnsha@arm.com>
1501
1502 * arm/lib1funcs.asm (ctzsi2): New function.
1503 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
1504 * arm/t-linux (LIB1ASMFUNCS): Likewise.
1505 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
1506 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
1507 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
1508 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
1509
d82ad50d
AT
15102012-03-21 Andreas Tobler <andreast@fgznet.ch>
1511
1512 * config.host: Add bits to support powerpc64-*-freebsd*.
1513 * config/rs6000/freebsd-unwind.h: New file.
1514 * config/rs6000/t-freebsd64: New file.
1515
b260a8c0
RG
15162012-03-20 Richard Guenther <rguenther@suse.de>
1517
1518 PR gcov-profile/52627
1519 * libgcov.c (init_mx): Fix mutex name.
1520
86286a8a
TG
15212012-03-16 Tristan Gingold <gingold@adacore.com>
1522
1523 * config/ia64/vms-unwind.h: Remove ulong (and replace
1524 it by unw_reg where used). Define unw_reg with __int64.
1525
7888f266
RO
15262012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1527
1528 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
1529 Solaris 8 handling.
1530 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
1531 Solaris 8 handling.
1532 (sparc_is_sighandler): Likewise.
1533
f155bc64
L
15342012-03-13 H.J. Lu <hongjiu.lu@intel.com>
1535
1536 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
1537 <= saved reg size.
1538
d47657bd
RO
15392012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1540
1541 * config/arm/crtn.S: Fix typo.
1542
5bef73a1
RG
15432012-03-13 Richard Guenther <rguenther@suse.de>
1544
1545 * libgcov.c: Remove stdio.h include and NULL un-define.
1546
9c4271f3
RG
15472012-03-13 Richard Guenther <rguenther@suse.de>
1548
1549 PR target/52569
1550 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
1551
c6d10e7c
RG
15522012-03-13 Richard Guenther <rguenther@suse.de>
1553
1554 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
1555
074a385f
RG
15562012-03-13 Richard Guenther <rguenther@suse.de>
1557
1558 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
1559 and __gthread_mutex_init_function definitions.
1560
c4bc5c25
RO
15612012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1562
1563 * config.host (mips*-*-openbsd*): Remove.
1564
5c30094f
RO
15652012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1566
1567 * config.host: Remove alpha*-dec-osf5.1* handling.
1568 * config/alpha/gthr-posix.c: Remove.
1569 * config/alpha/libgcc-osf5.ver: Remove.
1570 * config/alpha/osf5-unwind.h: Remove.
1571 * config/alpha/t-osf-pthread: Remove.
1572 * config/alpha/t-slibgcc-osf: Remove.
1573 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
1574 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
1575 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
1576 * mkmap-flat.awk: Remove osf_export handling.
1577
33e3e24d
RG
15782012-03-12 Richard Guenther <rguenther@suse.de>
1579
1580 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
1581 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
1582 (__gthread_mutex_init_function): New function.
1583 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
1584
1585 PR gcov/49484
1586 * libgcov.c: Include gthr.h.
1587 (__gcov_flush_mx): New global variable.
1588 (init_mx, init_mx_once): New functions.
1589 (__gcov_flush): Protect self with a mutex.
1590 (__gcov_fork): Re-initialize mutex after forking.
1591 * unwind-dw2-fde.c: Change condition under which to use
1592 __GTHREAD_MUTEX_INIT_FUNCTION.
1593
d8aba32a
TG
15942012-03-12 Tristan Gingold <gingold@adacore.com>
1595
1596 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
1597 * config/ia64/t-vms: Likewise.
1598
75ffafdc
MH
15992012-03-11 Michael Hope <michael.hope@linaro.org>
1600
4a172156
UB
1601 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
1602 for Thumb-2.
75ffafdc 1603
ef6c2c53
WL
16042012-03-07 Walter Lee <walt@tilera.com>
1605
1606 * config/tilepro/atomic.c: Rename "atomic_" prefix to
1607 "arch_atomic_".
1608 (atomic_xor): Rename and move definition to
1609 config/tilepro/atomic.h.
1610 (atomic_nand): Ditto.
1611 * config/tilepro/atomic.h: Rename "atomic_" prefix to
1612 "arch_atomic_".
1613 (arch_atomic_xor): Move from config/tilepro/atomic.c.
1614 (arch_atomic_nand): Ditto.
1615
4e30d980
GJL
16162012-03-07 Georg-Johann Lay <avr@gjlay.de>
1617
1618 PR target/52507
1619 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
1620
61108225
GJL
16212012-03-07 Georg-Johann Lay <avr@gjlay.de>
1622
1623 PR target/52505
1624 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
1625 from RAM.
1626
b30e10ab
GJL
16272012-03-07 Georg-Johann Lay <avr@gjlay.de>
1628
1629 PR target/52461
1630 PR target/52508
1631 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
1632 if RAMPZ affects reading from RAM.
1633 (__tablejump_elpm__): Ditto.
1634 (.xload): Ditto.
1635 (__movmemx_hi): Ditto.
1636 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
1637 (__do_global_dtors): Ditto.
1638 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
1639 (__movmemx_hi): Ditto.
1640
8993fde4
RH
16412012-03-05 Richard Henderson <rth@redhat.com>
1642
1643 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
1644 [ARM] (count_trailing_zeros): Use the builtin.
1645
b7633ee3
KT
16462012-03-01 Kai Tietz <ktietz@redhat.com>
1647
1648 * soft-fp: Imported from glibc upstream.
1649
fbd3340c
KT
16502012-02-28 Kai Tietz <ktietz@redhat.com>
1651
1652 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
1653 for mingw-targets as attribute gcc_struct.
1654
e9e053eb
ILT
16552012-02-28 Ian Lance Taylor <iant@google.com>
1656
1657 * generic-morestack.c (__splitstack_releasecontext): Correct call
1658 to __morestack_release_segments.
1659
d80c632e
ST
16602012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
1661
1662 PR target/52390
1663 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
1664 for __linux__ when removing signals from __morestack_fullmask.
1665
0253a8b1
GJL
16662012-02-23 Georg-Johann Lay <avr@gjlay.de>
1667
1668 PR target/52261
1669 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
1670
e10e461e
UW
16712012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1672
1673 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
1674 instead of HAVE_INITFINI_ARRAY.
1675 * config/ia64/crtend.S: Likewise.
1676
0c0c6398
KT
16772012-02-20 Kai Tietz <ktietz@redhat.com>
1678
d7470374
KT
1679 PR libstdc++/52300
1680 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
1681
0c0c6398
KT
1682 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
1683 to w32-unwind.h header.
1684
78c27266
RS
16852012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
1686
1687 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
1688 (mips*-*-linux*): Remove t-slibgcc-libgcc.
1689 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
1690 * config/mips/mips16.S (__mips16_rdhwr): Delete.
1691
5adeb246
RS
16922012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
1693
1694 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
1695
672ed313
IS
16962012-02-15 Iain Sandoe <iains@gcc.gnu.org>
1697
1698 PR libitm/52220
1699 * config/darwin-crt-tm.c: Correct typo.
e9e053eb 1700
e948a1fb
IS
17012012-02-15 Iain Sandoe <iains@gcc.gnu.org>
1702 Patrick Marlier <patrick.marlier@gmail.com>
1703
1704 PR libitm/52220
1705 * config/darwin-crt-tm.c: Generate dummy functions.
1706
6017aed3
IS
17072012-02-15 Iain Sandoe <iains@gcc.gnu.org>
1708 Patrick Marlier <patrick.marlier@gmail.com>
1709
1710 PR libitm/52042
1711 * config/darwin-crt-tm.c (getTMCloneTable): New function.
1712 (__doTMRegistrations): Call it.
e9e053eb 1713 (__doTMdeRegistrations): Likewise.
6017aed3 1714
2da8c1ad
GJL
17152012-01-15 Georg-Johann Lay <avr@gjlay.de>
1716 Anatoly Sokolov <aesok@post.ru>
1717 Eric Weddington <eric.weddington@atmel.com>
1718
1719 PR target/52261
1720 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
1721 (__epilogue_restores__): Ditto.
1722
0f952eb4
EB
17232012-02-15 Eric Botcazou <ebotcazou@adacore.com>
1724
1725 PR target/51921
1726 PR target/52205
1727 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
1728 Solaris 11 and slightly reformat.
1729 (sparc_is_sighandler): Likewise.
1730
dd552284
WL
17312012-02-14 Walter Lee <walt@tilera.com>
1732
1733 * config.host: Handle tilegx and tilepro.
1734 * config/tilegx/sfp-machine.h: New file.
1735 * config/tilegx/sfp-machine32.h: New file.
1736 * config/tilegx/sfp-machine64.h: New file.
1737 * config/tilegx/t-crtstuff: New file.
1738 * config/tilegx/t-softfp: New file.
1739 * config/tilegx/t-tilegx: New file.
1740 * config/tilepro/atomic.c: New file.
1741 * config/tilepro/atomic.h: New file.
1742 * config/tilepro/linux-unwind.h: New file.
1743 * config/tilepro/sfp-machine.h: New file.
1744 * config/tilepro/softdivide.c: New file.
1745 * config/tilepro/softmpy.S: New file.
1746 * config/tilepro/t-crtstuff: New file.
1747 * config/tilepro/t-tilepro: New file.
1748
b59cbd50
JW
17492012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
1750
1751 PR libstdc++/51296
1752 PR libstdc++/51906
1753 * gthr-posix.h: Allow static initializer macros to be disabled.
1754 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
1755
6caf807f
CLT
17562012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
1757
1758 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
1759 Add t-slibgcc-libgcc to tmake_file.
1760 * config/mips/libgcc-mips16.ver: Revert previous patch.
1761 * config/mips/mips16.S (__mips16_rdhwr): Hide.
1762
b25364a0
S
17632012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
1764 Jayant R Sonar <jayant.sonar@kpitcummins.com>
1765
1766 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
1767 * config/cr16/crti.S: New file.
1768 * config/cr16/crtlibid.S: New file.
1769 * config/cr16/crtn.S: New file.
1770 * config/cr16/lib1funcs.S: New file.
1771 * config/cr16/t-cr16: New file.
1772 * config/cr16/t-crtlibid: New file.
1773 * config/cr16/unwind-dw2.h: New file.
1774 * config/cr16/unwind-cr16.c: New file.
1775 * config/cr16/divmodhi3.c: New file.
1776
8ef03aa7
AM
17772012-01-25 Alan Modra <amodra@gmail.com>
1778
1779 * config/rs6000/t-linux64: Delete. Move..
1780 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
1781 * config/rs6000/t-linux: ..and libgcc flags to here.
1782
daecebc8
DR
17832012-01-22 Douglas B Rupp <rupp@gnat.com>
1784
1785 * config.host (i[34567]86-*-interix3*):
8ef03aa7 1786 Change triplet to i[34567]86-*-interix[3-9]*.
daecebc8
DR
1787 * configure: Regenerate.
1788
ddaf8125
RS
17892012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
1790 Richard Sandiford <rdsandiford@googlemail.com>
1791
1792 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
1793 * config/mips/mips16.S (__mips16_rdhwr): New function.
1794 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
1795
2cd8b32c
NS
17962012-01-11 Nathan Sidwell <nathan@acm.org>
1797
1798 * libgcov.c (__gcov_init): Ignore objects with no functions.
1799
cba300dd
GJL
18002012-01-10 Georg-Johann Lay <avr@gjlay.de>
1801
1802 PR target/49868
1803 Extend __pgmx semantics to linearize memory.
1804 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
1805 * config/avr/lib1funcs.S (__xload_1): New function.
1806 (__movmemx_qi, __movmemx_hi): New functions.
1807 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
1808 semantics.
9ffaf4bc 1809
3d137660
EB
18102012-01-09 Eric Botcazou <ebotcazou@adacore.com>
1811
1812 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
1813 purported sigacthandler address isn't null before dereferencing it.
1814 (sparc_is_sighandler): Likewise.
1815
bf4db96c
EB
18162012-01-09 Eric Botcazou <ebotcazou@adacore.com>
1817
1818 PR ada/41929
1819 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
1820 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
1821 (sparc_is_sighandler): Likewise.
1822 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
1823
1ab3568b
TG
18242012-01-06 Tristan Gingold <gingold@adacore.com>
1825
1826 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
1827 compatibility thunks...
1828 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
1829 (crtbeginS.o, crtendS.o): ... and these to ...
1830 * config/ia64/t-ia64-elf: ... this new file.
1831 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
1832 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
1833
925b0ed8
AK
18342012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1835
1836 * configure: Regenerate.
1837 * config/s390/t-crtstuff: Remove -fPIC.
1838
a99ad737
JW
18392012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
1840
1841 PR bootstrap/51006
1842 * enable-execute-stack-mprotect.c (getpagesize): Do not define
1843 for NetBSD.
1844
884f56d1
GJL
18452012-01-02 Georg-Johann Lay <avr@gjlay.de>
1846
1847 PR target/51345
1848 * config/avr/lib1funcs.S: Remove FIXME comments.
1849 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
1850
8c57e547
GJL
18512012-01-02 Georg-Johann Lay <avr@gjlay.de>
1852
1853 Implement light-weight DImode support.
1854 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
1855 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
1856 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
1857 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
1858
04dbc287
NS
18592011-12-30 Nathan Sidwell <nathan@acm.org>
1860
1861 * libgcov.c (gcov_crc32): Remove global var.
1862 (free_fn_data): New function.
1863 (buffer_fn_data): Pass in filename, more robust error recovery.
1864 (crc32_unsigned): New function.
1865 (gcov_exit): More robust detection of new program. More robust
1866 error recovery.
1867 (__gcov_init): Do not update program's crc here.
1868
8e1d97d4
TG
18692011-12-21 Tristan Gingold <gingold@adacore.com>
1870
1871 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
1872
9ffaf4bc
ILT
18732011-12-21 Ian Lance Taylor <iant@google.com>
1874
1875 * config/i386/morestack.S: Simplify CFI opcodes throughout.
1876
a0c8d0c1
ILT
18772011-12-20 Ian Lance Taylor <iant@google.com>
1878
1879 * config/i386/morestack.S (__morestack_non_split): If there is
1880 enough stack space already, don't split. Ask for more stack space
1881 than we required.
1882
69048898
SDJ
18832011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
1884
1885 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
1886 `sys/sdt.h'.
1887 (_Unwind_DebugHook): New function.
1888 (uw_restore_core_regs): New define.
1889 (unwind_phase2): Use uw_restore_core_regs instead of
1890 restore_core_regs.
1891 (unwind_phase2_forced): Likewise.
1892 (__gnu_Unwind_Resume): Likewise.
1893
1bb4b6a3
UB
18942011-12-20 Uros Bizjak <ubizjak@gmail.com>
1895
1896 * config/alpha/linux-unwind.h: Update copyright years.
1897 (MD_FROB_UPDATE_CONTEXT): New define.
1898 (alpha_frob_update_context): New function.
1899
eb028768
RS
19002011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
1901
1902 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
1903 tmake_file rather replacing it.
1904
6a2045bf
IS
19052011-12-15 Iain Sandoe <iains@gcc.gnu.org>
1906
1907 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1bb4b6a3 1908 function is not used for PPC64.
6a2045bf
IS
1909 (save_world): Amend comments. Update the VRsave mask to reflect the
1910 saved regs.
1911 (rest_world): Update comments, do not clobber r10, do not use r8.
1912 (eh_rest_world_r10): Amend comments, do not use r8.
1913 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
1914 no longer used, move restore of CR and target address to the end of
1915 the routine.
1916
a13780a6
L
19172011-12-14 H.J. Lu <hongjiu.lu@intel.com>
1918
1919 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
1920 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
1921
d7288dfb
GJL
19222011-12-14 Georg-Johann Lay <avr@gjlay.de>
1923
1924 PR target/49313
1925 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
1926 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
1927
8d2c862d
EB
19282011-12-11 Eric Botcazou <ebotcazou@adacore.com>
1929
1930 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
1931
3447cae6
GJL
19322011-12-09 Georg-Johann Lay <avr@gjlay.de>
1933
1934 PR target/49313
1935 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
1936 * config/avr/lib1funcs.S (__muldi3): New function.
1937
806fc6aa
AP
19382011-12-06 Andrew Pinski <apinski@cavium.com>
1939
1940 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
1941 size of func_ptr.
1942 (__frame_dummy_init_array_entry): Likewise.
1943
28c5e6b5
GJL
19442011-12-06 Georg-Johann Lay <avr@gjlay.de>
1945
1946 Forward-port from gcc-4_6-branch r181936 2011-12-02.
1947
1948 PR target/51345
1949 PR target/51002
1950 * config/avr/lib1funcs.S (__prologue_saves__,
1951 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
1952 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
1953
8f90394a
IS
19542011-12-04 Iain Sandoe <iains@gcc.gnu.org>
1955
1956 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
1957
06dd33ac
JDA
19582011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1959
1960 PR other/51272
1961 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
1962 (_ITM_deregisterTMCloneTable): Likewise.
1963 (__register_frame_info): Fix unused warning.
1964 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
1965 pthread_default_stacksize_np): Likewise.
1966 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1bb4b6a3 1967
85b8555e
DD
19682011-11-29 DJ Delorie <dj@redhat.com>
1969
1970 * config.host (rl78-*-elf): New case.
1971 * config/rl78: New directory for the Renesas RL78.
1972
4d5ae4ea
BS
19732011-11-29 Bernd Schmidt <bernds@codesourcery.com>
1974
1975 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
1976 formatting.
1977
f9c55897
RO
19782011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1979
1980 PR other/51022
1981 * config/rs6000/t-savresfgpr: New file.
1982 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
1983 $(srcdir)/config/rs6000/eabi.S.
1984 * config/rs6000/t-ppccomm-ldbl: Remove.
1985 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
1986 tmake_file.
1987 (powerpc-*-eabispe*): Likewise.
1988 (powerpc-*-eabi*): Likewise.
1989 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
1990 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
1991 to tmake_file, remove rs6000/t-ppccomm-ldbl.
1992 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
1993 tmake_file.
1994 (powerpc-*-eabisim*): Likewise.
1995 (powerpc-*-elf*): Likewise.
1996 (powerpc-*-eabialtivec*): Likewise.
1997 (powerpc-xilinx-eabi*): Likewise.
1998 (powerpc-*-rtems*): Likewise.
1999 (powerpcle-*-elf*): Likewise.
2000 (powerpcle-*-eabisim*): Likewise.
2001 (powerpcle-*-eabi*): Likewise.
2002
a01207c4
ILT
20032011-11-27 Ian Lance Taylor <iant@google.com>
2004
2005 * generic-morestack.c (__splitstack_find): Check for NULL old
2006 stack value.
2007 (__splitstack_resetcontext): New function.
2008 (__splitstack_releasecontext): New function.
2009 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
2010
2b0b8ab2
IS
20112011-11-27 Iain Sandoe <iains@gcc.gnu.org>
2012
2013 * config/darwin-crt-tm.c: Correct comments, use correct licence.
2014
c1d8101c
IS
20152011-11-27 Iain Sandoe <iains@gcc.gnu.org>
2016
2017 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
2018
8b281334
RH
20192011-11-26 Richard Henderson <rth@redhat.com>
2020
2021 * config/m68k/linux-atomic.c: New file.
2022 * config/m68k/t-linux: New file.
2023 * config.host (m68k-uclinux, m68k-linux): Use it.
2024
7546aa9d
RH
20252011-11-26 Richard Henderson <rth@redhat.com>
2026
2027 * crtstuff.c (__TMC_LIST__): Mark used not unused.
2028 (__TMC_END__): Only declare if hidden is available; in the definition,
2029 if hidden is unavailable add a null record.
2030 (deregister_tm_clones, register_tm_clones): New.
2031 (__do_global_dtors_aux, frame_dummy): Use them.
2032 (__do_global_dtors, __do_global_ctors_1): Likewise.
2033
e2362f5d
IS
20342011-11-22 Iain Sandoe <iains@gcc.gnu.org>
2035
2036 * config/darwin-crt-tm.c: New file.
2037 * config.host (darwin): Build crttms.o crttme.o to provide
2038 startup and shutdown for tm clones.
2039 * config/t-darwin (crttms.o): New build rule.
2040 (crttme.o): Likewise.
2041
6685dd96
HPN
20422011-11-21 Hans-Peter Nilsson <hp@axis.com>
2043
2044 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
2045 et al.
2046
b0dc7e4c
RH
20472011-11-21 Richard Henderson <rth@redhat.com>
2048
2049 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
2050 (__TMC_LIST__, __TMC_END__): New.
2051 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
2052 (__do_global_dtors): Likewise.
2053 (frame_dummy): Call _ITM_registerTMCloneTable.
2054 (__do_global_ctors_1): Likewise.
2055
d4b4b542
RO
20562011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2057
2058 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
2059 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
2060 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
2061 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
2062 * config/i386/t-darwin64: Remove.
2063 * config/sh/t-netbsd (LIB2ADD): Remove.
2064
989bdb74
GJL
20652011-11-21 Georg-Johann Lay <avr@gjlay.de>
2066
2067 PR target/49313
2068 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
2069 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
2070 * config/avr/lib1funcs.S (wmov): New assembler macro.
2071 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
2072 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
2073 (__udivmod64): New function.
2074 (__negdi2): New function.
2075
515a0cfc
GP
20762011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
2077
2078 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
2079 *-*-freebsd*aout*): Remove.
2080
0115d17f
HPN
20812011-11-20 Hans-Peter Nilsson <hp@axis.com>
2082
2083 * static-object.mk (c_flags-$o): Save c_flags.
2084 ($(base)$(objext)): Use it.
2085
93aeb62b
SE
20862011-11-18 Steve Ellcey <sje@cup.hp.com>
2087
2088 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
2089
7bc6df2c
GJL
20902011-11-18 Georg-Johann Lay <avr@gjlay.de>
2091
2092 PR target/49868
2093 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
2094 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
2095 New functions.
2096
425d737b
MGD
20972011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
2098
2099 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
2100 functions.
1bb4b6a3 2101 (aeabi_uidivmod): Likewise.
425d737b
MGD
2102 (umodsi3): Likewise.
2103 (divsi3): Likewise.
2104 (aeabi_idivmod): Likewise.
2105 (modsi3): Likewise.
2106
f2a176dc
TG
21072011-11-16 Tristan Gingold <gingold@adacore.com>
2108
2109 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
2110
7c209481
GJL
21112011-11-15 Georg-Johann Lay <avr@gjlay.de>
2112
2113 PR target/49868
2114 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
2115 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
2116
9dfd5832
JDA
21172011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2118
2119 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
2120 tmake_file list.
2121 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
2122 * config/pa/t-stublib64: Delete.
2123
f77dca5d
RH
21242011-11-12 Richard Henderson <rth@redhat.com>
2125
2126 * config/rs6000/linux-unwind.h (frob_update_context): Properly
2127 cast the pointer argument to _Unwind_SetGRPtr.
2128
902828f0
RO
21292011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2130
2131 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
2132
e14304ef
ILT
21332011-11-09 Ian Lance Taylor <iant@google.com>
2134
2135 * generic-morestack.c: Include <string.h>.
2136 (uintptr_type): Define.
2137 (struct initial_sp): Add dont_block_signals field. Reduce size of
2138 extra array by 1.
2139 (allocate_segment): Set prev field to NULL. Don't set
2140 __morestack_current_segment or __morestack_segments.
2141 (__generic_morestack): Update current->prev and *pp after calling
2142 allocate_segment.
2143 (__morestack_block_signals): Don't do anything if
2144 dont_block_signals is set.
2145 (__morestack_unblock_signals): Likewise.
2146 (__generic_findstack): Check for initial_sp == NULL. Add casts to
2147 uintptr_type.
2148 (__splitstack_block_signals): New function.
2149 (enum __splitstack_content_offsets): Define.
2150 (__splitstack_getcontext, __splitstack_setcontext): New functions.
2151 (__splitstack_makecontext): New function.
2152 (__splitstack_block_signals_context): New function.
2153 (__splitstack_find_context): New function.
2154 * config/i386/morestack.S (__morestack_get_guard): New function.
2155 (__morestack_set_guard, __morestack_make_guard): New functions.
2156 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
2157
e3d871e4
RO
21582011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2159
2160 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
2161 (i[34567]86-*-mingw*): ... here.
2162 (x86_64-*-mingw*): ... here.
2163
e55cef40
RO
21642011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2165
2166 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
2167
5366b186
NS
21682011-11-07 Nathan Sidwell <nathan@acm.org>
2169
2170 * libgcov.c (struct gcov_fn_buffer): New struct.
2171 (buffer_fn_data): New helper.
2172 (gcov_exit): Rework for new gcov data structures.
2173
74155a6f
GJL
21742011-11-07 Georg-Johann Lay <avr@gjlay.de>
2175
2176 PR target/49313
2177 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
2178
200feb07
RO
21792011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2180
2181 * config.host (tmake_file): Correct comment.
2182 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
2183 t-libgcc-pic.
2184 (bfin*-uclinux*): Likewise.
2185 (bfin*-linux-uclibc*): Likewise.
2186 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
2187
2188 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
2189 assigning.
2190 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
2191 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
2192 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
2193 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
2194 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
2195 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
2196 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
2197 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
2198 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
2199 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
2200 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
2201 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
2202 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
2203
2204 * config/bfin/t-elf: Remove.
2205 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
2206
c9cd1a07
RO
22072011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2208
2209 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
2210 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
2211 (lm32-*-elf*, lm32-*-rtems*): Split into ...
2212 (lm32-*-elf*): ... this.
2213 (lm32-*-rtems*): ... and this.
2214 Add to tmake_file.
2215 (m32r-*-rtems*): Add to tmake_file.
2216 (moxie-*-rtems*): Likewise.
2217 (sparc-*-rtems*): Likewise.
2218 Remove t-rtems from tmake_file.
2219 (sparc64-*-rtems*): Likewise.
2220 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
2221 instead.
2222
9fbcc75d
RO
22232011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2224
2225 PR bootstrap/50982
2226 * config/gthr-posix.h: Move ...
2227 * gthr-posix.h: ... here.
2228 * config/gthr-lynx.h: Reflect this.
2229 * config/gthr-vxworks.h: Likewise.
2230 * config/rs6000/gthr-aix.h: Likewise.
2231 * configure.ac (target_thread_file): Likewise.
2232 * configure: Regenerate.
2233
76644b68
SH
22342011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
2235
2236 * config.host (arm*-*-rtemseabi*): New target.
2237
5e490f2a
JDA
22382011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2239
2240 PR other/50991
2241 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
2242 extra-parts.
2243
feeeff5c
JR
22442011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
2245
2246 * config.host (epiphany-*-elf*): New configuration.
2247 * config/epiphany: New Directory.
2248
d618bb2c
RC
22492011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
2250
2251 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
2252 * config/avr/t-rtems: New.
2253 Filter out _exit from LIB1ASMFUNCS.
2254
1bb6f778
DM
22552011-11-04 David S. Miller <davem@davemloft.net>
2256
2257 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
2258 * configure: Rebuild.
2259
9a7f7422
AK
22602011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2261
2262 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
2263 variable.
2264
e4fe948a
GJL
22652011-11-04 Georg-Johann Lay <avr@gjlay.de>
2266
2267 PR target/50931
2268 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
2269 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
2270
7084e037
JS
22712011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
2272
2273 PR target/50989
2274 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
2275
1a032034
RO
22762011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2277
2278 * config/c6x/t-elf (LIB2ADDEH): Set.
2279 * config/c6x/t-c6x-elf: Remove.
2280
d385f772
RO
22812011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2282
2283 * config/i386/sol2-ci.S: Rename to ...
2284 * config/i386/crti.S: ... this.
2285 * config/i386/sol2-cn.S: Rename to ...
2286 * config/i386/crtn.S: ... this.
2287 * config/sparc/sol2-ci.S: Rename to ...
2288 * config/sparc/crti.S: ... this.
2289 * config/sparc/sol2-cn.S: Rename to ...
2290 * config/sparc/crtn.S: ... this.
2291 * config/t-sol2 (CUSTOM_CRTIN): Remove.
2292 (crti.o, crtn.o): Remove.
2293
1ba878a9
TG
22942011-11-04 Tristan Gingold <gingold@adacore.com>
2295
2296 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
2297
02750c15
KK
22982011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
2299
2300 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
2301
bf86b067
HPN
23022011-11-03 Hans-Peter Nilsson <hp@axis.com>
2303
2304 * config.host (crisv32-*-none, cris-*-none): Remove.
2305 (crisv32-*-elf): Append to tmake_file, don't just set it.
2306 (cris-*-elf): Add missing t-fdpbit to tmake_file.
2307
d0bc53bd
RO
23082011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2309
2310 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
2311 (ecrtn$(objext)): Likewise.
2312 (ncrti$(objext)): Likewise.
2313 (ncrtn$(objext)): Likewise.
2314
036da830
AS
23152011-11-03 Andreas Schwab <schwab@redhat.com>
2316
2317 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
2318
d2a7d041
DM
23192011-11-02 David S. Miller <davem@davemloft.net>
2320
2321 * configure.ac: Set host_address on sparc too.
2322 * configure: Regenerate.
2323 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
2324 based upon host_address.
2325 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
2326
af8ed618
JM
23272011-11-02 Jason Merrill <jason@redhat.com>
2328
2329 * config/rs6000/t-ppccomm: Add missing \.
2330
5d1c8e77
RO
23312011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2332
2333 * gthr-single.h, gthr.h: New files.
2334 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
2335 config/gthr-vxworks.h, config/i386/gthr-win32.h,
2336 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
2337 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
2338 * config/i386/gthr-win32.c: Include "gthr-win32.h".
2339 * configure.ac (thread_header): New variable.
2340 Set it depending on target_thread_file.
2341 (gthr-default.h): Link from $thread_header.
2342 * configure: Regenerate.
2343 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
2344
852b75ed
RO
23452011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2346
2347 * configure.ac (tm_file_): New variable.
2348 Determine from tm_file.
2349 (tm_file, tm_defines): Substitute.
2350 * configure: Regenerate.
2351 * mkheader.sh: New file.
2352 * Makefile.in (clean): Remove libgcc_tm.h.
2353 ($(objects)): Depend on libgcc_tm.h.
2354 (libgcc_tm_defines, libgcc_tm_file): New variables.
2355 (libgcc_tm.h, libgcc_tm.stamp): New targets.
2356 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
2357 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
2358 ($(extra-parts)): Depend on libgcc_tm.h.
2359 * config.host (tm_defines, tm_file): New variable.
2360 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
2361 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
2362 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
2363 (avr-*-rtems*): Likewise.
2364 (avr-*-*): Likewise.
2365 (frv-*-elf): Likewise.
2366 (frv-*-*linux*): Likewise.
2367 (h8300-*-rtems*): Likewise.
2368 (h8300-*-elf*): Likewise.
2369 (i[34567]86-*-darwin*): Likewise.
2370 (x86_64-*-darwin*): Likewise.
2371 (rx-*-elf): Likewise.
2372 (tic6x-*-uclinux): Likewise.
2373 (tic6x-*-elf): Likewise.
2374 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
2375 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
2376 * config/i386/cygming-crtbegin.c: Likewise.
2377 * config/i386/cygming-crtend.c: Likewise.
2378 * config/ia64/fde-vms.c: Likewise.
2379 * config/ia64/unwind-ia64.c: Likewise.
2380 * config/libbid/bid_gcc_intrinsics.h: Likewise.
2381 * config/rs6000/darwin-fallback.c: Likewise.
2382 * config/stormy16/lib2funcs.c: Likewise.
2383 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
2384 * crtstuff.c: Likewise.
2385 * dfp-bit.h: Likewise.
2386 * emutls.c: Likewise.
2387 * fixed-bit.c: Likewise.
2388 * fp-bit.c: Likewise.
2389 * generic-morestack-thread.c: Likewise.
2390 * generic-morestack.c: Likewise.
2391 * libgcc2.c: Likewise.
2392 * libgcov.c: Likewise.
2393 * unwind-dw2-fde-dip.c: Likewise.
2394 * unwind-dw2-fde.c: Likewise.
2395 * unwind-dw2.c: Likewise.
2396 * unwind-sjlj.c: Likewise.
2397
f9989b51
RO
23982011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2399
2400 * configure.ac: Include ../config/picflag.m4.
2401 (GCC_PICFLAG): Call it.
2402 Substitute.
2403 * configure: Regenerate.
2404 * Makefile.in (gcc_srcdir): Remove.
2405 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
2406 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
2407 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
2408 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
2409 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
2410 Use $<.
2411 Remove comment.
2412 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
2413 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
2414 to refer to libgcc2.c.
2415 Use $<.
2416 * config/darwin-64.c: New file.
2417 * config/darwin-crt3.c: Remove comment.
2418 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
2419 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
2420 config/udivmodsi4.c: New files.
2421 * config/memcmp.c, config/memcpy.c, config/memmove.c,
2422 config/memset.c: New files.
2423 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
2424 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
2425 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
2426 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
2427 * config/t-openbsd-thread: New file.
2428 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
2429 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
2430 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
2431 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
2432 qrnnd.S.
2433 Adapt filename.
2434 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
2435 to refer to gthr-posix.c.
2436 * config/alpha/t-vms (LIB2ADD): Set.
2437 * config/alpha/vms-gcc_shell_handler.c: New file.
2438 * config/arm/bpabi.c, config/arm/fp16.c,
2439 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
2440 config/arm/unaligned-funcs.c: New files.
2441 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
2442 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
2443 * config/arm/t-linux: Likewise.
2444 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
2445 * config/arm/t-netbsd: New file.
2446 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
2447 * config/arm/t-symbian (LIB2ADD_ST): Set.
2448 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
2449 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2450 * config/bfin/t-elf: New file.
2451 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
2452 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
2453 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
2454 config/c6x/ltf.c: New files.
2455 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
2456 (HOST_LIBGCC2_CFLAGS): Set.
2457 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
2458 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2459 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
2460 New files.
2461 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
2462 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
2463 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
2464 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
2465 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
2466 files.
2467 * config/frv/t-frv (LIB2ADD): Set.
2468 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2469 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
2470 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
2471 config/h8300/popcounthi2.c: New files.
2472 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
2473 * config/i386/gthr-win32.c: New file.
2474 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
2475 * config/i386/t-cygwin: Likewise.
2476 * config/i386/t-darwin, config/i386/t-darwin64,
2477 config/i386/t-gthr-win32, config/i386/t-interix: New files.
2478 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
2479 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2480 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2481 * config/ia64/quadlib.c: New file.
2482 * config/ia64/t-hpux (LIB2ADD): Set.
2483 * config/ia64/t-ia64: Add comment.
2484 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
2485 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2486 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
2487 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
2488 * config/m32c/t-m32c (LIB2ADD): Set.
2489 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
2490 * config/m32r/t-m32r: Likewise.
2491 * config/m68k/fpgnulib.c: New file.
2492 * config/m68k/t-floatlib (LIB2ADD): Set.
2493 (xfgnulib.c): New target.
2494 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
2495 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
2496 * config/mep/t-mep (LIB2ADD): Set.
2497 * config/microblaze/divsi3.asm: Rename to divsi3.S.
2498 * config/microblaze/moddi3.asm: Rename to moddi3.S.
2499 * config/microblaze/modsi3.asm: Rename to modsi3.S.
2500 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
2501 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
2502 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
2503 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
2504 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
2505 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
2506 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
2507 New files.
2508 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
2509 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
2510 * config/pa/fptr.c, config/pa/lib2funcs.S,
2511 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
2512 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
2513 (LIB2ADD, LIB2ADD_ST): Set.
2514 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
2515 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
2516 Set.
2517 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
2518 * config/pdp11/t-pdp11: New file.
2519 * config/picochip/libgccExtras/adddi3.S,
2520 config/picochip/libgccExtras/ashlsi3.S,
2521 config/picochip/libgccExtras/ashrsi3.S,
2522 config/picochip/libgccExtras/clzsi2.S,
2523 config/picochip/libgccExtras/cmpsi2.S,
2524 config/picochip/libgccExtras/divmod15.S,
2525 config/picochip/libgccExtras/divmodhi4.S,
2526 config/picochip/libgccExtras/divmodsi4.S,
2527 config/picochip/libgccExtras/lshrsi3.S,
2528 config/picochip/libgccExtras/parityhi2.S,
2529 config/picochip/libgccExtras/popcounthi2.S,
2530 config/picochip/libgccExtras/subdi3.S,
2531 config/picochip/libgccExtras/ucmpsi2.S,
2532 config/picochip/libgccExtras/udivmodhi4.S,
2533 config/picochip/libgccExtras/udivmodsi4.S: New files.
2534 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
2535 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
2536 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
2537 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
2538 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
2539 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
2540 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
2541 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
2542 files.
2543 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
2544 (HOST_LIBGCC2_CFLAGS): Set.
2545 * config/rs6000/t-darwin64: New file.
2546 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
2547 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
2548 * config/rs6000/t-ppccomm (LIB2ADD): Add
2549 $(srcdir)/config/rs6000/tramp.S.
2550 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
2551 Add $(srcdir)/config/rs6000/eabi.S.
2552 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
2553 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
2554 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
2555 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
2556 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
2557 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
2558 * config/rs6000/tramp.S: New file.
2559 * config/s390/t-tpf: Remove.
2560 * config/sh/linux-atomic.S: New file.
2561 * config/sh/t-linux (LIB2ADD): Set.
2562 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
2563 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
2564 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
2565 to unwind-dw2.c.
2566 (HOST_LIBGCC2_CFLAGS): Set.
2567 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2568 * config/spu/divmodti4.c, config/spu/divv2df3.c,
2569 config/spu/float_disf.c, config/spu/float_unsdidf.c,
2570 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
2571 config/spu/mfc_multi_tag_release.c,
2572 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
2573 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
2574 config/spu/multi3.c: New files.
2575 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
2576 (HOST_LIBGCC2_CFLAGS): Set.
2577 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
2578 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
2579 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
2580 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
2581 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
2582 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
2583 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
2584 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
2585 config/stormy16/umodsi3.c: New files.
2586 * config/xtensa/lib2funcs.S: New file.
2587 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
2588 * config/xtensa/t-xtensa (LIB2ADD): Set.
2589 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
2590 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
2591 Add t-freebsd-thread to tmake_file for posix threads.
2592 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
2593 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
2594 (*-*-lynxos*): Likewise.
2595 (*-*-netbsd*): Likewise.
2596 (*-*-openbsd*): Likewise.
2597 Add t-openbsd-thread to tmake_file for posix threads.
2598 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
2599 (*-*-vxworks*): Set tmake_file.
2600 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
2601 (alpha*-*-freebsd*): Likewise.
2602 (alpha*-*-netbsd*): Likewise.
2603 (alpha*-*-openbsd*): Likewise.
2604 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
2605 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
2606 (alpha*-dec-*vms*): Likewise.
2607 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
2608 (bfin*-elf*): Add bfin/t-elf to tmake_file.
2609 (bfin*-uclinux*): Likewise.
2610 (bfin*-linux-uclibc*): Likewise.
2611 (crisv32-*-elf): Add cris/t-cris to tmake_file.
2612 (crisv32-*-none): Likewise.
2613 (cris-*-elf): Likewise.
2614 (cris-*-none): Likewise.
2615 (cris-*-linux*, crisv32-*-linux*): Likewise.
2616 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
2617 tmake_file.
2618 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
2619 tmake_file.
2620 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
2621 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
2622 (x86_64-*-elf*): Likewise.
2623 (i[34567]86-*-nto-qnx*): Likewise.
2624 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
2625 win32 threads.
2626 (x86_64-*-mingw*): Likewise.
2627 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
2628 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
2629 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
2630 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
2631 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
2632 tmake_file.
2633 (mipsisa64sr71k-*-elf*): Likewise.
2634 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
2635 (mips-*-elf*, mipsel-*-elf*): Likewise.
2636 (mips64-*-elf*, mips64el-*-elf*): Likewise.
2637 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
2638 (mips*-*-rtems*): Likewise.
2639 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
2640 to tmake_file.
2641 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
2642 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
2643 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
2644 (spu-*-elf*): Likewise.
2645 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
2646
45b86625
RO
26472011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2648
2649 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
2650 $(srcdir) to refer to $(LIB1ASMSRC).
2651 Use $<.
2652 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
2653 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
2654 config/arm/lib1funcs.S: New files.
2655 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
2656 * config/arm/t-arm: New file.
2657 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
2658 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
2659 config/arm/t-strongarm-elf: New files.
2660 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
2661 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
2662 * config/avr/lib1funcs.S: New file.
2663 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2664 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
2665 * config/c6x/lib1funcs.S: New file.
2666 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2667 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
2668 * config/frv/lib1funcs.S: New file.
2669 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2670 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
2671 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
2672 * config/ia64/__divxf3.asm: Rename to ...
2673 * config/ia64/__divxf3.S: ... this.
2674 Adapt lib1funcs.asm filename.
2675 * config/ia64/_fixtfdi.asm: Rename to ...
2676 * config/ia64/_fixtfdi.S: ... this.
2677 Adapt lib1funcs.asm filename.
2678 * config/ia64/_fixunstfdi.asm: Rename to ...
2679 * config/ia64/_fixunstfdi.S: ... this.
2680 Adapt lib1funcs.asm filename.
2681 * config/ia64/_floatditf.asm: Rename to ...
2682 * config/ia64/_floatditf.S: ... this.
2683 Adapt lib1funcs.asm filename.
2684 * config/ia64/lib1funcs.S: New file.
2685 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
2686 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2687 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
2688 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
2689 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
2690 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
2691 * config/mep/lib1funcs.S: New file.
2692 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2693 * config/mips/mips16.S: New file.
2694 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2695 * config/pa/milli64.S: New file.
2696 * config/pa/t-linux, config/pa/t-linux64: New files.
2697 * config/picochip/lib1funcs.S: New file.
2698 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2699 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
2700 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
2701 * config/sh/t-netbsd: New file.
2702 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
2703 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
2704 * config/sh/t-sh64: New file.
2705 * config/sparc/lb1spc.S: New file.
2706 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
2707 filename.
2708 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
2709 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
2710 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
2711 config/xtensa/lib1funcs.S: New files.
2712 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2713 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
2714 tmake_file.
2715 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
2716 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
2717 (arm*-*-linux*): Likewise.
2718 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
2719 arm*-*-linux-*eabi, add arm/t-linux otherwise.
2720 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
2721 (arm*-*-ecos-elf): Likewise.
2722 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
2723 (arm*-*-rtems*): Likewise.
2724 (arm*-*-elf): Likewise.
2725 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
2726 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
2727 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
2728 (bfin*-uclinux*): Likewise.
2729 (bfin*-linux-uclibc*): Likewise.
2730 (bfin*-rtems*): Likewise.
2731 (bfin*-*): Likewise.
2732 (fido-*-elf): Merge into m68k-*-elf*.
2733 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
2734 (frv-*-*linux*): Add frv/t-frv to tmake_file.
2735 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
2736 (h8300-*-elf*): Likewise.
2737 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
2738 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
2739 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
2740 (i[34567]86-*-mingw*): Likewise.
2741 (x86_64-*-mingw*): Likewise.
2742 (i[34567]86-*-interix3*): Likewise.
2743 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
2744 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
2745 (m68k-*-elf*): Also handle fido-*-elf.
2746 Add m68k/t-floatlib to tmake_file.
2747 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
2748 (m68k-*-linux*): Likewise.
2749 (m68k-*-rtems*): Likewise.
2750 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
2751 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
2752 sh64*-*-*.
2753 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
2754 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
2755 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
2756 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
2757 sh/t-netbsd to tmake_file.
2758 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
2759 (sh-*-rtems*): Add sh/t-sh to tmake_file.
2760 (sh-wrs-vxworks): Likewise.
2761 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
2762 *-leon[3-9]*.
2763 (v850*-*-*): Add v850/t-v850 to tmake_file.
2764 (vax-*-linux*): Add vax/t-linux to tmake_file.
2765 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
2766
5f73c6cc
RO
27672011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2768
2769 * crtstuff.c: New file.
2770 * Makefile.in (CRTSTUFF_CFLAGS): Define.
2771 (CRTSTUFF_T_CFLAGS): Define.
2772 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
2773 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
2774 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
2775 crtstuff.c.
2776 Use $<.
2777 (crtbeginT.o): Use $(objext).
2778 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
2779 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
2780 (gcc-extra-parts): Remove.
2781 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
2782 Set extra_parts.
2783 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
2784 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
2785 Add t-crtstuff-pic to tmake_file.
2786 (*-*-lynxos*): New case.
2787 Set tmake_file, extra_parts.
2788 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
2789 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
2790 *-*-netbsdelf[2-9]*.
2791 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
2792 (*-*-rtems*): Set extra_parts.
2793 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
2794 (*-*-uclinux*): New case.
2795 Set extra_parts.
2796 (*-*-vms*): New case.
2797 Set tmake_file, extra_parts.
2798 (*-*-elf): Set extra_parts.
2799 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
2800 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
2801 vms/t-vms64.
2802 Set extra_parts.
2803 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
2804 Set extra_parts.
2805 (arm*-*-freebsd*): Add t-crtin to tmake_file.
2806 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
2807 (arm-wrs-vxworks): Append to tmake_file.
2808 Set extra_parts.
2809 (arm*-*-uclinux*): Set extra_parts.
2810 (arm*-*-ecos-elf): Likewise.
2811 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
2812 arm*-*-eabi*.
2813 (arm*-*-rtems*): Set extra_parts.
2814 (arm*-*-elf): Likewise.
2815 (avr-*-rtems*): Clear extra_parts.
2816 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
2817 Set extra_parts.
2818 (bfin*-uclinux*): Likewise.
2819 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
2820 (bfin*-rtems*): Append to tmake_file.
2821 Set extra_parts.
2822 (bfin*-*): Likewise.
2823 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
2824 (crisv32-*-elf): ... this.
2825 (crisv32-*-none): ... this.
2826 (cris-*-elf, cris-*-none): New cases.
2827 Add cris/t-elfmulti to tmake_file.
2828 (fr30-*-elf): Append to tmake_file.
2829 Set extra_parts.
2830 (frv-*-elf): Append to tmake_file, add frv/t-frv.
2831 Set extra_parts.
2832 (h8300-*-rtems*): Append to tmake_file.
2833 Set extra_parts.
2834 (h8300-*-elf*): Likewise.
2835 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
2836 Set extra_parts.
2837 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
2838 Set extra_parts.
2839 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
2840 (x86_64-*-elf*): Likewise.
2841 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
2842 (x86_64-*-freebsd*): Likewise.
2843 (x86_64-*-netbsd*): Likewise.
2844 (i[34567]86-*-linux*): Likewise.
2845 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
2846 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
2847 (x86_64-*-linux*): Likewise.
2848 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
2849 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
2850 tmake_file.
2851 Set extra_parts.
2852 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
2853 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
2854 Append to extra_parts, remove crtbegin.o, crtend.o.
2855 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
2856 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
2857 crtend.o, crtbeginS.o, crtendS.o.
2858 (ia64*-*-linux*): Comment extra_parts.
2859 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
2860 Set extra_parts.
2861 (iq2000*-*-elf*): Clear extra_parts.
2862 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
2863 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
2864 (m32r-*-elf*, m32r-*-rtems*): Split off ...
2865 (m32r-*-rtems*): ... this.
2866 Add m32r/t-m32r to tmake_file.
2867 (m68k-*-elf*): Add t-crtin to tmake_file.
2868 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
2869 (mcore-*-elf): Likewise.
2870 (microblaze*-*-*): Set extra_parts.
2871 (mips*-sde-elf*): New case.
2872 Set tmake_file, extra_parts.
2873 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
2874 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
2875 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
2876 tmake_file.
2877 Set extra_parts.
2878 (mipsisa64sr71k-*-elf*): Likewise.
2879 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
2880 (mips-*-elf*, mipsel-*-elf*): Likewise.
2881 (mips64-*-elf*, mips64el-*-elf*): Likewise.
2882 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
2883 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
2884 (mips*-*-rtems*): Likewise.
2885 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
2886 (moxie-*-*): Split into ...
2887 (moxie-*-elf, moxie-*-uclinux*): ... this.
2888 Add to extra_parts, remove crtbegin.o, crtend.o.
2889 (moxie-*-rtems*): New case.
2890 Set tmake_file.
2891 Clear extra_parts.
2892 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
2893 Set extra_parts.
2894 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
2895 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
2896 tmake_file.
2897 Set extra_parts.
2898 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
2899 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
2900 Set extra_parts.
2901 (powerpc-*-eabisim*): Likewise.
2902 (powerpc-*-elf*): Likewise.
2903 (powerpc-*-eabialtivec*): Likewise.
2904 (powerpc-xilinx-eabi*): Likewise.
2905 (powerpc-*-eabi*): Likewise.
2906 (powerpc-*-rtems*): Likewise.
2907 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
2908 tmake_file.
2909 Set extra_parts.
2910 (powerpc-*-lynxos*): Add to tmake_file.
2911 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
2912 rs6000/t-crtstuff, t-crtstuff-pic.
2913 Set extra_parts.
2914 (powerpcle-*-eabisim*): Likewise.
2915 (powerpcle-*-eabi*): Likewise.
2916 (rx-*-elf): Remove extra_parts.
2917 (s390x-ibm-tpf*): Set extra_parts.
2918 (score-*-elf): Set extra_parts.
2919 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
2920 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
2921 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
2922 (sh64l*-*-netbsd*): Split into ...
2923 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
2924 Add t-crtstuff-pic to tmake_file.
2925 Set extra_parts.
2926 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
2927 Set extra_parts.
2928 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
2929 (sparc-*-elf*): Remove t-crtin from tmake_file.
2930 Add to extra_parts, remove crtbegin.o, crtend.o.
2931 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
2932 (sparc64-*-linux*): Likewise.
2933 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
2934 Add to extra_parts, remove crtbegin.o, crtend.o.
2935 (sparc64-*-elf*): Remove t-crtin from tmake_file.
2936 Add to extra_parts, remove crtbegin.o, crtend.o.
2937 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
2938 Add to extra_parts, remove crtbegin.o, crtend.o.
2939 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
2940 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
2941 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
2942 Set extra_parts.
2943 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
2944 Set extra_parts.
2945 (tic6x-*-*): Change to ...
2946 (tic6x-*-elf): ... this.
2947 Set extra_parts.
2948 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
2949 Set extra_parts.
2950 (am33_2.0-*-linux*): Add comment.
2951 (mep*-*-*): Add mep/t-mep to tmake_file.
2952 Set extra_parts.
2953 * config/alpha/t-vms: New file.
2954 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
2955 * config/arm/crti.S, config/arm/crtn.S: New files.
2956 * config/bfin/crti.S, config/bfin/crtn.S: New files.
2957 * config/bfin/crtlibid.S: New file.
2958 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
2959 * config/c6x/crti.S, config/c6x/crtn.S: New files.
2960 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
2961 (crti.o, crtin.o): New rules.
2962 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
2963 * config/c6x/t-uclinux: New file.
2964 * config/cris/t-elfmulti: New file.
2965 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
2966 * config/fr30/crti.S, config/fr30/crtn.S: New files.
2967 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
2968 * config/frv/t-frv: New file.
2969 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
2970 * config/h8300/crti.S, config/h8300/crtn.S: New files.
2971 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
2972 New files.
2973 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
2974 refer to cygming-crtbegin.c, cygming-crtend.c.
2975 Use $<.
2976 * config/i386/t-nto: New file.
2977 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
2978 * config/ia64/crti.S, config/ia64/crtn.S: New files.
2979 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
2980 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
2981 Use .S extension.
2982 Use $<.
2983 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
2984 (crtinitS.o): New rule.
2985 * config/ia64/vms-crtinit.S: New file.
2986 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
2987 * config/m32r/initfini.c: New file.
2988 * config/m32r/t-linux, config/m32r/t-m32r: New files.
2989 * config/m68k/crti.S, config/m68k/crtn.S: New files.
2990 * config/mcore/crti.S, config/mcore/crtn.S: New files.
2991 * config/mep/t-mep: New file.
2992 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
2993 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
2994 * config/mips/crti.S, config/mips/crtn.S: New files.
2995 * config/mips/t-crtstuff: New file.
2996 * config/mmix/crti.S, config/mmix/crtn.S: New files.
2997 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
2998 (CUSTOM_CRTIN): Set.
2999 ($(T)crti.o, $(T)crtn.o): Remove $(T),
3000 dependencies.
3001 Use $(srcdir) to refer to crti.S, crtn.S.
3002 Use .S extension, $<.
3003 * config/moxie/crti.asm: Rename to ...
3004 * config/moxie/crti.S: ... this.
3005 * config/moxie/crtn.asm: Rename to ...
3006 * config/moxie/crtn.S: ... this.
3007 * config/moxie/t-moxie: Remove.
3008 * config/pa/stublib.c: New file.
3009 * config/pa/t-stublib, config/pa/t-stublib64: New files.
3010 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
3011 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
3012 * config/rs6000/t-crtstuff: New file.
3013 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
3014 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
3015 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
3016 Make output file explicit.
3017 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
3018 Make output file explicit.
3019 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
3020 Make output file explicit.
3021 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
3022 Make output file explicit.
3023 * config/score/crti.S, config/score/crtn.S: New files.
3024 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
3025 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
3026 files.
3027 * config/sh/t-sh, config/sh/t-superh: New files.
3028 * config/sparc/t-linux64: New file.
3029 * config/spu/cache.S, config/spu/cachemgr.c: New files.
3030 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
3031 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
3032 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
3033 * config/t-crtin: Remove.
3034 * config/t-crtstuff-pic: New file.
3035 * config/t-sol2 (CUSTOM_CRTIN): Set.
3036 (crti.o, crtn.o): New rules.
3037 * config/vms/t-vms: New file.
3038 * config/vms/vms-ucrt0.c: New file.
3039 * config/xtensa/t-elf: New file.
3040
b040f2be
RO
30412011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3042
3043 * Makefile.in (SHLIB_NM_FLAGS): Set.
3044 * mkmap-flat.awk, mkmap-symver.awk: New files.
3045 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
3046 exceptions.
3047 * configure: Regenerate.
3048 * config/libgcc-glibc.ver: New file.
3049 * config/libgcc-libsystem.ver: New file.
3050 * config/t-libunwind (SHLIB_LC): Set.
3051 * config/t-linux: New file.
3052 * config/t-slibgcc (INSTALL_SHLIB): New.
3053 (SHLIB_INSTALL): Use it.
3054 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
3055 to mkmap-symver.awk.
3056 (SHLIB_MAPFILES): Don't append, adapt pathname.
3057 (SHLIB_VERPFX): Set.
3058 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
3059 to mkmap-symver.awk.
3060 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
3061 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
3062 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
3063 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
3064 to mkmap-flat.awk.
3065 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
3066 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
3067 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
3068 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
3069 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
3070 * config/i386/libgcc-darwin.10.4.ver,
3071 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
3072 New files.
3073 * config/i386/t-darwin: Remove.
3074 * config/i386/t-darwin64: Likewise.
3075 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
3076 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
3077 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
3078 * config/i386/t-linux: New file.
3079 * config/i386/t-mingw32: New file.
3080 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
3081 * config/ia64/t-glibc: Rename to ...
3082 * config/ia64/t-linux: ... this.
3083 (SHLIB_MAPFILES): Set.
3084 * config/ia64/t-glibc-libunwind: Rename to ...
3085 * config/ia64/t-linux-libunwind: ... this.
3086 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
3087 * config/ia64/t-slibgcc-hpux: New file.
3088 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
3089 * config/m68k/t-slibgcc-elf-ver: New file.
3090 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
3091 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
3092 to mkmap-flat.awk.
3093 * config/pa/t-slibgcc-hpux: New file.
3094 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
3095 files.
3096 * config/rs6000/libgcc-darwin.10.4.ver,
3097 config/rs6000/libgcc-darwin.10.5.ver: New files.
3098 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
3099 config/rs6000/libgcc-glibc.ver.
3100 * config/rs6000/libgcc-ppc64.ver: Rename to
3101 config/rs6000/libgcc-ibm-ldouble.ver.
3102 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
3103 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
3104 * config/rs6000/t-ldbl128: Rename to ...
3105 * config/rs6000/t-linux: ... this.
3106 (SHLIB_MAPFILES): Adapt filename.
3107 * config/rs6000/t-slibgcc-aix: New file.
3108 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
3109 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
3110 libgcc-excl.ver, libgcc-glibc.ver.
3111 (SHLIB_LINK, SHLIB_INSTALL): Remove.
3112 * config/sparc/libgcc-glibc.ver: New file.
3113 * config/sparc/t-linux: New file.
3114 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
3115 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
3116 t-slibgcc-elf-ver to tmake_file.
3117 Add t-slibgcc-nolc-override to tmake_file for posix threads on
3118 *-*-freebsd[34].
3119 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
3120 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
3121 t-slibgcc-elf-ver, t-linux to tmake_file.
3122 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
3123 tmake_file.
3124 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
3125 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
3126 (alpha*-dec-*vms*): Likewise.
3127 (arm*-*-freebsd*): Append to tmake_file.
3128 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
3129 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
3130 arm*-*-linux-*eabi.
3131 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
3132 tmake_file for arm*-*-symbianelf*.
3133 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
3134 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
3135 cris/t-linux.
3136 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
3137 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
3138 pa/t-slibgcc-dwarf-ver to tmake_file.
3139 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
3140 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
3141 (hppa*64*-*-hpux11*): Likewise.
3142 (hppa[12]*-*-hpux11*): Likewise.
3143 (x86_64-*-darwin*): Don't override tmake_file, but only keep
3144 i386/t-crtpc, i386/t-crtfm.
3145 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
3146 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
3147 to tmake_file.
3148 Add i386/t-cygwin to tmake_file.
3149 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
3150 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
3151 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
3152 to tmake_file.
3153 Add i386/t-mingw32 to tmake_file.
3154 (x86_64-*-mingw*): Likewise.
3155 (ia64*-*-freebsd*): Append to tmake_file.
3156 (ia64*-*-linux*): Append to tmake_file.
3157 Replace ia64/t-glibc by ia64/t-linux.
3158 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
3159 system libunwind.
3160 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
3161 t-slibgcc-hpux to tmake_file.
3162 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
3163 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
3164 (m32rle-*-linux*): Likewise.
3165 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
3166 sjlj exceptions.
3167 (microblaze*-linux*): New case.
3168 Append to tmake_file, add t-slibgcc-nolc-override.
3169 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
3170 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
3171 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
3172 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
3173 rs6000/t-slibgcc-aix to tmake_file.
3174 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
3175 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
3176 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
3177 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
3178 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
3179 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
3180 sh*-*-linux*.
3181 (sparc-*-linux*): Append to tmake_file for *-leon*.
3182 Add sparc/t-linux to tmake_file for non-Leon targets.
3183 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
3184 (tic6x-*-uclinux): New case.
3185 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
3186 (tic6x-*-*): Add c6x/t-elf to tmake_file.
3187 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
3188 (am33_2.0-*-linux*): Append to tmake_file.
3189 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
3190 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
3191 x86_64-*-kfreebsd*-gnu.
3192 Add i386/t-linux to tmake_file.
3193
18b4bd7b
ILT
31942011-10-28 Ian Lance Taylor <iant@google.com>
3195
3196 * config/i386/morestack.S: Correct CFI information to do proper
3197 returns throughout function. In 32-bit mode, save %ebx so that it
3198 is restored on unwind.
3199
5b2d9d90
BS
32002011-10-25 Bernd Schmidt <bernds@codesourcery.com>
3201
3202 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
3203 case where B3 isn't the return register.
3204
0d53e346
BS
3205 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
3206 logic for doubleword pops.
3207
cbffbd59
AT
32082011-10-25 Andreas Tobler <andreast@fgznet.ch>
3209
3210 * config/rs6000/t-freebsd: Add wildcard.
3211
56dc349e
PB
32122011-10-21 Paul Brook <paul@codesourcery.com>
3213
3214 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
3215
1e06b07d
UB
32162011-10-16 Uros Bizjak <ubizjak@gmail.com>
3217 Eric Botcazou <ebotcazou@adacore.com>
3218
3219 PR target/50737
3220 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
3221 fs->signal_frame to 1.
3222
b5204884
ILT
32232011-10-07 Ian Lance Taylor <iant@google.com>
3224
3225 * generic-morestack-thread.c: #include <errno.h>.
3226
91a639a1
ILT
32272011-10-07 Ian Lance Taylor <iant@google.com>
3228
3229 PR target/46093
3230 * generic-morestack.c (__generic_morestack): Make sure the segment
3231 is large enough for both the stack frame and the copied
3232 parameters.
3233
cc49116d
RO
32342011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3235
3236 PR bootstrap/49804
3237 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
3238 extra_parts.
3239
2996d8c3
NC
32402011-09-28 Nick Clifton <nickc@redhat.com>
3241
3242 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
3243 64-bit doubles are not enabled.
3244 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
3245 and floatunsisf functions.
3246
1e874273 32472011-09-13 Paul Brook <paul@codesourcery.com>
2996d8c3 3248
1e874273
PB
3249 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
3250 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
3251 * unwind-arm-common.inc: New file.
3252 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
3253 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
3254 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
3255 * config/c6x/libunwind.S: New file.
3256 * config/c6x/pr-support.c: New file.
3257 * config/c6x/unwind-c6x.c: New file.
3258 * config/c6x/unwind-c6x.h: New file.
3259 * config/c6x/t-c6x-elf: New file.
3260
f70c879a
UB
32612011-08-23 Uros Bizjak <ubizjak@gmail.com>
3262
3263 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
3264 (ASM_DIVZERO): Ditto.
3265 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
3266
c55b374b
RS
32672011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
3268
3269 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
3270
1e138510
RS
32712011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
3272
3273 PR target/50090
3274 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
3275 instead of an assembly one.
3276
1563503d
PB
32772011-08-12 Paolo Bonzini <bonzini@gnu.org>
3278
3279 PR bootstrap/50047
3280 * Makefile.in (install-unwind_h): Create
3281 $(gcc_objdir)/include/unwind.h atomically.
3282
3627ac1a
RO
32832011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3284
3285 * Makefile.in (install-unwind_h): Remove destination file first.
3286
c6412d86
RO
32872011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3288
3289 * sync.c: New file.
3290 * config/mips/t-mips16: New file.
3291 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
3292 (mips*-*-linux*): Likewise.
3293 (mips*-sde-elf*): Likewise.
3294 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
3295 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
3296 Add mips/t-mips16 to tmake_file.
3297 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
3298 (mips-*-elf*): Likewise.
3299 (mips64-*-elf*): Likewise.
3300 (mips64orion-*-elf*): Likewise.
3301 (mips*-*-rtems*): Likewise.
3302 (mipstx39-*-elf*): Likewise.
3303 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
3304 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
3305 LIBGCC_SYNC_CFLAGS.
3306 Use $(srcdir) to refer to sync.c.
3307 Use $<.
3308 ($(libgcc-sync-funcs-o)): Likewise.
3309 ($(libgcc-sync-size-funcs-s-o)): Likewise.
3310 ($(libgcc-sync-funcs-s-o)): Likewise.
3311
3cb6e5bd
AS
33122011-08-09 Andreas Schwab <schwab@linux-m68k.org>
3313
3314 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
3315 t-libunwind.
3316
cca2207a
L
33172011-08-08 H.J. Lu <hongjiu.lu@intel.com>
3318
3319 PR other/48007
3320 * config/i386/value-unwind.h: New.
3321
ed39fbad
RS
33222011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
3323
3324 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
3325 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
3326 Add to tmake_file rather than overriding it.
3327
aca0b0b3
RO
33282011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3329
3330 * config/t-softfp: Remove.
3331 * soft-fp: Moved from ../gcc/config.
3332 * soft-fp/README: Remove t-softfp reference.
3333 * soft-fp/t-softfp: Move to config/t-softfp.
3334 (softfp_machine_header): Remove.
3335 (softfp_file_list): Remove config subdir.
3336 (soft-fp-objects): New variable.
3337 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
3338 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
3339 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
3340 * config/t-softfp-excl: New file.
3341 * config/t-softfp-sfdf: New file.
3342 * config/t-softfp-tf: New file.
3343 * config/no-sfp-machine.h: New file.
3344 * config/arm/sfp-machine.h: New file.
3345 * config/arm/t-softfp: New file.
3346 * config/c6x/sfp-machine.h: New file.
3347 * config/i386/32/t-fprules-softfp: Rename to ...
3348 * config/i386/32/t-softfp: ... this.
3349 (tifunctions, LIB2ADD): Remove.
3350 (softfp_int_modes): Override.
3351 * config/i386/64/t-softfp-compat (tf-functions): Remove config
3352 subdir.
3353 * config/i386/64/eqtf2.c: Likewise.
3354 * config/i386/64/getf2.c: Likewise.
3355 * config/i386/64/letf2.c: Likewise.
3356 * config/ia64/sft-machine.h: New file.
3357 * config/ia64/t-fprules-softfp: Rename to ...
3358 * config/ia64/t-softfp: ... this.
3359 * config/lm32/sfp-machine.h: New file.
3360 * config/moxie/t-moxie-softfp: Remove.
3361 * config/rs6000/ibm-ldouble-format: New file.
3362 * config/rs6000/ibm-ldouble.c: New file.
3363 * config/rs6000/libgcc-ppc-glibc.ver: New file
3364 * config/rs6000/libgcc-ppc64.ver: New file
3365 * config/rs6000/sfp-machine.h: New file.
3366 * config/rs6000/t-freebsd: New file.
3367 * config/rs6000/t-ibm-ldouble: New file.
3368 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
3369 libgcc-ppc-glibc.ver.
3370 * config/rs6000/t-linux64: New file.
3371 * config/rs6000/t-ppccomm (LIB2ADD): Add
3372 $(srcdir)/config/rs6000/ibm-ldouble.c.
3373 * config/rs6000/t-ppccomm-ldbl: New file.
3374 * config/score/sfp-machine.h: New file.
3375 * config.host (sfp_machine_header): Explain.
3376 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
3377 t-softfp to tmake_file.
3378 (arm*-*-uclinux*): Likewise.
3379 (arm*-*-ecos-elf): Likewise.
3380 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
3381 (arm*-*-rtems*): Likewise.
3382 (arm*-*-elf): Likewise.
3383 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
3384 in tmake_file.
3385 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
3386 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
3387 (lm32-*-uclinux*): Likewise.
3388 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
3389 t-softfp-excl, t-softfp.
3390 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
3391 (powerpc64-*-darwin*): Likewise.
3392 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
3393 to tmake_file.
3394 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
3395 tmake_file.
3396 (powerpc-*-eabisim*): Likewise.
3397 (powerpc-*-elf*): Likewise.
3398 (powerpc-*-eabialtivec*): Likewise.
3399 (powerpc-xilinx-eabi*): Likewise.
3400 (powerpc-*-rtems*): Likewise.
3401 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
3402 t-softfp-excl, t-softfp to tmake_file.
3403 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
3404 rs6000/t-ppccomm-ldbl to tmake_file.
3405 (powerpcle-*-elf*): Likewise.
3406 (powerpcle-*-eabisim*): Likewise.
3407 (powerpcle-*-eabi*): Likewise.
3408 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
3409 rs6000/t-ibm-ldouble to tmake_file.
3410 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
3411 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
3412 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
3413 (tic6x-*-*): Likewise.
3414 (i[34567]86-*-darwin*, x86_64-*-darwin*,
3415 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
3416 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
3417 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
3418 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
3419 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
3420 t-softfp to tmake_file.
3421 * configure.ac (sfp_machine_header): Provide default if unset.
3422 Substitute.
3423 Link sfp-machine.h to config/$sfp_machine_header.
3424 * configure: Regenerate.
3425
569dc494
RO
34262011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3427
3428 * Makefile.in (double_type_size, long_double_type_size): Set.
3429 Remove $(fpbit-in-libgcc) support.
3430 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
3431 (fpbit-src): New variable.
3432 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
3433 Compile with -DFLOAT $(FPBIT_CFLAGS).
3434 Use $<.
3435 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
3436 Compile with $(FPBIT_CFLAGS).
3437 Use $<.
3438 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
3439 Compile with -DFLOAT $(TPBIT_CFLAGS).
3440 Use $<.
3441 * configure.ac (double_type_size, long_double_type_size):
3442 Determine and substitute.
3443 * configure: Regenerate.
3444 * fp-bit.c, fp-bit.h: New files.
3445 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
3446 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
3447 * config/mips/t-mips: New file.
3448 * config/mips/t-sdemtk: New file.
3449 * config/rs6000/ppc64-fp.c: New file.
3450 * config/rs6000/t-darwin (LIB2ADD): Add
3451 $(srcdir)/config/rs6000/ppc64-fp.c.
3452 * config/rs6000/t-ppc64-fp: New file.
3453 * config/rx/rx-lib.h: New file.
3454 * config/rx/t-rx (FPBIT): Set to true.
3455 ($(gcc_objdir)/fp-bit.c): Remove.
3456 (DPBIT): Set to true only with -m64bit-doubles.
3457 ($(gcc_objdir)/dp-bit.c): Remove.
3458 * config/sparc/t-softfp: Remove.
3459 * config/spu/t-elf: New file.
3460 * config/t-fdpbit, config/t-fpbit: New files.
3461 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
3462 (mips*-*-*): Likewise.
3463 (arm-wrs-vxworks): Likewise.
3464 (arm*-*-freebsd*): Likewise.
3465 (avr-*-rtems*): Add t-fpbit to tmake_file.
3466 (avr-*-*): Likewise.
3467 (bfin*-elf*): Add t-fdpbit to tmake_file.
3468 (bfin*-uclinux*): Likewise.
3469 (bfin*-linux-uclibc*): Likewise.
3470 (bfin*-rtems*): New case.
3471 Add t-fdpbit to tmake_file.
3472 (bfin*-*): Add t-fdpbit to tmake_file.
3473 (crisv32-*-elf): Likewise.
3474 (cris-*-linux*): Likewise.
3475 (fr30-*-elf): Likewise.
3476 (frv-*-elf, frv-*-*linux*): Likewise.
3477 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
3478 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
3479 (m32r-*-elf*): Likewise.
3480 (m32rle-*-elf*): Likewise.
3481 (m32r-*-linux*): Likewise.
3482 (m32rle-*-linux*): Likewise.
3483 (mcore-*-elf): Add t-fdpbit to tmake_file.
3484 (microblaze*-*-*): Likewise.
3485 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
3486 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
3487 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
3488 Fix typo.
3489 Add mips/t-tpbit to tmake-file.
3490 (mips*-*-linux*): Fix typo.
3491 (mips*-sde-elf*): New case
3492 Add mips/t-sdemtk unless using newlib.
3493 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
3494 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
3495 (mn10300-*-*): Likewise.
3496 (pdp11-*-*): Likewise.
3497 (picochip-*-*): Add t-fpbit to tmake_file.
3498 (powerpc-*-eabisimaltivec*): Likewise.
3499 (powerpc-*-eabisim*): Likewise.
3500 (powerpc-*-elf*): Likewise.
3501 (powerpc-*-eabialtivec*): Likewise.
3502 (powerpc-xilinx-eabi*): New case.
3503 Add t-fdpbit to tmake_file.
3504 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
3505 (powerpc-*-rtems*): Likewise.
3506 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
3507 tmake_file.
3508 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
3509 tmake_file.
3510 (powerpc-*-lynxos*): Likewise.
3511 (powerpcle-*-elf*): Likewise.
3512 (powerpcle-*-eabisim*): Likewise.
3513 (powerpcle-*-eabi*): Likewise.
3514 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
3515 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
3516 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
3517 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
3518 (rx-*-elf): Add t-fdpbit to tmake_file.
3519 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
3520 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
3521 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
3522 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
3523 sh*-*-netbsd*.
3524 (sh-*-rtems*): Add t-fdpbit to tmake_file.
3525 (sh-wrs-vxworks): Likewise.
3526 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
3527 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
3528 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
3529 (sparc64-*-rtems*): ... new case.
3530 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
3531 (spu-*-elf*): Likewise.
3532 Add spu/t-elf to tmake_file.
3533 (v850*-*-*): Add t-fdpbit to tmake_file.
3534 (xstormy16-*-elf): Likewise.
3535 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
3536 (mep*-*-*): Likewise.
3537
201cdb74
RO
35382011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3539
3540 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
3541 variables.
3542 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
3543 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
3544 (install-unwind_h): New target.
3545 (all): Depend on it.
3546 * config.host (unwind_header): New variable.
3547 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
3548 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
3549 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
3550 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
3551 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
3552 Set unwind_header.
3553 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
3554 Set unwind_header.
3555 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
3556 arm*-*-eabi*.
3557 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
3558 Set unwind_header.
3559 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
3560 (ia64*-*-freebsd*): Likewise.
3561 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
3562 tmake_file.
3563 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
3564 $with_system_libunwind.
3565 (ia64*-*-hpux*): Set tmake_file.
3566 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
3567 (picochip-*-*): Set tmake_file.
3568 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
3569 md_unwind_header.
3570 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
3571 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
3572 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
3573 (xtensa*-*-elf*): Set tmake_file.
3574 (xtensa*-*-linux*): Likewise.
3575 * configure.ac: Include ../config/unwind_ipinfo.m4.
3576 Call GCC_CHECK_UNWIND_GETIPINFO.
3577 Link unwind.h to $unwind_header.
3578 * configure: Regenerate.
3579 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
3580 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
3581 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
3582 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
3583 * config/unwind-dw2-fde-darwin.c: New file.
3584 * config/arm/libunwind.S, config/arm/pr-support.c,
3585 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
3586 config/arm/unwind-arm.h,: New files.
3587 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
3588 config/ia64/t-eh-ia64, config/ia64/t-glibc,
3589 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
3590 config/ia64/t-vms, config/ia64/unwind-ia64.c,
3591 config/ia64/unwind-ia64.h: New files.
3592 * config/picochip/t-picochip: New file.
3593 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
3594 files.
3595 * config/rs6000/t-darwin (LIB2ADDEH): Set.
3596 * config/s390/t-tpf (LIB2ADDEH): Remove.
3597 * config/t-darwin (LIB2ADDEH): Set.
3598 * config/t-eh-dw2-dip: New file.
3599 * config/t-libunwind, config/t-libunwind-elf: New files.
3600 * config/t-sol2 (LIB2ADDEH): Remove.
3601 * config/xtensa/t-xtensa: New file.
3602
40f2f11f
L
36032011-08-02 H.J. Lu <hongjiu.lu@intel.com>
3604
3605 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
3606 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
3607 long long to check rt_sigreturn syscall.
3608
bd15e32c
AM
36092011-08-02 Alan Modra <amodra@gmail.com>
3610
3611 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
3612 Restore for indirect call bcrtl from correct stack slot, and only
3613 if cfa+40 isn't valid.
3614
655b30bf
JB
36152011-08-01 Julian Brown <julian@codesourcery.com>
3616
3617 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
3618 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
3619 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
3620
247eb06f
JB
36212011-08-01 Julian Brown <julian@codesourcery.com>
3622
3623 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
3624 (libgcc-std.ver.in): Use above.
3625 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
3626 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
3627 throughout file.
3628 * config/t-fixedpoint-gnu-prefix: New file.
3629 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
3630 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
3631 instead of __PFX__.
3632
02a8fe00
L
36332011-07-28 H.J. Lu <hongjiu.lu@intel.com>
3634
3635 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
3636 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
3637 for x86-64. Properly check __x86_64__ and __LP64__.
3638
5fce9126
L
36392010-07-28 H.J. Lu <hongjiu.lu@intel.com>
3640
3641 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
3642 version.
3643 (_FP_WS_TYPE): Likewise.
3644 (_FP_I_TYPE): Likewise.
3645
2374a88a
AM
36462011-07-28 Alan Modra <amodra@gmail.com>
3647
3648 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
3649 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
3650 in a plt call stub. Do restore r2 if stopped on bctrl.
3651
e44dbbe1
RO
36522011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3653
3654 * config.host (i[3456x]86-*-netware*): Remove.
3655 * config/i386/netware-crt0.c, config/i386/t-nwld,
3656 config/i386/t-slibgcc-nwld: Remove.
3657
bcead286
BS
36582011-07-15 Bernd Schmidt <bernds@codesourcery.com>
3659
3660 * config.host: Handle tic6x-*-*.
3661 * config/c6x/c6x-abi.h: New file.
3662
b3fe1584
RO
36632011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3664
3665 * config/i386/crtprec.c: New file.
3666 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
3667 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
3668 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
3669 (x86_64-*-darwin*): Likewise.
3670 (i[34567]86-*-solaris2*: Likewise.
3671
35d8090d
RO
36722011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3673
3674 * config/alpha/crtfastmath.c: New file.
3675 * config/i386/crtfastmath.c: New file.
3676 * config/ia64/crtfastmath.c: New file.
3677 * config/mips/crtfastmath.c: New file.
3678 * config/sparc/crtfastmath.c: New file.
3679
3680 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
3681 crtfastmath.c.
3682 Add -frandom-seed=gcc-crtfastmath.
3683 * config/alpha/t-crtfm: Remove.
3684 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
3685 * config/ia64/t-ia64 (crtfastmath.o): Remove.
3686
3687 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
3688 (alpha*-dec-osf5.1*): Likewise.
3689 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
3690 Add crtfastmath.o to extra_parts.
3691 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
3692 Add crtfastmath.o to extra_parts.
3693 (x86_64-*-darwin*): Likewise.
3694 (x86_64-*-mingw*): Likewise.
3695 (ia64*-*-elf*): Add t-crtfm to tmake_file.
3696 (ia64*-*-freebsd*): Likewise.
3697 (ia64*-*-linux*): Likewise.
3698 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
3699 Add crtfastmath.o to extra_parts.
3700
e141542e
RO
37012011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3702
3703 * config/darwin-crt3.o: New file.
3704 * config/rs6000/darwin-crt2.c: New file.
3705 * config/t-darwin: New file.
3706 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
3707 (crt2.o): New rule.
3708 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
3709 (powerpc-*-darwin*): Add crt2.o to extra_parts.
3710 (powerpc64-*-darwin*): Likewise.
3711
2d1efe2d
RO
37122011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3713
3714 * config/i386/netware-crt0.c: New file.
3715 * config/i386/t-nwld: Rename to ...
3716 * config/i386/t-slibgcc-nwld: ... this.
3717 * config/i386/t-nwld: New file.
3718 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
3719 tmake_file.
3720 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
3721 extra_parts.
3722
4a8bb046
RO
37232011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3724
3725 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
3726 i386/t-crtstuff.
3727 * configure: Regenerate.
3728
2d8d5935
RO
37292011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3730
3731 * dfp-bit.c, dfp-bit.h: New files.
3732 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
3733 variables.
3734 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
3735 ($(d64pbit-o)): Likewise.
3736 ($(d128pbit-o)): Likewise.
3737 * config/t-dfprules: New file.
3738 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
3739 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
3740 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
3741 (x86_64-*-linux*): Likewise.
3742 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
3743 (i[34567]86-*-cygwin*): Likewise.
3744 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
3745 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
3746
2c50b2c3
RO
37472011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3748
3749 * Makfile.in (LIBGCOV): New variable.
3750 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
3751 * libgcov.c: New file.
3752
a039d7c2
RO
37532011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3754
3755 * fixed-bit.c, fixed-bit.h: New files.
3756 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
3757 refer to fixed-bit.c.
3758
1e4b2746
JM
37592011-07-07 Joseph Myers <joseph@codesourcery.com>
3760
3761 * config.host (*local*): Remove.
3762
fbdd5d87
RO
37632011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3764
3765 PR target/39150
3766 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
3767 like i?86-*-solaris2.1[0-9]*.
3768 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
3769 * configure.ac (i?86-*-solaris2*): Likewise.
3770 * configure: Regenerate.
3771
9e7714f4
TS
37722011-07-06 Thomas Schwinge <thomas@schwinge.name>
3773
3774 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
3775 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
3776 md_unwind_header by splitting out of...
3777 (i[34567]86-*-linux*): ... this.
3778 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
3779 Remove md_unwind_header by splitting out of...
3780 (x86_64-*-linux*): ... this.
3781
6dab9931
GJL
37822011-07-04 Georg-Johann Lay <avr@gjlay.de>
3783
3784 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
3785
4be46d19
NC
37862011-06-28 Nick Clifton <nickc@redhat.com>
3787
3788 * config.host: Recognize all V850 variants.
3789
1da9434b
UB
37902011-06-22 Uros Bizjak <ubizjak@gmail.com>
3791
3792 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
3793
e4d48a4d
RO
37942011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3795
3796 * shared-object.mk (c_flags-$o): Save c_flags.
3797 ($(base)$(objext)): Use it.
3798 ($(base)_s$(objext)): Likewise.
3799
3801c801
BS
38002011-06-21 Bernd Schmidt <bernds@codesourcery.com>
3801
3802 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
3803 * libgcc-std.ver.in (GCC_4.7.0): New section.
3804
0ad8bb3b 38052011-06-16 Georg-Johann Lay <avr@gjlay.de>
1da9434b 3806
0ad8bb3b
GJL
3807 PR target/49313
3808 PR target/29524
3809 * config/avr/t-avr: Fix line endings.
3810 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
3811 _parityXX2.
3812
ea963999
OH
38132011-06-14 Olivier Hainque <hainque@adacore.com>
3814 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3815
3816 * config/mips/irix6-unwind.h: New file.
3817 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
3818
b11b0904
EB
38192011-06-10 Eric Botcazou <ebotcazou@adacore.com>
3820
3821 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
3822 (sparc64_fallback_frame_state): Use it.
3823 (sparc64_frob_update_context): Further adjust context.
3824 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
3825 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
3826 * config/sparc/sol2-cn.S: Likewise.
3827
10e48e39
RO
38282011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3829
3830 * enable-execute-stack-empty.c: New file.
3831 * enable-execute-stack-mprotect.c: New file.
3832 * config/i386/enable-execute-stack-mingw32.c: New file.
3833 * config.host (enable_execute_stack): New variable.
3834 Select appropriate variants.
3835 * configure.ac: Link enable-execute-stack.c to
3836 $enable_execute_stack.
3837 * configure: Regenerate.
3838 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
3839 (lib2funcs): Remove _enable_execute_stack.
3840
10c4cabc
DM
38412011-06-09 David S. Miller <davem@davemloft.net>
3842 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3843
3844 * config.host (sparc-*-linux*): Correct md_unwind_header
3845 filename.
3846 (s390x-ibm-tpf*): Fix typo.
3847
aa4203e7
RO
38482011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3849
3850 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
3851 Add crtfastmath.o to extra_parts.
3852 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
3853 mips/t-crtfm.
3854 * config/mips/t-crtfm: Remove.
3855
0defd786
JDA
38562011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3857
3858 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
3859
82f247af
KK
38602011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
3861
3862 * config.host (sh*-*-linux*): Fix typo.
3863
58cd1d70
RO
38642011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3865
3866 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
3867 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
3868 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
3869 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
3870 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
3871 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
3872 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
3873 Wrap in !__MINGW64__.
3874 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
3875 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
3876 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
3877 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
3878 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
3879 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
3880 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
3881 Wrap in !__LP64__.
3882 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
3883 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
3884 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
3885 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
3886 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
3887 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
3888 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
3889 * config/no-unwind.h: New file.
3890 * config.host (md_unwind_header): Document.
3891 Define.
3892 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
3893 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
3894 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
3895 hppa[12]*-*-hpux11*): Set md_unwind_header.
3896 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
3897 Set md_unwind_header.
3898 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
3899 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
3900 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
3901 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
3902 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
3903 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
3904 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
3905 md_unwind_header.
3906 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
3907 * configure: Regenerate.
3908
737346fa
RO
39092011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3910
3911 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
3912 Set tmake_file, extra_parts.
3913 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
3914 Remove O32 support.
3915 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
3916 Remove O32 support.
3917 * config/mips/t-irix6: New file.
3918 * config/mips/t-slibgcc-irix: New file.
3919
c192cee6
RO
39202011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3921
3922 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
3923 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
3924
ee33b5f0
RO
39252011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3926
3927 * configure.ac (target_thread_file): Determine thread model.
3928 * configure: Regenerate.
3929 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
3930 * config/alpha/t-alpha: New file.
3931 * config/alpha/t-crtfm: Use $<.
3932 * config/alpha/t-ieee: New file.
3933 * config/alpha/t-osf-pthread: New file.
3934 * config/alpha/t-slibgcc-osf: New file.
3935 * config/alpha/libgcc-osf5.ver: New file.
3936
0699e415
RO
39372011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3938
3939 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
3940 tmake_file.
3941 Add crtfastmath.o to extra_parts.
3942
a3fab9c2
RO
39432011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3944
3945 * config/gmon-sol2.c: Reindent.
3946 Cleanup comments.
3947 Remove, correct casts.
3948 Use STDERR_FILENO, NULL.
3949 (BASEADDRESS): Remove.
3950 (minbrk): Remove.
3951 (errno, sbrk): Remove declarations.
3952 (monstartup) [hp300]: Remove.
3953 (mcount): Remove.
3954
ca24c5ad
RO
39552011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3956
3957 * Makefile.in (cpu_type): Define.
3958 * config.host (i[34567]86-*-rtems*): Handle it.
3959 (i[34567]86-*-solaris2*): Move body ...
3960 (*-*-solaris2*): ... here.
3961 New case, generalize.
3962 (sparc-*-elf*): Handle it.
3963 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
3964 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
3965 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
3966 Fold into ...
3967 (sparc*-*-solaris2*): ... this.
3968 New case.
3969 (sparc64-*-elf*): Handle it.
3970 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
3971 Merge ../gcc/config/i386/gmon-sol2.c.
3972 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
3973 Use C comments.
3974 Merge ../gcc/config/i386/sol2-gc1.asm.
3975 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
3976 Use C comments.
3977 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
3978 Use C comments.
3979 * config/i386/t-crtfm (crtfastmath.o): Use $<.
3980 * config/i386/t-crtstuff: New file.
3981 * config/i386/t-softfp: New file.
3982 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
3983 $(T)crti.o, $(T)crtn.o): Remove.
3984 (gcrt1.o): New rule.
3985 (TARGET_LIBGCC2_CFLAGS): Remove.
3986 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
3987 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
3988 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
3989 * config/sparc/t-sol2: New file.
3990 * config/sparc/t-crtfm: Move to ...
3991 * config/t-crtfm: ... this.
3992 Use $(cpu_type), $<.
3993 * config/t-crtin: New file.
3994 * config/sparc/t-softfp: New file.
3995 * config/sparc/t-softmul: New file.
3996 * config/t-rtems: New file.
3997 * config/t-slibgcc: New file.
3998 * config/t-slibgcc-elf-ver: New file.
3999 * config/t-slibgcc-gld: New file.
4000 * config/t-slibgcc-sld: New file.
4001 * config/t-sol2: New file.
4002 * configure.ac: Include ../config/lib-ld.m4.
4003 Call AC_LIB_PROG_LD_GNU.
4004 Substitute cpu_type.
4005 * configure: Regenerate.
4006
ad5f3d7b
BS
40072011-05-27 Bernd Schmidt <bernds@codesourcery.com>
4008
4009 PR bootstrap/49173
4010 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
4011 libgcc-std.ver in the build directory.
4012 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
4013 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
4014
cdbf4541
BS
40152011-05-25 Bernd Schmidt <bernds@codesourcery.com>
4016
4017 * libgcc-std.ver.in: New file.
4018 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
4019 variables.
4020 (libgcc-std.ver): New rule.
4021 * config/t-gnu-prefix: New file.
4022
c8028650
RO
40232011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4024
4025 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
4026
4a68b4ca
JM
40272011-05-10 Joseph Myers <joseph@codesourcery.com>
4028
4029 * config/i386/darwin-lib.h: New file.
4030
80cf2e08
JM
40312011-05-10 Joseph Myers <joseph@codesourcery.com>
4032
4033 * config/arm/symbian-lib.h: New.
4034
a3330c9d
CD
40352011-05-04 Chris Demetriou <cgd@google.com>
4036
4037 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
4038 (__x86.get_pc_thunk.bx): ...this.
4039 (__morestack): Adjust for rename, remove undef of __i686.
4040
6ace0756
CD
40412011-05-03 Chris Demetriou <cgd@google.com>
4042
4043 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
4044
ebb9f8b0
JM
40452011-03-22 Joseph Myers <joseph@codesourcery.com>
4046
4047 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
4048 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
4049 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
4050 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
4051 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
4052 Remove cases.
4053
9cfa1499
AT
40542011-03-14 Andreas Tobler <andreast@fgznet.ch>
4055
4056 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
4057 Adjust copyright year.
4058
457186f6
ILT
40592011-03-07 Ian Lance Taylor <iant@google.com>
4060
4061 * generic-morestack.c (__splitstack_find): Adjust returned stack
4062 pointer to include all registers pushed by __morestack.
4063
58c741a6
DK
40642011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
4065
4066 PR target/40125
4067 * configure.ac: Call ACX_NONCANONICAL_TARGET.
4068 (toolexecdir): Calculate and AC_SUBST.
4069 (toolexeclibdir): Likewise.
4070 * Makefile.in (target_noncanonical): Import.
4071 (toolexecdir): Likewise.
4072 (toolexeclibdir): Likewise.
4073 * configure: Regenerate.
4074
26716c44
NF
40752010-12-13 Nathan Froyd <froydnj@codesourcery.com>
4076
4077 PR target/46040
4078 * config/arm/bpabi.h: Rename to...
4079 * config/arm/bpabi-lib.h: ...this.
4080
b595b1a1
RO
40812010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4082
4083 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
4084 appropriate.
4085 * configure: Regenerate.
4086
a3abe41c
NF
40872010-11-24 Nathan Froyd <froydnj@codesourcery.com>
4088
4089 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
4090 __FLOAT_WORD_ORDER__.
4091 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
4092 Delete.
4093
455c8f48
RW
40942010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4095
4096 PR other/46202
4097 * Makefile.in (install-strip): New phony target.
4098
f3824a8b
ILT
40992010-11-07 Ian Lance Taylor <iant@google.com>
4100
4101 PR target/46089
4102 * config/i386/morestack.S (__morestack_large_model): New
4103 function.
4104
18ed6ee4
NF
41052010-10-23 Nathan Froyd <froydnj@codesourcery.com>
4106
4107 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
4108 Delete.
4109 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
4110
8ac7fdcb
NF
41112010-10-14 Nathan Froyd <froydnj@codesourcery.com>
4112
4113 * config/arm/bpabi.h: New file.
4114 * config/frv/frv-abi.h: New file.
4115
cdb388c2
ILT
41162010-10-01 Ian Lance Taylor <iant@google.com>
4117
4118 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
4119 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
4120
ef7c141c
L
41212010-10-01 H.J. Lu <hongjiu.lu@intel.com>
4122
4123 PR target/45858
4124 * config.host: Add the missing `$'.
4125
80920132
ME
41262010-09-30 Michael Eager <eager@eagercon.com>
4127
4128 * config.host: Add microblaze*-*-*.
4129 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
4130 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
4131 udivsi3.asm,umodsi3.asm}: New.
4132
6dace308
ILT
41332010-09-28 Ian Lance Taylor <iant@google.com>
4134
4135 * configure.ac: Adjust CFI test to test assembler directly rather
4136 than checking gcc preprocessor macro.
4137 * configure: Rebuild.
4138
b6110d6d
ILT
41392010-09-27 Ian Lance Taylor <iant@google.com>
4140
4141 * configure.ac: Test whether assembler supports CFI directives.
4142 * config.host: Only add t-stack and i386/t-stack-i386 to
4143 tmake_file if libgcc_cv_cfi is "yes".
4144 * configure: Rebuild.
4145
7458026b
ILT
41462010-09-27 Ian Lance Taylor <iant@google.com>
4147
4148 * generic-morestack.h: New file.
4149 * generic-morestack.c: New file.
4150 * generic-morestack-thread.c: New file.
4151 * config/i386/morestack.S: New file.
4152 * config/t-stack: New file.
4153 * config/i386/t-stack-i386: New file.
4154 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
4155 i386/t-stack-i386 to tmake_file.
4156
5b50fc0c
IS
41572010-09-21 Iain Sandoe <iains@gcc.gnu.org>
4158
4159 * Makefile.in (libgcc-extra-parts): Check for static archives and
4160 invoke ranlib after installing them.
4161 (gcc-extra-parts): Likewise.
4162 (install-leaf): Likewise.
4163
b93cf342
L
41642010-09-14 H.J. Lu <hongjiu.lu@intel.com>
4165
4166 * configure: Regenerated.
4167
996b42ef
KT
41682010-09-10 Kai Tietz <kai.tietz@onevision.com>
4169
b93cf342 4170 * configure: Regenerated.
996b42ef 4171
be1c764e
GP
41722010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
4173 Andrew Pinski <pinskia@gmail.com>
4174
1da9434b 4175 PR target/40959
be1c764e
GP
4176 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
4177
cc0ae0ca
L
41782010-09-06 H.J. Lu <hongjiu.lu@intel.com>
4179
4180 PR target/45524
4181 * configure: Regenerated.
4182
84f47d20
AS
41832010-09-06 Andreas Schwab <schwab@redhat.com>
4184
4185 * configure: Regenerate.
4186
4159fb8d
UB
41872010-09-03 Uros Bizjak <ubizjak@gmail.com>
4188
4189 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
4190 64bit targets.
4191 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
4192 for 64bit targets.
4193
0df8fcc8
UB
41942010-09-03 Uros Bizjak <ubizjak@gmail.com>
4195 Iain Sandoe <iains@gcc.gnu.org>
4196
4197 PR target/45476
4198 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
4199 LIB2FUNCS_EXCLUDE functions.
4200
3c39bca6
AK
42012010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4202
4203 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
4204 Include dfp.m4.
4205 * configure: Regenerate.
4206
d78552bd
UB
42072010-09-01 Uros Bizjak <ubizjak@gmail.com>
4208
4209 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
4210 i386/t-freebsd to tmake_file.
4211 * config/i386/t-freebsd: New file.
4212 * config/i386/libgcc-bsd.ver: New file.
4213
c5b79d4e
NF
42142010-07-23 Nathan Froyd <froydnj@codesourcery.com>
4215
4216 * config.host (powerpc*-eabispe*): Set tmake_file.
4217 (powerpc*-eabi*): Likewise.
4218 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
4219 crtbeginS, crtendS, crtbeginT.
4220
48b09a92
KH
42212010-06-12 Kazu Hirata <kazu@codesourcery.com>
4222
4223 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
4224 to tmake_file. Add crtfastmath.o to extra_parts.
4225 * config/mips/t-crtfm: New.
4226
a4389204
JS
42272010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
4228
4229 * config.host (sparc64-*-rtems*): New target.
4230
ed104137
RO
42312010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4232
4233 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
4234 assembler syntax.
4235
3f56ef8b
TS
42362010-04-15 Thomas Schwinge <tschwinge@gnu.org>
4237
4238 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
4239
8c200350
RO
42402010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4241
4242 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
4243 alpha-dec-osf5.0* support.
4244
80a61cb4 42452010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
c1b14424
RC
4246
4247 * config.host: Add lm32-*-rtems*.
4248
f128db92
RO
42492010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4250 Uros Bizjak <ubizjak@gmail.com>
4251
4252 PR target/39048
4253 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
4254 like other remaining 32-bit x86 OSes.
4255 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
4256 assembler syntax.
4257 * config/i386/libgcc-sol2.ver: New file.
4258 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
4259
368fabd5
JH
42602010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
4261
4262 PR c/43553
4263 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
4264 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
4265 is used and substitute set_use_emutls.
4266 * configure: Regenerated.
4267
15baf7f8
TG
42682010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
4269
4270 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
4271
7f5441df
RO
42722010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4273
4274 PR target/38085
4275 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
4276 MULTILIB_CFLAGS.
4277 ($(T)gcrt1.o): Likewise.
4278 ($(T)crt1.o): Likewise.
4279 ($(T)crti.o): Likewise.
4280 ($(T)crtn.o): Likewise.
4281
ef74edbd
RW
42822010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4283
4284 PR other/42980
4285 * Makefile.in (install): Use $(MAKE) string in rule, for
4286 parallel make.
4287
e7c914db
HPN
42882010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
4289
4290 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
4291 * config/mmix/t-mmix: New file.
4292 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
4293
1bcb71c4
JH
42942010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
4295
4296 PR java/41991
4297 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
4298 SHLIB_MAPFILES.
4299
e6e50811
AG
43002010-01-04 Anthony Green <green@moxielogic.com>
4301
4302 * config/moxie/crti.asm, config/moxie/crtn.asm,
4303 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
4304 config/moxie/t-moxie: New files.
4305 * config.host: Add t-moxie-softfp reference.
4306
ca8520ad
IS
43072009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
4308
4309 PR other/39888
4310 * config/t-slibgcc-darwin: Fix embedded rpaths for
4311 --enable-version-specific-runtime-libs, build extension stub
4312 libs exposing features available from current libgcc_s.
4313
aa4945c1
JB
43142009-11-11 Jon Beniston <jon@beniston.com>
4315
d78552bd
UB
4316 * config.host: Add lm32 targets.
4317 * config/lm32: New directory.
4318 * config/lm32/libgcc_lm32.h: New file.
4319 * config/lm32/_mulsi3.c: New file.
4320 * config/lm32/_udivmodsi4.c: New file.
4321 * config/lm32/_divsi3.c: New file.
4322 * config/lm32/_modsi3.c: New file.
4323 * config/lm32/_udivsi3.c: New file.
4324 * config/lm32/_umodsi3.c: New file.
4325 * config/lm32/_lshrsi3.S: New file.
4326 * config/lm32/_ashrsi3.S: New file.
4327 * config/lm32/_ashlsi3.S: New file.
4328 * config/lm32/crti.S: New file.
4329 * config/lm32/crtn.S: New file.
4330 * config/lm32/t-lm32: New file.
4331 * config/lm32/t-elf: New file.
4332 * config/lm32/t-uclinux: New file.
aa4945c1 4333
65a324b4
NC
43342009-10-26 Nick Clifton <nickc@redhat.com>
4335
4336 * config.host: Add support for RX target.
4337 * config/rx: New directory.
4338 * config/rx/rx-abi-functions.c: New file. Supplementary
4339 functions for libgcc to support the RX ABI.
4340 * config/rx/rx-abi.h: New file. Supplementary header file for
4341 libgcc RX ABI functions.
4342 * config/rx/t-rx: New file: Makefile fragment for building
4343 libgcc for the RX.
4344
dfb3b0e3
UB
43452009-10-09 Uros Bizjak <ubizjak@gmail.com>
4346
4347 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
4348 constraint of y0 to "g".
4349
81dd9fd7
AK
43502009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4351
4352 * config.host: Include the s390 makefile fragments.
4353 * config/s390/32/_fixdfdi.c: New file.
4354 * config/s390/32/_fixsfdi.c: New file.
4355 * config/s390/32/_fixtfdi.c: New file.
4356 * config/s390/32/_fixunsdfdi.c: New file.
4357 * config/s390/32/_fixunssfdi.c: New file.
4358 * config/s390/32/_fixunstfdi.c: New file.
4359 * config/s390/32/t-floattodi: New file.
4360 * config/s390/libgcc-glibc.ver: New file.
4361 * config/s390/t-crtstuff: New file.
4362 * config/s390/t-linux: New file.
4363 * config/s390/t-tpf: New file.
4364
df58e648
RW
43652009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4366
4367 * configure.ac (AC_PREREQ): Bump to 2.64.
4368
79052be3
KK
43692009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
4370
4371 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
4372
5213506e
RW
43732009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4374
4375 * configure: Regenerate.
4376
a9a25daa
DR
43772009-08-09 Douglas B Rupp <rupp@gnat.com>
4378
4379 * config.host (ia64-hp-*vms*): New target.
4380 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
4381 with ia64-hp-*vms*.
4382
6efbd53f
RW
43832009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4384
4385 * configure.ac: Add snippet for maintainer-mode.
4386 * configure: Regenerate.
4387 * Makefile.in (AUTOCONF, configure_deps): New variables.
4388 ($(srcdir)/configure)): New rule, active only with maintainer
4389 mode turned on.
4390
7acf4da6
DD
43912009-06-23 DJ Delorie <dj@redhat.com>
4392
4393 Add MeP port.
4394 * config.host: Add mep support.
4395
54f549af
KT
43962009-06-22 Kai Tietz <kai.tietz@onevision.com>
4397
34481f28 4398 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 4399 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
34481f28
UB
4400
4401 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
4402 for mingw targets.
54f549af
KT
4403 * config/i386/64/_multc3.c: Likewise.
4404 * config/i386/64/_powitf2.c: Likewise.
4405 * config/i386/64/eqtf2.c: Likewise.
4406 * config/i386/64/getf2.c: Likewise.
4407 * config/i386/64/letf2.c: Likewise.
4408 * config/i386/64/letf2.c: Likewise.
34481f28
UB
4409 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
4410 unsigned long long for x64 mingw targets.
4411 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
4412 (_FP_I_TYPE): Define as long long for x64 mingw target.
54f549af 4413
fea96e25
MR
44142009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
4415
4416 * config.host (vax-*-linux*): New.
4417
cceb575c
AG
44182009-05-31 Anthony Green <green@moxielogic.com>
4419
4420 * config.host: Add moxie support.
4421 * config/moxie/t-moxie: New file.
4422
e997fb9c
DB
44232009-05-29 David Billinghurst <billingd@gcc.gnu.org>
4424
4425 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 4426 t-softfp to tmake_file for i[34567]86-*-cygwin*.
e997fb9c 4427
532bfb0a
AJ
44282009-04-17 Aurelien Jarno <aurelien@aurel32.net>
4429
4430 * config.host: Add i386/${host_address}/t-fprules-softfp to
4431 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
4432
748086b7
JJ
44332009-04-09 Nick Clifton <nickc@redhat.com>
4434
4435 * config/ia64/tf-signs.c: Change copyright header to refer to
4436 version 3 of the GNU General Public License with version 3.1
4437 of the GCC Runtime Library Exception and to point readers at
4438 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
4439 web page.
4440 * config/i386/32/tf-signs.c: Likewise.
4441 * config/libbid/_addsub_dd.c: Likewise.
4442 * config/libbid/_addsub_sd.c: Likewise.
4443 * config/libbid/_addsub_td.c: Likewise.
4444 * config/libbid/_dd_to_df.c: Likewise.
4445 * config/libbid/_dd_to_di.c: Likewise.
4446 * config/libbid/_dd_to_sd.c: Likewise.
4447 * config/libbid/_dd_to_sf.c: Likewise.
4448 * config/libbid/_dd_to_si.c: Likewise.
4449 * config/libbid/_dd_to_td.c: Likewise.
4450 * config/libbid/_dd_to_tf.c: Likewise.
4451 * config/libbid/_dd_to_udi.c: Likewise.
4452 * config/libbid/_dd_to_usi.c: Likewise.
4453 * config/libbid/_dd_to_xf.c: Likewise.
4454 * config/libbid/_df_to_dd.c: Likewise.
4455 * config/libbid/_df_to_sd.c: Likewise.
4456 * config/libbid/_df_to_td.c: Likewise.
4457 * config/libbid/_di_to_dd.c: Likewise.
4458 * config/libbid/_di_to_sd.c: Likewise.
4459 * config/libbid/_di_to_td.c: Likewise.
4460 * config/libbid/_div_dd.c: Likewise.
4461 * config/libbid/_div_sd.c: Likewise.
4462 * config/libbid/_div_td.c: Likewise.
4463 * config/libbid/_eq_dd.c: Likewise.
4464 * config/libbid/_eq_sd.c: Likewise.
4465 * config/libbid/_eq_td.c: Likewise.
4466 * config/libbid/_ge_dd.c: Likewise.
4467 * config/libbid/_ge_sd.c: Likewise.
4468 * config/libbid/_ge_td.c: Likewise.
4469 * config/libbid/_gt_dd.c: Likewise.
4470 * config/libbid/_gt_sd.c: Likewise.
4471 * config/libbid/_gt_td.c: Likewise.
4472 * config/libbid/_isinfd128.c: Likewise.
4473 * config/libbid/_isinfd32.c: Likewise.
4474 * config/libbid/_isinfd64.c: Likewise.
4475 * config/libbid/_le_dd.c: Likewise.
4476 * config/libbid/_le_sd.c: Likewise.
4477 * config/libbid/_le_td.c: Likewise.
4478 * config/libbid/_lt_dd.c: Likewise.
4479 * config/libbid/_lt_sd.c: Likewise.
4480 * config/libbid/_lt_td.c: Likewise.
4481 * config/libbid/_mul_dd.c: Likewise.
4482 * config/libbid/_mul_sd.c: Likewise.
4483 * config/libbid/_mul_td.c: Likewise.
4484 * config/libbid/_ne_dd.c: Likewise.
4485 * config/libbid/_ne_sd.c: Likewise.
4486 * config/libbid/_ne_td.c: Likewise.
4487 * config/libbid/_sd_to_dd.c: Likewise.
4488 * config/libbid/_sd_to_df.c: Likewise.
4489 * config/libbid/_sd_to_di.c: Likewise.
4490 * config/libbid/_sd_to_sf.c: Likewise.
4491 * config/libbid/_sd_to_si.c: Likewise.
4492 * config/libbid/_sd_to_td.c: Likewise.
4493 * config/libbid/_sd_to_tf.c: Likewise.
4494 * config/libbid/_sd_to_udi.c: Likewise.
4495 * config/libbid/_sd_to_usi.c: Likewise.
4496 * config/libbid/_sd_to_xf.c: Likewise.
4497 * config/libbid/_sf_to_dd.c: Likewise.
4498 * config/libbid/_sf_to_sd.c: Likewise.
4499 * config/libbid/_sf_to_td.c: Likewise.
4500 * config/libbid/_si_to_dd.c: Likewise.
4501 * config/libbid/_si_to_sd.c: Likewise.
4502 * config/libbid/_si_to_td.c: Likewise.
4503 * config/libbid/_td_to_dd.c: Likewise.
4504 * config/libbid/_td_to_df.c: Likewise.
4505 * config/libbid/_td_to_di.c: Likewise.
4506 * config/libbid/_td_to_sd.c: Likewise.
4507 * config/libbid/_td_to_sf.c: Likewise.
4508 * config/libbid/_td_to_si.c: Likewise.
4509 * config/libbid/_td_to_tf.c: Likewise.
4510 * config/libbid/_td_to_udi.c: Likewise.
4511 * config/libbid/_td_to_usi.c: Likewise.
4512 * config/libbid/_td_to_xf.c: Likewise.
4513 * config/libbid/_tf_to_dd.c: Likewise.
4514 * config/libbid/_tf_to_sd.c: Likewise.
4515 * config/libbid/_tf_to_td.c: Likewise.
4516 * config/libbid/_udi_to_dd.c: Likewise.
4517 * config/libbid/_udi_to_sd.c: Likewise.
4518 * config/libbid/_udi_to_td.c: Likewise.
4519 * config/libbid/_unord_dd.c: Likewise.
4520 * config/libbid/_unord_sd.c: Likewise.
4521 * config/libbid/_unord_td.c: Likewise.
4522 * config/libbid/_usi_to_dd.c: Likewise.
4523 * config/libbid/_usi_to_sd.c: Likewise.
4524 * config/libbid/_usi_to_td.c: Likewise.
4525 * config/libbid/_xf_to_dd.c: Likewise.
4526 * config/libbid/_xf_to_sd.c: Likewise.
4527 * config/libbid/_xf_to_td.c: Likewise.
4528 * config/libbid/bid128.c: Likewise.
4529 * config/libbid/bid128_2_str.h: Likewise.
4530 * config/libbid/bid128_2_str_macros.h: Likewise.
4531 * config/libbid/bid128_2_str_tables.c: Likewise.
4532 * config/libbid/bid128_add.c: Likewise.
4533 * config/libbid/bid128_compare.c: Likewise.
4534 * config/libbid/bid128_div.c: Likewise.
4535 * config/libbid/bid128_fma.c: Likewise.
4536 * config/libbid/bid128_logb.c: Likewise.
4537 * config/libbid/bid128_minmax.c: Likewise.
4538 * config/libbid/bid128_mul.c: Likewise.
4539 * config/libbid/bid128_next.c: Likewise.
4540 * config/libbid/bid128_noncomp.c: Likewise.
4541 * config/libbid/bid128_quantize.c: Likewise.
4542 * config/libbid/bid128_rem.c: Likewise.
4543 * config/libbid/bid128_round_integral.c: Likewise.
4544 * config/libbid/bid128_scalb.c: Likewise.
4545 * config/libbid/bid128_sqrt.c: Likewise.
4546 * config/libbid/bid128_string.c: Likewise.
4547 * config/libbid/bid128_to_int16.c: Likewise.
4548 * config/libbid/bid128_to_int32.c: Likewise.
4549 * config/libbid/bid128_to_int64.c: Likewise.
4550 * config/libbid/bid128_to_int8.c: Likewise.
4551 * config/libbid/bid128_to_uint16.c: Likewise.
4552 * config/libbid/bid128_to_uint32.c: Likewise.
4553 * config/libbid/bid128_to_uint64.c: Likewise.
4554 * config/libbid/bid128_to_uint8.c: Likewise.
4555 * config/libbid/bid32_to_bid128.c: Likewise.
4556 * config/libbid/bid32_to_bid64.c: Likewise.
4557 * config/libbid/bid64_add.c: Likewise.
4558 * config/libbid/bid64_compare.c: Likewise.
4559 * config/libbid/bid64_div.c: Likewise.
4560 * config/libbid/bid64_fma.c: Likewise.
4561 * config/libbid/bid64_logb.c: Likewise.
4562 * config/libbid/bid64_minmax.c: Likewise.
4563 * config/libbid/bid64_mul.c: Likewise.
4564 * config/libbid/bid64_next.c: Likewise.
4565 * config/libbid/bid64_noncomp.c: Likewise.
4566 * config/libbid/bid64_quantize.c: Likewise.
4567 * config/libbid/bid64_rem.c: Likewise.
4568 * config/libbid/bid64_round_integral.c: Likewise.
4569 * config/libbid/bid64_scalb.c: Likewise.
4570 * config/libbid/bid64_sqrt.c: Likewise.
4571 * config/libbid/bid64_string.c: Likewise.
4572 * config/libbid/bid64_to_bid128.c: Likewise.
4573 * config/libbid/bid64_to_int16.c: Likewise.
4574 * config/libbid/bid64_to_int32.c: Likewise.
4575 * config/libbid/bid64_to_int64.c: Likewise.
4576 * config/libbid/bid64_to_int8.c: Likewise.
4577 * config/libbid/bid64_to_uint16.c: Likewise.
4578 * config/libbid/bid64_to_uint32.c: Likewise.
4579 * config/libbid/bid64_to_uint64.c: Likewise.
4580 * config/libbid/bid64_to_uint8.c: Likewise.
4581 * config/libbid/bid_b2d.h: Likewise.
4582 * config/libbid/bid_binarydecimal.c: Likewise.
4583 * config/libbid/bid_conf.h: Likewise.
4584 * config/libbid/bid_convert_data.c: Likewise.
4585 * config/libbid/bid_decimal_data.c: Likewise.
4586 * config/libbid/bid_decimal_globals.c: Likewise.
4587 * config/libbid/bid_div_macros.h: Likewise.
4588 * config/libbid/bid_dpd.c: Likewise.
4589 * config/libbid/bid_flag_operations.c: Likewise.
4590 * config/libbid/bid_from_int.c: Likewise.
4591 * config/libbid/bid_functions.h: Likewise.
4592 * config/libbid/bid_gcc_intrinsics.h: Likewise.
4593 * config/libbid/bid_inline_add.h: Likewise.
4594 * config/libbid/bid_internal.h: Likewise.
4595 * config/libbid/bid_round.c: Likewise.
4596 * config/libbid/bid_sqrt_macros.h: Likewise.
4597
45982009-04-09 Jakub Jelinek <jakub@redhat.com>
4599
4600 * Makefile.in: Change copyright header to refer to version
4601 3 of the GNU General Public License and to point readers at the
4602 COPYING3 file and the FSF's license web page.
4603 * config.host: Likewise.
4604
633dd061
AM
46052009-04-07 Alan Modra <amodra@bigpond.net.au>
4606
4607 * config.host: Reorder and merge to match config.gcc change.
4608
457d1d00
AM
46092009-04-03 Alan Modra <amodra@bigpond.net.au>
4610
4611 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
4612
52c0e446
JM
46132009-03-28 Joseph Myers <joseph@codesourcery.com>
4614
4615 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
4616 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
4617 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
4618 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
4619
ba181049
UB
46202009-02-12 Uros Bizjak <ubizjak@gmail.com>
4621
4622 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
4623 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
4624
c252db20
L
46252009-02-12 H.J. Lu <hongjiu.lu@intel.com>
4626
ba181049
UB
4627 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
4628 ia64/t-softfp-compat to tmake_file.
c252db20
L
4629
4630 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
4631
4632 * config/ia64/__divxf3.asm: New.
4633 * config/ia64/_fixtfdi.asm: Likewise.
4634 * config/ia64/_fixunstfdi.asm: Likewise.
4635 * config/ia64/_floatditf.asm: Likewise.
4636 * config/ia64/t-fprules-softfp: Likewise.
4637 * config/ia64/t-softfp-compat: Likewise.
4638 * config/ia64/tf-signs.c: Likewise.
4639
c60535f9
BE
46402009-01-18 Ben Elliston <bje@au.ibm.com>
4641
4642 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
4643
ce16861e
BE
46442009-01-16 Ben Elliston <bje@au.ibm.com>
4645
4646 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
4647 to tmake_file.
4648
bcf4713b
BE
46492009-01-13 Ben Elliston <bje@au.ibm.com>
4650
4651 * config/t-softfp: New file.
4652 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
4653 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
4654
2042cb04
JS
46552009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
4656
4657 * config.host: Add m32r*-*-rtems*.
4658
541ed00e
JS
46592008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
4660
4661 * config.host: Add m32c*-*-rtems*.
4662
19523300
RO
46632008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4664
4665 PR bootstrap/33100
4666 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
4667 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
4668 * configure: Regenerate.
4669 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
4670 tmake_file here from gcc/config.gcc.
4671 Move extra_parts here from gcc/config.gcc.
4672 * config/i386/t-sol2: Move here from gcc/config/i386.
4673 Use gcc_srcdir instead of srcdir.
4674
0a4a51c7
AN
46752008-11-18 Adam Nemet <anemet@caviumnetworks.com>
4676
4677 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
4678 case.
4679
2a761e46
TS
46802008-11-09 Thomas Schwinge <tschwinge@gnu.org>
4681
4682 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
4683
c0451df7
TS
46842008-10-08 Thomas Schwinge <tschwinge@gnu.org>
4685
4686 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
4687
358da97e
HS
46882008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
4689
4690 Add picoChip port.
4691 * config.host: Add picochip-*-*.
4692
c660f132
BW
46932008-08-06 Bob Wilson <bob.wilson@acm.org>
4694
4695 * config.host: Match more processor names for Xtensa.
4696
d1349557
L
46972008-07-08 H.J. Lu <hongjiu.lu@intel.com>
4698
4699 * config/i386/64/t-softfp-compat: Update comments.
4700
dd7b73c0
L
47012008-07-07 H.J. Lu <hongjiu.lu@intel.com>
4702
4703 * config/i386/64/_divtc3-compat.c: Moved to ...
4704 * config/i386/64/_divtc3.c: Here.
4705
4706 * config/i386/64/_multc3-compat.c: Moved to ...
4707 * config/i386/64/_multc3.c: Here.
4708
4709 * config/i386/64/_powitf2-compat.c: Moved to ...
4710 * config/i386/64/_powitf2.c: Here.
4711
4712 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
4713 .c suffix instead of -compat.c.
4714
6e1fab3d
UB
47152008-07-05 Uros Bizjak <ubizjak@gmail.com>
4716
4717 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
4718 (_FP_MUL_MEAT_D): Ditto.
4719 (_FP_DIV_MEAT_S): Ditto.
4720 (_FP_DIV_MEAT_D): Ditto.
4721
f92518d7
RS
47222008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
4723
4724 * Makefile.in: Add support for __sync_* libgcc functions.
4725
d0aede14
L
47262008-07-03 H.J. Lu <hongjiu.lu@intel.com>
4727
4728 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
4729
c174f11c
L
47302008-07-02 H.J. Lu <hongjiu.lu@intel.com>
4731
4732 PR boostrap/36702
4733 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
4734 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
4735
4736 * config/i386/64/t-fprules-softfp: Moved to ...
4737 * config/i386/64/t-softfp-compat: This. New.
4738
5f464fa2
UB
47392008-07-02 Uros Bizjak <ubizjak@gmail.com>
4740
4741 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
4742 Initialize f with 0.0.
4743
ff473280
L
47442008-07-02 H.J. Lu <hongjiu.lu@intel.com>
4745
4746 PR target/36669
4747 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
4748
4749 * config/i386/64/_divtc3-compat.c: New.
4750 * config/i386/64/_multc3-compat.c: Likewise.
4751 * config/i386/64/_powitf2-compat.c: Likewise.
4752 * config/i386/64/eqtf2.c: Likewise.
4753 * config/i386/64/getf2.c: Likewise.
4754 * config/i386/64/letf2.c: Likewise.
4755 * config/i386/64/t-fprules-softfp: Likewise.
4756
47572008-07-02 H.J. Lu <hongjiu.lu@intel.com>
4758
4759 * config.host: Add i386/${host_address}/t-fprules-softfp to
4760 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
dfb3b0e3 4761 i[34567]86-*-linux*, x86_64-*-linux*.
ff473280
L
4762
4763 * configure.ac: Set host_address to 64 or 32 for x86.
4764 * configure: Regenerated.
4765
4766 * Makefile.in (config.status): Also depend on
4767 $(srcdir)/config.host.
4768
4769 * config/i386/32/t-fprules-softfp: New.
4770 * config/i386/32/tf-signs.c: Likewise.
4771
4772 * config/i386/64/sfp-machine.h: New. Moved from gcc.
4773
47742008-07-02 H.J. Lu <hongjiu.lu@intel.com>
4775 Uros Bizjak <ubizjak@gmail.com>
4776
4777 * config/i386/32/sfp-machine.h: New.
4778
30551d99
NF
47792008-06-26 Nathan Froyd <froydnj@codesourcery.com>
4780
4781 * config/rs6000/t-ppccomm: Remove rules that conflict with
4782 auto-generated rules.
4783
18c04407
RW
47842008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4785
4786 * configure.ac: sinclude override.m4.
4787 * configure: Regenerate.
4788
10fbe77a
BRF
47892008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
4790
4791 * configure: Regenerate.
4792
bc6d4c3f
JM
47932008-06-10 Joseph Myers <joseph@codesourcery.com>
4794
4795 * Makefile.in (DECNUMINC): Remove
4796 -I$(MULTIBUILDTOP)../../libdecnumber.
4797 * gstdint.h: New.
4798
cd985f66
JM
47992008-06-07 Joseph Myers <joseph@codesourcery.com>
4800
4801 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
4802 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
4803 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
4804 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
4805 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
4806 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
4807 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
4808 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
4809 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
4810 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
4811 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
4812 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
4813 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
4814 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
4815
93fea8d3
AL
48162008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
4817
4818 * config.host (sh2[lbe]*-*-linux*): Allow target.
4819
18724e30
NF
48202008-04-30 Nathan Froyd <froydnj@codesourcery.com>
4821
4822 * config/rs6000/t-ppccomm: Add build rules for new files.
4823 (LIB2ADD_ST): New variable.
4824
47583040
AH
48252008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
4826
4827 PR target/34210
4828 PR target/35508
4829 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
4830 * config/t-avr: New file. Build 16bit libgcc functions.
4831
cf8e67fe
JJ
48322008-03-02 Jakub Jelinek <jakub@redhat.com>
4833
4834 PR target/35401
4835 * config/t-slibgcc-darwin: Make install-leaf dependent on
4836 install-darwin-libgcc-stubs instead of install.
4837
8d8da227
JM
48382008-01-25 Joseph Myers <joseph@codesourcery.com>
4839
4840 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
4841 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
4842 sh-*-rtemscoff*): Remove cases.
4843
edbf8b16
RS
48442007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
4845
4846 * Makefile.in (all): Use install-leaf rather than install.
4847 (install): Split most of the rule into...
4848 (install-leaf): ...this new one.
4849
89deeaff
EK
48502007-12-19 Etsushi Kato <ek.kato@gmail.com>
4851 Paolo Bonzini <bonzini@gnu.org>
4852
4853 PR target/30572
5f464fa2
UB
4854 * Makefile.in: Use @shlib_slibdir@ substitution to get
4855 correct install name on darwin.
89deeaff 4856 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
dfb3b0e3 4857
4081d704
HPN
48582007-12-15 Hans-Peter Nilsson <hp@axis.com>
4859
4860 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
4861 cris-*-elf and cris-*-none.
4862 (crisv32-*-linux*): Similar, as cris-*-linux*.
4863
f43e89a3
RIL
48642007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
4865
4866 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
4867
b4e9c2c6
L
48682007-10-27 H.J. Lu <hongjiu.lu@intel.com>
4869
4870 PR regression/33926
4871 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
4872 * configure: Regenerated.
4873
b2a00c89
L
48742007-09-27 H.J. Lu <hongjiu.lu@intel.com>
4875
4876 * Makefile.in (dfp-filenames): Replace decimal_globals,
4877 decimal_data, binarydecimal and convert_data with
4878 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
4879 and bid_convert_data, respectively.
4880
8d2a9e0e
CF
48812007-09-17 Chao-ying Fu <fu@mips.com>
4882 Nigel Stephens <nigel@mips.com>
4883
4884 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
4885 * Makefile.in (fixed_point): Define.
4886 Check if fixed_point is yes to build support functions.
4887 * configure.ac: Check for fixed_point support.
4888 * configure: Regenerated.
4889 * gen-fixed.sh: New file to generate lists of fixed-point labels,
4890 funcs, modes, from, to.
4891
2b53935d
JJ
48922007-09-11 Janis Johnson <janis187@us.ibm.com
4893
4894 * Makefile.in (dfp-filenames): Add bid128_noncomp.
4895
2533577f
JJ
48962007-09-10 Janis Johnson <janis187@us.ibm.com>
4897
4898 * Makefile.in (dfp-filenames): Remove decUtility, add
4899 decDouble, decPacked, decQuad, decSingle.
4900
3ae3dbd6
HK
49012007-08-27 Hans Kester <hans.kester@ellips.nl>
4902
4903 * config.host : Add x86_64-elf target.
4904
22867d02
L
49052007-07-06 H.J. Lu <hongjiu.lu@intel.com>
4906
4907 * configure.ac (set_have_cc_tls): Add a missing =.
4908 * configure: Regenerated.
4909
6f461e76
L
49102007-07-06 H.J. Lu <hongjiu.lu@intel.com>
4911
4912 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
4913 and x86_64-*-linux*.
4914
4915 * config/t-tls: New file.
4916
dfb3b0e3 4917 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6f461e76
L
4918
4919 * configure.ac: Include ../config/enable.m4 and
4920 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
4921 supports TLS and substitute set_have_cc_tls.
4922 * configure: Regenerated.
4923
200359e8
L
49242007-07-04 H.J. Lu <hongjiu.lu@intel.com>
4925
4926 * Makefile.in: Use libbid for DFP when BID is enabled.
4927
76f5e200
DS
49282007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
4929
4930 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
dfb3b0e3 4931 extra_parts. Add config/i386/t-cygming to tmake_file.
76f5e200
DS
4932 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
4933
9bd196f0 49342007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
200359e8 4935 Danny Smith <dannysmith@users.sourceforge.net>
9bd196f0
ZM
4936
4937 PR target/29498
4938 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
4939 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
4940 * config/i386/t-crtfm: Compile crtfastmath.o with
4941 -minline-all-stringops.
4942
1910440e
RS
49432007-05-10 Richard Sandiford <richard@codesourcery.com>
4944
4945 * config.host (sparc-wrs-vxworks): New target.
4946
7d33c31d
KH
49472007-04-14 Kazu Hirata <kazu@codesourcery.com>
4948
4949 * config.host: Recognize fido.
4950
96fccd0d
JJ
49512007-04-04 Janis Johnson <janis187@us.ibm.com>
4952
4953 * configure: Check host, not target, for decimal float support.
4954
577565f9
UB
49552007-04-03 Uros Bizjak <ubizjak@gmail.com>
4956
4957 * config/i386/t-crtpc: New file.
4958 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5f464fa2 4959 (x86_64-*-linux*): Ditto.
577565f9 4960
ccf8e764
RH
49612007-02-30 Kai Tietz <kai.tietz@onevision.com>
4962
4963 * config.host (x86_64-*-mingw*): New target.
4964
79b87c74
MM
49652007-03-23 Michael Meissner <michael.meissner@amd.com>
4966 H.J. Lu <hongjiu.lu@intel.com>
4967
4968 * Makefile.in (enable_decimal_float): New.
4969 (DECNUMINC): Add
4970 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
4971 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
4972 (decbits-filenames): This.
4973 (decbits-objects): New.
4974 (libgcc-objects): Add $(decbits-objects).
4975
4976 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
4977 Substitute enable_decimal_float.
4978 * configure: Regenerated.
4979
8fce4e31
HPN
49802007-03-19 Hans-Peter Nilsson <hp@axis.com>
4981
4982 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
4983
e8bb4597
BM
49842007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
4985
4986 * Makefile.in (install-info): New dummy target.
4987
344189f9
BS
49882007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
4989
4990 * config.host (bfin*-linux-uclibc*): Set extra_parts.
4991
ac84c172
BM
49922007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
4993
4994 * Makefile.in: Add install-html and install-pdf dummy
4995 targets.
4996
cd5c2357
RS
49972007-02-05 Roger Sayle <roger@eyesopen.com>
4998 Daniel Jacobowitz <dan@codesourcery.com>
4999
5000 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
5001 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
5002 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
5003
d9a66f98
JJ
50042007-01-29 Janis Johnson <janis187@us.ibm.com>
5005
5006 * Makefile.in (dec-filenames): Add decExcept.
5007
9891ec5f
DJ
50082007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
5009
5010 PR bootstrap/30469
5011 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
5012 -fprofile-use.
5013
d6efbf5a
DJ
50142007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
5015
5016 * configure.ac: Add --enable-version-specific-runtime-libs.
5017 Correct $slibdir default.
5018 * configure: Regenerated.
5019
17caeff2
JM
50202007-01-23 Joseph Myers <joseph@codesourcery.com>
5021
5022 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
5023
5ea41e3a
AP
50242007-01-21 Andrew Pinski <pinskia@gmail.com>
5025
5026 PR target/30519
5027 * config.host (alpha*-*-linux*): Set extra_parts.
5028
26900826
KK
50292007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
5030
5031 * config/sh/t-linux: New.
5032 * config.host (sh*-*-linux*): Set tmake_file.
5033
97af925b
DJ
50342007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
5035
5036 * Makefile.in (install): Handle multilibs.
5037
b0088af7
BM
50382007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
5039
5040 * Makefile.in: Added .PHONY entry for documentation targets.
5041
e0a9456a
BM
50422007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
5043
5044 * Makefile.in: Add empty info, html, dvi, pdf targets.
5045
7fd453b4
MS
50462007-01-04 Mike Stump <mrs@apple.com>
5047
5048 * Makefile.in (MAKEINFO): Remove.
5049 (PERL): Likewise.
5050
14e8fc8b
PB
50512007-01-04 Paolo Bonzini <bonzini@gnu.org>
5052
5053 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
5054 * configure: Regenerate.
5055 * Makefile.in (host_subdir): Substitute it.
dfb3b0e3 5056 (gcc_objdir): Use it.
14e8fc8b 5057
1555beba
DJ
50582007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
5059
5060 * config.host (ia64*-*-linux*): Set tmake_file.
5061
79e6eaeb
DJ
50622007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
5063
5064 * Makefile.in (version): Define.
5065
fa958513
DJ
50662007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
5067 Paolo Bonzini <bonzini@gnu.org>
5068
5069 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
5070 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
5071 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
5072 config/sparc/t-crtfm, config/t-slibgcc-darwin,
5073 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
5074 shared-object.mk, siditi-object.mk, static-object.mk: New files.
5075 * configure: Generated.