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