]> git.ipfire.org Git - thirdparty/gcc.git/blob - libgcc/ChangeLog
[NetBSD] Add support for the Arm EABI.
[thirdparty/gcc.git] / libgcc / ChangeLog
1 2019-06-14 Matt Thomas <matt@3am-software.com>
2 Matthew Green <mrg@eterna.com.au>
3 Nick Hudson <skrll@netbsd.org>
4 Maya Rashish <coypu@sdf.org>
5
6 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
7 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
8 functions to build.
9 * config/arm/t-netbsd-eabi: New file.
10
11 2019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
12
13 * config.host: Add PRU target.
14 * config/pru/asri.c: New file.
15 * config/pru/eqd.c: New file.
16 * config/pru/eqf.c: New file.
17 * config/pru/ged.c: New file.
18 * config/pru/gef.c: New file.
19 * config/pru/gtd.c: New file.
20 * config/pru/gtf.c: New file.
21 * config/pru/led.c: New file.
22 * config/pru/lef.c: New file.
23 * config/pru/lib2bitcountHI.c: New file.
24 * config/pru/lib2divHI.c: New file.
25 * config/pru/lib2divQI.c: New file.
26 * config/pru/lib2divSI.c: New file.
27 * config/pru/libgcc-eabi.ver: New file.
28 * config/pru/ltd.c: New file.
29 * config/pru/ltf.c: New file.
30 * config/pru/mpyll.S: New file.
31 * config/pru/pru-abi.h: New file.
32 * config/pru/pru-asm.h: New file.
33 * config/pru/pru-divmod.h: New file.
34 * config/pru/sfp-machine.h: New file.
35 * config/pru/t-pru: New file.
36
37 2019-06-11 Jakub Jelinek <jakub@redhat.com>
38
39 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
40
41 2019-06-10 Martin Liska <mliska@suse.cz>
42
43 PR bootstrap/90808
44 * libgcov.h: Add ATTRIBUTE_UNUSED.
45
46 2019-06-10 Martin Liska <mliska@suse.cz>
47
48 * Makefile.in: Add __gcov_one_value_profiler_v2,
49 __gcov_one_value_profiler_v2_atomic and
50 __gcov_indirect_call_profiler_v4.
51 * libgcov-merge.c (__gcov_merge_single): Change
52 function signature.
53 (merge_single_value_set): New.
54 * libgcov-profiler.c (__gcov_one_value_profiler_body):
55 Update functionality.
56 (__gcov_one_value_profiler): Remove.
57 (__gcov_one_value_profiler_v2): ... this.
58 (__gcov_one_value_profiler_atomic): Rename to ...
59 (__gcov_one_value_profiler_v2_atomic): this.
60 (__gcov_indirect_call_profiler_v3): Rename to ...
61 (__gcov_indirect_call_profiler_v4): ... this.
62 * libgcov.h (__gcov_one_value_profiler): Remove.
63 (__gcov_one_value_profiler_atomic): Remove.
64 (__gcov_one_value_profiler_v2_atomic): New.
65 (__gcov_indirect_call_profiler_v3): Remove.
66 (__gcov_one_value_profiler_v2): New.
67 (__gcov_indirect_call_profiler_v4): New.
68 (gcov_get_counter_ignore_scaling): New function.
69
70 2019-06-07 Martin Liska <mliska@suse.cz>
71
72 * Makefile.in: Remove usage of
73 _gcov_merge_icall_topn.
74 * libgcov-driver.c (gcov_sort_n_vals): Remove.
75 (gcov_sort_icall_topn_counter): Likewise.
76 (gcov_sort_topn_counter_arrays): Likewise.
77 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
78 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
79 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
80 Likewise.
81 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
82 (struct indirect_call_tuple): Remove.
83 (__gcov_indirect_call_topn_profiler): Remove.
84 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
85 * libgcov.h (gcov_sort_n_vals): Remove.
86 (L_gcov_merge_icall_topn): Likewise.
87 (__gcov_merge_icall_topn): Likewise.
88 (__gcov_indirect_call_topn_profiler): Likewise.
89
90 2019-06-06 Iain Sandoe <iain@sandoe.co.uk>
91
92 * config/rs6000/t-darwin: Ensure that the unwinder is built with
93 altivec enabled.
94
95 2019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
96
97 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
98 section.
99 (__mspabi_slli): Likewise.
100 (__mspabi_slll_n): Likewise.
101 (__mspabi_slll): Likewise.
102 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
103 (__mspabi_srai): Likewise.
104 (__mspabi_sral_n): Likewise.
105 (__mspabi_sral): Likewise.
106 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
107 (__mspabi_srli): Likewise.
108 (__mspabi_srll_n): Likewise.
109 (__mspabi_srll): Likewise.
110
111 2019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
112
113 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
114 Add appropriate tm_file clause as well.
115 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
116
117 2019-06-05 James Clarke <jrtc27@jrtc27.com>
118
119 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
120 rather than .data/.bss so it can be accessed via gp-relative
121 addressing.
122
123 2019-06-05 David Edelsohn <dje.gcc@gmail.com>
124
125 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
126 (CR2_REGNO): Rename to R_CR2.
127 (XER_REGNO): Rename to R_XER.
128 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
129 (VRSAVE_REGNO): Rename to R_VRSAVE.
130 (VSCR_REGNO): R_VSCR.
131
132 2019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
133
134 * config.host (rx-*-linux*): Add new case.
135 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
136
137 2019-05-29 Sam Tebbs <sam.tebbs@arm.com>
138
139 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
140 function.
141 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
142 aarch64_post_frob_eh_handler_addr): Add check for b-key.
143 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
144 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
145 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
146 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
147 string.
148 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
149 string.
150 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
151
152 2019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
153
154 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
155 Remove Solaris 9 and 10 support.
156 (sparc_is_sighandler): Likewise.
157
158 2019-05-26 John David Anglin <danglin@gcc.gnu.org>
159
160 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
161
162 2019-05-17 H.J. Lu <hongjiu.lu@intel.com>
163
164 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
165 4_FP_W_TYPEs are used for IEEE quad precision.
166 * soft-fp/extendhftf2.c: Likewise.
167 * soft-fp/extendsftf2.c: Likewise.
168 * soft-fp/extendxftf2.c: Likewise.
169 * soft-fp/trunctfdf2.c: Likewise.
170 * soft-fp/trunctfhf2.c: Likewise.
171 * soft-fp/trunctfsf2.c: Likewise.
172 * soft-fp/trunctfxf2.c: Likewise.
173 * config/rs6000/ibm-ldouble.c: Likewise.
174
175 2019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
176
177 * config.host: Simplify various *-*-solaris2.1[0-9]* to
178 *-*-solaris2*.
179 * configure.ac: Likewise.
180 * configure: Regenerate.
181
182 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
183 Solaris 10 and Solaris 11 < snv_125 handling.
184
185 2019-05-12 Iain Sandoe <iain@sandoe.co.uk>
186
187 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
188
189 2019-05-07 Hongtao Liu <hongtao.liu@intel.com>
190
191 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
192 * config/i386/cpuinfo.h (enum processor_features): Add
193 FEATURE_AVX512BF16.
194
195 2019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
196 Bernd Edlinger <bernd.edlinger@hotmail.de>
197 Jakub Jelinek <jakub@redhat.com>
198
199 PR target/89093
200 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
201 * config/arm/unwind-arm.c: Likewise.
202 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
203 attribute for ARM.
204
205 2019-04-15 Monk Chiang <sh.chiang04@gmail.com>
206
207 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
208 (RT_SIGRETURN): Update.
209 (nds32_fallback_frame_state): Update.
210
211 2019-02-21 Martin Sebor <msebor@redhat.com>
212
213 * libgcc2.h (__clear_cache): Correct signature.
214 * libgcc2.c (__clear_cache): Same.
215
216 2019-02-20 Uroš Bizjak <ubizjak@gmail.com>
217
218 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
219 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
220
221 2019-02-19 Uroš Bizjak <ubizjak@gmail.com>
222
223 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
224 regno instead of index to DWARF_ZERO_REG.
225
226 2019-02-15 Eric Botcazou <ebotcazou@adacore.com>
227
228 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
229 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
230
231 2019-01-31 Uroš Bizjak <ubizjak@gmail.com>
232
233 * config/alpha/t-linux: Add -mfp-rounding-mode=d
234 to HOST_LIBGCC2_CFLAGS.
235
236 2019-01-23 Joseph Myers <joseph@codesourcery.com>
237
238 PR libgcc/88931
239 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
240
241 2019-01-18 Martin Liska <mliska@suse.cz>
242
243 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
244 to ...
245 (__gcov_indirect_call_profiler_v3): ... this.
246 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
247 (__gcov_indirect_call_profiler_v3): Likewise.
248 * Makefile.in: Bump function name.
249
250 2019-01-18 Martin Liska <mliska@suse.cz>
251
252 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
253 (gcov_version): Use in gcov_error.
254 (merge_one_data): Likewise.
255 (dump_one_gcov): Likewise.
256
257 2019-01-18 Martin Liska <mliska@suse.cz>
258
259 * libgcov-driver.c (gcov_version_string): New function.
260 (gcov_version): Convert version integer into string.
261
262 2019-01-17 Andrew Stubbs <ams@codesourcery.com>
263 Kwok Cheung Yeung <kcy@codesourcery.com>
264 Julian Brown <julian@codesourcery.com>
265 Tom de Vries <tom@codesourcery.com>
266
267 * config.host: Recognize amdgcn*-*-amdhsa.
268 * config/gcn/crt0.c: New file.
269 * config/gcn/lib2-divmod-hi.c: New file.
270 * config/gcn/lib2-divmod.c: New file.
271 * config/gcn/lib2-gcn.h: New file.
272 * config/gcn/sfp-machine.h: New file.
273 * config/gcn/t-amdgcn: New file.
274
275 2019-01-09 Sandra Loosemore <sandra@codesourcery.com>
276
277 PR other/16615
278
279 * config/c6x/libunwind.S: Mechanically replace "can not" with
280 "cannot".
281 * config/tilepro/atomic.h: Likewise.
282 * config/vxlib-tls.c: Likewise.
283 * generic-morestack-thread.c: Likewise.
284 * generic-morestack.c: Likewise.
285 * mkmap-symver.awk: Likewise.
286
287 2019-01-01 Jakub Jelinek <jakub@redhat.com>
288
289 Update copyright years.
290
291 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
292
293 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
294 to ignore -Waddress-of-packed-member.
295
296 2018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
297
298 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
299 parameter and corresponding code.
300 (ARM_FUNC_START): Likewise in both definitions.
301 Also update footer comment about condition that need to match with
302 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
303 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
304 defined. Weakly define it in this case.
305 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
306 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
307 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
308 comment to keep condition in sync with the one in
309 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
310
311 2018-12-18 Wei Xiao <wei3.xiao@intel.com>
312
313 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
314 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
315
316 2018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
317
318 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
319 and .cfi_endproc directives for VxWorks targets.
320
321 2018-12-05 Paul Koning <ni1d@arrl.net>
322
323 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
324
325 2018-11-27 Alan Modra <amodra@gmail.com>
326
327 * config/rs6000/morestack.S (__stack_split_initialize),
328 (__morestack_get_guard, __morestack_set_guard),
329 (__morestack_make_guard): Provide CFI covering these functions.
330 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
331
332 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
333
334 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
335 (sc_pt_regs_lr): Update for kernel.
336 (sc_pt_regs_tls): Update for kernel.
337
338 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
339
340 * config/csky/linux-unwind.h: Fix coding style.
341
342 2018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
343
344 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
345 (csky_fallback_frame_state): Modify the check of the
346 instructions to adapt to changes in the kernel
347
348 2018-11-09 Stafford Horne <shorne@gmail.com>
349 Richard Henderson <rth@twiddle.net>
350
351 * config.host: Add OpenRISC support.
352 * config/or1k/*: New.
353
354 2018-11-08 Kito Cheng <kito@andestech.com>
355
356 * soft-fp/adddf3.c: Update from glibc.
357 * soft-fp/addsf3.c: Likewise.
358 * soft-fp/addtf3.c: Likewise.
359 * soft-fp/divdf3.c: Likewise.
360 * soft-fp/divsf3.c: Likewise.
361 * soft-fp/divtf3.c: Likewise.
362 * soft-fp/double.h: Likewise.
363 * soft-fp/eqdf2.c: Likewise.
364 * soft-fp/eqsf2.c: Likewise.
365 * soft-fp/eqtf2.c: Likewise.
366 * soft-fp/extenddftf2.c: Likewise.
367 * soft-fp/extended.h: Likewise.
368 * soft-fp/extendhftf2.c: Likewise.
369 * soft-fp/extendsfdf2.c: Likewise.
370 * soft-fp/extendsftf2.c: Likewise.
371 * soft-fp/extendxftf2.c: Likewise.
372 * soft-fp/fixdfdi.c: Likewise.
373 * soft-fp/fixdfsi.c: Likewise.
374 * soft-fp/fixdfti.c: Likewise.
375 * soft-fp/fixhfti.c: Likewise.
376 * soft-fp/fixsfdi.c: Likewise.
377 * soft-fp/fixsfsi.c: Likewise.
378 * soft-fp/fixsfti.c: Likewise.
379 * soft-fp/fixtfdi.c: Likewise.
380 * soft-fp/fixtfsi.c: Likewise.
381 * soft-fp/fixtfti.c: Likewise.
382 * soft-fp/fixunsdfdi.c: Likewise.
383 * soft-fp/fixunsdfsi.c: Likewise.
384 * soft-fp/fixunsdfti.c: Likewise.
385 * soft-fp/fixunshfti.c: Likewise.
386 * soft-fp/fixunssfdi.c: Likewise.
387 * soft-fp/fixunssfsi.c: Likewise.
388 * soft-fp/fixunssfti.c: Likewise.
389 * soft-fp/fixunstfdi.c: Likewise.
390 * soft-fp/fixunstfsi.c: Likewise.
391 * soft-fp/fixunstfti.c: Likewise.
392 * soft-fp/floatdidf.c: Likewise.
393 * soft-fp/floatdisf.c: Likewise.
394 * soft-fp/floatditf.c: Likewise.
395 * soft-fp/floatsidf.c: Likewise.
396 * soft-fp/floatsisf.c: Likewise.
397 * soft-fp/floatsitf.c: Likewise.
398 * soft-fp/floattidf.c: Likewise.
399 * soft-fp/floattihf.c: Likewise.
400 * soft-fp/floattisf.c: Likewise.
401 * soft-fp/floattitf.c: Likewise.
402 * soft-fp/floatundidf.c: Likewise.
403 * soft-fp/floatundisf.c: Likewise.
404 * soft-fp/floatunditf.c: Likewise.
405 * soft-fp/floatunsidf.c: Likewise.
406 * soft-fp/floatunsisf.c: Likewise.
407 * soft-fp/floatunsitf.c: Likewise.
408 * soft-fp/floatuntidf.c: Likewise.
409 * soft-fp/floatuntihf.c: Likewise.
410 * soft-fp/floatuntisf.c: Likewise.
411 * soft-fp/floatuntitf.c: Likewise.
412 * soft-fp/gedf2.c: Likewise.
413 * soft-fp/gesf2.c: Likewise.
414 * soft-fp/getf2.c: Likewise.
415 * soft-fp/half.h: Likewise.
416 * soft-fp/ledf2.c: Likewise.
417 * soft-fp/lesf2.c: Likewise.
418 * soft-fp/letf2.c: Likewise.
419 * soft-fp/muldf3.c: Likewise.
420 * soft-fp/mulsf3.c: Likewise.
421 * soft-fp/multf3.c: Likewise.
422 * soft-fp/negdf2.c: Likewise.
423 * soft-fp/negsf2.c: Likewise.
424 * soft-fp/negtf2.c: Likewise.
425 * soft-fp/op-1.h: Likewise.
426 * soft-fp/op-2.h: Likewise.
427 * soft-fp/op-4.h: Likewise.
428 * soft-fp/op-8.h: Likewise.
429 * soft-fp/op-common.h: Likewise.
430 * soft-fp/quad.h: Likewise.
431 * soft-fp/single.h: Likewise.
432 * soft-fp/soft-fp.h: Likewise.
433 * soft-fp/subdf3.c: Likewise.
434 * soft-fp/subsf3.c: Likewise.
435 * soft-fp/subtf3.c: Likewise.
436 * soft-fp/truncdfsf2.c: Likewise.
437 * soft-fp/trunctfdf2.c: Likewise.
438 * soft-fp/trunctfhf2.c: Likewise.
439 * soft-fp/trunctfsf2.c: Likewise.
440 * soft-fp/trunctfxf2.c: Likewise.
441 * soft-fp/unorddf2.c: Likewise.
442 * soft-fp/unordsf2.c: Likewise.
443 * soft-fp/unordtf2.c: Likewise.
444
445 2018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
446
447 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
448 * config/i386/cpuinfo.h (processor_types): Add znver2.
449
450 2018-11-01 Paul Koning <ni1d@arrl.net>
451
452 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
453 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
454
455 2018-10-31 Joseph Myers <joseph@codesourcery.com>
456
457 PR bootstrap/82856
458 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
459 * configure: Regenerate.
460
461 2018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
462
463 * config/arc/lib1funcs.S (_muldi3): New function.
464 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
465
466 2018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
467
468 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
469
470 2018-10-25 Martin Liska <mliska@suse.cz>
471
472 PR other/87735
473 * libgcov-profiler.c: Revert.
474
475 2018-10-24 Martin Liska <mliska@suse.cz>
476
477 * libgcov-profiler.c: Start from 1 in order to distinguish
478 functions which were seen and these that were not.
479
480 2018-10-18 Paul Koning <ni1d@arrl.net>
481
482 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
483 standard.
484 * divmod.c: Update references to __udivmodsi4.
485 * udivmod.c: Ditto.
486 * udivhi3.c: New file.
487 * udivmodhi4.c: New file.
488 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
489
490 2018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
491
492 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
493
494 2018-10-12 Olivier Hainque <hainque@adacore.com>
495
496 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
497 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
498
499 2018-10-08 Paul Koning <ni1d@arrl.net>
500
501 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
502
503 2018-10-04 Martin Liska <mliska@suse.cz>
504
505 PR gcov-profile/84107
506 * libgcov-profiler.c (__gcov_indirect_call):
507 Change type to indirect_call_tuple.
508 (struct indirect_call_tuple): New struct.
509 (__gcov_indirect_call_topn_profiler): Change type.
510 (__gcov_indirect_call_profiler_v2): Use the new
511 variables.
512 * libgcov.h (struct indirect_call_tuple): New struct
513 definition.
514
515 2018-10-03 Uros Bizjak <ubizjak@gmail.com>
516
517 * libgcc2.c (isnan): Use __builtin_isnan.
518 (isfinite): Use __builtin_isfinite.
519 (isinf): Use __builtin_isinf.
520
521 2018-09-26 Uros Bizjak <ubizjak@gmail.com>
522
523 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
524
525 2018-09-21 Alexandre Oliva <oliva@adacore.com>
526
527 * config/vxcache.c: New file. Provide __clear_cache, based on
528 the cacheTextUpdate VxWorks service.
529 * config/t-vxworks (LIB2ADD): Add vxcache.c.
530 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
531 * config/t-vxwoks7: Likewise.
532
533 2018-09-21 Martin Liska <mliska@suse.cz>
534
535 * libgcov-driver.c (crc32_unsigned): Remove.
536 (gcov_histogram_insert): Likewise.
537 (gcov_compute_histogram): Likewise.
538 (compute_summary): Simplify rapidly.
539 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
540 (merge_summary): Rapidly simplify.
541 (dump_one_gcov): Ignore gcov_summary.
542 (gcov_do_dump): Do not handle program summary, it's not
543 used.
544 * libgcov-util.c (tag_summary): Remove.
545 (read_gcda_finalize): Fix coding style.
546 (read_gcda_file): Initialize curr_object_summary.
547 (compute_summary): Remove.
548 (calculate_overlap): Remove settings of run_max.
549
550 2018-09-21 Monk Chiang <sh.chiang04@gmail.com>
551
552 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
553 ucontext_t type instead.
554 (nds32_fallback_frame_state): Remove struct _sigframe statement.
555
556 2018-09-21 Kito Cheng <kito.cheng@gmail.com>
557
558 * config/nds32/t-nds32-glibc: New file.
559
560 2018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
561
562 * configure.ac (solaris_ld_v2_maps): New test.
563 * configure: Regenerate.
564 * Makefile.in (solaris_ld_v2_maps): New variable.
565 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
566 if supported.
567
568 2018-08-23 Richard Earnshaw <rearnsha@arm.com>
569
570 PR target/86951
571 * config/arm/lib1funcs.asm (speculation_barrier): New function.
572 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
573 to build.
574
575 2018-08-22 Iain Sandoe <iain@sandoe.co.uk>
576
577 * config/unwind-dw2-fde-darwin.c
578 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
579 * config/darwin10-unwind-find-enc-func.c: … to here.
580 * config/t-darwin: Build Darwin10 unwinder shim crt.
581 * libgcc/config.host: Add the Darwin10 unwinder shim.
582
583 2018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
584
585 * config.host: Add crtbegin.o and crtend.o for
586 powerpc-wrs-vxworks target.
587
588 2018-08-17 Jojo <jijie_rong@c-sky.com>
589 Huibin Wang <huibin_wang@c-sky.com>
590 Sandra Loosemore <sandra@codesourcery.com>
591 Chung-Lin Tang <cltang@codesourcery.com>
592
593 C-SKY port: libgcc
594
595 * config.host: Add C-SKY support.
596 * config/csky/*: New.
597
598 2018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
599
600 * config/nds32/t-nds32-isr: Rearrange object dependency.
601 * config/nds32/initfini.c: Add dwarf2 unwinding support.
602 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
603 and registers usage.
604 * config/nds32/isr-library/excp_isr.S: Ditto.
605 * config/nds32/isr-library/intr_isr.S: Ditto.
606 * config/nds32/isr-library/reset.S: Ditto.
607 * config/nds32/isr-library/restore_all.inc: Ditto.
608 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
609 * config/nds32/isr-library/restore_partial.inc: Ditto.
610 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
611 * config/nds32/isr-library/save_all.inc: Ditto.
612 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
613 * config/nds32/isr-library/save_partial.inc: Ditto.
614 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
615 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
616
617 2018-08-11 John David Anglin <danglin@gcc.gnu.org>
618
619 * config/pa/linux-atomic.c: Update comment.
620 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
621 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
622 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
623 __ATOMIC_RELAXED for atomic loads.
624 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
625 unordered store to release lock.
626 (__sync_lock_release_8): Likewise.
627 (SYNC_LOCK_RELEASE_2): Remove define.
628
629 2018-08-02 Nicolas Pitre <nico@fluxnic.net>
630
631 PR libgcc/86512
632 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
633 exponent goes negative. Update my email address.
634 * config/arm/ieee754-sf.S: Likewise.
635
636 2018-08-01 Martin Liska <mliska@suse.cz>
637
638 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
639 check that __gcov_indirect_call_callee is non-null.
640
641 2018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
642
643 * config/arm/ieee754-df.S: Fix comment for code working on
644 architectures >= 4.
645 * config/arm/ieee754-sf.S: Likewise.
646
647 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
648
649 PR libgcc/85334
650 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
651 Removed.
652
653 2018-07-05 James Clarke <jrtc27@jrtc27.com>
654
655 * configure: Regenerated.
656
657 2018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
658
659 * Makefile.in (install_leaf): Use enable_gcov instead of
660 enable_libgcov.
661
662 2018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
663
664 * configure.ac: Add --disable-gcov option.
665 * configure: Regenerate.
666 * Makefile.in: Honour @enable_gcov@.
667
668 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
669
670 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
671 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
672 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
673 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
674 __ARM_ARCH__.
675 * config/arm/ieee754-sf.S: Likewise.
676 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
677
678 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
679
680 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
681 longer supported.
682 * config/arm/ieee754-sf.S: Likewise.
683
684 2018-06-20 Than McIntosh <thanm@google.com>
685
686 PR libgcc/86213
687 * generic-morestack.c (allocate_segment): Move calls to getenv and
688 getpagesize to __morestack_load_mmap.
689 (__morestack_load_mmap) Initialize static_pagesize and
690 use_guard_page here so as to avoid clobbering SSE regs during a
691 __morestack call.
692
693 2018-06-18 Michael Meissner <meissner@linux.ibm.com>
694
695 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
696 support modules with -mno-gnu-attribute.
697 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
698
699 2018-06-07 Olivier Hainque <hainque@adacore.com>
700
701 * config/t-vxworks (LIBGCC_INCLUDES): Add
702 -I$(MULTIBUILDTOP)../../gcc/include.
703 * config/t-vxworks7: Likewise. Reformat a bit to match
704 the t-vxworks layout.
705
706 2018-06-07 Olga Makhotina <olga.makhotina@intel.com>
707
708 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
709
710 2018-06-07 Martin Liska <mliska@suse.cz>
711
712 * libgcov-driver.c: Rename cs_all to all and assign it from
713 all_prg.
714
715 2018-06-07 Martin Liska <mliska@suse.cz>
716
717 PR bootstrap/86057
718 * libgcov-driver-system.c (replace_filename_variables): Use
719 memcpy instead of mempcpy.
720 (allocate_filename_struct): Do not allocate filename, allocate
721 prefix and set it.
722 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
723 here and properly copy content into it.
724 * libgcov-driver.c (struct gcov_filename): Remove max_length
725 field, change prefix from size_t into char *.
726 (compute_summary): Do not calculate longest filename.
727 (gcov_do_dump): Release memory of gf.filename after each file.
728 * libgcov-util.c (compute_summary): Use new signature of
729 compute_summary.
730 (calculate_overlap): Likewise.
731
732 2018-06-05 Martin Liska <mliska@suse.cz>
733
734 PR gcov-profile/47618
735 * libgcov-driver-system.c (replace_filename_variables): New
736 function.
737 (gcov_exit_open_gcda_file): Use it.
738
739 2018-06-05 Martin Liska <mliska@suse.cz>
740
741 * libgcov-driver.c (gcov_compute_histogram): Remove usage
742 of gcov_ctr_summary.
743 (compute_summary): Do it just for a single summary.
744 (merge_one_data): Likewise.
745 (merge_summary): Simplify as we read just single summary.
746 (dump_one_gcov): Pass proper argument.
747 * libgcov-util.c (compute_one_gcov): Simplify as we have just
748 single summary.
749 (gcov_info_count_all_cold): Likewise.
750 (calculate_overlap): Likewise.
751
752 2018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
753 Monk Chiang <sh.chiang04@gmail.com>
754
755 * config.host (nds32*-linux*): New.
756 * config/nds32/linux-atomic.c: New file.
757 * config/nds32/linux-unwind.h: New file.
758
759 2018-05-31 Uros Bizjak <ubizjak@gmail.com>
760
761 PR target/85591
762 * config/i386/cpuinfo.c (get_amd_cpu): Return
763 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
764
765 2018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
766
767 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
768
769 2018-05-29 Martin Liska <mliska@suse.cz>
770
771 PR gcov-profile/85759
772 * libgcov-driver-system.c (gcov_error): Introduce usage of
773 GCOV_EXIT_AT_ERROR env. variable.
774 * libgcov-driver.c (merge_one_data): Print error that we
775 overwrite a gcov file with a different timestamp.
776
777 2018-05-23 Kalamatee <kalamatee@gmail.com>
778
779 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
780 path to Lf$finfty.
781
782 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
783 Monk Chiang <sh.chiang04@gmail.com>
784 Jim Wilson <jimw@sifive.com>
785
786 * config/riscv/save-restore.S: Add support for rv32e.
787
788 2018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
789
790 * config/arm/libunwind.S: Update comment relating to armv5.
791
792 2018-05-17 Jerome Lambourg <lambourg@adacore.com>
793
794 * config/arm/cmse.c (cmse_check_address_range): Replace
795 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
796
797 2018-05-17 Olga Makhotina <olga.makhotina@intel.com>
798
799 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
800 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
801
802 2018-05-08 Olga Makhotina <olga.makhotina@intel.com>
803
804 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
805 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
806
807 2018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
808
809 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
810
811 2018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
812 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
813
814 PR libgcc/84292
815 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
816 op_and_fetch to return the right result.
817
818 2018-04-27 Alan Modra <amodra@gmail.com>
819
820 PR libgcc/85532
821 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
822 -fno-asynchronous-unwind-tables.
823
824 2018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
825
826 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
827 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
828
829 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
830
831 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
832 when including "config/i386/shadow-stack-unwind.h".
833
834 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
835
836 * configure: Regenerated.
837
838 2018-04-20 Michael Meissner <meissner@linux.ibm.com>
839
840 PR target/85456
841 * config/rs6000/_powikf2.c: New file. Add support for the
842 __builtin_powil function when long double is IEEE 128-bit floating
843 point.
844 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
845 __powikf2 support.
846 (__powikf2): Likewise.
847 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
848 (__powikf2_hw): Likewise.
849 (__powikf2): Likewise.
850 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
851 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
852 (_powikf2-hw.c): Likewise.
853
854 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
855
856 PR libgcc/85334
857 * unwind-generic.h (_Unwind_Frames_Increment): New.
858 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
859 Likewise.
860 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
861 count with _Unwind_Frames_Increment.
862 (_Unwind_ForcedUnwind_Phase2): Likewise.
863
864 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
865
866 PR libgcc/85379
867 * config/i386/morestack.S (__stack_split_initialize): Add
868 _CET_ENDBR.
869
870 2018-04-19 Jakub Jelinek <jakub@redhat.com>
871
872 * configure: Regenerated.
873
874 2018-04-18 David Malcolm <dmalcolm@redhat.com>
875
876 PR jit/85384
877 * configure: Regenerate.
878
879 2018-04-16 Jakub Jelinek <jakub@redhat.com>
880
881 PR target/84945
882 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
883 -Wdangling-else warnings. Mask shift counts to avoid
884 -Wshift-count-negative and -Wshift-count-overflow false positives.
885
886 2018-04-06 Ruslan Bukin <br@bsdpad.com>
887
888 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
889
890 2018-03-29 H.J. Lu <hongjiu.lu@intel.com>
891
892 PR target/85100
893 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
894 (XSTATE_FP): Likewise.
895 (XSTATE_SSE): Likewise.
896 (XSTATE_YMM): Likewise.
897 (XSTATE_OPMASK): Likewise.
898 (XSTATE_ZMM): Likewise.
899 (XSTATE_HI_ZMM): Likewise.
900 (XCR_AVX_ENABLED_MASK): Likewise.
901 (XCR_AVX512F_ENABLED_MASK): Likewise.
902 (get_available_features): Enable AVX and AVX512 features only
903 if their states are supported by OSXSAVE.
904
905 2018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
906
907 PR target/85025
908 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
909 Fix a typo, tmp => 255.
910
911 2018-03-20 Jakub Jelinek <jakub@redhat.com>
912
913 PR target/84945
914 * config/i386/cpuinfo.h (__cpu_features2): Declare.
915 * config/i386/cpuinfo.c (__cpu_features2): New variable for
916 ifndef SHARED only.
917 (set_feature): Define.
918 (get_available_features): Use set_feature macro. Set __cpu_features2
919 to the second word of features ifndef SHARED.
920
921 2018-03-15 Julia Koval <julia.koval@intel.com>
922
923 * config/i386/cpuinfo.c (get_available_features): Add
924 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
925 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
926 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
927 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
928 FEATURE_AVX512BITALG.
929
930 2018-03-14 Julia Koval <julia.koval@intel.com>
931
932 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
933 icelake client and icelake server.
934
935 2018-03-06 John David Anglin <danglin@gcc.gnu.org>
936
937 * config/pa/fptr.c (_dl_read_access_allowed): New.
938 (__canonicalize_funcptr_for_compare): Use it.
939
940 2018-02-28 Jakub Jelinek <jakub@redhat.com>
941
942 PR debug/83917
943 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
944 $asm_hidden_op if visibility ("hidden") attribute works.
945 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
946 * config/i386/i386-asm.h: Don't include auto-host.h.
947 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
948 PACKAGE_URL): Don't undefine.
949 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
950 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
951 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
952 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
953 definition instead of hardcoded .hidden.
954 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
955 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
956 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
957 (USE_GAS_CFI_DIRECTIVES): Don't define.
958 * configure: Regenerated.
959 * config.in: Likewise.
960
961 2018-02-26 Jakub Jelinek <jakub@redhat.com>
962
963 PR debug/83917
964 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
965 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
966 inclusion of auto-target.h and auto-host.h.
967 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
968 __GCC_HAVE_DWARF2_CFI_ASM.
969 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
970 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
971 cfi_pop): Define.
972 * config/i386/cygwin.S: Don't include auto-host.h here, just
973 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
974 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
975 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
976 * config/i386/resms64fx.h: Add cfi_* directives.
977 * config/i386/resms64x.h: Likewise.
978
979 2018-02-20 Max Filippov <jcmvbkbc@gmail.com>
980
981 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
982 .literal_position directive.
983 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
984
985 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
986
987 PR target/84148
988 * configure: Regenerate.
989
990 2018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
991
992 PR target/84239
993 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
994 Include cetintrin.h not x86intrin.h.
995
996 2018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
997
998 PR target/84239
999 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1000 Use new _get_ssp and _inc_ssp intrinsics.
1001
1002 2018-02-02 Julia Koval <julia.koval@intel.com>
1003
1004 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
1005
1006 2018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
1007
1008 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
1009 option.
1010 (__divsi3): Use RF16 safe registers.
1011 (__modsi3): Likewise.
1012
1013 2018-01-23 Max Filippov <jcmvbkbc@gmail.com>
1014
1015 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
1016 (__divsf3): Make NaN return value quiet.
1017 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
1018 (__divdf3): Make NaN return value quiet.
1019
1020 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1021
1022 * config/rl78/anddi3.S: New assembly file.
1023 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
1024
1025 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1026
1027 * config/rl78/umindi3.S: New assembly file.
1028 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
1029
1030 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1031
1032 * config/rl78/smindi3.S: New assembly file.
1033 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
1034
1035 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1036
1037 * config/rl78/smaxdi3.S: New assembly file.
1038 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
1039
1040 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1041
1042 * config/rl78/umaxdi3.S: New assembly file.
1043 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
1044
1045 2018-01-21 John David Anglin <danglin@gcc.gnu.org>
1046
1047 PR lto/83452
1048 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
1049 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
1050
1051 2018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
1052
1053 * config/aarch64/value-unwind.h (aarch64_vg): New function.
1054 (DWARF_LAZY_REGISTER_VALUE): Define.
1055 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
1056 to provide a fallback register value.
1057
1058 2018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
1059
1060 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
1061 __ibm128, instead of trying to use long double.
1062 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
1063 accomidate -mabi=ieeelongdouble multilibs.
1064 (CVT_IBM128_TO_FLOAT128): Likewise.
1065 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
1066 the appropriate IBM extended double type.
1067 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
1068 (__gcc_qsub): Likewise.
1069 (__gcc_qmul): Likewise.
1070 (__gcc_qdiv): Likewise.
1071 (pack_ldouble): Likewise.
1072 (__gcc_qneg): Likewise.
1073 (__gcc_qeq): Likewise.
1074 (__gcc_qne): Likewise.
1075 (__gcc_qge): Likewise.
1076 (__gcc_qle): Likewise.
1077 (__gcc_stoq): Likewise.
1078 (__gcc_dtoq): Likewise.
1079 (__gcc_itoq): Likewise.
1080 (__gcc_utoq): Likewise.
1081 (__gcc_qunord): Likewise.
1082 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
1083 quad-float128.h for the definitions.
1084 (COPYSIGN): Use the f128 version instead of the q version.
1085 (INFINITY): Likewise.
1086 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
1087 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
1088 quad-float128.h for the definitions.
1089 (COPYSIGN): Use the f128 version instead of the q version.
1090 (INFINITY): Likewise.
1091 (FABS): Likewise.
1092 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
1093 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
1094 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
1095
1096 2018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
1097
1098 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
1099 configuration.
1100
1101 2018-01-03 Jakub Jelinek <jakub@redhat.com>
1102
1103 Update copyright years.
1104
1105 2017-12-12 Kito Cheng <kito.cheng@gmail.com>
1106
1107 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
1108 * config/riscv/multi3.c: New file.
1109 * config/riscv/multi3.S: Remove.
1110
1111 2017-12-08 Jim Wilson <jimw@sifive.com>
1112
1113 * config/riscv/div.S: Use FUNC_* macros.
1114 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
1115 * config/riscv/save-restore.S: Likewise.
1116 * config/riscv/riscv-asm.h: New.
1117
1118 2017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
1119
1120 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
1121 * config/rs6000/_divkc3.c (__divkc3): Likewise.
1122
1123 PR libgcc/83112
1124 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
1125 correct type for all ifunc resolvers to silence -Wattribute-alias
1126 warnings. Eliminate the forward declaration of the resolver
1127 functions which is no longer needed.
1128 (__subkf3_resolve): Likewise.
1129 (__mulkf3_resolve): Likewise.
1130 (__divkf3_resolve): Likewise.
1131 (__negkf2_resolve): Likewise.
1132 (__eqkf2_resolve): Likewise.
1133 (__nekf2_resolve): Likewise.
1134 (__gekf2_resolve): Likewise.
1135 (__gtkf2_resolve): Likewise.
1136 (__lekf2_resolve): Likewise.
1137 (__ltkf2_resolve): Likewise.
1138 (__unordkf2_resolve): Likewise.
1139 (__extendsfkf2_resolve): Likewise.
1140 (__extenddfkf2_resolve): Likewise.
1141 (__trunckfsf2_resolve): Likewise.
1142 (__trunckfdf2_resolve): Likewise.
1143 (__fixkfsi_resolve): Likewise.
1144 (__fixkfdi_resolve): Likewise.
1145 (__fixunskfsi_resolve): Likewise.
1146 (__fixunskfdi_resolve): Likewise.
1147 (__floatsikf_resolve): Likewise.
1148 (__floatdikf_resolve): Likewise.
1149 (__floatunsikf_resolve): Likewise.
1150 (__floatundikf_resolve): Likewise.
1151 (__extendkftf2_resolve): Likewise.
1152 (__trunctfkf2_resolve): Likewise.
1153
1154 PR libgcc/83103
1155 * config/rs6000/quad-float128.h (TF): Don't define if long double
1156 is IEEE 128-bit floating point.
1157 (TCtype): Define as either TCmode or KCmode, depending on whether
1158 long double is IEEE 128-bit floating point.
1159 (__mulkc3_sw): Add declarations for software/hardware versions of
1160 complex multiply/divide.
1161 (__divkc3_sw): Likewise.
1162 (__mulkc3_hw): Likewise.
1163 (__divkc3_hw): Likewise.
1164 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
1165 handlers to switch between using software emulation and hardware
1166 float128 instructions, build the complex multiply/divide functions
1167 for both software and hardware support.
1168 * config/rs6000/_divkc3.c (_divkc3): Likewise.
1169 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
1170 (__divkc3_resolve): Likewise.
1171 (__mulkc3): Likewise.
1172 (__divkc3): Likewise.
1173 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
1174 (fp128_hw_src): Likewise.
1175 (fp128_hw_static_obj): Likewise.
1176 (fp128_hw_shared_obj): Likewise.
1177 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
1178 _mulkc3.c and _divkc3.c, changing the function name.
1179 (_divkc3-hw.c): Likewise.
1180 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
1181 and _divkc3-hw.c.
1182
1183 2017-11-26 Julia Koval <julia.koval@intel.com>
1184
1185 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
1186 * config/i386/cpuinfo.h (processor_subtypes): Add
1187 INTEL_COREI7_CANNONLAKE.
1188
1189 2017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1190
1191 PR bootstrap/83015
1192 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
1193 parameter.
1194 * config/xtensa/unwind-dw2-xtensa.c: Likewise
1195 * config/ia64/unwind-ia64.c: Add frames parameter.
1196 * unwind-sjlj.c: Likewise.
1197
1198 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1199
1200 * config/i386/linux-unwind.h: Include
1201 config/i386/shadow-stack-unwind.h.
1202 * config/i386/shadow-stack-unwind.h: New file.
1203 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
1204 pass it to _Unwind_Frames_Extra.
1205 * unwind-generic.h (_Unwind_Frames_Extra): New.
1206 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
1207 parameter. Add local variable frames to count number of frames.
1208 (_Unwind_ForcedUnwind_Phase2): Likewise.
1209 (_Unwind_RaiseException): Add local variable frames to count
1210 number of frames, pass it to _Unwind_RaiseException_Phase2 and
1211 uw_install_context.
1212 (_Unwind_ForcedUnwind): Likewise.
1213 (_Unwind_Resume): Likewise.
1214 (_Unwind_Resume_or_Rethrow): Likewise.
1215
1216 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1217
1218 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
1219 (CET_FLAGS): New.
1220 * config/i386/morestack.S: Include <cet.h>.
1221 (__morestack_large_model): Add _CET_ENDBR at function entrance.
1222 * config/i386/resms64.h: Include <cet.h>.
1223 * config/i386/resms64f.h: Likewise.
1224 * config/i386/resms64fx.h: Likewise.
1225 * config/i386/resms64x.h: Likewise.
1226 * config/i386/savms64.h: Likewise.
1227 * config/i386/savms64f.h: Likewise.
1228 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
1229 (CRTSTUFF_T_CFLAGS): Likewise.
1230 * configure.ac: Include ../config/cet.m4.
1231 Set and substitute CET_FLAGS.
1232 * configure: Regenerated.
1233
1234 2017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1235
1236 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
1237 renaming.
1238 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
1239 * configure.ac (libgcc_cv_solaris_crts): Likewise.
1240 * configure: Regenerate.
1241
1242 2017-11-07 Tom de Vries <tom@codesourcery.com>
1243
1244 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
1245 after "do {} while (0)".
1246
1247 2017-11-07 Tom de Vries <tom@codesourcery.com>
1248
1249 PR other/82784
1250 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
1251 semicolon after "do {} while (0)".
1252 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1253 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1254 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1255 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1256
1257 2017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
1258
1259 PR libgcc/82635
1260 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
1261 sysctl to determine whether we're in a trampoline.
1262 Keep the pattern matching method for systems without
1263 KERN_PROC_SIGTRAMP sysctl.
1264
1265 2017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
1266 Vineet Gupta <vgupta@synopsys.com>
1267
1268 * config.host (arc*-*-linux*): Set md_unwind_header variable.
1269 * config/arc/linux-unwind-reg.def: New file.
1270 * config/arc/linux-unwind-reg.h: Likewise.
1271
1272 2017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
1273
1274 * config/rl78/subdi3.S: New assembly file.
1275 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
1276
1277 2017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
1278
1279 * config/rl78/adddi3.S: New assembly file.
1280 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
1281
1282 2017-10-13 Jakub Jelinek <jakub@redhat.com>
1283
1284 PR target/82274
1285 * libgcc2.c (__mulvDI3): If both operands have
1286 the same highpart of -1 and the topmost bit of lowpart is 0,
1287 multiplication overflows even if both lowparts are 0.
1288
1289 2017-09-28 James Bowman <james.bowman@ftdichip.com>
1290
1291 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
1292
1293 2017-09-26 Joseph Myers <joseph@codesourcery.com>
1294
1295 * config/microblaze/crti.S, config/microblaze/crtn.S,
1296 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
1297 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
1298 config/microblaze/mulsi3.S,
1299 config/microblaze/stack_overflow_exit.S,
1300 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
1301 config/pa/milli64.S: Add .note.GNU-stack section.
1302
1303 2017-09-23 Daniel Santos <daniel.santos@pobox.com>
1304
1305 * configure.ac: Add Check for HAVE_AS_AVX.
1306 * config.in: Regenerate.
1307 * configure: Likewise.
1308 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
1309 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
1310 Correct out-of-date comments.
1311
1312 2017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
1313
1314 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
1315 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
1316
1317 2017-09-17 Daniel Santos <daniel.santos@pobox.com>
1318
1319 * config/i386/i386-asm.h (PASTE2): New macro.
1320 (ASMNAME): Modify to use PASTE2.
1321 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
1322 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
1323 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
1324 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
1325 * config/i386/resms64f.S: Likewise.
1326 * config/i386/resms64fx.S: Likewise.
1327 * config/i386/resms64x.S: Likewise.
1328 * config/i386/savms64.S: Likewise.
1329 * config/i386/savms64f.S: Likewise.
1330 * config/i386/avx_resms64.S: New file that only defines a macro and
1331 includes it's corresponding header file.
1332 * config/i386/avx_resms64f.S: Likewise.
1333 * config/i386/avx_resms64fx.S: Likewise.
1334 * config/i386/avx_resms64x.S: Likewise.
1335 * config/i386/avx_savms64.S: Likewise.
1336 * config/i386/avx_savms64f.S: Likewise.
1337 * config/i386/sse_resms64.S: Likewise.
1338 * config/i386/sse_resms64f.S: Likewise.
1339 * config/i386/sse_resms64fx.S: Likewise.
1340 * config/i386/sse_resms64x.S: Likewise.
1341 * config/i386/sse_savms64.S: Likewise.
1342 * config/i386/sse_savms64f.S: Likewise.
1343 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
1344
1345 2017-09-01 Olivier Hainque <hainque@adacore.com>
1346 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
1347
1348 2017-08-31 Olivier Hainque <hainque@adacore.com>
1349
1350 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
1351 match as powerpc-wrs-vxworks*.
1352
1353 2017-08-07 Jonathan Yong <10walls@gmail.com>
1354
1355 * config.host (*-cygwin): Include file from mingw
1356 config/i386/enable-execute-stack-mingw32.c
1357
1358 2017-08-01 Jerome Lambourg <lambourg@adacore.com>
1359 Doug Rupp <rupp@adacore.com>
1360 Olivier Hainque <hainque@adacore.com>
1361
1362 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
1363 as well as arm-wrs-vxworks.
1364 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
1365 LIB2ADDEH.
1366 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
1367 __exidx_start and __exidx_end for downloadable modules.
1368
1369 2017-08-01 Olivier Hainque <hainque@adacore.com>
1370
1371 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
1372 * config/t-vxworks7: Likewise.
1373
1374 2017-08-01 Olivier Hainque <hainque@adacore.com>
1375
1376 * config/t-vxworks: Instead of redefining LIB2ADD,
1377 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
1378
1379 2017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1380
1381 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
1382
1383 2017-07-24 Daniel Santos <daniel.santos@pobox.com>
1384
1385 PR testsuite/80759
1386 * config.host: include i386/t-msabi for darwin and solaris.
1387 * config/i386/i386-asm.h
1388 (ELFFN): Rename to FN_TYPE.
1389 (FN_SIZE): New macro.
1390 (FN_HIDDEN): Likewise.
1391 (ASMNAME): Likewise.
1392 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
1393 .globl.
1394 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
1395 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
1396 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
1397 .macro.
1398 * config/i386/resms64f.S: Likewise.
1399 * config/i386/resms64fx.S: Likewise.
1400 * config/i386/resms64x.S: Likewise.
1401 * config/i386/savms64.S: Likewise.
1402 * config/i386/savms64f.S: Likewise.
1403
1404 2017-07-19 John Marino <gnugcc@marino.st>
1405
1406 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
1407
1408 2017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
1409
1410 PR target/81193
1411 * configure.ac (PowerPC float128 hardware support): Test whether
1412 we can use __builtin_cpu_supports before enabling the ifunc
1413 handler.
1414 * configure: Regenerate.
1415
1416 2017-07-10 Vineet Gupta <vgupta@synopsys.com>
1417
1418 * config.host: Remove uclibc from arc target spec.
1419
1420 2017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
1421
1422 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
1423
1424 2017-07-07 Peter Bergner <bergner@vnet.ibm.com>
1425
1426 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
1427 (have_ieee_hw_p): Delete function.
1428 (SW_OR_HW) Use __builtin_cpu_supports().
1429
1430 2017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
1431
1432 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
1433
1434 2017-07-03 Olivier Hainque <hainque@adacore.com>
1435
1436 * config/t-vxworks7: New file, really.
1437
1438 2017-06-28 Joseph Myers <joseph@codesourcery.com>
1439
1440 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
1441 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
1442 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
1443 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
1444 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
1445 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
1446 config/pa/linux-unwind.h (pa32_fallback_frame_state),
1447 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
1448 config/sh/linux-unwind.h (sh_fallback_frame_state),
1449 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
1450 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
1451 ucontext_t instead of struct ucontext.
1452
1453 2017-06-27 Jerome Lambourg <lambourg@adacore.com>
1454
1455 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
1456 (x86_64-wrs-vxworks7): Likewise.
1457
1458 2017-06-27 Olivier Hainque <hainque@adacore.com>
1459
1460 * config/t-vxworks7: New file.
1461 * config.host (*-*-vxworks7): Use it.
1462
1463 2017-06-22 Matt Turner <mattst88@gmail.com>
1464
1465 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
1466 skylake case.
1467
1468 2017-06-21 Richard Biener <rguenther@suse.de>
1469
1470 PR gcov-profile/81080
1471 * configure.ac: Add AC_SYS_LARGEFILE.
1472 * libgcov.h: Include auto-target.h before tsystem.h to pick
1473 up _FILE_OFFSET_BITS which might differ for multilibs.
1474 * config.in: Regenerate.
1475 * configure: Likewise.
1476
1477 2017-06-16 Richard Earnshaw <rearnsha@arm.com>
1478
1479 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
1480
1481 2017-06-09 Martin Liska <mliska@suse.cz>
1482
1483 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
1484 Reset __gcov_indirect_call_callee to NULL.
1485
1486 2017-06-08 Olivier Hainque <hainque@adacore.com>
1487
1488 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
1489 the set of -I options, support for direct inclusions of net/uio.h
1490 by VxWorks header files via ioLib.h.
1491
1492 2017-06-07 Tony Reix <tony.reix@atos.net>
1493 Matthieu Sarter <matthieu.sarter.external@atos.net>
1494 David Edelsohn <dje.gcc@gmail.com>
1495
1496 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
1497 unconditionally.
1498 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
1499 AIX 7.2 support.
1500
1501 2017-06-02 Olivier Hainque <hainque@adacore.com>
1502
1503 * config/vxlib.c (__gthread_once): Add missing value to
1504 return statement.
1505
1506 2017-05-30 Olivier Hainque <hainque@adacore.com>
1507
1508 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
1509 dollar sign before $(MULTIDIR).
1510
1511 2017-05-26 Richard Henderson <rth@redhat.com>
1512
1513 PR libgcc/80037
1514 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
1515
1516 2017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
1517
1518 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
1519 _Unwind_SetIP available as functions for arm*-*-freebsd*.
1520 * config/arm/unwind-arm.c: Implement the above.
1521
1522 2017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1523
1524 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
1525 section for a non-executable stack.
1526
1527 2017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
1528
1529 PR target/80600
1530 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
1531
1532 2017-05-14 Daniel Santos <daniel.santos@pobox.com>
1533
1534 * config.host: Add i386/t-msabi to i386/t-linux file list.
1535 * config/i386/i386-asm.h: New file.
1536 * config/i386/resms64.S: New file.
1537 * config/i386/resms64f.S: New file.
1538 * config/i386/resms64fx.S: New file.
1539 * config/i386/resms64x.S: New file.
1540 * config/i386/savms64.S: New file.
1541 * config/i386/savms64f.S: New file.
1542 * config/i386/t-msabi: New file.
1543
1544 2017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
1545
1546 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
1547 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
1548
1549 2017-05-05 Joshua Conner <joshconner@google.com>
1550
1551 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
1552 pc-relative indirect handling for fuchsia.
1553 * config/t-slibgcc-fuchsia: New file.
1554 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
1555 x86_64-*-fuchsia*): Add definitions.
1556
1557 2017-04-19 Martin Liska <mliska@suse.cz>
1558
1559 PR gcov-profile/80435
1560 * Makefile.in: Install gcov.h.
1561 * gcov.h: New file.
1562 * libgcov.h: Use the header and make __gcov_flush publicly
1563 visible.
1564
1565 2017-04-18 Martin Liska <mliska@suse.cz>
1566
1567 PR gcov-profile/78783
1568 * libgcov-driver.c (gcov_get_filename): New function.
1569
1570 2017-04-07 Jeff Law <law@redhat.com>
1571
1572 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
1573 target makefile fragment.
1574 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
1575
1576 2017-04-07 Alan Modra <amodra@gmail.com>
1577
1578 PR target/45053
1579 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
1580
1581 2017-04-03 Jonathan Wakely <jwakely@redhat.com>
1582
1583 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
1584
1585 2017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
1586
1587 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
1588
1589 2017-03-10 John Marino <gnugcc@marino.st>
1590
1591 * config/aarch64/freebsd-unwind.h: New file.
1592 * config.host: Add aarch64-*-freebsd unwinder.
1593
1594 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1595
1596 * config/rs6000/crtrestvr.s: Use .machine altivec.
1597 * config/rs6000/crtsavevr.s: Ditto.
1598
1599 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1600
1601 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
1602 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
1603 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
1604 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
1605 * configure: Regenerate.
1606 * config.in: Regenerate.
1607
1608 2017-03-02 Jonathan Yong <10walls@gmail.com>
1609
1610 * config/i386/gthr-win32.h: Define NOGDI before
1611 windows.h include to prevent w32api CC_NONE macro
1612 clash with libgfortran.
1613
1614 2017-03-02 Jonathan Yong <10walls@gmail.com>
1615
1616 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
1617
1618 2017-02-16 Andrew Pinski <apinski@cavium.com>
1619
1620 * config/aarch64/value-unwind.h: New file.
1621 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
1622 to tm_file.
1623
1624 2017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
1625
1626 * config.host: Add RISC-V tuples.
1627 * config/riscv/atomic.c: New file.
1628 * config/riscv/crti.S: Likewise.
1629 * config/riscv/crtn.S: Likewise.
1630 * config/riscv/div.S: Likewise.
1631 * config/riscv/linux-unwind.h: Likewise.
1632 * config/riscv/muldi3.S: Likewise.
1633 * config/riscv/multi3.S: Likewise.
1634 * config/riscv/save-restore.S: Likewise.
1635 * config/riscv/sfp-machine.h: Likewise.
1636 * config/riscv/t-elf: Likewise.
1637 * config/riscv/t-elf32: Likewise.
1638 * config/riscv/t-elf64: Likewise.
1639 * config/riscv/t-softfp32: Likewise.
1640 * config/riscv/t-softfp64: Likewise.
1641
1642 2017-01-24 Jakub Jelinek <jakub@redhat.com>
1643
1644 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
1645 /* FALLTHRU */ comments.
1646
1647 2017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
1648
1649 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
1650
1651 2017-01-20 Jiong Wang <jiong.wang@arm.com>
1652
1653 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
1654 * unwind-dw2.c (execute_cfa_program): Only multiplexing
1655 DW_CFA_GNU_window_save for AArch64 and LP64.
1656
1657 2017-01-20 Jiong Wang <jiong.wang@arm.com>
1658
1659 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
1660
1661 2017-01-19 Jiong Wang <jiong.wang@arm.com>
1662
1663 * config/aarch64/aarch64-unwind.h: New file.
1664 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
1665 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
1666 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
1667 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
1668 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
1669 (aarch64_post_extract_frame_addr): New function.
1670 (aarch64_post_frob_eh_handler_addr): New function.
1671 (aarch64_frob_update_context): New function.
1672 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
1673 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
1674 aarch64*-*-freebsd*):
1675 Initialize md_unwind_header to include aarch64-unwind.h.
1676 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
1677 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
1678 __aarch64__.
1679 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
1680 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
1681 (uw_frob_return_addr): New function.
1682 (uw_install_context): Use uw_frob_return_addr.
1683
1684 2017-01-17 Jakub Jelinek <jakub@redhat.com>
1685
1686 PR other/79046
1687 * configure.ac: Add GCC_BASE_VER.
1688 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
1689 version from BASE-VER file.
1690 * configure: Regenerated.
1691
1692 2017-01-13 Joe Seymour <joe.s@somniumtech.com>
1693
1694 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
1695 libmul_f5.a): Filter archived prerequisites.
1696
1697 2017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
1698
1699 * config/i386/cpuinfo.h (processor_features): Add
1700 FEATURE_AVX512VPOPCNTDQ.
1701 * config/i386/cpuinfo.c (get_available_features): Habdle new
1702 feature.
1703
1704 2017-01-04 Joseph Myers <joseph@codesourcery.com>
1705
1706 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
1707 payload if [__mips_nan2008].
1708
1709 2017-01-04 Alan Modra <amodra@gmail.com>
1710
1711 * Makefile.in (configure_deps): Update.
1712 * configure: Regenerate.
1713
1714 2017-01-01 Jakub Jelinek <jakub@redhat.com>
1715
1716 Update copyright years.
1717
1718 2016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
1719
1720 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
1721 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
1722 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
1723
1724 2016-12-17 Matthias Klose <doko@ubuntu.com>
1725
1726 * config/arc/gmon: Remove empty directory.
1727
1728 2016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
1729
1730 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
1731 crtgend.
1732 (arc*-*-elf*): Likewise.
1733 * config/arc/t-arc: Remove old gmon lib targets.
1734 * config/arc/crtg.S: Remove.
1735 * config/arc/crtgend.S: Likewise.
1736 * config/arc/gmon/atomic.h: Likewise.
1737 * config/arc/gmon/auxreg.h: Likewise.
1738 * config/arc/gmon/dcache_linesz.S: Likewise.
1739 * config/arc/gmon/gmon.c: Likewise.
1740 * config/arc/gmon/machine-gmon.h: Likewise.
1741 * config/arc/gmon/mcount.c: Likewise.
1742 * config/arc/gmon/prof-freq-stub.S: Likewise.
1743 * config/arc/gmon/prof-freq.c: Likewise.
1744 * config/arc/gmon/profil.S: Likewise.
1745 * config/arc/gmon/sys/gmon.h: Likewise.
1746 * config/arc/gmon/sys/gmon_out.h: Likewise.
1747 * config/arc/t-arc-newlib: Likewise.
1748 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
1749
1750 2016-12-12 George Spelvin <linux@sciencehorizons.net>
1751
1752 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
1753
1754 2016-12-12 George Spelvin <linux@sciencehorizons.net>
1755
1756 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
1757 R16 instead of push + pop.
1758 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
1759
1760 2016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
1761
1762 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
1763 tmake_file.
1764
1765 2016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
1766
1767 * config.host (arc*-*-linux-uclibc*): Use default extra
1768 objects. Include linux-android header.
1769 * config/arc/crti.S (_init): Declare symbol as function.
1770 (_fini): Likewise.
1771
1772 2016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
1773
1774 PR fortran/78379
1775 * config/i386/cpuinfo.c: Move denums for processor vendors,
1776 processor type, processor subtypes and declaration of
1777 struct __processor_model into
1778 * config/i386/cpuinfo.h: New header file.
1779
1780 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1781 Thomas Preud'homme <thomas.preudhomme@arm.com>
1782
1783 * config/arm/cmse_nonsecure_call.S: New.
1784 * config/arm/t-arm: Compile cmse_nonsecure_call.S
1785
1786 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1787 Thomas Preud'homme <thomas.preudhomme@arm.com>
1788
1789 * config/arm/t-arm (HAVE_CMSE): New.
1790 * config/arm/cmse.c: New.
1791
1792 2016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
1793
1794 PR gcc/74748
1795 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
1796 use generic linker version information on Blackfin.
1797
1798 PR gcc/74748
1799 * libgcc/mkmap-symver.awk: add support for skip_underscore
1800
1801 2016-11-27 Iain Sandoe <iain@codesourcery.com>
1802 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1803
1804 PR target/67710
1805 * config/t-darwin: Default builds to 10.5 codegen.
1806
1807 2016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
1808
1809 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
1810 (_FP_NANSIGN_H): Likewise.
1811 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
1812 (softfp_truncations): Add tfhf.
1813 (softfp_extras): Add required conversion functions.
1814
1815 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1816 Matthew Wahab <matthew.wahab@arm.com>
1817
1818 * config/arm/fp16.c (binary64): New.
1819 (__gnu_d2h_internal): New.
1820 (__gnu_d2h_ieee): New.
1821 (__gnu_d2h_alternative): New.
1822
1823 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1824 Matthew Wahab <matthew.wahab@arm.com>
1825
1826 * config/arm/fp16.c (struct format): New.
1827 (binary32): New.
1828 (__gnu_float2h_internal): New. Body moved from
1829 __gnu_f2h_internal and generalize.
1830 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
1831 Call it with binary32.
1832
1833 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1834
1835 * soft-fp/extendhftf2.c: Update from glibc.
1836 * soft-fp/fixhfti.c: Likewise.
1837 * soft-fp/fixunshfti.c: Likewise.
1838 * soft-fp/floattihf.c: Likewise.
1839 * soft-fp/floatuntihf.c: Likewise.
1840 * soft-fp/half.h: Likewise.
1841 * soft-fp/trunctfhf2.c: Likewise.
1842
1843 2016-11-20 Marc Glisse <marc.glisse@inria.fr>
1844
1845 PR libgcc/77813
1846 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
1847 __TMC_END__ behind a passthrough asm.
1848
1849 2016-11-18 Walter Lee <walt@tilera.com>
1850
1851 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
1852
1853 2016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
1854
1855 * config/i386/cpuinfo.c (processor_features): Add
1856 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
1857
1858 2016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
1859
1860 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
1861 (__ARC_NORM__): Use instead ARC_OPTFPE.
1862 * config/arc/fp-hack.h: Likewise.
1863 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
1864 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
1865
1866 2016-11-16 Alexander Monakov <amonakov@ispras.ru>
1867
1868 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
1869 * config/nvptx/mgomp.c: New file.
1870 * config/nvptx/t-nvptx: Add mgomp.c
1871
1872 2016-11-16 Waldemar Brodkorb <wbx@openadk.org>
1873
1874 PR libgcc/68468
1875 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
1876
1877 2016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
1878
1879 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
1880 of checking for cpus.
1881 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
1882 (__modsi3, __clzsi2): Likewise.
1883
1884 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
1885
1886 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
1887 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
1888 * config/i386/t-cpuinfo-static: New.
1889
1890 2016-11-03 Martin Liska <mliska@suse.cz>
1891
1892 * libgcov-profiler.c (__gcov_time_profiler): Remove.
1893 (__gcov_time_profiler_atomic): Likewise.
1894
1895 2016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
1896
1897 PR libgcc/78067
1898 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
1899 count_leading_zeros.
1900
1901 2016-11-02 Uros Bizjak <ubizjak@gmail.com>
1902
1903 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
1904 * libgcc2.c (__divmoddi4): New function.
1905 * libgcc2.h (__divmoddi4): Declare.
1906 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
1907 and __PFX_divmodti4.
1908
1909 2016-10-24 Florian Weimer <fweimer@redhat.com>
1910
1911 PR libgcc/78064
1912 * unwind-c.c: Include auto-target.h.
1913
1914 2016-10-19 John David Anglin <danglin@gcc.gnu.org>
1915
1916 * config/pa/pa64-hpux-lib.h: New file.
1917 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
1918 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
1919 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
1920 hppa*64*-*-hpux11*.
1921
1922 2016-10-18 Max Filippov <jcmvbkbc@gmail.com>
1923
1924 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1925 definition.
1926 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1927 definition.
1928 * config/xtensa/t-windowed (LIB2ADDEH): Use
1929 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
1930 or xtensa/t-linux.
1931
1932 2016-10-18 Ding-Kai Chen <dkchen@cadence.com>
1933
1934 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
1935 __ieee754_sqrt): New functions.
1936 (__divdf3): Add implementation with new FPU instructions under
1937 #if XCHAL_HAVE_DFP_DIV.
1938 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
1939 __ieee754_sqrtf): New functions.
1940 (__divsf3): Add implementation with new FPU instructions under
1941 #if XCHAL_HAVE_FP_DIV.
1942 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
1943 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
1944
1945 2016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
1946
1947 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
1948 equivalent.
1949 * config/tilepro/atomic.c: Likewise and stop casting model to
1950 enum memmodel.
1951
1952 2016-10-10 Joseph Myers <joseph@codesourcery.com>
1953
1954 PR target/77586
1955 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
1956 soft-fp.
1957
1958 2016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
1959
1960 * config.host: Add support for aarch64-*-freebsd*.
1961
1962 2016-10-05 Andreas Schwab <schwab@suse.de>
1963
1964 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
1965 (.section .init_array): Don't call __do_jv_register_classes.
1966 (.section .init): Likewise.
1967
1968 2016-10-04 Jakub Jelinek <jakub@redhat.com>
1969
1970 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
1971 (__JCR_LIST__): Remove.
1972 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
1973 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
1974 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
1975 * config/ia64/crtend.S (__JCR_END__): Remove.
1976 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
1977 conditionals.
1978 (__JCR_LIST__, __JCR_END__): Remove.
1979 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
1980 (__do_global_ctors_1): Likewise.
1981
1982 2015-09-28 Uros Bizjak <ubizjak@gmail.com>
1983
1984 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
1985 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
1986
1987 2016-09-27 Martin Liska <mliska@suse.cz>
1988
1989 PR gcov-profile/7970
1990 PR gcov-profile/16855
1991 PR gcov-profile/44779
1992 * libgcov-driver.c (__gcov_init): Do not register a atexit
1993 handler.
1994 (__gcov_exit): Rename from gcov_exit.
1995 * libgcov.h (__gcov_exit): Declare.
1996
1997 2016-09-27 Martin Liska <mliska@suse.cz>
1998
1999 PR bootstrap/77749
2000 * Makefile.in: Remove _gcov_merge_delta.
2001 * libgcov-merge.c (void __gcov_merge_delta): Remove.
2002 * libgcov-util.c (__gcov_delta_counter_op): Remove.
2003 * libgcov.h: Remove declaration of __gcov_merge_delta.
2004
2005 2016-09-21 Eric Botcazou <ebotcazou@adacore.com>
2006
2007 * configure.ac: Do not create links, only substitute the filenames.
2008 * configure: Regenerate.
2009 * Makefile.in: Assign the substitution results to variables.
2010 (LIBGCC_LINKS): Define.
2011 (enable-execute-stack.c): New rule.
2012 (unwind.h): Likewise.
2013 (md-unwind-support.h): Likewise.
2014 (sfp-machine.h): Likewise.
2015 (gthr-default.h): Likewise.
2016 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
2017 unwind.h as prerequisite of install-unwind_h-forbuild.
2018
2019 2016-09-16 Jakub Jelinek <jakub@redhat.com>
2020
2021 PR libgcc/71744
2022 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
2023 is not the primary registry and atomics are available.
2024 (any_objects_registered): New variable.
2025 (__register_frame_info_bases, __register_frame_info_table_bases):
2026 Atomically store 1 to any_objects_registered after registering first
2027 unwind info.
2028 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
2029
2030 2016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
2031
2032 PR target/63250
2033 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
2034 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
2035 (HFtype): Likewise.
2036 (HCtype): Likewise.
2037 (__divhc3): Likewise.
2038 (__mulhc3): Likewise.
2039 * libgcc2.c: Support _mulhc3 and _divhc3.
2040
2041 2016-09-07 Joseph Myers <joseph@codesourcery.com>
2042
2043 PR libgcc/77519
2044 * libgcc2.c (NOTRUNC): Invert settings.
2045
2046 2016-09-06 Martin Liska <mliska@suse.cz>
2047
2048 PR gcov-profile/77378
2049 PR gcov-profile/77466
2050 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
2051 conditionaly enable/disable *_atomic functions.
2052
2053 2016-08-26 Joseph Myers <joseph@codesourcery.com>
2054
2055 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
2056 where not already enabled.
2057
2058 2016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
2059
2060 * config/mips/linux-unwind.h: Use sys/syscall.h.
2061
2062 2016-08-16 Joseph Myers <joseph@codesourcery.com>
2063
2064 PR libgcc/77265
2065 * soft-fp/adddf3.c: Update from glibc.
2066 * soft-fp/addsf3.c: Likewise.
2067 * soft-fp/addtf3.c: Likewise.
2068 * soft-fp/divdf3.c: Likewise.
2069 * soft-fp/divsf3.c: Likewise.
2070 * soft-fp/divtf3.c: Likewise.
2071 * soft-fp/double.h: Likewise.
2072 * soft-fp/eqdf2.c: Likewise.
2073 * soft-fp/eqsf2.c: Likewise.
2074 * soft-fp/eqtf2.c: Likewise.
2075 * soft-fp/extenddftf2.c: Likewise.
2076 * soft-fp/extended.h: Likewise.
2077 * soft-fp/extendsfdf2.c: Likewise.
2078 * soft-fp/extendsftf2.c: Likewise.
2079 * soft-fp/extendxftf2.c: Likewise.
2080 * soft-fp/fixdfdi.c: Likewise.
2081 * soft-fp/fixdfsi.c: Likewise.
2082 * soft-fp/fixdfti.c: Likewise.
2083 * soft-fp/fixsfdi.c: Likewise.
2084 * soft-fp/fixsfsi.c: Likewise.
2085 * soft-fp/fixsfti.c: Likewise.
2086 * soft-fp/fixtfdi.c: Likewise.
2087 * soft-fp/fixtfsi.c: Likewise.
2088 * soft-fp/fixtfti.c: Likewise.
2089 * soft-fp/fixunsdfdi.c: Likewise.
2090 * soft-fp/fixunsdfsi.c: Likewise.
2091 * soft-fp/fixunsdfti.c: Likewise.
2092 * soft-fp/fixunssfdi.c: Likewise.
2093 * soft-fp/fixunssfsi.c: Likewise.
2094 * soft-fp/fixunssfti.c: Likewise.
2095 * soft-fp/fixunstfdi.c: Likewise.
2096 * soft-fp/fixunstfsi.c: Likewise.
2097 * soft-fp/fixunstfti.c: Likewise.
2098 * soft-fp/floatdidf.c: Likewise.
2099 * soft-fp/floatdisf.c: Likewise.
2100 * soft-fp/floatditf.c: Likewise.
2101 * soft-fp/floatsidf.c: Likewise.
2102 * soft-fp/floatsisf.c: Likewise.
2103 * soft-fp/floatsitf.c: Likewise.
2104 * soft-fp/floattidf.c: Likewise.
2105 * soft-fp/floattisf.c: Likewise.
2106 * soft-fp/floattitf.c: Likewise.
2107 * soft-fp/floatundidf.c: Likewise.
2108 * soft-fp/floatundisf.c: Likewise.
2109 * soft-fp/floatunditf.c: Likewise.
2110 * soft-fp/floatunsidf.c: Likewise.
2111 * soft-fp/floatunsisf.c: Likewise.
2112 * soft-fp/floatunsitf.c: Likewise.
2113 * soft-fp/floatuntidf.c: Likewise.
2114 * soft-fp/floatuntisf.c: Likewise.
2115 * soft-fp/floatuntitf.c: Likewise.
2116 * soft-fp/gedf2.c: Likewise.
2117 * soft-fp/gesf2.c: Likewise.
2118 * soft-fp/getf2.c: Likewise.
2119 * soft-fp/ledf2.c: Likewise.
2120 * soft-fp/lesf2.c: Likewise.
2121 * soft-fp/letf2.c: Likewise.
2122 * soft-fp/muldf3.c: Likewise.
2123 * soft-fp/mulsf3.c: Likewise.
2124 * soft-fp/multf3.c: Likewise.
2125 * soft-fp/negdf2.c: Likewise.
2126 * soft-fp/negsf2.c: Likewise.
2127 * soft-fp/negtf2.c: Likewise.
2128 * soft-fp/op-1.h: Likewise.
2129 * soft-fp/op-2.h: Likewise.
2130 * soft-fp/op-4.h: Likewise.
2131 * soft-fp/op-8.h: Likewise.
2132 * soft-fp/op-common.h: Likewise.
2133 * soft-fp/quad.h: Likewise.
2134 * soft-fp/single.h: Likewise.
2135 * soft-fp/soft-fp.h: Likewise.
2136 * soft-fp/subdf3.c: Likewise.
2137 * soft-fp/subsf3.c: Likewise.
2138 * soft-fp/subtf3.c: Likewise.
2139 * soft-fp/truncdfsf2.c: Likewise.
2140 * soft-fp/trunctfdf2.c: Likewise.
2141 * soft-fp/trunctfsf2.c: Likewise.
2142 * soft-fp/trunctfxf2.c: Likewise.
2143 * soft-fp/unorddf2.c: Likewise.
2144 * soft-fp/unordsf2.c: Likewise.
2145 * soft-fp/unordtf2.c: Likewise.
2146
2147 2016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
2148
2149 PR gcov-profile/67097
2150 * libgcov-util.c (gcov_profile_merge): Skip missing files.
2151
2152 2016-08-10 Martin Liska <mliska@suse.cz>
2153
2154 PR gcov-profile/58306
2155 * Makefile.in: New functions (modules) are added.
2156 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
2157 function.
2158 (__gcov_pow2_profiler_atomic): New function.
2159 (__gcov_one_value_profiler_body): New argument is instroduced.
2160 (__gcov_one_value_profiler): Call with the new argument.
2161 (__gcov_one_value_profiler_atomic): Likewise.
2162 (__gcov_indirect_call_profiler_v2): Likewise.
2163 (__gcov_time_profiler_atomic): New function.
2164 (__gcov_average_profiler_atomic): Likewise.
2165 (__gcov_ior_profiler_atomic): Likewise.
2166 * libgcov.h: Declare the aforementioned functions.
2167
2168 2016-08-09 Martin Liska <mliska@suse.cz>
2169
2170 * libgcov-util.c: Fix typo and GNU coding style.
2171
2172 2016-08-09 Martin Liska <mliska@suse.cz>
2173
2174 * Makefile.in: Remove __gcov_indirect_call_profiler.
2175 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
2176 function.
2177 * libgcov.h: And the declaration of the function.
2178
2179 2016-08-09 Martin Liska <mliska@suse.cz>
2180
2181 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
2182 power of two.
2183
2184 2016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2185
2186 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
2187 * config/rs6000/_mulkc3.c: Likewise.
2188
2189 2016-07-29 Georg-Johann Lay <avr@gjlay.de>
2190
2191 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
2192 zero_reg as previous call to __umulhisi3 already cleared it.
2193
2194 2016-07-21 Aurelien Jarno <aurelien@aurel32.net>
2195
2196 PR target/59833
2197 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
2198
2199 2016-07-19 Nick Clifton <nickc@redhat.com>
2200
2201 * config.host (m32r): Add m32r/t-m32r to tmake_file.
2202 Add crtinit.o and crtfini.o to extra_parts.
2203
2204 2016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2205
2206 * config/rs6000/_divkc3.c: New.
2207 * config/rs6000/_mulkc3.c: New.
2208 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
2209 and _divkc3.
2210 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
2211 fp128_ppc_funcs.
2212
2213 2016-07-11 Hale Wang <hale.wang@arm.com>
2214 Andre Vieira <andre.simoesdiasvieira@arm.com>
2215
2216 * config/arm/lib1funcs.S: Add new wrapper.
2217
2218 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2219
2220 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
2221
2222 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2223
2224 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
2225 and ARMv5t* rather than for a fixed list of architectures.
2226
2227 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2228
2229 * config/arm/bpabi-v6m.S: Clarify what architectures is the
2230 implementation suitable for.
2231 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
2232 for all Thumb-1 only targets.
2233 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
2234 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
2235 __ARM_ARCH_6M__.
2236 (EQUIV): Likewise.
2237 (ARM_FUNC_ALIAS): Likewise.
2238 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
2239 version.
2240 (modsi3): Likewise.
2241 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
2242 (clzdi2): Likewise.
2243 (ctzsi2): Likewise.
2244 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
2245 __ARM_ARCH_6M__ in guard for checking whether it is defined.
2246 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
2247 __ARM_ARCH_6M__ and add comment to indicate the connection between
2248 this condition and the one in gcc/config/arm/elf.h.
2249 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
2250 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
2251 * config/arm/t-softfp: Likewise.
2252
2253 2016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2254
2255 * libgcc2.c (SYMBOL__MAIN): Remove checks for
2256 CTOR_LISTS_DEFINED_EXTERNALLY.
2257
2258 2016-06-28 Walter Lee <walt@tilera.com>
2259
2260 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
2261 asm/unistd.h.
2262 (SPR_CMPEXCH_VALUE): Define for tilegx.
2263 (__NR_FAST_cmpxchg): Define for tilepro.
2264 (__NR_FAST_atomic_update): Define for tilepro.
2265 (__NR_FAST_cmpxchg64): Define for tilepro.
2266
2267 2016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
2268
2269 * config.host: Add suport for arm*-*-phoenix* targets.
2270
2271 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2272
2273 * config.host: Remove support for mep-*.
2274 * config/mep/lib1funcs.S: Remove.
2275 * config/mep/lib2funcs.c: Remove.
2276 * config/mep/t-mep: Remove.
2277 * config/mep/tramp.c: Remove.
2278
2279 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2280
2281 * config.host: Remove support for avr-rtems.
2282 * config/avr/t-rtems: Remove.
2283
2284 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2285
2286 * config.host: Remove m32r-rtems support.
2287
2288 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2289
2290 * config.host: Remove h8300-rtems support.
2291
2292 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2293
2294 * config.host: Remove support for knetbsd.
2295
2296 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2297
2298 * config.host: Remove support for openbsd 2 and 3.
2299
2300 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2301
2302 * config.host: Remove interix support.
2303 * config/i386/t-interix: Remove.
2304
2305 2016-06-18 John David Anglin <danglin@gcc.gnu.org>
2306
2307 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
2308 least-significant bit in function pointer for fixup.
2309
2310 2016-06-05 Aaron Conole <aconole@redhat.com>
2311 Nathan Sidwell <nathan@acm.org>
2312
2313 PR libgcc/71400
2314 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
2315 (get_gcov_error_file): Check __gcov_error_file before trying to
2316 initialize it.
2317 (gcov_error): Always use get_gcov_error_file.
2318
2319 2016-06-02 Aaron Conole <aconole@redhat.com>
2320
2321 * libgcov-driver-system.c (__gcov_error_file): New.
2322 (get_gcov_error_file): New.
2323 (gcov_error): Use and set __gcov_error_file.
2324 (gcov_error_exit): New.
2325 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
2326
2327 2016-05-26 Nathan Sidwell <nathan@acm.org>
2328
2329 * config/nvptx/free.asm: Delete.
2330 * config/nvptx/malloc.asm: Delete.
2331 * config/nvptx/realloc.c: Delete.
2332 * t-nvptx: Update.
2333
2334 2016-05-25 Nathan Sidwell <nathan@acm.org>
2335
2336 * config/nvptx/crt0.s: Delete.
2337 * config/nvptx/crt0.c: New.
2338 * t-nvptx: Update.
2339
2340 2016-05-19 Sandra Loosemore <sandra@codesourcery.com>
2341
2342 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
2343 dw2/seh configuration.
2344 [x86_64-*-mingw*]: Likewise.
2345
2346 2016-05-10 Joel Sherrill <joel@rtems.org>
2347
2348 PR libgcc/70720
2349 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
2350 targets so the same extra_parts are built. Also have tmake_file add
2351 on to its value rather than override.
2352
2353 2016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
2354
2355 * config.host: Remove SH5 support.
2356 * configure: Likewise.
2357
2358 2016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
2359
2360 * config/sh/crt1.S: Remove SH5 support.
2361 * config/sh/crti.S: Likewise.
2362 * config/sh/crtn.S: Likewise.
2363 * config/sh/lib1funcs-4-300.S: Likewise.
2364 * config/sh/lib1funcs-Os-4-200.S: Likewise.
2365 * config/sh/lib1funcs.S: Likewise.
2366 * config/sh/linux-unwind.h: Likewise.
2367 * config/sh/t-sh64: Delete.
2368
2369 2016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
2370
2371 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
2372
2373 2016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
2374 Joern Rennecke <joern.rennecke@embecosm.com>
2375
2376 * config/arc/crttls.S: New file.
2377 * config/arc/t-arc: New rule.
2378 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
2379
2380 2016-04-25 Nick Clifton <nickc@redhat.com>
2381
2382 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
2383 (__mspabi_cmpd): Likewise.
2384 * config/msp430/floathidf.c (__floathidf): Likewise.
2385 * config/msp430/floathisf.c (__floathisf): Likewise
2386 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
2387 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
2388 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
2389 second parameter.
2390 (__ashrsi3): Likewise.
2391
2392 2016-04-21 Waldemar Brodkorb <wbx@openadk.org>
2393
2394 * config/m68k/linux-atomic.c: Do not include unistd.h
2395
2396 2016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
2397
2398 * config/arm/ieee754-df.S: Fix typos in comments.
2399
2400 2016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
2401
2402 PR target/70381
2403 * configure.ac (powerpc*-*-linux*): Rework tests to build
2404 __float128 emulation routines to not depend on using #pragma GCC
2405 target to enable -mfloat128.
2406 * configure: Regnerate.
2407
2408 2016-04-04 Eric Botcazou <ebotcazou@adacore.com>
2409
2410 PR target/67172
2411 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
2412 __MINGW32__ is defined.
2413
2414 2016-03-28 James Bowman <james.bowman@ftdichip.com>
2415
2416 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
2417
2418 2016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
2419
2420 PR libgcc/70363
2421 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
2422 built with an assembler that does not support ISA 3.0
2423 instructions, rename __extendkftf2_sw to __extendkftf2.
2424
2425 2016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2426
2427 PR target/38239
2428 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
2429 call-clobbered registers.
2430 (internal_mcount): Remove __i386__ handling.
2431
2432 2016-02-26 Joel Sherrill <joel@rtems.org>
2433
2434 * config.host: Add x86_64-*-rtems*.
2435
2436 2016-02-26 Joel Sherrill <joel@rtems.org>
2437
2438 * libgcc/config.host: Add aarch64-*-rtems*.
2439
2440 2016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2441 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2442
2443 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
2444 union of u64 and double.
2445 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
2446 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
2447 value.
2448 (FP_ROUNDMODE): Update the usage of _fpscr.
2449
2450 2016-02-25 Ilya Verbin <ilya.verbin@intel.com>
2451
2452 PR driver/68463
2453 * Makefile.in (crtoffloadtable$(objext)): New rule.
2454 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
2455 enable_offload_targets is not empty.
2456 * configure: Regenerate.
2457 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
2458 crtoffloadtable.
2459
2460 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
2461
2462 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
2463 .literal_position before the function.
2464 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
2465 Likewise.
2466
2467 2016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
2468
2469 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
2470 * config/s390/morestack.S: New file.
2471 * config/s390/t-stack-s390: New file.
2472 * generic-morestack.c (__splitstack_find): Add s390-specific code.
2473
2474 2016-02-12 Walter Lee <walt@tilera.com>
2475
2476 * config.host (tilegx*-*-linux*): remove ti from
2477 softfp_int_modes for 32-bit configs.
2478
2479 2016-02-10 Ian Lance Taylor <iant@google.com>
2480
2481 PR go/68562
2482 * config/i386/morestack.S (__stack_split_initialize): Align
2483 stack.
2484
2485 2016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
2486
2487 PR bootstrap/69611
2488 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
2489 __FLOAT128__ to compile only for __float128 capable targets.
2490
2491 2016-01-25 Jakub Jelinek <jakub@redhat.com>
2492
2493 PR target/69444
2494 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
2495 instead of ___NO_FPRS__.
2496
2497 2016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
2498 Steven Munroe <munroesj@linux.vnet.ibm.com>
2499 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
2500
2501 * config/rs6000/float128-sed: New files to convert TF names to KF
2502 names for PowerPC IEEE 128-bit floating point support.
2503 * config/rs6000/float128-sed-hw: Likewise.
2504
2505 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2506 floating point hardware support.
2507
2508 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2509 128-bit floating point software emulation or use ISA 3.0 hardware
2510 support if it is available.
2511
2512 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2513 floating point.
2514
2515 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
2516 floating point to IBM extended double.
2517
2518 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
2519 double to IEEE 128-bit floating point.
2520
2521 * config/rs6000/t-float128: New Makefile fragments to enable
2522 building __float128 emulation support.
2523 * config/rs6000/t-float128-hw: Likewise.
2524
2525 * config/rs6000/sfp-exceptions.c: New file to provide exception
2526 support for IEEE 128-bit floating point.
2527
2528 * config/rs6000/floattikf.c: New files for converting between IEEE
2529 128-bit floating point and signed/unsigned 128-bit integers.
2530 * config/rs6000/fixunskfti.c: Likewise.
2531 * config/rs6000/fixkfti.c: Likewise.
2532 * config/rs6000/floatuntikf.c: Likewise.
2533
2534 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2535 when building on 64-bit systems, or when VSX is enabled.
2536 (_FP_W_TYPE): Likewise.
2537 (_FP_WS_TYPE): Likewise.
2538 (_FP_I_TYPE): Likewise.
2539 (TItype): Define on 64-bit systems.
2540 (UTItype): Likewise.
2541 (TI_BITS): Likewise.
2542 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2543 (_FP_MUL_MEAT_Q): Likewise.
2544 (_FP_DIV_MEAT_D): Likewise.
2545 (_FP_DIV_MEAT_Q): Likewise.
2546 (_FP_NANFRAC_D): Likewise.
2547 (_FP_NANFRAC_Q): Likewise.
2548 (ISA_BIT): Add exception support if we are being compiled on a
2549 machine with hardware floating point support to build the IEEE
2550 128-bit emulation functions.
2551 (FP_EX_INVALID): Likewise.
2552 (FP_EX_OVERFLOW): Likewise.
2553 (FP_EX_UNDERFLOW): Likewise.
2554 (FP_EX_DIVZERO): Likewise.
2555 (FP_EX_INEXACT): Likewise.
2556 (FP_EX_ALL): Likewise.
2557 (__sfp_handle_exceptions): Likewise.
2558 (FP_HANDLE_EXCEPTIONS): Likewise.
2559 (FP_RND_NEAREST): Likewise.
2560 (FP_RND_ZERO): Likewise.
2561 (FP_RND_PINF): Likewise.
2562 (FP_RND_MINF): Likewise.
2563 (FP_RND_MASK): Likewise.
2564 (_FP_DECL_EX): Likewise.
2565 (FP_INIT_ROUNDMODE): Likewise.
2566 (FP_ROUNDMODE): Likewise.
2567
2568 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2569 VSX code, enable IEEE 128-bit floating point. If the compiler can
2570 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
2571 floating point hardware instructions and it supports declaring
2572 functions with the ifunc attribute, enable ifunc functions to
2573 switch between software and hardware support.
2574 * configure.ac (powerpc*-*-linux*): Likewise.
2575 * configure: Regenerate.
2576
2577 2016-01-15 Nick Clifton <nickc@redhat.com>
2578
2579 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
2580 dependency as the source file to be compiled.
2581 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
2582 (lib2hw_mul_f5.o): Likewise.
2583
2584 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
2585
2586 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
2587 * libgcc/config/rs6000/fixkfti.c: Likewise.
2588 * libgcc/config/rs6000/fixunskfti.c: Likewise.
2589 * libgcc/config/rs6000/float128-hw.c: Likewise.
2590 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
2591 * libgcc/config/rs6000/float128-sed: Likewise.
2592 * libgcc/config/rs6000/floattikf.c: Likewise.
2593 * libgcc/config/rs6000/floatuntikf.c: Likewise.
2594 * libgcc/config/rs6000/quad-float128.h: Likewise.
2595 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
2596 * libgcc/config/rs6000/sfp-machine.h: Likewise.
2597 * libgcc/config/rs6000/t-float128: Likewise.
2598 * libgcc/config/rs6000/t-float128-hw: Likewise.
2599 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
2600 * libgcc/config.host: Likewise.
2601 * libgcc/configure: Likewise.
2602 * libgcc/configure.ac: Likewise.
2603
2604 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
2605 Steven Munroe <munroesj@linux.vnet.ibm.com>
2606 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
2607
2608 * config/rs6000/sfp-exceptions.c: New file to provide exception
2609 support for IEEE 128-bit floating point.
2610
2611 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2612 floating point hardware support.
2613
2614 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
2615 point conversions.
2616 * config/rs6000/fixunskfti.c: Likewise.
2617 * config/rs6000/fixkfti.c: Likewise.
2618 * config/rs6000/floatuntikf.c: Likewise.
2619 * config/rs6000/extendkftf2-sw.c: Likewise.
2620 * config/rs6000/trunctfkf2-sw.c: Likewise.
2621
2622 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2623 128-bit floating point software emulation or use ISA 3.0 hardware
2624 support if it is available.
2625
2626 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2627 floating point.
2628
2629 * config/rs6000/t-float128: New Makefile fragments to enable
2630 building __float128 emulation support.
2631 * config/rs6000/t-float128-hw: Likewise.
2632
2633 * config/rs6000/float128-sed: New file to convert TF names to KF
2634 names for PowerPC IEEE 128-bit floating point support.
2635
2636 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2637 when building on 64-bit systems, or when VSX is enabled.
2638 (_FP_W_TYPE): Likewise.
2639 (_FP_WS_TYPE): Likewise.
2640 (_FP_I_TYPE): Likewise.
2641 (TItype): Define on 64-bit systems.
2642 (UTItype): Likewise.
2643 (TI_BITS): Likewise.
2644 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2645 (_FP_MUL_MEAT_Q): Likewise.
2646 (_FP_DIV_MEAT_D): Likewise.
2647 (_FP_DIV_MEAT_Q): Likewise.
2648 (_FP_NANFRAC_D): Likewise.
2649 (_FP_NANFRAC_Q): Likewise.
2650 (ISA_BIT): Add exception support if we are being compiled on a
2651 machine with hardware floating point support to build the IEEE
2652 128-bit emulation functions.
2653 (FP_EX_INVALID): Likewise.
2654 (FP_EX_OVERFLOW): Likewise.
2655 (FP_EX_UNDERFLOW): Likewise.
2656 (FP_EX_DIVZERO): Likewise.
2657 (FP_EX_INEXACT): Likewise.
2658 (FP_EX_ALL): Likewise.
2659 (__sfp_handle_exceptions): Likewise.
2660 (FP_HANDLE_EXCEPTIONS): Likewise.
2661 (FP_RND_NEAREST): Likewise.
2662 (FP_RND_ZERO): Likewise.
2663 (FP_RND_PINF): Likewise.
2664 (FP_RND_MINF): Likewise.
2665 (FP_RND_MASK): Likewise.
2666 (_FP_DECL_EX): Likewise.
2667 (FP_INIT_ROUNDMODE): Likewise.
2668 (FP_ROUNDMODE): Likewise.
2669
2670 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
2671 compiler can do __float128.
2672 * configure: Regenerate.
2673
2674 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2675 VSX code, enable IEEE 128-bit floating point.
2676
2677 2016-01-05 Olivier Hainque <hainque@adacore.com>
2678
2679 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
2680 specificities.
2681
2682 2016-01-04 Jakub Jelinek <jakub@redhat.com>
2683
2684 Update copyright years.
2685
2686 2015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
2687
2688 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
2689 soft-fp targets.
2690
2691 2015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
2692
2693 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
2694 instead of abort to avoid dependency on stdlib.h.
2695
2696 2015-12-09 John David Anglin <danglin@gcc.gnu.org>
2697
2698 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
2699 to initialize call to __dl_fixup once.
2700
2701 2015-12-04 Nick Clifton <nickc@redhat.com>
2702
2703 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
2704 Allow for the second argument being negative.
2705 * config.host (extra_parts): Define for MSP430. Create separate
2706 libraries for each of the hardware multiply formats.
2707 * config/msp430/lib2hw_mul.S: Build only the multiply routines
2708 that are needed.
2709 * config/msp430/lib2mul.c: Likewise.
2710 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
2711 Add rules to build hardware multiply libraries.
2712 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
2713 __mspabi_divul function.
2714 (__mspabi_divllu): New stub function.
2715
2716 2015-12-01 John David Anglin <danglin@gcc.gnu.org>
2717
2718 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
2719 fixup values if saved GOT address doesn't match runtime address.
2720 (fixup_branch_offset): Reorder list.
2721
2722 2015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2723
2724 * Makefile.in (VTV_CFLAGS): New variable.
2725 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
2726 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
2727 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2728 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
2729 to extra_parts if $enable_vtable_verify = yes.
2730
2731 2015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
2732
2733 PR target/68059
2734 * config/arm/linux-atomic-64bit.c (__write): Rename to...
2735 (write): ...this and fix the return type.
2736
2737 2015-11-19 DJ Delorie <dj@redhat.com>
2738
2739 * config/msp430/lib2hw_mul.S: Fix alignment.
2740
2741 2015-11-18 Nathan Sidwell <nathan@codesourcery.com>
2742
2743 * config/nvptx/reduction.c: New.
2744 * config/nvptx/t-nvptx (LIB2ADD): Add it.
2745
2746 2015-11-15 David Edelsohn <dje.gcc@gmail.com>
2747
2748 * config/rs6000/on_exit.c: New file.
2749 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
2750 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
2751
2752 2015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
2753
2754 * config/arc/dp-hack.h: Add support for ARCHS.
2755 * config/arc/ieee-754/divdf3.S: Likewise.
2756 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
2757 * config/arc/ieee-754/muldf3.S: Likewise.
2758 * config/arc/ieee-754/mulsf3.S: Likewise
2759 * config/arc/lib1funcs.S: Likewise
2760 * config/arc/gmon/dcache_linesz.S: Don't read the build register
2761 for ARCv2 cores.
2762 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
2763 for ARCv2 cores.
2764 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
2765 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
2766 cores.
2767
2768 2015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2769
2770 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
2771 value.
2772 * config/ia64/crtend.S: Likewise.
2773
2774 2015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2775
2776 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
2777 __CHAR_BIT__ instead of BITS_PER_UNIT.
2778 * fixed-bit.h: Likewise.
2779 * fp-bit.h: Likewise.
2780 * libgcc2.c (__popcountSI2): Likewise.
2781 (__popcountDI2): Likewise.
2782 * libgcc2.h: Likewise.
2783 * libgcov.h: Likewise.
2784
2785 2015-11-07 David Edelsohn <dje.gcc@gmail.com>
2786
2787 * config/rs6000/atexit.c: New file.
2788 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
2789 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
2790 * config/rs6000/cxa_finalize.c
2791 (catomic_compare_and_exchange_bool_acq): Negate return value.
2792
2793 2015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
2794
2795 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
2796 (processor_subtypes): Add znver1.
2797 (get_amd_cpu): Detect znver1.
2798
2799 2015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
2800
2801 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
2802 Include crtfastmath.o.
2803
2804 2015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
2805
2806 PR libgcc/66883
2807 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
2808
2809 2015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
2810
2811 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
2812 * config/rl78/divmodsi.S: Update return register to r8.
2813 * config/rl78/divmodhi.S: Update return register to r8,r9.
2814 Branch to main_loop_done_himode to pop registers before return.
2815
2816 2015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
2817
2818 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
2819 (__cpu_indicator_init): Fix model selection for AMD CPUs.
2820
2821 2015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
2822
2823 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
2824
2825 2015-10-03 Max Filippov <jcmvbkbc@gmail.com>
2826
2827 * config.host (xtensa*-*-uclinux*): New configuration.
2828
2829 2015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
2830
2831 * config/i386/cpuinfo.c (processor_features): Add
2832 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
2833
2834 2015-09-28 Joseph Myers <joseph@codesourcery.com>
2835
2836 * soft-fp/adddf3.c: Update from glibc.
2837 * soft-fp/addsf3.c: Likewise.
2838 * soft-fp/addtf3.c: Likewise.
2839 * soft-fp/divdf3.c: Likewise.
2840 * soft-fp/divsf3.c: Likewise.
2841 * soft-fp/divtf3.c: Likewise.
2842 * soft-fp/double.h: Likewise.
2843 * soft-fp/eqdf2.c: Likewise.
2844 * soft-fp/eqsf2.c: Likewise.
2845 * soft-fp/eqtf2.c: Likewise.
2846 * soft-fp/extenddftf2.c: Likewise.
2847 * soft-fp/extended.h: Likewise.
2848 * soft-fp/extendsfdf2.c: Likewise.
2849 * soft-fp/extendsftf2.c: Likewise.
2850 * soft-fp/extendxftf2.c: Likewise.
2851 * soft-fp/fixdfdi.c: Likewise.
2852 * soft-fp/fixdfsi.c: Likewise.
2853 * soft-fp/fixdfti.c: Likewise.
2854 * soft-fp/fixsfdi.c: Likewise.
2855 * soft-fp/fixsfsi.c: Likewise.
2856 * soft-fp/fixsfti.c: Likewise.
2857 * soft-fp/fixtfdi.c: Likewise.
2858 * soft-fp/fixtfsi.c: Likewise.
2859 * soft-fp/fixtfti.c: Likewise.
2860 * soft-fp/fixunsdfdi.c: Likewise.
2861 * soft-fp/fixunsdfsi.c: Likewise.
2862 * soft-fp/fixunsdfti.c: Likewise.
2863 * soft-fp/fixunssfdi.c: Likewise.
2864 * soft-fp/fixunssfsi.c: Likewise.
2865 * soft-fp/fixunssfti.c: Likewise.
2866 * soft-fp/fixunstfdi.c: Likewise.
2867 * soft-fp/fixunstfsi.c: Likewise.
2868 * soft-fp/fixunstfti.c: Likewise.
2869 * soft-fp/floatdidf.c: Likewise.
2870 * soft-fp/floatdisf.c: Likewise.
2871 * soft-fp/floatditf.c: Likewise.
2872 * soft-fp/floatsidf.c: Likewise.
2873 * soft-fp/floatsisf.c: Likewise.
2874 * soft-fp/floatsitf.c: Likewise.
2875 * soft-fp/floattidf.c: Likewise.
2876 * soft-fp/floattisf.c: Likewise.
2877 * soft-fp/floattitf.c: Likewise.
2878 * soft-fp/floatundidf.c: Likewise.
2879 * soft-fp/floatundisf.c: Likewise.
2880 * soft-fp/floatunditf.c: Likewise.
2881 * soft-fp/floatunsidf.c: Likewise.
2882 * soft-fp/floatunsisf.c: Likewise.
2883 * soft-fp/floatunsitf.c: Likewise.
2884 * soft-fp/floatuntidf.c: Likewise.
2885 * soft-fp/floatuntisf.c: Likewise.
2886 * soft-fp/floatuntitf.c: Likewise.
2887 * soft-fp/gedf2.c: Likewise.
2888 * soft-fp/gesf2.c: Likewise.
2889 * soft-fp/getf2.c: Likewise.
2890 * soft-fp/ledf2.c: Likewise.
2891 * soft-fp/lesf2.c: Likewise.
2892 * soft-fp/letf2.c: Likewise.
2893 * soft-fp/muldf3.c: Likewise.
2894 * soft-fp/mulsf3.c: Likewise.
2895 * soft-fp/multf3.c: Likewise.
2896 * soft-fp/negdf2.c: Likewise.
2897 * soft-fp/negsf2.c: Likewise.
2898 * soft-fp/negtf2.c: Likewise.
2899 * soft-fp/op-1.h: Likewise.
2900 * soft-fp/op-2.h: Likewise.
2901 * soft-fp/op-4.h: Likewise.
2902 * soft-fp/op-8.h: Likewise.
2903 * soft-fp/op-common.h: Likewise.
2904 * soft-fp/quad.h: Likewise.
2905 * soft-fp/single.h: Likewise.
2906 * soft-fp/soft-fp.h: Likewise.
2907 * soft-fp/subdf3.c: Likewise.
2908 * soft-fp/subsf3.c: Likewise.
2909 * soft-fp/subtf3.c: Likewise.
2910 * soft-fp/truncdfsf2.c: Likewise.
2911 * soft-fp/trunctfdf2.c: Likewise.
2912 * soft-fp/trunctfsf2.c: Likewise.
2913 * soft-fp/trunctfxf2.c: Likewise.
2914 * soft-fp/unorddf2.c: Likewise.
2915 * soft-fp/unordsf2.c: Likewise.
2916 * soft-fp/unordtf2.c: Likewise.
2917
2918 2015-09-24 Richard Earnshaw <rearnsha@arm.com>
2919
2920 PR libgcc/67624
2921 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
2922
2923 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2924
2925 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2926 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
2927 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
2928 messages.
2929 (internal_mcount): Likewise.
2930 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
2931 crt_compile, add CRTSTUFF_T_CFLAGS_S.
2932
2933 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2934
2935 * configure.ac (libgcc_cv_solaris_crts): New test.
2936 * configure: Regenerate.
2937 * config.in: Regenerate.
2938 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
2939 * config/gmon-sol2.c: Rename to ...
2940 * config/sol2/gmon.c: ... this.
2941 Include auto-target.h.
2942 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
2943 * config/t-sol2: Rename to ...
2944 * config/sol2/t-sol2: ... this.
2945 (gmon.o): Reflect renaming.
2946 (crtp.o, crtpg.o): New rules.
2947 * config.host (*-*-solaris2*): Reflect renaming.
2948 Use system CRTs if present.
2949 Remove default CRT case.
2950
2951 2015-09-23 John David Anglin <danglin@gcc.gnu.org>
2952
2953 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
2954 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
2955 __kernel_cmpxchg2.
2956 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
2957 (__sync_val_compare_and_swap_##WIDTH): Likewise.
2958 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
2959 (__sync_lock_test_and_set_##WIDTH): Likewise.
2960 (__sync_lock_release_##WIDTH): Likewise.
2961 (__sync_fetch_and_##OP##_4): Change result to match type of
2962 __kernel_cmpxchg.
2963 (__sync_##OP##_and_fetch_4): Likewise.
2964 (__sync_val_compare_and_swap_4): Likewise.
2965 (__sync_bool_compare_and_swap_4): likewise.
2966 (__sync_lock_test_and_set_4): Likewise.
2967 (__sync_lock_release_4): Likewise.
2968 (FETCH_AND_OP_2): Add long long variants.
2969 (OP_AND_FETCH_2): Likewise.
2970 (COMPARE_AND_SWAP_2 ): Likewise.
2971 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2972 (SYNC_LOCK_RELEASE_2): Likewise.
2973 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
2974
2975 2015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
2976
2977 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
2978 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
2979 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
2980 (get_available_features): Habdle new features.
2981
2982 2015-09-21 James Bowman <james.bowman@ftdichip.com>
2983
2984 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
2985 memory layout. Deal correctly with BSS region larger than 32K.
2986 Handle a watchdog reset like a power-on reset. Clean up unused
2987 code.
2988
2989 2015-09-18 Andrew Dixie <andrewd@gentrack.com>
2990 David Edelsohn <dje.gcc@gmail.com>
2991
2992 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
2993 * config/rs6000/crtdbase.S: New file.
2994 * config/rs6000/t-aix-cxa: Build crtdbase.o.
2995
2996 2015-09-15 Max Filippov <jcmvbkbc@gmail.com>
2997
2998 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
2999 Add support for call0 ABI.
3000
3001 2015-09-13 John David Anglin <danglin@gcc.gnu.org>
3002
3003 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
3004
3005 2015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
3006
3007 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
3008 (__GTHREAD_HAS_COND): Likewise.
3009 (__gthread_t): Likewise.
3010 (__gthread_cond_t): Likewise.
3011 (__gthread_time_t): Likewise.
3012 (__GTHREAD_MUTEX_INIT): Likewise.
3013 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
3014 (__GTHREAD_COND_INIT): Likewise.
3015 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
3016 (__GTHREAD_TIME_INIT): Likewise.
3017 (__gthread_create): Likewise.
3018 (__gthread_join): Likewise.
3019 (__gthread_detach): Likewise.
3020 (__gthread_equal): Likewise.
3021 (__gthread_self): Likewise.
3022 (__gthread_yield): Likewise.
3023 (__gthread_cond_broadcast): Likewise.
3024 (__gthread_cond_signal): Likewise.
3025 (__gthread_cond_wait): Likewise.
3026 (__gthread_cond_timedwait): Likewise.
3027 (__gthread_cond_wait_recursive): Likewise.
3028 (__gthread_cond_destroy): Likewise.
3029 (rtems_gxx_once): Delete.
3030 (rtems_gxx_key_create): Likewise.
3031 (rtems_gxx_key_delete): Likewise.
3032 (rtems_gxx_getspecific): Likewise.
3033 (rtems_gxx_setspecific): Likewise.
3034 (rtems_gxx_mutex_init): Likewise.
3035 (rtems_gxx_mutex_destroy): Likewise.
3036 (rtems_gxx_mutex_lock): Likewise.
3037 (rtems_gxx_mutex_trylock): Likewise.
3038 (rtems_gxx_mutex_unlock): Likewise.
3039 (rtems_gxx_recursive_mutex_init): Likewise.
3040 (rtems_gxx_recursive_mutex_lock): Likewise.
3041 (rtems_gxx_recursive_mutex_trylock): Likewise.
3042 (rtems_gxx_recursive_mutex_unlock): Likewise.
3043 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
3044 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
3045 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
3046 (__gthread_once): Likewise.
3047 (__gthread_key_create): Likewise.
3048 (__gthread_key_delete): Likewise.
3049 (__gthread_getspecific): Likewise.
3050 (__gthread_setspecific): Likewise.
3051 (__gthread_key_t): Use <pthread.h> type.
3052 (__gthread_once_t): Likewise
3053 (__gthread_mutex_t): Use <sys/lock.h> type.
3054 (__gthread_recursive_mutex_t): Likewise
3055 (__gthread_mutex_lock): Use <sys/lock.h> function.
3056 (__gthread_mutex_trylock): Likewise.
3057 (__gthread_mutex_timedlock): Likewise.
3058 (__gthread_mutex_unlock): Likewise.
3059 (__gthread_mutex_destroy): Likewise.
3060 (__gthread_recursive_mutex_lock): Likewise.
3061 (__gthread_recursive_mutex_trylock): Likewise.
3062 (__gthread_recursive_mutex_timedlock): Likewise.
3063 (__gthread_recursive_mutex_unlock): Likewise.
3064 (__gthread_recursive_mutex_destroy): Likewise.
3065
3066 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3067
3068 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
3069 context->sp instead of context->cfa.
3070
3071 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3072
3073 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
3074 with unwind-dw2-fde-dip.
3075
3076 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3077
3078 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
3079 CALL12 followed by series of ENTRY to spill windowed registers.
3080 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
3081 instead of making linux spill syscall.
3082
3083 2015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
3084
3085 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
3086 (get_intel_cpu): Likewise.
3087
3088 2015-08-12 H.J. Lu <hongjiu.lu@intel.com>
3089
3090 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
3091 (get_intel_cpu): Add Knights Landing support.
3092
3093 2015-08-11 Uros Bizjak <ubizjak@gmail.com>
3094
3095 PR target/66954
3096 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
3097 (get_available_features): Handle FEATURE_PCLMUL.
3098
3099 2015-08-10 H.J. Lu <hongjiu.lu@intel.com>
3100
3101 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
3102 Broadwell.
3103
3104 2015-07-22 Uros Bizjak <ubizjak@gmail.com>
3105
3106 PR target/66954
3107 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
3108 (get_available_features): Handle FEATURE_AES.
3109
3110 2015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
3111
3112 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
3113 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
3114
3115 2015-07-17 Nathan Sidwell <nathan@codesourcery.com>
3116
3117 * offloadstuff.c: Constify host data.
3118
3119 2015-07-17 Jan Beulich <jbeulich@suse.com>
3120
3121 * config/t-softfp: Split up "else ifneq".
3122
3123 2015-07-14 Sandra Loosemore <sandra@codesourcery.com>
3124 Cesar Philippidis <cesar@codesourcery.com>
3125 Chung-Lin Tang <cltang@codesourcery.com>
3126
3127 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
3128 for __nios2_arch__ level.
3129
3130 2015-07-13 John Marino <gnugcc@marino.st>
3131
3132 * config/i386/t-dragonfly: New.
3133
3134 2015-07-01 John David Anglin <danglin@gcc.gnu.org>
3135
3136 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
3137 better match light-weight syscall argument order.
3138 (__kernel_cmpxchg2): Likewise.
3139 Adjust callers.
3140
3141 2015-06-30 H.J. Lu <hongjiu.lu@intel.com>
3142
3143 * config.host: Support i[34567]86-*-elfiamcu target.
3144 * config/t-softfp-sfdftf: New file.
3145 * config/i386/32/t-iamcu: Likewise.
3146 * configure: Regenerated.
3147
3148 2015-06-23 James Lemke <jwlemke@codesourcery.com>
3149
3150 libgcc/config/arm/
3151 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
3152
3153 2015-05-27 H.J. Lu <hongjiu.lu@intel.com>
3154
3155 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
3156
3157 2015-05-27 John Marino <gnugcc@marino.st>
3158
3159 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
3160 md_unwind_header
3161 * config/i386/freebsd-unwind.h: New.
3162
3163 2015-05-22 Uros Bizjak <ubizjak@gmail.com>
3164
3165 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
3166 i386/t-crtfm to tmake_file.
3167 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
3168 (set_fast_math): Use set_fast_math_sse for SSE targets.
3169 * config/i386/t-crtfm: Remove.
3170
3171 2015-05-21 Alan Modra <amodra@gmail.com>
3172
3173 PR libgcc/66225
3174 * config/rs6000/morestack.S: Remove ".abiversion 1".
3175
3176 2015-05-20 Alan Modra <amodra@gmail.com>
3177
3178 * config/rs6000/morestack.S: New.
3179 * config/rs6000/t-stack-rs6000: New.
3180 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
3181 to tmake_file.
3182 * generic-morestack.c: Don't build for powerpc 32-bit.
3183
3184 2015-05-19 Eric Botcazou <ebotcazou@adacore.com>
3185
3186 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
3187 Remove useless endif/ifneq ($(enable_shared),yes) pair.
3188
3189 2015-05-16 James Bowman <james.bowman@ftdichip.com>
3190
3191 * config.host: FT32 target added.
3192 * config/ft32/*: New files for FT32 target.
3193
3194 2015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
3195
3196 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
3197 New macros.
3198 * config/arm/ieee754-df.S: Add CFI directives.
3199 * config/arm/ieee754-sf.S: Add CFI directives.
3200
3201 2015-05-13 Eric Botcazou <ebotcazou@adacore.com>
3202
3203 * configure.ac: Include config/sjlj.m4.
3204 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
3205 * config.in: Regenerate.
3206 * configure: Likewise.
3207 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
3208
3209 2015-05-12 Uros Bizjak <ubizjak@gmail.com>
3210
3211 * libgcov-util.c: Add space between string literal and macro name.
3212
3213 2015-05-06 Sandra Loosemore <sandra@codesourcery.com>
3214 Chris Jones <chrisj@nvidia.com>
3215 Joshua Conner <jconner@nvidia.com>
3216
3217 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
3218 (arm*-*-uclinux*): Likewise.
3219 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
3220 * config/arm/crtfastmath.c: New file.
3221
3222 2014-04-29 Bernd Schmidt <bernds@codesourcery.com>
3223
3224 * Makefile.in (real_host_noncanonical): New variable.
3225 (libsubdir): Use it.
3226 * configure.ac (real_host_noncanonical): Compute. Remove special
3227 case for intelmicemul.
3228 * configure: Regenerate.
3229
3230 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
3231
3232 * config/frv/elf-lib.h: New file.
3233 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
3234 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
3235 to tm_file.
3236
3237 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
3238
3239 * config/frv/frvbengin.c: Do not include defaults.h
3240 * config/frv/frvend.c: Ditto.
3241
3242 2015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
3243
3244 * config.host: Add h8300-*-linux
3245 * config/h8300/t-linux: New file.
3246 * config/h8300/lib1funs.s: Change symbol prefix.
3247 * config/h8300/sfp-machine.h: 64bit double support.
3248
3249 2015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
3250 Szabolcs Nagy <szabolcs.nagy@arm.com>
3251
3252 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
3253 Linux if target provides dl_iterate_phdr.
3254
3255 2015-04-17 H.J. Lu <hongjiu.lu@intel.com>
3256
3257 PR target/65612
3258 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
3259 * config/i386/cpuinfo.c (__cpu_model): Initialize.
3260 (__cpu_indicator_init@GCC_4.8.0): New.
3261 (__cpu_model@GCC_4.8.0): Likewise.
3262 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
3263 -DUSE_ELF_SYMVER.
3264
3265 2015-04-16 Nick Clifton <nickc@redhat.com>
3266
3267 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
3268 and __modhi3 functions.
3269 * config/rl78/divmodso.S: Add G14 and G13 versions of the
3270 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
3271
3272 2015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
3273
3274 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
3275 do-while loop as macro body to avoid warnings.
3276
3277 2015-04-10 Jakub Jelinek <jakub@redhat.com>
3278 Iain Sandoe <iain@codesourcery.com>
3279
3280 PR target/65351
3281 * configure: Regenerate.
3282
3283 2015-04-07 Jakub Jelinek <jakub@redhat.com>
3284 Iain Sandoe <iain@codesourcery.com>
3285
3286 PR target/65351
3287 * configure: Regenerate.
3288
3289 2015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
3290
3291 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
3292
3293 2015-03-03 Max Filippov <jcmvbkbc@gmail.com>
3294
3295 Implement call0 ABI for xtensa
3296 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
3297 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
3298 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
3299 use ret in call0 ABI.
3300 * config/xtensa/t-windowed: New file.
3301 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
3302 * libgcc/configure: Regenerated.
3303 * libgcc/configure.ac: Check if xtensa target is configured for
3304 windowed ABI and thus needs to use custom unwind code.
3305
3306 2015-02-12 Jonathan Wakely <jwakely@redhat.com>
3307
3308 PR libgcc/64885
3309 * gthr-single.h: Use __unused__ attribute instead of unused.
3310 * config/gthr-vxworks.h: Likewise.
3311 * config/i386/gthr-win32.h: Likewise.
3312
3313 2015-02-27 Kai Tietz <ktietz@redhat.com>
3314
3315 PR target/65038
3316 * config.in: Regenerated.
3317 * configure: Likewise.
3318 * configure.ac (AC_HEADER_STDC): Added explicit.
3319 (AC_CHECK_HEADERS): Check for default headers plus
3320 for ftw.h header.
3321 * libgcov-util.c (gcov_read_profile_dir): Disable use
3322 of ftw-function, if header is not found.
3323 (ftw_read_file): Likewise.
3324
3325 2015-02-23 Thomas Schwinge <thomas@codesourcery.com>
3326
3327 PR target/65181
3328 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
3329 -Dinhibit_libc.
3330
3331 2015-02-17 Sandra Loosemore <sandra@codesourcery.com>
3332
3333 * config/arm/bpabi.S (test_div_by_zero): Make label names
3334 consistent between thumb2 and arm mode cases. Separate the
3335 signed comparison on the high word of the numerator from the
3336 unsigned comparison on the low word.
3337 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
3338 signed comparison.
3339
3340 2015-02-17 Joseph Myers <joseph@codesourcery.com>
3341
3342 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
3343 and <string.h>.
3344 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
3345
3346 2015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
3347
3348 PR gcov-profile/61889
3349 * libgcov-driver-system.c: undefine clashing macro for mkdir.
3350
3351 2015-02-02 Nick Clifton <nickc@redhat.com>
3352
3353 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
3354 rounding up the fraction.
3355
3356 2015-01-31 John David Anglin <danglin@gcc.gnu.org>
3357
3358 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
3359 oldval and newval to const void *. Fix typo.
3360 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
3361 (FETCH_AND_OP_WORD): Likewise.
3362 (OP_AND_FETCH_WORD): Likewise.
3363 (COMPARE_AND_SWAP_2): Likewise.
3364 (__sync_val_compare_and_swap_4): Likewise.
3365 (__sync_lock_test_and_set_4): Likewise.
3366 (SYNC_LOCK_RELEASE_2): Likewise.
3367 Remove support for long long atomic operations.
3368
3369 2015-01-27 Caroline Tice <cmtice@google.com>
3370
3371 Committing VTV Cywin/Ming patch for Patrick Wollgast
3372 * Makefile.in: Move rules to build vtv_*.o out of the check
3373 for CUSTOM_CRTSTUFF.
3374 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
3375 i[34567]86-*-mingw*)
3376 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
3377 enable_vtable_verify.
3378
3379 2015-01-27 Nick Clifton <nickc@redhat.com>
3380
3381 * config/rl78/cmpsi2.S: Use function start and end macros.
3382 (__gcc_bcmp): New function.
3383 * config/rl78/lshrsi3.S: Use function start and end macros.
3384 * config/rl78/mulsi3.S: Add support for G10.
3385 (__mulqi3): New function for G10.
3386 * config/rl78/signbit.S: Use function start and end macros.
3387 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
3388 fpmath-sf.S.
3389 (LIB2FUNCS_EXCLUDE): Define.
3390 (LIB2FUNCS_ST): Define.
3391 * config/rl78/trampoline.S: Use function start and end macros.
3392 * config/rl78/vregs.h (START_FUNC): New macro.
3393 (START_ANOTHER_FUNC): New macro.
3394 (END_FUNC): New macro.
3395 (END_ANOTHER_FUNC): New macro.
3396 * config/rl78/bit-count.S: New file. Contains assembler
3397 implementations of the bit counting functions: ___clzhi2,
3398 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
3399 __paritysi2, __popcounthi2 and __popcountsi2.
3400 * config/rl78/fpbit-sf.S: New file. Contains assembler
3401 implementationas of the math functions: __negsf2, __cmpsf2,
3402 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
3403 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
3404 * config/rl78/fpmath-sf.S: New file. Contains assembler
3405 implementations of the math functions: __subsf3, __addsf3,
3406 __mulsf3 and __divsf3
3407
3408 2015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3409
3410 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
3411 Add i386/elf-lib.h to tm_file.
3412 * config/i386/elf-lib.h: Fix comment.
3413 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
3414 && __sun__ && __svr4__]: Remove workaround.
3415
3416 2015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
3417
3418 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
3419 FEATURE_BMI2.
3420 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
3421
3422 2015-01-24 H.J. Lu <hongjiu.lu@intel.com>
3423
3424 * config/i386/cpuinfo.c (processor_subtypes): Add
3425 INTEL_COREI7_BROADWELL.
3426 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
3427 model numbers.
3428
3429 2015-01-23 Uros Bizjak <ubizjak@gmail.com>
3430
3431 * config/i386/elf-lib.h: New file.
3432 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
3433 Wrap definition in #ifdef __i386__.
3434 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
3435 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
3436 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
3437 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
3438 to tm_file.
3439
3440 2015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
3441
3442 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
3443 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
3444
3445 2015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
3446
3447 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
3448 Update rt_sigframe format and address for current Nios II
3449 Linux conventions.
3450
3451 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
3452
3453 * config.host (arm*-*-freebsd*): Add new configuration for
3454 arm*-*-freebsd*.
3455 * config/arm/freebsd-atomic.c: New file.
3456 * config/arm/t-freebsd: Likewise.
3457 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
3458 'PC-relative indirect' OS's.
3459
3460 2015-01-06 Eric Botcazou <ebotcazou@adacore.com>
3461
3462 * config.host: Add Visium support.
3463 * config/visium: New directory.
3464
3465 2015-01-05 Jakub Jelinek <jakub@redhat.com>
3466
3467 Update copyright years.
3468
3469 2014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
3470
3471 * config.host: Support mipsisa32r6 and mipsisa64r6.
3472 * config/mips/mips16.S: Do not build for R6.
3473
3474 2014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
3475
3476 * config/sh/crt.h: New.
3477 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
3478 symbols.
3479 * config/sh/crt1.S: Likewise.
3480
3481 2014-12-15 Uros Bizjak <ubizjak@gmail.com>
3482
3483 PR libgcc/63832
3484 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
3485 func_ptr *dtor_list temporary variable to avoid "array subscript
3486 is above array bounds" warnings.
3487
3488 2014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
3489
3490 * Makefile.in (with_aix_soname): Define.
3491 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
3492 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
3493 * configure: Recreate.
3494
3495 2014-12-05 Olivier Hainque <hainque@adacore.com>
3496
3497 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
3498 now provided by defaults.h.
3499
3500 2014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
3501
3502 PR target/55351
3503 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
3504 whether it's defined.
3505
3506 2014-11-27 Ilya Tocar <ilya.tocar@intel.com>
3507
3508 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
3509 * config/i386/cpuinfo.c (get_available_features): Detect it.
3510
3511 2014-11-27 Tony Wang <tony.wang@arm.com>
3512
3513 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
3514 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
3515 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
3516
3517 2014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
3518
3519 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
3520
3521 2014-11-24 John David Anglin <danglin@gcc.gnu.org>
3522
3523 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
3524 instead.
3525
3526 2014-11-21 Guy Martin <gmsoft@tuxicoman.be>
3527 John David Anglin <danglin@gcc.gnu.org>
3528
3529 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
3530 (FETCH_AND_OP_2): New. Use for subword and double word operations.
3531 (OP_AND_FETCH_2): Likewise.
3532 (COMPARE_AND_SWAP_2): Likewise.
3533 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3534 (SYNC_LOCK_RELEASE_2): Likewise.
3535 (SUBWORD_SYNC_OP): Remove.
3536 (SUBWORD_VAL_CAS): Likewise.
3537 (SUBWORD_BOOL_CAS): Likewise.
3538 (FETCH_AND_OP_WORD): Update.
3539 Consistently use signed types.
3540
3541 2014-11-13 Bernd Schmidt <bernds@codesourcery.com>
3542 Thomas Schwinge <thomas@codesourcery.com>
3543 Ilya Verbin <ilya.verbin@intel.com>
3544 Andrey Turetskiy <andrey.turetskiy@intel.com>
3545
3546 * Makefile.in (crtoffloadbegin$(objext)): New rule.
3547 (crtoffloadend$(objext)): Likewise.
3548 * configure: Regenerate.
3549 * configure.ac (accel_dir_suffix): Compute new variable.
3550 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
3551 if enable_offload_targets is not empty.
3552 * offloadstuff.c: New file.
3553
3554 2014-11-13 Nick Clifton <nickc@redhat.com>
3555
3556 * config/rl78/divmodhi.S: Add support for the G10 architecture.
3557 Use START_FUNC and END_FUNC macros to enable linker garbage
3558 collection.
3559 * config/rl78/divmodqi.S: Likewise.
3560 * config/rl78/divmodsi.S: Likewise.
3561 * config/rl78/mulsi3.S: Likewise.
3562 * config/rl78/lib2div.c: Remove G10 functions.
3563 * config/rl78/lib2muls.c: Likewise.
3564 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
3565 * config/rl78/vregs.h (START_FUNC): New macro.
3566 (END_FUNC): New macro.
3567
3568 2014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
3569
3570 * config/mips/mips16.S: Set .module when supported. Update O32
3571 FP64 calling convention and use for FPXX when possible. Add FPXX
3572 calling convention fallback case.
3573
3574 2014-11-06 Bernd Schmidt <bernds@codesourcery.com>
3575
3576 * config.host: Handle nvptx-*-*.
3577 * shared-object.mk (as-flags-$o): Define.
3578 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
3579 -xassembler-with-cpp.
3580 * static-object.mk: Identical changes.
3581 * config/nvptx/t-nvptx: New file.
3582 * config/nvptx/crt0.s: New file.
3583 * config/nvptx/free.asm: New file.
3584 * config/nvptx/malloc.asm: New file.
3585 * config/nvptx/realloc.c: New file.
3586
3587 2014-10-30 Joseph Myers <joseph@codesourcery.com>
3588
3589 * Makefile.in (libgcc.map.in): New target.
3590 (libgcc.map): Use libgcc.map.in.
3591 * config/t-softfp (softfp_compat): New variable to be set by
3592 users.
3593 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
3594 variables.
3595 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
3596 directory.
3597 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
3598 that use compat symbols and disable all code unless [SHARED].
3599 * config/t-softfp-compat: New file.
3600 * find-symver.awk: New file.
3601 * configure.ac (--with-glibc-version): New configure option.
3602 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
3603 * configure: Regenerate.
3604 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
3605 soft-float and e500.
3606
3607 2014-10-29 Joseph Myers <joseph@codesourcery.com>
3608
3609 * config/t-hardfp (hardfp_exclusions): Document new variable for
3610 user to define.
3611 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
3612 * config/t-softfp (softfp_extras): Document new variable for user
3613 to define.
3614 (softfp_func_list): Add functions from $(softfp_extras).
3615 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
3616 * config.host (powerpc*-*-linux*): For e500v1, use
3617 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
3618 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
3619 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
3620
3621 2014-10-26 John David Anglin <danglin@gcc.gnu.org>
3622
3623 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
3624 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
3625 memory read accesses are ok.
3626
3627 2014-10-25 Joseph Myers <joseph@codesourcery.com>
3628
3629 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
3630 * configure: Regenerate.
3631 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
3632 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
3633 of soft-fp for 32-bit classic hard float. Do not use
3634 t-softfp-excl for soft float.
3635
3636 2014-10-22 Joseph Myers <joseph@codesourcery.com>
3637
3638 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
3639 configurations.
3640 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
3641 Remove variables.
3642
3643 2014-10-22 Georg-Johann Lay <avr@gjlay.de>
3644
3645 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
3646 introduced with 2014-10-21 trunk r216525.
3647
3648 2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
3649 Vidya Praveen <vidya.praveen@atmel.com>
3650 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
3651 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
3652 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
3653
3654 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
3655 order.
3656
3657 Updated library functions for AVRTINY arch.
3658 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
3659 Replaced occurrences of r0/r1 with tmp/zero reg macros.
3660 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
3661 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
3662 wsubi/wadi macors.
3663 (__mulsi3_helper): Update stack, preserve callee saved regs and
3664 argument from stack. Restore callee save registers.
3665 (__mulpsi3): Likewise.
3666 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
3667 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
3668 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
3669 AVRTINY.
3670 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
3671 (__do_copy_data): Added new definition for AVRTINY.
3672 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
3673 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
3674 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
3675 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
3676 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
3677 macors.
3678 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
3679 AVRTINY.
3680
3681 Fix broken long multiplication on tiny arch.
3682
3683 2014-10-09 Joseph Myers <joseph@codesourcery.com>
3684
3685 * soft-fp/double.h: Update from glibc.
3686 * soft-fp/eqdf2.c: Likewise.
3687 * soft-fp/eqsf2.c: Likewise.
3688 * soft-fp/eqtf2.c: Likewise.
3689 * soft-fp/extenddftf2.c: Likewise.
3690 * soft-fp/extended.h: Likewise.
3691 * soft-fp/extendsfdf2.c: Likewise.
3692 * soft-fp/extendsftf2.c: Likewise.
3693 * soft-fp/extendxftf2.c: Likewise.
3694 * soft-fp/gedf2.c: Likewise.
3695 * soft-fp/gesf2.c: Likewise.
3696 * soft-fp/getf2.c: Likewise.
3697 * soft-fp/ledf2.c: Likewise.
3698 * soft-fp/lesf2.c: Likewise.
3699 * soft-fp/letf2.c: Likewise.
3700 * soft-fp/op-1.h: Likewise.
3701 * soft-fp/op-2.h: Likewise.
3702 * soft-fp/op-4.h: Likewise.
3703 * soft-fp/op-8.h: Likewise.
3704 * soft-fp/op-common.h: Likewise.
3705 * soft-fp/quad.h: Likewise.
3706 * soft-fp/single.h: Likewise.
3707 * soft-fp/soft-fp.h: Likewise.
3708 * soft-fp/unorddf2.c: Likewise.
3709 * soft-fp/unordsf2.c: Likewise.
3710 * soft-fp/unordtf2.c: Likewise.
3711 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
3712 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
3713 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
3714 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
3715 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
3716 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
3717 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
3718 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
3719 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
3720 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
3721
3722 2014-10-08 Rong Xu <xur@google.com>
3723
3724 * libgcov-util.c (read_gcda_file): Fix format.
3725 (find_match_gcov_info): Ditto.
3726 (calculate_2_entries): New.
3727 (compute_one_gcov): Ditto.
3728 (gcov_info_count_all_cold): Ditto.
3729 (gcov_info_count_all_zero): Ditto.
3730 (extract_file_basename): Ditto.
3731 (get_file_basename): Ditto.
3732 (set_flag): Ditto.
3733 (matched_gcov_info): Ditto.
3734 (calculate_overlap): Ditto.
3735 (gcov_profile_overlap): Ditto.
3736 * libgcov-driver.c (compute_summary): Make
3737 it avavilable for external calls.
3738
3739 2014-10-06 Rong Xu <xur@google.com>
3740
3741 * Makefile.in: Ditto.
3742 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
3743 (gcov_sort_icall_topn_counter): Ditto.
3744 (gcov_sort_topn_counter_arrays): Ditto.
3745 (dump_one_gcov): Sort indirect_call topn counters.
3746 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
3747 function.
3748 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
3749 utility function.
3750 (__gcov_indirect_call_topn_profiler): New profiler function.
3751 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
3752 * libgcov.h: New decls.
3753
3754 2014-10-04 Trevor Saunders <tsaunders@mozilla.com>
3755
3756 * config.host: Remove support for score-*.
3757
3758 2014-09-22 Joseph Myers <joseph@codesourcery.com>
3759
3760 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3761 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
3762 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
3763 __LIBGCC_XF_MANT_DIG__.
3764 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
3765 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
3766 __LIBGCC_TF_MANT_DIG__.
3767 * libgcc2.c (NOTRUNC): Define in terms of
3768 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
3769 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3770
3771 2014-09-22 Joseph Myers <joseph@codesourcery.com>
3772
3773 PR target/63312
3774 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
3775 New macros.
3776
3777 2014-09-22 Hans-Peter Nilsson <hp@axis.com>
3778
3779 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
3780 override USE_PT_GNU_EH_FRAME.
3781 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
3782 check USE_EH_FRAME_REGISTRY_ALWAYS against
3783 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
3784 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
3785 variable for substituted force_explicit_eh_registry.
3786 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
3787 * configure.ac (explicit-exception-frame-registration):
3788 New AC_ARG_ENABLE.
3789 * configure: Regenerate.
3790
3791 2014-09-19 Olivier Hainque <hainque@adacore.com>
3792
3793 * config.host (powerpc-wrs-vxworksmils): New configuration,
3794 same as vxworksae.
3795
3796 2014-09-18 Joseph Myers <joseph@codesourcery.com>
3797
3798 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
3799
3800 2014-09-18 Joseph Myers <joseph@codesourcery.com>
3801
3802 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
3803 bits not set bits as indicating trapping exceptions.
3804
3805 2014-09-17 Nathan sidwell <nathan@acm.org>
3806
3807 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
3808 (LIBGCOV_DRIVER): ... here.
3809 * libgcov-driver.c (gcov_master): New.
3810 (gcov_exit): Remove from master chain.
3811 (__gcov_init): Add to master chain if version compatible. Don't
3812 clear the version.
3813 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
3814 (gcov_reset_int): Clear master chain, if compatible.
3815 (gcov_dump_int): New internal interface. Dump master chain, if
3816 compatible.
3817 (gcov_dump): Alias for gcov_dump_int.
3818 * libgcov.h (struct gcov_root): Add next and prev fields.
3819 (struct gcov_master): New struct.
3820 (__gcov_master): New.
3821 (gcov_dump_int): Declare.
3822
3823 2014-09-17 Olivier Hainque <hainque@adacore.com>
3824
3825 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
3826 and crtbegin.o + crtend.o to extra_parts.
3827
3828 2014-09-12 Joseph Myers <joseph@codesourcery.com>
3829
3830 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
3831 __LIBGCC_HAS_SF_MODE__.
3832 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3833 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3834 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3835 * config/libbid/bid_gcc_intrinsics.h
3836 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3837 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3838 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3839 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3840 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
3841 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3842
3843 2014-09-11 Georg-Johann Lay <avr@gjlay.de>
3844
3845 PR target/63223
3846 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
3847 and R24 as needed. Make work for all devices and .text locations.
3848 (__do_global_ctors, __do_global_dtors): Use word addresses.
3849 (__tablejump__, __tablejump_elpm__): Remove functions.
3850 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
3851 Add _tablejump2.
3852 (XICALL, XIJMP): New macros.
3853
3854 2014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
3855 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3856
3857 * config.host (aarch64*): Include crtfastmath.o and
3858 t-crtfm.
3859 * config/aarch64/crtfastmath.c: New file.
3860
3861 2014-09-08 Trevor Saunders <tsaunders@mozilla.com>
3862
3863 * config.host: Remove picochip support.
3864 * config/picochip/adddi3.S: Remove.
3865 * config/picochip/ashlsi3.S: Remove.
3866 * config/picochip/ashlsi3.c: Remove.
3867 * config/picochip/ashrsi3.S: Remove.
3868 * config/picochip/ashrsi3.c: Remove.
3869 * config/picochip/clzsi2.S: Remove.
3870 * config/picochip/cmpsi2.S: Remove.
3871 * config/picochip/divmod15.S: Remove.
3872 * config/picochip/divmodhi4.S: Remove.
3873 * config/picochip/divmodsi4.S: Remove.
3874 * config/picochip/lib1funcs.S: Remove.
3875 * config/picochip/longjmp.S: Remove.
3876 * config/picochip/lshrsi3.S: Remove.
3877 * config/picochip/lshrsi3.c: Remove.
3878 * config/picochip/parityhi2.S: Remove.
3879 * config/picochip/popcounthi2.S: Remove.
3880 * config/picochip/setjmp.S: Remove.
3881 * config/picochip/subdi3.S: Remove.
3882 * config/picochip/t-picochip: Remove.
3883 * config/picochip/ucmpsi2.S: Remove.
3884 * config/picochip/udivmodhi4.S: Remove.
3885 * config/picochip/udivmodsi4.S: Remove.
3886
3887 2014-09-08 Joseph Myers <joseph@codesourcery.com>
3888
3889 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
3890 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
3891 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
3892 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
3893 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
3894 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
3895 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
3896 defined and LIBGCC2_HAS_DF_MODE is defined.
3897 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
3898 defined and LIBGCC2_HAS_XF_MODE is defined.
3899 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
3900 defined and LIBGCC2_HAS_TF_MODE is defined.
3901
3902 2014-09-08 Joseph Myers <joseph@codesourcery.com>
3903
3904 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
3905 and ROUND_TOWARDS_ZERO conditionals.
3906
3907 2014-09-07 Nathan sidwell <nathan@acm.org>
3908
3909 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
3910 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
3911
3912 2014-09-05 Joseph Myers <joseph@codesourcery.com>
3913
3914 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
3915 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3916 uses to __LIBGCC_STACK_POINTER_REGNUM__.
3917 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3918 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3919 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3920 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3921 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
3922 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
3923 (DWARF_FRAME_REGISTERS): Change all uses to
3924 __LIBGCC_DWARF_FRAME_REGISTERS__.
3925 (EH_RETURN_STACKADJ_RTX): Change all uses to
3926 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3927 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
3928 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
3929 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
3930 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
3931 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
3932 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
3933 to __LIBGCC_EH_FRAME_SECTION_NAME__.
3934 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
3935 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
3936 __LIBGCC_STACK_POINTER_REGNUM__.
3937 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3938 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3939 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3940 to __LIBGCC_STACK_POINTER_REGNUM__.
3941 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3942 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3943 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3944 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3945 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3946 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3947 (STACK_POINTER_REGNUM): Change all uses to
3948 __LIBGCC_STACK_POINTER_REGNUM__.
3949 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
3950 use to __LIBGCC_STACK_POINTER_REGNUM__.
3951 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3952 uses to __LIBGCC_STACK_POINTER_REGNUM__.
3953 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
3954 to __LIBGCC_DWARF_FRAME_REGISTERS__.
3955 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
3956 to __LIBGCC_DWARF_FRAME_REGISTERS__.
3957 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3958 to __LIBGCC_STACK_POINTER_REGNUM__.
3959 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
3960 Remove conditional definition.
3961 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
3962 __LIBGCC_TEXT_SECTION_ASM_OP__.
3963 (EH_FRAME_SECTION_NAME): Change all uses to
3964 __LIBGCC_EH_FRAME_SECTION_NAME__.
3965 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
3966 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
3967 (CTORS_SECTION_ASM_OP): Change all uses to
3968 __LIBGCC_CTORS_SECTION_ASM_OP__.
3969 (DTORS_SECTION_ASM_OP): Change all uses to
3970 __LIBGCC_DTORS_SECTION_ASM_OP__.
3971 (JCR_SECTION_NAME): Change all uses to
3972 __LIBGCC_JCR_SECTION_NAME__.
3973 (INIT_SECTION_ASM_OP): Change all uses to
3974 __LIBGCC_INIT_SECTION_ASM_OP__.
3975 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3976 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3977 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
3978 __LIBGCC_STACK_GROWS_DOWNWARD__.
3979 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
3980 __LIBGCC_INIT_SECTION_ASM_OP__.
3981 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3982 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3983 (EH_FRAME_SECTION_NAME): Change all uses to
3984 __LIBGCC_EH_FRAME_SECTION_NAME__.
3985 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
3986 definitions. Change all uses to
3987 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
3988 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
3989 __LIBGCC_STACK_GROWS_DOWNWARD__.
3990 (DWARF_FRAME_REGISTERS): Change all uses to
3991 __LIBGCC_DWARF_FRAME_REGISTERS__.
3992 (EH_RETURN_STACKADJ_RTX): Change all uses to
3993 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3994 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
3995 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
3996 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
3997 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
3998 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
3999
4000 2014-09-02 Nathan sidwell <nathan@acm.org>
4001
4002 * libgcov-interface.c (STRONG_ALIAS): New.
4003 (__gcov_flush): Call __gcov_reset_int.
4004 (__gcov_reset): Strong alias for ...
4005 (__gcov_reset_ing): ... this renamed hidden version.
4006 * libgcov.h (__gcov_reset_int): New declaration.
4007
4008 2014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
4009
4010 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
4011 call from here...
4012 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
4013 (__dso_handle): Define on Cygwin.
4014 * config/i386/t-cygming (crtbeginS.o): New rule.
4015 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
4016
4017 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
4018 declaration syntax.
4019
4020 2014-08-13 Steve Ellcey <sellcey@mips.com>
4021
4022 * crtstuff.c: Undef caddr_t.
4023
4024 2014-08-12 Steve Ellcey <sellcey@mips.com>
4025
4026 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
4027
4028 2014-08-07 Nathan Sidwell <nathan@acm.org>
4029
4030 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
4031 (LIBGCOV_DRIVER): ... to here.
4032 * libgcov.h (gcov_do_dump): New #define.
4033 (struct gcov_root): New.
4034 (__gcov_root): New declaration.
4035 (__gcov_dump_one): Declare.
4036 * libgcov-driver.c (gcov_list, gcov_dump_complete,
4037 run_accounted): Delete.
4038 (gcov_compute_histogram): Add LIST argument, adjust.
4039 (compute_summary): Adjust gcov_compute_histogram call.
4040 (gcov_do_dump): Not hidden, static in libgcov.
4041 (gcov_clear): Move to interface.c.
4042 (__gcov_dump_one): New, broken out of ...
4043 (gcov_exit): ... here. Make static.
4044 (__gcov_root): New.
4045 (__gcov_init): Adjust.
4046 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
4047 declarations.
4048 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
4049 (gcov_clear): Moved from driver.c. Add LIST argument.
4050 (__gcov_reset): Adjust for changed interfaces.
4051 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
4052
4053 2014-08-04 Rohit <rohitarulraj@freescale.com>
4054
4055 PR target/60102
4056 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
4057 based on change in SPE high register numbers and 3 HTM registers.
4058
4059 2014-08-01 Nathan Sidwell <nathan@acm.org>
4060
4061 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
4062 LIBGCOV_INTERFACE): Reformat.
4063 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
4064 IN_GCOV_TOOL.
4065 * libgcov-interface.c: Reformat some comments.
4066 (__gcov_flush_mx): Add declaration. Tidy up definition.
4067
4068 2014-07-31 Alan Modra <amodra@gmail.com>
4069 Peter Bergner <bergner@vnet.ibm.com>
4070
4071 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
4072 (pack_ldouble): New function.
4073 (__gcc_qadd): Use it.
4074 (__gcc_qmul): Likewise.
4075 (__gcc_qdiv): Likewise.
4076 (__gcc_qneg): Likewise.
4077 (__gcc_stoq): Likewise.
4078 (__gcc_dtoq): Likewise.
4079
4080 2014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
4081
4082 * config/s390/tpf-unwind.h: Include <stdbool.h>.
4083 (__tpf_eh_return): Add original return address as second parameter.
4084 Handle cases where unwinder routines were called directly, instead
4085 of from within the C++ library.
4086
4087 2014-07-29 Nathan Sidwell <nathan@acm.org>
4088
4089 * libgcov.h: Move renaming of entry points to lib gcov specific
4090 portion.
4091 (gcov_do_dump): New rename.
4092 (gcov_rewrite): Remove inline, make HIDDEN.
4093 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
4094 (gcov_exit_compute_summary): Rename to ...
4095 (compute_summary): ... here. Add LIST argument.
4096 (gcov_exit_merge_gcda): Rename to ...
4097 (merge_one_data): ... here.
4098 (gcov_exit_write_gcda): Rename to ...
4099 (write_one_data): ... here.
4100 (gcov_exit_merge_summary): Rename to ...
4101 (merge_summary): Add RUN_COUNTED argument.
4102 (gcov_exit_dump_gcov): Rename to ...
4103 (dump_one_gcov): Add RUN_COUNTED argument.
4104 (gcov_do_dump): New function, broken out of ...
4105 (gcov_exit): ... here. Call it.
4106
4107 2014-07-27 Anthony Green <green@moxielogic.com>
4108
4109 * config.host: Add moxiebox configuration suppport.
4110
4111 2014-07-27 Nathan Sidwell <nathan@acm.org>
4112
4113 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
4114 (struct gcov_filename): ... here. Include buffer and max length
4115 fields.
4116 (gcov_max_filename): Remove.
4117 (gi_filename): Remove.
4118 (gcov_exit_compute_summary): Compute max filename here.
4119 (gcov_exit_merge_gcda): Add filename parm, adjust.
4120 (gcov_exit_merge_summary): Likewise.
4121 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
4122 (gcov_exit): Likewise.
4123 (__gcov_init): Don't calculate max length here.
4124 * libgcov_util.c (max_filename_len): Remove.
4125 (read_gcda_file): Don't calculate max length here.
4126 (gcov_read_profile_dir): Don't propagate here.
4127 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
4128 struct gcov_filename changes.
4129 (gcov_exit_open_gcda_file): Likewise.
4130
4131 2014-07-25 Nathan Sidwell <nathan@acm.org>
4132
4133 * libgcov-driver.c (set_gcov_dump_complete,
4134 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
4135 functions polluting user's namespace.
4136 (gcov_exit): Set variable directly.
4137 (gcov_clear): Reset variable directly.
4138 * libgcov-interface.c (get_gcov_dymp_complete,
4139 reset_gov_dump_complete): Remove declarations.
4140 (__gcov_reset, __gcov_dump): Don't call them.
4141
4142 2014-07-24 DJ Delorie <dj@redhat.com>
4143
4144 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
4145 (__gcc_deregister_frame): Move logic to detect deregister function
4146 to ...
4147 (__gcc_register_frame): here, so it's consistent with the register
4148 logic.
4149
4150 2014-07-23 Nathan Sidwell <nathan@acm.org>
4151
4152 * libgcov-driver.c (set_gcov_list): Remove.
4153 (gcov_list): Make non-static in GCOV_TOOL.
4154 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
4155
4156 2014-07-17 John David Anglin <danglin@gcc.gnu.org>
4157
4158 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
4159 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
4160 Don't use SYNC_LOCK_RELEASE for int type.
4161
4162 2014-07-14 Richard Biener <rguenther@suse.de>
4163
4164 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
4165
4166 2014-07-11 Rong Xu <xur@google.com>
4167
4168 * libgcov-util.c (gcov_max_filename): Fix declartion.
4169
4170 2014-07-10 Rong Xu <xur@google.com>
4171
4172 Add gcov-tool: an offline gcda profile processing tool
4173 Support.
4174 * libgcov-driver.c (gcov_max_filename): Make available
4175 to gcov-tool.
4176 * libgcov-merge.c (__gcov_merge_add): Replace
4177 gcov_read_counter() with a Macro.
4178 (__gcov_merge_ior): Ditto.
4179 (__gcov_merge_time_profile): Ditto.
4180 (__gcov_merge_single): Ditto.
4181 (__gcov_merge_delta): Ditto.
4182 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
4183 in the utility functions.
4184 (set_fn_ctrs): Utility function for reading gcda files to in-memory
4185 gcov_list object link lists.
4186 (tag_function): Ditto.
4187 (tag_blocks): Ditto.
4188 (tag_arcs): Ditto.
4189 (tag_lines): Ditto.
4190 (tag_counters): Ditto.
4191 (tag_summary): Ditto.
4192 (read_gcda_finalize): Ditto.
4193 (read_gcda_file): Ditto.
4194 (ftw_read_file): Ditto.
4195 (read_profile_dir_init): Ditto.
4196 (gcov_read_profile_dir): Ditto.
4197 (gcov_read_counter_mem): Ditto.
4198 (gcov_get_merge_weight): Ditto.
4199 (merge_wrapper): A wrapper function that calls merging handler.
4200 (gcov_merge): Merge two gcov_info objects with weights.
4201 (find_match_gcov_info): Find the matched gcov_info in the list.
4202 (gcov_profile_merge): Merge two gcov_info object lists.
4203 (__gcov_add_counter_op): Process edge profile counter values.
4204 (__gcov_ior_counter_op): Process IOR profile counter values.
4205 (__gcov_delta_counter_op): Process delta profile counter values.
4206 (__gcov_single_counter_op): Process single profile counter values.
4207 (fp_scale): Callback function for float-point scaling.
4208 (int_scale): Callback function for integer fraction scaling.
4209 (gcov_profile_scale): Scaling profile counters.
4210 (gcov_profile_normalize): Normalize profile counters.
4211 * libgcov.h: Add headers and functions for gcov-tool use.
4212 (gcov_get_counter): New.
4213 (gcov_get_counter_target): Ditto.
4214 (struct gcov_info): Make the functions field mutable in gcov-tool
4215 compilation.
4216
4217 2014-06-23 Kai Tietz <ktietz@redhat.com>
4218
4219 PR libgcc/61585
4220 * unwind-seh.c (_Unwind_GetGR): Check for proper
4221 index range.
4222 (_Unwind_SetGR): Likewise.
4223
4224 2014-05-22 Nick Clifton <nickc@redhat.com>
4225
4226 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
4227 -mhwmult=none.
4228
4229 2014-05-22 Teresa Johnson <tejohnson@google.com>
4230
4231 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
4232 include.
4233
4234 2014-05-20 John Marino <gnugcc@marino.st>
4235
4236 * config.host (*-*-dragonfly*): New target.
4237 * crtstuff.c: Make dl_iterate_support generic on *bsd.
4238 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
4239 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
4240 * config/i386/dragonfly-unwind.h: New.
4241
4242 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
4243
4244 PR libgcc/60166
4245 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
4246 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
4247
4248 2014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
4249
4250 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
4251 implementation.
4252
4253 2014-05-12 Georg-Johann Lay <avr@gjlay.de>
4254
4255 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
4256
4257 2014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4258
4259 PR libgcc/61097
4260 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
4261 if --enable-shared.
4262
4263 2014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
4264
4265 Work around for current cygwin32 build problems.
4266 * config/i386/cygming-crtbegin.c (__register_frame_info,
4267 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
4268 functions only for 64-bit systems.
4269
4270 2014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4271
4272 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
4273 (sigill_caught, sigill_hdlr): Remove.
4274
4275 2014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4276
4277 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
4278 check.
4279 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
4280 Solaris 9 single-threaded support.
4281 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
4282 Solaris 9 single-threaded support. Add call_user_handler code
4283 sequences.
4284 (sparc_is_sighandler): Likewise.
4285
4286 2014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4287
4288 * config.host: Append t-floattodi to tmake_file depending on
4289 host_address.
4290
4291 2014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
4292
4293 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
4294
4295 2014-03-10 Uros Bizjak <ubizjak@gmail.com>
4296
4297 PR libgcc/60472
4298 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
4299 variable to avoid "array subscript is above array bounds" warnings.
4300 Use __builtin_expect when checking *jcr_list for NULL.
4301
4302 2014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4303
4304 PR libgcc/59339
4305 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
4306 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
4307 vtv_*.o to extra_parts if enable_vtable_verify.
4308
4309 2014-03-06 Nick Clifton <nickc@redhat.com>
4310
4311 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
4312 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
4313
4314 2014-02-28 Joey Ye <joey.ye@arm.com>
4315
4316 PR libgcc/60166
4317 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
4318 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
4319 Set to zero.
4320
4321 2014-02-24 Walter Lee <walt@tilera.com>
4322
4323 * config.host: Support "tilegx*" and "tilepro*" triplets.
4324 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
4325 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
4326
4327 2014-02-20 Sandra Loosemore <sandra@codesourcery.com>
4328 Chung-Lin Tang <cltang@codesourcery.com>
4329
4330 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
4331 * config/nios2/crti.S: Remove .file directive.
4332 * config/nios2/crtn.S: Likewise.
4333
4334 2014-02-18 Kai Tietz <ktietz@redhat.com>
4335 Jonathan Schleifer <js@webkeks.org>
4336
4337 PR objc/56870
4338 * unwind-seh.c (_GCC_specific_handler): Pass proper
4339 value to unwind-handler.
4340
4341 2014-02-12 Joseph Myers <joseph@codesourcery.com>
4342
4343 * soft-fp/adddf3.c: Update from glibc.
4344 * soft-fp/addsf3.c: Likewise.
4345 * soft-fp/addtf3.c: Likewise.
4346 * soft-fp/divdf3.c: Likewise.
4347 * soft-fp/divsf3.c: Likewise.
4348 * soft-fp/divtf3.c: Likewise.
4349 * soft-fp/double.h: Likewise.
4350 * soft-fp/eqdf2.c: Likewise.
4351 * soft-fp/eqsf2.c: Likewise.
4352 * soft-fp/eqtf2.c: Likewise.
4353 * soft-fp/extenddftf2.c: Likewise.
4354 * soft-fp/extended.h: Likewise.
4355 * soft-fp/extendsfdf2.c: Likewise.
4356 * soft-fp/extendsftf2.c: Likewise.
4357 * soft-fp/extendxftf2.c: Likewise.
4358 * soft-fp/fixdfdi.c: Likewise.
4359 * soft-fp/fixdfsi.c: Likewise.
4360 * soft-fp/fixdfti.c: Likewise.
4361 * soft-fp/fixsfdi.c: Likewise.
4362 * soft-fp/fixsfsi.c: Likewise.
4363 * soft-fp/fixsfti.c: Likewise.
4364 * soft-fp/fixtfdi.c: Likewise.
4365 * soft-fp/fixtfsi.c: Likewise.
4366 * soft-fp/fixtfti.c: Likewise.
4367 * soft-fp/fixunsdfdi.c: Likewise.
4368 * soft-fp/fixunsdfsi.c: Likewise.
4369 * soft-fp/fixunsdfti.c: Likewise.
4370 * soft-fp/fixunssfdi.c: Likewise.
4371 * soft-fp/fixunssfsi.c: Likewise.
4372 * soft-fp/fixunssfti.c: Likewise.
4373 * soft-fp/fixunstfdi.c: Likewise.
4374 * soft-fp/fixunstfsi.c: Likewise.
4375 * soft-fp/fixunstfti.c: Likewise.
4376 * soft-fp/floatdidf.c: Likewise.
4377 * soft-fp/floatdisf.c: Likewise.
4378 * soft-fp/floatditf.c: Likewise.
4379 * soft-fp/floatsidf.c: Likewise.
4380 * soft-fp/floatsisf.c: Likewise.
4381 * soft-fp/floatsitf.c: Likewise.
4382 * soft-fp/floattidf.c: Likewise.
4383 * soft-fp/floattisf.c: Likewise.
4384 * soft-fp/floattitf.c: Likewise.
4385 * soft-fp/floatundidf.c: Likewise.
4386 * soft-fp/floatundisf.c: Likewise.
4387 * soft-fp/floatunditf.c: Likewise.
4388 * soft-fp/floatunsidf.c: Likewise.
4389 * soft-fp/floatunsisf.c: Likewise.
4390 * soft-fp/floatunsitf.c: Likewise.
4391 * soft-fp/floatuntidf.c: Likewise.
4392 * soft-fp/floatuntisf.c: Likewise.
4393 * soft-fp/floatuntitf.c: Likewise.
4394 * soft-fp/gedf2.c: Likewise.
4395 * soft-fp/gesf2.c: Likewise.
4396 * soft-fp/getf2.c: Likewise.
4397 * soft-fp/ledf2.c: Likewise.
4398 * soft-fp/lesf2.c: Likewise.
4399 * soft-fp/letf2.c: Likewise.
4400 * soft-fp/muldf3.c: Likewise.
4401 * soft-fp/mulsf3.c: Likewise.
4402 * soft-fp/multf3.c: Likewise.
4403 * soft-fp/negdf2.c: Likewise.
4404 * soft-fp/negsf2.c: Likewise.
4405 * soft-fp/negtf2.c: Likewise.
4406 * soft-fp/op-1.h: Likewise.
4407 * soft-fp/op-2.h: Likewise.
4408 * soft-fp/op-4.h: Likewise.
4409 * soft-fp/op-8.h: Likewise.
4410 * soft-fp/op-common.h: Likewise.
4411 * soft-fp/quad.h: Likewise.
4412 * soft-fp/single.h: Likewise.
4413 * soft-fp/soft-fp.h: Likewise.
4414 * soft-fp/subdf3.c: Likewise.
4415 * soft-fp/subsf3.c: Likewise.
4416 * soft-fp/subtf3.c: Likewise.
4417 * soft-fp/truncdfsf2.c: Likewise.
4418 * soft-fp/trunctfdf2.c: Likewise.
4419 * soft-fp/trunctfsf2.c: Likewise.
4420 * soft-fp/trunctfxf2.c: Likewise.
4421 * soft-fp/unorddf2.c: Likewise.
4422 * soft-fp/unordsf2.c: Likewise.
4423 * soft-fp/unordtf2.c: Likewise.
4424 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
4425 macro.
4426 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4427 Likewise.
4428 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4429 Likewise.
4430 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4431 Likewise.
4432 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4433 Likewise.
4434 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4435 Likewise.
4436 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4437 Likewise.
4438 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4439 Likewise.
4440 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4441 Likewise.
4442 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4443 Likewise.
4444 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4445 Likewise.
4446 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4447 Likewise.
4448 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4449 Likewise.
4450 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
4451 Likewise.
4452 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
4453 Likewise.
4454 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4455 Likewise.
4456
4457 2014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4458
4459 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
4460 cannot be represented.
4461 * config/s390/32/_fixsfdi.c: Likewise.
4462 * config/s390/32/_fixtfdi.c: Likewise.
4463 * config/s390/32/_fixunsdfdi.c: Likewise.
4464 * config/s390/32/_fixunssfdi.c: Likewise.
4465 * config/s390/32/_fixunstfdi.c: Likewise.
4466
4467 2014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
4468
4469 * configure.ac (libgcc_cv_mips_hard_float): New.
4470 * configure: Regenerate.
4471 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
4472 t-softfp-sfdf for hard-float targets.
4473 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
4474 (softfp_float_modes, softfp_int_modes, softfp_extensions)
4475 (softfp_truncations, softfp_exclude_libgcc2): New.
4476 * config/t-hardfp: New file.
4477 * config/t-hardfp-sfdf: Likewise.
4478 * config/hardfp.c: Likewise.
4479
4480 2014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4481
4482 * config.host: Include t-floattodi also for s390x.
4483 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
4484 * config/s390/32/_fixsfdi.c: Likewise.
4485 * config/s390/32/_fixtfdi.c: Likewise.
4486 * config/s390/32/_fixunsdfdi.c: Likewise.
4487 * config/s390/32/_fixunssfdi.c: Likewise.
4488 * config/s390/32/_fixunstfdi.c: Likewise.
4489
4490 2014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4491
4492 PR target/59788
4493 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
4494 (install-libgcc-unwind-map-forbuild): New target.
4495 (all): Depend on install-libgcc-unwind-map-forbuild.
4496 (install-libgcc-unwind-map): New target.
4497 (install): Depend on install-libgcc-unwind-map.
4498
4499 2014-02-02 Sandra Loosemore <sandra@codesourcery.com>
4500
4501 * config/nios2/crti.S (_init): Initialize GOT pointer from
4502 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
4503
4504 2014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
4505
4506 * configure.ac: Check __mips64 when setting host_address.
4507 * configure: Regenerate.
4508 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
4509 mips/t-mips64 and t-softfp.
4510 (mips*-*-linux*): Don't add mips/t-tpbit.
4511 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
4512 (DPBIT, DPBIT_CFLAGS): Delete.
4513 * config/mips/sfp-machine.h: New file.
4514 * config/mips/t-mips64: Likewise.
4515 * config/mips/t-softfp-tf: Likewise.
4516 * config/mips/t-tpbit: Delete.
4517
4518 2014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
4519
4520 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
4521 as long long.
4522
4523 2014-01-25 Walter Lee <walt@tilera.com>
4524
4525 * config/tilepro/atomic.c: Include tconfig.h. Don't include
4526 config.h or system.h.
4527 (bool) Define.
4528
4529 2014-01-25 Walter Lee <walt@tilera.com>
4530
4531 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
4532 (post_atomic_barrier): Ditto.
4533 (__fetch_and_do): New macro.
4534 (__atomic_fetch_and_do): Use __fetch_and_do.
4535 (__sync_fetch_and_do): New macro.
4536 (__sync_fetch_and_add_4): New function.
4537 (__sync_fetch_and_sub_4): New function.
4538 (__sync_fetch_and_or_4): New function.
4539 (__sync_fetch_and_and_4): New function.
4540 (__sync_fetch_and_xor_4): New function.
4541 (__sync_fetch_and_nand_4): New function.
4542 (__sync_fetch_and_add_8): New function.
4543 (__sync_fetch_and_sub_8): New function.
4544 (__sync_fetch_and_or_8): New function.
4545 (__sync_fetch_and_and_8): New function.
4546 (__sync_fetch_and_xor_8): New function.
4547 (__sync_fetch_and_nand_8): New function.
4548 (__do_and_fetch): New macro.
4549 (__atomic_do_and_fetch): Use __do_and_fetch.
4550 (__sync_do_and_fetch): New macro.
4551 (__sync_add_and_fetch_4): New function.
4552 (__sync_sub_and_fetch_4): New function.
4553 (__sync_or_and_fetch_4): New function.
4554 (__sync_and_and_fetch_4): New function.
4555 (__sync_xor_and_fetch_4): New function.
4556 (__sync_nand_and_fetch_4): New function.
4557 (__sync_add_and_fetch_8): New function.
4558 (__sync_sub_and_fetch_8): New function.
4559 (__sync_or_and_fetch_8): New function.
4560 (__sync_and_and_fetch_8): New function.
4561 (__sync_xor_and_fetch_8): New function.
4562 (__sync_nand_and_fetch_8): New function.
4563 (__sync_exchange_methods): New macro.
4564 (__sync_val_compare_and_swap_4): New function.
4565 (__sync_bool_compare_and_swap_4): New function.
4566 (__sync_lock_test_and_test_4): New function.
4567 (__sync_val_compare_and_swap_8): New function.
4568 (__sync_bool_compare_and_swap_8): New function.
4569 (__sync_lock_test_and_test_8): New function.
4570 (__subword_cmpxchg_body): New macro.
4571 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
4572 (__atomic_compare_exchange_2): Ditto.
4573 (__sync_subword_cmpxchg): New macro.
4574 (__sync_val_compare_and_swap_1): New function.
4575 (__sync_bool_compare_and_swap_1): New function.
4576 (__sync_val_compare_and_swap_2): New function.
4577 (__sync_bool_compare_and_swap_2): New function.
4578 (__atomic_subword): Rename to ...
4579 (__subword): ... New name.
4580 (__atomic_subword_fetch): Use __subword.
4581 (__sync_subword_fetch): New macro.
4582 (__sync_fetch_and_add_1): New function.
4583 (__sync_fetch_and_sub_1): New function.
4584 (__sync_fetch_and_or_1): New function.
4585 (__sync_fetch_and_and_1): New function.
4586 (__sync_fetch_and_xor_1): New function.
4587 (__sync_fetch_and_nand_1): New function.
4588 (__sync_fetch_and_add_2): New function.
4589 (__sync_fetch_and_sub_2): New function.
4590 (__sync_fetch_and_or_2): New function.
4591 (__sync_fetch_and_and_2): New function.
4592 (__sync_fetch_and_xor_2): New function.
4593 (__sync_fetch_and_nand_2): New function.
4594 (__sync_add_and_fetch_1): New function.
4595 (__sync_sub_and_fetch_1): New function.
4596 (__sync_or_and_fetch_1): New function.
4597 (__sync_and_and_fetch_1): New function.
4598 (__sync_xor_and_fetch_1): New function.
4599 (__sync_nand_and_fetch_1): New function.
4600 (__sync_add_and_fetch_2): New function.
4601 (__sync_sub_and_fetch_2): New function.
4602 (__sync_or_and_fetch_2): New function.
4603 (__sync_and_and_fetch_2): New function.
4604 (__sync_xor_and_fetch_2): New function.
4605 (__sync_nand_and_fetch_2): New function.
4606 (__atomic_subword_lock): Use __subword.
4607 (__sync_subword_lock): New macro.
4608 (__sync_lock_test_and_set_1): New function.
4609 (__sync_lock_test_and_set_2): New function.
4610
4611 2014-01-25 Walter Lee <walt@tilera.com>
4612
4613 * config/tilepro/atomic.c (BIT_OFFSET): Define.
4614 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
4615 (__atomic_subword): Ditto.
4616
4617 2014-01-25 Walter Lee <walt@tilera.com>
4618
4619 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
4620 a prefix op argument.
4621 (__atomic_nand_fetch_4): Add prefix op.
4622 (__atomic_nand_fetch_8): Ditto.
4623
4624 2014-01-21 Baruch Siach <barch@tkos.co.il>
4625
4626 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
4627
4628 2014-01-09 Rong Xu <xur@google.com>
4629
4630 * libgcov-driver.c (this_prg): make it local to save
4631 bss space.
4632 (gcov_exit_compute_summary): Ditto.
4633 (gcov_exit_merge_gcda): Ditto.
4634 (gcov_exit_merge_summary): Ditto.
4635 (gcov_exit_dump_gcov): Ditto.
4636
4637 2014-01-08 Rong Xu <xur@google.com>
4638
4639 * libgcov-driver.c: Use libgcov.h.
4640 (buffer_fn_data): Use xmalloc instead of malloc.
4641 (gcov_exit_merge_gcda): Ditto.
4642 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
4643 * libgcov.h: New common header files for libgcov-*.h.
4644 * libgcov-interface.c: Use libgcov.h
4645 * libgcov-merge.c: Ditto.
4646 * libgcov-profiler.c: Ditto.
4647 * Makefile.in: Add dependence to libgcov.h
4648
4649 2014-01-02 Joseph Myers <joseph@codesourcery.com>
4650
4651 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
4652 case of small numerator and finite nonzero result.
4653
4654 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4655
4656 Update copyright years
4657
4658 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4659
4660 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
4661 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
4662 config/arc/dp-hack.h, config/arc/fp-hack.h,
4663 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
4664 config/arc/ieee-754/arc600-dsp/divdf3.S,
4665 config/arc/ieee-754/arc600-dsp/divsf3.S,
4666 config/arc/ieee-754/arc600-dsp/muldf3.S,
4667 config/arc/ieee-754/arc600-dsp/mulsf3.S,
4668 config/arc/ieee-754/arc600-mul64/divdf3.S,
4669 config/arc/ieee-754/arc600-mul64/divsf3.S,
4670 config/arc/ieee-754/arc600-mul64/muldf3.S,
4671 config/arc/ieee-754/arc600-mul64/mulsf3.S,
4672 config/arc/ieee-754/arc600/divsf3.S,
4673 config/arc/ieee-754/arc600/mulsf3.S,
4674 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
4675 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
4676 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
4677 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
4678 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
4679 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
4680 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
4681 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
4682 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
4683 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
4684 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
4685 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
4686 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
4687 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
4688 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
4689 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
4690 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
4691 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
4692 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
4693 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
4694 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
4695 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
4696 vtv_start_preinit.c: Use the standard form for the copyright notice.
4697
4698 2013-12-31 Sandra Loosemore <sandra@codesourcery.com>
4699 Chung-Lin Tang <cltang@codesourcery.com>
4700 Based on patches from Altera Corporation
4701
4702 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
4703 * config/nios2/lib2-nios2.h: New file.
4704 * config/nios2/lib2-divmod-hi.c: New file.
4705 * config/nios2/linux-unwind.h: New file.
4706 * config/nios2/lib2-divmod.c: New file.
4707 * config/nios2/linux-atomic.c: New file.
4708 * config/nios2/t-nios2: New file.
4709 * config/nios2/crti.asm: New file.
4710 * config/nios2/t-linux: New file.
4711 * config/nios2/lib2-divtable.c: New file.
4712 * config/nios2/lib2-mul.c: New file.
4713 * config/nios2/tramp.c: New file.
4714 * config/nios2/crtn.asm: New file.
4715
4716 2013-12-26 Uros Bizjak <ubizjak@gmail.com>
4717
4718 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
4719 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
4720 from cpuid.h to check vendor signatures.
4721
4722 2013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
4723
4724 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
4725 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
4726 (get_amd_cpu): Likewise.
4727
4728 2013-12-25 H.J. Lu <hongjiu.lu@intel.com>
4729
4730 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
4731 Haswell.
4732
4733 2013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
4734 H.J. Lu <hongjiu.lu@intel.com>
4735
4736 PR target/59422
4737 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
4738 and AMD_JAGUAR.
4739 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
4740 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
4741 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
4742 FEATURE_XOP and FEATURE_FMA.
4743 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
4744 AMDFAM15H_BDVER3.
4745 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
4746 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
4747 FEATURE_FMA4 and FEATURE_XOP.
4748
4749 2013-12-23 H.J. Lu <hongjiu.lu@intel.com>
4750
4751 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
4752 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
4753 (get_intel_cpu): Updated.
4754
4755 2013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
4756
4757 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
4758
4759 2013-12-09 Uros Bizjak <ubizjak@gmail.com>
4760
4761 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
4762 instructions when __SSE_MATH__ is defined.
4763
4764 2013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
4765
4766 * config.host (microblaze-*-rtems*): New.
4767
4768 2013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
4769
4770 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
4771 architectures that do not have hardware divide instruction.
4772 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
4773
4774 2013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
4775
4776 * longlong.h: Delete (moved to include/).
4777
4778 2013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4779
4780 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
4781 of normal number and qNaN to not raise an inexact exception.
4782
4783 2013-11-28 Uros Bizjak <ubizjak@gmail.com>
4784
4785 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
4786
4787 2013-11-28 Matthew Leach <matthew.leach@arm.com>
4788
4789 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
4790 for correct opcodes on BE.
4791
4792 2013-11-27 Uros Bizjak <ubizjak@gmail.com>
4793
4794 * soft-fp/op-4.h: Update from glibc.
4795
4796 2013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
4797
4798 * libgcc2.c (__udivmoddi4): Define new implementation when
4799 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
4800 divide instructions.
4801
4802 2013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
4803
4804 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
4805
4806 2013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4807
4808 * config/t-softfp (soft-fp-objects-base): New variable.
4809 (soft-fp-objects): Use it.
4810
4811 2013-11-23 David Edelson <dje.gcc@gmail.com>
4812 Andrew Dixie <andrewd@gentrack.com>
4813
4814 PR target/33704
4815 * config/rs6000/aixinitfini.c: New file.
4816 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
4817 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
4818 symbols.
4819
4820 2013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
4821
4822 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
4823
4824 2013-11-18 Jan Hubicka <jh@suse.cz>
4825
4826 * libgcov-driver.c (run_accounted): Make global level static.
4827 (gcov_exit_merge_summary): Silence warning; do not clear
4828 run_accounted here.
4829 (gcov_exit): Clear it here.
4830
4831 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
4832 run_accounted.
4833
4834 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
4835 (all_prg, crc32): Remove static vars.
4836 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
4837 all_prg.
4838 (gcov_exit_merge_gcda): Add crc32 parameter.
4839 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
4840 do not account run if it was already accounted.
4841 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
4842 (gcov_exit): Initialize all_prg; update.
4843
4844 2013-11-15 Andreas Schwab <schwab@linux-m68k.org>
4845
4846 * configure: Regenerate.
4847
4848 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4849 Alan Modra <amodra@gmail.com>
4850
4851 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
4852 (frob_update_context): Use it.
4853
4854 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4855 Alan Modra <amodra@gmail.com>
4856
4857 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
4858 (trampoline_initial): Provide ELFv2 variant.
4859 (__trampoline_setup): Likewise.
4860
4861 * config/rs6000/linux-unwind.h (frob_update_context): Do not
4862 check for AIX indirect function call sequence if _CALL_ELF == 2.
4863
4864 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4865 Alan Modra <amodra@gmail.com>
4866
4867 * config/rs6000/linux-unwind.h (get_regs): Do not support
4868 old kernel versions if _CALL_ELF == 2.
4869 (frob_update_context): Do not support PLT stub variants only
4870 generated by old linkers if _CALL_ELF == 2.
4871
4872 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4873 Alan Modra <amodra@gmail.com>
4874
4875 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
4876 location of CR save area for 64-bit little-endian systems.
4877
4878 2013-11-11 Eric Botcazou <ebotcazou@adacore.com>
4879
4880 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
4881 in tmake_file.
4882 * config/arm/t-vxworks: Delete.
4883
4884 2013-11-10 Kai Tietz <ktietz@redhat.com>
4885
4886 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
4887 Increment load-count on use of LIBGCC_SONAME DLL.
4888 (hmod_libgcc): New static variable to hold handle of
4889 LIBGCC_SONAME DLL.
4890 (__gcc_deregister_frame): Decrement load-count of
4891 LIBGCC_SONAME DLL.
4892
4893 2013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
4894
4895 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
4896 availability.
4897 * configure: Regenerate
4898
4899 2013-11-07 Uros Bizjak <ubizjak@gmail.com>
4900
4901 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
4902 FP_EX_DENORM. Store result to volatile location after SSE division
4903 to close interrupt window. Remove unneeded fwait after x87
4904 division since interrupt window will be closed by emitted fstp.
4905 Rewrite FP_EX_INEXACT handling.
4906
4907 2013-11-06 Joseph Myers <joseph@codesourcery.com>
4908
4909 * soft-fp/README: Update.
4910 * soft-fp/adddf3.c: Update from glibc.
4911 * soft-fp/addsf3.c: Likewise.
4912 * soft-fp/addtf3.c: Likewise.
4913 * soft-fp/divdf3.c: Likewise.
4914 * soft-fp/divsf3.c: Likewise.
4915 * soft-fp/divtf3.c: Likewise.
4916 * soft-fp/double.h: Likewise.
4917 * soft-fp/eqdf2.c: Likewise.
4918 * soft-fp/eqsf2.c: Likewise.
4919 * soft-fp/eqtf2.c: Likewise.
4920 * soft-fp/extenddftf2.c: Likewise.
4921 * soft-fp/extended.h: Likewise.
4922 * soft-fp/extendsfdf2.c: Likewise.
4923 * soft-fp/extendsftf2.c: Likewise.
4924 * soft-fp/extendxftf2.c: Likewise.
4925 * soft-fp/fixdfdi.c: Likewise.
4926 * soft-fp/fixdfsi.c: Likewise.
4927 * soft-fp/fixdfti.c: Likewise.
4928 * soft-fp/fixsfdi.c: Likewise.
4929 * soft-fp/fixsfsi.c: Likewise.
4930 * soft-fp/fixsfti.c: Likewise.
4931 * soft-fp/fixtfdi.c: Likewise.
4932 * soft-fp/fixtfsi.c: Likewise.
4933 * soft-fp/fixtfti.c: Likewise.
4934 * soft-fp/fixunsdfdi.c: Likewise.
4935 * soft-fp/fixunsdfsi.c: Likewise.
4936 * soft-fp/fixunsdfti.c: Likewise.
4937 * soft-fp/fixunssfdi.c: Likewise.
4938 * soft-fp/fixunssfsi.c: Likewise.
4939 * soft-fp/fixunssfti.c: Likewise.
4940 * soft-fp/fixunstfdi.c: Likewise.
4941 * soft-fp/fixunstfsi.c: Likewise.
4942 * soft-fp/fixunstfti.c: Likewise.
4943 * soft-fp/floatdidf.c: Likewise.
4944 * soft-fp/floatdisf.c: Likewise.
4945 * soft-fp/floatditf.c: Likewise.
4946 * soft-fp/floatsidf.c: Likewise.
4947 * soft-fp/floatsisf.c: Likewise.
4948 * soft-fp/floatsitf.c: Likewise.
4949 * soft-fp/floattidf.c: Likewise.
4950 * soft-fp/floattisf.c: Likewise.
4951 * soft-fp/floattitf.c: Likewise.
4952 * soft-fp/floatundidf.c: Likewise.
4953 * soft-fp/floatundisf.c: Likewise.
4954 * soft-fp/floatunditf.c: Likewise.
4955 * soft-fp/floatunsidf.c: Likewise.
4956 * soft-fp/floatunsisf.c: Likewise.
4957 * soft-fp/floatunsitf.c: Likewise.
4958 * soft-fp/floatuntidf.c: Likewise.
4959 * soft-fp/floatuntisf.c: Likewise.
4960 * soft-fp/floatuntitf.c: Likewise.
4961 * soft-fp/gedf2.c: Likewise.
4962 * soft-fp/gesf2.c: Likewise.
4963 * soft-fp/getf2.c: Likewise.
4964 * soft-fp/ledf2.c: Likewise.
4965 * soft-fp/lesf2.c: Likewise.
4966 * soft-fp/letf2.c: Likewise.
4967 * soft-fp/muldf3.c: Likewise.
4968 * soft-fp/mulsf3.c: Likewise.
4969 * soft-fp/multf3.c: Likewise.
4970 * soft-fp/negdf2.c: Likewise.
4971 * soft-fp/negsf2.c: Likewise.
4972 * soft-fp/negtf2.c: Likewise.
4973 * soft-fp/op-1.h: Likewise.
4974 * soft-fp/op-2.h: Likewise.
4975 * soft-fp/op-4.h: Likewise.
4976 * soft-fp/op-8.h: Likewise.
4977 * soft-fp/op-common.h: Likewise.
4978 * soft-fp/quad.h: Likewise.
4979 * soft-fp/single.h: Likewise.
4980 * soft-fp/soft-fp.h: Likewise.
4981 * soft-fp/subdf3.c: Likewise.
4982 * soft-fp/subsf3.c: Likewise.
4983 * soft-fp/subtf3.c: Likewise.
4984 * soft-fp/truncdfsf2.c: Likewise.
4985 * soft-fp/trunctfdf2.c: Likewise.
4986 * soft-fp/trunctfsf2.c: Likewise.
4987 * soft-fp/trunctfxf2.c: Likewise.
4988 * soft-fp/unorddf2.c: Likewise.
4989 * soft-fp/unordsf2.c: Likewise.
4990 * soft-fp/unordtf2.c: Likewise.
4991
4992 2013-11-05 Uros Bizjak <ubizjak@gmail.com>
4993
4994 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
4995 (_FP_MUL_MEAT_D): Ditto.
4996 (_FP_DIV_MEAT_S): Ditto.
4997 (_FP_DIV_MEAT_D): Ditto.
4998 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
4999 t-softfp-sfdf and t-softfp to tmake_file.
5000
5001 2013-11-03 Uros Bizjak <ubizjak@gmail.com>
5002
5003 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
5004 * config/i386/crtprec.c: Ditto.
5005
5006 2013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
5007 Shiva Chen <shiva0217@gmail.com>
5008
5009 * config.host (nds32*-elf*): Add nds32 target.
5010 * config/nds32 : New directory and files.
5011
5012 2013-10-16 Hans-Peter Nilsson <hp@axis.com>
5013
5014 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
5015 * config.host (cpu_type) <Setting default>: Add entry for
5016 crisv32-*-*.
5017 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
5018 <crisv32-*-linux*>: Adjust.
5019 * longlong.h: Wrap the whole CRIS section in a single
5020 defined(__CRIS__) conditional. Add comment about add_ssaaaa
5021 and sub_ddmmss.
5022 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
5023 defined.
5024 [__CRIS__] (__umulsidi3): Define.
5025 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
5026 * config/cris/sfp-machine.h: New file.
5027 * config/cris/umulsidi3.S: New file.
5028 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
5029 * config/cris/arit.c (SIGNMULT): New macro.
5030 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
5031 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
5032 saving 3 out of originally 33 cycles from the fastest
5033 path, 3 out of 54 from the medium path and one from the longest
5034 path. Improve comments.
5035
5036 2013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
5037
5038 * sync.c: Remove static aliases and define each function directly
5039 under its real name.
5040
5041 2013-10-02 John David Anglin <danglin@gcc.gnu.org>
5042
5043 * config.host (hppa*64*-*-linux*): Define extra_parts.
5044 (hppa*-*-linux*): Likewise.
5045
5046 2013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
5047
5048 * config/arc/crtgend.S: Add 2013 to Copyright years.
5049 * config/arc/gmon/atomic.h: Likewise.
5050 * config/arc/gmon/auxreg.h: Likewise.
5051 * config/arc/gmon/sys/gmon_out.h: Likewise.
5052 * config/arc/gmon/sys/gmon.h: Likewise.
5053 * config/arc/gmon/prof-freq.c: Likewise.
5054 * config/arc/gmon/mcount.c: Likewise.
5055 * config/arc/gmon/prof-freq-stub.S: Likewise.
5056 * config/arc/gmon/gmon.c: Likewise.
5057 * config/arc/gmon/machine-gmon.h: Likewise.
5058 * config/arc/gmon/profil.S: Likewise.
5059 * config/arc/gmon/dcache_linesz.S: Likewise.
5060 * config/arc/crtg.S: Likewise.
5061 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
5062 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
5063 * config/arc/ieee-754/adddf3.S: Likewise.
5064 * config/arc/ieee-754/truncdfsf2.S: Likewise.
5065 * config/arc/ieee-754/fixsfsi.S: Likewise.
5066 * config/arc/ieee-754/gtsf2.S: Likewise.
5067 * config/arc/ieee-754/floatsisf.S: Likewise.
5068 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
5069 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
5070 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
5071 * config/arc/ieee-754/fixdfsi.S: Likewise.
5072 * config/arc/ieee-754/addsf3.S: Likewise.
5073 * config/arc/ieee-754/gesf2.S: Likewise.
5074 * config/arc/ieee-754/floatsidf.S: Likewise.
5075 * config/arc/ieee-754/extendsfdf2.S: Likewise.
5076 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
5077 * config/arc/ieee-754/gtdf2.S: Likewise.
5078 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
5079 * config/arc/ieee-754/uneqdf2.S: Likewise.
5080 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
5081 * config/arc/ieee-754/uneqsf2.S: Likewise.
5082 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
5083 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
5084 * config/arc/ieee-754/eqdf2.S: Likewise.
5085 * config/arc/ieee-754/ordsf2.S: Likewise.
5086 * config/arc/ieee-754/divsf3.S: Likewise.
5087 * config/arc/ieee-754/divdf3.S: Likewise.
5088 * config/arc/ieee-754/floatunsidf.S: Likewise.
5089 * config/arc/ieee-754/orddf2.S: Likewise.
5090 * config/arc/ieee-754/eqsf2.S: Likewise.
5091 * config/arc/ieee-754/gedf2.S: Likewise.
5092 * config/arc/crtn.S: Likewise.
5093 * config/arc/crti.S: Likewise.
5094 * config/arc/t-arc700-uClibc: Likewise.
5095 * config/arc/asm.h: Likewise.
5096 * config/arc/libgcc-excl.ver: Likewise.
5097 * config/arc/t-arc-newlib: Likewise.
5098 * config/arc/divtab-arc700.c: Likewise.
5099 * config/arc/initfini.c: Likewise.
5100 * config/arc/fp-hack.h: Likewise.
5101
5102 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
5103 Diego Novillo <dnovillo@google.com>
5104
5105 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
5106 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
5107 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
5108 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
5109
5110 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
5111 Brendan Kehoe <brendan@zen.org>
5112 Simon Cook <simon.cook@embecosm.com>
5113
5114 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
5115 * config/arc: New directory.
5116 * longlong.h [__arc__] (umul_ppmm): Remove.
5117 [__arc__] (__umulsidi3): Define.
5118 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
5119 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
5120
5121 2013-09-17 Jacek Caban <jacek@codeweavers.com>
5122
5123 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
5124 CreateSemaphoreA.
5125 * config/i386/gthr-win32.h: Likewise.
5126
5127 2013-09-16 DJ Delorie <dj@redhat.com>
5128
5129 * config/rl78/vregs.h: Add G10 register definitions.
5130 * config/rl78/lib2mul.c: Enable for RL78/G10.
5131 * config/rl78/lib2div.c: Likewise.
5132 * config/rl78/lshrsi3.S: Use vregs.h.
5133 * config/rl78/cmpsi2.S: Likewise.
5134 * config/rl78/trampoline.S: Likewise.
5135 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
5136
5137 2013-09-14 DJ Delorie <dj@redhat.com>
5138 Nick Clifton <nickc@redhat.com>
5139
5140 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
5141 * config/rl78/vregs.h: New.
5142 * config/rl78/signbit.S: New file. Implements signbit function.
5143 * config/rl78/divmodsi.S: New.
5144 * config/rl78/divmodhi.S: New.
5145 * config/rl78/divmodqi.S: New.
5146 * config/rl78/t-rl78: Build them here...
5147 * config/rl78/lib2div.c: ...but not here.
5148
5149 2013-09-12 DJ Delorie <dj@redhat.com>
5150
5151 * config.host (msp*-*-elf): New.
5152 * config/msp430/: New port.
5153
5154 2013-08-18 Iain Sandoe <iain@codesourcery.com>
5155
5156 PR gcov-profile/58127
5157 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
5158 __thread var for emulated TLS.
5159 (__gcov_indirect_call_counters): Likewise.
5160
5161 2013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
5162 Catherine Moore <clm@codesourcery.com>
5163 Richard Sandiford <rdsandiford@googlemail.com>
5164
5165 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
5166 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
5167 (CALL_STUB_NO_RET): Likewise.
5168 (CALL_STUB_RET): Likewise.
5169 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
5170 __mips16_ret call/return stub symbols.
5171 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
5172 to tmake_file.
5173
5174 2013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
5175
5176 * config.host <mips*-*-linux*>: Remove a stray comment.
5177
5178 2013-08-10 Jan Hubicka <jh@suse.cz>
5179
5180 Work around binutils PR14342
5181 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
5182 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
5183 (L_gcov_indirect_call_profiler_v2): New.
5184
5185 2013-08-06 Jan Hubicka <jh@suse.cz>
5186
5187 * libgcov.c (__gcov_indirect_call_callee,
5188 __gcov_indirect_call_counters): New global vars.
5189 (__gcov_indirect_call_profiler): replace by ...
5190 (__gcov_indirect_call_profiler_v2) ... this one.
5191
5192 2013-08-06 Caroline Tice <cmtice@google.com>
5193
5194 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
5195 vtv_start_preinit.o and vtv_end_preinit.o.
5196 * configure.ac: Add code to check/set enable_vtable_verify.
5197 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
5198 true.
5199 * vtv_start_preinit.c: New file.
5200 * vtv_end_preinit.c: New file.
5201 * vtv_start.c: New file.
5202 * vtv_end.c: New file.
5203 * configure: Regenerated.
5204
5205 2013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
5206
5207 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
5208 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
5209 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
5210 GPL-3.0-with-GCC-exception.
5211
5212 2013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
5213
5214 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
5215 ISA and up.
5216
5217 2013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5218
5219 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
5220 mapping for FPRs when creating the fallback framestate.
5221
5222 2013-07-19 Georg-Johann Lay <avr@gjlay.de>
5223
5224 PR target/57516
5225 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
5226 (__round_s2_const, __round_u2_const)
5227 (__round_s4_const, __round_u4_const, __round_x8):
5228 Saturate result if addition result cannot be represented.
5229
5230 2013-07-15 Matthias Klose <doko@ubuntu.com>
5231
5232 * libgcc2.c: Don't include <limits.h>.
5233
5234 2013-07-09 Janis Johnson <janisjo@codesourcery.com>
5235
5236 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
5237
5238 2013-07-06 Jakub Jelinek <jakub@redhat.com>
5239
5240 PR target/29776
5241 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
5242
5243 2013-06-28 Jakub Jelinek <jakub@redhat.com>
5244
5245 PR middle-end/36041
5246 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
5247 Define.
5248 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
5249 instead of table lookups.
5250 (__popcountDI2): Likewise.
5251
5252 2013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
5253
5254 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
5255 correctly.
5256
5257 2013-06-21 Joseph Myers <joseph@codesourcery.com>
5258
5259 PR other/53317
5260 * soft-fp/adddf3.c: Update from glibc.
5261 * soft-fp/addsf3.c: Likewise.
5262 * soft-fp/addtf3.c: Likewise.
5263 * soft-fp/divdf3.c: Likewise.
5264 * soft-fp/divsf3.c: Likewise.
5265 * soft-fp/divtf3.c: Likewise.
5266 * soft-fp/double.h: Likewise.
5267 * soft-fp/eqdf2.c: Likewise.
5268 * soft-fp/eqsf2.c: Likewise.
5269 * soft-fp/eqtf2.c: Likewise.
5270 * soft-fp/extenddftf2.c: Likewise.
5271 * soft-fp/extended.h: Likewise.
5272 * soft-fp/extendsfdf2.c: Likewise.
5273 * soft-fp/extendsftf2.c: Likewise.
5274 * soft-fp/fixdfdi.c: Likewise.
5275 * soft-fp/fixdfsi.c: Likewise.
5276 * soft-fp/fixsfdi.c: Likewise.
5277 * soft-fp/fixsfsi.c: Likewise.
5278 * soft-fp/fixtfdi.c: Likewise.
5279 * soft-fp/fixtfsi.c: Likewise.
5280 * soft-fp/fixunsdfdi.c: Likewise.
5281 * soft-fp/fixunsdfsi.c: Likewise.
5282 * soft-fp/fixunssfdi.c: Likewise.
5283 * soft-fp/fixunssfsi.c: Likewise.
5284 * soft-fp/fixunstfdi.c: Likewise.
5285 * soft-fp/fixunstfsi.c: Likewise.
5286 * soft-fp/floatdidf.c: Likewise.
5287 * soft-fp/floatdisf.c: Likewise.
5288 * soft-fp/floatditf.c: Likewise.
5289 * soft-fp/floatsidf.c: Likewise.
5290 * soft-fp/floatsisf.c: Likewise.
5291 * soft-fp/floatsitf.c: Likewise.
5292 * soft-fp/floatundidf.c: Likewise.
5293 * soft-fp/floatundisf.c: Likewise.
5294 * soft-fp/floatunditf.c: Likewise.
5295 * soft-fp/floatunsidf.c: Likewise.
5296 * soft-fp/floatunsisf.c: Likewise.
5297 * soft-fp/floatunsitf.c: Likewise.
5298 * soft-fp/gedf2.c: Likewise.
5299 * soft-fp/gesf2.c: Likewise.
5300 * soft-fp/getf2.c: Likewise.
5301 * soft-fp/ledf2.c: Likewise.
5302 * soft-fp/lesf2.c: Likewise.
5303 * soft-fp/letf2.c: Likewise.
5304 * soft-fp/muldf3.c: Likewise.
5305 * soft-fp/mulsf3.c: Likewise.
5306 * soft-fp/multf3.c: Likewise.
5307 * soft-fp/negdf2.c: Likewise.
5308 * soft-fp/negsf2.c: Likewise.
5309 * soft-fp/negtf2.c: Likewise.
5310 * soft-fp/op-1.h: Likewise.
5311 * soft-fp/op-2.h: Likewise.
5312 * soft-fp/op-4.h: Likewise.
5313 * soft-fp/op-8.h: Likewise.
5314 * soft-fp/op-common.h: Likewise.
5315 * soft-fp/quad.h: Likewise.
5316 * soft-fp/single.h: Likewise.
5317 * soft-fp/soft-fp.h: Likewise.
5318 * soft-fp/subdf3.c: Likewise.
5319 * soft-fp/subsf3.c: Likewise.
5320 * soft-fp/subtf3.c: Likewise.
5321 * soft-fp/truncdfsf2.c: Likewise.
5322 * soft-fp/trunctfdf2.c: Likewise.
5323 * soft-fp/trunctfsf2.c: Likewise.
5324 * soft-fp/unorddf2.c: Likewise.
5325 * soft-fp/unordsf2.c: Likewise.
5326 * soft-fp/unordtf2.c: Likewise.
5327 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
5328 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5329 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5330 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5331 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5332 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5333 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5334 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5335 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5336 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
5337 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
5338 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5339
5340 2013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
5341
5342 * config/mips/lib2funcs.c: New file.
5343 * config/mips/t-mips (LIB2ADD_ST): Add it.
5344
5345 2013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
5346
5347 PR target/6526
5348 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
5349 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
5350
5351 2013-06-08 Walter Lee <walt@tilera.com>
5352
5353 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
5354 Replace int64_t with long long. Add __extension__ where
5355 appropriate.
5356 * config/tilepro/atomic.c: Include config.h.
5357
5358 2013-06-06 Douglas B Rupp <rupp@adacore.com>
5359
5360 * config.host (arm-wrs-vxworks): Configure with other soft float.
5361
5362 2013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
5363
5364 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
5365 (mips64r5900el-*-elf*): New configurations.
5366
5367 2013-06-04 Alan Modra <amodra@gmail.com>
5368
5369 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
5370
5371 2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
5372
5373 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
5374
5375 2013-05-28 Eric Botcazou <ebotcazou@adacore.com>
5376
5377 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
5378 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
5379 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
5380
5381 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5382
5383 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
5384 (powerpc-wrs-vxworks): Likewise.
5385
5386 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5387
5388 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
5389 signal frames as well.
5390 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
5391 STACK_BIAS to the CFA offset.
5392
5393 2013-05-17 Richard Henderson <rth@redhat.com>
5394
5395 PR target/49146
5396 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
5397 (execute_cfa_program): Use it when storing to fs->regs.
5398
5399 2013-05-08 Kai Tietz <ktietz@redhat.com>
5400
5401 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
5402 (__deregister_frame_info): Likewise.
5403
5404 2013-05-06 Thomas Schwinge <thomas@codesourcery.com>
5405
5406 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
5407 NaN's payload.
5408
5409 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
5410
5411 2013-04-25 Alan Modra <amodra@gmail.com>
5412
5413 * config.host: Match little-endian powerpc-linux.
5414
5415 2013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
5416
5417 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
5418 as 'unsigned long long' instead of 'unsigned long'.
5419 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
5420 'signed long'.
5421
5422 2013-04-10 Julian Brown <julian@codesourcery.com>
5423
5424 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
5425 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
5426 unsigned char/unsigned short.
5427 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
5428
5429 2013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5430
5431 PR other/55274
5432 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
5433
5434 2013-04-04 Meador Inge <meadori@codesourcery.com>
5435
5436 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
5437 computing the location of the link register.
5438 (aeabi_uldivmod): Ditto.
5439
5440 2013-03-27 Kai Tietz <ktietz@redhat.com>
5441
5442 * config.host: Add support for cygwin x64 target.
5443 * configure: Regenerated.
5444
5445 2013-03-26 Walter Lee <walt@tilera.com>
5446
5447 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
5448 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
5449
5450 2013-03-25 Kai Tietz <ktietz@redhat.com>
5451
5452 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
5453
5454 2013-03-20 Robert Mason <rbmj@verizon.net>
5455
5456 * config/vxlib-tls.c (__gthread_get_tsd_data,)
5457 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
5458 (__gthread_leave_tsd_dtor_context): Add prototypes.
5459 (tls_delete_hook): Update.
5460
5461 2013-03-20 Catherine Moore <clm@codesourcery.com>
5462 Joseph Myers <joseph@codesourcery.com>
5463 Chao-ying Fu <fu@mips.com>
5464
5465 * config/mips/mips16.S: Don't build for microMIPS.
5466 * config/mips/linux-unwind.h: Handle microMIPS frame.
5467 * config/mips/crtn.S (fini, init): New labels.
5468
5469 2013-03-14 Jakub Jelinek <jakub@redhat.com>
5470
5471 PR tree-optimization/53265
5472 * unwind-dw2.c (execute_cfa_program): Avoid
5473 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
5474 on targets with DWARF_FRAME_REGISTERS < 32.
5475
5476 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
5477
5478 PR target/49880
5479 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
5480 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
5481
5482 2013-03-07 Sriraman Tallam <tmsriram@google.com>
5483
5484 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
5485 sandybridge processors.
5486
5487 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
5488
5489 PR target/56529
5490 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
5491 inclusion list.
5492
5493 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
5494
5495 * config/microblaze/crti.S: Setup stack protection at entry
5496
5497 2013-03-04 Georg-Johann Lay <avr@gjlay.de>
5498
5499 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
5500 (__rotldi3): Shift bytewise if applicable.
5501
5502 2013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
5503
5504 * config/aarch64/sync-cache.c
5505 (__aarch64_sync_cache_range): Silence warnings.
5506
5507 2013-02-25 Catherine Moore <clm@codesourcery.com>
5508
5509 Revert:
5510 2013-02-24 Catherine Moore <clm@codesourcery.com>
5511 Joseph Myers <joseph@codesourcery.com>
5512 Chao-ying Fu <fu@mips.com>
5513
5514 * config/mips/mips16.S: Don't build for microMIPS.
5515 * config/mips/linux-unwind.h: Handle microMIPS frame.
5516 * config/mips/crtn.S (fini, init): New labels.
5517
5518 2013-02-24 Catherine Moore <clm@codesourcery.com>
5519 Joseph Myers <joseph@codesourcery.com>
5520 Chao-ying Fu <fu@mips.com>
5521
5522 * config/mips/mips16.S: Don't build for microMIPS.
5523 * config/mips/linux-unwind.h: Handle microMIPS frame.
5524 * config/mips/crtn.S (fini, init): New labels.
5525
5526 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
5527 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
5528 as dividend.
5529
5530 2013-02-16 Alan Modra <amodra@gmail.com>
5531
5532 PR target/55431
5533 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
5534 (ppc_fallback_frame_state): Always set up save locations for fp
5535 and altivec. Don't bother with non-callee-saved regs, r0-r13
5536 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
5537
5538 2013-02-12 Georg-Johann Lay <avr@gjlay.de>
5539
5540 PR target/54222
5541 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
5542 _ssmulHA, _ssmulSA.
5543 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
5544 _ssmulha3, _usmulusa3, _ssmulsa3.
5545 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
5546 (__muldi3): XCALL __muldi3_6 instead of rcall.
5547 (__umulsidi3, __mulsidi3): New functions.
5548 (do_prologue_saves, do_epilogue_restores): New .macros.
5549 (__divdi3_moddi3): Use them.
5550 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
5551 (__usmulusa3, __ssmulsa3): New functions.
5552
5553 2013-02-11 Iain Sandoe <iain@codesourcery.com>
5554 Jack Howarth <howarth@bromo.med.uc.edu>
5555 Patrick Marlier <patrick.marlier@gmail.com>
5556
5557 PR libitm/55693
5558 * config/darwin-crt-tm.c: Remove dummy functions hack.
5559
5560 2013-02-08 Georg-Johann Lay <avr@gjlay.de>
5561
5562 PR target/54222
5563 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
5564 * config/avr/lib2-object.mk: New iterator to build objects from it.
5565 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
5566 lib2funcs.c.
5567 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
5568 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
5569 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
5570 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
5571 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
5572 * config/avr/lib1funcs-fixed.S: Implement them.
5573
5574 2013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
5575
5576 Update copyright years.
5577
5578 2013-02-01 David Edelsohn <dje.gcc@gmail.com>
5579
5580 PR target/54601
5581 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
5582 Add crtcxa to extra_parts.
5583 * config/rs6000/exit.h: New file.
5584 * config/rs6000/cxa_atexit.c: New file.
5585 * config/rs6000/cxa_finalize.c: New file.
5586 * config/rs6000/crtcxa.c: New file.
5587 * config/rs6000/t-aix-cxa: New file.
5588 * config/rs6000/libgcc-aix-cxa.ver: New file.
5589
5590 2013-01-31 Nick Clifton <nickc@redhat.com>
5591
5592 * config/v850/lib1funcs.S: Add support for e3v5 architecture
5593 variant.
5594
5595 2013-01-29 Georg-Johann Lay <avr@gjlay.de>
5596
5597 PR target/54222
5598 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
5599 _mulQQ, _mulHQ, _mulHA, _mulSA,
5600 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
5601 _divQQ, _divHQ, _divHA, _divSA,
5602 _divUQQ, _divUHQ, _divUHA, _divUSA.
5603
5604 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
5605
5606 * config.host(microblaze*-linux*): tmake_file: Remove
5607 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
5608 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
5609 to exclude functions from being built with libgcc.c and use
5610 the microblaze assembly.
5611
5612 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
5613
5614 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
5615 extra_parts.
5616
5617 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
5618
5619 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
5620 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
5621 __UINTPTR_TYPE__; also cast 'base' to the same type before the
5622 alignment operation.
5623
5624 2013-01-15 Sofiane Naci <sofiane.naci@arm.com>
5625
5626 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
5627 loop start address for cache clearing.
5628
5629 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
5630
5631 * config/avr/lib1funcs.S: Remove trailing blanks.
5632 * config/avr/lib1funcs-fixed.S: Ditto.
5633
5634 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
5635
5636 * config/avr/avr-lib.h: Add GPL copyright notice.
5637
5638 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
5639
5640 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
5641 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
5642 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
5643 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
5644
5645 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
5646
5647 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
5648 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
5649
5650 2013-01-04 Nick Clifton <nickc@redhat.com>
5651
5652 * config/v850/lib1funcs.S: Only provide CALLT support functions if
5653 the CALLT instruction is supported.
5654
5655 2012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
5656
5657 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
5658 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
5659
5660 2012-12-13 John Tytgat <John@bass-software.com>
5661
5662 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
5663 is 25.
5664
5665 2012-12-12 Jakub Jelinek <jakub@redhat.com>
5666
5667 PR libgcc/55451
5668 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
5669 undefined signed overflows.
5670
5671 2012-12-09 Uros Bizjak <ubizjak@gmail.com>
5672
5673 PR target/55344
5674 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
5675
5676 2012-12-06 Uros Bizjak <ubizjak@gmail.com>
5677
5678 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
5679 (FP_TRAPPING_EXCEPTIONS): Define.
5680 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
5681 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
5682
5683 2012-12-04 Richard Henderson <rth@redhat.com>
5684
5685 PR bootstrap/55571
5686 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
5687
5688 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
5689
5690 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
5691 (FP_EX_SHIFT): Define.
5692 (FP_TRAPPING_EXCEPTIONS): Define.
5693
5694 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
5695
5696 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
5697 (FP_ROUNDMODE): Use FP_RND_MASK.
5698 * config/aarch64/sfp-exceptions.c: New.
5699 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5700 Use __sfp_handle_exceptions.
5701
5702 2012-12-04 Richard Earnshaw <rearnsha@arm.com>
5703
5704 * config.host: (arm*-*-freebsd*): Remove.
5705 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
5706 (arm*-*-elf*): Remove.
5707 (arm*-*-wince-pe*): Remove.
5708 * arm/unwind-arm.c (struct fpa_reg): Delete.
5709 (struct fpa_regs): Delete.
5710 (phase1_vrs): Remove fpa element.
5711 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
5712 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
5713 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
5714 * ieee754-sf.S (floatundisf): Remove FPA support.
5715 (floatdisf): Likewise.
5716 * ieee75f-df.S (floatundidf): Likewise.
5717 (floatdidf): Likewise.
5718
5719 2012-11-29 Kai Tietz <ktietz@redhat.com>
5720
5721 PR target/55445
5722 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
5723 * unwind-generic.h: Likewise.
5724 * unwind-seh.c: Likewise.
5725
5726 2012-11-28 Richard Henderson <rth@redhat.com>
5727
5728 PR libgcc/48076
5729 * emutls.c (__emutls_get_address): Avoid race condition between
5730 obj->loc.offset read and emutls_key initialization.
5731
5732 2012-11-22 Georg-Johann Lay <avr@gjlay.de>
5733
5734 Adjust decimal point of signed accum mode to GCC default.
5735
5736 PR target/54222
5737 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
5738 _divqq_helper.
5739 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
5740 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
5741 (__mulha3, __mulsa3)
5742 (__divqq3, __divha3, __divsa3): Adjust to new position of
5743 decimal point of signed accum types.
5744
5745 (__mulusa3_round): New function.
5746 (__mulusa3): Use it.
5747 (__divqq_helper): New function.
5748 (__udivuqq3): Use it.
5749
5750 2012-11-20 Jakub Jelinek <jakub@redhat.com>
5751
5752 PR bootstrap/55370
5753 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
5754
5755 2012-11-18 Teresa Johnson <tejohnson@google.com>
5756
5757 PR bootstrap/55051
5758 * libgcov.c (gcov_exit): Remove merged program summary
5759 comparison unless !GCOV_LOCKED.
5760
5761 2012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
5762
5763 * soft-fp: Updated from glibc upstream.
5764
5765 2012-11-06 Ian Lance Taylor <iant@google.com>
5766
5767 * generic-morestack.c (__generic_morestack): Align the returned
5768 stack pointer to a 32 byte boundary.
5769 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
5770 increment the return address until we have decided that we don't
5771 have a varargs function.
5772 (__morestack) [32-bit]: Align stack correctly when calling C
5773 functions.
5774 (__morestack) [64-bit]: Likewise.
5775
5776 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5777
5778 * configure: Regenerate.
5779
5780 2012-11-02 Uros Bizjak <ubizjak@gmail.com>
5781
5782 PR target/55175
5783 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
5784 * config/i386/sfp-machine.h: Guard exception handling
5785 code with _SOFT_FLOAT.
5786 * config/i386/32/sfp-machine.h: Guard rounding handling
5787 code with _SOFT_FLOAT.
5788 * config/i386/64/sfp-machine.h: Ditto.
5789
5790 2012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
5791
5792 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
5793 as extra_parts.
5794
5795 2012-10-26 Uros Bizjak <ubizjak@gmail.com>
5796
5797 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
5798 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
5799 when appropriate. Correct structure element types.
5800 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
5801 -minline-all-stringops from compile flags.
5802
5803 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
5804
5805 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
5806
5807 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
5808
5809 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
5810
5811 2012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
5812
5813 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
5814 tmake_file.
5815
5816 2012-10-23 Ian Bolton <ian.bolton@arm.com>
5817 Jim MacArthur <jim.macarthur@arm.com>
5818 Marcus Shawcroft <marcus.shawcroft@arm.com>
5819 Nigel Stephens <nigel.stephens@arm.com>
5820 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
5821 Richard Earnshaw <rearnsha@arm.com>
5822 Sofiane Naci <sofiane.naci@arm.com>
5823 Stephen Thomas <stephen.thomas@arm.com>
5824 Tejas Belagod <tejas.belagod@arm.com>
5825 Yufeng Zhang <yufeng.zhang@arm.com>
5826
5827 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
5828 * config/aarch64/crti.S: New file.
5829 * config/aarch64/crtn.S: New file.
5830 * config/aarch64/linux-unwind.h: New file.
5831 * config/aarch64/sfp-machine.h: New file.
5832 * config/aarch64/sync-cache.c: New file.
5833 * config/aarch64/t-aarch64: New file.
5834 * config/aarch64/t-softfp: New file.
5835
5836 2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
5837
5838 * config/mmix/crti.S: Mark program and data addresses using PRELD.
5839 Remove typo'd and unnecessary alignment-LOC for .data. Remove
5840 no-longer-needed LDBU insns.
5841
5842 2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
5843
5844 * config.host
5845 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
5846 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
5847
5848 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
5849
5850 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
5851
5852 2012-10-15 Matthias Klose <doko@ubuntu.com>
5853
5854 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
5855
5856 2012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
5857
5858 * configure: Regenerate.
5859 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
5860
5861 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
5862
5863 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
5864 instructions for 64bit targets only.
5865
5866 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
5867
5868 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5869 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
5870 * config/i386/32/sfp-machine.h: ... here.
5871 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
5872 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
5873 New defines.
5874
5875 2012-10-07 Matthias Klose <doko@ubuntu.com>
5876
5877 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
5878 as unused.
5879 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
5880
5881 2012-10-06 Mark Kettenis <kettenis@openbsd.org>
5882
5883 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
5884 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
5885 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
5886 (ElfW): Likewise.
5887
5888 2012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
5889
5890 PR other/53889
5891 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5892 Fix parameter names.
5893
5894 2012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
5895
5896 PR target/33135
5897 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
5898 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
5899 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
5900
5901 2012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
5902
5903 PR target/50457
5904 * config/sh/linux-atomic.S: Delete.
5905 * config/sh/linux-atomic.c: New.
5906 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
5907 linux-atomic.c. Add cflags to disable warnings.
5908
5909 2012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
5910
5911 PR other/53889
5912 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
5913 function.
5914 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
5915 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
5916 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
5917 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5918 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
5919 Likewise.
5920 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5921 Likewise.
5922 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
5923 Likewise.
5924 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
5925 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
5926
5927 2012-09-19 Mark Kettenis <kettenis@openbsd.org>
5928
5929 * config.host (hppa-*-openbsd*): New target.
5930 * config/pa/t-openbsd: New file.
5931
5932 2012-09-15 Georg-Johann Lay <avr@gjlay.de>
5933
5934 PR target/54222
5935 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
5936 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
5937 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
5938 (__divsa3): Use __negsi2 to negate r_quoL.
5939 * config/avr/lib1funcs.S (FALIAS): New macro.
5940 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
5941 (__negsi2): ...this new function.
5942 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
5943 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
5944 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
5945 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
5946 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
5947 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
5948
5949 2012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
5950
5951 PR target/54089
5952 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
5953 (lshrsi3): Reimplement as lshrsi3_r0.
5954
5955 2012-09-10 Andreas Schwab <schwab@linux-m68k.org>
5956
5957 PR target/46191
5958 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
5959 of libgcc.a.
5960
5961 2012-09-07 Teresa Johnson <tejohnson@google.com>
5962
5963 PR gcov-profile/54487
5964 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
5965 differences.
5966
5967 2012-09-05 Georg-Johann Lay <avr@gjlay.de>
5968
5969 PR target/54461
5970 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
5971 not configured --with-avrlibc=no.
5972 * config/avr/t-avrlibc: New file.
5973 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
5974 (DPBIT_FUNCS): Ditto.
5975 (TPBIT_FUNCS): Ditto.
5976
5977 2012-09-04 Teresa Johnson <tejohnson@google.com>
5978
5979 * libgcov.c (struct gcov_summary_buffer): New structure.
5980 (gcov_histogram_insert): New function.
5981 (gcov_compute_histogram): Ditto.
5982 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
5983 histograms during summary merging.
5984
5985 2012-09-01 Mark Kettenis <kettenis@openbsd.org>
5986
5987 * config.host (x86_64-*-openbsd*): New target.
5988
5989 2012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
5990
5991 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
5992 attribute.
5993
5994 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
5995
5996 PR target/54222
5997 * config/avr/t-avr (conv_X): Rename to func_X.
5998
5999 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
6000
6001 PR target/54222
6002 * config/avr/lib1funcs-fixed.S: New file.
6003 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
6004 after they are used.
6005 (neg2, neg4): New macros.
6006 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
6007 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
6008 (__umulhisi3): Speed up MUL variant if there is enough flash.
6009 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
6010 avr-modes.def.
6011 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
6012 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
6013 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
6014 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
6015 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
6016 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
6017 (LIB2FUNCS_EXCLUDE): Add supported functions.
6018
6019 2012-08-22 Georg-Johann Lay <avr@gjlay.de>
6020
6021 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
6022 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
6023 libgcc-s-objects.
6024 * fixed-obj.mk: Only expand dependency if $o is not in
6025 LIB2FUNCS_EXCLUDE.
6026
6027 2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
6028
6029 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
6030
6031 2012-08-22 Joseph Myers <joseph@codesourcery.com>
6032
6033 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
6034 depend on --enable-shared.
6035 ($(lib1asmfuncs-o)): Use %.vis files independent of
6036 --enable-shared.
6037 * static-object.mk ($(base)$(objext), $(base).vis)
6038 ($(base)_s$(objext)): Use same rules for visibility handling as in
6039 shared-object.mk.
6040
6041 2012-08-21 Ian Lance Taylor <iant@google.com>
6042
6043 * config/i386/morestack.S (__morestack_non_split): Increase amount
6044 of space allocated for non-split code stack.
6045
6046 2012-08-19 Joseph Myers <joseph@codesourcery.com>
6047
6048 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
6049 even if inhibit_libc.
6050
6051 2012-08-17 Julian Brown <julian@codesourcery.com>
6052
6053 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
6054 -fexceptions -fnon-call-exceptions if not defined.
6055 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
6056 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
6057
6058 2012-08-17 Andreas Schwab <schwab@linux-m68k.org>
6059
6060 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
6061 type.
6062
6063 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
6064
6065 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
6066 rs6000/t-slibgcc-aix.
6067
6068 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
6069
6070 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
6071
6072 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
6073
6074 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
6075
6076 2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
6077
6078 PR driver/54171
6079 * Makefile.in (version): Replace top_srcdir with srcdir.
6080
6081 2012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
6082
6083 * Makefile.in (version): set to BASE-VER file from gcc directory.
6084
6085 2012-08-01 Nick Clifton <nickc@redhat.com>
6086
6087 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
6088 Implements __clrsb for an HImode argument.
6089
6090 2012-07-31 Nick Clifton <nickc@redhat.com>
6091
6092 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
6093 Implements __clrsb for an HImode argument.
6094 * config/stormy16/clrsbhi2.c: New file:
6095 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
6096
6097 2012-07-22 Steven Bosscher <steven@gcc.gnu.org>
6098
6099 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
6100
6101 2012-07-19 Tristan Gingold <gingold@adacore.com>
6102 Richard Henderson <rth@redhat.com>
6103
6104 * unwind-seh.c: New file.
6105 * unwind-generic.h: Include windows.h for SEH.
6106 (_Unwind_Exception): Use 6 private fields for SEH.
6107 (_GCC_specific_handler): Declare.
6108 * unwind-c.c (__gcc_personality_seh0): New function.
6109 Adjust for SEH.
6110 * config/i386/libgcc-cygming.ver: New file.
6111 * config/i386/t-seh-eh: New file.
6112 * config.host (x86_64-*-mingw*): Default to seh.
6113
6114 2012-07-14 Steven Bosscher <steven@gcc.gnu.org>
6115
6116 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
6117
6118 2012-06-17 Uros Bizjak <ubizjak@gmail.com>
6119
6120 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
6121 __builtin_expect when checking for exceptions.
6122 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
6123
6124 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
6125
6126 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
6127 function declaration.
6128 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6129 (FP_RND_MASK): New.
6130 * config/ia64/sfp-exceptions.c: New.
6131 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
6132
6133 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
6134
6135 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
6136 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
6137 * config/i386/64/sfp-machine: ... (delete here) ...
6138 * config/i386/sfp-machine.h: ... to here.
6139 (FP_EX_MASK): Remove.
6140 (FP_RND_MASK): New.
6141 (FP_INIT_ROUNDMODE): Declare asm as volatile.
6142
6143 2012-06-11 Sriraman Tallam <tmsriram@google.com>
6144
6145 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
6146 * config/i386/libgcc-sol2.ver: Ditto.
6147 * config/i386/libgcc-glibc.ver: Ditto.
6148
6149 2012-06-11 Roland McGrath <mcgrathr@google.com>
6150
6151 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
6152 If __GLIBC__ is defined, refer to __pthread_key_create instead of
6153 pthread_cancel.
6154
6155 2012-06-09 Uros Bizjak <ubizjak@gmail.com>
6156
6157 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
6158 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
6159 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
6160 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
6161 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
6162 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
6163 * config/i386/64/sfp-machine: ... (delete here) ...
6164 * config/i386/sfp-machine.h: ... to here.
6165 (FP_EX_MASK): New.
6166 (__sfp_handle_exceptions): New function declaration.
6167 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6168 * config/i386/sfp-exceptions.c: New.
6169 * config/i386/t-softfp: New.
6170 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
6171 i386/t-softfp to tmake_file.
6172
6173 2012-06-03 David S. Miller <davem@davemloft.net>
6174
6175 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
6176 change.
6177
6178 2012-05-31 David S. Miller <davem@davemloft.net>
6179
6180 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
6181 multiply and divide instructions on 32-bit when V9.
6182 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
6183
6184 2012-05-29 Joseph Myers <joseph@codesourcery.com>
6185
6186 * config/arm/ieee754-df.S: Fix typos.
6187 * config/arm/ieee754-sf.S: Fix typos.
6188 * config/c6x/libunwind.S: Fix typos.
6189 * config/epiphany/udivsi3-float.c: Fix typos.
6190 * config/microblaze/muldi3_hard.S: Fix typos.
6191 * config/picochip/adddi3.S: Fix typos.
6192 * config/picochip/ashlsi3.S: Fix typos.
6193 * config/picochip/ashrsi3.S: Fix typos.
6194 * config/picochip/clzsi2.S: Fix typos.
6195 * config/picochip/cmpsi2.S: Fix typos.
6196 * config/picochip/divmod15.S: Fix typos.
6197 * config/picochip/divmodhi4.S: Fix typos.
6198 * config/picochip/divmodsi4.S: Fix typos.
6199 * config/picochip/longjmp.S: Fix typos.
6200 * config/picochip/lshrsi3.S: Fix typos.
6201 * config/picochip/parityhi2.S: Fix typos.
6202 * config/picochip/popcounthi2.S: Fix typos.
6203 * config/picochip/setjmp.S: Fix typos.
6204 * config/picochip/subdi3.S: Fix typos.
6205 * config/picochip/ucmpsi2.S: Fix typos.
6206 * config/picochip/udivmodhi4.S: Fix typos.
6207 * config/picochip/udivmodsi4.S: Fix typos.
6208 * config/spu/divv2df3.c: Fix typos.
6209 * config/spu/mfc_multi_tag_release.c: Fix typos.
6210 * config/spu/mfc_tag_release.c: Fix typos.
6211 * configure.ac: Fix typos.
6212 * configure: Regenerate.
6213
6214 2012-05-25 Ian Lance Taylor <iant@google.com>
6215
6216 * config/i386/morestack.S (__morestack_non_split): Check whether
6217 caller is varargs and needs %bp to hold the stack frame on return.
6218
6219 2012-05-25 Olivier Hainque <hainque@adacore.com>
6220
6221 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
6222 sequence in the non pic case on VxWorks.
6223
6224 2012-05-24 Olivier Hainque <hainque@adacore.com>
6225
6226 * Makefile.in: Move dependency on install-unwind_h from
6227 "install-leaf" to "install".
6228
6229 2012-05-24 Olivier Hainque <hainque@adacore.com>
6230
6231 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
6232 Use a separate command for stamp removals.
6233
6234 2012-05-21 Andrew Pinski <apinski@cavium.com>
6235
6236 PR bootstrap/53183
6237 * configure.ac: Define the default includes to being none.
6238 * configure: Regenerate.
6239
6240 2012-05-16 Olivier Hainque <hainque@adacore.com>
6241
6242 * Makefile.in (install-unwind_h): Rename into ...
6243 (install-unwind_h-forbuild): New target.
6244 (all): Use it instead of the former install-unwind_h.
6245 (install-unwind_h): Reinstate, copy to user install destination
6246 for include files, not to the internal gcc object directory one.
6247 (install-leaf): Depend on it.
6248
6249 2012-05-15 Olivier Hainque <hainque@adacore.com>
6250
6251 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
6252 register numbers. LR_REGNO replaces R_LR.
6253 (ucontext_for): New, helper for ...
6254 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
6255 and 5.3 of ...
6256 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
6257
6258 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6259
6260 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
6261 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
6262 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
6263 i386/t-cpuinfo ...
6264 (i[34567]86-*-*, x86_64-*-*): ... here.
6265
6266 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
6267 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
6268
6269 * config/i386/i386-cpuinfo.c: Rename to ...
6270 * config/i386/cpuinfo.c: ... this.
6271 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
6272
6273 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
6274 (libgcc_cv_init_priority): New test.
6275 * configure: Regenerate.
6276 * config.in: New file.
6277 * Makefile.in (clean): Rename config.h to auto-target.h.
6278 (config.h): Likewise.
6279 (stamp-h): Likewise.
6280
6281 * config/i386/cpuinfo.c (auto-target.h): Include.
6282 (CONSTRUCTOR_PRIORITY): Define.
6283 (__cpu_indicator_init): Use it.
6284
6285 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
6286
6287 * longlong.h: Use a URL instead of an FSF postal address.
6288 Replace spaces with tab.
6289
6290 2012-05-08 Teresa Johnson <tejohnson@google.com>
6291
6292 * libgcov.c (gcov_clear, __gcov_reset): New functions.
6293 (__gcov_dump): Ditto.
6294 (gcov_dump_complete): New global variable.
6295 (gcov_exit): Export hidden to enable use in L_gcov_dump.
6296 (__gcov_flush): Outline functionality now in gcov_clear.
6297 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
6298
6299 2012-04-28 Aurelien Jarno <aurelien@aurel32.net>
6300
6301 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
6302 (mips*-*-linux*): Include mips/t-tpbit when long double is
6303 16 bytes long.
6304
6305 2012-04-25 Sriraman Tallam <tmsriram@google.com>
6306
6307 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
6308 (get_available_features): New argument. Check for AVX2.
6309 (__cpu_indicator_init): Modify call to get_available_features.
6310
6311 2012-04-25 Alan Modra <amodra@gmail.com>
6312
6313 * config/rs6000/crtsavevr.S: New file.
6314 * config/rs6000/crtrestvr.S: New file.
6315 * config/rs6000/t-savresfgpr: Build the above.
6316 * config/rs6000/t-netbsd: Likewise.
6317
6318 2012-04-24 Sriraman Tallam <tmsriram@google.com>
6319
6320 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
6321
6322 2012-04-24 Sriraman Tallam <tmsriram@google.com>
6323
6324 * libgcc/config/i386/i386-cpuinfo.c: New file.
6325 * libgcc/config/i386/t-cpuinfo: New file.
6326 * libgcc/config.host: Include t-cpuinfo.
6327 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
6328
6329 2012-04-24 Chao-ying Fu <fu@mips.com>
6330
6331 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
6332
6333 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
6334
6335 struct siginfo vs. siginfo_t
6336
6337 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
6338 siginfo_t instead of struct siginfo.
6339 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
6340 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
6341 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
6342 (ia64_handle_unwabi): Likewise.
6343 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
6344 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
6345 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
6346 (sh_fallback_frame_state): Likewise.
6347 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
6348 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
6349
6350 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
6351
6352 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
6353 system call number.
6354
6355 2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
6356
6357 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
6358 if it hasn't been previously saved.
6359
6360 2012-03-29 H.J. Lu <hongjiu.lu@intel.com>
6361
6362 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
6363 only for glibc.
6364
6365 2012-03-28 Georg-Johann Lay <avr@gjlay.de>
6366
6367 PR target/52737
6368 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
6369 instead of __AVR_HAVE_8BIT_SP__.
6370
6371 2012-03-26 Tristan Gingold <gingold@adacore.com>
6372
6373 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
6374 (unw_table_entry): Use unw_word instead of unsigned long.
6375 (_Unwind_FindTableEntry): Likewise.
6376 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
6377 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
6378 (_Unwind_FindTableEntry): Likewise.
6379 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
6380 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
6381 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
6382 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
6383 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
6384 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
6385 (uw_init_context_1, uw_install_context): Likewise.
6386 (unw_word): Move to unwind-ia64.h
6387
6388 2012-03-26 Tristan Gingold <gingold@adacore.com>
6389
6390 * config/vms/vms-ucrt0.c: Update copyright years.
6391 Add a sanity check.
6392 (___gcc_main_flags): Declare.
6393 (__main): Check flags to remap argv and exit code.
6394 * config.host (*-*-*vms*): Adjust extra_parts.
6395 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
6396 (crt0.o): Add.
6397
6398 2012-03-22 Richard Earnshaw <rearnsha@arm.com>
6399
6400 * arm/lib1funcs.asm (ctzsi2): New function.
6401 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
6402 * arm/t-linux (LIB1ASMFUNCS): Likewise.
6403 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
6404 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
6405 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
6406 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
6407
6408 2012-03-21 Andreas Tobler <andreast@fgznet.ch>
6409
6410 * config.host: Add bits to support powerpc64-*-freebsd*.
6411 * config/rs6000/freebsd-unwind.h: New file.
6412 * config/rs6000/t-freebsd64: New file.
6413
6414 2012-03-20 Richard Guenther <rguenther@suse.de>
6415
6416 PR gcov-profile/52627
6417 * libgcov.c (init_mx): Fix mutex name.
6418
6419 2012-03-16 Tristan Gingold <gingold@adacore.com>
6420
6421 * config/ia64/vms-unwind.h: Remove ulong (and replace
6422 it by unw_reg where used). Define unw_reg with __int64.
6423
6424 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6425
6426 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
6427 Solaris 8 handling.
6428 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
6429 Solaris 8 handling.
6430 (sparc_is_sighandler): Likewise.
6431
6432 2012-03-13 H.J. Lu <hongjiu.lu@intel.com>
6433
6434 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
6435 <= saved reg size.
6436
6437 2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6438
6439 * config/arm/crtn.S: Fix typo.
6440
6441 2012-03-13 Richard Guenther <rguenther@suse.de>
6442
6443 * libgcov.c: Remove stdio.h include and NULL un-define.
6444
6445 2012-03-13 Richard Guenther <rguenther@suse.de>
6446
6447 PR target/52569
6448 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
6449
6450 2012-03-13 Richard Guenther <rguenther@suse.de>
6451
6452 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
6453
6454 2012-03-13 Richard Guenther <rguenther@suse.de>
6455
6456 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
6457 and __gthread_mutex_init_function definitions.
6458
6459 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6460
6461 * config.host (mips*-*-openbsd*): Remove.
6462
6463 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6464
6465 * config.host: Remove alpha*-dec-osf5.1* handling.
6466 * config/alpha/gthr-posix.c: Remove.
6467 * config/alpha/libgcc-osf5.ver: Remove.
6468 * config/alpha/osf5-unwind.h: Remove.
6469 * config/alpha/t-osf-pthread: Remove.
6470 * config/alpha/t-slibgcc-osf: Remove.
6471 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
6472 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
6473 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
6474 * mkmap-flat.awk: Remove osf_export handling.
6475
6476 2012-03-12 Richard Guenther <rguenther@suse.de>
6477
6478 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
6479 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6480 (__gthread_mutex_init_function): New function.
6481 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6482
6483 PR gcov/49484
6484 * libgcov.c: Include gthr.h.
6485 (__gcov_flush_mx): New global variable.
6486 (init_mx, init_mx_once): New functions.
6487 (__gcov_flush): Protect self with a mutex.
6488 (__gcov_fork): Re-initialize mutex after forking.
6489 * unwind-dw2-fde.c: Change condition under which to use
6490 __GTHREAD_MUTEX_INIT_FUNCTION.
6491
6492 2012-03-12 Tristan Gingold <gingold@adacore.com>
6493
6494 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
6495 * config/ia64/t-vms: Likewise.
6496
6497 2012-03-11 Michael Hope <michael.hope@linaro.org>
6498
6499 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
6500 for Thumb-2.
6501
6502 2012-03-07 Walter Lee <walt@tilera.com>
6503
6504 * config/tilepro/atomic.c: Rename "atomic_" prefix to
6505 "arch_atomic_".
6506 (atomic_xor): Rename and move definition to
6507 config/tilepro/atomic.h.
6508 (atomic_nand): Ditto.
6509 * config/tilepro/atomic.h: Rename "atomic_" prefix to
6510 "arch_atomic_".
6511 (arch_atomic_xor): Move from config/tilepro/atomic.c.
6512 (arch_atomic_nand): Ditto.
6513
6514 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
6515
6516 PR target/52507
6517 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
6518
6519 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
6520
6521 PR target/52505
6522 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
6523 from RAM.
6524
6525 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
6526
6527 PR target/52461
6528 PR target/52508
6529 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
6530 if RAMPZ affects reading from RAM.
6531 (__tablejump_elpm__): Ditto.
6532 (.xload): Ditto.
6533 (__movmemx_hi): Ditto.
6534 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
6535 (__do_global_dtors): Ditto.
6536 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
6537 (__movmemx_hi): Ditto.
6538
6539 2012-03-05 Richard Henderson <rth@redhat.com>
6540
6541 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
6542 [ARM] (count_trailing_zeros): Use the builtin.
6543
6544 2012-03-01 Kai Tietz <ktietz@redhat.com>
6545
6546 * soft-fp: Imported from glibc upstream.
6547
6548 2012-02-28 Kai Tietz <ktietz@redhat.com>
6549
6550 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
6551 for mingw-targets as attribute gcc_struct.
6552
6553 2012-02-28 Ian Lance Taylor <iant@google.com>
6554
6555 * generic-morestack.c (__splitstack_releasecontext): Correct call
6556 to __morestack_release_segments.
6557
6558 2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6559
6560 PR target/52390
6561 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
6562 for __linux__ when removing signals from __morestack_fullmask.
6563
6564 2012-02-23 Georg-Johann Lay <avr@gjlay.de>
6565
6566 PR target/52261
6567 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
6568
6569 2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6570
6571 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
6572 instead of HAVE_INITFINI_ARRAY.
6573 * config/ia64/crtend.S: Likewise.
6574
6575 2012-02-20 Kai Tietz <ktietz@redhat.com>
6576
6577 PR libstdc++/52300
6578 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
6579
6580 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
6581 to w32-unwind.h header.
6582
6583 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6584
6585 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
6586 (mips*-*-linux*): Remove t-slibgcc-libgcc.
6587 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
6588 * config/mips/mips16.S (__mips16_rdhwr): Delete.
6589
6590 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6591
6592 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
6593
6594 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6595
6596 PR libitm/52220
6597 * config/darwin-crt-tm.c: Correct typo.
6598
6599 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6600 Patrick Marlier <patrick.marlier@gmail.com>
6601
6602 PR libitm/52220
6603 * config/darwin-crt-tm.c: Generate dummy functions.
6604
6605 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6606 Patrick Marlier <patrick.marlier@gmail.com>
6607
6608 PR libitm/52042
6609 * config/darwin-crt-tm.c (getTMCloneTable): New function.
6610 (__doTMRegistrations): Call it.
6611 (__doTMdeRegistrations): Likewise.
6612
6613 2012-01-15 Georg-Johann Lay <avr@gjlay.de>
6614 Anatoly Sokolov <aesok@post.ru>
6615 Eric Weddington <eric.weddington@atmel.com>
6616
6617 PR target/52261
6618 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
6619 (__epilogue_restores__): Ditto.
6620
6621 2012-02-15 Eric Botcazou <ebotcazou@adacore.com>
6622
6623 PR target/51921
6624 PR target/52205
6625 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
6626 Solaris 11 and slightly reformat.
6627 (sparc_is_sighandler): Likewise.
6628
6629 2012-02-14 Walter Lee <walt@tilera.com>
6630
6631 * config.host: Handle tilegx and tilepro.
6632 * config/tilegx/sfp-machine.h: New file.
6633 * config/tilegx/sfp-machine32.h: New file.
6634 * config/tilegx/sfp-machine64.h: New file.
6635 * config/tilegx/t-crtstuff: New file.
6636 * config/tilegx/t-softfp: New file.
6637 * config/tilegx/t-tilegx: New file.
6638 * config/tilepro/atomic.c: New file.
6639 * config/tilepro/atomic.h: New file.
6640 * config/tilepro/linux-unwind.h: New file.
6641 * config/tilepro/sfp-machine.h: New file.
6642 * config/tilepro/softdivide.c: New file.
6643 * config/tilepro/softmpy.S: New file.
6644 * config/tilepro/t-crtstuff: New file.
6645 * config/tilepro/t-tilepro: New file.
6646
6647 2012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
6648
6649 PR libstdc++/51296
6650 PR libstdc++/51906
6651 * gthr-posix.h: Allow static initializer macros to be disabled.
6652 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
6653
6654 2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
6655
6656 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
6657 Add t-slibgcc-libgcc to tmake_file.
6658 * config/mips/libgcc-mips16.ver: Revert previous patch.
6659 * config/mips/mips16.S (__mips16_rdhwr): Hide.
6660
6661 2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
6662 Jayant R Sonar <jayant.sonar@kpitcummins.com>
6663
6664 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
6665 * config/cr16/crti.S: New file.
6666 * config/cr16/crtlibid.S: New file.
6667 * config/cr16/crtn.S: New file.
6668 * config/cr16/lib1funcs.S: New file.
6669 * config/cr16/t-cr16: New file.
6670 * config/cr16/t-crtlibid: New file.
6671 * config/cr16/unwind-dw2.h: New file.
6672 * config/cr16/unwind-cr16.c: New file.
6673 * config/cr16/divmodhi3.c: New file.
6674
6675 2012-01-25 Alan Modra <amodra@gmail.com>
6676
6677 * config/rs6000/t-linux64: Delete. Move..
6678 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
6679 * config/rs6000/t-linux: ..and libgcc flags to here.
6680
6681 2012-01-22 Douglas B Rupp <rupp@gnat.com>
6682
6683 * config.host (i[34567]86-*-interix3*):
6684 Change triplet to i[34567]86-*-interix[3-9]*.
6685 * configure: Regenerate.
6686
6687 2012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
6688 Richard Sandiford <rdsandiford@googlemail.com>
6689
6690 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
6691 * config/mips/mips16.S (__mips16_rdhwr): New function.
6692 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
6693
6694 2012-01-11 Nathan Sidwell <nathan@acm.org>
6695
6696 * libgcov.c (__gcov_init): Ignore objects with no functions.
6697
6698 2012-01-10 Georg-Johann Lay <avr@gjlay.de>
6699
6700 PR target/49868
6701 Extend __pgmx semantics to linearize memory.
6702 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
6703 * config/avr/lib1funcs.S (__xload_1): New function.
6704 (__movmemx_qi, __movmemx_hi): New functions.
6705 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
6706 semantics.
6707
6708 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6709
6710 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
6711 purported sigacthandler address isn't null before dereferencing it.
6712 (sparc_is_sighandler): Likewise.
6713
6714 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6715
6716 PR ada/41929
6717 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
6718 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
6719 (sparc_is_sighandler): Likewise.
6720 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
6721
6722 2012-01-06 Tristan Gingold <gingold@adacore.com>
6723
6724 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
6725 compatibility thunks...
6726 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
6727 (crtbeginS.o, crtendS.o): ... and these to ...
6728 * config/ia64/t-ia64-elf: ... this new file.
6729 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
6730 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
6731
6732 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6733
6734 * configure: Regenerate.
6735 * config/s390/t-crtstuff: Remove -fPIC.
6736
6737 2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
6738
6739 PR bootstrap/51006
6740 * enable-execute-stack-mprotect.c (getpagesize): Do not define
6741 for NetBSD.
6742
6743 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
6744
6745 PR target/51345
6746 * config/avr/lib1funcs.S: Remove FIXME comments.
6747 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
6748
6749 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
6750
6751 Implement light-weight DImode support.
6752 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
6753 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
6754 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
6755 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
6756
6757 2011-12-30 Nathan Sidwell <nathan@acm.org>
6758
6759 * libgcov.c (gcov_crc32): Remove global var.
6760 (free_fn_data): New function.
6761 (buffer_fn_data): Pass in filename, more robust error recovery.
6762 (crc32_unsigned): New function.
6763 (gcov_exit): More robust detection of new program. More robust
6764 error recovery.
6765 (__gcov_init): Do not update program's crc here.
6766
6767 2011-12-21 Tristan Gingold <gingold@adacore.com>
6768
6769 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
6770
6771 2011-12-21 Ian Lance Taylor <iant@google.com>
6772
6773 * config/i386/morestack.S: Simplify CFI opcodes throughout.
6774
6775 2011-12-20 Ian Lance Taylor <iant@google.com>
6776
6777 * config/i386/morestack.S (__morestack_non_split): If there is
6778 enough stack space already, don't split. Ask for more stack space
6779 than we required.
6780
6781 2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
6782
6783 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
6784 `sys/sdt.h'.
6785 (_Unwind_DebugHook): New function.
6786 (uw_restore_core_regs): New define.
6787 (unwind_phase2): Use uw_restore_core_regs instead of
6788 restore_core_regs.
6789 (unwind_phase2_forced): Likewise.
6790 (__gnu_Unwind_Resume): Likewise.
6791
6792 2011-12-20 Uros Bizjak <ubizjak@gmail.com>
6793
6794 * config/alpha/linux-unwind.h: Update copyright years.
6795 (MD_FROB_UPDATE_CONTEXT): New define.
6796 (alpha_frob_update_context): New function.
6797
6798 2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
6799
6800 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
6801 tmake_file rather replacing it.
6802
6803 2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
6804
6805 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
6806 function is not used for PPC64.
6807 (save_world): Amend comments. Update the VRsave mask to reflect the
6808 saved regs.
6809 (rest_world): Update comments, do not clobber r10, do not use r8.
6810 (eh_rest_world_r10): Amend comments, do not use r8.
6811 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
6812 no longer used, move restore of CR and target address to the end of
6813 the routine.
6814
6815 2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
6816
6817 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
6818 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
6819
6820 2011-12-14 Georg-Johann Lay <avr@gjlay.de>
6821
6822 PR target/49313
6823 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
6824 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
6825
6826 2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
6827
6828 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
6829
6830 2011-12-09 Georg-Johann Lay <avr@gjlay.de>
6831
6832 PR target/49313
6833 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
6834 * config/avr/lib1funcs.S (__muldi3): New function.
6835
6836 2011-12-06 Andrew Pinski <apinski@cavium.com>
6837
6838 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
6839 size of func_ptr.
6840 (__frame_dummy_init_array_entry): Likewise.
6841
6842 2011-12-06 Georg-Johann Lay <avr@gjlay.de>
6843
6844 Forward-port from gcc-4_6-branch r181936 2011-12-02.
6845
6846 PR target/51345
6847 PR target/51002
6848 * config/avr/lib1funcs.S (__prologue_saves__,
6849 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
6850 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
6851
6852 2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
6853
6854 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
6855
6856 2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6857
6858 PR other/51272
6859 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
6860 (_ITM_deregisterTMCloneTable): Likewise.
6861 (__register_frame_info): Fix unused warning.
6862 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
6863 pthread_default_stacksize_np): Likewise.
6864 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
6865
6866 2011-11-29 DJ Delorie <dj@redhat.com>
6867
6868 * config.host (rl78-*-elf): New case.
6869 * config/rl78: New directory for the Renesas RL78.
6870
6871 2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
6872
6873 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
6874 formatting.
6875
6876 2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6877
6878 PR other/51022
6879 * config/rs6000/t-savresfgpr: New file.
6880 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
6881 $(srcdir)/config/rs6000/eabi.S.
6882 * config/rs6000/t-ppccomm-ldbl: Remove.
6883 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
6884 tmake_file.
6885 (powerpc-*-eabispe*): Likewise.
6886 (powerpc-*-eabi*): Likewise.
6887 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
6888 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
6889 to tmake_file, remove rs6000/t-ppccomm-ldbl.
6890 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
6891 tmake_file.
6892 (powerpc-*-eabisim*): Likewise.
6893 (powerpc-*-elf*): Likewise.
6894 (powerpc-*-eabialtivec*): Likewise.
6895 (powerpc-xilinx-eabi*): Likewise.
6896 (powerpc-*-rtems*): Likewise.
6897 (powerpcle-*-elf*): Likewise.
6898 (powerpcle-*-eabisim*): Likewise.
6899 (powerpcle-*-eabi*): Likewise.
6900
6901 2011-11-27 Ian Lance Taylor <iant@google.com>
6902
6903 * generic-morestack.c (__splitstack_find): Check for NULL old
6904 stack value.
6905 (__splitstack_resetcontext): New function.
6906 (__splitstack_releasecontext): New function.
6907 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6908
6909 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
6910
6911 * config/darwin-crt-tm.c: Correct comments, use correct licence.
6912
6913 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
6914
6915 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
6916
6917 2011-11-26 Richard Henderson <rth@redhat.com>
6918
6919 * config/m68k/linux-atomic.c: New file.
6920 * config/m68k/t-linux: New file.
6921 * config.host (m68k-uclinux, m68k-linux): Use it.
6922
6923 2011-11-26 Richard Henderson <rth@redhat.com>
6924
6925 * crtstuff.c (__TMC_LIST__): Mark used not unused.
6926 (__TMC_END__): Only declare if hidden is available; in the definition,
6927 if hidden is unavailable add a null record.
6928 (deregister_tm_clones, register_tm_clones): New.
6929 (__do_global_dtors_aux, frame_dummy): Use them.
6930 (__do_global_dtors, __do_global_ctors_1): Likewise.
6931
6932 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
6933
6934 * config/darwin-crt-tm.c: New file.
6935 * config.host (darwin): Build crttms.o crttme.o to provide
6936 startup and shutdown for tm clones.
6937 * config/t-darwin (crttms.o): New build rule.
6938 (crttme.o): Likewise.
6939
6940 2011-11-21 Hans-Peter Nilsson <hp@axis.com>
6941
6942 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
6943 et al.
6944
6945 2011-11-21 Richard Henderson <rth@redhat.com>
6946
6947 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
6948 (__TMC_LIST__, __TMC_END__): New.
6949 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
6950 (__do_global_dtors): Likewise.
6951 (frame_dummy): Call _ITM_registerTMCloneTable.
6952 (__do_global_ctors_1): Likewise.
6953
6954 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6955
6956 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
6957 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
6958 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
6959 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
6960 * config/i386/t-darwin64: Remove.
6961 * config/sh/t-netbsd (LIB2ADD): Remove.
6962
6963 2011-11-21 Georg-Johann Lay <avr@gjlay.de>
6964
6965 PR target/49313
6966 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
6967 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
6968 * config/avr/lib1funcs.S (wmov): New assembler macro.
6969 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
6970 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
6971 (__udivmod64): New function.
6972 (__negdi2): New function.
6973
6974 2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
6975
6976 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
6977 *-*-freebsd*aout*): Remove.
6978
6979 2011-11-20 Hans-Peter Nilsson <hp@axis.com>
6980
6981 * static-object.mk (c_flags-$o): Save c_flags.
6982 ($(base)$(objext)): Use it.
6983
6984 2011-11-18 Steve Ellcey <sje@cup.hp.com>
6985
6986 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
6987
6988 2011-11-18 Georg-Johann Lay <avr@gjlay.de>
6989
6990 PR target/49868
6991 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
6992 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
6993 New functions.
6994
6995 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
6996
6997 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
6998 functions.
6999 (aeabi_uidivmod): Likewise.
7000 (umodsi3): Likewise.
7001 (divsi3): Likewise.
7002 (aeabi_idivmod): Likewise.
7003 (modsi3): Likewise.
7004
7005 2011-11-16 Tristan Gingold <gingold@adacore.com>
7006
7007 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
7008
7009 2011-11-15 Georg-Johann Lay <avr@gjlay.de>
7010
7011 PR target/49868
7012 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
7013 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
7014
7015 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7016
7017 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
7018 tmake_file list.
7019 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
7020 * config/pa/t-stublib64: Delete.
7021
7022 2011-11-12 Richard Henderson <rth@redhat.com>
7023
7024 * config/rs6000/linux-unwind.h (frob_update_context): Properly
7025 cast the pointer argument to _Unwind_SetGRPtr.
7026
7027 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7028
7029 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
7030
7031 2011-11-09 Ian Lance Taylor <iant@google.com>
7032
7033 * generic-morestack.c: Include <string.h>.
7034 (uintptr_type): Define.
7035 (struct initial_sp): Add dont_block_signals field. Reduce size of
7036 extra array by 1.
7037 (allocate_segment): Set prev field to NULL. Don't set
7038 __morestack_current_segment or __morestack_segments.
7039 (__generic_morestack): Update current->prev and *pp after calling
7040 allocate_segment.
7041 (__morestack_block_signals): Don't do anything if
7042 dont_block_signals is set.
7043 (__morestack_unblock_signals): Likewise.
7044 (__generic_findstack): Check for initial_sp == NULL. Add casts to
7045 uintptr_type.
7046 (__splitstack_block_signals): New function.
7047 (enum __splitstack_content_offsets): Define.
7048 (__splitstack_getcontext, __splitstack_setcontext): New functions.
7049 (__splitstack_makecontext): New function.
7050 (__splitstack_block_signals_context): New function.
7051 (__splitstack_find_context): New function.
7052 * config/i386/morestack.S (__morestack_get_guard): New function.
7053 (__morestack_set_guard, __morestack_make_guard): New functions.
7054 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
7055
7056 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7057
7058 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
7059 (i[34567]86-*-mingw*): ... here.
7060 (x86_64-*-mingw*): ... here.
7061
7062 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7063
7064 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
7065
7066 2011-11-07 Nathan Sidwell <nathan@acm.org>
7067
7068 * libgcov.c (struct gcov_fn_buffer): New struct.
7069 (buffer_fn_data): New helper.
7070 (gcov_exit): Rework for new gcov data structures.
7071
7072 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
7073
7074 PR target/49313
7075 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
7076
7077 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7078
7079 * config.host (tmake_file): Correct comment.
7080 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
7081 t-libgcc-pic.
7082 (bfin*-uclinux*): Likewise.
7083 (bfin*-linux-uclibc*): Likewise.
7084 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
7085
7086 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
7087 assigning.
7088 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7089 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
7090 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7091 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
7092 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7093 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
7094 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
7095 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7096 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
7097 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
7098 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
7099 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
7100 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
7101
7102 * config/bfin/t-elf: Remove.
7103 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
7104
7105 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7106
7107 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
7108 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
7109 (lm32-*-elf*, lm32-*-rtems*): Split into ...
7110 (lm32-*-elf*): ... this.
7111 (lm32-*-rtems*): ... and this.
7112 Add to tmake_file.
7113 (m32r-*-rtems*): Add to tmake_file.
7114 (moxie-*-rtems*): Likewise.
7115 (sparc-*-rtems*): Likewise.
7116 Remove t-rtems from tmake_file.
7117 (sparc64-*-rtems*): Likewise.
7118 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
7119 instead.
7120
7121 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7122
7123 PR bootstrap/50982
7124 * config/gthr-posix.h: Move ...
7125 * gthr-posix.h: ... here.
7126 * config/gthr-lynx.h: Reflect this.
7127 * config/gthr-vxworks.h: Likewise.
7128 * config/rs6000/gthr-aix.h: Likewise.
7129 * configure.ac (target_thread_file): Likewise.
7130 * configure: Regenerate.
7131
7132 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
7133
7134 * config.host (arm*-*-rtemseabi*): New target.
7135
7136 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7137
7138 PR other/50991
7139 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
7140 extra-parts.
7141
7142 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
7143
7144 * config.host (epiphany-*-elf*): New configuration.
7145 * config/epiphany: New Directory.
7146
7147 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
7148
7149 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
7150 * config/avr/t-rtems: New.
7151 Filter out _exit from LIB1ASMFUNCS.
7152
7153 2011-11-04 David S. Miller <davem@davemloft.net>
7154
7155 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
7156 * configure: Rebuild.
7157
7158 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7159
7160 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
7161 variable.
7162
7163 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
7164
7165 PR target/50931
7166 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
7167 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
7168
7169 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
7170
7171 PR target/50989
7172 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
7173
7174 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7175
7176 * config/c6x/t-elf (LIB2ADDEH): Set.
7177 * config/c6x/t-c6x-elf: Remove.
7178
7179 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7180
7181 * config/i386/sol2-ci.S: Rename to ...
7182 * config/i386/crti.S: ... this.
7183 * config/i386/sol2-cn.S: Rename to ...
7184 * config/i386/crtn.S: ... this.
7185 * config/sparc/sol2-ci.S: Rename to ...
7186 * config/sparc/crti.S: ... this.
7187 * config/sparc/sol2-cn.S: Rename to ...
7188 * config/sparc/crtn.S: ... this.
7189 * config/t-sol2 (CUSTOM_CRTIN): Remove.
7190 (crti.o, crtn.o): Remove.
7191
7192 2011-11-04 Tristan Gingold <gingold@adacore.com>
7193
7194 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
7195
7196 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
7197
7198 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
7199
7200 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
7201
7202 * config.host (crisv32-*-none, cris-*-none): Remove.
7203 (crisv32-*-elf): Append to tmake_file, don't just set it.
7204 (cris-*-elf): Add missing t-fdpbit to tmake_file.
7205
7206 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7207
7208 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
7209 (ecrtn$(objext)): Likewise.
7210 (ncrti$(objext)): Likewise.
7211 (ncrtn$(objext)): Likewise.
7212
7213 2011-11-03 Andreas Schwab <schwab@redhat.com>
7214
7215 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
7216
7217 2011-11-02 David S. Miller <davem@davemloft.net>
7218
7219 * configure.ac: Set host_address on sparc too.
7220 * configure: Regenerate.
7221 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
7222 based upon host_address.
7223 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
7224
7225 2011-11-02 Jason Merrill <jason@redhat.com>
7226
7227 * config/rs6000/t-ppccomm: Add missing \.
7228
7229 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7230
7231 * gthr-single.h, gthr.h: New files.
7232 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
7233 config/gthr-vxworks.h, config/i386/gthr-win32.h,
7234 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
7235 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
7236 * config/i386/gthr-win32.c: Include "gthr-win32.h".
7237 * configure.ac (thread_header): New variable.
7238 Set it depending on target_thread_file.
7239 (gthr-default.h): Link from $thread_header.
7240 * configure: Regenerate.
7241 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
7242
7243 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7244
7245 * configure.ac (tm_file_): New variable.
7246 Determine from tm_file.
7247 (tm_file, tm_defines): Substitute.
7248 * configure: Regenerate.
7249 * mkheader.sh: New file.
7250 * Makefile.in (clean): Remove libgcc_tm.h.
7251 ($(objects)): Depend on libgcc_tm.h.
7252 (libgcc_tm_defines, libgcc_tm_file): New variables.
7253 (libgcc_tm.h, libgcc_tm.stamp): New targets.
7254 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
7255 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
7256 ($(extra-parts)): Depend on libgcc_tm.h.
7257 * config.host (tm_defines, tm_file): New variable.
7258 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
7259 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
7260 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
7261 (avr-*-rtems*): Likewise.
7262 (avr-*-*): Likewise.
7263 (frv-*-elf): Likewise.
7264 (frv-*-*linux*): Likewise.
7265 (h8300-*-rtems*): Likewise.
7266 (h8300-*-elf*): Likewise.
7267 (i[34567]86-*-darwin*): Likewise.
7268 (x86_64-*-darwin*): Likewise.
7269 (rx-*-elf): Likewise.
7270 (tic6x-*-uclinux): Likewise.
7271 (tic6x-*-elf): Likewise.
7272 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
7273 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
7274 * config/i386/cygming-crtbegin.c: Likewise.
7275 * config/i386/cygming-crtend.c: Likewise.
7276 * config/ia64/fde-vms.c: Likewise.
7277 * config/ia64/unwind-ia64.c: Likewise.
7278 * config/libbid/bid_gcc_intrinsics.h: Likewise.
7279 * config/rs6000/darwin-fallback.c: Likewise.
7280 * config/stormy16/lib2funcs.c: Likewise.
7281 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
7282 * crtstuff.c: Likewise.
7283 * dfp-bit.h: Likewise.
7284 * emutls.c: Likewise.
7285 * fixed-bit.c: Likewise.
7286 * fp-bit.c: Likewise.
7287 * generic-morestack-thread.c: Likewise.
7288 * generic-morestack.c: Likewise.
7289 * libgcc2.c: Likewise.
7290 * libgcov.c: Likewise.
7291 * unwind-dw2-fde-dip.c: Likewise.
7292 * unwind-dw2-fde.c: Likewise.
7293 * unwind-dw2.c: Likewise.
7294 * unwind-sjlj.c: Likewise.
7295
7296 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7297
7298 * configure.ac: Include ../config/picflag.m4.
7299 (GCC_PICFLAG): Call it.
7300 Substitute.
7301 * configure: Regenerate.
7302 * Makefile.in (gcc_srcdir): Remove.
7303 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
7304 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
7305 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
7306 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
7307 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
7308 Use $<.
7309 Remove comment.
7310 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
7311 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
7312 to refer to libgcc2.c.
7313 Use $<.
7314 * config/darwin-64.c: New file.
7315 * config/darwin-crt3.c: Remove comment.
7316 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
7317 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
7318 config/udivmodsi4.c: New files.
7319 * config/memcmp.c, config/memcpy.c, config/memmove.c,
7320 config/memset.c: New files.
7321 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
7322 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
7323 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
7324 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
7325 * config/t-openbsd-thread: New file.
7326 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
7327 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
7328 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
7329 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
7330 qrnnd.S.
7331 Adapt filename.
7332 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
7333 to refer to gthr-posix.c.
7334 * config/alpha/t-vms (LIB2ADD): Set.
7335 * config/alpha/vms-gcc_shell_handler.c: New file.
7336 * config/arm/bpabi.c, config/arm/fp16.c,
7337 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
7338 config/arm/unaligned-funcs.c: New files.
7339 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
7340 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7341 * config/arm/t-linux: Likewise.
7342 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
7343 * config/arm/t-netbsd: New file.
7344 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
7345 * config/arm/t-symbian (LIB2ADD_ST): Set.
7346 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
7347 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7348 * config/bfin/t-elf: New file.
7349 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
7350 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
7351 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
7352 config/c6x/ltf.c: New files.
7353 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
7354 (HOST_LIBGCC2_CFLAGS): Set.
7355 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
7356 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7357 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
7358 New files.
7359 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
7360 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
7361 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
7362 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
7363 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
7364 files.
7365 * config/frv/t-frv (LIB2ADD): Set.
7366 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7367 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
7368 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
7369 config/h8300/popcounthi2.c: New files.
7370 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7371 * config/i386/gthr-win32.c: New file.
7372 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
7373 * config/i386/t-cygwin: Likewise.
7374 * config/i386/t-darwin, config/i386/t-darwin64,
7375 config/i386/t-gthr-win32, config/i386/t-interix: New files.
7376 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
7377 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7378 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7379 * config/ia64/quadlib.c: New file.
7380 * config/ia64/t-hpux (LIB2ADD): Set.
7381 * config/ia64/t-ia64: Add comment.
7382 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
7383 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7384 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
7385 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
7386 * config/m32c/t-m32c (LIB2ADD): Set.
7387 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7388 * config/m32r/t-m32r: Likewise.
7389 * config/m68k/fpgnulib.c: New file.
7390 * config/m68k/t-floatlib (LIB2ADD): Set.
7391 (xfgnulib.c): New target.
7392 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
7393 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
7394 * config/mep/t-mep (LIB2ADD): Set.
7395 * config/microblaze/divsi3.asm: Rename to divsi3.S.
7396 * config/microblaze/moddi3.asm: Rename to moddi3.S.
7397 * config/microblaze/modsi3.asm: Rename to modsi3.S.
7398 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
7399 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
7400 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
7401 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
7402 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
7403 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
7404 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
7405 New files.
7406 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
7407 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
7408 * config/pa/fptr.c, config/pa/lib2funcs.S,
7409 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
7410 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7411 (LIB2ADD, LIB2ADD_ST): Set.
7412 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
7413 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
7414 Set.
7415 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
7416 * config/pdp11/t-pdp11: New file.
7417 * config/picochip/libgccExtras/adddi3.S,
7418 config/picochip/libgccExtras/ashlsi3.S,
7419 config/picochip/libgccExtras/ashrsi3.S,
7420 config/picochip/libgccExtras/clzsi2.S,
7421 config/picochip/libgccExtras/cmpsi2.S,
7422 config/picochip/libgccExtras/divmod15.S,
7423 config/picochip/libgccExtras/divmodhi4.S,
7424 config/picochip/libgccExtras/divmodsi4.S,
7425 config/picochip/libgccExtras/lshrsi3.S,
7426 config/picochip/libgccExtras/parityhi2.S,
7427 config/picochip/libgccExtras/popcounthi2.S,
7428 config/picochip/libgccExtras/subdi3.S,
7429 config/picochip/libgccExtras/ucmpsi2.S,
7430 config/picochip/libgccExtras/udivmodhi4.S,
7431 config/picochip/libgccExtras/udivmodsi4.S: New files.
7432 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
7433 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
7434 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
7435 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
7436 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
7437 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
7438 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
7439 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
7440 files.
7441 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
7442 (HOST_LIBGCC2_CFLAGS): Set.
7443 * config/rs6000/t-darwin64: New file.
7444 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
7445 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
7446 * config/rs6000/t-ppccomm (LIB2ADD): Add
7447 $(srcdir)/config/rs6000/tramp.S.
7448 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
7449 Add $(srcdir)/config/rs6000/eabi.S.
7450 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
7451 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
7452 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
7453 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
7454 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
7455 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
7456 * config/rs6000/tramp.S: New file.
7457 * config/s390/t-tpf: Remove.
7458 * config/sh/linux-atomic.S: New file.
7459 * config/sh/t-linux (LIB2ADD): Set.
7460 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
7461 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7462 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
7463 to unwind-dw2.c.
7464 (HOST_LIBGCC2_CFLAGS): Set.
7465 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7466 * config/spu/divmodti4.c, config/spu/divv2df3.c,
7467 config/spu/float_disf.c, config/spu/float_unsdidf.c,
7468 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
7469 config/spu/mfc_multi_tag_release.c,
7470 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
7471 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
7472 config/spu/multi3.c: New files.
7473 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
7474 (HOST_LIBGCC2_CFLAGS): Set.
7475 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
7476 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
7477 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
7478 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
7479 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
7480 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
7481 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
7482 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
7483 config/stormy16/umodsi3.c: New files.
7484 * config/xtensa/lib2funcs.S: New file.
7485 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7486 * config/xtensa/t-xtensa (LIB2ADD): Set.
7487 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
7488 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
7489 Add t-freebsd-thread to tmake_file for posix threads.
7490 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
7491 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
7492 (*-*-lynxos*): Likewise.
7493 (*-*-netbsd*): Likewise.
7494 (*-*-openbsd*): Likewise.
7495 Add t-openbsd-thread to tmake_file for posix threads.
7496 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
7497 (*-*-vxworks*): Set tmake_file.
7498 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7499 (alpha*-*-freebsd*): Likewise.
7500 (alpha*-*-netbsd*): Likewise.
7501 (alpha*-*-openbsd*): Likewise.
7502 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
7503 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7504 (alpha*-dec-*vms*): Likewise.
7505 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
7506 (bfin*-elf*): Add bfin/t-elf to tmake_file.
7507 (bfin*-uclinux*): Likewise.
7508 (bfin*-linux-uclibc*): Likewise.
7509 (crisv32-*-elf): Add cris/t-cris to tmake_file.
7510 (crisv32-*-none): Likewise.
7511 (cris-*-elf): Likewise.
7512 (cris-*-none): Likewise.
7513 (cris-*-linux*, crisv32-*-linux*): Likewise.
7514 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
7515 tmake_file.
7516 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
7517 tmake_file.
7518 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
7519 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
7520 (x86_64-*-elf*): Likewise.
7521 (i[34567]86-*-nto-qnx*): Likewise.
7522 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
7523 win32 threads.
7524 (x86_64-*-mingw*): Likewise.
7525 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
7526 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
7527 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7528 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7529 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
7530 tmake_file.
7531 (mipsisa64sr71k-*-elf*): Likewise.
7532 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7533 (mips-*-elf*, mipsel-*-elf*): Likewise.
7534 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7535 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7536 (mips*-*-rtems*): Likewise.
7537 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
7538 to tmake_file.
7539 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
7540 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
7541 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
7542 (spu-*-elf*): Likewise.
7543 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
7544
7545 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7546
7547 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
7548 $(srcdir) to refer to $(LIB1ASMSRC).
7549 Use $<.
7550 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
7551 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
7552 config/arm/lib1funcs.S: New files.
7553 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
7554 * config/arm/t-arm: New file.
7555 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
7556 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
7557 config/arm/t-strongarm-elf: New files.
7558 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
7559 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
7560 * config/avr/lib1funcs.S: New file.
7561 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7562 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
7563 * config/c6x/lib1funcs.S: New file.
7564 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7565 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
7566 * config/frv/lib1funcs.S: New file.
7567 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7568 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
7569 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
7570 * config/ia64/__divxf3.asm: Rename to ...
7571 * config/ia64/__divxf3.S: ... this.
7572 Adapt lib1funcs.asm filename.
7573 * config/ia64/_fixtfdi.asm: Rename to ...
7574 * config/ia64/_fixtfdi.S: ... this.
7575 Adapt lib1funcs.asm filename.
7576 * config/ia64/_fixunstfdi.asm: Rename to ...
7577 * config/ia64/_fixunstfdi.S: ... this.
7578 Adapt lib1funcs.asm filename.
7579 * config/ia64/_floatditf.asm: Rename to ...
7580 * config/ia64/_floatditf.S: ... this.
7581 Adapt lib1funcs.asm filename.
7582 * config/ia64/lib1funcs.S: New file.
7583 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
7584 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7585 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
7586 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
7587 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
7588 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
7589 * config/mep/lib1funcs.S: New file.
7590 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7591 * config/mips/mips16.S: New file.
7592 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7593 * config/pa/milli64.S: New file.
7594 * config/pa/t-linux, config/pa/t-linux64: New files.
7595 * config/picochip/lib1funcs.S: New file.
7596 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7597 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
7598 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
7599 * config/sh/t-netbsd: New file.
7600 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
7601 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
7602 * config/sh/t-sh64: New file.
7603 * config/sparc/lb1spc.S: New file.
7604 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
7605 filename.
7606 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
7607 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
7608 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
7609 config/xtensa/lib1funcs.S: New files.
7610 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7611 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
7612 tmake_file.
7613 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
7614 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
7615 (arm*-*-linux*): Likewise.
7616 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
7617 arm*-*-linux-*eabi, add arm/t-linux otherwise.
7618 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
7619 (arm*-*-ecos-elf): Likewise.
7620 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7621 (arm*-*-rtems*): Likewise.
7622 (arm*-*-elf): Likewise.
7623 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
7624 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
7625 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
7626 (bfin*-uclinux*): Likewise.
7627 (bfin*-linux-uclibc*): Likewise.
7628 (bfin*-rtems*): Likewise.
7629 (bfin*-*): Likewise.
7630 (fido-*-elf): Merge into m68k-*-elf*.
7631 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
7632 (frv-*-*linux*): Add frv/t-frv to tmake_file.
7633 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
7634 (h8300-*-elf*): Likewise.
7635 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
7636 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
7637 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
7638 (i[34567]86-*-mingw*): Likewise.
7639 (x86_64-*-mingw*): Likewise.
7640 (i[34567]86-*-interix3*): Likewise.
7641 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
7642 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
7643 (m68k-*-elf*): Also handle fido-*-elf.
7644 Add m68k/t-floatlib to tmake_file.
7645 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
7646 (m68k-*-linux*): Likewise.
7647 (m68k-*-rtems*): Likewise.
7648 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
7649 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
7650 sh64*-*-*.
7651 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
7652 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
7653 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
7654 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
7655 sh/t-netbsd to tmake_file.
7656 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
7657 (sh-*-rtems*): Add sh/t-sh to tmake_file.
7658 (sh-wrs-vxworks): Likewise.
7659 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
7660 *-leon[3-9]*.
7661 (v850*-*-*): Add v850/t-v850 to tmake_file.
7662 (vax-*-linux*): Add vax/t-linux to tmake_file.
7663 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
7664
7665 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7666
7667 * crtstuff.c: New file.
7668 * Makefile.in (CRTSTUFF_CFLAGS): Define.
7669 (CRTSTUFF_T_CFLAGS): Define.
7670 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
7671 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
7672 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
7673 crtstuff.c.
7674 Use $<.
7675 (crtbeginT.o): Use $(objext).
7676 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
7677 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
7678 (gcc-extra-parts): Remove.
7679 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
7680 Set extra_parts.
7681 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7682 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
7683 Add t-crtstuff-pic to tmake_file.
7684 (*-*-lynxos*): New case.
7685 Set tmake_file, extra_parts.
7686 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
7687 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
7688 *-*-netbsdelf[2-9]*.
7689 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
7690 (*-*-rtems*): Set extra_parts.
7691 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
7692 (*-*-uclinux*): New case.
7693 Set extra_parts.
7694 (*-*-vms*): New case.
7695 Set tmake_file, extra_parts.
7696 (*-*-elf): Set extra_parts.
7697 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
7698 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
7699 vms/t-vms64.
7700 Set extra_parts.
7701 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
7702 Set extra_parts.
7703 (arm*-*-freebsd*): Add t-crtin to tmake_file.
7704 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
7705 (arm-wrs-vxworks): Append to tmake_file.
7706 Set extra_parts.
7707 (arm*-*-uclinux*): Set extra_parts.
7708 (arm*-*-ecos-elf): Likewise.
7709 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
7710 arm*-*-eabi*.
7711 (arm*-*-rtems*): Set extra_parts.
7712 (arm*-*-elf): Likewise.
7713 (avr-*-rtems*): Clear extra_parts.
7714 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
7715 Set extra_parts.
7716 (bfin*-uclinux*): Likewise.
7717 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
7718 (bfin*-rtems*): Append to tmake_file.
7719 Set extra_parts.
7720 (bfin*-*): Likewise.
7721 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
7722 (crisv32-*-elf): ... this.
7723 (crisv32-*-none): ... this.
7724 (cris-*-elf, cris-*-none): New cases.
7725 Add cris/t-elfmulti to tmake_file.
7726 (fr30-*-elf): Append to tmake_file.
7727 Set extra_parts.
7728 (frv-*-elf): Append to tmake_file, add frv/t-frv.
7729 Set extra_parts.
7730 (h8300-*-rtems*): Append to tmake_file.
7731 Set extra_parts.
7732 (h8300-*-elf*): Likewise.
7733 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
7734 Set extra_parts.
7735 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
7736 Set extra_parts.
7737 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
7738 (x86_64-*-elf*): Likewise.
7739 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
7740 (x86_64-*-freebsd*): Likewise.
7741 (x86_64-*-netbsd*): Likewise.
7742 (i[34567]86-*-linux*): Likewise.
7743 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
7744 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
7745 (x86_64-*-linux*): Likewise.
7746 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
7747 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
7748 tmake_file.
7749 Set extra_parts.
7750 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
7751 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
7752 Append to extra_parts, remove crtbegin.o, crtend.o.
7753 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
7754 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
7755 crtend.o, crtbeginS.o, crtendS.o.
7756 (ia64*-*-linux*): Comment extra_parts.
7757 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
7758 Set extra_parts.
7759 (iq2000*-*-elf*): Clear extra_parts.
7760 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
7761 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
7762 (m32r-*-elf*, m32r-*-rtems*): Split off ...
7763 (m32r-*-rtems*): ... this.
7764 Add m32r/t-m32r to tmake_file.
7765 (m68k-*-elf*): Add t-crtin to tmake_file.
7766 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
7767 (mcore-*-elf): Likewise.
7768 (microblaze*-*-*): Set extra_parts.
7769 (mips*-sde-elf*): New case.
7770 Set tmake_file, extra_parts.
7771 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7772 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7773 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
7774 tmake_file.
7775 Set extra_parts.
7776 (mipsisa64sr71k-*-elf*): Likewise.
7777 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7778 (mips-*-elf*, mipsel-*-elf*): Likewise.
7779 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7780 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
7781 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7782 (mips*-*-rtems*): Likewise.
7783 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
7784 (moxie-*-*): Split into ...
7785 (moxie-*-elf, moxie-*-uclinux*): ... this.
7786 Add to extra_parts, remove crtbegin.o, crtend.o.
7787 (moxie-*-rtems*): New case.
7788 Set tmake_file.
7789 Clear extra_parts.
7790 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
7791 Set extra_parts.
7792 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7793 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
7794 tmake_file.
7795 Set extra_parts.
7796 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
7797 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
7798 Set extra_parts.
7799 (powerpc-*-eabisim*): Likewise.
7800 (powerpc-*-elf*): Likewise.
7801 (powerpc-*-eabialtivec*): Likewise.
7802 (powerpc-xilinx-eabi*): Likewise.
7803 (powerpc-*-eabi*): Likewise.
7804 (powerpc-*-rtems*): Likewise.
7805 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
7806 tmake_file.
7807 Set extra_parts.
7808 (powerpc-*-lynxos*): Add to tmake_file.
7809 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
7810 rs6000/t-crtstuff, t-crtstuff-pic.
7811 Set extra_parts.
7812 (powerpcle-*-eabisim*): Likewise.
7813 (powerpcle-*-eabi*): Likewise.
7814 (rx-*-elf): Remove extra_parts.
7815 (s390x-ibm-tpf*): Set extra_parts.
7816 (score-*-elf): Set extra_parts.
7817 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7818 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7819 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7820 (sh64l*-*-netbsd*): Split into ...
7821 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
7822 Add t-crtstuff-pic to tmake_file.
7823 Set extra_parts.
7824 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
7825 Set extra_parts.
7826 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
7827 (sparc-*-elf*): Remove t-crtin from tmake_file.
7828 Add to extra_parts, remove crtbegin.o, crtend.o.
7829 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
7830 (sparc64-*-linux*): Likewise.
7831 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
7832 Add to extra_parts, remove crtbegin.o, crtend.o.
7833 (sparc64-*-elf*): Remove t-crtin from tmake_file.
7834 Add to extra_parts, remove crtbegin.o, crtend.o.
7835 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
7836 Add to extra_parts, remove crtbegin.o, crtend.o.
7837 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
7838 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
7839 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
7840 Set extra_parts.
7841 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
7842 Set extra_parts.
7843 (tic6x-*-*): Change to ...
7844 (tic6x-*-elf): ... this.
7845 Set extra_parts.
7846 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
7847 Set extra_parts.
7848 (am33_2.0-*-linux*): Add comment.
7849 (mep*-*-*): Add mep/t-mep to tmake_file.
7850 Set extra_parts.
7851 * config/alpha/t-vms: New file.
7852 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
7853 * config/arm/crti.S, config/arm/crtn.S: New files.
7854 * config/bfin/crti.S, config/bfin/crtn.S: New files.
7855 * config/bfin/crtlibid.S: New file.
7856 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
7857 * config/c6x/crti.S, config/c6x/crtn.S: New files.
7858 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
7859 (crti.o, crtin.o): New rules.
7860 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7861 * config/c6x/t-uclinux: New file.
7862 * config/cris/t-elfmulti: New file.
7863 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
7864 * config/fr30/crti.S, config/fr30/crtn.S: New files.
7865 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
7866 * config/frv/t-frv: New file.
7867 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
7868 * config/h8300/crti.S, config/h8300/crtn.S: New files.
7869 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
7870 New files.
7871 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
7872 refer to cygming-crtbegin.c, cygming-crtend.c.
7873 Use $<.
7874 * config/i386/t-nto: New file.
7875 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
7876 * config/ia64/crti.S, config/ia64/crtn.S: New files.
7877 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
7878 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
7879 Use .S extension.
7880 Use $<.
7881 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7882 (crtinitS.o): New rule.
7883 * config/ia64/vms-crtinit.S: New file.
7884 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
7885 * config/m32r/initfini.c: New file.
7886 * config/m32r/t-linux, config/m32r/t-m32r: New files.
7887 * config/m68k/crti.S, config/m68k/crtn.S: New files.
7888 * config/mcore/crti.S, config/mcore/crtn.S: New files.
7889 * config/mep/t-mep: New file.
7890 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
7891 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
7892 * config/mips/crti.S, config/mips/crtn.S: New files.
7893 * config/mips/t-crtstuff: New file.
7894 * config/mmix/crti.S, config/mmix/crtn.S: New files.
7895 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
7896 (CUSTOM_CRTIN): Set.
7897 ($(T)crti.o, $(T)crtn.o): Remove $(T),
7898 dependencies.
7899 Use $(srcdir) to refer to crti.S, crtn.S.
7900 Use .S extension, $<.
7901 * config/moxie/crti.asm: Rename to ...
7902 * config/moxie/crti.S: ... this.
7903 * config/moxie/crtn.asm: Rename to ...
7904 * config/moxie/crtn.S: ... this.
7905 * config/moxie/t-moxie: Remove.
7906 * config/pa/stublib.c: New file.
7907 * config/pa/t-stublib, config/pa/t-stublib64: New files.
7908 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
7909 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
7910 * config/rs6000/t-crtstuff: New file.
7911 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
7912 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
7913 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
7914 Make output file explicit.
7915 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
7916 Make output file explicit.
7917 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
7918 Make output file explicit.
7919 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
7920 Make output file explicit.
7921 * config/score/crti.S, config/score/crtn.S: New files.
7922 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
7923 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
7924 files.
7925 * config/sh/t-sh, config/sh/t-superh: New files.
7926 * config/sparc/t-linux64: New file.
7927 * config/spu/cache.S, config/spu/cachemgr.c: New files.
7928 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
7929 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
7930 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
7931 * config/t-crtin: Remove.
7932 * config/t-crtstuff-pic: New file.
7933 * config/t-sol2 (CUSTOM_CRTIN): Set.
7934 (crti.o, crtn.o): New rules.
7935 * config/vms/t-vms: New file.
7936 * config/vms/vms-ucrt0.c: New file.
7937 * config/xtensa/t-elf: New file.
7938
7939 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7940
7941 * Makefile.in (SHLIB_NM_FLAGS): Set.
7942 * mkmap-flat.awk, mkmap-symver.awk: New files.
7943 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
7944 exceptions.
7945 * configure: Regenerate.
7946 * config/libgcc-glibc.ver: New file.
7947 * config/libgcc-libsystem.ver: New file.
7948 * config/t-libunwind (SHLIB_LC): Set.
7949 * config/t-linux: New file.
7950 * config/t-slibgcc (INSTALL_SHLIB): New.
7951 (SHLIB_INSTALL): Use it.
7952 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
7953 to mkmap-symver.awk.
7954 (SHLIB_MAPFILES): Don't append, adapt pathname.
7955 (SHLIB_VERPFX): Set.
7956 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
7957 to mkmap-symver.awk.
7958 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
7959 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
7960 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
7961 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
7962 to mkmap-flat.awk.
7963 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
7964 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
7965 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
7966 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
7967 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
7968 * config/i386/libgcc-darwin.10.4.ver,
7969 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
7970 New files.
7971 * config/i386/t-darwin: Remove.
7972 * config/i386/t-darwin64: Likewise.
7973 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
7974 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
7975 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
7976 * config/i386/t-linux: New file.
7977 * config/i386/t-mingw32: New file.
7978 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
7979 * config/ia64/t-glibc: Rename to ...
7980 * config/ia64/t-linux: ... this.
7981 (SHLIB_MAPFILES): Set.
7982 * config/ia64/t-glibc-libunwind: Rename to ...
7983 * config/ia64/t-linux-libunwind: ... this.
7984 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
7985 * config/ia64/t-slibgcc-hpux: New file.
7986 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
7987 * config/m68k/t-slibgcc-elf-ver: New file.
7988 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
7989 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
7990 to mkmap-flat.awk.
7991 * config/pa/t-slibgcc-hpux: New file.
7992 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
7993 files.
7994 * config/rs6000/libgcc-darwin.10.4.ver,
7995 config/rs6000/libgcc-darwin.10.5.ver: New files.
7996 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
7997 config/rs6000/libgcc-glibc.ver.
7998 * config/rs6000/libgcc-ppc64.ver: Rename to
7999 config/rs6000/libgcc-ibm-ldouble.ver.
8000 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
8001 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
8002 * config/rs6000/t-ldbl128: Rename to ...
8003 * config/rs6000/t-linux: ... this.
8004 (SHLIB_MAPFILES): Adapt filename.
8005 * config/rs6000/t-slibgcc-aix: New file.
8006 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
8007 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
8008 libgcc-excl.ver, libgcc-glibc.ver.
8009 (SHLIB_LINK, SHLIB_INSTALL): Remove.
8010 * config/sparc/libgcc-glibc.ver: New file.
8011 * config/sparc/t-linux: New file.
8012 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
8013 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
8014 t-slibgcc-elf-ver to tmake_file.
8015 Add t-slibgcc-nolc-override to tmake_file for posix threads on
8016 *-*-freebsd[34].
8017 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8018 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
8019 t-slibgcc-elf-ver, t-linux to tmake_file.
8020 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
8021 tmake_file.
8022 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
8023 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
8024 (alpha*-dec-*vms*): Likewise.
8025 (arm*-*-freebsd*): Append to tmake_file.
8026 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
8027 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
8028 arm*-*-linux-*eabi.
8029 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
8030 tmake_file for arm*-*-symbianelf*.
8031 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
8032 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
8033 cris/t-linux.
8034 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
8035 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
8036 pa/t-slibgcc-dwarf-ver to tmake_file.
8037 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
8038 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
8039 (hppa*64*-*-hpux11*): Likewise.
8040 (hppa[12]*-*-hpux11*): Likewise.
8041 (x86_64-*-darwin*): Don't override tmake_file, but only keep
8042 i386/t-crtpc, i386/t-crtfm.
8043 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
8044 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
8045 to tmake_file.
8046 Add i386/t-cygwin to tmake_file.
8047 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
8048 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
8049 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
8050 to tmake_file.
8051 Add i386/t-mingw32 to tmake_file.
8052 (x86_64-*-mingw*): Likewise.
8053 (ia64*-*-freebsd*): Append to tmake_file.
8054 (ia64*-*-linux*): Append to tmake_file.
8055 Replace ia64/t-glibc by ia64/t-linux.
8056 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
8057 system libunwind.
8058 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
8059 t-slibgcc-hpux to tmake_file.
8060 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
8061 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
8062 (m32rle-*-linux*): Likewise.
8063 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
8064 sjlj exceptions.
8065 (microblaze*-linux*): New case.
8066 Append to tmake_file, add t-slibgcc-nolc-override.
8067 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
8068 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8069 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
8070 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8071 rs6000/t-slibgcc-aix to tmake_file.
8072 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8073 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8074 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8075 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8076 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8077 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
8078 sh*-*-linux*.
8079 (sparc-*-linux*): Append to tmake_file for *-leon*.
8080 Add sparc/t-linux to tmake_file for non-Leon targets.
8081 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
8082 (tic6x-*-uclinux): New case.
8083 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
8084 (tic6x-*-*): Add c6x/t-elf to tmake_file.
8085 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
8086 (am33_2.0-*-linux*): Append to tmake_file.
8087 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
8088 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
8089 x86_64-*-kfreebsd*-gnu.
8090 Add i386/t-linux to tmake_file.
8091
8092 2011-10-28 Ian Lance Taylor <iant@google.com>
8093
8094 * config/i386/morestack.S: Correct CFI information to do proper
8095 returns throughout function. In 32-bit mode, save %ebx so that it
8096 is restored on unwind.
8097
8098 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
8099
8100 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
8101 case where B3 isn't the return register.
8102
8103 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
8104 logic for doubleword pops.
8105
8106 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
8107
8108 * config/rs6000/t-freebsd: Add wildcard.
8109
8110 2011-10-21 Paul Brook <paul@codesourcery.com>
8111
8112 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
8113
8114 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
8115 Eric Botcazou <ebotcazou@adacore.com>
8116
8117 PR target/50737
8118 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
8119 fs->signal_frame to 1.
8120
8121 2011-10-07 Ian Lance Taylor <iant@google.com>
8122
8123 * generic-morestack-thread.c: #include <errno.h>.
8124
8125 2011-10-07 Ian Lance Taylor <iant@google.com>
8126
8127 PR target/46093
8128 * generic-morestack.c (__generic_morestack): Make sure the segment
8129 is large enough for both the stack frame and the copied
8130 parameters.
8131
8132 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8133
8134 PR bootstrap/49804
8135 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
8136 extra_parts.
8137
8138 2011-09-28 Nick Clifton <nickc@redhat.com>
8139
8140 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
8141 64-bit doubles are not enabled.
8142 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
8143 and floatunsisf functions.
8144
8145 2011-09-13 Paul Brook <paul@codesourcery.com>
8146
8147 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
8148 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
8149 * unwind-arm-common.inc: New file.
8150 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
8151 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
8152 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
8153 * config/c6x/libunwind.S: New file.
8154 * config/c6x/pr-support.c: New file.
8155 * config/c6x/unwind-c6x.c: New file.
8156 * config/c6x/unwind-c6x.h: New file.
8157 * config/c6x/t-c6x-elf: New file.
8158
8159 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
8160
8161 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
8162 (ASM_DIVZERO): Ditto.
8163 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
8164
8165 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
8166
8167 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
8168
8169 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
8170
8171 PR target/50090
8172 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
8173 instead of an assembly one.
8174
8175 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
8176
8177 PR bootstrap/50047
8178 * Makefile.in (install-unwind_h): Create
8179 $(gcc_objdir)/include/unwind.h atomically.
8180
8181 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8182
8183 * Makefile.in (install-unwind_h): Remove destination file first.
8184
8185 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8186
8187 * sync.c: New file.
8188 * config/mips/t-mips16: New file.
8189 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
8190 (mips*-*-linux*): Likewise.
8191 (mips*-sde-elf*): Likewise.
8192 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
8193 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
8194 Add mips/t-mips16 to tmake_file.
8195 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
8196 (mips-*-elf*): Likewise.
8197 (mips64-*-elf*): Likewise.
8198 (mips64orion-*-elf*): Likewise.
8199 (mips*-*-rtems*): Likewise.
8200 (mipstx39-*-elf*): Likewise.
8201 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
8202 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
8203 LIBGCC_SYNC_CFLAGS.
8204 Use $(srcdir) to refer to sync.c.
8205 Use $<.
8206 ($(libgcc-sync-funcs-o)): Likewise.
8207 ($(libgcc-sync-size-funcs-s-o)): Likewise.
8208 ($(libgcc-sync-funcs-s-o)): Likewise.
8209
8210 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
8211
8212 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
8213 t-libunwind.
8214
8215 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
8216
8217 PR other/48007
8218 * config/i386/value-unwind.h: New.
8219
8220 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
8221
8222 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
8223 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
8224 Add to tmake_file rather than overriding it.
8225
8226 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8227
8228 * config/t-softfp: Remove.
8229 * soft-fp: Moved from ../gcc/config.
8230 * soft-fp/README: Remove t-softfp reference.
8231 * soft-fp/t-softfp: Move to config/t-softfp.
8232 (softfp_machine_header): Remove.
8233 (softfp_file_list): Remove config subdir.
8234 (soft-fp-objects): New variable.
8235 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
8236 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
8237 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
8238 * config/t-softfp-excl: New file.
8239 * config/t-softfp-sfdf: New file.
8240 * config/t-softfp-tf: New file.
8241 * config/no-sfp-machine.h: New file.
8242 * config/arm/sfp-machine.h: New file.
8243 * config/arm/t-softfp: New file.
8244 * config/c6x/sfp-machine.h: New file.
8245 * config/i386/32/t-fprules-softfp: Rename to ...
8246 * config/i386/32/t-softfp: ... this.
8247 (tifunctions, LIB2ADD): Remove.
8248 (softfp_int_modes): Override.
8249 * config/i386/64/t-softfp-compat (tf-functions): Remove config
8250 subdir.
8251 * config/i386/64/eqtf2.c: Likewise.
8252 * config/i386/64/getf2.c: Likewise.
8253 * config/i386/64/letf2.c: Likewise.
8254 * config/ia64/sft-machine.h: New file.
8255 * config/ia64/t-fprules-softfp: Rename to ...
8256 * config/ia64/t-softfp: ... this.
8257 * config/lm32/sfp-machine.h: New file.
8258 * config/moxie/t-moxie-softfp: Remove.
8259 * config/rs6000/ibm-ldouble-format: New file.
8260 * config/rs6000/ibm-ldouble.c: New file.
8261 * config/rs6000/libgcc-ppc-glibc.ver: New file
8262 * config/rs6000/libgcc-ppc64.ver: New file
8263 * config/rs6000/sfp-machine.h: New file.
8264 * config/rs6000/t-freebsd: New file.
8265 * config/rs6000/t-ibm-ldouble: New file.
8266 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
8267 libgcc-ppc-glibc.ver.
8268 * config/rs6000/t-linux64: New file.
8269 * config/rs6000/t-ppccomm (LIB2ADD): Add
8270 $(srcdir)/config/rs6000/ibm-ldouble.c.
8271 * config/rs6000/t-ppccomm-ldbl: New file.
8272 * config/score/sfp-machine.h: New file.
8273 * config.host (sfp_machine_header): Explain.
8274 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
8275 t-softfp to tmake_file.
8276 (arm*-*-uclinux*): Likewise.
8277 (arm*-*-ecos-elf): Likewise.
8278 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
8279 (arm*-*-rtems*): Likewise.
8280 (arm*-*-elf): Likewise.
8281 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
8282 in tmake_file.
8283 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
8284 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
8285 (lm32-*-uclinux*): Likewise.
8286 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
8287 t-softfp-excl, t-softfp.
8288 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
8289 (powerpc64-*-darwin*): Likewise.
8290 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
8291 to tmake_file.
8292 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
8293 tmake_file.
8294 (powerpc-*-eabisim*): Likewise.
8295 (powerpc-*-elf*): Likewise.
8296 (powerpc-*-eabialtivec*): Likewise.
8297 (powerpc-xilinx-eabi*): Likewise.
8298 (powerpc-*-rtems*): Likewise.
8299 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
8300 t-softfp-excl, t-softfp to tmake_file.
8301 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
8302 rs6000/t-ppccomm-ldbl to tmake_file.
8303 (powerpcle-*-elf*): Likewise.
8304 (powerpcle-*-eabisim*): Likewise.
8305 (powerpcle-*-eabi*): Likewise.
8306 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8307 rs6000/t-ibm-ldouble to tmake_file.
8308 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8309 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8310 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
8311 (tic6x-*-*): Likewise.
8312 (i[34567]86-*-darwin*, x86_64-*-darwin*,
8313 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
8314 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
8315 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
8316 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
8317 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
8318 t-softfp to tmake_file.
8319 * configure.ac (sfp_machine_header): Provide default if unset.
8320 Substitute.
8321 Link sfp-machine.h to config/$sfp_machine_header.
8322 * configure: Regenerate.
8323
8324 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8325
8326 * Makefile.in (double_type_size, long_double_type_size): Set.
8327 Remove $(fpbit-in-libgcc) support.
8328 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
8329 (fpbit-src): New variable.
8330 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
8331 Compile with -DFLOAT $(FPBIT_CFLAGS).
8332 Use $<.
8333 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
8334 Compile with $(FPBIT_CFLAGS).
8335 Use $<.
8336 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
8337 Compile with -DFLOAT $(TPBIT_CFLAGS).
8338 Use $<.
8339 * configure.ac (double_type_size, long_double_type_size):
8340 Determine and substitute.
8341 * configure: Regenerate.
8342 * fp-bit.c, fp-bit.h: New files.
8343 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
8344 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
8345 * config/mips/t-mips: New file.
8346 * config/mips/t-sdemtk: New file.
8347 * config/rs6000/ppc64-fp.c: New file.
8348 * config/rs6000/t-darwin (LIB2ADD): Add
8349 $(srcdir)/config/rs6000/ppc64-fp.c.
8350 * config/rs6000/t-ppc64-fp: New file.
8351 * config/rx/rx-lib.h: New file.
8352 * config/rx/t-rx (FPBIT): Set to true.
8353 ($(gcc_objdir)/fp-bit.c): Remove.
8354 (DPBIT): Set to true only with -m64bit-doubles.
8355 ($(gcc_objdir)/dp-bit.c): Remove.
8356 * config/sparc/t-softfp: Remove.
8357 * config/spu/t-elf: New file.
8358 * config/t-fdpbit, config/t-fpbit: New files.
8359 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
8360 (mips*-*-*): Likewise.
8361 (arm-wrs-vxworks): Likewise.
8362 (arm*-*-freebsd*): Likewise.
8363 (avr-*-rtems*): Add t-fpbit to tmake_file.
8364 (avr-*-*): Likewise.
8365 (bfin*-elf*): Add t-fdpbit to tmake_file.
8366 (bfin*-uclinux*): Likewise.
8367 (bfin*-linux-uclibc*): Likewise.
8368 (bfin*-rtems*): New case.
8369 Add t-fdpbit to tmake_file.
8370 (bfin*-*): Add t-fdpbit to tmake_file.
8371 (crisv32-*-elf): Likewise.
8372 (cris-*-linux*): Likewise.
8373 (fr30-*-elf): Likewise.
8374 (frv-*-elf, frv-*-*linux*): Likewise.
8375 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
8376 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
8377 (m32r-*-elf*): Likewise.
8378 (m32rle-*-elf*): Likewise.
8379 (m32r-*-linux*): Likewise.
8380 (m32rle-*-linux*): Likewise.
8381 (mcore-*-elf): Add t-fdpbit to tmake_file.
8382 (microblaze*-*-*): Likewise.
8383 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
8384 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
8385 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
8386 Fix typo.
8387 Add mips/t-tpbit to tmake-file.
8388 (mips*-*-linux*): Fix typo.
8389 (mips*-sde-elf*): New case
8390 Add mips/t-sdemtk unless using newlib.
8391 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
8392 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
8393 (mn10300-*-*): Likewise.
8394 (pdp11-*-*): Likewise.
8395 (picochip-*-*): Add t-fpbit to tmake_file.
8396 (powerpc-*-eabisimaltivec*): Likewise.
8397 (powerpc-*-eabisim*): Likewise.
8398 (powerpc-*-elf*): Likewise.
8399 (powerpc-*-eabialtivec*): Likewise.
8400 (powerpc-xilinx-eabi*): New case.
8401 Add t-fdpbit to tmake_file.
8402 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
8403 (powerpc-*-rtems*): Likewise.
8404 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
8405 tmake_file.
8406 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
8407 tmake_file.
8408 (powerpc-*-lynxos*): Likewise.
8409 (powerpcle-*-elf*): Likewise.
8410 (powerpcle-*-eabisim*): Likewise.
8411 (powerpcle-*-eabi*): Likewise.
8412 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8413 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
8414 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8415 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8416 (rx-*-elf): Add t-fdpbit to tmake_file.
8417 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8418 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8419 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8420 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
8421 sh*-*-netbsd*.
8422 (sh-*-rtems*): Add t-fdpbit to tmake_file.
8423 (sh-wrs-vxworks): Likewise.
8424 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
8425 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
8426 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
8427 (sparc64-*-rtems*): ... new case.
8428 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
8429 (spu-*-elf*): Likewise.
8430 Add spu/t-elf to tmake_file.
8431 (v850*-*-*): Add t-fdpbit to tmake_file.
8432 (xstormy16-*-elf): Likewise.
8433 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
8434 (mep*-*-*): Likewise.
8435
8436 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8437
8438 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
8439 variables.
8440 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
8441 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
8442 (install-unwind_h): New target.
8443 (all): Depend on it.
8444 * config.host (unwind_header): New variable.
8445 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
8446 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8447 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
8448 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
8449 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
8450 Set unwind_header.
8451 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
8452 Set unwind_header.
8453 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
8454 arm*-*-eabi*.
8455 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
8456 Set unwind_header.
8457 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
8458 (ia64*-*-freebsd*): Likewise.
8459 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
8460 tmake_file.
8461 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
8462 $with_system_libunwind.
8463 (ia64*-*-hpux*): Set tmake_file.
8464 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
8465 (picochip-*-*): Set tmake_file.
8466 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
8467 md_unwind_header.
8468 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8469 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8470 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
8471 (xtensa*-*-elf*): Set tmake_file.
8472 (xtensa*-*-linux*): Likewise.
8473 * configure.ac: Include ../config/unwind_ipinfo.m4.
8474 Call GCC_CHECK_UNWIND_GETIPINFO.
8475 Link unwind.h to $unwind_header.
8476 * configure: Regenerate.
8477 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
8478 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
8479 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
8480 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
8481 * config/unwind-dw2-fde-darwin.c: New file.
8482 * config/arm/libunwind.S, config/arm/pr-support.c,
8483 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
8484 config/arm/unwind-arm.h,: New files.
8485 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
8486 config/ia64/t-eh-ia64, config/ia64/t-glibc,
8487 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
8488 config/ia64/t-vms, config/ia64/unwind-ia64.c,
8489 config/ia64/unwind-ia64.h: New files.
8490 * config/picochip/t-picochip: New file.
8491 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
8492 files.
8493 * config/rs6000/t-darwin (LIB2ADDEH): Set.
8494 * config/s390/t-tpf (LIB2ADDEH): Remove.
8495 * config/t-darwin (LIB2ADDEH): Set.
8496 * config/t-eh-dw2-dip: New file.
8497 * config/t-libunwind, config/t-libunwind-elf: New files.
8498 * config/t-sol2 (LIB2ADDEH): Remove.
8499 * config/xtensa/t-xtensa: New file.
8500
8501 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
8502
8503 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
8504 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
8505 long long to check rt_sigreturn syscall.
8506
8507 2011-08-02 Alan Modra <amodra@gmail.com>
8508
8509 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8510 Restore for indirect call bcrtl from correct stack slot, and only
8511 if cfa+40 isn't valid.
8512
8513 2011-08-01 Julian Brown <julian@codesourcery.com>
8514
8515 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
8516 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
8517 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
8518
8519 2011-08-01 Julian Brown <julian@codesourcery.com>
8520
8521 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
8522 (libgcc-std.ver.in): Use above.
8523 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
8524 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
8525 throughout file.
8526 * config/t-fixedpoint-gnu-prefix: New file.
8527 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
8528 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
8529 instead of __PFX__.
8530
8531 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
8532
8533 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
8534 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
8535 for x86-64. Properly check __x86_64__ and __LP64__.
8536
8537 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
8538
8539 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
8540 version.
8541 (_FP_WS_TYPE): Likewise.
8542 (_FP_I_TYPE): Likewise.
8543
8544 2011-07-28 Alan Modra <amodra@gmail.com>
8545
8546 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8547 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
8548 in a plt call stub. Do restore r2 if stopped on bctrl.
8549
8550 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8551
8552 * config.host (i[3456x]86-*-netware*): Remove.
8553 * config/i386/netware-crt0.c, config/i386/t-nwld,
8554 config/i386/t-slibgcc-nwld: Remove.
8555
8556 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
8557
8558 * config.host: Handle tic6x-*-*.
8559 * config/c6x/c6x-abi.h: New file.
8560
8561 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8562
8563 * config/i386/crtprec.c: New file.
8564 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
8565 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
8566 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
8567 (x86_64-*-darwin*): Likewise.
8568 (i[34567]86-*-solaris2*: Likewise.
8569
8570 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8571
8572 * config/alpha/crtfastmath.c: New file.
8573 * config/i386/crtfastmath.c: New file.
8574 * config/ia64/crtfastmath.c: New file.
8575 * config/mips/crtfastmath.c: New file.
8576 * config/sparc/crtfastmath.c: New file.
8577
8578 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
8579 crtfastmath.c.
8580 Add -frandom-seed=gcc-crtfastmath.
8581 * config/alpha/t-crtfm: Remove.
8582 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
8583 * config/ia64/t-ia64 (crtfastmath.o): Remove.
8584
8585 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
8586 (alpha*-dec-osf5.1*): Likewise.
8587 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
8588 Add crtfastmath.o to extra_parts.
8589 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
8590 Add crtfastmath.o to extra_parts.
8591 (x86_64-*-darwin*): Likewise.
8592 (x86_64-*-mingw*): Likewise.
8593 (ia64*-*-elf*): Add t-crtfm to tmake_file.
8594 (ia64*-*-freebsd*): Likewise.
8595 (ia64*-*-linux*): Likewise.
8596 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
8597 Add crtfastmath.o to extra_parts.
8598
8599 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8600
8601 * config/darwin-crt3.o: New file.
8602 * config/rs6000/darwin-crt2.c: New file.
8603 * config/t-darwin: New file.
8604 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
8605 (crt2.o): New rule.
8606 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
8607 (powerpc-*-darwin*): Add crt2.o to extra_parts.
8608 (powerpc64-*-darwin*): Likewise.
8609
8610 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8611
8612 * config/i386/netware-crt0.c: New file.
8613 * config/i386/t-nwld: Rename to ...
8614 * config/i386/t-slibgcc-nwld: ... this.
8615 * config/i386/t-nwld: New file.
8616 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
8617 tmake_file.
8618 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
8619 extra_parts.
8620
8621 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8622
8623 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
8624 i386/t-crtstuff.
8625 * configure: Regenerate.
8626
8627 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8628
8629 * dfp-bit.c, dfp-bit.h: New files.
8630 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
8631 variables.
8632 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
8633 ($(d64pbit-o)): Likewise.
8634 ($(d128pbit-o)): Likewise.
8635 * config/t-dfprules: New file.
8636 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
8637 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
8638 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8639 (x86_64-*-linux*): Likewise.
8640 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8641 (i[34567]86-*-cygwin*): Likewise.
8642 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
8643 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8644
8645 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8646
8647 * Makfile.in (LIBGCOV): New variable.
8648 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
8649 * libgcov.c: New file.
8650
8651 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8652
8653 * fixed-bit.c, fixed-bit.h: New files.
8654 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
8655 refer to fixed-bit.c.
8656
8657 2011-07-07 Joseph Myers <joseph@codesourcery.com>
8658
8659 * config.host (*local*): Remove.
8660
8661 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8662
8663 PR target/39150
8664 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
8665 like i?86-*-solaris2.1[0-9]*.
8666 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
8667 * configure.ac (i?86-*-solaris2*): Likewise.
8668 * configure: Regenerate.
8669
8670 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
8671
8672 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8673 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
8674 md_unwind_header by splitting out of...
8675 (i[34567]86-*-linux*): ... this.
8676 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
8677 Remove md_unwind_header by splitting out of...
8678 (x86_64-*-linux*): ... this.
8679
8680 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
8681
8682 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
8683
8684 2011-06-28 Nick Clifton <nickc@redhat.com>
8685
8686 * config.host: Recognize all V850 variants.
8687
8688 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
8689
8690 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
8691
8692 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8693
8694 * shared-object.mk (c_flags-$o): Save c_flags.
8695 ($(base)$(objext)): Use it.
8696 ($(base)_s$(objext)): Likewise.
8697
8698 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
8699
8700 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
8701 * libgcc-std.ver.in (GCC_4.7.0): New section.
8702
8703 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
8704
8705 PR target/49313
8706 PR target/29524
8707 * config/avr/t-avr: Fix line endings.
8708 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
8709 _parityXX2.
8710
8711 2011-06-14 Olivier Hainque <hainque@adacore.com>
8712 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8713
8714 * config/mips/irix6-unwind.h: New file.
8715 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
8716
8717 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
8718
8719 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
8720 (sparc64_fallback_frame_state): Use it.
8721 (sparc64_frob_update_context): Further adjust context.
8722 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
8723 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
8724 * config/sparc/sol2-cn.S: Likewise.
8725
8726 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8727
8728 * enable-execute-stack-empty.c: New file.
8729 * enable-execute-stack-mprotect.c: New file.
8730 * config/i386/enable-execute-stack-mingw32.c: New file.
8731 * config.host (enable_execute_stack): New variable.
8732 Select appropriate variants.
8733 * configure.ac: Link enable-execute-stack.c to
8734 $enable_execute_stack.
8735 * configure: Regenerate.
8736 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
8737 (lib2funcs): Remove _enable_execute_stack.
8738
8739 2011-06-09 David S. Miller <davem@davemloft.net>
8740 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8741
8742 * config.host (sparc-*-linux*): Correct md_unwind_header
8743 filename.
8744 (s390x-ibm-tpf*): Fix typo.
8745
8746 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8747
8748 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
8749 Add crtfastmath.o to extra_parts.
8750 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
8751 mips/t-crtfm.
8752 * config/mips/t-crtfm: Remove.
8753
8754 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8755
8756 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
8757
8758 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
8759
8760 * config.host (sh*-*-linux*): Fix typo.
8761
8762 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8763
8764 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
8765 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
8766 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
8767 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
8768 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
8769 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
8770 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
8771 Wrap in !__MINGW64__.
8772 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
8773 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
8774 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
8775 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
8776 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
8777 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
8778 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
8779 Wrap in !__LP64__.
8780 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
8781 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
8782 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
8783 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
8784 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
8785 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
8786 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
8787 * config/no-unwind.h: New file.
8788 * config.host (md_unwind_header): Document.
8789 Define.
8790 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
8791 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
8792 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
8793 hppa[12]*-*-hpux11*): Set md_unwind_header.
8794 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
8795 Set md_unwind_header.
8796 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
8797 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
8798 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
8799 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
8800 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
8801 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
8802 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
8803 md_unwind_header.
8804 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
8805 * configure: Regenerate.
8806
8807 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8808
8809 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
8810 Set tmake_file, extra_parts.
8811 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
8812 Remove O32 support.
8813 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
8814 Remove O32 support.
8815 * config/mips/t-irix6: New file.
8816 * config/mips/t-slibgcc-irix: New file.
8817
8818 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8819
8820 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
8821 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
8822
8823 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8824
8825 * configure.ac (target_thread_file): Determine thread model.
8826 * configure: Regenerate.
8827 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
8828 * config/alpha/t-alpha: New file.
8829 * config/alpha/t-crtfm: Use $<.
8830 * config/alpha/t-ieee: New file.
8831 * config/alpha/t-osf-pthread: New file.
8832 * config/alpha/t-slibgcc-osf: New file.
8833 * config/alpha/libgcc-osf5.ver: New file.
8834
8835 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8836
8837 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
8838 tmake_file.
8839 Add crtfastmath.o to extra_parts.
8840
8841 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8842
8843 * config/gmon-sol2.c: Reindent.
8844 Cleanup comments.
8845 Remove, correct casts.
8846 Use STDERR_FILENO, NULL.
8847 (BASEADDRESS): Remove.
8848 (minbrk): Remove.
8849 (errno, sbrk): Remove declarations.
8850 (monstartup) [hp300]: Remove.
8851 (mcount): Remove.
8852
8853 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8854
8855 * Makefile.in (cpu_type): Define.
8856 * config.host (i[34567]86-*-rtems*): Handle it.
8857 (i[34567]86-*-solaris2*): Move body ...
8858 (*-*-solaris2*): ... here.
8859 New case, generalize.
8860 (sparc-*-elf*): Handle it.
8861 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
8862 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
8863 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
8864 Fold into ...
8865 (sparc*-*-solaris2*): ... this.
8866 New case.
8867 (sparc64-*-elf*): Handle it.
8868 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
8869 Merge ../gcc/config/i386/gmon-sol2.c.
8870 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
8871 Use C comments.
8872 Merge ../gcc/config/i386/sol2-gc1.asm.
8873 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
8874 Use C comments.
8875 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
8876 Use C comments.
8877 * config/i386/t-crtfm (crtfastmath.o): Use $<.
8878 * config/i386/t-crtstuff: New file.
8879 * config/i386/t-softfp: New file.
8880 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
8881 $(T)crti.o, $(T)crtn.o): Remove.
8882 (gcrt1.o): New rule.
8883 (TARGET_LIBGCC2_CFLAGS): Remove.
8884 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
8885 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
8886 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
8887 * config/sparc/t-sol2: New file.
8888 * config/sparc/t-crtfm: Move to ...
8889 * config/t-crtfm: ... this.
8890 Use $(cpu_type), $<.
8891 * config/t-crtin: New file.
8892 * config/sparc/t-softfp: New file.
8893 * config/sparc/t-softmul: New file.
8894 * config/t-rtems: New file.
8895 * config/t-slibgcc: New file.
8896 * config/t-slibgcc-elf-ver: New file.
8897 * config/t-slibgcc-gld: New file.
8898 * config/t-slibgcc-sld: New file.
8899 * config/t-sol2: New file.
8900 * configure.ac: Include ../config/lib-ld.m4.
8901 Call AC_LIB_PROG_LD_GNU.
8902 Substitute cpu_type.
8903 * configure: Regenerate.
8904
8905 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
8906
8907 PR bootstrap/49173
8908 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
8909 libgcc-std.ver in the build directory.
8910 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
8911 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
8912
8913 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
8914
8915 * libgcc-std.ver.in: New file.
8916 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
8917 variables.
8918 (libgcc-std.ver): New rule.
8919 * config/t-gnu-prefix: New file.
8920
8921 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8922
8923 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
8924
8925 2011-05-10 Joseph Myers <joseph@codesourcery.com>
8926
8927 * config/i386/darwin-lib.h: New file.
8928
8929 2011-05-10 Joseph Myers <joseph@codesourcery.com>
8930
8931 * config/arm/symbian-lib.h: New.
8932
8933 2011-05-04 Chris Demetriou <cgd@google.com>
8934
8935 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
8936 (__x86.get_pc_thunk.bx): ...this.
8937 (__morestack): Adjust for rename, remove undef of __i686.
8938
8939 2011-05-03 Chris Demetriou <cgd@google.com>
8940
8941 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
8942
8943 2011-03-22 Joseph Myers <joseph@codesourcery.com>
8944
8945 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
8946 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
8947 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
8948 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
8949 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
8950 Remove cases.
8951
8952 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
8953
8954 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
8955 Adjust copyright year.
8956
8957 2011-03-07 Ian Lance Taylor <iant@google.com>
8958
8959 * generic-morestack.c (__splitstack_find): Adjust returned stack
8960 pointer to include all registers pushed by __morestack.
8961
8962 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
8963
8964 PR target/40125
8965 * configure.ac: Call ACX_NONCANONICAL_TARGET.
8966 (toolexecdir): Calculate and AC_SUBST.
8967 (toolexeclibdir): Likewise.
8968 * Makefile.in (target_noncanonical): Import.
8969 (toolexecdir): Likewise.
8970 (toolexeclibdir): Likewise.
8971 * configure: Regenerate.
8972
8973 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
8974
8975 PR target/46040
8976 * config/arm/bpabi.h: Rename to...
8977 * config/arm/bpabi-lib.h: ...this.
8978
8979 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8980
8981 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
8982 appropriate.
8983 * configure: Regenerate.
8984
8985 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
8986
8987 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
8988 __FLOAT_WORD_ORDER__.
8989 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
8990 Delete.
8991
8992 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8993
8994 PR other/46202
8995 * Makefile.in (install-strip): New phony target.
8996
8997 2010-11-07 Ian Lance Taylor <iant@google.com>
8998
8999 PR target/46089
9000 * config/i386/morestack.S (__morestack_large_model): New
9001 function.
9002
9003 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
9004
9005 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
9006 Delete.
9007 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
9008
9009 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
9010
9011 * config/arm/bpabi.h: New file.
9012 * config/frv/frv-abi.h: New file.
9013
9014 2010-10-01 Ian Lance Taylor <iant@google.com>
9015
9016 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
9017 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
9018
9019 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
9020
9021 PR target/45858
9022 * config.host: Add the missing `$'.
9023
9024 2010-09-30 Michael Eager <eager@eagercon.com>
9025
9026 * config.host: Add microblaze*-*-*.
9027 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
9028 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
9029 udivsi3.asm,umodsi3.asm}: New.
9030
9031 2010-09-28 Ian Lance Taylor <iant@google.com>
9032
9033 * configure.ac: Adjust CFI test to test assembler directly rather
9034 than checking gcc preprocessor macro.
9035 * configure: Rebuild.
9036
9037 2010-09-27 Ian Lance Taylor <iant@google.com>
9038
9039 * configure.ac: Test whether assembler supports CFI directives.
9040 * config.host: Only add t-stack and i386/t-stack-i386 to
9041 tmake_file if libgcc_cv_cfi is "yes".
9042 * configure: Rebuild.
9043
9044 2010-09-27 Ian Lance Taylor <iant@google.com>
9045
9046 * generic-morestack.h: New file.
9047 * generic-morestack.c: New file.
9048 * generic-morestack-thread.c: New file.
9049 * config/i386/morestack.S: New file.
9050 * config/t-stack: New file.
9051 * config/i386/t-stack-i386: New file.
9052 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
9053 i386/t-stack-i386 to tmake_file.
9054
9055 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
9056
9057 * Makefile.in (libgcc-extra-parts): Check for static archives and
9058 invoke ranlib after installing them.
9059 (gcc-extra-parts): Likewise.
9060 (install-leaf): Likewise.
9061
9062 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
9063
9064 * configure: Regenerated.
9065
9066 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
9067
9068 * configure: Regenerated.
9069
9070 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
9071 Andrew Pinski <pinskia@gmail.com>
9072
9073 PR target/40959
9074 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
9075
9076 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
9077
9078 PR target/45524
9079 * configure: Regenerated.
9080
9081 2010-09-06 Andreas Schwab <schwab@redhat.com>
9082
9083 * configure: Regenerate.
9084
9085 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
9086
9087 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
9088 64bit targets.
9089 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
9090 for 64bit targets.
9091
9092 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
9093 Iain Sandoe <iains@gcc.gnu.org>
9094
9095 PR target/45476
9096 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
9097 LIB2FUNCS_EXCLUDE functions.
9098
9099 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9100
9101 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
9102 Include dfp.m4.
9103 * configure: Regenerate.
9104
9105 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
9106
9107 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
9108 i386/t-freebsd to tmake_file.
9109 * config/i386/t-freebsd: New file.
9110 * config/i386/libgcc-bsd.ver: New file.
9111
9112 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
9113
9114 * config.host (powerpc*-eabispe*): Set tmake_file.
9115 (powerpc*-eabi*): Likewise.
9116 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
9117 crtbeginS, crtendS, crtbeginT.
9118
9119 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
9120
9121 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
9122 to tmake_file. Add crtfastmath.o to extra_parts.
9123 * config/mips/t-crtfm: New.
9124
9125 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
9126
9127 * config.host (sparc64-*-rtems*): New target.
9128
9129 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9130
9131 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
9132 assembler syntax.
9133
9134 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
9135
9136 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
9137
9138 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9139
9140 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
9141 alpha-dec-osf5.0* support.
9142
9143 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
9144
9145 * config.host: Add lm32-*-rtems*.
9146
9147 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9148 Uros Bizjak <ubizjak@gmail.com>
9149
9150 PR target/39048
9151 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
9152 like other remaining 32-bit x86 OSes.
9153 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
9154 assembler syntax.
9155 * config/i386/libgcc-sol2.ver: New file.
9156 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
9157
9158 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
9159
9160 PR c/43553
9161 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
9162 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
9163 is used and substitute set_use_emutls.
9164 * configure: Regenerated.
9165
9166 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
9167
9168 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
9169
9170 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9171
9172 PR target/38085
9173 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
9174 MULTILIB_CFLAGS.
9175 ($(T)gcrt1.o): Likewise.
9176 ($(T)crt1.o): Likewise.
9177 ($(T)crti.o): Likewise.
9178 ($(T)crtn.o): Likewise.
9179
9180 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9181
9182 PR other/42980
9183 * Makefile.in (install): Use $(MAKE) string in rule, for
9184 parallel make.
9185
9186 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
9187
9188 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
9189 * config/mmix/t-mmix: New file.
9190 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
9191
9192 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
9193
9194 PR java/41991
9195 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
9196 SHLIB_MAPFILES.
9197
9198 2010-01-04 Anthony Green <green@moxielogic.com>
9199
9200 * config/moxie/crti.asm, config/moxie/crtn.asm,
9201 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
9202 config/moxie/t-moxie: New files.
9203 * config.host: Add t-moxie-softfp reference.
9204
9205 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
9206
9207 PR other/39888
9208 * config/t-slibgcc-darwin: Fix embedded rpaths for
9209 --enable-version-specific-runtime-libs, build extension stub
9210 libs exposing features available from current libgcc_s.
9211
9212 2009-11-11 Jon Beniston <jon@beniston.com>
9213
9214 * config.host: Add lm32 targets.
9215 * config/lm32: New directory.
9216 * config/lm32/libgcc_lm32.h: New file.
9217 * config/lm32/_mulsi3.c: New file.
9218 * config/lm32/_udivmodsi4.c: New file.
9219 * config/lm32/_divsi3.c: New file.
9220 * config/lm32/_modsi3.c: New file.
9221 * config/lm32/_udivsi3.c: New file.
9222 * config/lm32/_umodsi3.c: New file.
9223 * config/lm32/_lshrsi3.S: New file.
9224 * config/lm32/_ashrsi3.S: New file.
9225 * config/lm32/_ashlsi3.S: New file.
9226 * config/lm32/crti.S: New file.
9227 * config/lm32/crtn.S: New file.
9228 * config/lm32/t-lm32: New file.
9229 * config/lm32/t-elf: New file.
9230 * config/lm32/t-uclinux: New file.
9231
9232 2009-10-26 Nick Clifton <nickc@redhat.com>
9233
9234 * config.host: Add support for RX target.
9235 * config/rx: New directory.
9236 * config/rx/rx-abi-functions.c: New file. Supplementary
9237 functions for libgcc to support the RX ABI.
9238 * config/rx/rx-abi.h: New file. Supplementary header file for
9239 libgcc RX ABI functions.
9240 * config/rx/t-rx: New file: Makefile fragment for building
9241 libgcc for the RX.
9242
9243 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
9244
9245 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
9246 constraint of y0 to "g".
9247
9248 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9249
9250 * config.host: Include the s390 makefile fragments.
9251 * config/s390/32/_fixdfdi.c: New file.
9252 * config/s390/32/_fixsfdi.c: New file.
9253 * config/s390/32/_fixtfdi.c: New file.
9254 * config/s390/32/_fixunsdfdi.c: New file.
9255 * config/s390/32/_fixunssfdi.c: New file.
9256 * config/s390/32/_fixunstfdi.c: New file.
9257 * config/s390/32/t-floattodi: New file.
9258 * config/s390/libgcc-glibc.ver: New file.
9259 * config/s390/t-crtstuff: New file.
9260 * config/s390/t-linux: New file.
9261 * config/s390/t-tpf: New file.
9262
9263 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9264
9265 * configure.ac (AC_PREREQ): Bump to 2.64.
9266
9267 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
9268
9269 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
9270
9271 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9272
9273 * configure: Regenerate.
9274
9275 2009-08-09 Douglas B Rupp <rupp@gnat.com>
9276
9277 * config.host (ia64-hp-*vms*): New target.
9278 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
9279 with ia64-hp-*vms*.
9280
9281 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9282
9283 * configure.ac: Add snippet for maintainer-mode.
9284 * configure: Regenerate.
9285 * Makefile.in (AUTOCONF, configure_deps): New variables.
9286 ($(srcdir)/configure)): New rule, active only with maintainer
9287 mode turned on.
9288
9289 2009-06-23 DJ Delorie <dj@redhat.com>
9290
9291 Add MeP port.
9292 * config.host: Add mep support.
9293
9294 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
9295
9296 * config.host: Add i386/${host_address}/t-fprules-softfp and
9297 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
9298
9299 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
9300 for mingw targets.
9301 * config/i386/64/_multc3.c: Likewise.
9302 * config/i386/64/_powitf2.c: Likewise.
9303 * config/i386/64/eqtf2.c: Likewise.
9304 * config/i386/64/getf2.c: Likewise.
9305 * config/i386/64/letf2.c: Likewise.
9306 * config/i386/64/letf2.c: Likewise.
9307 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
9308 unsigned long long for x64 mingw targets.
9309 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
9310 (_FP_I_TYPE): Define as long long for x64 mingw target.
9311
9312 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
9313
9314 * config.host (vax-*-linux*): New.
9315
9316 2009-05-31 Anthony Green <green@moxielogic.com>
9317
9318 * config.host: Add moxie support.
9319 * config/moxie/t-moxie: New file.
9320
9321 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
9322
9323 * config.host: Add i386/${host_address}/t-fprules-softfp and
9324 t-softfp to tmake_file for i[34567]86-*-cygwin*.
9325
9326 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
9327
9328 * config.host: Add i386/${host_address}/t-fprules-softfp to
9329 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
9330
9331 2009-04-09 Nick Clifton <nickc@redhat.com>
9332
9333 * config/ia64/tf-signs.c: Change copyright header to refer to
9334 version 3 of the GNU General Public License with version 3.1
9335 of the GCC Runtime Library Exception and to point readers at
9336 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
9337 web page.
9338 * config/i386/32/tf-signs.c: Likewise.
9339 * config/libbid/_addsub_dd.c: Likewise.
9340 * config/libbid/_addsub_sd.c: Likewise.
9341 * config/libbid/_addsub_td.c: Likewise.
9342 * config/libbid/_dd_to_df.c: Likewise.
9343 * config/libbid/_dd_to_di.c: Likewise.
9344 * config/libbid/_dd_to_sd.c: Likewise.
9345 * config/libbid/_dd_to_sf.c: Likewise.
9346 * config/libbid/_dd_to_si.c: Likewise.
9347 * config/libbid/_dd_to_td.c: Likewise.
9348 * config/libbid/_dd_to_tf.c: Likewise.
9349 * config/libbid/_dd_to_udi.c: Likewise.
9350 * config/libbid/_dd_to_usi.c: Likewise.
9351 * config/libbid/_dd_to_xf.c: Likewise.
9352 * config/libbid/_df_to_dd.c: Likewise.
9353 * config/libbid/_df_to_sd.c: Likewise.
9354 * config/libbid/_df_to_td.c: Likewise.
9355 * config/libbid/_di_to_dd.c: Likewise.
9356 * config/libbid/_di_to_sd.c: Likewise.
9357 * config/libbid/_di_to_td.c: Likewise.
9358 * config/libbid/_div_dd.c: Likewise.
9359 * config/libbid/_div_sd.c: Likewise.
9360 * config/libbid/_div_td.c: Likewise.
9361 * config/libbid/_eq_dd.c: Likewise.
9362 * config/libbid/_eq_sd.c: Likewise.
9363 * config/libbid/_eq_td.c: Likewise.
9364 * config/libbid/_ge_dd.c: Likewise.
9365 * config/libbid/_ge_sd.c: Likewise.
9366 * config/libbid/_ge_td.c: Likewise.
9367 * config/libbid/_gt_dd.c: Likewise.
9368 * config/libbid/_gt_sd.c: Likewise.
9369 * config/libbid/_gt_td.c: Likewise.
9370 * config/libbid/_isinfd128.c: Likewise.
9371 * config/libbid/_isinfd32.c: Likewise.
9372 * config/libbid/_isinfd64.c: Likewise.
9373 * config/libbid/_le_dd.c: Likewise.
9374 * config/libbid/_le_sd.c: Likewise.
9375 * config/libbid/_le_td.c: Likewise.
9376 * config/libbid/_lt_dd.c: Likewise.
9377 * config/libbid/_lt_sd.c: Likewise.
9378 * config/libbid/_lt_td.c: Likewise.
9379 * config/libbid/_mul_dd.c: Likewise.
9380 * config/libbid/_mul_sd.c: Likewise.
9381 * config/libbid/_mul_td.c: Likewise.
9382 * config/libbid/_ne_dd.c: Likewise.
9383 * config/libbid/_ne_sd.c: Likewise.
9384 * config/libbid/_ne_td.c: Likewise.
9385 * config/libbid/_sd_to_dd.c: Likewise.
9386 * config/libbid/_sd_to_df.c: Likewise.
9387 * config/libbid/_sd_to_di.c: Likewise.
9388 * config/libbid/_sd_to_sf.c: Likewise.
9389 * config/libbid/_sd_to_si.c: Likewise.
9390 * config/libbid/_sd_to_td.c: Likewise.
9391 * config/libbid/_sd_to_tf.c: Likewise.
9392 * config/libbid/_sd_to_udi.c: Likewise.
9393 * config/libbid/_sd_to_usi.c: Likewise.
9394 * config/libbid/_sd_to_xf.c: Likewise.
9395 * config/libbid/_sf_to_dd.c: Likewise.
9396 * config/libbid/_sf_to_sd.c: Likewise.
9397 * config/libbid/_sf_to_td.c: Likewise.
9398 * config/libbid/_si_to_dd.c: Likewise.
9399 * config/libbid/_si_to_sd.c: Likewise.
9400 * config/libbid/_si_to_td.c: Likewise.
9401 * config/libbid/_td_to_dd.c: Likewise.
9402 * config/libbid/_td_to_df.c: Likewise.
9403 * config/libbid/_td_to_di.c: Likewise.
9404 * config/libbid/_td_to_sd.c: Likewise.
9405 * config/libbid/_td_to_sf.c: Likewise.
9406 * config/libbid/_td_to_si.c: Likewise.
9407 * config/libbid/_td_to_tf.c: Likewise.
9408 * config/libbid/_td_to_udi.c: Likewise.
9409 * config/libbid/_td_to_usi.c: Likewise.
9410 * config/libbid/_td_to_xf.c: Likewise.
9411 * config/libbid/_tf_to_dd.c: Likewise.
9412 * config/libbid/_tf_to_sd.c: Likewise.
9413 * config/libbid/_tf_to_td.c: Likewise.
9414 * config/libbid/_udi_to_dd.c: Likewise.
9415 * config/libbid/_udi_to_sd.c: Likewise.
9416 * config/libbid/_udi_to_td.c: Likewise.
9417 * config/libbid/_unord_dd.c: Likewise.
9418 * config/libbid/_unord_sd.c: Likewise.
9419 * config/libbid/_unord_td.c: Likewise.
9420 * config/libbid/_usi_to_dd.c: Likewise.
9421 * config/libbid/_usi_to_sd.c: Likewise.
9422 * config/libbid/_usi_to_td.c: Likewise.
9423 * config/libbid/_xf_to_dd.c: Likewise.
9424 * config/libbid/_xf_to_sd.c: Likewise.
9425 * config/libbid/_xf_to_td.c: Likewise.
9426 * config/libbid/bid128.c: Likewise.
9427 * config/libbid/bid128_2_str.h: Likewise.
9428 * config/libbid/bid128_2_str_macros.h: Likewise.
9429 * config/libbid/bid128_2_str_tables.c: Likewise.
9430 * config/libbid/bid128_add.c: Likewise.
9431 * config/libbid/bid128_compare.c: Likewise.
9432 * config/libbid/bid128_div.c: Likewise.
9433 * config/libbid/bid128_fma.c: Likewise.
9434 * config/libbid/bid128_logb.c: Likewise.
9435 * config/libbid/bid128_minmax.c: Likewise.
9436 * config/libbid/bid128_mul.c: Likewise.
9437 * config/libbid/bid128_next.c: Likewise.
9438 * config/libbid/bid128_noncomp.c: Likewise.
9439 * config/libbid/bid128_quantize.c: Likewise.
9440 * config/libbid/bid128_rem.c: Likewise.
9441 * config/libbid/bid128_round_integral.c: Likewise.
9442 * config/libbid/bid128_scalb.c: Likewise.
9443 * config/libbid/bid128_sqrt.c: Likewise.
9444 * config/libbid/bid128_string.c: Likewise.
9445 * config/libbid/bid128_to_int16.c: Likewise.
9446 * config/libbid/bid128_to_int32.c: Likewise.
9447 * config/libbid/bid128_to_int64.c: Likewise.
9448 * config/libbid/bid128_to_int8.c: Likewise.
9449 * config/libbid/bid128_to_uint16.c: Likewise.
9450 * config/libbid/bid128_to_uint32.c: Likewise.
9451 * config/libbid/bid128_to_uint64.c: Likewise.
9452 * config/libbid/bid128_to_uint8.c: Likewise.
9453 * config/libbid/bid32_to_bid128.c: Likewise.
9454 * config/libbid/bid32_to_bid64.c: Likewise.
9455 * config/libbid/bid64_add.c: Likewise.
9456 * config/libbid/bid64_compare.c: Likewise.
9457 * config/libbid/bid64_div.c: Likewise.
9458 * config/libbid/bid64_fma.c: Likewise.
9459 * config/libbid/bid64_logb.c: Likewise.
9460 * config/libbid/bid64_minmax.c: Likewise.
9461 * config/libbid/bid64_mul.c: Likewise.
9462 * config/libbid/bid64_next.c: Likewise.
9463 * config/libbid/bid64_noncomp.c: Likewise.
9464 * config/libbid/bid64_quantize.c: Likewise.
9465 * config/libbid/bid64_rem.c: Likewise.
9466 * config/libbid/bid64_round_integral.c: Likewise.
9467 * config/libbid/bid64_scalb.c: Likewise.
9468 * config/libbid/bid64_sqrt.c: Likewise.
9469 * config/libbid/bid64_string.c: Likewise.
9470 * config/libbid/bid64_to_bid128.c: Likewise.
9471 * config/libbid/bid64_to_int16.c: Likewise.
9472 * config/libbid/bid64_to_int32.c: Likewise.
9473 * config/libbid/bid64_to_int64.c: Likewise.
9474 * config/libbid/bid64_to_int8.c: Likewise.
9475 * config/libbid/bid64_to_uint16.c: Likewise.
9476 * config/libbid/bid64_to_uint32.c: Likewise.
9477 * config/libbid/bid64_to_uint64.c: Likewise.
9478 * config/libbid/bid64_to_uint8.c: Likewise.
9479 * config/libbid/bid_b2d.h: Likewise.
9480 * config/libbid/bid_binarydecimal.c: Likewise.
9481 * config/libbid/bid_conf.h: Likewise.
9482 * config/libbid/bid_convert_data.c: Likewise.
9483 * config/libbid/bid_decimal_data.c: Likewise.
9484 * config/libbid/bid_decimal_globals.c: Likewise.
9485 * config/libbid/bid_div_macros.h: Likewise.
9486 * config/libbid/bid_dpd.c: Likewise.
9487 * config/libbid/bid_flag_operations.c: Likewise.
9488 * config/libbid/bid_from_int.c: Likewise.
9489 * config/libbid/bid_functions.h: Likewise.
9490 * config/libbid/bid_gcc_intrinsics.h: Likewise.
9491 * config/libbid/bid_inline_add.h: Likewise.
9492 * config/libbid/bid_internal.h: Likewise.
9493 * config/libbid/bid_round.c: Likewise.
9494 * config/libbid/bid_sqrt_macros.h: Likewise.
9495
9496 2009-04-09 Jakub Jelinek <jakub@redhat.com>
9497
9498 * Makefile.in: Change copyright header to refer to version
9499 3 of the GNU General Public License and to point readers at the
9500 COPYING3 file and the FSF's license web page.
9501 * config.host: Likewise.
9502
9503 2009-04-07 Alan Modra <amodra@bigpond.net.au>
9504
9505 * config.host: Reorder and merge to match config.gcc change.
9506
9507 2009-04-03 Alan Modra <amodra@bigpond.net.au>
9508
9509 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
9510
9511 2009-03-28 Joseph Myers <joseph@codesourcery.com>
9512
9513 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
9514 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
9515 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
9516 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
9517
9518 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
9519
9520 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
9521 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9522
9523 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
9524
9525 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
9526 ia64/t-softfp-compat to tmake_file.
9527
9528 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
9529
9530 * config/ia64/__divxf3.asm: New.
9531 * config/ia64/_fixtfdi.asm: Likewise.
9532 * config/ia64/_fixunstfdi.asm: Likewise.
9533 * config/ia64/_floatditf.asm: Likewise.
9534 * config/ia64/t-fprules-softfp: Likewise.
9535 * config/ia64/t-softfp-compat: Likewise.
9536 * config/ia64/tf-signs.c: Likewise.
9537
9538 2009-01-18 Ben Elliston <bje@au.ibm.com>
9539
9540 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9541
9542 2009-01-16 Ben Elliston <bje@au.ibm.com>
9543
9544 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
9545 to tmake_file.
9546
9547 2009-01-13 Ben Elliston <bje@au.ibm.com>
9548
9549 * config/t-softfp: New file.
9550 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
9551 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
9552
9553 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
9554
9555 * config.host: Add m32r*-*-rtems*.
9556
9557 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
9558
9559 * config.host: Add m32c*-*-rtems*.
9560
9561 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9562
9563 PR bootstrap/33100
9564 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
9565 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
9566 * configure: Regenerate.
9567 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
9568 tmake_file here from gcc/config.gcc.
9569 Move extra_parts here from gcc/config.gcc.
9570 * config/i386/t-sol2: Move here from gcc/config/i386.
9571 Use gcc_srcdir instead of srcdir.
9572
9573 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
9574
9575 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
9576 case.
9577
9578 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
9579
9580 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
9581
9582 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
9583
9584 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
9585
9586 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
9587
9588 Add picoChip port.
9589 * config.host: Add picochip-*-*.
9590
9591 2008-08-06 Bob Wilson <bob.wilson@acm.org>
9592
9593 * config.host: Match more processor names for Xtensa.
9594
9595 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
9596
9597 * config/i386/64/t-softfp-compat: Update comments.
9598
9599 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
9600
9601 * config/i386/64/_divtc3-compat.c: Moved to ...
9602 * config/i386/64/_divtc3.c: Here.
9603
9604 * config/i386/64/_multc3-compat.c: Moved to ...
9605 * config/i386/64/_multc3.c: Here.
9606
9607 * config/i386/64/_powitf2-compat.c: Moved to ...
9608 * config/i386/64/_powitf2.c: Here.
9609
9610 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
9611 .c suffix instead of -compat.c.
9612
9613 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
9614
9615 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
9616 (_FP_MUL_MEAT_D): Ditto.
9617 (_FP_DIV_MEAT_S): Ditto.
9618 (_FP_DIV_MEAT_D): Ditto.
9619
9620 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
9621
9622 * Makefile.in: Add support for __sync_* libgcc functions.
9623
9624 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
9625
9626 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
9627
9628 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9629
9630 PR boostrap/36702
9631 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
9632 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
9633
9634 * config/i386/64/t-fprules-softfp: Moved to ...
9635 * config/i386/64/t-softfp-compat: This. New.
9636
9637 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
9638
9639 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
9640 Initialize f with 0.0.
9641
9642 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9643
9644 PR target/36669
9645 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
9646
9647 * config/i386/64/_divtc3-compat.c: New.
9648 * config/i386/64/_multc3-compat.c: Likewise.
9649 * config/i386/64/_powitf2-compat.c: Likewise.
9650 * config/i386/64/eqtf2.c: Likewise.
9651 * config/i386/64/getf2.c: Likewise.
9652 * config/i386/64/letf2.c: Likewise.
9653 * config/i386/64/t-fprules-softfp: Likewise.
9654
9655 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9656
9657 * config.host: Add i386/${host_address}/t-fprules-softfp to
9658 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
9659 i[34567]86-*-linux*, x86_64-*-linux*.
9660
9661 * configure.ac: Set host_address to 64 or 32 for x86.
9662 * configure: Regenerated.
9663
9664 * Makefile.in (config.status): Also depend on
9665 $(srcdir)/config.host.
9666
9667 * config/i386/32/t-fprules-softfp: New.
9668 * config/i386/32/tf-signs.c: Likewise.
9669
9670 * config/i386/64/sfp-machine.h: New. Moved from gcc.
9671
9672 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9673 Uros Bizjak <ubizjak@gmail.com>
9674
9675 * config/i386/32/sfp-machine.h: New.
9676
9677 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
9678
9679 * config/rs6000/t-ppccomm: Remove rules that conflict with
9680 auto-generated rules.
9681
9682 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9683
9684 * configure.ac: sinclude override.m4.
9685 * configure: Regenerate.
9686
9687 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
9688
9689 * configure: Regenerate.
9690
9691 2008-06-10 Joseph Myers <joseph@codesourcery.com>
9692
9693 * Makefile.in (DECNUMINC): Remove
9694 -I$(MULTIBUILDTOP)../../libdecnumber.
9695 * gstdint.h: New.
9696
9697 2008-06-07 Joseph Myers <joseph@codesourcery.com>
9698
9699 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
9700 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
9701 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
9702 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
9703 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
9704 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
9705 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
9706 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
9707 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
9708 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
9709 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
9710 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
9711 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
9712 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
9713
9714 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
9715
9716 * config.host (sh2[lbe]*-*-linux*): Allow target.
9717
9718 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
9719
9720 * config/rs6000/t-ppccomm: Add build rules for new files.
9721 (LIB2ADD_ST): New variable.
9722
9723 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
9724
9725 PR target/34210
9726 PR target/35508
9727 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
9728 * config/t-avr: New file. Build 16bit libgcc functions.
9729
9730 2008-03-02 Jakub Jelinek <jakub@redhat.com>
9731
9732 PR target/35401
9733 * config/t-slibgcc-darwin: Make install-leaf dependent on
9734 install-darwin-libgcc-stubs instead of install.
9735
9736 2008-01-25 Joseph Myers <joseph@codesourcery.com>
9737
9738 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
9739 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
9740 sh-*-rtemscoff*): Remove cases.
9741
9742 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
9743
9744 * Makefile.in (all): Use install-leaf rather than install.
9745 (install): Split most of the rule into...
9746 (install-leaf): ...this new one.
9747
9748 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
9749 Paolo Bonzini <bonzini@gnu.org>
9750
9751 PR target/30572
9752 * Makefile.in: Use @shlib_slibdir@ substitution to get
9753 correct install name on darwin.
9754 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
9755
9756 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
9757
9758 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
9759 cris-*-elf and cris-*-none.
9760 (crisv32-*-linux*): Similar, as cris-*-linux*.
9761
9762 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
9763
9764 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
9765
9766 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
9767
9768 PR regression/33926
9769 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
9770 * configure: Regenerated.
9771
9772 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
9773
9774 * Makefile.in (dfp-filenames): Replace decimal_globals,
9775 decimal_data, binarydecimal and convert_data with
9776 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
9777 and bid_convert_data, respectively.
9778
9779 2007-09-17 Chao-ying Fu <fu@mips.com>
9780 Nigel Stephens <nigel@mips.com>
9781
9782 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
9783 * Makefile.in (fixed_point): Define.
9784 Check if fixed_point is yes to build support functions.
9785 * configure.ac: Check for fixed_point support.
9786 * configure: Regenerated.
9787 * gen-fixed.sh: New file to generate lists of fixed-point labels,
9788 funcs, modes, from, to.
9789
9790 2007-09-11 Janis Johnson <janis187@us.ibm.com
9791
9792 * Makefile.in (dfp-filenames): Add bid128_noncomp.
9793
9794 2007-09-10 Janis Johnson <janis187@us.ibm.com>
9795
9796 * Makefile.in (dfp-filenames): Remove decUtility, add
9797 decDouble, decPacked, decQuad, decSingle.
9798
9799 2007-08-27 Hans Kester <hans.kester@ellips.nl>
9800
9801 * config.host : Add x86_64-elf target.
9802
9803 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9804
9805 * configure.ac (set_have_cc_tls): Add a missing =.
9806 * configure: Regenerated.
9807
9808 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9809
9810 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
9811 and x86_64-*-linux*.
9812
9813 * config/t-tls: New file.
9814
9815 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
9816
9817 * configure.ac: Include ../config/enable.m4 and
9818 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
9819 supports TLS and substitute set_have_cc_tls.
9820 * configure: Regenerated.
9821
9822 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
9823
9824 * Makefile.in: Use libbid for DFP when BID is enabled.
9825
9826 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
9827
9828 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
9829 extra_parts. Add config/i386/t-cygming to tmake_file.
9830 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
9831
9832 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
9833 Danny Smith <dannysmith@users.sourceforge.net>
9834
9835 PR target/29498
9836 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
9837 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
9838 * config/i386/t-crtfm: Compile crtfastmath.o with
9839 -minline-all-stringops.
9840
9841 2007-05-10 Richard Sandiford <richard@codesourcery.com>
9842
9843 * config.host (sparc-wrs-vxworks): New target.
9844
9845 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
9846
9847 * config.host: Recognize fido.
9848
9849 2007-04-04 Janis Johnson <janis187@us.ibm.com>
9850
9851 * configure: Check host, not target, for decimal float support.
9852
9853 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
9854
9855 * config/i386/t-crtpc: New file.
9856 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
9857 (x86_64-*-linux*): Ditto.
9858
9859 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
9860
9861 * config.host (x86_64-*-mingw*): New target.
9862
9863 2007-03-23 Michael Meissner <michael.meissner@amd.com>
9864 H.J. Lu <hongjiu.lu@intel.com>
9865
9866 * Makefile.in (enable_decimal_float): New.
9867 (DECNUMINC): Add
9868 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
9869 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
9870 (decbits-filenames): This.
9871 (decbits-objects): New.
9872 (libgcc-objects): Add $(decbits-objects).
9873
9874 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
9875 Substitute enable_decimal_float.
9876 * configure: Regenerated.
9877
9878 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
9879
9880 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
9881
9882 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
9883
9884 * Makefile.in (install-info): New dummy target.
9885
9886 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
9887
9888 * config.host (bfin*-linux-uclibc*): Set extra_parts.
9889
9890 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
9891
9892 * Makefile.in: Add install-html and install-pdf dummy
9893 targets.
9894
9895 2007-02-05 Roger Sayle <roger@eyesopen.com>
9896 Daniel Jacobowitz <dan@codesourcery.com>
9897
9898 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
9899 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
9900 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
9901
9902 2007-01-29 Janis Johnson <janis187@us.ibm.com>
9903
9904 * Makefile.in (dec-filenames): Add decExcept.
9905
9906 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
9907
9908 PR bootstrap/30469
9909 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
9910 -fprofile-use.
9911
9912 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
9913
9914 * configure.ac: Add --enable-version-specific-runtime-libs.
9915 Correct $slibdir default.
9916 * configure: Regenerated.
9917
9918 2007-01-23 Joseph Myers <joseph@codesourcery.com>
9919
9920 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
9921
9922 2007-01-21 Andrew Pinski <pinskia@gmail.com>
9923
9924 PR target/30519
9925 * config.host (alpha*-*-linux*): Set extra_parts.
9926
9927 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
9928
9929 * config/sh/t-linux: New.
9930 * config.host (sh*-*-linux*): Set tmake_file.
9931
9932 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
9933
9934 * Makefile.in (install): Handle multilibs.
9935
9936 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
9937
9938 * Makefile.in: Added .PHONY entry for documentation targets.
9939
9940 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
9941
9942 * Makefile.in: Add empty info, html, dvi, pdf targets.
9943
9944 2007-01-04 Mike Stump <mrs@apple.com>
9945
9946 * Makefile.in (MAKEINFO): Remove.
9947 (PERL): Likewise.
9948
9949 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
9950
9951 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
9952 * configure: Regenerate.
9953 * Makefile.in (host_subdir): Substitute it.
9954 (gcc_objdir): Use it.
9955
9956 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9957
9958 * config.host (ia64*-*-linux*): Set tmake_file.
9959
9960 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9961
9962 * Makefile.in (version): Define.
9963
9964 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
9965 Paolo Bonzini <bonzini@gnu.org>
9966
9967 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
9968 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
9969 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
9970 config/sparc/t-crtfm, config/t-slibgcc-darwin,
9971 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
9972 shared-object.mk, siditi-object.mk, static-object.mk: New files.
9973 * configure: Generated.
9974 \f
9975 Copyright (C) 2007-2019 Free Software Foundation, Inc.
9976
9977 Copying and distribution of this file, with or without modification,
9978 are permitted in any medium without royalty provided the copyright
9979 notice and this notice are preserved.