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