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