]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
testsuite - Require alias support in a test using it.
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
e37333ba
ML
12019-06-07 Martin Liska <mliska@suse.cz>
2
3 * Makefile.in: Remove usage of
4 _gcov_merge_icall_topn.
5 * libgcov-driver.c (gcov_sort_n_vals): Remove.
6 (gcov_sort_icall_topn_counter): Likewise.
7 (gcov_sort_topn_counter_arrays): Likewise.
8 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
9 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
10 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
11 Likewise.
12 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
13 (struct indirect_call_tuple): Remove.
14 (__gcov_indirect_call_topn_profiler): Remove.
15 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
16 * libgcov.h (gcov_sort_n_vals): Remove.
17 (L_gcov_merge_icall_topn): Likewise.
18 (__gcov_merge_icall_topn): Likewise.
19 (__gcov_indirect_call_topn_profiler): Likewise.
20
34a4a9c2
IS
212019-06-06 Iain Sandoe <iain@sandoe.co.uk>
22
23 * config/rs6000/t-darwin: Ensure that the unwinder is built with
24 altivec enabled.
25
d1b2f85f
JL
262019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
27
28 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
29 section.
30 (__mspabi_slli): Likewise.
31 (__mspabi_slll_n): Likewise.
32 (__mspabi_slll): Likewise.
33 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
34 (__mspabi_srai): Likewise.
35 (__mspabi_sral_n): Likewise.
36 (__mspabi_sral): Likewise.
37 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
38 (__mspabi_srli): Likewise.
39 (__mspabi_srll_n): Likewise.
40 (__mspabi_srll): Likewise.
41
e69a13d1
YS
422019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
43
44 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
45 Add appropriate tm_file clause as well.
46 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
47
b009eac1
JC
482019-06-05 James Clarke <jrtc27@jrtc27.com>
49
50 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
51 rather than .data/.bss so it can be accessed via gp-relative
52 addressing.
53
781d39f2
DE
542019-06-05 David Edelsohn <dje.gcc@gmail.com>
55
56 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
57 (CR2_REGNO): Rename to R_CR2.
58 (XER_REGNO): Rename to R_XER.
59 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
60 (VRSAVE_REGNO): Rename to R_VRSAVE.
61 (VSCR_REGNO): R_VSCR.
62
76aaa9cd
YS
632019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
64
65 * config.host (rx-*-linux*): Add new case.
66 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
67
8fc16d72
ST
682019-05-29 Sam Tebbs <sam.tebbs@arm.com>
69
70 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
71 function.
72 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
73 aarch64_post_frob_eh_handler_addr): Add check for b-key.
74 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
75 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
76 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
77 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
78 string.
79 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
80 string.
81 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
82
e54b1a92
RO
832019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
84
85 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
86 Remove Solaris 9 and 10 support.
87 (sparc_is_sighandler): Likewise.
88
abbb8307
JDA
892019-05-26 John David Anglin <danglin@gcc.gnu.org>
90
91 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
92
2581344d
L
932019-05-17 H.J. Lu <hongjiu.lu@intel.com>
94
95 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
96 4_FP_W_TYPEs are used for IEEE quad precision.
97 * soft-fp/extendhftf2.c: Likewise.
98 * soft-fp/extendsftf2.c: Likewise.
99 * soft-fp/extendxftf2.c: Likewise.
100 * soft-fp/trunctfdf2.c: Likewise.
101 * soft-fp/trunctfhf2.c: Likewise.
102 * soft-fp/trunctfsf2.c: Likewise.
103 * soft-fp/trunctfxf2.c: Likewise.
104 * config/rs6000/ibm-ldouble.c: Likewise.
105
ccd1242e
RO
1062019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
107
108 * config.host: Simplify various *-*-solaris2.1[0-9]* to
109 *-*-solaris2*.
110 * configure.ac: Likewise.
111 * configure: Regenerate.
112
113 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
114 Solaris 10 and Solaris 11 < snv_125 handling.
115
ef5eb79d
IS
1162019-05-12 Iain Sandoe <iain@sandoe.co.uk>
117
118 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
119
4f0e90fa
HL
1202019-05-07 Hongtao Liu <hongtao.liu@intel.com>
121
122 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
123 * config/i386/cpuinfo.h (enum processor_features): Add
124 FEATURE_AVX512BF16.
125
48528842
RR
1262019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
127 Bernd Edlinger <bernd.edlinger@hotmail.de>
128 Jakub Jelinek <jakub@redhat.com>
129
130 PR target/89093
131 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
132 * config/arm/unwind-arm.c: Likewise.
133 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
134 attribute for ARM.
135
887e182f
MC
1362019-04-15 Monk Chiang <sh.chiang04@gmail.com>
137
138 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
139 (RT_SIGRETURN): Update.
140 (nds32_fallback_frame_state): Update.
141
a90b0cdd
MS
1422019-02-21 Martin Sebor <msebor@redhat.com>
143
144 * libgcc2.h (__clear_cache): Correct signature.
145 * libgcc2.c (__clear_cache): Same.
146
1ed28eda
UB
1472019-02-20 Uroš Bizjak <ubizjak@gmail.com>
148
149 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
150 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
151
fe95aee9
UB
1522019-02-19 Uroš Bizjak <ubizjak@gmail.com>
153
154 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
155 regno instead of index to DWARF_ZERO_REG.
156
bf7988f1
EB
1572019-02-15 Eric Botcazou <ebotcazou@adacore.com>
158
159 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
160 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
161
ba2c1ca8
UB
1622019-01-31 Uroš Bizjak <ubizjak@gmail.com>
163
164 * config/alpha/t-linux: Add -mfp-rounding-mode=d
165 to HOST_LIBGCC2_CFLAGS.
166
6395ba73
L
1672019-01-23 Joseph Myers <joseph@codesourcery.com>
168
169 PR libgcc/88931
ba2c1ca8 170 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
6395ba73 171
756721ba
ML
1722019-01-18 Martin Liska <mliska@suse.cz>
173
174 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
175 to ...
176 (__gcov_indirect_call_profiler_v3): ... this.
177 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
178 (__gcov_indirect_call_profiler_v3): Likewise.
179 * Makefile.in: Bump function name.
180
d273c40a
ML
1812019-01-18 Martin Liska <mliska@suse.cz>
182
183 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
184 (gcov_version): Use in gcov_error.
185 (merge_one_data): Likewise.
186 (dump_one_gcov): Likewise.
187
be9d9fdb
ML
1882019-01-18 Martin Liska <mliska@suse.cz>
189
190 * libgcov-driver.c (gcov_version_string): New function.
191 (gcov_version): Convert version integer into string.
192
91d7b7fe
AS
1932019-01-17 Andrew Stubbs <ams@codesourcery.com>
194 Kwok Cheung Yeung <kcy@codesourcery.com>
195 Julian Brown <julian@codesourcery.com>
196 Tom de Vries <tom@codesourcery.com>
197
198 * config.host: Recognize amdgcn*-*-amdhsa.
199 * config/gcn/crt0.c: New file.
200 * config/gcn/lib2-divmod-hi.c: New file.
201 * config/gcn/lib2-divmod.c: New file.
202 * config/gcn/lib2-gcn.h: New file.
203 * config/gcn/sfp-machine.h: New file.
204 * config/gcn/t-amdgcn: New file.
205
67914693
SL
2062019-01-09 Sandra Loosemore <sandra@codesourcery.com>
207
208 PR other/16615
209
210 * config/c6x/libunwind.S: Mechanically replace "can not" with
211 "cannot".
212 * config/tilepro/atomic.h: Likewise.
213 * config/vxlib-tls.c: Likewise.
214 * generic-morestack-thread.c: Likewise.
215 * generic-morestack.c: Likewise.
216 * mkmap-symver.awk: Likewise.
217
a5544970
JJ
2182019-01-01 Jakub Jelinek <jakub@redhat.com>
219
220 Update copyright years.
221
da77eace
L
2222018-12-20 H.J. Lu <hongjiu.lu@intel.com>
223
224 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
225 to ignore -Waddress-of-packed-member.
226
72e3a529
TP
2272018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
228
229 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
230 parameter and corresponding code.
231 (ARM_FUNC_START): Likewise in both definitions.
232 Also update footer comment about condition that need to match with
233 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
234 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
235 defined. Weakly define it in this case.
236 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
237 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
238 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
239 comment to keep condition in sync with the one in
240 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
241
5d54c798
WX
2422018-12-18 Wei Xiao <wei3.xiao@intel.com>
243
244 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
245 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
246
5a2580b6
RV
2472018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
248
249 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
250 and .cfi_endproc directives for VxWorks targets.
251
c0c5112b
PK
2522018-12-05 Paul Koning <ni1d@arrl.net>
253
254 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
255
1ea7ea18
AM
2562018-11-27 Alan Modra <amodra@gmail.com>
257
258 * config/rs6000/morestack.S (__stack_split_initialize),
259 (__morestack_get_guard, __morestack_set_guard),
260 (__morestack_make_guard): Provide CFI covering these functions.
261 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
262
ff641ae1
XQ
2632018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
264
1ea7ea18 265 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
ff641ae1
XQ
266 (sc_pt_regs_lr): Update for kernel.
267 (sc_pt_regs_tls): Update for kernel.
268
28209372
XQ
2692018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
270
271 * config/csky/linux-unwind.h: Fix coding style.
272
b2a71af6
XQ
2732018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
274
275 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
1ea7ea18 276 (csky_fallback_frame_state): Modify the check of the
b2a71af6
XQ
277 instructions to adapt to changes in the kernel
278
d929e137
SH
2792018-11-09 Stafford Horne <shorne@gmail.com>
280 Richard Henderson <rth@twiddle.net>
281
282 * config.host: Add OpenRISC support.
283 * config/or1k/*: New.
284
222cfefa
KC
2852018-11-08 Kito Cheng <kito@andestech.com>
286
287 * soft-fp/adddf3.c: Update from glibc.
288 * soft-fp/addsf3.c: Likewise.
289 * soft-fp/addtf3.c: Likewise.
290 * soft-fp/divdf3.c: Likewise.
291 * soft-fp/divsf3.c: Likewise.
292 * soft-fp/divtf3.c: Likewise.
293 * soft-fp/double.h: Likewise.
294 * soft-fp/eqdf2.c: Likewise.
295 * soft-fp/eqsf2.c: Likewise.
296 * soft-fp/eqtf2.c: Likewise.
297 * soft-fp/extenddftf2.c: Likewise.
298 * soft-fp/extended.h: Likewise.
299 * soft-fp/extendhftf2.c: Likewise.
300 * soft-fp/extendsfdf2.c: Likewise.
301 * soft-fp/extendsftf2.c: Likewise.
302 * soft-fp/extendxftf2.c: Likewise.
303 * soft-fp/fixdfdi.c: Likewise.
304 * soft-fp/fixdfsi.c: Likewise.
305 * soft-fp/fixdfti.c: Likewise.
306 * soft-fp/fixhfti.c: Likewise.
307 * soft-fp/fixsfdi.c: Likewise.
308 * soft-fp/fixsfsi.c: Likewise.
309 * soft-fp/fixsfti.c: Likewise.
310 * soft-fp/fixtfdi.c: Likewise.
311 * soft-fp/fixtfsi.c: Likewise.
312 * soft-fp/fixtfti.c: Likewise.
313 * soft-fp/fixunsdfdi.c: Likewise.
314 * soft-fp/fixunsdfsi.c: Likewise.
315 * soft-fp/fixunsdfti.c: Likewise.
316 * soft-fp/fixunshfti.c: Likewise.
317 * soft-fp/fixunssfdi.c: Likewise.
318 * soft-fp/fixunssfsi.c: Likewise.
319 * soft-fp/fixunssfti.c: Likewise.
320 * soft-fp/fixunstfdi.c: Likewise.
321 * soft-fp/fixunstfsi.c: Likewise.
322 * soft-fp/fixunstfti.c: Likewise.
323 * soft-fp/floatdidf.c: Likewise.
324 * soft-fp/floatdisf.c: Likewise.
325 * soft-fp/floatditf.c: Likewise.
326 * soft-fp/floatsidf.c: Likewise.
327 * soft-fp/floatsisf.c: Likewise.
328 * soft-fp/floatsitf.c: Likewise.
329 * soft-fp/floattidf.c: Likewise.
330 * soft-fp/floattihf.c: Likewise.
331 * soft-fp/floattisf.c: Likewise.
332 * soft-fp/floattitf.c: Likewise.
333 * soft-fp/floatundidf.c: Likewise.
334 * soft-fp/floatundisf.c: Likewise.
335 * soft-fp/floatunditf.c: Likewise.
336 * soft-fp/floatunsidf.c: Likewise.
337 * soft-fp/floatunsisf.c: Likewise.
338 * soft-fp/floatunsitf.c: Likewise.
339 * soft-fp/floatuntidf.c: Likewise.
340 * soft-fp/floatuntihf.c: Likewise.
341 * soft-fp/floatuntisf.c: Likewise.
342 * soft-fp/floatuntitf.c: Likewise.
343 * soft-fp/gedf2.c: Likewise.
344 * soft-fp/gesf2.c: Likewise.
345 * soft-fp/getf2.c: Likewise.
346 * soft-fp/half.h: Likewise.
347 * soft-fp/ledf2.c: Likewise.
348 * soft-fp/lesf2.c: Likewise.
349 * soft-fp/letf2.c: Likewise.
350 * soft-fp/muldf3.c: Likewise.
351 * soft-fp/mulsf3.c: Likewise.
352 * soft-fp/multf3.c: Likewise.
353 * soft-fp/negdf2.c: Likewise.
354 * soft-fp/negsf2.c: Likewise.
355 * soft-fp/negtf2.c: Likewise.
356 * soft-fp/op-1.h: Likewise.
357 * soft-fp/op-2.h: Likewise.
358 * soft-fp/op-4.h: Likewise.
359 * soft-fp/op-8.h: Likewise.
360 * soft-fp/op-common.h: Likewise.
361 * soft-fp/quad.h: Likewise.
362 * soft-fp/single.h: Likewise.
363 * soft-fp/soft-fp.h: Likewise.
364 * soft-fp/subdf3.c: Likewise.
365 * soft-fp/subsf3.c: Likewise.
366 * soft-fp/subtf3.c: Likewise.
367 * soft-fp/truncdfsf2.c: Likewise.
368 * soft-fp/trunctfdf2.c: Likewise.
369 * soft-fp/trunctfhf2.c: Likewise.
370 * soft-fp/trunctfsf2.c: Likewise.
371 * soft-fp/trunctfxf2.c: Likewise.
372 * soft-fp/unorddf2.c: Likewise.
373 * soft-fp/unordsf2.c: Likewise.
374 * soft-fp/unordtf2.c: Likewise.
375
2901f42f
VK
3762018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
377
378 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
379 * config/i386/cpuinfo.h (processor_types): Add znver2.
380
4310ca66
PK
3812018-11-01 Paul Koning <ni1d@arrl.net>
382
383 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
384 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
385
22e05272
JM
3862018-10-31 Joseph Myers <joseph@codesourcery.com>
387
388 PR bootstrap/82856
389 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
390 * configure: Regenerate.
391
8180cde0
CZ
3922018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
393
394 * config/arc/lib1funcs.S (_muldi3): New function.
395 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
396
be7b071e
RV
3972018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
398
399 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
400
3239d726
ML
4012018-10-25 Martin Liska <mliska@suse.cz>
402
403 PR other/87735
404 * libgcov-profiler.c: Revert.
405
19b55958
ML
4062018-10-24 Martin Liska <mliska@suse.cz>
407
408 * libgcov-profiler.c: Start from 1 in order to distinguish
409 functions which were seen and these that were not.
410
a9a2fddb
PK
4112018-10-18 Paul Koning <ni1d@arrl.net>
412
413 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
414 standard.
415 * divmod.c: Update references to __udivmodsi4.
416 * udivmod.c: Ditto.
417 * udivhi3.c: New file.
418 * udivmodhi4.c: New file.
419 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
420
fc8abc46
RV
4212018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
422
423 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
424
87f918e3
OH
4252018-10-12 Olivier Hainque <hainque@adacore.com>
426
427 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
428 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
429
be86efa7
PK
4302018-10-08 Paul Koning <ni1d@arrl.net>
431
432 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
433
3edbcdbe
ML
4342018-10-04 Martin Liska <mliska@suse.cz>
435
436 PR gcov-profile/84107
437 * libgcov-profiler.c (__gcov_indirect_call):
438 Change type to indirect_call_tuple.
439 (struct indirect_call_tuple): New struct.
440 (__gcov_indirect_call_topn_profiler): Change type.
441 (__gcov_indirect_call_profiler_v2): Use the new
442 variables.
443 * libgcov.h (struct indirect_call_tuple): New struct
444 definition.
445
af8096fc
UB
4462018-10-03 Uros Bizjak <ubizjak@gmail.com>
447
448 * libgcc2.c (isnan): Use __builtin_isnan.
449 (isfinite): Use __builtin_isfinite.
450 (isinf): Use __builtin_isinf.
451
0a76bba4
UB
4522018-09-26 Uros Bizjak <ubizjak@gmail.com>
453
454 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
455
5244089f
OH
4562018-09-21 Alexandre Oliva <oliva@adacore.com>
457
458 * config/vxcache.c: New file. Provide __clear_cache, based on
459 the cacheTextUpdate VxWorks service.
460 * config/t-vxworks (LIB2ADD): Add vxcache.c.
461 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
462 * config/t-vxwoks7: Likewise.
463
512cc015
ML
4642018-09-21 Martin Liska <mliska@suse.cz>
465
466 * libgcov-driver.c (crc32_unsigned): Remove.
467 (gcov_histogram_insert): Likewise.
468 (gcov_compute_histogram): Likewise.
469 (compute_summary): Simplify rapidly.
470 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
471 (merge_summary): Rapidly simplify.
472 (dump_one_gcov): Ignore gcov_summary.
473 (gcov_do_dump): Do not handle program summary, it's not
474 used.
475 * libgcov-util.c (tag_summary): Remove.
476 (read_gcda_finalize): Fix coding style.
477 (read_gcda_file): Initialize curr_object_summary.
478 (compute_summary): Remove.
479 (calculate_overlap): Remove settings of run_max.
480
36ff254b
MC
4812018-09-21 Monk Chiang <sh.chiang04@gmail.com>
482
483 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
484 ucontext_t type instead.
485 (nds32_fallback_frame_state): Remove struct _sigframe statement.
486
229a033d
KC
4872018-09-21 Kito Cheng <kito.cheng@gmail.com>
488
489 * config/nds32/t-nds32-glibc: New file.
490
53c6feb2
RO
4912018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
492
493 * configure.ac (solaris_ld_v2_maps): New test.
494 * configure: Regenerate.
495 * Makefile.in (solaris_ld_v2_maps): New variable.
496 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
497 if supported.
498
ebdb6f23
RE
4992018-08-23 Richard Earnshaw <rearnsha@arm.com>
500
501 PR target/86951
502 * config/arm/lib1funcs.asm (speculation_barrier): New function.
503 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
504 to build.
505
a49c064e
IS
5062018-08-22 Iain Sandoe <iain@sandoe.co.uk>
507
1ea7ea18 508 * config/unwind-dw2-fde-darwin.c
a49c064e
IS
509 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
510 * config/darwin10-unwind-find-enc-func.c: … to here.
511 * config/t-darwin: Build Darwin10 unwinder shim crt.
512 * libgcc/config.host: Add the Darwin10 unwinder shim.
513
9a5b8df7
RV
5142018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
515
516 * config.host: Add crtbegin.o and crtend.o for
517 powerpc-wrs-vxworks target.
518
4cd0bc3b
J
5192018-08-17 Jojo <jijie_rong@c-sky.com>
520 Huibin Wang <huibin_wang@c-sky.com>
521 Sandra Loosemore <sandra@codesourcery.com>
522 Chung-Lin Tang <cltang@codesourcery.com>
523
524 C-SKY port: libgcc
525
526 * config.host: Add C-SKY support.
527 * config/csky/*: New.
528
a4931745
CJW
5292018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
530
531 * config/nds32/t-nds32-isr: Rearrange object dependency.
532 * config/nds32/initfini.c: Add dwarf2 unwinding support.
533 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
534 and registers usage.
535 * config/nds32/isr-library/excp_isr.S: Ditto.
536 * config/nds32/isr-library/intr_isr.S: Ditto.
537 * config/nds32/isr-library/reset.S: Ditto.
538 * config/nds32/isr-library/restore_all.inc: Ditto.
539 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
540 * config/nds32/isr-library/restore_partial.inc: Ditto.
541 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
542 * config/nds32/isr-library/save_all.inc: Ditto.
543 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
544 * config/nds32/isr-library/save_partial.inc: Ditto.
545 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
546 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
547
2b1969f6
JDA
5482018-08-11 John David Anglin <danglin@gcc.gnu.org>
549
550 * config/pa/linux-atomic.c: Update comment.
551 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
552 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
553 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
554 __ATOMIC_RELAXED for atomic loads.
555 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
556 unordered store to release lock.
557 (__sync_lock_release_8): Likewise.
558 (SYNC_LOCK_RELEASE_2): Remove define.
af8096fc 559
89fff9cc
NP
5602018-08-02 Nicolas Pitre <nico@fluxnic.net>
561
562 PR libgcc/86512
563 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
564 exponent goes negative. Update my email address.
565 * config/arm/ieee754-sf.S: Likewise.
566
fd2e1dcd
ML
5672018-08-01 Martin Liska <mliska@suse.cz>
568
569 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
92a285c1 570 check that __gcov_indirect_call_callee is non-null.
fd2e1dcd 571
b7415975
CL
5722018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
573
574 * config/arm/ieee754-df.S: Fix comment for code working on
575 architectures >= 4.
576 * config/arm/ieee754-sf.S: Likewise.
577
b72e71a3
L
5782018-07-27 H.J. Lu <hongjiu.lu@intel.com>
579
580 PR libgcc/85334
581 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
582 Removed.
583
1c686aa4
JC
5842018-07-05 James Clarke <jrtc27@jrtc27.com>
585
586 * configure: Regenerated.
587
b61c9b99
RO
5882018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
589
590 * Makefile.in (install_leaf): Use enable_gcov instead of
591 enable_libgcov.
592
1765b023
RV
5932018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
594
595 * configure.ac: Add --disable-gcov option.
596 * configure: Regenerate.
597 * Makefile.in: Honour @enable_gcov@.
598
9b2e34ef
CL
5992018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
600
601 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
602 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
603 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
604 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
605 __ARM_ARCH__.
606 * config/arm/ieee754-sf.S: Likewise.
607 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
608
d1b0dd54
CL
6092018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
610
611 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
612 longer supported.
613 * config/arm/ieee754-sf.S: Likewise.
614
1f3fa525
TM
6152018-06-20 Than McIntosh <thanm@google.com>
616
617 PR libgcc/86213
618 * generic-morestack.c (allocate_segment): Move calls to getenv and
619 getpagesize to __morestack_load_mmap.
620 (__morestack_load_mmap) Initialize static_pagesize and
621 use_guard_page here so as to avoid clobbering SSE regs during a
622 __morestack call.
623
6a8886e4
MM
6242018-06-18 Michael Meissner <meissner@linux.ibm.com>
625
626 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
627 support modules with -mno-gnu-attribute.
628 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
629
fb997097
OH
6302018-06-07 Olivier Hainque <hainque@adacore.com>
631
632 * config/t-vxworks (LIBGCC_INCLUDES): Add
633 -I$(MULTIBUILDTOP)../../gcc/include.
634 * config/t-vxworks7: Likewise. Reformat a bit to match
635 the t-vxworks layout.
636
a548a5a1
OM
6372018-06-07 Olga Makhotina <olga.makhotina@intel.com>
638
639 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
640
244aebfd
ML
6412018-06-07 Martin Liska <mliska@suse.cz>
642
643 * libgcov-driver.c: Rename cs_all to all and assign it from
92a285c1 644 all_prg.
244aebfd 645
6c086e8c
ML
6462018-06-07 Martin Liska <mliska@suse.cz>
647
92a285c1 648 PR bootstrap/86057
6c086e8c 649 * libgcov-driver-system.c (replace_filename_variables): Use
92a285c1 650 memcpy instead of mempcpy.
6c086e8c 651 (allocate_filename_struct): Do not allocate filename, allocate
92a285c1 652 prefix and set it.
6c086e8c 653 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
92a285c1 654 here and properly copy content into it.
6c086e8c 655 * libgcov-driver.c (struct gcov_filename): Remove max_length
92a285c1 656 field, change prefix from size_t into char *.
6c086e8c
ML
657 (compute_summary): Do not calculate longest filename.
658 (gcov_do_dump): Release memory of gf.filename after each file.
659 * libgcov-util.c (compute_summary): Use new signature of
92a285c1 660 compute_summary.
6c086e8c
ML
661 (calculate_overlap): Likewise.
662
97a53d1d
ML
6632018-06-05 Martin Liska <mliska@suse.cz>
664
665 PR gcov-profile/47618
666 * libgcov-driver-system.c (replace_filename_variables): New
92a285c1 667 function.
97a53d1d
ML
668 (gcov_exit_open_gcda_file): Use it.
669
7f3577f5
ML
6702018-06-05 Martin Liska <mliska@suse.cz>
671
672 * libgcov-driver.c (gcov_compute_histogram): Remove usage
673 of gcov_ctr_summary.
674 (compute_summary): Do it just for a single summary.
675 (merge_one_data): Likewise.
676 (merge_summary): Simplify as we read just single summary.
677 (dump_one_gcov): Pass proper argument.
678 * libgcov-util.c (compute_one_gcov): Simplify as we have just
679 single summary.
680 (gcov_info_count_all_cold): Likewise.
681 (calculate_overlap): Likewise.
682
cf3cd43d
CJW
6832018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
684 Monk Chiang <sh.chiang04@gmail.com>
685
686 * config.host (nds32*-linux*): New.
687 * config/nds32/linux-atomic.c: New file.
688 * config/nds32/linux-unwind.h: New file.
689
8b8003ed
UB
6902018-05-31 Uros Bizjak <ubizjak@gmail.com>
691
692 PR target/85591
693 * config/i386/cpuinfo.c (get_amd_cpu): Return
694 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
695
bbdf026f
RV
6962018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
697
92a285c1 698 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
bbdf026f 699
0e8f29da
ML
7002018-05-29 Martin Liska <mliska@suse.cz>
701
92a285c1 702 PR gcov-profile/85759
0e8f29da 703 * libgcov-driver-system.c (gcov_error): Introduce usage of
92a285c1 704 GCOV_EXIT_AT_ERROR env. variable.
0e8f29da 705 * libgcov-driver.c (merge_one_data): Print error that we
92a285c1 706 overwrite a gcov file with a different timestamp.
0e8f29da 707
54fd1590
K
7082018-05-23 Kalamatee <kalamatee@gmail.com>
709
710 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
711 path to Lf$finfty.
712
09baee1a
KC
7132018-05-18 Kito Cheng <kito.cheng@gmail.com>
714 Monk Chiang <sh.chiang04@gmail.com>
715 Jim Wilson <jimw@sifive.com>
716
717 * config/riscv/save-restore.S: Add support for rv32e.
718
c3f808d3
KT
7192018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
720
721 * config/arm/libunwind.S: Update comment relating to armv5.
722
fcf4f831
JL
7232018-05-17 Jerome Lambourg <lambourg@adacore.com>
724
725 * config/arm/cmse.c (cmse_check_address_range): Replace
726 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
727
74b2bb19
OM
7282018-05-17 Olga Makhotina <olga.makhotina@intel.com>
729
730 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
731 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
732
50e461df
OM
7332018-05-08 Olga Makhotina <olga.makhotina@intel.com>
734
735 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
736 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
737
e5f1cdb1
AC
7382018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
739
740 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
741
8f479d7a
AT
7422018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
743 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
744
745 PR libgcc/84292
746 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
747 op_and_fetch to return the right result.
748
ae043291
AM
7492018-04-27 Alan Modra <amodra@gmail.com>
750
751 PR libgcc/85532
752 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
753 -fno-asynchronous-unwind-tables.
754
ba169b74
CJW
7552018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
756
757 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
758 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
759
ffc2fc06
L
7602018-04-24 H.J. Lu <hongjiu.lu@intel.com>
761
762 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
763 when including "config/i386/shadow-stack-unwind.h".
764
7b47ecf2
L
7652018-04-24 H.J. Lu <hongjiu.lu@intel.com>
766
767 * configure: Regenerated.
768
661eb8f9
MM
7692018-04-20 Michael Meissner <meissner@linux.ibm.com>
770
771 PR target/85456
772 * config/rs6000/_powikf2.c: New file. Add support for the
773 __builtin_powil function when long double is IEEE 128-bit floating
774 point.
775 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
776 __powikf2 support.
777 (__powikf2): Likewise.
778 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
779 (__powikf2_hw): Likewise.
780 (__powikf2): Likewise.
781 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
782 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
783 (_powikf2-hw.c): Likewise.
784
5707be3c
L
7852018-04-19 H.J. Lu <hongjiu.lu@intel.com>
786
787 PR libgcc/85334
788 * unwind-generic.h (_Unwind_Frames_Increment): New.
789 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
790 Likewise.
791 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
792 count with _Unwind_Frames_Increment.
793 (_Unwind_ForcedUnwind_Phase2): Likewise.
794
5f9ca0b8
L
7952018-04-19 H.J. Lu <hongjiu.lu@intel.com>
796
797 PR libgcc/85379
798 * config/i386/morestack.S (__stack_split_initialize): Add
799 _CET_ENDBR.
800
a0e1df88
JJ
8012018-04-19 Jakub Jelinek <jakub@redhat.com>
802
803 * configure: Regenerated.
804
001ddaa8
DM
8052018-04-18 David Malcolm <dmalcolm@redhat.com>
806
807 PR jit/85384
808 * configure: Regenerate.
809
a57f99ba
JJ
8102018-04-16 Jakub Jelinek <jakub@redhat.com>
811
812 PR target/84945
813 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
814 -Wdangling-else warnings. Mask shift counts to avoid
815 -Wshift-count-negative and -Wshift-count-overflow false positives.
816
4d47fe5a
RB
8172018-04-06 Ruslan Bukin <br@bsdpad.com>
818
819 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
820
059cc8ac
L
8212018-03-29 H.J. Lu <hongjiu.lu@intel.com>
822
823 PR target/85100
824 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
825 (XSTATE_FP): Likewise.
826 (XSTATE_SSE): Likewise.
827 (XSTATE_YMM): Likewise.
828 (XSTATE_OPMASK): Likewise.
829 (XSTATE_ZMM): Likewise.
830 (XSTATE_HI_ZMM): Likewise.
831 (XCR_AVX_ENABLED_MASK): Likewise.
832 (XCR_AVX512F_ENABLED_MASK): Likewise.
833 (get_available_features): Enable AVX and AVX512 features only
834 if their states are supported by OSXSAVE.
835
f2620385
IT
8362018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
837
838 PR target/85025
839 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
840 Fix a typo, tmp => 255.
841
ae6dca8c
JJ
8422018-03-20 Jakub Jelinek <jakub@redhat.com>
843
844 PR target/84945
845 * config/i386/cpuinfo.h (__cpu_features2): Declare.
846 * config/i386/cpuinfo.c (__cpu_features2): New variable for
847 ifndef SHARED only.
848 (set_feature): Define.
849 (get_available_features): Use set_feature macro. Set __cpu_features2
850 to the second word of features ifndef SHARED.
851
c36b04c1
JK
8522018-03-15 Julia Koval <julia.koval@intel.com>
853
854 * config/i386/cpuinfo.c (get_available_features): Add
855 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
856 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
857 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
858 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
859 FEATURE_AVX512BITALG.
860
79ab5364
JK
8612018-03-14 Julia Koval <julia.koval@intel.com>
862
863 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
864 icelake client and icelake server.
865
66a00b11
JDA
8662018-03-06 John David Anglin <danglin@gcc.gnu.org>
867
868 * config/pa/fptr.c (_dl_read_access_allowed): New.
869 (__canonicalize_funcptr_for_compare): Use it.
af8096fc 870
ce579a4f
JJ
8712018-02-28 Jakub Jelinek <jakub@redhat.com>
872
873 PR debug/83917
874 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
875 $asm_hidden_op if visibility ("hidden") attribute works.
876 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
877 * config/i386/i386-asm.h: Don't include auto-host.h.
878 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
879 PACKAGE_URL): Don't undefine.
880 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
881 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
882 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
883 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
884 definition instead of hardcoded .hidden.
885 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
886 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
887 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
888 (USE_GAS_CFI_DIRECTIVES): Don't define.
889 * configure: Regenerated.
890 * config.in: Likewise.
891
e5868319
JJ
8922018-02-26 Jakub Jelinek <jakub@redhat.com>
893
894 PR debug/83917
895 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
896 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
897 inclusion of auto-target.h and auto-host.h.
898 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
899 __GCC_HAVE_DWARF2_CFI_ASM.
900 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
901 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
902 cfi_pop): Define.
903 * config/i386/cygwin.S: Don't include auto-host.h here, just
904 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
905 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
906 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
907 * config/i386/resms64fx.h: Add cfi_* directives.
908 * config/i386/resms64x.h: Likewise.
909
faef260e
MF
9102018-02-20 Max Filippov <jcmvbkbc@gmail.com>
911
912 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
913 .literal_position directive.
914 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
915
14e335ed
IT
9162018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
917
918 PR target/84148
919 * configure: Regenerate.
920
95df0433
IT
9212018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
922
923 PR target/84239
924 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
925 Include cetintrin.h not x86intrin.h.
926
f8de876d
IT
9272018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
928
929 PR target/84239
95df0433 930 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
f8de876d
IT
931 Use new _get_ssp and _inc_ssp intrinsics.
932
02da1e9c
JK
9332018-02-02 Julia Koval <julia.koval@intel.com>
934
935 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
936
048c6a9a
CZ
9372018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
938
939 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
940 option.
941 (__divsi3): Use RF16 safe registers.
942 (__modsi3): Likewise.
943
0889f168
MF
9442018-01-23 Max Filippov <jcmvbkbc@gmail.com>
945
946 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
947 (__divsf3): Make NaN return value quiet.
948 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
949 (__divdf3): Make NaN return value quiet.
950
bc8b0d04
SP
9512018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
952
953 * config/rl78/anddi3.S: New assembly file.
954 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
955
99cc06ea
SP
9562018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
957
958 * config/rl78/umindi3.S: New assembly file.
959 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
960
6e9007a0
SP
9612018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
962
963 * config/rl78/smindi3.S: New assembly file.
964 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
965
d975e494 9662018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 967
d975e494
SP
968 * config/rl78/smaxdi3.S: New assembly file.
969 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
970
6a18c146 9712018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 972
5dd16013
SP
973 * config/rl78/umaxdi3.S: New assembly file.
974 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
af8096fc 975
07baf4a5
JDA
9762018-01-21 John David Anglin <danglin@gcc.gnu.org>
977
978 PR lto/83452
979 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
980 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
af8096fc 981
dbc3af4f
RS
9822018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
983
984 * config/aarch64/value-unwind.h (aarch64_vg): New function.
985 (DWARF_LAZY_REGISTER_VALUE): Define.
986 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
987 to provide a fallback register value.
988
68df9882
MM
9892018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
990
991 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
992 __ibm128, instead of trying to use long double.
993 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
994 accomidate -mabi=ieeelongdouble multilibs.
995 (CVT_IBM128_TO_FLOAT128): Likewise.
996 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
997 the appropriate IBM extended double type.
998 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
999 (__gcc_qsub): Likewise.
1000 (__gcc_qmul): Likewise.
1001 (__gcc_qdiv): Likewise.
1002 (pack_ldouble): Likewise.
1003 (__gcc_qneg): Likewise.
1004 (__gcc_qeq): Likewise.
1005 (__gcc_qne): Likewise.
1006 (__gcc_qge): Likewise.
1007 (__gcc_qle): Likewise.
1008 (__gcc_stoq): Likewise.
1009 (__gcc_dtoq): Likewise.
1010 (__gcc_itoq): Likewise.
1011 (__gcc_utoq): Likewise.
1012 (__gcc_qunord): Likewise.
1013 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
1014 quad-float128.h for the definitions.
1015 (COPYSIGN): Use the f128 version instead of the q version.
1016 (INFINITY): Likewise.
1017 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
1018 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
1019 quad-float128.h for the definitions.
1020 (COPYSIGN): Use the f128 version instead of the q version.
1021 (INFINITY): Likewise.
1022 (FABS): Likewise.
1023 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
1024 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
1025 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
1026
64b371b1
SH
10272018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
1028
1029 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
1030 configuration.
1031
85ec4feb
JJ
10322018-01-03 Jakub Jelinek <jakub@redhat.com>
1033
1034 Update copyright years.
1035
10362017-12-12 Kito Cheng <kito.cheng@gmail.com>
b8d7e076
KC
1037
1038 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
1039 * config/riscv/multi3.c: New file.
1040 * config/riscv/multi3.S: Remove.
1041
3a4c600f
JW
10422017-12-08 Jim Wilson <jimw@sifive.com>
1043
1044 * config/riscv/div.S: Use FUNC_* macros.
1045 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
1046 * config/riscv/save-restore.S: Likewise.
1047 * config/riscv/riscv-asm.h: New.
1048
75ad35b5
MM
10492017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
1050
6ae3512c
MM
1051 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
1052 * config/rs6000/_divkc3.c (__divkc3): Likewise.
1053
75ad35b5
MM
1054 PR libgcc/83112
1055 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
1056 correct type for all ifunc resolvers to silence -Wattribute-alias
1057 warnings. Eliminate the forward declaration of the resolver
1058 functions which is no longer needed.
1059 (__subkf3_resolve): Likewise.
1060 (__mulkf3_resolve): Likewise.
1061 (__divkf3_resolve): Likewise.
1062 (__negkf2_resolve): Likewise.
1063 (__eqkf2_resolve): Likewise.
1064 (__nekf2_resolve): Likewise.
1065 (__gekf2_resolve): Likewise.
1066 (__gtkf2_resolve): Likewise.
1067 (__lekf2_resolve): Likewise.
1068 (__ltkf2_resolve): Likewise.
1069 (__unordkf2_resolve): Likewise.
1070 (__extendsfkf2_resolve): Likewise.
1071 (__extenddfkf2_resolve): Likewise.
1072 (__trunckfsf2_resolve): Likewise.
1073 (__trunckfdf2_resolve): Likewise.
1074 (__fixkfsi_resolve): Likewise.
1075 (__fixkfdi_resolve): Likewise.
1076 (__fixunskfsi_resolve): Likewise.
1077 (__fixunskfdi_resolve): Likewise.
1078 (__floatsikf_resolve): Likewise.
1079 (__floatdikf_resolve): Likewise.
1080 (__floatunsikf_resolve): Likewise.
1081 (__floatundikf_resolve): Likewise.
1082 (__extendkftf2_resolve): Likewise.
1083 (__trunctfkf2_resolve): Likewise.
1084
1085 PR libgcc/83103
1086 * config/rs6000/quad-float128.h (TF): Don't define if long double
1087 is IEEE 128-bit floating point.
1088 (TCtype): Define as either TCmode or KCmode, depending on whether
1089 long double is IEEE 128-bit floating point.
1090 (__mulkc3_sw): Add declarations for software/hardware versions of
1091 complex multiply/divide.
1092 (__divkc3_sw): Likewise.
1093 (__mulkc3_hw): Likewise.
1094 (__divkc3_hw): Likewise.
1095 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
1096 handlers to switch between using software emulation and hardware
1097 float128 instructions, build the complex multiply/divide functions
1098 for both software and hardware support.
1099 * config/rs6000/_divkc3.c (_divkc3): Likewise.
1100 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
1101 (__divkc3_resolve): Likewise.
1102 (__mulkc3): Likewise.
1103 (__divkc3): Likewise.
1104 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
1105 (fp128_hw_src): Likewise.
1106 (fp128_hw_static_obj): Likewise.
1107 (fp128_hw_shared_obj): Likewise.
1108 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
1109 _mulkc3.c and _divkc3.c, changing the function name.
1110 (_divkc3-hw.c): Likewise.
1111 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
1112 and _divkc3-hw.c.
1113
c234d831
UB
11142017-11-26 Julia Koval <julia.koval@intel.com>
1115
1116 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
1117 * config/i386/cpuinfo.h (processor_subtypes): Add
1118 INTEL_COREI7_CANNONLAKE.
1119
1ebafce0
IT
11202017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1121
1122 PR bootstrap/83015
1123 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
1124 parameter.
1125 * config/xtensa/unwind-dw2-xtensa.c: Likewise
1126 * config/ia64/unwind-ia64.c: Add frames parameter.
1127 * unwind-sjlj.c: Likewise.
1128
6a10fff4
IT
11292017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1130
1131 * config/i386/linux-unwind.h: Include
1132 config/i386/shadow-stack-unwind.h.
1133 * config/i386/shadow-stack-unwind.h: New file.
1134 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
1135 pass it to _Unwind_Frames_Extra.
1136 * unwind-generic.h (_Unwind_Frames_Extra): New.
1137 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
1138 parameter. Add local variable frames to count number of frames.
1139 (_Unwind_ForcedUnwind_Phase2): Likewise.
1140 (_Unwind_RaiseException): Add local variable frames to count
1141 number of frames, pass it to _Unwind_RaiseException_Phase2 and
1142 uw_install_context.
1143 (_Unwind_ForcedUnwind): Likewise.
1144 (_Unwind_Resume): Likewise.
1145 (_Unwind_Resume_or_Rethrow): Likewise.
1146
1ecae1fc
IT
11472017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1148
1149 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
1150 (CET_FLAGS): New.
1151 * config/i386/morestack.S: Include <cet.h>.
1152 (__morestack_large_model): Add _CET_ENDBR at function entrance.
1153 * config/i386/resms64.h: Include <cet.h>.
1154 * config/i386/resms64f.h: Likewise.
1155 * config/i386/resms64fx.h: Likewise.
1156 * config/i386/resms64x.h: Likewise.
1157 * config/i386/savms64.h: Likewise.
1158 * config/i386/savms64f.h: Likewise.
1159 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
1160 (CRTSTUFF_T_CFLAGS): Likewise.
1161 * configure.ac: Include ../config/cet.m4.
1162 Set and substitute CET_FLAGS.
1163 * configure: Regenerated.
1164
f021f1d3
RO
11652017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1166
1167 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
1168 renaming.
1169 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
1170 * configure.ac (libgcc_cv_solaris_crts): Likewise.
1171 * configure: Regenerate.
1172
65f480c7
TV
11732017-11-07 Tom de Vries <tom@codesourcery.com>
1174
1175 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
1176 after "do {} while (0)".
1177
2a321acb
TV
11782017-11-07 Tom de Vries <tom@codesourcery.com>
1179
1180 PR other/82784
1181 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
1182 semicolon after "do {} while (0)".
1183 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1184 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1185 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1186 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1187
59fcf6c3
AT
11882017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
1189
1190 PR libgcc/82635
1191 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
1192 sysctl to determine whether we're in a trampoline.
1193 Keep the pattern matching method for systems without
1194 KERN_PROC_SIGTRAMP sysctl.
1195
b0c7ddf8
CM
11962017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
1197 Vineet Gupta <vgupta@synopsys.com>
1198
1199 * config.host (arc*-*-linux*): Set md_unwind_header variable.
1200 * config/arc/linux-unwind-reg.def: New file.
1201 * config/arc/linux-unwind-reg.h: Likewise.
1202
5feee954
SP
12032017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
1204
1205 * config/rl78/subdi3.S: New assembly file.
1206 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
1207
a0bf6cf7
SP
12082017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
1209
1210 * config/rl78/adddi3.S: New assembly file.
1211 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
1212
e7176f75
JJ
12132017-10-13 Jakub Jelinek <jakub@redhat.com>
1214
1215 PR target/82274
1216 * libgcc2.c (__mulvDI3): If both operands have
1217 the same highpart of -1 and the topmost bit of lowpart is 0,
1218 multiplication overflows even if both lowparts are 0.
1219
db6601d2
JB
12202017-09-28 James Bowman <james.bowman@ftdichip.com>
1221
1222 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
1223
938b6f1e
JM
12242017-09-26 Joseph Myers <joseph@codesourcery.com>
1225
1226 * config/microblaze/crti.S, config/microblaze/crtn.S,
1227 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
1228 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
1229 config/microblaze/mulsi3.S,
1230 config/microblaze/stack_overflow_exit.S,
1231 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
1232 config/pa/milli64.S: Add .note.GNU-stack section.
1233
89762a83
DS
12342017-09-23 Daniel Santos <daniel.santos@pobox.com>
1235
1236 * configure.ac: Add Check for HAVE_AS_AVX.
1237 * config.in: Regenerate.
1238 * configure: Likewise.
1239 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
1240 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
1241 Correct out-of-date comments.
1242
cace2309
SP
12432017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
1244
1245 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
1246 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
1247
3cb626e4
DS
12482017-09-17 Daniel Santos <daniel.santos@pobox.com>
1249
cace2309 1250 * config/i386/i386-asm.h (PASTE2): New macro.
3cb626e4
DS
1251 (ASMNAME): Modify to use PASTE2.
1252 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
1253 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
cace2309 1254 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
3cb626e4 1255 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
cace2309
SP
1256 * config/i386/resms64f.S: Likewise.
1257 * config/i386/resms64fx.S: Likewise.
1258 * config/i386/resms64x.S: Likewise.
1259 * config/i386/savms64.S: Likewise.
1260 * config/i386/savms64f.S: Likewise.
1261 * config/i386/avx_resms64.S: New file that only defines a macro and
3cb626e4 1262 includes it's corresponding header file.
cace2309
SP
1263 * config/i386/avx_resms64f.S: Likewise.
1264 * config/i386/avx_resms64fx.S: Likewise.
1265 * config/i386/avx_resms64x.S: Likewise.
1266 * config/i386/avx_savms64.S: Likewise.
1267 * config/i386/avx_savms64f.S: Likewise.
1268 * config/i386/sse_resms64.S: Likewise.
1269 * config/i386/sse_resms64f.S: Likewise.
1270 * config/i386/sse_resms64fx.S: Likewise.
1271 * config/i386/sse_resms64x.S: Likewise.
1272 * config/i386/sse_savms64.S: Likewise.
1273 * config/i386/sse_savms64f.S: Likewise.
1274 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3cb626e4 1275
2f19c491 12762017-09-01 Olivier Hainque <hainque@adacore.com>
2f19c491
OH
1277 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
1278
611e7036
OH
12792017-08-31 Olivier Hainque <hainque@adacore.com>
1280
1281 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
1282 match as powerpc-wrs-vxworks*.
1283
c8f34527
JY
12842017-08-07 Jonathan Yong <10walls@gmail.com>
1285
1286 * config.host (*-cygwin): Include file from mingw
1287 config/i386/enable-execute-stack-mingw32.c
1288
0b458d2b 12892017-08-01 Jerome Lambourg <lambourg@adacore.com>
92a285c1
ML
1290 Doug Rupp <rupp@adacore.com>
1291 Olivier Hainque <hainque@adacore.com>
0b458d2b
JL
1292
1293 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
1294 as well as arm-wrs-vxworks.
1295 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
1296 LIB2ADDEH.
1297 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
1298 __exidx_start and __exidx_end for downloadable modules.
1299
4df612fa
OH
13002017-08-01 Olivier Hainque <hainque@adacore.com>
1301
1302 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
1303 * config/t-vxworks7: Likewise.
1304
5560e8c0
OH
13052017-08-01 Olivier Hainque <hainque@adacore.com>
1306
1307 * config/t-vxworks: Instead of redefining LIB2ADD,
1308 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
1309
16bab95a
SH
13102017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1311
1312 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
1313
9cbc07cc
DS
13142017-07-24 Daniel Santos <daniel.santos@pobox.com>
1315
1316 PR testsuite/80759
1317 * config.host: include i386/t-msabi for darwin and solaris.
1318 * config/i386/i386-asm.h
1319 (ELFFN): Rename to FN_TYPE.
1320 (FN_SIZE): New macro.
1321 (FN_HIDDEN): Likewise.
1322 (ASMNAME): Likewise.
1323 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
1324 .globl.
1325 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
1326 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
1327 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
1328 .macro.
1329 * config/i386/resms64f.S: Likewise.
1330 * config/i386/resms64fx.S: Likewise.
1331 * config/i386/resms64x.S: Likewise.
1332 * config/i386/savms64.S: Likewise.
1333 * config/i386/savms64f.S: Likewise.
1334
de742204
JM
13352017-07-19 John Marino <gnugcc@marino.st>
1336
1337 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
1338
3787ee47
MM
13392017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
1340
1341 PR target/81193
1342 * configure.ac (PowerPC float128 hardware support): Test whether
1343 we can use __builtin_cpu_supports before enabling the ifunc
1344 handler.
1345 * configure: Regenerate.
1346
b1938888
VG
13472017-07-10 Vineet Gupta <vgupta@synopsys.com>
1348
1349 * config.host: Remove uclibc from arc target spec.
1350
bec75e53
KW
13512017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
1352
1353 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
1354
d4391a62
PB
13552017-07-07 Peter Bergner <bergner@vnet.ibm.com>
1356
1357 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
1358 (have_ieee_hw_p): Delete function.
1359 (SW_OR_HW) Use __builtin_cpu_supports().
1360
9296dd9b
TP
13612017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
1362
1363 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
1364
b85a969e
OH
13652017-07-03 Olivier Hainque <hainque@adacore.com>
1366
d4391a62 1367 * config/t-vxworks7: New file, really.
b85a969e 1368
883312dc
JM
13692017-06-28 Joseph Myers <joseph@codesourcery.com>
1370
1371 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
1372 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
1373 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
1374 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
1375 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
1376 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
1377 config/pa/linux-unwind.h (pa32_fallback_frame_state),
1378 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
1379 config/sh/linux-unwind.h (sh_fallback_frame_state),
1380 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
1381 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
1382 ucontext_t instead of struct ucontext.
1383
50567938
JL
13842017-06-27 Jerome Lambourg <lambourg@adacore.com>
1385
1386 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
1387 (x86_64-wrs-vxworks7): Likewise.
1388
e4b0df93
OH
13892017-06-27 Olivier Hainque <hainque@adacore.com>
1390
1391 * config/t-vxworks7: New file.
1392 * config.host (*-*-vxworks7): Use it.
1393
60edf8bb
MT
13942017-06-22 Matt Turner <mattst88@gmail.com>
1395
1396 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
1397 skylake case.
1398
a51a76e5
RB
13992017-06-21 Richard Biener <rguenther@suse.de>
1400
1401 PR gcov-profile/81080
1402 * configure.ac: Add AC_SYS_LARGEFILE.
1403 * libgcov.h: Include auto-target.h before tsystem.h to pick
1404 up _FILE_OFFSET_BITS which might differ for multilibs.
1405 * config.in: Regenerate.
1406 * configure: Likewise.
1407
f0cd49c5
RE
14082017-06-16 Richard Earnshaw <rearnsha@arm.com>
1409
1410 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
1411
4f751c54
ML
14122017-06-09 Martin Liska <mliska@suse.cz>
1413
1414 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
1415 Reset __gcov_indirect_call_callee to NULL.
1416
1ac644c8
OH
14172017-06-08 Olivier Hainque <hainque@adacore.com>
1418
1419 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
1420 the set of -I options, support for direct inclusions of net/uio.h
1421 by VxWorks header files via ioLib.h.
1422
d8b9cd27
TR
14232017-06-07 Tony Reix <tony.reix@atos.net>
1424 Matthieu Sarter <matthieu.sarter.external@atos.net>
1425 David Edelsohn <dje.gcc@gmail.com>
1426
92a285c1
ML
1427 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
1428 unconditionally.
1429 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
1430 AIX 7.2 support.
d8b9cd27 1431
38a75ccc
OH
14322017-06-02 Olivier Hainque <hainque@adacore.com>
1433
1434 * config/vxlib.c (__gthread_once): Add missing value to
1435 return statement.
1436
5b2edf53
OH
14372017-05-30 Olivier Hainque <hainque@adacore.com>
1438
1439 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
1440 dollar sign before $(MULTIDIR).
1441
7d66e265
RH
14422017-05-26 Richard Henderson <rth@redhat.com>
1443
1444 PR libgcc/80037
1445 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
1446
78eca309
AT
14472017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
1448
1449 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
1450 _Unwind_SetIP available as functions for arm*-*-freebsd*.
1451 * config/arm/unwind-arm.c: Implement the above.
1452
c39d309a
AZ
14532017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1454
1455 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
1456 section for a non-executable stack.
1457
eac8c9f2
KW
14582017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
1459
1460 PR target/80600
1461 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
1462
d6d4d770
DS
14632017-05-14 Daniel Santos <daniel.santos@pobox.com>
1464
1465 * config.host: Add i386/t-msabi to i386/t-linux file list.
1466 * config/i386/i386-asm.h: New file.
1467 * config/i386/resms64.S: New file.
1468 * config/i386/resms64f.S: New file.
1469 * config/i386/resms64fx.S: New file.
1470 * config/i386/resms64x.S: New file.
1471 * config/i386/savms64.S: New file.
1472 * config/i386/savms64f.S: New file.
1473 * config/i386/t-msabi: New file.
1474
8ef2b9a7
AT
14752017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
1476
1477 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
1478 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
1479
7ab8766a
JC
14802017-05-05 Joshua Conner <joshconner@google.com>
1481
1482 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
1483 pc-relative indirect handling for fuchsia.
1484 * config/t-slibgcc-fuchsia: New file.
1485 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
d6d4d770 1486 x86_64-*-fuchsia*): Add definitions.
7ab8766a 1487
46928a8f
ML
14882017-04-19 Martin Liska <mliska@suse.cz>
1489
1490 PR gcov-profile/80435
1491 * Makefile.in: Install gcov.h.
1492 * gcov.h: New file.
1493 * libgcov.h: Use the header and make __gcov_flush publicly
1494 visible.
1495
63971184
ML
14962017-04-18 Martin Liska <mliska@suse.cz>
1497
1498 PR gcov-profile/78783
1499 * libgcov-driver.c (gcov_get_filename): New function.
1500
29d8aae6
JL
15012017-04-07 Jeff Law <law@redhat.com>
1502
1503 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
1504 target makefile fragment.
1505 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
1506
2bdf7fc6
AM
15072017-04-07 Alan Modra <amodra@gmail.com>
1508
1509 PR target/45053
1510 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
1511
5764ee3c
JW
15122017-04-03 Jonathan Wakely <jwakely@redhat.com>
1513
1514 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
1515
c4192ad7
CZ
15162017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
1517
1518 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
1519
4ccfdb28
JM
15202017-03-10 John Marino <gnugcc@marino.st>
1521
1522 * config/aarch64/freebsd-unwind.h: New file.
1523 * config.host: Add aarch64-*-freebsd unwinder.
1524
4144e4e3
SB
15252017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1526
1527 * config/rs6000/crtrestvr.s: Use .machine altivec.
1528 * config/rs6000/crtsavevr.s: Ditto.
1529
7502c597
SB
15302017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1531
1532 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
1533 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
1534 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
1535 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
1536 * configure: Regenerate.
1537 * config.in: Regenerate.
1538
db9f7f65
JY
15392017-03-02 Jonathan Yong <10walls@gmail.com>
1540
1541 * config/i386/gthr-win32.h: Define NOGDI before
1542 windows.h include to prevent w32api CC_NONE macro
1543 clash with libgfortran.
1544
126437c5
JY
15452017-03-02 Jonathan Yong <10walls@gmail.com>
1546
1547 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
1548
31927af6
AP
15492017-02-16 Andrew Pinski <apinski@cavium.com>
1550
1551 * config/aarch64/value-unwind.h: New file.
1552 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
1553 to tm_file.
1554
0bd99911
PD
15552017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
1556
1557 * config.host: Add RISC-V tuples.
1558 * config/riscv/atomic.c: New file.
1559 * config/riscv/crti.S: Likewise.
1560 * config/riscv/crtn.S: Likewise.
1561 * config/riscv/div.S: Likewise.
1562 * config/riscv/linux-unwind.h: Likewise.
1563 * config/riscv/muldi3.S: Likewise.
1564 * config/riscv/multi3.S: Likewise.
1565 * config/riscv/save-restore.S: Likewise.
1566 * config/riscv/sfp-machine.h: Likewise.
1567 * config/riscv/t-elf: Likewise.
1568 * config/riscv/t-elf32: Likewise.
1569 * config/riscv/t-elf64: Likewise.
1570 * config/riscv/t-softfp32: Likewise.
1571 * config/riscv/t-softfp64: Likewise.
1572
a8c9ef2a
JJ
15732017-01-24 Jakub Jelinek <jakub@redhat.com>
1574
1575 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
1576 /* FALLTHRU */ comments.
1577
c6c82710
GP
15782017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
1579
1580 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
1581
a876231c
JW
15822017-01-20 Jiong Wang <jiong.wang@arm.com>
1583
1584 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
1585 * unwind-dw2.c (execute_cfa_program): Only multiplexing
1586 DW_CFA_GNU_window_save for AArch64 and LP64.
1587
aa348be2
JW
15882017-01-20 Jiong Wang <jiong.wang@arm.com>
1589
1590 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
1591
5636faf2
JW
15922017-01-19 Jiong Wang <jiong.wang@arm.com>
1593
1594 * config/aarch64/aarch64-unwind.h: New file.
1595 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
1596 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
1597 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
1598 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
1599 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
1600 (aarch64_post_extract_frame_addr): New function.
1601 (aarch64_post_frob_eh_handler_addr): New function.
1602 (aarch64_frob_update_context): New function.
1603 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
1604 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
1605 aarch64*-*-freebsd*):
1606 Initialize md_unwind_header to include aarch64-unwind.h.
1607 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
1608 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
1609 __aarch64__.
1610 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
1611 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
1612 (uw_frob_return_addr): New function.
1613 (uw_install_context): Use uw_frob_return_addr.
1614
3c36aa6b
JJ
16152017-01-17 Jakub Jelinek <jakub@redhat.com>
1616
1617 PR other/79046
1618 * configure.ac: Add GCC_BASE_VER.
1619 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
1620 version from BASE-VER file.
1621 * configure: Regenerated.
1622
829afb8f
JS
16232017-01-13 Joe Seymour <joe.s@somniumtech.com>
1624
1625 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
1626 libmul_f5.a): Filter archived prerequisites.
1627
79fc8ffe
AS
16282017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
1629
1630 * config/i386/cpuinfo.h (processor_features): Add
1631 FEATURE_AVX512VPOPCNTDQ.
1632 * config/i386/cpuinfo.c (get_available_features): Habdle new
1633 feature.
1634
fec5f4e0
JM
16352017-01-04 Joseph Myers <joseph@codesourcery.com>
1636
1637 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
1638 payload if [__mips_nan2008].
1639
8f56cb51
AM
16402017-01-04 Alan Modra <amodra@gmail.com>
1641
1642 * Makefile.in (configure_deps): Update.
1643 * configure: Regenerate.
1644
cbe34bb5
JJ
16452017-01-01 Jakub Jelinek <jakub@redhat.com>
1646
1647 Update copyright years.
1648
ab955692
KW
16492016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
1650
1651 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
1652 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
1653 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
1654
de34320f
MK
16552016-12-17 Matthias Klose <doko@ubuntu.com>
1656
1657 * config/arc/gmon: Remove empty directory.
1658
e04ea1da
CZ
16592016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
1660
1661 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
1662 crtgend.
1663 (arc*-*-elf*): Likewise.
1664 * config/arc/t-arc: Remove old gmon lib targets.
1665 * config/arc/crtg.S: Remove.
1666 * config/arc/crtgend.S: Likewise.
1667 * config/arc/gmon/atomic.h: Likewise.
1668 * config/arc/gmon/auxreg.h: Likewise.
1669 * config/arc/gmon/dcache_linesz.S: Likewise.
1670 * config/arc/gmon/gmon.c: Likewise.
1671 * config/arc/gmon/machine-gmon.h: Likewise.
1672 * config/arc/gmon/mcount.c: Likewise.
1673 * config/arc/gmon/prof-freq-stub.S: Likewise.
1674 * config/arc/gmon/prof-freq.c: Likewise.
1675 * config/arc/gmon/profil.S: Likewise.
1676 * config/arc/gmon/sys/gmon.h: Likewise.
1677 * config/arc/gmon/sys/gmon_out.h: Likewise.
1678 * config/arc/t-arc-newlib: Likewise.
1679 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
1680
8ae1c2c1
GS
16812016-12-12 George Spelvin <linux@sciencehorizons.net>
1682
1683 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
1684
a5b947fa
GS
16852016-12-12 George Spelvin <linux@sciencehorizons.net>
1686
1687 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
1688 R16 instead of push + pop.
1689 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
1690
d6574dd1
KW
16912016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
1692
1693 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
1694 tmake_file.
1695
62440b4f
CM
16962016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
1697
1698 * config.host (arc*-*-linux-uclibc*): Use default extra
1699 objects. Include linux-android header.
1700 * config/arc/crti.S (_init): Declare symbol as function.
1701 (_fini): Likewise.
1702
31cfd832
TK
17032016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
1704
1705 PR fortran/78379
1706 * config/i386/cpuinfo.c: Move denums for processor vendors,
1707 processor type, processor subtypes and declaration of
1708 struct __processor_model into
1709 * config/i386/cpuinfo.h: New header file.
1710
c92e08e3
AV
17112016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1712 Thomas Preud'homme <thomas.preudhomme@arm.com>
1713
1714 * config/arm/cmse_nonsecure_call.S: New.
1715 * config/arm/t-arm: Compile cmse_nonsecure_call.S
1716
de7b5723
AV
17172016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1718 Thomas Preud'homme <thomas.preudhomme@arm.com>
1719
1720 * config/arm/t-arm (HAVE_CMSE): New.
1721 * config/arm/cmse.c: New.
1722
7a0d2bce
TP
17232016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
1724
b3a5bff4
TP
1725 PR gcc/74748
1726 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
1727 use generic linker version information on Blackfin.
1728
7a0d2bce
TP
1729 PR gcc/74748
1730 * libgcc/mkmap-symver.awk: add support for skip_underscore
1731
b410cf1d
IS
17322016-11-27 Iain Sandoe <iain@codesourcery.com>
1733 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1734
1735 PR target/67710
1736 * config/t-darwin: Default builds to 10.5 codegen.
1737
2e5f8203
JG
17382016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
1739
1740 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
1741 (_FP_NANSIGN_H): Likewise.
1742 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
1743 (softfp_truncations): Add tfhf.
1744 (softfp_extras): Add required conversion functions.
1745
bea64ca3
JG
17462016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1747 Matthew Wahab <matthew.wahab@arm.com>
1748
1749 * config/arm/fp16.c (binary64): New.
1750 (__gnu_d2h_internal): New.
1751 (__gnu_d2h_ieee): New.
1752 (__gnu_d2h_alternative): New.
1753
8630cadb
JG
17542016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1755 Matthew Wahab <matthew.wahab@arm.com>
1756
1757 * config/arm/fp16.c (struct format): New.
1758 (binary32): New.
1759 (__gnu_float2h_internal): New. Body moved from
1760 __gnu_f2h_internal and generalize.
1761 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
1762 Call it with binary32.
1763
5823ef23
JG
17642016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1765
1766 * soft-fp/extendhftf2.c: Update from glibc.
1767 * soft-fp/fixhfti.c: Likewise.
1768 * soft-fp/fixunshfti.c: Likewise.
1769 * soft-fp/floattihf.c: Likewise.
1770 * soft-fp/floatuntihf.c: Likewise.
1771 * soft-fp/half.h: Likewise.
1772 * soft-fp/trunctfhf2.c: Likewise.
1773
62a7df9f
MG
17742016-11-20 Marc Glisse <marc.glisse@inria.fr>
1775
1776 PR libgcc/77813
1777 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
1778 __TMC_END__ behind a passthrough asm.
1779
7a384912
WL
17802016-11-18 Walter Lee <walt@tilera.com>
1781
62a7df9f 1782 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
7a384912 1783
9775c1a5
L
17842016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
1785
1786 * config/i386/cpuinfo.c (processor_features): Add
1787 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
1788
48c842ab
CZ
17892016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
1790
1791 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
1792 (__ARC_NORM__): Use instead ARC_OPTFPE.
1793 * config/arc/fp-hack.h: Likewise.
1794 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
1795 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
1796
5012919d
AM
17972016-11-16 Alexander Monakov <amonakov@ispras.ru>
1798
1799 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
1800 * config/nvptx/mgomp.c: New file.
1801 * config/nvptx/t-nvptx: Add mgomp.c
1802
00178b98
WB
18032016-11-16 Waldemar Brodkorb <wbx@openadk.org>
1804
1805 PR libgcc/68468
1806 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
1807
d64af69f
CZ
18082016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
1809
1810 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
1811 of checking for cpus.
1812 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
1813 (__modsi3, __clzsi2): Likewise.
1814
9d8f95de
SN
18152016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
1816
1817 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
1818 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
1819 * config/i386/t-cpuinfo-static: New.
1820
7d29f8e3
ML
18212016-11-03 Martin Liska <mliska@suse.cz>
1822
1823 * libgcov-profiler.c (__gcov_time_profiler): Remove.
1824 (__gcov_time_profiler_atomic): Likewise.
1825
5de3e2d8
BE
18262016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
1827
1828 PR libgcc/78067
1829 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
1830 count_leading_zeros.
1831
18362447
UB
18322016-11-02 Uros Bizjak <ubizjak@gmail.com>
1833
1834 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
1835 * libgcc2.c (__divmoddi4): New function.
1836 * libgcc2.h (__divmoddi4): Declare.
1837 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
1838 and __PFX_divmodti4.
1839
33107571
FW
18402016-10-24 Florian Weimer <fweimer@redhat.com>
1841
1842 PR libgcc/78064
1843 * unwind-c.c: Include auto-target.h.
1844
4c6d7494
JDA
18452016-10-19 John David Anglin <danglin@gcc.gnu.org>
1846
18362447 1847 * config/pa/pa64-hpux-lib.h: New file.
4c6d7494
JDA
1848 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
1849 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
1850 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
1851 hppa*64*-*-hpux11*.
1852
2a26adf1
MF
18532016-10-18 Max Filippov <jcmvbkbc@gmail.com>
1854
1855 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1856 definition.
1857 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1858 definition.
1859 * config/xtensa/t-windowed (LIB2ADDEH): Use
1860 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
1861 or xtensa/t-linux.
1862
66192aa1
DKC
18632016-10-18 Ding-Kai Chen <dkchen@cadence.com>
1864
1865 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
1866 __ieee754_sqrt): New functions.
1867 (__divdf3): Add implementation with new FPU instructions under
1868 #if XCHAL_HAVE_DFP_DIV.
1869 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
1870 __ieee754_sqrtf): New functions.
1871 (__divsf3): Add implementation with new FPU instructions under
1872 #if XCHAL_HAVE_FP_DIV.
1873 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
1874 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
1875
4d0cdd0c
TP
18762016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
1877
1878 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
1879 equivalent.
1880 * config/tilepro/atomic.c: Likewise and stop casting model to
1881 enum memmodel.
1882
73f01cca
JM
18832016-10-10 Joseph Myers <joseph@codesourcery.com>
1884
1885 PR target/77586
1886 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
1887 soft-fp.
1888
b20e7532
AT
18892016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
1890
1891 * config.host: Add support for aarch64-*-freebsd*.
1892
a786cec4
AS
18932016-10-05 Andreas Schwab <schwab@suse.de>
1894
1895 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
1896 (.section .init_array): Don't call __do_jv_register_classes.
1897 (.section .init): Likewise.
1898
5a79befb
JJ
18992016-10-04 Jakub Jelinek <jakub@redhat.com>
1900
1901 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
1902 (__JCR_LIST__): Remove.
1903 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
1904 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
1905 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
1906 * config/ia64/crtend.S (__JCR_END__): Remove.
1907 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
1908 conditionals.
1909 (__JCR_LIST__, __JCR_END__): Remove.
1910 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
1911 (__do_global_ctors_1): Likewise.
1912
e0ab3753
UB
19132015-09-28 Uros Bizjak <ubizjak@gmail.com>
1914
1915 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
1916 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
1917
8c9434c2
ML
19182016-09-27 Martin Liska <mliska@suse.cz>
1919
1920 PR gcov-profile/7970
1921 PR gcov-profile/16855
1922 PR gcov-profile/44779
1923 * libgcov-driver.c (__gcov_init): Do not register a atexit
1924 handler.
1925 (__gcov_exit): Rename from gcov_exit.
1926 * libgcov.h (__gcov_exit): Declare.
1927
56b653f1
ML
19282016-09-27 Martin Liska <mliska@suse.cz>
1929
1930 PR bootstrap/77749
1931 * Makefile.in: Remove _gcov_merge_delta.
1932 * libgcov-merge.c (void __gcov_merge_delta): Remove.
1933 * libgcov-util.c (__gcov_delta_counter_op): Remove.
1934 * libgcov.h: Remove declaration of __gcov_merge_delta.
1935
7e02fd1b
EB
19362016-09-21 Eric Botcazou <ebotcazou@adacore.com>
1937
1938 * configure.ac: Do not create links, only substitute the filenames.
1939 * configure: Regenerate.
1940 * Makefile.in: Assign the substitution results to variables.
1941 (LIBGCC_LINKS): Define.
1942 (enable-execute-stack.c): New rule.
1943 (unwind.h): Likewise.
1944 (md-unwind-support.h): Likewise.
1945 (sfp-machine.h): Likewise.
1946 (gthr-default.h): Likewise.
1947 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
1948 unwind.h as prerequisite of install-unwind_h-forbuild.
1949
29991048
JJ
19502016-09-16 Jakub Jelinek <jakub@redhat.com>
1951
1952 PR libgcc/71744
1953 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
1954 is not the primary registry and atomics are available.
1955 (any_objects_registered): New variable.
1956 (__register_frame_info_bases, __register_frame_info_table_bases):
1957 Atomically store 1 to any_objects_registered after registering first
1958 unwind info.
1959 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
1960
0abcd6cc
JG
19612016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
1962
1963 PR target/63250
1964 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
1965 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
1966 (HFtype): Likewise.
1967 (HCtype): Likewise.
1968 (__divhc3): Likewise.
1969 (__mulhc3): Likewise.
1970 * libgcc2.c: Support _mulhc3 and _divhc3.
1971
d758aeb5
JM
19722016-09-07 Joseph Myers <joseph@codesourcery.com>
1973
1974 PR libgcc/77519
1975 * libgcc2.c (NOTRUNC): Invert settings.
1976
7fe76f6a
ML
19772016-09-06 Martin Liska <mliska@suse.cz>
1978
1979 PR gcov-profile/77378
1980 PR gcov-profile/77466
1981 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
1982 conditionaly enable/disable *_atomic functions.
1983
21184026
JM
19842016-08-26 Joseph Myers <joseph@codesourcery.com>
1985
1986 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
1987 where not already enabled.
1988
726f49c3
SN
19892016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
1990
1991 * config/mips/linux-unwind.h: Use sys/syscall.h.
1992
feeb6268
JM
19932016-08-16 Joseph Myers <joseph@codesourcery.com>
1994
1995 PR libgcc/77265
1996 * soft-fp/adddf3.c: Update from glibc.
1997 * soft-fp/addsf3.c: Likewise.
1998 * soft-fp/addtf3.c: Likewise.
1999 * soft-fp/divdf3.c: Likewise.
2000 * soft-fp/divsf3.c: Likewise.
2001 * soft-fp/divtf3.c: Likewise.
2002 * soft-fp/double.h: Likewise.
2003 * soft-fp/eqdf2.c: Likewise.
2004 * soft-fp/eqsf2.c: Likewise.
2005 * soft-fp/eqtf2.c: Likewise.
2006 * soft-fp/extenddftf2.c: Likewise.
2007 * soft-fp/extended.h: Likewise.
2008 * soft-fp/extendsfdf2.c: Likewise.
2009 * soft-fp/extendsftf2.c: Likewise.
2010 * soft-fp/extendxftf2.c: Likewise.
2011 * soft-fp/fixdfdi.c: Likewise.
2012 * soft-fp/fixdfsi.c: Likewise.
2013 * soft-fp/fixdfti.c: Likewise.
2014 * soft-fp/fixsfdi.c: Likewise.
2015 * soft-fp/fixsfsi.c: Likewise.
2016 * soft-fp/fixsfti.c: Likewise.
2017 * soft-fp/fixtfdi.c: Likewise.
2018 * soft-fp/fixtfsi.c: Likewise.
2019 * soft-fp/fixtfti.c: Likewise.
2020 * soft-fp/fixunsdfdi.c: Likewise.
2021 * soft-fp/fixunsdfsi.c: Likewise.
2022 * soft-fp/fixunsdfti.c: Likewise.
2023 * soft-fp/fixunssfdi.c: Likewise.
2024 * soft-fp/fixunssfsi.c: Likewise.
2025 * soft-fp/fixunssfti.c: Likewise.
2026 * soft-fp/fixunstfdi.c: Likewise.
2027 * soft-fp/fixunstfsi.c: Likewise.
2028 * soft-fp/fixunstfti.c: Likewise.
2029 * soft-fp/floatdidf.c: Likewise.
2030 * soft-fp/floatdisf.c: Likewise.
2031 * soft-fp/floatditf.c: Likewise.
2032 * soft-fp/floatsidf.c: Likewise.
2033 * soft-fp/floatsisf.c: Likewise.
2034 * soft-fp/floatsitf.c: Likewise.
2035 * soft-fp/floattidf.c: Likewise.
2036 * soft-fp/floattisf.c: Likewise.
2037 * soft-fp/floattitf.c: Likewise.
2038 * soft-fp/floatundidf.c: Likewise.
2039 * soft-fp/floatundisf.c: Likewise.
2040 * soft-fp/floatunditf.c: Likewise.
2041 * soft-fp/floatunsidf.c: Likewise.
2042 * soft-fp/floatunsisf.c: Likewise.
2043 * soft-fp/floatunsitf.c: Likewise.
2044 * soft-fp/floatuntidf.c: Likewise.
2045 * soft-fp/floatuntisf.c: Likewise.
2046 * soft-fp/floatuntitf.c: Likewise.
2047 * soft-fp/gedf2.c: Likewise.
2048 * soft-fp/gesf2.c: Likewise.
2049 * soft-fp/getf2.c: Likewise.
2050 * soft-fp/ledf2.c: Likewise.
2051 * soft-fp/lesf2.c: Likewise.
2052 * soft-fp/letf2.c: Likewise.
2053 * soft-fp/muldf3.c: Likewise.
2054 * soft-fp/mulsf3.c: Likewise.
2055 * soft-fp/multf3.c: Likewise.
2056 * soft-fp/negdf2.c: Likewise.
2057 * soft-fp/negsf2.c: Likewise.
2058 * soft-fp/negtf2.c: Likewise.
2059 * soft-fp/op-1.h: Likewise.
2060 * soft-fp/op-2.h: Likewise.
2061 * soft-fp/op-4.h: Likewise.
2062 * soft-fp/op-8.h: Likewise.
2063 * soft-fp/op-common.h: Likewise.
2064 * soft-fp/quad.h: Likewise.
2065 * soft-fp/single.h: Likewise.
2066 * soft-fp/soft-fp.h: Likewise.
2067 * soft-fp/subdf3.c: Likewise.
2068 * soft-fp/subsf3.c: Likewise.
2069 * soft-fp/subtf3.c: Likewise.
2070 * soft-fp/truncdfsf2.c: Likewise.
2071 * soft-fp/trunctfdf2.c: Likewise.
2072 * soft-fp/trunctfsf2.c: Likewise.
2073 * soft-fp/trunctfxf2.c: Likewise.
2074 * soft-fp/unorddf2.c: Likewise.
2075 * soft-fp/unordsf2.c: Likewise.
2076 * soft-fp/unordtf2.c: Likewise.
2077
2e6fc1ac
GG
20782016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
2079
2080 PR gcov-profile/67097
2081 * libgcov-util.c (gcov_profile_merge): Skip missing files.
2082
a266236e
ML
20832016-08-10 Martin Liska <mliska@suse.cz>
2084
2085 PR gcov-profile/58306
2086 * Makefile.in: New functions (modules) are added.
2087 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
2088 function.
2089 (__gcov_pow2_profiler_atomic): New function.
2090 (__gcov_one_value_profiler_body): New argument is instroduced.
2091 (__gcov_one_value_profiler): Call with the new argument.
2092 (__gcov_one_value_profiler_atomic): Likewise.
2093 (__gcov_indirect_call_profiler_v2): Likewise.
2094 (__gcov_time_profiler_atomic): New function.
2095 (__gcov_average_profiler_atomic): Likewise.
2096 (__gcov_ior_profiler_atomic): Likewise.
2097 * libgcov.h: Declare the aforementioned functions.
2098
e0c8eebf
ML
20992016-08-09 Martin Liska <mliska@suse.cz>
2100
2101 * libgcov-util.c: Fix typo and GNU coding style.
2102
6dce6418
ML
21032016-08-09 Martin Liska <mliska@suse.cz>
2104
2105 * Makefile.in: Remove __gcov_indirect_call_profiler.
2106 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
2107 function.
2108 * libgcov.h: And the declaration of the function.
2109
dcb1e137
ML
21102016-08-09 Martin Liska <mliska@suse.cz>
2111
2112 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
2113 power of two.
2114
d6e69705
BS
21152016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2116
2117 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
2118 * config/rs6000/_mulkc3.c: Likewise.
2119
96aa1f95
GJL
21202016-07-29 Georg-Johann Lay <avr@gjlay.de>
2121
2122 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
2123 zero_reg as previous call to __umulhisi3 already cleared it.
2124
a1b01d34
AJ
21252016-07-21 Aurelien Jarno <aurelien@aurel32.net>
2126
2127 PR target/59833
2128 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
2129
985a47b2
NC
21302016-07-19 Nick Clifton <nickc@redhat.com>
2131
2132 * config.host (m32r): Add m32r/t-m32r to tmake_file.
2133 Add crtinit.o and crtfini.o to extra_parts.
2134
f906f5ed
BS
21352016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2136
2137 * config/rs6000/_divkc3.c: New.
2138 * config/rs6000/_mulkc3.c: New.
2139 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
2140 and _divkc3.
2141 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
2142 fp128_ppc_funcs.
2143
82742404
HW
21442016-07-11 Hale Wang <hale.wang@arm.com>
2145 Andre Vieira <andre.simoesdiasvieira@arm.com>
2146
2147 * config/arm/lib1funcs.S: Add new wrapper.
2148
05a437c1
TP
21492016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2150
2151 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
2152
3d16d9ec
TP
21532016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2154
2155 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
2156 and ARMv5t* rather than for a fixed list of architectures.
2157
6f493951
TP
21582016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2159
2160 * config/arm/bpabi-v6m.S: Clarify what architectures is the
2161 implementation suitable for.
2162 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
2163 for all Thumb-1 only targets.
2164 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
2165 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
2166 __ARM_ARCH_6M__.
2167 (EQUIV): Likewise.
2168 (ARM_FUNC_ALIAS): Likewise.
2169 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
2170 version.
2171 (modsi3): Likewise.
2172 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
2173 (clzdi2): Likewise.
2174 (ctzsi2): Likewise.
2175 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
2176 __ARM_ARCH_6M__ in guard for checking whether it is defined.
2177 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
2178 __ARM_ARCH_6M__ and add comment to indicate the connection between
2179 this condition and the one in gcc/config/arm/elf.h.
2180 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
2181 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
2182 * config/arm/t-softfp: Likewise.
2183
1770511a
TS
21842016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2185
2186 * libgcc2.c (SYMBOL__MAIN): Remove checks for
2187 CTOR_LISTS_DEFINED_EXTERNALLY.
2188
ba6be749
WL
21892016-06-28 Walter Lee <walt@tilera.com>
2190
2191 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
2192 asm/unistd.h.
2193 (SPR_CMPEXCH_VALUE): Define for tilegx.
2194 (__NR_FAST_cmpxchg): Define for tilepro.
2195 (__NR_FAST_atomic_update): Define for tilepro.
2196 (__NR_FAST_cmpxchg64): Define for tilepro.
2197
a34c0db5
JS
21982016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
2199
18362447 2200 * config.host: Add suport for arm*-*-phoenix* targets.
a34c0db5 2201
0609abda
TS
22022016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2203
2204 * config.host: Remove support for mep-*.
2205 * config/mep/lib1funcs.S: Remove.
2206 * config/mep/lib2funcs.c: Remove.
2207 * config/mep/t-mep: Remove.
2208 * config/mep/tramp.c: Remove.
2209
3e326935
TS
22102016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2211
2212 * config.host: Remove support for avr-rtems.
2213 * config/avr/t-rtems: Remove.
2214
914b155c
TS
22152016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2216
2217 * config.host: Remove m32r-rtems support.
2218
5ebf89bd
TS
22192016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2220
2221 * config.host: Remove h8300-rtems support.
2222
8466af06
TS
22232016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2224
2225 * config.host: Remove support for knetbsd.
2226
d980e738
TS
22272016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2228
2229 * config.host: Remove support for openbsd 2 and 3.
2230
ee2499b4
TS
22312016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2232
2233 * config.host: Remove interix support.
2234 * config/i386/t-interix: Remove.
2235
9f92937b
JDA
22362016-06-18 John David Anglin <danglin@gcc.gnu.org>
2237
2238 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
2239 least-significant bit in function pointer for fixup.
2240
0a0ec53d
AC
22412016-06-05 Aaron Conole <aconole@redhat.com>
2242 Nathan Sidwell <nathan@acm.org>
2243
2244 PR libgcc/71400
2245 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
2246 (get_gcov_error_file): Check __gcov_error_file before trying to
2247 initialize it.
2248 (gcov_error): Always use get_gcov_error_file.
2249
8aa5bdd6
AC
22502016-06-02 Aaron Conole <aconole@redhat.com>
2251
2252 * libgcov-driver-system.c (__gcov_error_file): New.
2253 (get_gcov_error_file): New.
2254 (gcov_error): Use and set __gcov_error_file.
2255 (gcov_error_exit): New.
2256 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
2257
40774faf
NS
22582016-05-26 Nathan Sidwell <nathan@acm.org>
2259
2260 * config/nvptx/free.asm: Delete.
2261 * config/nvptx/malloc.asm: Delete.
2262 * config/nvptx/realloc.c: Delete.
2263 * t-nvptx: Update.
2264
69a6d5ad
NS
22652016-05-25 Nathan Sidwell <nathan@acm.org>
2266
2267 * config/nvptx/crt0.s: Delete.
2268 * config/nvptx/crt0.c: New.
2269 * t-nvptx: Update.
2270
6befaff6
SL
22712016-05-19 Sandra Loosemore <sandra@codesourcery.com>
2272
385c7747 2273 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
6befaff6
SL
2274 dw2/seh configuration.
2275 [x86_64-*-mingw*]: Likewise.
2276
ad251dfd
JS
22772016-05-10 Joel Sherrill <joel@rtems.org>
2278
2279 PR libgcc/70720
2280 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
2281 targets so the same extra_parts are built. Also have tmake_file add
2282 on to its value rather than override.
2283
bc6d9014
OE
22842016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
2285
2286 * config.host: Remove SH5 support.
2287 * configure: Likewise.
2288
9129c8cf
OE
22892016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
2290
2291 * config/sh/crt1.S: Remove SH5 support.
2292 * config/sh/crti.S: Likewise.
2293 * config/sh/crtn.S: Likewise.
2294 * config/sh/lib1funcs-4-300.S: Likewise.
2295 * config/sh/lib1funcs-Os-4-200.S: Likewise.
2296 * config/sh/lib1funcs.S: Likewise.
2297 * config/sh/linux-unwind.h: Likewise.
2298 * config/sh/t-sh64: Delete.
2299
39d50464
CZ
23002016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
2301
2302 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
2303
8b48923b
CZ
23042016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
2305 Joern Rennecke <joern.rennecke@embecosm.com>
2306
2307 * config/arc/crttls.S: New file.
2308 * config/arc/t-arc: New rule.
2309 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
2310
2de1cf8c
NC
23112016-04-25 Nick Clifton <nickc@redhat.com>
2312
2313 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
2314 (__mspabi_cmpd): Likewise.
2315 * config/msp430/floathidf.c (__floathidf): Likewise.
2316 * config/msp430/floathisf.c (__floathisf): Likewise
2317 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
2318 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
2319 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
2320 second parameter.
2321 (__ashrsi3): Likewise.
2322
b8ce3fe2
WB
23232016-04-21 Waldemar Brodkorb <wbx@openadk.org>
2324
2325 * config/m68k/linux-atomic.c: Do not include unistd.h
2326
4986f823
MG
23272016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
2328
2329 * config/arm/ieee754-df.S: Fix typos in comments.
2330
35fbda43
MM
23312016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
2332
2333 PR target/70381
2334 * configure.ac (powerpc*-*-linux*): Rework tests to build
2335 __float128 emulation routines to not depend on using #pragma GCC
2336 target to enable -mfloat128.
2337 * configure: Regnerate.
2338
72d1a48d
EB
23392016-04-04 Eric Botcazou <ebotcazou@adacore.com>
2340
2341 PR target/67172
2342 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
2343 __MINGW32__ is defined.
2344
dc2e8995
JB
23452016-03-28 James Bowman <james.bowman@ftdichip.com>
2346
385c7747 2347 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
dc2e8995 2348
104cdaf1
MM
23492016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
2350
2351 PR libgcc/70363
2352 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
2353 built with an assembler that does not support ISA 3.0
2354 instructions, rename __extendkftf2_sw to __extendkftf2.
2355
a5046f48
RO
23562016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2357
2358 PR target/38239
2359 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
2360 call-clobbered registers.
2361 (internal_mcount): Remove __i386__ handling.
2362
df674f74
JS
23632016-02-26 Joel Sherrill <joel@rtems.org>
2364
2365 * config.host: Add x86_64-*-rtems*.
2366
7cb065d6
JS
23672016-02-26 Joel Sherrill <joel@rtems.org>
2368
2369 * libgcc/config.host: Add aarch64-*-rtems*.
2370
47dfdc53
PM
23712016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2372 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2373
2374 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
2375 union of u64 and double.
2376 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
2377 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
2378 value.
2379 (FP_ROUNDMODE): Update the usage of _fpscr.
2380
e6861a99
IV
23812016-02-25 Ilya Verbin <ilya.verbin@intel.com>
2382
2383 PR driver/68463
2384 * Makefile.in (crtoffloadtable$(objext)): New rule.
2385 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
2386 enable_offload_targets is not empty.
2387 * configure: Regenerate.
2388 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
2389 crtoffloadtable.
2390
9bfcbdee
MF
23912016-02-17 Max Filippov <jcmvbkbc@gmail.com>
2392
2393 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
2394 .literal_position before the function.
2395 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
2396 Likewise.
2397
4cb4721f
MK
23982016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
2399
2400 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
2401 * config/s390/morestack.S: New file.
2402 * config/s390/t-stack-s390: New file.
2403 * generic-morestack.c (__splitstack_find): Add s390-specific code.
2404
b29d9a29
WL
24052016-02-12 Walter Lee <walt@tilera.com>
2406
2407 * config.host (tilegx*-*-linux*): remove ti from
2408 softfp_int_modes for 32-bit configs.
2409
03a0ae7d
ILT
24102016-02-10 Ian Lance Taylor <iant@google.com>
2411
2412 PR go/68562
2413 * config/i386/morestack.S (__stack_split_initialize): Align
2414 stack.
2415
68750bce
AT
24162016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
2417
2418 PR bootstrap/69611
2419 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
2420 __FLOAT128__ to compile only for __float128 capable targets.
2421
7d296953
JJ
24222016-01-25 Jakub Jelinek <jakub@redhat.com>
2423
2424 PR target/69444
2425 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
2426 instead of ___NO_FPRS__.
2427
a71c0334 24282016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
2429 Steven Munroe <munroesj@linux.vnet.ibm.com>
2430 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
a71c0334
MM
2431
2432 * config/rs6000/float128-sed: New files to convert TF names to KF
2433 names for PowerPC IEEE 128-bit floating point support.
2434 * config/rs6000/float128-sed-hw: Likewise.
2435
2436 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2437 floating point hardware support.
2438
2439 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2440 128-bit floating point software emulation or use ISA 3.0 hardware
2441 support if it is available.
2442
2443 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2444 floating point.
2445
2446 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
2447 floating point to IBM extended double.
2448
2449 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
2450 double to IEEE 128-bit floating point.
2451
2452 * config/rs6000/t-float128: New Makefile fragments to enable
2453 building __float128 emulation support.
2454 * config/rs6000/t-float128-hw: Likewise.
2455
2456 * config/rs6000/sfp-exceptions.c: New file to provide exception
2457 support for IEEE 128-bit floating point.
2458
2459 * config/rs6000/floattikf.c: New files for converting between IEEE
2460 128-bit floating point and signed/unsigned 128-bit integers.
2461 * config/rs6000/fixunskfti.c: Likewise.
2462 * config/rs6000/fixkfti.c: Likewise.
2463 * config/rs6000/floatuntikf.c: Likewise.
2464
2465 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2466 when building on 64-bit systems, or when VSX is enabled.
2467 (_FP_W_TYPE): Likewise.
2468 (_FP_WS_TYPE): Likewise.
2469 (_FP_I_TYPE): Likewise.
2470 (TItype): Define on 64-bit systems.
2471 (UTItype): Likewise.
2472 (TI_BITS): Likewise.
2473 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2474 (_FP_MUL_MEAT_Q): Likewise.
2475 (_FP_DIV_MEAT_D): Likewise.
2476 (_FP_DIV_MEAT_Q): Likewise.
2477 (_FP_NANFRAC_D): Likewise.
2478 (_FP_NANFRAC_Q): Likewise.
2479 (ISA_BIT): Add exception support if we are being compiled on a
2480 machine with hardware floating point support to build the IEEE
2481 128-bit emulation functions.
2482 (FP_EX_INVALID): Likewise.
2483 (FP_EX_OVERFLOW): Likewise.
2484 (FP_EX_UNDERFLOW): Likewise.
2485 (FP_EX_DIVZERO): Likewise.
2486 (FP_EX_INEXACT): Likewise.
2487 (FP_EX_ALL): Likewise.
2488 (__sfp_handle_exceptions): Likewise.
2489 (FP_HANDLE_EXCEPTIONS): Likewise.
2490 (FP_RND_NEAREST): Likewise.
2491 (FP_RND_ZERO): Likewise.
2492 (FP_RND_PINF): Likewise.
2493 (FP_RND_MINF): Likewise.
2494 (FP_RND_MASK): Likewise.
2495 (_FP_DECL_EX): Likewise.
2496 (FP_INIT_ROUNDMODE): Likewise.
2497 (FP_ROUNDMODE): Likewise.
2498
2499 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2500 VSX code, enable IEEE 128-bit floating point. If the compiler can
2501 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
2502 floating point hardware instructions and it supports declaring
2503 functions with the ifunc attribute, enable ifunc functions to
2504 switch between software and hardware support.
2505 * configure.ac (powerpc*-*-linux*): Likewise.
2506 * configure: Regenerate.
2507
bdc27e50
NC
25082016-01-15 Nick Clifton <nickc@redhat.com>
2509
2510 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
2511 dependency as the source file to be compiled.
2512 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
2513 (lib2hw_mul_f5.o): Likewise.
2514
006df05d
MM
25152016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
2516
2517 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
2518 * libgcc/config/rs6000/fixkfti.c: Likewise.
2519 * libgcc/config/rs6000/fixunskfti.c: Likewise.
2520 * libgcc/config/rs6000/float128-hw.c: Likewise.
2521 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
2522 * libgcc/config/rs6000/float128-sed: Likewise.
2523 * libgcc/config/rs6000/floattikf.c: Likewise.
2524 * libgcc/config/rs6000/floatuntikf.c: Likewise.
2525 * libgcc/config/rs6000/quad-float128.h: Likewise.
2526 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
2527 * libgcc/config/rs6000/sfp-machine.h: Likewise.
2528 * libgcc/config/rs6000/t-float128: Likewise.
2529 * libgcc/config/rs6000/t-float128-hw: Likewise.
2530 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
2531 * libgcc/config.host: Likewise.
2532 * libgcc/configure: Likewise.
2533 * libgcc/configure.ac: Likewise.
2534
29176d57 25352016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
2536 Steven Munroe <munroesj@linux.vnet.ibm.com>
2537 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
29176d57
MM
2538
2539 * config/rs6000/sfp-exceptions.c: New file to provide exception
2540 support for IEEE 128-bit floating point.
2541
2542 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2543 floating point hardware support.
2544
2545 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
2546 point conversions.
2547 * config/rs6000/fixunskfti.c: Likewise.
2548 * config/rs6000/fixkfti.c: Likewise.
2549 * config/rs6000/floatuntikf.c: Likewise.
2550 * config/rs6000/extendkftf2-sw.c: Likewise.
2551 * config/rs6000/trunctfkf2-sw.c: Likewise.
2552
2553 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2554 128-bit floating point software emulation or use ISA 3.0 hardware
2555 support if it is available.
2556
2557 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2558 floating point.
2559
2560 * config/rs6000/t-float128: New Makefile fragments to enable
2561 building __float128 emulation support.
2562 * config/rs6000/t-float128-hw: Likewise.
2563
2564 * config/rs6000/float128-sed: New file to convert TF names to KF
2565 names for PowerPC IEEE 128-bit floating point support.
2566
2567 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2568 when building on 64-bit systems, or when VSX is enabled.
2569 (_FP_W_TYPE): Likewise.
2570 (_FP_WS_TYPE): Likewise.
2571 (_FP_I_TYPE): Likewise.
2572 (TItype): Define on 64-bit systems.
2573 (UTItype): Likewise.
2574 (TI_BITS): Likewise.
2575 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2576 (_FP_MUL_MEAT_Q): Likewise.
2577 (_FP_DIV_MEAT_D): Likewise.
2578 (_FP_DIV_MEAT_Q): Likewise.
2579 (_FP_NANFRAC_D): Likewise.
2580 (_FP_NANFRAC_Q): Likewise.
2581 (ISA_BIT): Add exception support if we are being compiled on a
2582 machine with hardware floating point support to build the IEEE
2583 128-bit emulation functions.
2584 (FP_EX_INVALID): Likewise.
2585 (FP_EX_OVERFLOW): Likewise.
2586 (FP_EX_UNDERFLOW): Likewise.
2587 (FP_EX_DIVZERO): Likewise.
2588 (FP_EX_INEXACT): Likewise.
2589 (FP_EX_ALL): Likewise.
2590 (__sfp_handle_exceptions): Likewise.
2591 (FP_HANDLE_EXCEPTIONS): Likewise.
2592 (FP_RND_NEAREST): Likewise.
2593 (FP_RND_ZERO): Likewise.
2594 (FP_RND_PINF): Likewise.
2595 (FP_RND_MINF): Likewise.
2596 (FP_RND_MASK): Likewise.
2597 (_FP_DECL_EX): Likewise.
2598 (FP_INIT_ROUNDMODE): Likewise.
2599 (FP_ROUNDMODE): Likewise.
2600
2601 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
2602 compiler can do __float128.
2603 * configure: Regenerate.
2604
2605 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2606 VSX code, enable IEEE 128-bit floating point.
2607
a2218983
OH
26082016-01-05 Olivier Hainque <hainque@adacore.com>
2609
2610 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
29176d57 2611 specificities.
a2218983 2612
818ab71a
JJ
26132016-01-04 Jakub Jelinek <jakub@redhat.com>
2614
2615 Update copyright years.
2616
5a6c8ffa
AP
26172015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
2618
2619 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
29176d57 2620 soft-fp targets.
5a6c8ffa 2621
077067a5
BE
26222015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
2623
2624 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
2625 instead of abort to avoid dependency on stdlib.h.
2626
787c1027
JDA
26272015-12-09 John David Anglin <danglin@gcc.gnu.org>
2628
2629 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
2630 to initialize call to __dl_fixup once.
2631
04a9ae28
NC
26322015-12-04 Nick Clifton <nickc@redhat.com>
2633
2634 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
2635 Allow for the second argument being negative.
2636 * config.host (extra_parts): Define for MSP430. Create separate
2637 libraries for each of the hardware multiply formats.
2638 * config/msp430/lib2hw_mul.S: Build only the multiply routines
2639 that are needed.
2640 * config/msp430/lib2mul.c: Likewise.
2641 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
2642 Add rules to build hardware multiply libraries.
2643 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
2644 __mspabi_divul function.
2645 (__mspabi_divllu): New stub function.
2646
9a32d437
JDA
26472015-12-01 John David Anglin <danglin@gcc.gnu.org>
2648
2649 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
2650 fixup values if saved GOT address doesn't match runtime address.
2651 (fixup_branch_offset): Reorder list.
2652
e5ef217c
RO
26532015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2654
2655 * Makefile.in (VTV_CFLAGS): New variable.
2656 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
2657 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
2658 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2659 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
2660 to extra_parts if $enable_vtable_verify = yes.
2661
78cc43a2
SN
26622015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
2663
2664 PR target/68059
2665 * config/arm/linux-atomic-64bit.c (__write): Rename to...
2666 (write): ...this and fix the return type.
2667
9afebea2
DD
26682015-11-19 DJ Delorie <dj@redhat.com>
2669
2670 * config/msp430/lib2hw_mul.S: Fix alignment.
2671
33f47f42
NS
26722015-11-18 Nathan Sidwell <nathan@codesourcery.com>
2673
2674 * config/nvptx/reduction.c: New.
2675 * config/nvptx/t-nvptx (LIB2ADD): Add it.
2676
d9adb476
DE
26772015-11-15 David Edelsohn <dje.gcc@gmail.com>
2678
2679 * config/rs6000/on_exit.c: New file.
2680 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
2681 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
2682
c0ab1970
CZ
26832015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
2684
2685 * config/arc/dp-hack.h: Add support for ARCHS.
2686 * config/arc/ieee-754/divdf3.S: Likewise.
2687 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
2688 * config/arc/ieee-754/muldf3.S: Likewise.
2689 * config/arc/ieee-754/mulsf3.S: Likewise
2690 * config/arc/lib1funcs.S: Likewise
2691 * config/arc/gmon/dcache_linesz.S: Don't read the build register
2692 for ARCv2 cores.
2693 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
2694 for ARCv2 cores.
2695 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
2696 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
2697 cores.
2698
e6b6bf09
RO
26992015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2700
2701 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
2702 value.
2703 * config/ia64/crtend.S: Likewise.
2704
a153644f
TS
27052015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2706
2707 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
2708 __CHAR_BIT__ instead of BITS_PER_UNIT.
2709 * fixed-bit.h: Likewise.
2710 * fp-bit.h: Likewise.
2711 * libgcc2.c (__popcountSI2): Likewise.
2712 (__popcountDI2): Likewise.
2713 * libgcc2.h: Likewise.
2714 * libgcov.h: Likewise.
2715
3dee689d
DE
27162015-11-07 David Edelsohn <dje.gcc@gmail.com>
2717
2718 * config/rs6000/atexit.c: New file.
2719 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
2720 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
2721 * config/rs6000/cxa_finalize.c
2722 (catomic_compare_and_exchange_bool_acq): Negate return value.
2723
2ef543e4
VK
27242015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
2725
2726 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
2727 (processor_subtypes): Add znver1.
2728 (get_amd_cpu): Detect znver1.
2729
1300f017
CL
27302015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
2731
2732 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
2733 Include crtfastmath.o.
2734
3e5bb7ee
JR
27352015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
2736
2737 PR libgcc/66883
2738 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1300f017 2739
793aa938
KP
27402015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
2741
2742 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
2743 * config/rl78/divmodsi.S: Update return register to r8.
2744 * config/rl78/divmodhi.S: Update return register to r8,r9.
2745 Branch to main_loop_done_himode to pop registers before return.
2746
7d296953 27472015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
fac812f0
VK
2748
2749 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
2750 (__cpu_indicator_init): Fix model selection for AMD CPUs.
2751
6a192b5a
KY
27522015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
2753
2754 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
2755
4a0a9457
MF
27562015-10-03 Max Filippov <jcmvbkbc@gmail.com>
2757
2758 * config.host (xtensa*-*-uclinux*): New configuration.
2759
ab91c076
KY
27602015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
2761
385c7747 2762 * config/i386/cpuinfo.c (processor_features): Add
ab91c076
KY
2763 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
2764
30954527
JM
27652015-09-28 Joseph Myers <joseph@codesourcery.com>
2766
2767 * soft-fp/adddf3.c: Update from glibc.
2768 * soft-fp/addsf3.c: Likewise.
2769 * soft-fp/addtf3.c: Likewise.
2770 * soft-fp/divdf3.c: Likewise.
2771 * soft-fp/divsf3.c: Likewise.
2772 * soft-fp/divtf3.c: Likewise.
2773 * soft-fp/double.h: Likewise.
2774 * soft-fp/eqdf2.c: Likewise.
2775 * soft-fp/eqsf2.c: Likewise.
2776 * soft-fp/eqtf2.c: Likewise.
2777 * soft-fp/extenddftf2.c: Likewise.
2778 * soft-fp/extended.h: Likewise.
2779 * soft-fp/extendsfdf2.c: Likewise.
2780 * soft-fp/extendsftf2.c: Likewise.
2781 * soft-fp/extendxftf2.c: Likewise.
2782 * soft-fp/fixdfdi.c: Likewise.
2783 * soft-fp/fixdfsi.c: Likewise.
2784 * soft-fp/fixdfti.c: Likewise.
2785 * soft-fp/fixsfdi.c: Likewise.
2786 * soft-fp/fixsfsi.c: Likewise.
2787 * soft-fp/fixsfti.c: Likewise.
2788 * soft-fp/fixtfdi.c: Likewise.
2789 * soft-fp/fixtfsi.c: Likewise.
2790 * soft-fp/fixtfti.c: Likewise.
2791 * soft-fp/fixunsdfdi.c: Likewise.
2792 * soft-fp/fixunsdfsi.c: Likewise.
2793 * soft-fp/fixunsdfti.c: Likewise.
2794 * soft-fp/fixunssfdi.c: Likewise.
2795 * soft-fp/fixunssfsi.c: Likewise.
2796 * soft-fp/fixunssfti.c: Likewise.
2797 * soft-fp/fixunstfdi.c: Likewise.
2798 * soft-fp/fixunstfsi.c: Likewise.
2799 * soft-fp/fixunstfti.c: Likewise.
2800 * soft-fp/floatdidf.c: Likewise.
2801 * soft-fp/floatdisf.c: Likewise.
2802 * soft-fp/floatditf.c: Likewise.
2803 * soft-fp/floatsidf.c: Likewise.
2804 * soft-fp/floatsisf.c: Likewise.
2805 * soft-fp/floatsitf.c: Likewise.
2806 * soft-fp/floattidf.c: Likewise.
2807 * soft-fp/floattisf.c: Likewise.
2808 * soft-fp/floattitf.c: Likewise.
2809 * soft-fp/floatundidf.c: Likewise.
2810 * soft-fp/floatundisf.c: Likewise.
2811 * soft-fp/floatunditf.c: Likewise.
2812 * soft-fp/floatunsidf.c: Likewise.
2813 * soft-fp/floatunsisf.c: Likewise.
2814 * soft-fp/floatunsitf.c: Likewise.
2815 * soft-fp/floatuntidf.c: Likewise.
2816 * soft-fp/floatuntisf.c: Likewise.
2817 * soft-fp/floatuntitf.c: Likewise.
2818 * soft-fp/gedf2.c: Likewise.
2819 * soft-fp/gesf2.c: Likewise.
2820 * soft-fp/getf2.c: Likewise.
2821 * soft-fp/ledf2.c: Likewise.
2822 * soft-fp/lesf2.c: Likewise.
2823 * soft-fp/letf2.c: Likewise.
2824 * soft-fp/muldf3.c: Likewise.
2825 * soft-fp/mulsf3.c: Likewise.
2826 * soft-fp/multf3.c: Likewise.
2827 * soft-fp/negdf2.c: Likewise.
2828 * soft-fp/negsf2.c: Likewise.
2829 * soft-fp/negtf2.c: Likewise.
2830 * soft-fp/op-1.h: Likewise.
2831 * soft-fp/op-2.h: Likewise.
2832 * soft-fp/op-4.h: Likewise.
2833 * soft-fp/op-8.h: Likewise.
2834 * soft-fp/op-common.h: Likewise.
2835 * soft-fp/quad.h: Likewise.
2836 * soft-fp/single.h: Likewise.
2837 * soft-fp/soft-fp.h: Likewise.
2838 * soft-fp/subdf3.c: Likewise.
2839 * soft-fp/subsf3.c: Likewise.
2840 * soft-fp/subtf3.c: Likewise.
2841 * soft-fp/truncdfsf2.c: Likewise.
2842 * soft-fp/trunctfdf2.c: Likewise.
2843 * soft-fp/trunctfsf2.c: Likewise.
2844 * soft-fp/trunctfxf2.c: Likewise.
2845 * soft-fp/unorddf2.c: Likewise.
2846 * soft-fp/unordsf2.c: Likewise.
2847 * soft-fp/unordtf2.c: Likewise.
2848
4dfe21ac
RE
28492015-09-24 Richard Earnshaw <rearnsha@arm.com>
2850
2851 PR libgcc/67624
2852 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
2853
df2a1cc4
RO
28542015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2855
2856 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2857 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
2858 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
2859 messages.
2860 (internal_mcount): Likewise.
2861 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
2862 crt_compile, add CRTSTUFF_T_CFLAGS_S.
2863
2d110442
RO
28642015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2865
2866 * configure.ac (libgcc_cv_solaris_crts): New test.
2867 * configure: Regenerate.
2868 * config.in: Regenerate.
2869 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
2870 * config/gmon-sol2.c: Rename to ...
2871 * config/sol2/gmon.c: ... this.
2872 Include auto-target.h.
2873 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
2874 * config/t-sol2: Rename to ...
2875 * config/sol2/t-sol2: ... this.
2876 (gmon.o): Reflect renaming.
2877 (crtp.o, crtpg.o): New rules.
2878 * config.host (*-*-solaris2*): Reflect renaming.
2879 Use system CRTs if present.
2880 Remove default CRT case.
2881
d572e439
JDA
28822015-09-23 John David Anglin <danglin@gcc.gnu.org>
2883
2884 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
2885 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
2886 __kernel_cmpxchg2.
2887 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
2888 (__sync_val_compare_and_swap_##WIDTH): Likewise.
2889 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
2890 (__sync_lock_test_and_set_##WIDTH): Likewise.
2891 (__sync_lock_release_##WIDTH): Likewise.
2892 (__sync_fetch_and_##OP##_4): Change result to match type of
2893 __kernel_cmpxchg.
2894 (__sync_##OP##_and_fetch_4): Likewise.
2895 (__sync_val_compare_and_swap_4): Likewise.
2896 (__sync_bool_compare_and_swap_4): likewise.
2897 (__sync_lock_test_and_set_4): Likewise.
2898 (__sync_lock_release_4): Likewise.
2899 (FETCH_AND_OP_2): Add long long variants.
2900 (OP_AND_FETCH_2): Likewise.
2901 (COMPARE_AND_SWAP_2 ): Likewise.
2902 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2903 (SYNC_LOCK_RELEASE_2): Likewise.
2904 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
2905
7d296953 29062015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
06caf59d
KY
2907
2908 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
2909 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
2910 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
2911 (get_available_features): Habdle new features.
2912
131314e1
JB
29132015-09-21 James Bowman <james.bowman@ftdichip.com>
2914
2915 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
2916 memory layout. Deal correctly with BSS region larger than 32K.
2917 Handle a watchdog reset like a power-on reset. Clean up unused
2918 code.
2919
04218b35
AD
29202015-09-18 Andrew Dixie <andrewd@gentrack.com>
2921 David Edelsohn <dje.gcc@gmail.com>
2922
2923 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
2924 * config/rs6000/crtdbase.S: New file.
2925 * config/rs6000/t-aix-cxa: Build crtdbase.o.
2926
c8338173
MF
29272015-09-15 Max Filippov <jcmvbkbc@gmail.com>
2928
2929 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
2930 Add support for call0 ABI.
2931
7a84bf71
JDA
29322015-09-13 John David Anglin <danglin@gcc.gnu.org>
2933
2934 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
2935
4efab402
SH
29362015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
2937
2938 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
2939 (__GTHREAD_HAS_COND): Likewise.
2940 (__gthread_t): Likewise.
2941 (__gthread_cond_t): Likewise.
2942 (__gthread_time_t): Likewise.
2943 (__GTHREAD_MUTEX_INIT): Likewise.
2944 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
2945 (__GTHREAD_COND_INIT): Likewise.
2946 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
2947 (__GTHREAD_TIME_INIT): Likewise.
2948 (__gthread_create): Likewise.
2949 (__gthread_join): Likewise.
2950 (__gthread_detach): Likewise.
2951 (__gthread_equal): Likewise.
2952 (__gthread_self): Likewise.
2953 (__gthread_yield): Likewise.
2954 (__gthread_cond_broadcast): Likewise.
2955 (__gthread_cond_signal): Likewise.
2956 (__gthread_cond_wait): Likewise.
2957 (__gthread_cond_timedwait): Likewise.
2958 (__gthread_cond_wait_recursive): Likewise.
2959 (__gthread_cond_destroy): Likewise.
2960 (rtems_gxx_once): Delete.
2961 (rtems_gxx_key_create): Likewise.
2962 (rtems_gxx_key_delete): Likewise.
2963 (rtems_gxx_getspecific): Likewise.
2964 (rtems_gxx_setspecific): Likewise.
2965 (rtems_gxx_mutex_init): Likewise.
2966 (rtems_gxx_mutex_destroy): Likewise.
2967 (rtems_gxx_mutex_lock): Likewise.
2968 (rtems_gxx_mutex_trylock): Likewise.
2969 (rtems_gxx_mutex_unlock): Likewise.
2970 (rtems_gxx_recursive_mutex_init): Likewise.
2971 (rtems_gxx_recursive_mutex_lock): Likewise.
2972 (rtems_gxx_recursive_mutex_trylock): Likewise.
2973 (rtems_gxx_recursive_mutex_unlock): Likewise.
2974 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
2975 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
2976 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
2977 (__gthread_once): Likewise.
2978 (__gthread_key_create): Likewise.
2979 (__gthread_key_delete): Likewise.
2980 (__gthread_getspecific): Likewise.
2981 (__gthread_setspecific): Likewise.
2982 (__gthread_key_t): Use <pthread.h> type.
2983 (__gthread_once_t): Likewise
2984 (__gthread_mutex_t): Use <sys/lock.h> type.
2985 (__gthread_recursive_mutex_t): Likewise
2986 (__gthread_mutex_lock): Use <sys/lock.h> function.
2987 (__gthread_mutex_trylock): Likewise.
2988 (__gthread_mutex_timedlock): Likewise.
2989 (__gthread_mutex_unlock): Likewise.
2990 (__gthread_mutex_destroy): Likewise.
2991 (__gthread_recursive_mutex_lock): Likewise.
2992 (__gthread_recursive_mutex_trylock): Likewise.
2993 (__gthread_recursive_mutex_timedlock): Likewise.
2994 (__gthread_recursive_mutex_unlock): Likewise.
2995 (__gthread_recursive_mutex_destroy): Likewise.
2996
991995c4
MF
29972015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2998
2999 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
3000 context->sp instead of context->cfa.
3001
0e19db59
MF
30022015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3003
3004 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
3005 with unwind-dw2-fde-dip.
3006
b6ac5f62
MF
30072015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3008
3009 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
3010 CALL12 followed by series of ENTRY to spill windowed registers.
3011 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
3012 instead of making linux spill syscall.
3013
3e0f3349
YR
30142015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
3015
3016 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
3017 (get_intel_cpu): Likewise.
3018
51c728b1
L
30192015-08-12 H.J. Lu <hongjiu.lu@intel.com>
3020
3021 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
3022 (get_intel_cpu): Add Knights Landing support.
3023
aff4eeac
UB
30242015-08-11 Uros Bizjak <ubizjak@gmail.com>
3025
3026 PR target/66954
3027 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
3028 (get_available_features): Handle FEATURE_PCLMUL.
3029
736e56da
L
30302015-08-10 H.J. Lu <hongjiu.lu@intel.com>
3031
3032 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
3033 Broadwell.
3034
54d22142
UB
30352015-07-22 Uros Bizjak <ubizjak@gmail.com>
3036
3037 PR target/66954
3038 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
3039 (get_available_features): Handle FEATURE_AES.
3040
20ca17e4
CLT
30412015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
3042
3043 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
3044 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
3045
ebe4a560
NS
30462015-07-17 Nathan Sidwell <nathan@codesourcery.com>
3047
3048 * offloadstuff.c: Constify host data.
3049
180744c0
JB
30502015-07-17 Jan Beulich <jbeulich@suse.com>
3051
3052 * config/t-softfp: Split up "else ifneq".
3053
a03c6ae3
SL
30542015-07-14 Sandra Loosemore <sandra@codesourcery.com>
3055 Cesar Philippidis <cesar@codesourcery.com>
3056 Chung-Lin Tang <cltang@codesourcery.com>
3057
3058 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
3059 for __nios2_arch__ level.
3060
73358db5
JM
30612015-07-13 John Marino <gnugcc@marino.st>
3062
3063 * config/i386/t-dragonfly: New.
3064
f9a12f7b
JDA
30652015-07-01 John David Anglin <danglin@gcc.gnu.org>
3066
3067 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
3068 better match light-weight syscall argument order.
3069 (__kernel_cmpxchg2): Likewise.
3070 Adjust callers.
3071
cb78b51c
L
30722015-06-30 H.J. Lu <hongjiu.lu@intel.com>
3073
3074 * config.host: Support i[34567]86-*-elfiamcu target.
3075 * config/t-softfp-sfdftf: New file.
3076 * config/i386/32/t-iamcu: Likewise.
3077 * configure: Regenerated.
3078
4fa0f9ea
JL
30792015-06-23 James Lemke <jwlemke@codesourcery.com>
3080
3081 libgcc/config/arm/
3082 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
3083
428b3812
L
30842015-05-27 H.J. Lu <hongjiu.lu@intel.com>
3085
3086 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
3087
7d296953 30882015-05-27 John Marino <gnugcc@marino.st>
89c54dd3
JM
3089
3090 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
3091 md_unwind_header
3092 * config/i386/freebsd-unwind.h: New.
3093
9b789cc1
UB
30942015-05-22 Uros Bizjak <ubizjak@gmail.com>
3095
3096 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
3097 i386/t-crtfm to tmake_file.
3098 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
3099 (set_fast_math): Use set_fast_math_sse for SSE targets.
3100 * config/i386/t-crtfm: Remove.
3101
3dafb220
AM
31022015-05-21 Alan Modra <amodra@gmail.com>
3103
3104 PR libgcc/66225
3105 * config/rs6000/morestack.S: Remove ".abiversion 1".
3106
0f0fd745
AM
31072015-05-20 Alan Modra <amodra@gmail.com>
3108
3109 * config/rs6000/morestack.S: New.
3110 * config/rs6000/t-stack-rs6000: New.
3111 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
3112 to tmake_file.
3113 * generic-morestack.c: Don't build for powerpc 32-bit.
3114
515ae71b
EB
31152015-05-19 Eric Botcazou <ebotcazou@adacore.com>
3116
3117 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
3118 Remove useless endif/ifneq ($(enable_shared),yes) pair.
3119
36805406
JL
31202015-05-16 James Bowman <james.bowman@ftdichip.com>
3121
3122 * config.host: FT32 target added.
3123 * config/ft32/*: New files for FT32 target.
3124
ff935d0c
MG
31252015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
3126
385c7747
UB
3127 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
3128 New macros.
3129 * config/arm/ieee754-df.S: Add CFI directives.
3130 * config/arm/ieee754-sf.S: Add CFI directives.
ff935d0c 3131
9b92a9f3
EB
31322015-05-13 Eric Botcazou <ebotcazou@adacore.com>
3133
3134 * configure.ac: Include config/sjlj.m4.
3135 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
3136 * config.in: Regenerate.
3137 * configure: Likewise.
3138 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
3139
98b5dc61
UB
31402015-05-12 Uros Bizjak <ubizjak@gmail.com>
3141
3142 * libgcov-util.c: Add space between string literal and macro name.
3143
5a0ff57c
SL
31442015-05-06 Sandra Loosemore <sandra@codesourcery.com>
3145 Chris Jones <chrisj@nvidia.com>
3146 Joshua Conner <jconner@nvidia.com>
3147
3148 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
3149 (arm*-*-uclinux*): Likewise.
3150 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
3151 * config/arm/crtfastmath.c: New file.
3152
d28ad5d4
BS
31532014-04-29 Bernd Schmidt <bernds@codesourcery.com>
3154
3155 * Makefile.in (real_host_noncanonical): New variable.
3156 (libsubdir): Use it.
3157 * configure.ac (real_host_noncanonical): Compute. Remove special
3158 case for intelmicemul.
3159 * configure: Regenerate.
3160
cc86234f
UB
31612015-04-28 Uros Bizjak <ubizjak@gmail.com>
3162
3163 * config/frv/elf-lib.h: New file.
3164 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
3165 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
3166 to tm_file.
3167
31682015-04-28 Uros Bizjak <ubizjak@gmail.com>
3169
3170 * config/frv/frvbengin.c: Do not include defaults.h
3171 * config/frv/frvend.c: Ditto.
3172
2f6bd6eb
YS
31732015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
3174
3175 * config.host: Add h8300-*-linux
3176 * config/h8300/t-linux: New file.
3177 * config/h8300/lib1funs.s: Change symbol prefix.
3178 * config/h8300/sfp-machine.h: 64bit double support.
3179
15aa7b44
GR
31802015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
3181 Szabolcs Nagy <szabolcs.nagy@arm.com>
3182
3183 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
3184 Linux if target provides dl_iterate_phdr.
3185
abd0cdc9
L
31862015-04-17 H.J. Lu <hongjiu.lu@intel.com>
3187
3188 PR target/65612
3189 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
3190 * config/i386/cpuinfo.c (__cpu_model): Initialize.
3191 (__cpu_indicator_init@GCC_4.8.0): New.
3192 (__cpu_model@GCC_4.8.0): Likewise.
3193 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
3194 -DUSE_ELF_SYMVER.
3195
72ed1126
NC
31962015-04-16 Nick Clifton <nickc@redhat.com>
3197
3198 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
3199 and __modhi3 functions.
3200 * config/rl78/divmodso.S: Add G14 and G13 versions of the
3201 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
3202
d26b2237
CG
32032015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
3204
3205 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
3206 do-while loop as macro body to avoid warnings.
3207
cacf1f59
JJ
32082015-04-10 Jakub Jelinek <jakub@redhat.com>
3209 Iain Sandoe <iain@codesourcery.com>
3210
3211 PR target/65351
3212 * configure: Regenerate.
3213
e8a4ed3b
JJ
32142015-04-07 Jakub Jelinek <jakub@redhat.com>
3215 Iain Sandoe <iain@codesourcery.com>
3216
3217 PR target/65351
3218 * configure: Regenerate.
3219
0341335e
CLT
32202015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
3221
3222 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
3223
590e2636 32242015-03-03 Max Filippov <jcmvbkbc@gmail.com>
0341335e 3225
590e2636
MF
3226 Implement call0 ABI for xtensa
3227 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
3228 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
3229 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
3230 use ret in call0 ABI.
3231 * config/xtensa/t-windowed: New file.
3232 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
3233 * libgcc/configure: Regenerated.
3234 * libgcc/configure.ac: Check if xtensa target is configured for
3235 windowed ABI and thus needs to use custom unwind code.
3236
7727f8f2
JW
32372015-02-12 Jonathan Wakely <jwakely@redhat.com>
3238
3239 PR libgcc/64885
3240 * gthr-single.h: Use __unused__ attribute instead of unused.
3241 * config/gthr-vxworks.h: Likewise.
3242 * config/i386/gthr-win32.h: Likewise.
3243
0e4a0def
KT
32442015-02-27 Kai Tietz <ktietz@redhat.com>
3245
3246 PR target/65038
3247 * config.in: Regenerated.
3248 * configure: Likewise.
3249 * configure.ac (AC_HEADER_STDC): Added explicit.
3250 (AC_CHECK_HEADERS): Check for default headers plus
3251 for ftw.h header.
3252 * libgcov-util.c (gcov_read_profile_dir): Disable use
3253 of ftw-function, if header is not found.
3254 (ftw_read_file): Likewise.
3255
b6530d0a
TS
32562015-02-23 Thomas Schwinge <thomas@codesourcery.com>
3257
3258 PR target/65181
3259 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
3260 -Dinhibit_libc.
3261
53cfb467
SL
32622015-02-17 Sandra Loosemore <sandra@codesourcery.com>
3263
3264 * config/arm/bpabi.S (test_div_by_zero): Make label names
3265 consistent between thumb2 and arm mode cases. Separate the
3266 signed comparison on the high word of the numerator from the
3267 unsigned comparison on the low word.
3268 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
3269 signed comparison.
3270
77d10a1b
JM
32712015-02-17 Joseph Myers <joseph@codesourcery.com>
3272
3273 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
3274 and <string.h>.
3275 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
3276
98174188
RE
32772015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
3278
3279 PR gcov-profile/61889
471274de 3280 * libgcov-driver-system.c: undefine clashing macro for mkdir.
98174188 3281
771bef14
NC
32822015-02-02 Nick Clifton <nickc@redhat.com>
3283
3284 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
3285 rounding up the fraction.
3286
40702893
JDA
32872015-01-31 John David Anglin <danglin@gcc.gnu.org>
3288
3289 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
3290 oldval and newval to const void *. Fix typo.
3291 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
3292 (FETCH_AND_OP_WORD): Likewise.
3293 (OP_AND_FETCH_WORD): Likewise.
3294 (COMPARE_AND_SWAP_2): Likewise.
3295 (__sync_val_compare_and_swap_4): Likewise.
3296 (__sync_lock_test_and_set_4): Likewise.
3297 (SYNC_LOCK_RELEASE_2): Likewise.
3298 Remove support for long long atomic operations.
3299
f7f049fa
CT
33002015-01-27 Caroline Tice <cmtice@google.com>
3301
3302 Committing VTV Cywin/Ming patch for Patrick Wollgast
3303 * Makefile.in: Move rules to build vtv_*.o out of the check
3304 for CUSTOM_CRTSTUFF.
3305 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
3306 i[34567]86-*-mingw*)
3307 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
3308 enable_vtable_verify.
3309
8410904a
NC
33102015-01-27 Nick Clifton <nickc@redhat.com>
3311
3312 * config/rl78/cmpsi2.S: Use function start and end macros.
3313 (__gcc_bcmp): New function.
3314 * config/rl78/lshrsi3.S: Use function start and end macros.
3315 * config/rl78/mulsi3.S: Add support for G10.
3316 (__mulqi3): New function for G10.
3317 * config/rl78/signbit.S: Use function start and end macros.
3318 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
3319 fpmath-sf.S.
3320 (LIB2FUNCS_EXCLUDE): Define.
3321 (LIB2FUNCS_ST): Define.
3322 * config/rl78/trampoline.S: Use function start and end macros.
3323 * config/rl78/vregs.h (START_FUNC): New macro.
3324 (START_ANOTHER_FUNC): New macro.
3325 (END_FUNC): New macro.
3326 (END_ANOTHER_FUNC): New macro.
3327 * config/rl78/bit-count.S: New file. Contains assembler
3328 implementations of the bit counting functions: ___clzhi2,
3329 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
3330 __paritysi2, __popcounthi2 and __popcountsi2.
3331 * config/rl78/fpbit-sf.S: New file. Contains assembler
3332 implementationas of the math functions: __negsf2, __cmpsf2,
3333 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
3334 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
3335 * config/rl78/fpmath-sf.S: New file. Contains assembler
3336 implementations of the math functions: __subsf3, __addsf3,
3337 __mulsf3 and __divsf3
3338
f962fbf1
RO
33392015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3340
3341 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
3342 Add i386/elf-lib.h to tm_file.
3343 * config/i386/elf-lib.h: Fix comment.
3344 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
3345 && __sun__ && __svr4__]: Remove workaround.
3346
939911c5
ASJ
33472015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
3348
3349 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
3350 FEATURE_BMI2.
3351 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
3352
c8f2dff2
L
33532015-01-24 H.J. Lu <hongjiu.lu@intel.com>
3354
3355 * config/i386/cpuinfo.c (processor_subtypes): Add
3356 INTEL_COREI7_BROADWELL.
3357 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
3358 model numbers.
3359
7bbf9734
UB
33602015-01-23 Uros Bizjak <ubizjak@gmail.com>
3361
3362 * config/i386/elf-lib.h: New file.
3363 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
3364 Wrap definition in #ifdef __i386__.
3365 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
3366 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
3367 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
3368 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
3369 to tm_file.
3370
324820f1
CG
33712015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
3372
3373 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
3374 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
3375
a9ce4e4a
CLT
33762015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
3377
3378 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
3379 Update rt_sigframe format and address for current Nios II
3380 Linux conventions.
3381
82a19768
AT
33822015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
3383
3384 * config.host (arm*-*-freebsd*): Add new configuration for
3385 arm*-*-freebsd*.
3386 * config/arm/freebsd-atomic.c: New file.
3387 * config/arm/t-freebsd: Likewise.
3388 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
3389 'PC-relative indirect' OS's.
3390
0969ec7d
EB
33912015-01-06 Eric Botcazou <ebotcazou@adacore.com>
3392
3393 * config.host: Add Visium support.
3394 * config/visium: New directory.
3395
5624e564
JJ
33962015-01-05 Jakub Jelinek <jakub@redhat.com>
3397
3398 Update copyright years.
3399
82f84ecb
MF
34002014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
3401
3402 * config.host: Support mipsisa32r6 and mipsisa64r6.
3403 * config/mips/mips16.S: Do not build for R6.
3404
69044fa9
OE
34052014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
3406
3407 * config/sh/crt.h: New.
3408 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
3409 symbols.
3410 * config/sh/crt1.S: Likewise.
3411
2405e0ea
UB
34122014-12-15 Uros Bizjak <ubizjak@gmail.com>
3413
3414 PR libgcc/63832
3415 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
3416 func_ptr *dtor_list temporary variable to avoid "array subscript
3417 is above array bounds" warnings.
3418
7d296953 34192014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
dd913323
MH
3420
3421 * Makefile.in (with_aix_soname): Define.
3422 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
3423 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
3424 * configure: Recreate.
3425
a66272f6
OH
34262014-12-05 Olivier Hainque <hainque@adacore.com>
3427
3428 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
3429 now provided by defaults.h.
3430
6342b2c5
OE
34312014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
3432
7d0ee249 3433 PR target/55351
6342b2c5
OE
3434 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
3435 whether it's defined.
3436
c17eac85
IT
34372014-11-27 Ilya Tocar <ilya.tocar@intel.com>
3438
3439 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
3440 * config/i386/cpuinfo.c (get_available_features): Detect it.
3441
1025cb6c
TW
34422014-11-27 Tony Wang <tony.wang@arm.com>
3443
3444 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
3445 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
3446 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
3447
d19f2e38
SB
34482014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
3449
3450 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
3451
17f6e9a3
JDA
34522014-11-24 John David Anglin <danglin@gcc.gnu.org>
3453
3454 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
3455 instead.
3456
0cd7c672
GM
34572014-11-21 Guy Martin <gmsoft@tuxicoman.be>
3458 John David Anglin <danglin@gcc.gnu.org>
3459
3460 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
3461 (FETCH_AND_OP_2): New. Use for subword and double word operations.
3462 (OP_AND_FETCH_2): Likewise.
3463 (COMPARE_AND_SWAP_2): Likewise.
3464 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3465 (SYNC_LOCK_RELEASE_2): Likewise.
3466 (SUBWORD_SYNC_OP): Remove.
3467 (SUBWORD_VAL_CAS): Likewise.
3468 (SUBWORD_BOOL_CAS): Likewise.
3469 (FETCH_AND_OP_WORD): Update.
3470 Consistently use signed types.
cc86234f 3471
85c64bbe
BS
34722014-11-13 Bernd Schmidt <bernds@codesourcery.com>
3473 Thomas Schwinge <thomas@codesourcery.com>
3474 Ilya Verbin <ilya.verbin@intel.com>
3475 Andrey Turetskiy <andrey.turetskiy@intel.com>
3476
3477 * Makefile.in (crtoffloadbegin$(objext)): New rule.
3478 (crtoffloadend$(objext)): Likewise.
3479 * configure: Regenerate.
3480 * configure.ac (accel_dir_suffix): Compute new variable.
3481 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
3482 if enable_offload_targets is not empty.
3483 * offloadstuff.c: New file.
3484
52a1ff8b
NC
34852014-11-13 Nick Clifton <nickc@redhat.com>
3486
3487 * config/rl78/divmodhi.S: Add support for the G10 architecture.
3488 Use START_FUNC and END_FUNC macros to enable linker garbage
3489 collection.
3490 * config/rl78/divmodqi.S: Likewise.
3491 * config/rl78/divmodsi.S: Likewise.
3492 * config/rl78/mulsi3.S: Likewise.
3493 * config/rl78/lib2div.c: Remove G10 functions.
3494 * config/rl78/lib2muls.c: Likewise.
3495 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
3496 * config/rl78/vregs.h (START_FUNC): New macro.
3497 (END_FUNC): New macro.
3498
050af144
MF
34992014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
3500
3501 * config/mips/mips16.S: Set .module when supported. Update O32
3502 FP64 calling convention and use for FPXX when possible. Add FPXX
3503 calling convention fallback case.
3504
738f2522
BS
35052014-11-06 Bernd Schmidt <bernds@codesourcery.com>
3506
3507 * config.host: Handle nvptx-*-*.
3508 * shared-object.mk (as-flags-$o): Define.
3509 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
3510 -xassembler-with-cpp.
3511 * static-object.mk: Identical changes.
3512 * config/nvptx/t-nvptx: New file.
3513 * config/nvptx/crt0.s: New file.
3514 * config/nvptx/free.asm: New file.
3515 * config/nvptx/malloc.asm: New file.
3516 * config/nvptx/realloc.c: New file.
3517
e610393c
JM
35182014-10-30 Joseph Myers <joseph@codesourcery.com>
3519
3520 * Makefile.in (libgcc.map.in): New target.
3521 (libgcc.map): Use libgcc.map.in.
3522 * config/t-softfp (softfp_compat): New variable to be set by
3523 users.
3524 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
3525 variables.
3526 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
3527 directory.
3528 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
3529 that use compat symbols and disable all code unless [SHARED].
3530 * config/t-softfp-compat: New file.
3531 * find-symver.awk: New file.
3532 * configure.ac (--with-glibc-version): New configure option.
3533 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
3534 * configure: Regenerate.
3535 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
3536 soft-float and e500.
3537
bc1b3a88
JM
35382014-10-29 Joseph Myers <joseph@codesourcery.com>
3539
3540 * config/t-hardfp (hardfp_exclusions): Document new variable for
3541 user to define.
3542 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
3543 * config/t-softfp (softfp_extras): Document new variable for user
3544 to define.
3545 (softfp_func_list): Add functions from $(softfp_extras).
3546 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
3547 * config.host (powerpc*-*-linux*): For e500v1, use
3548 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
3549 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
3550 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
3551
ef2810c1
JDA
35522014-10-26 John David Anglin <danglin@gcc.gnu.org>
3553
3554 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
3555 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
3556 memory read accesses are ok.
3557
d80c2bea
JM
35582014-10-25 Joseph Myers <joseph@codesourcery.com>
3559
3560 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
3561 * configure: Regenerate.
3562 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
3563 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
3564 of soft-fp for 32-bit classic hard float. Do not use
3565 t-softfp-excl for soft float.
3566
693b297b
JM
35672014-10-22 Joseph Myers <joseph@codesourcery.com>
3568
3569 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
3570 configurations.
3571 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
3572 Remove variables.
3573
18a3415e
GJL
35742014-10-22 Georg-Johann Lay <avr@gjlay.de>
3575
3576 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
3577 introduced with 2014-10-21 trunk r216525.
3578
c1dd9790 35792014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
7d296953
JJ
3580 Vidya Praveen <vidya.praveen@atmel.com>
3581 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
3582 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
3583 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
c1dd9790
JR
3584
3585 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
3586 order.
3587
3588 Updated library functions for AVRTINY arch.
3589 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
3590 Replaced occurrences of r0/r1 with tmp/zero reg macros.
3591 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
3592 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
3593 wsubi/wadi macors.
3594 (__mulsi3_helper): Update stack, preserve callee saved regs and
3595 argument from stack. Restore callee save registers.
3596 (__mulpsi3): Likewise.
3597 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
3598 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
18a3415e 3599 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
c1dd9790
JR
3600 AVRTINY.
3601 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
3602 (__do_copy_data): Added new definition for AVRTINY.
3603 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
3604 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
3605 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
3606 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
3607 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
3608 macors.
18a3415e 3609 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
c1dd9790
JR
3610 AVRTINY.
3611
18a3415e 3612 Fix broken long multiplication on tiny arch.
c1dd9790 3613
5f606431
JM
36142014-10-09 Joseph Myers <joseph@codesourcery.com>
3615
3616 * soft-fp/double.h: Update from glibc.
3617 * soft-fp/eqdf2.c: Likewise.
3618 * soft-fp/eqsf2.c: Likewise.
3619 * soft-fp/eqtf2.c: Likewise.
3620 * soft-fp/extenddftf2.c: Likewise.
3621 * soft-fp/extended.h: Likewise.
3622 * soft-fp/extendsfdf2.c: Likewise.
3623 * soft-fp/extendsftf2.c: Likewise.
3624 * soft-fp/extendxftf2.c: Likewise.
3625 * soft-fp/gedf2.c: Likewise.
3626 * soft-fp/gesf2.c: Likewise.
3627 * soft-fp/getf2.c: Likewise.
3628 * soft-fp/ledf2.c: Likewise.
3629 * soft-fp/lesf2.c: Likewise.
3630 * soft-fp/letf2.c: Likewise.
3631 * soft-fp/op-1.h: Likewise.
3632 * soft-fp/op-2.h: Likewise.
3633 * soft-fp/op-4.h: Likewise.
3634 * soft-fp/op-8.h: Likewise.
3635 * soft-fp/op-common.h: Likewise.
3636 * soft-fp/quad.h: Likewise.
3637 * soft-fp/single.h: Likewise.
3638 * soft-fp/soft-fp.h: Likewise.
3639 * soft-fp/unorddf2.c: Likewise.
3640 * soft-fp/unordsf2.c: Likewise.
3641 * soft-fp/unordtf2.c: Likewise.
3642 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
3643 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
3644 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
3645 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
3646 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
3647 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
3648 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
3649 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
3650 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
3651 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
3652
9b84e7a8
RX
36532014-10-08 Rong Xu <xur@google.com>
3654
3655 * libgcov-util.c (read_gcda_file): Fix format.
3656 (find_match_gcov_info): Ditto.
3657 (calculate_2_entries): New.
3658 (compute_one_gcov): Ditto.
3659 (gcov_info_count_all_cold): Ditto.
3660 (gcov_info_count_all_zero): Ditto.
3661 (extract_file_basename): Ditto.
3662 (get_file_basename): Ditto.
3663 (set_flag): Ditto.
3664 (matched_gcov_info): Ditto.
3665 (calculate_overlap): Ditto.
3666 (gcov_profile_overlap): Ditto.
3667 * libgcov-driver.c (compute_summary): Make
3668 it avavilable for external calls.
3669
fe1090c1
RX
36702014-10-06 Rong Xu <xur@google.com>
3671
3672 * Makefile.in: Ditto.
3673 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
3674 (gcov_sort_icall_topn_counter): Ditto.
3675 (gcov_sort_topn_counter_arrays): Ditto.
3676 (dump_one_gcov): Sort indirect_call topn counters.
3677 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
3678 function.
3679 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
3680 utility function.
3681 (__gcov_indirect_call_topn_profiler): New profiler function.
3682 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
3683 * libgcov.h: New decls.
3684
3daa7bbf
TS
36852014-10-04 Trevor Saunders <tsaunders@mozilla.com>
3686
3687 * config.host: Remove support for score-*.
3688
9a79452d
JM
36892014-09-22 Joseph Myers <joseph@codesourcery.com>
3690
3691 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3692 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
3693 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
3694 __LIBGCC_XF_MANT_DIG__.
3695 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
3696 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
3697 __LIBGCC_TF_MANT_DIG__.
3698 * libgcc2.c (NOTRUNC): Define in terms of
3699 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
3700 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3701
1a849e50
JM
37022014-09-22 Joseph Myers <joseph@codesourcery.com>
3703
3704 PR target/63312
3705 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
3706 New macros.
3707
598a1586
HPN
37082014-09-22 Hans-Peter Nilsson <hp@axis.com>
3709
3710 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
3711 override USE_PT_GNU_EH_FRAME.
3712 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
3713 check USE_EH_FRAME_REGISTRY_ALWAYS against
3714 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
3715 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
3716 variable for substituted force_explicit_eh_registry.
3717 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
3718 * configure.ac (explicit-exception-frame-registration):
3719 New AC_ARG_ENABLE.
3720 * configure: Regenerate.
3721
3a8fe7c6
OH
37222014-09-19 Olivier Hainque <hainque@adacore.com>
3723
3724 * config.host (powerpc-wrs-vxworksmils): New configuration,
3725 same as vxworksae.
3726
dd69f047
JM
37272014-09-18 Joseph Myers <joseph@codesourcery.com>
3728
3729 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
3730
e770bfd9
JM
37312014-09-18 Joseph Myers <joseph@codesourcery.com>
3732
3733 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
3734 bits not set bits as indicating trapping exceptions.
3735
cadb2b96
NS
37362014-09-17 Nathan sidwell <nathan@acm.org>
3737
3738 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
3739 (LIBGCOV_DRIVER): ... here.
3740 * libgcov-driver.c (gcov_master): New.
3741 (gcov_exit): Remove from master chain.
3742 (__gcov_init): Add to master chain if version compatible. Don't
3743 clear the version.
3744 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
3745 (gcov_reset_int): Clear master chain, if compatible.
3746 (gcov_dump_int): New internal interface. Dump master chain, if
3747 compatible.
3748 (gcov_dump): Alias for gcov_dump_int.
3749 * libgcov.h (struct gcov_root): Add next and prev fields.
3750 (struct gcov_master): New struct.
3751 (__gcov_master): New.
3752 (gcov_dump_int): Declare.
3753
580d22a3
OH
37542014-09-17 Olivier Hainque <hainque@adacore.com>
3755
3756 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
3757 and crtbegin.o + crtend.o to extra_parts.
3758
8cc4b7a2
JM
37592014-09-12 Joseph Myers <joseph@codesourcery.com>
3760
3761 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
3762 __LIBGCC_HAS_SF_MODE__.
3763 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3764 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3765 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3766 * config/libbid/bid_gcc_intrinsics.h
3767 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3768 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3769 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3770 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3771 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
3772 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3773
ea3f2b24
GJL
37742014-09-11 Georg-Johann Lay <avr@gjlay.de>
3775
3776 PR target/63223
3777 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
3778 and R24 as needed. Make work for all devices and .text locations.
3779 (__do_global_ctors, __do_global_dtors): Use word addresses.
3780 (__tablejump__, __tablejump_elpm__): Remove functions.
3781 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
3782 Add _tablejump2.
3783 (XICALL, XIJMP): New macros.
3784
b677236a
MS
37852014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
3786 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3787
3788 * config.host (aarch64*): Include crtfastmath.o and
3789 t-crtfm.
3790 * config/aarch64/crtfastmath.c: New file.
3791
157e859f
TS
37922014-09-08 Trevor Saunders <tsaunders@mozilla.com>
3793
3794 * config.host: Remove picochip support.
3795 * config/picochip/adddi3.S: Remove.
3796 * config/picochip/ashlsi3.S: Remove.
3797 * config/picochip/ashlsi3.c: Remove.
3798 * config/picochip/ashrsi3.S: Remove.
3799 * config/picochip/ashrsi3.c: Remove.
3800 * config/picochip/clzsi2.S: Remove.
3801 * config/picochip/cmpsi2.S: Remove.
3802 * config/picochip/divmod15.S: Remove.
3803 * config/picochip/divmodhi4.S: Remove.
3804 * config/picochip/divmodsi4.S: Remove.
3805 * config/picochip/lib1funcs.S: Remove.
3806 * config/picochip/longjmp.S: Remove.
3807 * config/picochip/lshrsi3.S: Remove.
3808 * config/picochip/lshrsi3.c: Remove.
3809 * config/picochip/parityhi2.S: Remove.
3810 * config/picochip/popcounthi2.S: Remove.
3811 * config/picochip/setjmp.S: Remove.
3812 * config/picochip/subdi3.S: Remove.
3813 * config/picochip/t-picochip: Remove.
3814 * config/picochip/ucmpsi2.S: Remove.
3815 * config/picochip/udivmodhi4.S: Remove.
3816 * config/picochip/udivmodsi4.S: Remove.
3817
66bb34c0
JM
38182014-09-08 Joseph Myers <joseph@codesourcery.com>
3819
3820 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
3821 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
3822 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
3823 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
3824 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
3825 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
3826 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
3827 defined and LIBGCC2_HAS_DF_MODE is defined.
3828 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
3829 defined and LIBGCC2_HAS_XF_MODE is defined.
3830 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
3831 defined and LIBGCC2_HAS_TF_MODE is defined.
3832
9686a2e6
JM
38332014-09-08 Joseph Myers <joseph@codesourcery.com>
3834
3835 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
3836 and ROUND_TOWARDS_ZERO conditionals.
3837
71c3e2ef
NS
38382014-09-07 Nathan sidwell <nathan@acm.org>
3839
3840 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
3841 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
3842
53d68b9f
JM
38432014-09-05 Joseph Myers <joseph@codesourcery.com>
3844
3845 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
3846 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3847 uses to __LIBGCC_STACK_POINTER_REGNUM__.
3848 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3849 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3850 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3851 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3852 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
3853 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
3854 (DWARF_FRAME_REGISTERS): Change all uses to
3855 __LIBGCC_DWARF_FRAME_REGISTERS__.
3856 (EH_RETURN_STACKADJ_RTX): Change all uses to
3857 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3858 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
3859 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
3860 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
3861 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
3862 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
3863 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
3864 to __LIBGCC_EH_FRAME_SECTION_NAME__.
3865 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
3866 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
3867 __LIBGCC_STACK_POINTER_REGNUM__.
3868 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3869 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3870 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3871 to __LIBGCC_STACK_POINTER_REGNUM__.
3872 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3873 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3874 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3875 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3876 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3877 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3878 (STACK_POINTER_REGNUM): Change all uses to
3879 __LIBGCC_STACK_POINTER_REGNUM__.
3880 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
3881 use to __LIBGCC_STACK_POINTER_REGNUM__.
3882 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3883 uses to __LIBGCC_STACK_POINTER_REGNUM__.
3884 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
3885 to __LIBGCC_DWARF_FRAME_REGISTERS__.
3886 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
3887 to __LIBGCC_DWARF_FRAME_REGISTERS__.
3888 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3889 to __LIBGCC_STACK_POINTER_REGNUM__.
3890 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
3891 Remove conditional definition.
3892 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
3893 __LIBGCC_TEXT_SECTION_ASM_OP__.
3894 (EH_FRAME_SECTION_NAME): Change all uses to
3895 __LIBGCC_EH_FRAME_SECTION_NAME__.
3896 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
3897 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
3898 (CTORS_SECTION_ASM_OP): Change all uses to
3899 __LIBGCC_CTORS_SECTION_ASM_OP__.
3900 (DTORS_SECTION_ASM_OP): Change all uses to
3901 __LIBGCC_DTORS_SECTION_ASM_OP__.
3902 (JCR_SECTION_NAME): Change all uses to
3903 __LIBGCC_JCR_SECTION_NAME__.
3904 (INIT_SECTION_ASM_OP): Change all uses to
3905 __LIBGCC_INIT_SECTION_ASM_OP__.
3906 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3907 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3908 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
3909 __LIBGCC_STACK_GROWS_DOWNWARD__.
3910 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
3911 __LIBGCC_INIT_SECTION_ASM_OP__.
3912 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3913 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3914 (EH_FRAME_SECTION_NAME): Change all uses to
3915 __LIBGCC_EH_FRAME_SECTION_NAME__.
3916 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
3917 definitions. Change all uses to
3918 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
3919 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
3920 __LIBGCC_STACK_GROWS_DOWNWARD__.
3921 (DWARF_FRAME_REGISTERS): Change all uses to
3922 __LIBGCC_DWARF_FRAME_REGISTERS__.
3923 (EH_RETURN_STACKADJ_RTX): Change all uses to
3924 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3925 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
3926 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
3927 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
3928 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
3929 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
3930
b20ee094
NS
39312014-09-02 Nathan sidwell <nathan@acm.org>
3932
3933 * libgcov-interface.c (STRONG_ALIAS): New.
3934 (__gcov_flush): Call __gcov_reset_int.
3935 (__gcov_reset): Strong alias for ...
3936 (__gcov_reset_ing): ... this renamed hidden version.
3937 * libgcov.h (__gcov_reset_int): New declaration.
3938
1ac83976
YS
39392014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
3940
25efdb9f
YS
3941 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
3942 call from here...
3943 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
3944 (__dso_handle): Define on Cygwin.
3945 * config/i386/t-cygming (crtbeginS.o): New rule.
3946 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
3947
1ac83976
YS
3948 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
3949 declaration syntax.
3950
c6f9ea3b
SE
39512014-08-13 Steve Ellcey <sellcey@mips.com>
3952
3953 * crtstuff.c: Undef caddr_t.
3954
5b1ea7c5
SE
39552014-08-12 Steve Ellcey <sellcey@mips.com>
3956
3957 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
3958
4303c581
NS
39592014-08-07 Nathan Sidwell <nathan@acm.org>
3960
3961 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
3962 (LIBGCOV_DRIVER): ... to here.
3963 * libgcov.h (gcov_do_dump): New #define.
3964 (struct gcov_root): New.
3965 (__gcov_root): New declaration.
3966 (__gcov_dump_one): Declare.
3967 * libgcov-driver.c (gcov_list, gcov_dump_complete,
3968 run_accounted): Delete.
3969 (gcov_compute_histogram): Add LIST argument, adjust.
3970 (compute_summary): Adjust gcov_compute_histogram call.
3971 (gcov_do_dump): Not hidden, static in libgcov.
3972 (gcov_clear): Move to interface.c.
3973 (__gcov_dump_one): New, broken out of ...
3974 (gcov_exit): ... here. Make static.
3975 (__gcov_root): New.
3976 (__gcov_init): Adjust.
3977 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
3978 declarations.
3979 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
3980 (gcov_clear): Moved from driver.c. Add LIST argument.
3981 (__gcov_reset): Adjust for changed interfaces.
3982 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
3983
23742a9e
RAR
39842014-08-04 Rohit <rohitarulraj@freescale.com>
3985
3986 PR target/60102
3987 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
d406ae47 3988 based on change in SPE high register numbers and 3 HTM registers.
23742a9e 3989
b98a872b
NS
39902014-08-01 Nathan Sidwell <nathan@acm.org>
3991
3992 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
3993 LIBGCOV_INTERFACE): Reformat.
3994 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
3995 IN_GCOV_TOOL.
3996 * libgcov-interface.c: Reformat some comments.
3997 (__gcov_flush_mx): Add declaration. Tidy up definition.
3998
6adaaa1d
AM
39992014-07-31 Alan Modra <amodra@gmail.com>
4000 Peter Bergner <bergner@vnet.ibm.com>
4001
4002 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
4003 (pack_ldouble): New function.
4004 (__gcc_qadd): Use it.
4005 (__gcc_qmul): Likewise.
4006 (__gcc_qdiv): Likewise.
4007 (__gcc_qneg): Likewise.
4008 (__gcc_stoq): Likewise.
4009 (__gcc_dtoq): Likewise.
4010
87cb0c0c
UW
40112014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
4012
4013 * config/s390/tpf-unwind.h: Include <stdbool.h>.
4014 (__tpf_eh_return): Add original return address as second parameter.
4015 Handle cases where unwinder routines were called directly, instead
4016 of from within the C++ library.
4017
19926161
NS
40182014-07-29 Nathan Sidwell <nathan@acm.org>
4019
4020 * libgcov.h: Move renaming of entry points to lib gcov specific
4021 portion.
4022 (gcov_do_dump): New rename.
4023 (gcov_rewrite): Remove inline, make HIDDEN.
4024 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
4025 (gcov_exit_compute_summary): Rename to ...
4026 (compute_summary): ... here. Add LIST argument.
4027 (gcov_exit_merge_gcda): Rename to ...
4028 (merge_one_data): ... here.
4029 (gcov_exit_write_gcda): Rename to ...
4030 (write_one_data): ... here.
4031 (gcov_exit_merge_summary): Rename to ...
4032 (merge_summary): Add RUN_COUNTED argument.
4033 (gcov_exit_dump_gcov): Rename to ...
4034 (dump_one_gcov): Add RUN_COUNTED argument.
4035 (gcov_do_dump): New function, broken out of ...
4036 (gcov_exit): ... here. Call it.
4037
17522262
AG
40382014-07-27 Anthony Green <green@moxielogic.com>
4039
4040 * config.host: Add moxiebox configuration suppport.
4041
6dc33097
NS
40422014-07-27 Nathan Sidwell <nathan@acm.org>
4043
4044 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
4045 (struct gcov_filename): ... here. Include buffer and max length
4046 fields.
4047 (gcov_max_filename): Remove.
4048 (gi_filename): Remove.
4049 (gcov_exit_compute_summary): Compute max filename here.
4050 (gcov_exit_merge_gcda): Add filename parm, adjust.
4051 (gcov_exit_merge_summary): Likewise.
4052 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
4053 (gcov_exit): Likewise.
4054 (__gcov_init): Don't calculate max length here.
4055 * libgcov_util.c (max_filename_len): Remove.
4056 (read_gcda_file): Don't calculate max length here.
4057 (gcov_read_profile_dir): Don't propagate here.
4058 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
4059 struct gcov_filename changes.
4060 (gcov_exit_open_gcda_file): Likewise.
4061
770f687d
NS
40622014-07-25 Nathan Sidwell <nathan@acm.org>
4063
4064 * libgcov-driver.c (set_gcov_dump_complete,
4065 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
4066 functions polluting user's namespace.
4067 (gcov_exit): Set variable directly.
4068 (gcov_clear): Reset variable directly.
4069 * libgcov-interface.c (get_gcov_dymp_complete,
4070 reset_gov_dump_complete): Remove declarations.
4071 (__gcov_reset, __gcov_dump): Don't call them.
4072
fabf71ba
DD
40732014-07-24 DJ Delorie <dj@redhat.com>
4074
4075 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
770f687d
NS
4076 (__gcc_deregister_frame): Move logic to detect deregister function
4077 to ...
4078 (__gcc_register_frame): here, so it's consistent with the register
4079 logic.
fabf71ba 4080
d10ee722
NS
40812014-07-23 Nathan Sidwell <nathan@acm.org>
4082
4083 * libgcov-driver.c (set_gcov_list): Remove.
4084 (gcov_list): Make non-static in GCOV_TOOL.
4085 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
4086
a4137090
JDA
40872014-07-17 John David Anglin <danglin@gcc.gnu.org>
4088
4089 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
4090 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
4091 Don't use SYNC_LOCK_RELEASE for int type.
4092
72602c6c
RB
40932014-07-14 Richard Biener <rguenther@suse.de>
4094
4095 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
4096
d5313205
RX
40972014-07-11 Rong Xu <xur@google.com>
4098
4099 * libgcov-util.c (gcov_max_filename): Fix declartion.
4100
c77556a5
RX
41012014-07-10 Rong Xu <xur@google.com>
4102
4103 Add gcov-tool: an offline gcda profile processing tool
4104 Support.
4105 * libgcov-driver.c (gcov_max_filename): Make available
4106 to gcov-tool.
4107 * libgcov-merge.c (__gcov_merge_add): Replace
4108 gcov_read_counter() with a Macro.
4109 (__gcov_merge_ior): Ditto.
4110 (__gcov_merge_time_profile): Ditto.
4111 (__gcov_merge_single): Ditto.
4112 (__gcov_merge_delta): Ditto.
4113 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
4114 in the utility functions.
4115 (set_fn_ctrs): Utility function for reading gcda files to in-memory
4116 gcov_list object link lists.
4117 (tag_function): Ditto.
4118 (tag_blocks): Ditto.
4119 (tag_arcs): Ditto.
4120 (tag_lines): Ditto.
4121 (tag_counters): Ditto.
4122 (tag_summary): Ditto.
4123 (read_gcda_finalize): Ditto.
4124 (read_gcda_file): Ditto.
4125 (ftw_read_file): Ditto.
4126 (read_profile_dir_init): Ditto.
4127 (gcov_read_profile_dir): Ditto.
4128 (gcov_read_counter_mem): Ditto.
4129 (gcov_get_merge_weight): Ditto.
4130 (merge_wrapper): A wrapper function that calls merging handler.
4131 (gcov_merge): Merge two gcov_info objects with weights.
4132 (find_match_gcov_info): Find the matched gcov_info in the list.
4133 (gcov_profile_merge): Merge two gcov_info object lists.
4134 (__gcov_add_counter_op): Process edge profile counter values.
4135 (__gcov_ior_counter_op): Process IOR profile counter values.
4136 (__gcov_delta_counter_op): Process delta profile counter values.
4137 (__gcov_single_counter_op): Process single profile counter values.
4138 (fp_scale): Callback function for float-point scaling.
cc86234f 4139 (int_scale): Callback function for integer fraction scaling.
c77556a5
RX
4140 (gcov_profile_scale): Scaling profile counters.
4141 (gcov_profile_normalize): Normalize profile counters.
4142 * libgcov.h: Add headers and functions for gcov-tool use.
4143 (gcov_get_counter): New.
4144 (gcov_get_counter_target): Ditto.
4145 (struct gcov_info): Make the functions field mutable in gcov-tool
4146 compilation.
4147
5c7dac8a
KT
41482014-06-23 Kai Tietz <ktietz@redhat.com>
4149
4150 PR libgcc/61585
4151 * unwind-seh.c (_Unwind_GetGR): Check for proper
4152 index range.
4153 (_Unwind_SetGR): Likewise.
4154
161c9312
NC
41552014-05-22 Nick Clifton <nickc@redhat.com>
4156
4157 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
4158 -mhwmult=none.
4159
e3f0315f
TJ
41602014-05-22 Teresa Johnson <tejohnson@google.com>
4161
4162 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
4163 include.
4164
dbed5a9b
JM
41652014-05-20 John Marino <gnugcc@marino.st>
4166
4167 * config.host (*-*-dragonfly*): New target.
4168 * crtstuff.c: Make dl_iterate_support generic on *bsd.
4169 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
4170 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
4171 * config/i386/dragonfly-unwind.h: New.
4172
1ec380e5
MR
41732014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
4174
4175 PR libgcc/60166
4176 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
4177 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
4178
54fde020
BE
41792014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
4180
4181 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
4182 implementation.
4183
999db125
GJL
41842014-05-12 Georg-Johann Lay <avr@gjlay.de>
4185
4186 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
4187
cceaf54a
RO
41882014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4189
4190 PR libgcc/61097
4191 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
4192 if --enable-shared.
4193
e3fe9b5b
BE
41942014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
4195
4196 Work around for current cygwin32 build problems.
4197 * config/i386/cygming-crtbegin.c (__register_frame_info,
4198 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
4199 functions only for 64-bit systems.
4200
54cf37e9
RO
42012014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4202
4203 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
4204 (sigill_caught, sigill_hdlr): Remove.
4205
d9f069ab
RO
42062014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4207
4208 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
4209 check.
4210 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
4211 Solaris 9 single-threaded support.
4212 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
4213 Solaris 9 single-threaded support. Add call_user_handler code
4214 sequences.
4215 (sparc_is_sighandler): Likewise.
4216
59976ef8
AK
42172014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4218
4219 * config.host: Append t-floattodi to tmake_file depending on
4220 host_address.
4221
d02bbcf3
JS
42222014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
4223
31466bc0 4224 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
d02bbcf3 4225
c2e7e597
UB
42262014-03-10 Uros Bizjak <ubizjak@gmail.com>
4227
4228 PR libgcc/60472
4229 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2405e0ea 4230 variable to avoid "array subscript is above array bounds" warnings.
c2e7e597
UB
4231 Use __builtin_expect when checking *jcr_list for NULL.
4232
227a7dc8
RO
42332014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4234
4235 PR libgcc/59339
4236 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
4237 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
4238 vtv_*.o to extra_parts if enable_vtable_verify.
4239
df2b279c
NC
42402014-03-06 Nick Clifton <nickc@redhat.com>
4241
4242 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
4243 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
4244
dc11d79b
JY
42452014-02-28 Joey Ye <joey.ye@arm.com>
4246
4247 PR libgcc/60166
4248 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
4249 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
4250 Set to zero.
4251
341c653c
WL
42522014-02-24 Walter Lee <walt@tilera.com>
4253
4254 * config.host: Support "tilegx*" and "tilepro*" triplets.
4255 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
4256 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
4257
95ce7613
CLT
42582014-02-20 Sandra Loosemore <sandra@codesourcery.com>
4259 Chung-Lin Tang <cltang@codesourcery.com>
4260
4261 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
4262 * config/nios2/crti.S: Remove .file directive.
4263 * config/nios2/crtn.S: Likewise.
4264
0bb4fc05
KT
42652014-02-18 Kai Tietz <ktietz@redhat.com>
4266 Jonathan Schleifer <js@webkeks.org>
4267
4268 PR objc/56870
4269 * unwind-seh.c (_GCC_specific_handler): Pass proper
4270 value to unwind-handler.
4271
9acf28f1
JM
42722014-02-12 Joseph Myers <joseph@codesourcery.com>
4273
4274 * soft-fp/adddf3.c: Update from glibc.
4275 * soft-fp/addsf3.c: Likewise.
4276 * soft-fp/addtf3.c: Likewise.
4277 * soft-fp/divdf3.c: Likewise.
4278 * soft-fp/divsf3.c: Likewise.
4279 * soft-fp/divtf3.c: Likewise.
4280 * soft-fp/double.h: Likewise.
4281 * soft-fp/eqdf2.c: Likewise.
4282 * soft-fp/eqsf2.c: Likewise.
4283 * soft-fp/eqtf2.c: Likewise.
4284 * soft-fp/extenddftf2.c: Likewise.
4285 * soft-fp/extended.h: Likewise.
4286 * soft-fp/extendsfdf2.c: Likewise.
4287 * soft-fp/extendsftf2.c: Likewise.
4288 * soft-fp/extendxftf2.c: Likewise.
4289 * soft-fp/fixdfdi.c: Likewise.
4290 * soft-fp/fixdfsi.c: Likewise.
4291 * soft-fp/fixdfti.c: Likewise.
4292 * soft-fp/fixsfdi.c: Likewise.
4293 * soft-fp/fixsfsi.c: Likewise.
4294 * soft-fp/fixsfti.c: Likewise.
4295 * soft-fp/fixtfdi.c: Likewise.
4296 * soft-fp/fixtfsi.c: Likewise.
4297 * soft-fp/fixtfti.c: Likewise.
4298 * soft-fp/fixunsdfdi.c: Likewise.
4299 * soft-fp/fixunsdfsi.c: Likewise.
4300 * soft-fp/fixunsdfti.c: Likewise.
4301 * soft-fp/fixunssfdi.c: Likewise.
4302 * soft-fp/fixunssfsi.c: Likewise.
4303 * soft-fp/fixunssfti.c: Likewise.
4304 * soft-fp/fixunstfdi.c: Likewise.
4305 * soft-fp/fixunstfsi.c: Likewise.
4306 * soft-fp/fixunstfti.c: Likewise.
4307 * soft-fp/floatdidf.c: Likewise.
4308 * soft-fp/floatdisf.c: Likewise.
4309 * soft-fp/floatditf.c: Likewise.
4310 * soft-fp/floatsidf.c: Likewise.
4311 * soft-fp/floatsisf.c: Likewise.
4312 * soft-fp/floatsitf.c: Likewise.
4313 * soft-fp/floattidf.c: Likewise.
4314 * soft-fp/floattisf.c: Likewise.
4315 * soft-fp/floattitf.c: Likewise.
4316 * soft-fp/floatundidf.c: Likewise.
4317 * soft-fp/floatundisf.c: Likewise.
4318 * soft-fp/floatunditf.c: Likewise.
4319 * soft-fp/floatunsidf.c: Likewise.
4320 * soft-fp/floatunsisf.c: Likewise.
4321 * soft-fp/floatunsitf.c: Likewise.
4322 * soft-fp/floatuntidf.c: Likewise.
4323 * soft-fp/floatuntisf.c: Likewise.
4324 * soft-fp/floatuntitf.c: Likewise.
4325 * soft-fp/gedf2.c: Likewise.
4326 * soft-fp/gesf2.c: Likewise.
4327 * soft-fp/getf2.c: Likewise.
4328 * soft-fp/ledf2.c: Likewise.
4329 * soft-fp/lesf2.c: Likewise.
4330 * soft-fp/letf2.c: Likewise.
4331 * soft-fp/muldf3.c: Likewise.
4332 * soft-fp/mulsf3.c: Likewise.
4333 * soft-fp/multf3.c: Likewise.
4334 * soft-fp/negdf2.c: Likewise.
4335 * soft-fp/negsf2.c: Likewise.
4336 * soft-fp/negtf2.c: Likewise.
4337 * soft-fp/op-1.h: Likewise.
4338 * soft-fp/op-2.h: Likewise.
4339 * soft-fp/op-4.h: Likewise.
4340 * soft-fp/op-8.h: Likewise.
4341 * soft-fp/op-common.h: Likewise.
4342 * soft-fp/quad.h: Likewise.
4343 * soft-fp/single.h: Likewise.
4344 * soft-fp/soft-fp.h: Likewise.
4345 * soft-fp/subdf3.c: Likewise.
4346 * soft-fp/subsf3.c: Likewise.
4347 * soft-fp/subtf3.c: Likewise.
4348 * soft-fp/truncdfsf2.c: Likewise.
4349 * soft-fp/trunctfdf2.c: Likewise.
4350 * soft-fp/trunctfsf2.c: Likewise.
4351 * soft-fp/trunctfxf2.c: Likewise.
4352 * soft-fp/unorddf2.c: Likewise.
4353 * soft-fp/unordsf2.c: Likewise.
4354 * soft-fp/unordtf2.c: Likewise.
4355 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
4356 macro.
4357 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4358 Likewise.
4359 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4360 Likewise.
4361 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4362 Likewise.
4363 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4364 Likewise.
4365 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4366 Likewise.
4367 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4368 Likewise.
4369 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4370 Likewise.
4371 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4372 Likewise.
4373 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4374 Likewise.
4375 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4376 Likewise.
4377 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4378 Likewise.
4379 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4380 Likewise.
4381 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
4382 Likewise.
4383 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
4384 Likewise.
4385 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4386 Likewise.
4387
ce245ec6
AK
43882014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4389
4390 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
4391 cannot be represented.
4392 * config/s390/32/_fixsfdi.c: Likewise.
4393 * config/s390/32/_fixtfdi.c: Likewise.
4394 * config/s390/32/_fixunsdfdi.c: Likewise.
4395 * config/s390/32/_fixunssfdi.c: Likewise.
4396 * config/s390/32/_fixunstfdi.c: Likewise.
4397
1c51d688
RS
43982014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
4399
4400 * configure.ac (libgcc_cv_mips_hard_float): New.
4401 * configure: Regenerate.
4402 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
4403 t-softfp-sfdf for hard-float targets.
4404 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
4405 (softfp_float_modes, softfp_int_modes, softfp_extensions)
4406 (softfp_truncations, softfp_exclude_libgcc2): New.
4407 * config/t-hardfp: New file.
4408 * config/t-hardfp-sfdf: Likewise.
4409 * config/hardfp.c: Likewise.
4410
bbf391db
AK
44112014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4412
4413 * config.host: Include t-floattodi also for s390x.
4414 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
4415 * config/s390/32/_fixsfdi.c: Likewise.
4416 * config/s390/32/_fixtfdi.c: Likewise.
4417 * config/s390/32/_fixunsdfdi.c: Likewise.
4418 * config/s390/32/_fixunssfdi.c: Likewise.
4419 * config/s390/32/_fixunstfdi.c: Likewise.
4420
91da0481
RO
44212014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4422
4423 PR target/59788
4424 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
4425 (install-libgcc-unwind-map-forbuild): New target.
4426 (all): Depend on install-libgcc-unwind-map-forbuild.
4427 (install-libgcc-unwind-map): New target.
4428 (install): Depend on install-libgcc-unwind-map.
4429
02b67731
SL
44302014-02-02 Sandra Loosemore <sandra@codesourcery.com>
4431
4432 * config/nios2/crti.S (_init): Initialize GOT pointer from
4433 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
4434
1ea0a651
RS
44352014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
4436
4437 * configure.ac: Check __mips64 when setting host_address.
4438 * configure: Regenerate.
4439 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
4440 mips/t-mips64 and t-softfp.
4441 (mips*-*-linux*): Don't add mips/t-tpbit.
4442 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
4443 (DPBIT, DPBIT_CFLAGS): Delete.
4444 * config/mips/sfp-machine.h: New file.
4445 * config/mips/t-mips64: Likewise.
4446 * config/mips/t-softfp-tf: Likewise.
4447 * config/mips/t-tpbit: Delete.
4448
f32b0061
MS
44492014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
4450
4451 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
4452 as long long.
4453
a5420aa4
WL
44542014-01-25 Walter Lee <walt@tilera.com>
4455
4456 * config/tilepro/atomic.c: Include tconfig.h. Don't include
4457 config.h or system.h.
4458 (bool) Define.
4459
24534912
WL
44602014-01-25 Walter Lee <walt@tilera.com>
4461
4462 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
4463 (post_atomic_barrier): Ditto.
4464 (__fetch_and_do): New macro.
4465 (__atomic_fetch_and_do): Use __fetch_and_do.
4466 (__sync_fetch_and_do): New macro.
4467 (__sync_fetch_and_add_4): New function.
4468 (__sync_fetch_and_sub_4): New function.
4469 (__sync_fetch_and_or_4): New function.
4470 (__sync_fetch_and_and_4): New function.
4471 (__sync_fetch_and_xor_4): New function.
4472 (__sync_fetch_and_nand_4): New function.
4473 (__sync_fetch_and_add_8): New function.
4474 (__sync_fetch_and_sub_8): New function.
4475 (__sync_fetch_and_or_8): New function.
4476 (__sync_fetch_and_and_8): New function.
4477 (__sync_fetch_and_xor_8): New function.
4478 (__sync_fetch_and_nand_8): New function.
4479 (__do_and_fetch): New macro.
4480 (__atomic_do_and_fetch): Use __do_and_fetch.
4481 (__sync_do_and_fetch): New macro.
4482 (__sync_add_and_fetch_4): New function.
4483 (__sync_sub_and_fetch_4): New function.
4484 (__sync_or_and_fetch_4): New function.
4485 (__sync_and_and_fetch_4): New function.
4486 (__sync_xor_and_fetch_4): New function.
4487 (__sync_nand_and_fetch_4): New function.
4488 (__sync_add_and_fetch_8): New function.
4489 (__sync_sub_and_fetch_8): New function.
4490 (__sync_or_and_fetch_8): New function.
4491 (__sync_and_and_fetch_8): New function.
4492 (__sync_xor_and_fetch_8): New function.
4493 (__sync_nand_and_fetch_8): New function.
4494 (__sync_exchange_methods): New macro.
4495 (__sync_val_compare_and_swap_4): New function.
4496 (__sync_bool_compare_and_swap_4): New function.
4497 (__sync_lock_test_and_test_4): New function.
4498 (__sync_val_compare_and_swap_8): New function.
4499 (__sync_bool_compare_and_swap_8): New function.
4500 (__sync_lock_test_and_test_8): New function.
4501 (__subword_cmpxchg_body): New macro.
4502 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
4503 (__atomic_compare_exchange_2): Ditto.
4504 (__sync_subword_cmpxchg): New macro.
4505 (__sync_val_compare_and_swap_1): New function.
4506 (__sync_bool_compare_and_swap_1): New function.
4507 (__sync_val_compare_and_swap_2): New function.
4508 (__sync_bool_compare_and_swap_2): New function.
4509 (__atomic_subword): Rename to ...
4510 (__subword): ... New name.
4511 (__atomic_subword_fetch): Use __subword.
4512 (__sync_subword_fetch): New macro.
4513 (__sync_fetch_and_add_1): New function.
4514 (__sync_fetch_and_sub_1): New function.
4515 (__sync_fetch_and_or_1): New function.
4516 (__sync_fetch_and_and_1): New function.
4517 (__sync_fetch_and_xor_1): New function.
4518 (__sync_fetch_and_nand_1): New function.
4519 (__sync_fetch_and_add_2): New function.
4520 (__sync_fetch_and_sub_2): New function.
4521 (__sync_fetch_and_or_2): New function.
4522 (__sync_fetch_and_and_2): New function.
4523 (__sync_fetch_and_xor_2): New function.
4524 (__sync_fetch_and_nand_2): New function.
4525 (__sync_add_and_fetch_1): New function.
4526 (__sync_sub_and_fetch_1): New function.
4527 (__sync_or_and_fetch_1): New function.
4528 (__sync_and_and_fetch_1): New function.
4529 (__sync_xor_and_fetch_1): New function.
4530 (__sync_nand_and_fetch_1): New function.
4531 (__sync_add_and_fetch_2): New function.
4532 (__sync_sub_and_fetch_2): New function.
4533 (__sync_or_and_fetch_2): New function.
4534 (__sync_and_and_fetch_2): New function.
4535 (__sync_xor_and_fetch_2): New function.
4536 (__sync_nand_and_fetch_2): New function.
4537 (__atomic_subword_lock): Use __subword.
4538 (__sync_subword_lock): New macro.
4539 (__sync_lock_test_and_set_1): New function.
4540 (__sync_lock_test_and_set_2): New function.
4541
4d6d3bc5
WL
45422014-01-25 Walter Lee <walt@tilera.com>
4543
4544 * config/tilepro/atomic.c (BIT_OFFSET): Define.
4545 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
4546 (__atomic_subword): Ditto.
4547
cbd9890e
WL
45482014-01-25 Walter Lee <walt@tilera.com>
4549
4550 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
4551 a prefix op argument.
4552 (__atomic_nand_fetch_4): Add prefix op.
4553 (__atomic_nand_fetch_8): Ditto.
4554
7d296953 45552014-01-21 Baruch Siach <barch@tkos.co.il>
800d8bd5
BS
4556
4557 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
4558
46dd1242
L
45592014-01-09 Rong Xu <xur@google.com>
4560
4561 * libgcov-driver.c (this_prg): make it local to save
4562 bss space.
4563 (gcov_exit_compute_summary): Ditto.
4564 (gcov_exit_merge_gcda): Ditto.
4565 (gcov_exit_merge_summary): Ditto.
4566 (gcov_exit_dump_gcov): Ditto.
4567
cc86234f 45682014-01-08 Rong Xu <xur@google.com>
40d6b753
RX
4569
4570 * libgcov-driver.c: Use libgcov.h.
4571 (buffer_fn_data): Use xmalloc instead of malloc.
4572 (gcov_exit_merge_gcda): Ditto.
4573 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
4574 * libgcov.h: New common header files for libgcov-*.h.
4575 * libgcov-interface.c: Use libgcov.h
4576 * libgcov-merge.c: Ditto.
4577 * libgcov-profiler.c: Ditto.
4578 * Makefile.in: Add dependence to libgcov.h
4579
a02e7bdd
JM
45802014-01-02 Joseph Myers <joseph@codesourcery.com>
4581
4582 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
4583 case of small numerator and finite nonzero result.
4584
ac1dca3c
RS
45852014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4586
4587 Update copyright years
4588
f9030485
RS
45892014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4590
4591 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
4592 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
4593 config/arc/dp-hack.h, config/arc/fp-hack.h,
4594 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
4595 config/arc/ieee-754/arc600-dsp/divdf3.S,
4596 config/arc/ieee-754/arc600-dsp/divsf3.S,
4597 config/arc/ieee-754/arc600-dsp/muldf3.S,
4598 config/arc/ieee-754/arc600-dsp/mulsf3.S,
4599 config/arc/ieee-754/arc600-mul64/divdf3.S,
4600 config/arc/ieee-754/arc600-mul64/divsf3.S,
4601 config/arc/ieee-754/arc600-mul64/muldf3.S,
4602 config/arc/ieee-754/arc600-mul64/mulsf3.S,
4603 config/arc/ieee-754/arc600/divsf3.S,
4604 config/arc/ieee-754/arc600/mulsf3.S,
4605 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
4606 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
4607 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
4608 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
4609 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
4610 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
4611 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
4612 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
4613 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
4614 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
4615 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
4616 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
4617 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
4618 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
4619 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
4620 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
4621 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
4622 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
4623 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
4624 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
4625 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
4626 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
4627 vtv_start_preinit.c: Use the standard form for the copyright notice.
4628
e430824f
CLT
46292013-12-31 Sandra Loosemore <sandra@codesourcery.com>
4630 Chung-Lin Tang <cltang@codesourcery.com>
4631 Based on patches from Altera Corporation
4632
4633 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
4634 * config/nios2/lib2-nios2.h: New file.
4635 * config/nios2/lib2-divmod-hi.c: New file.
4636 * config/nios2/linux-unwind.h: New file.
4637 * config/nios2/lib2-divmod.c: New file.
4638 * config/nios2/linux-atomic.c: New file.
4639 * config/nios2/t-nios2: New file.
4640 * config/nios2/crti.asm: New file.
4641 * config/nios2/t-linux: New file.
4642 * config/nios2/lib2-divtable.c: New file.
4643 * config/nios2/lib2-mul.c: New file.
4644 * config/nios2/tramp.c: New file.
4645 * config/nios2/crtn.asm: New file.
4646
1879e97f
UB
46472013-12-26 Uros Bizjak <ubizjak@gmail.com>
4648
4649 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
4650 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
4651 from cpuid.h to check vendor signatures.
4652
f4a4bdbb
GG
46532013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
4654
c2e7e597 4655 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
f4a4bdbb
GG
4656 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
4657 (get_amd_cpu): Likewise.
4658
8d2ae544
L
46592013-12-25 H.J. Lu <hongjiu.lu@intel.com>
4660
4661 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
4662 Haswell.
4663
74924838
ASJ
46642013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
4665 H.J. Lu <hongjiu.lu@intel.com>
4666
0bb52f25
L
4667 PR target/59422
4668 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
74924838
ASJ
4669 and AMD_JAGUAR.
4670 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
4671 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
4672 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
4673 FEATURE_XOP and FEATURE_FMA.
4674 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
4675 AMDFAM15H_BDVER3.
4676 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
0bb52f25 4677 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
74924838
ASJ
4678 FEATURE_FMA4 and FEATURE_XOP.
4679
d3c11974
L
46802013-12-23 H.J. Lu <hongjiu.lu@intel.com>
4681
4682 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
4683 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
4684 (get_intel_cpu): Updated.
4685
064c4ff2
ZC
46862013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
4687
4688 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
4689
8b02e720
UB
46902013-12-09 Uros Bizjak <ubizjak@gmail.com>
4691
4692 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1f71a3c3 4693 instructions when __SSE_MATH__ is defined.
8b02e720 4694
3fa2ccb4
RC
46952013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
4696
4697 * config.host (microblaze-*-rtems*): New.
4698
ecd78fc9
KV
46992013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
4700
4701 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
4702 architectures that do not have hardware divide instruction.
4703 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
4704
b21fbbd2
RS
47052013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
4706
4707 * longlong.h: Delete (moved to include/).
4708
b03fb8c9
AZ
47092013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4710
4711 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
4712 of normal number and qNaN to not raise an inexact exception.
4713
3c716922
UB
47142013-11-28 Uros Bizjak <ubizjak@gmail.com>
4715
4716 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
4717
47182013-11-28 Matthew Leach <matthew.leach@arm.com>
cceeb9a9
ML
4719
4720 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
4721 for correct opcodes on BE.
4722
a3458d22
UB
47232013-11-27 Uros Bizjak <ubizjak@gmail.com>
4724
4725 * soft-fp/op-4.h: Update from glibc.
4726
30b8f78b
KV
47272013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
4728
4729 * libgcc2.c (__udivmoddi4): Define new implementation when
4730 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
4731 divide instructions.
4732
82552a29
OE
47332013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
4734
4735 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
4736
80e87457
RO
47372013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4738
4739 * config/t-softfp (soft-fp-objects-base): New variable.
4740 (soft-fp-objects): Use it.
4741
44178879
DE
47422013-11-23 David Edelson <dje.gcc@gmail.com>
4743 Andrew Dixie <andrewd@gentrack.com>
4744
4745 PR target/33704
4746 * config/rs6000/aixinitfini.c: New file.
4747 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
4748 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
4749 symbols.
4750
e5287671
YR
47512013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
4752
a3458d22 4753 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
e5287671 4754
867c8b03
JH
47552013-11-18 Jan Hubicka <jh@suse.cz>
4756
7f369373
JH
4757 * libgcov-driver.c (run_accounted): Make global level static.
4758 (gcov_exit_merge_summary): Silence warning; do not clear
4759 run_accounted here.
4760 (gcov_exit): Clear it here.
4761
1d0b3334
JH
4762 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
4763 run_accounted.
4764
867c8b03
JH
4765 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
4766 (all_prg, crc32): Remove static vars.
4767 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
4768 all_prg.
4769 (gcov_exit_merge_gcda): Add crc32 parameter.
4770 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
4771 do not account run if it was already accounted.
4772 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
4773 (gcov_exit): Initialize all_prg; update.
4774
66204992
AS
47752013-11-15 Andreas Schwab <schwab@linux-m68k.org>
4776
4777 * configure: Regenerate.
4778
b54214fe
UW
47792013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4780 Alan Modra <amodra@gmail.com>
4781
4782 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
4783 (frob_update_context): Use it.
4784
47852013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4786 Alan Modra <amodra@gmail.com>
4787
4788 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
4789 (trampoline_initial): Provide ELFv2 variant.
4790 (__trampoline_setup): Likewise.
4791
4792 * config/rs6000/linux-unwind.h (frob_update_context): Do not
4793 check for AIX indirect function call sequence if _CALL_ELF == 2.
4794
47952013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4796 Alan Modra <amodra@gmail.com>
4797
4798 * config/rs6000/linux-unwind.h (get_regs): Do not support
4799 old kernel versions if _CALL_ELF == 2.
4800 (frob_update_context): Do not support PLT stub variants only
4801 generated by old linkers if _CALL_ELF == 2.
4802
13e0981a
UW
48032013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4804 Alan Modra <amodra@gmail.com>
4805
4806 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
4807 location of CR save area for 64-bit little-endian systems.
4808
1a80085d
EB
48092013-11-11 Eric Botcazou <ebotcazou@adacore.com>
4810
4811 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
4812 in tmake_file.
4813 * config/arm/t-vxworks: Delete.
4814
cabeea52
KT
48152013-11-10 Kai Tietz <ktietz@redhat.com>
4816
4817 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
4818 Increment load-count on use of LIBGCC_SONAME DLL.
4819 (hmod_libgcc): New static variable to hold handle of
4820 LIBGCC_SONAME DLL.
4821 (__gcc_deregister_frame): Decrement load-count of
4822 LIBGCC_SONAME DLL.
4823
ac088ba1
BRF
48242013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
4825
4826 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
4827 availability.
4828 * configure: Regenerate
4829
d59a8fcc
UB
48302013-11-07 Uros Bizjak <ubizjak@gmail.com>
4831
4832 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
4833 FP_EX_DENORM. Store result to volatile location after SSE division
4834 to close interrupt window. Remove unneeded fwait after x87
4835 division since interrupt window will be closed by emitted fstp.
9de84e84 4836 Rewrite FP_EX_INEXACT handling.
d59a8fcc 4837
9954c743
JM
48382013-11-06 Joseph Myers <joseph@codesourcery.com>
4839
4840 * soft-fp/README: Update.
4841 * soft-fp/adddf3.c: Update from glibc.
4842 * soft-fp/addsf3.c: Likewise.
4843 * soft-fp/addtf3.c: Likewise.
4844 * soft-fp/divdf3.c: Likewise.
4845 * soft-fp/divsf3.c: Likewise.
4846 * soft-fp/divtf3.c: Likewise.
4847 * soft-fp/double.h: Likewise.
4848 * soft-fp/eqdf2.c: Likewise.
4849 * soft-fp/eqsf2.c: Likewise.
4850 * soft-fp/eqtf2.c: Likewise.
4851 * soft-fp/extenddftf2.c: Likewise.
4852 * soft-fp/extended.h: Likewise.
4853 * soft-fp/extendsfdf2.c: Likewise.
4854 * soft-fp/extendsftf2.c: Likewise.
4855 * soft-fp/extendxftf2.c: Likewise.
4856 * soft-fp/fixdfdi.c: Likewise.
4857 * soft-fp/fixdfsi.c: Likewise.
4858 * soft-fp/fixdfti.c: Likewise.
4859 * soft-fp/fixsfdi.c: Likewise.
4860 * soft-fp/fixsfsi.c: Likewise.
4861 * soft-fp/fixsfti.c: Likewise.
4862 * soft-fp/fixtfdi.c: Likewise.
4863 * soft-fp/fixtfsi.c: Likewise.
4864 * soft-fp/fixtfti.c: Likewise.
4865 * soft-fp/fixunsdfdi.c: Likewise.
4866 * soft-fp/fixunsdfsi.c: Likewise.
4867 * soft-fp/fixunsdfti.c: Likewise.
4868 * soft-fp/fixunssfdi.c: Likewise.
4869 * soft-fp/fixunssfsi.c: Likewise.
4870 * soft-fp/fixunssfti.c: Likewise.
4871 * soft-fp/fixunstfdi.c: Likewise.
4872 * soft-fp/fixunstfsi.c: Likewise.
4873 * soft-fp/fixunstfti.c: Likewise.
4874 * soft-fp/floatdidf.c: Likewise.
4875 * soft-fp/floatdisf.c: Likewise.
4876 * soft-fp/floatditf.c: Likewise.
4877 * soft-fp/floatsidf.c: Likewise.
4878 * soft-fp/floatsisf.c: Likewise.
4879 * soft-fp/floatsitf.c: Likewise.
4880 * soft-fp/floattidf.c: Likewise.
4881 * soft-fp/floattisf.c: Likewise.
4882 * soft-fp/floattitf.c: Likewise.
4883 * soft-fp/floatundidf.c: Likewise.
4884 * soft-fp/floatundisf.c: Likewise.
4885 * soft-fp/floatunditf.c: Likewise.
4886 * soft-fp/floatunsidf.c: Likewise.
4887 * soft-fp/floatunsisf.c: Likewise.
4888 * soft-fp/floatunsitf.c: Likewise.
4889 * soft-fp/floatuntidf.c: Likewise.
4890 * soft-fp/floatuntisf.c: Likewise.
4891 * soft-fp/floatuntitf.c: Likewise.
4892 * soft-fp/gedf2.c: Likewise.
4893 * soft-fp/gesf2.c: Likewise.
4894 * soft-fp/getf2.c: Likewise.
4895 * soft-fp/ledf2.c: Likewise.
4896 * soft-fp/lesf2.c: Likewise.
4897 * soft-fp/letf2.c: Likewise.
4898 * soft-fp/muldf3.c: Likewise.
4899 * soft-fp/mulsf3.c: Likewise.
4900 * soft-fp/multf3.c: Likewise.
4901 * soft-fp/negdf2.c: Likewise.
4902 * soft-fp/negsf2.c: Likewise.
4903 * soft-fp/negtf2.c: Likewise.
4904 * soft-fp/op-1.h: Likewise.
4905 * soft-fp/op-2.h: Likewise.
4906 * soft-fp/op-4.h: Likewise.
4907 * soft-fp/op-8.h: Likewise.
4908 * soft-fp/op-common.h: Likewise.
4909 * soft-fp/quad.h: Likewise.
4910 * soft-fp/single.h: Likewise.
4911 * soft-fp/soft-fp.h: Likewise.
4912 * soft-fp/subdf3.c: Likewise.
4913 * soft-fp/subsf3.c: Likewise.
4914 * soft-fp/subtf3.c: Likewise.
4915 * soft-fp/truncdfsf2.c: Likewise.
4916 * soft-fp/trunctfdf2.c: Likewise.
4917 * soft-fp/trunctfsf2.c: Likewise.
4918 * soft-fp/trunctfxf2.c: Likewise.
4919 * soft-fp/unorddf2.c: Likewise.
4920 * soft-fp/unordsf2.c: Likewise.
4921 * soft-fp/unordtf2.c: Likewise.
4922
02ac9503
UB
49232013-11-05 Uros Bizjak <ubizjak@gmail.com>
4924
4925 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
4926 (_FP_MUL_MEAT_D): Ditto.
4927 (_FP_DIV_MEAT_S): Ditto.
4928 (_FP_DIV_MEAT_D): Ditto.
4929 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
4930 t-softfp-sfdf and t-softfp to tmake_file.
4931
61221141
UB
49322013-11-03 Uros Bizjak <ubizjak@gmail.com>
4933
4934 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
4935 * config/i386/crtprec.c: Ditto.
4936
9304f876
CJW
49372013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
4938 Shiva Chen <shiva0217@gmail.com>
4939
4940 * config.host (nds32*-elf*): Add nds32 target.
4941 * config/nds32 : New directory and files.
4942
0e499e75
HPN
49432013-10-16 Hans-Peter Nilsson <hp@axis.com>
4944
4945 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
4946 * config.host (cpu_type) <Setting default>: Add entry for
4947 crisv32-*-*.
4948 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
4949 <crisv32-*-linux*>: Adjust.
4950 * longlong.h: Wrap the whole CRIS section in a single
4951 defined(__CRIS__) conditional. Add comment about add_ssaaaa
4952 and sub_ddmmss.
4953 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
4954 defined.
4955 [__CRIS__] (__umulsidi3): Define.
4956 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
4957 * config/cris/sfp-machine.h: New file.
4958 * config/cris/umulsidi3.S: New file.
4959 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
4960 * config/cris/arit.c (SIGNMULT): New macro.
4961 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
4962 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
4963 saving 3 out of originally 33 cycles from the fastest
4964 path, 3 out of 54 from the medium path and one from the longest
4965 path. Improve comments.
4966
16022041
RS
49672013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
4968
4969 * sync.c: Remove static aliases and define each function directly
4970 under its real name.
4971
69778659
JDA
49722013-10-02 John David Anglin <danglin@gcc.gnu.org>
4973
4974 * config.host (hppa*64*-*-linux*): Define extra_parts.
4975 (hppa*-*-linux*): Likewise.
4976
2deaf8b0
JR
49772013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
4978
4979 * config/arc/crtgend.S: Add 2013 to Copyright years.
4980 * config/arc/gmon/atomic.h: Likewise.
4981 * config/arc/gmon/auxreg.h: Likewise.
4982 * config/arc/gmon/sys/gmon_out.h: Likewise.
4983 * config/arc/gmon/sys/gmon.h: Likewise.
4984 * config/arc/gmon/prof-freq.c: Likewise.
4985 * config/arc/gmon/mcount.c: Likewise.
4986 * config/arc/gmon/prof-freq-stub.S: Likewise.
4987 * config/arc/gmon/gmon.c: Likewise.
4988 * config/arc/gmon/machine-gmon.h: Likewise.
4989 * config/arc/gmon/profil.S: Likewise.
4990 * config/arc/gmon/dcache_linesz.S: Likewise.
4991 * config/arc/crtg.S: Likewise.
4992 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
4993 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
4994 * config/arc/ieee-754/adddf3.S: Likewise.
4995 * config/arc/ieee-754/truncdfsf2.S: Likewise.
4996 * config/arc/ieee-754/fixsfsi.S: Likewise.
4997 * config/arc/ieee-754/gtsf2.S: Likewise.
4998 * config/arc/ieee-754/floatsisf.S: Likewise.
4999 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
5000 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
5001 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
5002 * config/arc/ieee-754/fixdfsi.S: Likewise.
5003 * config/arc/ieee-754/addsf3.S: Likewise.
5004 * config/arc/ieee-754/gesf2.S: Likewise.
5005 * config/arc/ieee-754/floatsidf.S: Likewise.
5006 * config/arc/ieee-754/extendsfdf2.S: Likewise.
5007 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
5008 * config/arc/ieee-754/gtdf2.S: Likewise.
5009 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
5010 * config/arc/ieee-754/uneqdf2.S: Likewise.
5011 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
5012 * config/arc/ieee-754/uneqsf2.S: Likewise.
5013 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
5014 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
5015 * config/arc/ieee-754/eqdf2.S: Likewise.
5016 * config/arc/ieee-754/ordsf2.S: Likewise.
5017 * config/arc/ieee-754/divsf3.S: Likewise.
5018 * config/arc/ieee-754/divdf3.S: Likewise.
5019 * config/arc/ieee-754/floatunsidf.S: Likewise.
5020 * config/arc/ieee-754/orddf2.S: Likewise.
5021 * config/arc/ieee-754/eqsf2.S: Likewise.
5022 * config/arc/ieee-754/gedf2.S: Likewise.
5023 * config/arc/crtn.S: Likewise.
5024 * config/arc/crti.S: Likewise.
5025 * config/arc/t-arc700-uClibc: Likewise.
5026 * config/arc/asm.h: Likewise.
5027 * config/arc/libgcc-excl.ver: Likewise.
5028 * config/arc/t-arc-newlib: Likewise.
5029 * config/arc/divtab-arc700.c: Likewise.
5030 * config/arc/initfini.c: Likewise.
5031 * config/arc/fp-hack.h: Likewise.
5032
c8e318b0
JR
50332013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
5034 Diego Novillo <dnovillo@google.com>
5035
5036 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
a07c5b47
JR
5037 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
5038 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
5039 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
c8e318b0 5040
d38a64b4
JR
50412013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
5042 Brendan Kehoe <brendan@zen.org>
5043 Simon Cook <simon.cook@embecosm.com>
5044
5045 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
5046 * config/arc: New directory.
5047 * longlong.h [__arc__] (umul_ppmm): Remove.
5048 [__arc__] (__umulsidi3): Define.
5049 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
5050 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
5051
dff717d2
JC
50522013-09-17 Jacek Caban <jacek@codeweavers.com>
5053
5054 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
5055 CreateSemaphoreA.
5056 * config/i386/gthr-win32.h: Likewise.
5057
5c0029de
DD
50582013-09-16 DJ Delorie <dj@redhat.com>
5059
844ad6c6 5060 * config/rl78/vregs.h: Add G10 register definitions.
5c0029de
DD
5061 * config/rl78/lib2mul.c: Enable for RL78/G10.
5062 * config/rl78/lib2div.c: Likewise.
5063 * config/rl78/lshrsi3.S: Use vregs.h.
5064 * config/rl78/cmpsi2.S: Likewise.
5065 * config/rl78/trampoline.S: Likewise.
5066 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
5067
ceb2fc49
DD
50682013-09-14 DJ Delorie <dj@redhat.com>
5069 Nick Clifton <nickc@redhat.com>
5070
5071 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
5072 * config/rl78/vregs.h: New.
5073 * config/rl78/signbit.S: New file. Implements signbit function.
5074 * config/rl78/divmodsi.S: New.
5075 * config/rl78/divmodhi.S: New.
5076 * config/rl78/divmodqi.S: New.
5077 * config/rl78/t-rl78: Build them here...
5078 * config/rl78/lib2div.c: ...but not here.
5079
f6a83b4a
DD
50802013-09-12 DJ Delorie <dj@redhat.com>
5081
5082 * config.host (msp*-*-elf): New.
5083 * config/msp430/: New port.
5084
9107b096
IS
50852013-08-18 Iain Sandoe <iain@codesourcery.com>
5086
5087 PR gcov-profile/58127
5088 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
5089 __thread var for emulated TLS.
5090 (__gcov_indirect_call_counters): Likewise.
5091
0f9bde1f 50922013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
61221141 5093 Catherine Moore <clm@codesourcery.com>
7d296953 5094 Richard Sandiford <rdsandiford@googlemail.com>
0f9bde1f
MR
5095
5096 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
5097 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
5098 (CALL_STUB_NO_RET): Likewise.
5099 (CALL_STUB_RET): Likewise.
5100 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
5101 __mips16_ret call/return stub symbols.
5102 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
5103 to tmake_file.
5104
2dc14aac
MR
51052013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
5106
5107 * config.host <mips*-*-linux*>: Remove a stray comment.
5108
748d71f3
JH
51092013-08-10 Jan Hubicka <jh@suse.cz>
5110
5111 Work around binutils PR14342
5112 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
5113 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
5114 (L_gcov_indirect_call_profiler_v2): New.
5115
2fa3d31b
JH
51162013-08-06 Jan Hubicka <jh@suse.cz>
5117
5118 * libgcov.c (__gcov_indirect_call_callee,
5119 __gcov_indirect_call_counters): New global vars.
5120 (__gcov_indirect_call_profiler): replace by ...
5121 (__gcov_indirect_call_profiler_v2) ... this one.
5122
2077db1b
CT
51232013-08-06 Caroline Tice <cmtice@google.com>
5124
d0595b65 5125 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
2077db1b 5126 vtv_start_preinit.o and vtv_end_preinit.o.
d0595b65
CT
5127 * configure.ac: Add code to check/set enable_vtable_verify.
5128 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
2077db1b 5129 true.
d0595b65
CT
5130 * vtv_start_preinit.c: New file.
5131 * vtv_end_preinit.c: New file.
5132 * vtv_start.c: New file.
5133 * vtv_end.c: New file.
5134 * configure: Regenerated.
2077db1b 5135
46549c20
MK
51362013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
5137
5138 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
5139 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
5140 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
5141 GPL-3.0-with-GCC-exception.
5142
72be589b
MR
51432013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
5144
5145 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
5146 ISA and up.
5147
902a3faf
AK
51482013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5149
5150 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
5151 mapping for FPRs when creating the fallback framestate.
5152
02371798
GJL
51532013-07-19 Georg-Johann Lay <avr@gjlay.de>
5154
5155 PR target/57516
5156 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
5157 (__round_s2_const, __round_u2_const)
5158 (__round_s4_const, __round_u4_const, __round_x8):
5159 Saturate result if addition result cannot be represented.
5160
ab0e8379
MK
51612013-07-15 Matthias Klose <doko@ubuntu.com>
5162
5163 * libgcc2.c: Don't include <limits.h>.
5164
7da38058
JJ
51652013-07-09 Janis Johnson <janisjo@codesourcery.com>
5166
5167 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
5168
1f6eac90
JJ
51692013-07-06 Jakub Jelinek <jakub@redhat.com>
5170
5171 PR target/29776
5172 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
5173
4ea3d774
JJ
51742013-06-28 Jakub Jelinek <jakub@redhat.com>
5175
5176 PR middle-end/36041
5177 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
5178 Define.
5179 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
5180 instead of table lookups.
5181 (__popcountDI2): Likewise.
5182
9d2cdf25
CJW
51832013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
5184
5185 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
5186 correctly.
5187
fa1e55b0
JM
51882013-06-21 Joseph Myers <joseph@codesourcery.com>
5189
5190 PR other/53317
5191 * soft-fp/adddf3.c: Update from glibc.
5192 * soft-fp/addsf3.c: Likewise.
5193 * soft-fp/addtf3.c: Likewise.
5194 * soft-fp/divdf3.c: Likewise.
5195 * soft-fp/divsf3.c: Likewise.
5196 * soft-fp/divtf3.c: Likewise.
5197 * soft-fp/double.h: Likewise.
5198 * soft-fp/eqdf2.c: Likewise.
5199 * soft-fp/eqsf2.c: Likewise.
5200 * soft-fp/eqtf2.c: Likewise.
5201 * soft-fp/extenddftf2.c: Likewise.
5202 * soft-fp/extended.h: Likewise.
5203 * soft-fp/extendsfdf2.c: Likewise.
5204 * soft-fp/extendsftf2.c: Likewise.
5205 * soft-fp/fixdfdi.c: Likewise.
5206 * soft-fp/fixdfsi.c: Likewise.
5207 * soft-fp/fixsfdi.c: Likewise.
5208 * soft-fp/fixsfsi.c: Likewise.
5209 * soft-fp/fixtfdi.c: Likewise.
5210 * soft-fp/fixtfsi.c: Likewise.
5211 * soft-fp/fixunsdfdi.c: Likewise.
5212 * soft-fp/fixunsdfsi.c: Likewise.
5213 * soft-fp/fixunssfdi.c: Likewise.
5214 * soft-fp/fixunssfsi.c: Likewise.
5215 * soft-fp/fixunstfdi.c: Likewise.
5216 * soft-fp/fixunstfsi.c: Likewise.
5217 * soft-fp/floatdidf.c: Likewise.
5218 * soft-fp/floatdisf.c: Likewise.
5219 * soft-fp/floatditf.c: Likewise.
5220 * soft-fp/floatsidf.c: Likewise.
5221 * soft-fp/floatsisf.c: Likewise.
5222 * soft-fp/floatsitf.c: Likewise.
5223 * soft-fp/floatundidf.c: Likewise.
5224 * soft-fp/floatundisf.c: Likewise.
5225 * soft-fp/floatunditf.c: Likewise.
5226 * soft-fp/floatunsidf.c: Likewise.
5227 * soft-fp/floatunsisf.c: Likewise.
5228 * soft-fp/floatunsitf.c: Likewise.
5229 * soft-fp/gedf2.c: Likewise.
5230 * soft-fp/gesf2.c: Likewise.
5231 * soft-fp/getf2.c: Likewise.
5232 * soft-fp/ledf2.c: Likewise.
5233 * soft-fp/lesf2.c: Likewise.
5234 * soft-fp/letf2.c: Likewise.
5235 * soft-fp/muldf3.c: Likewise.
5236 * soft-fp/mulsf3.c: Likewise.
5237 * soft-fp/multf3.c: Likewise.
5238 * soft-fp/negdf2.c: Likewise.
5239 * soft-fp/negsf2.c: Likewise.
5240 * soft-fp/negtf2.c: Likewise.
5241 * soft-fp/op-1.h: Likewise.
5242 * soft-fp/op-2.h: Likewise.
5243 * soft-fp/op-4.h: Likewise.
5244 * soft-fp/op-8.h: Likewise.
5245 * soft-fp/op-common.h: Likewise.
5246 * soft-fp/quad.h: Likewise.
5247 * soft-fp/single.h: Likewise.
5248 * soft-fp/soft-fp.h: Likewise.
5249 * soft-fp/subdf3.c: Likewise.
5250 * soft-fp/subsf3.c: Likewise.
5251 * soft-fp/subtf3.c: Likewise.
5252 * soft-fp/truncdfsf2.c: Likewise.
5253 * soft-fp/trunctfdf2.c: Likewise.
5254 * soft-fp/trunctfsf2.c: Likewise.
5255 * soft-fp/unorddf2.c: Likewise.
5256 * soft-fp/unordsf2.c: Likewise.
5257 * soft-fp/unordtf2.c: Likewise.
5258 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
5259 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5260 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5261 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5262 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5263 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5264 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5265 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5266 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5267 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
5268 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
5269 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5270
0de86a92
JU
52712013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
5272
5273 * config/mips/lib2funcs.c: New file.
5274 * config/mips/t-mips (LIB2ADD_ST): Add it.
5275
0d008882
OE
52762013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
5277
5278 PR target/6526
5279 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
5280 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
5281
776434d1
WL
52822013-06-08 Walter Lee <walt@tilera.com>
5283
5284 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
5285 Replace int64_t with long long. Add __extension__ where
5286 appropriate.
5287 * config/tilepro/atomic.c: Include config.h.
5288
6ab3ebb4
DR
52892013-06-06 Douglas B Rupp <rupp@adacore.com>
5290
5291 * config.host (arm-wrs-vxworks): Configure with other soft float.
5292
107eea2c
JU
52932013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
5294
5295 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
5296 (mips64r5900el-*-elf*): New configurations.
5297
5cc19c62
AM
52982013-06-04 Alan Modra <amodra@gmail.com>
5299
5300 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
5301
0f1d3965
YR
53022013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
5303
5304 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
5305
0ba045df
EB
53062013-05-28 Eric Botcazou <ebotcazou@adacore.com>
5307
5308 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
5309 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
5310 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
5311
49dcafd4
EB
53122013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5313
5314 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
5315 (powerpc-wrs-vxworks): Likewise.
5316
4fcb5d87
EB
53172013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5318
5319 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
5320 signal frames as well.
5321 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
5322 STACK_BIAS to the CFA offset.
5323
0ec33224
RH
53242013-05-17 Richard Henderson <rth@redhat.com>
5325
5326 PR target/49146
5327 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
5328 (execute_cfa_program): Use it when storing to fs->regs.
5329
492a8029
KT
53302013-05-08 Kai Tietz <ktietz@redhat.com>
5331
5332 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
5333 (__deregister_frame_info): Likewise.
5334
701e2f0a
TS
53352013-05-06 Thomas Schwinge <thomas@codesourcery.com>
5336
e5123d08
TS
5337 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
5338 NaN's payload.
5339
701e2f0a
TS
5340 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
5341
b9a7eb5d
AM
53422013-04-25 Alan Modra <amodra@gmail.com>
5343
5344 * config.host: Match little-endian powerpc-linux.
5345
dfe192f5
YZ
53462013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
5347
5348 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
5349 as 'unsigned long long' instead of 'unsigned long'.
5350 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
5351 'signed long'.
5352
b6b9af2f
JB
53532013-04-10 Julian Brown <julian@codesourcery.com>
5354
5355 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
5356 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
5357 unsigned char/unsigned short.
5358 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
5359
ecabdd00
JDA
53602013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5361
5362 PR other/55274
5363 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
5364
34652576
MI
53652013-04-04 Meador Inge <meadori@codesourcery.com>
5366
5367 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
5368 computing the location of the link register.
5369 (aeabi_uldivmod): Ditto.
5370
e9fd8c19
KT
53712013-03-27 Kai Tietz <ktietz@redhat.com>
5372
5373 * config.host: Add support for cygwin x64 target.
5374 * configure: Regenerated.
5375
a6406324
WL
53762013-03-26 Walter Lee <walt@tilera.com>
5377
5378 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
5379 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
5380
55446c7e
KT
53812013-03-25 Kai Tietz <ktietz@redhat.com>
5382
5383 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
5384
d2ae19d9
RM
53852013-03-20 Robert Mason <rbmj@verizon.net>
5386
5387 * config/vxlib-tls.c (__gthread_get_tsd_data,)
5388 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
5389 (__gthread_leave_tsd_dtor_context): Add prototypes.
5390 (tls_delete_hook): Update.
5391
22c4c869
CM
53922013-03-20 Catherine Moore <clm@codesourcery.com>
5393 Joseph Myers <joseph@codesourcery.com>
5394 Chao-ying Fu <fu@mips.com>
5395
5396 * config/mips/mips16.S: Don't build for microMIPS.
5397 * config/mips/linux-unwind.h: Handle microMIPS frame.
5398 * config/mips/crtn.S (fini, init): New labels.
5399
fbd28bc3
JJ
54002013-03-14 Jakub Jelinek <jakub@redhat.com>
5401
5402 PR tree-optimization/53265
5403 * unwind-dw2.c (execute_cfa_program): Avoid
5404 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
5405 on targets with DWARF_FRAME_REGISTERS < 32.
5406
decc676e
OE
54072013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
5408
5409 PR target/49880
5410 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
5411 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
5412
84ea618a
ST
54132013-03-07 Sriraman Tallam <tmsriram@google.com>
5414
5415 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
5416 sandybridge processors.
5417
8f6d1c86
OE
54182013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
5419
5420 PR target/56529
5421 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
5422 inclusion list.
5423
ecdbd01a 54242013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
409b1de4
EI
5425
5426 * config/microblaze/crti.S: Setup stack protection at entry
5427
0b4ce21b
GJL
54282013-03-04 Georg-Johann Lay <avr@gjlay.de>
5429
5430 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
5431 (__rotldi3): Shift bytewise if applicable.
5432
b7c3f1ca
JG
54332013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
5434
5435 * config/aarch64/sync-cache.c
5436 (__aarch64_sync_cache_range): Silence warnings.
5437
6d65e8f1
CM
54382013-02-25 Catherine Moore <clm@codesourcery.com>
5439
5440 Revert:
5441 2013-02-24 Catherine Moore <clm@codesourcery.com>
5442 Joseph Myers <joseph@codesourcery.com>
5443 Chao-ying Fu <fu@mips.com>
5444
5445 * config/mips/mips16.S: Don't build for microMIPS.
5446 * config/mips/linux-unwind.h: Handle microMIPS frame.
5447 * config/mips/crtn.S (fini, init): New labels.
5448
6941b508
CM
54492013-02-24 Catherine Moore <clm@codesourcery.com>
5450 Joseph Myers <joseph@codesourcery.com>
5451 Chao-ying Fu <fu@mips.com>
5452
5453 * config/mips/mips16.S: Don't build for microMIPS.
5454 * config/mips/linux-unwind.h: Handle microMIPS frame.
5455 * config/mips/crtn.S (fini, init): New labels.
5456
7c422dbb 54572012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
cc86234f 5458 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7c422dbb
EI
5459 as dividend.
5460
110207ad
AM
54612013-02-16 Alan Modra <amodra@gmail.com>
5462
5463 PR target/55431
5464 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
5465 (ppc_fallback_frame_state): Always set up save locations for fp
5466 and altivec. Don't bother with non-callee-saved regs, r0-r13
5467 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
5468
e68a4ef6
GJL
54692013-02-12 Georg-Johann Lay <avr@gjlay.de>
5470
5471 PR target/54222
5472 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
5473 _ssmulHA, _ssmulSA.
5474 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
5475 _ssmulha3, _usmulusa3, _ssmulsa3.
5476 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
5477 (__muldi3): XCALL __muldi3_6 instead of rcall.
5478 (__umulsidi3, __mulsidi3): New functions.
5479 (do_prologue_saves, do_epilogue_restores): New .macros.
5480 (__divdi3_moddi3): Use them.
5481 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
5482 (__usmulusa3, __ssmulsa3): New functions.
5483
6c59ffd1
IS
54842013-02-11 Iain Sandoe <iain@codesourcery.com>
5485 Jack Howarth <howarth@bromo.med.uc.edu>
5486 Patrick Marlier <patrick.marlier@gmail.com>
5487
5488 PR libitm/55693
5489 * config/darwin-crt-tm.c: Remove dummy functions hack.
5490
85d768f3
GJL
54912013-02-08 Georg-Johann Lay <avr@gjlay.de>
5492
5493 PR target/54222
5494 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
5495 * config/avr/lib2-object.mk: New iterator to build objects from it.
5496 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
5497 lib2funcs.c.
5498 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
5499 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
5500 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
5501 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
5502 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
5503 * config/avr/lib1funcs-fixed.S: Implement them.
5504
5d5bf775
RS
55052013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
5506
5507 Update copyright years.
5508
99113dff
DE
55092013-02-01 David Edelsohn <dje.gcc@gmail.com>
5510
5511 PR target/54601
5512 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
5513 Add crtcxa to extra_parts.
5514 * config/rs6000/exit.h: New file.
5515 * config/rs6000/cxa_atexit.c: New file.
5516 * config/rs6000/cxa_finalize.c: New file.
5517 * config/rs6000/crtcxa.c: New file.
5518 * config/rs6000/t-aix-cxa: New file.
5519 * config/rs6000/libgcc-aix-cxa.ver: New file.
5520
dbdbd982
NC
55212013-01-31 Nick Clifton <nickc@redhat.com>
5522
5523 * config/v850/lib1funcs.S: Add support for e3v5 architecture
5524 variant.
5525
5893f158
GJL
55262013-01-29 Georg-Johann Lay <avr@gjlay.de>
5527
5528 PR target/54222
5529 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
5530 _mulQQ, _mulHQ, _mulHA, _mulSA,
5531 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
5532 _divQQ, _divHQ, _divHA, _divSA,
5533 _divUQQ, _divUHQ, _divUHA, _divUSA.
5534
ecdbd01a 55352013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
fbf0cf90 5536
dbdbd982 5537 * config.host(microblaze*-linux*): tmake_file: Remove
fbf0cf90
DH
5538 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
5539 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
5540 to exclude functions from being built with libgcc.c and use
5541 the microblaze assembly.
5542
ecdbd01a 55432013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6f14eef2
EI
5544
5545 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
5546 extra_parts.
5547
922c57d1
YZ
55482013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
5549
5550 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
5551 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
5552 __UINTPTR_TYPE__; also cast 'base' to the same type before the
5553 alignment operation.
5554
e0f8b6a0
SN
55552013-01-15 Sofiane Naci <sofiane.naci@arm.com>
5556
5557 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
5558 loop start address for cache clearing.
5559
00892272
GJL
55602013-01-14 Georg-Johann Lay <avr@gjlay.de>
5561
5562 * config/avr/lib1funcs.S: Remove trailing blanks.
5563 * config/avr/lib1funcs-fixed.S: Ditto.
5564
e59ec5fd
GJL
55652013-01-14 Georg-Johann Lay <avr@gjlay.de>
5566
5567 * config/avr/avr-lib.h: Add GPL copyright notice.
5568
3ffc1958
GJL
55692013-01-14 Georg-Johann Lay <avr@gjlay.de>
5570
5571 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
5572 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
5573 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
5574 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
5575
25c210f9
MK
55762013-01-07 Mark Kettenis <kettenis@openbsd.org>
5577
5578 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
5579 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
2bc15360 5580
db59befb
NC
55812013-01-04 Nick Clifton <nickc@redhat.com>
5582
5583 * config/v850/lib1funcs.S: Only provide CALLT support functions if
5584 the CALLT instruction is supported.
5585
5aa12dbf
JW
55862012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
5587
5588 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
5589 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
5590
65f14117
JT
55912012-12-13 John Tytgat <John@bass-software.com>
5592
5593 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
5594 is 25.
5595
ee3ae4f7
JJ
55962012-12-12 Jakub Jelinek <jakub@redhat.com>
5597
5598 PR libgcc/55451
5599 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
5600 undefined signed overflows.
5601
2fcfba3d
UB
56022012-12-09 Uros Bizjak <ubizjak@gmail.com>
5603
5604 PR target/55344
5605 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
5606
4f2b3dc2
UB
56072012-12-06 Uros Bizjak <ubizjak@gmail.com>
5608
5609 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
5610 (FP_TRAPPING_EXCEPTIONS): Define.
5611 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
5612 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
5613
066161a2
RH
56142012-12-04 Richard Henderson <rth@redhat.com>
5615
5616 PR bootstrap/55571
5617 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
5618
7d296953 56192012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
25626181 5620
4f2b3dc2 5621 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
25626181
MS
5622 (FP_EX_SHIFT): Define.
5623 (FP_TRAPPING_EXCEPTIONS): Define.
5624
7d296953 56252012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
868395e8
MS
5626
5627 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
5628 (FP_ROUNDMODE): Use FP_RND_MASK.
5629 * config/aarch64/sfp-exceptions.c: New.
5630 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5631 Use __sfp_handle_exceptions.
5632
5005fe22
RE
56332012-12-04 Richard Earnshaw <rearnsha@arm.com>
5634
5635 * config.host: (arm*-*-freebsd*): Remove.
5636 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
5637 (arm*-*-elf*): Remove.
5638 (arm*-*-wince-pe*): Remove.
5639 * arm/unwind-arm.c (struct fpa_reg): Delete.
5640 (struct fpa_regs): Delete.
5641 (phase1_vrs): Remove fpa element.
5642 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
5643 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
5644 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
5645 * ieee754-sf.S (floatundisf): Remove FPA support.
5646 (floatdisf): Likewise.
5647 * ieee75f-df.S (floatundidf): Likewise.
5648 (floatdidf): Likewise.
5649
e5a81c8e
KT
56502012-11-29 Kai Tietz <ktietz@redhat.com>
5651
5652 PR target/55445
5653 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
5654 * unwind-generic.h: Likewise.
5655 * unwind-seh.c: Likewise.
5656
f4919e4a
RH
56572012-11-28 Richard Henderson <rth@redhat.com>
5658
5659 PR libgcc/48076
5660 * emutls.c (__emutls_get_address): Avoid race condition between
5661 obj->loc.offset read and emutls_key initialization.
4f2b3dc2 5662
e13d9d5a
GJL
56632012-11-22 Georg-Johann Lay <avr@gjlay.de>
5664
5665 Adjust decimal point of signed accum mode to GCC default.
5666
5667 PR target/54222
5668 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
5669 _divqq_helper.
5670 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
5671 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
5672 (__mulha3, __mulsa3)
5673 (__divqq3, __divha3, __divsa3): Adjust to new position of
4f2b3dc2
UB
5674 decimal point of signed accum types.
5675
e13d9d5a
GJL
5676 (__mulusa3_round): New function.
5677 (__mulusa3): Use it.
5678 (__divqq_helper): New function.
5679 (__udivuqq3): Use it.
5680
1b845c6e
JJ
56812012-11-20 Jakub Jelinek <jakub@redhat.com>
5682
5683 PR bootstrap/55370
5684 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
5685
822a258a
TJ
56862012-11-18 Teresa Johnson <tejohnson@google.com>
5687
5688 PR bootstrap/55051
5689 * libgcov.c (gcov_exit): Remove merged program summary
5690 comparison unless !GCOV_LOCKED.
5691
7d296953 56922012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
54f4eaf0
MS
5693
5694 * soft-fp: Updated from glibc upstream.
5695
e808687a
ILT
56962012-11-06 Ian Lance Taylor <iant@google.com>
5697
5698 * generic-morestack.c (__generic_morestack): Align the returned
5699 stack pointer to a 32 byte boundary.
5700 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
5701 increment the return address until we have decided that we don't
5702 have a varargs function.
5703 (__morestack) [32-bit]: Align stack correctly when calling C
5704 functions.
5705 (__morestack) [64-bit]: Likewise.
5706
460277e0
TS
57072012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5708
5709 * configure: Regenerate.
5710
73edb277
UB
57112012-11-02 Uros Bizjak <ubizjak@gmail.com>
5712
5713 PR target/55175
5714 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
5715 * config/i386/sfp-machine.h: Guard exception handling
5716 code with _SOFT_FLOAT.
5717 * config/i386/32/sfp-machine.h: Guard rounding handling
5718 code with _SOFT_FLOAT.
5719 * config/i386/64/sfp-machine.h: Ditto.
5720
c1d4fa04
JS
57212012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
5722
5723 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
5724 as extra_parts.
5725
eff6ca85
UB
57262012-10-26 Uros Bizjak <ubizjak@gmail.com>
5727
5728 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
5729 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
5730 when appropriate. Correct structure element types.
5731 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
5732 -minline-all-stringops from compile flags.
5733
7d296953 57342012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
43a8f1a1
RC
5735
5736 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
5737
7d296953 57382012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
76c78361 5739
eff6ca85 5740 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
76c78361 5741
6f288860
SH
57422012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
5743
5744 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
5745 tmake_file.
5746
1e3d5096
IB
57472012-10-23 Ian Bolton <ian.bolton@arm.com>
5748 Jim MacArthur <jim.macarthur@arm.com>
5749 Marcus Shawcroft <marcus.shawcroft@arm.com>
5750 Nigel Stephens <nigel.stephens@arm.com>
5751 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
5752 Richard Earnshaw <rearnsha@arm.com>
5753 Sofiane Naci <sofiane.naci@arm.com>
5754 Stephen Thomas <stephen.thomas@arm.com>
5755 Tejas Belagod <tejas.belagod@arm.com>
5756 Yufeng Zhang <yufeng.zhang@arm.com>
5757
5758 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
5759 * config/aarch64/crti.S: New file.
5760 * config/aarch64/crtn.S: New file.
5761 * config/aarch64/linux-unwind.h: New file.
5762 * config/aarch64/sfp-machine.h: New file.
5763 * config/aarch64/sync-cache.c: New file.
5764 * config/aarch64/t-aarch64: New file.
5765 * config/aarch64/t-softfp: New file.
5766
8a740f07
HPN
57672012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
5768
5769 * config/mmix/crti.S: Mark program and data addresses using PRELD.
5770 Remove typo'd and unnecessary alignment-LOC for .data. Remove
5771 no-longer-needed LDBU insns.
5772
7d296953 57732012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
153c8397
SH
5774
5775 * config.host
5776 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
5777 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
5778
595fefee
MGD
57792012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
5780
5781 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
5782
9945a876
MK
57832012-10-15 Matthias Klose <doko@ubuntu.com>
5784
5785 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
5786
1183dc2c
PC
57872012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
5788
5789 * configure: Regenerate.
5790 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
5791
945a9c1f
UB
57922012-10-10 Uros Bizjak <ubizjak@gmail.com>
5793
5794 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
5795 instructions for 64bit targets only.
5796
fb8bf47a
UB
57972012-10-10 Uros Bizjak <ubizjak@gmail.com>
5798
5799 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5800 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
5801 * config/i386/32/sfp-machine.h: ... here.
5802 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
5803 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
5804 New defines.
5805
acb72498
MK
58062012-10-07 Matthias Klose <doko@ubuntu.com>
5807
5808 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
5809 as unused.
5810 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
5811
8eaee0f0
MK
58122012-10-06 Mark Kettenis <kettenis@openbsd.org>
5813
5814 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
5815 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
5816 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
5817 (ElfW): Likewise.
5818
5e3e4fe8
JW
58192012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
5820
5821 PR other/53889
5822 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5823 Fix parameter names.
5824
86086376
OE
58252012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
5826
5827 PR target/33135
5828 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
5829 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
5830 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
5831
9597375a
OE
58322012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
5833
5834 PR target/50457
5835 * config/sh/linux-atomic.S: Delete.
5836 * config/sh/linux-atomic.c: New.
5837 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
5838 linux-atomic.c. Add cflags to disable warnings.
5839
1504e3e1
JW
58402012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
5841
5842 PR other/53889
5843 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
5844 function.
5845 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
5846 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
5847 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
5848 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5e3e4fe8
JW
5849 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
5850 Likewise.
1504e3e1
JW
5851 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5852 Likewise.
5853 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
5854 Likewise.
5855 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
5856 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
5857
17f293b0
MK
58582012-09-19 Mark Kettenis <kettenis@openbsd.org>
5859
9597375a
OE
5860 * config.host (hppa-*-openbsd*): New target.
5861 * config/pa/t-openbsd: New file.
17f293b0 5862
51526856
GJL
58632012-09-15 Georg-Johann Lay <avr@gjlay.de>
5864
5865 PR target/54222
5866 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
5867 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
5868 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
5869 (__divsa3): Use __negsi2 to negate r_quoL.
5870 * config/avr/lib1funcs.S (FALIAS): New macro.
5871 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
5872 (__negsi2): ...this new function.
5873 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
5874 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
5875 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
5876 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
5877 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
5878 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
5879
aadb5b43
OE
58802012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
5881
5882 PR target/54089
5883 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
5884 (lshrsi3): Reimplement as lshrsi3_r0.
5885
d5d66749
AS
58862012-09-10 Andreas Schwab <schwab@linux-m68k.org>
5887
5888 PR target/46191
5889 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
5890 of libgcc.a.
5891
c6c36e73
TJ
58922012-09-07 Teresa Johnson <tejohnson@google.com>
5893
9597375a 5894 PR gcov-profile/54487
c6c36e73 5895 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9597375a 5896 differences.
c6c36e73 5897
b588ae30
GJL
58982012-09-05 Georg-Johann Lay <avr@gjlay.de>
5899
5900 PR target/54461
5901 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
5902 not configured --with-avrlibc=no.
5903 * config/avr/t-avrlibc: New file.
5904 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
5905 (DPBIT_FUNCS): Ditto.
5906 (TPBIT_FUNCS): Ditto.
5907
abd16fb1
TJ
59082012-09-04 Teresa Johnson <tejohnson@google.com>
5909
5910 * libgcov.c (struct gcov_summary_buffer): New structure.
5911 (gcov_histogram_insert): New function.
5912 (gcov_compute_histogram): Ditto.
5913 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
5914 histograms during summary merging.
5915
613061fd
MK
59162012-09-01 Mark Kettenis <kettenis@openbsd.org>
5917
5918 * config.host (x86_64-*-openbsd*): New target.
73edb277 5919
867a8345
CLT
59202012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
5921
5922 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
5923 attribute.
5924
4aeaaca3
GJL
59252012-08-24 Georg-Johann Lay <avr@gjlay.de>
5926
5927 PR target/54222
5928 * config/avr/t-avr (conv_X): Rename to func_X.
5929
e55e4056
GJL
59302012-08-24 Georg-Johann Lay <avr@gjlay.de>
5931
5932 PR target/54222
5933 * config/avr/lib1funcs-fixed.S: New file.
5934 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
5935 after they are used.
5936 (neg2, neg4): New macros.
5937 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
5938 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
5939 (__umulhisi3): Speed up MUL variant if there is enough flash.
5940 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
5941 avr-modes.def.
5942 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
5943 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
5944 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
5945 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
5946 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
5947 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
5948 (LIB2FUNCS_EXCLUDE): Add supported functions.
5949
a147b6d2
GJL
59502012-08-22 Georg-Johann Lay <avr@gjlay.de>
5951
5952 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
5953 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
5954 libgcc-s-objects.
5955 * fixed-obj.mk: Only expand dependency if $o is not in
5956 LIB2FUNCS_EXCLUDE.
5957
c637141a
L
59582012-08-22 H.J. Lu <hongjiu.lu@intel.com>
5959
5960 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
5961
130e00bd
JM
59622012-08-22 Joseph Myers <joseph@codesourcery.com>
5963
5964 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
5965 depend on --enable-shared.
5966 ($(lib1asmfuncs-o)): Use %.vis files independent of
5967 --enable-shared.
5968 * static-object.mk ($(base)$(objext), $(base).vis)
5969 ($(base)_s$(objext)): Use same rules for visibility handling as in
5970 shared-object.mk.
5971
4b1b3788
ILT
59722012-08-21 Ian Lance Taylor <iant@google.com>
5973
5974 * config/i386/morestack.S (__morestack_non_split): Increase amount
5975 of space allocated for non-split code stack.
5976
d2468141
JM
59772012-08-19 Joseph Myers <joseph@codesourcery.com>
5978
5979 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
5980 even if inhibit_libc.
5981
a508e1a8
JB
59822012-08-17 Julian Brown <julian@codesourcery.com>
5983
5984 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
5985 -fexceptions -fnon-call-exceptions if not defined.
5986 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
5987 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
5988
5615a07d
AS
59892012-08-17 Andreas Schwab <schwab@linux-m68k.org>
5990
5991 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
5992 type.
5993
138f5acd
DE
59942012-08-16 David Edelsohn <dje.gcc@gmail.com>
5995
5996 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
5997 rs6000/t-slibgcc-aix.
5998
18efc0dd
SB
59992012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
6000
6001 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
6002
6b39bc38
SB
60032012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
6004
6005 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
6006
cd25dea0
L
60072012-08-03 H.J. Lu <hongjiu.lu@intel.com>
6008
6009 PR driver/54171
6010 * Makefile.in (version): Replace top_srcdir with srcdir.
6011
a3dda30b
JY
60122012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
6013
6014 * Makefile.in (version): set to BASE-VER file from gcc directory.
6015
d04aacfc
NC
60162012-08-01 Nick Clifton <nickc@redhat.com>
6017
6018 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
6019 Implements __clrsb for an HImode argument.
6020
0d13c974
NC
60212012-07-31 Nick Clifton <nickc@redhat.com>
6022
6023 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
6024 Implements __clrsb for an HImode argument.
6025 * config/stormy16/clrsbhi2.c: New file:
6026 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
6027
efbb59b2
SB
60282012-07-22 Steven Bosscher <steven@gcc.gnu.org>
6029
6030 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
6031
bf1431e3
TG
60322012-07-19 Tristan Gingold <gingold@adacore.com>
6033 Richard Henderson <rth@redhat.com>
6034
6035 * unwind-seh.c: New file.
6036 * unwind-generic.h: Include windows.h for SEH.
6037 (_Unwind_Exception): Use 6 private fields for SEH.
6038 (_GCC_specific_handler): Declare.
6039 * unwind-c.c (__gcc_personality_seh0): New function.
6040 Adjust for SEH.
6041 * config/i386/libgcc-cygming.ver: New file.
6042 * config/i386/t-seh-eh: New file.
6043 * config.host (x86_64-*-mingw*): Default to seh.
6044
659140c8
SB
60452012-07-14 Steven Bosscher <steven@gcc.gnu.org>
6046
6047 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
6048
a20d08fd
UB
60492012-06-17 Uros Bizjak <ubizjak@gmail.com>
6050
6051 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
6052 __builtin_expect when checking for exceptions.
6053 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
6054
79261115
UB
60552012-06-13 Uros Bizjak <ubizjak@gmail.com>
6056
4a172156
UB
6057 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
6058 function declaration.
6059 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6060 (FP_RND_MASK): New.
6061 * config/ia64/sfp-exceptions.c: New.
6062 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
79261115 6063
bb5c97d4
UB
60642012-06-13 Uros Bizjak <ubizjak@gmail.com>
6065
6066 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
6067 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
6068 * config/i386/64/sfp-machine: ... (delete here) ...
6069 * config/i386/sfp-machine.h: ... to here.
6070 (FP_EX_MASK): Remove.
6071 (FP_RND_MASK): New.
6072 (FP_INIT_ROUNDMODE): Declare asm as volatile.
6073
91fe5efb
ST
60742012-06-11 Sriraman Tallam <tmsriram@google.com>
6075
6076 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
6077 * config/i386/libgcc-sol2.ver: Ditto.
6078 * config/i386/libgcc-glibc.ver: Ditto.
6079
67a218c5
RM
60802012-06-11 Roland McGrath <mcgrathr@google.com>
6081
6082 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
6083 If __GLIBC__ is defined, refer to __pthread_key_create instead of
6084 pthread_cancel.
6085
492fbea1
UB
60862012-06-09 Uros Bizjak <ubizjak@gmail.com>
6087
6088 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
6089 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
6090 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
6091 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
6092 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
6093 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
6094 * config/i386/64/sfp-machine: ... (delete here) ...
6095 * config/i386/sfp-machine.h: ... to here.
6096 (FP_EX_MASK): New.
6097 (__sfp_handle_exceptions): New function declaration.
6098 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6099 * config/i386/sfp-exceptions.c: New.
6100 * config/i386/t-softfp: New.
6101 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
6102 i386/t-softfp to tmake_file.
6103
7b4cf266
DM
61042012-06-03 David S. Miller <davem@davemloft.net>
6105
6106 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
6107 change.
6108
0de0d5c6
DM
61092012-05-31 David S. Miller <davem@davemloft.net>
6110
6111 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
6112 multiply and divide instructions on 32-bit when V9.
6113 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
6114
d8c9d391
JM
61152012-05-29 Joseph Myers <joseph@codesourcery.com>
6116
6117 * config/arm/ieee754-df.S: Fix typos.
6118 * config/arm/ieee754-sf.S: Fix typos.
6119 * config/c6x/libunwind.S: Fix typos.
6120 * config/epiphany/udivsi3-float.c: Fix typos.
6121 * config/microblaze/muldi3_hard.S: Fix typos.
6122 * config/picochip/adddi3.S: Fix typos.
6123 * config/picochip/ashlsi3.S: Fix typos.
6124 * config/picochip/ashrsi3.S: Fix typos.
6125 * config/picochip/clzsi2.S: Fix typos.
6126 * config/picochip/cmpsi2.S: Fix typos.
6127 * config/picochip/divmod15.S: Fix typos.
6128 * config/picochip/divmodhi4.S: Fix typos.
6129 * config/picochip/divmodsi4.S: Fix typos.
6130 * config/picochip/longjmp.S: Fix typos.
6131 * config/picochip/lshrsi3.S: Fix typos.
6132 * config/picochip/parityhi2.S: Fix typos.
6133 * config/picochip/popcounthi2.S: Fix typos.
6134 * config/picochip/setjmp.S: Fix typos.
6135 * config/picochip/subdi3.S: Fix typos.
6136 * config/picochip/ucmpsi2.S: Fix typos.
6137 * config/picochip/udivmodhi4.S: Fix typos.
6138 * config/picochip/udivmodsi4.S: Fix typos.
6139 * config/spu/divv2df3.c: Fix typos.
6140 * config/spu/mfc_multi_tag_release.c: Fix typos.
6141 * config/spu/mfc_tag_release.c: Fix typos.
6142 * configure.ac: Fix typos.
6143 * configure: Regenerate.
6144
31a18a7e
ILT
61452012-05-25 Ian Lance Taylor <iant@google.com>
6146
6147 * config/i386/morestack.S (__morestack_non_split): Check whether
6148 caller is varargs and needs %bp to hold the stack frame on return.
6149
c5768510
OH
61502012-05-25 Olivier Hainque <hainque@adacore.com>
6151
6152 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
6153 sequence in the non pic case on VxWorks.
6154
7c7c339b
OH
61552012-05-24 Olivier Hainque <hainque@adacore.com>
6156
73fb7630 6157 * Makefile.in: Move dependency on install-unwind_h from
7c7c339b
OH
6158 "install-leaf" to "install".
6159
fdc1b7d3
OH
61602012-05-24 Olivier Hainque <hainque@adacore.com>
6161
6162 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
6163 Use a separate command for stamp removals.
6164
07ba94b9
AP
61652012-05-21 Andrew Pinski <apinski@cavium.com>
6166
6167 PR bootstrap/53183
6168 * configure.ac: Define the default includes to being none.
6169 * configure: Regenerate.
6170
4677d2eb
OH
61712012-05-16 Olivier Hainque <hainque@adacore.com>
6172
6173 * Makefile.in (install-unwind_h): Rename into ...
6174 (install-unwind_h-forbuild): New target.
6175 (all): Use it instead of the former install-unwind_h.
6176 (install-unwind_h): Reinstate, copy to user install destination
6177 for include files, not to the internal gcc object directory one.
6178 (install-leaf): Depend on it.
6179
7d67c380
OH
61802012-05-15 Olivier Hainque <hainque@adacore.com>
6181
6182 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
6183 register numbers. LR_REGNO replaces R_LR.
6184 (ucontext_for): New, helper for ...
6185 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
6186 and 5.3 of ...
6187 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
6188
aca06c90
RO
61892012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6190
6191 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
6192 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
6193 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
6194 i386/t-cpuinfo ...
6195 (i[34567]86-*-*, x86_64-*-*): ... here.
6196
6197 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
6198 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
6199
6200 * config/i386/i386-cpuinfo.c: Rename to ...
6201 * config/i386/cpuinfo.c: ... this.
6202 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
6203
6204 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
6205 (libgcc_cv_init_priority): New test.
6206 * configure: Regenerate.
6207 * config.in: New file.
6208 * Makefile.in (clean): Rename config.h to auto-target.h.
6209 (config.h): Likewise.
6210 (stamp-h): Likewise.
6211
6212 * config/i386/cpuinfo.c (auto-target.h): Include.
6213 (CONSTRUCTOR_PRIORITY): Define.
6214 (__cpu_indicator_init): Use it.
6215
0d03ac1b
L
62162012-05-09 H.J. Lu <hongjiu.lu@intel.com>
6217
6218 * longlong.h: Use a URL instead of an FSF postal address.
6219 Replace spaces with tab.
6220
4a172156 62212012-05-08 Teresa Johnson <tejohnson@google.com>
4e8ee9cb
TJ
6222
6223 * libgcov.c (gcov_clear, __gcov_reset): New functions.
6224 (__gcov_dump): Ditto.
6225 (gcov_dump_complete): New global variable.
6226 (gcov_exit): Export hidden to enable use in L_gcov_dump.
6227 (__gcov_flush): Outline functionality now in gcov_clear.
6228 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
6229
e4bb767e
AJ
62302012-04-28 Aurelien Jarno <aurelien@aurel32.net>
6231
31a18a7e
ILT
6232 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
6233 (mips*-*-linux*): Include mips/t-tpbit when long double is
6234 16 bytes long.
e4bb767e 6235
5ddecff9
ST
62362012-04-25 Sriraman Tallam <tmsriram@google.com>
6237
6238 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
6239 (get_available_features): New argument. Check for AVX2.
6240 (__cpu_indicator_init): Modify call to get_available_features.
6241
b427dd7a
AM
62422012-04-25 Alan Modra <amodra@gmail.com>
6243
6244 * config/rs6000/crtsavevr.S: New file.
6245 * config/rs6000/crtrestvr.S: New file.
6246 * config/rs6000/t-savresfgpr: Build the above.
6247 * config/rs6000/t-netbsd: Likewise.
6248
ad491329
ST
62492012-04-24 Sriraman Tallam <tmsriram@google.com>
6250
6251 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
6252
792317cc
ST
62532012-04-24 Sriraman Tallam <tmsriram@google.com>
6254
6255 * libgcc/config/i386/i386-cpuinfo.c: New file.
6256 * libgcc/config/i386/t-cpuinfo: New file.
6257 * libgcc/config.host: Include t-cpuinfo.
6258 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
6259
e1be98a4
CF
62602012-04-24 Chao-ying Fu <fu@mips.com>
6261
6262 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
6263
1bde7dab
TS
62642012-04-20 Thomas Schwinge <thomas@codesourcery.com>
6265
6266 struct siginfo vs. siginfo_t
6267
6268 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
6269 siginfo_t instead of struct siginfo.
6270 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
6271 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
6272 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
6273 (ia64_handle_unwabi): Likewise.
6274 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
6275 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
6276 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
6277 (sh_fallback_frame_state): Likewise.
6278 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
6279 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
6280
24590f66
L
62812012-04-02 H.J. Lu <hongjiu.lu@intel.com>
6282
6283 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
6284 system call number.
6285
9a9dcce8
EB
62862012-03-31 Eric Botcazou <ebotcazou@adacore.com>
6287
6288 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
6289 if it hasn't been previously saved.
6290
6401aaf5
L
62912012-03-29 H.J. Lu <hongjiu.lu@intel.com>
6292
6293 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
6294 only for glibc.
6295
7fd6378e
GJL
62962012-03-28 Georg-Johann Lay <avr@gjlay.de>
6297
6298 PR target/52737
6299 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
6300 instead of __AVR_HAVE_8BIT_SP__.
6301
9e916de7
TG
63022012-03-26 Tristan Gingold <gingold@adacore.com>
6303
6304 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
6305 (unw_table_entry): Use unw_word instead of unsigned long.
6306 (_Unwind_FindTableEntry): Likewise.
6307 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
6308 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
6309 (_Unwind_FindTableEntry): Likewise.
6310 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
6311 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
6312 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
6313 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
6314 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
6315 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
6316 (uw_init_context_1, uw_install_context): Likewise.
6317 (unw_word): Move to unwind-ia64.h
6318
4b12e93d
TG
63192012-03-26 Tristan Gingold <gingold@adacore.com>
6320
6321 * config/vms/vms-ucrt0.c: Update copyright years.
6322 Add a sanity check.
6323 (___gcc_main_flags): Declare.
6324 (__main): Check flags to remap argv and exit code.
6325 * config.host (*-*-*vms*): Adjust extra_parts.
6326 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
6327 (crt0.o): Add.
6328
06ea7371
RE
63292012-03-22 Richard Earnshaw <rearnsha@arm.com>
6330
6331 * arm/lib1funcs.asm (ctzsi2): New function.
6332 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
6333 * arm/t-linux (LIB1ASMFUNCS): Likewise.
6334 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
6335 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
6336 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
6337 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
6338
d82ad50d
AT
63392012-03-21 Andreas Tobler <andreast@fgznet.ch>
6340
6341 * config.host: Add bits to support powerpc64-*-freebsd*.
6342 * config/rs6000/freebsd-unwind.h: New file.
6343 * config/rs6000/t-freebsd64: New file.
6344
b260a8c0
RG
63452012-03-20 Richard Guenther <rguenther@suse.de>
6346
6347 PR gcov-profile/52627
6348 * libgcov.c (init_mx): Fix mutex name.
6349
86286a8a
TG
63502012-03-16 Tristan Gingold <gingold@adacore.com>
6351
6352 * config/ia64/vms-unwind.h: Remove ulong (and replace
6353 it by unw_reg where used). Define unw_reg with __int64.
6354
7888f266
RO
63552012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6356
6357 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
6358 Solaris 8 handling.
6359 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
6360 Solaris 8 handling.
6361 (sparc_is_sighandler): Likewise.
6362
f155bc64
L
63632012-03-13 H.J. Lu <hongjiu.lu@intel.com>
6364
6365 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
6366 <= saved reg size.
6367
d47657bd
RO
63682012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6369
6370 * config/arm/crtn.S: Fix typo.
6371
5bef73a1
RG
63722012-03-13 Richard Guenther <rguenther@suse.de>
6373
6374 * libgcov.c: Remove stdio.h include and NULL un-define.
6375
9c4271f3
RG
63762012-03-13 Richard Guenther <rguenther@suse.de>
6377
6378 PR target/52569
6379 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
6380
c6d10e7c
RG
63812012-03-13 Richard Guenther <rguenther@suse.de>
6382
6383 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
6384
074a385f
RG
63852012-03-13 Richard Guenther <rguenther@suse.de>
6386
6387 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
6388 and __gthread_mutex_init_function definitions.
6389
c4bc5c25
RO
63902012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6391
6392 * config.host (mips*-*-openbsd*): Remove.
6393
5c30094f
RO
63942012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6395
6396 * config.host: Remove alpha*-dec-osf5.1* handling.
6397 * config/alpha/gthr-posix.c: Remove.
6398 * config/alpha/libgcc-osf5.ver: Remove.
6399 * config/alpha/osf5-unwind.h: Remove.
6400 * config/alpha/t-osf-pthread: Remove.
6401 * config/alpha/t-slibgcc-osf: Remove.
6402 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
6403 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
6404 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
6405 * mkmap-flat.awk: Remove osf_export handling.
6406
33e3e24d
RG
64072012-03-12 Richard Guenther <rguenther@suse.de>
6408
6409 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
6410 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6411 (__gthread_mutex_init_function): New function.
6412 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6413
6414 PR gcov/49484
6415 * libgcov.c: Include gthr.h.
6416 (__gcov_flush_mx): New global variable.
6417 (init_mx, init_mx_once): New functions.
6418 (__gcov_flush): Protect self with a mutex.
6419 (__gcov_fork): Re-initialize mutex after forking.
6420 * unwind-dw2-fde.c: Change condition under which to use
6421 __GTHREAD_MUTEX_INIT_FUNCTION.
6422
d8aba32a
TG
64232012-03-12 Tristan Gingold <gingold@adacore.com>
6424
6425 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
6426 * config/ia64/t-vms: Likewise.
6427
75ffafdc
MH
64282012-03-11 Michael Hope <michael.hope@linaro.org>
6429
4a172156
UB
6430 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
6431 for Thumb-2.
75ffafdc 6432
ef6c2c53
WL
64332012-03-07 Walter Lee <walt@tilera.com>
6434
6435 * config/tilepro/atomic.c: Rename "atomic_" prefix to
6436 "arch_atomic_".
6437 (atomic_xor): Rename and move definition to
6438 config/tilepro/atomic.h.
6439 (atomic_nand): Ditto.
6440 * config/tilepro/atomic.h: Rename "atomic_" prefix to
6441 "arch_atomic_".
6442 (arch_atomic_xor): Move from config/tilepro/atomic.c.
6443 (arch_atomic_nand): Ditto.
6444
4e30d980
GJL
64452012-03-07 Georg-Johann Lay <avr@gjlay.de>
6446
6447 PR target/52507
6448 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
6449
61108225
GJL
64502012-03-07 Georg-Johann Lay <avr@gjlay.de>
6451
6452 PR target/52505
6453 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
6454 from RAM.
6455
b30e10ab
GJL
64562012-03-07 Georg-Johann Lay <avr@gjlay.de>
6457
6458 PR target/52461
6459 PR target/52508
6460 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
6461 if RAMPZ affects reading from RAM.
6462 (__tablejump_elpm__): Ditto.
6463 (.xload): Ditto.
6464 (__movmemx_hi): Ditto.
6465 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
6466 (__do_global_dtors): Ditto.
6467 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
6468 (__movmemx_hi): Ditto.
6469
8993fde4
RH
64702012-03-05 Richard Henderson <rth@redhat.com>
6471
6472 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
6473 [ARM] (count_trailing_zeros): Use the builtin.
6474
b7633ee3
KT
64752012-03-01 Kai Tietz <ktietz@redhat.com>
6476
6477 * soft-fp: Imported from glibc upstream.
6478
fbd3340c
KT
64792012-02-28 Kai Tietz <ktietz@redhat.com>
6480
6481 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
6482 for mingw-targets as attribute gcc_struct.
6483
e9e053eb
ILT
64842012-02-28 Ian Lance Taylor <iant@google.com>
6485
6486 * generic-morestack.c (__splitstack_releasecontext): Correct call
6487 to __morestack_release_segments.
6488
d80c632e
ST
64892012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6490
6491 PR target/52390
6492 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
6493 for __linux__ when removing signals from __morestack_fullmask.
6494
0253a8b1
GJL
64952012-02-23 Georg-Johann Lay <avr@gjlay.de>
6496
6497 PR target/52261
6498 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
6499
e10e461e
UW
65002012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6501
6502 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
6503 instead of HAVE_INITFINI_ARRAY.
6504 * config/ia64/crtend.S: Likewise.
6505
0c0c6398
KT
65062012-02-20 Kai Tietz <ktietz@redhat.com>
6507
d7470374
KT
6508 PR libstdc++/52300
6509 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
6510
0c0c6398
KT
6511 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
6512 to w32-unwind.h header.
6513
78c27266
RS
65142012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6515
6516 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
6517 (mips*-*-linux*): Remove t-slibgcc-libgcc.
6518 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
6519 * config/mips/mips16.S (__mips16_rdhwr): Delete.
6520
5adeb246
RS
65212012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6522
6523 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
6524
672ed313
IS
65252012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6526
6527 PR libitm/52220
6528 * config/darwin-crt-tm.c: Correct typo.
e9e053eb 6529
e948a1fb
IS
65302012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6531 Patrick Marlier <patrick.marlier@gmail.com>
6532
6533 PR libitm/52220
6534 * config/darwin-crt-tm.c: Generate dummy functions.
6535
6017aed3
IS
65362012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6537 Patrick Marlier <patrick.marlier@gmail.com>
6538
6539 PR libitm/52042
6540 * config/darwin-crt-tm.c (getTMCloneTable): New function.
6541 (__doTMRegistrations): Call it.
e9e053eb 6542 (__doTMdeRegistrations): Likewise.
6017aed3 6543
2da8c1ad 65442012-01-15 Georg-Johann Lay <avr@gjlay.de>
7d296953
JJ
6545 Anatoly Sokolov <aesok@post.ru>
6546 Eric Weddington <eric.weddington@atmel.com>
2da8c1ad
GJL
6547
6548 PR target/52261
6549 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
6550 (__epilogue_restores__): Ditto.
6551
0f952eb4
EB
65522012-02-15 Eric Botcazou <ebotcazou@adacore.com>
6553
6554 PR target/51921
6555 PR target/52205
6556 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
6557 Solaris 11 and slightly reformat.
6558 (sparc_is_sighandler): Likewise.
6559
dd552284
WL
65602012-02-14 Walter Lee <walt@tilera.com>
6561
6562 * config.host: Handle tilegx and tilepro.
6563 * config/tilegx/sfp-machine.h: New file.
6564 * config/tilegx/sfp-machine32.h: New file.
6565 * config/tilegx/sfp-machine64.h: New file.
6566 * config/tilegx/t-crtstuff: New file.
6567 * config/tilegx/t-softfp: New file.
6568 * config/tilegx/t-tilegx: New file.
6569 * config/tilepro/atomic.c: New file.
6570 * config/tilepro/atomic.h: New file.
6571 * config/tilepro/linux-unwind.h: New file.
6572 * config/tilepro/sfp-machine.h: New file.
6573 * config/tilepro/softdivide.c: New file.
6574 * config/tilepro/softmpy.S: New file.
6575 * config/tilepro/t-crtstuff: New file.
6576 * config/tilepro/t-tilepro: New file.
6577
b59cbd50
JW
65782012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
6579
6580 PR libstdc++/51296
6581 PR libstdc++/51906
6582 * gthr-posix.h: Allow static initializer macros to be disabled.
6583 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
6584
6caf807f
CLT
65852012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
6586
6587 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
6588 Add t-slibgcc-libgcc to tmake_file.
6589 * config/mips/libgcc-mips16.ver: Revert previous patch.
6590 * config/mips/mips16.S (__mips16_rdhwr): Hide.
6591
7d296953
JJ
65922012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
6593 Jayant R Sonar <jayant.sonar@kpitcummins.com>
b25364a0
S
6594
6595 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
6596 * config/cr16/crti.S: New file.
6597 * config/cr16/crtlibid.S: New file.
6598 * config/cr16/crtn.S: New file.
6599 * config/cr16/lib1funcs.S: New file.
6600 * config/cr16/t-cr16: New file.
6601 * config/cr16/t-crtlibid: New file.
6602 * config/cr16/unwind-dw2.h: New file.
6603 * config/cr16/unwind-cr16.c: New file.
6604 * config/cr16/divmodhi3.c: New file.
6605
8ef03aa7
AM
66062012-01-25 Alan Modra <amodra@gmail.com>
6607
6608 * config/rs6000/t-linux64: Delete. Move..
6609 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
6610 * config/rs6000/t-linux: ..and libgcc flags to here.
6611
daecebc8
DR
66122012-01-22 Douglas B Rupp <rupp@gnat.com>
6613
6614 * config.host (i[34567]86-*-interix3*):
8ef03aa7 6615 Change triplet to i[34567]86-*-interix[3-9]*.
daecebc8
DR
6616 * configure: Regenerate.
6617
ddaf8125
RS
66182012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
6619 Richard Sandiford <rdsandiford@googlemail.com>
6620
6621 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
6622 * config/mips/mips16.S (__mips16_rdhwr): New function.
6623 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
6624
2cd8b32c
NS
66252012-01-11 Nathan Sidwell <nathan@acm.org>
6626
6627 * libgcov.c (__gcov_init): Ignore objects with no functions.
6628
cba300dd
GJL
66292012-01-10 Georg-Johann Lay <avr@gjlay.de>
6630
6631 PR target/49868
6632 Extend __pgmx semantics to linearize memory.
6633 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
6634 * config/avr/lib1funcs.S (__xload_1): New function.
6635 (__movmemx_qi, __movmemx_hi): New functions.
6636 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
6637 semantics.
9ffaf4bc 6638
3d137660
EB
66392012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6640
6641 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
6642 purported sigacthandler address isn't null before dereferencing it.
6643 (sparc_is_sighandler): Likewise.
6644
bf4db96c
EB
66452012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6646
6647 PR ada/41929
6648 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
6649 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
6650 (sparc_is_sighandler): Likewise.
6651 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
6652
1ab3568b
TG
66532012-01-06 Tristan Gingold <gingold@adacore.com>
6654
6655 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
6656 compatibility thunks...
6657 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
6658 (crtbeginS.o, crtendS.o): ... and these to ...
6659 * config/ia64/t-ia64-elf: ... this new file.
6660 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
6661 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
6662
925b0ed8
AK
66632012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6664
6665 * configure: Regenerate.
6666 * config/s390/t-crtstuff: Remove -fPIC.
6667
a99ad737
JW
66682012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
6669
6670 PR bootstrap/51006
6671 * enable-execute-stack-mprotect.c (getpagesize): Do not define
6672 for NetBSD.
6673
884f56d1
GJL
66742012-01-02 Georg-Johann Lay <avr@gjlay.de>
6675
6676 PR target/51345
6677 * config/avr/lib1funcs.S: Remove FIXME comments.
6678 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
6679
8c57e547
GJL
66802012-01-02 Georg-Johann Lay <avr@gjlay.de>
6681
6682 Implement light-weight DImode support.
6683 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
6684 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
6685 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
6686 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
6687
04dbc287
NS
66882011-12-30 Nathan Sidwell <nathan@acm.org>
6689
6690 * libgcov.c (gcov_crc32): Remove global var.
6691 (free_fn_data): New function.
6692 (buffer_fn_data): Pass in filename, more robust error recovery.
6693 (crc32_unsigned): New function.
6694 (gcov_exit): More robust detection of new program. More robust
6695 error recovery.
6696 (__gcov_init): Do not update program's crc here.
6697
8e1d97d4
TG
66982011-12-21 Tristan Gingold <gingold@adacore.com>
6699
6700 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
6701
9ffaf4bc
ILT
67022011-12-21 Ian Lance Taylor <iant@google.com>
6703
6704 * config/i386/morestack.S: Simplify CFI opcodes throughout.
6705
a0c8d0c1
ILT
67062011-12-20 Ian Lance Taylor <iant@google.com>
6707
6708 * config/i386/morestack.S (__morestack_non_split): If there is
6709 enough stack space already, don't split. Ask for more stack space
6710 than we required.
6711
69048898
SDJ
67122011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
6713
6714 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
6715 `sys/sdt.h'.
6716 (_Unwind_DebugHook): New function.
6717 (uw_restore_core_regs): New define.
6718 (unwind_phase2): Use uw_restore_core_regs instead of
6719 restore_core_regs.
6720 (unwind_phase2_forced): Likewise.
6721 (__gnu_Unwind_Resume): Likewise.
6722
1bb4b6a3
UB
67232011-12-20 Uros Bizjak <ubizjak@gmail.com>
6724
6725 * config/alpha/linux-unwind.h: Update copyright years.
6726 (MD_FROB_UPDATE_CONTEXT): New define.
6727 (alpha_frob_update_context): New function.
6728
eb028768
RS
67292011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
6730
6731 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
6732 tmake_file rather replacing it.
6733
6a2045bf
IS
67342011-12-15 Iain Sandoe <iains@gcc.gnu.org>
6735
6736 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1bb4b6a3 6737 function is not used for PPC64.
6a2045bf
IS
6738 (save_world): Amend comments. Update the VRsave mask to reflect the
6739 saved regs.
6740 (rest_world): Update comments, do not clobber r10, do not use r8.
6741 (eh_rest_world_r10): Amend comments, do not use r8.
6742 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
6743 no longer used, move restore of CR and target address to the end of
6744 the routine.
6745
a13780a6
L
67462011-12-14 H.J. Lu <hongjiu.lu@intel.com>
6747
6748 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
6749 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
6750
d7288dfb
GJL
67512011-12-14 Georg-Johann Lay <avr@gjlay.de>
6752
6753 PR target/49313
6754 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
6755 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
6756
8d2c862d
EB
67572011-12-11 Eric Botcazou <ebotcazou@adacore.com>
6758
6759 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
6760
3447cae6
GJL
67612011-12-09 Georg-Johann Lay <avr@gjlay.de>
6762
6763 PR target/49313
6764 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
6765 * config/avr/lib1funcs.S (__muldi3): New function.
6766
806fc6aa
AP
67672011-12-06 Andrew Pinski <apinski@cavium.com>
6768
6769 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
6770 size of func_ptr.
6771 (__frame_dummy_init_array_entry): Likewise.
6772
28c5e6b5
GJL
67732011-12-06 Georg-Johann Lay <avr@gjlay.de>
6774
6775 Forward-port from gcc-4_6-branch r181936 2011-12-02.
6776
6777 PR target/51345
6778 PR target/51002
6779 * config/avr/lib1funcs.S (__prologue_saves__,
6780 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
6781 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
6782
8f90394a
IS
67832011-12-04 Iain Sandoe <iains@gcc.gnu.org>
6784
6785 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
6786
06dd33ac
JDA
67872011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6788
6789 PR other/51272
6790 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
6791 (_ITM_deregisterTMCloneTable): Likewise.
6792 (__register_frame_info): Fix unused warning.
6793 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
6794 pthread_default_stacksize_np): Likewise.
6795 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1bb4b6a3 6796
85b8555e
DD
67972011-11-29 DJ Delorie <dj@redhat.com>
6798
6799 * config.host (rl78-*-elf): New case.
6800 * config/rl78: New directory for the Renesas RL78.
6801
4d5ae4ea
BS
68022011-11-29 Bernd Schmidt <bernds@codesourcery.com>
6803
6804 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
6805 formatting.
6806
f9c55897
RO
68072011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6808
6809 PR other/51022
6810 * config/rs6000/t-savresfgpr: New file.
6811 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
6812 $(srcdir)/config/rs6000/eabi.S.
6813 * config/rs6000/t-ppccomm-ldbl: Remove.
6814 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
6815 tmake_file.
6816 (powerpc-*-eabispe*): Likewise.
6817 (powerpc-*-eabi*): Likewise.
6818 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
6819 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
6820 to tmake_file, remove rs6000/t-ppccomm-ldbl.
6821 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
6822 tmake_file.
6823 (powerpc-*-eabisim*): Likewise.
6824 (powerpc-*-elf*): Likewise.
6825 (powerpc-*-eabialtivec*): Likewise.
6826 (powerpc-xilinx-eabi*): Likewise.
6827 (powerpc-*-rtems*): Likewise.
6828 (powerpcle-*-elf*): Likewise.
6829 (powerpcle-*-eabisim*): Likewise.
6830 (powerpcle-*-eabi*): Likewise.
6831
a01207c4
ILT
68322011-11-27 Ian Lance Taylor <iant@google.com>
6833
6834 * generic-morestack.c (__splitstack_find): Check for NULL old
6835 stack value.
6836 (__splitstack_resetcontext): New function.
6837 (__splitstack_releasecontext): New function.
6838 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6839
2b0b8ab2
IS
68402011-11-27 Iain Sandoe <iains@gcc.gnu.org>
6841
6842 * config/darwin-crt-tm.c: Correct comments, use correct licence.
6843
c1d8101c
IS
68442011-11-27 Iain Sandoe <iains@gcc.gnu.org>
6845
6846 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
6847
8b281334
RH
68482011-11-26 Richard Henderson <rth@redhat.com>
6849
6850 * config/m68k/linux-atomic.c: New file.
6851 * config/m68k/t-linux: New file.
6852 * config.host (m68k-uclinux, m68k-linux): Use it.
6853
7546aa9d
RH
68542011-11-26 Richard Henderson <rth@redhat.com>
6855
6856 * crtstuff.c (__TMC_LIST__): Mark used not unused.
6857 (__TMC_END__): Only declare if hidden is available; in the definition,
6858 if hidden is unavailable add a null record.
6859 (deregister_tm_clones, register_tm_clones): New.
6860 (__do_global_dtors_aux, frame_dummy): Use them.
6861 (__do_global_dtors, __do_global_ctors_1): Likewise.
6862
e2362f5d
IS
68632011-11-22 Iain Sandoe <iains@gcc.gnu.org>
6864
6865 * config/darwin-crt-tm.c: New file.
6866 * config.host (darwin): Build crttms.o crttme.o to provide
6867 startup and shutdown for tm clones.
6868 * config/t-darwin (crttms.o): New build rule.
6869 (crttme.o): Likewise.
6870
6685dd96
HPN
68712011-11-21 Hans-Peter Nilsson <hp@axis.com>
6872
6873 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
6874 et al.
6875
b0dc7e4c
RH
68762011-11-21 Richard Henderson <rth@redhat.com>
6877
6878 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
6879 (__TMC_LIST__, __TMC_END__): New.
6880 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
6881 (__do_global_dtors): Likewise.
6882 (frame_dummy): Call _ITM_registerTMCloneTable.
6883 (__do_global_ctors_1): Likewise.
6884
d4b4b542
RO
68852011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6886
6887 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
6888 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
6889 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
6890 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
6891 * config/i386/t-darwin64: Remove.
6892 * config/sh/t-netbsd (LIB2ADD): Remove.
6893
989bdb74
GJL
68942011-11-21 Georg-Johann Lay <avr@gjlay.de>
6895
6896 PR target/49313
6897 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
6898 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
6899 * config/avr/lib1funcs.S (wmov): New assembler macro.
6900 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
6901 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
6902 (__udivmod64): New function.
6903 (__negdi2): New function.
6904
515a0cfc
GP
69052011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
6906
6907 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
6908 *-*-freebsd*aout*): Remove.
6909
0115d17f
HPN
69102011-11-20 Hans-Peter Nilsson <hp@axis.com>
6911
6912 * static-object.mk (c_flags-$o): Save c_flags.
6913 ($(base)$(objext)): Use it.
6914
93aeb62b
SE
69152011-11-18 Steve Ellcey <sje@cup.hp.com>
6916
6917 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
6918
7bc6df2c
GJL
69192011-11-18 Georg-Johann Lay <avr@gjlay.de>
6920
6921 PR target/49868
6922 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
6923 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
6924 New functions.
6925
425d737b
MGD
69262011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
6927
6928 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
6929 functions.
1bb4b6a3 6930 (aeabi_uidivmod): Likewise.
425d737b
MGD
6931 (umodsi3): Likewise.
6932 (divsi3): Likewise.
6933 (aeabi_idivmod): Likewise.
6934 (modsi3): Likewise.
6935
f2a176dc
TG
69362011-11-16 Tristan Gingold <gingold@adacore.com>
6937
6938 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
6939
7c209481
GJL
69402011-11-15 Georg-Johann Lay <avr@gjlay.de>
6941
6942 PR target/49868
6943 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
6944 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
6945
9dfd5832
JDA
69462011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6947
6948 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
6949 tmake_file list.
6950 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
6951 * config/pa/t-stublib64: Delete.
6952
f77dca5d
RH
69532011-11-12 Richard Henderson <rth@redhat.com>
6954
6955 * config/rs6000/linux-unwind.h (frob_update_context): Properly
6956 cast the pointer argument to _Unwind_SetGRPtr.
6957
902828f0
RO
69582011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6959
6960 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
6961
e14304ef
ILT
69622011-11-09 Ian Lance Taylor <iant@google.com>
6963
6964 * generic-morestack.c: Include <string.h>.
6965 (uintptr_type): Define.
6966 (struct initial_sp): Add dont_block_signals field. Reduce size of
6967 extra array by 1.
6968 (allocate_segment): Set prev field to NULL. Don't set
6969 __morestack_current_segment or __morestack_segments.
6970 (__generic_morestack): Update current->prev and *pp after calling
6971 allocate_segment.
6972 (__morestack_block_signals): Don't do anything if
6973 dont_block_signals is set.
6974 (__morestack_unblock_signals): Likewise.
6975 (__generic_findstack): Check for initial_sp == NULL. Add casts to
6976 uintptr_type.
6977 (__splitstack_block_signals): New function.
6978 (enum __splitstack_content_offsets): Define.
6979 (__splitstack_getcontext, __splitstack_setcontext): New functions.
6980 (__splitstack_makecontext): New function.
6981 (__splitstack_block_signals_context): New function.
6982 (__splitstack_find_context): New function.
6983 * config/i386/morestack.S (__morestack_get_guard): New function.
6984 (__morestack_set_guard, __morestack_make_guard): New functions.
6985 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6986
e3d871e4
RO
69872011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6988
6989 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
6990 (i[34567]86-*-mingw*): ... here.
6991 (x86_64-*-mingw*): ... here.
6992
e55cef40
RO
69932011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6994
6995 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
6996
5366b186
NS
69972011-11-07 Nathan Sidwell <nathan@acm.org>
6998
6999 * libgcov.c (struct gcov_fn_buffer): New struct.
7000 (buffer_fn_data): New helper.
7001 (gcov_exit): Rework for new gcov data structures.
7002
74155a6f
GJL
70032011-11-07 Georg-Johann Lay <avr@gjlay.de>
7004
7005 PR target/49313
7006 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
7007
200feb07
RO
70082011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7009
7010 * config.host (tmake_file): Correct comment.
7011 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
7012 t-libgcc-pic.
7013 (bfin*-uclinux*): Likewise.
7014 (bfin*-linux-uclibc*): Likewise.
7015 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
7016
7017 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
7018 assigning.
7019 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7020 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
7021 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7022 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
7023 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7024 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
7025 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
7026 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7027 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
7028 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
7029 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
7030 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
7031 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
7032
7033 * config/bfin/t-elf: Remove.
7034 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
7035
c9cd1a07
RO
70362011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7037
7038 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
7039 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
7040 (lm32-*-elf*, lm32-*-rtems*): Split into ...
7041 (lm32-*-elf*): ... this.
7042 (lm32-*-rtems*): ... and this.
7043 Add to tmake_file.
7044 (m32r-*-rtems*): Add to tmake_file.
7045 (moxie-*-rtems*): Likewise.
7046 (sparc-*-rtems*): Likewise.
7047 Remove t-rtems from tmake_file.
7048 (sparc64-*-rtems*): Likewise.
7049 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
7050 instead.
7051
9fbcc75d
RO
70522011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7053
7054 PR bootstrap/50982
7055 * config/gthr-posix.h: Move ...
7056 * gthr-posix.h: ... here.
7057 * config/gthr-lynx.h: Reflect this.
7058 * config/gthr-vxworks.h: Likewise.
7059 * config/rs6000/gthr-aix.h: Likewise.
7060 * configure.ac (target_thread_file): Likewise.
7061 * configure: Regenerate.
7062
76644b68
SH
70632011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
7064
7065 * config.host (arm*-*-rtemseabi*): New target.
7066
5e490f2a
JDA
70672011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7068
7069 PR other/50991
7070 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
7071 extra-parts.
7072
feeeff5c
JR
70732011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
7074
7075 * config.host (epiphany-*-elf*): New configuration.
7076 * config/epiphany: New Directory.
7077
d618bb2c
RC
70782011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
7079
7080 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
7081 * config/avr/t-rtems: New.
7082 Filter out _exit from LIB1ASMFUNCS.
7083
1bb6f778
DM
70842011-11-04 David S. Miller <davem@davemloft.net>
7085
7086 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
7087 * configure: Rebuild.
7088
9a7f7422
AK
70892011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7090
7091 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
7092 variable.
7093
e4fe948a
GJL
70942011-11-04 Georg-Johann Lay <avr@gjlay.de>
7095
7096 PR target/50931
7097 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
7098 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
7099
7084e037
JS
71002011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
7101
7102 PR target/50989
7103 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
7104
1a032034
RO
71052011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7106
7107 * config/c6x/t-elf (LIB2ADDEH): Set.
7108 * config/c6x/t-c6x-elf: Remove.
7109
d385f772
RO
71102011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7111
7112 * config/i386/sol2-ci.S: Rename to ...
7113 * config/i386/crti.S: ... this.
7114 * config/i386/sol2-cn.S: Rename to ...
7115 * config/i386/crtn.S: ... this.
7116 * config/sparc/sol2-ci.S: Rename to ...
7117 * config/sparc/crti.S: ... this.
7118 * config/sparc/sol2-cn.S: Rename to ...
7119 * config/sparc/crtn.S: ... this.
7120 * config/t-sol2 (CUSTOM_CRTIN): Remove.
7121 (crti.o, crtn.o): Remove.
7122
1ba878a9
TG
71232011-11-04 Tristan Gingold <gingold@adacore.com>
7124
7125 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
7126
02750c15
KK
71272011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
7128
7129 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
7130
bf86b067
HPN
71312011-11-03 Hans-Peter Nilsson <hp@axis.com>
7132
7133 * config.host (crisv32-*-none, cris-*-none): Remove.
7134 (crisv32-*-elf): Append to tmake_file, don't just set it.
7135 (cris-*-elf): Add missing t-fdpbit to tmake_file.
7136
d0bc53bd
RO
71372011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7138
7139 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
7140 (ecrtn$(objext)): Likewise.
7141 (ncrti$(objext)): Likewise.
7142 (ncrtn$(objext)): Likewise.
7143
036da830
AS
71442011-11-03 Andreas Schwab <schwab@redhat.com>
7145
7146 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
7147
d2a7d041
DM
71482011-11-02 David S. Miller <davem@davemloft.net>
7149
7150 * configure.ac: Set host_address on sparc too.
7151 * configure: Regenerate.
7152 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
7153 based upon host_address.
7154 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
7155
af8ed618
JM
71562011-11-02 Jason Merrill <jason@redhat.com>
7157
7158 * config/rs6000/t-ppccomm: Add missing \.
7159
5d1c8e77
RO
71602011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7161
7162 * gthr-single.h, gthr.h: New files.
7163 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
7164 config/gthr-vxworks.h, config/i386/gthr-win32.h,
7165 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
7166 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
7167 * config/i386/gthr-win32.c: Include "gthr-win32.h".
7168 * configure.ac (thread_header): New variable.
7169 Set it depending on target_thread_file.
7170 (gthr-default.h): Link from $thread_header.
7171 * configure: Regenerate.
7172 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
7173
852b75ed
RO
71742011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7175
7176 * configure.ac (tm_file_): New variable.
7177 Determine from tm_file.
7178 (tm_file, tm_defines): Substitute.
7179 * configure: Regenerate.
7180 * mkheader.sh: New file.
7181 * Makefile.in (clean): Remove libgcc_tm.h.
7182 ($(objects)): Depend on libgcc_tm.h.
7183 (libgcc_tm_defines, libgcc_tm_file): New variables.
7184 (libgcc_tm.h, libgcc_tm.stamp): New targets.
7185 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
7186 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
7187 ($(extra-parts)): Depend on libgcc_tm.h.
7188 * config.host (tm_defines, tm_file): New variable.
7189 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
7190 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
7191 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
7192 (avr-*-rtems*): Likewise.
7193 (avr-*-*): Likewise.
7194 (frv-*-elf): Likewise.
7195 (frv-*-*linux*): Likewise.
7196 (h8300-*-rtems*): Likewise.
7197 (h8300-*-elf*): Likewise.
7198 (i[34567]86-*-darwin*): Likewise.
7199 (x86_64-*-darwin*): Likewise.
7200 (rx-*-elf): Likewise.
7201 (tic6x-*-uclinux): Likewise.
7202 (tic6x-*-elf): Likewise.
7203 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
7204 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
7205 * config/i386/cygming-crtbegin.c: Likewise.
7206 * config/i386/cygming-crtend.c: Likewise.
7207 * config/ia64/fde-vms.c: Likewise.
7208 * config/ia64/unwind-ia64.c: Likewise.
7209 * config/libbid/bid_gcc_intrinsics.h: Likewise.
7210 * config/rs6000/darwin-fallback.c: Likewise.
7211 * config/stormy16/lib2funcs.c: Likewise.
7212 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
7213 * crtstuff.c: Likewise.
7214 * dfp-bit.h: Likewise.
7215 * emutls.c: Likewise.
7216 * fixed-bit.c: Likewise.
7217 * fp-bit.c: Likewise.
7218 * generic-morestack-thread.c: Likewise.
7219 * generic-morestack.c: Likewise.
7220 * libgcc2.c: Likewise.
7221 * libgcov.c: Likewise.
7222 * unwind-dw2-fde-dip.c: Likewise.
7223 * unwind-dw2-fde.c: Likewise.
7224 * unwind-dw2.c: Likewise.
7225 * unwind-sjlj.c: Likewise.
7226
f9989b51
RO
72272011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7228
7229 * configure.ac: Include ../config/picflag.m4.
7230 (GCC_PICFLAG): Call it.
7231 Substitute.
7232 * configure: Regenerate.
7233 * Makefile.in (gcc_srcdir): Remove.
7234 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
7235 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
7236 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
7237 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
7238 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
7239 Use $<.
7240 Remove comment.
7241 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
7242 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
7243 to refer to libgcc2.c.
7244 Use $<.
7245 * config/darwin-64.c: New file.
7246 * config/darwin-crt3.c: Remove comment.
7247 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
7248 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
7249 config/udivmodsi4.c: New files.
7250 * config/memcmp.c, config/memcpy.c, config/memmove.c,
7251 config/memset.c: New files.
7252 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
7253 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
7254 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
7255 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
7256 * config/t-openbsd-thread: New file.
7257 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
7258 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
7259 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
7260 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
7261 qrnnd.S.
7262 Adapt filename.
7263 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
7264 to refer to gthr-posix.c.
7265 * config/alpha/t-vms (LIB2ADD): Set.
7266 * config/alpha/vms-gcc_shell_handler.c: New file.
7267 * config/arm/bpabi.c, config/arm/fp16.c,
7268 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
7269 config/arm/unaligned-funcs.c: New files.
7270 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
7271 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7272 * config/arm/t-linux: Likewise.
7273 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
7274 * config/arm/t-netbsd: New file.
7275 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
7276 * config/arm/t-symbian (LIB2ADD_ST): Set.
7277 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
7278 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7279 * config/bfin/t-elf: New file.
7280 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
7281 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
7282 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
7283 config/c6x/ltf.c: New files.
7284 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
7285 (HOST_LIBGCC2_CFLAGS): Set.
7286 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
7287 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7288 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
7289 New files.
7290 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
7291 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
7292 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
7293 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
7294 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
7295 files.
7296 * config/frv/t-frv (LIB2ADD): Set.
7297 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7298 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
7299 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
7300 config/h8300/popcounthi2.c: New files.
7301 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7302 * config/i386/gthr-win32.c: New file.
7303 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
7304 * config/i386/t-cygwin: Likewise.
7305 * config/i386/t-darwin, config/i386/t-darwin64,
7306 config/i386/t-gthr-win32, config/i386/t-interix: New files.
7307 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
7308 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7309 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7310 * config/ia64/quadlib.c: New file.
7311 * config/ia64/t-hpux (LIB2ADD): Set.
7312 * config/ia64/t-ia64: Add comment.
7313 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
7314 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7315 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
7316 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
7317 * config/m32c/t-m32c (LIB2ADD): Set.
7318 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7319 * config/m32r/t-m32r: Likewise.
7320 * config/m68k/fpgnulib.c: New file.
7321 * config/m68k/t-floatlib (LIB2ADD): Set.
7322 (xfgnulib.c): New target.
7323 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
7324 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
7325 * config/mep/t-mep (LIB2ADD): Set.
7326 * config/microblaze/divsi3.asm: Rename to divsi3.S.
7327 * config/microblaze/moddi3.asm: Rename to moddi3.S.
7328 * config/microblaze/modsi3.asm: Rename to modsi3.S.
7329 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
7330 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
7331 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
7332 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
7333 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
7334 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
7335 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
7336 New files.
7337 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
7338 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
7339 * config/pa/fptr.c, config/pa/lib2funcs.S,
7340 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
7341 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7342 (LIB2ADD, LIB2ADD_ST): Set.
7343 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
7344 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
7345 Set.
7346 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
7347 * config/pdp11/t-pdp11: New file.
7348 * config/picochip/libgccExtras/adddi3.S,
7349 config/picochip/libgccExtras/ashlsi3.S,
7350 config/picochip/libgccExtras/ashrsi3.S,
7351 config/picochip/libgccExtras/clzsi2.S,
7352 config/picochip/libgccExtras/cmpsi2.S,
7353 config/picochip/libgccExtras/divmod15.S,
7354 config/picochip/libgccExtras/divmodhi4.S,
7355 config/picochip/libgccExtras/divmodsi4.S,
7356 config/picochip/libgccExtras/lshrsi3.S,
7357 config/picochip/libgccExtras/parityhi2.S,
7358 config/picochip/libgccExtras/popcounthi2.S,
7359 config/picochip/libgccExtras/subdi3.S,
7360 config/picochip/libgccExtras/ucmpsi2.S,
7361 config/picochip/libgccExtras/udivmodhi4.S,
7362 config/picochip/libgccExtras/udivmodsi4.S: New files.
7363 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
7364 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
7365 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
7366 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
7367 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
7368 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
7369 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
7370 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
7371 files.
7372 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
7373 (HOST_LIBGCC2_CFLAGS): Set.
7374 * config/rs6000/t-darwin64: New file.
7375 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
7376 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
7377 * config/rs6000/t-ppccomm (LIB2ADD): Add
7378 $(srcdir)/config/rs6000/tramp.S.
7379 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
7380 Add $(srcdir)/config/rs6000/eabi.S.
7381 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
7382 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
7383 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
7384 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
7385 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
7386 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
7387 * config/rs6000/tramp.S: New file.
7388 * config/s390/t-tpf: Remove.
7389 * config/sh/linux-atomic.S: New file.
7390 * config/sh/t-linux (LIB2ADD): Set.
7391 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
7392 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7393 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
7394 to unwind-dw2.c.
7395 (HOST_LIBGCC2_CFLAGS): Set.
7396 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7397 * config/spu/divmodti4.c, config/spu/divv2df3.c,
7398 config/spu/float_disf.c, config/spu/float_unsdidf.c,
7399 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
7400 config/spu/mfc_multi_tag_release.c,
7401 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
7402 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
7403 config/spu/multi3.c: New files.
7404 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
7405 (HOST_LIBGCC2_CFLAGS): Set.
7406 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
7407 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
7408 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
7409 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
7410 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
7411 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
7412 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
7413 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
7414 config/stormy16/umodsi3.c: New files.
7415 * config/xtensa/lib2funcs.S: New file.
7416 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7417 * config/xtensa/t-xtensa (LIB2ADD): Set.
7418 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
7419 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
7420 Add t-freebsd-thread to tmake_file for posix threads.
7421 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
7422 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
7423 (*-*-lynxos*): Likewise.
7424 (*-*-netbsd*): Likewise.
7425 (*-*-openbsd*): Likewise.
7426 Add t-openbsd-thread to tmake_file for posix threads.
7427 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
7428 (*-*-vxworks*): Set tmake_file.
7429 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7430 (alpha*-*-freebsd*): Likewise.
7431 (alpha*-*-netbsd*): Likewise.
7432 (alpha*-*-openbsd*): Likewise.
7433 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
7434 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7435 (alpha*-dec-*vms*): Likewise.
7436 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
7437 (bfin*-elf*): Add bfin/t-elf to tmake_file.
7438 (bfin*-uclinux*): Likewise.
7439 (bfin*-linux-uclibc*): Likewise.
7440 (crisv32-*-elf): Add cris/t-cris to tmake_file.
7441 (crisv32-*-none): Likewise.
7442 (cris-*-elf): Likewise.
7443 (cris-*-none): Likewise.
7444 (cris-*-linux*, crisv32-*-linux*): Likewise.
7445 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
7446 tmake_file.
7447 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
7448 tmake_file.
7449 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
7450 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
7451 (x86_64-*-elf*): Likewise.
7452 (i[34567]86-*-nto-qnx*): Likewise.
7453 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
7454 win32 threads.
7455 (x86_64-*-mingw*): Likewise.
7456 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
7457 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
7458 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7459 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7460 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
7461 tmake_file.
7462 (mipsisa64sr71k-*-elf*): Likewise.
7463 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7464 (mips-*-elf*, mipsel-*-elf*): Likewise.
7465 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7466 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7467 (mips*-*-rtems*): Likewise.
7468 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
7469 to tmake_file.
7470 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
7471 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
7472 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
7473 (spu-*-elf*): Likewise.
7474 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
7475
45b86625
RO
74762011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7477
7478 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
7479 $(srcdir) to refer to $(LIB1ASMSRC).
7480 Use $<.
7481 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
7482 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
7483 config/arm/lib1funcs.S: New files.
7484 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
7485 * config/arm/t-arm: New file.
7486 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
7487 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
7488 config/arm/t-strongarm-elf: New files.
7489 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
7490 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
7491 * config/avr/lib1funcs.S: New file.
7492 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7493 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
7494 * config/c6x/lib1funcs.S: New file.
7495 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7496 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
7497 * config/frv/lib1funcs.S: New file.
7498 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7499 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
7500 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
7501 * config/ia64/__divxf3.asm: Rename to ...
7502 * config/ia64/__divxf3.S: ... this.
7503 Adapt lib1funcs.asm filename.
7504 * config/ia64/_fixtfdi.asm: Rename to ...
7505 * config/ia64/_fixtfdi.S: ... this.
7506 Adapt lib1funcs.asm filename.
7507 * config/ia64/_fixunstfdi.asm: Rename to ...
7508 * config/ia64/_fixunstfdi.S: ... this.
7509 Adapt lib1funcs.asm filename.
7510 * config/ia64/_floatditf.asm: Rename to ...
7511 * config/ia64/_floatditf.S: ... this.
7512 Adapt lib1funcs.asm filename.
7513 * config/ia64/lib1funcs.S: New file.
7514 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
7515 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7516 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
7517 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
7518 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
7519 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
7520 * config/mep/lib1funcs.S: New file.
7521 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7522 * config/mips/mips16.S: New file.
7523 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7524 * config/pa/milli64.S: New file.
7525 * config/pa/t-linux, config/pa/t-linux64: New files.
7526 * config/picochip/lib1funcs.S: New file.
7527 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7528 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
7529 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
7530 * config/sh/t-netbsd: New file.
7531 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
7532 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
7533 * config/sh/t-sh64: New file.
7534 * config/sparc/lb1spc.S: New file.
7535 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
7536 filename.
7537 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
7538 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
7539 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
7540 config/xtensa/lib1funcs.S: New files.
7541 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7542 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
7543 tmake_file.
7544 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
7545 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
7546 (arm*-*-linux*): Likewise.
7547 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
7548 arm*-*-linux-*eabi, add arm/t-linux otherwise.
7549 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
7550 (arm*-*-ecos-elf): Likewise.
7551 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7552 (arm*-*-rtems*): Likewise.
7553 (arm*-*-elf): Likewise.
7554 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
7555 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
7556 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
7557 (bfin*-uclinux*): Likewise.
7558 (bfin*-linux-uclibc*): Likewise.
7559 (bfin*-rtems*): Likewise.
7560 (bfin*-*): Likewise.
7561 (fido-*-elf): Merge into m68k-*-elf*.
7562 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
7563 (frv-*-*linux*): Add frv/t-frv to tmake_file.
7564 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
7565 (h8300-*-elf*): Likewise.
7566 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
7567 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
7568 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
7569 (i[34567]86-*-mingw*): Likewise.
7570 (x86_64-*-mingw*): Likewise.
7571 (i[34567]86-*-interix3*): Likewise.
7572 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
7573 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
7574 (m68k-*-elf*): Also handle fido-*-elf.
7575 Add m68k/t-floatlib to tmake_file.
7576 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
7577 (m68k-*-linux*): Likewise.
7578 (m68k-*-rtems*): Likewise.
7579 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
7580 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
7581 sh64*-*-*.
7582 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
7583 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
7584 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
7585 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
7586 sh/t-netbsd to tmake_file.
7587 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
7588 (sh-*-rtems*): Add sh/t-sh to tmake_file.
7589 (sh-wrs-vxworks): Likewise.
7590 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
7591 *-leon[3-9]*.
7592 (v850*-*-*): Add v850/t-v850 to tmake_file.
7593 (vax-*-linux*): Add vax/t-linux to tmake_file.
7594 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
7595
5f73c6cc
RO
75962011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7597
7598 * crtstuff.c: New file.
7599 * Makefile.in (CRTSTUFF_CFLAGS): Define.
7600 (CRTSTUFF_T_CFLAGS): Define.
7601 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
7602 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
7603 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
7604 crtstuff.c.
7605 Use $<.
7606 (crtbeginT.o): Use $(objext).
7607 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
7608 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
7609 (gcc-extra-parts): Remove.
7610 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
7611 Set extra_parts.
7612 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7613 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
7614 Add t-crtstuff-pic to tmake_file.
7615 (*-*-lynxos*): New case.
7616 Set tmake_file, extra_parts.
7617 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
7618 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
7619 *-*-netbsdelf[2-9]*.
7620 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
7621 (*-*-rtems*): Set extra_parts.
7622 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
7623 (*-*-uclinux*): New case.
7624 Set extra_parts.
7625 (*-*-vms*): New case.
7626 Set tmake_file, extra_parts.
7627 (*-*-elf): Set extra_parts.
7628 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
7629 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
7630 vms/t-vms64.
7631 Set extra_parts.
7632 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
7633 Set extra_parts.
7634 (arm*-*-freebsd*): Add t-crtin to tmake_file.
7635 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
7636 (arm-wrs-vxworks): Append to tmake_file.
7637 Set extra_parts.
7638 (arm*-*-uclinux*): Set extra_parts.
7639 (arm*-*-ecos-elf): Likewise.
7640 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
7641 arm*-*-eabi*.
7642 (arm*-*-rtems*): Set extra_parts.
7643 (arm*-*-elf): Likewise.
7644 (avr-*-rtems*): Clear extra_parts.
7645 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
7646 Set extra_parts.
7647 (bfin*-uclinux*): Likewise.
7648 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
7649 (bfin*-rtems*): Append to tmake_file.
7650 Set extra_parts.
7651 (bfin*-*): Likewise.
7652 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
7653 (crisv32-*-elf): ... this.
7654 (crisv32-*-none): ... this.
7655 (cris-*-elf, cris-*-none): New cases.
7656 Add cris/t-elfmulti to tmake_file.
7657 (fr30-*-elf): Append to tmake_file.
7658 Set extra_parts.
7659 (frv-*-elf): Append to tmake_file, add frv/t-frv.
7660 Set extra_parts.
7661 (h8300-*-rtems*): Append to tmake_file.
7662 Set extra_parts.
7663 (h8300-*-elf*): Likewise.
7664 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
7665 Set extra_parts.
7666 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
7667 Set extra_parts.
7668 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
7669 (x86_64-*-elf*): Likewise.
7670 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
7671 (x86_64-*-freebsd*): Likewise.
7672 (x86_64-*-netbsd*): Likewise.
7673 (i[34567]86-*-linux*): Likewise.
7674 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
7675 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
7676 (x86_64-*-linux*): Likewise.
7677 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
7678 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
7679 tmake_file.
7680 Set extra_parts.
7681 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
7682 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
7683 Append to extra_parts, remove crtbegin.o, crtend.o.
7684 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
7685 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
7686 crtend.o, crtbeginS.o, crtendS.o.
7687 (ia64*-*-linux*): Comment extra_parts.
7688 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
7689 Set extra_parts.
7690 (iq2000*-*-elf*): Clear extra_parts.
7691 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
7692 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
7693 (m32r-*-elf*, m32r-*-rtems*): Split off ...
7694 (m32r-*-rtems*): ... this.
7695 Add m32r/t-m32r to tmake_file.
7696 (m68k-*-elf*): Add t-crtin to tmake_file.
7697 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
7698 (mcore-*-elf): Likewise.
7699 (microblaze*-*-*): Set extra_parts.
7700 (mips*-sde-elf*): New case.
7701 Set tmake_file, extra_parts.
7702 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7703 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7704 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
7705 tmake_file.
7706 Set extra_parts.
7707 (mipsisa64sr71k-*-elf*): Likewise.
7708 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7709 (mips-*-elf*, mipsel-*-elf*): Likewise.
7710 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7711 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
7712 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7713 (mips*-*-rtems*): Likewise.
7714 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
7715 (moxie-*-*): Split into ...
7716 (moxie-*-elf, moxie-*-uclinux*): ... this.
7717 Add to extra_parts, remove crtbegin.o, crtend.o.
7718 (moxie-*-rtems*): New case.
7719 Set tmake_file.
7720 Clear extra_parts.
7721 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
7722 Set extra_parts.
7723 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7724 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
7725 tmake_file.
7726 Set extra_parts.
7727 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
7728 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
7729 Set extra_parts.
7730 (powerpc-*-eabisim*): Likewise.
7731 (powerpc-*-elf*): Likewise.
7732 (powerpc-*-eabialtivec*): Likewise.
7733 (powerpc-xilinx-eabi*): Likewise.
7734 (powerpc-*-eabi*): Likewise.
7735 (powerpc-*-rtems*): Likewise.
7736 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
7737 tmake_file.
7738 Set extra_parts.
7739 (powerpc-*-lynxos*): Add to tmake_file.
7740 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
7741 rs6000/t-crtstuff, t-crtstuff-pic.
7742 Set extra_parts.
7743 (powerpcle-*-eabisim*): Likewise.
7744 (powerpcle-*-eabi*): Likewise.
7745 (rx-*-elf): Remove extra_parts.
7746 (s390x-ibm-tpf*): Set extra_parts.
7747 (score-*-elf): Set extra_parts.
7748 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7749 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7750 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7751 (sh64l*-*-netbsd*): Split into ...
7752 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
7753 Add t-crtstuff-pic to tmake_file.
7754 Set extra_parts.
7755 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
7756 Set extra_parts.
7757 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
7758 (sparc-*-elf*): Remove t-crtin from tmake_file.
7759 Add to extra_parts, remove crtbegin.o, crtend.o.
7760 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
7761 (sparc64-*-linux*): Likewise.
7762 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
7763 Add to extra_parts, remove crtbegin.o, crtend.o.
7764 (sparc64-*-elf*): Remove t-crtin from tmake_file.
7765 Add to extra_parts, remove crtbegin.o, crtend.o.
7766 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
7767 Add to extra_parts, remove crtbegin.o, crtend.o.
7768 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
7769 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
7770 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
7771 Set extra_parts.
7772 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
7773 Set extra_parts.
7774 (tic6x-*-*): Change to ...
7775 (tic6x-*-elf): ... this.
7776 Set extra_parts.
7777 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
7778 Set extra_parts.
7779 (am33_2.0-*-linux*): Add comment.
7780 (mep*-*-*): Add mep/t-mep to tmake_file.
7781 Set extra_parts.
7782 * config/alpha/t-vms: New file.
7783 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
7784 * config/arm/crti.S, config/arm/crtn.S: New files.
7785 * config/bfin/crti.S, config/bfin/crtn.S: New files.
7786 * config/bfin/crtlibid.S: New file.
7787 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
7788 * config/c6x/crti.S, config/c6x/crtn.S: New files.
7789 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
7790 (crti.o, crtin.o): New rules.
7791 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7792 * config/c6x/t-uclinux: New file.
7793 * config/cris/t-elfmulti: New file.
7794 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
7795 * config/fr30/crti.S, config/fr30/crtn.S: New files.
7796 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
7797 * config/frv/t-frv: New file.
7798 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
7799 * config/h8300/crti.S, config/h8300/crtn.S: New files.
7800 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
7801 New files.
7802 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
7803 refer to cygming-crtbegin.c, cygming-crtend.c.
7804 Use $<.
7805 * config/i386/t-nto: New file.
7806 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
7807 * config/ia64/crti.S, config/ia64/crtn.S: New files.
7808 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
7809 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
7810 Use .S extension.
7811 Use $<.
7812 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7813 (crtinitS.o): New rule.
7814 * config/ia64/vms-crtinit.S: New file.
7815 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
7816 * config/m32r/initfini.c: New file.
7817 * config/m32r/t-linux, config/m32r/t-m32r: New files.
7818 * config/m68k/crti.S, config/m68k/crtn.S: New files.
7819 * config/mcore/crti.S, config/mcore/crtn.S: New files.
7820 * config/mep/t-mep: New file.
7821 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
7822 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
7823 * config/mips/crti.S, config/mips/crtn.S: New files.
7824 * config/mips/t-crtstuff: New file.
7825 * config/mmix/crti.S, config/mmix/crtn.S: New files.
7826 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
7827 (CUSTOM_CRTIN): Set.
7828 ($(T)crti.o, $(T)crtn.o): Remove $(T),
7829 dependencies.
7830 Use $(srcdir) to refer to crti.S, crtn.S.
7831 Use .S extension, $<.
7832 * config/moxie/crti.asm: Rename to ...
7833 * config/moxie/crti.S: ... this.
7834 * config/moxie/crtn.asm: Rename to ...
7835 * config/moxie/crtn.S: ... this.
7836 * config/moxie/t-moxie: Remove.
7837 * config/pa/stublib.c: New file.
7838 * config/pa/t-stublib, config/pa/t-stublib64: New files.
7839 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
7840 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
7841 * config/rs6000/t-crtstuff: New file.
7842 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
7843 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
7844 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
7845 Make output file explicit.
7846 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
7847 Make output file explicit.
7848 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
7849 Make output file explicit.
7850 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
7851 Make output file explicit.
7852 * config/score/crti.S, config/score/crtn.S: New files.
7853 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
7854 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
7855 files.
7856 * config/sh/t-sh, config/sh/t-superh: New files.
7857 * config/sparc/t-linux64: New file.
7858 * config/spu/cache.S, config/spu/cachemgr.c: New files.
7859 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
7860 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
7861 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
7862 * config/t-crtin: Remove.
7863 * config/t-crtstuff-pic: New file.
7864 * config/t-sol2 (CUSTOM_CRTIN): Set.
7865 (crti.o, crtn.o): New rules.
7866 * config/vms/t-vms: New file.
7867 * config/vms/vms-ucrt0.c: New file.
7868 * config/xtensa/t-elf: New file.
7869
b040f2be
RO
78702011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7871
7872 * Makefile.in (SHLIB_NM_FLAGS): Set.
7873 * mkmap-flat.awk, mkmap-symver.awk: New files.
7874 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
7875 exceptions.
7876 * configure: Regenerate.
7877 * config/libgcc-glibc.ver: New file.
7878 * config/libgcc-libsystem.ver: New file.
7879 * config/t-libunwind (SHLIB_LC): Set.
7880 * config/t-linux: New file.
7881 * config/t-slibgcc (INSTALL_SHLIB): New.
7882 (SHLIB_INSTALL): Use it.
7883 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
7884 to mkmap-symver.awk.
7885 (SHLIB_MAPFILES): Don't append, adapt pathname.
7886 (SHLIB_VERPFX): Set.
7887 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
7888 to mkmap-symver.awk.
7889 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
7890 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
7891 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
7892 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
7893 to mkmap-flat.awk.
7894 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
7895 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
7896 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
7897 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
7898 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
7899 * config/i386/libgcc-darwin.10.4.ver,
7900 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
7901 New files.
7902 * config/i386/t-darwin: Remove.
7903 * config/i386/t-darwin64: Likewise.
7904 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
7905 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
7906 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
7907 * config/i386/t-linux: New file.
7908 * config/i386/t-mingw32: New file.
7909 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
7910 * config/ia64/t-glibc: Rename to ...
7911 * config/ia64/t-linux: ... this.
7912 (SHLIB_MAPFILES): Set.
7913 * config/ia64/t-glibc-libunwind: Rename to ...
7914 * config/ia64/t-linux-libunwind: ... this.
7915 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
7916 * config/ia64/t-slibgcc-hpux: New file.
7917 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
7918 * config/m68k/t-slibgcc-elf-ver: New file.
7919 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
7920 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
7921 to mkmap-flat.awk.
7922 * config/pa/t-slibgcc-hpux: New file.
7923 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
7924 files.
7925 * config/rs6000/libgcc-darwin.10.4.ver,
7926 config/rs6000/libgcc-darwin.10.5.ver: New files.
7927 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
7928 config/rs6000/libgcc-glibc.ver.
7929 * config/rs6000/libgcc-ppc64.ver: Rename to
7930 config/rs6000/libgcc-ibm-ldouble.ver.
7931 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
7932 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
7933 * config/rs6000/t-ldbl128: Rename to ...
7934 * config/rs6000/t-linux: ... this.
7935 (SHLIB_MAPFILES): Adapt filename.
7936 * config/rs6000/t-slibgcc-aix: New file.
7937 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
7938 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
7939 libgcc-excl.ver, libgcc-glibc.ver.
7940 (SHLIB_LINK, SHLIB_INSTALL): Remove.
7941 * config/sparc/libgcc-glibc.ver: New file.
7942 * config/sparc/t-linux: New file.
7943 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
7944 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
7945 t-slibgcc-elf-ver to tmake_file.
7946 Add t-slibgcc-nolc-override to tmake_file for posix threads on
7947 *-*-freebsd[34].
7948 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7949 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
7950 t-slibgcc-elf-ver, t-linux to tmake_file.
7951 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
7952 tmake_file.
7953 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
7954 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
7955 (alpha*-dec-*vms*): Likewise.
7956 (arm*-*-freebsd*): Append to tmake_file.
7957 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
7958 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
7959 arm*-*-linux-*eabi.
7960 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
7961 tmake_file for arm*-*-symbianelf*.
7962 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
7963 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
7964 cris/t-linux.
7965 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
7966 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
7967 pa/t-slibgcc-dwarf-ver to tmake_file.
7968 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
7969 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
7970 (hppa*64*-*-hpux11*): Likewise.
7971 (hppa[12]*-*-hpux11*): Likewise.
7972 (x86_64-*-darwin*): Don't override tmake_file, but only keep
7973 i386/t-crtpc, i386/t-crtfm.
7974 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
7975 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7976 to tmake_file.
7977 Add i386/t-cygwin to tmake_file.
7978 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
7979 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
7980 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7981 to tmake_file.
7982 Add i386/t-mingw32 to tmake_file.
7983 (x86_64-*-mingw*): Likewise.
7984 (ia64*-*-freebsd*): Append to tmake_file.
7985 (ia64*-*-linux*): Append to tmake_file.
7986 Replace ia64/t-glibc by ia64/t-linux.
7987 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
7988 system libunwind.
7989 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
7990 t-slibgcc-hpux to tmake_file.
7991 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
7992 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
7993 (m32rle-*-linux*): Likewise.
7994 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
7995 sjlj exceptions.
7996 (microblaze*-linux*): New case.
7997 Append to tmake_file, add t-slibgcc-nolc-override.
7998 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
7999 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8000 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
8001 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8002 rs6000/t-slibgcc-aix to tmake_file.
8003 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8004 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8005 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8006 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8007 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8008 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
8009 sh*-*-linux*.
8010 (sparc-*-linux*): Append to tmake_file for *-leon*.
8011 Add sparc/t-linux to tmake_file for non-Leon targets.
8012 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
8013 (tic6x-*-uclinux): New case.
8014 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
8015 (tic6x-*-*): Add c6x/t-elf to tmake_file.
8016 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
8017 (am33_2.0-*-linux*): Append to tmake_file.
8018 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
8019 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
8020 x86_64-*-kfreebsd*-gnu.
8021 Add i386/t-linux to tmake_file.
8022
18b4bd7b
ILT
80232011-10-28 Ian Lance Taylor <iant@google.com>
8024
8025 * config/i386/morestack.S: Correct CFI information to do proper
8026 returns throughout function. In 32-bit mode, save %ebx so that it
8027 is restored on unwind.
8028
5b2d9d90
BS
80292011-10-25 Bernd Schmidt <bernds@codesourcery.com>
8030
8031 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
8032 case where B3 isn't the return register.
8033
0d53e346
BS
8034 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
8035 logic for doubleword pops.
8036
cbffbd59
AT
80372011-10-25 Andreas Tobler <andreast@fgznet.ch>
8038
8039 * config/rs6000/t-freebsd: Add wildcard.
8040
56dc349e
PB
80412011-10-21 Paul Brook <paul@codesourcery.com>
8042
8043 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
8044
1e06b07d
UB
80452011-10-16 Uros Bizjak <ubizjak@gmail.com>
8046 Eric Botcazou <ebotcazou@adacore.com>
8047
8048 PR target/50737
8049 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
8050 fs->signal_frame to 1.
8051
b5204884
ILT
80522011-10-07 Ian Lance Taylor <iant@google.com>
8053
8054 * generic-morestack-thread.c: #include <errno.h>.
8055
91a639a1
ILT
80562011-10-07 Ian Lance Taylor <iant@google.com>
8057
8058 PR target/46093
8059 * generic-morestack.c (__generic_morestack): Make sure the segment
8060 is large enough for both the stack frame and the copied
8061 parameters.
8062
cc49116d
RO
80632011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8064
8065 PR bootstrap/49804
8066 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
8067 extra_parts.
8068
2996d8c3
NC
80692011-09-28 Nick Clifton <nickc@redhat.com>
8070
8071 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
8072 64-bit doubles are not enabled.
8073 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
8074 and floatunsisf functions.
8075
1e874273 80762011-09-13 Paul Brook <paul@codesourcery.com>
2996d8c3 8077
1e874273
PB
8078 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
8079 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
8080 * unwind-arm-common.inc: New file.
8081 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
8082 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
8083 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
8084 * config/c6x/libunwind.S: New file.
8085 * config/c6x/pr-support.c: New file.
8086 * config/c6x/unwind-c6x.c: New file.
8087 * config/c6x/unwind-c6x.h: New file.
8088 * config/c6x/t-c6x-elf: New file.
8089
f70c879a
UB
80902011-08-23 Uros Bizjak <ubizjak@gmail.com>
8091
8092 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
8093 (ASM_DIVZERO): Ditto.
8094 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
8095
c55b374b
RS
80962011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
8097
8098 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
8099
1e138510
RS
81002011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
8101
8102 PR target/50090
8103 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
8104 instead of an assembly one.
8105
1563503d
PB
81062011-08-12 Paolo Bonzini <bonzini@gnu.org>
8107
8108 PR bootstrap/50047
8109 * Makefile.in (install-unwind_h): Create
8110 $(gcc_objdir)/include/unwind.h atomically.
8111
3627ac1a
RO
81122011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8113
8114 * Makefile.in (install-unwind_h): Remove destination file first.
8115
c6412d86
RO
81162011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8117
8118 * sync.c: New file.
8119 * config/mips/t-mips16: New file.
8120 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
8121 (mips*-*-linux*): Likewise.
8122 (mips*-sde-elf*): Likewise.
8123 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
8124 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
8125 Add mips/t-mips16 to tmake_file.
8126 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
8127 (mips-*-elf*): Likewise.
8128 (mips64-*-elf*): Likewise.
8129 (mips64orion-*-elf*): Likewise.
8130 (mips*-*-rtems*): Likewise.
8131 (mipstx39-*-elf*): Likewise.
8132 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
8133 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
8134 LIBGCC_SYNC_CFLAGS.
8135 Use $(srcdir) to refer to sync.c.
8136 Use $<.
8137 ($(libgcc-sync-funcs-o)): Likewise.
8138 ($(libgcc-sync-size-funcs-s-o)): Likewise.
8139 ($(libgcc-sync-funcs-s-o)): Likewise.
8140
3cb6e5bd
AS
81412011-08-09 Andreas Schwab <schwab@linux-m68k.org>
8142
8143 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
8144 t-libunwind.
8145
cca2207a
L
81462011-08-08 H.J. Lu <hongjiu.lu@intel.com>
8147
8148 PR other/48007
8149 * config/i386/value-unwind.h: New.
8150
ed39fbad
RS
81512011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
8152
8153 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
8154 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
8155 Add to tmake_file rather than overriding it.
8156
aca0b0b3
RO
81572011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8158
8159 * config/t-softfp: Remove.
8160 * soft-fp: Moved from ../gcc/config.
8161 * soft-fp/README: Remove t-softfp reference.
8162 * soft-fp/t-softfp: Move to config/t-softfp.
8163 (softfp_machine_header): Remove.
8164 (softfp_file_list): Remove config subdir.
8165 (soft-fp-objects): New variable.
8166 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
8167 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
8168 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
8169 * config/t-softfp-excl: New file.
8170 * config/t-softfp-sfdf: New file.
8171 * config/t-softfp-tf: New file.
8172 * config/no-sfp-machine.h: New file.
8173 * config/arm/sfp-machine.h: New file.
8174 * config/arm/t-softfp: New file.
8175 * config/c6x/sfp-machine.h: New file.
8176 * config/i386/32/t-fprules-softfp: Rename to ...
8177 * config/i386/32/t-softfp: ... this.
8178 (tifunctions, LIB2ADD): Remove.
8179 (softfp_int_modes): Override.
8180 * config/i386/64/t-softfp-compat (tf-functions): Remove config
8181 subdir.
8182 * config/i386/64/eqtf2.c: Likewise.
8183 * config/i386/64/getf2.c: Likewise.
8184 * config/i386/64/letf2.c: Likewise.
8185 * config/ia64/sft-machine.h: New file.
8186 * config/ia64/t-fprules-softfp: Rename to ...
8187 * config/ia64/t-softfp: ... this.
8188 * config/lm32/sfp-machine.h: New file.
8189 * config/moxie/t-moxie-softfp: Remove.
8190 * config/rs6000/ibm-ldouble-format: New file.
8191 * config/rs6000/ibm-ldouble.c: New file.
8192 * config/rs6000/libgcc-ppc-glibc.ver: New file
8193 * config/rs6000/libgcc-ppc64.ver: New file
8194 * config/rs6000/sfp-machine.h: New file.
8195 * config/rs6000/t-freebsd: New file.
8196 * config/rs6000/t-ibm-ldouble: New file.
8197 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
8198 libgcc-ppc-glibc.ver.
8199 * config/rs6000/t-linux64: New file.
8200 * config/rs6000/t-ppccomm (LIB2ADD): Add
8201 $(srcdir)/config/rs6000/ibm-ldouble.c.
8202 * config/rs6000/t-ppccomm-ldbl: New file.
8203 * config/score/sfp-machine.h: New file.
8204 * config.host (sfp_machine_header): Explain.
8205 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
8206 t-softfp to tmake_file.
8207 (arm*-*-uclinux*): Likewise.
8208 (arm*-*-ecos-elf): Likewise.
8209 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
8210 (arm*-*-rtems*): Likewise.
8211 (arm*-*-elf): Likewise.
8212 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
8213 in tmake_file.
8214 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
8215 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
8216 (lm32-*-uclinux*): Likewise.
8217 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
8218 t-softfp-excl, t-softfp.
8219 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
8220 (powerpc64-*-darwin*): Likewise.
8221 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
8222 to tmake_file.
8223 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
8224 tmake_file.
8225 (powerpc-*-eabisim*): Likewise.
8226 (powerpc-*-elf*): Likewise.
8227 (powerpc-*-eabialtivec*): Likewise.
8228 (powerpc-xilinx-eabi*): Likewise.
8229 (powerpc-*-rtems*): Likewise.
8230 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
8231 t-softfp-excl, t-softfp to tmake_file.
8232 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
8233 rs6000/t-ppccomm-ldbl to tmake_file.
8234 (powerpcle-*-elf*): Likewise.
8235 (powerpcle-*-eabisim*): Likewise.
8236 (powerpcle-*-eabi*): Likewise.
8237 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8238 rs6000/t-ibm-ldouble to tmake_file.
8239 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8240 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8241 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
8242 (tic6x-*-*): Likewise.
8243 (i[34567]86-*-darwin*, x86_64-*-darwin*,
8244 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
8245 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
8246 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
8247 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
8248 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
8249 t-softfp to tmake_file.
8250 * configure.ac (sfp_machine_header): Provide default if unset.
8251 Substitute.
8252 Link sfp-machine.h to config/$sfp_machine_header.
8253 * configure: Regenerate.
8254
569dc494
RO
82552011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8256
8257 * Makefile.in (double_type_size, long_double_type_size): Set.
8258 Remove $(fpbit-in-libgcc) support.
8259 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
8260 (fpbit-src): New variable.
8261 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
8262 Compile with -DFLOAT $(FPBIT_CFLAGS).
8263 Use $<.
8264 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
8265 Compile with $(FPBIT_CFLAGS).
8266 Use $<.
8267 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
8268 Compile with -DFLOAT $(TPBIT_CFLAGS).
8269 Use $<.
8270 * configure.ac (double_type_size, long_double_type_size):
8271 Determine and substitute.
8272 * configure: Regenerate.
8273 * fp-bit.c, fp-bit.h: New files.
8274 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
8275 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
8276 * config/mips/t-mips: New file.
8277 * config/mips/t-sdemtk: New file.
8278 * config/rs6000/ppc64-fp.c: New file.
8279 * config/rs6000/t-darwin (LIB2ADD): Add
8280 $(srcdir)/config/rs6000/ppc64-fp.c.
8281 * config/rs6000/t-ppc64-fp: New file.
8282 * config/rx/rx-lib.h: New file.
8283 * config/rx/t-rx (FPBIT): Set to true.
8284 ($(gcc_objdir)/fp-bit.c): Remove.
8285 (DPBIT): Set to true only with -m64bit-doubles.
8286 ($(gcc_objdir)/dp-bit.c): Remove.
8287 * config/sparc/t-softfp: Remove.
8288 * config/spu/t-elf: New file.
8289 * config/t-fdpbit, config/t-fpbit: New files.
8290 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
8291 (mips*-*-*): Likewise.
8292 (arm-wrs-vxworks): Likewise.
8293 (arm*-*-freebsd*): Likewise.
8294 (avr-*-rtems*): Add t-fpbit to tmake_file.
8295 (avr-*-*): Likewise.
8296 (bfin*-elf*): Add t-fdpbit to tmake_file.
8297 (bfin*-uclinux*): Likewise.
8298 (bfin*-linux-uclibc*): Likewise.
8299 (bfin*-rtems*): New case.
8300 Add t-fdpbit to tmake_file.
8301 (bfin*-*): Add t-fdpbit to tmake_file.
8302 (crisv32-*-elf): Likewise.
8303 (cris-*-linux*): Likewise.
8304 (fr30-*-elf): Likewise.
8305 (frv-*-elf, frv-*-*linux*): Likewise.
8306 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
8307 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
8308 (m32r-*-elf*): Likewise.
8309 (m32rle-*-elf*): Likewise.
8310 (m32r-*-linux*): Likewise.
8311 (m32rle-*-linux*): Likewise.
8312 (mcore-*-elf): Add t-fdpbit to tmake_file.
8313 (microblaze*-*-*): Likewise.
8314 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
8315 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
8316 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
8317 Fix typo.
8318 Add mips/t-tpbit to tmake-file.
8319 (mips*-*-linux*): Fix typo.
8320 (mips*-sde-elf*): New case
8321 Add mips/t-sdemtk unless using newlib.
8322 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
8323 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
8324 (mn10300-*-*): Likewise.
8325 (pdp11-*-*): Likewise.
8326 (picochip-*-*): Add t-fpbit to tmake_file.
8327 (powerpc-*-eabisimaltivec*): Likewise.
8328 (powerpc-*-eabisim*): Likewise.
8329 (powerpc-*-elf*): Likewise.
8330 (powerpc-*-eabialtivec*): Likewise.
8331 (powerpc-xilinx-eabi*): New case.
8332 Add t-fdpbit to tmake_file.
8333 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
8334 (powerpc-*-rtems*): Likewise.
8335 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
8336 tmake_file.
8337 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
8338 tmake_file.
8339 (powerpc-*-lynxos*): Likewise.
8340 (powerpcle-*-elf*): Likewise.
8341 (powerpcle-*-eabisim*): Likewise.
8342 (powerpcle-*-eabi*): Likewise.
8343 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8344 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
8345 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8346 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8347 (rx-*-elf): Add t-fdpbit to tmake_file.
8348 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8349 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8350 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8351 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
8352 sh*-*-netbsd*.
8353 (sh-*-rtems*): Add t-fdpbit to tmake_file.
8354 (sh-wrs-vxworks): Likewise.
8355 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
8356 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
8357 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
8358 (sparc64-*-rtems*): ... new case.
8359 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
8360 (spu-*-elf*): Likewise.
8361 Add spu/t-elf to tmake_file.
8362 (v850*-*-*): Add t-fdpbit to tmake_file.
8363 (xstormy16-*-elf): Likewise.
8364 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
8365 (mep*-*-*): Likewise.
8366
201cdb74
RO
83672011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8368
8369 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
8370 variables.
8371 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
8372 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
8373 (install-unwind_h): New target.
8374 (all): Depend on it.
8375 * config.host (unwind_header): New variable.
8376 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
8377 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8378 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
8379 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
8380 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
8381 Set unwind_header.
8382 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
8383 Set unwind_header.
8384 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
8385 arm*-*-eabi*.
8386 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
8387 Set unwind_header.
8388 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
8389 (ia64*-*-freebsd*): Likewise.
8390 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
8391 tmake_file.
8392 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
8393 $with_system_libunwind.
8394 (ia64*-*-hpux*): Set tmake_file.
8395 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
8396 (picochip-*-*): Set tmake_file.
8397 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
8398 md_unwind_header.
8399 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8400 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8401 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
8402 (xtensa*-*-elf*): Set tmake_file.
8403 (xtensa*-*-linux*): Likewise.
8404 * configure.ac: Include ../config/unwind_ipinfo.m4.
8405 Call GCC_CHECK_UNWIND_GETIPINFO.
8406 Link unwind.h to $unwind_header.
8407 * configure: Regenerate.
8408 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
8409 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
8410 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
8411 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
8412 * config/unwind-dw2-fde-darwin.c: New file.
8413 * config/arm/libunwind.S, config/arm/pr-support.c,
8414 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
8415 config/arm/unwind-arm.h,: New files.
8416 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
8417 config/ia64/t-eh-ia64, config/ia64/t-glibc,
8418 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
8419 config/ia64/t-vms, config/ia64/unwind-ia64.c,
8420 config/ia64/unwind-ia64.h: New files.
8421 * config/picochip/t-picochip: New file.
8422 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
8423 files.
8424 * config/rs6000/t-darwin (LIB2ADDEH): Set.
8425 * config/s390/t-tpf (LIB2ADDEH): Remove.
8426 * config/t-darwin (LIB2ADDEH): Set.
8427 * config/t-eh-dw2-dip: New file.
8428 * config/t-libunwind, config/t-libunwind-elf: New files.
8429 * config/t-sol2 (LIB2ADDEH): Remove.
8430 * config/xtensa/t-xtensa: New file.
8431
40f2f11f
L
84322011-08-02 H.J. Lu <hongjiu.lu@intel.com>
8433
8434 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
8435 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
8436 long long to check rt_sigreturn syscall.
8437
bd15e32c
AM
84382011-08-02 Alan Modra <amodra@gmail.com>
8439
8440 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8441 Restore for indirect call bcrtl from correct stack slot, and only
8442 if cfa+40 isn't valid.
8443
655b30bf
JB
84442011-08-01 Julian Brown <julian@codesourcery.com>
8445
8446 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
8447 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
8448 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
8449
247eb06f
JB
84502011-08-01 Julian Brown <julian@codesourcery.com>
8451
8452 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
8453 (libgcc-std.ver.in): Use above.
8454 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
8455 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
8456 throughout file.
8457 * config/t-fixedpoint-gnu-prefix: New file.
8458 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
8459 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
8460 instead of __PFX__.
8461
02a8fe00
L
84622011-07-28 H.J. Lu <hongjiu.lu@intel.com>
8463
8464 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
8465 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
8466 for x86-64. Properly check __x86_64__ and __LP64__.
8467
5fce9126
L
84682010-07-28 H.J. Lu <hongjiu.lu@intel.com>
8469
8470 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
8471 version.
8472 (_FP_WS_TYPE): Likewise.
8473 (_FP_I_TYPE): Likewise.
8474
2374a88a
AM
84752011-07-28 Alan Modra <amodra@gmail.com>
8476
8477 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8478 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
8479 in a plt call stub. Do restore r2 if stopped on bctrl.
8480
e44dbbe1
RO
84812011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8482
8483 * config.host (i[3456x]86-*-netware*): Remove.
8484 * config/i386/netware-crt0.c, config/i386/t-nwld,
8485 config/i386/t-slibgcc-nwld: Remove.
8486
bcead286
BS
84872011-07-15 Bernd Schmidt <bernds@codesourcery.com>
8488
8489 * config.host: Handle tic6x-*-*.
8490 * config/c6x/c6x-abi.h: New file.
8491
b3fe1584
RO
84922011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8493
8494 * config/i386/crtprec.c: New file.
8495 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
8496 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
8497 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
8498 (x86_64-*-darwin*): Likewise.
8499 (i[34567]86-*-solaris2*: Likewise.
8500
35d8090d
RO
85012011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8502
8503 * config/alpha/crtfastmath.c: New file.
8504 * config/i386/crtfastmath.c: New file.
8505 * config/ia64/crtfastmath.c: New file.
8506 * config/mips/crtfastmath.c: New file.
8507 * config/sparc/crtfastmath.c: New file.
8508
8509 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
8510 crtfastmath.c.
8511 Add -frandom-seed=gcc-crtfastmath.
8512 * config/alpha/t-crtfm: Remove.
8513 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
8514 * config/ia64/t-ia64 (crtfastmath.o): Remove.
8515
8516 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
8517 (alpha*-dec-osf5.1*): Likewise.
8518 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
8519 Add crtfastmath.o to extra_parts.
8520 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
8521 Add crtfastmath.o to extra_parts.
8522 (x86_64-*-darwin*): Likewise.
8523 (x86_64-*-mingw*): Likewise.
8524 (ia64*-*-elf*): Add t-crtfm to tmake_file.
8525 (ia64*-*-freebsd*): Likewise.
8526 (ia64*-*-linux*): Likewise.
8527 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
8528 Add crtfastmath.o to extra_parts.
8529
e141542e
RO
85302011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8531
8532 * config/darwin-crt3.o: New file.
8533 * config/rs6000/darwin-crt2.c: New file.
8534 * config/t-darwin: New file.
8535 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
8536 (crt2.o): New rule.
8537 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
8538 (powerpc-*-darwin*): Add crt2.o to extra_parts.
8539 (powerpc64-*-darwin*): Likewise.
8540
2d1efe2d
RO
85412011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8542
8543 * config/i386/netware-crt0.c: New file.
8544 * config/i386/t-nwld: Rename to ...
8545 * config/i386/t-slibgcc-nwld: ... this.
8546 * config/i386/t-nwld: New file.
8547 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
8548 tmake_file.
8549 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
8550 extra_parts.
8551
4a8bb046
RO
85522011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8553
8554 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
8555 i386/t-crtstuff.
8556 * configure: Regenerate.
8557
2d8d5935
RO
85582011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8559
8560 * dfp-bit.c, dfp-bit.h: New files.
8561 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
8562 variables.
8563 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
8564 ($(d64pbit-o)): Likewise.
8565 ($(d128pbit-o)): Likewise.
8566 * config/t-dfprules: New file.
8567 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
8568 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
8569 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8570 (x86_64-*-linux*): Likewise.
8571 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8572 (i[34567]86-*-cygwin*): Likewise.
8573 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
8574 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8575
2c50b2c3
RO
85762011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8577
8578 * Makfile.in (LIBGCOV): New variable.
8579 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
8580 * libgcov.c: New file.
8581
a039d7c2
RO
85822011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8583
8584 * fixed-bit.c, fixed-bit.h: New files.
8585 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
8586 refer to fixed-bit.c.
8587
1e4b2746
JM
85882011-07-07 Joseph Myers <joseph@codesourcery.com>
8589
8590 * config.host (*local*): Remove.
8591
fbdd5d87
RO
85922011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8593
8594 PR target/39150
8595 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
8596 like i?86-*-solaris2.1[0-9]*.
8597 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
8598 * configure.ac (i?86-*-solaris2*): Likewise.
8599 * configure: Regenerate.
8600
9e7714f4
TS
86012011-07-06 Thomas Schwinge <thomas@schwinge.name>
8602
8603 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8604 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
8605 md_unwind_header by splitting out of...
8606 (i[34567]86-*-linux*): ... this.
8607 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
8608 Remove md_unwind_header by splitting out of...
8609 (x86_64-*-linux*): ... this.
8610
6dab9931
GJL
86112011-07-04 Georg-Johann Lay <avr@gjlay.de>
8612
8613 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
8614
4be46d19
NC
86152011-06-28 Nick Clifton <nickc@redhat.com>
8616
8617 * config.host: Recognize all V850 variants.
8618
1da9434b
UB
86192011-06-22 Uros Bizjak <ubizjak@gmail.com>
8620
8621 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
8622
e4d48a4d
RO
86232011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8624
8625 * shared-object.mk (c_flags-$o): Save c_flags.
8626 ($(base)$(objext)): Use it.
8627 ($(base)_s$(objext)): Likewise.
8628
3801c801
BS
86292011-06-21 Bernd Schmidt <bernds@codesourcery.com>
8630
8631 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
8632 * libgcc-std.ver.in (GCC_4.7.0): New section.
8633
0ad8bb3b 86342011-06-16 Georg-Johann Lay <avr@gjlay.de>
1da9434b 8635
0ad8bb3b
GJL
8636 PR target/49313
8637 PR target/29524
8638 * config/avr/t-avr: Fix line endings.
8639 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
8640 _parityXX2.
8641
ea963999
OH
86422011-06-14 Olivier Hainque <hainque@adacore.com>
8643 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8644
8645 * config/mips/irix6-unwind.h: New file.
8646 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
8647
b11b0904
EB
86482011-06-10 Eric Botcazou <ebotcazou@adacore.com>
8649
8650 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
8651 (sparc64_fallback_frame_state): Use it.
8652 (sparc64_frob_update_context): Further adjust context.
8653 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
8654 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
8655 * config/sparc/sol2-cn.S: Likewise.
8656
10e48e39
RO
86572011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8658
8659 * enable-execute-stack-empty.c: New file.
8660 * enable-execute-stack-mprotect.c: New file.
8661 * config/i386/enable-execute-stack-mingw32.c: New file.
8662 * config.host (enable_execute_stack): New variable.
8663 Select appropriate variants.
8664 * configure.ac: Link enable-execute-stack.c to
8665 $enable_execute_stack.
8666 * configure: Regenerate.
8667 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
8668 (lib2funcs): Remove _enable_execute_stack.
8669
10c4cabc
DM
86702011-06-09 David S. Miller <davem@davemloft.net>
8671 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8672
8673 * config.host (sparc-*-linux*): Correct md_unwind_header
8674 filename.
8675 (s390x-ibm-tpf*): Fix typo.
8676
aa4203e7
RO
86772011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8678
8679 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
8680 Add crtfastmath.o to extra_parts.
8681 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
8682 mips/t-crtfm.
8683 * config/mips/t-crtfm: Remove.
8684
0defd786
JDA
86852011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8686
8687 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
8688
82f247af
KK
86892011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
8690
8691 * config.host (sh*-*-linux*): Fix typo.
8692
58cd1d70
RO
86932011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8694
8695 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
8696 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
8697 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
8698 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
8699 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
8700 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
8701 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
8702 Wrap in !__MINGW64__.
8703 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
8704 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
8705 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
8706 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
8707 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
8708 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
8709 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
8710 Wrap in !__LP64__.
8711 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
8712 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
8713 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
8714 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
8715 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
8716 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
8717 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
8718 * config/no-unwind.h: New file.
8719 * config.host (md_unwind_header): Document.
8720 Define.
8721 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
8722 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
8723 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
8724 hppa[12]*-*-hpux11*): Set md_unwind_header.
8725 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
8726 Set md_unwind_header.
8727 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
8728 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
8729 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
8730 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
8731 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
8732 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
8733 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
8734 md_unwind_header.
8735 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
8736 * configure: Regenerate.
8737
737346fa
RO
87382011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8739
8740 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
8741 Set tmake_file, extra_parts.
8742 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
8743 Remove O32 support.
8744 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
8745 Remove O32 support.
8746 * config/mips/t-irix6: New file.
8747 * config/mips/t-slibgcc-irix: New file.
8748
c192cee6
RO
87492011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8750
8751 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
8752 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
8753
ee33b5f0
RO
87542011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8755
8756 * configure.ac (target_thread_file): Determine thread model.
8757 * configure: Regenerate.
8758 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
8759 * config/alpha/t-alpha: New file.
8760 * config/alpha/t-crtfm: Use $<.
8761 * config/alpha/t-ieee: New file.
8762 * config/alpha/t-osf-pthread: New file.
8763 * config/alpha/t-slibgcc-osf: New file.
8764 * config/alpha/libgcc-osf5.ver: New file.
8765
0699e415
RO
87662011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8767
8768 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
8769 tmake_file.
8770 Add crtfastmath.o to extra_parts.
8771
a3fab9c2
RO
87722011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8773
8774 * config/gmon-sol2.c: Reindent.
8775 Cleanup comments.
8776 Remove, correct casts.
8777 Use STDERR_FILENO, NULL.
8778 (BASEADDRESS): Remove.
8779 (minbrk): Remove.
8780 (errno, sbrk): Remove declarations.
8781 (monstartup) [hp300]: Remove.
8782 (mcount): Remove.
8783
ca24c5ad
RO
87842011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8785
8786 * Makefile.in (cpu_type): Define.
8787 * config.host (i[34567]86-*-rtems*): Handle it.
8788 (i[34567]86-*-solaris2*): Move body ...
8789 (*-*-solaris2*): ... here.
8790 New case, generalize.
8791 (sparc-*-elf*): Handle it.
8792 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
8793 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
8794 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
8795 Fold into ...
8796 (sparc*-*-solaris2*): ... this.
8797 New case.
8798 (sparc64-*-elf*): Handle it.
8799 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
8800 Merge ../gcc/config/i386/gmon-sol2.c.
8801 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
8802 Use C comments.
8803 Merge ../gcc/config/i386/sol2-gc1.asm.
8804 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
8805 Use C comments.
8806 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
8807 Use C comments.
8808 * config/i386/t-crtfm (crtfastmath.o): Use $<.
8809 * config/i386/t-crtstuff: New file.
8810 * config/i386/t-softfp: New file.
8811 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
8812 $(T)crti.o, $(T)crtn.o): Remove.
8813 (gcrt1.o): New rule.
8814 (TARGET_LIBGCC2_CFLAGS): Remove.
8815 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
8816 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
8817 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
8818 * config/sparc/t-sol2: New file.
8819 * config/sparc/t-crtfm: Move to ...
8820 * config/t-crtfm: ... this.
8821 Use $(cpu_type), $<.
8822 * config/t-crtin: New file.
8823 * config/sparc/t-softfp: New file.
8824 * config/sparc/t-softmul: New file.
8825 * config/t-rtems: New file.
8826 * config/t-slibgcc: New file.
8827 * config/t-slibgcc-elf-ver: New file.
8828 * config/t-slibgcc-gld: New file.
8829 * config/t-slibgcc-sld: New file.
8830 * config/t-sol2: New file.
8831 * configure.ac: Include ../config/lib-ld.m4.
8832 Call AC_LIB_PROG_LD_GNU.
8833 Substitute cpu_type.
8834 * configure: Regenerate.
8835
ad5f3d7b
BS
88362011-05-27 Bernd Schmidt <bernds@codesourcery.com>
8837
8838 PR bootstrap/49173
8839 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
8840 libgcc-std.ver in the build directory.
8841 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
8842 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
8843
cdbf4541
BS
88442011-05-25 Bernd Schmidt <bernds@codesourcery.com>
8845
8846 * libgcc-std.ver.in: New file.
8847 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
8848 variables.
8849 (libgcc-std.ver): New rule.
8850 * config/t-gnu-prefix: New file.
8851
c8028650
RO
88522011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8853
8854 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
8855
4a68b4ca
JM
88562011-05-10 Joseph Myers <joseph@codesourcery.com>
8857
8858 * config/i386/darwin-lib.h: New file.
8859
80cf2e08
JM
88602011-05-10 Joseph Myers <joseph@codesourcery.com>
8861
8862 * config/arm/symbian-lib.h: New.
8863
a3330c9d
CD
88642011-05-04 Chris Demetriou <cgd@google.com>
8865
8866 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
8867 (__x86.get_pc_thunk.bx): ...this.
8868 (__morestack): Adjust for rename, remove undef of __i686.
8869
6ace0756
CD
88702011-05-03 Chris Demetriou <cgd@google.com>
8871
8872 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
8873
ebb9f8b0
JM
88742011-03-22 Joseph Myers <joseph@codesourcery.com>
8875
8876 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
8877 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
8878 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
8879 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
8880 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
8881 Remove cases.
8882
9cfa1499
AT
88832011-03-14 Andreas Tobler <andreast@fgznet.ch>
8884
8885 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
8886 Adjust copyright year.
8887
457186f6
ILT
88882011-03-07 Ian Lance Taylor <iant@google.com>
8889
8890 * generic-morestack.c (__splitstack_find): Adjust returned stack
8891 pointer to include all registers pushed by __morestack.
8892
58c741a6
DK
88932011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
8894
8895 PR target/40125
8896 * configure.ac: Call ACX_NONCANONICAL_TARGET.
8897 (toolexecdir): Calculate and AC_SUBST.
8898 (toolexeclibdir): Likewise.
8899 * Makefile.in (target_noncanonical): Import.
8900 (toolexecdir): Likewise.
8901 (toolexeclibdir): Likewise.
8902 * configure: Regenerate.
8903
26716c44
NF
89042010-12-13 Nathan Froyd <froydnj@codesourcery.com>
8905
8906 PR target/46040
8907 * config/arm/bpabi.h: Rename to...
8908 * config/arm/bpabi-lib.h: ...this.
8909
b595b1a1
RO
89102010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8911
8912 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
8913 appropriate.
8914 * configure: Regenerate.
8915
a3abe41c
NF
89162010-11-24 Nathan Froyd <froydnj@codesourcery.com>
8917
8918 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
8919 __FLOAT_WORD_ORDER__.
8920 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
8921 Delete.
8922
455c8f48
RW
89232010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8924
8925 PR other/46202
8926 * Makefile.in (install-strip): New phony target.
8927
f3824a8b
ILT
89282010-11-07 Ian Lance Taylor <iant@google.com>
8929
8930 PR target/46089
8931 * config/i386/morestack.S (__morestack_large_model): New
8932 function.
8933
18ed6ee4
NF
89342010-10-23 Nathan Froyd <froydnj@codesourcery.com>
8935
8936 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
8937 Delete.
8938 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
8939
8ac7fdcb
NF
89402010-10-14 Nathan Froyd <froydnj@codesourcery.com>
8941
8942 * config/arm/bpabi.h: New file.
8943 * config/frv/frv-abi.h: New file.
8944
cdb388c2
ILT
89452010-10-01 Ian Lance Taylor <iant@google.com>
8946
8947 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
8948 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
8949
ef7c141c
L
89502010-10-01 H.J. Lu <hongjiu.lu@intel.com>
8951
8952 PR target/45858
8953 * config.host: Add the missing `$'.
8954
80920132
ME
89552010-09-30 Michael Eager <eager@eagercon.com>
8956
8957 * config.host: Add microblaze*-*-*.
8958 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
8959 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
8960 udivsi3.asm,umodsi3.asm}: New.
8961
6dace308
ILT
89622010-09-28 Ian Lance Taylor <iant@google.com>
8963
8964 * configure.ac: Adjust CFI test to test assembler directly rather
8965 than checking gcc preprocessor macro.
8966 * configure: Rebuild.
8967
b6110d6d
ILT
89682010-09-27 Ian Lance Taylor <iant@google.com>
8969
8970 * configure.ac: Test whether assembler supports CFI directives.
8971 * config.host: Only add t-stack and i386/t-stack-i386 to
8972 tmake_file if libgcc_cv_cfi is "yes".
8973 * configure: Rebuild.
8974
7458026b
ILT
89752010-09-27 Ian Lance Taylor <iant@google.com>
8976
8977 * generic-morestack.h: New file.
8978 * generic-morestack.c: New file.
8979 * generic-morestack-thread.c: New file.
8980 * config/i386/morestack.S: New file.
8981 * config/t-stack: New file.
8982 * config/i386/t-stack-i386: New file.
8983 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
8984 i386/t-stack-i386 to tmake_file.
8985
5b50fc0c
IS
89862010-09-21 Iain Sandoe <iains@gcc.gnu.org>
8987
8988 * Makefile.in (libgcc-extra-parts): Check for static archives and
8989 invoke ranlib after installing them.
8990 (gcc-extra-parts): Likewise.
8991 (install-leaf): Likewise.
8992
b93cf342
L
89932010-09-14 H.J. Lu <hongjiu.lu@intel.com>
8994
8995 * configure: Regenerated.
8996
996b42ef
KT
89972010-09-10 Kai Tietz <kai.tietz@onevision.com>
8998
b93cf342 8999 * configure: Regenerated.
996b42ef 9000
be1c764e
GP
90012010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
9002 Andrew Pinski <pinskia@gmail.com>
9003
1da9434b 9004 PR target/40959
be1c764e
GP
9005 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
9006
cc0ae0ca
L
90072010-09-06 H.J. Lu <hongjiu.lu@intel.com>
9008
9009 PR target/45524
9010 * configure: Regenerated.
9011
84f47d20
AS
90122010-09-06 Andreas Schwab <schwab@redhat.com>
9013
9014 * configure: Regenerate.
9015
4159fb8d
UB
90162010-09-03 Uros Bizjak <ubizjak@gmail.com>
9017
9018 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
9019 64bit targets.
9020 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
9021 for 64bit targets.
9022
0df8fcc8
UB
90232010-09-03 Uros Bizjak <ubizjak@gmail.com>
9024 Iain Sandoe <iains@gcc.gnu.org>
9025
9026 PR target/45476
9027 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
9028 LIB2FUNCS_EXCLUDE functions.
9029
3c39bca6
AK
90302010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9031
9032 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
9033 Include dfp.m4.
9034 * configure: Regenerate.
9035
d78552bd
UB
90362010-09-01 Uros Bizjak <ubizjak@gmail.com>
9037
9038 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
9039 i386/t-freebsd to tmake_file.
9040 * config/i386/t-freebsd: New file.
9041 * config/i386/libgcc-bsd.ver: New file.
9042
c5b79d4e
NF
90432010-07-23 Nathan Froyd <froydnj@codesourcery.com>
9044
9045 * config.host (powerpc*-eabispe*): Set tmake_file.
9046 (powerpc*-eabi*): Likewise.
9047 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
9048 crtbeginS, crtendS, crtbeginT.
9049
48b09a92
KH
90502010-06-12 Kazu Hirata <kazu@codesourcery.com>
9051
9052 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
9053 to tmake_file. Add crtfastmath.o to extra_parts.
9054 * config/mips/t-crtfm: New.
9055
7d296953 90562010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
a4389204
JS
9057
9058 * config.host (sparc64-*-rtems*): New target.
9059
ed104137
RO
90602010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9061
9062 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
9063 assembler syntax.
9064
3f56ef8b
TS
90652010-04-15 Thomas Schwinge <tschwinge@gnu.org>
9066
9067 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
9068
8c200350
RO
90692010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9070
9071 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
9072 alpha-dec-osf5.0* support.
9073
7d296953 90742010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
c1b14424
RC
9075
9076 * config.host: Add lm32-*-rtems*.
9077
f128db92 90782010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7d296953 9079 Uros Bizjak <ubizjak@gmail.com>
f128db92
RO
9080
9081 PR target/39048
9082 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
9083 like other remaining 32-bit x86 OSes.
9084 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
9085 assembler syntax.
9086 * config/i386/libgcc-sol2.ver: New file.
9087 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
9088
7d296953 90892010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
368fabd5
JH
9090
9091 PR c/43553
9092 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
9093 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
9094 is used and substitute set_use_emutls.
9095 * configure: Regenerated.
9096
15baf7f8
TG
90972010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
9098
9099 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
9100
7f5441df
RO
91012010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9102
9103 PR target/38085
9104 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
9105 MULTILIB_CFLAGS.
9106 ($(T)gcrt1.o): Likewise.
9107 ($(T)crt1.o): Likewise.
9108 ($(T)crti.o): Likewise.
9109 ($(T)crtn.o): Likewise.
9110
ef74edbd
RW
91112010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9112
9113 PR other/42980
9114 * Makefile.in (install): Use $(MAKE) string in rule, for
9115 parallel make.
9116
e7c914db
HPN
91172010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
9118
9119 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
9120 * config/mmix/t-mmix: New file.
9121 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
9122
1bcb71c4
JH
91232010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
9124
9125 PR java/41991
9126 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
9127 SHLIB_MAPFILES.
9128
e6e50811
AG
91292010-01-04 Anthony Green <green@moxielogic.com>
9130
9131 * config/moxie/crti.asm, config/moxie/crtn.asm,
9132 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
9133 config/moxie/t-moxie: New files.
9134 * config.host: Add t-moxie-softfp reference.
9135
7d296953 91362009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
ca8520ad
IS
9137
9138 PR other/39888
9139 * config/t-slibgcc-darwin: Fix embedded rpaths for
9140 --enable-version-specific-runtime-libs, build extension stub
9141 libs exposing features available from current libgcc_s.
9142
7d296953 91432009-11-11 Jon Beniston <jon@beniston.com>
aa4945c1 9144
d78552bd
UB
9145 * config.host: Add lm32 targets.
9146 * config/lm32: New directory.
9147 * config/lm32/libgcc_lm32.h: New file.
9148 * config/lm32/_mulsi3.c: New file.
9149 * config/lm32/_udivmodsi4.c: New file.
9150 * config/lm32/_divsi3.c: New file.
9151 * config/lm32/_modsi3.c: New file.
9152 * config/lm32/_udivsi3.c: New file.
9153 * config/lm32/_umodsi3.c: New file.
9154 * config/lm32/_lshrsi3.S: New file.
9155 * config/lm32/_ashrsi3.S: New file.
9156 * config/lm32/_ashlsi3.S: New file.
9157 * config/lm32/crti.S: New file.
9158 * config/lm32/crtn.S: New file.
9159 * config/lm32/t-lm32: New file.
9160 * config/lm32/t-elf: New file.
9161 * config/lm32/t-uclinux: New file.
aa4945c1 9162
65a324b4
NC
91632009-10-26 Nick Clifton <nickc@redhat.com>
9164
9165 * config.host: Add support for RX target.
9166 * config/rx: New directory.
9167 * config/rx/rx-abi-functions.c: New file. Supplementary
9168 functions for libgcc to support the RX ABI.
9169 * config/rx/rx-abi.h: New file. Supplementary header file for
9170 libgcc RX ABI functions.
9171 * config/rx/t-rx: New file: Makefile fragment for building
9172 libgcc for the RX.
9173
dfb3b0e3
UB
91742009-10-09 Uros Bizjak <ubizjak@gmail.com>
9175
9176 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
9177 constraint of y0 to "g".
9178
81dd9fd7
AK
91792009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9180
9181 * config.host: Include the s390 makefile fragments.
9182 * config/s390/32/_fixdfdi.c: New file.
9183 * config/s390/32/_fixsfdi.c: New file.
9184 * config/s390/32/_fixtfdi.c: New file.
9185 * config/s390/32/_fixunsdfdi.c: New file.
9186 * config/s390/32/_fixunssfdi.c: New file.
9187 * config/s390/32/_fixunstfdi.c: New file.
9188 * config/s390/32/t-floattodi: New file.
9189 * config/s390/libgcc-glibc.ver: New file.
9190 * config/s390/t-crtstuff: New file.
9191 * config/s390/t-linux: New file.
9192 * config/s390/t-tpf: New file.
9193
df58e648
RW
91942009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9195
9196 * configure.ac (AC_PREREQ): Bump to 2.64.
9197
79052be3
KK
91982009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
9199
9200 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
9201
5213506e
RW
92022009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9203
9204 * configure: Regenerate.
9205
a9a25daa
DR
92062009-08-09 Douglas B Rupp <rupp@gnat.com>
9207
9208 * config.host (ia64-hp-*vms*): New target.
9209 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
9210 with ia64-hp-*vms*.
9211
6efbd53f
RW
92122009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9213
9214 * configure.ac: Add snippet for maintainer-mode.
9215 * configure: Regenerate.
9216 * Makefile.in (AUTOCONF, configure_deps): New variables.
9217 ($(srcdir)/configure)): New rule, active only with maintainer
9218 mode turned on.
9219
7acf4da6
DD
92202009-06-23 DJ Delorie <dj@redhat.com>
9221
9222 Add MeP port.
9223 * config.host: Add mep support.
9224
54f549af
KT
92252009-06-22 Kai Tietz <kai.tietz@onevision.com>
9226
34481f28 9227 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 9228 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
34481f28
UB
9229
9230 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
9231 for mingw targets.
54f549af
KT
9232 * config/i386/64/_multc3.c: Likewise.
9233 * config/i386/64/_powitf2.c: Likewise.
9234 * config/i386/64/eqtf2.c: Likewise.
9235 * config/i386/64/getf2.c: Likewise.
9236 * config/i386/64/letf2.c: Likewise.
9237 * config/i386/64/letf2.c: Likewise.
34481f28
UB
9238 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
9239 unsigned long long for x64 mingw targets.
9240 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
9241 (_FP_I_TYPE): Define as long long for x64 mingw target.
54f549af 9242
fea96e25
MR
92432009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
9244
9245 * config.host (vax-*-linux*): New.
9246
cceb575c
AG
92472009-05-31 Anthony Green <green@moxielogic.com>
9248
9249 * config.host: Add moxie support.
9250 * config/moxie/t-moxie: New file.
9251
7d296953 92522009-05-29 David Billinghurst <billingd@gcc.gnu.org>
e997fb9c
DB
9253
9254 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 9255 t-softfp to tmake_file for i[34567]86-*-cygwin*.
e997fb9c 9256
532bfb0a
AJ
92572009-04-17 Aurelien Jarno <aurelien@aurel32.net>
9258
9259 * config.host: Add i386/${host_address}/t-fprules-softfp to
9260 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
9261
748086b7
JJ
92622009-04-09 Nick Clifton <nickc@redhat.com>
9263
9264 * config/ia64/tf-signs.c: Change copyright header to refer to
9265 version 3 of the GNU General Public License with version 3.1
9266 of the GCC Runtime Library Exception and to point readers at
9267 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
9268 web page.
9269 * config/i386/32/tf-signs.c: Likewise.
9270 * config/libbid/_addsub_dd.c: Likewise.
9271 * config/libbid/_addsub_sd.c: Likewise.
9272 * config/libbid/_addsub_td.c: Likewise.
9273 * config/libbid/_dd_to_df.c: Likewise.
9274 * config/libbid/_dd_to_di.c: Likewise.
9275 * config/libbid/_dd_to_sd.c: Likewise.
9276 * config/libbid/_dd_to_sf.c: Likewise.
9277 * config/libbid/_dd_to_si.c: Likewise.
9278 * config/libbid/_dd_to_td.c: Likewise.
9279 * config/libbid/_dd_to_tf.c: Likewise.
9280 * config/libbid/_dd_to_udi.c: Likewise.
9281 * config/libbid/_dd_to_usi.c: Likewise.
9282 * config/libbid/_dd_to_xf.c: Likewise.
9283 * config/libbid/_df_to_dd.c: Likewise.
9284 * config/libbid/_df_to_sd.c: Likewise.
9285 * config/libbid/_df_to_td.c: Likewise.
9286 * config/libbid/_di_to_dd.c: Likewise.
9287 * config/libbid/_di_to_sd.c: Likewise.
9288 * config/libbid/_di_to_td.c: Likewise.
9289 * config/libbid/_div_dd.c: Likewise.
9290 * config/libbid/_div_sd.c: Likewise.
9291 * config/libbid/_div_td.c: Likewise.
9292 * config/libbid/_eq_dd.c: Likewise.
9293 * config/libbid/_eq_sd.c: Likewise.
9294 * config/libbid/_eq_td.c: Likewise.
9295 * config/libbid/_ge_dd.c: Likewise.
9296 * config/libbid/_ge_sd.c: Likewise.
9297 * config/libbid/_ge_td.c: Likewise.
9298 * config/libbid/_gt_dd.c: Likewise.
9299 * config/libbid/_gt_sd.c: Likewise.
9300 * config/libbid/_gt_td.c: Likewise.
9301 * config/libbid/_isinfd128.c: Likewise.
9302 * config/libbid/_isinfd32.c: Likewise.
9303 * config/libbid/_isinfd64.c: Likewise.
9304 * config/libbid/_le_dd.c: Likewise.
9305 * config/libbid/_le_sd.c: Likewise.
9306 * config/libbid/_le_td.c: Likewise.
9307 * config/libbid/_lt_dd.c: Likewise.
9308 * config/libbid/_lt_sd.c: Likewise.
9309 * config/libbid/_lt_td.c: Likewise.
9310 * config/libbid/_mul_dd.c: Likewise.
9311 * config/libbid/_mul_sd.c: Likewise.
9312 * config/libbid/_mul_td.c: Likewise.
9313 * config/libbid/_ne_dd.c: Likewise.
9314 * config/libbid/_ne_sd.c: Likewise.
9315 * config/libbid/_ne_td.c: Likewise.
9316 * config/libbid/_sd_to_dd.c: Likewise.
9317 * config/libbid/_sd_to_df.c: Likewise.
9318 * config/libbid/_sd_to_di.c: Likewise.
9319 * config/libbid/_sd_to_sf.c: Likewise.
9320 * config/libbid/_sd_to_si.c: Likewise.
9321 * config/libbid/_sd_to_td.c: Likewise.
9322 * config/libbid/_sd_to_tf.c: Likewise.
9323 * config/libbid/_sd_to_udi.c: Likewise.
9324 * config/libbid/_sd_to_usi.c: Likewise.
9325 * config/libbid/_sd_to_xf.c: Likewise.
9326 * config/libbid/_sf_to_dd.c: Likewise.
9327 * config/libbid/_sf_to_sd.c: Likewise.
9328 * config/libbid/_sf_to_td.c: Likewise.
9329 * config/libbid/_si_to_dd.c: Likewise.
9330 * config/libbid/_si_to_sd.c: Likewise.
9331 * config/libbid/_si_to_td.c: Likewise.
9332 * config/libbid/_td_to_dd.c: Likewise.
9333 * config/libbid/_td_to_df.c: Likewise.
9334 * config/libbid/_td_to_di.c: Likewise.
9335 * config/libbid/_td_to_sd.c: Likewise.
9336 * config/libbid/_td_to_sf.c: Likewise.
9337 * config/libbid/_td_to_si.c: Likewise.
9338 * config/libbid/_td_to_tf.c: Likewise.
9339 * config/libbid/_td_to_udi.c: Likewise.
9340 * config/libbid/_td_to_usi.c: Likewise.
9341 * config/libbid/_td_to_xf.c: Likewise.
9342 * config/libbid/_tf_to_dd.c: Likewise.
9343 * config/libbid/_tf_to_sd.c: Likewise.
9344 * config/libbid/_tf_to_td.c: Likewise.
9345 * config/libbid/_udi_to_dd.c: Likewise.
9346 * config/libbid/_udi_to_sd.c: Likewise.
9347 * config/libbid/_udi_to_td.c: Likewise.
9348 * config/libbid/_unord_dd.c: Likewise.
9349 * config/libbid/_unord_sd.c: Likewise.
9350 * config/libbid/_unord_td.c: Likewise.
9351 * config/libbid/_usi_to_dd.c: Likewise.
9352 * config/libbid/_usi_to_sd.c: Likewise.
9353 * config/libbid/_usi_to_td.c: Likewise.
9354 * config/libbid/_xf_to_dd.c: Likewise.
9355 * config/libbid/_xf_to_sd.c: Likewise.
9356 * config/libbid/_xf_to_td.c: Likewise.
9357 * config/libbid/bid128.c: Likewise.
9358 * config/libbid/bid128_2_str.h: Likewise.
9359 * config/libbid/bid128_2_str_macros.h: Likewise.
9360 * config/libbid/bid128_2_str_tables.c: Likewise.
9361 * config/libbid/bid128_add.c: Likewise.
9362 * config/libbid/bid128_compare.c: Likewise.
9363 * config/libbid/bid128_div.c: Likewise.
9364 * config/libbid/bid128_fma.c: Likewise.
9365 * config/libbid/bid128_logb.c: Likewise.
9366 * config/libbid/bid128_minmax.c: Likewise.
9367 * config/libbid/bid128_mul.c: Likewise.
9368 * config/libbid/bid128_next.c: Likewise.
9369 * config/libbid/bid128_noncomp.c: Likewise.
9370 * config/libbid/bid128_quantize.c: Likewise.
9371 * config/libbid/bid128_rem.c: Likewise.
9372 * config/libbid/bid128_round_integral.c: Likewise.
9373 * config/libbid/bid128_scalb.c: Likewise.
9374 * config/libbid/bid128_sqrt.c: Likewise.
9375 * config/libbid/bid128_string.c: Likewise.
9376 * config/libbid/bid128_to_int16.c: Likewise.
9377 * config/libbid/bid128_to_int32.c: Likewise.
9378 * config/libbid/bid128_to_int64.c: Likewise.
9379 * config/libbid/bid128_to_int8.c: Likewise.
9380 * config/libbid/bid128_to_uint16.c: Likewise.
9381 * config/libbid/bid128_to_uint32.c: Likewise.
9382 * config/libbid/bid128_to_uint64.c: Likewise.
9383 * config/libbid/bid128_to_uint8.c: Likewise.
9384 * config/libbid/bid32_to_bid128.c: Likewise.
9385 * config/libbid/bid32_to_bid64.c: Likewise.
9386 * config/libbid/bid64_add.c: Likewise.
9387 * config/libbid/bid64_compare.c: Likewise.
9388 * config/libbid/bid64_div.c: Likewise.
9389 * config/libbid/bid64_fma.c: Likewise.
9390 * config/libbid/bid64_logb.c: Likewise.
9391 * config/libbid/bid64_minmax.c: Likewise.
9392 * config/libbid/bid64_mul.c: Likewise.
9393 * config/libbid/bid64_next.c: Likewise.
9394 * config/libbid/bid64_noncomp.c: Likewise.
9395 * config/libbid/bid64_quantize.c: Likewise.
9396 * config/libbid/bid64_rem.c: Likewise.
9397 * config/libbid/bid64_round_integral.c: Likewise.
9398 * config/libbid/bid64_scalb.c: Likewise.
9399 * config/libbid/bid64_sqrt.c: Likewise.
9400 * config/libbid/bid64_string.c: Likewise.
9401 * config/libbid/bid64_to_bid128.c: Likewise.
9402 * config/libbid/bid64_to_int16.c: Likewise.
9403 * config/libbid/bid64_to_int32.c: Likewise.
9404 * config/libbid/bid64_to_int64.c: Likewise.
9405 * config/libbid/bid64_to_int8.c: Likewise.
9406 * config/libbid/bid64_to_uint16.c: Likewise.
9407 * config/libbid/bid64_to_uint32.c: Likewise.
9408 * config/libbid/bid64_to_uint64.c: Likewise.
9409 * config/libbid/bid64_to_uint8.c: Likewise.
9410 * config/libbid/bid_b2d.h: Likewise.
9411 * config/libbid/bid_binarydecimal.c: Likewise.
9412 * config/libbid/bid_conf.h: Likewise.
9413 * config/libbid/bid_convert_data.c: Likewise.
9414 * config/libbid/bid_decimal_data.c: Likewise.
9415 * config/libbid/bid_decimal_globals.c: Likewise.
9416 * config/libbid/bid_div_macros.h: Likewise.
9417 * config/libbid/bid_dpd.c: Likewise.
9418 * config/libbid/bid_flag_operations.c: Likewise.
9419 * config/libbid/bid_from_int.c: Likewise.
9420 * config/libbid/bid_functions.h: Likewise.
9421 * config/libbid/bid_gcc_intrinsics.h: Likewise.
9422 * config/libbid/bid_inline_add.h: Likewise.
9423 * config/libbid/bid_internal.h: Likewise.
9424 * config/libbid/bid_round.c: Likewise.
9425 * config/libbid/bid_sqrt_macros.h: Likewise.
9426
94272009-04-09 Jakub Jelinek <jakub@redhat.com>
9428
9429 * Makefile.in: Change copyright header to refer to version
9430 3 of the GNU General Public License and to point readers at the
9431 COPYING3 file and the FSF's license web page.
9432 * config.host: Likewise.
9433
633dd061
AM
94342009-04-07 Alan Modra <amodra@bigpond.net.au>
9435
9436 * config.host: Reorder and merge to match config.gcc change.
9437
457d1d00
AM
94382009-04-03 Alan Modra <amodra@bigpond.net.au>
9439
9440 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
9441
52c0e446
JM
94422009-03-28 Joseph Myers <joseph@codesourcery.com>
9443
9444 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
9445 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
9446 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
9447 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
9448
ba181049
UB
94492009-02-12 Uros Bizjak <ubizjak@gmail.com>
9450
9451 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
9452 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9453
c252db20
L
94542009-02-12 H.J. Lu <hongjiu.lu@intel.com>
9455
ba181049
UB
9456 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
9457 ia64/t-softfp-compat to tmake_file.
c252db20
L
9458
9459 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
9460
9461 * config/ia64/__divxf3.asm: New.
9462 * config/ia64/_fixtfdi.asm: Likewise.
9463 * config/ia64/_fixunstfdi.asm: Likewise.
9464 * config/ia64/_floatditf.asm: Likewise.
9465 * config/ia64/t-fprules-softfp: Likewise.
9466 * config/ia64/t-softfp-compat: Likewise.
9467 * config/ia64/tf-signs.c: Likewise.
9468
c60535f9
BE
94692009-01-18 Ben Elliston <bje@au.ibm.com>
9470
9471 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9472
ce16861e
BE
94732009-01-16 Ben Elliston <bje@au.ibm.com>
9474
9475 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
9476 to tmake_file.
9477
bcf4713b
BE
94782009-01-13 Ben Elliston <bje@au.ibm.com>
9479
9480 * config/t-softfp: New file.
9481 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
9482 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
9483
7d296953 94842009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
2042cb04
JS
9485
9486 * config.host: Add m32r*-*-rtems*.
9487
7d296953 94882008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
541ed00e
JS
9489
9490 * config.host: Add m32c*-*-rtems*.
9491
19523300
RO
94922008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9493
9494 PR bootstrap/33100
9495 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
9496 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
9497 * configure: Regenerate.
9498 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
9499 tmake_file here from gcc/config.gcc.
9500 Move extra_parts here from gcc/config.gcc.
9501 * config/i386/t-sol2: Move here from gcc/config/i386.
9502 Use gcc_srcdir instead of srcdir.
9503
0a4a51c7
AN
95042008-11-18 Adam Nemet <anemet@caviumnetworks.com>
9505
9506 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
9507 case.
9508
2a761e46
TS
95092008-11-09 Thomas Schwinge <tschwinge@gnu.org>
9510
9511 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
9512
c0451df7
TS
95132008-10-08 Thomas Schwinge <tschwinge@gnu.org>
9514
9515 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
9516
358da97e
HS
95172008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
9518
9519 Add picoChip port.
9520 * config.host: Add picochip-*-*.
9521
c660f132
BW
95222008-08-06 Bob Wilson <bob.wilson@acm.org>
9523
9524 * config.host: Match more processor names for Xtensa.
9525
d1349557
L
95262008-07-08 H.J. Lu <hongjiu.lu@intel.com>
9527
9528 * config/i386/64/t-softfp-compat: Update comments.
9529
dd7b73c0
L
95302008-07-07 H.J. Lu <hongjiu.lu@intel.com>
9531
9532 * config/i386/64/_divtc3-compat.c: Moved to ...
9533 * config/i386/64/_divtc3.c: Here.
9534
9535 * config/i386/64/_multc3-compat.c: Moved to ...
9536 * config/i386/64/_multc3.c: Here.
9537
9538 * config/i386/64/_powitf2-compat.c: Moved to ...
9539 * config/i386/64/_powitf2.c: Here.
9540
9541 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
9542 .c suffix instead of -compat.c.
9543
6e1fab3d
UB
95442008-07-05 Uros Bizjak <ubizjak@gmail.com>
9545
9546 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
9547 (_FP_MUL_MEAT_D): Ditto.
9548 (_FP_DIV_MEAT_S): Ditto.
9549 (_FP_DIV_MEAT_D): Ditto.
9550
f92518d7
RS
95512008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
9552
9553 * Makefile.in: Add support for __sync_* libgcc functions.
9554
d0aede14
L
95552008-07-03 H.J. Lu <hongjiu.lu@intel.com>
9556
9557 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
9558
c174f11c
L
95592008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9560
9561 PR boostrap/36702
9562 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
9563 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
9564
9565 * config/i386/64/t-fprules-softfp: Moved to ...
9566 * config/i386/64/t-softfp-compat: This. New.
9567
5f464fa2
UB
95682008-07-02 Uros Bizjak <ubizjak@gmail.com>
9569
9570 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
9571 Initialize f with 0.0.
9572
ff473280
L
95732008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9574
9575 PR target/36669
9576 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
9577
9578 * config/i386/64/_divtc3-compat.c: New.
9579 * config/i386/64/_multc3-compat.c: Likewise.
9580 * config/i386/64/_powitf2-compat.c: Likewise.
9581 * config/i386/64/eqtf2.c: Likewise.
9582 * config/i386/64/getf2.c: Likewise.
9583 * config/i386/64/letf2.c: Likewise.
9584 * config/i386/64/t-fprules-softfp: Likewise.
9585
95862008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9587
9588 * config.host: Add i386/${host_address}/t-fprules-softfp to
9589 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
dfb3b0e3 9590 i[34567]86-*-linux*, x86_64-*-linux*.
ff473280
L
9591
9592 * configure.ac: Set host_address to 64 or 32 for x86.
9593 * configure: Regenerated.
9594
9595 * Makefile.in (config.status): Also depend on
9596 $(srcdir)/config.host.
9597
9598 * config/i386/32/t-fprules-softfp: New.
9599 * config/i386/32/tf-signs.c: Likewise.
9600
9601 * config/i386/64/sfp-machine.h: New. Moved from gcc.
9602
96032008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9604 Uros Bizjak <ubizjak@gmail.com>
9605
9606 * config/i386/32/sfp-machine.h: New.
9607
30551d99
NF
96082008-06-26 Nathan Froyd <froydnj@codesourcery.com>
9609
9610 * config/rs6000/t-ppccomm: Remove rules that conflict with
9611 auto-generated rules.
9612
18c04407
RW
96132008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9614
9615 * configure.ac: sinclude override.m4.
9616 * configure: Regenerate.
9617
10fbe77a
BRF
96182008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
9619
9620 * configure: Regenerate.
9621
bc6d4c3f
JM
96222008-06-10 Joseph Myers <joseph@codesourcery.com>
9623
9624 * Makefile.in (DECNUMINC): Remove
9625 -I$(MULTIBUILDTOP)../../libdecnumber.
9626 * gstdint.h: New.
9627
cd985f66
JM
96282008-06-07 Joseph Myers <joseph@codesourcery.com>
9629
9630 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
9631 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
9632 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
9633 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
9634 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
9635 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
9636 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
9637 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
9638 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
9639 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
9640 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
9641 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
9642 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
9643 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
9644
93fea8d3
AL
96452008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
9646
9647 * config.host (sh2[lbe]*-*-linux*): Allow target.
9648
18724e30
NF
96492008-04-30 Nathan Froyd <froydnj@codesourcery.com>
9650
9651 * config/rs6000/t-ppccomm: Add build rules for new files.
9652 (LIB2ADD_ST): New variable.
9653
47583040
AH
96542008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
9655
9656 PR target/34210
9657 PR target/35508
9658 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
9659 * config/t-avr: New file. Build 16bit libgcc functions.
9660
cf8e67fe
JJ
96612008-03-02 Jakub Jelinek <jakub@redhat.com>
9662
9663 PR target/35401
9664 * config/t-slibgcc-darwin: Make install-leaf dependent on
9665 install-darwin-libgcc-stubs instead of install.
9666
8d8da227
JM
96672008-01-25 Joseph Myers <joseph@codesourcery.com>
9668
9669 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
9670 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
9671 sh-*-rtemscoff*): Remove cases.
9672
edbf8b16
RS
96732007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
9674
9675 * Makefile.in (all): Use install-leaf rather than install.
9676 (install): Split most of the rule into...
9677 (install-leaf): ...this new one.
9678
89deeaff
EK
96792007-12-19 Etsushi Kato <ek.kato@gmail.com>
9680 Paolo Bonzini <bonzini@gnu.org>
9681
9682 PR target/30572
5f464fa2
UB
9683 * Makefile.in: Use @shlib_slibdir@ substitution to get
9684 correct install name on darwin.
89deeaff 9685 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
dfb3b0e3 9686
4081d704
HPN
96872007-12-15 Hans-Peter Nilsson <hp@axis.com>
9688
9689 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
9690 cris-*-elf and cris-*-none.
9691 (crisv32-*-linux*): Similar, as cris-*-linux*.
9692
f43e89a3
RIL
96932007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
9694
9695 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
9696
b4e9c2c6
L
96972007-10-27 H.J. Lu <hongjiu.lu@intel.com>
9698
9699 PR regression/33926
9700 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
9701 * configure: Regenerated.
9702
b2a00c89
L
97032007-09-27 H.J. Lu <hongjiu.lu@intel.com>
9704
9705 * Makefile.in (dfp-filenames): Replace decimal_globals,
9706 decimal_data, binarydecimal and convert_data with
9707 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
9708 and bid_convert_data, respectively.
9709
8d2a9e0e
CF
97102007-09-17 Chao-ying Fu <fu@mips.com>
9711 Nigel Stephens <nigel@mips.com>
9712
9713 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
9714 * Makefile.in (fixed_point): Define.
9715 Check if fixed_point is yes to build support functions.
9716 * configure.ac: Check for fixed_point support.
9717 * configure: Regenerated.
9718 * gen-fixed.sh: New file to generate lists of fixed-point labels,
9719 funcs, modes, from, to.
9720
2b53935d
JJ
97212007-09-11 Janis Johnson <janis187@us.ibm.com
9722
9723 * Makefile.in (dfp-filenames): Add bid128_noncomp.
9724
2533577f
JJ
97252007-09-10 Janis Johnson <janis187@us.ibm.com>
9726
9727 * Makefile.in (dfp-filenames): Remove decUtility, add
9728 decDouble, decPacked, decQuad, decSingle.
9729
3ae3dbd6
HK
97302007-08-27 Hans Kester <hans.kester@ellips.nl>
9731
9732 * config.host : Add x86_64-elf target.
9733
22867d02
L
97342007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9735
9736 * configure.ac (set_have_cc_tls): Add a missing =.
9737 * configure: Regenerated.
9738
6f461e76
L
97392007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9740
9741 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
9742 and x86_64-*-linux*.
9743
9744 * config/t-tls: New file.
9745
dfb3b0e3 9746 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6f461e76
L
9747
9748 * configure.ac: Include ../config/enable.m4 and
9749 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
9750 supports TLS and substitute set_have_cc_tls.
9751 * configure: Regenerated.
9752
200359e8
L
97532007-07-04 H.J. Lu <hongjiu.lu@intel.com>
9754
9755 * Makefile.in: Use libbid for DFP when BID is enabled.
9756
76f5e200
DS
97572007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
9758
9759 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
dfb3b0e3 9760 extra_parts. Add config/i386/t-cygming to tmake_file.
76f5e200
DS
9761 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
9762
9bd196f0 97632007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
200359e8 9764 Danny Smith <dannysmith@users.sourceforge.net>
9bd196f0
ZM
9765
9766 PR target/29498
9767 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
9768 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
9769 * config/i386/t-crtfm: Compile crtfastmath.o with
9770 -minline-all-stringops.
9771
1910440e
RS
97722007-05-10 Richard Sandiford <richard@codesourcery.com>
9773
9774 * config.host (sparc-wrs-vxworks): New target.
9775
7d33c31d
KH
97762007-04-14 Kazu Hirata <kazu@codesourcery.com>
9777
9778 * config.host: Recognize fido.
9779
96fccd0d
JJ
97802007-04-04 Janis Johnson <janis187@us.ibm.com>
9781
9782 * configure: Check host, not target, for decimal float support.
9783
577565f9
UB
97842007-04-03 Uros Bizjak <ubizjak@gmail.com>
9785
9786 * config/i386/t-crtpc: New file.
9787 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5f464fa2 9788 (x86_64-*-linux*): Ditto.
577565f9 9789
ccf8e764
RH
97902007-02-30 Kai Tietz <kai.tietz@onevision.com>
9791
9792 * config.host (x86_64-*-mingw*): New target.
9793
79b87c74
MM
97942007-03-23 Michael Meissner <michael.meissner@amd.com>
9795 H.J. Lu <hongjiu.lu@intel.com>
9796
9797 * Makefile.in (enable_decimal_float): New.
9798 (DECNUMINC): Add
9799 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
9800 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
9801 (decbits-filenames): This.
9802 (decbits-objects): New.
9803 (libgcc-objects): Add $(decbits-objects).
9804
9805 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
9806 Substitute enable_decimal_float.
9807 * configure: Regenerated.
9808
8fce4e31
HPN
98092007-03-19 Hans-Peter Nilsson <hp@axis.com>
9810
9811 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
9812
e8bb4597
BM
98132007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
9814
9815 * Makefile.in (install-info): New dummy target.
9816
344189f9
BS
98172007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
9818
9819 * config.host (bfin*-linux-uclibc*): Set extra_parts.
9820
ac84c172
BM
98212007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
9822
9823 * Makefile.in: Add install-html and install-pdf dummy
9824 targets.
9825
cd5c2357
RS
98262007-02-05 Roger Sayle <roger@eyesopen.com>
9827 Daniel Jacobowitz <dan@codesourcery.com>
9828
9829 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
9830 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
9831 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
9832
d9a66f98
JJ
98332007-01-29 Janis Johnson <janis187@us.ibm.com>
9834
9835 * Makefile.in (dec-filenames): Add decExcept.
9836
9891ec5f
DJ
98372007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
9838
9839 PR bootstrap/30469
9840 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
9841 -fprofile-use.
9842
d6efbf5a
DJ
98432007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
9844
9845 * configure.ac: Add --enable-version-specific-runtime-libs.
9846 Correct $slibdir default.
9847 * configure: Regenerated.
9848
17caeff2
JM
98492007-01-23 Joseph Myers <joseph@codesourcery.com>
9850
9851 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
9852
5ea41e3a
AP
98532007-01-21 Andrew Pinski <pinskia@gmail.com>
9854
9855 PR target/30519
9856 * config.host (alpha*-*-linux*): Set extra_parts.
9857
26900826
KK
98582007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
9859
9860 * config/sh/t-linux: New.
9861 * config.host (sh*-*-linux*): Set tmake_file.
9862
97af925b
DJ
98632007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
9864
9865 * Makefile.in (install): Handle multilibs.
9866
b0088af7
BM
98672007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
9868
9869 * Makefile.in: Added .PHONY entry for documentation targets.
9870
e0a9456a
BM
98712007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
9872
9873 * Makefile.in: Add empty info, html, dvi, pdf targets.
9874
7fd453b4
MS
98752007-01-04 Mike Stump <mrs@apple.com>
9876
9877 * Makefile.in (MAKEINFO): Remove.
9878 (PERL): Likewise.
9879
14e8fc8b
PB
98802007-01-04 Paolo Bonzini <bonzini@gnu.org>
9881
9882 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
9883 * configure: Regenerate.
9884 * Makefile.in (host_subdir): Substitute it.
dfb3b0e3 9885 (gcc_objdir): Use it.
14e8fc8b 9886
1555beba
DJ
98872007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9888
9889 * config.host (ia64*-*-linux*): Set tmake_file.
9890
79e6eaeb
DJ
98912007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9892
9893 * Makefile.in (version): Define.
9894
fa958513
DJ
98952007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
9896 Paolo Bonzini <bonzini@gnu.org>
9897
9898 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
9899 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
9900 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
9901 config/sparc/t-crtfm, config/t-slibgcc-darwin,
9902 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
9903 shared-object.mk, siditi-object.mk, static-object.mk: New files.
9904 * configure: Generated.
818ab71a 9905\f
a5544970 9906Copyright (C) 2007-2019 Free Software Foundation, Inc.
818ab71a
JJ
9907
9908Copying and distribution of this file, with or without modification,
9909are permitted in any medium without royalty provided the copyright
9910notice and this notice are preserved.