]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
re PR ipa/59918 (ICE in record_target_from_binfo, at ipa-devirt.c:693)
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
bbf391db
AK
12014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2
3 * config.host: Include t-floattodi also for s390x.
4 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
5 * config/s390/32/_fixsfdi.c: Likewise.
6 * config/s390/32/_fixtfdi.c: Likewise.
7 * config/s390/32/_fixunsdfdi.c: Likewise.
8 * config/s390/32/_fixunssfdi.c: Likewise.
9 * config/s390/32/_fixunstfdi.c: Likewise.
10
91da0481
RO
112014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12
13 PR target/59788
14 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
15 (install-libgcc-unwind-map-forbuild): New target.
16 (all): Depend on install-libgcc-unwind-map-forbuild.
17 (install-libgcc-unwind-map): New target.
18 (install): Depend on install-libgcc-unwind-map.
19
02b67731
SL
202014-02-02 Sandra Loosemore <sandra@codesourcery.com>
21
22 * config/nios2/crti.S (_init): Initialize GOT pointer from
23 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
24
1ea0a651
RS
252014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
26
27 * configure.ac: Check __mips64 when setting host_address.
28 * configure: Regenerate.
29 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
30 mips/t-mips64 and t-softfp.
31 (mips*-*-linux*): Don't add mips/t-tpbit.
32 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
33 (DPBIT, DPBIT_CFLAGS): Delete.
34 * config/mips/sfp-machine.h: New file.
35 * config/mips/t-mips64: Likewise.
36 * config/mips/t-softfp-tf: Likewise.
37 * config/mips/t-tpbit: Delete.
38
f32b0061
MS
392014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
40
41 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
42 as long long.
43
a5420aa4
WL
442014-01-25 Walter Lee <walt@tilera.com>
45
46 * config/tilepro/atomic.c: Include tconfig.h. Don't include
47 config.h or system.h.
48 (bool) Define.
49
24534912
WL
502014-01-25 Walter Lee <walt@tilera.com>
51
52 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
53 (post_atomic_barrier): Ditto.
54 (__fetch_and_do): New macro.
55 (__atomic_fetch_and_do): Use __fetch_and_do.
56 (__sync_fetch_and_do): New macro.
57 (__sync_fetch_and_add_4): New function.
58 (__sync_fetch_and_sub_4): New function.
59 (__sync_fetch_and_or_4): New function.
60 (__sync_fetch_and_and_4): New function.
61 (__sync_fetch_and_xor_4): New function.
62 (__sync_fetch_and_nand_4): New function.
63 (__sync_fetch_and_add_8): New function.
64 (__sync_fetch_and_sub_8): New function.
65 (__sync_fetch_and_or_8): New function.
66 (__sync_fetch_and_and_8): New function.
67 (__sync_fetch_and_xor_8): New function.
68 (__sync_fetch_and_nand_8): New function.
69 (__do_and_fetch): New macro.
70 (__atomic_do_and_fetch): Use __do_and_fetch.
71 (__sync_do_and_fetch): New macro.
72 (__sync_add_and_fetch_4): New function.
73 (__sync_sub_and_fetch_4): New function.
74 (__sync_or_and_fetch_4): New function.
75 (__sync_and_and_fetch_4): New function.
76 (__sync_xor_and_fetch_4): New function.
77 (__sync_nand_and_fetch_4): New function.
78 (__sync_add_and_fetch_8): New function.
79 (__sync_sub_and_fetch_8): New function.
80 (__sync_or_and_fetch_8): New function.
81 (__sync_and_and_fetch_8): New function.
82 (__sync_xor_and_fetch_8): New function.
83 (__sync_nand_and_fetch_8): New function.
84 (__sync_exchange_methods): New macro.
85 (__sync_val_compare_and_swap_4): New function.
86 (__sync_bool_compare_and_swap_4): New function.
87 (__sync_lock_test_and_test_4): New function.
88 (__sync_val_compare_and_swap_8): New function.
89 (__sync_bool_compare_and_swap_8): New function.
90 (__sync_lock_test_and_test_8): New function.
91 (__subword_cmpxchg_body): New macro.
92 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
93 (__atomic_compare_exchange_2): Ditto.
94 (__sync_subword_cmpxchg): New macro.
95 (__sync_val_compare_and_swap_1): New function.
96 (__sync_bool_compare_and_swap_1): New function.
97 (__sync_val_compare_and_swap_2): New function.
98 (__sync_bool_compare_and_swap_2): New function.
99 (__atomic_subword): Rename to ...
100 (__subword): ... New name.
101 (__atomic_subword_fetch): Use __subword.
102 (__sync_subword_fetch): New macro.
103 (__sync_fetch_and_add_1): New function.
104 (__sync_fetch_and_sub_1): New function.
105 (__sync_fetch_and_or_1): New function.
106 (__sync_fetch_and_and_1): New function.
107 (__sync_fetch_and_xor_1): New function.
108 (__sync_fetch_and_nand_1): New function.
109 (__sync_fetch_and_add_2): New function.
110 (__sync_fetch_and_sub_2): New function.
111 (__sync_fetch_and_or_2): New function.
112 (__sync_fetch_and_and_2): New function.
113 (__sync_fetch_and_xor_2): New function.
114 (__sync_fetch_and_nand_2): New function.
115 (__sync_add_and_fetch_1): New function.
116 (__sync_sub_and_fetch_1): New function.
117 (__sync_or_and_fetch_1): New function.
118 (__sync_and_and_fetch_1): New function.
119 (__sync_xor_and_fetch_1): New function.
120 (__sync_nand_and_fetch_1): New function.
121 (__sync_add_and_fetch_2): New function.
122 (__sync_sub_and_fetch_2): New function.
123 (__sync_or_and_fetch_2): New function.
124 (__sync_and_and_fetch_2): New function.
125 (__sync_xor_and_fetch_2): New function.
126 (__sync_nand_and_fetch_2): New function.
127 (__atomic_subword_lock): Use __subword.
128 (__sync_subword_lock): New macro.
129 (__sync_lock_test_and_set_1): New function.
130 (__sync_lock_test_and_set_2): New function.
131
4d6d3bc5
WL
1322014-01-25 Walter Lee <walt@tilera.com>
133
134 * config/tilepro/atomic.c (BIT_OFFSET): Define.
135 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
136 (__atomic_subword): Ditto.
137
cbd9890e
WL
1382014-01-25 Walter Lee <walt@tilera.com>
139
140 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
141 a prefix op argument.
142 (__atomic_nand_fetch_4): Add prefix op.
143 (__atomic_nand_fetch_8): Ditto.
144
8fc36b15 1452014-01-21 Baruch Siach <barch@tkos.co.il>
800d8bd5
BS
146
147 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
148
46dd1242
L
1492014-01-09 Rong Xu <xur@google.com>
150
151 * libgcov-driver.c (this_prg): make it local to save
152 bss space.
153 (gcov_exit_compute_summary): Ditto.
154 (gcov_exit_merge_gcda): Ditto.
155 (gcov_exit_merge_summary): Ditto.
156 (gcov_exit_dump_gcov): Ditto.
157
40d6b753
RX
1582014-01-08 Rong Xu <xur@google.com>
159
160 * libgcov-driver.c: Use libgcov.h.
161 (buffer_fn_data): Use xmalloc instead of malloc.
162 (gcov_exit_merge_gcda): Ditto.
163 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
164 * libgcov.h: New common header files for libgcov-*.h.
165 * libgcov-interface.c: Use libgcov.h
166 * libgcov-merge.c: Ditto.
167 * libgcov-profiler.c: Ditto.
168 * Makefile.in: Add dependence to libgcov.h
169
a02e7bdd
JM
1702014-01-02 Joseph Myers <joseph@codesourcery.com>
171
172 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
173 case of small numerator and finite nonzero result.
174
ac1dca3c
RS
1752014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
176
177 Update copyright years
178
f9030485
RS
1792014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
180
181 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
182 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
183 config/arc/dp-hack.h, config/arc/fp-hack.h,
184 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
185 config/arc/ieee-754/arc600-dsp/divdf3.S,
186 config/arc/ieee-754/arc600-dsp/divsf3.S,
187 config/arc/ieee-754/arc600-dsp/muldf3.S,
188 config/arc/ieee-754/arc600-dsp/mulsf3.S,
189 config/arc/ieee-754/arc600-mul64/divdf3.S,
190 config/arc/ieee-754/arc600-mul64/divsf3.S,
191 config/arc/ieee-754/arc600-mul64/muldf3.S,
192 config/arc/ieee-754/arc600-mul64/mulsf3.S,
193 config/arc/ieee-754/arc600/divsf3.S,
194 config/arc/ieee-754/arc600/mulsf3.S,
195 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
196 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
197 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
198 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
199 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
200 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
201 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
202 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
203 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
204 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
205 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
206 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
207 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
208 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
209 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
210 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
211 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
212 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
213 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
214 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
215 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
216 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
217 vtv_start_preinit.c: Use the standard form for the copyright notice.
218
e430824f
CLT
2192013-12-31 Sandra Loosemore <sandra@codesourcery.com>
220 Chung-Lin Tang <cltang@codesourcery.com>
221 Based on patches from Altera Corporation
222
223 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
224 * config/nios2/lib2-nios2.h: New file.
225 * config/nios2/lib2-divmod-hi.c: New file.
226 * config/nios2/linux-unwind.h: New file.
227 * config/nios2/lib2-divmod.c: New file.
228 * config/nios2/linux-atomic.c: New file.
229 * config/nios2/t-nios2: New file.
230 * config/nios2/crti.asm: New file.
231 * config/nios2/t-linux: New file.
232 * config/nios2/lib2-divtable.c: New file.
233 * config/nios2/lib2-mul.c: New file.
234 * config/nios2/tramp.c: New file.
235 * config/nios2/crtn.asm: New file.
236
1879e97f
UB
2372013-12-26 Uros Bizjak <ubizjak@gmail.com>
238
239 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
240 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
241 from cpuid.h to check vendor signatures.
242
f4a4bdbb
GG
2432013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
244
245 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
246 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
247 (get_amd_cpu): Likewise.
248
8d2ae544
L
2492013-12-25 H.J. Lu <hongjiu.lu@intel.com>
250
251 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
252 Haswell.
253
74924838
ASJ
2542013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
255 H.J. Lu <hongjiu.lu@intel.com>
256
0bb52f25
L
257 PR target/59422
258 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
74924838
ASJ
259 and AMD_JAGUAR.
260 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
261 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
262 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
263 FEATURE_XOP and FEATURE_FMA.
264 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
265 AMDFAM15H_BDVER3.
266 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
0bb52f25 267 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
74924838
ASJ
268 FEATURE_FMA4 and FEATURE_XOP.
269
d3c11974
L
2702013-12-23 H.J. Lu <hongjiu.lu@intel.com>
271
272 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
273 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
274 (get_intel_cpu): Updated.
275
064c4ff2
ZC
2762013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
277
278 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
279
8b02e720
UB
2802013-12-09 Uros Bizjak <ubizjak@gmail.com>
281
282 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1f71a3c3 283 instructions when __SSE_MATH__ is defined.
8b02e720 284
3fa2ccb4
RC
2852013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
286
287 * config.host (microblaze-*-rtems*): New.
288
ecd78fc9
KV
2892013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
290
291 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
292 architectures that do not have hardware divide instruction.
293 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
294
b21fbbd2
RS
2952013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
296
297 * longlong.h: Delete (moved to include/).
298
b03fb8c9
AZ
2992013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
300
301 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
302 of normal number and qNaN to not raise an inexact exception.
303
3c716922
UB
3042013-11-28 Uros Bizjak <ubizjak@gmail.com>
305
306 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
307
3082013-11-28 Matthew Leach <matthew.leach@arm.com>
cceeb9a9
ML
309
310 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
311 for correct opcodes on BE.
312
a3458d22
UB
3132013-11-27 Uros Bizjak <ubizjak@gmail.com>
314
315 * soft-fp/op-4.h: Update from glibc.
316
30b8f78b
KV
3172013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
318
319 * libgcc2.c (__udivmoddi4): Define new implementation when
320 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
321 divide instructions.
322
82552a29
OE
3232013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
324
325 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
326
80e87457
RO
3272013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
328
329 * config/t-softfp (soft-fp-objects-base): New variable.
330 (soft-fp-objects): Use it.
331
44178879
DE
3322013-11-23 David Edelson <dje.gcc@gmail.com>
333 Andrew Dixie <andrewd@gentrack.com>
334
335 PR target/33704
336 * config/rs6000/aixinitfini.c: New file.
337 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
338 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
339 symbols.
340
e5287671
YR
3412013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
342
a3458d22 343 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
e5287671 344
867c8b03
JH
3452013-11-18 Jan Hubicka <jh@suse.cz>
346
7f369373
JH
347 * libgcov-driver.c (run_accounted): Make global level static.
348 (gcov_exit_merge_summary): Silence warning; do not clear
349 run_accounted here.
350 (gcov_exit): Clear it here.
351
1d0b3334
JH
352 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
353 run_accounted.
354
867c8b03
JH
355 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
356 (all_prg, crc32): Remove static vars.
357 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
358 all_prg.
359 (gcov_exit_merge_gcda): Add crc32 parameter.
360 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
361 do not account run if it was already accounted.
362 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
363 (gcov_exit): Initialize all_prg; update.
364
66204992
AS
3652013-11-15 Andreas Schwab <schwab@linux-m68k.org>
366
367 * configure: Regenerate.
368
b54214fe
UW
3692013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
370 Alan Modra <amodra@gmail.com>
371
372 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
373 (frob_update_context): Use it.
374
3752013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
376 Alan Modra <amodra@gmail.com>
377
378 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
379 (trampoline_initial): Provide ELFv2 variant.
380 (__trampoline_setup): Likewise.
381
382 * config/rs6000/linux-unwind.h (frob_update_context): Do not
383 check for AIX indirect function call sequence if _CALL_ELF == 2.
384
3852013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
386 Alan Modra <amodra@gmail.com>
387
388 * config/rs6000/linux-unwind.h (get_regs): Do not support
389 old kernel versions if _CALL_ELF == 2.
390 (frob_update_context): Do not support PLT stub variants only
391 generated by old linkers if _CALL_ELF == 2.
392
13e0981a
UW
3932013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
394 Alan Modra <amodra@gmail.com>
395
396 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
397 location of CR save area for 64-bit little-endian systems.
398
1a80085d
EB
3992013-11-11 Eric Botcazou <ebotcazou@adacore.com>
400
401 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
402 in tmake_file.
403 * config/arm/t-vxworks: Delete.
404
cabeea52
KT
4052013-11-10 Kai Tietz <ktietz@redhat.com>
406
407 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
408 Increment load-count on use of LIBGCC_SONAME DLL.
409 (hmod_libgcc): New static variable to hold handle of
410 LIBGCC_SONAME DLL.
411 (__gcc_deregister_frame): Decrement load-count of
412 LIBGCC_SONAME DLL.
413
ac088ba1
BRF
4142013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
415
416 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
417 availability.
418 * configure: Regenerate
419
d59a8fcc
UB
4202013-11-07 Uros Bizjak <ubizjak@gmail.com>
421
422 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
423 FP_EX_DENORM. Store result to volatile location after SSE division
424 to close interrupt window. Remove unneeded fwait after x87
425 division since interrupt window will be closed by emitted fstp.
9de84e84 426 Rewrite FP_EX_INEXACT handling.
d59a8fcc 427
9954c743
JM
4282013-11-06 Joseph Myers <joseph@codesourcery.com>
429
430 * soft-fp/README: Update.
431 * soft-fp/adddf3.c: Update from glibc.
432 * soft-fp/addsf3.c: Likewise.
433 * soft-fp/addtf3.c: Likewise.
434 * soft-fp/divdf3.c: Likewise.
435 * soft-fp/divsf3.c: Likewise.
436 * soft-fp/divtf3.c: Likewise.
437 * soft-fp/double.h: Likewise.
438 * soft-fp/eqdf2.c: Likewise.
439 * soft-fp/eqsf2.c: Likewise.
440 * soft-fp/eqtf2.c: Likewise.
441 * soft-fp/extenddftf2.c: Likewise.
442 * soft-fp/extended.h: Likewise.
443 * soft-fp/extendsfdf2.c: Likewise.
444 * soft-fp/extendsftf2.c: Likewise.
445 * soft-fp/extendxftf2.c: Likewise.
446 * soft-fp/fixdfdi.c: Likewise.
447 * soft-fp/fixdfsi.c: Likewise.
448 * soft-fp/fixdfti.c: Likewise.
449 * soft-fp/fixsfdi.c: Likewise.
450 * soft-fp/fixsfsi.c: Likewise.
451 * soft-fp/fixsfti.c: Likewise.
452 * soft-fp/fixtfdi.c: Likewise.
453 * soft-fp/fixtfsi.c: Likewise.
454 * soft-fp/fixtfti.c: Likewise.
455 * soft-fp/fixunsdfdi.c: Likewise.
456 * soft-fp/fixunsdfsi.c: Likewise.
457 * soft-fp/fixunsdfti.c: Likewise.
458 * soft-fp/fixunssfdi.c: Likewise.
459 * soft-fp/fixunssfsi.c: Likewise.
460 * soft-fp/fixunssfti.c: Likewise.
461 * soft-fp/fixunstfdi.c: Likewise.
462 * soft-fp/fixunstfsi.c: Likewise.
463 * soft-fp/fixunstfti.c: Likewise.
464 * soft-fp/floatdidf.c: Likewise.
465 * soft-fp/floatdisf.c: Likewise.
466 * soft-fp/floatditf.c: Likewise.
467 * soft-fp/floatsidf.c: Likewise.
468 * soft-fp/floatsisf.c: Likewise.
469 * soft-fp/floatsitf.c: Likewise.
470 * soft-fp/floattidf.c: Likewise.
471 * soft-fp/floattisf.c: Likewise.
472 * soft-fp/floattitf.c: Likewise.
473 * soft-fp/floatundidf.c: Likewise.
474 * soft-fp/floatundisf.c: Likewise.
475 * soft-fp/floatunditf.c: Likewise.
476 * soft-fp/floatunsidf.c: Likewise.
477 * soft-fp/floatunsisf.c: Likewise.
478 * soft-fp/floatunsitf.c: Likewise.
479 * soft-fp/floatuntidf.c: Likewise.
480 * soft-fp/floatuntisf.c: Likewise.
481 * soft-fp/floatuntitf.c: Likewise.
482 * soft-fp/gedf2.c: Likewise.
483 * soft-fp/gesf2.c: Likewise.
484 * soft-fp/getf2.c: Likewise.
485 * soft-fp/ledf2.c: Likewise.
486 * soft-fp/lesf2.c: Likewise.
487 * soft-fp/letf2.c: Likewise.
488 * soft-fp/muldf3.c: Likewise.
489 * soft-fp/mulsf3.c: Likewise.
490 * soft-fp/multf3.c: Likewise.
491 * soft-fp/negdf2.c: Likewise.
492 * soft-fp/negsf2.c: Likewise.
493 * soft-fp/negtf2.c: Likewise.
494 * soft-fp/op-1.h: Likewise.
495 * soft-fp/op-2.h: Likewise.
496 * soft-fp/op-4.h: Likewise.
497 * soft-fp/op-8.h: Likewise.
498 * soft-fp/op-common.h: Likewise.
499 * soft-fp/quad.h: Likewise.
500 * soft-fp/single.h: Likewise.
501 * soft-fp/soft-fp.h: Likewise.
502 * soft-fp/subdf3.c: Likewise.
503 * soft-fp/subsf3.c: Likewise.
504 * soft-fp/subtf3.c: Likewise.
505 * soft-fp/truncdfsf2.c: Likewise.
506 * soft-fp/trunctfdf2.c: Likewise.
507 * soft-fp/trunctfsf2.c: Likewise.
508 * soft-fp/trunctfxf2.c: Likewise.
509 * soft-fp/unorddf2.c: Likewise.
510 * soft-fp/unordsf2.c: Likewise.
511 * soft-fp/unordtf2.c: Likewise.
512
02ac9503
UB
5132013-11-05 Uros Bizjak <ubizjak@gmail.com>
514
515 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
516 (_FP_MUL_MEAT_D): Ditto.
517 (_FP_DIV_MEAT_S): Ditto.
518 (_FP_DIV_MEAT_D): Ditto.
519 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
520 t-softfp-sfdf and t-softfp to tmake_file.
521
61221141
UB
5222013-11-03 Uros Bizjak <ubizjak@gmail.com>
523
524 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
525 * config/i386/crtprec.c: Ditto.
526
9304f876
CJW
5272013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
528 Shiva Chen <shiva0217@gmail.com>
529
530 * config.host (nds32*-elf*): Add nds32 target.
531 * config/nds32 : New directory and files.
532
0e499e75
HPN
5332013-10-16 Hans-Peter Nilsson <hp@axis.com>
534
535 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
536 * config.host (cpu_type) <Setting default>: Add entry for
537 crisv32-*-*.
538 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
539 <crisv32-*-linux*>: Adjust.
540 * longlong.h: Wrap the whole CRIS section in a single
541 defined(__CRIS__) conditional. Add comment about add_ssaaaa
542 and sub_ddmmss.
543 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
544 defined.
545 [__CRIS__] (__umulsidi3): Define.
546 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
547 * config/cris/sfp-machine.h: New file.
548 * config/cris/umulsidi3.S: New file.
549 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
550 * config/cris/arit.c (SIGNMULT): New macro.
551 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
552 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
553 saving 3 out of originally 33 cycles from the fastest
554 path, 3 out of 54 from the medium path and one from the longest
555 path. Improve comments.
556
16022041
RS
5572013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
558
559 * sync.c: Remove static aliases and define each function directly
560 under its real name.
561
69778659
JDA
5622013-10-02 John David Anglin <danglin@gcc.gnu.org>
563
564 * config.host (hppa*64*-*-linux*): Define extra_parts.
565 (hppa*-*-linux*): Likewise.
566
2deaf8b0
JR
5672013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
568
569 * config/arc/crtgend.S: Add 2013 to Copyright years.
570 * config/arc/gmon/atomic.h: Likewise.
571 * config/arc/gmon/auxreg.h: Likewise.
572 * config/arc/gmon/sys/gmon_out.h: Likewise.
573 * config/arc/gmon/sys/gmon.h: Likewise.
574 * config/arc/gmon/prof-freq.c: Likewise.
575 * config/arc/gmon/mcount.c: Likewise.
576 * config/arc/gmon/prof-freq-stub.S: Likewise.
577 * config/arc/gmon/gmon.c: Likewise.
578 * config/arc/gmon/machine-gmon.h: Likewise.
579 * config/arc/gmon/profil.S: Likewise.
580 * config/arc/gmon/dcache_linesz.S: Likewise.
581 * config/arc/crtg.S: Likewise.
582 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
583 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
584 * config/arc/ieee-754/adddf3.S: Likewise.
585 * config/arc/ieee-754/truncdfsf2.S: Likewise.
586 * config/arc/ieee-754/fixsfsi.S: Likewise.
587 * config/arc/ieee-754/gtsf2.S: Likewise.
588 * config/arc/ieee-754/floatsisf.S: Likewise.
589 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
590 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
591 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
592 * config/arc/ieee-754/fixdfsi.S: Likewise.
593 * config/arc/ieee-754/addsf3.S: Likewise.
594 * config/arc/ieee-754/gesf2.S: Likewise.
595 * config/arc/ieee-754/floatsidf.S: Likewise.
596 * config/arc/ieee-754/extendsfdf2.S: Likewise.
597 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
598 * config/arc/ieee-754/gtdf2.S: Likewise.
599 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
600 * config/arc/ieee-754/uneqdf2.S: Likewise.
601 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
602 * config/arc/ieee-754/uneqsf2.S: Likewise.
603 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
604 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
605 * config/arc/ieee-754/eqdf2.S: Likewise.
606 * config/arc/ieee-754/ordsf2.S: Likewise.
607 * config/arc/ieee-754/divsf3.S: Likewise.
608 * config/arc/ieee-754/divdf3.S: Likewise.
609 * config/arc/ieee-754/floatunsidf.S: Likewise.
610 * config/arc/ieee-754/orddf2.S: Likewise.
611 * config/arc/ieee-754/eqsf2.S: Likewise.
612 * config/arc/ieee-754/gedf2.S: Likewise.
613 * config/arc/crtn.S: Likewise.
614 * config/arc/crti.S: Likewise.
615 * config/arc/t-arc700-uClibc: Likewise.
616 * config/arc/asm.h: Likewise.
617 * config/arc/libgcc-excl.ver: Likewise.
618 * config/arc/t-arc-newlib: Likewise.
619 * config/arc/divtab-arc700.c: Likewise.
620 * config/arc/initfini.c: Likewise.
621 * config/arc/fp-hack.h: Likewise.
622
c8e318b0
JR
6232013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
624 Diego Novillo <dnovillo@google.com>
625
626 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
a07c5b47
JR
627 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
628 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
629 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
c8e318b0 630
d38a64b4
JR
6312013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
632 Brendan Kehoe <brendan@zen.org>
633 Simon Cook <simon.cook@embecosm.com>
634
635 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
636 * config/arc: New directory.
637 * longlong.h [__arc__] (umul_ppmm): Remove.
638 [__arc__] (__umulsidi3): Define.
639 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
640 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
641
dff717d2
JC
6422013-09-17 Jacek Caban <jacek@codeweavers.com>
643
644 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
645 CreateSemaphoreA.
646 * config/i386/gthr-win32.h: Likewise.
647
5c0029de
DD
6482013-09-16 DJ Delorie <dj@redhat.com>
649
844ad6c6 650 * config/rl78/vregs.h: Add G10 register definitions.
5c0029de
DD
651 * config/rl78/lib2mul.c: Enable for RL78/G10.
652 * config/rl78/lib2div.c: Likewise.
653 * config/rl78/lshrsi3.S: Use vregs.h.
654 * config/rl78/cmpsi2.S: Likewise.
655 * config/rl78/trampoline.S: Likewise.
656 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
657
ceb2fc49
DD
6582013-09-14 DJ Delorie <dj@redhat.com>
659 Nick Clifton <nickc@redhat.com>
660
661 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
662 * config/rl78/vregs.h: New.
663 * config/rl78/signbit.S: New file. Implements signbit function.
664 * config/rl78/divmodsi.S: New.
665 * config/rl78/divmodhi.S: New.
666 * config/rl78/divmodqi.S: New.
667 * config/rl78/t-rl78: Build them here...
668 * config/rl78/lib2div.c: ...but not here.
669
f6a83b4a
DD
6702013-09-12 DJ Delorie <dj@redhat.com>
671
672 * config.host (msp*-*-elf): New.
673 * config/msp430/: New port.
674
9107b096
IS
6752013-08-18 Iain Sandoe <iain@codesourcery.com>
676
677 PR gcov-profile/58127
678 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
679 __thread var for emulated TLS.
680 (__gcov_indirect_call_counters): Likewise.
681
0f9bde1f 6822013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
61221141
UB
683 Catherine Moore <clm@codesourcery.com>
684 Richard Sandiford <rdsandiford@googlemail.com>
0f9bde1f
MR
685
686 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
687 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
688 (CALL_STUB_NO_RET): Likewise.
689 (CALL_STUB_RET): Likewise.
690 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
691 __mips16_ret call/return stub symbols.
692 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
693 to tmake_file.
694
2dc14aac
MR
6952013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
696
697 * config.host <mips*-*-linux*>: Remove a stray comment.
698
748d71f3
JH
6992013-08-10 Jan Hubicka <jh@suse.cz>
700
701 Work around binutils PR14342
702 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
703 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
704 (L_gcov_indirect_call_profiler_v2): New.
705
2fa3d31b
JH
7062013-08-06 Jan Hubicka <jh@suse.cz>
707
708 * libgcov.c (__gcov_indirect_call_callee,
709 __gcov_indirect_call_counters): New global vars.
710 (__gcov_indirect_call_profiler): replace by ...
711 (__gcov_indirect_call_profiler_v2) ... this one.
712
2077db1b
CT
7132013-08-06 Caroline Tice <cmtice@google.com>
714
d0595b65 715 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
2077db1b 716 vtv_start_preinit.o and vtv_end_preinit.o.
d0595b65
CT
717 * configure.ac: Add code to check/set enable_vtable_verify.
718 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
2077db1b 719 true.
d0595b65
CT
720 * vtv_start_preinit.c: New file.
721 * vtv_end_preinit.c: New file.
722 * vtv_start.c: New file.
723 * vtv_end.c: New file.
724 * configure: Regenerated.
2077db1b 725
46549c20
MK
7262013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
727
728 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
729 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
730 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
731 GPL-3.0-with-GCC-exception.
732
72be589b
MR
7332013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
734
735 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
736 ISA and up.
737
902a3faf
AK
7382013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
739
740 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
741 mapping for FPRs when creating the fallback framestate.
742
02371798
GJL
7432013-07-19 Georg-Johann Lay <avr@gjlay.de>
744
745 PR target/57516
746 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
747 (__round_s2_const, __round_u2_const)
748 (__round_s4_const, __round_u4_const, __round_x8):
749 Saturate result if addition result cannot be represented.
750
ab0e8379
MK
7512013-07-15 Matthias Klose <doko@ubuntu.com>
752
753 * libgcc2.c: Don't include <limits.h>.
754
7da38058
JJ
7552013-07-09 Janis Johnson <janisjo@codesourcery.com>
756
757 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
758
1f6eac90
JJ
7592013-07-06 Jakub Jelinek <jakub@redhat.com>
760
761 PR target/29776
762 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
763
4ea3d774
JJ
7642013-06-28 Jakub Jelinek <jakub@redhat.com>
765
766 PR middle-end/36041
767 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
768 Define.
769 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
770 instead of table lookups.
771 (__popcountDI2): Likewise.
772
9d2cdf25
CJW
7732013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
774
775 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
776 correctly.
777
fa1e55b0
JM
7782013-06-21 Joseph Myers <joseph@codesourcery.com>
779
780 PR other/53317
781 * soft-fp/adddf3.c: Update from glibc.
782 * soft-fp/addsf3.c: Likewise.
783 * soft-fp/addtf3.c: Likewise.
784 * soft-fp/divdf3.c: Likewise.
785 * soft-fp/divsf3.c: Likewise.
786 * soft-fp/divtf3.c: Likewise.
787 * soft-fp/double.h: Likewise.
788 * soft-fp/eqdf2.c: Likewise.
789 * soft-fp/eqsf2.c: Likewise.
790 * soft-fp/eqtf2.c: Likewise.
791 * soft-fp/extenddftf2.c: Likewise.
792 * soft-fp/extended.h: Likewise.
793 * soft-fp/extendsfdf2.c: Likewise.
794 * soft-fp/extendsftf2.c: Likewise.
795 * soft-fp/fixdfdi.c: Likewise.
796 * soft-fp/fixdfsi.c: Likewise.
797 * soft-fp/fixsfdi.c: Likewise.
798 * soft-fp/fixsfsi.c: Likewise.
799 * soft-fp/fixtfdi.c: Likewise.
800 * soft-fp/fixtfsi.c: Likewise.
801 * soft-fp/fixunsdfdi.c: Likewise.
802 * soft-fp/fixunsdfsi.c: Likewise.
803 * soft-fp/fixunssfdi.c: Likewise.
804 * soft-fp/fixunssfsi.c: Likewise.
805 * soft-fp/fixunstfdi.c: Likewise.
806 * soft-fp/fixunstfsi.c: Likewise.
807 * soft-fp/floatdidf.c: Likewise.
808 * soft-fp/floatdisf.c: Likewise.
809 * soft-fp/floatditf.c: Likewise.
810 * soft-fp/floatsidf.c: Likewise.
811 * soft-fp/floatsisf.c: Likewise.
812 * soft-fp/floatsitf.c: Likewise.
813 * soft-fp/floatundidf.c: Likewise.
814 * soft-fp/floatundisf.c: Likewise.
815 * soft-fp/floatunditf.c: Likewise.
816 * soft-fp/floatunsidf.c: Likewise.
817 * soft-fp/floatunsisf.c: Likewise.
818 * soft-fp/floatunsitf.c: Likewise.
819 * soft-fp/gedf2.c: Likewise.
820 * soft-fp/gesf2.c: Likewise.
821 * soft-fp/getf2.c: Likewise.
822 * soft-fp/ledf2.c: Likewise.
823 * soft-fp/lesf2.c: Likewise.
824 * soft-fp/letf2.c: Likewise.
825 * soft-fp/muldf3.c: Likewise.
826 * soft-fp/mulsf3.c: Likewise.
827 * soft-fp/multf3.c: Likewise.
828 * soft-fp/negdf2.c: Likewise.
829 * soft-fp/negsf2.c: Likewise.
830 * soft-fp/negtf2.c: Likewise.
831 * soft-fp/op-1.h: Likewise.
832 * soft-fp/op-2.h: Likewise.
833 * soft-fp/op-4.h: Likewise.
834 * soft-fp/op-8.h: Likewise.
835 * soft-fp/op-common.h: Likewise.
836 * soft-fp/quad.h: Likewise.
837 * soft-fp/single.h: Likewise.
838 * soft-fp/soft-fp.h: Likewise.
839 * soft-fp/subdf3.c: Likewise.
840 * soft-fp/subsf3.c: Likewise.
841 * soft-fp/subtf3.c: Likewise.
842 * soft-fp/truncdfsf2.c: Likewise.
843 * soft-fp/trunctfdf2.c: Likewise.
844 * soft-fp/trunctfsf2.c: Likewise.
845 * soft-fp/unorddf2.c: Likewise.
846 * soft-fp/unordsf2.c: Likewise.
847 * soft-fp/unordtf2.c: Likewise.
848 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
849 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
850 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
851 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
852 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
853 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
854 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
855 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
856 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
857 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
858 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
859 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
860
0de86a92
JU
8612013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
862
863 * config/mips/lib2funcs.c: New file.
864 * config/mips/t-mips (LIB2ADD_ST): Add it.
865
0d008882
OE
8662013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
867
868 PR target/6526
869 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
870 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
871
776434d1
WL
8722013-06-08 Walter Lee <walt@tilera.com>
873
874 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
875 Replace int64_t with long long. Add __extension__ where
876 appropriate.
877 * config/tilepro/atomic.c: Include config.h.
878
6ab3ebb4
DR
8792013-06-06 Douglas B Rupp <rupp@adacore.com>
880
881 * config.host (arm-wrs-vxworks): Configure with other soft float.
882
107eea2c
JU
8832013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
884
885 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
886 (mips64r5900el-*-elf*): New configurations.
887
5cc19c62
AM
8882013-06-04 Alan Modra <amodra@gmail.com>
889
890 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
891
0f1d3965
YR
8922013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
893
894 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
895
0ba045df
EB
8962013-05-28 Eric Botcazou <ebotcazou@adacore.com>
897
898 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
899 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
900 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
901
49dcafd4
EB
9022013-05-22 Eric Botcazou <ebotcazou@adacore.com>
903
904 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
905 (powerpc-wrs-vxworks): Likewise.
906
4fcb5d87
EB
9072013-05-22 Eric Botcazou <ebotcazou@adacore.com>
908
909 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
910 signal frames as well.
911 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
912 STACK_BIAS to the CFA offset.
913
0ec33224
RH
9142013-05-17 Richard Henderson <rth@redhat.com>
915
916 PR target/49146
917 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
918 (execute_cfa_program): Use it when storing to fs->regs.
919
492a8029
KT
9202013-05-08 Kai Tietz <ktietz@redhat.com>
921
922 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
923 (__deregister_frame_info): Likewise.
924
701e2f0a
TS
9252013-05-06 Thomas Schwinge <thomas@codesourcery.com>
926
e5123d08
TS
927 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
928 NaN's payload.
929
701e2f0a
TS
930 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
931
b9a7eb5d
AM
9322013-04-25 Alan Modra <amodra@gmail.com>
933
934 * config.host: Match little-endian powerpc-linux.
935
dfe192f5
YZ
9362013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
937
938 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
939 as 'unsigned long long' instead of 'unsigned long'.
940 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
941 'signed long'.
942
b6b9af2f
JB
9432013-04-10 Julian Brown <julian@codesourcery.com>
944
945 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
946 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
947 unsigned char/unsigned short.
948 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
949
ecabdd00
JDA
9502013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
951
952 PR other/55274
953 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
954
34652576
MI
9552013-04-04 Meador Inge <meadori@codesourcery.com>
956
957 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
958 computing the location of the link register.
959 (aeabi_uldivmod): Ditto.
960
e9fd8c19
KT
9612013-03-27 Kai Tietz <ktietz@redhat.com>
962
963 * config.host: Add support for cygwin x64 target.
964 * configure: Regenerated.
965
a6406324
WL
9662013-03-26 Walter Lee <walt@tilera.com>
967
968 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
969 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
970
55446c7e
KT
9712013-03-25 Kai Tietz <ktietz@redhat.com>
972
973 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
974
d2ae19d9
RM
9752013-03-20 Robert Mason <rbmj@verizon.net>
976
977 * config/vxlib-tls.c (__gthread_get_tsd_data,)
978 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
979 (__gthread_leave_tsd_dtor_context): Add prototypes.
980 (tls_delete_hook): Update.
981
22c4c869
CM
9822013-03-20 Catherine Moore <clm@codesourcery.com>
983 Joseph Myers <joseph@codesourcery.com>
984 Chao-ying Fu <fu@mips.com>
985
986 * config/mips/mips16.S: Don't build for microMIPS.
987 * config/mips/linux-unwind.h: Handle microMIPS frame.
988 * config/mips/crtn.S (fini, init): New labels.
989
fbd28bc3
JJ
9902013-03-14 Jakub Jelinek <jakub@redhat.com>
991
992 PR tree-optimization/53265
993 * unwind-dw2.c (execute_cfa_program): Avoid
994 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
995 on targets with DWARF_FRAME_REGISTERS < 32.
996
decc676e
OE
9972013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
998
999 PR target/49880
1000 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
1001 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
1002
84ea618a
ST
10032013-03-07 Sriraman Tallam <tmsriram@google.com>
1004
1005 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
1006 sandybridge processors.
1007
8f6d1c86
OE
10082013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
1009
1010 PR target/56529
1011 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
1012 inclusion list.
1013
ecdbd01a 10142013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
409b1de4
EI
1015
1016 * config/microblaze/crti.S: Setup stack protection at entry
1017
0b4ce21b
GJL
10182013-03-04 Georg-Johann Lay <avr@gjlay.de>
1019
1020 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
1021 (__rotldi3): Shift bytewise if applicable.
1022
b7c3f1ca
JG
10232013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
1024
1025 * config/aarch64/sync-cache.c
1026 (__aarch64_sync_cache_range): Silence warnings.
1027
6d65e8f1
CM
10282013-02-25 Catherine Moore <clm@codesourcery.com>
1029
1030 Revert:
1031 2013-02-24 Catherine Moore <clm@codesourcery.com>
1032 Joseph Myers <joseph@codesourcery.com>
1033 Chao-ying Fu <fu@mips.com>
1034
1035 * config/mips/mips16.S: Don't build for microMIPS.
1036 * config/mips/linux-unwind.h: Handle microMIPS frame.
1037 * config/mips/crtn.S (fini, init): New labels.
1038
6941b508
CM
10392013-02-24 Catherine Moore <clm@codesourcery.com>
1040 Joseph Myers <joseph@codesourcery.com>
1041 Chao-ying Fu <fu@mips.com>
1042
1043 * config/mips/mips16.S: Don't build for microMIPS.
1044 * config/mips/linux-unwind.h: Handle microMIPS frame.
1045 * config/mips/crtn.S (fini, init): New labels.
1046
7c422dbb
EI
10472012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
1048 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
1049 as dividend.
1050
110207ad
AM
10512013-02-16 Alan Modra <amodra@gmail.com>
1052
1053 PR target/55431
1054 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
1055 (ppc_fallback_frame_state): Always set up save locations for fp
1056 and altivec. Don't bother with non-callee-saved regs, r0-r13
1057 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
1058
e68a4ef6
GJL
10592013-02-12 Georg-Johann Lay <avr@gjlay.de>
1060
1061 PR target/54222
1062 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
1063 _ssmulHA, _ssmulSA.
1064 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
1065 _ssmulha3, _usmulusa3, _ssmulsa3.
1066 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
1067 (__muldi3): XCALL __muldi3_6 instead of rcall.
1068 (__umulsidi3, __mulsidi3): New functions.
1069 (do_prologue_saves, do_epilogue_restores): New .macros.
1070 (__divdi3_moddi3): Use them.
1071 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
1072 (__usmulusa3, __ssmulsa3): New functions.
1073
6c59ffd1
IS
10742013-02-11 Iain Sandoe <iain@codesourcery.com>
1075 Jack Howarth <howarth@bromo.med.uc.edu>
1076 Patrick Marlier <patrick.marlier@gmail.com>
1077
1078 PR libitm/55693
1079 * config/darwin-crt-tm.c: Remove dummy functions hack.
1080
85d768f3
GJL
10812013-02-08 Georg-Johann Lay <avr@gjlay.de>
1082
1083 PR target/54222
1084 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
1085 * config/avr/lib2-object.mk: New iterator to build objects from it.
1086 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
1087 lib2funcs.c.
1088 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
1089 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
1090 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
1091 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
1092 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
1093 * config/avr/lib1funcs-fixed.S: Implement them.
1094
5d5bf775
RS
10952013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
1096
1097 Update copyright years.
1098
99113dff
DE
10992013-02-01 David Edelsohn <dje.gcc@gmail.com>
1100
1101 PR target/54601
1102 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
1103 Add crtcxa to extra_parts.
1104 * config/rs6000/exit.h: New file.
1105 * config/rs6000/cxa_atexit.c: New file.
1106 * config/rs6000/cxa_finalize.c: New file.
1107 * config/rs6000/crtcxa.c: New file.
1108 * config/rs6000/t-aix-cxa: New file.
1109 * config/rs6000/libgcc-aix-cxa.ver: New file.
1110
dbdbd982
NC
11112013-01-31 Nick Clifton <nickc@redhat.com>
1112
1113 * config/v850/lib1funcs.S: Add support for e3v5 architecture
1114 variant.
1115
5893f158
GJL
11162013-01-29 Georg-Johann Lay <avr@gjlay.de>
1117
1118 PR target/54222
1119 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
1120 _mulQQ, _mulHQ, _mulHA, _mulSA,
1121 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
1122 _divQQ, _divHQ, _divHA, _divSA,
1123 _divUQQ, _divUHQ, _divUHA, _divUSA.
1124
ecdbd01a 11252013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
fbf0cf90 1126
dbdbd982 1127 * config.host(microblaze*-linux*): tmake_file: Remove
fbf0cf90
DH
1128 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
1129 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
1130 to exclude functions from being built with libgcc.c and use
1131 the microblaze assembly.
1132
ecdbd01a 11332013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6f14eef2
EI
1134
1135 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
1136 extra_parts.
1137
922c57d1
YZ
11382013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
1139
1140 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
1141 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
1142 __UINTPTR_TYPE__; also cast 'base' to the same type before the
1143 alignment operation.
1144
e0f8b6a0
SN
11452013-01-15 Sofiane Naci <sofiane.naci@arm.com>
1146
1147 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
1148 loop start address for cache clearing.
1149
00892272
GJL
11502013-01-14 Georg-Johann Lay <avr@gjlay.de>
1151
1152 * config/avr/lib1funcs.S: Remove trailing blanks.
1153 * config/avr/lib1funcs-fixed.S: Ditto.
1154
e59ec5fd
GJL
11552013-01-14 Georg-Johann Lay <avr@gjlay.de>
1156
1157 * config/avr/avr-lib.h: Add GPL copyright notice.
1158
3ffc1958
GJL
11592013-01-14 Georg-Johann Lay <avr@gjlay.de>
1160
1161 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
1162 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
1163 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
1164 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
1165
25c210f9
MK
11662013-01-07 Mark Kettenis <kettenis@openbsd.org>
1167
1168 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
1169 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
2bc15360 1170
db59befb
NC
11712013-01-04 Nick Clifton <nickc@redhat.com>
1172
1173 * config/v850/lib1funcs.S: Only provide CALLT support functions if
1174 the CALLT instruction is supported.
1175
5aa12dbf
JW
11762012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
1177
1178 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
1179 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
1180
65f14117
JT
11812012-12-13 John Tytgat <John@bass-software.com>
1182
1183 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
1184 is 25.
1185
ee3ae4f7
JJ
11862012-12-12 Jakub Jelinek <jakub@redhat.com>
1187
1188 PR libgcc/55451
1189 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
1190 undefined signed overflows.
1191
2fcfba3d
UB
11922012-12-09 Uros Bizjak <ubizjak@gmail.com>
1193
1194 PR target/55344
1195 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
1196
4f2b3dc2
UB
11972012-12-06 Uros Bizjak <ubizjak@gmail.com>
1198
1199 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
1200 (FP_TRAPPING_EXCEPTIONS): Define.
1201 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
1202 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
1203
066161a2
RH
12042012-12-04 Richard Henderson <rth@redhat.com>
1205
1206 PR bootstrap/55571
1207 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
1208
25626181
MS
12092012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
1210
4f2b3dc2 1211 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
25626181
MS
1212 (FP_EX_SHIFT): Define.
1213 (FP_TRAPPING_EXCEPTIONS): Define.
1214
868395e8
MS
12152012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
1216
1217 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
1218 (FP_ROUNDMODE): Use FP_RND_MASK.
1219 * config/aarch64/sfp-exceptions.c: New.
1220 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
1221 Use __sfp_handle_exceptions.
1222
5005fe22
RE
12232012-12-04 Richard Earnshaw <rearnsha@arm.com>
1224
1225 * config.host: (arm*-*-freebsd*): Remove.
1226 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
1227 (arm*-*-elf*): Remove.
1228 (arm*-*-wince-pe*): Remove.
1229 * arm/unwind-arm.c (struct fpa_reg): Delete.
1230 (struct fpa_regs): Delete.
1231 (phase1_vrs): Remove fpa element.
1232 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
1233 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
1234 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
1235 * ieee754-sf.S (floatundisf): Remove FPA support.
1236 (floatdisf): Likewise.
1237 * ieee75f-df.S (floatundidf): Likewise.
1238 (floatdidf): Likewise.
1239
e5a81c8e
KT
12402012-11-29 Kai Tietz <ktietz@redhat.com>
1241
1242 PR target/55445
1243 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
1244 * unwind-generic.h: Likewise.
1245 * unwind-seh.c: Likewise.
1246
f4919e4a
RH
12472012-11-28 Richard Henderson <rth@redhat.com>
1248
1249 PR libgcc/48076
1250 * emutls.c (__emutls_get_address): Avoid race condition between
1251 obj->loc.offset read and emutls_key initialization.
4f2b3dc2 1252
e13d9d5a
GJL
12532012-11-22 Georg-Johann Lay <avr@gjlay.de>
1254
1255 Adjust decimal point of signed accum mode to GCC default.
1256
1257 PR target/54222
1258 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
1259 _divqq_helper.
1260 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
1261 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
1262 (__mulha3, __mulsa3)
1263 (__divqq3, __divha3, __divsa3): Adjust to new position of
4f2b3dc2
UB
1264 decimal point of signed accum types.
1265
e13d9d5a
GJL
1266 (__mulusa3_round): New function.
1267 (__mulusa3): Use it.
1268 (__divqq_helper): New function.
1269 (__udivuqq3): Use it.
1270
1b845c6e
JJ
12712012-11-20 Jakub Jelinek <jakub@redhat.com>
1272
1273 PR bootstrap/55370
1274 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
1275
822a258a
TJ
12762012-11-18 Teresa Johnson <tejohnson@google.com>
1277
1278 PR bootstrap/55051
1279 * libgcov.c (gcov_exit): Remove merged program summary
1280 comparison unless !GCOV_LOCKED.
1281
54f4eaf0
MS
12822012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
1283
1284 * soft-fp: Updated from glibc upstream.
1285
e808687a
ILT
12862012-11-06 Ian Lance Taylor <iant@google.com>
1287
1288 * generic-morestack.c (__generic_morestack): Align the returned
1289 stack pointer to a 32 byte boundary.
1290 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
1291 increment the return address until we have decided that we don't
1292 have a varargs function.
1293 (__morestack) [32-bit]: Align stack correctly when calling C
1294 functions.
1295 (__morestack) [64-bit]: Likewise.
1296
460277e0
TS
12972012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1298
1299 * configure: Regenerate.
1300
73edb277
UB
13012012-11-02 Uros Bizjak <ubizjak@gmail.com>
1302
1303 PR target/55175
1304 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
1305 * config/i386/sfp-machine.h: Guard exception handling
1306 code with _SOFT_FLOAT.
1307 * config/i386/32/sfp-machine.h: Guard rounding handling
1308 code with _SOFT_FLOAT.
1309 * config/i386/64/sfp-machine.h: Ditto.
1310
c1d4fa04
JS
13112012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
1312
1313 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
1314 as extra_parts.
1315
eff6ca85
UB
13162012-10-26 Uros Bizjak <ubizjak@gmail.com>
1317
1318 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
1319 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
1320 when appropriate. Correct structure element types.
1321 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
1322 -minline-all-stringops from compile flags.
1323
43a8f1a1
RC
13242012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
1325
1326 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
1327
76c78361
RC
13282012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
1329
eff6ca85 1330 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
76c78361 1331
6f288860
SH
13322012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
1333
1334 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
1335 tmake_file.
1336
1e3d5096
IB
13372012-10-23 Ian Bolton <ian.bolton@arm.com>
1338 Jim MacArthur <jim.macarthur@arm.com>
1339 Marcus Shawcroft <marcus.shawcroft@arm.com>
1340 Nigel Stephens <nigel.stephens@arm.com>
1341 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
1342 Richard Earnshaw <rearnsha@arm.com>
1343 Sofiane Naci <sofiane.naci@arm.com>
1344 Stephen Thomas <stephen.thomas@arm.com>
1345 Tejas Belagod <tejas.belagod@arm.com>
1346 Yufeng Zhang <yufeng.zhang@arm.com>
1347
1348 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
1349 * config/aarch64/crti.S: New file.
1350 * config/aarch64/crtn.S: New file.
1351 * config/aarch64/linux-unwind.h: New file.
1352 * config/aarch64/sfp-machine.h: New file.
1353 * config/aarch64/sync-cache.c: New file.
1354 * config/aarch64/t-aarch64: New file.
1355 * config/aarch64/t-softfp: New file.
1356
8a740f07
HPN
13572012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
1358
1359 * config/mmix/crti.S: Mark program and data addresses using PRELD.
1360 Remove typo'd and unnecessary alignment-LOC for .data. Remove
1361 no-longer-needed LDBU insns.
1362
153c8397
SH
13632012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
1364
1365 * config.host
1366 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
1367 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
1368
595fefee
MGD
13692012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1370
1371 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
1372
9945a876
MK
13732012-10-15 Matthias Klose <doko@ubuntu.com>
1374
1375 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
1376
1183dc2c
PC
13772012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
1378
1379 * configure: Regenerate.
1380 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
1381
945a9c1f
UB
13822012-10-10 Uros Bizjak <ubizjak@gmail.com>
1383
1384 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1385 instructions for 64bit targets only.
1386
fb8bf47a
UB
13872012-10-10 Uros Bizjak <ubizjak@gmail.com>
1388
1389 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
1390 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
1391 * config/i386/32/sfp-machine.h: ... here.
1392 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
1393 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
1394 New defines.
1395
acb72498
MK
13962012-10-07 Matthias Klose <doko@ubuntu.com>
1397
1398 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
1399 as unused.
1400 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
1401
8eaee0f0
MK
14022012-10-06 Mark Kettenis <kettenis@openbsd.org>
1403
1404 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
1405 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
1406 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
1407 (ElfW): Likewise.
1408
5e3e4fe8
JW
14092012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
1410
1411 PR other/53889
1412 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
1413 Fix parameter names.
1414
86086376
OE
14152012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
1416
1417 PR target/33135
1418 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
1419 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
1420 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
1421
9597375a
OE
14222012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
1423
1424 PR target/50457
1425 * config/sh/linux-atomic.S: Delete.
1426 * config/sh/linux-atomic.c: New.
1427 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
1428 linux-atomic.c. Add cflags to disable warnings.
1429
1504e3e1
JW
14302012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
1431
1432 PR other/53889
1433 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
1434 function.
1435 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
1436 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
1437 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
1438 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5e3e4fe8
JW
1439 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
1440 Likewise.
1504e3e1
JW
1441 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
1442 Likewise.
1443 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
1444 Likewise.
1445 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
1446 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
1447
17f293b0
MK
14482012-09-19 Mark Kettenis <kettenis@openbsd.org>
1449
9597375a
OE
1450 * config.host (hppa-*-openbsd*): New target.
1451 * config/pa/t-openbsd: New file.
17f293b0 1452
51526856
GJL
14532012-09-15 Georg-Johann Lay <avr@gjlay.de>
1454
1455 PR target/54222
1456 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
1457 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
1458 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
1459 (__divsa3): Use __negsi2 to negate r_quoL.
1460 * config/avr/lib1funcs.S (FALIAS): New macro.
1461 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
1462 (__negsi2): ...this new function.
1463 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
1464 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
1465 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
1466 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
1467 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
1468 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
1469
aadb5b43
OE
14702012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
1471
1472 PR target/54089
1473 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
1474 (lshrsi3): Reimplement as lshrsi3_r0.
1475
d5d66749
AS
14762012-09-10 Andreas Schwab <schwab@linux-m68k.org>
1477
1478 PR target/46191
1479 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
1480 of libgcc.a.
1481
c6c36e73
TJ
14822012-09-07 Teresa Johnson <tejohnson@google.com>
1483
9597375a 1484 PR gcov-profile/54487
c6c36e73 1485 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9597375a 1486 differences.
c6c36e73 1487
b588ae30
GJL
14882012-09-05 Georg-Johann Lay <avr@gjlay.de>
1489
1490 PR target/54461
1491 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
1492 not configured --with-avrlibc=no.
1493 * config/avr/t-avrlibc: New file.
1494 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
1495 (DPBIT_FUNCS): Ditto.
1496 (TPBIT_FUNCS): Ditto.
1497
abd16fb1
TJ
14982012-09-04 Teresa Johnson <tejohnson@google.com>
1499
1500 * libgcov.c (struct gcov_summary_buffer): New structure.
1501 (gcov_histogram_insert): New function.
1502 (gcov_compute_histogram): Ditto.
1503 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
1504 histograms during summary merging.
1505
613061fd
MK
15062012-09-01 Mark Kettenis <kettenis@openbsd.org>
1507
1508 * config.host (x86_64-*-openbsd*): New target.
73edb277 1509
867a8345
CLT
15102012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
1511
1512 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
1513 attribute.
1514
4aeaaca3
GJL
15152012-08-24 Georg-Johann Lay <avr@gjlay.de>
1516
1517 PR target/54222
1518 * config/avr/t-avr (conv_X): Rename to func_X.
1519
e55e4056
GJL
15202012-08-24 Georg-Johann Lay <avr@gjlay.de>
1521
1522 PR target/54222
1523 * config/avr/lib1funcs-fixed.S: New file.
1524 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
1525 after they are used.
1526 (neg2, neg4): New macros.
1527 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
1528 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
1529 (__umulhisi3): Speed up MUL variant if there is enough flash.
1530 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
1531 avr-modes.def.
1532 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
1533 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
1534 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
1535 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
1536 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
1537 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
1538 (LIB2FUNCS_EXCLUDE): Add supported functions.
1539
a147b6d2
GJL
15402012-08-22 Georg-Johann Lay <avr@gjlay.de>
1541
1542 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
1543 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
1544 libgcc-s-objects.
1545 * fixed-obj.mk: Only expand dependency if $o is not in
1546 LIB2FUNCS_EXCLUDE.
1547
c637141a
L
15482012-08-22 H.J. Lu <hongjiu.lu@intel.com>
1549
1550 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
1551
130e00bd
JM
15522012-08-22 Joseph Myers <joseph@codesourcery.com>
1553
1554 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
1555 depend on --enable-shared.
1556 ($(lib1asmfuncs-o)): Use %.vis files independent of
1557 --enable-shared.
1558 * static-object.mk ($(base)$(objext), $(base).vis)
1559 ($(base)_s$(objext)): Use same rules for visibility handling as in
1560 shared-object.mk.
1561
4b1b3788
ILT
15622012-08-21 Ian Lance Taylor <iant@google.com>
1563
1564 * config/i386/morestack.S (__morestack_non_split): Increase amount
1565 of space allocated for non-split code stack.
1566
d2468141
JM
15672012-08-19 Joseph Myers <joseph@codesourcery.com>
1568
1569 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
1570 even if inhibit_libc.
1571
a508e1a8
JB
15722012-08-17 Julian Brown <julian@codesourcery.com>
1573
1574 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
1575 -fexceptions -fnon-call-exceptions if not defined.
1576 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
1577 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
1578
5615a07d
AS
15792012-08-17 Andreas Schwab <schwab@linux-m68k.org>
1580
1581 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
1582 type.
1583
138f5acd
DE
15842012-08-16 David Edelsohn <dje.gcc@gmail.com>
1585
1586 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
1587 rs6000/t-slibgcc-aix.
1588
18efc0dd
SB
15892012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
1590
1591 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
1592
6b39bc38
SB
15932012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
1594
1595 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
1596
cd25dea0
L
15972012-08-03 H.J. Lu <hongjiu.lu@intel.com>
1598
1599 PR driver/54171
1600 * Makefile.in (version): Replace top_srcdir with srcdir.
1601
a3dda30b
JY
16022012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
1603
1604 * Makefile.in (version): set to BASE-VER file from gcc directory.
1605
d04aacfc
NC
16062012-08-01 Nick Clifton <nickc@redhat.com>
1607
1608 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
1609 Implements __clrsb for an HImode argument.
1610
0d13c974
NC
16112012-07-31 Nick Clifton <nickc@redhat.com>
1612
1613 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
1614 Implements __clrsb for an HImode argument.
1615 * config/stormy16/clrsbhi2.c: New file:
1616 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
1617
efbb59b2
SB
16182012-07-22 Steven Bosscher <steven@gcc.gnu.org>
1619
1620 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
1621
bf1431e3
TG
16222012-07-19 Tristan Gingold <gingold@adacore.com>
1623 Richard Henderson <rth@redhat.com>
1624
1625 * unwind-seh.c: New file.
1626 * unwind-generic.h: Include windows.h for SEH.
1627 (_Unwind_Exception): Use 6 private fields for SEH.
1628 (_GCC_specific_handler): Declare.
1629 * unwind-c.c (__gcc_personality_seh0): New function.
1630 Adjust for SEH.
1631 * config/i386/libgcc-cygming.ver: New file.
1632 * config/i386/t-seh-eh: New file.
1633 * config.host (x86_64-*-mingw*): Default to seh.
1634
659140c8
SB
16352012-07-14 Steven Bosscher <steven@gcc.gnu.org>
1636
1637 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
1638
a20d08fd
UB
16392012-06-17 Uros Bizjak <ubizjak@gmail.com>
1640
1641 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
1642 __builtin_expect when checking for exceptions.
1643 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
1644
79261115
UB
16452012-06-13 Uros Bizjak <ubizjak@gmail.com>
1646
4a172156
UB
1647 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
1648 function declaration.
1649 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
1650 (FP_RND_MASK): New.
1651 * config/ia64/sfp-exceptions.c: New.
1652 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
79261115 1653
bb5c97d4
UB
16542012-06-13 Uros Bizjak <ubizjak@gmail.com>
1655
1656 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
1657 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
1658 * config/i386/64/sfp-machine: ... (delete here) ...
1659 * config/i386/sfp-machine.h: ... to here.
1660 (FP_EX_MASK): Remove.
1661 (FP_RND_MASK): New.
1662 (FP_INIT_ROUNDMODE): Declare asm as volatile.
1663
91fe5efb
ST
16642012-06-11 Sriraman Tallam <tmsriram@google.com>
1665
1666 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
1667 * config/i386/libgcc-sol2.ver: Ditto.
1668 * config/i386/libgcc-glibc.ver: Ditto.
1669
67a218c5
RM
16702012-06-11 Roland McGrath <mcgrathr@google.com>
1671
1672 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
1673 If __GLIBC__ is defined, refer to __pthread_key_create instead of
1674 pthread_cancel.
1675
492fbea1
UB
16762012-06-09 Uros Bizjak <ubizjak@gmail.com>
1677
1678 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
1679 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
1680 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
1681 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
1682 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
1683 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
1684 * config/i386/64/sfp-machine: ... (delete here) ...
1685 * config/i386/sfp-machine.h: ... to here.
1686 (FP_EX_MASK): New.
1687 (__sfp_handle_exceptions): New function declaration.
1688 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
1689 * config/i386/sfp-exceptions.c: New.
1690 * config/i386/t-softfp: New.
1691 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
1692 i386/t-softfp to tmake_file.
1693
7b4cf266
DM
16942012-06-03 David S. Miller <davem@davemloft.net>
1695
1696 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
1697 change.
1698
0de0d5c6
DM
16992012-05-31 David S. Miller <davem@davemloft.net>
1700
1701 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
1702 multiply and divide instructions on 32-bit when V9.
1703 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
1704
d8c9d391
JM
17052012-05-29 Joseph Myers <joseph@codesourcery.com>
1706
1707 * config/arm/ieee754-df.S: Fix typos.
1708 * config/arm/ieee754-sf.S: Fix typos.
1709 * config/c6x/libunwind.S: Fix typos.
1710 * config/epiphany/udivsi3-float.c: Fix typos.
1711 * config/microblaze/muldi3_hard.S: Fix typos.
1712 * config/picochip/adddi3.S: Fix typos.
1713 * config/picochip/ashlsi3.S: Fix typos.
1714 * config/picochip/ashrsi3.S: Fix typos.
1715 * config/picochip/clzsi2.S: Fix typos.
1716 * config/picochip/cmpsi2.S: Fix typos.
1717 * config/picochip/divmod15.S: Fix typos.
1718 * config/picochip/divmodhi4.S: Fix typos.
1719 * config/picochip/divmodsi4.S: Fix typos.
1720 * config/picochip/longjmp.S: Fix typos.
1721 * config/picochip/lshrsi3.S: Fix typos.
1722 * config/picochip/parityhi2.S: Fix typos.
1723 * config/picochip/popcounthi2.S: Fix typos.
1724 * config/picochip/setjmp.S: Fix typos.
1725 * config/picochip/subdi3.S: Fix typos.
1726 * config/picochip/ucmpsi2.S: Fix typos.
1727 * config/picochip/udivmodhi4.S: Fix typos.
1728 * config/picochip/udivmodsi4.S: Fix typos.
1729 * config/spu/divv2df3.c: Fix typos.
1730 * config/spu/mfc_multi_tag_release.c: Fix typos.
1731 * config/spu/mfc_tag_release.c: Fix typos.
1732 * configure.ac: Fix typos.
1733 * configure: Regenerate.
1734
31a18a7e
ILT
17352012-05-25 Ian Lance Taylor <iant@google.com>
1736
1737 * config/i386/morestack.S (__morestack_non_split): Check whether
1738 caller is varargs and needs %bp to hold the stack frame on return.
1739
c5768510
OH
17402012-05-25 Olivier Hainque <hainque@adacore.com>
1741
1742 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
1743 sequence in the non pic case on VxWorks.
1744
7c7c339b
OH
17452012-05-24 Olivier Hainque <hainque@adacore.com>
1746
73fb7630 1747 * Makefile.in: Move dependency on install-unwind_h from
7c7c339b
OH
1748 "install-leaf" to "install".
1749
fdc1b7d3
OH
17502012-05-24 Olivier Hainque <hainque@adacore.com>
1751
1752 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
1753 Use a separate command for stamp removals.
1754
07ba94b9
AP
17552012-05-21 Andrew Pinski <apinski@cavium.com>
1756
1757 PR bootstrap/53183
1758 * configure.ac: Define the default includes to being none.
1759 * configure: Regenerate.
1760
4677d2eb
OH
17612012-05-16 Olivier Hainque <hainque@adacore.com>
1762
1763 * Makefile.in (install-unwind_h): Rename into ...
1764 (install-unwind_h-forbuild): New target.
1765 (all): Use it instead of the former install-unwind_h.
1766 (install-unwind_h): Reinstate, copy to user install destination
1767 for include files, not to the internal gcc object directory one.
1768 (install-leaf): Depend on it.
1769
7d67c380
OH
17702012-05-15 Olivier Hainque <hainque@adacore.com>
1771
1772 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
1773 register numbers. LR_REGNO replaces R_LR.
1774 (ucontext_for): New, helper for ...
1775 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
1776 and 5.3 of ...
1777 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
1778
aca06c90
RO
17792012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1780
1781 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
1782 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
1783 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
1784 i386/t-cpuinfo ...
1785 (i[34567]86-*-*, x86_64-*-*): ... here.
1786
1787 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
1788 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
1789
1790 * config/i386/i386-cpuinfo.c: Rename to ...
1791 * config/i386/cpuinfo.c: ... this.
1792 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
1793
1794 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
1795 (libgcc_cv_init_priority): New test.
1796 * configure: Regenerate.
1797 * config.in: New file.
1798 * Makefile.in (clean): Rename config.h to auto-target.h.
1799 (config.h): Likewise.
1800 (stamp-h): Likewise.
1801
1802 * config/i386/cpuinfo.c (auto-target.h): Include.
1803 (CONSTRUCTOR_PRIORITY): Define.
1804 (__cpu_indicator_init): Use it.
1805
0d03ac1b
L
18062012-05-09 H.J. Lu <hongjiu.lu@intel.com>
1807
1808 * longlong.h: Use a URL instead of an FSF postal address.
1809 Replace spaces with tab.
1810
4a172156 18112012-05-08 Teresa Johnson <tejohnson@google.com>
4e8ee9cb
TJ
1812
1813 * libgcov.c (gcov_clear, __gcov_reset): New functions.
1814 (__gcov_dump): Ditto.
1815 (gcov_dump_complete): New global variable.
1816 (gcov_exit): Export hidden to enable use in L_gcov_dump.
1817 (__gcov_flush): Outline functionality now in gcov_clear.
1818 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
1819
e4bb767e
AJ
18202012-04-28 Aurelien Jarno <aurelien@aurel32.net>
1821
31a18a7e
ILT
1822 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
1823 (mips*-*-linux*): Include mips/t-tpbit when long double is
1824 16 bytes long.
e4bb767e 1825
5ddecff9
ST
18262012-04-25 Sriraman Tallam <tmsriram@google.com>
1827
1828 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
1829 (get_available_features): New argument. Check for AVX2.
1830 (__cpu_indicator_init): Modify call to get_available_features.
1831
b427dd7a
AM
18322012-04-25 Alan Modra <amodra@gmail.com>
1833
1834 * config/rs6000/crtsavevr.S: New file.
1835 * config/rs6000/crtrestvr.S: New file.
1836 * config/rs6000/t-savresfgpr: Build the above.
1837 * config/rs6000/t-netbsd: Likewise.
1838
ad491329
ST
18392012-04-24 Sriraman Tallam <tmsriram@google.com>
1840
1841 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
1842
792317cc
ST
18432012-04-24 Sriraman Tallam <tmsriram@google.com>
1844
1845 * libgcc/config/i386/i386-cpuinfo.c: New file.
1846 * libgcc/config/i386/t-cpuinfo: New file.
1847 * libgcc/config.host: Include t-cpuinfo.
1848 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
1849
e1be98a4
CF
18502012-04-24 Chao-ying Fu <fu@mips.com>
1851
1852 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
1853
1bde7dab
TS
18542012-04-20 Thomas Schwinge <thomas@codesourcery.com>
1855
1856 struct siginfo vs. siginfo_t
1857
1858 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
1859 siginfo_t instead of struct siginfo.
1860 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
1861 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
1862 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
1863 (ia64_handle_unwabi): Likewise.
1864 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
1865 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
1866 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
1867 (sh_fallback_frame_state): Likewise.
1868 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
1869 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
1870
24590f66
L
18712012-04-02 H.J. Lu <hongjiu.lu@intel.com>
1872
1873 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
1874 system call number.
1875
9a9dcce8
EB
18762012-03-31 Eric Botcazou <ebotcazou@adacore.com>
1877
1878 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
1879 if it hasn't been previously saved.
1880
6401aaf5
L
18812012-03-29 H.J. Lu <hongjiu.lu@intel.com>
1882
1883 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
1884 only for glibc.
1885
7fd6378e
GJL
18862012-03-28 Georg-Johann Lay <avr@gjlay.de>
1887
1888 PR target/52737
1889 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
1890 instead of __AVR_HAVE_8BIT_SP__.
1891
9e916de7
TG
18922012-03-26 Tristan Gingold <gingold@adacore.com>
1893
1894 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
1895 (unw_table_entry): Use unw_word instead of unsigned long.
1896 (_Unwind_FindTableEntry): Likewise.
1897 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
1898 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
1899 (_Unwind_FindTableEntry): Likewise.
1900 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
1901 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
1902 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
1903 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
1904 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
1905 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
1906 (uw_init_context_1, uw_install_context): Likewise.
1907 (unw_word): Move to unwind-ia64.h
1908
4b12e93d
TG
19092012-03-26 Tristan Gingold <gingold@adacore.com>
1910
1911 * config/vms/vms-ucrt0.c: Update copyright years.
1912 Add a sanity check.
1913 (___gcc_main_flags): Declare.
1914 (__main): Check flags to remap argv and exit code.
1915 * config.host (*-*-*vms*): Adjust extra_parts.
1916 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
1917 (crt0.o): Add.
1918
06ea7371
RE
19192012-03-22 Richard Earnshaw <rearnsha@arm.com>
1920
1921 * arm/lib1funcs.asm (ctzsi2): New function.
1922 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
1923 * arm/t-linux (LIB1ASMFUNCS): Likewise.
1924 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
1925 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
1926 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
1927 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
1928
d82ad50d
AT
19292012-03-21 Andreas Tobler <andreast@fgznet.ch>
1930
1931 * config.host: Add bits to support powerpc64-*-freebsd*.
1932 * config/rs6000/freebsd-unwind.h: New file.
1933 * config/rs6000/t-freebsd64: New file.
1934
b260a8c0
RG
19352012-03-20 Richard Guenther <rguenther@suse.de>
1936
1937 PR gcov-profile/52627
1938 * libgcov.c (init_mx): Fix mutex name.
1939
86286a8a
TG
19402012-03-16 Tristan Gingold <gingold@adacore.com>
1941
1942 * config/ia64/vms-unwind.h: Remove ulong (and replace
1943 it by unw_reg where used). Define unw_reg with __int64.
1944
7888f266
RO
19452012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1946
1947 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
1948 Solaris 8 handling.
1949 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
1950 Solaris 8 handling.
1951 (sparc_is_sighandler): Likewise.
1952
f155bc64
L
19532012-03-13 H.J. Lu <hongjiu.lu@intel.com>
1954
1955 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
1956 <= saved reg size.
1957
d47657bd
RO
19582012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1959
1960 * config/arm/crtn.S: Fix typo.
1961
5bef73a1
RG
19622012-03-13 Richard Guenther <rguenther@suse.de>
1963
1964 * libgcov.c: Remove stdio.h include and NULL un-define.
1965
9c4271f3
RG
19662012-03-13 Richard Guenther <rguenther@suse.de>
1967
1968 PR target/52569
1969 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
1970
c6d10e7c
RG
19712012-03-13 Richard Guenther <rguenther@suse.de>
1972
1973 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
1974
074a385f
RG
19752012-03-13 Richard Guenther <rguenther@suse.de>
1976
1977 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
1978 and __gthread_mutex_init_function definitions.
1979
c4bc5c25
RO
19802012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1981
1982 * config.host (mips*-*-openbsd*): Remove.
1983
5c30094f
RO
19842012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1985
1986 * config.host: Remove alpha*-dec-osf5.1* handling.
1987 * config/alpha/gthr-posix.c: Remove.
1988 * config/alpha/libgcc-osf5.ver: Remove.
1989 * config/alpha/osf5-unwind.h: Remove.
1990 * config/alpha/t-osf-pthread: Remove.
1991 * config/alpha/t-slibgcc-osf: Remove.
1992 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
1993 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
1994 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
1995 * mkmap-flat.awk: Remove osf_export handling.
1996
33e3e24d
RG
19972012-03-12 Richard Guenther <rguenther@suse.de>
1998
1999 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
2000 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
2001 (__gthread_mutex_init_function): New function.
2002 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
2003
2004 PR gcov/49484
2005 * libgcov.c: Include gthr.h.
2006 (__gcov_flush_mx): New global variable.
2007 (init_mx, init_mx_once): New functions.
2008 (__gcov_flush): Protect self with a mutex.
2009 (__gcov_fork): Re-initialize mutex after forking.
2010 * unwind-dw2-fde.c: Change condition under which to use
2011 __GTHREAD_MUTEX_INIT_FUNCTION.
2012
d8aba32a
TG
20132012-03-12 Tristan Gingold <gingold@adacore.com>
2014
2015 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
2016 * config/ia64/t-vms: Likewise.
2017
75ffafdc
MH
20182012-03-11 Michael Hope <michael.hope@linaro.org>
2019
4a172156
UB
2020 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
2021 for Thumb-2.
75ffafdc 2022
ef6c2c53
WL
20232012-03-07 Walter Lee <walt@tilera.com>
2024
2025 * config/tilepro/atomic.c: Rename "atomic_" prefix to
2026 "arch_atomic_".
2027 (atomic_xor): Rename and move definition to
2028 config/tilepro/atomic.h.
2029 (atomic_nand): Ditto.
2030 * config/tilepro/atomic.h: Rename "atomic_" prefix to
2031 "arch_atomic_".
2032 (arch_atomic_xor): Move from config/tilepro/atomic.c.
2033 (arch_atomic_nand): Ditto.
2034
4e30d980
GJL
20352012-03-07 Georg-Johann Lay <avr@gjlay.de>
2036
2037 PR target/52507
2038 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
2039
61108225
GJL
20402012-03-07 Georg-Johann Lay <avr@gjlay.de>
2041
2042 PR target/52505
2043 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
2044 from RAM.
2045
b30e10ab
GJL
20462012-03-07 Georg-Johann Lay <avr@gjlay.de>
2047
2048 PR target/52461
2049 PR target/52508
2050 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
2051 if RAMPZ affects reading from RAM.
2052 (__tablejump_elpm__): Ditto.
2053 (.xload): Ditto.
2054 (__movmemx_hi): Ditto.
2055 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
2056 (__do_global_dtors): Ditto.
2057 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
2058 (__movmemx_hi): Ditto.
2059
8993fde4
RH
20602012-03-05 Richard Henderson <rth@redhat.com>
2061
2062 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
2063 [ARM] (count_trailing_zeros): Use the builtin.
2064
b7633ee3
KT
20652012-03-01 Kai Tietz <ktietz@redhat.com>
2066
2067 * soft-fp: Imported from glibc upstream.
2068
fbd3340c
KT
20692012-02-28 Kai Tietz <ktietz@redhat.com>
2070
2071 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
2072 for mingw-targets as attribute gcc_struct.
2073
e9e053eb
ILT
20742012-02-28 Ian Lance Taylor <iant@google.com>
2075
2076 * generic-morestack.c (__splitstack_releasecontext): Correct call
2077 to __morestack_release_segments.
2078
d80c632e
ST
20792012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2080
2081 PR target/52390
2082 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
2083 for __linux__ when removing signals from __morestack_fullmask.
2084
0253a8b1
GJL
20852012-02-23 Georg-Johann Lay <avr@gjlay.de>
2086
2087 PR target/52261
2088 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
2089
e10e461e
UW
20902012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2091
2092 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
2093 instead of HAVE_INITFINI_ARRAY.
2094 * config/ia64/crtend.S: Likewise.
2095
0c0c6398
KT
20962012-02-20 Kai Tietz <ktietz@redhat.com>
2097
d7470374
KT
2098 PR libstdc++/52300
2099 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
2100
0c0c6398
KT
2101 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
2102 to w32-unwind.h header.
2103
78c27266
RS
21042012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
2105
2106 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
2107 (mips*-*-linux*): Remove t-slibgcc-libgcc.
2108 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
2109 * config/mips/mips16.S (__mips16_rdhwr): Delete.
2110
5adeb246
RS
21112012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
2112
2113 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
2114
672ed313
IS
21152012-02-15 Iain Sandoe <iains@gcc.gnu.org>
2116
2117 PR libitm/52220
2118 * config/darwin-crt-tm.c: Correct typo.
e9e053eb 2119
e948a1fb
IS
21202012-02-15 Iain Sandoe <iains@gcc.gnu.org>
2121 Patrick Marlier <patrick.marlier@gmail.com>
2122
2123 PR libitm/52220
2124 * config/darwin-crt-tm.c: Generate dummy functions.
2125
6017aed3
IS
21262012-02-15 Iain Sandoe <iains@gcc.gnu.org>
2127 Patrick Marlier <patrick.marlier@gmail.com>
2128
2129 PR libitm/52042
2130 * config/darwin-crt-tm.c (getTMCloneTable): New function.
2131 (__doTMRegistrations): Call it.
e9e053eb 2132 (__doTMdeRegistrations): Likewise.
6017aed3 2133
2da8c1ad
GJL
21342012-01-15 Georg-Johann Lay <avr@gjlay.de>
2135 Anatoly Sokolov <aesok@post.ru>
2136 Eric Weddington <eric.weddington@atmel.com>
2137
2138 PR target/52261
2139 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
2140 (__epilogue_restores__): Ditto.
2141
0f952eb4
EB
21422012-02-15 Eric Botcazou <ebotcazou@adacore.com>
2143
2144 PR target/51921
2145 PR target/52205
2146 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
2147 Solaris 11 and slightly reformat.
2148 (sparc_is_sighandler): Likewise.
2149
dd552284
WL
21502012-02-14 Walter Lee <walt@tilera.com>
2151
2152 * config.host: Handle tilegx and tilepro.
2153 * config/tilegx/sfp-machine.h: New file.
2154 * config/tilegx/sfp-machine32.h: New file.
2155 * config/tilegx/sfp-machine64.h: New file.
2156 * config/tilegx/t-crtstuff: New file.
2157 * config/tilegx/t-softfp: New file.
2158 * config/tilegx/t-tilegx: New file.
2159 * config/tilepro/atomic.c: New file.
2160 * config/tilepro/atomic.h: New file.
2161 * config/tilepro/linux-unwind.h: New file.
2162 * config/tilepro/sfp-machine.h: New file.
2163 * config/tilepro/softdivide.c: New file.
2164 * config/tilepro/softmpy.S: New file.
2165 * config/tilepro/t-crtstuff: New file.
2166 * config/tilepro/t-tilepro: New file.
2167
b59cbd50
JW
21682012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
2169
2170 PR libstdc++/51296
2171 PR libstdc++/51906
2172 * gthr-posix.h: Allow static initializer macros to be disabled.
2173 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
2174
6caf807f
CLT
21752012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
2176
2177 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
2178 Add t-slibgcc-libgcc to tmake_file.
2179 * config/mips/libgcc-mips16.ver: Revert previous patch.
2180 * config/mips/mips16.S (__mips16_rdhwr): Hide.
2181
b25364a0
S
21822012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
2183 Jayant R Sonar <jayant.sonar@kpitcummins.com>
2184
2185 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
2186 * config/cr16/crti.S: New file.
2187 * config/cr16/crtlibid.S: New file.
2188 * config/cr16/crtn.S: New file.
2189 * config/cr16/lib1funcs.S: New file.
2190 * config/cr16/t-cr16: New file.
2191 * config/cr16/t-crtlibid: New file.
2192 * config/cr16/unwind-dw2.h: New file.
2193 * config/cr16/unwind-cr16.c: New file.
2194 * config/cr16/divmodhi3.c: New file.
2195
8ef03aa7
AM
21962012-01-25 Alan Modra <amodra@gmail.com>
2197
2198 * config/rs6000/t-linux64: Delete. Move..
2199 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
2200 * config/rs6000/t-linux: ..and libgcc flags to here.
2201
daecebc8
DR
22022012-01-22 Douglas B Rupp <rupp@gnat.com>
2203
2204 * config.host (i[34567]86-*-interix3*):
8ef03aa7 2205 Change triplet to i[34567]86-*-interix[3-9]*.
daecebc8
DR
2206 * configure: Regenerate.
2207
ddaf8125
RS
22082012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
2209 Richard Sandiford <rdsandiford@googlemail.com>
2210
2211 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
2212 * config/mips/mips16.S (__mips16_rdhwr): New function.
2213 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
2214
2cd8b32c
NS
22152012-01-11 Nathan Sidwell <nathan@acm.org>
2216
2217 * libgcov.c (__gcov_init): Ignore objects with no functions.
2218
cba300dd
GJL
22192012-01-10 Georg-Johann Lay <avr@gjlay.de>
2220
2221 PR target/49868
2222 Extend __pgmx semantics to linearize memory.
2223 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
2224 * config/avr/lib1funcs.S (__xload_1): New function.
2225 (__movmemx_qi, __movmemx_hi): New functions.
2226 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
2227 semantics.
9ffaf4bc 2228
3d137660
EB
22292012-01-09 Eric Botcazou <ebotcazou@adacore.com>
2230
2231 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
2232 purported sigacthandler address isn't null before dereferencing it.
2233 (sparc_is_sighandler): Likewise.
2234
bf4db96c
EB
22352012-01-09 Eric Botcazou <ebotcazou@adacore.com>
2236
2237 PR ada/41929
2238 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
2239 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
2240 (sparc_is_sighandler): Likewise.
2241 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
2242
1ab3568b
TG
22432012-01-06 Tristan Gingold <gingold@adacore.com>
2244
2245 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
2246 compatibility thunks...
2247 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
2248 (crtbeginS.o, crtendS.o): ... and these to ...
2249 * config/ia64/t-ia64-elf: ... this new file.
2250 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
2251 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
2252
925b0ed8
AK
22532012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2254
2255 * configure: Regenerate.
2256 * config/s390/t-crtstuff: Remove -fPIC.
2257
a99ad737
JW
22582012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
2259
2260 PR bootstrap/51006
2261 * enable-execute-stack-mprotect.c (getpagesize): Do not define
2262 for NetBSD.
2263
884f56d1
GJL
22642012-01-02 Georg-Johann Lay <avr@gjlay.de>
2265
2266 PR target/51345
2267 * config/avr/lib1funcs.S: Remove FIXME comments.
2268 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
2269
8c57e547
GJL
22702012-01-02 Georg-Johann Lay <avr@gjlay.de>
2271
2272 Implement light-weight DImode support.
2273 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
2274 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
2275 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
2276 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
2277
04dbc287
NS
22782011-12-30 Nathan Sidwell <nathan@acm.org>
2279
2280 * libgcov.c (gcov_crc32): Remove global var.
2281 (free_fn_data): New function.
2282 (buffer_fn_data): Pass in filename, more robust error recovery.
2283 (crc32_unsigned): New function.
2284 (gcov_exit): More robust detection of new program. More robust
2285 error recovery.
2286 (__gcov_init): Do not update program's crc here.
2287
8e1d97d4
TG
22882011-12-21 Tristan Gingold <gingold@adacore.com>
2289
2290 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
2291
9ffaf4bc
ILT
22922011-12-21 Ian Lance Taylor <iant@google.com>
2293
2294 * config/i386/morestack.S: Simplify CFI opcodes throughout.
2295
a0c8d0c1
ILT
22962011-12-20 Ian Lance Taylor <iant@google.com>
2297
2298 * config/i386/morestack.S (__morestack_non_split): If there is
2299 enough stack space already, don't split. Ask for more stack space
2300 than we required.
2301
69048898
SDJ
23022011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
2303
2304 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
2305 `sys/sdt.h'.
2306 (_Unwind_DebugHook): New function.
2307 (uw_restore_core_regs): New define.
2308 (unwind_phase2): Use uw_restore_core_regs instead of
2309 restore_core_regs.
2310 (unwind_phase2_forced): Likewise.
2311 (__gnu_Unwind_Resume): Likewise.
2312
1bb4b6a3
UB
23132011-12-20 Uros Bizjak <ubizjak@gmail.com>
2314
2315 * config/alpha/linux-unwind.h: Update copyright years.
2316 (MD_FROB_UPDATE_CONTEXT): New define.
2317 (alpha_frob_update_context): New function.
2318
eb028768
RS
23192011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
2320
2321 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
2322 tmake_file rather replacing it.
2323
6a2045bf
IS
23242011-12-15 Iain Sandoe <iains@gcc.gnu.org>
2325
2326 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1bb4b6a3 2327 function is not used for PPC64.
6a2045bf
IS
2328 (save_world): Amend comments. Update the VRsave mask to reflect the
2329 saved regs.
2330 (rest_world): Update comments, do not clobber r10, do not use r8.
2331 (eh_rest_world_r10): Amend comments, do not use r8.
2332 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
2333 no longer used, move restore of CR and target address to the end of
2334 the routine.
2335
a13780a6
L
23362011-12-14 H.J. Lu <hongjiu.lu@intel.com>
2337
2338 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
2339 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
2340
d7288dfb
GJL
23412011-12-14 Georg-Johann Lay <avr@gjlay.de>
2342
2343 PR target/49313
2344 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
2345 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
2346
8d2c862d
EB
23472011-12-11 Eric Botcazou <ebotcazou@adacore.com>
2348
2349 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
2350
3447cae6
GJL
23512011-12-09 Georg-Johann Lay <avr@gjlay.de>
2352
2353 PR target/49313
2354 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
2355 * config/avr/lib1funcs.S (__muldi3): New function.
2356
806fc6aa
AP
23572011-12-06 Andrew Pinski <apinski@cavium.com>
2358
2359 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
2360 size of func_ptr.
2361 (__frame_dummy_init_array_entry): Likewise.
2362
28c5e6b5
GJL
23632011-12-06 Georg-Johann Lay <avr@gjlay.de>
2364
2365 Forward-port from gcc-4_6-branch r181936 2011-12-02.
2366
2367 PR target/51345
2368 PR target/51002
2369 * config/avr/lib1funcs.S (__prologue_saves__,
2370 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
2371 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
2372
8f90394a
IS
23732011-12-04 Iain Sandoe <iains@gcc.gnu.org>
2374
2375 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
2376
06dd33ac
JDA
23772011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2378
2379 PR other/51272
2380 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
2381 (_ITM_deregisterTMCloneTable): Likewise.
2382 (__register_frame_info): Fix unused warning.
2383 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
2384 pthread_default_stacksize_np): Likewise.
2385 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1bb4b6a3 2386
85b8555e
DD
23872011-11-29 DJ Delorie <dj@redhat.com>
2388
2389 * config.host (rl78-*-elf): New case.
2390 * config/rl78: New directory for the Renesas RL78.
2391
4d5ae4ea
BS
23922011-11-29 Bernd Schmidt <bernds@codesourcery.com>
2393
2394 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
2395 formatting.
2396
f9c55897
RO
23972011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2398
2399 PR other/51022
2400 * config/rs6000/t-savresfgpr: New file.
2401 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
2402 $(srcdir)/config/rs6000/eabi.S.
2403 * config/rs6000/t-ppccomm-ldbl: Remove.
2404 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
2405 tmake_file.
2406 (powerpc-*-eabispe*): Likewise.
2407 (powerpc-*-eabi*): Likewise.
2408 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
2409 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
2410 to tmake_file, remove rs6000/t-ppccomm-ldbl.
2411 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
2412 tmake_file.
2413 (powerpc-*-eabisim*): Likewise.
2414 (powerpc-*-elf*): Likewise.
2415 (powerpc-*-eabialtivec*): Likewise.
2416 (powerpc-xilinx-eabi*): Likewise.
2417 (powerpc-*-rtems*): Likewise.
2418 (powerpcle-*-elf*): Likewise.
2419 (powerpcle-*-eabisim*): Likewise.
2420 (powerpcle-*-eabi*): Likewise.
2421
a01207c4
ILT
24222011-11-27 Ian Lance Taylor <iant@google.com>
2423
2424 * generic-morestack.c (__splitstack_find): Check for NULL old
2425 stack value.
2426 (__splitstack_resetcontext): New function.
2427 (__splitstack_releasecontext): New function.
2428 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
2429
2b0b8ab2
IS
24302011-11-27 Iain Sandoe <iains@gcc.gnu.org>
2431
2432 * config/darwin-crt-tm.c: Correct comments, use correct licence.
2433
c1d8101c
IS
24342011-11-27 Iain Sandoe <iains@gcc.gnu.org>
2435
2436 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
2437
8b281334
RH
24382011-11-26 Richard Henderson <rth@redhat.com>
2439
2440 * config/m68k/linux-atomic.c: New file.
2441 * config/m68k/t-linux: New file.
2442 * config.host (m68k-uclinux, m68k-linux): Use it.
2443
7546aa9d
RH
24442011-11-26 Richard Henderson <rth@redhat.com>
2445
2446 * crtstuff.c (__TMC_LIST__): Mark used not unused.
2447 (__TMC_END__): Only declare if hidden is available; in the definition,
2448 if hidden is unavailable add a null record.
2449 (deregister_tm_clones, register_tm_clones): New.
2450 (__do_global_dtors_aux, frame_dummy): Use them.
2451 (__do_global_dtors, __do_global_ctors_1): Likewise.
2452
e2362f5d
IS
24532011-11-22 Iain Sandoe <iains@gcc.gnu.org>
2454
2455 * config/darwin-crt-tm.c: New file.
2456 * config.host (darwin): Build crttms.o crttme.o to provide
2457 startup and shutdown for tm clones.
2458 * config/t-darwin (crttms.o): New build rule.
2459 (crttme.o): Likewise.
2460
6685dd96
HPN
24612011-11-21 Hans-Peter Nilsson <hp@axis.com>
2462
2463 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
2464 et al.
2465
b0dc7e4c
RH
24662011-11-21 Richard Henderson <rth@redhat.com>
2467
2468 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
2469 (__TMC_LIST__, __TMC_END__): New.
2470 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
2471 (__do_global_dtors): Likewise.
2472 (frame_dummy): Call _ITM_registerTMCloneTable.
2473 (__do_global_ctors_1): Likewise.
2474
d4b4b542
RO
24752011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2476
2477 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
2478 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
2479 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
2480 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
2481 * config/i386/t-darwin64: Remove.
2482 * config/sh/t-netbsd (LIB2ADD): Remove.
2483
989bdb74
GJL
24842011-11-21 Georg-Johann Lay <avr@gjlay.de>
2485
2486 PR target/49313
2487 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
2488 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
2489 * config/avr/lib1funcs.S (wmov): New assembler macro.
2490 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
2491 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
2492 (__udivmod64): New function.
2493 (__negdi2): New function.
2494
515a0cfc
GP
24952011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
2496
2497 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
2498 *-*-freebsd*aout*): Remove.
2499
0115d17f
HPN
25002011-11-20 Hans-Peter Nilsson <hp@axis.com>
2501
2502 * static-object.mk (c_flags-$o): Save c_flags.
2503 ($(base)$(objext)): Use it.
2504
93aeb62b
SE
25052011-11-18 Steve Ellcey <sje@cup.hp.com>
2506
2507 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
2508
7bc6df2c
GJL
25092011-11-18 Georg-Johann Lay <avr@gjlay.de>
2510
2511 PR target/49868
2512 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
2513 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
2514 New functions.
2515
425d737b
MGD
25162011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
2517
2518 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
2519 functions.
1bb4b6a3 2520 (aeabi_uidivmod): Likewise.
425d737b
MGD
2521 (umodsi3): Likewise.
2522 (divsi3): Likewise.
2523 (aeabi_idivmod): Likewise.
2524 (modsi3): Likewise.
2525
f2a176dc
TG
25262011-11-16 Tristan Gingold <gingold@adacore.com>
2527
2528 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
2529
7c209481
GJL
25302011-11-15 Georg-Johann Lay <avr@gjlay.de>
2531
2532 PR target/49868
2533 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
2534 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
2535
9dfd5832
JDA
25362011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2537
2538 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
2539 tmake_file list.
2540 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
2541 * config/pa/t-stublib64: Delete.
2542
f77dca5d
RH
25432011-11-12 Richard Henderson <rth@redhat.com>
2544
2545 * config/rs6000/linux-unwind.h (frob_update_context): Properly
2546 cast the pointer argument to _Unwind_SetGRPtr.
2547
902828f0
RO
25482011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2549
2550 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
2551
e14304ef
ILT
25522011-11-09 Ian Lance Taylor <iant@google.com>
2553
2554 * generic-morestack.c: Include <string.h>.
2555 (uintptr_type): Define.
2556 (struct initial_sp): Add dont_block_signals field. Reduce size of
2557 extra array by 1.
2558 (allocate_segment): Set prev field to NULL. Don't set
2559 __morestack_current_segment or __morestack_segments.
2560 (__generic_morestack): Update current->prev and *pp after calling
2561 allocate_segment.
2562 (__morestack_block_signals): Don't do anything if
2563 dont_block_signals is set.
2564 (__morestack_unblock_signals): Likewise.
2565 (__generic_findstack): Check for initial_sp == NULL. Add casts to
2566 uintptr_type.
2567 (__splitstack_block_signals): New function.
2568 (enum __splitstack_content_offsets): Define.
2569 (__splitstack_getcontext, __splitstack_setcontext): New functions.
2570 (__splitstack_makecontext): New function.
2571 (__splitstack_block_signals_context): New function.
2572 (__splitstack_find_context): New function.
2573 * config/i386/morestack.S (__morestack_get_guard): New function.
2574 (__morestack_set_guard, __morestack_make_guard): New functions.
2575 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
2576
e3d871e4
RO
25772011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2578
2579 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
2580 (i[34567]86-*-mingw*): ... here.
2581 (x86_64-*-mingw*): ... here.
2582
e55cef40
RO
25832011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2584
2585 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
2586
5366b186
NS
25872011-11-07 Nathan Sidwell <nathan@acm.org>
2588
2589 * libgcov.c (struct gcov_fn_buffer): New struct.
2590 (buffer_fn_data): New helper.
2591 (gcov_exit): Rework for new gcov data structures.
2592
74155a6f
GJL
25932011-11-07 Georg-Johann Lay <avr@gjlay.de>
2594
2595 PR target/49313
2596 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
2597
200feb07
RO
25982011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2599
2600 * config.host (tmake_file): Correct comment.
2601 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
2602 t-libgcc-pic.
2603 (bfin*-uclinux*): Likewise.
2604 (bfin*-linux-uclibc*): Likewise.
2605 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
2606
2607 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
2608 assigning.
2609 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
2610 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
2611 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
2612 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
2613 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
2614 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
2615 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
2616 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
2617 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
2618 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
2619 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
2620 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
2621 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
2622
2623 * config/bfin/t-elf: Remove.
2624 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
2625
c9cd1a07
RO
26262011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2627
2628 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
2629 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
2630 (lm32-*-elf*, lm32-*-rtems*): Split into ...
2631 (lm32-*-elf*): ... this.
2632 (lm32-*-rtems*): ... and this.
2633 Add to tmake_file.
2634 (m32r-*-rtems*): Add to tmake_file.
2635 (moxie-*-rtems*): Likewise.
2636 (sparc-*-rtems*): Likewise.
2637 Remove t-rtems from tmake_file.
2638 (sparc64-*-rtems*): Likewise.
2639 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
2640 instead.
2641
9fbcc75d
RO
26422011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2643
2644 PR bootstrap/50982
2645 * config/gthr-posix.h: Move ...
2646 * gthr-posix.h: ... here.
2647 * config/gthr-lynx.h: Reflect this.
2648 * config/gthr-vxworks.h: Likewise.
2649 * config/rs6000/gthr-aix.h: Likewise.
2650 * configure.ac (target_thread_file): Likewise.
2651 * configure: Regenerate.
2652
76644b68
SH
26532011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
2654
2655 * config.host (arm*-*-rtemseabi*): New target.
2656
5e490f2a
JDA
26572011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2658
2659 PR other/50991
2660 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
2661 extra-parts.
2662
feeeff5c
JR
26632011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
2664
2665 * config.host (epiphany-*-elf*): New configuration.
2666 * config/epiphany: New Directory.
2667
d618bb2c
RC
26682011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
2669
2670 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
2671 * config/avr/t-rtems: New.
2672 Filter out _exit from LIB1ASMFUNCS.
2673
1bb6f778
DM
26742011-11-04 David S. Miller <davem@davemloft.net>
2675
2676 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
2677 * configure: Rebuild.
2678
9a7f7422
AK
26792011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2680
2681 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
2682 variable.
2683
e4fe948a
GJL
26842011-11-04 Georg-Johann Lay <avr@gjlay.de>
2685
2686 PR target/50931
2687 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
2688 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
2689
7084e037
JS
26902011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
2691
2692 PR target/50989
2693 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
2694
1a032034
RO
26952011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2696
2697 * config/c6x/t-elf (LIB2ADDEH): Set.
2698 * config/c6x/t-c6x-elf: Remove.
2699
d385f772
RO
27002011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2701
2702 * config/i386/sol2-ci.S: Rename to ...
2703 * config/i386/crti.S: ... this.
2704 * config/i386/sol2-cn.S: Rename to ...
2705 * config/i386/crtn.S: ... this.
2706 * config/sparc/sol2-ci.S: Rename to ...
2707 * config/sparc/crti.S: ... this.
2708 * config/sparc/sol2-cn.S: Rename to ...
2709 * config/sparc/crtn.S: ... this.
2710 * config/t-sol2 (CUSTOM_CRTIN): Remove.
2711 (crti.o, crtn.o): Remove.
2712
1ba878a9
TG
27132011-11-04 Tristan Gingold <gingold@adacore.com>
2714
2715 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
2716
02750c15
KK
27172011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
2718
2719 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
2720
bf86b067
HPN
27212011-11-03 Hans-Peter Nilsson <hp@axis.com>
2722
2723 * config.host (crisv32-*-none, cris-*-none): Remove.
2724 (crisv32-*-elf): Append to tmake_file, don't just set it.
2725 (cris-*-elf): Add missing t-fdpbit to tmake_file.
2726
d0bc53bd
RO
27272011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2728
2729 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
2730 (ecrtn$(objext)): Likewise.
2731 (ncrti$(objext)): Likewise.
2732 (ncrtn$(objext)): Likewise.
2733
036da830
AS
27342011-11-03 Andreas Schwab <schwab@redhat.com>
2735
2736 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
2737
d2a7d041
DM
27382011-11-02 David S. Miller <davem@davemloft.net>
2739
2740 * configure.ac: Set host_address on sparc too.
2741 * configure: Regenerate.
2742 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
2743 based upon host_address.
2744 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
2745
af8ed618
JM
27462011-11-02 Jason Merrill <jason@redhat.com>
2747
2748 * config/rs6000/t-ppccomm: Add missing \.
2749
5d1c8e77
RO
27502011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2751
2752 * gthr-single.h, gthr.h: New files.
2753 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
2754 config/gthr-vxworks.h, config/i386/gthr-win32.h,
2755 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
2756 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
2757 * config/i386/gthr-win32.c: Include "gthr-win32.h".
2758 * configure.ac (thread_header): New variable.
2759 Set it depending on target_thread_file.
2760 (gthr-default.h): Link from $thread_header.
2761 * configure: Regenerate.
2762 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
2763
852b75ed
RO
27642011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2765
2766 * configure.ac (tm_file_): New variable.
2767 Determine from tm_file.
2768 (tm_file, tm_defines): Substitute.
2769 * configure: Regenerate.
2770 * mkheader.sh: New file.
2771 * Makefile.in (clean): Remove libgcc_tm.h.
2772 ($(objects)): Depend on libgcc_tm.h.
2773 (libgcc_tm_defines, libgcc_tm_file): New variables.
2774 (libgcc_tm.h, libgcc_tm.stamp): New targets.
2775 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
2776 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
2777 ($(extra-parts)): Depend on libgcc_tm.h.
2778 * config.host (tm_defines, tm_file): New variable.
2779 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
2780 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
2781 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
2782 (avr-*-rtems*): Likewise.
2783 (avr-*-*): Likewise.
2784 (frv-*-elf): Likewise.
2785 (frv-*-*linux*): Likewise.
2786 (h8300-*-rtems*): Likewise.
2787 (h8300-*-elf*): Likewise.
2788 (i[34567]86-*-darwin*): Likewise.
2789 (x86_64-*-darwin*): Likewise.
2790 (rx-*-elf): Likewise.
2791 (tic6x-*-uclinux): Likewise.
2792 (tic6x-*-elf): Likewise.
2793 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
2794 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
2795 * config/i386/cygming-crtbegin.c: Likewise.
2796 * config/i386/cygming-crtend.c: Likewise.
2797 * config/ia64/fde-vms.c: Likewise.
2798 * config/ia64/unwind-ia64.c: Likewise.
2799 * config/libbid/bid_gcc_intrinsics.h: Likewise.
2800 * config/rs6000/darwin-fallback.c: Likewise.
2801 * config/stormy16/lib2funcs.c: Likewise.
2802 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
2803 * crtstuff.c: Likewise.
2804 * dfp-bit.h: Likewise.
2805 * emutls.c: Likewise.
2806 * fixed-bit.c: Likewise.
2807 * fp-bit.c: Likewise.
2808 * generic-morestack-thread.c: Likewise.
2809 * generic-morestack.c: Likewise.
2810 * libgcc2.c: Likewise.
2811 * libgcov.c: Likewise.
2812 * unwind-dw2-fde-dip.c: Likewise.
2813 * unwind-dw2-fde.c: Likewise.
2814 * unwind-dw2.c: Likewise.
2815 * unwind-sjlj.c: Likewise.
2816
f9989b51
RO
28172011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2818
2819 * configure.ac: Include ../config/picflag.m4.
2820 (GCC_PICFLAG): Call it.
2821 Substitute.
2822 * configure: Regenerate.
2823 * Makefile.in (gcc_srcdir): Remove.
2824 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
2825 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
2826 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
2827 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
2828 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
2829 Use $<.
2830 Remove comment.
2831 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
2832 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
2833 to refer to libgcc2.c.
2834 Use $<.
2835 * config/darwin-64.c: New file.
2836 * config/darwin-crt3.c: Remove comment.
2837 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
2838 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
2839 config/udivmodsi4.c: New files.
2840 * config/memcmp.c, config/memcpy.c, config/memmove.c,
2841 config/memset.c: New files.
2842 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
2843 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
2844 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
2845 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
2846 * config/t-openbsd-thread: New file.
2847 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
2848 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
2849 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
2850 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
2851 qrnnd.S.
2852 Adapt filename.
2853 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
2854 to refer to gthr-posix.c.
2855 * config/alpha/t-vms (LIB2ADD): Set.
2856 * config/alpha/vms-gcc_shell_handler.c: New file.
2857 * config/arm/bpabi.c, config/arm/fp16.c,
2858 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
2859 config/arm/unaligned-funcs.c: New files.
2860 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
2861 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
2862 * config/arm/t-linux: Likewise.
2863 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
2864 * config/arm/t-netbsd: New file.
2865 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
2866 * config/arm/t-symbian (LIB2ADD_ST): Set.
2867 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
2868 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2869 * config/bfin/t-elf: New file.
2870 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
2871 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
2872 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
2873 config/c6x/ltf.c: New files.
2874 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
2875 (HOST_LIBGCC2_CFLAGS): Set.
2876 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
2877 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2878 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
2879 New files.
2880 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
2881 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
2882 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
2883 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
2884 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
2885 files.
2886 * config/frv/t-frv (LIB2ADD): Set.
2887 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2888 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
2889 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
2890 config/h8300/popcounthi2.c: New files.
2891 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
2892 * config/i386/gthr-win32.c: New file.
2893 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
2894 * config/i386/t-cygwin: Likewise.
2895 * config/i386/t-darwin, config/i386/t-darwin64,
2896 config/i386/t-gthr-win32, config/i386/t-interix: New files.
2897 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
2898 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2899 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2900 * config/ia64/quadlib.c: New file.
2901 * config/ia64/t-hpux (LIB2ADD): Set.
2902 * config/ia64/t-ia64: Add comment.
2903 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
2904 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2905 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
2906 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
2907 * config/m32c/t-m32c (LIB2ADD): Set.
2908 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
2909 * config/m32r/t-m32r: Likewise.
2910 * config/m68k/fpgnulib.c: New file.
2911 * config/m68k/t-floatlib (LIB2ADD): Set.
2912 (xfgnulib.c): New target.
2913 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
2914 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
2915 * config/mep/t-mep (LIB2ADD): Set.
2916 * config/microblaze/divsi3.asm: Rename to divsi3.S.
2917 * config/microblaze/moddi3.asm: Rename to moddi3.S.
2918 * config/microblaze/modsi3.asm: Rename to modsi3.S.
2919 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
2920 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
2921 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
2922 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
2923 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
2924 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
2925 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
2926 New files.
2927 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
2928 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
2929 * config/pa/fptr.c, config/pa/lib2funcs.S,
2930 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
2931 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
2932 (LIB2ADD, LIB2ADD_ST): Set.
2933 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
2934 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
2935 Set.
2936 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
2937 * config/pdp11/t-pdp11: New file.
2938 * config/picochip/libgccExtras/adddi3.S,
2939 config/picochip/libgccExtras/ashlsi3.S,
2940 config/picochip/libgccExtras/ashrsi3.S,
2941 config/picochip/libgccExtras/clzsi2.S,
2942 config/picochip/libgccExtras/cmpsi2.S,
2943 config/picochip/libgccExtras/divmod15.S,
2944 config/picochip/libgccExtras/divmodhi4.S,
2945 config/picochip/libgccExtras/divmodsi4.S,
2946 config/picochip/libgccExtras/lshrsi3.S,
2947 config/picochip/libgccExtras/parityhi2.S,
2948 config/picochip/libgccExtras/popcounthi2.S,
2949 config/picochip/libgccExtras/subdi3.S,
2950 config/picochip/libgccExtras/ucmpsi2.S,
2951 config/picochip/libgccExtras/udivmodhi4.S,
2952 config/picochip/libgccExtras/udivmodsi4.S: New files.
2953 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
2954 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
2955 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
2956 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
2957 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
2958 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
2959 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
2960 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
2961 files.
2962 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
2963 (HOST_LIBGCC2_CFLAGS): Set.
2964 * config/rs6000/t-darwin64: New file.
2965 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
2966 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
2967 * config/rs6000/t-ppccomm (LIB2ADD): Add
2968 $(srcdir)/config/rs6000/tramp.S.
2969 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
2970 Add $(srcdir)/config/rs6000/eabi.S.
2971 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
2972 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
2973 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
2974 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
2975 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
2976 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
2977 * config/rs6000/tramp.S: New file.
2978 * config/s390/t-tpf: Remove.
2979 * config/sh/linux-atomic.S: New file.
2980 * config/sh/t-linux (LIB2ADD): Set.
2981 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
2982 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
2983 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
2984 to unwind-dw2.c.
2985 (HOST_LIBGCC2_CFLAGS): Set.
2986 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2987 * config/spu/divmodti4.c, config/spu/divv2df3.c,
2988 config/spu/float_disf.c, config/spu/float_unsdidf.c,
2989 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
2990 config/spu/mfc_multi_tag_release.c,
2991 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
2992 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
2993 config/spu/multi3.c: New files.
2994 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
2995 (HOST_LIBGCC2_CFLAGS): Set.
2996 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
2997 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
2998 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
2999 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
3000 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
3001 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
3002 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
3003 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
3004 config/stormy16/umodsi3.c: New files.
3005 * config/xtensa/lib2funcs.S: New file.
3006 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
3007 * config/xtensa/t-xtensa (LIB2ADD): Set.
3008 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
3009 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
3010 Add t-freebsd-thread to tmake_file for posix threads.
3011 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
3012 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
3013 (*-*-lynxos*): Likewise.
3014 (*-*-netbsd*): Likewise.
3015 (*-*-openbsd*): Likewise.
3016 Add t-openbsd-thread to tmake_file for posix threads.
3017 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
3018 (*-*-vxworks*): Set tmake_file.
3019 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
3020 (alpha*-*-freebsd*): Likewise.
3021 (alpha*-*-netbsd*): Likewise.
3022 (alpha*-*-openbsd*): Likewise.
3023 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
3024 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
3025 (alpha*-dec-*vms*): Likewise.
3026 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
3027 (bfin*-elf*): Add bfin/t-elf to tmake_file.
3028 (bfin*-uclinux*): Likewise.
3029 (bfin*-linux-uclibc*): Likewise.
3030 (crisv32-*-elf): Add cris/t-cris to tmake_file.
3031 (crisv32-*-none): Likewise.
3032 (cris-*-elf): Likewise.
3033 (cris-*-none): Likewise.
3034 (cris-*-linux*, crisv32-*-linux*): Likewise.
3035 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
3036 tmake_file.
3037 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
3038 tmake_file.
3039 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
3040 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
3041 (x86_64-*-elf*): Likewise.
3042 (i[34567]86-*-nto-qnx*): Likewise.
3043 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
3044 win32 threads.
3045 (x86_64-*-mingw*): Likewise.
3046 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
3047 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
3048 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
3049 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
3050 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
3051 tmake_file.
3052 (mipsisa64sr71k-*-elf*): Likewise.
3053 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
3054 (mips-*-elf*, mipsel-*-elf*): Likewise.
3055 (mips64-*-elf*, mips64el-*-elf*): Likewise.
3056 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
3057 (mips*-*-rtems*): Likewise.
3058 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
3059 to tmake_file.
3060 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
3061 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
3062 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
3063 (spu-*-elf*): Likewise.
3064 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
3065
45b86625
RO
30662011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3067
3068 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
3069 $(srcdir) to refer to $(LIB1ASMSRC).
3070 Use $<.
3071 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
3072 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
3073 config/arm/lib1funcs.S: New files.
3074 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
3075 * config/arm/t-arm: New file.
3076 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
3077 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
3078 config/arm/t-strongarm-elf: New files.
3079 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
3080 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
3081 * config/avr/lib1funcs.S: New file.
3082 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
3083 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
3084 * config/c6x/lib1funcs.S: New file.
3085 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
3086 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
3087 * config/frv/lib1funcs.S: New file.
3088 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
3089 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
3090 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
3091 * config/ia64/__divxf3.asm: Rename to ...
3092 * config/ia64/__divxf3.S: ... this.
3093 Adapt lib1funcs.asm filename.
3094 * config/ia64/_fixtfdi.asm: Rename to ...
3095 * config/ia64/_fixtfdi.S: ... this.
3096 Adapt lib1funcs.asm filename.
3097 * config/ia64/_fixunstfdi.asm: Rename to ...
3098 * config/ia64/_fixunstfdi.S: ... this.
3099 Adapt lib1funcs.asm filename.
3100 * config/ia64/_floatditf.asm: Rename to ...
3101 * config/ia64/_floatditf.S: ... this.
3102 Adapt lib1funcs.asm filename.
3103 * config/ia64/lib1funcs.S: New file.
3104 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
3105 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
3106 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
3107 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
3108 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
3109 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
3110 * config/mep/lib1funcs.S: New file.
3111 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
3112 * config/mips/mips16.S: New file.
3113 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
3114 * config/pa/milli64.S: New file.
3115 * config/pa/t-linux, config/pa/t-linux64: New files.
3116 * config/picochip/lib1funcs.S: New file.
3117 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
3118 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
3119 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
3120 * config/sh/t-netbsd: New file.
3121 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
3122 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
3123 * config/sh/t-sh64: New file.
3124 * config/sparc/lb1spc.S: New file.
3125 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
3126 filename.
3127 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
3128 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
3129 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
3130 config/xtensa/lib1funcs.S: New files.
3131 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
3132 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
3133 tmake_file.
3134 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
3135 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
3136 (arm*-*-linux*): Likewise.
3137 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
3138 arm*-*-linux-*eabi, add arm/t-linux otherwise.
3139 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
3140 (arm*-*-ecos-elf): Likewise.
3141 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
3142 (arm*-*-rtems*): Likewise.
3143 (arm*-*-elf): Likewise.
3144 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
3145 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
3146 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
3147 (bfin*-uclinux*): Likewise.
3148 (bfin*-linux-uclibc*): Likewise.
3149 (bfin*-rtems*): Likewise.
3150 (bfin*-*): Likewise.
3151 (fido-*-elf): Merge into m68k-*-elf*.
3152 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
3153 (frv-*-*linux*): Add frv/t-frv to tmake_file.
3154 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
3155 (h8300-*-elf*): Likewise.
3156 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
3157 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
3158 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
3159 (i[34567]86-*-mingw*): Likewise.
3160 (x86_64-*-mingw*): Likewise.
3161 (i[34567]86-*-interix3*): Likewise.
3162 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
3163 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
3164 (m68k-*-elf*): Also handle fido-*-elf.
3165 Add m68k/t-floatlib to tmake_file.
3166 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
3167 (m68k-*-linux*): Likewise.
3168 (m68k-*-rtems*): Likewise.
3169 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
3170 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
3171 sh64*-*-*.
3172 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
3173 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
3174 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
3175 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
3176 sh/t-netbsd to tmake_file.
3177 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
3178 (sh-*-rtems*): Add sh/t-sh to tmake_file.
3179 (sh-wrs-vxworks): Likewise.
3180 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
3181 *-leon[3-9]*.
3182 (v850*-*-*): Add v850/t-v850 to tmake_file.
3183 (vax-*-linux*): Add vax/t-linux to tmake_file.
3184 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
3185
5f73c6cc
RO
31862011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3187
3188 * crtstuff.c: New file.
3189 * Makefile.in (CRTSTUFF_CFLAGS): Define.
3190 (CRTSTUFF_T_CFLAGS): Define.
3191 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
3192 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
3193 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
3194 crtstuff.c.
3195 Use $<.
3196 (crtbeginT.o): Use $(objext).
3197 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
3198 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
3199 (gcc-extra-parts): Remove.
3200 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
3201 Set extra_parts.
3202 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
3203 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
3204 Add t-crtstuff-pic to tmake_file.
3205 (*-*-lynxos*): New case.
3206 Set tmake_file, extra_parts.
3207 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
3208 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
3209 *-*-netbsdelf[2-9]*.
3210 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
3211 (*-*-rtems*): Set extra_parts.
3212 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
3213 (*-*-uclinux*): New case.
3214 Set extra_parts.
3215 (*-*-vms*): New case.
3216 Set tmake_file, extra_parts.
3217 (*-*-elf): Set extra_parts.
3218 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
3219 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
3220 vms/t-vms64.
3221 Set extra_parts.
3222 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
3223 Set extra_parts.
3224 (arm*-*-freebsd*): Add t-crtin to tmake_file.
3225 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
3226 (arm-wrs-vxworks): Append to tmake_file.
3227 Set extra_parts.
3228 (arm*-*-uclinux*): Set extra_parts.
3229 (arm*-*-ecos-elf): Likewise.
3230 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
3231 arm*-*-eabi*.
3232 (arm*-*-rtems*): Set extra_parts.
3233 (arm*-*-elf): Likewise.
3234 (avr-*-rtems*): Clear extra_parts.
3235 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
3236 Set extra_parts.
3237 (bfin*-uclinux*): Likewise.
3238 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
3239 (bfin*-rtems*): Append to tmake_file.
3240 Set extra_parts.
3241 (bfin*-*): Likewise.
3242 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
3243 (crisv32-*-elf): ... this.
3244 (crisv32-*-none): ... this.
3245 (cris-*-elf, cris-*-none): New cases.
3246 Add cris/t-elfmulti to tmake_file.
3247 (fr30-*-elf): Append to tmake_file.
3248 Set extra_parts.
3249 (frv-*-elf): Append to tmake_file, add frv/t-frv.
3250 Set extra_parts.
3251 (h8300-*-rtems*): Append to tmake_file.
3252 Set extra_parts.
3253 (h8300-*-elf*): Likewise.
3254 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
3255 Set extra_parts.
3256 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
3257 Set extra_parts.
3258 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
3259 (x86_64-*-elf*): Likewise.
3260 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
3261 (x86_64-*-freebsd*): Likewise.
3262 (x86_64-*-netbsd*): Likewise.
3263 (i[34567]86-*-linux*): Likewise.
3264 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
3265 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
3266 (x86_64-*-linux*): Likewise.
3267 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
3268 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
3269 tmake_file.
3270 Set extra_parts.
3271 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
3272 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
3273 Append to extra_parts, remove crtbegin.o, crtend.o.
3274 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
3275 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
3276 crtend.o, crtbeginS.o, crtendS.o.
3277 (ia64*-*-linux*): Comment extra_parts.
3278 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
3279 Set extra_parts.
3280 (iq2000*-*-elf*): Clear extra_parts.
3281 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
3282 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
3283 (m32r-*-elf*, m32r-*-rtems*): Split off ...
3284 (m32r-*-rtems*): ... this.
3285 Add m32r/t-m32r to tmake_file.
3286 (m68k-*-elf*): Add t-crtin to tmake_file.
3287 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
3288 (mcore-*-elf): Likewise.
3289 (microblaze*-*-*): Set extra_parts.
3290 (mips*-sde-elf*): New case.
3291 Set tmake_file, extra_parts.
3292 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
3293 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
3294 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
3295 tmake_file.
3296 Set extra_parts.
3297 (mipsisa64sr71k-*-elf*): Likewise.
3298 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
3299 (mips-*-elf*, mipsel-*-elf*): Likewise.
3300 (mips64-*-elf*, mips64el-*-elf*): Likewise.
3301 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
3302 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
3303 (mips*-*-rtems*): Likewise.
3304 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
3305 (moxie-*-*): Split into ...
3306 (moxie-*-elf, moxie-*-uclinux*): ... this.
3307 Add to extra_parts, remove crtbegin.o, crtend.o.
3308 (moxie-*-rtems*): New case.
3309 Set tmake_file.
3310 Clear extra_parts.
3311 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
3312 Set extra_parts.
3313 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
3314 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
3315 tmake_file.
3316 Set extra_parts.
3317 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
3318 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
3319 Set extra_parts.
3320 (powerpc-*-eabisim*): Likewise.
3321 (powerpc-*-elf*): Likewise.
3322 (powerpc-*-eabialtivec*): Likewise.
3323 (powerpc-xilinx-eabi*): Likewise.
3324 (powerpc-*-eabi*): Likewise.
3325 (powerpc-*-rtems*): Likewise.
3326 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
3327 tmake_file.
3328 Set extra_parts.
3329 (powerpc-*-lynxos*): Add to tmake_file.
3330 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
3331 rs6000/t-crtstuff, t-crtstuff-pic.
3332 Set extra_parts.
3333 (powerpcle-*-eabisim*): Likewise.
3334 (powerpcle-*-eabi*): Likewise.
3335 (rx-*-elf): Remove extra_parts.
3336 (s390x-ibm-tpf*): Set extra_parts.
3337 (score-*-elf): Set extra_parts.
3338 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
3339 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
3340 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
3341 (sh64l*-*-netbsd*): Split into ...
3342 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
3343 Add t-crtstuff-pic to tmake_file.
3344 Set extra_parts.
3345 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
3346 Set extra_parts.
3347 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
3348 (sparc-*-elf*): Remove t-crtin from tmake_file.
3349 Add to extra_parts, remove crtbegin.o, crtend.o.
3350 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
3351 (sparc64-*-linux*): Likewise.
3352 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
3353 Add to extra_parts, remove crtbegin.o, crtend.o.
3354 (sparc64-*-elf*): Remove t-crtin from tmake_file.
3355 Add to extra_parts, remove crtbegin.o, crtend.o.
3356 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
3357 Add to extra_parts, remove crtbegin.o, crtend.o.
3358 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
3359 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
3360 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
3361 Set extra_parts.
3362 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
3363 Set extra_parts.
3364 (tic6x-*-*): Change to ...
3365 (tic6x-*-elf): ... this.
3366 Set extra_parts.
3367 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
3368 Set extra_parts.
3369 (am33_2.0-*-linux*): Add comment.
3370 (mep*-*-*): Add mep/t-mep to tmake_file.
3371 Set extra_parts.
3372 * config/alpha/t-vms: New file.
3373 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
3374 * config/arm/crti.S, config/arm/crtn.S: New files.
3375 * config/bfin/crti.S, config/bfin/crtn.S: New files.
3376 * config/bfin/crtlibid.S: New file.
3377 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
3378 * config/c6x/crti.S, config/c6x/crtn.S: New files.
3379 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
3380 (crti.o, crtin.o): New rules.
3381 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
3382 * config/c6x/t-uclinux: New file.
3383 * config/cris/t-elfmulti: New file.
3384 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
3385 * config/fr30/crti.S, config/fr30/crtn.S: New files.
3386 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
3387 * config/frv/t-frv: New file.
3388 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
3389 * config/h8300/crti.S, config/h8300/crtn.S: New files.
3390 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
3391 New files.
3392 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
3393 refer to cygming-crtbegin.c, cygming-crtend.c.
3394 Use $<.
3395 * config/i386/t-nto: New file.
3396 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
3397 * config/ia64/crti.S, config/ia64/crtn.S: New files.
3398 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
3399 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
3400 Use .S extension.
3401 Use $<.
3402 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
3403 (crtinitS.o): New rule.
3404 * config/ia64/vms-crtinit.S: New file.
3405 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
3406 * config/m32r/initfini.c: New file.
3407 * config/m32r/t-linux, config/m32r/t-m32r: New files.
3408 * config/m68k/crti.S, config/m68k/crtn.S: New files.
3409 * config/mcore/crti.S, config/mcore/crtn.S: New files.
3410 * config/mep/t-mep: New file.
3411 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
3412 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
3413 * config/mips/crti.S, config/mips/crtn.S: New files.
3414 * config/mips/t-crtstuff: New file.
3415 * config/mmix/crti.S, config/mmix/crtn.S: New files.
3416 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
3417 (CUSTOM_CRTIN): Set.
3418 ($(T)crti.o, $(T)crtn.o): Remove $(T),
3419 dependencies.
3420 Use $(srcdir) to refer to crti.S, crtn.S.
3421 Use .S extension, $<.
3422 * config/moxie/crti.asm: Rename to ...
3423 * config/moxie/crti.S: ... this.
3424 * config/moxie/crtn.asm: Rename to ...
3425 * config/moxie/crtn.S: ... this.
3426 * config/moxie/t-moxie: Remove.
3427 * config/pa/stublib.c: New file.
3428 * config/pa/t-stublib, config/pa/t-stublib64: New files.
3429 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
3430 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
3431 * config/rs6000/t-crtstuff: New file.
3432 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
3433 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
3434 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
3435 Make output file explicit.
3436 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
3437 Make output file explicit.
3438 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
3439 Make output file explicit.
3440 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
3441 Make output file explicit.
3442 * config/score/crti.S, config/score/crtn.S: New files.
3443 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
3444 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
3445 files.
3446 * config/sh/t-sh, config/sh/t-superh: New files.
3447 * config/sparc/t-linux64: New file.
3448 * config/spu/cache.S, config/spu/cachemgr.c: New files.
3449 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
3450 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
3451 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
3452 * config/t-crtin: Remove.
3453 * config/t-crtstuff-pic: New file.
3454 * config/t-sol2 (CUSTOM_CRTIN): Set.
3455 (crti.o, crtn.o): New rules.
3456 * config/vms/t-vms: New file.
3457 * config/vms/vms-ucrt0.c: New file.
3458 * config/xtensa/t-elf: New file.
3459
b040f2be
RO
34602011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3461
3462 * Makefile.in (SHLIB_NM_FLAGS): Set.
3463 * mkmap-flat.awk, mkmap-symver.awk: New files.
3464 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
3465 exceptions.
3466 * configure: Regenerate.
3467 * config/libgcc-glibc.ver: New file.
3468 * config/libgcc-libsystem.ver: New file.
3469 * config/t-libunwind (SHLIB_LC): Set.
3470 * config/t-linux: New file.
3471 * config/t-slibgcc (INSTALL_SHLIB): New.
3472 (SHLIB_INSTALL): Use it.
3473 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
3474 to mkmap-symver.awk.
3475 (SHLIB_MAPFILES): Don't append, adapt pathname.
3476 (SHLIB_VERPFX): Set.
3477 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
3478 to mkmap-symver.awk.
3479 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
3480 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
3481 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
3482 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
3483 to mkmap-flat.awk.
3484 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
3485 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
3486 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
3487 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
3488 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
3489 * config/i386/libgcc-darwin.10.4.ver,
3490 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
3491 New files.
3492 * config/i386/t-darwin: Remove.
3493 * config/i386/t-darwin64: Likewise.
3494 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
3495 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
3496 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
3497 * config/i386/t-linux: New file.
3498 * config/i386/t-mingw32: New file.
3499 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
3500 * config/ia64/t-glibc: Rename to ...
3501 * config/ia64/t-linux: ... this.
3502 (SHLIB_MAPFILES): Set.
3503 * config/ia64/t-glibc-libunwind: Rename to ...
3504 * config/ia64/t-linux-libunwind: ... this.
3505 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
3506 * config/ia64/t-slibgcc-hpux: New file.
3507 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
3508 * config/m68k/t-slibgcc-elf-ver: New file.
3509 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
3510 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
3511 to mkmap-flat.awk.
3512 * config/pa/t-slibgcc-hpux: New file.
3513 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
3514 files.
3515 * config/rs6000/libgcc-darwin.10.4.ver,
3516 config/rs6000/libgcc-darwin.10.5.ver: New files.
3517 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
3518 config/rs6000/libgcc-glibc.ver.
3519 * config/rs6000/libgcc-ppc64.ver: Rename to
3520 config/rs6000/libgcc-ibm-ldouble.ver.
3521 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
3522 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
3523 * config/rs6000/t-ldbl128: Rename to ...
3524 * config/rs6000/t-linux: ... this.
3525 (SHLIB_MAPFILES): Adapt filename.
3526 * config/rs6000/t-slibgcc-aix: New file.
3527 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
3528 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
3529 libgcc-excl.ver, libgcc-glibc.ver.
3530 (SHLIB_LINK, SHLIB_INSTALL): Remove.
3531 * config/sparc/libgcc-glibc.ver: New file.
3532 * config/sparc/t-linux: New file.
3533 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
3534 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
3535 t-slibgcc-elf-ver to tmake_file.
3536 Add t-slibgcc-nolc-override to tmake_file for posix threads on
3537 *-*-freebsd[34].
3538 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
3539 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
3540 t-slibgcc-elf-ver, t-linux to tmake_file.
3541 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
3542 tmake_file.
3543 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
3544 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
3545 (alpha*-dec-*vms*): Likewise.
3546 (arm*-*-freebsd*): Append to tmake_file.
3547 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
3548 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
3549 arm*-*-linux-*eabi.
3550 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
3551 tmake_file for arm*-*-symbianelf*.
3552 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
3553 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
3554 cris/t-linux.
3555 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
3556 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
3557 pa/t-slibgcc-dwarf-ver to tmake_file.
3558 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
3559 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
3560 (hppa*64*-*-hpux11*): Likewise.
3561 (hppa[12]*-*-hpux11*): Likewise.
3562 (x86_64-*-darwin*): Don't override tmake_file, but only keep
3563 i386/t-crtpc, i386/t-crtfm.
3564 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
3565 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
3566 to tmake_file.
3567 Add i386/t-cygwin to tmake_file.
3568 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
3569 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
3570 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
3571 to tmake_file.
3572 Add i386/t-mingw32 to tmake_file.
3573 (x86_64-*-mingw*): Likewise.
3574 (ia64*-*-freebsd*): Append to tmake_file.
3575 (ia64*-*-linux*): Append to tmake_file.
3576 Replace ia64/t-glibc by ia64/t-linux.
3577 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
3578 system libunwind.
3579 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
3580 t-slibgcc-hpux to tmake_file.
3581 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
3582 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
3583 (m32rle-*-linux*): Likewise.
3584 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
3585 sjlj exceptions.
3586 (microblaze*-linux*): New case.
3587 Append to tmake_file, add t-slibgcc-nolc-override.
3588 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
3589 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
3590 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
3591 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
3592 rs6000/t-slibgcc-aix to tmake_file.
3593 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
3594 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
3595 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
3596 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
3597 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
3598 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
3599 sh*-*-linux*.
3600 (sparc-*-linux*): Append to tmake_file for *-leon*.
3601 Add sparc/t-linux to tmake_file for non-Leon targets.
3602 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
3603 (tic6x-*-uclinux): New case.
3604 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
3605 (tic6x-*-*): Add c6x/t-elf to tmake_file.
3606 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
3607 (am33_2.0-*-linux*): Append to tmake_file.
3608 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
3609 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
3610 x86_64-*-kfreebsd*-gnu.
3611 Add i386/t-linux to tmake_file.
3612
18b4bd7b
ILT
36132011-10-28 Ian Lance Taylor <iant@google.com>
3614
3615 * config/i386/morestack.S: Correct CFI information to do proper
3616 returns throughout function. In 32-bit mode, save %ebx so that it
3617 is restored on unwind.
3618
5b2d9d90
BS
36192011-10-25 Bernd Schmidt <bernds@codesourcery.com>
3620
3621 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
3622 case where B3 isn't the return register.
3623
0d53e346
BS
3624 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
3625 logic for doubleword pops.
3626
cbffbd59
AT
36272011-10-25 Andreas Tobler <andreast@fgznet.ch>
3628
3629 * config/rs6000/t-freebsd: Add wildcard.
3630
56dc349e
PB
36312011-10-21 Paul Brook <paul@codesourcery.com>
3632
3633 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
3634
1e06b07d
UB
36352011-10-16 Uros Bizjak <ubizjak@gmail.com>
3636 Eric Botcazou <ebotcazou@adacore.com>
3637
3638 PR target/50737
3639 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
3640 fs->signal_frame to 1.
3641
b5204884
ILT
36422011-10-07 Ian Lance Taylor <iant@google.com>
3643
3644 * generic-morestack-thread.c: #include <errno.h>.
3645
91a639a1
ILT
36462011-10-07 Ian Lance Taylor <iant@google.com>
3647
3648 PR target/46093
3649 * generic-morestack.c (__generic_morestack): Make sure the segment
3650 is large enough for both the stack frame and the copied
3651 parameters.
3652
cc49116d
RO
36532011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3654
3655 PR bootstrap/49804
3656 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
3657 extra_parts.
3658
2996d8c3
NC
36592011-09-28 Nick Clifton <nickc@redhat.com>
3660
3661 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
3662 64-bit doubles are not enabled.
3663 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
3664 and floatunsisf functions.
3665
1e874273 36662011-09-13 Paul Brook <paul@codesourcery.com>
2996d8c3 3667
1e874273
PB
3668 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
3669 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
3670 * unwind-arm-common.inc: New file.
3671 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
3672 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
3673 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
3674 * config/c6x/libunwind.S: New file.
3675 * config/c6x/pr-support.c: New file.
3676 * config/c6x/unwind-c6x.c: New file.
3677 * config/c6x/unwind-c6x.h: New file.
3678 * config/c6x/t-c6x-elf: New file.
3679
f70c879a
UB
36802011-08-23 Uros Bizjak <ubizjak@gmail.com>
3681
3682 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
3683 (ASM_DIVZERO): Ditto.
3684 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
3685
c55b374b
RS
36862011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
3687
3688 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
3689
1e138510
RS
36902011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
3691
3692 PR target/50090
3693 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
3694 instead of an assembly one.
3695
1563503d
PB
36962011-08-12 Paolo Bonzini <bonzini@gnu.org>
3697
3698 PR bootstrap/50047
3699 * Makefile.in (install-unwind_h): Create
3700 $(gcc_objdir)/include/unwind.h atomically.
3701
3627ac1a
RO
37022011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3703
3704 * Makefile.in (install-unwind_h): Remove destination file first.
3705
c6412d86
RO
37062011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3707
3708 * sync.c: New file.
3709 * config/mips/t-mips16: New file.
3710 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
3711 (mips*-*-linux*): Likewise.
3712 (mips*-sde-elf*): Likewise.
3713 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
3714 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
3715 Add mips/t-mips16 to tmake_file.
3716 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
3717 (mips-*-elf*): Likewise.
3718 (mips64-*-elf*): Likewise.
3719 (mips64orion-*-elf*): Likewise.
3720 (mips*-*-rtems*): Likewise.
3721 (mipstx39-*-elf*): Likewise.
3722 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
3723 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
3724 LIBGCC_SYNC_CFLAGS.
3725 Use $(srcdir) to refer to sync.c.
3726 Use $<.
3727 ($(libgcc-sync-funcs-o)): Likewise.
3728 ($(libgcc-sync-size-funcs-s-o)): Likewise.
3729 ($(libgcc-sync-funcs-s-o)): Likewise.
3730
3cb6e5bd
AS
37312011-08-09 Andreas Schwab <schwab@linux-m68k.org>
3732
3733 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
3734 t-libunwind.
3735
cca2207a
L
37362011-08-08 H.J. Lu <hongjiu.lu@intel.com>
3737
3738 PR other/48007
3739 * config/i386/value-unwind.h: New.
3740
ed39fbad
RS
37412011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
3742
3743 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
3744 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
3745 Add to tmake_file rather than overriding it.
3746
aca0b0b3
RO
37472011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3748
3749 * config/t-softfp: Remove.
3750 * soft-fp: Moved from ../gcc/config.
3751 * soft-fp/README: Remove t-softfp reference.
3752 * soft-fp/t-softfp: Move to config/t-softfp.
3753 (softfp_machine_header): Remove.
3754 (softfp_file_list): Remove config subdir.
3755 (soft-fp-objects): New variable.
3756 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
3757 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
3758 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
3759 * config/t-softfp-excl: New file.
3760 * config/t-softfp-sfdf: New file.
3761 * config/t-softfp-tf: New file.
3762 * config/no-sfp-machine.h: New file.
3763 * config/arm/sfp-machine.h: New file.
3764 * config/arm/t-softfp: New file.
3765 * config/c6x/sfp-machine.h: New file.
3766 * config/i386/32/t-fprules-softfp: Rename to ...
3767 * config/i386/32/t-softfp: ... this.
3768 (tifunctions, LIB2ADD): Remove.
3769 (softfp_int_modes): Override.
3770 * config/i386/64/t-softfp-compat (tf-functions): Remove config
3771 subdir.
3772 * config/i386/64/eqtf2.c: Likewise.
3773 * config/i386/64/getf2.c: Likewise.
3774 * config/i386/64/letf2.c: Likewise.
3775 * config/ia64/sft-machine.h: New file.
3776 * config/ia64/t-fprules-softfp: Rename to ...
3777 * config/ia64/t-softfp: ... this.
3778 * config/lm32/sfp-machine.h: New file.
3779 * config/moxie/t-moxie-softfp: Remove.
3780 * config/rs6000/ibm-ldouble-format: New file.
3781 * config/rs6000/ibm-ldouble.c: New file.
3782 * config/rs6000/libgcc-ppc-glibc.ver: New file
3783 * config/rs6000/libgcc-ppc64.ver: New file
3784 * config/rs6000/sfp-machine.h: New file.
3785 * config/rs6000/t-freebsd: New file.
3786 * config/rs6000/t-ibm-ldouble: New file.
3787 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
3788 libgcc-ppc-glibc.ver.
3789 * config/rs6000/t-linux64: New file.
3790 * config/rs6000/t-ppccomm (LIB2ADD): Add
3791 $(srcdir)/config/rs6000/ibm-ldouble.c.
3792 * config/rs6000/t-ppccomm-ldbl: New file.
3793 * config/score/sfp-machine.h: New file.
3794 * config.host (sfp_machine_header): Explain.
3795 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
3796 t-softfp to tmake_file.
3797 (arm*-*-uclinux*): Likewise.
3798 (arm*-*-ecos-elf): Likewise.
3799 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
3800 (arm*-*-rtems*): Likewise.
3801 (arm*-*-elf): Likewise.
3802 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
3803 in tmake_file.
3804 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
3805 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
3806 (lm32-*-uclinux*): Likewise.
3807 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
3808 t-softfp-excl, t-softfp.
3809 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
3810 (powerpc64-*-darwin*): Likewise.
3811 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
3812 to tmake_file.
3813 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
3814 tmake_file.
3815 (powerpc-*-eabisim*): Likewise.
3816 (powerpc-*-elf*): Likewise.
3817 (powerpc-*-eabialtivec*): Likewise.
3818 (powerpc-xilinx-eabi*): Likewise.
3819 (powerpc-*-rtems*): Likewise.
3820 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
3821 t-softfp-excl, t-softfp to tmake_file.
3822 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
3823 rs6000/t-ppccomm-ldbl to tmake_file.
3824 (powerpcle-*-elf*): Likewise.
3825 (powerpcle-*-eabisim*): Likewise.
3826 (powerpcle-*-eabi*): Likewise.
3827 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
3828 rs6000/t-ibm-ldouble to tmake_file.
3829 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
3830 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
3831 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
3832 (tic6x-*-*): Likewise.
3833 (i[34567]86-*-darwin*, x86_64-*-darwin*,
3834 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
3835 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
3836 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
3837 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
3838 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
3839 t-softfp to tmake_file.
3840 * configure.ac (sfp_machine_header): Provide default if unset.
3841 Substitute.
3842 Link sfp-machine.h to config/$sfp_machine_header.
3843 * configure: Regenerate.
3844
569dc494
RO
38452011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3846
3847 * Makefile.in (double_type_size, long_double_type_size): Set.
3848 Remove $(fpbit-in-libgcc) support.
3849 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
3850 (fpbit-src): New variable.
3851 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
3852 Compile with -DFLOAT $(FPBIT_CFLAGS).
3853 Use $<.
3854 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
3855 Compile with $(FPBIT_CFLAGS).
3856 Use $<.
3857 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
3858 Compile with -DFLOAT $(TPBIT_CFLAGS).
3859 Use $<.
3860 * configure.ac (double_type_size, long_double_type_size):
3861 Determine and substitute.
3862 * configure: Regenerate.
3863 * fp-bit.c, fp-bit.h: New files.
3864 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
3865 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
3866 * config/mips/t-mips: New file.
3867 * config/mips/t-sdemtk: New file.
3868 * config/rs6000/ppc64-fp.c: New file.
3869 * config/rs6000/t-darwin (LIB2ADD): Add
3870 $(srcdir)/config/rs6000/ppc64-fp.c.
3871 * config/rs6000/t-ppc64-fp: New file.
3872 * config/rx/rx-lib.h: New file.
3873 * config/rx/t-rx (FPBIT): Set to true.
3874 ($(gcc_objdir)/fp-bit.c): Remove.
3875 (DPBIT): Set to true only with -m64bit-doubles.
3876 ($(gcc_objdir)/dp-bit.c): Remove.
3877 * config/sparc/t-softfp: Remove.
3878 * config/spu/t-elf: New file.
3879 * config/t-fdpbit, config/t-fpbit: New files.
3880 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
3881 (mips*-*-*): Likewise.
3882 (arm-wrs-vxworks): Likewise.
3883 (arm*-*-freebsd*): Likewise.
3884 (avr-*-rtems*): Add t-fpbit to tmake_file.
3885 (avr-*-*): Likewise.
3886 (bfin*-elf*): Add t-fdpbit to tmake_file.
3887 (bfin*-uclinux*): Likewise.
3888 (bfin*-linux-uclibc*): Likewise.
3889 (bfin*-rtems*): New case.
3890 Add t-fdpbit to tmake_file.
3891 (bfin*-*): Add t-fdpbit to tmake_file.
3892 (crisv32-*-elf): Likewise.
3893 (cris-*-linux*): Likewise.
3894 (fr30-*-elf): Likewise.
3895 (frv-*-elf, frv-*-*linux*): Likewise.
3896 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
3897 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
3898 (m32r-*-elf*): Likewise.
3899 (m32rle-*-elf*): Likewise.
3900 (m32r-*-linux*): Likewise.
3901 (m32rle-*-linux*): Likewise.
3902 (mcore-*-elf): Add t-fdpbit to tmake_file.
3903 (microblaze*-*-*): Likewise.
3904 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
3905 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
3906 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
3907 Fix typo.
3908 Add mips/t-tpbit to tmake-file.
3909 (mips*-*-linux*): Fix typo.
3910 (mips*-sde-elf*): New case
3911 Add mips/t-sdemtk unless using newlib.
3912 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
3913 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
3914 (mn10300-*-*): Likewise.
3915 (pdp11-*-*): Likewise.
3916 (picochip-*-*): Add t-fpbit to tmake_file.
3917 (powerpc-*-eabisimaltivec*): Likewise.
3918 (powerpc-*-eabisim*): Likewise.
3919 (powerpc-*-elf*): Likewise.
3920 (powerpc-*-eabialtivec*): Likewise.
3921 (powerpc-xilinx-eabi*): New case.
3922 Add t-fdpbit to tmake_file.
3923 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
3924 (powerpc-*-rtems*): Likewise.
3925 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
3926 tmake_file.
3927 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
3928 tmake_file.
3929 (powerpc-*-lynxos*): Likewise.
3930 (powerpcle-*-elf*): Likewise.
3931 (powerpcle-*-eabisim*): Likewise.
3932 (powerpcle-*-eabi*): Likewise.
3933 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
3934 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
3935 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
3936 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
3937 (rx-*-elf): Add t-fdpbit to tmake_file.
3938 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
3939 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
3940 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
3941 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
3942 sh*-*-netbsd*.
3943 (sh-*-rtems*): Add t-fdpbit to tmake_file.
3944 (sh-wrs-vxworks): Likewise.
3945 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
3946 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
3947 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
3948 (sparc64-*-rtems*): ... new case.
3949 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
3950 (spu-*-elf*): Likewise.
3951 Add spu/t-elf to tmake_file.
3952 (v850*-*-*): Add t-fdpbit to tmake_file.
3953 (xstormy16-*-elf): Likewise.
3954 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
3955 (mep*-*-*): Likewise.
3956
201cdb74
RO
39572011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3958
3959 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
3960 variables.
3961 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
3962 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
3963 (install-unwind_h): New target.
3964 (all): Depend on it.
3965 * config.host (unwind_header): New variable.
3966 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
3967 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
3968 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
3969 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
3970 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
3971 Set unwind_header.
3972 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
3973 Set unwind_header.
3974 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
3975 arm*-*-eabi*.
3976 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
3977 Set unwind_header.
3978 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
3979 (ia64*-*-freebsd*): Likewise.
3980 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
3981 tmake_file.
3982 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
3983 $with_system_libunwind.
3984 (ia64*-*-hpux*): Set tmake_file.
3985 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
3986 (picochip-*-*): Set tmake_file.
3987 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
3988 md_unwind_header.
3989 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
3990 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
3991 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
3992 (xtensa*-*-elf*): Set tmake_file.
3993 (xtensa*-*-linux*): Likewise.
3994 * configure.ac: Include ../config/unwind_ipinfo.m4.
3995 Call GCC_CHECK_UNWIND_GETIPINFO.
3996 Link unwind.h to $unwind_header.
3997 * configure: Regenerate.
3998 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
3999 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
4000 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
4001 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
4002 * config/unwind-dw2-fde-darwin.c: New file.
4003 * config/arm/libunwind.S, config/arm/pr-support.c,
4004 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
4005 config/arm/unwind-arm.h,: New files.
4006 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
4007 config/ia64/t-eh-ia64, config/ia64/t-glibc,
4008 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
4009 config/ia64/t-vms, config/ia64/unwind-ia64.c,
4010 config/ia64/unwind-ia64.h: New files.
4011 * config/picochip/t-picochip: New file.
4012 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
4013 files.
4014 * config/rs6000/t-darwin (LIB2ADDEH): Set.
4015 * config/s390/t-tpf (LIB2ADDEH): Remove.
4016 * config/t-darwin (LIB2ADDEH): Set.
4017 * config/t-eh-dw2-dip: New file.
4018 * config/t-libunwind, config/t-libunwind-elf: New files.
4019 * config/t-sol2 (LIB2ADDEH): Remove.
4020 * config/xtensa/t-xtensa: New file.
4021
40f2f11f
L
40222011-08-02 H.J. Lu <hongjiu.lu@intel.com>
4023
4024 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
4025 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
4026 long long to check rt_sigreturn syscall.
4027
bd15e32c
AM
40282011-08-02 Alan Modra <amodra@gmail.com>
4029
4030 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
4031 Restore for indirect call bcrtl from correct stack slot, and only
4032 if cfa+40 isn't valid.
4033
655b30bf
JB
40342011-08-01 Julian Brown <julian@codesourcery.com>
4035
4036 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
4037 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
4038 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
4039
247eb06f
JB
40402011-08-01 Julian Brown <julian@codesourcery.com>
4041
4042 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
4043 (libgcc-std.ver.in): Use above.
4044 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
4045 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
4046 throughout file.
4047 * config/t-fixedpoint-gnu-prefix: New file.
4048 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
4049 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
4050 instead of __PFX__.
4051
02a8fe00
L
40522011-07-28 H.J. Lu <hongjiu.lu@intel.com>
4053
4054 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
4055 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
4056 for x86-64. Properly check __x86_64__ and __LP64__.
4057
5fce9126
L
40582010-07-28 H.J. Lu <hongjiu.lu@intel.com>
4059
4060 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
4061 version.
4062 (_FP_WS_TYPE): Likewise.
4063 (_FP_I_TYPE): Likewise.
4064
2374a88a
AM
40652011-07-28 Alan Modra <amodra@gmail.com>
4066
4067 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
4068 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
4069 in a plt call stub. Do restore r2 if stopped on bctrl.
4070
e44dbbe1
RO
40712011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4072
4073 * config.host (i[3456x]86-*-netware*): Remove.
4074 * config/i386/netware-crt0.c, config/i386/t-nwld,
4075 config/i386/t-slibgcc-nwld: Remove.
4076
bcead286
BS
40772011-07-15 Bernd Schmidt <bernds@codesourcery.com>
4078
4079 * config.host: Handle tic6x-*-*.
4080 * config/c6x/c6x-abi.h: New file.
4081
b3fe1584
RO
40822011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4083
4084 * config/i386/crtprec.c: New file.
4085 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
4086 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
4087 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
4088 (x86_64-*-darwin*): Likewise.
4089 (i[34567]86-*-solaris2*: Likewise.
4090
35d8090d
RO
40912011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4092
4093 * config/alpha/crtfastmath.c: New file.
4094 * config/i386/crtfastmath.c: New file.
4095 * config/ia64/crtfastmath.c: New file.
4096 * config/mips/crtfastmath.c: New file.
4097 * config/sparc/crtfastmath.c: New file.
4098
4099 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
4100 crtfastmath.c.
4101 Add -frandom-seed=gcc-crtfastmath.
4102 * config/alpha/t-crtfm: Remove.
4103 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
4104 * config/ia64/t-ia64 (crtfastmath.o): Remove.
4105
4106 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
4107 (alpha*-dec-osf5.1*): Likewise.
4108 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
4109 Add crtfastmath.o to extra_parts.
4110 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
4111 Add crtfastmath.o to extra_parts.
4112 (x86_64-*-darwin*): Likewise.
4113 (x86_64-*-mingw*): Likewise.
4114 (ia64*-*-elf*): Add t-crtfm to tmake_file.
4115 (ia64*-*-freebsd*): Likewise.
4116 (ia64*-*-linux*): Likewise.
4117 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
4118 Add crtfastmath.o to extra_parts.
4119
e141542e
RO
41202011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4121
4122 * config/darwin-crt3.o: New file.
4123 * config/rs6000/darwin-crt2.c: New file.
4124 * config/t-darwin: New file.
4125 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
4126 (crt2.o): New rule.
4127 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
4128 (powerpc-*-darwin*): Add crt2.o to extra_parts.
4129 (powerpc64-*-darwin*): Likewise.
4130
2d1efe2d
RO
41312011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4132
4133 * config/i386/netware-crt0.c: New file.
4134 * config/i386/t-nwld: Rename to ...
4135 * config/i386/t-slibgcc-nwld: ... this.
4136 * config/i386/t-nwld: New file.
4137 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
4138 tmake_file.
4139 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
4140 extra_parts.
4141
4a8bb046
RO
41422011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4143
4144 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
4145 i386/t-crtstuff.
4146 * configure: Regenerate.
4147
2d8d5935
RO
41482011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4149
4150 * dfp-bit.c, dfp-bit.h: New files.
4151 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
4152 variables.
4153 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
4154 ($(d64pbit-o)): Likewise.
4155 ($(d128pbit-o)): Likewise.
4156 * config/t-dfprules: New file.
4157 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
4158 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
4159 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
4160 (x86_64-*-linux*): Likewise.
4161 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
4162 (i[34567]86-*-cygwin*): Likewise.
4163 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
4164 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
4165
2c50b2c3
RO
41662011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4167
4168 * Makfile.in (LIBGCOV): New variable.
4169 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
4170 * libgcov.c: New file.
4171
a039d7c2
RO
41722011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4173
4174 * fixed-bit.c, fixed-bit.h: New files.
4175 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
4176 refer to fixed-bit.c.
4177
1e4b2746
JM
41782011-07-07 Joseph Myers <joseph@codesourcery.com>
4179
4180 * config.host (*local*): Remove.
4181
fbdd5d87
RO
41822011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4183
4184 PR target/39150
4185 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
4186 like i?86-*-solaris2.1[0-9]*.
4187 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
4188 * configure.ac (i?86-*-solaris2*): Likewise.
4189 * configure: Regenerate.
4190
9e7714f4
TS
41912011-07-06 Thomas Schwinge <thomas@schwinge.name>
4192
4193 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
4194 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
4195 md_unwind_header by splitting out of...
4196 (i[34567]86-*-linux*): ... this.
4197 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
4198 Remove md_unwind_header by splitting out of...
4199 (x86_64-*-linux*): ... this.
4200
6dab9931
GJL
42012011-07-04 Georg-Johann Lay <avr@gjlay.de>
4202
4203 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
4204
4be46d19
NC
42052011-06-28 Nick Clifton <nickc@redhat.com>
4206
4207 * config.host: Recognize all V850 variants.
4208
1da9434b
UB
42092011-06-22 Uros Bizjak <ubizjak@gmail.com>
4210
4211 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
4212
e4d48a4d
RO
42132011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4214
4215 * shared-object.mk (c_flags-$o): Save c_flags.
4216 ($(base)$(objext)): Use it.
4217 ($(base)_s$(objext)): Likewise.
4218
3801c801
BS
42192011-06-21 Bernd Schmidt <bernds@codesourcery.com>
4220
4221 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
4222 * libgcc-std.ver.in (GCC_4.7.0): New section.
4223
0ad8bb3b 42242011-06-16 Georg-Johann Lay <avr@gjlay.de>
1da9434b 4225
0ad8bb3b
GJL
4226 PR target/49313
4227 PR target/29524
4228 * config/avr/t-avr: Fix line endings.
4229 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
4230 _parityXX2.
4231
ea963999
OH
42322011-06-14 Olivier Hainque <hainque@adacore.com>
4233 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4234
4235 * config/mips/irix6-unwind.h: New file.
4236 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
4237
b11b0904
EB
42382011-06-10 Eric Botcazou <ebotcazou@adacore.com>
4239
4240 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
4241 (sparc64_fallback_frame_state): Use it.
4242 (sparc64_frob_update_context): Further adjust context.
4243 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
4244 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
4245 * config/sparc/sol2-cn.S: Likewise.
4246
10e48e39
RO
42472011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4248
4249 * enable-execute-stack-empty.c: New file.
4250 * enable-execute-stack-mprotect.c: New file.
4251 * config/i386/enable-execute-stack-mingw32.c: New file.
4252 * config.host (enable_execute_stack): New variable.
4253 Select appropriate variants.
4254 * configure.ac: Link enable-execute-stack.c to
4255 $enable_execute_stack.
4256 * configure: Regenerate.
4257 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
4258 (lib2funcs): Remove _enable_execute_stack.
4259
10c4cabc
DM
42602011-06-09 David S. Miller <davem@davemloft.net>
4261 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4262
4263 * config.host (sparc-*-linux*): Correct md_unwind_header
4264 filename.
4265 (s390x-ibm-tpf*): Fix typo.
4266
aa4203e7
RO
42672011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4268
4269 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
4270 Add crtfastmath.o to extra_parts.
4271 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
4272 mips/t-crtfm.
4273 * config/mips/t-crtfm: Remove.
4274
0defd786
JDA
42752011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4276
4277 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
4278
82f247af
KK
42792011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
4280
4281 * config.host (sh*-*-linux*): Fix typo.
4282
58cd1d70
RO
42832011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4284
4285 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
4286 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
4287 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
4288 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
4289 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
4290 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
4291 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
4292 Wrap in !__MINGW64__.
4293 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
4294 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
4295 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
4296 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
4297 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
4298 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
4299 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
4300 Wrap in !__LP64__.
4301 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
4302 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
4303 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
4304 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
4305 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
4306 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
4307 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
4308 * config/no-unwind.h: New file.
4309 * config.host (md_unwind_header): Document.
4310 Define.
4311 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
4312 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
4313 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
4314 hppa[12]*-*-hpux11*): Set md_unwind_header.
4315 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
4316 Set md_unwind_header.
4317 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
4318 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
4319 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
4320 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
4321 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
4322 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
4323 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
4324 md_unwind_header.
4325 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
4326 * configure: Regenerate.
4327
737346fa
RO
43282011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4329
4330 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
4331 Set tmake_file, extra_parts.
4332 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
4333 Remove O32 support.
4334 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
4335 Remove O32 support.
4336 * config/mips/t-irix6: New file.
4337 * config/mips/t-slibgcc-irix: New file.
4338
c192cee6
RO
43392011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4340
4341 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
4342 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
4343
ee33b5f0
RO
43442011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4345
4346 * configure.ac (target_thread_file): Determine thread model.
4347 * configure: Regenerate.
4348 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
4349 * config/alpha/t-alpha: New file.
4350 * config/alpha/t-crtfm: Use $<.
4351 * config/alpha/t-ieee: New file.
4352 * config/alpha/t-osf-pthread: New file.
4353 * config/alpha/t-slibgcc-osf: New file.
4354 * config/alpha/libgcc-osf5.ver: New file.
4355
0699e415
RO
43562011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4357
4358 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
4359 tmake_file.
4360 Add crtfastmath.o to extra_parts.
4361
a3fab9c2
RO
43622011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4363
4364 * config/gmon-sol2.c: Reindent.
4365 Cleanup comments.
4366 Remove, correct casts.
4367 Use STDERR_FILENO, NULL.
4368 (BASEADDRESS): Remove.
4369 (minbrk): Remove.
4370 (errno, sbrk): Remove declarations.
4371 (monstartup) [hp300]: Remove.
4372 (mcount): Remove.
4373
ca24c5ad
RO
43742011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4375
4376 * Makefile.in (cpu_type): Define.
4377 * config.host (i[34567]86-*-rtems*): Handle it.
4378 (i[34567]86-*-solaris2*): Move body ...
4379 (*-*-solaris2*): ... here.
4380 New case, generalize.
4381 (sparc-*-elf*): Handle it.
4382 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
4383 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
4384 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
4385 Fold into ...
4386 (sparc*-*-solaris2*): ... this.
4387 New case.
4388 (sparc64-*-elf*): Handle it.
4389 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
4390 Merge ../gcc/config/i386/gmon-sol2.c.
4391 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
4392 Use C comments.
4393 Merge ../gcc/config/i386/sol2-gc1.asm.
4394 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
4395 Use C comments.
4396 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
4397 Use C comments.
4398 * config/i386/t-crtfm (crtfastmath.o): Use $<.
4399 * config/i386/t-crtstuff: New file.
4400 * config/i386/t-softfp: New file.
4401 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
4402 $(T)crti.o, $(T)crtn.o): Remove.
4403 (gcrt1.o): New rule.
4404 (TARGET_LIBGCC2_CFLAGS): Remove.
4405 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
4406 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
4407 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
4408 * config/sparc/t-sol2: New file.
4409 * config/sparc/t-crtfm: Move to ...
4410 * config/t-crtfm: ... this.
4411 Use $(cpu_type), $<.
4412 * config/t-crtin: New file.
4413 * config/sparc/t-softfp: New file.
4414 * config/sparc/t-softmul: New file.
4415 * config/t-rtems: New file.
4416 * config/t-slibgcc: New file.
4417 * config/t-slibgcc-elf-ver: New file.
4418 * config/t-slibgcc-gld: New file.
4419 * config/t-slibgcc-sld: New file.
4420 * config/t-sol2: New file.
4421 * configure.ac: Include ../config/lib-ld.m4.
4422 Call AC_LIB_PROG_LD_GNU.
4423 Substitute cpu_type.
4424 * configure: Regenerate.
4425
ad5f3d7b
BS
44262011-05-27 Bernd Schmidt <bernds@codesourcery.com>
4427
4428 PR bootstrap/49173
4429 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
4430 libgcc-std.ver in the build directory.
4431 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
4432 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
4433
cdbf4541
BS
44342011-05-25 Bernd Schmidt <bernds@codesourcery.com>
4435
4436 * libgcc-std.ver.in: New file.
4437 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
4438 variables.
4439 (libgcc-std.ver): New rule.
4440 * config/t-gnu-prefix: New file.
4441
c8028650
RO
44422011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4443
4444 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
4445
4a68b4ca
JM
44462011-05-10 Joseph Myers <joseph@codesourcery.com>
4447
4448 * config/i386/darwin-lib.h: New file.
4449
80cf2e08
JM
44502011-05-10 Joseph Myers <joseph@codesourcery.com>
4451
4452 * config/arm/symbian-lib.h: New.
4453
a3330c9d
CD
44542011-05-04 Chris Demetriou <cgd@google.com>
4455
4456 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
4457 (__x86.get_pc_thunk.bx): ...this.
4458 (__morestack): Adjust for rename, remove undef of __i686.
4459
6ace0756
CD
44602011-05-03 Chris Demetriou <cgd@google.com>
4461
4462 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
4463
ebb9f8b0
JM
44642011-03-22 Joseph Myers <joseph@codesourcery.com>
4465
4466 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
4467 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
4468 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
4469 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
4470 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
4471 Remove cases.
4472
9cfa1499
AT
44732011-03-14 Andreas Tobler <andreast@fgznet.ch>
4474
4475 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
4476 Adjust copyright year.
4477
457186f6
ILT
44782011-03-07 Ian Lance Taylor <iant@google.com>
4479
4480 * generic-morestack.c (__splitstack_find): Adjust returned stack
4481 pointer to include all registers pushed by __morestack.
4482
58c741a6
DK
44832011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
4484
4485 PR target/40125
4486 * configure.ac: Call ACX_NONCANONICAL_TARGET.
4487 (toolexecdir): Calculate and AC_SUBST.
4488 (toolexeclibdir): Likewise.
4489 * Makefile.in (target_noncanonical): Import.
4490 (toolexecdir): Likewise.
4491 (toolexeclibdir): Likewise.
4492 * configure: Regenerate.
4493
26716c44
NF
44942010-12-13 Nathan Froyd <froydnj@codesourcery.com>
4495
4496 PR target/46040
4497 * config/arm/bpabi.h: Rename to...
4498 * config/arm/bpabi-lib.h: ...this.
4499
b595b1a1
RO
45002010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4501
4502 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
4503 appropriate.
4504 * configure: Regenerate.
4505
a3abe41c
NF
45062010-11-24 Nathan Froyd <froydnj@codesourcery.com>
4507
4508 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
4509 __FLOAT_WORD_ORDER__.
4510 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
4511 Delete.
4512
455c8f48
RW
45132010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4514
4515 PR other/46202
4516 * Makefile.in (install-strip): New phony target.
4517
f3824a8b
ILT
45182010-11-07 Ian Lance Taylor <iant@google.com>
4519
4520 PR target/46089
4521 * config/i386/morestack.S (__morestack_large_model): New
4522 function.
4523
18ed6ee4
NF
45242010-10-23 Nathan Froyd <froydnj@codesourcery.com>
4525
4526 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
4527 Delete.
4528 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
4529
8ac7fdcb
NF
45302010-10-14 Nathan Froyd <froydnj@codesourcery.com>
4531
4532 * config/arm/bpabi.h: New file.
4533 * config/frv/frv-abi.h: New file.
4534
cdb388c2
ILT
45352010-10-01 Ian Lance Taylor <iant@google.com>
4536
4537 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
4538 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
4539
ef7c141c
L
45402010-10-01 H.J. Lu <hongjiu.lu@intel.com>
4541
4542 PR target/45858
4543 * config.host: Add the missing `$'.
4544
80920132
ME
45452010-09-30 Michael Eager <eager@eagercon.com>
4546
4547 * config.host: Add microblaze*-*-*.
4548 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
4549 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
4550 udivsi3.asm,umodsi3.asm}: New.
4551
6dace308
ILT
45522010-09-28 Ian Lance Taylor <iant@google.com>
4553
4554 * configure.ac: Adjust CFI test to test assembler directly rather
4555 than checking gcc preprocessor macro.
4556 * configure: Rebuild.
4557
b6110d6d
ILT
45582010-09-27 Ian Lance Taylor <iant@google.com>
4559
4560 * configure.ac: Test whether assembler supports CFI directives.
4561 * config.host: Only add t-stack and i386/t-stack-i386 to
4562 tmake_file if libgcc_cv_cfi is "yes".
4563 * configure: Rebuild.
4564
7458026b
ILT
45652010-09-27 Ian Lance Taylor <iant@google.com>
4566
4567 * generic-morestack.h: New file.
4568 * generic-morestack.c: New file.
4569 * generic-morestack-thread.c: New file.
4570 * config/i386/morestack.S: New file.
4571 * config/t-stack: New file.
4572 * config/i386/t-stack-i386: New file.
4573 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
4574 i386/t-stack-i386 to tmake_file.
4575
5b50fc0c
IS
45762010-09-21 Iain Sandoe <iains@gcc.gnu.org>
4577
4578 * Makefile.in (libgcc-extra-parts): Check for static archives and
4579 invoke ranlib after installing them.
4580 (gcc-extra-parts): Likewise.
4581 (install-leaf): Likewise.
4582
b93cf342
L
45832010-09-14 H.J. Lu <hongjiu.lu@intel.com>
4584
4585 * configure: Regenerated.
4586
996b42ef
KT
45872010-09-10 Kai Tietz <kai.tietz@onevision.com>
4588
b93cf342 4589 * configure: Regenerated.
996b42ef 4590
be1c764e
GP
45912010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
4592 Andrew Pinski <pinskia@gmail.com>
4593
1da9434b 4594 PR target/40959
be1c764e
GP
4595 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
4596
cc0ae0ca
L
45972010-09-06 H.J. Lu <hongjiu.lu@intel.com>
4598
4599 PR target/45524
4600 * configure: Regenerated.
4601
84f47d20
AS
46022010-09-06 Andreas Schwab <schwab@redhat.com>
4603
4604 * configure: Regenerate.
4605
4159fb8d
UB
46062010-09-03 Uros Bizjak <ubizjak@gmail.com>
4607
4608 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
4609 64bit targets.
4610 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
4611 for 64bit targets.
4612
0df8fcc8
UB
46132010-09-03 Uros Bizjak <ubizjak@gmail.com>
4614 Iain Sandoe <iains@gcc.gnu.org>
4615
4616 PR target/45476
4617 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
4618 LIB2FUNCS_EXCLUDE functions.
4619
3c39bca6
AK
46202010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4621
4622 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
4623 Include dfp.m4.
4624 * configure: Regenerate.
4625
d78552bd
UB
46262010-09-01 Uros Bizjak <ubizjak@gmail.com>
4627
4628 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
4629 i386/t-freebsd to tmake_file.
4630 * config/i386/t-freebsd: New file.
4631 * config/i386/libgcc-bsd.ver: New file.
4632
c5b79d4e
NF
46332010-07-23 Nathan Froyd <froydnj@codesourcery.com>
4634
4635 * config.host (powerpc*-eabispe*): Set tmake_file.
4636 (powerpc*-eabi*): Likewise.
4637 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
4638 crtbeginS, crtendS, crtbeginT.
4639
48b09a92
KH
46402010-06-12 Kazu Hirata <kazu@codesourcery.com>
4641
4642 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
4643 to tmake_file. Add crtfastmath.o to extra_parts.
4644 * config/mips/t-crtfm: New.
4645
a4389204
JS
46462010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
4647
4648 * config.host (sparc64-*-rtems*): New target.
4649
ed104137
RO
46502010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4651
4652 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
4653 assembler syntax.
4654
3f56ef8b
TS
46552010-04-15 Thomas Schwinge <tschwinge@gnu.org>
4656
4657 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
4658
8c200350
RO
46592010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4660
4661 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
4662 alpha-dec-osf5.0* support.
4663
80a61cb4 46642010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
c1b14424
RC
4665
4666 * config.host: Add lm32-*-rtems*.
4667
f128db92
RO
46682010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4669 Uros Bizjak <ubizjak@gmail.com>
4670
4671 PR target/39048
4672 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
4673 like other remaining 32-bit x86 OSes.
4674 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
4675 assembler syntax.
4676 * config/i386/libgcc-sol2.ver: New file.
4677 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
4678
368fabd5
JH
46792010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
4680
4681 PR c/43553
4682 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
4683 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
4684 is used and substitute set_use_emutls.
4685 * configure: Regenerated.
4686
15baf7f8
TG
46872010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
4688
4689 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
4690
7f5441df
RO
46912010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4692
4693 PR target/38085
4694 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
4695 MULTILIB_CFLAGS.
4696 ($(T)gcrt1.o): Likewise.
4697 ($(T)crt1.o): Likewise.
4698 ($(T)crti.o): Likewise.
4699 ($(T)crtn.o): Likewise.
4700
ef74edbd
RW
47012010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4702
4703 PR other/42980
4704 * Makefile.in (install): Use $(MAKE) string in rule, for
4705 parallel make.
4706
e7c914db
HPN
47072010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
4708
4709 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
4710 * config/mmix/t-mmix: New file.
4711 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
4712
1bcb71c4
JH
47132010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
4714
4715 PR java/41991
4716 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
4717 SHLIB_MAPFILES.
4718
e6e50811
AG
47192010-01-04 Anthony Green <green@moxielogic.com>
4720
4721 * config/moxie/crti.asm, config/moxie/crtn.asm,
4722 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
4723 config/moxie/t-moxie: New files.
4724 * config.host: Add t-moxie-softfp reference.
4725
ca8520ad
IS
47262009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
4727
4728 PR other/39888
4729 * config/t-slibgcc-darwin: Fix embedded rpaths for
4730 --enable-version-specific-runtime-libs, build extension stub
4731 libs exposing features available from current libgcc_s.
4732
aa4945c1
JB
47332009-11-11 Jon Beniston <jon@beniston.com>
4734
d78552bd
UB
4735 * config.host: Add lm32 targets.
4736 * config/lm32: New directory.
4737 * config/lm32/libgcc_lm32.h: New file.
4738 * config/lm32/_mulsi3.c: New file.
4739 * config/lm32/_udivmodsi4.c: New file.
4740 * config/lm32/_divsi3.c: New file.
4741 * config/lm32/_modsi3.c: New file.
4742 * config/lm32/_udivsi3.c: New file.
4743 * config/lm32/_umodsi3.c: New file.
4744 * config/lm32/_lshrsi3.S: New file.
4745 * config/lm32/_ashrsi3.S: New file.
4746 * config/lm32/_ashlsi3.S: New file.
4747 * config/lm32/crti.S: New file.
4748 * config/lm32/crtn.S: New file.
4749 * config/lm32/t-lm32: New file.
4750 * config/lm32/t-elf: New file.
4751 * config/lm32/t-uclinux: New file.
aa4945c1 4752
65a324b4
NC
47532009-10-26 Nick Clifton <nickc@redhat.com>
4754
4755 * config.host: Add support for RX target.
4756 * config/rx: New directory.
4757 * config/rx/rx-abi-functions.c: New file. Supplementary
4758 functions for libgcc to support the RX ABI.
4759 * config/rx/rx-abi.h: New file. Supplementary header file for
4760 libgcc RX ABI functions.
4761 * config/rx/t-rx: New file: Makefile fragment for building
4762 libgcc for the RX.
4763
dfb3b0e3
UB
47642009-10-09 Uros Bizjak <ubizjak@gmail.com>
4765
4766 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
4767 constraint of y0 to "g".
4768
81dd9fd7
AK
47692009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4770
4771 * config.host: Include the s390 makefile fragments.
4772 * config/s390/32/_fixdfdi.c: New file.
4773 * config/s390/32/_fixsfdi.c: New file.
4774 * config/s390/32/_fixtfdi.c: New file.
4775 * config/s390/32/_fixunsdfdi.c: New file.
4776 * config/s390/32/_fixunssfdi.c: New file.
4777 * config/s390/32/_fixunstfdi.c: New file.
4778 * config/s390/32/t-floattodi: New file.
4779 * config/s390/libgcc-glibc.ver: New file.
4780 * config/s390/t-crtstuff: New file.
4781 * config/s390/t-linux: New file.
4782 * config/s390/t-tpf: New file.
4783
df58e648
RW
47842009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4785
4786 * configure.ac (AC_PREREQ): Bump to 2.64.
4787
79052be3
KK
47882009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
4789
4790 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
4791
5213506e
RW
47922009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4793
4794 * configure: Regenerate.
4795
a9a25daa
DR
47962009-08-09 Douglas B Rupp <rupp@gnat.com>
4797
4798 * config.host (ia64-hp-*vms*): New target.
4799 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
4800 with ia64-hp-*vms*.
4801
6efbd53f
RW
48022009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4803
4804 * configure.ac: Add snippet for maintainer-mode.
4805 * configure: Regenerate.
4806 * Makefile.in (AUTOCONF, configure_deps): New variables.
4807 ($(srcdir)/configure)): New rule, active only with maintainer
4808 mode turned on.
4809
7acf4da6
DD
48102009-06-23 DJ Delorie <dj@redhat.com>
4811
4812 Add MeP port.
4813 * config.host: Add mep support.
4814
54f549af
KT
48152009-06-22 Kai Tietz <kai.tietz@onevision.com>
4816
34481f28 4817 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 4818 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
34481f28
UB
4819
4820 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
4821 for mingw targets.
54f549af
KT
4822 * config/i386/64/_multc3.c: Likewise.
4823 * config/i386/64/_powitf2.c: Likewise.
4824 * config/i386/64/eqtf2.c: Likewise.
4825 * config/i386/64/getf2.c: Likewise.
4826 * config/i386/64/letf2.c: Likewise.
4827 * config/i386/64/letf2.c: Likewise.
34481f28
UB
4828 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
4829 unsigned long long for x64 mingw targets.
4830 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
4831 (_FP_I_TYPE): Define as long long for x64 mingw target.
54f549af 4832
fea96e25
MR
48332009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
4834
4835 * config.host (vax-*-linux*): New.
4836
cceb575c
AG
48372009-05-31 Anthony Green <green@moxielogic.com>
4838
4839 * config.host: Add moxie support.
4840 * config/moxie/t-moxie: New file.
4841
e997fb9c
DB
48422009-05-29 David Billinghurst <billingd@gcc.gnu.org>
4843
4844 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 4845 t-softfp to tmake_file for i[34567]86-*-cygwin*.
e997fb9c 4846
532bfb0a
AJ
48472009-04-17 Aurelien Jarno <aurelien@aurel32.net>
4848
4849 * config.host: Add i386/${host_address}/t-fprules-softfp to
4850 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
4851
748086b7
JJ
48522009-04-09 Nick Clifton <nickc@redhat.com>
4853
4854 * config/ia64/tf-signs.c: Change copyright header to refer to
4855 version 3 of the GNU General Public License with version 3.1
4856 of the GCC Runtime Library Exception and to point readers at
4857 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
4858 web page.
4859 * config/i386/32/tf-signs.c: Likewise.
4860 * config/libbid/_addsub_dd.c: Likewise.
4861 * config/libbid/_addsub_sd.c: Likewise.
4862 * config/libbid/_addsub_td.c: Likewise.
4863 * config/libbid/_dd_to_df.c: Likewise.
4864 * config/libbid/_dd_to_di.c: Likewise.
4865 * config/libbid/_dd_to_sd.c: Likewise.
4866 * config/libbid/_dd_to_sf.c: Likewise.
4867 * config/libbid/_dd_to_si.c: Likewise.
4868 * config/libbid/_dd_to_td.c: Likewise.
4869 * config/libbid/_dd_to_tf.c: Likewise.
4870 * config/libbid/_dd_to_udi.c: Likewise.
4871 * config/libbid/_dd_to_usi.c: Likewise.
4872 * config/libbid/_dd_to_xf.c: Likewise.
4873 * config/libbid/_df_to_dd.c: Likewise.
4874 * config/libbid/_df_to_sd.c: Likewise.
4875 * config/libbid/_df_to_td.c: Likewise.
4876 * config/libbid/_di_to_dd.c: Likewise.
4877 * config/libbid/_di_to_sd.c: Likewise.
4878 * config/libbid/_di_to_td.c: Likewise.
4879 * config/libbid/_div_dd.c: Likewise.
4880 * config/libbid/_div_sd.c: Likewise.
4881 * config/libbid/_div_td.c: Likewise.
4882 * config/libbid/_eq_dd.c: Likewise.
4883 * config/libbid/_eq_sd.c: Likewise.
4884 * config/libbid/_eq_td.c: Likewise.
4885 * config/libbid/_ge_dd.c: Likewise.
4886 * config/libbid/_ge_sd.c: Likewise.
4887 * config/libbid/_ge_td.c: Likewise.
4888 * config/libbid/_gt_dd.c: Likewise.
4889 * config/libbid/_gt_sd.c: Likewise.
4890 * config/libbid/_gt_td.c: Likewise.
4891 * config/libbid/_isinfd128.c: Likewise.
4892 * config/libbid/_isinfd32.c: Likewise.
4893 * config/libbid/_isinfd64.c: Likewise.
4894 * config/libbid/_le_dd.c: Likewise.
4895 * config/libbid/_le_sd.c: Likewise.
4896 * config/libbid/_le_td.c: Likewise.
4897 * config/libbid/_lt_dd.c: Likewise.
4898 * config/libbid/_lt_sd.c: Likewise.
4899 * config/libbid/_lt_td.c: Likewise.
4900 * config/libbid/_mul_dd.c: Likewise.
4901 * config/libbid/_mul_sd.c: Likewise.
4902 * config/libbid/_mul_td.c: Likewise.
4903 * config/libbid/_ne_dd.c: Likewise.
4904 * config/libbid/_ne_sd.c: Likewise.
4905 * config/libbid/_ne_td.c: Likewise.
4906 * config/libbid/_sd_to_dd.c: Likewise.
4907 * config/libbid/_sd_to_df.c: Likewise.
4908 * config/libbid/_sd_to_di.c: Likewise.
4909 * config/libbid/_sd_to_sf.c: Likewise.
4910 * config/libbid/_sd_to_si.c: Likewise.
4911 * config/libbid/_sd_to_td.c: Likewise.
4912 * config/libbid/_sd_to_tf.c: Likewise.
4913 * config/libbid/_sd_to_udi.c: Likewise.
4914 * config/libbid/_sd_to_usi.c: Likewise.
4915 * config/libbid/_sd_to_xf.c: Likewise.
4916 * config/libbid/_sf_to_dd.c: Likewise.
4917 * config/libbid/_sf_to_sd.c: Likewise.
4918 * config/libbid/_sf_to_td.c: Likewise.
4919 * config/libbid/_si_to_dd.c: Likewise.
4920 * config/libbid/_si_to_sd.c: Likewise.
4921 * config/libbid/_si_to_td.c: Likewise.
4922 * config/libbid/_td_to_dd.c: Likewise.
4923 * config/libbid/_td_to_df.c: Likewise.
4924 * config/libbid/_td_to_di.c: Likewise.
4925 * config/libbid/_td_to_sd.c: Likewise.
4926 * config/libbid/_td_to_sf.c: Likewise.
4927 * config/libbid/_td_to_si.c: Likewise.
4928 * config/libbid/_td_to_tf.c: Likewise.
4929 * config/libbid/_td_to_udi.c: Likewise.
4930 * config/libbid/_td_to_usi.c: Likewise.
4931 * config/libbid/_td_to_xf.c: Likewise.
4932 * config/libbid/_tf_to_dd.c: Likewise.
4933 * config/libbid/_tf_to_sd.c: Likewise.
4934 * config/libbid/_tf_to_td.c: Likewise.
4935 * config/libbid/_udi_to_dd.c: Likewise.
4936 * config/libbid/_udi_to_sd.c: Likewise.
4937 * config/libbid/_udi_to_td.c: Likewise.
4938 * config/libbid/_unord_dd.c: Likewise.
4939 * config/libbid/_unord_sd.c: Likewise.
4940 * config/libbid/_unord_td.c: Likewise.
4941 * config/libbid/_usi_to_dd.c: Likewise.
4942 * config/libbid/_usi_to_sd.c: Likewise.
4943 * config/libbid/_usi_to_td.c: Likewise.
4944 * config/libbid/_xf_to_dd.c: Likewise.
4945 * config/libbid/_xf_to_sd.c: Likewise.
4946 * config/libbid/_xf_to_td.c: Likewise.
4947 * config/libbid/bid128.c: Likewise.
4948 * config/libbid/bid128_2_str.h: Likewise.
4949 * config/libbid/bid128_2_str_macros.h: Likewise.
4950 * config/libbid/bid128_2_str_tables.c: Likewise.
4951 * config/libbid/bid128_add.c: Likewise.
4952 * config/libbid/bid128_compare.c: Likewise.
4953 * config/libbid/bid128_div.c: Likewise.
4954 * config/libbid/bid128_fma.c: Likewise.
4955 * config/libbid/bid128_logb.c: Likewise.
4956 * config/libbid/bid128_minmax.c: Likewise.
4957 * config/libbid/bid128_mul.c: Likewise.
4958 * config/libbid/bid128_next.c: Likewise.
4959 * config/libbid/bid128_noncomp.c: Likewise.
4960 * config/libbid/bid128_quantize.c: Likewise.
4961 * config/libbid/bid128_rem.c: Likewise.
4962 * config/libbid/bid128_round_integral.c: Likewise.
4963 * config/libbid/bid128_scalb.c: Likewise.
4964 * config/libbid/bid128_sqrt.c: Likewise.
4965 * config/libbid/bid128_string.c: Likewise.
4966 * config/libbid/bid128_to_int16.c: Likewise.
4967 * config/libbid/bid128_to_int32.c: Likewise.
4968 * config/libbid/bid128_to_int64.c: Likewise.
4969 * config/libbid/bid128_to_int8.c: Likewise.
4970 * config/libbid/bid128_to_uint16.c: Likewise.
4971 * config/libbid/bid128_to_uint32.c: Likewise.
4972 * config/libbid/bid128_to_uint64.c: Likewise.
4973 * config/libbid/bid128_to_uint8.c: Likewise.
4974 * config/libbid/bid32_to_bid128.c: Likewise.
4975 * config/libbid/bid32_to_bid64.c: Likewise.
4976 * config/libbid/bid64_add.c: Likewise.
4977 * config/libbid/bid64_compare.c: Likewise.
4978 * config/libbid/bid64_div.c: Likewise.
4979 * config/libbid/bid64_fma.c: Likewise.
4980 * config/libbid/bid64_logb.c: Likewise.
4981 * config/libbid/bid64_minmax.c: Likewise.
4982 * config/libbid/bid64_mul.c: Likewise.
4983 * config/libbid/bid64_next.c: Likewise.
4984 * config/libbid/bid64_noncomp.c: Likewise.
4985 * config/libbid/bid64_quantize.c: Likewise.
4986 * config/libbid/bid64_rem.c: Likewise.
4987 * config/libbid/bid64_round_integral.c: Likewise.
4988 * config/libbid/bid64_scalb.c: Likewise.
4989 * config/libbid/bid64_sqrt.c: Likewise.
4990 * config/libbid/bid64_string.c: Likewise.
4991 * config/libbid/bid64_to_bid128.c: Likewise.
4992 * config/libbid/bid64_to_int16.c: Likewise.
4993 * config/libbid/bid64_to_int32.c: Likewise.
4994 * config/libbid/bid64_to_int64.c: Likewise.
4995 * config/libbid/bid64_to_int8.c: Likewise.
4996 * config/libbid/bid64_to_uint16.c: Likewise.
4997 * config/libbid/bid64_to_uint32.c: Likewise.
4998 * config/libbid/bid64_to_uint64.c: Likewise.
4999 * config/libbid/bid64_to_uint8.c: Likewise.
5000 * config/libbid/bid_b2d.h: Likewise.
5001 * config/libbid/bid_binarydecimal.c: Likewise.
5002 * config/libbid/bid_conf.h: Likewise.
5003 * config/libbid/bid_convert_data.c: Likewise.
5004 * config/libbid/bid_decimal_data.c: Likewise.
5005 * config/libbid/bid_decimal_globals.c: Likewise.
5006 * config/libbid/bid_div_macros.h: Likewise.
5007 * config/libbid/bid_dpd.c: Likewise.
5008 * config/libbid/bid_flag_operations.c: Likewise.
5009 * config/libbid/bid_from_int.c: Likewise.
5010 * config/libbid/bid_functions.h: Likewise.
5011 * config/libbid/bid_gcc_intrinsics.h: Likewise.
5012 * config/libbid/bid_inline_add.h: Likewise.
5013 * config/libbid/bid_internal.h: Likewise.
5014 * config/libbid/bid_round.c: Likewise.
5015 * config/libbid/bid_sqrt_macros.h: Likewise.
5016
50172009-04-09 Jakub Jelinek <jakub@redhat.com>
5018
5019 * Makefile.in: Change copyright header to refer to version
5020 3 of the GNU General Public License and to point readers at the
5021 COPYING3 file and the FSF's license web page.
5022 * config.host: Likewise.
5023
633dd061
AM
50242009-04-07 Alan Modra <amodra@bigpond.net.au>
5025
5026 * config.host: Reorder and merge to match config.gcc change.
5027
457d1d00
AM
50282009-04-03 Alan Modra <amodra@bigpond.net.au>
5029
5030 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
5031
52c0e446
JM
50322009-03-28 Joseph Myers <joseph@codesourcery.com>
5033
5034 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
5035 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
5036 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
5037 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
5038
ba181049
UB
50392009-02-12 Uros Bizjak <ubizjak@gmail.com>
5040
5041 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
5042 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
5043
c252db20
L
50442009-02-12 H.J. Lu <hongjiu.lu@intel.com>
5045
ba181049
UB
5046 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
5047 ia64/t-softfp-compat to tmake_file.
c252db20
L
5048
5049 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
5050
5051 * config/ia64/__divxf3.asm: New.
5052 * config/ia64/_fixtfdi.asm: Likewise.
5053 * config/ia64/_fixunstfdi.asm: Likewise.
5054 * config/ia64/_floatditf.asm: Likewise.
5055 * config/ia64/t-fprules-softfp: Likewise.
5056 * config/ia64/t-softfp-compat: Likewise.
5057 * config/ia64/tf-signs.c: Likewise.
5058
c60535f9
BE
50592009-01-18 Ben Elliston <bje@au.ibm.com>
5060
5061 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
5062
ce16861e
BE
50632009-01-16 Ben Elliston <bje@au.ibm.com>
5064
5065 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
5066 to tmake_file.
5067
bcf4713b
BE
50682009-01-13 Ben Elliston <bje@au.ibm.com>
5069
5070 * config/t-softfp: New file.
5071 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
5072 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
5073
2042cb04
JS
50742009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
5075
5076 * config.host: Add m32r*-*-rtems*.
5077
541ed00e
JS
50782008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
5079
5080 * config.host: Add m32c*-*-rtems*.
5081
19523300
RO
50822008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
5083
5084 PR bootstrap/33100
5085 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
5086 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
5087 * configure: Regenerate.
5088 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
5089 tmake_file here from gcc/config.gcc.
5090 Move extra_parts here from gcc/config.gcc.
5091 * config/i386/t-sol2: Move here from gcc/config/i386.
5092 Use gcc_srcdir instead of srcdir.
5093
0a4a51c7
AN
50942008-11-18 Adam Nemet <anemet@caviumnetworks.com>
5095
5096 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
5097 case.
5098
2a761e46
TS
50992008-11-09 Thomas Schwinge <tschwinge@gnu.org>
5100
5101 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
5102
c0451df7
TS
51032008-10-08 Thomas Schwinge <tschwinge@gnu.org>
5104
5105 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
5106
358da97e
HS
51072008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
5108
5109 Add picoChip port.
5110 * config.host: Add picochip-*-*.
5111
c660f132
BW
51122008-08-06 Bob Wilson <bob.wilson@acm.org>
5113
5114 * config.host: Match more processor names for Xtensa.
5115
d1349557
L
51162008-07-08 H.J. Lu <hongjiu.lu@intel.com>
5117
5118 * config/i386/64/t-softfp-compat: Update comments.
5119
dd7b73c0
L
51202008-07-07 H.J. Lu <hongjiu.lu@intel.com>
5121
5122 * config/i386/64/_divtc3-compat.c: Moved to ...
5123 * config/i386/64/_divtc3.c: Here.
5124
5125 * config/i386/64/_multc3-compat.c: Moved to ...
5126 * config/i386/64/_multc3.c: Here.
5127
5128 * config/i386/64/_powitf2-compat.c: Moved to ...
5129 * config/i386/64/_powitf2.c: Here.
5130
5131 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
5132 .c suffix instead of -compat.c.
5133
6e1fab3d
UB
51342008-07-05 Uros Bizjak <ubizjak@gmail.com>
5135
5136 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
5137 (_FP_MUL_MEAT_D): Ditto.
5138 (_FP_DIV_MEAT_S): Ditto.
5139 (_FP_DIV_MEAT_D): Ditto.
5140
f92518d7
RS
51412008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
5142
5143 * Makefile.in: Add support for __sync_* libgcc functions.
5144
d0aede14
L
51452008-07-03 H.J. Lu <hongjiu.lu@intel.com>
5146
5147 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
5148
c174f11c
L
51492008-07-02 H.J. Lu <hongjiu.lu@intel.com>
5150
5151 PR boostrap/36702
5152 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
5153 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
5154
5155 * config/i386/64/t-fprules-softfp: Moved to ...
5156 * config/i386/64/t-softfp-compat: This. New.
5157
5f464fa2
UB
51582008-07-02 Uros Bizjak <ubizjak@gmail.com>
5159
5160 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
5161 Initialize f with 0.0.
5162
ff473280
L
51632008-07-02 H.J. Lu <hongjiu.lu@intel.com>
5164
5165 PR target/36669
5166 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
5167
5168 * config/i386/64/_divtc3-compat.c: New.
5169 * config/i386/64/_multc3-compat.c: Likewise.
5170 * config/i386/64/_powitf2-compat.c: Likewise.
5171 * config/i386/64/eqtf2.c: Likewise.
5172 * config/i386/64/getf2.c: Likewise.
5173 * config/i386/64/letf2.c: Likewise.
5174 * config/i386/64/t-fprules-softfp: Likewise.
5175
51762008-07-02 H.J. Lu <hongjiu.lu@intel.com>
5177
5178 * config.host: Add i386/${host_address}/t-fprules-softfp to
5179 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
dfb3b0e3 5180 i[34567]86-*-linux*, x86_64-*-linux*.
ff473280
L
5181
5182 * configure.ac: Set host_address to 64 or 32 for x86.
5183 * configure: Regenerated.
5184
5185 * Makefile.in (config.status): Also depend on
5186 $(srcdir)/config.host.
5187
5188 * config/i386/32/t-fprules-softfp: New.
5189 * config/i386/32/tf-signs.c: Likewise.
5190
5191 * config/i386/64/sfp-machine.h: New. Moved from gcc.
5192
51932008-07-02 H.J. Lu <hongjiu.lu@intel.com>
5194 Uros Bizjak <ubizjak@gmail.com>
5195
5196 * config/i386/32/sfp-machine.h: New.
5197
30551d99
NF
51982008-06-26 Nathan Froyd <froydnj@codesourcery.com>
5199
5200 * config/rs6000/t-ppccomm: Remove rules that conflict with
5201 auto-generated rules.
5202
18c04407
RW
52032008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5204
5205 * configure.ac: sinclude override.m4.
5206 * configure: Regenerate.
5207
10fbe77a
BRF
52082008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
5209
5210 * configure: Regenerate.
5211
bc6d4c3f
JM
52122008-06-10 Joseph Myers <joseph@codesourcery.com>
5213
5214 * Makefile.in (DECNUMINC): Remove
5215 -I$(MULTIBUILDTOP)../../libdecnumber.
5216 * gstdint.h: New.
5217
cd985f66
JM
52182008-06-07 Joseph Myers <joseph@codesourcery.com>
5219
5220 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
5221 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
5222 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
5223 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
5224 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
5225 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
5226 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
5227 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
5228 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
5229 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
5230 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
5231 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
5232 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
5233 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
5234
93fea8d3
AL
52352008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
5236
5237 * config.host (sh2[lbe]*-*-linux*): Allow target.
5238
18724e30
NF
52392008-04-30 Nathan Froyd <froydnj@codesourcery.com>
5240
5241 * config/rs6000/t-ppccomm: Add build rules for new files.
5242 (LIB2ADD_ST): New variable.
5243
47583040
AH
52442008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
5245
5246 PR target/34210
5247 PR target/35508
5248 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
5249 * config/t-avr: New file. Build 16bit libgcc functions.
5250
cf8e67fe
JJ
52512008-03-02 Jakub Jelinek <jakub@redhat.com>
5252
5253 PR target/35401
5254 * config/t-slibgcc-darwin: Make install-leaf dependent on
5255 install-darwin-libgcc-stubs instead of install.
5256
8d8da227
JM
52572008-01-25 Joseph Myers <joseph@codesourcery.com>
5258
5259 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
5260 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
5261 sh-*-rtemscoff*): Remove cases.
5262
edbf8b16
RS
52632007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
5264
5265 * Makefile.in (all): Use install-leaf rather than install.
5266 (install): Split most of the rule into...
5267 (install-leaf): ...this new one.
5268
89deeaff
EK
52692007-12-19 Etsushi Kato <ek.kato@gmail.com>
5270 Paolo Bonzini <bonzini@gnu.org>
5271
5272 PR target/30572
5f464fa2
UB
5273 * Makefile.in: Use @shlib_slibdir@ substitution to get
5274 correct install name on darwin.
89deeaff 5275 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
dfb3b0e3 5276
4081d704
HPN
52772007-12-15 Hans-Peter Nilsson <hp@axis.com>
5278
5279 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
5280 cris-*-elf and cris-*-none.
5281 (crisv32-*-linux*): Similar, as cris-*-linux*.
5282
f43e89a3
RIL
52832007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
5284
5285 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
5286
b4e9c2c6
L
52872007-10-27 H.J. Lu <hongjiu.lu@intel.com>
5288
5289 PR regression/33926
5290 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
5291 * configure: Regenerated.
5292
b2a00c89
L
52932007-09-27 H.J. Lu <hongjiu.lu@intel.com>
5294
5295 * Makefile.in (dfp-filenames): Replace decimal_globals,
5296 decimal_data, binarydecimal and convert_data with
5297 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
5298 and bid_convert_data, respectively.
5299
8d2a9e0e
CF
53002007-09-17 Chao-ying Fu <fu@mips.com>
5301 Nigel Stephens <nigel@mips.com>
5302
5303 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
5304 * Makefile.in (fixed_point): Define.
5305 Check if fixed_point is yes to build support functions.
5306 * configure.ac: Check for fixed_point support.
5307 * configure: Regenerated.
5308 * gen-fixed.sh: New file to generate lists of fixed-point labels,
5309 funcs, modes, from, to.
5310
2b53935d
JJ
53112007-09-11 Janis Johnson <janis187@us.ibm.com
5312
5313 * Makefile.in (dfp-filenames): Add bid128_noncomp.
5314
2533577f
JJ
53152007-09-10 Janis Johnson <janis187@us.ibm.com>
5316
5317 * Makefile.in (dfp-filenames): Remove decUtility, add
5318 decDouble, decPacked, decQuad, decSingle.
5319
3ae3dbd6
HK
53202007-08-27 Hans Kester <hans.kester@ellips.nl>
5321
5322 * config.host : Add x86_64-elf target.
5323
22867d02
L
53242007-07-06 H.J. Lu <hongjiu.lu@intel.com>
5325
5326 * configure.ac (set_have_cc_tls): Add a missing =.
5327 * configure: Regenerated.
5328
6f461e76
L
53292007-07-06 H.J. Lu <hongjiu.lu@intel.com>
5330
5331 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
5332 and x86_64-*-linux*.
5333
5334 * config/t-tls: New file.
5335
dfb3b0e3 5336 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6f461e76
L
5337
5338 * configure.ac: Include ../config/enable.m4 and
5339 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
5340 supports TLS and substitute set_have_cc_tls.
5341 * configure: Regenerated.
5342
200359e8
L
53432007-07-04 H.J. Lu <hongjiu.lu@intel.com>
5344
5345 * Makefile.in: Use libbid for DFP when BID is enabled.
5346
76f5e200
DS
53472007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
5348
5349 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
dfb3b0e3 5350 extra_parts. Add config/i386/t-cygming to tmake_file.
76f5e200
DS
5351 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
5352
9bd196f0 53532007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
200359e8 5354 Danny Smith <dannysmith@users.sourceforge.net>
9bd196f0
ZM
5355
5356 PR target/29498
5357 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
5358 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
5359 * config/i386/t-crtfm: Compile crtfastmath.o with
5360 -minline-all-stringops.
5361
1910440e
RS
53622007-05-10 Richard Sandiford <richard@codesourcery.com>
5363
5364 * config.host (sparc-wrs-vxworks): New target.
5365
7d33c31d
KH
53662007-04-14 Kazu Hirata <kazu@codesourcery.com>
5367
5368 * config.host: Recognize fido.
5369
96fccd0d
JJ
53702007-04-04 Janis Johnson <janis187@us.ibm.com>
5371
5372 * configure: Check host, not target, for decimal float support.
5373
577565f9
UB
53742007-04-03 Uros Bizjak <ubizjak@gmail.com>
5375
5376 * config/i386/t-crtpc: New file.
5377 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5f464fa2 5378 (x86_64-*-linux*): Ditto.
577565f9 5379
ccf8e764
RH
53802007-02-30 Kai Tietz <kai.tietz@onevision.com>
5381
5382 * config.host (x86_64-*-mingw*): New target.
5383
79b87c74
MM
53842007-03-23 Michael Meissner <michael.meissner@amd.com>
5385 H.J. Lu <hongjiu.lu@intel.com>
5386
5387 * Makefile.in (enable_decimal_float): New.
5388 (DECNUMINC): Add
5389 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
5390 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
5391 (decbits-filenames): This.
5392 (decbits-objects): New.
5393 (libgcc-objects): Add $(decbits-objects).
5394
5395 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
5396 Substitute enable_decimal_float.
5397 * configure: Regenerated.
5398
8fce4e31
HPN
53992007-03-19 Hans-Peter Nilsson <hp@axis.com>
5400
5401 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
5402
e8bb4597
BM
54032007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
5404
5405 * Makefile.in (install-info): New dummy target.
5406
344189f9
BS
54072007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
5408
5409 * config.host (bfin*-linux-uclibc*): Set extra_parts.
5410
ac84c172
BM
54112007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
5412
5413 * Makefile.in: Add install-html and install-pdf dummy
5414 targets.
5415
cd5c2357
RS
54162007-02-05 Roger Sayle <roger@eyesopen.com>
5417 Daniel Jacobowitz <dan@codesourcery.com>
5418
5419 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
5420 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
5421 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
5422
d9a66f98
JJ
54232007-01-29 Janis Johnson <janis187@us.ibm.com>
5424
5425 * Makefile.in (dec-filenames): Add decExcept.
5426
9891ec5f
DJ
54272007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
5428
5429 PR bootstrap/30469
5430 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
5431 -fprofile-use.
5432
d6efbf5a
DJ
54332007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
5434
5435 * configure.ac: Add --enable-version-specific-runtime-libs.
5436 Correct $slibdir default.
5437 * configure: Regenerated.
5438
17caeff2
JM
54392007-01-23 Joseph Myers <joseph@codesourcery.com>
5440
5441 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
5442
5ea41e3a
AP
54432007-01-21 Andrew Pinski <pinskia@gmail.com>
5444
5445 PR target/30519
5446 * config.host (alpha*-*-linux*): Set extra_parts.
5447
26900826
KK
54482007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
5449
5450 * config/sh/t-linux: New.
5451 * config.host (sh*-*-linux*): Set tmake_file.
5452
97af925b
DJ
54532007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
5454
5455 * Makefile.in (install): Handle multilibs.
5456
b0088af7
BM
54572007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
5458
5459 * Makefile.in: Added .PHONY entry for documentation targets.
5460
e0a9456a
BM
54612007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
5462
5463 * Makefile.in: Add empty info, html, dvi, pdf targets.
5464
7fd453b4
MS
54652007-01-04 Mike Stump <mrs@apple.com>
5466
5467 * Makefile.in (MAKEINFO): Remove.
5468 (PERL): Likewise.
5469
14e8fc8b
PB
54702007-01-04 Paolo Bonzini <bonzini@gnu.org>
5471
5472 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
5473 * configure: Regenerate.
5474 * Makefile.in (host_subdir): Substitute it.
dfb3b0e3 5475 (gcc_objdir): Use it.
14e8fc8b 5476
1555beba
DJ
54772007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
5478
5479 * config.host (ia64*-*-linux*): Set tmake_file.
5480
79e6eaeb
DJ
54812007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
5482
5483 * Makefile.in (version): Define.
5484
fa958513
DJ
54852007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
5486 Paolo Bonzini <bonzini@gnu.org>
5487
5488 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
5489 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
5490 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
5491 config/sparc/t-crtfm, config/t-slibgcc-darwin,
5492 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
5493 shared-object.mk, siditi-object.mk, static-object.mk: New files.
5494 * configure: Generated.