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