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