Darwin, PowerPC, libgcc - Ensure unwinder is built with altivec enabled.
[gcc.git] / libgcc / ChangeLog
1 2019-06-06 Iain Sandoe <iain@sandoe.co.uk>
2
3 * config/rs6000/t-darwin: Ensure that the unwinder is built with
4 altivec enabled.
5
6 2019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
7
8 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
9 section.
10 (__mspabi_slli): Likewise.
11 (__mspabi_slll_n): Likewise.
12 (__mspabi_slll): Likewise.
13 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
14 (__mspabi_srai): Likewise.
15 (__mspabi_sral_n): Likewise.
16 (__mspabi_sral): Likewise.
17 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
18 (__mspabi_srli): Likewise.
19 (__mspabi_srll_n): Likewise.
20 (__mspabi_srll): Likewise.
21
22 2019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
23
24 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
25 Add appropriate tm_file clause as well.
26 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
27
28 2019-06-05 James Clarke <jrtc27@jrtc27.com>
29
30 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
31 rather than .data/.bss so it can be accessed via gp-relative
32 addressing.
33
34 2019-06-05 David Edelsohn <dje.gcc@gmail.com>
35
36 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
37 (CR2_REGNO): Rename to R_CR2.
38 (XER_REGNO): Rename to R_XER.
39 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
40 (VRSAVE_REGNO): Rename to R_VRSAVE.
41 (VSCR_REGNO): R_VSCR.
42
43 2019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
44
45 * config.host (rx-*-linux*): Add new case.
46 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
47
48 2019-05-29 Sam Tebbs <sam.tebbs@arm.com>
49
50 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
51 function.
52 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
53 aarch64_post_frob_eh_handler_addr): Add check for b-key.
54 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
55 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
56 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
57 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
58 string.
59 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
60 string.
61 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
62
63 2019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
64
65 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
66 Remove Solaris 9 and 10 support.
67 (sparc_is_sighandler): Likewise.
68
69 2019-05-26 John David Anglin <danglin@gcc.gnu.org>
70
71 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
72
73 2019-05-17 H.J. Lu <hongjiu.lu@intel.com>
74
75 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
76 4_FP_W_TYPEs are used for IEEE quad precision.
77 * soft-fp/extendhftf2.c: Likewise.
78 * soft-fp/extendsftf2.c: Likewise.
79 * soft-fp/extendxftf2.c: Likewise.
80 * soft-fp/trunctfdf2.c: Likewise.
81 * soft-fp/trunctfhf2.c: Likewise.
82 * soft-fp/trunctfsf2.c: Likewise.
83 * soft-fp/trunctfxf2.c: Likewise.
84 * config/rs6000/ibm-ldouble.c: Likewise.
85
86 2019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
87
88 * config.host: Simplify various *-*-solaris2.1[0-9]* to
89 *-*-solaris2*.
90 * configure.ac: Likewise.
91 * configure: Regenerate.
92
93 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
94 Solaris 10 and Solaris 11 < snv_125 handling.
95
96 2019-05-12 Iain Sandoe <iain@sandoe.co.uk>
97
98 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
99
100 2019-05-07 Hongtao Liu <hongtao.liu@intel.com>
101
102 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
103 * config/i386/cpuinfo.h (enum processor_features): Add
104 FEATURE_AVX512BF16.
105
106 2019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
107 Bernd Edlinger <bernd.edlinger@hotmail.de>
108 Jakub Jelinek <jakub@redhat.com>
109
110 PR target/89093
111 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
112 * config/arm/unwind-arm.c: Likewise.
113 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
114 attribute for ARM.
115
116 2019-04-15 Monk Chiang <sh.chiang04@gmail.com>
117
118 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
119 (RT_SIGRETURN): Update.
120 (nds32_fallback_frame_state): Update.
121
122 2019-02-21 Martin Sebor <msebor@redhat.com>
123
124 * libgcc2.h (__clear_cache): Correct signature.
125 * libgcc2.c (__clear_cache): Same.
126
127 2019-02-20 Uroš Bizjak <ubizjak@gmail.com>
128
129 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
130 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
131
132 2019-02-19 Uroš Bizjak <ubizjak@gmail.com>
133
134 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
135 regno instead of index to DWARF_ZERO_REG.
136
137 2019-02-15 Eric Botcazou <ebotcazou@adacore.com>
138
139 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
140 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
141
142 2019-01-31 Uroš Bizjak <ubizjak@gmail.com>
143
144 * config/alpha/t-linux: Add -mfp-rounding-mode=d
145 to HOST_LIBGCC2_CFLAGS.
146
147 2019-01-23 Joseph Myers <joseph@codesourcery.com>
148
149 PR libgcc/88931
150 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
151
152 2019-01-18 Martin Liska <mliska@suse.cz>
153
154 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
155 to ...
156 (__gcov_indirect_call_profiler_v3): ... this.
157 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
158 (__gcov_indirect_call_profiler_v3): Likewise.
159 * Makefile.in: Bump function name.
160
161 2019-01-18 Martin Liska <mliska@suse.cz>
162
163 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
164 (gcov_version): Use in gcov_error.
165 (merge_one_data): Likewise.
166 (dump_one_gcov): Likewise.
167
168 2019-01-18 Martin Liska <mliska@suse.cz>
169
170 * libgcov-driver.c (gcov_version_string): New function.
171 (gcov_version): Convert version integer into string.
172
173 2019-01-17 Andrew Stubbs <ams@codesourcery.com>
174 Kwok Cheung Yeung <kcy@codesourcery.com>
175 Julian Brown <julian@codesourcery.com>
176 Tom de Vries <tom@codesourcery.com>
177
178 * config.host: Recognize amdgcn*-*-amdhsa.
179 * config/gcn/crt0.c: New file.
180 * config/gcn/lib2-divmod-hi.c: New file.
181 * config/gcn/lib2-divmod.c: New file.
182 * config/gcn/lib2-gcn.h: New file.
183 * config/gcn/sfp-machine.h: New file.
184 * config/gcn/t-amdgcn: New file.
185
186 2019-01-09 Sandra Loosemore <sandra@codesourcery.com>
187
188 PR other/16615
189
190 * config/c6x/libunwind.S: Mechanically replace "can not" with
191 "cannot".
192 * config/tilepro/atomic.h: Likewise.
193 * config/vxlib-tls.c: Likewise.
194 * generic-morestack-thread.c: Likewise.
195 * generic-morestack.c: Likewise.
196 * mkmap-symver.awk: Likewise.
197
198 2019-01-01 Jakub Jelinek <jakub@redhat.com>
199
200 Update copyright years.
201
202 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
203
204 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
205 to ignore -Waddress-of-packed-member.
206
207 2018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
208
209 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
210 parameter and corresponding code.
211 (ARM_FUNC_START): Likewise in both definitions.
212 Also update footer comment about condition that need to match with
213 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
214 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
215 defined. Weakly define it in this case.
216 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
217 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
218 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
219 comment to keep condition in sync with the one in
220 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
221
222 2018-12-18 Wei Xiao <wei3.xiao@intel.com>
223
224 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
225 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
226
227 2018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
228
229 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
230 and .cfi_endproc directives for VxWorks targets.
231
232 2018-12-05 Paul Koning <ni1d@arrl.net>
233
234 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
235
236 2018-11-27 Alan Modra <amodra@gmail.com>
237
238 * config/rs6000/morestack.S (__stack_split_initialize),
239 (__morestack_get_guard, __morestack_set_guard),
240 (__morestack_make_guard): Provide CFI covering these functions.
241 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
242
243 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
244
245 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
246 (sc_pt_regs_lr): Update for kernel.
247 (sc_pt_regs_tls): Update for kernel.
248
249 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
250
251 * config/csky/linux-unwind.h: Fix coding style.
252
253 2018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
254
255 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
256 (csky_fallback_frame_state): Modify the check of the
257 instructions to adapt to changes in the kernel
258
259 2018-11-09 Stafford Horne <shorne@gmail.com>
260 Richard Henderson <rth@twiddle.net>
261
262 * config.host: Add OpenRISC support.
263 * config/or1k/*: New.
264
265 2018-11-08 Kito Cheng <kito@andestech.com>
266
267 * soft-fp/adddf3.c: Update from glibc.
268 * soft-fp/addsf3.c: Likewise.
269 * soft-fp/addtf3.c: Likewise.
270 * soft-fp/divdf3.c: Likewise.
271 * soft-fp/divsf3.c: Likewise.
272 * soft-fp/divtf3.c: Likewise.
273 * soft-fp/double.h: Likewise.
274 * soft-fp/eqdf2.c: Likewise.
275 * soft-fp/eqsf2.c: Likewise.
276 * soft-fp/eqtf2.c: Likewise.
277 * soft-fp/extenddftf2.c: Likewise.
278 * soft-fp/extended.h: Likewise.
279 * soft-fp/extendhftf2.c: Likewise.
280 * soft-fp/extendsfdf2.c: Likewise.
281 * soft-fp/extendsftf2.c: Likewise.
282 * soft-fp/extendxftf2.c: Likewise.
283 * soft-fp/fixdfdi.c: Likewise.
284 * soft-fp/fixdfsi.c: Likewise.
285 * soft-fp/fixdfti.c: Likewise.
286 * soft-fp/fixhfti.c: Likewise.
287 * soft-fp/fixsfdi.c: Likewise.
288 * soft-fp/fixsfsi.c: Likewise.
289 * soft-fp/fixsfti.c: Likewise.
290 * soft-fp/fixtfdi.c: Likewise.
291 * soft-fp/fixtfsi.c: Likewise.
292 * soft-fp/fixtfti.c: Likewise.
293 * soft-fp/fixunsdfdi.c: Likewise.
294 * soft-fp/fixunsdfsi.c: Likewise.
295 * soft-fp/fixunsdfti.c: Likewise.
296 * soft-fp/fixunshfti.c: Likewise.
297 * soft-fp/fixunssfdi.c: Likewise.
298 * soft-fp/fixunssfsi.c: Likewise.
299 * soft-fp/fixunssfti.c: Likewise.
300 * soft-fp/fixunstfdi.c: Likewise.
301 * soft-fp/fixunstfsi.c: Likewise.
302 * soft-fp/fixunstfti.c: Likewise.
303 * soft-fp/floatdidf.c: Likewise.
304 * soft-fp/floatdisf.c: Likewise.
305 * soft-fp/floatditf.c: Likewise.
306 * soft-fp/floatsidf.c: Likewise.
307 * soft-fp/floatsisf.c: Likewise.
308 * soft-fp/floatsitf.c: Likewise.
309 * soft-fp/floattidf.c: Likewise.
310 * soft-fp/floattihf.c: Likewise.
311 * soft-fp/floattisf.c: Likewise.
312 * soft-fp/floattitf.c: Likewise.
313 * soft-fp/floatundidf.c: Likewise.
314 * soft-fp/floatundisf.c: Likewise.
315 * soft-fp/floatunditf.c: Likewise.
316 * soft-fp/floatunsidf.c: Likewise.
317 * soft-fp/floatunsisf.c: Likewise.
318 * soft-fp/floatunsitf.c: Likewise.
319 * soft-fp/floatuntidf.c: Likewise.
320 * soft-fp/floatuntihf.c: Likewise.
321 * soft-fp/floatuntisf.c: Likewise.
322 * soft-fp/floatuntitf.c: Likewise.
323 * soft-fp/gedf2.c: Likewise.
324 * soft-fp/gesf2.c: Likewise.
325 * soft-fp/getf2.c: Likewise.
326 * soft-fp/half.h: Likewise.
327 * soft-fp/ledf2.c: Likewise.
328 * soft-fp/lesf2.c: Likewise.
329 * soft-fp/letf2.c: Likewise.
330 * soft-fp/muldf3.c: Likewise.
331 * soft-fp/mulsf3.c: Likewise.
332 * soft-fp/multf3.c: Likewise.
333 * soft-fp/negdf2.c: Likewise.
334 * soft-fp/negsf2.c: Likewise.
335 * soft-fp/negtf2.c: Likewise.
336 * soft-fp/op-1.h: Likewise.
337 * soft-fp/op-2.h: Likewise.
338 * soft-fp/op-4.h: Likewise.
339 * soft-fp/op-8.h: Likewise.
340 * soft-fp/op-common.h: Likewise.
341 * soft-fp/quad.h: Likewise.
342 * soft-fp/single.h: Likewise.
343 * soft-fp/soft-fp.h: Likewise.
344 * soft-fp/subdf3.c: Likewise.
345 * soft-fp/subsf3.c: Likewise.
346 * soft-fp/subtf3.c: Likewise.
347 * soft-fp/truncdfsf2.c: Likewise.
348 * soft-fp/trunctfdf2.c: Likewise.
349 * soft-fp/trunctfhf2.c: Likewise.
350 * soft-fp/trunctfsf2.c: Likewise.
351 * soft-fp/trunctfxf2.c: Likewise.
352 * soft-fp/unorddf2.c: Likewise.
353 * soft-fp/unordsf2.c: Likewise.
354 * soft-fp/unordtf2.c: Likewise.
355
356 2018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
357
358 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
359 * config/i386/cpuinfo.h (processor_types): Add znver2.
360
361 2018-11-01 Paul Koning <ni1d@arrl.net>
362
363 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
364 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
365
366 2018-10-31 Joseph Myers <joseph@codesourcery.com>
367
368 PR bootstrap/82856
369 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
370 * configure: Regenerate.
371
372 2018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
373
374 * config/arc/lib1funcs.S (_muldi3): New function.
375 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
376
377 2018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
378
379 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
380
381 2018-10-25 Martin Liska <mliska@suse.cz>
382
383 PR other/87735
384 * libgcov-profiler.c: Revert.
385
386 2018-10-24 Martin Liska <mliska@suse.cz>
387
388 * libgcov-profiler.c: Start from 1 in order to distinguish
389 functions which were seen and these that were not.
390
391 2018-10-18 Paul Koning <ni1d@arrl.net>
392
393 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
394 standard.
395 * divmod.c: Update references to __udivmodsi4.
396 * udivmod.c: Ditto.
397 * udivhi3.c: New file.
398 * udivmodhi4.c: New file.
399 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
400
401 2018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
402
403 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
404
405 2018-10-12 Olivier Hainque <hainque@adacore.com>
406
407 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
408 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
409
410 2018-10-08 Paul Koning <ni1d@arrl.net>
411
412 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
413
414 2018-10-04 Martin Liska <mliska@suse.cz>
415
416 PR gcov-profile/84107
417 * libgcov-profiler.c (__gcov_indirect_call):
418 Change type to indirect_call_tuple.
419 (struct indirect_call_tuple): New struct.
420 (__gcov_indirect_call_topn_profiler): Change type.
421 (__gcov_indirect_call_profiler_v2): Use the new
422 variables.
423 * libgcov.h (struct indirect_call_tuple): New struct
424 definition.
425
426 2018-10-03 Uros Bizjak <ubizjak@gmail.com>
427
428 * libgcc2.c (isnan): Use __builtin_isnan.
429 (isfinite): Use __builtin_isfinite.
430 (isinf): Use __builtin_isinf.
431
432 2018-09-26 Uros Bizjak <ubizjak@gmail.com>
433
434 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
435
436 2018-09-21 Alexandre Oliva <oliva@adacore.com>
437
438 * config/vxcache.c: New file. Provide __clear_cache, based on
439 the cacheTextUpdate VxWorks service.
440 * config/t-vxworks (LIB2ADD): Add vxcache.c.
441 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
442 * config/t-vxwoks7: Likewise.
443
444 2018-09-21 Martin Liska <mliska@suse.cz>
445
446 * libgcov-driver.c (crc32_unsigned): Remove.
447 (gcov_histogram_insert): Likewise.
448 (gcov_compute_histogram): Likewise.
449 (compute_summary): Simplify rapidly.
450 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
451 (merge_summary): Rapidly simplify.
452 (dump_one_gcov): Ignore gcov_summary.
453 (gcov_do_dump): Do not handle program summary, it's not
454 used.
455 * libgcov-util.c (tag_summary): Remove.
456 (read_gcda_finalize): Fix coding style.
457 (read_gcda_file): Initialize curr_object_summary.
458 (compute_summary): Remove.
459 (calculate_overlap): Remove settings of run_max.
460
461 2018-09-21 Monk Chiang <sh.chiang04@gmail.com>
462
463 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
464 ucontext_t type instead.
465 (nds32_fallback_frame_state): Remove struct _sigframe statement.
466
467 2018-09-21 Kito Cheng <kito.cheng@gmail.com>
468
469 * config/nds32/t-nds32-glibc: New file.
470
471 2018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
472
473 * configure.ac (solaris_ld_v2_maps): New test.
474 * configure: Regenerate.
475 * Makefile.in (solaris_ld_v2_maps): New variable.
476 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
477 if supported.
478
479 2018-08-23 Richard Earnshaw <rearnsha@arm.com>
480
481 PR target/86951
482 * config/arm/lib1funcs.asm (speculation_barrier): New function.
483 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
484 to build.
485
486 2018-08-22 Iain Sandoe <iain@sandoe.co.uk>
487
488 * config/unwind-dw2-fde-darwin.c
489 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
490 * config/darwin10-unwind-find-enc-func.c: … to here.
491 * config/t-darwin: Build Darwin10 unwinder shim crt.
492 * libgcc/config.host: Add the Darwin10 unwinder shim.
493
494 2018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
495
496 * config.host: Add crtbegin.o and crtend.o for
497 powerpc-wrs-vxworks target.
498
499 2018-08-17 Jojo <jijie_rong@c-sky.com>
500 Huibin Wang <huibin_wang@c-sky.com>
501 Sandra Loosemore <sandra@codesourcery.com>
502 Chung-Lin Tang <cltang@codesourcery.com>
503
504 C-SKY port: libgcc
505
506 * config.host: Add C-SKY support.
507 * config/csky/*: New.
508
509 2018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
510
511 * config/nds32/t-nds32-isr: Rearrange object dependency.
512 * config/nds32/initfini.c: Add dwarf2 unwinding support.
513 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
514 and registers usage.
515 * config/nds32/isr-library/excp_isr.S: Ditto.
516 * config/nds32/isr-library/intr_isr.S: Ditto.
517 * config/nds32/isr-library/reset.S: Ditto.
518 * config/nds32/isr-library/restore_all.inc: Ditto.
519 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
520 * config/nds32/isr-library/restore_partial.inc: Ditto.
521 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
522 * config/nds32/isr-library/save_all.inc: Ditto.
523 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
524 * config/nds32/isr-library/save_partial.inc: Ditto.
525 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
526 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
527
528 2018-08-11 John David Anglin <danglin@gcc.gnu.org>
529
530 * config/pa/linux-atomic.c: Update comment.
531 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
532 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
533 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
534 __ATOMIC_RELAXED for atomic loads.
535 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
536 unordered store to release lock.
537 (__sync_lock_release_8): Likewise.
538 (SYNC_LOCK_RELEASE_2): Remove define.
539
540 2018-08-02 Nicolas Pitre <nico@fluxnic.net>
541
542 PR libgcc/86512
543 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
544 exponent goes negative. Update my email address.
545 * config/arm/ieee754-sf.S: Likewise.
546
547 2018-08-01 Martin Liska <mliska@suse.cz>
548
549 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
550 check that __gcov_indirect_call_callee is non-null.
551
552 2018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
553
554 * config/arm/ieee754-df.S: Fix comment for code working on
555 architectures >= 4.
556 * config/arm/ieee754-sf.S: Likewise.
557
558 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
559
560 PR libgcc/85334
561 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
562 Removed.
563
564 2018-07-05 James Clarke <jrtc27@jrtc27.com>
565
566 * configure: Regenerated.
567
568 2018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
569
570 * Makefile.in (install_leaf): Use enable_gcov instead of
571 enable_libgcov.
572
573 2018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
574
575 * configure.ac: Add --disable-gcov option.
576 * configure: Regenerate.
577 * Makefile.in: Honour @enable_gcov@.
578
579 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
580
581 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
582 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
583 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
584 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
585 __ARM_ARCH__.
586 * config/arm/ieee754-sf.S: Likewise.
587 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
588
589 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
590
591 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
592 longer supported.
593 * config/arm/ieee754-sf.S: Likewise.
594
595 2018-06-20 Than McIntosh <thanm@google.com>
596
597 PR libgcc/86213
598 * generic-morestack.c (allocate_segment): Move calls to getenv and
599 getpagesize to __morestack_load_mmap.
600 (__morestack_load_mmap) Initialize static_pagesize and
601 use_guard_page here so as to avoid clobbering SSE regs during a
602 __morestack call.
603
604 2018-06-18 Michael Meissner <meissner@linux.ibm.com>
605
606 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
607 support modules with -mno-gnu-attribute.
608 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
609
610 2018-06-07 Olivier Hainque <hainque@adacore.com>
611
612 * config/t-vxworks (LIBGCC_INCLUDES): Add
613 -I$(MULTIBUILDTOP)../../gcc/include.
614 * config/t-vxworks7: Likewise. Reformat a bit to match
615 the t-vxworks layout.
616
617 2018-06-07 Olga Makhotina <olga.makhotina@intel.com>
618
619 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
620
621 2018-06-07 Martin Liska <mliska@suse.cz>
622
623 * libgcov-driver.c: Rename cs_all to all and assign it from
624 all_prg.
625
626 2018-06-07 Martin Liska <mliska@suse.cz>
627
628 PR bootstrap/86057
629 * libgcov-driver-system.c (replace_filename_variables): Use
630 memcpy instead of mempcpy.
631 (allocate_filename_struct): Do not allocate filename, allocate
632 prefix and set it.
633 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
634 here and properly copy content into it.
635 * libgcov-driver.c (struct gcov_filename): Remove max_length
636 field, change prefix from size_t into char *.
637 (compute_summary): Do not calculate longest filename.
638 (gcov_do_dump): Release memory of gf.filename after each file.
639 * libgcov-util.c (compute_summary): Use new signature of
640 compute_summary.
641 (calculate_overlap): Likewise.
642
643 2018-06-05 Martin Liska <mliska@suse.cz>
644
645 PR gcov-profile/47618
646 * libgcov-driver-system.c (replace_filename_variables): New
647 function.
648 (gcov_exit_open_gcda_file): Use it.
649
650 2018-06-05 Martin Liska <mliska@suse.cz>
651
652 * libgcov-driver.c (gcov_compute_histogram): Remove usage
653 of gcov_ctr_summary.
654 (compute_summary): Do it just for a single summary.
655 (merge_one_data): Likewise.
656 (merge_summary): Simplify as we read just single summary.
657 (dump_one_gcov): Pass proper argument.
658 * libgcov-util.c (compute_one_gcov): Simplify as we have just
659 single summary.
660 (gcov_info_count_all_cold): Likewise.
661 (calculate_overlap): Likewise.
662
663 2018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
664 Monk Chiang <sh.chiang04@gmail.com>
665
666 * config.host (nds32*-linux*): New.
667 * config/nds32/linux-atomic.c: New file.
668 * config/nds32/linux-unwind.h: New file.
669
670 2018-05-31 Uros Bizjak <ubizjak@gmail.com>
671
672 PR target/85591
673 * config/i386/cpuinfo.c (get_amd_cpu): Return
674 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
675
676 2018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
677
678 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
679
680 2018-05-29 Martin Liska <mliska@suse.cz>
681
682 PR gcov-profile/85759
683 * libgcov-driver-system.c (gcov_error): Introduce usage of
684 GCOV_EXIT_AT_ERROR env. variable.
685 * libgcov-driver.c (merge_one_data): Print error that we
686 overwrite a gcov file with a different timestamp.
687
688 2018-05-23 Kalamatee <kalamatee@gmail.com>
689
690 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
691 path to Lf$finfty.
692
693 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
694 Monk Chiang <sh.chiang04@gmail.com>
695 Jim Wilson <jimw@sifive.com>
696
697 * config/riscv/save-restore.S: Add support for rv32e.
698
699 2018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
700
701 * config/arm/libunwind.S: Update comment relating to armv5.
702
703 2018-05-17 Jerome Lambourg <lambourg@adacore.com>
704
705 * config/arm/cmse.c (cmse_check_address_range): Replace
706 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
707
708 2018-05-17 Olga Makhotina <olga.makhotina@intel.com>
709
710 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
711 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
712
713 2018-05-08 Olga Makhotina <olga.makhotina@intel.com>
714
715 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
716 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
717
718 2018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
719
720 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
721
722 2018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
723 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
724
725 PR libgcc/84292
726 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
727 op_and_fetch to return the right result.
728
729 2018-04-27 Alan Modra <amodra@gmail.com>
730
731 PR libgcc/85532
732 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
733 -fno-asynchronous-unwind-tables.
734
735 2018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
736
737 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
738 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
739
740 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
741
742 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
743 when including "config/i386/shadow-stack-unwind.h".
744
745 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
746
747 * configure: Regenerated.
748
749 2018-04-20 Michael Meissner <meissner@linux.ibm.com>
750
751 PR target/85456
752 * config/rs6000/_powikf2.c: New file. Add support for the
753 __builtin_powil function when long double is IEEE 128-bit floating
754 point.
755 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
756 __powikf2 support.
757 (__powikf2): Likewise.
758 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
759 (__powikf2_hw): Likewise.
760 (__powikf2): Likewise.
761 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
762 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
763 (_powikf2-hw.c): Likewise.
764
765 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
766
767 PR libgcc/85334
768 * unwind-generic.h (_Unwind_Frames_Increment): New.
769 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
770 Likewise.
771 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
772 count with _Unwind_Frames_Increment.
773 (_Unwind_ForcedUnwind_Phase2): Likewise.
774
775 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
776
777 PR libgcc/85379
778 * config/i386/morestack.S (__stack_split_initialize): Add
779 _CET_ENDBR.
780
781 2018-04-19 Jakub Jelinek <jakub@redhat.com>
782
783 * configure: Regenerated.
784
785 2018-04-18 David Malcolm <dmalcolm@redhat.com>
786
787 PR jit/85384
788 * configure: Regenerate.
789
790 2018-04-16 Jakub Jelinek <jakub@redhat.com>
791
792 PR target/84945
793 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
794 -Wdangling-else warnings. Mask shift counts to avoid
795 -Wshift-count-negative and -Wshift-count-overflow false positives.
796
797 2018-04-06 Ruslan Bukin <br@bsdpad.com>
798
799 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
800
801 2018-03-29 H.J. Lu <hongjiu.lu@intel.com>
802
803 PR target/85100
804 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
805 (XSTATE_FP): Likewise.
806 (XSTATE_SSE): Likewise.
807 (XSTATE_YMM): Likewise.
808 (XSTATE_OPMASK): Likewise.
809 (XSTATE_ZMM): Likewise.
810 (XSTATE_HI_ZMM): Likewise.
811 (XCR_AVX_ENABLED_MASK): Likewise.
812 (XCR_AVX512F_ENABLED_MASK): Likewise.
813 (get_available_features): Enable AVX and AVX512 features only
814 if their states are supported by OSXSAVE.
815
816 2018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
817
818 PR target/85025
819 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
820 Fix a typo, tmp => 255.
821
822 2018-03-20 Jakub Jelinek <jakub@redhat.com>
823
824 PR target/84945
825 * config/i386/cpuinfo.h (__cpu_features2): Declare.
826 * config/i386/cpuinfo.c (__cpu_features2): New variable for
827 ifndef SHARED only.
828 (set_feature): Define.
829 (get_available_features): Use set_feature macro. Set __cpu_features2
830 to the second word of features ifndef SHARED.
831
832 2018-03-15 Julia Koval <julia.koval@intel.com>
833
834 * config/i386/cpuinfo.c (get_available_features): Add
835 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
836 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
837 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
838 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
839 FEATURE_AVX512BITALG.
840
841 2018-03-14 Julia Koval <julia.koval@intel.com>
842
843 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
844 icelake client and icelake server.
845
846 2018-03-06 John David Anglin <danglin@gcc.gnu.org>
847
848 * config/pa/fptr.c (_dl_read_access_allowed): New.
849 (__canonicalize_funcptr_for_compare): Use it.
850
851 2018-02-28 Jakub Jelinek <jakub@redhat.com>
852
853 PR debug/83917
854 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
855 $asm_hidden_op if visibility ("hidden") attribute works.
856 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
857 * config/i386/i386-asm.h: Don't include auto-host.h.
858 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
859 PACKAGE_URL): Don't undefine.
860 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
861 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
862 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
863 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
864 definition instead of hardcoded .hidden.
865 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
866 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
867 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
868 (USE_GAS_CFI_DIRECTIVES): Don't define.
869 * configure: Regenerated.
870 * config.in: Likewise.
871
872 2018-02-26 Jakub Jelinek <jakub@redhat.com>
873
874 PR debug/83917
875 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
876 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
877 inclusion of auto-target.h and auto-host.h.
878 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
879 __GCC_HAVE_DWARF2_CFI_ASM.
880 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
881 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
882 cfi_pop): Define.
883 * config/i386/cygwin.S: Don't include auto-host.h here, just
884 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
885 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
886 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
887 * config/i386/resms64fx.h: Add cfi_* directives.
888 * config/i386/resms64x.h: Likewise.
889
890 2018-02-20 Max Filippov <jcmvbkbc@gmail.com>
891
892 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
893 .literal_position directive.
894 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
895
896 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
897
898 PR target/84148
899 * configure: Regenerate.
900
901 2018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
902
903 PR target/84239
904 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
905 Include cetintrin.h not x86intrin.h.
906
907 2018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
908
909 PR target/84239
910 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
911 Use new _get_ssp and _inc_ssp intrinsics.
912
913 2018-02-02 Julia Koval <julia.koval@intel.com>
914
915 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
916
917 2018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
918
919 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
920 option.
921 (__divsi3): Use RF16 safe registers.
922 (__modsi3): Likewise.
923
924 2018-01-23 Max Filippov <jcmvbkbc@gmail.com>
925
926 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
927 (__divsf3): Make NaN return value quiet.
928 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
929 (__divdf3): Make NaN return value quiet.
930
931 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
932
933 * config/rl78/anddi3.S: New assembly file.
934 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
935
936 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
937
938 * config/rl78/umindi3.S: New assembly file.
939 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
940
941 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
942
943 * config/rl78/smindi3.S: New assembly file.
944 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
945
946 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
947
948 * config/rl78/smaxdi3.S: New assembly file.
949 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
950
951 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
952
953 * config/rl78/umaxdi3.S: New assembly file.
954 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
955
956 2018-01-21 John David Anglin <danglin@gcc.gnu.org>
957
958 PR lto/83452
959 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
960 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
961
962 2018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
963
964 * config/aarch64/value-unwind.h (aarch64_vg): New function.
965 (DWARF_LAZY_REGISTER_VALUE): Define.
966 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
967 to provide a fallback register value.
968
969 2018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
970
971 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
972 __ibm128, instead of trying to use long double.
973 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
974 accomidate -mabi=ieeelongdouble multilibs.
975 (CVT_IBM128_TO_FLOAT128): Likewise.
976 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
977 the appropriate IBM extended double type.
978 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
979 (__gcc_qsub): Likewise.
980 (__gcc_qmul): Likewise.
981 (__gcc_qdiv): Likewise.
982 (pack_ldouble): Likewise.
983 (__gcc_qneg): Likewise.
984 (__gcc_qeq): Likewise.
985 (__gcc_qne): Likewise.
986 (__gcc_qge): Likewise.
987 (__gcc_qle): Likewise.
988 (__gcc_stoq): Likewise.
989 (__gcc_dtoq): Likewise.
990 (__gcc_itoq): Likewise.
991 (__gcc_utoq): Likewise.
992 (__gcc_qunord): Likewise.
993 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
994 quad-float128.h for the definitions.
995 (COPYSIGN): Use the f128 version instead of the q version.
996 (INFINITY): Likewise.
997 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
998 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
999 quad-float128.h for the definitions.
1000 (COPYSIGN): Use the f128 version instead of the q version.
1001 (INFINITY): Likewise.
1002 (FABS): Likewise.
1003 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
1004 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
1005 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
1006
1007 2018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
1008
1009 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
1010 configuration.
1011
1012 2018-01-03 Jakub Jelinek <jakub@redhat.com>
1013
1014 Update copyright years.
1015
1016 2017-12-12 Kito Cheng <kito.cheng@gmail.com>
1017
1018 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
1019 * config/riscv/multi3.c: New file.
1020 * config/riscv/multi3.S: Remove.
1021
1022 2017-12-08 Jim Wilson <jimw@sifive.com>
1023
1024 * config/riscv/div.S: Use FUNC_* macros.
1025 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
1026 * config/riscv/save-restore.S: Likewise.
1027 * config/riscv/riscv-asm.h: New.
1028
1029 2017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
1030
1031 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
1032 * config/rs6000/_divkc3.c (__divkc3): Likewise.
1033
1034 PR libgcc/83112
1035 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
1036 correct type for all ifunc resolvers to silence -Wattribute-alias
1037 warnings. Eliminate the forward declaration of the resolver
1038 functions which is no longer needed.
1039 (__subkf3_resolve): Likewise.
1040 (__mulkf3_resolve): Likewise.
1041 (__divkf3_resolve): Likewise.
1042 (__negkf2_resolve): Likewise.
1043 (__eqkf2_resolve): Likewise.
1044 (__nekf2_resolve): Likewise.
1045 (__gekf2_resolve): Likewise.
1046 (__gtkf2_resolve): Likewise.
1047 (__lekf2_resolve): Likewise.
1048 (__ltkf2_resolve): Likewise.
1049 (__unordkf2_resolve): Likewise.
1050 (__extendsfkf2_resolve): Likewise.
1051 (__extenddfkf2_resolve): Likewise.
1052 (__trunckfsf2_resolve): Likewise.
1053 (__trunckfdf2_resolve): Likewise.
1054 (__fixkfsi_resolve): Likewise.
1055 (__fixkfdi_resolve): Likewise.
1056 (__fixunskfsi_resolve): Likewise.
1057 (__fixunskfdi_resolve): Likewise.
1058 (__floatsikf_resolve): Likewise.
1059 (__floatdikf_resolve): Likewise.
1060 (__floatunsikf_resolve): Likewise.
1061 (__floatundikf_resolve): Likewise.
1062 (__extendkftf2_resolve): Likewise.
1063 (__trunctfkf2_resolve): Likewise.
1064
1065 PR libgcc/83103
1066 * config/rs6000/quad-float128.h (TF): Don't define if long double
1067 is IEEE 128-bit floating point.
1068 (TCtype): Define as either TCmode or KCmode, depending on whether
1069 long double is IEEE 128-bit floating point.
1070 (__mulkc3_sw): Add declarations for software/hardware versions of
1071 complex multiply/divide.
1072 (__divkc3_sw): Likewise.
1073 (__mulkc3_hw): Likewise.
1074 (__divkc3_hw): Likewise.
1075 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
1076 handlers to switch between using software emulation and hardware
1077 float128 instructions, build the complex multiply/divide functions
1078 for both software and hardware support.
1079 * config/rs6000/_divkc3.c (_divkc3): Likewise.
1080 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
1081 (__divkc3_resolve): Likewise.
1082 (__mulkc3): Likewise.
1083 (__divkc3): Likewise.
1084 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
1085 (fp128_hw_src): Likewise.
1086 (fp128_hw_static_obj): Likewise.
1087 (fp128_hw_shared_obj): Likewise.
1088 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
1089 _mulkc3.c and _divkc3.c, changing the function name.
1090 (_divkc3-hw.c): Likewise.
1091 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
1092 and _divkc3-hw.c.
1093
1094 2017-11-26 Julia Koval <julia.koval@intel.com>
1095
1096 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
1097 * config/i386/cpuinfo.h (processor_subtypes): Add
1098 INTEL_COREI7_CANNONLAKE.
1099
1100 2017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1101
1102 PR bootstrap/83015
1103 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
1104 parameter.
1105 * config/xtensa/unwind-dw2-xtensa.c: Likewise
1106 * config/ia64/unwind-ia64.c: Add frames parameter.
1107 * unwind-sjlj.c: Likewise.
1108
1109 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1110
1111 * config/i386/linux-unwind.h: Include
1112 config/i386/shadow-stack-unwind.h.
1113 * config/i386/shadow-stack-unwind.h: New file.
1114 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
1115 pass it to _Unwind_Frames_Extra.
1116 * unwind-generic.h (_Unwind_Frames_Extra): New.
1117 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
1118 parameter. Add local variable frames to count number of frames.
1119 (_Unwind_ForcedUnwind_Phase2): Likewise.
1120 (_Unwind_RaiseException): Add local variable frames to count
1121 number of frames, pass it to _Unwind_RaiseException_Phase2 and
1122 uw_install_context.
1123 (_Unwind_ForcedUnwind): Likewise.
1124 (_Unwind_Resume): Likewise.
1125 (_Unwind_Resume_or_Rethrow): Likewise.
1126
1127 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1128
1129 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
1130 (CET_FLAGS): New.
1131 * config/i386/morestack.S: Include <cet.h>.
1132 (__morestack_large_model): Add _CET_ENDBR at function entrance.
1133 * config/i386/resms64.h: Include <cet.h>.
1134 * config/i386/resms64f.h: Likewise.
1135 * config/i386/resms64fx.h: Likewise.
1136 * config/i386/resms64x.h: Likewise.
1137 * config/i386/savms64.h: Likewise.
1138 * config/i386/savms64f.h: Likewise.
1139 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
1140 (CRTSTUFF_T_CFLAGS): Likewise.
1141 * configure.ac: Include ../config/cet.m4.
1142 Set and substitute CET_FLAGS.
1143 * configure: Regenerated.
1144
1145 2017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1146
1147 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
1148 renaming.
1149 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
1150 * configure.ac (libgcc_cv_solaris_crts): Likewise.
1151 * configure: Regenerate.
1152
1153 2017-11-07 Tom de Vries <tom@codesourcery.com>
1154
1155 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
1156 after "do {} while (0)".
1157
1158 2017-11-07 Tom de Vries <tom@codesourcery.com>
1159
1160 PR other/82784
1161 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
1162 semicolon after "do {} while (0)".
1163 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1164 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1165 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1166 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1167
1168 2017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
1169
1170 PR libgcc/82635
1171 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
1172 sysctl to determine whether we're in a trampoline.
1173 Keep the pattern matching method for systems without
1174 KERN_PROC_SIGTRAMP sysctl.
1175
1176 2017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
1177 Vineet Gupta <vgupta@synopsys.com>
1178
1179 * config.host (arc*-*-linux*): Set md_unwind_header variable.
1180 * config/arc/linux-unwind-reg.def: New file.
1181 * config/arc/linux-unwind-reg.h: Likewise.
1182
1183 2017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
1184
1185 * config/rl78/subdi3.S: New assembly file.
1186 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
1187
1188 2017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
1189
1190 * config/rl78/adddi3.S: New assembly file.
1191 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
1192
1193 2017-10-13 Jakub Jelinek <jakub@redhat.com>
1194
1195 PR target/82274
1196 * libgcc2.c (__mulvDI3): If both operands have
1197 the same highpart of -1 and the topmost bit of lowpart is 0,
1198 multiplication overflows even if both lowparts are 0.
1199
1200 2017-09-28 James Bowman <james.bowman@ftdichip.com>
1201
1202 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
1203
1204 2017-09-26 Joseph Myers <joseph@codesourcery.com>
1205
1206 * config/microblaze/crti.S, config/microblaze/crtn.S,
1207 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
1208 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
1209 config/microblaze/mulsi3.S,
1210 config/microblaze/stack_overflow_exit.S,
1211 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
1212 config/pa/milli64.S: Add .note.GNU-stack section.
1213
1214 2017-09-23 Daniel Santos <daniel.santos@pobox.com>
1215
1216 * configure.ac: Add Check for HAVE_AS_AVX.
1217 * config.in: Regenerate.
1218 * configure: Likewise.
1219 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
1220 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
1221 Correct out-of-date comments.
1222
1223 2017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
1224
1225 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
1226 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
1227
1228 2017-09-17 Daniel Santos <daniel.santos@pobox.com>
1229
1230 * config/i386/i386-asm.h (PASTE2): New macro.
1231 (ASMNAME): Modify to use PASTE2.
1232 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
1233 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
1234 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
1235 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
1236 * config/i386/resms64f.S: Likewise.
1237 * config/i386/resms64fx.S: Likewise.
1238 * config/i386/resms64x.S: Likewise.
1239 * config/i386/savms64.S: Likewise.
1240 * config/i386/savms64f.S: Likewise.
1241 * config/i386/avx_resms64.S: New file that only defines a macro and
1242 includes it's corresponding header file.
1243 * config/i386/avx_resms64f.S: Likewise.
1244 * config/i386/avx_resms64fx.S: Likewise.
1245 * config/i386/avx_resms64x.S: Likewise.
1246 * config/i386/avx_savms64.S: Likewise.
1247 * config/i386/avx_savms64f.S: Likewise.
1248 * config/i386/sse_resms64.S: Likewise.
1249 * config/i386/sse_resms64f.S: Likewise.
1250 * config/i386/sse_resms64fx.S: Likewise.
1251 * config/i386/sse_resms64x.S: Likewise.
1252 * config/i386/sse_savms64.S: Likewise.
1253 * config/i386/sse_savms64f.S: Likewise.
1254 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
1255
1256 2017-09-01 Olivier Hainque <hainque@adacore.com>
1257 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
1258
1259 2017-08-31 Olivier Hainque <hainque@adacore.com>
1260
1261 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
1262 match as powerpc-wrs-vxworks*.
1263
1264 2017-08-07 Jonathan Yong <10walls@gmail.com>
1265
1266 * config.host (*-cygwin): Include file from mingw
1267 config/i386/enable-execute-stack-mingw32.c
1268
1269 2017-08-01 Jerome Lambourg <lambourg@adacore.com>
1270 Doug Rupp <rupp@adacore.com>
1271 Olivier Hainque <hainque@adacore.com>
1272
1273 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
1274 as well as arm-wrs-vxworks.
1275 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
1276 LIB2ADDEH.
1277 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
1278 __exidx_start and __exidx_end for downloadable modules.
1279
1280 2017-08-01 Olivier Hainque <hainque@adacore.com>
1281
1282 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
1283 * config/t-vxworks7: Likewise.
1284
1285 2017-08-01 Olivier Hainque <hainque@adacore.com>
1286
1287 * config/t-vxworks: Instead of redefining LIB2ADD,
1288 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
1289
1290 2017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1291
1292 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
1293
1294 2017-07-24 Daniel Santos <daniel.santos@pobox.com>
1295
1296 PR testsuite/80759
1297 * config.host: include i386/t-msabi for darwin and solaris.
1298 * config/i386/i386-asm.h
1299 (ELFFN): Rename to FN_TYPE.
1300 (FN_SIZE): New macro.
1301 (FN_HIDDEN): Likewise.
1302 (ASMNAME): Likewise.
1303 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
1304 .globl.
1305 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
1306 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
1307 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
1308 .macro.
1309 * config/i386/resms64f.S: Likewise.
1310 * config/i386/resms64fx.S: Likewise.
1311 * config/i386/resms64x.S: Likewise.
1312 * config/i386/savms64.S: Likewise.
1313 * config/i386/savms64f.S: Likewise.
1314
1315 2017-07-19 John Marino <gnugcc@marino.st>
1316
1317 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
1318
1319 2017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
1320
1321 PR target/81193
1322 * configure.ac (PowerPC float128 hardware support): Test whether
1323 we can use __builtin_cpu_supports before enabling the ifunc
1324 handler.
1325 * configure: Regenerate.
1326
1327 2017-07-10 Vineet Gupta <vgupta@synopsys.com>
1328
1329 * config.host: Remove uclibc from arc target spec.
1330
1331 2017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
1332
1333 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
1334
1335 2017-07-07 Peter Bergner <bergner@vnet.ibm.com>
1336
1337 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
1338 (have_ieee_hw_p): Delete function.
1339 (SW_OR_HW) Use __builtin_cpu_supports().
1340
1341 2017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
1342
1343 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
1344
1345 2017-07-03 Olivier Hainque <hainque@adacore.com>
1346
1347 * config/t-vxworks7: New file, really.
1348
1349 2017-06-28 Joseph Myers <joseph@codesourcery.com>
1350
1351 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
1352 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
1353 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
1354 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
1355 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
1356 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
1357 config/pa/linux-unwind.h (pa32_fallback_frame_state),
1358 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
1359 config/sh/linux-unwind.h (sh_fallback_frame_state),
1360 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
1361 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
1362 ucontext_t instead of struct ucontext.
1363
1364 2017-06-27 Jerome Lambourg <lambourg@adacore.com>
1365
1366 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
1367 (x86_64-wrs-vxworks7): Likewise.
1368
1369 2017-06-27 Olivier Hainque <hainque@adacore.com>
1370
1371 * config/t-vxworks7: New file.
1372 * config.host (*-*-vxworks7): Use it.
1373
1374 2017-06-22 Matt Turner <mattst88@gmail.com>
1375
1376 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
1377 skylake case.
1378
1379 2017-06-21 Richard Biener <rguenther@suse.de>
1380
1381 PR gcov-profile/81080
1382 * configure.ac: Add AC_SYS_LARGEFILE.
1383 * libgcov.h: Include auto-target.h before tsystem.h to pick
1384 up _FILE_OFFSET_BITS which might differ for multilibs.
1385 * config.in: Regenerate.
1386 * configure: Likewise.
1387
1388 2017-06-16 Richard Earnshaw <rearnsha@arm.com>
1389
1390 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
1391
1392 2017-06-09 Martin Liska <mliska@suse.cz>
1393
1394 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
1395 Reset __gcov_indirect_call_callee to NULL.
1396
1397 2017-06-08 Olivier Hainque <hainque@adacore.com>
1398
1399 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
1400 the set of -I options, support for direct inclusions of net/uio.h
1401 by VxWorks header files via ioLib.h.
1402
1403 2017-06-07 Tony Reix <tony.reix@atos.net>
1404 Matthieu Sarter <matthieu.sarter.external@atos.net>
1405 David Edelsohn <dje.gcc@gmail.com>
1406
1407 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
1408 unconditionally.
1409 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
1410 AIX 7.2 support.
1411
1412 2017-06-02 Olivier Hainque <hainque@adacore.com>
1413
1414 * config/vxlib.c (__gthread_once): Add missing value to
1415 return statement.
1416
1417 2017-05-30 Olivier Hainque <hainque@adacore.com>
1418
1419 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
1420 dollar sign before $(MULTIDIR).
1421
1422 2017-05-26 Richard Henderson <rth@redhat.com>
1423
1424 PR libgcc/80037
1425 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
1426
1427 2017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
1428
1429 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
1430 _Unwind_SetIP available as functions for arm*-*-freebsd*.
1431 * config/arm/unwind-arm.c: Implement the above.
1432
1433 2017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1434
1435 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
1436 section for a non-executable stack.
1437
1438 2017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
1439
1440 PR target/80600
1441 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
1442
1443 2017-05-14 Daniel Santos <daniel.santos@pobox.com>
1444
1445 * config.host: Add i386/t-msabi to i386/t-linux file list.
1446 * config/i386/i386-asm.h: New file.
1447 * config/i386/resms64.S: New file.
1448 * config/i386/resms64f.S: New file.
1449 * config/i386/resms64fx.S: New file.
1450 * config/i386/resms64x.S: New file.
1451 * config/i386/savms64.S: New file.
1452 * config/i386/savms64f.S: New file.
1453 * config/i386/t-msabi: New file.
1454
1455 2017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
1456
1457 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
1458 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
1459
1460 2017-05-05 Joshua Conner <joshconner@google.com>
1461
1462 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
1463 pc-relative indirect handling for fuchsia.
1464 * config/t-slibgcc-fuchsia: New file.
1465 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
1466 x86_64-*-fuchsia*): Add definitions.
1467
1468 2017-04-19 Martin Liska <mliska@suse.cz>
1469
1470 PR gcov-profile/80435
1471 * Makefile.in: Install gcov.h.
1472 * gcov.h: New file.
1473 * libgcov.h: Use the header and make __gcov_flush publicly
1474 visible.
1475
1476 2017-04-18 Martin Liska <mliska@suse.cz>
1477
1478 PR gcov-profile/78783
1479 * libgcov-driver.c (gcov_get_filename): New function.
1480
1481 2017-04-07 Jeff Law <law@redhat.com>
1482
1483 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
1484 target makefile fragment.
1485 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
1486
1487 2017-04-07 Alan Modra <amodra@gmail.com>
1488
1489 PR target/45053
1490 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
1491
1492 2017-04-03 Jonathan Wakely <jwakely@redhat.com>
1493
1494 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
1495
1496 2017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
1497
1498 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
1499
1500 2017-03-10 John Marino <gnugcc@marino.st>
1501
1502 * config/aarch64/freebsd-unwind.h: New file.
1503 * config.host: Add aarch64-*-freebsd unwinder.
1504
1505 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1506
1507 * config/rs6000/crtrestvr.s: Use .machine altivec.
1508 * config/rs6000/crtsavevr.s: Ditto.
1509
1510 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1511
1512 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
1513 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
1514 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
1515 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
1516 * configure: Regenerate.
1517 * config.in: Regenerate.
1518
1519 2017-03-02 Jonathan Yong <10walls@gmail.com>
1520
1521 * config/i386/gthr-win32.h: Define NOGDI before
1522 windows.h include to prevent w32api CC_NONE macro
1523 clash with libgfortran.
1524
1525 2017-03-02 Jonathan Yong <10walls@gmail.com>
1526
1527 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
1528
1529 2017-02-16 Andrew Pinski <apinski@cavium.com>
1530
1531 * config/aarch64/value-unwind.h: New file.
1532 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
1533 to tm_file.
1534
1535 2017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
1536
1537 * config.host: Add RISC-V tuples.
1538 * config/riscv/atomic.c: New file.
1539 * config/riscv/crti.S: Likewise.
1540 * config/riscv/crtn.S: Likewise.
1541 * config/riscv/div.S: Likewise.
1542 * config/riscv/linux-unwind.h: Likewise.
1543 * config/riscv/muldi3.S: Likewise.
1544 * config/riscv/multi3.S: Likewise.
1545 * config/riscv/save-restore.S: Likewise.
1546 * config/riscv/sfp-machine.h: Likewise.
1547 * config/riscv/t-elf: Likewise.
1548 * config/riscv/t-elf32: Likewise.
1549 * config/riscv/t-elf64: Likewise.
1550 * config/riscv/t-softfp32: Likewise.
1551 * config/riscv/t-softfp64: Likewise.
1552
1553 2017-01-24 Jakub Jelinek <jakub@redhat.com>
1554
1555 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
1556 /* FALLTHRU */ comments.
1557
1558 2017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
1559
1560 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
1561
1562 2017-01-20 Jiong Wang <jiong.wang@arm.com>
1563
1564 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
1565 * unwind-dw2.c (execute_cfa_program): Only multiplexing
1566 DW_CFA_GNU_window_save for AArch64 and LP64.
1567
1568 2017-01-20 Jiong Wang <jiong.wang@arm.com>
1569
1570 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
1571
1572 2017-01-19 Jiong Wang <jiong.wang@arm.com>
1573
1574 * config/aarch64/aarch64-unwind.h: New file.
1575 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
1576 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
1577 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
1578 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
1579 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
1580 (aarch64_post_extract_frame_addr): New function.
1581 (aarch64_post_frob_eh_handler_addr): New function.
1582 (aarch64_frob_update_context): New function.
1583 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
1584 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
1585 aarch64*-*-freebsd*):
1586 Initialize md_unwind_header to include aarch64-unwind.h.
1587 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
1588 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
1589 __aarch64__.
1590 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
1591 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
1592 (uw_frob_return_addr): New function.
1593 (uw_install_context): Use uw_frob_return_addr.
1594
1595 2017-01-17 Jakub Jelinek <jakub@redhat.com>
1596
1597 PR other/79046
1598 * configure.ac: Add GCC_BASE_VER.
1599 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
1600 version from BASE-VER file.
1601 * configure: Regenerated.
1602
1603 2017-01-13 Joe Seymour <joe.s@somniumtech.com>
1604
1605 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
1606 libmul_f5.a): Filter archived prerequisites.
1607
1608 2017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
1609
1610 * config/i386/cpuinfo.h (processor_features): Add
1611 FEATURE_AVX512VPOPCNTDQ.
1612 * config/i386/cpuinfo.c (get_available_features): Habdle new
1613 feature.
1614
1615 2017-01-04 Joseph Myers <joseph@codesourcery.com>
1616
1617 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
1618 payload if [__mips_nan2008].
1619
1620 2017-01-04 Alan Modra <amodra@gmail.com>
1621
1622 * Makefile.in (configure_deps): Update.
1623 * configure: Regenerate.
1624
1625 2017-01-01 Jakub Jelinek <jakub@redhat.com>
1626
1627 Update copyright years.
1628
1629 2016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
1630
1631 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
1632 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
1633 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
1634
1635 2016-12-17 Matthias Klose <doko@ubuntu.com>
1636
1637 * config/arc/gmon: Remove empty directory.
1638
1639 2016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
1640
1641 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
1642 crtgend.
1643 (arc*-*-elf*): Likewise.
1644 * config/arc/t-arc: Remove old gmon lib targets.
1645 * config/arc/crtg.S: Remove.
1646 * config/arc/crtgend.S: Likewise.
1647 * config/arc/gmon/atomic.h: Likewise.
1648 * config/arc/gmon/auxreg.h: Likewise.
1649 * config/arc/gmon/dcache_linesz.S: Likewise.
1650 * config/arc/gmon/gmon.c: Likewise.
1651 * config/arc/gmon/machine-gmon.h: Likewise.
1652 * config/arc/gmon/mcount.c: Likewise.
1653 * config/arc/gmon/prof-freq-stub.S: Likewise.
1654 * config/arc/gmon/prof-freq.c: Likewise.
1655 * config/arc/gmon/profil.S: Likewise.
1656 * config/arc/gmon/sys/gmon.h: Likewise.
1657 * config/arc/gmon/sys/gmon_out.h: Likewise.
1658 * config/arc/t-arc-newlib: Likewise.
1659 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
1660
1661 2016-12-12 George Spelvin <linux@sciencehorizons.net>
1662
1663 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
1664
1665 2016-12-12 George Spelvin <linux@sciencehorizons.net>
1666
1667 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
1668 R16 instead of push + pop.
1669 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
1670
1671 2016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
1672
1673 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
1674 tmake_file.
1675
1676 2016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
1677
1678 * config.host (arc*-*-linux-uclibc*): Use default extra
1679 objects. Include linux-android header.
1680 * config/arc/crti.S (_init): Declare symbol as function.
1681 (_fini): Likewise.
1682
1683 2016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
1684
1685 PR fortran/78379
1686 * config/i386/cpuinfo.c: Move denums for processor vendors,
1687 processor type, processor subtypes and declaration of
1688 struct __processor_model into
1689 * config/i386/cpuinfo.h: New header file.
1690
1691 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1692 Thomas Preud'homme <thomas.preudhomme@arm.com>
1693
1694 * config/arm/cmse_nonsecure_call.S: New.
1695 * config/arm/t-arm: Compile cmse_nonsecure_call.S
1696
1697 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1698 Thomas Preud'homme <thomas.preudhomme@arm.com>
1699
1700 * config/arm/t-arm (HAVE_CMSE): New.
1701 * config/arm/cmse.c: New.
1702
1703 2016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
1704
1705 PR gcc/74748
1706 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
1707 use generic linker version information on Blackfin.
1708
1709 PR gcc/74748
1710 * libgcc/mkmap-symver.awk: add support for skip_underscore
1711
1712 2016-11-27 Iain Sandoe <iain@codesourcery.com>
1713 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1714
1715 PR target/67710
1716 * config/t-darwin: Default builds to 10.5 codegen.
1717
1718 2016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
1719
1720 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
1721 (_FP_NANSIGN_H): Likewise.
1722 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
1723 (softfp_truncations): Add tfhf.
1724 (softfp_extras): Add required conversion functions.
1725
1726 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1727 Matthew Wahab <matthew.wahab@arm.com>
1728
1729 * config/arm/fp16.c (binary64): New.
1730 (__gnu_d2h_internal): New.
1731 (__gnu_d2h_ieee): New.
1732 (__gnu_d2h_alternative): New.
1733
1734 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1735 Matthew Wahab <matthew.wahab@arm.com>
1736
1737 * config/arm/fp16.c (struct format): New.
1738 (binary32): New.
1739 (__gnu_float2h_internal): New. Body moved from
1740 __gnu_f2h_internal and generalize.
1741 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
1742 Call it with binary32.
1743
1744 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1745
1746 * soft-fp/extendhftf2.c: Update from glibc.
1747 * soft-fp/fixhfti.c: Likewise.
1748 * soft-fp/fixunshfti.c: Likewise.
1749 * soft-fp/floattihf.c: Likewise.
1750 * soft-fp/floatuntihf.c: Likewise.
1751 * soft-fp/half.h: Likewise.
1752 * soft-fp/trunctfhf2.c: Likewise.
1753
1754 2016-11-20 Marc Glisse <marc.glisse@inria.fr>
1755
1756 PR libgcc/77813
1757 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
1758 __TMC_END__ behind a passthrough asm.
1759
1760 2016-11-18 Walter Lee <walt@tilera.com>
1761
1762 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
1763
1764 2016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
1765
1766 * config/i386/cpuinfo.c (processor_features): Add
1767 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
1768
1769 2016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
1770
1771 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
1772 (__ARC_NORM__): Use instead ARC_OPTFPE.
1773 * config/arc/fp-hack.h: Likewise.
1774 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
1775 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
1776
1777 2016-11-16 Alexander Monakov <amonakov@ispras.ru>
1778
1779 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
1780 * config/nvptx/mgomp.c: New file.
1781 * config/nvptx/t-nvptx: Add mgomp.c
1782
1783 2016-11-16 Waldemar Brodkorb <wbx@openadk.org>
1784
1785 PR libgcc/68468
1786 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
1787
1788 2016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
1789
1790 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
1791 of checking for cpus.
1792 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
1793 (__modsi3, __clzsi2): Likewise.
1794
1795 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
1796
1797 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
1798 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
1799 * config/i386/t-cpuinfo-static: New.
1800
1801 2016-11-03 Martin Liska <mliska@suse.cz>
1802
1803 * libgcov-profiler.c (__gcov_time_profiler): Remove.
1804 (__gcov_time_profiler_atomic): Likewise.
1805
1806 2016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
1807
1808 PR libgcc/78067
1809 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
1810 count_leading_zeros.
1811
1812 2016-11-02 Uros Bizjak <ubizjak@gmail.com>
1813
1814 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
1815 * libgcc2.c (__divmoddi4): New function.
1816 * libgcc2.h (__divmoddi4): Declare.
1817 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
1818 and __PFX_divmodti4.
1819
1820 2016-10-24 Florian Weimer <fweimer@redhat.com>
1821
1822 PR libgcc/78064
1823 * unwind-c.c: Include auto-target.h.
1824
1825 2016-10-19 John David Anglin <danglin@gcc.gnu.org>
1826
1827 * config/pa/pa64-hpux-lib.h: New file.
1828 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
1829 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
1830 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
1831 hppa*64*-*-hpux11*.
1832
1833 2016-10-18 Max Filippov <jcmvbkbc@gmail.com>
1834
1835 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1836 definition.
1837 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1838 definition.
1839 * config/xtensa/t-windowed (LIB2ADDEH): Use
1840 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
1841 or xtensa/t-linux.
1842
1843 2016-10-18 Ding-Kai Chen <dkchen@cadence.com>
1844
1845 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
1846 __ieee754_sqrt): New functions.
1847 (__divdf3): Add implementation with new FPU instructions under
1848 #if XCHAL_HAVE_DFP_DIV.
1849 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
1850 __ieee754_sqrtf): New functions.
1851 (__divsf3): Add implementation with new FPU instructions under
1852 #if XCHAL_HAVE_FP_DIV.
1853 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
1854 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
1855
1856 2016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
1857
1858 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
1859 equivalent.
1860 * config/tilepro/atomic.c: Likewise and stop casting model to
1861 enum memmodel.
1862
1863 2016-10-10 Joseph Myers <joseph@codesourcery.com>
1864
1865 PR target/77586
1866 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
1867 soft-fp.
1868
1869 2016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
1870
1871 * config.host: Add support for aarch64-*-freebsd*.
1872
1873 2016-10-05 Andreas Schwab <schwab@suse.de>
1874
1875 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
1876 (.section .init_array): Don't call __do_jv_register_classes.
1877 (.section .init): Likewise.
1878
1879 2016-10-04 Jakub Jelinek <jakub@redhat.com>
1880
1881 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
1882 (__JCR_LIST__): Remove.
1883 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
1884 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
1885 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
1886 * config/ia64/crtend.S (__JCR_END__): Remove.
1887 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
1888 conditionals.
1889 (__JCR_LIST__, __JCR_END__): Remove.
1890 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
1891 (__do_global_ctors_1): Likewise.
1892
1893 2015-09-28 Uros Bizjak <ubizjak@gmail.com>
1894
1895 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
1896 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
1897
1898 2016-09-27 Martin Liska <mliska@suse.cz>
1899
1900 PR gcov-profile/7970
1901 PR gcov-profile/16855
1902 PR gcov-profile/44779
1903 * libgcov-driver.c (__gcov_init): Do not register a atexit
1904 handler.
1905 (__gcov_exit): Rename from gcov_exit.
1906 * libgcov.h (__gcov_exit): Declare.
1907
1908 2016-09-27 Martin Liska <mliska@suse.cz>
1909
1910 PR bootstrap/77749
1911 * Makefile.in: Remove _gcov_merge_delta.
1912 * libgcov-merge.c (void __gcov_merge_delta): Remove.
1913 * libgcov-util.c (__gcov_delta_counter_op): Remove.
1914 * libgcov.h: Remove declaration of __gcov_merge_delta.
1915
1916 2016-09-21 Eric Botcazou <ebotcazou@adacore.com>
1917
1918 * configure.ac: Do not create links, only substitute the filenames.
1919 * configure: Regenerate.
1920 * Makefile.in: Assign the substitution results to variables.
1921 (LIBGCC_LINKS): Define.
1922 (enable-execute-stack.c): New rule.
1923 (unwind.h): Likewise.
1924 (md-unwind-support.h): Likewise.
1925 (sfp-machine.h): Likewise.
1926 (gthr-default.h): Likewise.
1927 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
1928 unwind.h as prerequisite of install-unwind_h-forbuild.
1929
1930 2016-09-16 Jakub Jelinek <jakub@redhat.com>
1931
1932 PR libgcc/71744
1933 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
1934 is not the primary registry and atomics are available.
1935 (any_objects_registered): New variable.
1936 (__register_frame_info_bases, __register_frame_info_table_bases):
1937 Atomically store 1 to any_objects_registered after registering first
1938 unwind info.
1939 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
1940
1941 2016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
1942
1943 PR target/63250
1944 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
1945 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
1946 (HFtype): Likewise.
1947 (HCtype): Likewise.
1948 (__divhc3): Likewise.
1949 (__mulhc3): Likewise.
1950 * libgcc2.c: Support _mulhc3 and _divhc3.
1951
1952 2016-09-07 Joseph Myers <joseph@codesourcery.com>
1953
1954 PR libgcc/77519
1955 * libgcc2.c (NOTRUNC): Invert settings.
1956
1957 2016-09-06 Martin Liska <mliska@suse.cz>
1958
1959 PR gcov-profile/77378
1960 PR gcov-profile/77466
1961 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
1962 conditionaly enable/disable *_atomic functions.
1963
1964 2016-08-26 Joseph Myers <joseph@codesourcery.com>
1965
1966 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
1967 where not already enabled.
1968
1969 2016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
1970
1971 * config/mips/linux-unwind.h: Use sys/syscall.h.
1972
1973 2016-08-16 Joseph Myers <joseph@codesourcery.com>
1974
1975 PR libgcc/77265
1976 * soft-fp/adddf3.c: Update from glibc.
1977 * soft-fp/addsf3.c: Likewise.
1978 * soft-fp/addtf3.c: Likewise.
1979 * soft-fp/divdf3.c: Likewise.
1980 * soft-fp/divsf3.c: Likewise.
1981 * soft-fp/divtf3.c: Likewise.
1982 * soft-fp/double.h: Likewise.
1983 * soft-fp/eqdf2.c: Likewise.
1984 * soft-fp/eqsf2.c: Likewise.
1985 * soft-fp/eqtf2.c: Likewise.
1986 * soft-fp/extenddftf2.c: Likewise.
1987 * soft-fp/extended.h: Likewise.
1988 * soft-fp/extendsfdf2.c: Likewise.
1989 * soft-fp/extendsftf2.c: Likewise.
1990 * soft-fp/extendxftf2.c: Likewise.
1991 * soft-fp/fixdfdi.c: Likewise.
1992 * soft-fp/fixdfsi.c: Likewise.
1993 * soft-fp/fixdfti.c: Likewise.
1994 * soft-fp/fixsfdi.c: Likewise.
1995 * soft-fp/fixsfsi.c: Likewise.
1996 * soft-fp/fixsfti.c: Likewise.
1997 * soft-fp/fixtfdi.c: Likewise.
1998 * soft-fp/fixtfsi.c: Likewise.
1999 * soft-fp/fixtfti.c: Likewise.
2000 * soft-fp/fixunsdfdi.c: Likewise.
2001 * soft-fp/fixunsdfsi.c: Likewise.
2002 * soft-fp/fixunsdfti.c: Likewise.
2003 * soft-fp/fixunssfdi.c: Likewise.
2004 * soft-fp/fixunssfsi.c: Likewise.
2005 * soft-fp/fixunssfti.c: Likewise.
2006 * soft-fp/fixunstfdi.c: Likewise.
2007 * soft-fp/fixunstfsi.c: Likewise.
2008 * soft-fp/fixunstfti.c: Likewise.
2009 * soft-fp/floatdidf.c: Likewise.
2010 * soft-fp/floatdisf.c: Likewise.
2011 * soft-fp/floatditf.c: Likewise.
2012 * soft-fp/floatsidf.c: Likewise.
2013 * soft-fp/floatsisf.c: Likewise.
2014 * soft-fp/floatsitf.c: Likewise.
2015 * soft-fp/floattidf.c: Likewise.
2016 * soft-fp/floattisf.c: Likewise.
2017 * soft-fp/floattitf.c: Likewise.
2018 * soft-fp/floatundidf.c: Likewise.
2019 * soft-fp/floatundisf.c: Likewise.
2020 * soft-fp/floatunditf.c: Likewise.
2021 * soft-fp/floatunsidf.c: Likewise.
2022 * soft-fp/floatunsisf.c: Likewise.
2023 * soft-fp/floatunsitf.c: Likewise.
2024 * soft-fp/floatuntidf.c: Likewise.
2025 * soft-fp/floatuntisf.c: Likewise.
2026 * soft-fp/floatuntitf.c: Likewise.
2027 * soft-fp/gedf2.c: Likewise.
2028 * soft-fp/gesf2.c: Likewise.
2029 * soft-fp/getf2.c: Likewise.
2030 * soft-fp/ledf2.c: Likewise.
2031 * soft-fp/lesf2.c: Likewise.
2032 * soft-fp/letf2.c: Likewise.
2033 * soft-fp/muldf3.c: Likewise.
2034 * soft-fp/mulsf3.c: Likewise.
2035 * soft-fp/multf3.c: Likewise.
2036 * soft-fp/negdf2.c: Likewise.
2037 * soft-fp/negsf2.c: Likewise.
2038 * soft-fp/negtf2.c: Likewise.
2039 * soft-fp/op-1.h: Likewise.
2040 * soft-fp/op-2.h: Likewise.
2041 * soft-fp/op-4.h: Likewise.
2042 * soft-fp/op-8.h: Likewise.
2043 * soft-fp/op-common.h: Likewise.
2044 * soft-fp/quad.h: Likewise.
2045 * soft-fp/single.h: Likewise.
2046 * soft-fp/soft-fp.h: Likewise.
2047 * soft-fp/subdf3.c: Likewise.
2048 * soft-fp/subsf3.c: Likewise.
2049 * soft-fp/subtf3.c: Likewise.
2050 * soft-fp/truncdfsf2.c: Likewise.
2051 * soft-fp/trunctfdf2.c: Likewise.
2052 * soft-fp/trunctfsf2.c: Likewise.
2053 * soft-fp/trunctfxf2.c: Likewise.
2054 * soft-fp/unorddf2.c: Likewise.
2055 * soft-fp/unordsf2.c: Likewise.
2056 * soft-fp/unordtf2.c: Likewise.
2057
2058 2016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
2059
2060 PR gcov-profile/67097
2061 * libgcov-util.c (gcov_profile_merge): Skip missing files.
2062
2063 2016-08-10 Martin Liska <mliska@suse.cz>
2064
2065 PR gcov-profile/58306
2066 * Makefile.in: New functions (modules) are added.
2067 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
2068 function.
2069 (__gcov_pow2_profiler_atomic): New function.
2070 (__gcov_one_value_profiler_body): New argument is instroduced.
2071 (__gcov_one_value_profiler): Call with the new argument.
2072 (__gcov_one_value_profiler_atomic): Likewise.
2073 (__gcov_indirect_call_profiler_v2): Likewise.
2074 (__gcov_time_profiler_atomic): New function.
2075 (__gcov_average_profiler_atomic): Likewise.
2076 (__gcov_ior_profiler_atomic): Likewise.
2077 * libgcov.h: Declare the aforementioned functions.
2078
2079 2016-08-09 Martin Liska <mliska@suse.cz>
2080
2081 * libgcov-util.c: Fix typo and GNU coding style.
2082
2083 2016-08-09 Martin Liska <mliska@suse.cz>
2084
2085 * Makefile.in: Remove __gcov_indirect_call_profiler.
2086 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
2087 function.
2088 * libgcov.h: And the declaration of the function.
2089
2090 2016-08-09 Martin Liska <mliska@suse.cz>
2091
2092 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
2093 power of two.
2094
2095 2016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2096
2097 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
2098 * config/rs6000/_mulkc3.c: Likewise.
2099
2100 2016-07-29 Georg-Johann Lay <avr@gjlay.de>
2101
2102 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
2103 zero_reg as previous call to __umulhisi3 already cleared it.
2104
2105 2016-07-21 Aurelien Jarno <aurelien@aurel32.net>
2106
2107 PR target/59833
2108 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
2109
2110 2016-07-19 Nick Clifton <nickc@redhat.com>
2111
2112 * config.host (m32r): Add m32r/t-m32r to tmake_file.
2113 Add crtinit.o and crtfini.o to extra_parts.
2114
2115 2016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2116
2117 * config/rs6000/_divkc3.c: New.
2118 * config/rs6000/_mulkc3.c: New.
2119 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
2120 and _divkc3.
2121 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
2122 fp128_ppc_funcs.
2123
2124 2016-07-11 Hale Wang <hale.wang@arm.com>
2125 Andre Vieira <andre.simoesdiasvieira@arm.com>
2126
2127 * config/arm/lib1funcs.S: Add new wrapper.
2128
2129 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2130
2131 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
2132
2133 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2134
2135 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
2136 and ARMv5t* rather than for a fixed list of architectures.
2137
2138 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2139
2140 * config/arm/bpabi-v6m.S: Clarify what architectures is the
2141 implementation suitable for.
2142 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
2143 for all Thumb-1 only targets.
2144 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
2145 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
2146 __ARM_ARCH_6M__.
2147 (EQUIV): Likewise.
2148 (ARM_FUNC_ALIAS): Likewise.
2149 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
2150 version.
2151 (modsi3): Likewise.
2152 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
2153 (clzdi2): Likewise.
2154 (ctzsi2): Likewise.
2155 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
2156 __ARM_ARCH_6M__ in guard for checking whether it is defined.
2157 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
2158 __ARM_ARCH_6M__ and add comment to indicate the connection between
2159 this condition and the one in gcc/config/arm/elf.h.
2160 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
2161 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
2162 * config/arm/t-softfp: Likewise.
2163
2164 2016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2165
2166 * libgcc2.c (SYMBOL__MAIN): Remove checks for
2167 CTOR_LISTS_DEFINED_EXTERNALLY.
2168
2169 2016-06-28 Walter Lee <walt@tilera.com>
2170
2171 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
2172 asm/unistd.h.
2173 (SPR_CMPEXCH_VALUE): Define for tilegx.
2174 (__NR_FAST_cmpxchg): Define for tilepro.
2175 (__NR_FAST_atomic_update): Define for tilepro.
2176 (__NR_FAST_cmpxchg64): Define for tilepro.
2177
2178 2016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
2179
2180 * config.host: Add suport for arm*-*-phoenix* targets.
2181
2182 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2183
2184 * config.host: Remove support for mep-*.
2185 * config/mep/lib1funcs.S: Remove.
2186 * config/mep/lib2funcs.c: Remove.
2187 * config/mep/t-mep: Remove.
2188 * config/mep/tramp.c: Remove.
2189
2190 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2191
2192 * config.host: Remove support for avr-rtems.
2193 * config/avr/t-rtems: Remove.
2194
2195 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2196
2197 * config.host: Remove m32r-rtems support.
2198
2199 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2200
2201 * config.host: Remove h8300-rtems support.
2202
2203 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2204
2205 * config.host: Remove support for knetbsd.
2206
2207 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2208
2209 * config.host: Remove support for openbsd 2 and 3.
2210
2211 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2212
2213 * config.host: Remove interix support.
2214 * config/i386/t-interix: Remove.
2215
2216 2016-06-18 John David Anglin <danglin@gcc.gnu.org>
2217
2218 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
2219 least-significant bit in function pointer for fixup.
2220
2221 2016-06-05 Aaron Conole <aconole@redhat.com>
2222 Nathan Sidwell <nathan@acm.org>
2223
2224 PR libgcc/71400
2225 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
2226 (get_gcov_error_file): Check __gcov_error_file before trying to
2227 initialize it.
2228 (gcov_error): Always use get_gcov_error_file.
2229
2230 2016-06-02 Aaron Conole <aconole@redhat.com>
2231
2232 * libgcov-driver-system.c (__gcov_error_file): New.
2233 (get_gcov_error_file): New.
2234 (gcov_error): Use and set __gcov_error_file.
2235 (gcov_error_exit): New.
2236 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
2237
2238 2016-05-26 Nathan Sidwell <nathan@acm.org>
2239
2240 * config/nvptx/free.asm: Delete.
2241 * config/nvptx/malloc.asm: Delete.
2242 * config/nvptx/realloc.c: Delete.
2243 * t-nvptx: Update.
2244
2245 2016-05-25 Nathan Sidwell <nathan@acm.org>
2246
2247 * config/nvptx/crt0.s: Delete.
2248 * config/nvptx/crt0.c: New.
2249 * t-nvptx: Update.
2250
2251 2016-05-19 Sandra Loosemore <sandra@codesourcery.com>
2252
2253 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
2254 dw2/seh configuration.
2255 [x86_64-*-mingw*]: Likewise.
2256
2257 2016-05-10 Joel Sherrill <joel@rtems.org>
2258
2259 PR libgcc/70720
2260 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
2261 targets so the same extra_parts are built. Also have tmake_file add
2262 on to its value rather than override.
2263
2264 2016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
2265
2266 * config.host: Remove SH5 support.
2267 * configure: Likewise.
2268
2269 2016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
2270
2271 * config/sh/crt1.S: Remove SH5 support.
2272 * config/sh/crti.S: Likewise.
2273 * config/sh/crtn.S: Likewise.
2274 * config/sh/lib1funcs-4-300.S: Likewise.
2275 * config/sh/lib1funcs-Os-4-200.S: Likewise.
2276 * config/sh/lib1funcs.S: Likewise.
2277 * config/sh/linux-unwind.h: Likewise.
2278 * config/sh/t-sh64: Delete.
2279
2280 2016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
2281
2282 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
2283
2284 2016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
2285 Joern Rennecke <joern.rennecke@embecosm.com>
2286
2287 * config/arc/crttls.S: New file.
2288 * config/arc/t-arc: New rule.
2289 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
2290
2291 2016-04-25 Nick Clifton <nickc@redhat.com>
2292
2293 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
2294 (__mspabi_cmpd): Likewise.
2295 * config/msp430/floathidf.c (__floathidf): Likewise.
2296 * config/msp430/floathisf.c (__floathisf): Likewise
2297 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
2298 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
2299 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
2300 second parameter.
2301 (__ashrsi3): Likewise.
2302
2303 2016-04-21 Waldemar Brodkorb <wbx@openadk.org>
2304
2305 * config/m68k/linux-atomic.c: Do not include unistd.h
2306
2307 2016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
2308
2309 * config/arm/ieee754-df.S: Fix typos in comments.
2310
2311 2016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
2312
2313 PR target/70381
2314 * configure.ac (powerpc*-*-linux*): Rework tests to build
2315 __float128 emulation routines to not depend on using #pragma GCC
2316 target to enable -mfloat128.
2317 * configure: Regnerate.
2318
2319 2016-04-04 Eric Botcazou <ebotcazou@adacore.com>
2320
2321 PR target/67172
2322 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
2323 __MINGW32__ is defined.
2324
2325 2016-03-28 James Bowman <james.bowman@ftdichip.com>
2326
2327 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
2328
2329 2016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
2330
2331 PR libgcc/70363
2332 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
2333 built with an assembler that does not support ISA 3.0
2334 instructions, rename __extendkftf2_sw to __extendkftf2.
2335
2336 2016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2337
2338 PR target/38239
2339 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
2340 call-clobbered registers.
2341 (internal_mcount): Remove __i386__ handling.
2342
2343 2016-02-26 Joel Sherrill <joel@rtems.org>
2344
2345 * config.host: Add x86_64-*-rtems*.
2346
2347 2016-02-26 Joel Sherrill <joel@rtems.org>
2348
2349 * libgcc/config.host: Add aarch64-*-rtems*.
2350
2351 2016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2352 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2353
2354 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
2355 union of u64 and double.
2356 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
2357 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
2358 value.
2359 (FP_ROUNDMODE): Update the usage of _fpscr.
2360
2361 2016-02-25 Ilya Verbin <ilya.verbin@intel.com>
2362
2363 PR driver/68463
2364 * Makefile.in (crtoffloadtable$(objext)): New rule.
2365 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
2366 enable_offload_targets is not empty.
2367 * configure: Regenerate.
2368 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
2369 crtoffloadtable.
2370
2371 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
2372
2373 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
2374 .literal_position before the function.
2375 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
2376 Likewise.
2377
2378 2016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
2379
2380 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
2381 * config/s390/morestack.S: New file.
2382 * config/s390/t-stack-s390: New file.
2383 * generic-morestack.c (__splitstack_find): Add s390-specific code.
2384
2385 2016-02-12 Walter Lee <walt@tilera.com>
2386
2387 * config.host (tilegx*-*-linux*): remove ti from
2388 softfp_int_modes for 32-bit configs.
2389
2390 2016-02-10 Ian Lance Taylor <iant@google.com>
2391
2392 PR go/68562
2393 * config/i386/morestack.S (__stack_split_initialize): Align
2394 stack.
2395
2396 2016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
2397
2398 PR bootstrap/69611
2399 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
2400 __FLOAT128__ to compile only for __float128 capable targets.
2401
2402 2016-01-25 Jakub Jelinek <jakub@redhat.com>
2403
2404 PR target/69444
2405 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
2406 instead of ___NO_FPRS__.
2407
2408 2016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
2409 Steven Munroe <munroesj@linux.vnet.ibm.com>
2410 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
2411
2412 * config/rs6000/float128-sed: New files to convert TF names to KF
2413 names for PowerPC IEEE 128-bit floating point support.
2414 * config/rs6000/float128-sed-hw: Likewise.
2415
2416 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2417 floating point hardware support.
2418
2419 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2420 128-bit floating point software emulation or use ISA 3.0 hardware
2421 support if it is available.
2422
2423 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2424 floating point.
2425
2426 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
2427 floating point to IBM extended double.
2428
2429 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
2430 double to IEEE 128-bit floating point.
2431
2432 * config/rs6000/t-float128: New Makefile fragments to enable
2433 building __float128 emulation support.
2434 * config/rs6000/t-float128-hw: Likewise.
2435
2436 * config/rs6000/sfp-exceptions.c: New file to provide exception
2437 support for IEEE 128-bit floating point.
2438
2439 * config/rs6000/floattikf.c: New files for converting between IEEE
2440 128-bit floating point and signed/unsigned 128-bit integers.
2441 * config/rs6000/fixunskfti.c: Likewise.
2442 * config/rs6000/fixkfti.c: Likewise.
2443 * config/rs6000/floatuntikf.c: Likewise.
2444
2445 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2446 when building on 64-bit systems, or when VSX is enabled.
2447 (_FP_W_TYPE): Likewise.
2448 (_FP_WS_TYPE): Likewise.
2449 (_FP_I_TYPE): Likewise.
2450 (TItype): Define on 64-bit systems.
2451 (UTItype): Likewise.
2452 (TI_BITS): Likewise.
2453 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2454 (_FP_MUL_MEAT_Q): Likewise.
2455 (_FP_DIV_MEAT_D): Likewise.
2456 (_FP_DIV_MEAT_Q): Likewise.
2457 (_FP_NANFRAC_D): Likewise.
2458 (_FP_NANFRAC_Q): Likewise.
2459 (ISA_BIT): Add exception support if we are being compiled on a
2460 machine with hardware floating point support to build the IEEE
2461 128-bit emulation functions.
2462 (FP_EX_INVALID): Likewise.
2463 (FP_EX_OVERFLOW): Likewise.
2464 (FP_EX_UNDERFLOW): Likewise.
2465 (FP_EX_DIVZERO): Likewise.
2466 (FP_EX_INEXACT): Likewise.
2467 (FP_EX_ALL): Likewise.
2468 (__sfp_handle_exceptions): Likewise.
2469 (FP_HANDLE_EXCEPTIONS): Likewise.
2470 (FP_RND_NEAREST): Likewise.
2471 (FP_RND_ZERO): Likewise.
2472 (FP_RND_PINF): Likewise.
2473 (FP_RND_MINF): Likewise.
2474 (FP_RND_MASK): Likewise.
2475 (_FP_DECL_EX): Likewise.
2476 (FP_INIT_ROUNDMODE): Likewise.
2477 (FP_ROUNDMODE): Likewise.
2478
2479 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2480 VSX code, enable IEEE 128-bit floating point. If the compiler can
2481 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
2482 floating point hardware instructions and it supports declaring
2483 functions with the ifunc attribute, enable ifunc functions to
2484 switch between software and hardware support.
2485 * configure.ac (powerpc*-*-linux*): Likewise.
2486 * configure: Regenerate.
2487
2488 2016-01-15 Nick Clifton <nickc@redhat.com>
2489
2490 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
2491 dependency as the source file to be compiled.
2492 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
2493 (lib2hw_mul_f5.o): Likewise.
2494
2495 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
2496
2497 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
2498 * libgcc/config/rs6000/fixkfti.c: Likewise.
2499 * libgcc/config/rs6000/fixunskfti.c: Likewise.
2500 * libgcc/config/rs6000/float128-hw.c: Likewise.
2501 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
2502 * libgcc/config/rs6000/float128-sed: Likewise.
2503 * libgcc/config/rs6000/floattikf.c: Likewise.
2504 * libgcc/config/rs6000/floatuntikf.c: Likewise.
2505 * libgcc/config/rs6000/quad-float128.h: Likewise.
2506 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
2507 * libgcc/config/rs6000/sfp-machine.h: Likewise.
2508 * libgcc/config/rs6000/t-float128: Likewise.
2509 * libgcc/config/rs6000/t-float128-hw: Likewise.
2510 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
2511 * libgcc/config.host: Likewise.
2512 * libgcc/configure: Likewise.
2513 * libgcc/configure.ac: Likewise.
2514
2515 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
2516 Steven Munroe <munroesj@linux.vnet.ibm.com>
2517 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
2518
2519 * config/rs6000/sfp-exceptions.c: New file to provide exception
2520 support for IEEE 128-bit floating point.
2521
2522 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2523 floating point hardware support.
2524
2525 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
2526 point conversions.
2527 * config/rs6000/fixunskfti.c: Likewise.
2528 * config/rs6000/fixkfti.c: Likewise.
2529 * config/rs6000/floatuntikf.c: Likewise.
2530 * config/rs6000/extendkftf2-sw.c: Likewise.
2531 * config/rs6000/trunctfkf2-sw.c: Likewise.
2532
2533 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2534 128-bit floating point software emulation or use ISA 3.0 hardware
2535 support if it is available.
2536
2537 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2538 floating point.
2539
2540 * config/rs6000/t-float128: New Makefile fragments to enable
2541 building __float128 emulation support.
2542 * config/rs6000/t-float128-hw: Likewise.
2543
2544 * config/rs6000/float128-sed: New file to convert TF names to KF
2545 names for PowerPC IEEE 128-bit floating point support.
2546
2547 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2548 when building on 64-bit systems, or when VSX is enabled.
2549 (_FP_W_TYPE): Likewise.
2550 (_FP_WS_TYPE): Likewise.
2551 (_FP_I_TYPE): Likewise.
2552 (TItype): Define on 64-bit systems.
2553 (UTItype): Likewise.
2554 (TI_BITS): Likewise.
2555 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2556 (_FP_MUL_MEAT_Q): Likewise.
2557 (_FP_DIV_MEAT_D): Likewise.
2558 (_FP_DIV_MEAT_Q): Likewise.
2559 (_FP_NANFRAC_D): Likewise.
2560 (_FP_NANFRAC_Q): Likewise.
2561 (ISA_BIT): Add exception support if we are being compiled on a
2562 machine with hardware floating point support to build the IEEE
2563 128-bit emulation functions.
2564 (FP_EX_INVALID): Likewise.
2565 (FP_EX_OVERFLOW): Likewise.
2566 (FP_EX_UNDERFLOW): Likewise.
2567 (FP_EX_DIVZERO): Likewise.
2568 (FP_EX_INEXACT): Likewise.
2569 (FP_EX_ALL): Likewise.
2570 (__sfp_handle_exceptions): Likewise.
2571 (FP_HANDLE_EXCEPTIONS): Likewise.
2572 (FP_RND_NEAREST): Likewise.
2573 (FP_RND_ZERO): Likewise.
2574 (FP_RND_PINF): Likewise.
2575 (FP_RND_MINF): Likewise.
2576 (FP_RND_MASK): Likewise.
2577 (_FP_DECL_EX): Likewise.
2578 (FP_INIT_ROUNDMODE): Likewise.
2579 (FP_ROUNDMODE): Likewise.
2580
2581 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
2582 compiler can do __float128.
2583 * configure: Regenerate.
2584
2585 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2586 VSX code, enable IEEE 128-bit floating point.
2587
2588 2016-01-05 Olivier Hainque <hainque@adacore.com>
2589
2590 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
2591 specificities.
2592
2593 2016-01-04 Jakub Jelinek <jakub@redhat.com>
2594
2595 Update copyright years.
2596
2597 2015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
2598
2599 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
2600 soft-fp targets.
2601
2602 2015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
2603
2604 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
2605 instead of abort to avoid dependency on stdlib.h.
2606
2607 2015-12-09 John David Anglin <danglin@gcc.gnu.org>
2608
2609 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
2610 to initialize call to __dl_fixup once.
2611
2612 2015-12-04 Nick Clifton <nickc@redhat.com>
2613
2614 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
2615 Allow for the second argument being negative.
2616 * config.host (extra_parts): Define for MSP430. Create separate
2617 libraries for each of the hardware multiply formats.
2618 * config/msp430/lib2hw_mul.S: Build only the multiply routines
2619 that are needed.
2620 * config/msp430/lib2mul.c: Likewise.
2621 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
2622 Add rules to build hardware multiply libraries.
2623 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
2624 __mspabi_divul function.
2625 (__mspabi_divllu): New stub function.
2626
2627 2015-12-01 John David Anglin <danglin@gcc.gnu.org>
2628
2629 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
2630 fixup values if saved GOT address doesn't match runtime address.
2631 (fixup_branch_offset): Reorder list.
2632
2633 2015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2634
2635 * Makefile.in (VTV_CFLAGS): New variable.
2636 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
2637 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
2638 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2639 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
2640 to extra_parts if $enable_vtable_verify = yes.
2641
2642 2015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
2643
2644 PR target/68059
2645 * config/arm/linux-atomic-64bit.c (__write): Rename to...
2646 (write): ...this and fix the return type.
2647
2648 2015-11-19 DJ Delorie <dj@redhat.com>
2649
2650 * config/msp430/lib2hw_mul.S: Fix alignment.
2651
2652 2015-11-18 Nathan Sidwell <nathan@codesourcery.com>
2653
2654 * config/nvptx/reduction.c: New.
2655 * config/nvptx/t-nvptx (LIB2ADD): Add it.
2656
2657 2015-11-15 David Edelsohn <dje.gcc@gmail.com>
2658
2659 * config/rs6000/on_exit.c: New file.
2660 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
2661 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
2662
2663 2015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
2664
2665 * config/arc/dp-hack.h: Add support for ARCHS.
2666 * config/arc/ieee-754/divdf3.S: Likewise.
2667 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
2668 * config/arc/ieee-754/muldf3.S: Likewise.
2669 * config/arc/ieee-754/mulsf3.S: Likewise
2670 * config/arc/lib1funcs.S: Likewise
2671 * config/arc/gmon/dcache_linesz.S: Don't read the build register
2672 for ARCv2 cores.
2673 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
2674 for ARCv2 cores.
2675 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
2676 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
2677 cores.
2678
2679 2015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2680
2681 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
2682 value.
2683 * config/ia64/crtend.S: Likewise.
2684
2685 2015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2686
2687 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
2688 __CHAR_BIT__ instead of BITS_PER_UNIT.
2689 * fixed-bit.h: Likewise.
2690 * fp-bit.h: Likewise.
2691 * libgcc2.c (__popcountSI2): Likewise.
2692 (__popcountDI2): Likewise.
2693 * libgcc2.h: Likewise.
2694 * libgcov.h: Likewise.
2695
2696 2015-11-07 David Edelsohn <dje.gcc@gmail.com>
2697
2698 * config/rs6000/atexit.c: New file.
2699 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
2700 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
2701 * config/rs6000/cxa_finalize.c
2702 (catomic_compare_and_exchange_bool_acq): Negate return value.
2703
2704 2015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
2705
2706 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
2707 (processor_subtypes): Add znver1.
2708 (get_amd_cpu): Detect znver1.
2709
2710 2015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
2711
2712 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
2713 Include crtfastmath.o.
2714
2715 2015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
2716
2717 PR libgcc/66883
2718 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
2719
2720 2015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
2721
2722 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
2723 * config/rl78/divmodsi.S: Update return register to r8.
2724 * config/rl78/divmodhi.S: Update return register to r8,r9.
2725 Branch to main_loop_done_himode to pop registers before return.
2726
2727 2015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
2728
2729 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
2730 (__cpu_indicator_init): Fix model selection for AMD CPUs.
2731
2732 2015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
2733
2734 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
2735
2736 2015-10-03 Max Filippov <jcmvbkbc@gmail.com>
2737
2738 * config.host (xtensa*-*-uclinux*): New configuration.
2739
2740 2015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
2741
2742 * config/i386/cpuinfo.c (processor_features): Add
2743 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
2744
2745 2015-09-28 Joseph Myers <joseph@codesourcery.com>
2746
2747 * soft-fp/adddf3.c: Update from glibc.
2748 * soft-fp/addsf3.c: Likewise.
2749 * soft-fp/addtf3.c: Likewise.
2750 * soft-fp/divdf3.c: Likewise.
2751 * soft-fp/divsf3.c: Likewise.
2752 * soft-fp/divtf3.c: Likewise.
2753 * soft-fp/double.h: Likewise.
2754 * soft-fp/eqdf2.c: Likewise.
2755 * soft-fp/eqsf2.c: Likewise.
2756 * soft-fp/eqtf2.c: Likewise.
2757 * soft-fp/extenddftf2.c: Likewise.
2758 * soft-fp/extended.h: Likewise.
2759 * soft-fp/extendsfdf2.c: Likewise.
2760 * soft-fp/extendsftf2.c: Likewise.
2761 * soft-fp/extendxftf2.c: Likewise.
2762 * soft-fp/fixdfdi.c: Likewise.
2763 * soft-fp/fixdfsi.c: Likewise.
2764 * soft-fp/fixdfti.c: Likewise.
2765 * soft-fp/fixsfdi.c: Likewise.
2766 * soft-fp/fixsfsi.c: Likewise.
2767 * soft-fp/fixsfti.c: Likewise.
2768 * soft-fp/fixtfdi.c: Likewise.
2769 * soft-fp/fixtfsi.c: Likewise.
2770 * soft-fp/fixtfti.c: Likewise.
2771 * soft-fp/fixunsdfdi.c: Likewise.
2772 * soft-fp/fixunsdfsi.c: Likewise.
2773 * soft-fp/fixunsdfti.c: Likewise.
2774 * soft-fp/fixunssfdi.c: Likewise.
2775 * soft-fp/fixunssfsi.c: Likewise.
2776 * soft-fp/fixunssfti.c: Likewise.
2777 * soft-fp/fixunstfdi.c: Likewise.
2778 * soft-fp/fixunstfsi.c: Likewise.
2779 * soft-fp/fixunstfti.c: Likewise.
2780 * soft-fp/floatdidf.c: Likewise.
2781 * soft-fp/floatdisf.c: Likewise.
2782 * soft-fp/floatditf.c: Likewise.
2783 * soft-fp/floatsidf.c: Likewise.
2784 * soft-fp/floatsisf.c: Likewise.
2785 * soft-fp/floatsitf.c: Likewise.
2786 * soft-fp/floattidf.c: Likewise.
2787 * soft-fp/floattisf.c: Likewise.
2788 * soft-fp/floattitf.c: Likewise.
2789 * soft-fp/floatundidf.c: Likewise.
2790 * soft-fp/floatundisf.c: Likewise.
2791 * soft-fp/floatunditf.c: Likewise.
2792 * soft-fp/floatunsidf.c: Likewise.
2793 * soft-fp/floatunsisf.c: Likewise.
2794 * soft-fp/floatunsitf.c: Likewise.
2795 * soft-fp/floatuntidf.c: Likewise.
2796 * soft-fp/floatuntisf.c: Likewise.
2797 * soft-fp/floatuntitf.c: Likewise.
2798 * soft-fp/gedf2.c: Likewise.
2799 * soft-fp/gesf2.c: Likewise.
2800 * soft-fp/getf2.c: Likewise.
2801 * soft-fp/ledf2.c: Likewise.
2802 * soft-fp/lesf2.c: Likewise.
2803 * soft-fp/letf2.c: Likewise.
2804 * soft-fp/muldf3.c: Likewise.
2805 * soft-fp/mulsf3.c: Likewise.
2806 * soft-fp/multf3.c: Likewise.
2807 * soft-fp/negdf2.c: Likewise.
2808 * soft-fp/negsf2.c: Likewise.
2809 * soft-fp/negtf2.c: Likewise.
2810 * soft-fp/op-1.h: Likewise.
2811 * soft-fp/op-2.h: Likewise.
2812 * soft-fp/op-4.h: Likewise.
2813 * soft-fp/op-8.h: Likewise.
2814 * soft-fp/op-common.h: Likewise.
2815 * soft-fp/quad.h: Likewise.
2816 * soft-fp/single.h: Likewise.
2817 * soft-fp/soft-fp.h: Likewise.
2818 * soft-fp/subdf3.c: Likewise.
2819 * soft-fp/subsf3.c: Likewise.
2820 * soft-fp/subtf3.c: Likewise.
2821 * soft-fp/truncdfsf2.c: Likewise.
2822 * soft-fp/trunctfdf2.c: Likewise.
2823 * soft-fp/trunctfsf2.c: Likewise.
2824 * soft-fp/trunctfxf2.c: Likewise.
2825 * soft-fp/unorddf2.c: Likewise.
2826 * soft-fp/unordsf2.c: Likewise.
2827 * soft-fp/unordtf2.c: Likewise.
2828
2829 2015-09-24 Richard Earnshaw <rearnsha@arm.com>
2830
2831 PR libgcc/67624
2832 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
2833
2834 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2835
2836 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2837 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
2838 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
2839 messages.
2840 (internal_mcount): Likewise.
2841 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
2842 crt_compile, add CRTSTUFF_T_CFLAGS_S.
2843
2844 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2845
2846 * configure.ac (libgcc_cv_solaris_crts): New test.
2847 * configure: Regenerate.
2848 * config.in: Regenerate.
2849 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
2850 * config/gmon-sol2.c: Rename to ...
2851 * config/sol2/gmon.c: ... this.
2852 Include auto-target.h.
2853 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
2854 * config/t-sol2: Rename to ...
2855 * config/sol2/t-sol2: ... this.
2856 (gmon.o): Reflect renaming.
2857 (crtp.o, crtpg.o): New rules.
2858 * config.host (*-*-solaris2*): Reflect renaming.
2859 Use system CRTs if present.
2860 Remove default CRT case.
2861
2862 2015-09-23 John David Anglin <danglin@gcc.gnu.org>
2863
2864 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
2865 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
2866 __kernel_cmpxchg2.
2867 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
2868 (__sync_val_compare_and_swap_##WIDTH): Likewise.
2869 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
2870 (__sync_lock_test_and_set_##WIDTH): Likewise.
2871 (__sync_lock_release_##WIDTH): Likewise.
2872 (__sync_fetch_and_##OP##_4): Change result to match type of
2873 __kernel_cmpxchg.
2874 (__sync_##OP##_and_fetch_4): Likewise.
2875 (__sync_val_compare_and_swap_4): Likewise.
2876 (__sync_bool_compare_and_swap_4): likewise.
2877 (__sync_lock_test_and_set_4): Likewise.
2878 (__sync_lock_release_4): Likewise.
2879 (FETCH_AND_OP_2): Add long long variants.
2880 (OP_AND_FETCH_2): Likewise.
2881 (COMPARE_AND_SWAP_2 ): Likewise.
2882 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2883 (SYNC_LOCK_RELEASE_2): Likewise.
2884 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
2885
2886 2015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
2887
2888 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
2889 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
2890 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
2891 (get_available_features): Habdle new features.
2892
2893 2015-09-21 James Bowman <james.bowman@ftdichip.com>
2894
2895 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
2896 memory layout. Deal correctly with BSS region larger than 32K.
2897 Handle a watchdog reset like a power-on reset. Clean up unused
2898 code.
2899
2900 2015-09-18 Andrew Dixie <andrewd@gentrack.com>
2901 David Edelsohn <dje.gcc@gmail.com>
2902
2903 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
2904 * config/rs6000/crtdbase.S: New file.
2905 * config/rs6000/t-aix-cxa: Build crtdbase.o.
2906
2907 2015-09-15 Max Filippov <jcmvbkbc@gmail.com>
2908
2909 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
2910 Add support for call0 ABI.
2911
2912 2015-09-13 John David Anglin <danglin@gcc.gnu.org>
2913
2914 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
2915
2916 2015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
2917
2918 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
2919 (__GTHREAD_HAS_COND): Likewise.
2920 (__gthread_t): Likewise.
2921 (__gthread_cond_t): Likewise.
2922 (__gthread_time_t): Likewise.
2923 (__GTHREAD_MUTEX_INIT): Likewise.
2924 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
2925 (__GTHREAD_COND_INIT): Likewise.
2926 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
2927 (__GTHREAD_TIME_INIT): Likewise.
2928 (__gthread_create): Likewise.
2929 (__gthread_join): Likewise.
2930 (__gthread_detach): Likewise.
2931 (__gthread_equal): Likewise.
2932 (__gthread_self): Likewise.
2933 (__gthread_yield): Likewise.
2934 (__gthread_cond_broadcast): Likewise.
2935 (__gthread_cond_signal): Likewise.
2936 (__gthread_cond_wait): Likewise.
2937 (__gthread_cond_timedwait): Likewise.
2938 (__gthread_cond_wait_recursive): Likewise.
2939 (__gthread_cond_destroy): Likewise.
2940 (rtems_gxx_once): Delete.
2941 (rtems_gxx_key_create): Likewise.
2942 (rtems_gxx_key_delete): Likewise.
2943 (rtems_gxx_getspecific): Likewise.
2944 (rtems_gxx_setspecific): Likewise.
2945 (rtems_gxx_mutex_init): Likewise.
2946 (rtems_gxx_mutex_destroy): Likewise.
2947 (rtems_gxx_mutex_lock): Likewise.
2948 (rtems_gxx_mutex_trylock): Likewise.
2949 (rtems_gxx_mutex_unlock): Likewise.
2950 (rtems_gxx_recursive_mutex_init): Likewise.
2951 (rtems_gxx_recursive_mutex_lock): Likewise.
2952 (rtems_gxx_recursive_mutex_trylock): Likewise.
2953 (rtems_gxx_recursive_mutex_unlock): Likewise.
2954 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
2955 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
2956 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
2957 (__gthread_once): Likewise.
2958 (__gthread_key_create): Likewise.
2959 (__gthread_key_delete): Likewise.
2960 (__gthread_getspecific): Likewise.
2961 (__gthread_setspecific): Likewise.
2962 (__gthread_key_t): Use <pthread.h> type.
2963 (__gthread_once_t): Likewise
2964 (__gthread_mutex_t): Use <sys/lock.h> type.
2965 (__gthread_recursive_mutex_t): Likewise
2966 (__gthread_mutex_lock): Use <sys/lock.h> function.
2967 (__gthread_mutex_trylock): Likewise.
2968 (__gthread_mutex_timedlock): Likewise.
2969 (__gthread_mutex_unlock): Likewise.
2970 (__gthread_mutex_destroy): Likewise.
2971 (__gthread_recursive_mutex_lock): Likewise.
2972 (__gthread_recursive_mutex_trylock): Likewise.
2973 (__gthread_recursive_mutex_timedlock): Likewise.
2974 (__gthread_recursive_mutex_unlock): Likewise.
2975 (__gthread_recursive_mutex_destroy): Likewise.
2976
2977 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2978
2979 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
2980 context->sp instead of context->cfa.
2981
2982 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2983
2984 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
2985 with unwind-dw2-fde-dip.
2986
2987 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2988
2989 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
2990 CALL12 followed by series of ENTRY to spill windowed registers.
2991 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
2992 instead of making linux spill syscall.
2993
2994 2015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
2995
2996 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
2997 (get_intel_cpu): Likewise.
2998
2999 2015-08-12 H.J. Lu <hongjiu.lu@intel.com>
3000
3001 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
3002 (get_intel_cpu): Add Knights Landing support.
3003
3004 2015-08-11 Uros Bizjak <ubizjak@gmail.com>
3005
3006 PR target/66954
3007 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
3008 (get_available_features): Handle FEATURE_PCLMUL.
3009
3010 2015-08-10 H.J. Lu <hongjiu.lu@intel.com>
3011
3012 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
3013 Broadwell.
3014
3015 2015-07-22 Uros Bizjak <ubizjak@gmail.com>
3016
3017 PR target/66954
3018 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
3019 (get_available_features): Handle FEATURE_AES.
3020
3021 2015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
3022
3023 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
3024 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
3025
3026 2015-07-17 Nathan Sidwell <nathan@codesourcery.com>
3027
3028 * offloadstuff.c: Constify host data.
3029
3030 2015-07-17 Jan Beulich <jbeulich@suse.com>
3031
3032 * config/t-softfp: Split up "else ifneq".
3033
3034 2015-07-14 Sandra Loosemore <sandra@codesourcery.com>
3035 Cesar Philippidis <cesar@codesourcery.com>
3036 Chung-Lin Tang <cltang@codesourcery.com>
3037
3038 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
3039 for __nios2_arch__ level.
3040
3041 2015-07-13 John Marino <gnugcc@marino.st>
3042
3043 * config/i386/t-dragonfly: New.
3044
3045 2015-07-01 John David Anglin <danglin@gcc.gnu.org>
3046
3047 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
3048 better match light-weight syscall argument order.
3049 (__kernel_cmpxchg2): Likewise.
3050 Adjust callers.
3051
3052 2015-06-30 H.J. Lu <hongjiu.lu@intel.com>
3053
3054 * config.host: Support i[34567]86-*-elfiamcu target.
3055 * config/t-softfp-sfdftf: New file.
3056 * config/i386/32/t-iamcu: Likewise.
3057 * configure: Regenerated.
3058
3059 2015-06-23 James Lemke <jwlemke@codesourcery.com>
3060
3061 libgcc/config/arm/
3062 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
3063
3064 2015-05-27 H.J. Lu <hongjiu.lu@intel.com>
3065
3066 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
3067
3068 2015-05-27 John Marino <gnugcc@marino.st>
3069
3070 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
3071 md_unwind_header
3072 * config/i386/freebsd-unwind.h: New.
3073
3074 2015-05-22 Uros Bizjak <ubizjak@gmail.com>
3075
3076 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
3077 i386/t-crtfm to tmake_file.
3078 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
3079 (set_fast_math): Use set_fast_math_sse for SSE targets.
3080 * config/i386/t-crtfm: Remove.
3081
3082 2015-05-21 Alan Modra <amodra@gmail.com>
3083
3084 PR libgcc/66225
3085 * config/rs6000/morestack.S: Remove ".abiversion 1".
3086
3087 2015-05-20 Alan Modra <amodra@gmail.com>
3088
3089 * config/rs6000/morestack.S: New.
3090 * config/rs6000/t-stack-rs6000: New.
3091 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
3092 to tmake_file.
3093 * generic-morestack.c: Don't build for powerpc 32-bit.
3094
3095 2015-05-19 Eric Botcazou <ebotcazou@adacore.com>
3096
3097 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
3098 Remove useless endif/ifneq ($(enable_shared),yes) pair.
3099
3100 2015-05-16 James Bowman <james.bowman@ftdichip.com>
3101
3102 * config.host: FT32 target added.
3103 * config/ft32/*: New files for FT32 target.
3104
3105 2015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
3106
3107 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
3108 New macros.
3109 * config/arm/ieee754-df.S: Add CFI directives.
3110 * config/arm/ieee754-sf.S: Add CFI directives.
3111
3112 2015-05-13 Eric Botcazou <ebotcazou@adacore.com>
3113
3114 * configure.ac: Include config/sjlj.m4.
3115 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
3116 * config.in: Regenerate.
3117 * configure: Likewise.
3118 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
3119
3120 2015-05-12 Uros Bizjak <ubizjak@gmail.com>
3121
3122 * libgcov-util.c: Add space between string literal and macro name.
3123
3124 2015-05-06 Sandra Loosemore <sandra@codesourcery.com>
3125 Chris Jones <chrisj@nvidia.com>
3126 Joshua Conner <jconner@nvidia.com>
3127
3128 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
3129 (arm*-*-uclinux*): Likewise.
3130 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
3131 * config/arm/crtfastmath.c: New file.
3132
3133 2014-04-29 Bernd Schmidt <bernds@codesourcery.com>
3134
3135 * Makefile.in (real_host_noncanonical): New variable.
3136 (libsubdir): Use it.
3137 * configure.ac (real_host_noncanonical): Compute. Remove special
3138 case for intelmicemul.
3139 * configure: Regenerate.
3140
3141 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
3142
3143 * config/frv/elf-lib.h: New file.
3144 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
3145 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
3146 to tm_file.
3147
3148 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
3149
3150 * config/frv/frvbengin.c: Do not include defaults.h
3151 * config/frv/frvend.c: Ditto.
3152
3153 2015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
3154
3155 * config.host: Add h8300-*-linux
3156 * config/h8300/t-linux: New file.
3157 * config/h8300/lib1funs.s: Change symbol prefix.
3158 * config/h8300/sfp-machine.h: 64bit double support.
3159
3160 2015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
3161 Szabolcs Nagy <szabolcs.nagy@arm.com>
3162
3163 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
3164 Linux if target provides dl_iterate_phdr.
3165
3166 2015-04-17 H.J. Lu <hongjiu.lu@intel.com>
3167
3168 PR target/65612
3169 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
3170 * config/i386/cpuinfo.c (__cpu_model): Initialize.
3171 (__cpu_indicator_init@GCC_4.8.0): New.
3172 (__cpu_model@GCC_4.8.0): Likewise.
3173 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
3174 -DUSE_ELF_SYMVER.
3175
3176 2015-04-16 Nick Clifton <nickc@redhat.com>
3177
3178 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
3179 and __modhi3 functions.
3180 * config/rl78/divmodso.S: Add G14 and G13 versions of the
3181 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
3182
3183 2015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
3184
3185 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
3186 do-while loop as macro body to avoid warnings.
3187
3188 2015-04-10 Jakub Jelinek <jakub@redhat.com>
3189 Iain Sandoe <iain@codesourcery.com>
3190
3191 PR target/65351
3192 * configure: Regenerate.
3193
3194 2015-04-07 Jakub Jelinek <jakub@redhat.com>
3195 Iain Sandoe <iain@codesourcery.com>
3196
3197 PR target/65351
3198 * configure: Regenerate.
3199
3200 2015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
3201
3202 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
3203
3204 2015-03-03 Max Filippov <jcmvbkbc@gmail.com>
3205
3206 Implement call0 ABI for xtensa
3207 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
3208 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
3209 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
3210 use ret in call0 ABI.
3211 * config/xtensa/t-windowed: New file.
3212 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
3213 * libgcc/configure: Regenerated.
3214 * libgcc/configure.ac: Check if xtensa target is configured for
3215 windowed ABI and thus needs to use custom unwind code.
3216
3217 2015-02-12 Jonathan Wakely <jwakely@redhat.com>
3218
3219 PR libgcc/64885
3220 * gthr-single.h: Use __unused__ attribute instead of unused.
3221 * config/gthr-vxworks.h: Likewise.
3222 * config/i386/gthr-win32.h: Likewise.
3223
3224 2015-02-27 Kai Tietz <ktietz@redhat.com>
3225
3226 PR target/65038
3227 * config.in: Regenerated.
3228 * configure: Likewise.
3229 * configure.ac (AC_HEADER_STDC): Added explicit.
3230 (AC_CHECK_HEADERS): Check for default headers plus
3231 for ftw.h header.
3232 * libgcov-util.c (gcov_read_profile_dir): Disable use
3233 of ftw-function, if header is not found.
3234 (ftw_read_file): Likewise.
3235
3236 2015-02-23 Thomas Schwinge <thomas@codesourcery.com>
3237
3238 PR target/65181
3239 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
3240 -Dinhibit_libc.
3241
3242 2015-02-17 Sandra Loosemore <sandra@codesourcery.com>
3243
3244 * config/arm/bpabi.S (test_div_by_zero): Make label names
3245 consistent between thumb2 and arm mode cases. Separate the
3246 signed comparison on the high word of the numerator from the
3247 unsigned comparison on the low word.
3248 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
3249 signed comparison.
3250
3251 2015-02-17 Joseph Myers <joseph@codesourcery.com>
3252
3253 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
3254 and <string.h>.
3255 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
3256
3257 2015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
3258
3259 PR gcov-profile/61889
3260 * libgcov-driver-system.c: undefine clashing macro for mkdir.
3261
3262 2015-02-02 Nick Clifton <nickc@redhat.com>
3263
3264 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
3265 rounding up the fraction.
3266
3267 2015-01-31 John David Anglin <danglin@gcc.gnu.org>
3268
3269 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
3270 oldval and newval to const void *. Fix typo.
3271 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
3272 (FETCH_AND_OP_WORD): Likewise.
3273 (OP_AND_FETCH_WORD): Likewise.
3274 (COMPARE_AND_SWAP_2): Likewise.
3275 (__sync_val_compare_and_swap_4): Likewise.
3276 (__sync_lock_test_and_set_4): Likewise.
3277 (SYNC_LOCK_RELEASE_2): Likewise.
3278 Remove support for long long atomic operations.
3279
3280 2015-01-27 Caroline Tice <cmtice@google.com>
3281
3282 Committing VTV Cywin/Ming patch for Patrick Wollgast
3283 * Makefile.in: Move rules to build vtv_*.o out of the check
3284 for CUSTOM_CRTSTUFF.
3285 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
3286 i[34567]86-*-mingw*)
3287 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
3288 enable_vtable_verify.
3289
3290 2015-01-27 Nick Clifton <nickc@redhat.com>
3291
3292 * config/rl78/cmpsi2.S: Use function start and end macros.
3293 (__gcc_bcmp): New function.
3294 * config/rl78/lshrsi3.S: Use function start and end macros.
3295 * config/rl78/mulsi3.S: Add support for G10.
3296 (__mulqi3): New function for G10.
3297 * config/rl78/signbit.S: Use function start and end macros.
3298 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
3299 fpmath-sf.S.
3300 (LIB2FUNCS_EXCLUDE): Define.
3301 (LIB2FUNCS_ST): Define.
3302 * config/rl78/trampoline.S: Use function start and end macros.
3303 * config/rl78/vregs.h (START_FUNC): New macro.
3304 (START_ANOTHER_FUNC): New macro.
3305 (END_FUNC): New macro.
3306 (END_ANOTHER_FUNC): New macro.
3307 * config/rl78/bit-count.S: New file. Contains assembler
3308 implementations of the bit counting functions: ___clzhi2,
3309 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
3310 __paritysi2, __popcounthi2 and __popcountsi2.
3311 * config/rl78/fpbit-sf.S: New file. Contains assembler
3312 implementationas of the math functions: __negsf2, __cmpsf2,
3313 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
3314 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
3315 * config/rl78/fpmath-sf.S: New file. Contains assembler
3316 implementations of the math functions: __subsf3, __addsf3,
3317 __mulsf3 and __divsf3
3318
3319 2015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3320
3321 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
3322 Add i386/elf-lib.h to tm_file.
3323 * config/i386/elf-lib.h: Fix comment.
3324 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
3325 && __sun__ && __svr4__]: Remove workaround.
3326
3327 2015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
3328
3329 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
3330 FEATURE_BMI2.
3331 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
3332
3333 2015-01-24 H.J. Lu <hongjiu.lu@intel.com>
3334
3335 * config/i386/cpuinfo.c (processor_subtypes): Add
3336 INTEL_COREI7_BROADWELL.
3337 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
3338 model numbers.
3339
3340 2015-01-23 Uros Bizjak <ubizjak@gmail.com>
3341
3342 * config/i386/elf-lib.h: New file.
3343 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
3344 Wrap definition in #ifdef __i386__.
3345 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
3346 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
3347 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
3348 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
3349 to tm_file.
3350
3351 2015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
3352
3353 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
3354 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
3355
3356 2015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
3357
3358 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
3359 Update rt_sigframe format and address for current Nios II
3360 Linux conventions.
3361
3362 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
3363
3364 * config.host (arm*-*-freebsd*): Add new configuration for
3365 arm*-*-freebsd*.
3366 * config/arm/freebsd-atomic.c: New file.
3367 * config/arm/t-freebsd: Likewise.
3368 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
3369 'PC-relative indirect' OS's.
3370
3371 2015-01-06 Eric Botcazou <ebotcazou@adacore.com>
3372
3373 * config.host: Add Visium support.
3374 * config/visium: New directory.
3375
3376 2015-01-05 Jakub Jelinek <jakub@redhat.com>
3377
3378 Update copyright years.
3379
3380 2014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
3381
3382 * config.host: Support mipsisa32r6 and mipsisa64r6.
3383 * config/mips/mips16.S: Do not build for R6.
3384
3385 2014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
3386
3387 * config/sh/crt.h: New.
3388 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
3389 symbols.
3390 * config/sh/crt1.S: Likewise.
3391
3392 2014-12-15 Uros Bizjak <ubizjak@gmail.com>
3393
3394 PR libgcc/63832
3395 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
3396 func_ptr *dtor_list temporary variable to avoid "array subscript
3397 is above array bounds" warnings.
3398
3399 2014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
3400
3401 * Makefile.in (with_aix_soname): Define.
3402 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
3403 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
3404 * configure: Recreate.
3405
3406 2014-12-05 Olivier Hainque <hainque@adacore.com>
3407
3408 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
3409 now provided by defaults.h.
3410
3411 2014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
3412
3413 PR target/55351
3414 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
3415 whether it's defined.
3416
3417 2014-11-27 Ilya Tocar <ilya.tocar@intel.com>
3418
3419 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
3420 * config/i386/cpuinfo.c (get_available_features): Detect it.
3421
3422 2014-11-27 Tony Wang <tony.wang@arm.com>
3423
3424 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
3425 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
3426 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
3427
3428 2014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
3429
3430 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
3431
3432 2014-11-24 John David Anglin <danglin@gcc.gnu.org>
3433
3434 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
3435 instead.
3436
3437 2014-11-21 Guy Martin <gmsoft@tuxicoman.be>
3438 John David Anglin <danglin@gcc.gnu.org>
3439
3440 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
3441 (FETCH_AND_OP_2): New. Use for subword and double word operations.
3442 (OP_AND_FETCH_2): Likewise.
3443 (COMPARE_AND_SWAP_2): Likewise.
3444 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3445 (SYNC_LOCK_RELEASE_2): Likewise.
3446 (SUBWORD_SYNC_OP): Remove.
3447 (SUBWORD_VAL_CAS): Likewise.
3448 (SUBWORD_BOOL_CAS): Likewise.
3449 (FETCH_AND_OP_WORD): Update.
3450 Consistently use signed types.
3451
3452 2014-11-13 Bernd Schmidt <bernds@codesourcery.com>
3453 Thomas Schwinge <thomas@codesourcery.com>
3454 Ilya Verbin <ilya.verbin@intel.com>
3455 Andrey Turetskiy <andrey.turetskiy@intel.com>
3456
3457 * Makefile.in (crtoffloadbegin$(objext)): New rule.
3458 (crtoffloadend$(objext)): Likewise.
3459 * configure: Regenerate.
3460 * configure.ac (accel_dir_suffix): Compute new variable.
3461 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
3462 if enable_offload_targets is not empty.
3463 * offloadstuff.c: New file.
3464
3465 2014-11-13 Nick Clifton <nickc@redhat.com>
3466
3467 * config/rl78/divmodhi.S: Add support for the G10 architecture.
3468 Use START_FUNC and END_FUNC macros to enable linker garbage
3469 collection.
3470 * config/rl78/divmodqi.S: Likewise.
3471 * config/rl78/divmodsi.S: Likewise.
3472 * config/rl78/mulsi3.S: Likewise.
3473 * config/rl78/lib2div.c: Remove G10 functions.
3474 * config/rl78/lib2muls.c: Likewise.
3475 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
3476 * config/rl78/vregs.h (START_FUNC): New macro.
3477 (END_FUNC): New macro.
3478
3479 2014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
3480
3481 * config/mips/mips16.S: Set .module when supported. Update O32
3482 FP64 calling convention and use for FPXX when possible. Add FPXX
3483 calling convention fallback case.
3484
3485 2014-11-06 Bernd Schmidt <bernds@codesourcery.com>
3486
3487 * config.host: Handle nvptx-*-*.
3488 * shared-object.mk (as-flags-$o): Define.
3489 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
3490 -xassembler-with-cpp.
3491 * static-object.mk: Identical changes.
3492 * config/nvptx/t-nvptx: New file.
3493 * config/nvptx/crt0.s: New file.
3494 * config/nvptx/free.asm: New file.
3495 * config/nvptx/malloc.asm: New file.
3496 * config/nvptx/realloc.c: New file.
3497
3498 2014-10-30 Joseph Myers <joseph@codesourcery.com>
3499
3500 * Makefile.in (libgcc.map.in): New target.
3501 (libgcc.map): Use libgcc.map.in.
3502 * config/t-softfp (softfp_compat): New variable to be set by
3503 users.
3504 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
3505 variables.
3506 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
3507 directory.
3508 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
3509 that use compat symbols and disable all code unless [SHARED].
3510 * config/t-softfp-compat: New file.
3511 * find-symver.awk: New file.
3512 * configure.ac (--with-glibc-version): New configure option.
3513 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
3514 * configure: Regenerate.
3515 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
3516 soft-float and e500.
3517
3518 2014-10-29 Joseph Myers <joseph@codesourcery.com>
3519
3520 * config/t-hardfp (hardfp_exclusions): Document new variable for
3521 user to define.
3522 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
3523 * config/t-softfp (softfp_extras): Document new variable for user
3524 to define.
3525 (softfp_func_list): Add functions from $(softfp_extras).
3526 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
3527 * config.host (powerpc*-*-linux*): For e500v1, use
3528 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
3529 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
3530 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
3531
3532 2014-10-26 John David Anglin <danglin@gcc.gnu.org>
3533
3534 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
3535 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
3536 memory read accesses are ok.
3537
3538 2014-10-25 Joseph Myers <joseph@codesourcery.com>
3539
3540 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
3541 * configure: Regenerate.
3542 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
3543 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
3544 of soft-fp for 32-bit classic hard float. Do not use
3545 t-softfp-excl for soft float.
3546
3547 2014-10-22 Joseph Myers <joseph@codesourcery.com>
3548
3549 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
3550 configurations.
3551 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
3552 Remove variables.
3553
3554 2014-10-22 Georg-Johann Lay <avr@gjlay.de>
3555
3556 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
3557 introduced with 2014-10-21 trunk r216525.
3558
3559 2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
3560 Vidya Praveen <vidya.praveen@atmel.com>
3561 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
3562 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
3563 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
3564
3565 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
3566 order.
3567
3568 Updated library functions for AVRTINY arch.
3569 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
3570 Replaced occurrences of r0/r1 with tmp/zero reg macros.
3571 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
3572 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
3573 wsubi/wadi macors.
3574 (__mulsi3_helper): Update stack, preserve callee saved regs and
3575 argument from stack. Restore callee save registers.
3576 (__mulpsi3): Likewise.
3577 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
3578 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
3579 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
3580 AVRTINY.
3581 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
3582 (__do_copy_data): Added new definition for AVRTINY.
3583 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
3584 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
3585 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
3586 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
3587 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
3588 macors.
3589 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
3590 AVRTINY.
3591
3592 Fix broken long multiplication on tiny arch.
3593
3594 2014-10-09 Joseph Myers <joseph@codesourcery.com>
3595
3596 * soft-fp/double.h: Update from glibc.
3597 * soft-fp/eqdf2.c: Likewise.
3598 * soft-fp/eqsf2.c: Likewise.
3599 * soft-fp/eqtf2.c: Likewise.
3600 * soft-fp/extenddftf2.c: Likewise.
3601 * soft-fp/extended.h: Likewise.
3602 * soft-fp/extendsfdf2.c: Likewise.
3603 * soft-fp/extendsftf2.c: Likewise.
3604 * soft-fp/extendxftf2.c: Likewise.
3605 * soft-fp/gedf2.c: Likewise.
3606 * soft-fp/gesf2.c: Likewise.
3607 * soft-fp/getf2.c: Likewise.
3608 * soft-fp/ledf2.c: Likewise.
3609 * soft-fp/lesf2.c: Likewise.
3610 * soft-fp/letf2.c: Likewise.
3611 * soft-fp/op-1.h: Likewise.
3612 * soft-fp/op-2.h: Likewise.
3613 * soft-fp/op-4.h: Likewise.
3614 * soft-fp/op-8.h: Likewise.
3615 * soft-fp/op-common.h: Likewise.
3616 * soft-fp/quad.h: Likewise.
3617 * soft-fp/single.h: Likewise.
3618 * soft-fp/soft-fp.h: Likewise.
3619 * soft-fp/unorddf2.c: Likewise.
3620 * soft-fp/unordsf2.c: Likewise.
3621 * soft-fp/unordtf2.c: Likewise.
3622 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
3623 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
3624 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
3625 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
3626 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
3627 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
3628 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
3629 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
3630 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
3631 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
3632
3633 2014-10-08 Rong Xu <xur@google.com>
3634
3635 * libgcov-util.c (read_gcda_file): Fix format.
3636 (find_match_gcov_info): Ditto.
3637 (calculate_2_entries): New.
3638 (compute_one_gcov): Ditto.
3639 (gcov_info_count_all_cold): Ditto.
3640 (gcov_info_count_all_zero): Ditto.
3641 (extract_file_basename): Ditto.
3642 (get_file_basename): Ditto.
3643 (set_flag): Ditto.
3644 (matched_gcov_info): Ditto.
3645 (calculate_overlap): Ditto.
3646 (gcov_profile_overlap): Ditto.
3647 * libgcov-driver.c (compute_summary): Make
3648 it avavilable for external calls.
3649
3650 2014-10-06 Rong Xu <xur@google.com>
3651
3652 * Makefile.in: Ditto.
3653 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
3654 (gcov_sort_icall_topn_counter): Ditto.
3655 (gcov_sort_topn_counter_arrays): Ditto.
3656 (dump_one_gcov): Sort indirect_call topn counters.
3657 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
3658 function.
3659 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
3660 utility function.
3661 (__gcov_indirect_call_topn_profiler): New profiler function.
3662 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
3663 * libgcov.h: New decls.
3664
3665 2014-10-04 Trevor Saunders <tsaunders@mozilla.com>
3666
3667 * config.host: Remove support for score-*.
3668
3669 2014-09-22 Joseph Myers <joseph@codesourcery.com>
3670
3671 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3672 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
3673 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
3674 __LIBGCC_XF_MANT_DIG__.
3675 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
3676 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
3677 __LIBGCC_TF_MANT_DIG__.
3678 * libgcc2.c (NOTRUNC): Define in terms of
3679 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
3680 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3681
3682 2014-09-22 Joseph Myers <joseph@codesourcery.com>
3683
3684 PR target/63312
3685 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
3686 New macros.
3687
3688 2014-09-22 Hans-Peter Nilsson <hp@axis.com>
3689
3690 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
3691 override USE_PT_GNU_EH_FRAME.
3692 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
3693 check USE_EH_FRAME_REGISTRY_ALWAYS against
3694 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
3695 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
3696 variable for substituted force_explicit_eh_registry.
3697 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
3698 * configure.ac (explicit-exception-frame-registration):
3699 New AC_ARG_ENABLE.
3700 * configure: Regenerate.
3701
3702 2014-09-19 Olivier Hainque <hainque@adacore.com>
3703
3704 * config.host (powerpc-wrs-vxworksmils): New configuration,
3705 same as vxworksae.
3706
3707 2014-09-18 Joseph Myers <joseph@codesourcery.com>
3708
3709 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
3710
3711 2014-09-18 Joseph Myers <joseph@codesourcery.com>
3712
3713 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
3714 bits not set bits as indicating trapping exceptions.
3715
3716 2014-09-17 Nathan sidwell <nathan@acm.org>
3717
3718 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
3719 (LIBGCOV_DRIVER): ... here.
3720 * libgcov-driver.c (gcov_master): New.
3721 (gcov_exit): Remove from master chain.
3722 (__gcov_init): Add to master chain if version compatible. Don't
3723 clear the version.
3724 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
3725 (gcov_reset_int): Clear master chain, if compatible.
3726 (gcov_dump_int): New internal interface. Dump master chain, if
3727 compatible.
3728 (gcov_dump): Alias for gcov_dump_int.
3729 * libgcov.h (struct gcov_root): Add next and prev fields.
3730 (struct gcov_master): New struct.
3731 (__gcov_master): New.
3732 (gcov_dump_int): Declare.
3733
3734 2014-09-17 Olivier Hainque <hainque@adacore.com>
3735
3736 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
3737 and crtbegin.o + crtend.o to extra_parts.
3738
3739 2014-09-12 Joseph Myers <joseph@codesourcery.com>
3740
3741 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
3742 __LIBGCC_HAS_SF_MODE__.
3743 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3744 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3745 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3746 * config/libbid/bid_gcc_intrinsics.h
3747 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3748 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3749 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3750 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3751 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
3752 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3753
3754 2014-09-11 Georg-Johann Lay <avr@gjlay.de>
3755
3756 PR target/63223
3757 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
3758 and R24 as needed. Make work for all devices and .text locations.
3759 (__do_global_ctors, __do_global_dtors): Use word addresses.
3760 (__tablejump__, __tablejump_elpm__): Remove functions.
3761 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
3762 Add _tablejump2.
3763 (XICALL, XIJMP): New macros.
3764
3765 2014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
3766 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3767
3768 * config.host (aarch64*): Include crtfastmath.o and
3769 t-crtfm.
3770 * config/aarch64/crtfastmath.c: New file.
3771
3772 2014-09-08 Trevor Saunders <tsaunders@mozilla.com>
3773
3774 * config.host: Remove picochip support.
3775 * config/picochip/adddi3.S: Remove.
3776 * config/picochip/ashlsi3.S: Remove.
3777 * config/picochip/ashlsi3.c: Remove.
3778 * config/picochip/ashrsi3.S: Remove.
3779 * config/picochip/ashrsi3.c: Remove.
3780 * config/picochip/clzsi2.S: Remove.
3781 * config/picochip/cmpsi2.S: Remove.
3782 * config/picochip/divmod15.S: Remove.
3783 * config/picochip/divmodhi4.S: Remove.
3784 * config/picochip/divmodsi4.S: Remove.
3785 * config/picochip/lib1funcs.S: Remove.
3786 * config/picochip/longjmp.S: Remove.
3787 * config/picochip/lshrsi3.S: Remove.
3788 * config/picochip/lshrsi3.c: Remove.
3789 * config/picochip/parityhi2.S: Remove.
3790 * config/picochip/popcounthi2.S: Remove.
3791 * config/picochip/setjmp.S: Remove.
3792 * config/picochip/subdi3.S: Remove.
3793 * config/picochip/t-picochip: Remove.
3794 * config/picochip/ucmpsi2.S: Remove.
3795 * config/picochip/udivmodhi4.S: Remove.
3796 * config/picochip/udivmodsi4.S: Remove.
3797
3798 2014-09-08 Joseph Myers <joseph@codesourcery.com>
3799
3800 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
3801 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
3802 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
3803 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
3804 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
3805 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
3806 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
3807 defined and LIBGCC2_HAS_DF_MODE is defined.
3808 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
3809 defined and LIBGCC2_HAS_XF_MODE is defined.
3810 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
3811 defined and LIBGCC2_HAS_TF_MODE is defined.
3812
3813 2014-09-08 Joseph Myers <joseph@codesourcery.com>
3814
3815 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
3816 and ROUND_TOWARDS_ZERO conditionals.
3817
3818 2014-09-07 Nathan sidwell <nathan@acm.org>
3819
3820 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
3821 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
3822
3823 2014-09-05 Joseph Myers <joseph@codesourcery.com>
3824
3825 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
3826 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3827 uses to __LIBGCC_STACK_POINTER_REGNUM__.
3828 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3829 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3830 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3831 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3832 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
3833 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
3834 (DWARF_FRAME_REGISTERS): Change all uses to
3835 __LIBGCC_DWARF_FRAME_REGISTERS__.
3836 (EH_RETURN_STACKADJ_RTX): Change all uses to
3837 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3838 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
3839 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
3840 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
3841 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
3842 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
3843 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
3844 to __LIBGCC_EH_FRAME_SECTION_NAME__.
3845 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
3846 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
3847 __LIBGCC_STACK_POINTER_REGNUM__.
3848 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3849 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3850 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3851 to __LIBGCC_STACK_POINTER_REGNUM__.
3852 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3853 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3854 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3855 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3856 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3857 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3858 (STACK_POINTER_REGNUM): Change all uses to
3859 __LIBGCC_STACK_POINTER_REGNUM__.
3860 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
3861 use to __LIBGCC_STACK_POINTER_REGNUM__.
3862 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3863 uses to __LIBGCC_STACK_POINTER_REGNUM__.
3864 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
3865 to __LIBGCC_DWARF_FRAME_REGISTERS__.
3866 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
3867 to __LIBGCC_DWARF_FRAME_REGISTERS__.
3868 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3869 to __LIBGCC_STACK_POINTER_REGNUM__.
3870 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
3871 Remove conditional definition.
3872 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
3873 __LIBGCC_TEXT_SECTION_ASM_OP__.
3874 (EH_FRAME_SECTION_NAME): Change all uses to
3875 __LIBGCC_EH_FRAME_SECTION_NAME__.
3876 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
3877 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
3878 (CTORS_SECTION_ASM_OP): Change all uses to
3879 __LIBGCC_CTORS_SECTION_ASM_OP__.
3880 (DTORS_SECTION_ASM_OP): Change all uses to
3881 __LIBGCC_DTORS_SECTION_ASM_OP__.
3882 (JCR_SECTION_NAME): Change all uses to
3883 __LIBGCC_JCR_SECTION_NAME__.
3884 (INIT_SECTION_ASM_OP): Change all uses to
3885 __LIBGCC_INIT_SECTION_ASM_OP__.
3886 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3887 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3888 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
3889 __LIBGCC_STACK_GROWS_DOWNWARD__.
3890 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
3891 __LIBGCC_INIT_SECTION_ASM_OP__.
3892 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3893 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3894 (EH_FRAME_SECTION_NAME): Change all uses to
3895 __LIBGCC_EH_FRAME_SECTION_NAME__.
3896 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
3897 definitions. Change all uses to
3898 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
3899 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
3900 __LIBGCC_STACK_GROWS_DOWNWARD__.
3901 (DWARF_FRAME_REGISTERS): Change all uses to
3902 __LIBGCC_DWARF_FRAME_REGISTERS__.
3903 (EH_RETURN_STACKADJ_RTX): Change all uses to
3904 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3905 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
3906 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
3907 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
3908 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
3909 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
3910
3911 2014-09-02 Nathan sidwell <nathan@acm.org>
3912
3913 * libgcov-interface.c (STRONG_ALIAS): New.
3914 (__gcov_flush): Call __gcov_reset_int.
3915 (__gcov_reset): Strong alias for ...
3916 (__gcov_reset_ing): ... this renamed hidden version.
3917 * libgcov.h (__gcov_reset_int): New declaration.
3918
3919 2014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
3920
3921 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
3922 call from here...
3923 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
3924 (__dso_handle): Define on Cygwin.
3925 * config/i386/t-cygming (crtbeginS.o): New rule.
3926 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
3927
3928 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
3929 declaration syntax.
3930
3931 2014-08-13 Steve Ellcey <sellcey@mips.com>
3932
3933 * crtstuff.c: Undef caddr_t.
3934
3935 2014-08-12 Steve Ellcey <sellcey@mips.com>
3936
3937 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
3938
3939 2014-08-07 Nathan Sidwell <nathan@acm.org>
3940
3941 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
3942 (LIBGCOV_DRIVER): ... to here.
3943 * libgcov.h (gcov_do_dump): New #define.
3944 (struct gcov_root): New.
3945 (__gcov_root): New declaration.
3946 (__gcov_dump_one): Declare.
3947 * libgcov-driver.c (gcov_list, gcov_dump_complete,
3948 run_accounted): Delete.
3949 (gcov_compute_histogram): Add LIST argument, adjust.
3950 (compute_summary): Adjust gcov_compute_histogram call.
3951 (gcov_do_dump): Not hidden, static in libgcov.
3952 (gcov_clear): Move to interface.c.
3953 (__gcov_dump_one): New, broken out of ...
3954 (gcov_exit): ... here. Make static.
3955 (__gcov_root): New.
3956 (__gcov_init): Adjust.
3957 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
3958 declarations.
3959 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
3960 (gcov_clear): Moved from driver.c. Add LIST argument.
3961 (__gcov_reset): Adjust for changed interfaces.
3962 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
3963
3964 2014-08-04 Rohit <rohitarulraj@freescale.com>
3965
3966 PR target/60102
3967 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
3968 based on change in SPE high register numbers and 3 HTM registers.
3969
3970 2014-08-01 Nathan Sidwell <nathan@acm.org>
3971
3972 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
3973 LIBGCOV_INTERFACE): Reformat.
3974 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
3975 IN_GCOV_TOOL.
3976 * libgcov-interface.c: Reformat some comments.
3977 (__gcov_flush_mx): Add declaration. Tidy up definition.
3978
3979 2014-07-31 Alan Modra <amodra@gmail.com>
3980 Peter Bergner <bergner@vnet.ibm.com>
3981
3982 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
3983 (pack_ldouble): New function.
3984 (__gcc_qadd): Use it.
3985 (__gcc_qmul): Likewise.
3986 (__gcc_qdiv): Likewise.
3987 (__gcc_qneg): Likewise.
3988 (__gcc_stoq): Likewise.
3989 (__gcc_dtoq): Likewise.
3990
3991 2014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
3992
3993 * config/s390/tpf-unwind.h: Include <stdbool.h>.
3994 (__tpf_eh_return): Add original return address as second parameter.
3995 Handle cases where unwinder routines were called directly, instead
3996 of from within the C++ library.
3997
3998 2014-07-29 Nathan Sidwell <nathan@acm.org>
3999
4000 * libgcov.h: Move renaming of entry points to lib gcov specific
4001 portion.
4002 (gcov_do_dump): New rename.
4003 (gcov_rewrite): Remove inline, make HIDDEN.
4004 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
4005 (gcov_exit_compute_summary): Rename to ...
4006 (compute_summary): ... here. Add LIST argument.
4007 (gcov_exit_merge_gcda): Rename to ...
4008 (merge_one_data): ... here.
4009 (gcov_exit_write_gcda): Rename to ...
4010 (write_one_data): ... here.
4011 (gcov_exit_merge_summary): Rename to ...
4012 (merge_summary): Add RUN_COUNTED argument.
4013 (gcov_exit_dump_gcov): Rename to ...
4014 (dump_one_gcov): Add RUN_COUNTED argument.
4015 (gcov_do_dump): New function, broken out of ...
4016 (gcov_exit): ... here. Call it.
4017
4018 2014-07-27 Anthony Green <green@moxielogic.com>
4019
4020 * config.host: Add moxiebox configuration suppport.
4021
4022 2014-07-27 Nathan Sidwell <nathan@acm.org>
4023
4024 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
4025 (struct gcov_filename): ... here. Include buffer and max length
4026 fields.
4027 (gcov_max_filename): Remove.
4028 (gi_filename): Remove.
4029 (gcov_exit_compute_summary): Compute max filename here.
4030 (gcov_exit_merge_gcda): Add filename parm, adjust.
4031 (gcov_exit_merge_summary): Likewise.
4032 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
4033 (gcov_exit): Likewise.
4034 (__gcov_init): Don't calculate max length here.
4035 * libgcov_util.c (max_filename_len): Remove.
4036 (read_gcda_file): Don't calculate max length here.
4037 (gcov_read_profile_dir): Don't propagate here.
4038 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
4039 struct gcov_filename changes.
4040 (gcov_exit_open_gcda_file): Likewise.
4041
4042 2014-07-25 Nathan Sidwell <nathan@acm.org>
4043
4044 * libgcov-driver.c (set_gcov_dump_complete,
4045 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
4046 functions polluting user's namespace.
4047 (gcov_exit): Set variable directly.
4048 (gcov_clear): Reset variable directly.
4049 * libgcov-interface.c (get_gcov_dymp_complete,
4050 reset_gov_dump_complete): Remove declarations.
4051 (__gcov_reset, __gcov_dump): Don't call them.
4052
4053 2014-07-24 DJ Delorie <dj@redhat.com>
4054
4055 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
4056 (__gcc_deregister_frame): Move logic to detect deregister function
4057 to ...
4058 (__gcc_register_frame): here, so it's consistent with the register
4059 logic.
4060
4061 2014-07-23 Nathan Sidwell <nathan@acm.org>
4062
4063 * libgcov-driver.c (set_gcov_list): Remove.
4064 (gcov_list): Make non-static in GCOV_TOOL.
4065 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
4066
4067 2014-07-17 John David Anglin <danglin@gcc.gnu.org>
4068
4069 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
4070 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
4071 Don't use SYNC_LOCK_RELEASE for int type.
4072
4073 2014-07-14 Richard Biener <rguenther@suse.de>
4074
4075 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
4076
4077 2014-07-11 Rong Xu <xur@google.com>
4078
4079 * libgcov-util.c (gcov_max_filename): Fix declartion.
4080
4081 2014-07-10 Rong Xu <xur@google.com>
4082
4083 Add gcov-tool: an offline gcda profile processing tool
4084 Support.
4085 * libgcov-driver.c (gcov_max_filename): Make available
4086 to gcov-tool.
4087 * libgcov-merge.c (__gcov_merge_add): Replace
4088 gcov_read_counter() with a Macro.
4089 (__gcov_merge_ior): Ditto.
4090 (__gcov_merge_time_profile): Ditto.
4091 (__gcov_merge_single): Ditto.
4092 (__gcov_merge_delta): Ditto.
4093 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
4094 in the utility functions.
4095 (set_fn_ctrs): Utility function for reading gcda files to in-memory
4096 gcov_list object link lists.
4097 (tag_function): Ditto.
4098 (tag_blocks): Ditto.
4099 (tag_arcs): Ditto.
4100 (tag_lines): Ditto.
4101 (tag_counters): Ditto.
4102 (tag_summary): Ditto.
4103 (read_gcda_finalize): Ditto.
4104 (read_gcda_file): Ditto.
4105 (ftw_read_file): Ditto.
4106 (read_profile_dir_init): Ditto.
4107 (gcov_read_profile_dir): Ditto.
4108 (gcov_read_counter_mem): Ditto.
4109 (gcov_get_merge_weight): Ditto.
4110 (merge_wrapper): A wrapper function that calls merging handler.
4111 (gcov_merge): Merge two gcov_info objects with weights.
4112 (find_match_gcov_info): Find the matched gcov_info in the list.
4113 (gcov_profile_merge): Merge two gcov_info object lists.
4114 (__gcov_add_counter_op): Process edge profile counter values.
4115 (__gcov_ior_counter_op): Process IOR profile counter values.
4116 (__gcov_delta_counter_op): Process delta profile counter values.
4117 (__gcov_single_counter_op): Process single profile counter values.
4118 (fp_scale): Callback function for float-point scaling.
4119 (int_scale): Callback function for integer fraction scaling.
4120 (gcov_profile_scale): Scaling profile counters.
4121 (gcov_profile_normalize): Normalize profile counters.
4122 * libgcov.h: Add headers and functions for gcov-tool use.
4123 (gcov_get_counter): New.
4124 (gcov_get_counter_target): Ditto.
4125 (struct gcov_info): Make the functions field mutable in gcov-tool
4126 compilation.
4127
4128 2014-06-23 Kai Tietz <ktietz@redhat.com>
4129
4130 PR libgcc/61585
4131 * unwind-seh.c (_Unwind_GetGR): Check for proper
4132 index range.
4133 (_Unwind_SetGR): Likewise.
4134
4135 2014-05-22 Nick Clifton <nickc@redhat.com>
4136
4137 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
4138 -mhwmult=none.
4139
4140 2014-05-22 Teresa Johnson <tejohnson@google.com>
4141
4142 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
4143 include.
4144
4145 2014-05-20 John Marino <gnugcc@marino.st>
4146
4147 * config.host (*-*-dragonfly*): New target.
4148 * crtstuff.c: Make dl_iterate_support generic on *bsd.
4149 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
4150 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
4151 * config/i386/dragonfly-unwind.h: New.
4152
4153 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
4154
4155 PR libgcc/60166
4156 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
4157 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
4158
4159 2014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
4160
4161 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
4162 implementation.
4163
4164 2014-05-12 Georg-Johann Lay <avr@gjlay.de>
4165
4166 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
4167
4168 2014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4169
4170 PR libgcc/61097
4171 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
4172 if --enable-shared.
4173
4174 2014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
4175
4176 Work around for current cygwin32 build problems.
4177 * config/i386/cygming-crtbegin.c (__register_frame_info,
4178 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
4179 functions only for 64-bit systems.
4180
4181 2014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4182
4183 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
4184 (sigill_caught, sigill_hdlr): Remove.
4185
4186 2014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4187
4188 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
4189 check.
4190 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
4191 Solaris 9 single-threaded support.
4192 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
4193 Solaris 9 single-threaded support. Add call_user_handler code
4194 sequences.
4195 (sparc_is_sighandler): Likewise.
4196
4197 2014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4198
4199 * config.host: Append t-floattodi to tmake_file depending on
4200 host_address.
4201
4202 2014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
4203
4204 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
4205
4206 2014-03-10 Uros Bizjak <ubizjak@gmail.com>
4207
4208 PR libgcc/60472
4209 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
4210 variable to avoid "array subscript is above array bounds" warnings.
4211 Use __builtin_expect when checking *jcr_list for NULL.
4212
4213 2014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4214
4215 PR libgcc/59339
4216 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
4217 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
4218 vtv_*.o to extra_parts if enable_vtable_verify.
4219
4220 2014-03-06 Nick Clifton <nickc@redhat.com>
4221
4222 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
4223 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
4224
4225 2014-02-28 Joey Ye <joey.ye@arm.com>
4226
4227 PR libgcc/60166
4228 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
4229 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
4230 Set to zero.
4231
4232 2014-02-24 Walter Lee <walt@tilera.com>
4233
4234 * config.host: Support "tilegx*" and "tilepro*" triplets.
4235 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
4236 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
4237
4238 2014-02-20 Sandra Loosemore <sandra@codesourcery.com>
4239 Chung-Lin Tang <cltang@codesourcery.com>
4240
4241 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
4242 * config/nios2/crti.S: Remove .file directive.
4243 * config/nios2/crtn.S: Likewise.
4244
4245 2014-02-18 Kai Tietz <ktietz@redhat.com>
4246 Jonathan Schleifer <js@webkeks.org>
4247
4248 PR objc/56870
4249 * unwind-seh.c (_GCC_specific_handler): Pass proper
4250 value to unwind-handler.
4251
4252 2014-02-12 Joseph Myers <joseph@codesourcery.com>
4253
4254 * soft-fp/adddf3.c: Update from glibc.
4255 * soft-fp/addsf3.c: Likewise.
4256 * soft-fp/addtf3.c: Likewise.
4257 * soft-fp/divdf3.c: Likewise.
4258 * soft-fp/divsf3.c: Likewise.
4259 * soft-fp/divtf3.c: Likewise.
4260 * soft-fp/double.h: Likewise.
4261 * soft-fp/eqdf2.c: Likewise.
4262 * soft-fp/eqsf2.c: Likewise.
4263 * soft-fp/eqtf2.c: Likewise.
4264 * soft-fp/extenddftf2.c: Likewise.
4265 * soft-fp/extended.h: Likewise.
4266 * soft-fp/extendsfdf2.c: Likewise.
4267 * soft-fp/extendsftf2.c: Likewise.
4268 * soft-fp/extendxftf2.c: Likewise.
4269 * soft-fp/fixdfdi.c: Likewise.
4270 * soft-fp/fixdfsi.c: Likewise.
4271 * soft-fp/fixdfti.c: Likewise.
4272 * soft-fp/fixsfdi.c: Likewise.
4273 * soft-fp/fixsfsi.c: Likewise.
4274 * soft-fp/fixsfti.c: Likewise.
4275 * soft-fp/fixtfdi.c: Likewise.
4276 * soft-fp/fixtfsi.c: Likewise.
4277 * soft-fp/fixtfti.c: Likewise.
4278 * soft-fp/fixunsdfdi.c: Likewise.
4279 * soft-fp/fixunsdfsi.c: Likewise.
4280 * soft-fp/fixunsdfti.c: Likewise.
4281 * soft-fp/fixunssfdi.c: Likewise.
4282 * soft-fp/fixunssfsi.c: Likewise.
4283 * soft-fp/fixunssfti.c: Likewise.
4284 * soft-fp/fixunstfdi.c: Likewise.
4285 * soft-fp/fixunstfsi.c: Likewise.
4286 * soft-fp/fixunstfti.c: Likewise.
4287 * soft-fp/floatdidf.c: Likewise.
4288 * soft-fp/floatdisf.c: Likewise.
4289 * soft-fp/floatditf.c: Likewise.
4290 * soft-fp/floatsidf.c: Likewise.
4291 * soft-fp/floatsisf.c: Likewise.
4292 * soft-fp/floatsitf.c: Likewise.
4293 * soft-fp/floattidf.c: Likewise.
4294 * soft-fp/floattisf.c: Likewise.
4295 * soft-fp/floattitf.c: Likewise.
4296 * soft-fp/floatundidf.c: Likewise.
4297 * soft-fp/floatundisf.c: Likewise.
4298 * soft-fp/floatunditf.c: Likewise.
4299 * soft-fp/floatunsidf.c: Likewise.
4300 * soft-fp/floatunsisf.c: Likewise.
4301 * soft-fp/floatunsitf.c: Likewise.
4302 * soft-fp/floatuntidf.c: Likewise.
4303 * soft-fp/floatuntisf.c: Likewise.
4304 * soft-fp/floatuntitf.c: Likewise.
4305 * soft-fp/gedf2.c: Likewise.
4306 * soft-fp/gesf2.c: Likewise.
4307 * soft-fp/getf2.c: Likewise.
4308 * soft-fp/ledf2.c: Likewise.
4309 * soft-fp/lesf2.c: Likewise.
4310 * soft-fp/letf2.c: Likewise.
4311 * soft-fp/muldf3.c: Likewise.
4312 * soft-fp/mulsf3.c: Likewise.
4313 * soft-fp/multf3.c: Likewise.
4314 * soft-fp/negdf2.c: Likewise.
4315 * soft-fp/negsf2.c: Likewise.
4316 * soft-fp/negtf2.c: Likewise.
4317 * soft-fp/op-1.h: Likewise.
4318 * soft-fp/op-2.h: Likewise.
4319 * soft-fp/op-4.h: Likewise.
4320 * soft-fp/op-8.h: Likewise.
4321 * soft-fp/op-common.h: Likewise.
4322 * soft-fp/quad.h: Likewise.
4323 * soft-fp/single.h: Likewise.
4324 * soft-fp/soft-fp.h: Likewise.
4325 * soft-fp/subdf3.c: Likewise.
4326 * soft-fp/subsf3.c: Likewise.
4327 * soft-fp/subtf3.c: Likewise.
4328 * soft-fp/truncdfsf2.c: Likewise.
4329 * soft-fp/trunctfdf2.c: Likewise.
4330 * soft-fp/trunctfsf2.c: Likewise.
4331 * soft-fp/trunctfxf2.c: Likewise.
4332 * soft-fp/unorddf2.c: Likewise.
4333 * soft-fp/unordsf2.c: Likewise.
4334 * soft-fp/unordtf2.c: Likewise.
4335 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
4336 macro.
4337 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4338 Likewise.
4339 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4340 Likewise.
4341 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4342 Likewise.
4343 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4344 Likewise.
4345 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4346 Likewise.
4347 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4348 Likewise.
4349 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4350 Likewise.
4351 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4352 Likewise.
4353 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4354 Likewise.
4355 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4356 Likewise.
4357 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4358 Likewise.
4359 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4360 Likewise.
4361 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
4362 Likewise.
4363 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
4364 Likewise.
4365 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4366 Likewise.
4367
4368 2014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4369
4370 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
4371 cannot be represented.
4372 * config/s390/32/_fixsfdi.c: Likewise.
4373 * config/s390/32/_fixtfdi.c: Likewise.
4374 * config/s390/32/_fixunsdfdi.c: Likewise.
4375 * config/s390/32/_fixunssfdi.c: Likewise.
4376 * config/s390/32/_fixunstfdi.c: Likewise.
4377
4378 2014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
4379
4380 * configure.ac (libgcc_cv_mips_hard_float): New.
4381 * configure: Regenerate.
4382 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
4383 t-softfp-sfdf for hard-float targets.
4384 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
4385 (softfp_float_modes, softfp_int_modes, softfp_extensions)
4386 (softfp_truncations, softfp_exclude_libgcc2): New.
4387 * config/t-hardfp: New file.
4388 * config/t-hardfp-sfdf: Likewise.
4389 * config/hardfp.c: Likewise.
4390
4391 2014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4392
4393 * config.host: Include t-floattodi also for s390x.
4394 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
4395 * config/s390/32/_fixsfdi.c: Likewise.
4396 * config/s390/32/_fixtfdi.c: Likewise.
4397 * config/s390/32/_fixunsdfdi.c: Likewise.
4398 * config/s390/32/_fixunssfdi.c: Likewise.
4399 * config/s390/32/_fixunstfdi.c: Likewise.
4400
4401 2014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4402
4403 PR target/59788
4404 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
4405 (install-libgcc-unwind-map-forbuild): New target.
4406 (all): Depend on install-libgcc-unwind-map-forbuild.
4407 (install-libgcc-unwind-map): New target.
4408 (install): Depend on install-libgcc-unwind-map.
4409
4410 2014-02-02 Sandra Loosemore <sandra@codesourcery.com>
4411
4412 * config/nios2/crti.S (_init): Initialize GOT pointer from
4413 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
4414
4415 2014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
4416
4417 * configure.ac: Check __mips64 when setting host_address.
4418 * configure: Regenerate.
4419 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
4420 mips/t-mips64 and t-softfp.
4421 (mips*-*-linux*): Don't add mips/t-tpbit.
4422 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
4423 (DPBIT, DPBIT_CFLAGS): Delete.
4424 * config/mips/sfp-machine.h: New file.
4425 * config/mips/t-mips64: Likewise.
4426 * config/mips/t-softfp-tf: Likewise.
4427 * config/mips/t-tpbit: Delete.
4428
4429 2014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
4430
4431 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
4432 as long long.
4433
4434 2014-01-25 Walter Lee <walt@tilera.com>
4435
4436 * config/tilepro/atomic.c: Include tconfig.h. Don't include
4437 config.h or system.h.
4438 (bool) Define.
4439
4440 2014-01-25 Walter Lee <walt@tilera.com>
4441
4442 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
4443 (post_atomic_barrier): Ditto.
4444 (__fetch_and_do): New macro.
4445 (__atomic_fetch_and_do): Use __fetch_and_do.
4446 (__sync_fetch_and_do): New macro.
4447 (__sync_fetch_and_add_4): New function.
4448 (__sync_fetch_and_sub_4): New function.
4449 (__sync_fetch_and_or_4): New function.
4450 (__sync_fetch_and_and_4): New function.
4451 (__sync_fetch_and_xor_4): New function.
4452 (__sync_fetch_and_nand_4): New function.
4453 (__sync_fetch_and_add_8): New function.
4454 (__sync_fetch_and_sub_8): New function.
4455 (__sync_fetch_and_or_8): New function.
4456 (__sync_fetch_and_and_8): New function.
4457 (__sync_fetch_and_xor_8): New function.
4458 (__sync_fetch_and_nand_8): New function.
4459 (__do_and_fetch): New macro.
4460 (__atomic_do_and_fetch): Use __do_and_fetch.
4461 (__sync_do_and_fetch): New macro.
4462 (__sync_add_and_fetch_4): New function.
4463 (__sync_sub_and_fetch_4): New function.
4464 (__sync_or_and_fetch_4): New function.
4465 (__sync_and_and_fetch_4): New function.
4466 (__sync_xor_and_fetch_4): New function.
4467 (__sync_nand_and_fetch_4): New function.
4468 (__sync_add_and_fetch_8): New function.
4469 (__sync_sub_and_fetch_8): New function.
4470 (__sync_or_and_fetch_8): New function.
4471 (__sync_and_and_fetch_8): New function.
4472 (__sync_xor_and_fetch_8): New function.
4473 (__sync_nand_and_fetch_8): New function.
4474 (__sync_exchange_methods): New macro.
4475 (__sync_val_compare_and_swap_4): New function.
4476 (__sync_bool_compare_and_swap_4): New function.
4477 (__sync_lock_test_and_test_4): New function.
4478 (__sync_val_compare_and_swap_8): New function.
4479 (__sync_bool_compare_and_swap_8): New function.
4480 (__sync_lock_test_and_test_8): New function.
4481 (__subword_cmpxchg_body): New macro.
4482 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
4483 (__atomic_compare_exchange_2): Ditto.
4484 (__sync_subword_cmpxchg): New macro.
4485 (__sync_val_compare_and_swap_1): New function.
4486 (__sync_bool_compare_and_swap_1): New function.
4487 (__sync_val_compare_and_swap_2): New function.
4488 (__sync_bool_compare_and_swap_2): New function.
4489 (__atomic_subword): Rename to ...
4490 (__subword): ... New name.
4491 (__atomic_subword_fetch): Use __subword.
4492 (__sync_subword_fetch): New macro.
4493 (__sync_fetch_and_add_1): New function.
4494 (__sync_fetch_and_sub_1): New function.
4495 (__sync_fetch_and_or_1): New function.
4496 (__sync_fetch_and_and_1): New function.
4497 (__sync_fetch_and_xor_1): New function.
4498 (__sync_fetch_and_nand_1): New function.
4499 (__sync_fetch_and_add_2): New function.
4500 (__sync_fetch_and_sub_2): New function.
4501 (__sync_fetch_and_or_2): New function.
4502 (__sync_fetch_and_and_2): New function.
4503 (__sync_fetch_and_xor_2): New function.
4504 (__sync_fetch_and_nand_2): New function.
4505 (__sync_add_and_fetch_1): New function.
4506 (__sync_sub_and_fetch_1): New function.
4507 (__sync_or_and_fetch_1): New function.
4508 (__sync_and_and_fetch_1): New function.
4509 (__sync_xor_and_fetch_1): New function.
4510 (__sync_nand_and_fetch_1): New function.
4511 (__sync_add_and_fetch_2): New function.
4512 (__sync_sub_and_fetch_2): New function.
4513 (__sync_or_and_fetch_2): New function.
4514 (__sync_and_and_fetch_2): New function.
4515 (__sync_xor_and_fetch_2): New function.
4516 (__sync_nand_and_fetch_2): New function.
4517 (__atomic_subword_lock): Use __subword.
4518 (__sync_subword_lock): New macro.
4519 (__sync_lock_test_and_set_1): New function.
4520 (__sync_lock_test_and_set_2): New function.
4521
4522 2014-01-25 Walter Lee <walt@tilera.com>
4523
4524 * config/tilepro/atomic.c (BIT_OFFSET): Define.
4525 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
4526 (__atomic_subword): Ditto.
4527
4528 2014-01-25 Walter Lee <walt@tilera.com>
4529
4530 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
4531 a prefix op argument.
4532 (__atomic_nand_fetch_4): Add prefix op.
4533 (__atomic_nand_fetch_8): Ditto.
4534
4535 2014-01-21 Baruch Siach <barch@tkos.co.il>
4536
4537 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
4538
4539 2014-01-09 Rong Xu <xur@google.com>
4540
4541 * libgcov-driver.c (this_prg): make it local to save
4542 bss space.
4543 (gcov_exit_compute_summary): Ditto.
4544 (gcov_exit_merge_gcda): Ditto.
4545 (gcov_exit_merge_summary): Ditto.
4546 (gcov_exit_dump_gcov): Ditto.
4547
4548 2014-01-08 Rong Xu <xur@google.com>
4549
4550 * libgcov-driver.c: Use libgcov.h.
4551 (buffer_fn_data): Use xmalloc instead of malloc.
4552 (gcov_exit_merge_gcda): Ditto.
4553 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
4554 * libgcov.h: New common header files for libgcov-*.h.
4555 * libgcov-interface.c: Use libgcov.h
4556 * libgcov-merge.c: Ditto.
4557 * libgcov-profiler.c: Ditto.
4558 * Makefile.in: Add dependence to libgcov.h
4559
4560 2014-01-02 Joseph Myers <joseph@codesourcery.com>
4561
4562 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
4563 case of small numerator and finite nonzero result.
4564
4565 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4566
4567 Update copyright years
4568
4569 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4570
4571 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
4572 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
4573 config/arc/dp-hack.h, config/arc/fp-hack.h,
4574 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
4575 config/arc/ieee-754/arc600-dsp/divdf3.S,
4576 config/arc/ieee-754/arc600-dsp/divsf3.S,
4577 config/arc/ieee-754/arc600-dsp/muldf3.S,
4578 config/arc/ieee-754/arc600-dsp/mulsf3.S,
4579 config/arc/ieee-754/arc600-mul64/divdf3.S,
4580 config/arc/ieee-754/arc600-mul64/divsf3.S,
4581 config/arc/ieee-754/arc600-mul64/muldf3.S,
4582 config/arc/ieee-754/arc600-mul64/mulsf3.S,
4583 config/arc/ieee-754/arc600/divsf3.S,
4584 config/arc/ieee-754/arc600/mulsf3.S,
4585 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
4586 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
4587 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
4588 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
4589 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
4590 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
4591 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
4592 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
4593 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
4594 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
4595 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
4596 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
4597 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
4598 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
4599 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
4600 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
4601 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
4602 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
4603 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
4604 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
4605 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
4606 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
4607 vtv_start_preinit.c: Use the standard form for the copyright notice.
4608
4609 2013-12-31 Sandra Loosemore <sandra@codesourcery.com>
4610 Chung-Lin Tang <cltang@codesourcery.com>
4611 Based on patches from Altera Corporation
4612
4613 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
4614 * config/nios2/lib2-nios2.h: New file.
4615 * config/nios2/lib2-divmod-hi.c: New file.
4616 * config/nios2/linux-unwind.h: New file.
4617 * config/nios2/lib2-divmod.c: New file.
4618 * config/nios2/linux-atomic.c: New file.
4619 * config/nios2/t-nios2: New file.
4620 * config/nios2/crti.asm: New file.
4621 * config/nios2/t-linux: New file.
4622 * config/nios2/lib2-divtable.c: New file.
4623 * config/nios2/lib2-mul.c: New file.
4624 * config/nios2/tramp.c: New file.
4625 * config/nios2/crtn.asm: New file.
4626
4627 2013-12-26 Uros Bizjak <ubizjak@gmail.com>
4628
4629 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
4630 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
4631 from cpuid.h to check vendor signatures.
4632
4633 2013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
4634
4635 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
4636 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
4637 (get_amd_cpu): Likewise.
4638
4639 2013-12-25 H.J. Lu <hongjiu.lu@intel.com>
4640
4641 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
4642 Haswell.
4643
4644 2013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
4645 H.J. Lu <hongjiu.lu@intel.com>
4646
4647 PR target/59422
4648 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
4649 and AMD_JAGUAR.
4650 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
4651 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
4652 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
4653 FEATURE_XOP and FEATURE_FMA.
4654 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
4655 AMDFAM15H_BDVER3.
4656 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
4657 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
4658 FEATURE_FMA4 and FEATURE_XOP.
4659
4660 2013-12-23 H.J. Lu <hongjiu.lu@intel.com>
4661
4662 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
4663 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
4664 (get_intel_cpu): Updated.
4665
4666 2013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
4667
4668 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
4669
4670 2013-12-09 Uros Bizjak <ubizjak@gmail.com>
4671
4672 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
4673 instructions when __SSE_MATH__ is defined.
4674
4675 2013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
4676
4677 * config.host (microblaze-*-rtems*): New.
4678
4679 2013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
4680
4681 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
4682 architectures that do not have hardware divide instruction.
4683 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
4684
4685 2013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
4686
4687 * longlong.h: Delete (moved to include/).
4688
4689 2013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4690
4691 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
4692 of normal number and qNaN to not raise an inexact exception.
4693
4694 2013-11-28 Uros Bizjak <ubizjak@gmail.com>
4695
4696 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
4697
4698 2013-11-28 Matthew Leach <matthew.leach@arm.com>
4699
4700 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
4701 for correct opcodes on BE.
4702
4703 2013-11-27 Uros Bizjak <ubizjak@gmail.com>
4704
4705 * soft-fp/op-4.h: Update from glibc.
4706
4707 2013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
4708
4709 * libgcc2.c (__udivmoddi4): Define new implementation when
4710 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
4711 divide instructions.
4712
4713 2013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
4714
4715 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
4716
4717 2013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4718
4719 * config/t-softfp (soft-fp-objects-base): New variable.
4720 (soft-fp-objects): Use it.
4721
4722 2013-11-23 David Edelson <dje.gcc@gmail.com>
4723 Andrew Dixie <andrewd@gentrack.com>
4724
4725 PR target/33704
4726 * config/rs6000/aixinitfini.c: New file.
4727 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
4728 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
4729 symbols.
4730
4731 2013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
4732
4733 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
4734
4735 2013-11-18 Jan Hubicka <jh@suse.cz>
4736
4737 * libgcov-driver.c (run_accounted): Make global level static.
4738 (gcov_exit_merge_summary): Silence warning; do not clear
4739 run_accounted here.
4740 (gcov_exit): Clear it here.
4741
4742 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
4743 run_accounted.
4744
4745 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
4746 (all_prg, crc32): Remove static vars.
4747 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
4748 all_prg.
4749 (gcov_exit_merge_gcda): Add crc32 parameter.
4750 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
4751 do not account run if it was already accounted.
4752 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
4753 (gcov_exit): Initialize all_prg; update.
4754
4755 2013-11-15 Andreas Schwab <schwab@linux-m68k.org>
4756
4757 * configure: Regenerate.
4758
4759 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4760 Alan Modra <amodra@gmail.com>
4761
4762 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
4763 (frob_update_context): Use it.
4764
4765 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4766 Alan Modra <amodra@gmail.com>
4767
4768 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
4769 (trampoline_initial): Provide ELFv2 variant.
4770 (__trampoline_setup): Likewise.
4771
4772 * config/rs6000/linux-unwind.h (frob_update_context): Do not
4773 check for AIX indirect function call sequence if _CALL_ELF == 2.
4774
4775 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4776 Alan Modra <amodra@gmail.com>
4777
4778 * config/rs6000/linux-unwind.h (get_regs): Do not support
4779 old kernel versions if _CALL_ELF == 2.
4780 (frob_update_context): Do not support PLT stub variants only
4781 generated by old linkers if _CALL_ELF == 2.
4782
4783 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4784 Alan Modra <amodra@gmail.com>
4785
4786 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
4787 location of CR save area for 64-bit little-endian systems.
4788
4789 2013-11-11 Eric Botcazou <ebotcazou@adacore.com>
4790
4791 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
4792 in tmake_file.
4793 * config/arm/t-vxworks: Delete.
4794
4795 2013-11-10 Kai Tietz <ktietz@redhat.com>
4796
4797 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
4798 Increment load-count on use of LIBGCC_SONAME DLL.
4799 (hmod_libgcc): New static variable to hold handle of
4800 LIBGCC_SONAME DLL.
4801 (__gcc_deregister_frame): Decrement load-count of
4802 LIBGCC_SONAME DLL.
4803
4804 2013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
4805
4806 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
4807 availability.
4808 * configure: Regenerate
4809
4810 2013-11-07 Uros Bizjak <ubizjak@gmail.com>
4811
4812 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
4813 FP_EX_DENORM. Store result to volatile location after SSE division
4814 to close interrupt window. Remove unneeded fwait after x87
4815 division since interrupt window will be closed by emitted fstp.
4816 Rewrite FP_EX_INEXACT handling.
4817
4818 2013-11-06 Joseph Myers <joseph@codesourcery.com>
4819
4820 * soft-fp/README: Update.
4821 * soft-fp/adddf3.c: Update from glibc.
4822 * soft-fp/addsf3.c: Likewise.
4823 * soft-fp/addtf3.c: Likewise.
4824 * soft-fp/divdf3.c: Likewise.
4825 * soft-fp/divsf3.c: Likewise.
4826 * soft-fp/divtf3.c: Likewise.
4827 * soft-fp/double.h: Likewise.
4828 * soft-fp/eqdf2.c: Likewise.
4829 * soft-fp/eqsf2.c: Likewise.
4830 * soft-fp/eqtf2.c: Likewise.
4831 * soft-fp/extenddftf2.c: Likewise.
4832 * soft-fp/extended.h: Likewise.
4833 * soft-fp/extendsfdf2.c: Likewise.
4834 * soft-fp/extendsftf2.c: Likewise.
4835 * soft-fp/extendxftf2.c: Likewise.
4836 * soft-fp/fixdfdi.c: Likewise.
4837 * soft-fp/fixdfsi.c: Likewise.
4838 * soft-fp/fixdfti.c: Likewise.
4839 * soft-fp/fixsfdi.c: Likewise.
4840 * soft-fp/fixsfsi.c: Likewise.
4841 * soft-fp/fixsfti.c: Likewise.
4842 * soft-fp/fixtfdi.c: Likewise.
4843 * soft-fp/fixtfsi.c: Likewise.
4844 * soft-fp/fixtfti.c: Likewise.
4845 * soft-fp/fixunsdfdi.c: Likewise.
4846 * soft-fp/fixunsdfsi.c: Likewise.
4847 * soft-fp/fixunsdfti.c: Likewise.
4848 * soft-fp/fixunssfdi.c: Likewise.
4849 * soft-fp/fixunssfsi.c: Likewise.
4850 * soft-fp/fixunssfti.c: Likewise.
4851 * soft-fp/fixunstfdi.c: Likewise.
4852 * soft-fp/fixunstfsi.c: Likewise.
4853 * soft-fp/fixunstfti.c: Likewise.
4854 * soft-fp/floatdidf.c: Likewise.
4855 * soft-fp/floatdisf.c: Likewise.
4856 * soft-fp/floatditf.c: Likewise.
4857 * soft-fp/floatsidf.c: Likewise.
4858 * soft-fp/floatsisf.c: Likewise.
4859 * soft-fp/floatsitf.c: Likewise.
4860 * soft-fp/floattidf.c: Likewise.
4861 * soft-fp/floattisf.c: Likewise.
4862 * soft-fp/floattitf.c: Likewise.
4863 * soft-fp/floatundidf.c: Likewise.
4864 * soft-fp/floatundisf.c: Likewise.
4865 * soft-fp/floatunditf.c: Likewise.
4866 * soft-fp/floatunsidf.c: Likewise.
4867 * soft-fp/floatunsisf.c: Likewise.
4868 * soft-fp/floatunsitf.c: Likewise.
4869 * soft-fp/floatuntidf.c: Likewise.
4870 * soft-fp/floatuntisf.c: Likewise.
4871 * soft-fp/floatuntitf.c: Likewise.
4872 * soft-fp/gedf2.c: Likewise.
4873 * soft-fp/gesf2.c: Likewise.
4874 * soft-fp/getf2.c: Likewise.
4875 * soft-fp/ledf2.c: Likewise.
4876 * soft-fp/lesf2.c: Likewise.
4877 * soft-fp/letf2.c: Likewise.
4878 * soft-fp/muldf3.c: Likewise.
4879 * soft-fp/mulsf3.c: Likewise.
4880 * soft-fp/multf3.c: Likewise.
4881 * soft-fp/negdf2.c: Likewise.
4882 * soft-fp/negsf2.c: Likewise.
4883 * soft-fp/negtf2.c: Likewise.
4884 * soft-fp/op-1.h: Likewise.
4885 * soft-fp/op-2.h: Likewise.
4886 * soft-fp/op-4.h: Likewise.
4887 * soft-fp/op-8.h: Likewise.
4888 * soft-fp/op-common.h: Likewise.
4889 * soft-fp/quad.h: Likewise.
4890 * soft-fp/single.h: Likewise.
4891 * soft-fp/soft-fp.h: Likewise.
4892 * soft-fp/subdf3.c: Likewise.
4893 * soft-fp/subsf3.c: Likewise.
4894 * soft-fp/subtf3.c: Likewise.
4895 * soft-fp/truncdfsf2.c: Likewise.
4896 * soft-fp/trunctfdf2.c: Likewise.
4897 * soft-fp/trunctfsf2.c: Likewise.
4898 * soft-fp/trunctfxf2.c: Likewise.
4899 * soft-fp/unorddf2.c: Likewise.
4900 * soft-fp/unordsf2.c: Likewise.
4901 * soft-fp/unordtf2.c: Likewise.
4902
4903 2013-11-05 Uros Bizjak <ubizjak@gmail.com>
4904
4905 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
4906 (_FP_MUL_MEAT_D): Ditto.
4907 (_FP_DIV_MEAT_S): Ditto.
4908 (_FP_DIV_MEAT_D): Ditto.
4909 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
4910 t-softfp-sfdf and t-softfp to tmake_file.
4911
4912 2013-11-03 Uros Bizjak <ubizjak@gmail.com>
4913
4914 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
4915 * config/i386/crtprec.c: Ditto.
4916
4917 2013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
4918 Shiva Chen <shiva0217@gmail.com>
4919
4920 * config.host (nds32*-elf*): Add nds32 target.
4921 * config/nds32 : New directory and files.
4922
4923 2013-10-16 Hans-Peter Nilsson <hp@axis.com>
4924
4925 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
4926 * config.host (cpu_type) <Setting default>: Add entry for
4927 crisv32-*-*.
4928 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
4929 <crisv32-*-linux*>: Adjust.
4930 * longlong.h: Wrap the whole CRIS section in a single
4931 defined(__CRIS__) conditional. Add comment about add_ssaaaa
4932 and sub_ddmmss.
4933 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
4934 defined.
4935 [__CRIS__] (__umulsidi3): Define.
4936 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
4937 * config/cris/sfp-machine.h: New file.
4938 * config/cris/umulsidi3.S: New file.
4939 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
4940 * config/cris/arit.c (SIGNMULT): New macro.
4941 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
4942 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
4943 saving 3 out of originally 33 cycles from the fastest
4944 path, 3 out of 54 from the medium path and one from the longest
4945 path. Improve comments.
4946
4947 2013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
4948
4949 * sync.c: Remove static aliases and define each function directly
4950 under its real name.
4951
4952 2013-10-02 John David Anglin <danglin@gcc.gnu.org>
4953
4954 * config.host (hppa*64*-*-linux*): Define extra_parts.
4955 (hppa*-*-linux*): Likewise.
4956
4957 2013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
4958
4959 * config/arc/crtgend.S: Add 2013 to Copyright years.
4960 * config/arc/gmon/atomic.h: Likewise.
4961 * config/arc/gmon/auxreg.h: Likewise.
4962 * config/arc/gmon/sys/gmon_out.h: Likewise.
4963 * config/arc/gmon/sys/gmon.h: Likewise.
4964 * config/arc/gmon/prof-freq.c: Likewise.
4965 * config/arc/gmon/mcount.c: Likewise.
4966 * config/arc/gmon/prof-freq-stub.S: Likewise.
4967 * config/arc/gmon/gmon.c: Likewise.
4968 * config/arc/gmon/machine-gmon.h: Likewise.
4969 * config/arc/gmon/profil.S: Likewise.
4970 * config/arc/gmon/dcache_linesz.S: Likewise.
4971 * config/arc/crtg.S: Likewise.
4972 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
4973 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
4974 * config/arc/ieee-754/adddf3.S: Likewise.
4975 * config/arc/ieee-754/truncdfsf2.S: Likewise.
4976 * config/arc/ieee-754/fixsfsi.S: Likewise.
4977 * config/arc/ieee-754/gtsf2.S: Likewise.
4978 * config/arc/ieee-754/floatsisf.S: Likewise.
4979 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
4980 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
4981 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
4982 * config/arc/ieee-754/fixdfsi.S: Likewise.
4983 * config/arc/ieee-754/addsf3.S: Likewise.
4984 * config/arc/ieee-754/gesf2.S: Likewise.
4985 * config/arc/ieee-754/floatsidf.S: Likewise.
4986 * config/arc/ieee-754/extendsfdf2.S: Likewise.
4987 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
4988 * config/arc/ieee-754/gtdf2.S: Likewise.
4989 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
4990 * config/arc/ieee-754/uneqdf2.S: Likewise.
4991 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
4992 * config/arc/ieee-754/uneqsf2.S: Likewise.
4993 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
4994 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
4995 * config/arc/ieee-754/eqdf2.S: Likewise.
4996 * config/arc/ieee-754/ordsf2.S: Likewise.
4997 * config/arc/ieee-754/divsf3.S: Likewise.
4998 * config/arc/ieee-754/divdf3.S: Likewise.
4999 * config/arc/ieee-754/floatunsidf.S: Likewise.
5000 * config/arc/ieee-754/orddf2.S: Likewise.
5001 * config/arc/ieee-754/eqsf2.S: Likewise.
5002 * config/arc/ieee-754/gedf2.S: Likewise.
5003 * config/arc/crtn.S: Likewise.
5004 * config/arc/crti.S: Likewise.
5005 * config/arc/t-arc700-uClibc: Likewise.
5006 * config/arc/asm.h: Likewise.
5007 * config/arc/libgcc-excl.ver: Likewise.
5008 * config/arc/t-arc-newlib: Likewise.
5009 * config/arc/divtab-arc700.c: Likewise.
5010 * config/arc/initfini.c: Likewise.
5011 * config/arc/fp-hack.h: Likewise.
5012
5013 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
5014 Diego Novillo <dnovillo@google.com>
5015
5016 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
5017 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
5018 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
5019 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
5020
5021 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
5022 Brendan Kehoe <brendan@zen.org>
5023 Simon Cook <simon.cook@embecosm.com>
5024
5025 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
5026 * config/arc: New directory.
5027 * longlong.h [__arc__] (umul_ppmm): Remove.
5028 [__arc__] (__umulsidi3): Define.
5029 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
5030 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
5031
5032 2013-09-17 Jacek Caban <jacek@codeweavers.com>
5033
5034 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
5035 CreateSemaphoreA.
5036 * config/i386/gthr-win32.h: Likewise.
5037
5038 2013-09-16 DJ Delorie <dj@redhat.com>
5039
5040 * config/rl78/vregs.h: Add G10 register definitions.
5041 * config/rl78/lib2mul.c: Enable for RL78/G10.
5042 * config/rl78/lib2div.c: Likewise.
5043 * config/rl78/lshrsi3.S: Use vregs.h.
5044 * config/rl78/cmpsi2.S: Likewise.
5045 * config/rl78/trampoline.S: Likewise.
5046 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
5047
5048 2013-09-14 DJ Delorie <dj@redhat.com>
5049 Nick Clifton <nickc@redhat.com>
5050
5051 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
5052 * config/rl78/vregs.h: New.
5053 * config/rl78/signbit.S: New file. Implements signbit function.
5054 * config/rl78/divmodsi.S: New.
5055 * config/rl78/divmodhi.S: New.
5056 * config/rl78/divmodqi.S: New.
5057 * config/rl78/t-rl78: Build them here...
5058 * config/rl78/lib2div.c: ...but not here.
5059
5060 2013-09-12 DJ Delorie <dj@redhat.com>
5061
5062 * config.host (msp*-*-elf): New.
5063 * config/msp430/: New port.
5064
5065 2013-08-18 Iain Sandoe <iain@codesourcery.com>
5066
5067 PR gcov-profile/58127
5068 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
5069 __thread var for emulated TLS.
5070 (__gcov_indirect_call_counters): Likewise.
5071
5072 2013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
5073 Catherine Moore <clm@codesourcery.com>
5074 Richard Sandiford <rdsandiford@googlemail.com>
5075
5076 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
5077 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
5078 (CALL_STUB_NO_RET): Likewise.
5079 (CALL_STUB_RET): Likewise.
5080 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
5081 __mips16_ret call/return stub symbols.
5082 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
5083 to tmake_file.
5084
5085 2013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
5086
5087 * config.host <mips*-*-linux*>: Remove a stray comment.
5088
5089 2013-08-10 Jan Hubicka <jh@suse.cz>
5090
5091 Work around binutils PR14342
5092 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
5093 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
5094 (L_gcov_indirect_call_profiler_v2): New.
5095
5096 2013-08-06 Jan Hubicka <jh@suse.cz>
5097
5098 * libgcov.c (__gcov_indirect_call_callee,
5099 __gcov_indirect_call_counters): New global vars.
5100 (__gcov_indirect_call_profiler): replace by ...
5101 (__gcov_indirect_call_profiler_v2) ... this one.
5102
5103 2013-08-06 Caroline Tice <cmtice@google.com>
5104
5105 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
5106 vtv_start_preinit.o and vtv_end_preinit.o.
5107 * configure.ac: Add code to check/set enable_vtable_verify.
5108 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
5109 true.
5110 * vtv_start_preinit.c: New file.
5111 * vtv_end_preinit.c: New file.
5112 * vtv_start.c: New file.
5113 * vtv_end.c: New file.
5114 * configure: Regenerated.
5115
5116 2013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
5117
5118 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
5119 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
5120 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
5121 GPL-3.0-with-GCC-exception.
5122
5123 2013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
5124
5125 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
5126 ISA and up.
5127
5128 2013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5129
5130 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
5131 mapping for FPRs when creating the fallback framestate.
5132
5133 2013-07-19 Georg-Johann Lay <avr@gjlay.de>
5134
5135 PR target/57516
5136 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
5137 (__round_s2_const, __round_u2_const)
5138 (__round_s4_const, __round_u4_const, __round_x8):
5139 Saturate result if addition result cannot be represented.
5140
5141 2013-07-15 Matthias Klose <doko@ubuntu.com>
5142
5143 * libgcc2.c: Don't include <limits.h>.
5144
5145 2013-07-09 Janis Johnson <janisjo@codesourcery.com>
5146
5147 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
5148
5149 2013-07-06 Jakub Jelinek <jakub@redhat.com>
5150
5151 PR target/29776
5152 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
5153
5154 2013-06-28 Jakub Jelinek <jakub@redhat.com>
5155
5156 PR middle-end/36041
5157 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
5158 Define.
5159 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
5160 instead of table lookups.
5161 (__popcountDI2): Likewise.
5162
5163 2013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
5164
5165 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
5166 correctly.
5167
5168 2013-06-21 Joseph Myers <joseph@codesourcery.com>
5169
5170 PR other/53317
5171 * soft-fp/adddf3.c: Update from glibc.
5172 * soft-fp/addsf3.c: Likewise.
5173 * soft-fp/addtf3.c: Likewise.
5174 * soft-fp/divdf3.c: Likewise.
5175 * soft-fp/divsf3.c: Likewise.
5176 * soft-fp/divtf3.c: Likewise.
5177 * soft-fp/double.h: Likewise.
5178 * soft-fp/eqdf2.c: Likewise.
5179 * soft-fp/eqsf2.c: Likewise.
5180 * soft-fp/eqtf2.c: Likewise.
5181 * soft-fp/extenddftf2.c: Likewise.
5182 * soft-fp/extended.h: Likewise.
5183 * soft-fp/extendsfdf2.c: Likewise.
5184 * soft-fp/extendsftf2.c: Likewise.
5185 * soft-fp/fixdfdi.c: Likewise.
5186 * soft-fp/fixdfsi.c: Likewise.
5187 * soft-fp/fixsfdi.c: Likewise.
5188 * soft-fp/fixsfsi.c: Likewise.
5189 * soft-fp/fixtfdi.c: Likewise.
5190 * soft-fp/fixtfsi.c: Likewise.
5191 * soft-fp/fixunsdfdi.c: Likewise.
5192 * soft-fp/fixunsdfsi.c: Likewise.
5193 * soft-fp/fixunssfdi.c: Likewise.
5194 * soft-fp/fixunssfsi.c: Likewise.
5195 * soft-fp/fixunstfdi.c: Likewise.
5196 * soft-fp/fixunstfsi.c: Likewise.
5197 * soft-fp/floatdidf.c: Likewise.
5198 * soft-fp/floatdisf.c: Likewise.
5199 * soft-fp/floatditf.c: Likewise.
5200 * soft-fp/floatsidf.c: Likewise.
5201 * soft-fp/floatsisf.c: Likewise.
5202 * soft-fp/floatsitf.c: Likewise.
5203 * soft-fp/floatundidf.c: Likewise.
5204 * soft-fp/floatundisf.c: Likewise.
5205 * soft-fp/floatunditf.c: Likewise.
5206 * soft-fp/floatunsidf.c: Likewise.
5207 * soft-fp/floatunsisf.c: Likewise.
5208 * soft-fp/floatunsitf.c: Likewise.
5209 * soft-fp/gedf2.c: Likewise.
5210 * soft-fp/gesf2.c: Likewise.
5211 * soft-fp/getf2.c: Likewise.
5212 * soft-fp/ledf2.c: Likewise.
5213 * soft-fp/lesf2.c: Likewise.
5214 * soft-fp/letf2.c: Likewise.
5215 * soft-fp/muldf3.c: Likewise.
5216 * soft-fp/mulsf3.c: Likewise.
5217 * soft-fp/multf3.c: Likewise.
5218 * soft-fp/negdf2.c: Likewise.
5219 * soft-fp/negsf2.c: Likewise.
5220 * soft-fp/negtf2.c: Likewise.
5221 * soft-fp/op-1.h: Likewise.
5222 * soft-fp/op-2.h: Likewise.
5223 * soft-fp/op-4.h: Likewise.
5224 * soft-fp/op-8.h: Likewise.
5225 * soft-fp/op-common.h: Likewise.
5226 * soft-fp/quad.h: Likewise.
5227 * soft-fp/single.h: Likewise.
5228 * soft-fp/soft-fp.h: Likewise.
5229 * soft-fp/subdf3.c: Likewise.
5230 * soft-fp/subsf3.c: Likewise.
5231 * soft-fp/subtf3.c: Likewise.
5232 * soft-fp/truncdfsf2.c: Likewise.
5233 * soft-fp/trunctfdf2.c: Likewise.
5234 * soft-fp/trunctfsf2.c: Likewise.
5235 * soft-fp/unorddf2.c: Likewise.
5236 * soft-fp/unordsf2.c: Likewise.
5237 * soft-fp/unordtf2.c: Likewise.
5238 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
5239 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5240 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5241 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5242 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5243 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5244 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5245 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5246 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5247 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
5248 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
5249 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5250
5251 2013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
5252
5253 * config/mips/lib2funcs.c: New file.
5254 * config/mips/t-mips (LIB2ADD_ST): Add it.
5255
5256 2013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
5257
5258 PR target/6526
5259 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
5260 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
5261
5262 2013-06-08 Walter Lee <walt@tilera.com>
5263
5264 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
5265 Replace int64_t with long long. Add __extension__ where
5266 appropriate.
5267 * config/tilepro/atomic.c: Include config.h.
5268
5269 2013-06-06 Douglas B Rupp <rupp@adacore.com>
5270
5271 * config.host (arm-wrs-vxworks): Configure with other soft float.
5272
5273 2013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
5274
5275 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
5276 (mips64r5900el-*-elf*): New configurations.
5277
5278 2013-06-04 Alan Modra <amodra@gmail.com>
5279
5280 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
5281
5282 2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
5283
5284 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
5285
5286 2013-05-28 Eric Botcazou <ebotcazou@adacore.com>
5287
5288 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
5289 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
5290 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
5291
5292 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5293
5294 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
5295 (powerpc-wrs-vxworks): Likewise.
5296
5297 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5298
5299 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
5300 signal frames as well.
5301 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
5302 STACK_BIAS to the CFA offset.
5303
5304 2013-05-17 Richard Henderson <rth@redhat.com>
5305
5306 PR target/49146
5307 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
5308 (execute_cfa_program): Use it when storing to fs->regs.
5309
5310 2013-05-08 Kai Tietz <ktietz@redhat.com>
5311
5312 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
5313 (__deregister_frame_info): Likewise.
5314
5315 2013-05-06 Thomas Schwinge <thomas@codesourcery.com>
5316
5317 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
5318 NaN's payload.
5319
5320 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
5321
5322 2013-04-25 Alan Modra <amodra@gmail.com>
5323
5324 * config.host: Match little-endian powerpc-linux.
5325
5326 2013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
5327
5328 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
5329 as 'unsigned long long' instead of 'unsigned long'.
5330 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
5331 'signed long'.
5332
5333 2013-04-10 Julian Brown <julian@codesourcery.com>
5334
5335 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
5336 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
5337 unsigned char/unsigned short.
5338 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
5339
5340 2013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5341
5342 PR other/55274
5343 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
5344
5345 2013-04-04 Meador Inge <meadori@codesourcery.com>
5346
5347 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
5348 computing the location of the link register.
5349 (aeabi_uldivmod): Ditto.
5350
5351 2013-03-27 Kai Tietz <ktietz@redhat.com>
5352
5353 * config.host: Add support for cygwin x64 target.
5354 * configure: Regenerated.
5355
5356 2013-03-26 Walter Lee <walt@tilera.com>
5357
5358 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
5359 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
5360
5361 2013-03-25 Kai Tietz <ktietz@redhat.com>
5362
5363 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
5364
5365 2013-03-20 Robert Mason <rbmj@verizon.net>
5366
5367 * config/vxlib-tls.c (__gthread_get_tsd_data,)
5368 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
5369 (__gthread_leave_tsd_dtor_context): Add prototypes.
5370 (tls_delete_hook): Update.
5371
5372 2013-03-20 Catherine Moore <clm@codesourcery.com>
5373 Joseph Myers <joseph@codesourcery.com>
5374 Chao-ying Fu <fu@mips.com>
5375
5376 * config/mips/mips16.S: Don't build for microMIPS.
5377 * config/mips/linux-unwind.h: Handle microMIPS frame.
5378 * config/mips/crtn.S (fini, init): New labels.
5379
5380 2013-03-14 Jakub Jelinek <jakub@redhat.com>
5381
5382 PR tree-optimization/53265
5383 * unwind-dw2.c (execute_cfa_program): Avoid
5384 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
5385 on targets with DWARF_FRAME_REGISTERS < 32.
5386
5387 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
5388
5389 PR target/49880
5390 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
5391 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
5392
5393 2013-03-07 Sriraman Tallam <tmsriram@google.com>
5394
5395 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
5396 sandybridge processors.
5397
5398 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
5399
5400 PR target/56529
5401 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
5402 inclusion list.
5403
5404 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
5405
5406 * config/microblaze/crti.S: Setup stack protection at entry
5407
5408 2013-03-04 Georg-Johann Lay <avr@gjlay.de>
5409
5410 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
5411 (__rotldi3): Shift bytewise if applicable.
5412
5413 2013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
5414
5415 * config/aarch64/sync-cache.c
5416 (__aarch64_sync_cache_range): Silence warnings.
5417
5418 2013-02-25 Catherine Moore <clm@codesourcery.com>
5419
5420 Revert:
5421 2013-02-24 Catherine Moore <clm@codesourcery.com>
5422 Joseph Myers <joseph@codesourcery.com>
5423 Chao-ying Fu <fu@mips.com>
5424
5425 * config/mips/mips16.S: Don't build for microMIPS.
5426 * config/mips/linux-unwind.h: Handle microMIPS frame.
5427 * config/mips/crtn.S (fini, init): New labels.
5428
5429 2013-02-24 Catherine Moore <clm@codesourcery.com>
5430 Joseph Myers <joseph@codesourcery.com>
5431 Chao-ying Fu <fu@mips.com>
5432
5433 * config/mips/mips16.S: Don't build for microMIPS.
5434 * config/mips/linux-unwind.h: Handle microMIPS frame.
5435 * config/mips/crtn.S (fini, init): New labels.
5436
5437 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
5438 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
5439 as dividend.
5440
5441 2013-02-16 Alan Modra <amodra@gmail.com>
5442
5443 PR target/55431
5444 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
5445 (ppc_fallback_frame_state): Always set up save locations for fp
5446 and altivec. Don't bother with non-callee-saved regs, r0-r13
5447 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
5448
5449 2013-02-12 Georg-Johann Lay <avr@gjlay.de>
5450
5451 PR target/54222
5452 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
5453 _ssmulHA, _ssmulSA.
5454 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
5455 _ssmulha3, _usmulusa3, _ssmulsa3.
5456 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
5457 (__muldi3): XCALL __muldi3_6 instead of rcall.
5458 (__umulsidi3, __mulsidi3): New functions.
5459 (do_prologue_saves, do_epilogue_restores): New .macros.
5460 (__divdi3_moddi3): Use them.
5461 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
5462 (__usmulusa3, __ssmulsa3): New functions.
5463
5464 2013-02-11 Iain Sandoe <iain@codesourcery.com>
5465 Jack Howarth <howarth@bromo.med.uc.edu>
5466 Patrick Marlier <patrick.marlier@gmail.com>
5467
5468 PR libitm/55693
5469 * config/darwin-crt-tm.c: Remove dummy functions hack.
5470
5471 2013-02-08 Georg-Johann Lay <avr@gjlay.de>
5472
5473 PR target/54222
5474 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
5475 * config/avr/lib2-object.mk: New iterator to build objects from it.
5476 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
5477 lib2funcs.c.
5478 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
5479 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
5480 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
5481 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
5482 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
5483 * config/avr/lib1funcs-fixed.S: Implement them.
5484
5485 2013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
5486
5487 Update copyright years.
5488
5489 2013-02-01 David Edelsohn <dje.gcc@gmail.com>
5490
5491 PR target/54601
5492 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
5493 Add crtcxa to extra_parts.
5494 * config/rs6000/exit.h: New file.
5495 * config/rs6000/cxa_atexit.c: New file.
5496 * config/rs6000/cxa_finalize.c: New file.
5497 * config/rs6000/crtcxa.c: New file.
5498 * config/rs6000/t-aix-cxa: New file.
5499 * config/rs6000/libgcc-aix-cxa.ver: New file.
5500
5501 2013-01-31 Nick Clifton <nickc@redhat.com>
5502
5503 * config/v850/lib1funcs.S: Add support for e3v5 architecture
5504 variant.
5505
5506 2013-01-29 Georg-Johann Lay <avr@gjlay.de>
5507
5508 PR target/54222
5509 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
5510 _mulQQ, _mulHQ, _mulHA, _mulSA,
5511 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
5512 _divQQ, _divHQ, _divHA, _divSA,
5513 _divUQQ, _divUHQ, _divUHA, _divUSA.
5514
5515 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
5516
5517 * config.host(microblaze*-linux*): tmake_file: Remove
5518 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
5519 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
5520 to exclude functions from being built with libgcc.c and use
5521 the microblaze assembly.
5522
5523 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
5524
5525 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
5526 extra_parts.
5527
5528 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
5529
5530 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
5531 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
5532 __UINTPTR_TYPE__; also cast 'base' to the same type before the
5533 alignment operation.
5534
5535 2013-01-15 Sofiane Naci <sofiane.naci@arm.com>
5536
5537 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
5538 loop start address for cache clearing.
5539
5540 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
5541
5542 * config/avr/lib1funcs.S: Remove trailing blanks.
5543 * config/avr/lib1funcs-fixed.S: Ditto.
5544
5545 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
5546
5547 * config/avr/avr-lib.h: Add GPL copyright notice.
5548
5549 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
5550
5551 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
5552 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
5553 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
5554 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
5555
5556 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
5557
5558 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
5559 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
5560
5561 2013-01-04 Nick Clifton <nickc@redhat.com>
5562
5563 * config/v850/lib1funcs.S: Only provide CALLT support functions if
5564 the CALLT instruction is supported.
5565
5566 2012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
5567
5568 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
5569 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
5570
5571 2012-12-13 John Tytgat <John@bass-software.com>
5572
5573 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
5574 is 25.
5575
5576 2012-12-12 Jakub Jelinek <jakub@redhat.com>
5577
5578 PR libgcc/55451
5579 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
5580 undefined signed overflows.
5581
5582 2012-12-09 Uros Bizjak <ubizjak@gmail.com>
5583
5584 PR target/55344
5585 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
5586
5587 2012-12-06 Uros Bizjak <ubizjak@gmail.com>
5588
5589 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
5590 (FP_TRAPPING_EXCEPTIONS): Define.
5591 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
5592 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
5593
5594 2012-12-04 Richard Henderson <rth@redhat.com>
5595
5596 PR bootstrap/55571
5597 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
5598
5599 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
5600
5601 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
5602 (FP_EX_SHIFT): Define.
5603 (FP_TRAPPING_EXCEPTIONS): Define.
5604
5605 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
5606
5607 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
5608 (FP_ROUNDMODE): Use FP_RND_MASK.
5609 * config/aarch64/sfp-exceptions.c: New.
5610 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5611 Use __sfp_handle_exceptions.
5612
5613 2012-12-04 Richard Earnshaw <rearnsha@arm.com>
5614
5615 * config.host: (arm*-*-freebsd*): Remove.
5616 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
5617 (arm*-*-elf*): Remove.
5618 (arm*-*-wince-pe*): Remove.
5619 * arm/unwind-arm.c (struct fpa_reg): Delete.
5620 (struct fpa_regs): Delete.
5621 (phase1_vrs): Remove fpa element.
5622 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
5623 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
5624 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
5625 * ieee754-sf.S (floatundisf): Remove FPA support.
5626 (floatdisf): Likewise.
5627 * ieee75f-df.S (floatundidf): Likewise.
5628 (floatdidf): Likewise.
5629
5630 2012-11-29 Kai Tietz <ktietz@redhat.com>
5631
5632 PR target/55445
5633 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
5634 * unwind-generic.h: Likewise.
5635 * unwind-seh.c: Likewise.
5636
5637 2012-11-28 Richard Henderson <rth@redhat.com>
5638
5639 PR libgcc/48076
5640 * emutls.c (__emutls_get_address): Avoid race condition between
5641 obj->loc.offset read and emutls_key initialization.
5642
5643 2012-11-22 Georg-Johann Lay <avr@gjlay.de>
5644
5645 Adjust decimal point of signed accum mode to GCC default.
5646
5647 PR target/54222
5648 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
5649 _divqq_helper.
5650 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
5651 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
5652 (__mulha3, __mulsa3)
5653 (__divqq3, __divha3, __divsa3): Adjust to new position of
5654 decimal point of signed accum types.
5655
5656 (__mulusa3_round): New function.
5657 (__mulusa3): Use it.
5658 (__divqq_helper): New function.
5659 (__udivuqq3): Use it.
5660
5661 2012-11-20 Jakub Jelinek <jakub@redhat.com>
5662
5663 PR bootstrap/55370
5664 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
5665
5666 2012-11-18 Teresa Johnson <tejohnson@google.com>
5667
5668 PR bootstrap/55051
5669 * libgcov.c (gcov_exit): Remove merged program summary
5670 comparison unless !GCOV_LOCKED.
5671
5672 2012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
5673
5674 * soft-fp: Updated from glibc upstream.
5675
5676 2012-11-06 Ian Lance Taylor <iant@google.com>
5677
5678 * generic-morestack.c (__generic_morestack): Align the returned
5679 stack pointer to a 32 byte boundary.
5680 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
5681 increment the return address until we have decided that we don't
5682 have a varargs function.
5683 (__morestack) [32-bit]: Align stack correctly when calling C
5684 functions.
5685 (__morestack) [64-bit]: Likewise.
5686
5687 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5688
5689 * configure: Regenerate.
5690
5691 2012-11-02 Uros Bizjak <ubizjak@gmail.com>
5692
5693 PR target/55175
5694 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
5695 * config/i386/sfp-machine.h: Guard exception handling
5696 code with _SOFT_FLOAT.
5697 * config/i386/32/sfp-machine.h: Guard rounding handling
5698 code with _SOFT_FLOAT.
5699 * config/i386/64/sfp-machine.h: Ditto.
5700
5701 2012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
5702
5703 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
5704 as extra_parts.
5705
5706 2012-10-26 Uros Bizjak <ubizjak@gmail.com>
5707
5708 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
5709 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
5710 when appropriate. Correct structure element types.
5711 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
5712 -minline-all-stringops from compile flags.
5713
5714 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
5715
5716 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
5717
5718 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
5719
5720 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
5721
5722 2012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
5723
5724 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
5725 tmake_file.
5726
5727 2012-10-23 Ian Bolton <ian.bolton@arm.com>
5728 Jim MacArthur <jim.macarthur@arm.com>
5729 Marcus Shawcroft <marcus.shawcroft@arm.com>
5730 Nigel Stephens <nigel.stephens@arm.com>
5731 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
5732 Richard Earnshaw <rearnsha@arm.com>
5733 Sofiane Naci <sofiane.naci@arm.com>
5734 Stephen Thomas <stephen.thomas@arm.com>
5735 Tejas Belagod <tejas.belagod@arm.com>
5736 Yufeng Zhang <yufeng.zhang@arm.com>
5737
5738 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
5739 * config/aarch64/crti.S: New file.
5740 * config/aarch64/crtn.S: New file.
5741 * config/aarch64/linux-unwind.h: New file.
5742 * config/aarch64/sfp-machine.h: New file.
5743 * config/aarch64/sync-cache.c: New file.
5744 * config/aarch64/t-aarch64: New file.
5745 * config/aarch64/t-softfp: New file.
5746
5747 2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
5748
5749 * config/mmix/crti.S: Mark program and data addresses using PRELD.
5750 Remove typo'd and unnecessary alignment-LOC for .data. Remove
5751 no-longer-needed LDBU insns.
5752
5753 2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
5754
5755 * config.host
5756 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
5757 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
5758
5759 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
5760
5761 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
5762
5763 2012-10-15 Matthias Klose <doko@ubuntu.com>
5764
5765 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
5766
5767 2012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
5768
5769 * configure: Regenerate.
5770 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
5771
5772 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
5773
5774 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
5775 instructions for 64bit targets only.
5776
5777 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
5778
5779 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5780 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
5781 * config/i386/32/sfp-machine.h: ... here.
5782 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
5783 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
5784 New defines.
5785
5786 2012-10-07 Matthias Klose <doko@ubuntu.com>
5787
5788 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
5789 as unused.
5790 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
5791
5792 2012-10-06 Mark Kettenis <kettenis@openbsd.org>
5793
5794 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
5795 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
5796 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
5797 (ElfW): Likewise.
5798
5799 2012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
5800
5801 PR other/53889
5802 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5803 Fix parameter names.
5804
5805 2012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
5806
5807 PR target/33135
5808 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
5809 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
5810 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
5811
5812 2012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
5813
5814 PR target/50457
5815 * config/sh/linux-atomic.S: Delete.
5816 * config/sh/linux-atomic.c: New.
5817 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
5818 linux-atomic.c. Add cflags to disable warnings.
5819
5820 2012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
5821
5822 PR other/53889
5823 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
5824 function.
5825 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
5826 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
5827 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
5828 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5829 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
5830 Likewise.
5831 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5832 Likewise.
5833 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
5834 Likewise.
5835 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
5836 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
5837
5838 2012-09-19 Mark Kettenis <kettenis@openbsd.org>
5839
5840 * config.host (hppa-*-openbsd*): New target.
5841 * config/pa/t-openbsd: New file.
5842
5843 2012-09-15 Georg-Johann Lay <avr@gjlay.de>
5844
5845 PR target/54222
5846 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
5847 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
5848 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
5849 (__divsa3): Use __negsi2 to negate r_quoL.
5850 * config/avr/lib1funcs.S (FALIAS): New macro.
5851 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
5852 (__negsi2): ...this new function.
5853 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
5854 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
5855 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
5856 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
5857 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
5858 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
5859
5860 2012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
5861
5862 PR target/54089
5863 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
5864 (lshrsi3): Reimplement as lshrsi3_r0.
5865
5866 2012-09-10 Andreas Schwab <schwab@linux-m68k.org>
5867
5868 PR target/46191
5869 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
5870 of libgcc.a.
5871
5872 2012-09-07 Teresa Johnson <tejohnson@google.com>
5873
5874 PR gcov-profile/54487
5875 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
5876 differences.
5877
5878 2012-09-05 Georg-Johann Lay <avr@gjlay.de>
5879
5880 PR target/54461
5881 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
5882 not configured --with-avrlibc=no.
5883 * config/avr/t-avrlibc: New file.
5884 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
5885 (DPBIT_FUNCS): Ditto.
5886 (TPBIT_FUNCS): Ditto.
5887
5888 2012-09-04 Teresa Johnson <tejohnson@google.com>
5889
5890 * libgcov.c (struct gcov_summary_buffer): New structure.
5891 (gcov_histogram_insert): New function.
5892 (gcov_compute_histogram): Ditto.
5893 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
5894 histograms during summary merging.
5895
5896 2012-09-01 Mark Kettenis <kettenis@openbsd.org>
5897
5898 * config.host (x86_64-*-openbsd*): New target.
5899
5900 2012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
5901
5902 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
5903 attribute.
5904
5905 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
5906
5907 PR target/54222
5908 * config/avr/t-avr (conv_X): Rename to func_X.
5909
5910 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
5911
5912 PR target/54222
5913 * config/avr/lib1funcs-fixed.S: New file.
5914 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
5915 after they are used.
5916 (neg2, neg4): New macros.
5917 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
5918 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
5919 (__umulhisi3): Speed up MUL variant if there is enough flash.
5920 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
5921 avr-modes.def.
5922 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
5923 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
5924 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
5925 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
5926 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
5927 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
5928 (LIB2FUNCS_EXCLUDE): Add supported functions.
5929
5930 2012-08-22 Georg-Johann Lay <avr@gjlay.de>
5931
5932 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
5933 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
5934 libgcc-s-objects.
5935 * fixed-obj.mk: Only expand dependency if $o is not in
5936 LIB2FUNCS_EXCLUDE.
5937
5938 2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
5939
5940 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
5941
5942 2012-08-22 Joseph Myers <joseph@codesourcery.com>
5943
5944 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
5945 depend on --enable-shared.
5946 ($(lib1asmfuncs-o)): Use %.vis files independent of
5947 --enable-shared.
5948 * static-object.mk ($(base)$(objext), $(base).vis)
5949 ($(base)_s$(objext)): Use same rules for visibility handling as in
5950 shared-object.mk.
5951
5952 2012-08-21 Ian Lance Taylor <iant@google.com>
5953
5954 * config/i386/morestack.S (__morestack_non_split): Increase amount
5955 of space allocated for non-split code stack.
5956
5957 2012-08-19 Joseph Myers <joseph@codesourcery.com>
5958
5959 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
5960 even if inhibit_libc.
5961
5962 2012-08-17 Julian Brown <julian@codesourcery.com>
5963
5964 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
5965 -fexceptions -fnon-call-exceptions if not defined.
5966 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
5967 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
5968
5969 2012-08-17 Andreas Schwab <schwab@linux-m68k.org>
5970
5971 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
5972 type.
5973
5974 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
5975
5976 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
5977 rs6000/t-slibgcc-aix.
5978
5979 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
5980
5981 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
5982
5983 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
5984
5985 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
5986
5987 2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
5988
5989 PR driver/54171
5990 * Makefile.in (version): Replace top_srcdir with srcdir.
5991
5992 2012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
5993
5994 * Makefile.in (version): set to BASE-VER file from gcc directory.
5995
5996 2012-08-01 Nick Clifton <nickc@redhat.com>
5997
5998 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
5999 Implements __clrsb for an HImode argument.
6000
6001 2012-07-31 Nick Clifton <nickc@redhat.com>
6002
6003 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
6004 Implements __clrsb for an HImode argument.
6005 * config/stormy16/clrsbhi2.c: New file:
6006 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
6007
6008 2012-07-22 Steven Bosscher <steven@gcc.gnu.org>
6009
6010 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
6011
6012 2012-07-19 Tristan Gingold <gingold@adacore.com>
6013 Richard Henderson <rth@redhat.com>
6014
6015 * unwind-seh.c: New file.
6016 * unwind-generic.h: Include windows.h for SEH.
6017 (_Unwind_Exception): Use 6 private fields for SEH.
6018 (_GCC_specific_handler): Declare.
6019 * unwind-c.c (__gcc_personality_seh0): New function.
6020 Adjust for SEH.
6021 * config/i386/libgcc-cygming.ver: New file.
6022 * config/i386/t-seh-eh: New file.
6023 * config.host (x86_64-*-mingw*): Default to seh.
6024
6025 2012-07-14 Steven Bosscher <steven@gcc.gnu.org>
6026
6027 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
6028
6029 2012-06-17 Uros Bizjak <ubizjak@gmail.com>
6030
6031 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
6032 __builtin_expect when checking for exceptions.
6033 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
6034
6035 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
6036
6037 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
6038 function declaration.
6039 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6040 (FP_RND_MASK): New.
6041 * config/ia64/sfp-exceptions.c: New.
6042 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
6043
6044 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
6045
6046 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
6047 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
6048 * config/i386/64/sfp-machine: ... (delete here) ...
6049 * config/i386/sfp-machine.h: ... to here.
6050 (FP_EX_MASK): Remove.
6051 (FP_RND_MASK): New.
6052 (FP_INIT_ROUNDMODE): Declare asm as volatile.
6053
6054 2012-06-11 Sriraman Tallam <tmsriram@google.com>
6055
6056 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
6057 * config/i386/libgcc-sol2.ver: Ditto.
6058 * config/i386/libgcc-glibc.ver: Ditto.
6059
6060 2012-06-11 Roland McGrath <mcgrathr@google.com>
6061
6062 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
6063 If __GLIBC__ is defined, refer to __pthread_key_create instead of
6064 pthread_cancel.
6065
6066 2012-06-09 Uros Bizjak <ubizjak@gmail.com>
6067
6068 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
6069 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
6070 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
6071 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
6072 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
6073 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
6074 * config/i386/64/sfp-machine: ... (delete here) ...
6075 * config/i386/sfp-machine.h: ... to here.
6076 (FP_EX_MASK): New.
6077 (__sfp_handle_exceptions): New function declaration.
6078 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6079 * config/i386/sfp-exceptions.c: New.
6080 * config/i386/t-softfp: New.
6081 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
6082 i386/t-softfp to tmake_file.
6083
6084 2012-06-03 David S. Miller <davem@davemloft.net>
6085
6086 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
6087 change.
6088
6089 2012-05-31 David S. Miller <davem@davemloft.net>
6090
6091 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
6092 multiply and divide instructions on 32-bit when V9.
6093 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
6094
6095 2012-05-29 Joseph Myers <joseph@codesourcery.com>
6096
6097 * config/arm/ieee754-df.S: Fix typos.
6098 * config/arm/ieee754-sf.S: Fix typos.
6099 * config/c6x/libunwind.S: Fix typos.
6100 * config/epiphany/udivsi3-float.c: Fix typos.
6101 * config/microblaze/muldi3_hard.S: Fix typos.
6102 * config/picochip/adddi3.S: Fix typos.
6103 * config/picochip/ashlsi3.S: Fix typos.
6104 * config/picochip/ashrsi3.S: Fix typos.
6105 * config/picochip/clzsi2.S: Fix typos.
6106 * config/picochip/cmpsi2.S: Fix typos.
6107 * config/picochip/divmod15.S: Fix typos.
6108 * config/picochip/divmodhi4.S: Fix typos.
6109 * config/picochip/divmodsi4.S: Fix typos.
6110 * config/picochip/longjmp.S: Fix typos.
6111 * config/picochip/lshrsi3.S: Fix typos.
6112 * config/picochip/parityhi2.S: Fix typos.
6113 * config/picochip/popcounthi2.S: Fix typos.
6114 * config/picochip/setjmp.S: Fix typos.
6115 * config/picochip/subdi3.S: Fix typos.
6116 * config/picochip/ucmpsi2.S: Fix typos.
6117 * config/picochip/udivmodhi4.S: Fix typos.
6118 * config/picochip/udivmodsi4.S: Fix typos.
6119 * config/spu/divv2df3.c: Fix typos.
6120 * config/spu/mfc_multi_tag_release.c: Fix typos.
6121 * config/spu/mfc_tag_release.c: Fix typos.
6122 * configure.ac: Fix typos.
6123 * configure: Regenerate.
6124
6125 2012-05-25 Ian Lance Taylor <iant@google.com>
6126
6127 * config/i386/morestack.S (__morestack_non_split): Check whether
6128 caller is varargs and needs %bp to hold the stack frame on return.
6129
6130 2012-05-25 Olivier Hainque <hainque@adacore.com>
6131
6132 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
6133 sequence in the non pic case on VxWorks.
6134
6135 2012-05-24 Olivier Hainque <hainque@adacore.com>
6136
6137 * Makefile.in: Move dependency on install-unwind_h from
6138 "install-leaf" to "install".
6139
6140 2012-05-24 Olivier Hainque <hainque@adacore.com>
6141
6142 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
6143 Use a separate command for stamp removals.
6144
6145 2012-05-21 Andrew Pinski <apinski@cavium.com>
6146
6147 PR bootstrap/53183
6148 * configure.ac: Define the default includes to being none.
6149 * configure: Regenerate.
6150
6151 2012-05-16 Olivier Hainque <hainque@adacore.com>
6152
6153 * Makefile.in (install-unwind_h): Rename into ...
6154 (install-unwind_h-forbuild): New target.
6155 (all): Use it instead of the former install-unwind_h.
6156 (install-unwind_h): Reinstate, copy to user install destination
6157 for include files, not to the internal gcc object directory one.
6158 (install-leaf): Depend on it.
6159
6160 2012-05-15 Olivier Hainque <hainque@adacore.com>
6161
6162 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
6163 register numbers. LR_REGNO replaces R_LR.
6164 (ucontext_for): New, helper for ...
6165 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
6166 and 5.3 of ...
6167 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
6168
6169 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6170
6171 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
6172 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
6173 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
6174 i386/t-cpuinfo ...
6175 (i[34567]86-*-*, x86_64-*-*): ... here.
6176
6177 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
6178 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
6179
6180 * config/i386/i386-cpuinfo.c: Rename to ...
6181 * config/i386/cpuinfo.c: ... this.
6182 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
6183
6184 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
6185 (libgcc_cv_init_priority): New test.
6186 * configure: Regenerate.
6187 * config.in: New file.
6188 * Makefile.in (clean): Rename config.h to auto-target.h.
6189 (config.h): Likewise.
6190 (stamp-h): Likewise.
6191
6192 * config/i386/cpuinfo.c (auto-target.h): Include.
6193 (CONSTRUCTOR_PRIORITY): Define.
6194 (__cpu_indicator_init): Use it.
6195
6196 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
6197
6198 * longlong.h: Use a URL instead of an FSF postal address.
6199 Replace spaces with tab.
6200
6201 2012-05-08 Teresa Johnson <tejohnson@google.com>
6202
6203 * libgcov.c (gcov_clear, __gcov_reset): New functions.
6204 (__gcov_dump): Ditto.
6205 (gcov_dump_complete): New global variable.
6206 (gcov_exit): Export hidden to enable use in L_gcov_dump.
6207 (__gcov_flush): Outline functionality now in gcov_clear.
6208 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
6209
6210 2012-04-28 Aurelien Jarno <aurelien@aurel32.net>
6211
6212 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
6213 (mips*-*-linux*): Include mips/t-tpbit when long double is
6214 16 bytes long.
6215
6216 2012-04-25 Sriraman Tallam <tmsriram@google.com>
6217
6218 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
6219 (get_available_features): New argument. Check for AVX2.
6220 (__cpu_indicator_init): Modify call to get_available_features.
6221
6222 2012-04-25 Alan Modra <amodra@gmail.com>
6223
6224 * config/rs6000/crtsavevr.S: New file.
6225 * config/rs6000/crtrestvr.S: New file.
6226 * config/rs6000/t-savresfgpr: Build the above.
6227 * config/rs6000/t-netbsd: Likewise.
6228
6229 2012-04-24 Sriraman Tallam <tmsriram@google.com>
6230
6231 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
6232
6233 2012-04-24 Sriraman Tallam <tmsriram@google.com>
6234
6235 * libgcc/config/i386/i386-cpuinfo.c: New file.
6236 * libgcc/config/i386/t-cpuinfo: New file.
6237 * libgcc/config.host: Include t-cpuinfo.
6238 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
6239
6240 2012-04-24 Chao-ying Fu <fu@mips.com>
6241
6242 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
6243
6244 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
6245
6246 struct siginfo vs. siginfo_t
6247
6248 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
6249 siginfo_t instead of struct siginfo.
6250 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
6251 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
6252 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
6253 (ia64_handle_unwabi): Likewise.
6254 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
6255 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
6256 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
6257 (sh_fallback_frame_state): Likewise.
6258 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
6259 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
6260
6261 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
6262
6263 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
6264 system call number.
6265
6266 2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
6267
6268 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
6269 if it hasn't been previously saved.
6270
6271 2012-03-29 H.J. Lu <hongjiu.lu@intel.com>
6272
6273 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
6274 only for glibc.
6275
6276 2012-03-28 Georg-Johann Lay <avr@gjlay.de>
6277
6278 PR target/52737
6279 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
6280 instead of __AVR_HAVE_8BIT_SP__.
6281
6282 2012-03-26 Tristan Gingold <gingold@adacore.com>
6283
6284 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
6285 (unw_table_entry): Use unw_word instead of unsigned long.
6286 (_Unwind_FindTableEntry): Likewise.
6287 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
6288 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
6289 (_Unwind_FindTableEntry): Likewise.
6290 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
6291 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
6292 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
6293 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
6294 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
6295 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
6296 (uw_init_context_1, uw_install_context): Likewise.
6297 (unw_word): Move to unwind-ia64.h
6298
6299 2012-03-26 Tristan Gingold <gingold@adacore.com>
6300
6301 * config/vms/vms-ucrt0.c: Update copyright years.
6302 Add a sanity check.
6303 (___gcc_main_flags): Declare.
6304 (__main): Check flags to remap argv and exit code.
6305 * config.host (*-*-*vms*): Adjust extra_parts.
6306 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
6307 (crt0.o): Add.
6308
6309 2012-03-22 Richard Earnshaw <rearnsha@arm.com>
6310
6311 * arm/lib1funcs.asm (ctzsi2): New function.
6312 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
6313 * arm/t-linux (LIB1ASMFUNCS): Likewise.
6314 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
6315 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
6316 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
6317 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
6318
6319 2012-03-21 Andreas Tobler <andreast@fgznet.ch>
6320
6321 * config.host: Add bits to support powerpc64-*-freebsd*.
6322 * config/rs6000/freebsd-unwind.h: New file.
6323 * config/rs6000/t-freebsd64: New file.
6324
6325 2012-03-20 Richard Guenther <rguenther@suse.de>
6326
6327 PR gcov-profile/52627
6328 * libgcov.c (init_mx): Fix mutex name.
6329
6330 2012-03-16 Tristan Gingold <gingold@adacore.com>
6331
6332 * config/ia64/vms-unwind.h: Remove ulong (and replace
6333 it by unw_reg where used). Define unw_reg with __int64.
6334
6335 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6336
6337 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
6338 Solaris 8 handling.
6339 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
6340 Solaris 8 handling.
6341 (sparc_is_sighandler): Likewise.
6342
6343 2012-03-13 H.J. Lu <hongjiu.lu@intel.com>
6344
6345 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
6346 <= saved reg size.
6347
6348 2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6349
6350 * config/arm/crtn.S: Fix typo.
6351
6352 2012-03-13 Richard Guenther <rguenther@suse.de>
6353
6354 * libgcov.c: Remove stdio.h include and NULL un-define.
6355
6356 2012-03-13 Richard Guenther <rguenther@suse.de>
6357
6358 PR target/52569
6359 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
6360
6361 2012-03-13 Richard Guenther <rguenther@suse.de>
6362
6363 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
6364
6365 2012-03-13 Richard Guenther <rguenther@suse.de>
6366
6367 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
6368 and __gthread_mutex_init_function definitions.
6369
6370 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6371
6372 * config.host (mips*-*-openbsd*): Remove.
6373
6374 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6375
6376 * config.host: Remove alpha*-dec-osf5.1* handling.
6377 * config/alpha/gthr-posix.c: Remove.
6378 * config/alpha/libgcc-osf5.ver: Remove.
6379 * config/alpha/osf5-unwind.h: Remove.
6380 * config/alpha/t-osf-pthread: Remove.
6381 * config/alpha/t-slibgcc-osf: Remove.
6382 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
6383 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
6384 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
6385 * mkmap-flat.awk: Remove osf_export handling.
6386
6387 2012-03-12 Richard Guenther <rguenther@suse.de>
6388
6389 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
6390 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6391 (__gthread_mutex_init_function): New function.
6392 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6393
6394 PR gcov/49484
6395 * libgcov.c: Include gthr.h.
6396 (__gcov_flush_mx): New global variable.
6397 (init_mx, init_mx_once): New functions.
6398 (__gcov_flush): Protect self with a mutex.
6399 (__gcov_fork): Re-initialize mutex after forking.
6400 * unwind-dw2-fde.c: Change condition under which to use
6401 __GTHREAD_MUTEX_INIT_FUNCTION.
6402
6403 2012-03-12 Tristan Gingold <gingold@adacore.com>
6404
6405 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
6406 * config/ia64/t-vms: Likewise.
6407
6408 2012-03-11 Michael Hope <michael.hope@linaro.org>
6409
6410 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
6411 for Thumb-2.
6412
6413 2012-03-07 Walter Lee <walt@tilera.com>
6414
6415 * config/tilepro/atomic.c: Rename "atomic_" prefix to
6416 "arch_atomic_".
6417 (atomic_xor): Rename and move definition to
6418 config/tilepro/atomic.h.
6419 (atomic_nand): Ditto.
6420 * config/tilepro/atomic.h: Rename "atomic_" prefix to
6421 "arch_atomic_".
6422 (arch_atomic_xor): Move from config/tilepro/atomic.c.
6423 (arch_atomic_nand): Ditto.
6424
6425 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
6426
6427 PR target/52507
6428 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
6429
6430 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
6431
6432 PR target/52505
6433 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
6434 from RAM.
6435
6436 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
6437
6438 PR target/52461
6439 PR target/52508
6440 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
6441 if RAMPZ affects reading from RAM.
6442 (__tablejump_elpm__): Ditto.
6443 (.xload): Ditto.
6444 (__movmemx_hi): Ditto.
6445 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
6446 (__do_global_dtors): Ditto.
6447 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
6448 (__movmemx_hi): Ditto.
6449
6450 2012-03-05 Richard Henderson <rth@redhat.com>
6451
6452 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
6453 [ARM] (count_trailing_zeros): Use the builtin.
6454
6455 2012-03-01 Kai Tietz <ktietz@redhat.com>
6456
6457 * soft-fp: Imported from glibc upstream.
6458
6459 2012-02-28 Kai Tietz <ktietz@redhat.com>
6460
6461 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
6462 for mingw-targets as attribute gcc_struct.
6463
6464 2012-02-28 Ian Lance Taylor <iant@google.com>
6465
6466 * generic-morestack.c (__splitstack_releasecontext): Correct call
6467 to __morestack_release_segments.
6468
6469 2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6470
6471 PR target/52390
6472 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
6473 for __linux__ when removing signals from __morestack_fullmask.
6474
6475 2012-02-23 Georg-Johann Lay <avr@gjlay.de>
6476
6477 PR target/52261
6478 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
6479
6480 2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6481
6482 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
6483 instead of HAVE_INITFINI_ARRAY.
6484 * config/ia64/crtend.S: Likewise.
6485
6486 2012-02-20 Kai Tietz <ktietz@redhat.com>
6487
6488 PR libstdc++/52300
6489 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
6490
6491 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
6492 to w32-unwind.h header.
6493
6494 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6495
6496 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
6497 (mips*-*-linux*): Remove t-slibgcc-libgcc.
6498 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
6499 * config/mips/mips16.S (__mips16_rdhwr): Delete.
6500
6501 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6502
6503 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
6504
6505 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6506
6507 PR libitm/52220
6508 * config/darwin-crt-tm.c: Correct typo.
6509
6510 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6511 Patrick Marlier <patrick.marlier@gmail.com>
6512
6513 PR libitm/52220
6514 * config/darwin-crt-tm.c: Generate dummy functions.
6515
6516 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6517 Patrick Marlier <patrick.marlier@gmail.com>
6518
6519 PR libitm/52042
6520 * config/darwin-crt-tm.c (getTMCloneTable): New function.
6521 (__doTMRegistrations): Call it.
6522 (__doTMdeRegistrations): Likewise.
6523
6524 2012-01-15 Georg-Johann Lay <avr@gjlay.de>
6525 Anatoly Sokolov <aesok@post.ru>
6526 Eric Weddington <eric.weddington@atmel.com>
6527
6528 PR target/52261
6529 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
6530 (__epilogue_restores__): Ditto.
6531
6532 2012-02-15 Eric Botcazou <ebotcazou@adacore.com>
6533
6534 PR target/51921
6535 PR target/52205
6536 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
6537 Solaris 11 and slightly reformat.
6538 (sparc_is_sighandler): Likewise.
6539
6540 2012-02-14 Walter Lee <walt@tilera.com>
6541
6542 * config.host: Handle tilegx and tilepro.
6543 * config/tilegx/sfp-machine.h: New file.
6544 * config/tilegx/sfp-machine32.h: New file.
6545 * config/tilegx/sfp-machine64.h: New file.
6546 * config/tilegx/t-crtstuff: New file.
6547 * config/tilegx/t-softfp: New file.
6548 * config/tilegx/t-tilegx: New file.
6549 * config/tilepro/atomic.c: New file.
6550 * config/tilepro/atomic.h: New file.
6551 * config/tilepro/linux-unwind.h: New file.
6552 * config/tilepro/sfp-machine.h: New file.
6553 * config/tilepro/softdivide.c: New file.
6554 * config/tilepro/softmpy.S: New file.
6555 * config/tilepro/t-crtstuff: New file.
6556 * config/tilepro/t-tilepro: New file.
6557
6558 2012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
6559
6560 PR libstdc++/51296
6561 PR libstdc++/51906
6562 * gthr-posix.h: Allow static initializer macros to be disabled.
6563 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
6564
6565 2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
6566
6567 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
6568 Add t-slibgcc-libgcc to tmake_file.
6569 * config/mips/libgcc-mips16.ver: Revert previous patch.
6570 * config/mips/mips16.S (__mips16_rdhwr): Hide.
6571
6572 2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
6573 Jayant R Sonar <jayant.sonar@kpitcummins.com>
6574
6575 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
6576 * config/cr16/crti.S: New file.
6577 * config/cr16/crtlibid.S: New file.
6578 * config/cr16/crtn.S: New file.
6579 * config/cr16/lib1funcs.S: New file.
6580 * config/cr16/t-cr16: New file.
6581 * config/cr16/t-crtlibid: New file.
6582 * config/cr16/unwind-dw2.h: New file.
6583 * config/cr16/unwind-cr16.c: New file.
6584 * config/cr16/divmodhi3.c: New file.
6585
6586 2012-01-25 Alan Modra <amodra@gmail.com>
6587
6588 * config/rs6000/t-linux64: Delete. Move..
6589 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
6590 * config/rs6000/t-linux: ..and libgcc flags to here.
6591
6592 2012-01-22 Douglas B Rupp <rupp@gnat.com>
6593
6594 * config.host (i[34567]86-*-interix3*):
6595 Change triplet to i[34567]86-*-interix[3-9]*.
6596 * configure: Regenerate.
6597
6598 2012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
6599 Richard Sandiford <rdsandiford@googlemail.com>
6600
6601 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
6602 * config/mips/mips16.S (__mips16_rdhwr): New function.
6603 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
6604
6605 2012-01-11 Nathan Sidwell <nathan@acm.org>
6606
6607 * libgcov.c (__gcov_init): Ignore objects with no functions.
6608
6609 2012-01-10 Georg-Johann Lay <avr@gjlay.de>
6610
6611 PR target/49868
6612 Extend __pgmx semantics to linearize memory.
6613 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
6614 * config/avr/lib1funcs.S (__xload_1): New function.
6615 (__movmemx_qi, __movmemx_hi): New functions.
6616 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
6617 semantics.
6618
6619 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6620
6621 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
6622 purported sigacthandler address isn't null before dereferencing it.
6623 (sparc_is_sighandler): Likewise.
6624
6625 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6626
6627 PR ada/41929
6628 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
6629 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
6630 (sparc_is_sighandler): Likewise.
6631 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
6632
6633 2012-01-06 Tristan Gingold <gingold@adacore.com>
6634
6635 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
6636 compatibility thunks...
6637 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
6638 (crtbeginS.o, crtendS.o): ... and these to ...
6639 * config/ia64/t-ia64-elf: ... this new file.
6640 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
6641 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
6642
6643 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6644
6645 * configure: Regenerate.
6646 * config/s390/t-crtstuff: Remove -fPIC.
6647
6648 2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
6649
6650 PR bootstrap/51006
6651 * enable-execute-stack-mprotect.c (getpagesize): Do not define
6652 for NetBSD.
6653
6654 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
6655
6656 PR target/51345
6657 * config/avr/lib1funcs.S: Remove FIXME comments.
6658 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
6659
6660 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
6661
6662 Implement light-weight DImode support.
6663 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
6664 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
6665 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
6666 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
6667
6668 2011-12-30 Nathan Sidwell <nathan@acm.org>
6669
6670 * libgcov.c (gcov_crc32): Remove global var.
6671 (free_fn_data): New function.
6672 (buffer_fn_data): Pass in filename, more robust error recovery.
6673 (crc32_unsigned): New function.
6674 (gcov_exit): More robust detection of new program. More robust
6675 error recovery.
6676 (__gcov_init): Do not update program's crc here.
6677
6678 2011-12-21 Tristan Gingold <gingold@adacore.com>
6679
6680 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
6681
6682 2011-12-21 Ian Lance Taylor <iant@google.com>
6683
6684 * config/i386/morestack.S: Simplify CFI opcodes throughout.
6685
6686 2011-12-20 Ian Lance Taylor <iant@google.com>
6687
6688 * config/i386/morestack.S (__morestack_non_split): If there is
6689 enough stack space already, don't split. Ask for more stack space
6690 than we required.
6691
6692 2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
6693
6694 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
6695 `sys/sdt.h'.
6696 (_Unwind_DebugHook): New function.
6697 (uw_restore_core_regs): New define.
6698 (unwind_phase2): Use uw_restore_core_regs instead of
6699 restore_core_regs.
6700 (unwind_phase2_forced): Likewise.
6701 (__gnu_Unwind_Resume): Likewise.
6702
6703 2011-12-20 Uros Bizjak <ubizjak@gmail.com>
6704
6705 * config/alpha/linux-unwind.h: Update copyright years.
6706 (MD_FROB_UPDATE_CONTEXT): New define.
6707 (alpha_frob_update_context): New function.
6708
6709 2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
6710
6711 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
6712 tmake_file rather replacing it.
6713
6714 2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
6715
6716 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
6717 function is not used for PPC64.
6718 (save_world): Amend comments. Update the VRsave mask to reflect the
6719 saved regs.
6720 (rest_world): Update comments, do not clobber r10, do not use r8.
6721 (eh_rest_world_r10): Amend comments, do not use r8.
6722 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
6723 no longer used, move restore of CR and target address to the end of
6724 the routine.
6725
6726 2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
6727
6728 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
6729 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
6730
6731 2011-12-14 Georg-Johann Lay <avr@gjlay.de>
6732
6733 PR target/49313
6734 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
6735 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
6736
6737 2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
6738
6739 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
6740
6741 2011-12-09 Georg-Johann Lay <avr@gjlay.de>
6742
6743 PR target/49313
6744 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
6745 * config/avr/lib1funcs.S (__muldi3): New function.
6746
6747 2011-12-06 Andrew Pinski <apinski@cavium.com>
6748
6749 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
6750 size of func_ptr.
6751 (__frame_dummy_init_array_entry): Likewise.
6752
6753 2011-12-06 Georg-Johann Lay <avr@gjlay.de>
6754
6755 Forward-port from gcc-4_6-branch r181936 2011-12-02.
6756
6757 PR target/51345
6758 PR target/51002
6759 * config/avr/lib1funcs.S (__prologue_saves__,
6760 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
6761 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
6762
6763 2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
6764
6765 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
6766
6767 2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6768
6769 PR other/51272
6770 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
6771 (_ITM_deregisterTMCloneTable): Likewise.
6772 (__register_frame_info): Fix unused warning.
6773 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
6774 pthread_default_stacksize_np): Likewise.
6775 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
6776
6777 2011-11-29 DJ Delorie <dj@redhat.com>
6778
6779 * config.host (rl78-*-elf): New case.
6780 * config/rl78: New directory for the Renesas RL78.
6781
6782 2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
6783
6784 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
6785 formatting.
6786
6787 2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6788
6789 PR other/51022
6790 * config/rs6000/t-savresfgpr: New file.
6791 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
6792 $(srcdir)/config/rs6000/eabi.S.
6793 * config/rs6000/t-ppccomm-ldbl: Remove.
6794 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
6795 tmake_file.
6796 (powerpc-*-eabispe*): Likewise.
6797 (powerpc-*-eabi*): Likewise.
6798 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
6799 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
6800 to tmake_file, remove rs6000/t-ppccomm-ldbl.
6801 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
6802 tmake_file.
6803 (powerpc-*-eabisim*): Likewise.
6804 (powerpc-*-elf*): Likewise.
6805 (powerpc-*-eabialtivec*): Likewise.
6806 (powerpc-xilinx-eabi*): Likewise.
6807 (powerpc-*-rtems*): Likewise.
6808 (powerpcle-*-elf*): Likewise.
6809 (powerpcle-*-eabisim*): Likewise.
6810 (powerpcle-*-eabi*): Likewise.
6811
6812 2011-11-27 Ian Lance Taylor <iant@google.com>
6813
6814 * generic-morestack.c (__splitstack_find): Check for NULL old
6815 stack value.
6816 (__splitstack_resetcontext): New function.
6817 (__splitstack_releasecontext): New function.
6818 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6819
6820 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
6821
6822 * config/darwin-crt-tm.c: Correct comments, use correct licence.
6823
6824 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
6825
6826 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
6827
6828 2011-11-26 Richard Henderson <rth@redhat.com>
6829
6830 * config/m68k/linux-atomic.c: New file.
6831 * config/m68k/t-linux: New file.
6832 * config.host (m68k-uclinux, m68k-linux): Use it.
6833
6834 2011-11-26 Richard Henderson <rth@redhat.com>
6835
6836 * crtstuff.c (__TMC_LIST__): Mark used not unused.
6837 (__TMC_END__): Only declare if hidden is available; in the definition,
6838 if hidden is unavailable add a null record.
6839 (deregister_tm_clones, register_tm_clones): New.
6840 (__do_global_dtors_aux, frame_dummy): Use them.
6841 (__do_global_dtors, __do_global_ctors_1): Likewise.
6842
6843 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
6844
6845 * config/darwin-crt-tm.c: New file.
6846 * config.host (darwin): Build crttms.o crttme.o to provide
6847 startup and shutdown for tm clones.
6848 * config/t-darwin (crttms.o): New build rule.
6849 (crttme.o): Likewise.
6850
6851 2011-11-21 Hans-Peter Nilsson <hp@axis.com>
6852
6853 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
6854 et al.
6855
6856 2011-11-21 Richard Henderson <rth@redhat.com>
6857
6858 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
6859 (__TMC_LIST__, __TMC_END__): New.
6860 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
6861 (__do_global_dtors): Likewise.
6862 (frame_dummy): Call _ITM_registerTMCloneTable.
6863 (__do_global_ctors_1): Likewise.
6864
6865 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6866
6867 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
6868 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
6869 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
6870 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
6871 * config/i386/t-darwin64: Remove.
6872 * config/sh/t-netbsd (LIB2ADD): Remove.
6873
6874 2011-11-21 Georg-Johann Lay <avr@gjlay.de>
6875
6876 PR target/49313
6877 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
6878 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
6879 * config/avr/lib1funcs.S (wmov): New assembler macro.
6880 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
6881 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
6882 (__udivmod64): New function.
6883 (__negdi2): New function.
6884
6885 2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
6886
6887 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
6888 *-*-freebsd*aout*): Remove.
6889
6890 2011-11-20 Hans-Peter Nilsson <hp@axis.com>
6891
6892 * static-object.mk (c_flags-$o): Save c_flags.
6893 ($(base)$(objext)): Use it.
6894
6895 2011-11-18 Steve Ellcey <sje@cup.hp.com>
6896
6897 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
6898
6899 2011-11-18 Georg-Johann Lay <avr@gjlay.de>
6900
6901 PR target/49868
6902 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
6903 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
6904 New functions.
6905
6906 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
6907
6908 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
6909 functions.
6910 (aeabi_uidivmod): Likewise.
6911 (umodsi3): Likewise.
6912 (divsi3): Likewise.
6913 (aeabi_idivmod): Likewise.
6914 (modsi3): Likewise.
6915
6916 2011-11-16 Tristan Gingold <gingold@adacore.com>
6917
6918 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
6919
6920 2011-11-15 Georg-Johann Lay <avr@gjlay.de>
6921
6922 PR target/49868
6923 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
6924 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
6925
6926 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6927
6928 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
6929 tmake_file list.
6930 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
6931 * config/pa/t-stublib64: Delete.
6932
6933 2011-11-12 Richard Henderson <rth@redhat.com>
6934
6935 * config/rs6000/linux-unwind.h (frob_update_context): Properly
6936 cast the pointer argument to _Unwind_SetGRPtr.
6937
6938 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6939
6940 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
6941
6942 2011-11-09 Ian Lance Taylor <iant@google.com>
6943
6944 * generic-morestack.c: Include <string.h>.
6945 (uintptr_type): Define.
6946 (struct initial_sp): Add dont_block_signals field. Reduce size of
6947 extra array by 1.
6948 (allocate_segment): Set prev field to NULL. Don't set
6949 __morestack_current_segment or __morestack_segments.
6950 (__generic_morestack): Update current->prev and *pp after calling
6951 allocate_segment.
6952 (__morestack_block_signals): Don't do anything if
6953 dont_block_signals is set.
6954 (__morestack_unblock_signals): Likewise.
6955 (__generic_findstack): Check for initial_sp == NULL. Add casts to
6956 uintptr_type.
6957 (__splitstack_block_signals): New function.
6958 (enum __splitstack_content_offsets): Define.
6959 (__splitstack_getcontext, __splitstack_setcontext): New functions.
6960 (__splitstack_makecontext): New function.
6961 (__splitstack_block_signals_context): New function.
6962 (__splitstack_find_context): New function.
6963 * config/i386/morestack.S (__morestack_get_guard): New function.
6964 (__morestack_set_guard, __morestack_make_guard): New functions.
6965 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6966
6967 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6968
6969 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
6970 (i[34567]86-*-mingw*): ... here.
6971 (x86_64-*-mingw*): ... here.
6972
6973 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6974
6975 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
6976
6977 2011-11-07 Nathan Sidwell <nathan@acm.org>
6978
6979 * libgcov.c (struct gcov_fn_buffer): New struct.
6980 (buffer_fn_data): New helper.
6981 (gcov_exit): Rework for new gcov data structures.
6982
6983 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
6984
6985 PR target/49313
6986 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
6987
6988 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6989
6990 * config.host (tmake_file): Correct comment.
6991 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
6992 t-libgcc-pic.
6993 (bfin*-uclinux*): Likewise.
6994 (bfin*-linux-uclibc*): Likewise.
6995 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
6996
6997 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
6998 assigning.
6999 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7000 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
7001 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7002 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
7003 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7004 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
7005 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
7006 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7007 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
7008 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
7009 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
7010 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
7011 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
7012
7013 * config/bfin/t-elf: Remove.
7014 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
7015
7016 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7017
7018 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
7019 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
7020 (lm32-*-elf*, lm32-*-rtems*): Split into ...
7021 (lm32-*-elf*): ... this.
7022 (lm32-*-rtems*): ... and this.
7023 Add to tmake_file.
7024 (m32r-*-rtems*): Add to tmake_file.
7025 (moxie-*-rtems*): Likewise.
7026 (sparc-*-rtems*): Likewise.
7027 Remove t-rtems from tmake_file.
7028 (sparc64-*-rtems*): Likewise.
7029 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
7030 instead.
7031
7032 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7033
7034 PR bootstrap/50982
7035 * config/gthr-posix.h: Move ...
7036 * gthr-posix.h: ... here.
7037 * config/gthr-lynx.h: Reflect this.
7038 * config/gthr-vxworks.h: Likewise.
7039 * config/rs6000/gthr-aix.h: Likewise.
7040 * configure.ac (target_thread_file): Likewise.
7041 * configure: Regenerate.
7042
7043 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
7044
7045 * config.host (arm*-*-rtemseabi*): New target.
7046
7047 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7048
7049 PR other/50991
7050 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
7051 extra-parts.
7052
7053 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
7054
7055 * config.host (epiphany-*-elf*): New configuration.
7056 * config/epiphany: New Directory.
7057
7058 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
7059
7060 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
7061 * config/avr/t-rtems: New.
7062 Filter out _exit from LIB1ASMFUNCS.
7063
7064 2011-11-04 David S. Miller <davem@davemloft.net>
7065
7066 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
7067 * configure: Rebuild.
7068
7069 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7070
7071 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
7072 variable.
7073
7074 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
7075
7076 PR target/50931
7077 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
7078 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
7079
7080 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
7081
7082 PR target/50989
7083 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
7084
7085 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7086
7087 * config/c6x/t-elf (LIB2ADDEH): Set.
7088 * config/c6x/t-c6x-elf: Remove.
7089
7090 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7091
7092 * config/i386/sol2-ci.S: Rename to ...
7093 * config/i386/crti.S: ... this.
7094 * config/i386/sol2-cn.S: Rename to ...
7095 * config/i386/crtn.S: ... this.
7096 * config/sparc/sol2-ci.S: Rename to ...
7097 * config/sparc/crti.S: ... this.
7098 * config/sparc/sol2-cn.S: Rename to ...
7099 * config/sparc/crtn.S: ... this.
7100 * config/t-sol2 (CUSTOM_CRTIN): Remove.
7101 (crti.o, crtn.o): Remove.
7102
7103 2011-11-04 Tristan Gingold <gingold@adacore.com>
7104
7105 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
7106
7107 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
7108
7109 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
7110
7111 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
7112
7113 * config.host (crisv32-*-none, cris-*-none): Remove.
7114 (crisv32-*-elf): Append to tmake_file, don't just set it.
7115 (cris-*-elf): Add missing t-fdpbit to tmake_file.
7116
7117 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7118
7119 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
7120 (ecrtn$(objext)): Likewise.
7121 (ncrti$(objext)): Likewise.
7122 (ncrtn$(objext)): Likewise.
7123
7124 2011-11-03 Andreas Schwab <schwab@redhat.com>
7125
7126 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
7127
7128 2011-11-02 David S. Miller <davem@davemloft.net>
7129
7130 * configure.ac: Set host_address on sparc too.
7131 * configure: Regenerate.
7132 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
7133 based upon host_address.
7134 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
7135
7136 2011-11-02 Jason Merrill <jason@redhat.com>
7137
7138 * config/rs6000/t-ppccomm: Add missing \.
7139
7140 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7141
7142 * gthr-single.h, gthr.h: New files.
7143 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
7144 config/gthr-vxworks.h, config/i386/gthr-win32.h,
7145 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
7146 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
7147 * config/i386/gthr-win32.c: Include "gthr-win32.h".
7148 * configure.ac (thread_header): New variable.
7149 Set it depending on target_thread_file.
7150 (gthr-default.h): Link from $thread_header.
7151 * configure: Regenerate.
7152 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
7153
7154 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7155
7156 * configure.ac (tm_file_): New variable.
7157 Determine from tm_file.
7158 (tm_file, tm_defines): Substitute.
7159 * configure: Regenerate.
7160 * mkheader.sh: New file.
7161 * Makefile.in (clean): Remove libgcc_tm.h.
7162 ($(objects)): Depend on libgcc_tm.h.
7163 (libgcc_tm_defines, libgcc_tm_file): New variables.
7164 (libgcc_tm.h, libgcc_tm.stamp): New targets.
7165 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
7166 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
7167 ($(extra-parts)): Depend on libgcc_tm.h.
7168 * config.host (tm_defines, tm_file): New variable.
7169 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
7170 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
7171 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
7172 (avr-*-rtems*): Likewise.
7173 (avr-*-*): Likewise.
7174 (frv-*-elf): Likewise.
7175 (frv-*-*linux*): Likewise.
7176 (h8300-*-rtems*): Likewise.
7177 (h8300-*-elf*): Likewise.
7178 (i[34567]86-*-darwin*): Likewise.
7179 (x86_64-*-darwin*): Likewise.
7180 (rx-*-elf): Likewise.
7181 (tic6x-*-uclinux): Likewise.
7182 (tic6x-*-elf): Likewise.
7183 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
7184 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
7185 * config/i386/cygming-crtbegin.c: Likewise.
7186 * config/i386/cygming-crtend.c: Likewise.
7187 * config/ia64/fde-vms.c: Likewise.
7188 * config/ia64/unwind-ia64.c: Likewise.
7189 * config/libbid/bid_gcc_intrinsics.h: Likewise.
7190 * config/rs6000/darwin-fallback.c: Likewise.
7191 * config/stormy16/lib2funcs.c: Likewise.
7192 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
7193 * crtstuff.c: Likewise.
7194 * dfp-bit.h: Likewise.
7195 * emutls.c: Likewise.
7196 * fixed-bit.c: Likewise.
7197 * fp-bit.c: Likewise.
7198 * generic-morestack-thread.c: Likewise.
7199 * generic-morestack.c: Likewise.
7200 * libgcc2.c: Likewise.
7201 * libgcov.c: Likewise.
7202 * unwind-dw2-fde-dip.c: Likewise.
7203 * unwind-dw2-fde.c: Likewise.
7204 * unwind-dw2.c: Likewise.
7205 * unwind-sjlj.c: Likewise.
7206
7207 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7208
7209 * configure.ac: Include ../config/picflag.m4.
7210 (GCC_PICFLAG): Call it.
7211 Substitute.
7212 * configure: Regenerate.
7213 * Makefile.in (gcc_srcdir): Remove.
7214 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
7215 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
7216 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
7217 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
7218 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
7219 Use $<.
7220 Remove comment.
7221 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
7222 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
7223 to refer to libgcc2.c.
7224 Use $<.
7225 * config/darwin-64.c: New file.
7226 * config/darwin-crt3.c: Remove comment.
7227 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
7228 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
7229 config/udivmodsi4.c: New files.
7230 * config/memcmp.c, config/memcpy.c, config/memmove.c,
7231 config/memset.c: New files.
7232 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
7233 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
7234 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
7235 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
7236 * config/t-openbsd-thread: New file.
7237 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
7238 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
7239 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
7240 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
7241 qrnnd.S.
7242 Adapt filename.
7243 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
7244 to refer to gthr-posix.c.
7245 * config/alpha/t-vms (LIB2ADD): Set.
7246 * config/alpha/vms-gcc_shell_handler.c: New file.
7247 * config/arm/bpabi.c, config/arm/fp16.c,
7248 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
7249 config/arm/unaligned-funcs.c: New files.
7250 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
7251 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7252 * config/arm/t-linux: Likewise.
7253 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
7254 * config/arm/t-netbsd: New file.
7255 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
7256 * config/arm/t-symbian (LIB2ADD_ST): Set.
7257 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
7258 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7259 * config/bfin/t-elf: New file.
7260 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
7261 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
7262 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
7263 config/c6x/ltf.c: New files.
7264 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
7265 (HOST_LIBGCC2_CFLAGS): Set.
7266 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
7267 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7268 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
7269 New files.
7270 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
7271 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
7272 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
7273 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
7274 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
7275 files.
7276 * config/frv/t-frv (LIB2ADD): Set.
7277 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7278 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
7279 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
7280 config/h8300/popcounthi2.c: New files.
7281 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7282 * config/i386/gthr-win32.c: New file.
7283 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
7284 * config/i386/t-cygwin: Likewise.
7285 * config/i386/t-darwin, config/i386/t-darwin64,
7286 config/i386/t-gthr-win32, config/i386/t-interix: New files.
7287 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
7288 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7289 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7290 * config/ia64/quadlib.c: New file.
7291 * config/ia64/t-hpux (LIB2ADD): Set.
7292 * config/ia64/t-ia64: Add comment.
7293 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
7294 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7295 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
7296 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
7297 * config/m32c/t-m32c (LIB2ADD): Set.
7298 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7299 * config/m32r/t-m32r: Likewise.
7300 * config/m68k/fpgnulib.c: New file.
7301 * config/m68k/t-floatlib (LIB2ADD): Set.
7302 (xfgnulib.c): New target.
7303 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
7304 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
7305 * config/mep/t-mep (LIB2ADD): Set.
7306 * config/microblaze/divsi3.asm: Rename to divsi3.S.
7307 * config/microblaze/moddi3.asm: Rename to moddi3.S.
7308 * config/microblaze/modsi3.asm: Rename to modsi3.S.
7309 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
7310 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
7311 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
7312 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
7313 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
7314 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
7315 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
7316 New files.
7317 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
7318 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
7319 * config/pa/fptr.c, config/pa/lib2funcs.S,
7320 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
7321 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7322 (LIB2ADD, LIB2ADD_ST): Set.
7323 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
7324 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
7325 Set.
7326 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
7327 * config/pdp11/t-pdp11: New file.
7328 * config/picochip/libgccExtras/adddi3.S,
7329 config/picochip/libgccExtras/ashlsi3.S,
7330 config/picochip/libgccExtras/ashrsi3.S,
7331 config/picochip/libgccExtras/clzsi2.S,
7332 config/picochip/libgccExtras/cmpsi2.S,
7333 config/picochip/libgccExtras/divmod15.S,
7334 config/picochip/libgccExtras/divmodhi4.S,
7335 config/picochip/libgccExtras/divmodsi4.S,
7336 config/picochip/libgccExtras/lshrsi3.S,
7337 config/picochip/libgccExtras/parityhi2.S,
7338 config/picochip/libgccExtras/popcounthi2.S,
7339 config/picochip/libgccExtras/subdi3.S,
7340 config/picochip/libgccExtras/ucmpsi2.S,
7341 config/picochip/libgccExtras/udivmodhi4.S,
7342 config/picochip/libgccExtras/udivmodsi4.S: New files.
7343 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
7344 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
7345 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
7346 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
7347 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
7348 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
7349 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
7350 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
7351 files.
7352 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
7353 (HOST_LIBGCC2_CFLAGS): Set.
7354 * config/rs6000/t-darwin64: New file.
7355 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
7356 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
7357 * config/rs6000/t-ppccomm (LIB2ADD): Add
7358 $(srcdir)/config/rs6000/tramp.S.
7359 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
7360 Add $(srcdir)/config/rs6000/eabi.S.
7361 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
7362 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
7363 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
7364 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
7365 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
7366 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
7367 * config/rs6000/tramp.S: New file.
7368 * config/s390/t-tpf: Remove.
7369 * config/sh/linux-atomic.S: New file.
7370 * config/sh/t-linux (LIB2ADD): Set.
7371 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
7372 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7373 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
7374 to unwind-dw2.c.
7375 (HOST_LIBGCC2_CFLAGS): Set.
7376 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7377 * config/spu/divmodti4.c, config/spu/divv2df3.c,
7378 config/spu/float_disf.c, config/spu/float_unsdidf.c,
7379 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
7380 config/spu/mfc_multi_tag_release.c,
7381 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
7382 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
7383 config/spu/multi3.c: New files.
7384 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
7385 (HOST_LIBGCC2_CFLAGS): Set.
7386 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
7387 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
7388 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
7389 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
7390 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
7391 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
7392 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
7393 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
7394 config/stormy16/umodsi3.c: New files.
7395 * config/xtensa/lib2funcs.S: New file.
7396 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7397 * config/xtensa/t-xtensa (LIB2ADD): Set.
7398 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
7399 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
7400 Add t-freebsd-thread to tmake_file for posix threads.
7401 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
7402 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
7403 (*-*-lynxos*): Likewise.
7404 (*-*-netbsd*): Likewise.
7405 (*-*-openbsd*): Likewise.
7406 Add t-openbsd-thread to tmake_file for posix threads.
7407 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
7408 (*-*-vxworks*): Set tmake_file.
7409 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7410 (alpha*-*-freebsd*): Likewise.
7411 (alpha*-*-netbsd*): Likewise.
7412 (alpha*-*-openbsd*): Likewise.
7413 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
7414 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7415 (alpha*-dec-*vms*): Likewise.
7416 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
7417 (bfin*-elf*): Add bfin/t-elf to tmake_file.
7418 (bfin*-uclinux*): Likewise.
7419 (bfin*-linux-uclibc*): Likewise.
7420 (crisv32-*-elf): Add cris/t-cris to tmake_file.
7421 (crisv32-*-none): Likewise.
7422 (cris-*-elf): Likewise.
7423 (cris-*-none): Likewise.
7424 (cris-*-linux*, crisv32-*-linux*): Likewise.
7425 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
7426 tmake_file.
7427 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
7428 tmake_file.
7429 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
7430 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
7431 (x86_64-*-elf*): Likewise.
7432 (i[34567]86-*-nto-qnx*): Likewise.
7433 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
7434 win32 threads.
7435 (x86_64-*-mingw*): Likewise.
7436 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
7437 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
7438 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7439 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7440 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
7441 tmake_file.
7442 (mipsisa64sr71k-*-elf*): Likewise.
7443 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7444 (mips-*-elf*, mipsel-*-elf*): Likewise.
7445 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7446 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7447 (mips*-*-rtems*): Likewise.
7448 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
7449 to tmake_file.
7450 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
7451 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
7452 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
7453 (spu-*-elf*): Likewise.
7454 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
7455
7456 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7457
7458 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
7459 $(srcdir) to refer to $(LIB1ASMSRC).
7460 Use $<.
7461 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
7462 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
7463 config/arm/lib1funcs.S: New files.
7464 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
7465 * config/arm/t-arm: New file.
7466 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
7467 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
7468 config/arm/t-strongarm-elf: New files.
7469 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
7470 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
7471 * config/avr/lib1funcs.S: New file.
7472 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7473 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
7474 * config/c6x/lib1funcs.S: New file.
7475 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7476 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
7477 * config/frv/lib1funcs.S: New file.
7478 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7479 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
7480 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
7481 * config/ia64/__divxf3.asm: Rename to ...
7482 * config/ia64/__divxf3.S: ... this.
7483 Adapt lib1funcs.asm filename.
7484 * config/ia64/_fixtfdi.asm: Rename to ...
7485 * config/ia64/_fixtfdi.S: ... this.
7486 Adapt lib1funcs.asm filename.
7487 * config/ia64/_fixunstfdi.asm: Rename to ...
7488 * config/ia64/_fixunstfdi.S: ... this.
7489 Adapt lib1funcs.asm filename.
7490 * config/ia64/_floatditf.asm: Rename to ...
7491 * config/ia64/_floatditf.S: ... this.
7492 Adapt lib1funcs.asm filename.
7493 * config/ia64/lib1funcs.S: New file.
7494 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
7495 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7496 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
7497 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
7498 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
7499 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
7500 * config/mep/lib1funcs.S: New file.
7501 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7502 * config/mips/mips16.S: New file.
7503 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7504 * config/pa/milli64.S: New file.
7505 * config/pa/t-linux, config/pa/t-linux64: New files.
7506 * config/picochip/lib1funcs.S: New file.
7507 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7508 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
7509 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
7510 * config/sh/t-netbsd: New file.
7511 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
7512 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
7513 * config/sh/t-sh64: New file.
7514 * config/sparc/lb1spc.S: New file.
7515 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
7516 filename.
7517 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
7518 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
7519 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
7520 config/xtensa/lib1funcs.S: New files.
7521 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7522 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
7523 tmake_file.
7524 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
7525 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
7526 (arm*-*-linux*): Likewise.
7527 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
7528 arm*-*-linux-*eabi, add arm/t-linux otherwise.
7529 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
7530 (arm*-*-ecos-elf): Likewise.
7531 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7532 (arm*-*-rtems*): Likewise.
7533 (arm*-*-elf): Likewise.
7534 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
7535 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
7536 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
7537 (bfin*-uclinux*): Likewise.
7538 (bfin*-linux-uclibc*): Likewise.
7539 (bfin*-rtems*): Likewise.
7540 (bfin*-*): Likewise.
7541 (fido-*-elf): Merge into m68k-*-elf*.
7542 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
7543 (frv-*-*linux*): Add frv/t-frv to tmake_file.
7544 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
7545 (h8300-*-elf*): Likewise.
7546 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
7547 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
7548 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
7549 (i[34567]86-*-mingw*): Likewise.
7550 (x86_64-*-mingw*): Likewise.
7551 (i[34567]86-*-interix3*): Likewise.
7552 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
7553 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
7554 (m68k-*-elf*): Also handle fido-*-elf.
7555 Add m68k/t-floatlib to tmake_file.
7556 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
7557 (m68k-*-linux*): Likewise.
7558 (m68k-*-rtems*): Likewise.
7559 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
7560 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
7561 sh64*-*-*.
7562 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
7563 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
7564 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
7565 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
7566 sh/t-netbsd to tmake_file.
7567 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
7568 (sh-*-rtems*): Add sh/t-sh to tmake_file.
7569 (sh-wrs-vxworks): Likewise.
7570 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
7571 *-leon[3-9]*.
7572 (v850*-*-*): Add v850/t-v850 to tmake_file.
7573 (vax-*-linux*): Add vax/t-linux to tmake_file.
7574 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
7575
7576 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7577
7578 * crtstuff.c: New file.
7579 * Makefile.in (CRTSTUFF_CFLAGS): Define.
7580 (CRTSTUFF_T_CFLAGS): Define.
7581 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
7582 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
7583 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
7584 crtstuff.c.
7585 Use $<.
7586 (crtbeginT.o): Use $(objext).
7587 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
7588 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
7589 (gcc-extra-parts): Remove.
7590 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
7591 Set extra_parts.
7592 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7593 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
7594 Add t-crtstuff-pic to tmake_file.
7595 (*-*-lynxos*): New case.
7596 Set tmake_file, extra_parts.
7597 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
7598 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
7599 *-*-netbsdelf[2-9]*.
7600 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
7601 (*-*-rtems*): Set extra_parts.
7602 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
7603 (*-*-uclinux*): New case.
7604 Set extra_parts.
7605 (*-*-vms*): New case.
7606 Set tmake_file, extra_parts.
7607 (*-*-elf): Set extra_parts.
7608 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
7609 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
7610 vms/t-vms64.
7611 Set extra_parts.
7612 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
7613 Set extra_parts.
7614 (arm*-*-freebsd*): Add t-crtin to tmake_file.
7615 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
7616 (arm-wrs-vxworks): Append to tmake_file.
7617 Set extra_parts.
7618 (arm*-*-uclinux*): Set extra_parts.
7619 (arm*-*-ecos-elf): Likewise.
7620 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
7621 arm*-*-eabi*.
7622 (arm*-*-rtems*): Set extra_parts.
7623 (arm*-*-elf): Likewise.
7624 (avr-*-rtems*): Clear extra_parts.
7625 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
7626 Set extra_parts.
7627 (bfin*-uclinux*): Likewise.
7628 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
7629 (bfin*-rtems*): Append to tmake_file.
7630 Set extra_parts.
7631 (bfin*-*): Likewise.
7632 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
7633 (crisv32-*-elf): ... this.
7634 (crisv32-*-none): ... this.
7635 (cris-*-elf, cris-*-none): New cases.
7636 Add cris/t-elfmulti to tmake_file.
7637 (fr30-*-elf): Append to tmake_file.
7638 Set extra_parts.
7639 (frv-*-elf): Append to tmake_file, add frv/t-frv.
7640 Set extra_parts.
7641 (h8300-*-rtems*): Append to tmake_file.
7642 Set extra_parts.
7643 (h8300-*-elf*): Likewise.
7644 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
7645 Set extra_parts.
7646 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
7647 Set extra_parts.
7648 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
7649 (x86_64-*-elf*): Likewise.
7650 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
7651 (x86_64-*-freebsd*): Likewise.
7652 (x86_64-*-netbsd*): Likewise.
7653 (i[34567]86-*-linux*): Likewise.
7654 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
7655 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
7656 (x86_64-*-linux*): Likewise.
7657 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
7658 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
7659 tmake_file.
7660 Set extra_parts.
7661 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
7662 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
7663 Append to extra_parts, remove crtbegin.o, crtend.o.
7664 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
7665 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
7666 crtend.o, crtbeginS.o, crtendS.o.
7667 (ia64*-*-linux*): Comment extra_parts.
7668 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
7669 Set extra_parts.
7670 (iq2000*-*-elf*): Clear extra_parts.
7671 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
7672 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
7673 (m32r-*-elf*, m32r-*-rtems*): Split off ...
7674 (m32r-*-rtems*): ... this.
7675 Add m32r/t-m32r to tmake_file.
7676 (m68k-*-elf*): Add t-crtin to tmake_file.
7677 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
7678 (mcore-*-elf): Likewise.
7679 (microblaze*-*-*): Set extra_parts.
7680 (mips*-sde-elf*): New case.
7681 Set tmake_file, extra_parts.
7682 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7683 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7684 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
7685 tmake_file.
7686 Set extra_parts.
7687 (mipsisa64sr71k-*-elf*): Likewise.
7688 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7689 (mips-*-elf*, mipsel-*-elf*): Likewise.
7690 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7691 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
7692 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7693 (mips*-*-rtems*): Likewise.
7694 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
7695 (moxie-*-*): Split into ...
7696 (moxie-*-elf, moxie-*-uclinux*): ... this.
7697 Add to extra_parts, remove crtbegin.o, crtend.o.
7698 (moxie-*-rtems*): New case.
7699 Set tmake_file.
7700 Clear extra_parts.
7701 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
7702 Set extra_parts.
7703 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7704 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
7705 tmake_file.
7706 Set extra_parts.
7707 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
7708 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
7709 Set extra_parts.
7710 (powerpc-*-eabisim*): Likewise.
7711 (powerpc-*-elf*): Likewise.
7712 (powerpc-*-eabialtivec*): Likewise.
7713 (powerpc-xilinx-eabi*): Likewise.
7714 (powerpc-*-eabi*): Likewise.
7715 (powerpc-*-rtems*): Likewise.
7716 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
7717 tmake_file.
7718 Set extra_parts.
7719 (powerpc-*-lynxos*): Add to tmake_file.
7720 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
7721 rs6000/t-crtstuff, t-crtstuff-pic.
7722 Set extra_parts.
7723 (powerpcle-*-eabisim*): Likewise.
7724 (powerpcle-*-eabi*): Likewise.
7725 (rx-*-elf): Remove extra_parts.
7726 (s390x-ibm-tpf*): Set extra_parts.
7727 (score-*-elf): Set extra_parts.
7728 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7729 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7730 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7731 (sh64l*-*-netbsd*): Split into ...
7732 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
7733 Add t-crtstuff-pic to tmake_file.
7734 Set extra_parts.
7735 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
7736 Set extra_parts.
7737 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
7738 (sparc-*-elf*): Remove t-crtin from tmake_file.
7739 Add to extra_parts, remove crtbegin.o, crtend.o.
7740 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
7741 (sparc64-*-linux*): Likewise.
7742 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
7743 Add to extra_parts, remove crtbegin.o, crtend.o.
7744 (sparc64-*-elf*): Remove t-crtin from tmake_file.
7745 Add to extra_parts, remove crtbegin.o, crtend.o.
7746 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
7747 Add to extra_parts, remove crtbegin.o, crtend.o.
7748 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
7749 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
7750 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
7751 Set extra_parts.
7752 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
7753 Set extra_parts.
7754 (tic6x-*-*): Change to ...
7755 (tic6x-*-elf): ... this.
7756 Set extra_parts.
7757 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
7758 Set extra_parts.
7759 (am33_2.0-*-linux*): Add comment.
7760 (mep*-*-*): Add mep/t-mep to tmake_file.
7761 Set extra_parts.
7762 * config/alpha/t-vms: New file.
7763 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
7764 * config/arm/crti.S, config/arm/crtn.S: New files.
7765 * config/bfin/crti.S, config/bfin/crtn.S: New files.
7766 * config/bfin/crtlibid.S: New file.
7767 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
7768 * config/c6x/crti.S, config/c6x/crtn.S: New files.
7769 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
7770 (crti.o, crtin.o): New rules.
7771 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7772 * config/c6x/t-uclinux: New file.
7773 * config/cris/t-elfmulti: New file.
7774 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
7775 * config/fr30/crti.S, config/fr30/crtn.S: New files.
7776 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
7777 * config/frv/t-frv: New file.
7778 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
7779 * config/h8300/crti.S, config/h8300/crtn.S: New files.
7780 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
7781 New files.
7782 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
7783 refer to cygming-crtbegin.c, cygming-crtend.c.
7784 Use $<.
7785 * config/i386/t-nto: New file.
7786 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
7787 * config/ia64/crti.S, config/ia64/crtn.S: New files.
7788 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
7789 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
7790 Use .S extension.
7791 Use $<.
7792 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7793 (crtinitS.o): New rule.
7794 * config/ia64/vms-crtinit.S: New file.
7795 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
7796 * config/m32r/initfini.c: New file.
7797 * config/m32r/t-linux, config/m32r/t-m32r: New files.
7798 * config/m68k/crti.S, config/m68k/crtn.S: New files.
7799 * config/mcore/crti.S, config/mcore/crtn.S: New files.
7800 * config/mep/t-mep: New file.
7801 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
7802 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
7803 * config/mips/crti.S, config/mips/crtn.S: New files.
7804 * config/mips/t-crtstuff: New file.
7805 * config/mmix/crti.S, config/mmix/crtn.S: New files.
7806 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
7807 (CUSTOM_CRTIN): Set.
7808 ($(T)crti.o, $(T)crtn.o): Remove $(T),
7809 dependencies.
7810 Use $(srcdir) to refer to crti.S, crtn.S.
7811 Use .S extension, $<.
7812 * config/moxie/crti.asm: Rename to ...
7813 * config/moxie/crti.S: ... this.
7814 * config/moxie/crtn.asm: Rename to ...
7815 * config/moxie/crtn.S: ... this.
7816 * config/moxie/t-moxie: Remove.
7817 * config/pa/stublib.c: New file.
7818 * config/pa/t-stublib, config/pa/t-stublib64: New files.
7819 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
7820 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
7821 * config/rs6000/t-crtstuff: New file.
7822 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
7823 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
7824 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
7825 Make output file explicit.
7826 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
7827 Make output file explicit.
7828 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
7829 Make output file explicit.
7830 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
7831 Make output file explicit.
7832 * config/score/crti.S, config/score/crtn.S: New files.
7833 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
7834 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
7835 files.
7836 * config/sh/t-sh, config/sh/t-superh: New files.
7837 * config/sparc/t-linux64: New file.
7838 * config/spu/cache.S, config/spu/cachemgr.c: New files.
7839 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
7840 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
7841 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
7842 * config/t-crtin: Remove.
7843 * config/t-crtstuff-pic: New file.
7844 * config/t-sol2 (CUSTOM_CRTIN): Set.
7845 (crti.o, crtn.o): New rules.
7846 * config/vms/t-vms: New file.
7847 * config/vms/vms-ucrt0.c: New file.
7848 * config/xtensa/t-elf: New file.
7849
7850 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7851
7852 * Makefile.in (SHLIB_NM_FLAGS): Set.
7853 * mkmap-flat.awk, mkmap-symver.awk: New files.
7854 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
7855 exceptions.
7856 * configure: Regenerate.
7857 * config/libgcc-glibc.ver: New file.
7858 * config/libgcc-libsystem.ver: New file.
7859 * config/t-libunwind (SHLIB_LC): Set.
7860 * config/t-linux: New file.
7861 * config/t-slibgcc (INSTALL_SHLIB): New.
7862 (SHLIB_INSTALL): Use it.
7863 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
7864 to mkmap-symver.awk.
7865 (SHLIB_MAPFILES): Don't append, adapt pathname.
7866 (SHLIB_VERPFX): Set.
7867 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
7868 to mkmap-symver.awk.
7869 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
7870 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
7871 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
7872 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
7873 to mkmap-flat.awk.
7874 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
7875 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
7876 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
7877 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
7878 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
7879 * config/i386/libgcc-darwin.10.4.ver,
7880 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
7881 New files.
7882 * config/i386/t-darwin: Remove.
7883 * config/i386/t-darwin64: Likewise.
7884 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
7885 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
7886 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
7887 * config/i386/t-linux: New file.
7888 * config/i386/t-mingw32: New file.
7889 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
7890 * config/ia64/t-glibc: Rename to ...
7891 * config/ia64/t-linux: ... this.
7892 (SHLIB_MAPFILES): Set.
7893 * config/ia64/t-glibc-libunwind: Rename to ...
7894 * config/ia64/t-linux-libunwind: ... this.
7895 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
7896 * config/ia64/t-slibgcc-hpux: New file.
7897 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
7898 * config/m68k/t-slibgcc-elf-ver: New file.
7899 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
7900 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
7901 to mkmap-flat.awk.
7902 * config/pa/t-slibgcc-hpux: New file.
7903 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
7904 files.
7905 * config/rs6000/libgcc-darwin.10.4.ver,
7906 config/rs6000/libgcc-darwin.10.5.ver: New files.
7907 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
7908 config/rs6000/libgcc-glibc.ver.
7909 * config/rs6000/libgcc-ppc64.ver: Rename to
7910 config/rs6000/libgcc-ibm-ldouble.ver.
7911 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
7912 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
7913 * config/rs6000/t-ldbl128: Rename to ...
7914 * config/rs6000/t-linux: ... this.
7915 (SHLIB_MAPFILES): Adapt filename.
7916 * config/rs6000/t-slibgcc-aix: New file.
7917 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
7918 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
7919 libgcc-excl.ver, libgcc-glibc.ver.
7920 (SHLIB_LINK, SHLIB_INSTALL): Remove.
7921 * config/sparc/libgcc-glibc.ver: New file.
7922 * config/sparc/t-linux: New file.
7923 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
7924 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
7925 t-slibgcc-elf-ver to tmake_file.
7926 Add t-slibgcc-nolc-override to tmake_file for posix threads on
7927 *-*-freebsd[34].
7928 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7929 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
7930 t-slibgcc-elf-ver, t-linux to tmake_file.
7931 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
7932 tmake_file.
7933 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
7934 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
7935 (alpha*-dec-*vms*): Likewise.
7936 (arm*-*-freebsd*): Append to tmake_file.
7937 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
7938 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
7939 arm*-*-linux-*eabi.
7940 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
7941 tmake_file for arm*-*-symbianelf*.
7942 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
7943 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
7944 cris/t-linux.
7945 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
7946 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
7947 pa/t-slibgcc-dwarf-ver to tmake_file.
7948 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
7949 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
7950 (hppa*64*-*-hpux11*): Likewise.
7951 (hppa[12]*-*-hpux11*): Likewise.
7952 (x86_64-*-darwin*): Don't override tmake_file, but only keep
7953 i386/t-crtpc, i386/t-crtfm.
7954 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
7955 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7956 to tmake_file.
7957 Add i386/t-cygwin to tmake_file.
7958 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
7959 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
7960 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7961 to tmake_file.
7962 Add i386/t-mingw32 to tmake_file.
7963 (x86_64-*-mingw*): Likewise.
7964 (ia64*-*-freebsd*): Append to tmake_file.
7965 (ia64*-*-linux*): Append to tmake_file.
7966 Replace ia64/t-glibc by ia64/t-linux.
7967 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
7968 system libunwind.
7969 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
7970 t-slibgcc-hpux to tmake_file.
7971 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
7972 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
7973 (m32rle-*-linux*): Likewise.
7974 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
7975 sjlj exceptions.
7976 (microblaze*-linux*): New case.
7977 Append to tmake_file, add t-slibgcc-nolc-override.
7978 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
7979 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7980 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
7981 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7982 rs6000/t-slibgcc-aix to tmake_file.
7983 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7984 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7985 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7986 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7987 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7988 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
7989 sh*-*-linux*.
7990 (sparc-*-linux*): Append to tmake_file for *-leon*.
7991 Add sparc/t-linux to tmake_file for non-Leon targets.
7992 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
7993 (tic6x-*-uclinux): New case.
7994 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
7995 (tic6x-*-*): Add c6x/t-elf to tmake_file.
7996 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
7997 (am33_2.0-*-linux*): Append to tmake_file.
7998 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
7999 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
8000 x86_64-*-kfreebsd*-gnu.
8001 Add i386/t-linux to tmake_file.
8002
8003 2011-10-28 Ian Lance Taylor <iant@google.com>
8004
8005 * config/i386/morestack.S: Correct CFI information to do proper
8006 returns throughout function. In 32-bit mode, save %ebx so that it
8007 is restored on unwind.
8008
8009 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
8010
8011 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
8012 case where B3 isn't the return register.
8013
8014 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
8015 logic for doubleword pops.
8016
8017 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
8018
8019 * config/rs6000/t-freebsd: Add wildcard.
8020
8021 2011-10-21 Paul Brook <paul@codesourcery.com>
8022
8023 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
8024
8025 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
8026 Eric Botcazou <ebotcazou@adacore.com>
8027
8028 PR target/50737
8029 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
8030 fs->signal_frame to 1.
8031
8032 2011-10-07 Ian Lance Taylor <iant@google.com>
8033
8034 * generic-morestack-thread.c: #include <errno.h>.
8035
8036 2011-10-07 Ian Lance Taylor <iant@google.com>
8037
8038 PR target/46093
8039 * generic-morestack.c (__generic_morestack): Make sure the segment
8040 is large enough for both the stack frame and the copied
8041 parameters.
8042
8043 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8044
8045 PR bootstrap/49804
8046 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
8047 extra_parts.
8048
8049 2011-09-28 Nick Clifton <nickc@redhat.com>
8050
8051 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
8052 64-bit doubles are not enabled.
8053 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
8054 and floatunsisf functions.
8055
8056 2011-09-13 Paul Brook <paul@codesourcery.com>
8057
8058 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
8059 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
8060 * unwind-arm-common.inc: New file.
8061 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
8062 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
8063 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
8064 * config/c6x/libunwind.S: New file.
8065 * config/c6x/pr-support.c: New file.
8066 * config/c6x/unwind-c6x.c: New file.
8067 * config/c6x/unwind-c6x.h: New file.
8068 * config/c6x/t-c6x-elf: New file.
8069
8070 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
8071
8072 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
8073 (ASM_DIVZERO): Ditto.
8074 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
8075
8076 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
8077
8078 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
8079
8080 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
8081
8082 PR target/50090
8083 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
8084 instead of an assembly one.
8085
8086 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
8087
8088 PR bootstrap/50047
8089 * Makefile.in (install-unwind_h): Create
8090 $(gcc_objdir)/include/unwind.h atomically.
8091
8092 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8093
8094 * Makefile.in (install-unwind_h): Remove destination file first.
8095
8096 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8097
8098 * sync.c: New file.
8099 * config/mips/t-mips16: New file.
8100 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
8101 (mips*-*-linux*): Likewise.
8102 (mips*-sde-elf*): Likewise.
8103 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
8104 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
8105 Add mips/t-mips16 to tmake_file.
8106 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
8107 (mips-*-elf*): Likewise.
8108 (mips64-*-elf*): Likewise.
8109 (mips64orion-*-elf*): Likewise.
8110 (mips*-*-rtems*): Likewise.
8111 (mipstx39-*-elf*): Likewise.
8112 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
8113 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
8114 LIBGCC_SYNC_CFLAGS.
8115 Use $(srcdir) to refer to sync.c.
8116 Use $<.
8117 ($(libgcc-sync-funcs-o)): Likewise.
8118 ($(libgcc-sync-size-funcs-s-o)): Likewise.
8119 ($(libgcc-sync-funcs-s-o)): Likewise.
8120
8121 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
8122
8123 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
8124 t-libunwind.
8125
8126 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
8127
8128 PR other/48007
8129 * config/i386/value-unwind.h: New.
8130
8131 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
8132
8133 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
8134 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
8135 Add to tmake_file rather than overriding it.
8136
8137 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8138
8139 * config/t-softfp: Remove.
8140 * soft-fp: Moved from ../gcc/config.
8141 * soft-fp/README: Remove t-softfp reference.
8142 * soft-fp/t-softfp: Move to config/t-softfp.
8143 (softfp_machine_header): Remove.
8144 (softfp_file_list): Remove config subdir.
8145 (soft-fp-objects): New variable.
8146 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
8147 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
8148 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
8149 * config/t-softfp-excl: New file.
8150 * config/t-softfp-sfdf: New file.
8151 * config/t-softfp-tf: New file.
8152 * config/no-sfp-machine.h: New file.
8153 * config/arm/sfp-machine.h: New file.
8154 * config/arm/t-softfp: New file.
8155 * config/c6x/sfp-machine.h: New file.
8156 * config/i386/32/t-fprules-softfp: Rename to ...
8157 * config/i386/32/t-softfp: ... this.
8158 (tifunctions, LIB2ADD): Remove.
8159 (softfp_int_modes): Override.
8160 * config/i386/64/t-softfp-compat (tf-functions): Remove config
8161 subdir.
8162 * config/i386/64/eqtf2.c: Likewise.
8163 * config/i386/64/getf2.c: Likewise.
8164 * config/i386/64/letf2.c: Likewise.
8165 * config/ia64/sft-machine.h: New file.
8166 * config/ia64/t-fprules-softfp: Rename to ...
8167 * config/ia64/t-softfp: ... this.
8168 * config/lm32/sfp-machine.h: New file.
8169 * config/moxie/t-moxie-softfp: Remove.
8170 * config/rs6000/ibm-ldouble-format: New file.
8171 * config/rs6000/ibm-ldouble.c: New file.
8172 * config/rs6000/libgcc-ppc-glibc.ver: New file
8173 * config/rs6000/libgcc-ppc64.ver: New file
8174 * config/rs6000/sfp-machine.h: New file.
8175 * config/rs6000/t-freebsd: New file.
8176 * config/rs6000/t-ibm-ldouble: New file.
8177 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
8178 libgcc-ppc-glibc.ver.
8179 * config/rs6000/t-linux64: New file.
8180 * config/rs6000/t-ppccomm (LIB2ADD): Add
8181 $(srcdir)/config/rs6000/ibm-ldouble.c.
8182 * config/rs6000/t-ppccomm-ldbl: New file.
8183 * config/score/sfp-machine.h: New file.
8184 * config.host (sfp_machine_header): Explain.
8185 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
8186 t-softfp to tmake_file.
8187 (arm*-*-uclinux*): Likewise.
8188 (arm*-*-ecos-elf): Likewise.
8189 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
8190 (arm*-*-rtems*): Likewise.
8191 (arm*-*-elf): Likewise.
8192 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
8193 in tmake_file.
8194 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
8195 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
8196 (lm32-*-uclinux*): Likewise.
8197 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
8198 t-softfp-excl, t-softfp.
8199 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
8200 (powerpc64-*-darwin*): Likewise.
8201 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
8202 to tmake_file.
8203 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
8204 tmake_file.
8205 (powerpc-*-eabisim*): Likewise.
8206 (powerpc-*-elf*): Likewise.
8207 (powerpc-*-eabialtivec*): Likewise.
8208 (powerpc-xilinx-eabi*): Likewise.
8209 (powerpc-*-rtems*): Likewise.
8210 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
8211 t-softfp-excl, t-softfp to tmake_file.
8212 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
8213 rs6000/t-ppccomm-ldbl to tmake_file.
8214 (powerpcle-*-elf*): Likewise.
8215 (powerpcle-*-eabisim*): Likewise.
8216 (powerpcle-*-eabi*): Likewise.
8217 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8218 rs6000/t-ibm-ldouble to tmake_file.
8219 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8220 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8221 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
8222 (tic6x-*-*): Likewise.
8223 (i[34567]86-*-darwin*, x86_64-*-darwin*,
8224 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
8225 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
8226 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
8227 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
8228 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
8229 t-softfp to tmake_file.
8230 * configure.ac (sfp_machine_header): Provide default if unset.
8231 Substitute.
8232 Link sfp-machine.h to config/$sfp_machine_header.
8233 * configure: Regenerate.
8234
8235 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8236
8237 * Makefile.in (double_type_size, long_double_type_size): Set.
8238 Remove $(fpbit-in-libgcc) support.
8239 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
8240 (fpbit-src): New variable.
8241 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
8242 Compile with -DFLOAT $(FPBIT_CFLAGS).
8243 Use $<.
8244 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
8245 Compile with $(FPBIT_CFLAGS).
8246 Use $<.
8247 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
8248 Compile with -DFLOAT $(TPBIT_CFLAGS).
8249 Use $<.
8250 * configure.ac (double_type_size, long_double_type_size):
8251 Determine and substitute.
8252 * configure: Regenerate.
8253 * fp-bit.c, fp-bit.h: New files.
8254 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
8255 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
8256 * config/mips/t-mips: New file.
8257 * config/mips/t-sdemtk: New file.
8258 * config/rs6000/ppc64-fp.c: New file.
8259 * config/rs6000/t-darwin (LIB2ADD): Add
8260 $(srcdir)/config/rs6000/ppc64-fp.c.
8261 * config/rs6000/t-ppc64-fp: New file.
8262 * config/rx/rx-lib.h: New file.
8263 * config/rx/t-rx (FPBIT): Set to true.
8264 ($(gcc_objdir)/fp-bit.c): Remove.
8265 (DPBIT): Set to true only with -m64bit-doubles.
8266 ($(gcc_objdir)/dp-bit.c): Remove.
8267 * config/sparc/t-softfp: Remove.
8268 * config/spu/t-elf: New file.
8269 * config/t-fdpbit, config/t-fpbit: New files.
8270 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
8271 (mips*-*-*): Likewise.
8272 (arm-wrs-vxworks): Likewise.
8273 (arm*-*-freebsd*): Likewise.
8274 (avr-*-rtems*): Add t-fpbit to tmake_file.
8275 (avr-*-*): Likewise.
8276 (bfin*-elf*): Add t-fdpbit to tmake_file.
8277 (bfin*-uclinux*): Likewise.
8278 (bfin*-linux-uclibc*): Likewise.
8279 (bfin*-rtems*): New case.
8280 Add t-fdpbit to tmake_file.
8281 (bfin*-*): Add t-fdpbit to tmake_file.
8282 (crisv32-*-elf): Likewise.
8283 (cris-*-linux*): Likewise.
8284 (fr30-*-elf): Likewise.
8285 (frv-*-elf, frv-*-*linux*): Likewise.
8286 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
8287 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
8288 (m32r-*-elf*): Likewise.
8289 (m32rle-*-elf*): Likewise.
8290 (m32r-*-linux*): Likewise.
8291 (m32rle-*-linux*): Likewise.
8292 (mcore-*-elf): Add t-fdpbit to tmake_file.
8293 (microblaze*-*-*): Likewise.
8294 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
8295 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
8296 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
8297 Fix typo.
8298 Add mips/t-tpbit to tmake-file.
8299 (mips*-*-linux*): Fix typo.
8300 (mips*-sde-elf*): New case
8301 Add mips/t-sdemtk unless using newlib.
8302 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
8303 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
8304 (mn10300-*-*): Likewise.
8305 (pdp11-*-*): Likewise.
8306 (picochip-*-*): Add t-fpbit to tmake_file.
8307 (powerpc-*-eabisimaltivec*): Likewise.
8308 (powerpc-*-eabisim*): Likewise.
8309 (powerpc-*-elf*): Likewise.
8310 (powerpc-*-eabialtivec*): Likewise.
8311 (powerpc-xilinx-eabi*): New case.
8312 Add t-fdpbit to tmake_file.
8313 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
8314 (powerpc-*-rtems*): Likewise.
8315 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
8316 tmake_file.
8317 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
8318 tmake_file.
8319 (powerpc-*-lynxos*): Likewise.
8320 (powerpcle-*-elf*): Likewise.
8321 (powerpcle-*-eabisim*): Likewise.
8322 (powerpcle-*-eabi*): Likewise.
8323 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8324 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
8325 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8326 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8327 (rx-*-elf): Add t-fdpbit to tmake_file.
8328 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8329 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8330 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8331 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
8332 sh*-*-netbsd*.
8333 (sh-*-rtems*): Add t-fdpbit to tmake_file.
8334 (sh-wrs-vxworks): Likewise.
8335 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
8336 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
8337 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
8338 (sparc64-*-rtems*): ... new case.
8339 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
8340 (spu-*-elf*): Likewise.
8341 Add spu/t-elf to tmake_file.
8342 (v850*-*-*): Add t-fdpbit to tmake_file.
8343 (xstormy16-*-elf): Likewise.
8344 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
8345 (mep*-*-*): Likewise.
8346
8347 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8348
8349 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
8350 variables.
8351 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
8352 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
8353 (install-unwind_h): New target.
8354 (all): Depend on it.
8355 * config.host (unwind_header): New variable.
8356 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
8357 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8358 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
8359 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
8360 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
8361 Set unwind_header.
8362 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
8363 Set unwind_header.
8364 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
8365 arm*-*-eabi*.
8366 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
8367 Set unwind_header.
8368 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
8369 (ia64*-*-freebsd*): Likewise.
8370 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
8371 tmake_file.
8372 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
8373 $with_system_libunwind.
8374 (ia64*-*-hpux*): Set tmake_file.
8375 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
8376 (picochip-*-*): Set tmake_file.
8377 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
8378 md_unwind_header.
8379 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8380 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8381 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
8382 (xtensa*-*-elf*): Set tmake_file.
8383 (xtensa*-*-linux*): Likewise.
8384 * configure.ac: Include ../config/unwind_ipinfo.m4.
8385 Call GCC_CHECK_UNWIND_GETIPINFO.
8386 Link unwind.h to $unwind_header.
8387 * configure: Regenerate.
8388 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
8389 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
8390 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
8391 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
8392 * config/unwind-dw2-fde-darwin.c: New file.
8393 * config/arm/libunwind.S, config/arm/pr-support.c,
8394 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
8395 config/arm/unwind-arm.h,: New files.
8396 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
8397 config/ia64/t-eh-ia64, config/ia64/t-glibc,
8398 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
8399 config/ia64/t-vms, config/ia64/unwind-ia64.c,
8400 config/ia64/unwind-ia64.h: New files.
8401 * config/picochip/t-picochip: New file.
8402 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
8403 files.
8404 * config/rs6000/t-darwin (LIB2ADDEH): Set.
8405 * config/s390/t-tpf (LIB2ADDEH): Remove.
8406 * config/t-darwin (LIB2ADDEH): Set.
8407 * config/t-eh-dw2-dip: New file.
8408 * config/t-libunwind, config/t-libunwind-elf: New files.
8409 * config/t-sol2 (LIB2ADDEH): Remove.
8410 * config/xtensa/t-xtensa: New file.
8411
8412 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
8413
8414 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
8415 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
8416 long long to check rt_sigreturn syscall.
8417
8418 2011-08-02 Alan Modra <amodra@gmail.com>
8419
8420 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8421 Restore for indirect call bcrtl from correct stack slot, and only
8422 if cfa+40 isn't valid.
8423
8424 2011-08-01 Julian Brown <julian@codesourcery.com>
8425
8426 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
8427 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
8428 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
8429
8430 2011-08-01 Julian Brown <julian@codesourcery.com>
8431
8432 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
8433 (libgcc-std.ver.in): Use above.
8434 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
8435 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
8436 throughout file.
8437 * config/t-fixedpoint-gnu-prefix: New file.
8438 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
8439 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
8440 instead of __PFX__.
8441
8442 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
8443
8444 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
8445 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
8446 for x86-64. Properly check __x86_64__ and __LP64__.
8447
8448 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
8449
8450 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
8451 version.
8452 (_FP_WS_TYPE): Likewise.
8453 (_FP_I_TYPE): Likewise.
8454
8455 2011-07-28 Alan Modra <amodra@gmail.com>
8456
8457 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8458 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
8459 in a plt call stub. Do restore r2 if stopped on bctrl.
8460
8461 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8462
8463 * config.host (i[3456x]86-*-netware*): Remove.
8464 * config/i386/netware-crt0.c, config/i386/t-nwld,
8465 config/i386/t-slibgcc-nwld: Remove.
8466
8467 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
8468
8469 * config.host: Handle tic6x-*-*.
8470 * config/c6x/c6x-abi.h: New file.
8471
8472 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8473
8474 * config/i386/crtprec.c: New file.
8475 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
8476 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
8477 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
8478 (x86_64-*-darwin*): Likewise.
8479 (i[34567]86-*-solaris2*: Likewise.
8480
8481 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8482
8483 * config/alpha/crtfastmath.c: New file.
8484 * config/i386/crtfastmath.c: New file.
8485 * config/ia64/crtfastmath.c: New file.
8486 * config/mips/crtfastmath.c: New file.
8487 * config/sparc/crtfastmath.c: New file.
8488
8489 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
8490 crtfastmath.c.
8491 Add -frandom-seed=gcc-crtfastmath.
8492 * config/alpha/t-crtfm: Remove.
8493 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
8494 * config/ia64/t-ia64 (crtfastmath.o): Remove.
8495
8496 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
8497 (alpha*-dec-osf5.1*): Likewise.
8498 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
8499 Add crtfastmath.o to extra_parts.
8500 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
8501 Add crtfastmath.o to extra_parts.
8502 (x86_64-*-darwin*): Likewise.
8503 (x86_64-*-mingw*): Likewise.
8504 (ia64*-*-elf*): Add t-crtfm to tmake_file.
8505 (ia64*-*-freebsd*): Likewise.
8506 (ia64*-*-linux*): Likewise.
8507 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
8508 Add crtfastmath.o to extra_parts.
8509
8510 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8511
8512 * config/darwin-crt3.o: New file.
8513 * config/rs6000/darwin-crt2.c: New file.
8514 * config/t-darwin: New file.
8515 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
8516 (crt2.o): New rule.
8517 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
8518 (powerpc-*-darwin*): Add crt2.o to extra_parts.
8519 (powerpc64-*-darwin*): Likewise.
8520
8521 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8522
8523 * config/i386/netware-crt0.c: New file.
8524 * config/i386/t-nwld: Rename to ...
8525 * config/i386/t-slibgcc-nwld: ... this.
8526 * config/i386/t-nwld: New file.
8527 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
8528 tmake_file.
8529 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
8530 extra_parts.
8531
8532 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8533
8534 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
8535 i386/t-crtstuff.
8536 * configure: Regenerate.
8537
8538 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8539
8540 * dfp-bit.c, dfp-bit.h: New files.
8541 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
8542 variables.
8543 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
8544 ($(d64pbit-o)): Likewise.
8545 ($(d128pbit-o)): Likewise.
8546 * config/t-dfprules: New file.
8547 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
8548 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
8549 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8550 (x86_64-*-linux*): Likewise.
8551 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8552 (i[34567]86-*-cygwin*): Likewise.
8553 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
8554 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8555
8556 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8557
8558 * Makfile.in (LIBGCOV): New variable.
8559 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
8560 * libgcov.c: New file.
8561
8562 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8563
8564 * fixed-bit.c, fixed-bit.h: New files.
8565 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
8566 refer to fixed-bit.c.
8567
8568 2011-07-07 Joseph Myers <joseph@codesourcery.com>
8569
8570 * config.host (*local*): Remove.
8571
8572 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8573
8574 PR target/39150
8575 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
8576 like i?86-*-solaris2.1[0-9]*.
8577 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
8578 * configure.ac (i?86-*-solaris2*): Likewise.
8579 * configure: Regenerate.
8580
8581 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
8582
8583 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8584 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
8585 md_unwind_header by splitting out of...
8586 (i[34567]86-*-linux*): ... this.
8587 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
8588 Remove md_unwind_header by splitting out of...
8589 (x86_64-*-linux*): ... this.
8590
8591 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
8592
8593 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
8594
8595 2011-06-28 Nick Clifton <nickc@redhat.com>
8596
8597 * config.host: Recognize all V850 variants.
8598
8599 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
8600
8601 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
8602
8603 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8604
8605 * shared-object.mk (c_flags-$o): Save c_flags.
8606 ($(base)$(objext)): Use it.
8607 ($(base)_s$(objext)): Likewise.
8608
8609 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
8610
8611 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
8612 * libgcc-std.ver.in (GCC_4.7.0): New section.
8613
8614 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
8615
8616 PR target/49313
8617 PR target/29524
8618 * config/avr/t-avr: Fix line endings.
8619 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
8620 _parityXX2.
8621
8622 2011-06-14 Olivier Hainque <hainque@adacore.com>
8623 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8624
8625 * config/mips/irix6-unwind.h: New file.
8626 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
8627
8628 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
8629
8630 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
8631 (sparc64_fallback_frame_state): Use it.
8632 (sparc64_frob_update_context): Further adjust context.
8633 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
8634 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
8635 * config/sparc/sol2-cn.S: Likewise.
8636
8637 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8638
8639 * enable-execute-stack-empty.c: New file.
8640 * enable-execute-stack-mprotect.c: New file.
8641 * config/i386/enable-execute-stack-mingw32.c: New file.
8642 * config.host (enable_execute_stack): New variable.
8643 Select appropriate variants.
8644 * configure.ac: Link enable-execute-stack.c to
8645 $enable_execute_stack.
8646 * configure: Regenerate.
8647 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
8648 (lib2funcs): Remove _enable_execute_stack.
8649
8650 2011-06-09 David S. Miller <davem@davemloft.net>
8651 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8652
8653 * config.host (sparc-*-linux*): Correct md_unwind_header
8654 filename.
8655 (s390x-ibm-tpf*): Fix typo.
8656
8657 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8658
8659 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
8660 Add crtfastmath.o to extra_parts.
8661 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
8662 mips/t-crtfm.
8663 * config/mips/t-crtfm: Remove.
8664
8665 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8666
8667 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
8668
8669 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
8670
8671 * config.host (sh*-*-linux*): Fix typo.
8672
8673 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8674
8675 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
8676 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
8677 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
8678 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
8679 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
8680 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
8681 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
8682 Wrap in !__MINGW64__.
8683 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
8684 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
8685 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
8686 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
8687 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
8688 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
8689 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
8690 Wrap in !__LP64__.
8691 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
8692 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
8693 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
8694 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
8695 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
8696 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
8697 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
8698 * config/no-unwind.h: New file.
8699 * config.host (md_unwind_header): Document.
8700 Define.
8701 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
8702 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
8703 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
8704 hppa[12]*-*-hpux11*): Set md_unwind_header.
8705 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
8706 Set md_unwind_header.
8707 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
8708 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
8709 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
8710 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
8711 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
8712 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
8713 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
8714 md_unwind_header.
8715 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
8716 * configure: Regenerate.
8717
8718 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8719
8720 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
8721 Set tmake_file, extra_parts.
8722 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
8723 Remove O32 support.
8724 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
8725 Remove O32 support.
8726 * config/mips/t-irix6: New file.
8727 * config/mips/t-slibgcc-irix: New file.
8728
8729 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8730
8731 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
8732 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
8733
8734 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8735
8736 * configure.ac (target_thread_file): Determine thread model.
8737 * configure: Regenerate.
8738 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
8739 * config/alpha/t-alpha: New file.
8740 * config/alpha/t-crtfm: Use $<.
8741 * config/alpha/t-ieee: New file.
8742 * config/alpha/t-osf-pthread: New file.
8743 * config/alpha/t-slibgcc-osf: New file.
8744 * config/alpha/libgcc-osf5.ver: New file.
8745
8746 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8747
8748 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
8749 tmake_file.
8750 Add crtfastmath.o to extra_parts.
8751
8752 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8753
8754 * config/gmon-sol2.c: Reindent.
8755 Cleanup comments.
8756 Remove, correct casts.
8757 Use STDERR_FILENO, NULL.
8758 (BASEADDRESS): Remove.
8759 (minbrk): Remove.
8760 (errno, sbrk): Remove declarations.
8761 (monstartup) [hp300]: Remove.
8762 (mcount): Remove.
8763
8764 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8765
8766 * Makefile.in (cpu_type): Define.
8767 * config.host (i[34567]86-*-rtems*): Handle it.
8768 (i[34567]86-*-solaris2*): Move body ...
8769 (*-*-solaris2*): ... here.
8770 New case, generalize.
8771 (sparc-*-elf*): Handle it.
8772 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
8773 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
8774 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
8775 Fold into ...
8776 (sparc*-*-solaris2*): ... this.
8777 New case.
8778 (sparc64-*-elf*): Handle it.
8779 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
8780 Merge ../gcc/config/i386/gmon-sol2.c.
8781 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
8782 Use C comments.
8783 Merge ../gcc/config/i386/sol2-gc1.asm.
8784 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
8785 Use C comments.
8786 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
8787 Use C comments.
8788 * config/i386/t-crtfm (crtfastmath.o): Use $<.
8789 * config/i386/t-crtstuff: New file.
8790 * config/i386/t-softfp: New file.
8791 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
8792 $(T)crti.o, $(T)crtn.o): Remove.
8793 (gcrt1.o): New rule.
8794 (TARGET_LIBGCC2_CFLAGS): Remove.
8795 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
8796 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
8797 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
8798 * config/sparc/t-sol2: New file.
8799 * config/sparc/t-crtfm: Move to ...
8800 * config/t-crtfm: ... this.
8801 Use $(cpu_type), $<.
8802 * config/t-crtin: New file.
8803 * config/sparc/t-softfp: New file.
8804 * config/sparc/t-softmul: New file.
8805 * config/t-rtems: New file.
8806 * config/t-slibgcc: New file.
8807 * config/t-slibgcc-elf-ver: New file.
8808 * config/t-slibgcc-gld: New file.
8809 * config/t-slibgcc-sld: New file.
8810 * config/t-sol2: New file.
8811 * configure.ac: Include ../config/lib-ld.m4.
8812 Call AC_LIB_PROG_LD_GNU.
8813 Substitute cpu_type.
8814 * configure: Regenerate.
8815
8816 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
8817
8818 PR bootstrap/49173
8819 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
8820 libgcc-std.ver in the build directory.
8821 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
8822 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
8823
8824 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
8825
8826 * libgcc-std.ver.in: New file.
8827 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
8828 variables.
8829 (libgcc-std.ver): New rule.
8830 * config/t-gnu-prefix: New file.
8831
8832 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8833
8834 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
8835
8836 2011-05-10 Joseph Myers <joseph@codesourcery.com>
8837
8838 * config/i386/darwin-lib.h: New file.
8839
8840 2011-05-10 Joseph Myers <joseph@codesourcery.com>
8841
8842 * config/arm/symbian-lib.h: New.
8843
8844 2011-05-04 Chris Demetriou <cgd@google.com>
8845
8846 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
8847 (__x86.get_pc_thunk.bx): ...this.
8848 (__morestack): Adjust for rename, remove undef of __i686.
8849
8850 2011-05-03 Chris Demetriou <cgd@google.com>
8851
8852 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
8853
8854 2011-03-22 Joseph Myers <joseph@codesourcery.com>
8855
8856 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
8857 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
8858 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
8859 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
8860 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
8861 Remove cases.
8862
8863 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
8864
8865 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
8866 Adjust copyright year.
8867
8868 2011-03-07 Ian Lance Taylor <iant@google.com>
8869
8870 * generic-morestack.c (__splitstack_find): Adjust returned stack
8871 pointer to include all registers pushed by __morestack.
8872
8873 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
8874
8875 PR target/40125
8876 * configure.ac: Call ACX_NONCANONICAL_TARGET.
8877 (toolexecdir): Calculate and AC_SUBST.
8878 (toolexeclibdir): Likewise.
8879 * Makefile.in (target_noncanonical): Import.
8880 (toolexecdir): Likewise.
8881 (toolexeclibdir): Likewise.
8882 * configure: Regenerate.
8883
8884 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
8885
8886 PR target/46040
8887 * config/arm/bpabi.h: Rename to...
8888 * config/arm/bpabi-lib.h: ...this.
8889
8890 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8891
8892 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
8893 appropriate.
8894 * configure: Regenerate.
8895
8896 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
8897
8898 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
8899 __FLOAT_WORD_ORDER__.
8900 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
8901 Delete.
8902
8903 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8904
8905 PR other/46202
8906 * Makefile.in (install-strip): New phony target.
8907
8908 2010-11-07 Ian Lance Taylor <iant@google.com>
8909
8910 PR target/46089
8911 * config/i386/morestack.S (__morestack_large_model): New
8912 function.
8913
8914 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
8915
8916 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
8917 Delete.
8918 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
8919
8920 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
8921
8922 * config/arm/bpabi.h: New file.
8923 * config/frv/frv-abi.h: New file.
8924
8925 2010-10-01 Ian Lance Taylor <iant@google.com>
8926
8927 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
8928 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
8929
8930 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
8931
8932 PR target/45858
8933 * config.host: Add the missing `$'.
8934
8935 2010-09-30 Michael Eager <eager@eagercon.com>
8936
8937 * config.host: Add microblaze*-*-*.
8938 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
8939 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
8940 udivsi3.asm,umodsi3.asm}: New.
8941
8942 2010-09-28 Ian Lance Taylor <iant@google.com>
8943
8944 * configure.ac: Adjust CFI test to test assembler directly rather
8945 than checking gcc preprocessor macro.
8946 * configure: Rebuild.
8947
8948 2010-09-27 Ian Lance Taylor <iant@google.com>
8949
8950 * configure.ac: Test whether assembler supports CFI directives.
8951 * config.host: Only add t-stack and i386/t-stack-i386 to
8952 tmake_file if libgcc_cv_cfi is "yes".
8953 * configure: Rebuild.
8954
8955 2010-09-27 Ian Lance Taylor <iant@google.com>
8956
8957 * generic-morestack.h: New file.
8958 * generic-morestack.c: New file.
8959 * generic-morestack-thread.c: New file.
8960 * config/i386/morestack.S: New file.
8961 * config/t-stack: New file.
8962 * config/i386/t-stack-i386: New file.
8963 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
8964 i386/t-stack-i386 to tmake_file.
8965
8966 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
8967
8968 * Makefile.in (libgcc-extra-parts): Check for static archives and
8969 invoke ranlib after installing them.
8970 (gcc-extra-parts): Likewise.
8971 (install-leaf): Likewise.
8972
8973 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
8974
8975 * configure: Regenerated.
8976
8977 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
8978
8979 * configure: Regenerated.
8980
8981 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
8982 Andrew Pinski <pinskia@gmail.com>
8983
8984 PR target/40959
8985 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
8986
8987 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
8988
8989 PR target/45524
8990 * configure: Regenerated.
8991
8992 2010-09-06 Andreas Schwab <schwab@redhat.com>
8993
8994 * configure: Regenerate.
8995
8996 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
8997
8998 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
8999 64bit targets.
9000 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
9001 for 64bit targets.
9002
9003 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
9004 Iain Sandoe <iains@gcc.gnu.org>
9005
9006 PR target/45476
9007 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
9008 LIB2FUNCS_EXCLUDE functions.
9009
9010 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9011
9012 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
9013 Include dfp.m4.
9014 * configure: Regenerate.
9015
9016 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
9017
9018 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
9019 i386/t-freebsd to tmake_file.
9020 * config/i386/t-freebsd: New file.
9021 * config/i386/libgcc-bsd.ver: New file.
9022
9023 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
9024
9025 * config.host (powerpc*-eabispe*): Set tmake_file.
9026 (powerpc*-eabi*): Likewise.
9027 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
9028 crtbeginS, crtendS, crtbeginT.
9029
9030 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
9031
9032 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
9033 to tmake_file. Add crtfastmath.o to extra_parts.
9034 * config/mips/t-crtfm: New.
9035
9036 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
9037
9038 * config.host (sparc64-*-rtems*): New target.
9039
9040 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9041
9042 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
9043 assembler syntax.
9044
9045 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
9046
9047 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
9048
9049 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9050
9051 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
9052 alpha-dec-osf5.0* support.
9053
9054 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
9055
9056 * config.host: Add lm32-*-rtems*.
9057
9058 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9059 Uros Bizjak <ubizjak@gmail.com>
9060
9061 PR target/39048
9062 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
9063 like other remaining 32-bit x86 OSes.
9064 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
9065 assembler syntax.
9066 * config/i386/libgcc-sol2.ver: New file.
9067 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
9068
9069 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
9070
9071 PR c/43553
9072 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
9073 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
9074 is used and substitute set_use_emutls.
9075 * configure: Regenerated.
9076
9077 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
9078
9079 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
9080
9081 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9082
9083 PR target/38085
9084 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
9085 MULTILIB_CFLAGS.
9086 ($(T)gcrt1.o): Likewise.
9087 ($(T)crt1.o): Likewise.
9088 ($(T)crti.o): Likewise.
9089 ($(T)crtn.o): Likewise.
9090
9091 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9092
9093 PR other/42980
9094 * Makefile.in (install): Use $(MAKE) string in rule, for
9095 parallel make.
9096
9097 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
9098
9099 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
9100 * config/mmix/t-mmix: New file.
9101 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
9102
9103 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
9104
9105 PR java/41991
9106 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
9107 SHLIB_MAPFILES.
9108
9109 2010-01-04 Anthony Green <green@moxielogic.com>
9110
9111 * config/moxie/crti.asm, config/moxie/crtn.asm,
9112 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
9113 config/moxie/t-moxie: New files.
9114 * config.host: Add t-moxie-softfp reference.
9115
9116 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
9117
9118 PR other/39888
9119 * config/t-slibgcc-darwin: Fix embedded rpaths for
9120 --enable-version-specific-runtime-libs, build extension stub
9121 libs exposing features available from current libgcc_s.
9122
9123 2009-11-11 Jon Beniston <jon@beniston.com>
9124
9125 * config.host: Add lm32 targets.
9126 * config/lm32: New directory.
9127 * config/lm32/libgcc_lm32.h: New file.
9128 * config/lm32/_mulsi3.c: New file.
9129 * config/lm32/_udivmodsi4.c: New file.
9130 * config/lm32/_divsi3.c: New file.
9131 * config/lm32/_modsi3.c: New file.
9132 * config/lm32/_udivsi3.c: New file.
9133 * config/lm32/_umodsi3.c: New file.
9134 * config/lm32/_lshrsi3.S: New file.
9135 * config/lm32/_ashrsi3.S: New file.
9136 * config/lm32/_ashlsi3.S: New file.
9137 * config/lm32/crti.S: New file.
9138 * config/lm32/crtn.S: New file.
9139 * config/lm32/t-lm32: New file.
9140 * config/lm32/t-elf: New file.
9141 * config/lm32/t-uclinux: New file.
9142
9143 2009-10-26 Nick Clifton <nickc@redhat.com>
9144
9145 * config.host: Add support for RX target.
9146 * config/rx: New directory.
9147 * config/rx/rx-abi-functions.c: New file. Supplementary
9148 functions for libgcc to support the RX ABI.
9149 * config/rx/rx-abi.h: New file. Supplementary header file for
9150 libgcc RX ABI functions.
9151 * config/rx/t-rx: New file: Makefile fragment for building
9152 libgcc for the RX.
9153
9154 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
9155
9156 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
9157 constraint of y0 to "g".
9158
9159 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9160
9161 * config.host: Include the s390 makefile fragments.
9162 * config/s390/32/_fixdfdi.c: New file.
9163 * config/s390/32/_fixsfdi.c: New file.
9164 * config/s390/32/_fixtfdi.c: New file.
9165 * config/s390/32/_fixunsdfdi.c: New file.
9166 * config/s390/32/_fixunssfdi.c: New file.
9167 * config/s390/32/_fixunstfdi.c: New file.
9168 * config/s390/32/t-floattodi: New file.
9169 * config/s390/libgcc-glibc.ver: New file.
9170 * config/s390/t-crtstuff: New file.
9171 * config/s390/t-linux: New file.
9172 * config/s390/t-tpf: New file.
9173
9174 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9175
9176 * configure.ac (AC_PREREQ): Bump to 2.64.
9177
9178 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
9179
9180 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
9181
9182 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9183
9184 * configure: Regenerate.
9185
9186 2009-08-09 Douglas B Rupp <rupp@gnat.com>
9187
9188 * config.host (ia64-hp-*vms*): New target.
9189 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
9190 with ia64-hp-*vms*.
9191
9192 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9193
9194 * configure.ac: Add snippet for maintainer-mode.
9195 * configure: Regenerate.
9196 * Makefile.in (AUTOCONF, configure_deps): New variables.
9197 ($(srcdir)/configure)): New rule, active only with maintainer
9198 mode turned on.
9199
9200 2009-06-23 DJ Delorie <dj@redhat.com>
9201
9202 Add MeP port.
9203 * config.host: Add mep support.
9204
9205 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
9206
9207 * config.host: Add i386/${host_address}/t-fprules-softfp and
9208 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
9209
9210 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
9211 for mingw targets.
9212 * config/i386/64/_multc3.c: Likewise.
9213 * config/i386/64/_powitf2.c: Likewise.
9214 * config/i386/64/eqtf2.c: Likewise.
9215 * config/i386/64/getf2.c: Likewise.
9216 * config/i386/64/letf2.c: Likewise.
9217 * config/i386/64/letf2.c: Likewise.
9218 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
9219 unsigned long long for x64 mingw targets.
9220 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
9221 (_FP_I_TYPE): Define as long long for x64 mingw target.
9222
9223 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
9224
9225 * config.host (vax-*-linux*): New.
9226
9227 2009-05-31 Anthony Green <green@moxielogic.com>
9228
9229 * config.host: Add moxie support.
9230 * config/moxie/t-moxie: New file.
9231
9232 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
9233
9234 * config.host: Add i386/${host_address}/t-fprules-softfp and
9235 t-softfp to tmake_file for i[34567]86-*-cygwin*.
9236
9237 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
9238
9239 * config.host: Add i386/${host_address}/t-fprules-softfp to
9240 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
9241
9242 2009-04-09 Nick Clifton <nickc@redhat.com>
9243
9244 * config/ia64/tf-signs.c: Change copyright header to refer to
9245 version 3 of the GNU General Public License with version 3.1
9246 of the GCC Runtime Library Exception and to point readers at
9247 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
9248 web page.
9249 * config/i386/32/tf-signs.c: Likewise.
9250 * config/libbid/_addsub_dd.c: Likewise.
9251 * config/libbid/_addsub_sd.c: Likewise.
9252 * config/libbid/_addsub_td.c: Likewise.
9253 * config/libbid/_dd_to_df.c: Likewise.
9254 * config/libbid/_dd_to_di.c: Likewise.
9255 * config/libbid/_dd_to_sd.c: Likewise.
9256 * config/libbid/_dd_to_sf.c: Likewise.
9257 * config/libbid/_dd_to_si.c: Likewise.
9258 * config/libbid/_dd_to_td.c: Likewise.
9259 * config/libbid/_dd_to_tf.c: Likewise.
9260 * config/libbid/_dd_to_udi.c: Likewise.
9261 * config/libbid/_dd_to_usi.c: Likewise.
9262 * config/libbid/_dd_to_xf.c: Likewise.
9263 * config/libbid/_df_to_dd.c: Likewise.
9264 * config/libbid/_df_to_sd.c: Likewise.
9265 * config/libbid/_df_to_td.c: Likewise.
9266 * config/libbid/_di_to_dd.c: Likewise.
9267 * config/libbid/_di_to_sd.c: Likewise.
9268 * config/libbid/_di_to_td.c: Likewise.
9269 * config/libbid/_div_dd.c: Likewise.
9270 * config/libbid/_div_sd.c: Likewise.
9271 * config/libbid/_div_td.c: Likewise.
9272 * config/libbid/_eq_dd.c: Likewise.
9273 * config/libbid/_eq_sd.c: Likewise.
9274 * config/libbid/_eq_td.c: Likewise.
9275 * config/libbid/_ge_dd.c: Likewise.
9276 * config/libbid/_ge_sd.c: Likewise.
9277 * config/libbid/_ge_td.c: Likewise.
9278 * config/libbid/_gt_dd.c: Likewise.
9279 * config/libbid/_gt_sd.c: Likewise.
9280 * config/libbid/_gt_td.c: Likewise.
9281 * config/libbid/_isinfd128.c: Likewise.
9282 * config/libbid/_isinfd32.c: Likewise.
9283 * config/libbid/_isinfd64.c: Likewise.
9284 * config/libbid/_le_dd.c: Likewise.
9285 * config/libbid/_le_sd.c: Likewise.
9286 * config/libbid/_le_td.c: Likewise.
9287 * config/libbid/_lt_dd.c: Likewise.
9288 * config/libbid/_lt_sd.c: Likewise.
9289 * config/libbid/_lt_td.c: Likewise.
9290 * config/libbid/_mul_dd.c: Likewise.
9291 * config/libbid/_mul_sd.c: Likewise.
9292 * config/libbid/_mul_td.c: Likewise.
9293 * config/libbid/_ne_dd.c: Likewise.
9294 * config/libbid/_ne_sd.c: Likewise.
9295 * config/libbid/_ne_td.c: Likewise.
9296 * config/libbid/_sd_to_dd.c: Likewise.
9297 * config/libbid/_sd_to_df.c: Likewise.
9298 * config/libbid/_sd_to_di.c: Likewise.
9299 * config/libbid/_sd_to_sf.c: Likewise.
9300 * config/libbid/_sd_to_si.c: Likewise.
9301 * config/libbid/_sd_to_td.c: Likewise.
9302 * config/libbid/_sd_to_tf.c: Likewise.
9303 * config/libbid/_sd_to_udi.c: Likewise.
9304 * config/libbid/_sd_to_usi.c: Likewise.
9305 * config/libbid/_sd_to_xf.c: Likewise.
9306 * config/libbid/_sf_to_dd.c: Likewise.
9307 * config/libbid/_sf_to_sd.c: Likewise.
9308 * config/libbid/_sf_to_td.c: Likewise.
9309 * config/libbid/_si_to_dd.c: Likewise.
9310 * config/libbid/_si_to_sd.c: Likewise.
9311 * config/libbid/_si_to_td.c: Likewise.
9312 * config/libbid/_td_to_dd.c: Likewise.
9313 * config/libbid/_td_to_df.c: Likewise.
9314 * config/libbid/_td_to_di.c: Likewise.
9315 * config/libbid/_td_to_sd.c: Likewise.
9316 * config/libbid/_td_to_sf.c: Likewise.
9317 * config/libbid/_td_to_si.c: Likewise.
9318 * config/libbid/_td_to_tf.c: Likewise.
9319 * config/libbid/_td_to_udi.c: Likewise.
9320 * config/libbid/_td_to_usi.c: Likewise.
9321 * config/libbid/_td_to_xf.c: Likewise.
9322 * config/libbid/_tf_to_dd.c: Likewise.
9323 * config/libbid/_tf_to_sd.c: Likewise.
9324 * config/libbid/_tf_to_td.c: Likewise.
9325 * config/libbid/_udi_to_dd.c: Likewise.
9326 * config/libbid/_udi_to_sd.c: Likewise.
9327 * config/libbid/_udi_to_td.c: Likewise.
9328 * config/libbid/_unord_dd.c: Likewise.
9329 * config/libbid/_unord_sd.c: Likewise.
9330 * config/libbid/_unord_td.c: Likewise.
9331 * config/libbid/_usi_to_dd.c: Likewise.
9332 * config/libbid/_usi_to_sd.c: Likewise.
9333 * config/libbid/_usi_to_td.c: Likewise.
9334 * config/libbid/_xf_to_dd.c: Likewise.
9335 * config/libbid/_xf_to_sd.c: Likewise.
9336 * config/libbid/_xf_to_td.c: Likewise.
9337 * config/libbid/bid128.c: Likewise.
9338 * config/libbid/bid128_2_str.h: Likewise.
9339 * config/libbid/bid128_2_str_macros.h: Likewise.
9340 * config/libbid/bid128_2_str_tables.c: Likewise.
9341 * config/libbid/bid128_add.c: Likewise.
9342 * config/libbid/bid128_compare.c: Likewise.
9343 * config/libbid/bid128_div.c: Likewise.
9344 * config/libbid/bid128_fma.c: Likewise.
9345 * config/libbid/bid128_logb.c: Likewise.
9346 * config/libbid/bid128_minmax.c: Likewise.
9347 * config/libbid/bid128_mul.c: Likewise.
9348 * config/libbid/bid128_next.c: Likewise.
9349 * config/libbid/bid128_noncomp.c: Likewise.
9350 * config/libbid/bid128_quantize.c: Likewise.
9351 * config/libbid/bid128_rem.c: Likewise.
9352 * config/libbid/bid128_round_integral.c: Likewise.
9353 * config/libbid/bid128_scalb.c: Likewise.
9354 * config/libbid/bid128_sqrt.c: Likewise.
9355 * config/libbid/bid128_string.c: Likewise.
9356 * config/libbid/bid128_to_int16.c: Likewise.
9357 * config/libbid/bid128_to_int32.c: Likewise.
9358 * config/libbid/bid128_to_int64.c: Likewise.
9359 * config/libbid/bid128_to_int8.c: Likewise.
9360 * config/libbid/bid128_to_uint16.c: Likewise.
9361 * config/libbid/bid128_to_uint32.c: Likewise.
9362 * config/libbid/bid128_to_uint64.c: Likewise.
9363 * config/libbid/bid128_to_uint8.c: Likewise.
9364 * config/libbid/bid32_to_bid128.c: Likewise.
9365 * config/libbid/bid32_to_bid64.c: Likewise.
9366 * config/libbid/bid64_add.c: Likewise.
9367 * config/libbid/bid64_compare.c: Likewise.
9368 * config/libbid/bid64_div.c: Likewise.
9369 * config/libbid/bid64_fma.c: Likewise.
9370 * config/libbid/bid64_logb.c: Likewise.
9371 * config/libbid/bid64_minmax.c: Likewise.
9372 * config/libbid/bid64_mul.c: Likewise.
9373 * config/libbid/bid64_next.c: Likewise.
9374 * config/libbid/bid64_noncomp.c: Likewise.
9375 * config/libbid/bid64_quantize.c: Likewise.
9376 * config/libbid/bid64_rem.c: Likewise.
9377 * config/libbid/bid64_round_integral.c: Likewise.
9378 * config/libbid/bid64_scalb.c: Likewise.
9379 * config/libbid/bid64_sqrt.c: Likewise.
9380 * config/libbid/bid64_string.c: Likewise.
9381 * config/libbid/bid64_to_bid128.c: Likewise.
9382 * config/libbid/bid64_to_int16.c: Likewise.
9383 * config/libbid/bid64_to_int32.c: Likewise.
9384 * config/libbid/bid64_to_int64.c: Likewise.
9385 * config/libbid/bid64_to_int8.c: Likewise.
9386 * config/libbid/bid64_to_uint16.c: Likewise.
9387 * config/libbid/bid64_to_uint32.c: Likewise.
9388 * config/libbid/bid64_to_uint64.c: Likewise.
9389 * config/libbid/bid64_to_uint8.c: Likewise.
9390 * config/libbid/bid_b2d.h: Likewise.
9391 * config/libbid/bid_binarydecimal.c: Likewise.
9392 * config/libbid/bid_conf.h: Likewise.
9393 * config/libbid/bid_convert_data.c: Likewise.
9394 * config/libbid/bid_decimal_data.c: Likewise.
9395 * config/libbid/bid_decimal_globals.c: Likewise.
9396 * config/libbid/bid_div_macros.h: Likewise.
9397 * config/libbid/bid_dpd.c: Likewise.
9398 * config/libbid/bid_flag_operations.c: Likewise.
9399 * config/libbid/bid_from_int.c: Likewise.
9400 * config/libbid/bid_functions.h: Likewise.
9401 * config/libbid/bid_gcc_intrinsics.h: Likewise.
9402 * config/libbid/bid_inline_add.h: Likewise.
9403 * config/libbid/bid_internal.h: Likewise.
9404 * config/libbid/bid_round.c: Likewise.
9405 * config/libbid/bid_sqrt_macros.h: Likewise.
9406
9407 2009-04-09 Jakub Jelinek <jakub@redhat.com>
9408
9409 * Makefile.in: Change copyright header to refer to version
9410 3 of the GNU General Public License and to point readers at the
9411 COPYING3 file and the FSF's license web page.
9412 * config.host: Likewise.
9413
9414 2009-04-07 Alan Modra <amodra@bigpond.net.au>
9415
9416 * config.host: Reorder and merge to match config.gcc change.
9417
9418 2009-04-03 Alan Modra <amodra@bigpond.net.au>
9419
9420 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
9421
9422 2009-03-28 Joseph Myers <joseph@codesourcery.com>
9423
9424 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
9425 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
9426 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
9427 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
9428
9429 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
9430
9431 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
9432 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9433
9434 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
9435
9436 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
9437 ia64/t-softfp-compat to tmake_file.
9438
9439 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
9440
9441 * config/ia64/__divxf3.asm: New.
9442 * config/ia64/_fixtfdi.asm: Likewise.
9443 * config/ia64/_fixunstfdi.asm: Likewise.
9444 * config/ia64/_floatditf.asm: Likewise.
9445 * config/ia64/t-fprules-softfp: Likewise.
9446 * config/ia64/t-softfp-compat: Likewise.
9447 * config/ia64/tf-signs.c: Likewise.
9448
9449 2009-01-18 Ben Elliston <bje@au.ibm.com>
9450
9451 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9452
9453 2009-01-16 Ben Elliston <bje@au.ibm.com>
9454
9455 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
9456 to tmake_file.
9457
9458 2009-01-13 Ben Elliston <bje@au.ibm.com>
9459
9460 * config/t-softfp: New file.
9461 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
9462 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
9463
9464 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
9465
9466 * config.host: Add m32r*-*-rtems*.
9467
9468 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
9469
9470 * config.host: Add m32c*-*-rtems*.
9471
9472 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9473
9474 PR bootstrap/33100
9475 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
9476 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
9477 * configure: Regenerate.
9478 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
9479 tmake_file here from gcc/config.gcc.
9480 Move extra_parts here from gcc/config.gcc.
9481 * config/i386/t-sol2: Move here from gcc/config/i386.
9482 Use gcc_srcdir instead of srcdir.
9483
9484 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
9485
9486 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
9487 case.
9488
9489 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
9490
9491 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
9492
9493 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
9494
9495 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
9496
9497 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
9498
9499 Add picoChip port.
9500 * config.host: Add picochip-*-*.
9501
9502 2008-08-06 Bob Wilson <bob.wilson@acm.org>
9503
9504 * config.host: Match more processor names for Xtensa.
9505
9506 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
9507
9508 * config/i386/64/t-softfp-compat: Update comments.
9509
9510 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
9511
9512 * config/i386/64/_divtc3-compat.c: Moved to ...
9513 * config/i386/64/_divtc3.c: Here.
9514
9515 * config/i386/64/_multc3-compat.c: Moved to ...
9516 * config/i386/64/_multc3.c: Here.
9517
9518 * config/i386/64/_powitf2-compat.c: Moved to ...
9519 * config/i386/64/_powitf2.c: Here.
9520
9521 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
9522 .c suffix instead of -compat.c.
9523
9524 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
9525
9526 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
9527 (_FP_MUL_MEAT_D): Ditto.
9528 (_FP_DIV_MEAT_S): Ditto.
9529 (_FP_DIV_MEAT_D): Ditto.
9530
9531 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
9532
9533 * Makefile.in: Add support for __sync_* libgcc functions.
9534
9535 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
9536
9537 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
9538
9539 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9540
9541 PR boostrap/36702
9542 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
9543 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
9544
9545 * config/i386/64/t-fprules-softfp: Moved to ...
9546 * config/i386/64/t-softfp-compat: This. New.
9547
9548 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
9549
9550 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
9551 Initialize f with 0.0.
9552
9553 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9554
9555 PR target/36669
9556 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
9557
9558 * config/i386/64/_divtc3-compat.c: New.
9559 * config/i386/64/_multc3-compat.c: Likewise.
9560 * config/i386/64/_powitf2-compat.c: Likewise.
9561 * config/i386/64/eqtf2.c: Likewise.
9562 * config/i386/64/getf2.c: Likewise.
9563 * config/i386/64/letf2.c: Likewise.
9564 * config/i386/64/t-fprules-softfp: Likewise.
9565
9566 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9567
9568 * config.host: Add i386/${host_address}/t-fprules-softfp to
9569 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
9570 i[34567]86-*-linux*, x86_64-*-linux*.
9571
9572 * configure.ac: Set host_address to 64 or 32 for x86.
9573 * configure: Regenerated.
9574
9575 * Makefile.in (config.status): Also depend on
9576 $(srcdir)/config.host.
9577
9578 * config/i386/32/t-fprules-softfp: New.
9579 * config/i386/32/tf-signs.c: Likewise.
9580
9581 * config/i386/64/sfp-machine.h: New. Moved from gcc.
9582
9583 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9584 Uros Bizjak <ubizjak@gmail.com>
9585
9586 * config/i386/32/sfp-machine.h: New.
9587
9588 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
9589
9590 * config/rs6000/t-ppccomm: Remove rules that conflict with
9591 auto-generated rules.
9592
9593 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9594
9595 * configure.ac: sinclude override.m4.
9596 * configure: Regenerate.
9597
9598 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
9599
9600 * configure: Regenerate.
9601
9602 2008-06-10 Joseph Myers <joseph@codesourcery.com>
9603
9604 * Makefile.in (DECNUMINC): Remove
9605 -I$(MULTIBUILDTOP)../../libdecnumber.
9606 * gstdint.h: New.
9607
9608 2008-06-07 Joseph Myers <joseph@codesourcery.com>
9609
9610 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
9611 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
9612 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
9613 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
9614 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
9615 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
9616 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
9617 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
9618 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
9619 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
9620 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
9621 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
9622 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
9623 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
9624
9625 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
9626
9627 * config.host (sh2[lbe]*-*-linux*): Allow target.
9628
9629 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
9630
9631 * config/rs6000/t-ppccomm: Add build rules for new files.
9632 (LIB2ADD_ST): New variable.
9633
9634 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
9635
9636 PR target/34210
9637 PR target/35508
9638 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
9639 * config/t-avr: New file. Build 16bit libgcc functions.
9640
9641 2008-03-02 Jakub Jelinek <jakub@redhat.com>
9642
9643 PR target/35401
9644 * config/t-slibgcc-darwin: Make install-leaf dependent on
9645 install-darwin-libgcc-stubs instead of install.
9646
9647 2008-01-25 Joseph Myers <joseph@codesourcery.com>
9648
9649 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
9650 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
9651 sh-*-rtemscoff*): Remove cases.
9652
9653 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
9654
9655 * Makefile.in (all): Use install-leaf rather than install.
9656 (install): Split most of the rule into...
9657 (install-leaf): ...this new one.
9658
9659 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
9660 Paolo Bonzini <bonzini@gnu.org>
9661
9662 PR target/30572
9663 * Makefile.in: Use @shlib_slibdir@ substitution to get
9664 correct install name on darwin.
9665 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
9666
9667 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
9668
9669 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
9670 cris-*-elf and cris-*-none.
9671 (crisv32-*-linux*): Similar, as cris-*-linux*.
9672
9673 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
9674
9675 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
9676
9677 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
9678
9679 PR regression/33926
9680 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
9681 * configure: Regenerated.
9682
9683 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
9684
9685 * Makefile.in (dfp-filenames): Replace decimal_globals,
9686 decimal_data, binarydecimal and convert_data with
9687 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
9688 and bid_convert_data, respectively.
9689
9690 2007-09-17 Chao-ying Fu <fu@mips.com>
9691 Nigel Stephens <nigel@mips.com>
9692
9693 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
9694 * Makefile.in (fixed_point): Define.
9695 Check if fixed_point is yes to build support functions.
9696 * configure.ac: Check for fixed_point support.
9697 * configure: Regenerated.
9698 * gen-fixed.sh: New file to generate lists of fixed-point labels,
9699 funcs, modes, from, to.
9700
9701 2007-09-11 Janis Johnson <janis187@us.ibm.com
9702
9703 * Makefile.in (dfp-filenames): Add bid128_noncomp.
9704
9705 2007-09-10 Janis Johnson <janis187@us.ibm.com>
9706
9707 * Makefile.in (dfp-filenames): Remove decUtility, add
9708 decDouble, decPacked, decQuad, decSingle.
9709
9710 2007-08-27 Hans Kester <hans.kester@ellips.nl>
9711
9712 * config.host : Add x86_64-elf target.
9713
9714 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9715
9716 * configure.ac (set_have_cc_tls): Add a missing =.
9717 * configure: Regenerated.
9718
9719 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9720
9721 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
9722 and x86_64-*-linux*.
9723
9724 * config/t-tls: New file.
9725
9726 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
9727
9728 * configure.ac: Include ../config/enable.m4 and
9729 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
9730 supports TLS and substitute set_have_cc_tls.
9731 * configure: Regenerated.
9732
9733 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
9734
9735 * Makefile.in: Use libbid for DFP when BID is enabled.
9736
9737 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
9738
9739 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
9740 extra_parts. Add config/i386/t-cygming to tmake_file.
9741 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
9742
9743 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
9744 Danny Smith <dannysmith@users.sourceforge.net>
9745
9746 PR target/29498
9747 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
9748 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
9749 * config/i386/t-crtfm: Compile crtfastmath.o with
9750 -minline-all-stringops.
9751
9752 2007-05-10 Richard Sandiford <richard@codesourcery.com>
9753
9754 * config.host (sparc-wrs-vxworks): New target.
9755
9756 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
9757
9758 * config.host: Recognize fido.
9759
9760 2007-04-04 Janis Johnson <janis187@us.ibm.com>
9761
9762 * configure: Check host, not target, for decimal float support.
9763
9764 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
9765
9766 * config/i386/t-crtpc: New file.
9767 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
9768 (x86_64-*-linux*): Ditto.
9769
9770 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
9771
9772 * config.host (x86_64-*-mingw*): New target.
9773
9774 2007-03-23 Michael Meissner <michael.meissner@amd.com>
9775 H.J. Lu <hongjiu.lu@intel.com>
9776
9777 * Makefile.in (enable_decimal_float): New.
9778 (DECNUMINC): Add
9779 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
9780 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
9781 (decbits-filenames): This.
9782 (decbits-objects): New.
9783 (libgcc-objects): Add $(decbits-objects).
9784
9785 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
9786 Substitute enable_decimal_float.
9787 * configure: Regenerated.
9788
9789 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
9790
9791 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
9792
9793 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
9794
9795 * Makefile.in (install-info): New dummy target.
9796
9797 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
9798
9799 * config.host (bfin*-linux-uclibc*): Set extra_parts.
9800
9801 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
9802
9803 * Makefile.in: Add install-html and install-pdf dummy
9804 targets.
9805
9806 2007-02-05 Roger Sayle <roger@eyesopen.com>
9807 Daniel Jacobowitz <dan@codesourcery.com>
9808
9809 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
9810 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
9811 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
9812
9813 2007-01-29 Janis Johnson <janis187@us.ibm.com>
9814
9815 * Makefile.in (dec-filenames): Add decExcept.
9816
9817 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
9818
9819 PR bootstrap/30469
9820 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
9821 -fprofile-use.
9822
9823 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
9824
9825 * configure.ac: Add --enable-version-specific-runtime-libs.
9826 Correct $slibdir default.
9827 * configure: Regenerated.
9828
9829 2007-01-23 Joseph Myers <joseph@codesourcery.com>
9830
9831 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
9832
9833 2007-01-21 Andrew Pinski <pinskia@gmail.com>
9834
9835 PR target/30519
9836 * config.host (alpha*-*-linux*): Set extra_parts.
9837
9838 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
9839
9840 * config/sh/t-linux: New.
9841 * config.host (sh*-*-linux*): Set tmake_file.
9842
9843 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
9844
9845 * Makefile.in (install): Handle multilibs.
9846
9847 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
9848
9849 * Makefile.in: Added .PHONY entry for documentation targets.
9850
9851 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
9852
9853 * Makefile.in: Add empty info, html, dvi, pdf targets.
9854
9855 2007-01-04 Mike Stump <mrs@apple.com>
9856
9857 * Makefile.in (MAKEINFO): Remove.
9858 (PERL): Likewise.
9859
9860 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
9861
9862 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
9863 * configure: Regenerate.
9864 * Makefile.in (host_subdir): Substitute it.
9865 (gcc_objdir): Use it.
9866
9867 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9868
9869 * config.host (ia64*-*-linux*): Set tmake_file.
9870
9871 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9872
9873 * Makefile.in (version): Define.
9874
9875 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
9876 Paolo Bonzini <bonzini@gnu.org>
9877
9878 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
9879 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
9880 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
9881 config/sparc/t-crtfm, config/t-slibgcc-darwin,
9882 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
9883 shared-object.mk, siditi-object.mk, static-object.mk: New files.
9884 * configure: Generated.
9885 \f
9886 Copyright (C) 2007-2019 Free Software Foundation, Inc.
9887
9888 Copying and distribution of this file, with or without modification,
9889 are permitted in any medium without royalty provided the copyright
9890 notice and this notice are preserved.