]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
tree-ssa-strlen.c (adjust_related_strinfos): Avoid trailing article.
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
d1b2f85f
JL
12019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2
3 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
4 section.
5 (__mspabi_slli): Likewise.
6 (__mspabi_slll_n): Likewise.
7 (__mspabi_slll): Likewise.
8 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
9 (__mspabi_srai): Likewise.
10 (__mspabi_sral_n): Likewise.
11 (__mspabi_sral): Likewise.
12 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
13 (__mspabi_srli): Likewise.
14 (__mspabi_srll_n): Likewise.
15 (__mspabi_srll): Likewise.
16
e69a13d1
YS
172019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
18
19 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
20 Add appropriate tm_file clause as well.
21 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
22
b009eac1
JC
232019-06-05 James Clarke <jrtc27@jrtc27.com>
24
25 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
26 rather than .data/.bss so it can be accessed via gp-relative
27 addressing.
28
781d39f2
DE
292019-06-05 David Edelsohn <dje.gcc@gmail.com>
30
31 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
32 (CR2_REGNO): Rename to R_CR2.
33 (XER_REGNO): Rename to R_XER.
34 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
35 (VRSAVE_REGNO): Rename to R_VRSAVE.
36 (VSCR_REGNO): R_VSCR.
37
76aaa9cd
YS
382019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
39
40 * config.host (rx-*-linux*): Add new case.
41 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
42
8fc16d72
ST
432019-05-29 Sam Tebbs <sam.tebbs@arm.com>
44
45 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
46 function.
47 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
48 aarch64_post_frob_eh_handler_addr): Add check for b-key.
49 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
50 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
51 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
52 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
53 string.
54 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
55 string.
56 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
57
e54b1a92
RO
582019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
59
60 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
61 Remove Solaris 9 and 10 support.
62 (sparc_is_sighandler): Likewise.
63
abbb8307
JDA
642019-05-26 John David Anglin <danglin@gcc.gnu.org>
65
66 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
67
2581344d
L
682019-05-17 H.J. Lu <hongjiu.lu@intel.com>
69
70 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
71 4_FP_W_TYPEs are used for IEEE quad precision.
72 * soft-fp/extendhftf2.c: Likewise.
73 * soft-fp/extendsftf2.c: Likewise.
74 * soft-fp/extendxftf2.c: Likewise.
75 * soft-fp/trunctfdf2.c: Likewise.
76 * soft-fp/trunctfhf2.c: Likewise.
77 * soft-fp/trunctfsf2.c: Likewise.
78 * soft-fp/trunctfxf2.c: Likewise.
79 * config/rs6000/ibm-ldouble.c: Likewise.
80
ccd1242e
RO
812019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
82
83 * config.host: Simplify various *-*-solaris2.1[0-9]* to
84 *-*-solaris2*.
85 * configure.ac: Likewise.
86 * configure: Regenerate.
87
88 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
89 Solaris 10 and Solaris 11 < snv_125 handling.
90
ef5eb79d
IS
912019-05-12 Iain Sandoe <iain@sandoe.co.uk>
92
93 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
94
4f0e90fa
HL
952019-05-07 Hongtao Liu <hongtao.liu@intel.com>
96
97 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
98 * config/i386/cpuinfo.h (enum processor_features): Add
99 FEATURE_AVX512BF16.
100
48528842
RR
1012019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
102 Bernd Edlinger <bernd.edlinger@hotmail.de>
103 Jakub Jelinek <jakub@redhat.com>
104
105 PR target/89093
106 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
107 * config/arm/unwind-arm.c: Likewise.
108 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
109 attribute for ARM.
110
887e182f
MC
1112019-04-15 Monk Chiang <sh.chiang04@gmail.com>
112
113 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
114 (RT_SIGRETURN): Update.
115 (nds32_fallback_frame_state): Update.
116
a90b0cdd
MS
1172019-02-21 Martin Sebor <msebor@redhat.com>
118
119 * libgcc2.h (__clear_cache): Correct signature.
120 * libgcc2.c (__clear_cache): Same.
121
1ed28eda
UB
1222019-02-20 Uroš Bizjak <ubizjak@gmail.com>
123
124 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
125 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
126
fe95aee9
UB
1272019-02-19 Uroš Bizjak <ubizjak@gmail.com>
128
129 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
130 regno instead of index to DWARF_ZERO_REG.
131
bf7988f1
EB
1322019-02-15 Eric Botcazou <ebotcazou@adacore.com>
133
134 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
135 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
136
ba2c1ca8
UB
1372019-01-31 Uroš Bizjak <ubizjak@gmail.com>
138
139 * config/alpha/t-linux: Add -mfp-rounding-mode=d
140 to HOST_LIBGCC2_CFLAGS.
141
6395ba73
L
1422019-01-23 Joseph Myers <joseph@codesourcery.com>
143
144 PR libgcc/88931
ba2c1ca8 145 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
6395ba73 146
756721ba
ML
1472019-01-18 Martin Liska <mliska@suse.cz>
148
149 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
150 to ...
151 (__gcov_indirect_call_profiler_v3): ... this.
152 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
153 (__gcov_indirect_call_profiler_v3): Likewise.
154 * Makefile.in: Bump function name.
155
d273c40a
ML
1562019-01-18 Martin Liska <mliska@suse.cz>
157
158 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
159 (gcov_version): Use in gcov_error.
160 (merge_one_data): Likewise.
161 (dump_one_gcov): Likewise.
162
be9d9fdb
ML
1632019-01-18 Martin Liska <mliska@suse.cz>
164
165 * libgcov-driver.c (gcov_version_string): New function.
166 (gcov_version): Convert version integer into string.
167
91d7b7fe
AS
1682019-01-17 Andrew Stubbs <ams@codesourcery.com>
169 Kwok Cheung Yeung <kcy@codesourcery.com>
170 Julian Brown <julian@codesourcery.com>
171 Tom de Vries <tom@codesourcery.com>
172
173 * config.host: Recognize amdgcn*-*-amdhsa.
174 * config/gcn/crt0.c: New file.
175 * config/gcn/lib2-divmod-hi.c: New file.
176 * config/gcn/lib2-divmod.c: New file.
177 * config/gcn/lib2-gcn.h: New file.
178 * config/gcn/sfp-machine.h: New file.
179 * config/gcn/t-amdgcn: New file.
180
67914693
SL
1812019-01-09 Sandra Loosemore <sandra@codesourcery.com>
182
183 PR other/16615
184
185 * config/c6x/libunwind.S: Mechanically replace "can not" with
186 "cannot".
187 * config/tilepro/atomic.h: Likewise.
188 * config/vxlib-tls.c: Likewise.
189 * generic-morestack-thread.c: Likewise.
190 * generic-morestack.c: Likewise.
191 * mkmap-symver.awk: Likewise.
192
a5544970
JJ
1932019-01-01 Jakub Jelinek <jakub@redhat.com>
194
195 Update copyright years.
196
da77eace
L
1972018-12-20 H.J. Lu <hongjiu.lu@intel.com>
198
199 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
200 to ignore -Waddress-of-packed-member.
201
72e3a529
TP
2022018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
203
204 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
205 parameter and corresponding code.
206 (ARM_FUNC_START): Likewise in both definitions.
207 Also update footer comment about condition that need to match with
208 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
209 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
210 defined. Weakly define it in this case.
211 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
212 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
213 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
214 comment to keep condition in sync with the one in
215 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
216
5d54c798
WX
2172018-12-18 Wei Xiao <wei3.xiao@intel.com>
218
219 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
220 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
221
5a2580b6
RV
2222018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
223
224 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
225 and .cfi_endproc directives for VxWorks targets.
226
c0c5112b
PK
2272018-12-05 Paul Koning <ni1d@arrl.net>
228
229 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
230
1ea7ea18
AM
2312018-11-27 Alan Modra <amodra@gmail.com>
232
233 * config/rs6000/morestack.S (__stack_split_initialize),
234 (__morestack_get_guard, __morestack_set_guard),
235 (__morestack_make_guard): Provide CFI covering these functions.
236 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
237
ff641ae1
XQ
2382018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
239
1ea7ea18 240 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
ff641ae1
XQ
241 (sc_pt_regs_lr): Update for kernel.
242 (sc_pt_regs_tls): Update for kernel.
243
28209372
XQ
2442018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
245
246 * config/csky/linux-unwind.h: Fix coding style.
247
b2a71af6
XQ
2482018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
249
250 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
1ea7ea18 251 (csky_fallback_frame_state): Modify the check of the
b2a71af6
XQ
252 instructions to adapt to changes in the kernel
253
d929e137
SH
2542018-11-09 Stafford Horne <shorne@gmail.com>
255 Richard Henderson <rth@twiddle.net>
256
257 * config.host: Add OpenRISC support.
258 * config/or1k/*: New.
259
222cfefa
KC
2602018-11-08 Kito Cheng <kito@andestech.com>
261
262 * soft-fp/adddf3.c: Update from glibc.
263 * soft-fp/addsf3.c: Likewise.
264 * soft-fp/addtf3.c: Likewise.
265 * soft-fp/divdf3.c: Likewise.
266 * soft-fp/divsf3.c: Likewise.
267 * soft-fp/divtf3.c: Likewise.
268 * soft-fp/double.h: Likewise.
269 * soft-fp/eqdf2.c: Likewise.
270 * soft-fp/eqsf2.c: Likewise.
271 * soft-fp/eqtf2.c: Likewise.
272 * soft-fp/extenddftf2.c: Likewise.
273 * soft-fp/extended.h: Likewise.
274 * soft-fp/extendhftf2.c: Likewise.
275 * soft-fp/extendsfdf2.c: Likewise.
276 * soft-fp/extendsftf2.c: Likewise.
277 * soft-fp/extendxftf2.c: Likewise.
278 * soft-fp/fixdfdi.c: Likewise.
279 * soft-fp/fixdfsi.c: Likewise.
280 * soft-fp/fixdfti.c: Likewise.
281 * soft-fp/fixhfti.c: Likewise.
282 * soft-fp/fixsfdi.c: Likewise.
283 * soft-fp/fixsfsi.c: Likewise.
284 * soft-fp/fixsfti.c: Likewise.
285 * soft-fp/fixtfdi.c: Likewise.
286 * soft-fp/fixtfsi.c: Likewise.
287 * soft-fp/fixtfti.c: Likewise.
288 * soft-fp/fixunsdfdi.c: Likewise.
289 * soft-fp/fixunsdfsi.c: Likewise.
290 * soft-fp/fixunsdfti.c: Likewise.
291 * soft-fp/fixunshfti.c: Likewise.
292 * soft-fp/fixunssfdi.c: Likewise.
293 * soft-fp/fixunssfsi.c: Likewise.
294 * soft-fp/fixunssfti.c: Likewise.
295 * soft-fp/fixunstfdi.c: Likewise.
296 * soft-fp/fixunstfsi.c: Likewise.
297 * soft-fp/fixunstfti.c: Likewise.
298 * soft-fp/floatdidf.c: Likewise.
299 * soft-fp/floatdisf.c: Likewise.
300 * soft-fp/floatditf.c: Likewise.
301 * soft-fp/floatsidf.c: Likewise.
302 * soft-fp/floatsisf.c: Likewise.
303 * soft-fp/floatsitf.c: Likewise.
304 * soft-fp/floattidf.c: Likewise.
305 * soft-fp/floattihf.c: Likewise.
306 * soft-fp/floattisf.c: Likewise.
307 * soft-fp/floattitf.c: Likewise.
308 * soft-fp/floatundidf.c: Likewise.
309 * soft-fp/floatundisf.c: Likewise.
310 * soft-fp/floatunditf.c: Likewise.
311 * soft-fp/floatunsidf.c: Likewise.
312 * soft-fp/floatunsisf.c: Likewise.
313 * soft-fp/floatunsitf.c: Likewise.
314 * soft-fp/floatuntidf.c: Likewise.
315 * soft-fp/floatuntihf.c: Likewise.
316 * soft-fp/floatuntisf.c: Likewise.
317 * soft-fp/floatuntitf.c: Likewise.
318 * soft-fp/gedf2.c: Likewise.
319 * soft-fp/gesf2.c: Likewise.
320 * soft-fp/getf2.c: Likewise.
321 * soft-fp/half.h: Likewise.
322 * soft-fp/ledf2.c: Likewise.
323 * soft-fp/lesf2.c: Likewise.
324 * soft-fp/letf2.c: Likewise.
325 * soft-fp/muldf3.c: Likewise.
326 * soft-fp/mulsf3.c: Likewise.
327 * soft-fp/multf3.c: Likewise.
328 * soft-fp/negdf2.c: Likewise.
329 * soft-fp/negsf2.c: Likewise.
330 * soft-fp/negtf2.c: Likewise.
331 * soft-fp/op-1.h: Likewise.
332 * soft-fp/op-2.h: Likewise.
333 * soft-fp/op-4.h: Likewise.
334 * soft-fp/op-8.h: Likewise.
335 * soft-fp/op-common.h: Likewise.
336 * soft-fp/quad.h: Likewise.
337 * soft-fp/single.h: Likewise.
338 * soft-fp/soft-fp.h: Likewise.
339 * soft-fp/subdf3.c: Likewise.
340 * soft-fp/subsf3.c: Likewise.
341 * soft-fp/subtf3.c: Likewise.
342 * soft-fp/truncdfsf2.c: Likewise.
343 * soft-fp/trunctfdf2.c: Likewise.
344 * soft-fp/trunctfhf2.c: Likewise.
345 * soft-fp/trunctfsf2.c: Likewise.
346 * soft-fp/trunctfxf2.c: Likewise.
347 * soft-fp/unorddf2.c: Likewise.
348 * soft-fp/unordsf2.c: Likewise.
349 * soft-fp/unordtf2.c: Likewise.
350
2901f42f
VK
3512018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
352
353 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
354 * config/i386/cpuinfo.h (processor_types): Add znver2.
355
4310ca66
PK
3562018-11-01 Paul Koning <ni1d@arrl.net>
357
358 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
359 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
360
22e05272
JM
3612018-10-31 Joseph Myers <joseph@codesourcery.com>
362
363 PR bootstrap/82856
364 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
365 * configure: Regenerate.
366
8180cde0
CZ
3672018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
368
369 * config/arc/lib1funcs.S (_muldi3): New function.
370 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
371
be7b071e
RV
3722018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
373
374 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
375
3239d726
ML
3762018-10-25 Martin Liska <mliska@suse.cz>
377
378 PR other/87735
379 * libgcov-profiler.c: Revert.
380
19b55958
ML
3812018-10-24 Martin Liska <mliska@suse.cz>
382
383 * libgcov-profiler.c: Start from 1 in order to distinguish
384 functions which were seen and these that were not.
385
a9a2fddb
PK
3862018-10-18 Paul Koning <ni1d@arrl.net>
387
388 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
389 standard.
390 * divmod.c: Update references to __udivmodsi4.
391 * udivmod.c: Ditto.
392 * udivhi3.c: New file.
393 * udivmodhi4.c: New file.
394 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
395
fc8abc46
RV
3962018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
397
398 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
399
87f918e3
OH
4002018-10-12 Olivier Hainque <hainque@adacore.com>
401
402 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
403 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
404
be86efa7
PK
4052018-10-08 Paul Koning <ni1d@arrl.net>
406
407 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
408
3edbcdbe
ML
4092018-10-04 Martin Liska <mliska@suse.cz>
410
411 PR gcov-profile/84107
412 * libgcov-profiler.c (__gcov_indirect_call):
413 Change type to indirect_call_tuple.
414 (struct indirect_call_tuple): New struct.
415 (__gcov_indirect_call_topn_profiler): Change type.
416 (__gcov_indirect_call_profiler_v2): Use the new
417 variables.
418 * libgcov.h (struct indirect_call_tuple): New struct
419 definition.
420
af8096fc
UB
4212018-10-03 Uros Bizjak <ubizjak@gmail.com>
422
423 * libgcc2.c (isnan): Use __builtin_isnan.
424 (isfinite): Use __builtin_isfinite.
425 (isinf): Use __builtin_isinf.
426
0a76bba4
UB
4272018-09-26 Uros Bizjak <ubizjak@gmail.com>
428
429 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
430
5244089f
OH
4312018-09-21 Alexandre Oliva <oliva@adacore.com>
432
433 * config/vxcache.c: New file. Provide __clear_cache, based on
434 the cacheTextUpdate VxWorks service.
435 * config/t-vxworks (LIB2ADD): Add vxcache.c.
436 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
437 * config/t-vxwoks7: Likewise.
438
512cc015
ML
4392018-09-21 Martin Liska <mliska@suse.cz>
440
441 * libgcov-driver.c (crc32_unsigned): Remove.
442 (gcov_histogram_insert): Likewise.
443 (gcov_compute_histogram): Likewise.
444 (compute_summary): Simplify rapidly.
445 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
446 (merge_summary): Rapidly simplify.
447 (dump_one_gcov): Ignore gcov_summary.
448 (gcov_do_dump): Do not handle program summary, it's not
449 used.
450 * libgcov-util.c (tag_summary): Remove.
451 (read_gcda_finalize): Fix coding style.
452 (read_gcda_file): Initialize curr_object_summary.
453 (compute_summary): Remove.
454 (calculate_overlap): Remove settings of run_max.
455
36ff254b
MC
4562018-09-21 Monk Chiang <sh.chiang04@gmail.com>
457
458 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
459 ucontext_t type instead.
460 (nds32_fallback_frame_state): Remove struct _sigframe statement.
461
229a033d
KC
4622018-09-21 Kito Cheng <kito.cheng@gmail.com>
463
464 * config/nds32/t-nds32-glibc: New file.
465
53c6feb2
RO
4662018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
467
468 * configure.ac (solaris_ld_v2_maps): New test.
469 * configure: Regenerate.
470 * Makefile.in (solaris_ld_v2_maps): New variable.
471 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
472 if supported.
473
ebdb6f23
RE
4742018-08-23 Richard Earnshaw <rearnsha@arm.com>
475
476 PR target/86951
477 * config/arm/lib1funcs.asm (speculation_barrier): New function.
478 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
479 to build.
480
a49c064e
IS
4812018-08-22 Iain Sandoe <iain@sandoe.co.uk>
482
1ea7ea18 483 * config/unwind-dw2-fde-darwin.c
a49c064e
IS
484 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
485 * config/darwin10-unwind-find-enc-func.c: … to here.
486 * config/t-darwin: Build Darwin10 unwinder shim crt.
487 * libgcc/config.host: Add the Darwin10 unwinder shim.
488
9a5b8df7
RV
4892018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
490
491 * config.host: Add crtbegin.o and crtend.o for
492 powerpc-wrs-vxworks target.
493
4cd0bc3b
J
4942018-08-17 Jojo <jijie_rong@c-sky.com>
495 Huibin Wang <huibin_wang@c-sky.com>
496 Sandra Loosemore <sandra@codesourcery.com>
497 Chung-Lin Tang <cltang@codesourcery.com>
498
499 C-SKY port: libgcc
500
501 * config.host: Add C-SKY support.
502 * config/csky/*: New.
503
a4931745
CJW
5042018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
505
506 * config/nds32/t-nds32-isr: Rearrange object dependency.
507 * config/nds32/initfini.c: Add dwarf2 unwinding support.
508 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
509 and registers usage.
510 * config/nds32/isr-library/excp_isr.S: Ditto.
511 * config/nds32/isr-library/intr_isr.S: Ditto.
512 * config/nds32/isr-library/reset.S: Ditto.
513 * config/nds32/isr-library/restore_all.inc: Ditto.
514 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
515 * config/nds32/isr-library/restore_partial.inc: Ditto.
516 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
517 * config/nds32/isr-library/save_all.inc: Ditto.
518 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
519 * config/nds32/isr-library/save_partial.inc: Ditto.
520 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
521 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
522
2b1969f6
JDA
5232018-08-11 John David Anglin <danglin@gcc.gnu.org>
524
525 * config/pa/linux-atomic.c: Update comment.
526 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
527 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
528 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
529 __ATOMIC_RELAXED for atomic loads.
530 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
531 unordered store to release lock.
532 (__sync_lock_release_8): Likewise.
533 (SYNC_LOCK_RELEASE_2): Remove define.
af8096fc 534
89fff9cc
NP
5352018-08-02 Nicolas Pitre <nico@fluxnic.net>
536
537 PR libgcc/86512
538 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
539 exponent goes negative. Update my email address.
540 * config/arm/ieee754-sf.S: Likewise.
541
fd2e1dcd
ML
5422018-08-01 Martin Liska <mliska@suse.cz>
543
544 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
92a285c1 545 check that __gcov_indirect_call_callee is non-null.
fd2e1dcd 546
b7415975
CL
5472018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
548
549 * config/arm/ieee754-df.S: Fix comment for code working on
550 architectures >= 4.
551 * config/arm/ieee754-sf.S: Likewise.
552
b72e71a3
L
5532018-07-27 H.J. Lu <hongjiu.lu@intel.com>
554
555 PR libgcc/85334
556 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
557 Removed.
558
1c686aa4
JC
5592018-07-05 James Clarke <jrtc27@jrtc27.com>
560
561 * configure: Regenerated.
562
b61c9b99
RO
5632018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
564
565 * Makefile.in (install_leaf): Use enable_gcov instead of
566 enable_libgcov.
567
1765b023
RV
5682018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
569
570 * configure.ac: Add --disable-gcov option.
571 * configure: Regenerate.
572 * Makefile.in: Honour @enable_gcov@.
573
9b2e34ef
CL
5742018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
575
576 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
577 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
578 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
579 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
580 __ARM_ARCH__.
581 * config/arm/ieee754-sf.S: Likewise.
582 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
583
d1b0dd54
CL
5842018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
585
586 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
587 longer supported.
588 * config/arm/ieee754-sf.S: Likewise.
589
1f3fa525
TM
5902018-06-20 Than McIntosh <thanm@google.com>
591
592 PR libgcc/86213
593 * generic-morestack.c (allocate_segment): Move calls to getenv and
594 getpagesize to __morestack_load_mmap.
595 (__morestack_load_mmap) Initialize static_pagesize and
596 use_guard_page here so as to avoid clobbering SSE regs during a
597 __morestack call.
598
6a8886e4
MM
5992018-06-18 Michael Meissner <meissner@linux.ibm.com>
600
601 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
602 support modules with -mno-gnu-attribute.
603 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
604
fb997097
OH
6052018-06-07 Olivier Hainque <hainque@adacore.com>
606
607 * config/t-vxworks (LIBGCC_INCLUDES): Add
608 -I$(MULTIBUILDTOP)../../gcc/include.
609 * config/t-vxworks7: Likewise. Reformat a bit to match
610 the t-vxworks layout.
611
a548a5a1
OM
6122018-06-07 Olga Makhotina <olga.makhotina@intel.com>
613
614 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
615
244aebfd
ML
6162018-06-07 Martin Liska <mliska@suse.cz>
617
618 * libgcov-driver.c: Rename cs_all to all and assign it from
92a285c1 619 all_prg.
244aebfd 620
6c086e8c
ML
6212018-06-07 Martin Liska <mliska@suse.cz>
622
92a285c1 623 PR bootstrap/86057
6c086e8c 624 * libgcov-driver-system.c (replace_filename_variables): Use
92a285c1 625 memcpy instead of mempcpy.
6c086e8c 626 (allocate_filename_struct): Do not allocate filename, allocate
92a285c1 627 prefix and set it.
6c086e8c 628 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
92a285c1 629 here and properly copy content into it.
6c086e8c 630 * libgcov-driver.c (struct gcov_filename): Remove max_length
92a285c1 631 field, change prefix from size_t into char *.
6c086e8c
ML
632 (compute_summary): Do not calculate longest filename.
633 (gcov_do_dump): Release memory of gf.filename after each file.
634 * libgcov-util.c (compute_summary): Use new signature of
92a285c1 635 compute_summary.
6c086e8c
ML
636 (calculate_overlap): Likewise.
637
97a53d1d
ML
6382018-06-05 Martin Liska <mliska@suse.cz>
639
640 PR gcov-profile/47618
641 * libgcov-driver-system.c (replace_filename_variables): New
92a285c1 642 function.
97a53d1d
ML
643 (gcov_exit_open_gcda_file): Use it.
644
7f3577f5
ML
6452018-06-05 Martin Liska <mliska@suse.cz>
646
647 * libgcov-driver.c (gcov_compute_histogram): Remove usage
648 of gcov_ctr_summary.
649 (compute_summary): Do it just for a single summary.
650 (merge_one_data): Likewise.
651 (merge_summary): Simplify as we read just single summary.
652 (dump_one_gcov): Pass proper argument.
653 * libgcov-util.c (compute_one_gcov): Simplify as we have just
654 single summary.
655 (gcov_info_count_all_cold): Likewise.
656 (calculate_overlap): Likewise.
657
cf3cd43d
CJW
6582018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
659 Monk Chiang <sh.chiang04@gmail.com>
660
661 * config.host (nds32*-linux*): New.
662 * config/nds32/linux-atomic.c: New file.
663 * config/nds32/linux-unwind.h: New file.
664
8b8003ed
UB
6652018-05-31 Uros Bizjak <ubizjak@gmail.com>
666
667 PR target/85591
668 * config/i386/cpuinfo.c (get_amd_cpu): Return
669 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
670
bbdf026f
RV
6712018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
672
92a285c1 673 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
bbdf026f 674
0e8f29da
ML
6752018-05-29 Martin Liska <mliska@suse.cz>
676
92a285c1 677 PR gcov-profile/85759
0e8f29da 678 * libgcov-driver-system.c (gcov_error): Introduce usage of
92a285c1 679 GCOV_EXIT_AT_ERROR env. variable.
0e8f29da 680 * libgcov-driver.c (merge_one_data): Print error that we
92a285c1 681 overwrite a gcov file with a different timestamp.
0e8f29da 682
54fd1590
K
6832018-05-23 Kalamatee <kalamatee@gmail.com>
684
685 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
686 path to Lf$finfty.
687
09baee1a
KC
6882018-05-18 Kito Cheng <kito.cheng@gmail.com>
689 Monk Chiang <sh.chiang04@gmail.com>
690 Jim Wilson <jimw@sifive.com>
691
692 * config/riscv/save-restore.S: Add support for rv32e.
693
c3f808d3
KT
6942018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
695
696 * config/arm/libunwind.S: Update comment relating to armv5.
697
fcf4f831
JL
6982018-05-17 Jerome Lambourg <lambourg@adacore.com>
699
700 * config/arm/cmse.c (cmse_check_address_range): Replace
701 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
702
74b2bb19
OM
7032018-05-17 Olga Makhotina <olga.makhotina@intel.com>
704
705 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
706 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
707
50e461df
OM
7082018-05-08 Olga Makhotina <olga.makhotina@intel.com>
709
710 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
711 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
712
e5f1cdb1
AC
7132018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
714
715 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
716
8f479d7a
AT
7172018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
718 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
719
720 PR libgcc/84292
721 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
722 op_and_fetch to return the right result.
723
ae043291
AM
7242018-04-27 Alan Modra <amodra@gmail.com>
725
726 PR libgcc/85532
727 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
728 -fno-asynchronous-unwind-tables.
729
ba169b74
CJW
7302018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
731
732 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
733 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
734
ffc2fc06
L
7352018-04-24 H.J. Lu <hongjiu.lu@intel.com>
736
737 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
738 when including "config/i386/shadow-stack-unwind.h".
739
7b47ecf2
L
7402018-04-24 H.J. Lu <hongjiu.lu@intel.com>
741
742 * configure: Regenerated.
743
661eb8f9
MM
7442018-04-20 Michael Meissner <meissner@linux.ibm.com>
745
746 PR target/85456
747 * config/rs6000/_powikf2.c: New file. Add support for the
748 __builtin_powil function when long double is IEEE 128-bit floating
749 point.
750 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
751 __powikf2 support.
752 (__powikf2): Likewise.
753 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
754 (__powikf2_hw): Likewise.
755 (__powikf2): Likewise.
756 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
757 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
758 (_powikf2-hw.c): Likewise.
759
5707be3c
L
7602018-04-19 H.J. Lu <hongjiu.lu@intel.com>
761
762 PR libgcc/85334
763 * unwind-generic.h (_Unwind_Frames_Increment): New.
764 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
765 Likewise.
766 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
767 count with _Unwind_Frames_Increment.
768 (_Unwind_ForcedUnwind_Phase2): Likewise.
769
5f9ca0b8
L
7702018-04-19 H.J. Lu <hongjiu.lu@intel.com>
771
772 PR libgcc/85379
773 * config/i386/morestack.S (__stack_split_initialize): Add
774 _CET_ENDBR.
775
a0e1df88
JJ
7762018-04-19 Jakub Jelinek <jakub@redhat.com>
777
778 * configure: Regenerated.
779
001ddaa8
DM
7802018-04-18 David Malcolm <dmalcolm@redhat.com>
781
782 PR jit/85384
783 * configure: Regenerate.
784
a57f99ba
JJ
7852018-04-16 Jakub Jelinek <jakub@redhat.com>
786
787 PR target/84945
788 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
789 -Wdangling-else warnings. Mask shift counts to avoid
790 -Wshift-count-negative and -Wshift-count-overflow false positives.
791
4d47fe5a
RB
7922018-04-06 Ruslan Bukin <br@bsdpad.com>
793
794 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
795
059cc8ac
L
7962018-03-29 H.J. Lu <hongjiu.lu@intel.com>
797
798 PR target/85100
799 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
800 (XSTATE_FP): Likewise.
801 (XSTATE_SSE): Likewise.
802 (XSTATE_YMM): Likewise.
803 (XSTATE_OPMASK): Likewise.
804 (XSTATE_ZMM): Likewise.
805 (XSTATE_HI_ZMM): Likewise.
806 (XCR_AVX_ENABLED_MASK): Likewise.
807 (XCR_AVX512F_ENABLED_MASK): Likewise.
808 (get_available_features): Enable AVX and AVX512 features only
809 if their states are supported by OSXSAVE.
810
f2620385
IT
8112018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
812
813 PR target/85025
814 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
815 Fix a typo, tmp => 255.
816
ae6dca8c
JJ
8172018-03-20 Jakub Jelinek <jakub@redhat.com>
818
819 PR target/84945
820 * config/i386/cpuinfo.h (__cpu_features2): Declare.
821 * config/i386/cpuinfo.c (__cpu_features2): New variable for
822 ifndef SHARED only.
823 (set_feature): Define.
824 (get_available_features): Use set_feature macro. Set __cpu_features2
825 to the second word of features ifndef SHARED.
826
c36b04c1
JK
8272018-03-15 Julia Koval <julia.koval@intel.com>
828
829 * config/i386/cpuinfo.c (get_available_features): Add
830 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
831 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
832 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
833 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
834 FEATURE_AVX512BITALG.
835
79ab5364
JK
8362018-03-14 Julia Koval <julia.koval@intel.com>
837
838 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
839 icelake client and icelake server.
840
66a00b11
JDA
8412018-03-06 John David Anglin <danglin@gcc.gnu.org>
842
843 * config/pa/fptr.c (_dl_read_access_allowed): New.
844 (__canonicalize_funcptr_for_compare): Use it.
af8096fc 845
ce579a4f
JJ
8462018-02-28 Jakub Jelinek <jakub@redhat.com>
847
848 PR debug/83917
849 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
850 $asm_hidden_op if visibility ("hidden") attribute works.
851 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
852 * config/i386/i386-asm.h: Don't include auto-host.h.
853 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
854 PACKAGE_URL): Don't undefine.
855 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
856 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
857 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
858 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
859 definition instead of hardcoded .hidden.
860 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
861 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
862 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
863 (USE_GAS_CFI_DIRECTIVES): Don't define.
864 * configure: Regenerated.
865 * config.in: Likewise.
866
e5868319
JJ
8672018-02-26 Jakub Jelinek <jakub@redhat.com>
868
869 PR debug/83917
870 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
871 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
872 inclusion of auto-target.h and auto-host.h.
873 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
874 __GCC_HAVE_DWARF2_CFI_ASM.
875 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
876 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
877 cfi_pop): Define.
878 * config/i386/cygwin.S: Don't include auto-host.h here, just
879 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
880 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
881 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
882 * config/i386/resms64fx.h: Add cfi_* directives.
883 * config/i386/resms64x.h: Likewise.
884
faef260e
MF
8852018-02-20 Max Filippov <jcmvbkbc@gmail.com>
886
887 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
888 .literal_position directive.
889 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
890
14e335ed
IT
8912018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
892
893 PR target/84148
894 * configure: Regenerate.
895
95df0433
IT
8962018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
897
898 PR target/84239
899 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
900 Include cetintrin.h not x86intrin.h.
901
f8de876d
IT
9022018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
903
904 PR target/84239
95df0433 905 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
f8de876d
IT
906 Use new _get_ssp and _inc_ssp intrinsics.
907
02da1e9c
JK
9082018-02-02 Julia Koval <julia.koval@intel.com>
909
910 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
911
048c6a9a
CZ
9122018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
913
914 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
915 option.
916 (__divsi3): Use RF16 safe registers.
917 (__modsi3): Likewise.
918
0889f168
MF
9192018-01-23 Max Filippov <jcmvbkbc@gmail.com>
920
921 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
922 (__divsf3): Make NaN return value quiet.
923 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
924 (__divdf3): Make NaN return value quiet.
925
bc8b0d04
SP
9262018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
927
928 * config/rl78/anddi3.S: New assembly file.
929 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
930
99cc06ea
SP
9312018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
932
933 * config/rl78/umindi3.S: New assembly file.
934 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
935
6e9007a0
SP
9362018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
937
938 * config/rl78/smindi3.S: New assembly file.
939 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
940
d975e494 9412018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 942
d975e494
SP
943 * config/rl78/smaxdi3.S: New assembly file.
944 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
945
6a18c146 9462018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 947
5dd16013
SP
948 * config/rl78/umaxdi3.S: New assembly file.
949 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
af8096fc 950
07baf4a5
JDA
9512018-01-21 John David Anglin <danglin@gcc.gnu.org>
952
953 PR lto/83452
954 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
955 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
af8096fc 956
dbc3af4f
RS
9572018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
958
959 * config/aarch64/value-unwind.h (aarch64_vg): New function.
960 (DWARF_LAZY_REGISTER_VALUE): Define.
961 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
962 to provide a fallback register value.
963
68df9882
MM
9642018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
965
966 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
967 __ibm128, instead of trying to use long double.
968 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
969 accomidate -mabi=ieeelongdouble multilibs.
970 (CVT_IBM128_TO_FLOAT128): Likewise.
971 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
972 the appropriate IBM extended double type.
973 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
974 (__gcc_qsub): Likewise.
975 (__gcc_qmul): Likewise.
976 (__gcc_qdiv): Likewise.
977 (pack_ldouble): Likewise.
978 (__gcc_qneg): Likewise.
979 (__gcc_qeq): Likewise.
980 (__gcc_qne): Likewise.
981 (__gcc_qge): Likewise.
982 (__gcc_qle): Likewise.
983 (__gcc_stoq): Likewise.
984 (__gcc_dtoq): Likewise.
985 (__gcc_itoq): Likewise.
986 (__gcc_utoq): Likewise.
987 (__gcc_qunord): Likewise.
988 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
989 quad-float128.h for the definitions.
990 (COPYSIGN): Use the f128 version instead of the q version.
991 (INFINITY): Likewise.
992 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
993 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
994 quad-float128.h for the definitions.
995 (COPYSIGN): Use the f128 version instead of the q version.
996 (INFINITY): Likewise.
997 (FABS): Likewise.
998 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
999 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
1000 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
1001
64b371b1
SH
10022018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
1003
1004 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
1005 configuration.
1006
85ec4feb
JJ
10072018-01-03 Jakub Jelinek <jakub@redhat.com>
1008
1009 Update copyright years.
1010
10112017-12-12 Kito Cheng <kito.cheng@gmail.com>
b8d7e076
KC
1012
1013 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
1014 * config/riscv/multi3.c: New file.
1015 * config/riscv/multi3.S: Remove.
1016
3a4c600f
JW
10172017-12-08 Jim Wilson <jimw@sifive.com>
1018
1019 * config/riscv/div.S: Use FUNC_* macros.
1020 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
1021 * config/riscv/save-restore.S: Likewise.
1022 * config/riscv/riscv-asm.h: New.
1023
75ad35b5
MM
10242017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
1025
6ae3512c
MM
1026 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
1027 * config/rs6000/_divkc3.c (__divkc3): Likewise.
1028
75ad35b5
MM
1029 PR libgcc/83112
1030 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
1031 correct type for all ifunc resolvers to silence -Wattribute-alias
1032 warnings. Eliminate the forward declaration of the resolver
1033 functions which is no longer needed.
1034 (__subkf3_resolve): Likewise.
1035 (__mulkf3_resolve): Likewise.
1036 (__divkf3_resolve): Likewise.
1037 (__negkf2_resolve): Likewise.
1038 (__eqkf2_resolve): Likewise.
1039 (__nekf2_resolve): Likewise.
1040 (__gekf2_resolve): Likewise.
1041 (__gtkf2_resolve): Likewise.
1042 (__lekf2_resolve): Likewise.
1043 (__ltkf2_resolve): Likewise.
1044 (__unordkf2_resolve): Likewise.
1045 (__extendsfkf2_resolve): Likewise.
1046 (__extenddfkf2_resolve): Likewise.
1047 (__trunckfsf2_resolve): Likewise.
1048 (__trunckfdf2_resolve): Likewise.
1049 (__fixkfsi_resolve): Likewise.
1050 (__fixkfdi_resolve): Likewise.
1051 (__fixunskfsi_resolve): Likewise.
1052 (__fixunskfdi_resolve): Likewise.
1053 (__floatsikf_resolve): Likewise.
1054 (__floatdikf_resolve): Likewise.
1055 (__floatunsikf_resolve): Likewise.
1056 (__floatundikf_resolve): Likewise.
1057 (__extendkftf2_resolve): Likewise.
1058 (__trunctfkf2_resolve): Likewise.
1059
1060 PR libgcc/83103
1061 * config/rs6000/quad-float128.h (TF): Don't define if long double
1062 is IEEE 128-bit floating point.
1063 (TCtype): Define as either TCmode or KCmode, depending on whether
1064 long double is IEEE 128-bit floating point.
1065 (__mulkc3_sw): Add declarations for software/hardware versions of
1066 complex multiply/divide.
1067 (__divkc3_sw): Likewise.
1068 (__mulkc3_hw): Likewise.
1069 (__divkc3_hw): Likewise.
1070 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
1071 handlers to switch between using software emulation and hardware
1072 float128 instructions, build the complex multiply/divide functions
1073 for both software and hardware support.
1074 * config/rs6000/_divkc3.c (_divkc3): Likewise.
1075 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
1076 (__divkc3_resolve): Likewise.
1077 (__mulkc3): Likewise.
1078 (__divkc3): Likewise.
1079 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
1080 (fp128_hw_src): Likewise.
1081 (fp128_hw_static_obj): Likewise.
1082 (fp128_hw_shared_obj): Likewise.
1083 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
1084 _mulkc3.c and _divkc3.c, changing the function name.
1085 (_divkc3-hw.c): Likewise.
1086 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
1087 and _divkc3-hw.c.
1088
c234d831
UB
10892017-11-26 Julia Koval <julia.koval@intel.com>
1090
1091 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
1092 * config/i386/cpuinfo.h (processor_subtypes): Add
1093 INTEL_COREI7_CANNONLAKE.
1094
1ebafce0
IT
10952017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1096
1097 PR bootstrap/83015
1098 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
1099 parameter.
1100 * config/xtensa/unwind-dw2-xtensa.c: Likewise
1101 * config/ia64/unwind-ia64.c: Add frames parameter.
1102 * unwind-sjlj.c: Likewise.
1103
6a10fff4
IT
11042017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1105
1106 * config/i386/linux-unwind.h: Include
1107 config/i386/shadow-stack-unwind.h.
1108 * config/i386/shadow-stack-unwind.h: New file.
1109 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
1110 pass it to _Unwind_Frames_Extra.
1111 * unwind-generic.h (_Unwind_Frames_Extra): New.
1112 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
1113 parameter. Add local variable frames to count number of frames.
1114 (_Unwind_ForcedUnwind_Phase2): Likewise.
1115 (_Unwind_RaiseException): Add local variable frames to count
1116 number of frames, pass it to _Unwind_RaiseException_Phase2 and
1117 uw_install_context.
1118 (_Unwind_ForcedUnwind): Likewise.
1119 (_Unwind_Resume): Likewise.
1120 (_Unwind_Resume_or_Rethrow): Likewise.
1121
1ecae1fc
IT
11222017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1123
1124 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
1125 (CET_FLAGS): New.
1126 * config/i386/morestack.S: Include <cet.h>.
1127 (__morestack_large_model): Add _CET_ENDBR at function entrance.
1128 * config/i386/resms64.h: Include <cet.h>.
1129 * config/i386/resms64f.h: Likewise.
1130 * config/i386/resms64fx.h: Likewise.
1131 * config/i386/resms64x.h: Likewise.
1132 * config/i386/savms64.h: Likewise.
1133 * config/i386/savms64f.h: Likewise.
1134 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
1135 (CRTSTUFF_T_CFLAGS): Likewise.
1136 * configure.ac: Include ../config/cet.m4.
1137 Set and substitute CET_FLAGS.
1138 * configure: Regenerated.
1139
f021f1d3
RO
11402017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1141
1142 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
1143 renaming.
1144 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
1145 * configure.ac (libgcc_cv_solaris_crts): Likewise.
1146 * configure: Regenerate.
1147
65f480c7
TV
11482017-11-07 Tom de Vries <tom@codesourcery.com>
1149
1150 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
1151 after "do {} while (0)".
1152
2a321acb
TV
11532017-11-07 Tom de Vries <tom@codesourcery.com>
1154
1155 PR other/82784
1156 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
1157 semicolon after "do {} while (0)".
1158 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1159 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1160 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1161 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1162
59fcf6c3
AT
11632017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
1164
1165 PR libgcc/82635
1166 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
1167 sysctl to determine whether we're in a trampoline.
1168 Keep the pattern matching method for systems without
1169 KERN_PROC_SIGTRAMP sysctl.
1170
b0c7ddf8
CM
11712017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
1172 Vineet Gupta <vgupta@synopsys.com>
1173
1174 * config.host (arc*-*-linux*): Set md_unwind_header variable.
1175 * config/arc/linux-unwind-reg.def: New file.
1176 * config/arc/linux-unwind-reg.h: Likewise.
1177
5feee954
SP
11782017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
1179
1180 * config/rl78/subdi3.S: New assembly file.
1181 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
1182
a0bf6cf7
SP
11832017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
1184
1185 * config/rl78/adddi3.S: New assembly file.
1186 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
1187
e7176f75
JJ
11882017-10-13 Jakub Jelinek <jakub@redhat.com>
1189
1190 PR target/82274
1191 * libgcc2.c (__mulvDI3): If both operands have
1192 the same highpart of -1 and the topmost bit of lowpart is 0,
1193 multiplication overflows even if both lowparts are 0.
1194
db6601d2
JB
11952017-09-28 James Bowman <james.bowman@ftdichip.com>
1196
1197 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
1198
938b6f1e
JM
11992017-09-26 Joseph Myers <joseph@codesourcery.com>
1200
1201 * config/microblaze/crti.S, config/microblaze/crtn.S,
1202 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
1203 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
1204 config/microblaze/mulsi3.S,
1205 config/microblaze/stack_overflow_exit.S,
1206 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
1207 config/pa/milli64.S: Add .note.GNU-stack section.
1208
89762a83
DS
12092017-09-23 Daniel Santos <daniel.santos@pobox.com>
1210
1211 * configure.ac: Add Check for HAVE_AS_AVX.
1212 * config.in: Regenerate.
1213 * configure: Likewise.
1214 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
1215 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
1216 Correct out-of-date comments.
1217
cace2309
SP
12182017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
1219
1220 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
1221 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
1222
3cb626e4
DS
12232017-09-17 Daniel Santos <daniel.santos@pobox.com>
1224
cace2309 1225 * config/i386/i386-asm.h (PASTE2): New macro.
3cb626e4
DS
1226 (ASMNAME): Modify to use PASTE2.
1227 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
1228 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
cace2309 1229 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
3cb626e4 1230 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
cace2309
SP
1231 * config/i386/resms64f.S: Likewise.
1232 * config/i386/resms64fx.S: Likewise.
1233 * config/i386/resms64x.S: Likewise.
1234 * config/i386/savms64.S: Likewise.
1235 * config/i386/savms64f.S: Likewise.
1236 * config/i386/avx_resms64.S: New file that only defines a macro and
3cb626e4 1237 includes it's corresponding header file.
cace2309
SP
1238 * config/i386/avx_resms64f.S: Likewise.
1239 * config/i386/avx_resms64fx.S: Likewise.
1240 * config/i386/avx_resms64x.S: Likewise.
1241 * config/i386/avx_savms64.S: Likewise.
1242 * config/i386/avx_savms64f.S: Likewise.
1243 * config/i386/sse_resms64.S: Likewise.
1244 * config/i386/sse_resms64f.S: Likewise.
1245 * config/i386/sse_resms64fx.S: Likewise.
1246 * config/i386/sse_resms64x.S: Likewise.
1247 * config/i386/sse_savms64.S: Likewise.
1248 * config/i386/sse_savms64f.S: Likewise.
1249 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3cb626e4 1250
2f19c491 12512017-09-01 Olivier Hainque <hainque@adacore.com>
2f19c491
OH
1252 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
1253
611e7036
OH
12542017-08-31 Olivier Hainque <hainque@adacore.com>
1255
1256 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
1257 match as powerpc-wrs-vxworks*.
1258
c8f34527
JY
12592017-08-07 Jonathan Yong <10walls@gmail.com>
1260
1261 * config.host (*-cygwin): Include file from mingw
1262 config/i386/enable-execute-stack-mingw32.c
1263
0b458d2b 12642017-08-01 Jerome Lambourg <lambourg@adacore.com>
92a285c1
ML
1265 Doug Rupp <rupp@adacore.com>
1266 Olivier Hainque <hainque@adacore.com>
0b458d2b
JL
1267
1268 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
1269 as well as arm-wrs-vxworks.
1270 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
1271 LIB2ADDEH.
1272 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
1273 __exidx_start and __exidx_end for downloadable modules.
1274
4df612fa
OH
12752017-08-01 Olivier Hainque <hainque@adacore.com>
1276
1277 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
1278 * config/t-vxworks7: Likewise.
1279
5560e8c0
OH
12802017-08-01 Olivier Hainque <hainque@adacore.com>
1281
1282 * config/t-vxworks: Instead of redefining LIB2ADD,
1283 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
1284
16bab95a
SH
12852017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1286
1287 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
1288
9cbc07cc
DS
12892017-07-24 Daniel Santos <daniel.santos@pobox.com>
1290
1291 PR testsuite/80759
1292 * config.host: include i386/t-msabi for darwin and solaris.
1293 * config/i386/i386-asm.h
1294 (ELFFN): Rename to FN_TYPE.
1295 (FN_SIZE): New macro.
1296 (FN_HIDDEN): Likewise.
1297 (ASMNAME): Likewise.
1298 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
1299 .globl.
1300 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
1301 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
1302 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
1303 .macro.
1304 * config/i386/resms64f.S: Likewise.
1305 * config/i386/resms64fx.S: Likewise.
1306 * config/i386/resms64x.S: Likewise.
1307 * config/i386/savms64.S: Likewise.
1308 * config/i386/savms64f.S: Likewise.
1309
de742204
JM
13102017-07-19 John Marino <gnugcc@marino.st>
1311
1312 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
1313
3787ee47
MM
13142017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
1315
1316 PR target/81193
1317 * configure.ac (PowerPC float128 hardware support): Test whether
1318 we can use __builtin_cpu_supports before enabling the ifunc
1319 handler.
1320 * configure: Regenerate.
1321
b1938888
VG
13222017-07-10 Vineet Gupta <vgupta@synopsys.com>
1323
1324 * config.host: Remove uclibc from arc target spec.
1325
bec75e53
KW
13262017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
1327
1328 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
1329
d4391a62
PB
13302017-07-07 Peter Bergner <bergner@vnet.ibm.com>
1331
1332 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
1333 (have_ieee_hw_p): Delete function.
1334 (SW_OR_HW) Use __builtin_cpu_supports().
1335
9296dd9b
TP
13362017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
1337
1338 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
1339
b85a969e
OH
13402017-07-03 Olivier Hainque <hainque@adacore.com>
1341
d4391a62 1342 * config/t-vxworks7: New file, really.
b85a969e 1343
883312dc
JM
13442017-06-28 Joseph Myers <joseph@codesourcery.com>
1345
1346 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
1347 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
1348 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
1349 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
1350 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
1351 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
1352 config/pa/linux-unwind.h (pa32_fallback_frame_state),
1353 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
1354 config/sh/linux-unwind.h (sh_fallback_frame_state),
1355 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
1356 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
1357 ucontext_t instead of struct ucontext.
1358
50567938
JL
13592017-06-27 Jerome Lambourg <lambourg@adacore.com>
1360
1361 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
1362 (x86_64-wrs-vxworks7): Likewise.
1363
e4b0df93
OH
13642017-06-27 Olivier Hainque <hainque@adacore.com>
1365
1366 * config/t-vxworks7: New file.
1367 * config.host (*-*-vxworks7): Use it.
1368
60edf8bb
MT
13692017-06-22 Matt Turner <mattst88@gmail.com>
1370
1371 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
1372 skylake case.
1373
a51a76e5
RB
13742017-06-21 Richard Biener <rguenther@suse.de>
1375
1376 PR gcov-profile/81080
1377 * configure.ac: Add AC_SYS_LARGEFILE.
1378 * libgcov.h: Include auto-target.h before tsystem.h to pick
1379 up _FILE_OFFSET_BITS which might differ for multilibs.
1380 * config.in: Regenerate.
1381 * configure: Likewise.
1382
f0cd49c5
RE
13832017-06-16 Richard Earnshaw <rearnsha@arm.com>
1384
1385 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
1386
4f751c54
ML
13872017-06-09 Martin Liska <mliska@suse.cz>
1388
1389 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
1390 Reset __gcov_indirect_call_callee to NULL.
1391
1ac644c8
OH
13922017-06-08 Olivier Hainque <hainque@adacore.com>
1393
1394 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
1395 the set of -I options, support for direct inclusions of net/uio.h
1396 by VxWorks header files via ioLib.h.
1397
d8b9cd27
TR
13982017-06-07 Tony Reix <tony.reix@atos.net>
1399 Matthieu Sarter <matthieu.sarter.external@atos.net>
1400 David Edelsohn <dje.gcc@gmail.com>
1401
92a285c1
ML
1402 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
1403 unconditionally.
1404 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
1405 AIX 7.2 support.
d8b9cd27 1406
38a75ccc
OH
14072017-06-02 Olivier Hainque <hainque@adacore.com>
1408
1409 * config/vxlib.c (__gthread_once): Add missing value to
1410 return statement.
1411
5b2edf53
OH
14122017-05-30 Olivier Hainque <hainque@adacore.com>
1413
1414 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
1415 dollar sign before $(MULTIDIR).
1416
7d66e265
RH
14172017-05-26 Richard Henderson <rth@redhat.com>
1418
1419 PR libgcc/80037
1420 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
1421
78eca309
AT
14222017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
1423
1424 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
1425 _Unwind_SetIP available as functions for arm*-*-freebsd*.
1426 * config/arm/unwind-arm.c: Implement the above.
1427
c39d309a
AZ
14282017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1429
1430 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
1431 section for a non-executable stack.
1432
eac8c9f2
KW
14332017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
1434
1435 PR target/80600
1436 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
1437
d6d4d770
DS
14382017-05-14 Daniel Santos <daniel.santos@pobox.com>
1439
1440 * config.host: Add i386/t-msabi to i386/t-linux file list.
1441 * config/i386/i386-asm.h: New file.
1442 * config/i386/resms64.S: New file.
1443 * config/i386/resms64f.S: New file.
1444 * config/i386/resms64fx.S: New file.
1445 * config/i386/resms64x.S: New file.
1446 * config/i386/savms64.S: New file.
1447 * config/i386/savms64f.S: New file.
1448 * config/i386/t-msabi: New file.
1449
8ef2b9a7
AT
14502017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
1451
1452 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
1453 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
1454
7ab8766a
JC
14552017-05-05 Joshua Conner <joshconner@google.com>
1456
1457 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
1458 pc-relative indirect handling for fuchsia.
1459 * config/t-slibgcc-fuchsia: New file.
1460 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
d6d4d770 1461 x86_64-*-fuchsia*): Add definitions.
7ab8766a 1462
46928a8f
ML
14632017-04-19 Martin Liska <mliska@suse.cz>
1464
1465 PR gcov-profile/80435
1466 * Makefile.in: Install gcov.h.
1467 * gcov.h: New file.
1468 * libgcov.h: Use the header and make __gcov_flush publicly
1469 visible.
1470
63971184
ML
14712017-04-18 Martin Liska <mliska@suse.cz>
1472
1473 PR gcov-profile/78783
1474 * libgcov-driver.c (gcov_get_filename): New function.
1475
29d8aae6
JL
14762017-04-07 Jeff Law <law@redhat.com>
1477
1478 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
1479 target makefile fragment.
1480 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
1481
2bdf7fc6
AM
14822017-04-07 Alan Modra <amodra@gmail.com>
1483
1484 PR target/45053
1485 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
1486
5764ee3c
JW
14872017-04-03 Jonathan Wakely <jwakely@redhat.com>
1488
1489 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
1490
c4192ad7
CZ
14912017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
1492
1493 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
1494
4ccfdb28
JM
14952017-03-10 John Marino <gnugcc@marino.st>
1496
1497 * config/aarch64/freebsd-unwind.h: New file.
1498 * config.host: Add aarch64-*-freebsd unwinder.
1499
4144e4e3
SB
15002017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1501
1502 * config/rs6000/crtrestvr.s: Use .machine altivec.
1503 * config/rs6000/crtsavevr.s: Ditto.
1504
7502c597
SB
15052017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1506
1507 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
1508 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
1509 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
1510 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
1511 * configure: Regenerate.
1512 * config.in: Regenerate.
1513
db9f7f65
JY
15142017-03-02 Jonathan Yong <10walls@gmail.com>
1515
1516 * config/i386/gthr-win32.h: Define NOGDI before
1517 windows.h include to prevent w32api CC_NONE macro
1518 clash with libgfortran.
1519
126437c5
JY
15202017-03-02 Jonathan Yong <10walls@gmail.com>
1521
1522 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
1523
31927af6
AP
15242017-02-16 Andrew Pinski <apinski@cavium.com>
1525
1526 * config/aarch64/value-unwind.h: New file.
1527 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
1528 to tm_file.
1529
0bd99911
PD
15302017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
1531
1532 * config.host: Add RISC-V tuples.
1533 * config/riscv/atomic.c: New file.
1534 * config/riscv/crti.S: Likewise.
1535 * config/riscv/crtn.S: Likewise.
1536 * config/riscv/div.S: Likewise.
1537 * config/riscv/linux-unwind.h: Likewise.
1538 * config/riscv/muldi3.S: Likewise.
1539 * config/riscv/multi3.S: Likewise.
1540 * config/riscv/save-restore.S: Likewise.
1541 * config/riscv/sfp-machine.h: Likewise.
1542 * config/riscv/t-elf: Likewise.
1543 * config/riscv/t-elf32: Likewise.
1544 * config/riscv/t-elf64: Likewise.
1545 * config/riscv/t-softfp32: Likewise.
1546 * config/riscv/t-softfp64: Likewise.
1547
a8c9ef2a
JJ
15482017-01-24 Jakub Jelinek <jakub@redhat.com>
1549
1550 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
1551 /* FALLTHRU */ comments.
1552
c6c82710
GP
15532017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
1554
1555 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
1556
a876231c
JW
15572017-01-20 Jiong Wang <jiong.wang@arm.com>
1558
1559 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
1560 * unwind-dw2.c (execute_cfa_program): Only multiplexing
1561 DW_CFA_GNU_window_save for AArch64 and LP64.
1562
aa348be2
JW
15632017-01-20 Jiong Wang <jiong.wang@arm.com>
1564
1565 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
1566
5636faf2
JW
15672017-01-19 Jiong Wang <jiong.wang@arm.com>
1568
1569 * config/aarch64/aarch64-unwind.h: New file.
1570 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
1571 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
1572 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
1573 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
1574 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
1575 (aarch64_post_extract_frame_addr): New function.
1576 (aarch64_post_frob_eh_handler_addr): New function.
1577 (aarch64_frob_update_context): New function.
1578 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
1579 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
1580 aarch64*-*-freebsd*):
1581 Initialize md_unwind_header to include aarch64-unwind.h.
1582 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
1583 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
1584 __aarch64__.
1585 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
1586 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
1587 (uw_frob_return_addr): New function.
1588 (uw_install_context): Use uw_frob_return_addr.
1589
3c36aa6b
JJ
15902017-01-17 Jakub Jelinek <jakub@redhat.com>
1591
1592 PR other/79046
1593 * configure.ac: Add GCC_BASE_VER.
1594 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
1595 version from BASE-VER file.
1596 * configure: Regenerated.
1597
829afb8f
JS
15982017-01-13 Joe Seymour <joe.s@somniumtech.com>
1599
1600 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
1601 libmul_f5.a): Filter archived prerequisites.
1602
79fc8ffe
AS
16032017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
1604
1605 * config/i386/cpuinfo.h (processor_features): Add
1606 FEATURE_AVX512VPOPCNTDQ.
1607 * config/i386/cpuinfo.c (get_available_features): Habdle new
1608 feature.
1609
fec5f4e0
JM
16102017-01-04 Joseph Myers <joseph@codesourcery.com>
1611
1612 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
1613 payload if [__mips_nan2008].
1614
8f56cb51
AM
16152017-01-04 Alan Modra <amodra@gmail.com>
1616
1617 * Makefile.in (configure_deps): Update.
1618 * configure: Regenerate.
1619
cbe34bb5
JJ
16202017-01-01 Jakub Jelinek <jakub@redhat.com>
1621
1622 Update copyright years.
1623
ab955692
KW
16242016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
1625
1626 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
1627 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
1628 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
1629
de34320f
MK
16302016-12-17 Matthias Klose <doko@ubuntu.com>
1631
1632 * config/arc/gmon: Remove empty directory.
1633
e04ea1da
CZ
16342016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
1635
1636 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
1637 crtgend.
1638 (arc*-*-elf*): Likewise.
1639 * config/arc/t-arc: Remove old gmon lib targets.
1640 * config/arc/crtg.S: Remove.
1641 * config/arc/crtgend.S: Likewise.
1642 * config/arc/gmon/atomic.h: Likewise.
1643 * config/arc/gmon/auxreg.h: Likewise.
1644 * config/arc/gmon/dcache_linesz.S: Likewise.
1645 * config/arc/gmon/gmon.c: Likewise.
1646 * config/arc/gmon/machine-gmon.h: Likewise.
1647 * config/arc/gmon/mcount.c: Likewise.
1648 * config/arc/gmon/prof-freq-stub.S: Likewise.
1649 * config/arc/gmon/prof-freq.c: Likewise.
1650 * config/arc/gmon/profil.S: Likewise.
1651 * config/arc/gmon/sys/gmon.h: Likewise.
1652 * config/arc/gmon/sys/gmon_out.h: Likewise.
1653 * config/arc/t-arc-newlib: Likewise.
1654 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
1655
8ae1c2c1
GS
16562016-12-12 George Spelvin <linux@sciencehorizons.net>
1657
1658 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
1659
a5b947fa
GS
16602016-12-12 George Spelvin <linux@sciencehorizons.net>
1661
1662 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
1663 R16 instead of push + pop.
1664 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
1665
d6574dd1
KW
16662016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
1667
1668 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
1669 tmake_file.
1670
62440b4f
CM
16712016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
1672
1673 * config.host (arc*-*-linux-uclibc*): Use default extra
1674 objects. Include linux-android header.
1675 * config/arc/crti.S (_init): Declare symbol as function.
1676 (_fini): Likewise.
1677
31cfd832
TK
16782016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
1679
1680 PR fortran/78379
1681 * config/i386/cpuinfo.c: Move denums for processor vendors,
1682 processor type, processor subtypes and declaration of
1683 struct __processor_model into
1684 * config/i386/cpuinfo.h: New header file.
1685
c92e08e3
AV
16862016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1687 Thomas Preud'homme <thomas.preudhomme@arm.com>
1688
1689 * config/arm/cmse_nonsecure_call.S: New.
1690 * config/arm/t-arm: Compile cmse_nonsecure_call.S
1691
de7b5723
AV
16922016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1693 Thomas Preud'homme <thomas.preudhomme@arm.com>
1694
1695 * config/arm/t-arm (HAVE_CMSE): New.
1696 * config/arm/cmse.c: New.
1697
7a0d2bce
TP
16982016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
1699
b3a5bff4
TP
1700 PR gcc/74748
1701 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
1702 use generic linker version information on Blackfin.
1703
7a0d2bce
TP
1704 PR gcc/74748
1705 * libgcc/mkmap-symver.awk: add support for skip_underscore
1706
b410cf1d
IS
17072016-11-27 Iain Sandoe <iain@codesourcery.com>
1708 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1709
1710 PR target/67710
1711 * config/t-darwin: Default builds to 10.5 codegen.
1712
2e5f8203
JG
17132016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
1714
1715 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
1716 (_FP_NANSIGN_H): Likewise.
1717 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
1718 (softfp_truncations): Add tfhf.
1719 (softfp_extras): Add required conversion functions.
1720
bea64ca3
JG
17212016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1722 Matthew Wahab <matthew.wahab@arm.com>
1723
1724 * config/arm/fp16.c (binary64): New.
1725 (__gnu_d2h_internal): New.
1726 (__gnu_d2h_ieee): New.
1727 (__gnu_d2h_alternative): New.
1728
8630cadb
JG
17292016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1730 Matthew Wahab <matthew.wahab@arm.com>
1731
1732 * config/arm/fp16.c (struct format): New.
1733 (binary32): New.
1734 (__gnu_float2h_internal): New. Body moved from
1735 __gnu_f2h_internal and generalize.
1736 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
1737 Call it with binary32.
1738
5823ef23
JG
17392016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1740
1741 * soft-fp/extendhftf2.c: Update from glibc.
1742 * soft-fp/fixhfti.c: Likewise.
1743 * soft-fp/fixunshfti.c: Likewise.
1744 * soft-fp/floattihf.c: Likewise.
1745 * soft-fp/floatuntihf.c: Likewise.
1746 * soft-fp/half.h: Likewise.
1747 * soft-fp/trunctfhf2.c: Likewise.
1748
62a7df9f
MG
17492016-11-20 Marc Glisse <marc.glisse@inria.fr>
1750
1751 PR libgcc/77813
1752 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
1753 __TMC_END__ behind a passthrough asm.
1754
7a384912
WL
17552016-11-18 Walter Lee <walt@tilera.com>
1756
62a7df9f 1757 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
7a384912 1758
9775c1a5
L
17592016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
1760
1761 * config/i386/cpuinfo.c (processor_features): Add
1762 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
1763
48c842ab
CZ
17642016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
1765
1766 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
1767 (__ARC_NORM__): Use instead ARC_OPTFPE.
1768 * config/arc/fp-hack.h: Likewise.
1769 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
1770 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
1771
5012919d
AM
17722016-11-16 Alexander Monakov <amonakov@ispras.ru>
1773
1774 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
1775 * config/nvptx/mgomp.c: New file.
1776 * config/nvptx/t-nvptx: Add mgomp.c
1777
00178b98
WB
17782016-11-16 Waldemar Brodkorb <wbx@openadk.org>
1779
1780 PR libgcc/68468
1781 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
1782
d64af69f
CZ
17832016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
1784
1785 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
1786 of checking for cpus.
1787 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
1788 (__modsi3, __clzsi2): Likewise.
1789
9d8f95de
SN
17902016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
1791
1792 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
1793 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
1794 * config/i386/t-cpuinfo-static: New.
1795
7d29f8e3
ML
17962016-11-03 Martin Liska <mliska@suse.cz>
1797
1798 * libgcov-profiler.c (__gcov_time_profiler): Remove.
1799 (__gcov_time_profiler_atomic): Likewise.
1800
5de3e2d8
BE
18012016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
1802
1803 PR libgcc/78067
1804 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
1805 count_leading_zeros.
1806
18362447
UB
18072016-11-02 Uros Bizjak <ubizjak@gmail.com>
1808
1809 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
1810 * libgcc2.c (__divmoddi4): New function.
1811 * libgcc2.h (__divmoddi4): Declare.
1812 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
1813 and __PFX_divmodti4.
1814
33107571
FW
18152016-10-24 Florian Weimer <fweimer@redhat.com>
1816
1817 PR libgcc/78064
1818 * unwind-c.c: Include auto-target.h.
1819
4c6d7494
JDA
18202016-10-19 John David Anglin <danglin@gcc.gnu.org>
1821
18362447 1822 * config/pa/pa64-hpux-lib.h: New file.
4c6d7494
JDA
1823 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
1824 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
1825 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
1826 hppa*64*-*-hpux11*.
1827
2a26adf1
MF
18282016-10-18 Max Filippov <jcmvbkbc@gmail.com>
1829
1830 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1831 definition.
1832 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1833 definition.
1834 * config/xtensa/t-windowed (LIB2ADDEH): Use
1835 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
1836 or xtensa/t-linux.
1837
66192aa1
DKC
18382016-10-18 Ding-Kai Chen <dkchen@cadence.com>
1839
1840 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
1841 __ieee754_sqrt): New functions.
1842 (__divdf3): Add implementation with new FPU instructions under
1843 #if XCHAL_HAVE_DFP_DIV.
1844 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
1845 __ieee754_sqrtf): New functions.
1846 (__divsf3): Add implementation with new FPU instructions under
1847 #if XCHAL_HAVE_FP_DIV.
1848 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
1849 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
1850
4d0cdd0c
TP
18512016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
1852
1853 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
1854 equivalent.
1855 * config/tilepro/atomic.c: Likewise and stop casting model to
1856 enum memmodel.
1857
73f01cca
JM
18582016-10-10 Joseph Myers <joseph@codesourcery.com>
1859
1860 PR target/77586
1861 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
1862 soft-fp.
1863
b20e7532
AT
18642016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
1865
1866 * config.host: Add support for aarch64-*-freebsd*.
1867
a786cec4
AS
18682016-10-05 Andreas Schwab <schwab@suse.de>
1869
1870 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
1871 (.section .init_array): Don't call __do_jv_register_classes.
1872 (.section .init): Likewise.
1873
5a79befb
JJ
18742016-10-04 Jakub Jelinek <jakub@redhat.com>
1875
1876 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
1877 (__JCR_LIST__): Remove.
1878 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
1879 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
1880 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
1881 * config/ia64/crtend.S (__JCR_END__): Remove.
1882 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
1883 conditionals.
1884 (__JCR_LIST__, __JCR_END__): Remove.
1885 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
1886 (__do_global_ctors_1): Likewise.
1887
e0ab3753
UB
18882015-09-28 Uros Bizjak <ubizjak@gmail.com>
1889
1890 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
1891 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
1892
8c9434c2
ML
18932016-09-27 Martin Liska <mliska@suse.cz>
1894
1895 PR gcov-profile/7970
1896 PR gcov-profile/16855
1897 PR gcov-profile/44779
1898 * libgcov-driver.c (__gcov_init): Do not register a atexit
1899 handler.
1900 (__gcov_exit): Rename from gcov_exit.
1901 * libgcov.h (__gcov_exit): Declare.
1902
56b653f1
ML
19032016-09-27 Martin Liska <mliska@suse.cz>
1904
1905 PR bootstrap/77749
1906 * Makefile.in: Remove _gcov_merge_delta.
1907 * libgcov-merge.c (void __gcov_merge_delta): Remove.
1908 * libgcov-util.c (__gcov_delta_counter_op): Remove.
1909 * libgcov.h: Remove declaration of __gcov_merge_delta.
1910
7e02fd1b
EB
19112016-09-21 Eric Botcazou <ebotcazou@adacore.com>
1912
1913 * configure.ac: Do not create links, only substitute the filenames.
1914 * configure: Regenerate.
1915 * Makefile.in: Assign the substitution results to variables.
1916 (LIBGCC_LINKS): Define.
1917 (enable-execute-stack.c): New rule.
1918 (unwind.h): Likewise.
1919 (md-unwind-support.h): Likewise.
1920 (sfp-machine.h): Likewise.
1921 (gthr-default.h): Likewise.
1922 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
1923 unwind.h as prerequisite of install-unwind_h-forbuild.
1924
29991048
JJ
19252016-09-16 Jakub Jelinek <jakub@redhat.com>
1926
1927 PR libgcc/71744
1928 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
1929 is not the primary registry and atomics are available.
1930 (any_objects_registered): New variable.
1931 (__register_frame_info_bases, __register_frame_info_table_bases):
1932 Atomically store 1 to any_objects_registered after registering first
1933 unwind info.
1934 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
1935
0abcd6cc
JG
19362016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
1937
1938 PR target/63250
1939 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
1940 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
1941 (HFtype): Likewise.
1942 (HCtype): Likewise.
1943 (__divhc3): Likewise.
1944 (__mulhc3): Likewise.
1945 * libgcc2.c: Support _mulhc3 and _divhc3.
1946
d758aeb5
JM
19472016-09-07 Joseph Myers <joseph@codesourcery.com>
1948
1949 PR libgcc/77519
1950 * libgcc2.c (NOTRUNC): Invert settings.
1951
7fe76f6a
ML
19522016-09-06 Martin Liska <mliska@suse.cz>
1953
1954 PR gcov-profile/77378
1955 PR gcov-profile/77466
1956 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
1957 conditionaly enable/disable *_atomic functions.
1958
21184026
JM
19592016-08-26 Joseph Myers <joseph@codesourcery.com>
1960
1961 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
1962 where not already enabled.
1963
726f49c3
SN
19642016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
1965
1966 * config/mips/linux-unwind.h: Use sys/syscall.h.
1967
feeb6268
JM
19682016-08-16 Joseph Myers <joseph@codesourcery.com>
1969
1970 PR libgcc/77265
1971 * soft-fp/adddf3.c: Update from glibc.
1972 * soft-fp/addsf3.c: Likewise.
1973 * soft-fp/addtf3.c: Likewise.
1974 * soft-fp/divdf3.c: Likewise.
1975 * soft-fp/divsf3.c: Likewise.
1976 * soft-fp/divtf3.c: Likewise.
1977 * soft-fp/double.h: Likewise.
1978 * soft-fp/eqdf2.c: Likewise.
1979 * soft-fp/eqsf2.c: Likewise.
1980 * soft-fp/eqtf2.c: Likewise.
1981 * soft-fp/extenddftf2.c: Likewise.
1982 * soft-fp/extended.h: Likewise.
1983 * soft-fp/extendsfdf2.c: Likewise.
1984 * soft-fp/extendsftf2.c: Likewise.
1985 * soft-fp/extendxftf2.c: Likewise.
1986 * soft-fp/fixdfdi.c: Likewise.
1987 * soft-fp/fixdfsi.c: Likewise.
1988 * soft-fp/fixdfti.c: Likewise.
1989 * soft-fp/fixsfdi.c: Likewise.
1990 * soft-fp/fixsfsi.c: Likewise.
1991 * soft-fp/fixsfti.c: Likewise.
1992 * soft-fp/fixtfdi.c: Likewise.
1993 * soft-fp/fixtfsi.c: Likewise.
1994 * soft-fp/fixtfti.c: Likewise.
1995 * soft-fp/fixunsdfdi.c: Likewise.
1996 * soft-fp/fixunsdfsi.c: Likewise.
1997 * soft-fp/fixunsdfti.c: Likewise.
1998 * soft-fp/fixunssfdi.c: Likewise.
1999 * soft-fp/fixunssfsi.c: Likewise.
2000 * soft-fp/fixunssfti.c: Likewise.
2001 * soft-fp/fixunstfdi.c: Likewise.
2002 * soft-fp/fixunstfsi.c: Likewise.
2003 * soft-fp/fixunstfti.c: Likewise.
2004 * soft-fp/floatdidf.c: Likewise.
2005 * soft-fp/floatdisf.c: Likewise.
2006 * soft-fp/floatditf.c: Likewise.
2007 * soft-fp/floatsidf.c: Likewise.
2008 * soft-fp/floatsisf.c: Likewise.
2009 * soft-fp/floatsitf.c: Likewise.
2010 * soft-fp/floattidf.c: Likewise.
2011 * soft-fp/floattisf.c: Likewise.
2012 * soft-fp/floattitf.c: Likewise.
2013 * soft-fp/floatundidf.c: Likewise.
2014 * soft-fp/floatundisf.c: Likewise.
2015 * soft-fp/floatunditf.c: Likewise.
2016 * soft-fp/floatunsidf.c: Likewise.
2017 * soft-fp/floatunsisf.c: Likewise.
2018 * soft-fp/floatunsitf.c: Likewise.
2019 * soft-fp/floatuntidf.c: Likewise.
2020 * soft-fp/floatuntisf.c: Likewise.
2021 * soft-fp/floatuntitf.c: Likewise.
2022 * soft-fp/gedf2.c: Likewise.
2023 * soft-fp/gesf2.c: Likewise.
2024 * soft-fp/getf2.c: Likewise.
2025 * soft-fp/ledf2.c: Likewise.
2026 * soft-fp/lesf2.c: Likewise.
2027 * soft-fp/letf2.c: Likewise.
2028 * soft-fp/muldf3.c: Likewise.
2029 * soft-fp/mulsf3.c: Likewise.
2030 * soft-fp/multf3.c: Likewise.
2031 * soft-fp/negdf2.c: Likewise.
2032 * soft-fp/negsf2.c: Likewise.
2033 * soft-fp/negtf2.c: Likewise.
2034 * soft-fp/op-1.h: Likewise.
2035 * soft-fp/op-2.h: Likewise.
2036 * soft-fp/op-4.h: Likewise.
2037 * soft-fp/op-8.h: Likewise.
2038 * soft-fp/op-common.h: Likewise.
2039 * soft-fp/quad.h: Likewise.
2040 * soft-fp/single.h: Likewise.
2041 * soft-fp/soft-fp.h: Likewise.
2042 * soft-fp/subdf3.c: Likewise.
2043 * soft-fp/subsf3.c: Likewise.
2044 * soft-fp/subtf3.c: Likewise.
2045 * soft-fp/truncdfsf2.c: Likewise.
2046 * soft-fp/trunctfdf2.c: Likewise.
2047 * soft-fp/trunctfsf2.c: Likewise.
2048 * soft-fp/trunctfxf2.c: Likewise.
2049 * soft-fp/unorddf2.c: Likewise.
2050 * soft-fp/unordsf2.c: Likewise.
2051 * soft-fp/unordtf2.c: Likewise.
2052
2e6fc1ac
GG
20532016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
2054
2055 PR gcov-profile/67097
2056 * libgcov-util.c (gcov_profile_merge): Skip missing files.
2057
a266236e
ML
20582016-08-10 Martin Liska <mliska@suse.cz>
2059
2060 PR gcov-profile/58306
2061 * Makefile.in: New functions (modules) are added.
2062 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
2063 function.
2064 (__gcov_pow2_profiler_atomic): New function.
2065 (__gcov_one_value_profiler_body): New argument is instroduced.
2066 (__gcov_one_value_profiler): Call with the new argument.
2067 (__gcov_one_value_profiler_atomic): Likewise.
2068 (__gcov_indirect_call_profiler_v2): Likewise.
2069 (__gcov_time_profiler_atomic): New function.
2070 (__gcov_average_profiler_atomic): Likewise.
2071 (__gcov_ior_profiler_atomic): Likewise.
2072 * libgcov.h: Declare the aforementioned functions.
2073
e0c8eebf
ML
20742016-08-09 Martin Liska <mliska@suse.cz>
2075
2076 * libgcov-util.c: Fix typo and GNU coding style.
2077
6dce6418
ML
20782016-08-09 Martin Liska <mliska@suse.cz>
2079
2080 * Makefile.in: Remove __gcov_indirect_call_profiler.
2081 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
2082 function.
2083 * libgcov.h: And the declaration of the function.
2084
dcb1e137
ML
20852016-08-09 Martin Liska <mliska@suse.cz>
2086
2087 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
2088 power of two.
2089
d6e69705
BS
20902016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2091
2092 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
2093 * config/rs6000/_mulkc3.c: Likewise.
2094
96aa1f95
GJL
20952016-07-29 Georg-Johann Lay <avr@gjlay.de>
2096
2097 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
2098 zero_reg as previous call to __umulhisi3 already cleared it.
2099
a1b01d34
AJ
21002016-07-21 Aurelien Jarno <aurelien@aurel32.net>
2101
2102 PR target/59833
2103 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
2104
985a47b2
NC
21052016-07-19 Nick Clifton <nickc@redhat.com>
2106
2107 * config.host (m32r): Add m32r/t-m32r to tmake_file.
2108 Add crtinit.o and crtfini.o to extra_parts.
2109
f906f5ed
BS
21102016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2111
2112 * config/rs6000/_divkc3.c: New.
2113 * config/rs6000/_mulkc3.c: New.
2114 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
2115 and _divkc3.
2116 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
2117 fp128_ppc_funcs.
2118
82742404
HW
21192016-07-11 Hale Wang <hale.wang@arm.com>
2120 Andre Vieira <andre.simoesdiasvieira@arm.com>
2121
2122 * config/arm/lib1funcs.S: Add new wrapper.
2123
05a437c1
TP
21242016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2125
2126 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
2127
3d16d9ec
TP
21282016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2129
2130 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
2131 and ARMv5t* rather than for a fixed list of architectures.
2132
6f493951
TP
21332016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2134
2135 * config/arm/bpabi-v6m.S: Clarify what architectures is the
2136 implementation suitable for.
2137 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
2138 for all Thumb-1 only targets.
2139 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
2140 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
2141 __ARM_ARCH_6M__.
2142 (EQUIV): Likewise.
2143 (ARM_FUNC_ALIAS): Likewise.
2144 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
2145 version.
2146 (modsi3): Likewise.
2147 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
2148 (clzdi2): Likewise.
2149 (ctzsi2): Likewise.
2150 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
2151 __ARM_ARCH_6M__ in guard for checking whether it is defined.
2152 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
2153 __ARM_ARCH_6M__ and add comment to indicate the connection between
2154 this condition and the one in gcc/config/arm/elf.h.
2155 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
2156 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
2157 * config/arm/t-softfp: Likewise.
2158
1770511a
TS
21592016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2160
2161 * libgcc2.c (SYMBOL__MAIN): Remove checks for
2162 CTOR_LISTS_DEFINED_EXTERNALLY.
2163
ba6be749
WL
21642016-06-28 Walter Lee <walt@tilera.com>
2165
2166 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
2167 asm/unistd.h.
2168 (SPR_CMPEXCH_VALUE): Define for tilegx.
2169 (__NR_FAST_cmpxchg): Define for tilepro.
2170 (__NR_FAST_atomic_update): Define for tilepro.
2171 (__NR_FAST_cmpxchg64): Define for tilepro.
2172
a34c0db5
JS
21732016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
2174
18362447 2175 * config.host: Add suport for arm*-*-phoenix* targets.
a34c0db5 2176
0609abda
TS
21772016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2178
2179 * config.host: Remove support for mep-*.
2180 * config/mep/lib1funcs.S: Remove.
2181 * config/mep/lib2funcs.c: Remove.
2182 * config/mep/t-mep: Remove.
2183 * config/mep/tramp.c: Remove.
2184
3e326935
TS
21852016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2186
2187 * config.host: Remove support for avr-rtems.
2188 * config/avr/t-rtems: Remove.
2189
914b155c
TS
21902016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2191
2192 * config.host: Remove m32r-rtems support.
2193
5ebf89bd
TS
21942016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2195
2196 * config.host: Remove h8300-rtems support.
2197
8466af06
TS
21982016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2199
2200 * config.host: Remove support for knetbsd.
2201
d980e738
TS
22022016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2203
2204 * config.host: Remove support for openbsd 2 and 3.
2205
ee2499b4
TS
22062016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2207
2208 * config.host: Remove interix support.
2209 * config/i386/t-interix: Remove.
2210
9f92937b
JDA
22112016-06-18 John David Anglin <danglin@gcc.gnu.org>
2212
2213 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
2214 least-significant bit in function pointer for fixup.
2215
0a0ec53d
AC
22162016-06-05 Aaron Conole <aconole@redhat.com>
2217 Nathan Sidwell <nathan@acm.org>
2218
2219 PR libgcc/71400
2220 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
2221 (get_gcov_error_file): Check __gcov_error_file before trying to
2222 initialize it.
2223 (gcov_error): Always use get_gcov_error_file.
2224
8aa5bdd6
AC
22252016-06-02 Aaron Conole <aconole@redhat.com>
2226
2227 * libgcov-driver-system.c (__gcov_error_file): New.
2228 (get_gcov_error_file): New.
2229 (gcov_error): Use and set __gcov_error_file.
2230 (gcov_error_exit): New.
2231 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
2232
40774faf
NS
22332016-05-26 Nathan Sidwell <nathan@acm.org>
2234
2235 * config/nvptx/free.asm: Delete.
2236 * config/nvptx/malloc.asm: Delete.
2237 * config/nvptx/realloc.c: Delete.
2238 * t-nvptx: Update.
2239
69a6d5ad
NS
22402016-05-25 Nathan Sidwell <nathan@acm.org>
2241
2242 * config/nvptx/crt0.s: Delete.
2243 * config/nvptx/crt0.c: New.
2244 * t-nvptx: Update.
2245
6befaff6
SL
22462016-05-19 Sandra Loosemore <sandra@codesourcery.com>
2247
385c7747 2248 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
6befaff6
SL
2249 dw2/seh configuration.
2250 [x86_64-*-mingw*]: Likewise.
2251
ad251dfd
JS
22522016-05-10 Joel Sherrill <joel@rtems.org>
2253
2254 PR libgcc/70720
2255 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
2256 targets so the same extra_parts are built. Also have tmake_file add
2257 on to its value rather than override.
2258
bc6d9014
OE
22592016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
2260
2261 * config.host: Remove SH5 support.
2262 * configure: Likewise.
2263
9129c8cf
OE
22642016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
2265
2266 * config/sh/crt1.S: Remove SH5 support.
2267 * config/sh/crti.S: Likewise.
2268 * config/sh/crtn.S: Likewise.
2269 * config/sh/lib1funcs-4-300.S: Likewise.
2270 * config/sh/lib1funcs-Os-4-200.S: Likewise.
2271 * config/sh/lib1funcs.S: Likewise.
2272 * config/sh/linux-unwind.h: Likewise.
2273 * config/sh/t-sh64: Delete.
2274
39d50464
CZ
22752016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
2276
2277 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
2278
8b48923b
CZ
22792016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
2280 Joern Rennecke <joern.rennecke@embecosm.com>
2281
2282 * config/arc/crttls.S: New file.
2283 * config/arc/t-arc: New rule.
2284 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
2285
2de1cf8c
NC
22862016-04-25 Nick Clifton <nickc@redhat.com>
2287
2288 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
2289 (__mspabi_cmpd): Likewise.
2290 * config/msp430/floathidf.c (__floathidf): Likewise.
2291 * config/msp430/floathisf.c (__floathisf): Likewise
2292 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
2293 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
2294 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
2295 second parameter.
2296 (__ashrsi3): Likewise.
2297
b8ce3fe2
WB
22982016-04-21 Waldemar Brodkorb <wbx@openadk.org>
2299
2300 * config/m68k/linux-atomic.c: Do not include unistd.h
2301
4986f823
MG
23022016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
2303
2304 * config/arm/ieee754-df.S: Fix typos in comments.
2305
35fbda43
MM
23062016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
2307
2308 PR target/70381
2309 * configure.ac (powerpc*-*-linux*): Rework tests to build
2310 __float128 emulation routines to not depend on using #pragma GCC
2311 target to enable -mfloat128.
2312 * configure: Regnerate.
2313
72d1a48d
EB
23142016-04-04 Eric Botcazou <ebotcazou@adacore.com>
2315
2316 PR target/67172
2317 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
2318 __MINGW32__ is defined.
2319
dc2e8995
JB
23202016-03-28 James Bowman <james.bowman@ftdichip.com>
2321
385c7747 2322 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
dc2e8995 2323
104cdaf1
MM
23242016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
2325
2326 PR libgcc/70363
2327 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
2328 built with an assembler that does not support ISA 3.0
2329 instructions, rename __extendkftf2_sw to __extendkftf2.
2330
a5046f48
RO
23312016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2332
2333 PR target/38239
2334 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
2335 call-clobbered registers.
2336 (internal_mcount): Remove __i386__ handling.
2337
df674f74
JS
23382016-02-26 Joel Sherrill <joel@rtems.org>
2339
2340 * config.host: Add x86_64-*-rtems*.
2341
7cb065d6
JS
23422016-02-26 Joel Sherrill <joel@rtems.org>
2343
2344 * libgcc/config.host: Add aarch64-*-rtems*.
2345
47dfdc53
PM
23462016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2347 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2348
2349 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
2350 union of u64 and double.
2351 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
2352 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
2353 value.
2354 (FP_ROUNDMODE): Update the usage of _fpscr.
2355
e6861a99
IV
23562016-02-25 Ilya Verbin <ilya.verbin@intel.com>
2357
2358 PR driver/68463
2359 * Makefile.in (crtoffloadtable$(objext)): New rule.
2360 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
2361 enable_offload_targets is not empty.
2362 * configure: Regenerate.
2363 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
2364 crtoffloadtable.
2365
9bfcbdee
MF
23662016-02-17 Max Filippov <jcmvbkbc@gmail.com>
2367
2368 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
2369 .literal_position before the function.
2370 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
2371 Likewise.
2372
4cb4721f
MK
23732016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
2374
2375 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
2376 * config/s390/morestack.S: New file.
2377 * config/s390/t-stack-s390: New file.
2378 * generic-morestack.c (__splitstack_find): Add s390-specific code.
2379
b29d9a29
WL
23802016-02-12 Walter Lee <walt@tilera.com>
2381
2382 * config.host (tilegx*-*-linux*): remove ti from
2383 softfp_int_modes for 32-bit configs.
2384
03a0ae7d
ILT
23852016-02-10 Ian Lance Taylor <iant@google.com>
2386
2387 PR go/68562
2388 * config/i386/morestack.S (__stack_split_initialize): Align
2389 stack.
2390
68750bce
AT
23912016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
2392
2393 PR bootstrap/69611
2394 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
2395 __FLOAT128__ to compile only for __float128 capable targets.
2396
7d296953
JJ
23972016-01-25 Jakub Jelinek <jakub@redhat.com>
2398
2399 PR target/69444
2400 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
2401 instead of ___NO_FPRS__.
2402
a71c0334 24032016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
2404 Steven Munroe <munroesj@linux.vnet.ibm.com>
2405 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
a71c0334
MM
2406
2407 * config/rs6000/float128-sed: New files to convert TF names to KF
2408 names for PowerPC IEEE 128-bit floating point support.
2409 * config/rs6000/float128-sed-hw: Likewise.
2410
2411 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2412 floating point hardware support.
2413
2414 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2415 128-bit floating point software emulation or use ISA 3.0 hardware
2416 support if it is available.
2417
2418 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2419 floating point.
2420
2421 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
2422 floating point to IBM extended double.
2423
2424 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
2425 double to IEEE 128-bit floating point.
2426
2427 * config/rs6000/t-float128: New Makefile fragments to enable
2428 building __float128 emulation support.
2429 * config/rs6000/t-float128-hw: Likewise.
2430
2431 * config/rs6000/sfp-exceptions.c: New file to provide exception
2432 support for IEEE 128-bit floating point.
2433
2434 * config/rs6000/floattikf.c: New files for converting between IEEE
2435 128-bit floating point and signed/unsigned 128-bit integers.
2436 * config/rs6000/fixunskfti.c: Likewise.
2437 * config/rs6000/fixkfti.c: Likewise.
2438 * config/rs6000/floatuntikf.c: Likewise.
2439
2440 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2441 when building on 64-bit systems, or when VSX is enabled.
2442 (_FP_W_TYPE): Likewise.
2443 (_FP_WS_TYPE): Likewise.
2444 (_FP_I_TYPE): Likewise.
2445 (TItype): Define on 64-bit systems.
2446 (UTItype): Likewise.
2447 (TI_BITS): Likewise.
2448 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2449 (_FP_MUL_MEAT_Q): Likewise.
2450 (_FP_DIV_MEAT_D): Likewise.
2451 (_FP_DIV_MEAT_Q): Likewise.
2452 (_FP_NANFRAC_D): Likewise.
2453 (_FP_NANFRAC_Q): Likewise.
2454 (ISA_BIT): Add exception support if we are being compiled on a
2455 machine with hardware floating point support to build the IEEE
2456 128-bit emulation functions.
2457 (FP_EX_INVALID): Likewise.
2458 (FP_EX_OVERFLOW): Likewise.
2459 (FP_EX_UNDERFLOW): Likewise.
2460 (FP_EX_DIVZERO): Likewise.
2461 (FP_EX_INEXACT): Likewise.
2462 (FP_EX_ALL): Likewise.
2463 (__sfp_handle_exceptions): Likewise.
2464 (FP_HANDLE_EXCEPTIONS): Likewise.
2465 (FP_RND_NEAREST): Likewise.
2466 (FP_RND_ZERO): Likewise.
2467 (FP_RND_PINF): Likewise.
2468 (FP_RND_MINF): Likewise.
2469 (FP_RND_MASK): Likewise.
2470 (_FP_DECL_EX): Likewise.
2471 (FP_INIT_ROUNDMODE): Likewise.
2472 (FP_ROUNDMODE): Likewise.
2473
2474 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2475 VSX code, enable IEEE 128-bit floating point. If the compiler can
2476 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
2477 floating point hardware instructions and it supports declaring
2478 functions with the ifunc attribute, enable ifunc functions to
2479 switch between software and hardware support.
2480 * configure.ac (powerpc*-*-linux*): Likewise.
2481 * configure: Regenerate.
2482
bdc27e50
NC
24832016-01-15 Nick Clifton <nickc@redhat.com>
2484
2485 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
2486 dependency as the source file to be compiled.
2487 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
2488 (lib2hw_mul_f5.o): Likewise.
2489
006df05d
MM
24902016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
2491
2492 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
2493 * libgcc/config/rs6000/fixkfti.c: Likewise.
2494 * libgcc/config/rs6000/fixunskfti.c: Likewise.
2495 * libgcc/config/rs6000/float128-hw.c: Likewise.
2496 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
2497 * libgcc/config/rs6000/float128-sed: Likewise.
2498 * libgcc/config/rs6000/floattikf.c: Likewise.
2499 * libgcc/config/rs6000/floatuntikf.c: Likewise.
2500 * libgcc/config/rs6000/quad-float128.h: Likewise.
2501 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
2502 * libgcc/config/rs6000/sfp-machine.h: Likewise.
2503 * libgcc/config/rs6000/t-float128: Likewise.
2504 * libgcc/config/rs6000/t-float128-hw: Likewise.
2505 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
2506 * libgcc/config.host: Likewise.
2507 * libgcc/configure: Likewise.
2508 * libgcc/configure.ac: Likewise.
2509
29176d57 25102016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
2511 Steven Munroe <munroesj@linux.vnet.ibm.com>
2512 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
29176d57
MM
2513
2514 * config/rs6000/sfp-exceptions.c: New file to provide exception
2515 support for IEEE 128-bit floating point.
2516
2517 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2518 floating point hardware support.
2519
2520 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
2521 point conversions.
2522 * config/rs6000/fixunskfti.c: Likewise.
2523 * config/rs6000/fixkfti.c: Likewise.
2524 * config/rs6000/floatuntikf.c: Likewise.
2525 * config/rs6000/extendkftf2-sw.c: Likewise.
2526 * config/rs6000/trunctfkf2-sw.c: Likewise.
2527
2528 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2529 128-bit floating point software emulation or use ISA 3.0 hardware
2530 support if it is available.
2531
2532 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2533 floating point.
2534
2535 * config/rs6000/t-float128: New Makefile fragments to enable
2536 building __float128 emulation support.
2537 * config/rs6000/t-float128-hw: Likewise.
2538
2539 * config/rs6000/float128-sed: New file to convert TF names to KF
2540 names for PowerPC IEEE 128-bit floating point support.
2541
2542 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2543 when building on 64-bit systems, or when VSX is enabled.
2544 (_FP_W_TYPE): Likewise.
2545 (_FP_WS_TYPE): Likewise.
2546 (_FP_I_TYPE): Likewise.
2547 (TItype): Define on 64-bit systems.
2548 (UTItype): Likewise.
2549 (TI_BITS): Likewise.
2550 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2551 (_FP_MUL_MEAT_Q): Likewise.
2552 (_FP_DIV_MEAT_D): Likewise.
2553 (_FP_DIV_MEAT_Q): Likewise.
2554 (_FP_NANFRAC_D): Likewise.
2555 (_FP_NANFRAC_Q): Likewise.
2556 (ISA_BIT): Add exception support if we are being compiled on a
2557 machine with hardware floating point support to build the IEEE
2558 128-bit emulation functions.
2559 (FP_EX_INVALID): Likewise.
2560 (FP_EX_OVERFLOW): Likewise.
2561 (FP_EX_UNDERFLOW): Likewise.
2562 (FP_EX_DIVZERO): Likewise.
2563 (FP_EX_INEXACT): Likewise.
2564 (FP_EX_ALL): Likewise.
2565 (__sfp_handle_exceptions): Likewise.
2566 (FP_HANDLE_EXCEPTIONS): Likewise.
2567 (FP_RND_NEAREST): Likewise.
2568 (FP_RND_ZERO): Likewise.
2569 (FP_RND_PINF): Likewise.
2570 (FP_RND_MINF): Likewise.
2571 (FP_RND_MASK): Likewise.
2572 (_FP_DECL_EX): Likewise.
2573 (FP_INIT_ROUNDMODE): Likewise.
2574 (FP_ROUNDMODE): Likewise.
2575
2576 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
2577 compiler can do __float128.
2578 * configure: Regenerate.
2579
2580 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2581 VSX code, enable IEEE 128-bit floating point.
2582
a2218983
OH
25832016-01-05 Olivier Hainque <hainque@adacore.com>
2584
2585 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
29176d57 2586 specificities.
a2218983 2587
818ab71a
JJ
25882016-01-04 Jakub Jelinek <jakub@redhat.com>
2589
2590 Update copyright years.
2591
5a6c8ffa
AP
25922015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
2593
2594 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
29176d57 2595 soft-fp targets.
5a6c8ffa 2596
077067a5
BE
25972015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
2598
2599 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
2600 instead of abort to avoid dependency on stdlib.h.
2601
787c1027
JDA
26022015-12-09 John David Anglin <danglin@gcc.gnu.org>
2603
2604 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
2605 to initialize call to __dl_fixup once.
2606
04a9ae28
NC
26072015-12-04 Nick Clifton <nickc@redhat.com>
2608
2609 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
2610 Allow for the second argument being negative.
2611 * config.host (extra_parts): Define for MSP430. Create separate
2612 libraries for each of the hardware multiply formats.
2613 * config/msp430/lib2hw_mul.S: Build only the multiply routines
2614 that are needed.
2615 * config/msp430/lib2mul.c: Likewise.
2616 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
2617 Add rules to build hardware multiply libraries.
2618 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
2619 __mspabi_divul function.
2620 (__mspabi_divllu): New stub function.
2621
9a32d437
JDA
26222015-12-01 John David Anglin <danglin@gcc.gnu.org>
2623
2624 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
2625 fixup values if saved GOT address doesn't match runtime address.
2626 (fixup_branch_offset): Reorder list.
2627
e5ef217c
RO
26282015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2629
2630 * Makefile.in (VTV_CFLAGS): New variable.
2631 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
2632 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
2633 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2634 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
2635 to extra_parts if $enable_vtable_verify = yes.
2636
78cc43a2
SN
26372015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
2638
2639 PR target/68059
2640 * config/arm/linux-atomic-64bit.c (__write): Rename to...
2641 (write): ...this and fix the return type.
2642
9afebea2
DD
26432015-11-19 DJ Delorie <dj@redhat.com>
2644
2645 * config/msp430/lib2hw_mul.S: Fix alignment.
2646
33f47f42
NS
26472015-11-18 Nathan Sidwell <nathan@codesourcery.com>
2648
2649 * config/nvptx/reduction.c: New.
2650 * config/nvptx/t-nvptx (LIB2ADD): Add it.
2651
d9adb476
DE
26522015-11-15 David Edelsohn <dje.gcc@gmail.com>
2653
2654 * config/rs6000/on_exit.c: New file.
2655 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
2656 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
2657
c0ab1970
CZ
26582015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
2659
2660 * config/arc/dp-hack.h: Add support for ARCHS.
2661 * config/arc/ieee-754/divdf3.S: Likewise.
2662 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
2663 * config/arc/ieee-754/muldf3.S: Likewise.
2664 * config/arc/ieee-754/mulsf3.S: Likewise
2665 * config/arc/lib1funcs.S: Likewise
2666 * config/arc/gmon/dcache_linesz.S: Don't read the build register
2667 for ARCv2 cores.
2668 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
2669 for ARCv2 cores.
2670 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
2671 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
2672 cores.
2673
e6b6bf09
RO
26742015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2675
2676 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
2677 value.
2678 * config/ia64/crtend.S: Likewise.
2679
a153644f
TS
26802015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2681
2682 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
2683 __CHAR_BIT__ instead of BITS_PER_UNIT.
2684 * fixed-bit.h: Likewise.
2685 * fp-bit.h: Likewise.
2686 * libgcc2.c (__popcountSI2): Likewise.
2687 (__popcountDI2): Likewise.
2688 * libgcc2.h: Likewise.
2689 * libgcov.h: Likewise.
2690
3dee689d
DE
26912015-11-07 David Edelsohn <dje.gcc@gmail.com>
2692
2693 * config/rs6000/atexit.c: New file.
2694 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
2695 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
2696 * config/rs6000/cxa_finalize.c
2697 (catomic_compare_and_exchange_bool_acq): Negate return value.
2698
2ef543e4
VK
26992015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
2700
2701 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
2702 (processor_subtypes): Add znver1.
2703 (get_amd_cpu): Detect znver1.
2704
1300f017
CL
27052015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
2706
2707 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
2708 Include crtfastmath.o.
2709
3e5bb7ee
JR
27102015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
2711
2712 PR libgcc/66883
2713 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1300f017 2714
793aa938
KP
27152015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
2716
2717 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
2718 * config/rl78/divmodsi.S: Update return register to r8.
2719 * config/rl78/divmodhi.S: Update return register to r8,r9.
2720 Branch to main_loop_done_himode to pop registers before return.
2721
7d296953 27222015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
fac812f0
VK
2723
2724 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
2725 (__cpu_indicator_init): Fix model selection for AMD CPUs.
2726
6a192b5a
KY
27272015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
2728
2729 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
2730
4a0a9457
MF
27312015-10-03 Max Filippov <jcmvbkbc@gmail.com>
2732
2733 * config.host (xtensa*-*-uclinux*): New configuration.
2734
ab91c076
KY
27352015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
2736
385c7747 2737 * config/i386/cpuinfo.c (processor_features): Add
ab91c076
KY
2738 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
2739
30954527
JM
27402015-09-28 Joseph Myers <joseph@codesourcery.com>
2741
2742 * soft-fp/adddf3.c: Update from glibc.
2743 * soft-fp/addsf3.c: Likewise.
2744 * soft-fp/addtf3.c: Likewise.
2745 * soft-fp/divdf3.c: Likewise.
2746 * soft-fp/divsf3.c: Likewise.
2747 * soft-fp/divtf3.c: Likewise.
2748 * soft-fp/double.h: Likewise.
2749 * soft-fp/eqdf2.c: Likewise.
2750 * soft-fp/eqsf2.c: Likewise.
2751 * soft-fp/eqtf2.c: Likewise.
2752 * soft-fp/extenddftf2.c: Likewise.
2753 * soft-fp/extended.h: Likewise.
2754 * soft-fp/extendsfdf2.c: Likewise.
2755 * soft-fp/extendsftf2.c: Likewise.
2756 * soft-fp/extendxftf2.c: Likewise.
2757 * soft-fp/fixdfdi.c: Likewise.
2758 * soft-fp/fixdfsi.c: Likewise.
2759 * soft-fp/fixdfti.c: Likewise.
2760 * soft-fp/fixsfdi.c: Likewise.
2761 * soft-fp/fixsfsi.c: Likewise.
2762 * soft-fp/fixsfti.c: Likewise.
2763 * soft-fp/fixtfdi.c: Likewise.
2764 * soft-fp/fixtfsi.c: Likewise.
2765 * soft-fp/fixtfti.c: Likewise.
2766 * soft-fp/fixunsdfdi.c: Likewise.
2767 * soft-fp/fixunsdfsi.c: Likewise.
2768 * soft-fp/fixunsdfti.c: Likewise.
2769 * soft-fp/fixunssfdi.c: Likewise.
2770 * soft-fp/fixunssfsi.c: Likewise.
2771 * soft-fp/fixunssfti.c: Likewise.
2772 * soft-fp/fixunstfdi.c: Likewise.
2773 * soft-fp/fixunstfsi.c: Likewise.
2774 * soft-fp/fixunstfti.c: Likewise.
2775 * soft-fp/floatdidf.c: Likewise.
2776 * soft-fp/floatdisf.c: Likewise.
2777 * soft-fp/floatditf.c: Likewise.
2778 * soft-fp/floatsidf.c: Likewise.
2779 * soft-fp/floatsisf.c: Likewise.
2780 * soft-fp/floatsitf.c: Likewise.
2781 * soft-fp/floattidf.c: Likewise.
2782 * soft-fp/floattisf.c: Likewise.
2783 * soft-fp/floattitf.c: Likewise.
2784 * soft-fp/floatundidf.c: Likewise.
2785 * soft-fp/floatundisf.c: Likewise.
2786 * soft-fp/floatunditf.c: Likewise.
2787 * soft-fp/floatunsidf.c: Likewise.
2788 * soft-fp/floatunsisf.c: Likewise.
2789 * soft-fp/floatunsitf.c: Likewise.
2790 * soft-fp/floatuntidf.c: Likewise.
2791 * soft-fp/floatuntisf.c: Likewise.
2792 * soft-fp/floatuntitf.c: Likewise.
2793 * soft-fp/gedf2.c: Likewise.
2794 * soft-fp/gesf2.c: Likewise.
2795 * soft-fp/getf2.c: Likewise.
2796 * soft-fp/ledf2.c: Likewise.
2797 * soft-fp/lesf2.c: Likewise.
2798 * soft-fp/letf2.c: Likewise.
2799 * soft-fp/muldf3.c: Likewise.
2800 * soft-fp/mulsf3.c: Likewise.
2801 * soft-fp/multf3.c: Likewise.
2802 * soft-fp/negdf2.c: Likewise.
2803 * soft-fp/negsf2.c: Likewise.
2804 * soft-fp/negtf2.c: Likewise.
2805 * soft-fp/op-1.h: Likewise.
2806 * soft-fp/op-2.h: Likewise.
2807 * soft-fp/op-4.h: Likewise.
2808 * soft-fp/op-8.h: Likewise.
2809 * soft-fp/op-common.h: Likewise.
2810 * soft-fp/quad.h: Likewise.
2811 * soft-fp/single.h: Likewise.
2812 * soft-fp/soft-fp.h: Likewise.
2813 * soft-fp/subdf3.c: Likewise.
2814 * soft-fp/subsf3.c: Likewise.
2815 * soft-fp/subtf3.c: Likewise.
2816 * soft-fp/truncdfsf2.c: Likewise.
2817 * soft-fp/trunctfdf2.c: Likewise.
2818 * soft-fp/trunctfsf2.c: Likewise.
2819 * soft-fp/trunctfxf2.c: Likewise.
2820 * soft-fp/unorddf2.c: Likewise.
2821 * soft-fp/unordsf2.c: Likewise.
2822 * soft-fp/unordtf2.c: Likewise.
2823
4dfe21ac
RE
28242015-09-24 Richard Earnshaw <rearnsha@arm.com>
2825
2826 PR libgcc/67624
2827 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
2828
df2a1cc4
RO
28292015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2830
2831 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2832 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
2833 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
2834 messages.
2835 (internal_mcount): Likewise.
2836 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
2837 crt_compile, add CRTSTUFF_T_CFLAGS_S.
2838
2d110442
RO
28392015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2840
2841 * configure.ac (libgcc_cv_solaris_crts): New test.
2842 * configure: Regenerate.
2843 * config.in: Regenerate.
2844 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
2845 * config/gmon-sol2.c: Rename to ...
2846 * config/sol2/gmon.c: ... this.
2847 Include auto-target.h.
2848 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
2849 * config/t-sol2: Rename to ...
2850 * config/sol2/t-sol2: ... this.
2851 (gmon.o): Reflect renaming.
2852 (crtp.o, crtpg.o): New rules.
2853 * config.host (*-*-solaris2*): Reflect renaming.
2854 Use system CRTs if present.
2855 Remove default CRT case.
2856
d572e439
JDA
28572015-09-23 John David Anglin <danglin@gcc.gnu.org>
2858
2859 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
2860 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
2861 __kernel_cmpxchg2.
2862 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
2863 (__sync_val_compare_and_swap_##WIDTH): Likewise.
2864 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
2865 (__sync_lock_test_and_set_##WIDTH): Likewise.
2866 (__sync_lock_release_##WIDTH): Likewise.
2867 (__sync_fetch_and_##OP##_4): Change result to match type of
2868 __kernel_cmpxchg.
2869 (__sync_##OP##_and_fetch_4): Likewise.
2870 (__sync_val_compare_and_swap_4): Likewise.
2871 (__sync_bool_compare_and_swap_4): likewise.
2872 (__sync_lock_test_and_set_4): Likewise.
2873 (__sync_lock_release_4): Likewise.
2874 (FETCH_AND_OP_2): Add long long variants.
2875 (OP_AND_FETCH_2): Likewise.
2876 (COMPARE_AND_SWAP_2 ): Likewise.
2877 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2878 (SYNC_LOCK_RELEASE_2): Likewise.
2879 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
2880
7d296953 28812015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
06caf59d
KY
2882
2883 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
2884 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
2885 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
2886 (get_available_features): Habdle new features.
2887
131314e1
JB
28882015-09-21 James Bowman <james.bowman@ftdichip.com>
2889
2890 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
2891 memory layout. Deal correctly with BSS region larger than 32K.
2892 Handle a watchdog reset like a power-on reset. Clean up unused
2893 code.
2894
04218b35
AD
28952015-09-18 Andrew Dixie <andrewd@gentrack.com>
2896 David Edelsohn <dje.gcc@gmail.com>
2897
2898 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
2899 * config/rs6000/crtdbase.S: New file.
2900 * config/rs6000/t-aix-cxa: Build crtdbase.o.
2901
c8338173
MF
29022015-09-15 Max Filippov <jcmvbkbc@gmail.com>
2903
2904 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
2905 Add support for call0 ABI.
2906
7a84bf71
JDA
29072015-09-13 John David Anglin <danglin@gcc.gnu.org>
2908
2909 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
2910
4efab402
SH
29112015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
2912
2913 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
2914 (__GTHREAD_HAS_COND): Likewise.
2915 (__gthread_t): Likewise.
2916 (__gthread_cond_t): Likewise.
2917 (__gthread_time_t): Likewise.
2918 (__GTHREAD_MUTEX_INIT): Likewise.
2919 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
2920 (__GTHREAD_COND_INIT): Likewise.
2921 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
2922 (__GTHREAD_TIME_INIT): Likewise.
2923 (__gthread_create): Likewise.
2924 (__gthread_join): Likewise.
2925 (__gthread_detach): Likewise.
2926 (__gthread_equal): Likewise.
2927 (__gthread_self): Likewise.
2928 (__gthread_yield): Likewise.
2929 (__gthread_cond_broadcast): Likewise.
2930 (__gthread_cond_signal): Likewise.
2931 (__gthread_cond_wait): Likewise.
2932 (__gthread_cond_timedwait): Likewise.
2933 (__gthread_cond_wait_recursive): Likewise.
2934 (__gthread_cond_destroy): Likewise.
2935 (rtems_gxx_once): Delete.
2936 (rtems_gxx_key_create): Likewise.
2937 (rtems_gxx_key_delete): Likewise.
2938 (rtems_gxx_getspecific): Likewise.
2939 (rtems_gxx_setspecific): Likewise.
2940 (rtems_gxx_mutex_init): Likewise.
2941 (rtems_gxx_mutex_destroy): Likewise.
2942 (rtems_gxx_mutex_lock): Likewise.
2943 (rtems_gxx_mutex_trylock): Likewise.
2944 (rtems_gxx_mutex_unlock): Likewise.
2945 (rtems_gxx_recursive_mutex_init): Likewise.
2946 (rtems_gxx_recursive_mutex_lock): Likewise.
2947 (rtems_gxx_recursive_mutex_trylock): Likewise.
2948 (rtems_gxx_recursive_mutex_unlock): Likewise.
2949 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
2950 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
2951 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
2952 (__gthread_once): Likewise.
2953 (__gthread_key_create): Likewise.
2954 (__gthread_key_delete): Likewise.
2955 (__gthread_getspecific): Likewise.
2956 (__gthread_setspecific): Likewise.
2957 (__gthread_key_t): Use <pthread.h> type.
2958 (__gthread_once_t): Likewise
2959 (__gthread_mutex_t): Use <sys/lock.h> type.
2960 (__gthread_recursive_mutex_t): Likewise
2961 (__gthread_mutex_lock): Use <sys/lock.h> function.
2962 (__gthread_mutex_trylock): Likewise.
2963 (__gthread_mutex_timedlock): Likewise.
2964 (__gthread_mutex_unlock): Likewise.
2965 (__gthread_mutex_destroy): Likewise.
2966 (__gthread_recursive_mutex_lock): Likewise.
2967 (__gthread_recursive_mutex_trylock): Likewise.
2968 (__gthread_recursive_mutex_timedlock): Likewise.
2969 (__gthread_recursive_mutex_unlock): Likewise.
2970 (__gthread_recursive_mutex_destroy): Likewise.
2971
991995c4
MF
29722015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2973
2974 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
2975 context->sp instead of context->cfa.
2976
0e19db59
MF
29772015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2978
2979 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
2980 with unwind-dw2-fde-dip.
2981
b6ac5f62
MF
29822015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2983
2984 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
2985 CALL12 followed by series of ENTRY to spill windowed registers.
2986 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
2987 instead of making linux spill syscall.
2988
3e0f3349
YR
29892015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
2990
2991 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
2992 (get_intel_cpu): Likewise.
2993
51c728b1
L
29942015-08-12 H.J. Lu <hongjiu.lu@intel.com>
2995
2996 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
2997 (get_intel_cpu): Add Knights Landing support.
2998
aff4eeac
UB
29992015-08-11 Uros Bizjak <ubizjak@gmail.com>
3000
3001 PR target/66954
3002 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
3003 (get_available_features): Handle FEATURE_PCLMUL.
3004
736e56da
L
30052015-08-10 H.J. Lu <hongjiu.lu@intel.com>
3006
3007 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
3008 Broadwell.
3009
54d22142
UB
30102015-07-22 Uros Bizjak <ubizjak@gmail.com>
3011
3012 PR target/66954
3013 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
3014 (get_available_features): Handle FEATURE_AES.
3015
20ca17e4
CLT
30162015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
3017
3018 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
3019 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
3020
ebe4a560
NS
30212015-07-17 Nathan Sidwell <nathan@codesourcery.com>
3022
3023 * offloadstuff.c: Constify host data.
3024
180744c0
JB
30252015-07-17 Jan Beulich <jbeulich@suse.com>
3026
3027 * config/t-softfp: Split up "else ifneq".
3028
a03c6ae3
SL
30292015-07-14 Sandra Loosemore <sandra@codesourcery.com>
3030 Cesar Philippidis <cesar@codesourcery.com>
3031 Chung-Lin Tang <cltang@codesourcery.com>
3032
3033 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
3034 for __nios2_arch__ level.
3035
73358db5
JM
30362015-07-13 John Marino <gnugcc@marino.st>
3037
3038 * config/i386/t-dragonfly: New.
3039
f9a12f7b
JDA
30402015-07-01 John David Anglin <danglin@gcc.gnu.org>
3041
3042 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
3043 better match light-weight syscall argument order.
3044 (__kernel_cmpxchg2): Likewise.
3045 Adjust callers.
3046
cb78b51c
L
30472015-06-30 H.J. Lu <hongjiu.lu@intel.com>
3048
3049 * config.host: Support i[34567]86-*-elfiamcu target.
3050 * config/t-softfp-sfdftf: New file.
3051 * config/i386/32/t-iamcu: Likewise.
3052 * configure: Regenerated.
3053
4fa0f9ea
JL
30542015-06-23 James Lemke <jwlemke@codesourcery.com>
3055
3056 libgcc/config/arm/
3057 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
3058
428b3812
L
30592015-05-27 H.J. Lu <hongjiu.lu@intel.com>
3060
3061 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
3062
7d296953 30632015-05-27 John Marino <gnugcc@marino.st>
89c54dd3
JM
3064
3065 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
3066 md_unwind_header
3067 * config/i386/freebsd-unwind.h: New.
3068
9b789cc1
UB
30692015-05-22 Uros Bizjak <ubizjak@gmail.com>
3070
3071 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
3072 i386/t-crtfm to tmake_file.
3073 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
3074 (set_fast_math): Use set_fast_math_sse for SSE targets.
3075 * config/i386/t-crtfm: Remove.
3076
3dafb220
AM
30772015-05-21 Alan Modra <amodra@gmail.com>
3078
3079 PR libgcc/66225
3080 * config/rs6000/morestack.S: Remove ".abiversion 1".
3081
0f0fd745
AM
30822015-05-20 Alan Modra <amodra@gmail.com>
3083
3084 * config/rs6000/morestack.S: New.
3085 * config/rs6000/t-stack-rs6000: New.
3086 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
3087 to tmake_file.
3088 * generic-morestack.c: Don't build for powerpc 32-bit.
3089
515ae71b
EB
30902015-05-19 Eric Botcazou <ebotcazou@adacore.com>
3091
3092 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
3093 Remove useless endif/ifneq ($(enable_shared),yes) pair.
3094
36805406
JL
30952015-05-16 James Bowman <james.bowman@ftdichip.com>
3096
3097 * config.host: FT32 target added.
3098 * config/ft32/*: New files for FT32 target.
3099
ff935d0c
MG
31002015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
3101
385c7747
UB
3102 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
3103 New macros.
3104 * config/arm/ieee754-df.S: Add CFI directives.
3105 * config/arm/ieee754-sf.S: Add CFI directives.
ff935d0c 3106
9b92a9f3
EB
31072015-05-13 Eric Botcazou <ebotcazou@adacore.com>
3108
3109 * configure.ac: Include config/sjlj.m4.
3110 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
3111 * config.in: Regenerate.
3112 * configure: Likewise.
3113 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
3114
98b5dc61
UB
31152015-05-12 Uros Bizjak <ubizjak@gmail.com>
3116
3117 * libgcov-util.c: Add space between string literal and macro name.
3118
5a0ff57c
SL
31192015-05-06 Sandra Loosemore <sandra@codesourcery.com>
3120 Chris Jones <chrisj@nvidia.com>
3121 Joshua Conner <jconner@nvidia.com>
3122
3123 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
3124 (arm*-*-uclinux*): Likewise.
3125 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
3126 * config/arm/crtfastmath.c: New file.
3127
d28ad5d4
BS
31282014-04-29 Bernd Schmidt <bernds@codesourcery.com>
3129
3130 * Makefile.in (real_host_noncanonical): New variable.
3131 (libsubdir): Use it.
3132 * configure.ac (real_host_noncanonical): Compute. Remove special
3133 case for intelmicemul.
3134 * configure: Regenerate.
3135
cc86234f
UB
31362015-04-28 Uros Bizjak <ubizjak@gmail.com>
3137
3138 * config/frv/elf-lib.h: New file.
3139 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
3140 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
3141 to tm_file.
3142
31432015-04-28 Uros Bizjak <ubizjak@gmail.com>
3144
3145 * config/frv/frvbengin.c: Do not include defaults.h
3146 * config/frv/frvend.c: Ditto.
3147
2f6bd6eb
YS
31482015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
3149
3150 * config.host: Add h8300-*-linux
3151 * config/h8300/t-linux: New file.
3152 * config/h8300/lib1funs.s: Change symbol prefix.
3153 * config/h8300/sfp-machine.h: 64bit double support.
3154
15aa7b44
GR
31552015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
3156 Szabolcs Nagy <szabolcs.nagy@arm.com>
3157
3158 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
3159 Linux if target provides dl_iterate_phdr.
3160
abd0cdc9
L
31612015-04-17 H.J. Lu <hongjiu.lu@intel.com>
3162
3163 PR target/65612
3164 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
3165 * config/i386/cpuinfo.c (__cpu_model): Initialize.
3166 (__cpu_indicator_init@GCC_4.8.0): New.
3167 (__cpu_model@GCC_4.8.0): Likewise.
3168 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
3169 -DUSE_ELF_SYMVER.
3170
72ed1126
NC
31712015-04-16 Nick Clifton <nickc@redhat.com>
3172
3173 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
3174 and __modhi3 functions.
3175 * config/rl78/divmodso.S: Add G14 and G13 versions of the
3176 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
3177
d26b2237
CG
31782015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
3179
3180 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
3181 do-while loop as macro body to avoid warnings.
3182
cacf1f59
JJ
31832015-04-10 Jakub Jelinek <jakub@redhat.com>
3184 Iain Sandoe <iain@codesourcery.com>
3185
3186 PR target/65351
3187 * configure: Regenerate.
3188
e8a4ed3b
JJ
31892015-04-07 Jakub Jelinek <jakub@redhat.com>
3190 Iain Sandoe <iain@codesourcery.com>
3191
3192 PR target/65351
3193 * configure: Regenerate.
3194
0341335e
CLT
31952015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
3196
3197 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
3198
590e2636 31992015-03-03 Max Filippov <jcmvbkbc@gmail.com>
0341335e 3200
590e2636
MF
3201 Implement call0 ABI for xtensa
3202 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
3203 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
3204 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
3205 use ret in call0 ABI.
3206 * config/xtensa/t-windowed: New file.
3207 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
3208 * libgcc/configure: Regenerated.
3209 * libgcc/configure.ac: Check if xtensa target is configured for
3210 windowed ABI and thus needs to use custom unwind code.
3211
7727f8f2
JW
32122015-02-12 Jonathan Wakely <jwakely@redhat.com>
3213
3214 PR libgcc/64885
3215 * gthr-single.h: Use __unused__ attribute instead of unused.
3216 * config/gthr-vxworks.h: Likewise.
3217 * config/i386/gthr-win32.h: Likewise.
3218
0e4a0def
KT
32192015-02-27 Kai Tietz <ktietz@redhat.com>
3220
3221 PR target/65038
3222 * config.in: Regenerated.
3223 * configure: Likewise.
3224 * configure.ac (AC_HEADER_STDC): Added explicit.
3225 (AC_CHECK_HEADERS): Check for default headers plus
3226 for ftw.h header.
3227 * libgcov-util.c (gcov_read_profile_dir): Disable use
3228 of ftw-function, if header is not found.
3229 (ftw_read_file): Likewise.
3230
b6530d0a
TS
32312015-02-23 Thomas Schwinge <thomas@codesourcery.com>
3232
3233 PR target/65181
3234 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
3235 -Dinhibit_libc.
3236
53cfb467
SL
32372015-02-17 Sandra Loosemore <sandra@codesourcery.com>
3238
3239 * config/arm/bpabi.S (test_div_by_zero): Make label names
3240 consistent between thumb2 and arm mode cases. Separate the
3241 signed comparison on the high word of the numerator from the
3242 unsigned comparison on the low word.
3243 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
3244 signed comparison.
3245
77d10a1b
JM
32462015-02-17 Joseph Myers <joseph@codesourcery.com>
3247
3248 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
3249 and <string.h>.
3250 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
3251
98174188
RE
32522015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
3253
3254 PR gcov-profile/61889
471274de 3255 * libgcov-driver-system.c: undefine clashing macro for mkdir.
98174188 3256
771bef14
NC
32572015-02-02 Nick Clifton <nickc@redhat.com>
3258
3259 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
3260 rounding up the fraction.
3261
40702893
JDA
32622015-01-31 John David Anglin <danglin@gcc.gnu.org>
3263
3264 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
3265 oldval and newval to const void *. Fix typo.
3266 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
3267 (FETCH_AND_OP_WORD): Likewise.
3268 (OP_AND_FETCH_WORD): Likewise.
3269 (COMPARE_AND_SWAP_2): Likewise.
3270 (__sync_val_compare_and_swap_4): Likewise.
3271 (__sync_lock_test_and_set_4): Likewise.
3272 (SYNC_LOCK_RELEASE_2): Likewise.
3273 Remove support for long long atomic operations.
3274
f7f049fa
CT
32752015-01-27 Caroline Tice <cmtice@google.com>
3276
3277 Committing VTV Cywin/Ming patch for Patrick Wollgast
3278 * Makefile.in: Move rules to build vtv_*.o out of the check
3279 for CUSTOM_CRTSTUFF.
3280 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
3281 i[34567]86-*-mingw*)
3282 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
3283 enable_vtable_verify.
3284
8410904a
NC
32852015-01-27 Nick Clifton <nickc@redhat.com>
3286
3287 * config/rl78/cmpsi2.S: Use function start and end macros.
3288 (__gcc_bcmp): New function.
3289 * config/rl78/lshrsi3.S: Use function start and end macros.
3290 * config/rl78/mulsi3.S: Add support for G10.
3291 (__mulqi3): New function for G10.
3292 * config/rl78/signbit.S: Use function start and end macros.
3293 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
3294 fpmath-sf.S.
3295 (LIB2FUNCS_EXCLUDE): Define.
3296 (LIB2FUNCS_ST): Define.
3297 * config/rl78/trampoline.S: Use function start and end macros.
3298 * config/rl78/vregs.h (START_FUNC): New macro.
3299 (START_ANOTHER_FUNC): New macro.
3300 (END_FUNC): New macro.
3301 (END_ANOTHER_FUNC): New macro.
3302 * config/rl78/bit-count.S: New file. Contains assembler
3303 implementations of the bit counting functions: ___clzhi2,
3304 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
3305 __paritysi2, __popcounthi2 and __popcountsi2.
3306 * config/rl78/fpbit-sf.S: New file. Contains assembler
3307 implementationas of the math functions: __negsf2, __cmpsf2,
3308 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
3309 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
3310 * config/rl78/fpmath-sf.S: New file. Contains assembler
3311 implementations of the math functions: __subsf3, __addsf3,
3312 __mulsf3 and __divsf3
3313
f962fbf1
RO
33142015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3315
3316 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
3317 Add i386/elf-lib.h to tm_file.
3318 * config/i386/elf-lib.h: Fix comment.
3319 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
3320 && __sun__ && __svr4__]: Remove workaround.
3321
939911c5
ASJ
33222015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
3323
3324 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
3325 FEATURE_BMI2.
3326 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
3327
c8f2dff2
L
33282015-01-24 H.J. Lu <hongjiu.lu@intel.com>
3329
3330 * config/i386/cpuinfo.c (processor_subtypes): Add
3331 INTEL_COREI7_BROADWELL.
3332 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
3333 model numbers.
3334
7bbf9734
UB
33352015-01-23 Uros Bizjak <ubizjak@gmail.com>
3336
3337 * config/i386/elf-lib.h: New file.
3338 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
3339 Wrap definition in #ifdef __i386__.
3340 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
3341 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
3342 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
3343 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
3344 to tm_file.
3345
324820f1
CG
33462015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
3347
3348 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
3349 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
3350
a9ce4e4a
CLT
33512015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
3352
3353 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
3354 Update rt_sigframe format and address for current Nios II
3355 Linux conventions.
3356
82a19768
AT
33572015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
3358
3359 * config.host (arm*-*-freebsd*): Add new configuration for
3360 arm*-*-freebsd*.
3361 * config/arm/freebsd-atomic.c: New file.
3362 * config/arm/t-freebsd: Likewise.
3363 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
3364 'PC-relative indirect' OS's.
3365
0969ec7d
EB
33662015-01-06 Eric Botcazou <ebotcazou@adacore.com>
3367
3368 * config.host: Add Visium support.
3369 * config/visium: New directory.
3370
5624e564
JJ
33712015-01-05 Jakub Jelinek <jakub@redhat.com>
3372
3373 Update copyright years.
3374
82f84ecb
MF
33752014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
3376
3377 * config.host: Support mipsisa32r6 and mipsisa64r6.
3378 * config/mips/mips16.S: Do not build for R6.
3379
69044fa9
OE
33802014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
3381
3382 * config/sh/crt.h: New.
3383 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
3384 symbols.
3385 * config/sh/crt1.S: Likewise.
3386
2405e0ea
UB
33872014-12-15 Uros Bizjak <ubizjak@gmail.com>
3388
3389 PR libgcc/63832
3390 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
3391 func_ptr *dtor_list temporary variable to avoid "array subscript
3392 is above array bounds" warnings.
3393
7d296953 33942014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
dd913323
MH
3395
3396 * Makefile.in (with_aix_soname): Define.
3397 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
3398 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
3399 * configure: Recreate.
3400
a66272f6
OH
34012014-12-05 Olivier Hainque <hainque@adacore.com>
3402
3403 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
3404 now provided by defaults.h.
3405
6342b2c5
OE
34062014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
3407
7d0ee249 3408 PR target/55351
6342b2c5
OE
3409 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
3410 whether it's defined.
3411
c17eac85
IT
34122014-11-27 Ilya Tocar <ilya.tocar@intel.com>
3413
3414 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
3415 * config/i386/cpuinfo.c (get_available_features): Detect it.
3416
1025cb6c
TW
34172014-11-27 Tony Wang <tony.wang@arm.com>
3418
3419 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
3420 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
3421 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
3422
d19f2e38
SB
34232014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
3424
3425 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
3426
17f6e9a3
JDA
34272014-11-24 John David Anglin <danglin@gcc.gnu.org>
3428
3429 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
3430 instead.
3431
0cd7c672
GM
34322014-11-21 Guy Martin <gmsoft@tuxicoman.be>
3433 John David Anglin <danglin@gcc.gnu.org>
3434
3435 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
3436 (FETCH_AND_OP_2): New. Use for subword and double word operations.
3437 (OP_AND_FETCH_2): Likewise.
3438 (COMPARE_AND_SWAP_2): Likewise.
3439 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3440 (SYNC_LOCK_RELEASE_2): Likewise.
3441 (SUBWORD_SYNC_OP): Remove.
3442 (SUBWORD_VAL_CAS): Likewise.
3443 (SUBWORD_BOOL_CAS): Likewise.
3444 (FETCH_AND_OP_WORD): Update.
3445 Consistently use signed types.
cc86234f 3446
85c64bbe
BS
34472014-11-13 Bernd Schmidt <bernds@codesourcery.com>
3448 Thomas Schwinge <thomas@codesourcery.com>
3449 Ilya Verbin <ilya.verbin@intel.com>
3450 Andrey Turetskiy <andrey.turetskiy@intel.com>
3451
3452 * Makefile.in (crtoffloadbegin$(objext)): New rule.
3453 (crtoffloadend$(objext)): Likewise.
3454 * configure: Regenerate.
3455 * configure.ac (accel_dir_suffix): Compute new variable.
3456 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
3457 if enable_offload_targets is not empty.
3458 * offloadstuff.c: New file.
3459
52a1ff8b
NC
34602014-11-13 Nick Clifton <nickc@redhat.com>
3461
3462 * config/rl78/divmodhi.S: Add support for the G10 architecture.
3463 Use START_FUNC and END_FUNC macros to enable linker garbage
3464 collection.
3465 * config/rl78/divmodqi.S: Likewise.
3466 * config/rl78/divmodsi.S: Likewise.
3467 * config/rl78/mulsi3.S: Likewise.
3468 * config/rl78/lib2div.c: Remove G10 functions.
3469 * config/rl78/lib2muls.c: Likewise.
3470 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
3471 * config/rl78/vregs.h (START_FUNC): New macro.
3472 (END_FUNC): New macro.
3473
050af144
MF
34742014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
3475
3476 * config/mips/mips16.S: Set .module when supported. Update O32
3477 FP64 calling convention and use for FPXX when possible. Add FPXX
3478 calling convention fallback case.
3479
738f2522
BS
34802014-11-06 Bernd Schmidt <bernds@codesourcery.com>
3481
3482 * config.host: Handle nvptx-*-*.
3483 * shared-object.mk (as-flags-$o): Define.
3484 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
3485 -xassembler-with-cpp.
3486 * static-object.mk: Identical changes.
3487 * config/nvptx/t-nvptx: New file.
3488 * config/nvptx/crt0.s: New file.
3489 * config/nvptx/free.asm: New file.
3490 * config/nvptx/malloc.asm: New file.
3491 * config/nvptx/realloc.c: New file.
3492
e610393c
JM
34932014-10-30 Joseph Myers <joseph@codesourcery.com>
3494
3495 * Makefile.in (libgcc.map.in): New target.
3496 (libgcc.map): Use libgcc.map.in.
3497 * config/t-softfp (softfp_compat): New variable to be set by
3498 users.
3499 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
3500 variables.
3501 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
3502 directory.
3503 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
3504 that use compat symbols and disable all code unless [SHARED].
3505 * config/t-softfp-compat: New file.
3506 * find-symver.awk: New file.
3507 * configure.ac (--with-glibc-version): New configure option.
3508 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
3509 * configure: Regenerate.
3510 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
3511 soft-float and e500.
3512
bc1b3a88
JM
35132014-10-29 Joseph Myers <joseph@codesourcery.com>
3514
3515 * config/t-hardfp (hardfp_exclusions): Document new variable for
3516 user to define.
3517 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
3518 * config/t-softfp (softfp_extras): Document new variable for user
3519 to define.
3520 (softfp_func_list): Add functions from $(softfp_extras).
3521 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
3522 * config.host (powerpc*-*-linux*): For e500v1, use
3523 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
3524 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
3525 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
3526
ef2810c1
JDA
35272014-10-26 John David Anglin <danglin@gcc.gnu.org>
3528
3529 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
3530 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
3531 memory read accesses are ok.
3532
d80c2bea
JM
35332014-10-25 Joseph Myers <joseph@codesourcery.com>
3534
3535 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
3536 * configure: Regenerate.
3537 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
3538 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
3539 of soft-fp for 32-bit classic hard float. Do not use
3540 t-softfp-excl for soft float.
3541
693b297b
JM
35422014-10-22 Joseph Myers <joseph@codesourcery.com>
3543
3544 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
3545 configurations.
3546 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
3547 Remove variables.
3548
18a3415e
GJL
35492014-10-22 Georg-Johann Lay <avr@gjlay.de>
3550
3551 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
3552 introduced with 2014-10-21 trunk r216525.
3553
c1dd9790 35542014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
7d296953
JJ
3555 Vidya Praveen <vidya.praveen@atmel.com>
3556 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
3557 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
3558 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
c1dd9790
JR
3559
3560 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
3561 order.
3562
3563 Updated library functions for AVRTINY arch.
3564 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
3565 Replaced occurrences of r0/r1 with tmp/zero reg macros.
3566 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
3567 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
3568 wsubi/wadi macors.
3569 (__mulsi3_helper): Update stack, preserve callee saved regs and
3570 argument from stack. Restore callee save registers.
3571 (__mulpsi3): Likewise.
3572 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
3573 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
18a3415e 3574 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
c1dd9790
JR
3575 AVRTINY.
3576 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
3577 (__do_copy_data): Added new definition for AVRTINY.
3578 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
3579 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
3580 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
3581 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
3582 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
3583 macors.
18a3415e 3584 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
c1dd9790
JR
3585 AVRTINY.
3586
18a3415e 3587 Fix broken long multiplication on tiny arch.
c1dd9790 3588
5f606431
JM
35892014-10-09 Joseph Myers <joseph@codesourcery.com>
3590
3591 * soft-fp/double.h: Update from glibc.
3592 * soft-fp/eqdf2.c: Likewise.
3593 * soft-fp/eqsf2.c: Likewise.
3594 * soft-fp/eqtf2.c: Likewise.
3595 * soft-fp/extenddftf2.c: Likewise.
3596 * soft-fp/extended.h: Likewise.
3597 * soft-fp/extendsfdf2.c: Likewise.
3598 * soft-fp/extendsftf2.c: Likewise.
3599 * soft-fp/extendxftf2.c: Likewise.
3600 * soft-fp/gedf2.c: Likewise.
3601 * soft-fp/gesf2.c: Likewise.
3602 * soft-fp/getf2.c: Likewise.
3603 * soft-fp/ledf2.c: Likewise.
3604 * soft-fp/lesf2.c: Likewise.
3605 * soft-fp/letf2.c: Likewise.
3606 * soft-fp/op-1.h: Likewise.
3607 * soft-fp/op-2.h: Likewise.
3608 * soft-fp/op-4.h: Likewise.
3609 * soft-fp/op-8.h: Likewise.
3610 * soft-fp/op-common.h: Likewise.
3611 * soft-fp/quad.h: Likewise.
3612 * soft-fp/single.h: Likewise.
3613 * soft-fp/soft-fp.h: Likewise.
3614 * soft-fp/unorddf2.c: Likewise.
3615 * soft-fp/unordsf2.c: Likewise.
3616 * soft-fp/unordtf2.c: Likewise.
3617 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
3618 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
3619 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
3620 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
3621 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
3622 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
3623 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
3624 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
3625 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
3626 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
3627
9b84e7a8
RX
36282014-10-08 Rong Xu <xur@google.com>
3629
3630 * libgcov-util.c (read_gcda_file): Fix format.
3631 (find_match_gcov_info): Ditto.
3632 (calculate_2_entries): New.
3633 (compute_one_gcov): Ditto.
3634 (gcov_info_count_all_cold): Ditto.
3635 (gcov_info_count_all_zero): Ditto.
3636 (extract_file_basename): Ditto.
3637 (get_file_basename): Ditto.
3638 (set_flag): Ditto.
3639 (matched_gcov_info): Ditto.
3640 (calculate_overlap): Ditto.
3641 (gcov_profile_overlap): Ditto.
3642 * libgcov-driver.c (compute_summary): Make
3643 it avavilable for external calls.
3644
fe1090c1
RX
36452014-10-06 Rong Xu <xur@google.com>
3646
3647 * Makefile.in: Ditto.
3648 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
3649 (gcov_sort_icall_topn_counter): Ditto.
3650 (gcov_sort_topn_counter_arrays): Ditto.
3651 (dump_one_gcov): Sort indirect_call topn counters.
3652 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
3653 function.
3654 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
3655 utility function.
3656 (__gcov_indirect_call_topn_profiler): New profiler function.
3657 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
3658 * libgcov.h: New decls.
3659
3daa7bbf
TS
36602014-10-04 Trevor Saunders <tsaunders@mozilla.com>
3661
3662 * config.host: Remove support for score-*.
3663
9a79452d
JM
36642014-09-22 Joseph Myers <joseph@codesourcery.com>
3665
3666 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3667 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
3668 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
3669 __LIBGCC_XF_MANT_DIG__.
3670 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
3671 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
3672 __LIBGCC_TF_MANT_DIG__.
3673 * libgcc2.c (NOTRUNC): Define in terms of
3674 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
3675 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3676
1a849e50
JM
36772014-09-22 Joseph Myers <joseph@codesourcery.com>
3678
3679 PR target/63312
3680 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
3681 New macros.
3682
598a1586
HPN
36832014-09-22 Hans-Peter Nilsson <hp@axis.com>
3684
3685 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
3686 override USE_PT_GNU_EH_FRAME.
3687 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
3688 check USE_EH_FRAME_REGISTRY_ALWAYS against
3689 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
3690 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
3691 variable for substituted force_explicit_eh_registry.
3692 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
3693 * configure.ac (explicit-exception-frame-registration):
3694 New AC_ARG_ENABLE.
3695 * configure: Regenerate.
3696
3a8fe7c6
OH
36972014-09-19 Olivier Hainque <hainque@adacore.com>
3698
3699 * config.host (powerpc-wrs-vxworksmils): New configuration,
3700 same as vxworksae.
3701
dd69f047
JM
37022014-09-18 Joseph Myers <joseph@codesourcery.com>
3703
3704 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
3705
e770bfd9
JM
37062014-09-18 Joseph Myers <joseph@codesourcery.com>
3707
3708 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
3709 bits not set bits as indicating trapping exceptions.
3710
cadb2b96
NS
37112014-09-17 Nathan sidwell <nathan@acm.org>
3712
3713 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
3714 (LIBGCOV_DRIVER): ... here.
3715 * libgcov-driver.c (gcov_master): New.
3716 (gcov_exit): Remove from master chain.
3717 (__gcov_init): Add to master chain if version compatible. Don't
3718 clear the version.
3719 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
3720 (gcov_reset_int): Clear master chain, if compatible.
3721 (gcov_dump_int): New internal interface. Dump master chain, if
3722 compatible.
3723 (gcov_dump): Alias for gcov_dump_int.
3724 * libgcov.h (struct gcov_root): Add next and prev fields.
3725 (struct gcov_master): New struct.
3726 (__gcov_master): New.
3727 (gcov_dump_int): Declare.
3728
580d22a3
OH
37292014-09-17 Olivier Hainque <hainque@adacore.com>
3730
3731 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
3732 and crtbegin.o + crtend.o to extra_parts.
3733
8cc4b7a2
JM
37342014-09-12 Joseph Myers <joseph@codesourcery.com>
3735
3736 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
3737 __LIBGCC_HAS_SF_MODE__.
3738 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3739 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3740 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3741 * config/libbid/bid_gcc_intrinsics.h
3742 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3743 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3744 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3745 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3746 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
3747 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3748
ea3f2b24
GJL
37492014-09-11 Georg-Johann Lay <avr@gjlay.de>
3750
3751 PR target/63223
3752 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
3753 and R24 as needed. Make work for all devices and .text locations.
3754 (__do_global_ctors, __do_global_dtors): Use word addresses.
3755 (__tablejump__, __tablejump_elpm__): Remove functions.
3756 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
3757 Add _tablejump2.
3758 (XICALL, XIJMP): New macros.
3759
b677236a
MS
37602014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
3761 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3762
3763 * config.host (aarch64*): Include crtfastmath.o and
3764 t-crtfm.
3765 * config/aarch64/crtfastmath.c: New file.
3766
157e859f
TS
37672014-09-08 Trevor Saunders <tsaunders@mozilla.com>
3768
3769 * config.host: Remove picochip support.
3770 * config/picochip/adddi3.S: Remove.
3771 * config/picochip/ashlsi3.S: Remove.
3772 * config/picochip/ashlsi3.c: Remove.
3773 * config/picochip/ashrsi3.S: Remove.
3774 * config/picochip/ashrsi3.c: Remove.
3775 * config/picochip/clzsi2.S: Remove.
3776 * config/picochip/cmpsi2.S: Remove.
3777 * config/picochip/divmod15.S: Remove.
3778 * config/picochip/divmodhi4.S: Remove.
3779 * config/picochip/divmodsi4.S: Remove.
3780 * config/picochip/lib1funcs.S: Remove.
3781 * config/picochip/longjmp.S: Remove.
3782 * config/picochip/lshrsi3.S: Remove.
3783 * config/picochip/lshrsi3.c: Remove.
3784 * config/picochip/parityhi2.S: Remove.
3785 * config/picochip/popcounthi2.S: Remove.
3786 * config/picochip/setjmp.S: Remove.
3787 * config/picochip/subdi3.S: Remove.
3788 * config/picochip/t-picochip: Remove.
3789 * config/picochip/ucmpsi2.S: Remove.
3790 * config/picochip/udivmodhi4.S: Remove.
3791 * config/picochip/udivmodsi4.S: Remove.
3792
66bb34c0
JM
37932014-09-08 Joseph Myers <joseph@codesourcery.com>
3794
3795 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
3796 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
3797 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
3798 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
3799 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
3800 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
3801 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
3802 defined and LIBGCC2_HAS_DF_MODE is defined.
3803 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
3804 defined and LIBGCC2_HAS_XF_MODE is defined.
3805 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
3806 defined and LIBGCC2_HAS_TF_MODE is defined.
3807
9686a2e6
JM
38082014-09-08 Joseph Myers <joseph@codesourcery.com>
3809
3810 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
3811 and ROUND_TOWARDS_ZERO conditionals.
3812
71c3e2ef
NS
38132014-09-07 Nathan sidwell <nathan@acm.org>
3814
3815 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
3816 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
3817
53d68b9f
JM
38182014-09-05 Joseph Myers <joseph@codesourcery.com>
3819
3820 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
3821 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3822 uses to __LIBGCC_STACK_POINTER_REGNUM__.
3823 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3824 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3825 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3826 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3827 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
3828 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
3829 (DWARF_FRAME_REGISTERS): Change all uses to
3830 __LIBGCC_DWARF_FRAME_REGISTERS__.
3831 (EH_RETURN_STACKADJ_RTX): Change all uses to
3832 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3833 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
3834 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
3835 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
3836 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
3837 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
3838 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
3839 to __LIBGCC_EH_FRAME_SECTION_NAME__.
3840 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
3841 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
3842 __LIBGCC_STACK_POINTER_REGNUM__.
3843 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3844 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3845 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3846 to __LIBGCC_STACK_POINTER_REGNUM__.
3847 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3848 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3849 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3850 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3851 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3852 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3853 (STACK_POINTER_REGNUM): Change all uses to
3854 __LIBGCC_STACK_POINTER_REGNUM__.
3855 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
3856 use to __LIBGCC_STACK_POINTER_REGNUM__.
3857 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3858 uses to __LIBGCC_STACK_POINTER_REGNUM__.
3859 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
3860 to __LIBGCC_DWARF_FRAME_REGISTERS__.
3861 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
3862 to __LIBGCC_DWARF_FRAME_REGISTERS__.
3863 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3864 to __LIBGCC_STACK_POINTER_REGNUM__.
3865 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
3866 Remove conditional definition.
3867 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
3868 __LIBGCC_TEXT_SECTION_ASM_OP__.
3869 (EH_FRAME_SECTION_NAME): Change all uses to
3870 __LIBGCC_EH_FRAME_SECTION_NAME__.
3871 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
3872 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
3873 (CTORS_SECTION_ASM_OP): Change all uses to
3874 __LIBGCC_CTORS_SECTION_ASM_OP__.
3875 (DTORS_SECTION_ASM_OP): Change all uses to
3876 __LIBGCC_DTORS_SECTION_ASM_OP__.
3877 (JCR_SECTION_NAME): Change all uses to
3878 __LIBGCC_JCR_SECTION_NAME__.
3879 (INIT_SECTION_ASM_OP): Change all uses to
3880 __LIBGCC_INIT_SECTION_ASM_OP__.
3881 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3882 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3883 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
3884 __LIBGCC_STACK_GROWS_DOWNWARD__.
3885 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
3886 __LIBGCC_INIT_SECTION_ASM_OP__.
3887 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3888 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3889 (EH_FRAME_SECTION_NAME): Change all uses to
3890 __LIBGCC_EH_FRAME_SECTION_NAME__.
3891 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
3892 definitions. Change all uses to
3893 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
3894 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
3895 __LIBGCC_STACK_GROWS_DOWNWARD__.
3896 (DWARF_FRAME_REGISTERS): Change all uses to
3897 __LIBGCC_DWARF_FRAME_REGISTERS__.
3898 (EH_RETURN_STACKADJ_RTX): Change all uses to
3899 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3900 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
3901 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
3902 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
3903 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
3904 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
3905
b20ee094
NS
39062014-09-02 Nathan sidwell <nathan@acm.org>
3907
3908 * libgcov-interface.c (STRONG_ALIAS): New.
3909 (__gcov_flush): Call __gcov_reset_int.
3910 (__gcov_reset): Strong alias for ...
3911 (__gcov_reset_ing): ... this renamed hidden version.
3912 * libgcov.h (__gcov_reset_int): New declaration.
3913
1ac83976
YS
39142014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
3915
25efdb9f
YS
3916 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
3917 call from here...
3918 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
3919 (__dso_handle): Define on Cygwin.
3920 * config/i386/t-cygming (crtbeginS.o): New rule.
3921 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
3922
1ac83976
YS
3923 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
3924 declaration syntax.
3925
c6f9ea3b
SE
39262014-08-13 Steve Ellcey <sellcey@mips.com>
3927
3928 * crtstuff.c: Undef caddr_t.
3929
5b1ea7c5
SE
39302014-08-12 Steve Ellcey <sellcey@mips.com>
3931
3932 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
3933
4303c581
NS
39342014-08-07 Nathan Sidwell <nathan@acm.org>
3935
3936 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
3937 (LIBGCOV_DRIVER): ... to here.
3938 * libgcov.h (gcov_do_dump): New #define.
3939 (struct gcov_root): New.
3940 (__gcov_root): New declaration.
3941 (__gcov_dump_one): Declare.
3942 * libgcov-driver.c (gcov_list, gcov_dump_complete,
3943 run_accounted): Delete.
3944 (gcov_compute_histogram): Add LIST argument, adjust.
3945 (compute_summary): Adjust gcov_compute_histogram call.
3946 (gcov_do_dump): Not hidden, static in libgcov.
3947 (gcov_clear): Move to interface.c.
3948 (__gcov_dump_one): New, broken out of ...
3949 (gcov_exit): ... here. Make static.
3950 (__gcov_root): New.
3951 (__gcov_init): Adjust.
3952 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
3953 declarations.
3954 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
3955 (gcov_clear): Moved from driver.c. Add LIST argument.
3956 (__gcov_reset): Adjust for changed interfaces.
3957 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
3958
23742a9e
RAR
39592014-08-04 Rohit <rohitarulraj@freescale.com>
3960
3961 PR target/60102
3962 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
d406ae47 3963 based on change in SPE high register numbers and 3 HTM registers.
23742a9e 3964
b98a872b
NS
39652014-08-01 Nathan Sidwell <nathan@acm.org>
3966
3967 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
3968 LIBGCOV_INTERFACE): Reformat.
3969 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
3970 IN_GCOV_TOOL.
3971 * libgcov-interface.c: Reformat some comments.
3972 (__gcov_flush_mx): Add declaration. Tidy up definition.
3973
6adaaa1d
AM
39742014-07-31 Alan Modra <amodra@gmail.com>
3975 Peter Bergner <bergner@vnet.ibm.com>
3976
3977 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
3978 (pack_ldouble): New function.
3979 (__gcc_qadd): Use it.
3980 (__gcc_qmul): Likewise.
3981 (__gcc_qdiv): Likewise.
3982 (__gcc_qneg): Likewise.
3983 (__gcc_stoq): Likewise.
3984 (__gcc_dtoq): Likewise.
3985
87cb0c0c
UW
39862014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
3987
3988 * config/s390/tpf-unwind.h: Include <stdbool.h>.
3989 (__tpf_eh_return): Add original return address as second parameter.
3990 Handle cases where unwinder routines were called directly, instead
3991 of from within the C++ library.
3992
19926161
NS
39932014-07-29 Nathan Sidwell <nathan@acm.org>
3994
3995 * libgcov.h: Move renaming of entry points to lib gcov specific
3996 portion.
3997 (gcov_do_dump): New rename.
3998 (gcov_rewrite): Remove inline, make HIDDEN.
3999 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
4000 (gcov_exit_compute_summary): Rename to ...
4001 (compute_summary): ... here. Add LIST argument.
4002 (gcov_exit_merge_gcda): Rename to ...
4003 (merge_one_data): ... here.
4004 (gcov_exit_write_gcda): Rename to ...
4005 (write_one_data): ... here.
4006 (gcov_exit_merge_summary): Rename to ...
4007 (merge_summary): Add RUN_COUNTED argument.
4008 (gcov_exit_dump_gcov): Rename to ...
4009 (dump_one_gcov): Add RUN_COUNTED argument.
4010 (gcov_do_dump): New function, broken out of ...
4011 (gcov_exit): ... here. Call it.
4012
17522262
AG
40132014-07-27 Anthony Green <green@moxielogic.com>
4014
4015 * config.host: Add moxiebox configuration suppport.
4016
6dc33097
NS
40172014-07-27 Nathan Sidwell <nathan@acm.org>
4018
4019 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
4020 (struct gcov_filename): ... here. Include buffer and max length
4021 fields.
4022 (gcov_max_filename): Remove.
4023 (gi_filename): Remove.
4024 (gcov_exit_compute_summary): Compute max filename here.
4025 (gcov_exit_merge_gcda): Add filename parm, adjust.
4026 (gcov_exit_merge_summary): Likewise.
4027 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
4028 (gcov_exit): Likewise.
4029 (__gcov_init): Don't calculate max length here.
4030 * libgcov_util.c (max_filename_len): Remove.
4031 (read_gcda_file): Don't calculate max length here.
4032 (gcov_read_profile_dir): Don't propagate here.
4033 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
4034 struct gcov_filename changes.
4035 (gcov_exit_open_gcda_file): Likewise.
4036
770f687d
NS
40372014-07-25 Nathan Sidwell <nathan@acm.org>
4038
4039 * libgcov-driver.c (set_gcov_dump_complete,
4040 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
4041 functions polluting user's namespace.
4042 (gcov_exit): Set variable directly.
4043 (gcov_clear): Reset variable directly.
4044 * libgcov-interface.c (get_gcov_dymp_complete,
4045 reset_gov_dump_complete): Remove declarations.
4046 (__gcov_reset, __gcov_dump): Don't call them.
4047
fabf71ba
DD
40482014-07-24 DJ Delorie <dj@redhat.com>
4049
4050 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
770f687d
NS
4051 (__gcc_deregister_frame): Move logic to detect deregister function
4052 to ...
4053 (__gcc_register_frame): here, so it's consistent with the register
4054 logic.
fabf71ba 4055
d10ee722
NS
40562014-07-23 Nathan Sidwell <nathan@acm.org>
4057
4058 * libgcov-driver.c (set_gcov_list): Remove.
4059 (gcov_list): Make non-static in GCOV_TOOL.
4060 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
4061
a4137090
JDA
40622014-07-17 John David Anglin <danglin@gcc.gnu.org>
4063
4064 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
4065 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
4066 Don't use SYNC_LOCK_RELEASE for int type.
4067
72602c6c
RB
40682014-07-14 Richard Biener <rguenther@suse.de>
4069
4070 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
4071
d5313205
RX
40722014-07-11 Rong Xu <xur@google.com>
4073
4074 * libgcov-util.c (gcov_max_filename): Fix declartion.
4075
c77556a5
RX
40762014-07-10 Rong Xu <xur@google.com>
4077
4078 Add gcov-tool: an offline gcda profile processing tool
4079 Support.
4080 * libgcov-driver.c (gcov_max_filename): Make available
4081 to gcov-tool.
4082 * libgcov-merge.c (__gcov_merge_add): Replace
4083 gcov_read_counter() with a Macro.
4084 (__gcov_merge_ior): Ditto.
4085 (__gcov_merge_time_profile): Ditto.
4086 (__gcov_merge_single): Ditto.
4087 (__gcov_merge_delta): Ditto.
4088 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
4089 in the utility functions.
4090 (set_fn_ctrs): Utility function for reading gcda files to in-memory
4091 gcov_list object link lists.
4092 (tag_function): Ditto.
4093 (tag_blocks): Ditto.
4094 (tag_arcs): Ditto.
4095 (tag_lines): Ditto.
4096 (tag_counters): Ditto.
4097 (tag_summary): Ditto.
4098 (read_gcda_finalize): Ditto.
4099 (read_gcda_file): Ditto.
4100 (ftw_read_file): Ditto.
4101 (read_profile_dir_init): Ditto.
4102 (gcov_read_profile_dir): Ditto.
4103 (gcov_read_counter_mem): Ditto.
4104 (gcov_get_merge_weight): Ditto.
4105 (merge_wrapper): A wrapper function that calls merging handler.
4106 (gcov_merge): Merge two gcov_info objects with weights.
4107 (find_match_gcov_info): Find the matched gcov_info in the list.
4108 (gcov_profile_merge): Merge two gcov_info object lists.
4109 (__gcov_add_counter_op): Process edge profile counter values.
4110 (__gcov_ior_counter_op): Process IOR profile counter values.
4111 (__gcov_delta_counter_op): Process delta profile counter values.
4112 (__gcov_single_counter_op): Process single profile counter values.
4113 (fp_scale): Callback function for float-point scaling.
cc86234f 4114 (int_scale): Callback function for integer fraction scaling.
c77556a5
RX
4115 (gcov_profile_scale): Scaling profile counters.
4116 (gcov_profile_normalize): Normalize profile counters.
4117 * libgcov.h: Add headers and functions for gcov-tool use.
4118 (gcov_get_counter): New.
4119 (gcov_get_counter_target): Ditto.
4120 (struct gcov_info): Make the functions field mutable in gcov-tool
4121 compilation.
4122
5c7dac8a
KT
41232014-06-23 Kai Tietz <ktietz@redhat.com>
4124
4125 PR libgcc/61585
4126 * unwind-seh.c (_Unwind_GetGR): Check for proper
4127 index range.
4128 (_Unwind_SetGR): Likewise.
4129
161c9312
NC
41302014-05-22 Nick Clifton <nickc@redhat.com>
4131
4132 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
4133 -mhwmult=none.
4134
e3f0315f
TJ
41352014-05-22 Teresa Johnson <tejohnson@google.com>
4136
4137 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
4138 include.
4139
dbed5a9b
JM
41402014-05-20 John Marino <gnugcc@marino.st>
4141
4142 * config.host (*-*-dragonfly*): New target.
4143 * crtstuff.c: Make dl_iterate_support generic on *bsd.
4144 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
4145 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
4146 * config/i386/dragonfly-unwind.h: New.
4147
1ec380e5
MR
41482014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
4149
4150 PR libgcc/60166
4151 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
4152 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
4153
54fde020
BE
41542014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
4155
4156 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
4157 implementation.
4158
999db125
GJL
41592014-05-12 Georg-Johann Lay <avr@gjlay.de>
4160
4161 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
4162
cceaf54a
RO
41632014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4164
4165 PR libgcc/61097
4166 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
4167 if --enable-shared.
4168
e3fe9b5b
BE
41692014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
4170
4171 Work around for current cygwin32 build problems.
4172 * config/i386/cygming-crtbegin.c (__register_frame_info,
4173 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
4174 functions only for 64-bit systems.
4175
54cf37e9
RO
41762014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4177
4178 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
4179 (sigill_caught, sigill_hdlr): Remove.
4180
d9f069ab
RO
41812014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4182
4183 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
4184 check.
4185 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
4186 Solaris 9 single-threaded support.
4187 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
4188 Solaris 9 single-threaded support. Add call_user_handler code
4189 sequences.
4190 (sparc_is_sighandler): Likewise.
4191
59976ef8
AK
41922014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4193
4194 * config.host: Append t-floattodi to tmake_file depending on
4195 host_address.
4196
d02bbcf3
JS
41972014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
4198
31466bc0 4199 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
d02bbcf3 4200
c2e7e597
UB
42012014-03-10 Uros Bizjak <ubizjak@gmail.com>
4202
4203 PR libgcc/60472
4204 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2405e0ea 4205 variable to avoid "array subscript is above array bounds" warnings.
c2e7e597
UB
4206 Use __builtin_expect when checking *jcr_list for NULL.
4207
227a7dc8
RO
42082014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4209
4210 PR libgcc/59339
4211 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
4212 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
4213 vtv_*.o to extra_parts if enable_vtable_verify.
4214
df2b279c
NC
42152014-03-06 Nick Clifton <nickc@redhat.com>
4216
4217 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
4218 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
4219
dc11d79b
JY
42202014-02-28 Joey Ye <joey.ye@arm.com>
4221
4222 PR libgcc/60166
4223 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
4224 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
4225 Set to zero.
4226
341c653c
WL
42272014-02-24 Walter Lee <walt@tilera.com>
4228
4229 * config.host: Support "tilegx*" and "tilepro*" triplets.
4230 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
4231 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
4232
95ce7613
CLT
42332014-02-20 Sandra Loosemore <sandra@codesourcery.com>
4234 Chung-Lin Tang <cltang@codesourcery.com>
4235
4236 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
4237 * config/nios2/crti.S: Remove .file directive.
4238 * config/nios2/crtn.S: Likewise.
4239
0bb4fc05
KT
42402014-02-18 Kai Tietz <ktietz@redhat.com>
4241 Jonathan Schleifer <js@webkeks.org>
4242
4243 PR objc/56870
4244 * unwind-seh.c (_GCC_specific_handler): Pass proper
4245 value to unwind-handler.
4246
9acf28f1
JM
42472014-02-12 Joseph Myers <joseph@codesourcery.com>
4248
4249 * soft-fp/adddf3.c: Update from glibc.
4250 * soft-fp/addsf3.c: Likewise.
4251 * soft-fp/addtf3.c: Likewise.
4252 * soft-fp/divdf3.c: Likewise.
4253 * soft-fp/divsf3.c: Likewise.
4254 * soft-fp/divtf3.c: Likewise.
4255 * soft-fp/double.h: Likewise.
4256 * soft-fp/eqdf2.c: Likewise.
4257 * soft-fp/eqsf2.c: Likewise.
4258 * soft-fp/eqtf2.c: Likewise.
4259 * soft-fp/extenddftf2.c: Likewise.
4260 * soft-fp/extended.h: Likewise.
4261 * soft-fp/extendsfdf2.c: Likewise.
4262 * soft-fp/extendsftf2.c: Likewise.
4263 * soft-fp/extendxftf2.c: Likewise.
4264 * soft-fp/fixdfdi.c: Likewise.
4265 * soft-fp/fixdfsi.c: Likewise.
4266 * soft-fp/fixdfti.c: Likewise.
4267 * soft-fp/fixsfdi.c: Likewise.
4268 * soft-fp/fixsfsi.c: Likewise.
4269 * soft-fp/fixsfti.c: Likewise.
4270 * soft-fp/fixtfdi.c: Likewise.
4271 * soft-fp/fixtfsi.c: Likewise.
4272 * soft-fp/fixtfti.c: Likewise.
4273 * soft-fp/fixunsdfdi.c: Likewise.
4274 * soft-fp/fixunsdfsi.c: Likewise.
4275 * soft-fp/fixunsdfti.c: Likewise.
4276 * soft-fp/fixunssfdi.c: Likewise.
4277 * soft-fp/fixunssfsi.c: Likewise.
4278 * soft-fp/fixunssfti.c: Likewise.
4279 * soft-fp/fixunstfdi.c: Likewise.
4280 * soft-fp/fixunstfsi.c: Likewise.
4281 * soft-fp/fixunstfti.c: Likewise.
4282 * soft-fp/floatdidf.c: Likewise.
4283 * soft-fp/floatdisf.c: Likewise.
4284 * soft-fp/floatditf.c: Likewise.
4285 * soft-fp/floatsidf.c: Likewise.
4286 * soft-fp/floatsisf.c: Likewise.
4287 * soft-fp/floatsitf.c: Likewise.
4288 * soft-fp/floattidf.c: Likewise.
4289 * soft-fp/floattisf.c: Likewise.
4290 * soft-fp/floattitf.c: Likewise.
4291 * soft-fp/floatundidf.c: Likewise.
4292 * soft-fp/floatundisf.c: Likewise.
4293 * soft-fp/floatunditf.c: Likewise.
4294 * soft-fp/floatunsidf.c: Likewise.
4295 * soft-fp/floatunsisf.c: Likewise.
4296 * soft-fp/floatunsitf.c: Likewise.
4297 * soft-fp/floatuntidf.c: Likewise.
4298 * soft-fp/floatuntisf.c: Likewise.
4299 * soft-fp/floatuntitf.c: Likewise.
4300 * soft-fp/gedf2.c: Likewise.
4301 * soft-fp/gesf2.c: Likewise.
4302 * soft-fp/getf2.c: Likewise.
4303 * soft-fp/ledf2.c: Likewise.
4304 * soft-fp/lesf2.c: Likewise.
4305 * soft-fp/letf2.c: Likewise.
4306 * soft-fp/muldf3.c: Likewise.
4307 * soft-fp/mulsf3.c: Likewise.
4308 * soft-fp/multf3.c: Likewise.
4309 * soft-fp/negdf2.c: Likewise.
4310 * soft-fp/negsf2.c: Likewise.
4311 * soft-fp/negtf2.c: Likewise.
4312 * soft-fp/op-1.h: Likewise.
4313 * soft-fp/op-2.h: Likewise.
4314 * soft-fp/op-4.h: Likewise.
4315 * soft-fp/op-8.h: Likewise.
4316 * soft-fp/op-common.h: Likewise.
4317 * soft-fp/quad.h: Likewise.
4318 * soft-fp/single.h: Likewise.
4319 * soft-fp/soft-fp.h: Likewise.
4320 * soft-fp/subdf3.c: Likewise.
4321 * soft-fp/subsf3.c: Likewise.
4322 * soft-fp/subtf3.c: Likewise.
4323 * soft-fp/truncdfsf2.c: Likewise.
4324 * soft-fp/trunctfdf2.c: Likewise.
4325 * soft-fp/trunctfsf2.c: Likewise.
4326 * soft-fp/trunctfxf2.c: Likewise.
4327 * soft-fp/unorddf2.c: Likewise.
4328 * soft-fp/unordsf2.c: Likewise.
4329 * soft-fp/unordtf2.c: Likewise.
4330 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
4331 macro.
4332 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4333 Likewise.
4334 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4335 Likewise.
4336 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4337 Likewise.
4338 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4339 Likewise.
4340 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4341 Likewise.
4342 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4343 Likewise.
4344 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4345 Likewise.
4346 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4347 Likewise.
4348 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4349 Likewise.
4350 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4351 Likewise.
4352 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4353 Likewise.
4354 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4355 Likewise.
4356 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
4357 Likewise.
4358 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
4359 Likewise.
4360 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4361 Likewise.
4362
ce245ec6
AK
43632014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4364
4365 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
4366 cannot be represented.
4367 * config/s390/32/_fixsfdi.c: Likewise.
4368 * config/s390/32/_fixtfdi.c: Likewise.
4369 * config/s390/32/_fixunsdfdi.c: Likewise.
4370 * config/s390/32/_fixunssfdi.c: Likewise.
4371 * config/s390/32/_fixunstfdi.c: Likewise.
4372
1c51d688
RS
43732014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
4374
4375 * configure.ac (libgcc_cv_mips_hard_float): New.
4376 * configure: Regenerate.
4377 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
4378 t-softfp-sfdf for hard-float targets.
4379 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
4380 (softfp_float_modes, softfp_int_modes, softfp_extensions)
4381 (softfp_truncations, softfp_exclude_libgcc2): New.
4382 * config/t-hardfp: New file.
4383 * config/t-hardfp-sfdf: Likewise.
4384 * config/hardfp.c: Likewise.
4385
bbf391db
AK
43862014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4387
4388 * config.host: Include t-floattodi also for s390x.
4389 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
4390 * config/s390/32/_fixsfdi.c: Likewise.
4391 * config/s390/32/_fixtfdi.c: Likewise.
4392 * config/s390/32/_fixunsdfdi.c: Likewise.
4393 * config/s390/32/_fixunssfdi.c: Likewise.
4394 * config/s390/32/_fixunstfdi.c: Likewise.
4395
91da0481
RO
43962014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4397
4398 PR target/59788
4399 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
4400 (install-libgcc-unwind-map-forbuild): New target.
4401 (all): Depend on install-libgcc-unwind-map-forbuild.
4402 (install-libgcc-unwind-map): New target.
4403 (install): Depend on install-libgcc-unwind-map.
4404
02b67731
SL
44052014-02-02 Sandra Loosemore <sandra@codesourcery.com>
4406
4407 * config/nios2/crti.S (_init): Initialize GOT pointer from
4408 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
4409
1ea0a651
RS
44102014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
4411
4412 * configure.ac: Check __mips64 when setting host_address.
4413 * configure: Regenerate.
4414 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
4415 mips/t-mips64 and t-softfp.
4416 (mips*-*-linux*): Don't add mips/t-tpbit.
4417 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
4418 (DPBIT, DPBIT_CFLAGS): Delete.
4419 * config/mips/sfp-machine.h: New file.
4420 * config/mips/t-mips64: Likewise.
4421 * config/mips/t-softfp-tf: Likewise.
4422 * config/mips/t-tpbit: Delete.
4423
f32b0061
MS
44242014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
4425
4426 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
4427 as long long.
4428
a5420aa4
WL
44292014-01-25 Walter Lee <walt@tilera.com>
4430
4431 * config/tilepro/atomic.c: Include tconfig.h. Don't include
4432 config.h or system.h.
4433 (bool) Define.
4434
24534912
WL
44352014-01-25 Walter Lee <walt@tilera.com>
4436
4437 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
4438 (post_atomic_barrier): Ditto.
4439 (__fetch_and_do): New macro.
4440 (__atomic_fetch_and_do): Use __fetch_and_do.
4441 (__sync_fetch_and_do): New macro.
4442 (__sync_fetch_and_add_4): New function.
4443 (__sync_fetch_and_sub_4): New function.
4444 (__sync_fetch_and_or_4): New function.
4445 (__sync_fetch_and_and_4): New function.
4446 (__sync_fetch_and_xor_4): New function.
4447 (__sync_fetch_and_nand_4): New function.
4448 (__sync_fetch_and_add_8): New function.
4449 (__sync_fetch_and_sub_8): New function.
4450 (__sync_fetch_and_or_8): New function.
4451 (__sync_fetch_and_and_8): New function.
4452 (__sync_fetch_and_xor_8): New function.
4453 (__sync_fetch_and_nand_8): New function.
4454 (__do_and_fetch): New macro.
4455 (__atomic_do_and_fetch): Use __do_and_fetch.
4456 (__sync_do_and_fetch): New macro.
4457 (__sync_add_and_fetch_4): New function.
4458 (__sync_sub_and_fetch_4): New function.
4459 (__sync_or_and_fetch_4): New function.
4460 (__sync_and_and_fetch_4): New function.
4461 (__sync_xor_and_fetch_4): New function.
4462 (__sync_nand_and_fetch_4): New function.
4463 (__sync_add_and_fetch_8): New function.
4464 (__sync_sub_and_fetch_8): New function.
4465 (__sync_or_and_fetch_8): New function.
4466 (__sync_and_and_fetch_8): New function.
4467 (__sync_xor_and_fetch_8): New function.
4468 (__sync_nand_and_fetch_8): New function.
4469 (__sync_exchange_methods): New macro.
4470 (__sync_val_compare_and_swap_4): New function.
4471 (__sync_bool_compare_and_swap_4): New function.
4472 (__sync_lock_test_and_test_4): New function.
4473 (__sync_val_compare_and_swap_8): New function.
4474 (__sync_bool_compare_and_swap_8): New function.
4475 (__sync_lock_test_and_test_8): New function.
4476 (__subword_cmpxchg_body): New macro.
4477 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
4478 (__atomic_compare_exchange_2): Ditto.
4479 (__sync_subword_cmpxchg): New macro.
4480 (__sync_val_compare_and_swap_1): New function.
4481 (__sync_bool_compare_and_swap_1): New function.
4482 (__sync_val_compare_and_swap_2): New function.
4483 (__sync_bool_compare_and_swap_2): New function.
4484 (__atomic_subword): Rename to ...
4485 (__subword): ... New name.
4486 (__atomic_subword_fetch): Use __subword.
4487 (__sync_subword_fetch): New macro.
4488 (__sync_fetch_and_add_1): New function.
4489 (__sync_fetch_and_sub_1): New function.
4490 (__sync_fetch_and_or_1): New function.
4491 (__sync_fetch_and_and_1): New function.
4492 (__sync_fetch_and_xor_1): New function.
4493 (__sync_fetch_and_nand_1): New function.
4494 (__sync_fetch_and_add_2): New function.
4495 (__sync_fetch_and_sub_2): New function.
4496 (__sync_fetch_and_or_2): New function.
4497 (__sync_fetch_and_and_2): New function.
4498 (__sync_fetch_and_xor_2): New function.
4499 (__sync_fetch_and_nand_2): New function.
4500 (__sync_add_and_fetch_1): New function.
4501 (__sync_sub_and_fetch_1): New function.
4502 (__sync_or_and_fetch_1): New function.
4503 (__sync_and_and_fetch_1): New function.
4504 (__sync_xor_and_fetch_1): New function.
4505 (__sync_nand_and_fetch_1): New function.
4506 (__sync_add_and_fetch_2): New function.
4507 (__sync_sub_and_fetch_2): New function.
4508 (__sync_or_and_fetch_2): New function.
4509 (__sync_and_and_fetch_2): New function.
4510 (__sync_xor_and_fetch_2): New function.
4511 (__sync_nand_and_fetch_2): New function.
4512 (__atomic_subword_lock): Use __subword.
4513 (__sync_subword_lock): New macro.
4514 (__sync_lock_test_and_set_1): New function.
4515 (__sync_lock_test_and_set_2): New function.
4516
4d6d3bc5
WL
45172014-01-25 Walter Lee <walt@tilera.com>
4518
4519 * config/tilepro/atomic.c (BIT_OFFSET): Define.
4520 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
4521 (__atomic_subword): Ditto.
4522
cbd9890e
WL
45232014-01-25 Walter Lee <walt@tilera.com>
4524
4525 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
4526 a prefix op argument.
4527 (__atomic_nand_fetch_4): Add prefix op.
4528 (__atomic_nand_fetch_8): Ditto.
4529
7d296953 45302014-01-21 Baruch Siach <barch@tkos.co.il>
800d8bd5
BS
4531
4532 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
4533
46dd1242
L
45342014-01-09 Rong Xu <xur@google.com>
4535
4536 * libgcov-driver.c (this_prg): make it local to save
4537 bss space.
4538 (gcov_exit_compute_summary): Ditto.
4539 (gcov_exit_merge_gcda): Ditto.
4540 (gcov_exit_merge_summary): Ditto.
4541 (gcov_exit_dump_gcov): Ditto.
4542
cc86234f 45432014-01-08 Rong Xu <xur@google.com>
40d6b753
RX
4544
4545 * libgcov-driver.c: Use libgcov.h.
4546 (buffer_fn_data): Use xmalloc instead of malloc.
4547 (gcov_exit_merge_gcda): Ditto.
4548 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
4549 * libgcov.h: New common header files for libgcov-*.h.
4550 * libgcov-interface.c: Use libgcov.h
4551 * libgcov-merge.c: Ditto.
4552 * libgcov-profiler.c: Ditto.
4553 * Makefile.in: Add dependence to libgcov.h
4554
a02e7bdd
JM
45552014-01-02 Joseph Myers <joseph@codesourcery.com>
4556
4557 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
4558 case of small numerator and finite nonzero result.
4559
ac1dca3c
RS
45602014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4561
4562 Update copyright years
4563
f9030485
RS
45642014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4565
4566 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
4567 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
4568 config/arc/dp-hack.h, config/arc/fp-hack.h,
4569 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
4570 config/arc/ieee-754/arc600-dsp/divdf3.S,
4571 config/arc/ieee-754/arc600-dsp/divsf3.S,
4572 config/arc/ieee-754/arc600-dsp/muldf3.S,
4573 config/arc/ieee-754/arc600-dsp/mulsf3.S,
4574 config/arc/ieee-754/arc600-mul64/divdf3.S,
4575 config/arc/ieee-754/arc600-mul64/divsf3.S,
4576 config/arc/ieee-754/arc600-mul64/muldf3.S,
4577 config/arc/ieee-754/arc600-mul64/mulsf3.S,
4578 config/arc/ieee-754/arc600/divsf3.S,
4579 config/arc/ieee-754/arc600/mulsf3.S,
4580 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
4581 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
4582 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
4583 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
4584 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
4585 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
4586 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
4587 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
4588 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
4589 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
4590 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
4591 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
4592 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
4593 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
4594 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
4595 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
4596 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
4597 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
4598 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
4599 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
4600 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
4601 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
4602 vtv_start_preinit.c: Use the standard form for the copyright notice.
4603
e430824f
CLT
46042013-12-31 Sandra Loosemore <sandra@codesourcery.com>
4605 Chung-Lin Tang <cltang@codesourcery.com>
4606 Based on patches from Altera Corporation
4607
4608 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
4609 * config/nios2/lib2-nios2.h: New file.
4610 * config/nios2/lib2-divmod-hi.c: New file.
4611 * config/nios2/linux-unwind.h: New file.
4612 * config/nios2/lib2-divmod.c: New file.
4613 * config/nios2/linux-atomic.c: New file.
4614 * config/nios2/t-nios2: New file.
4615 * config/nios2/crti.asm: New file.
4616 * config/nios2/t-linux: New file.
4617 * config/nios2/lib2-divtable.c: New file.
4618 * config/nios2/lib2-mul.c: New file.
4619 * config/nios2/tramp.c: New file.
4620 * config/nios2/crtn.asm: New file.
4621
1879e97f
UB
46222013-12-26 Uros Bizjak <ubizjak@gmail.com>
4623
4624 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
4625 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
4626 from cpuid.h to check vendor signatures.
4627
f4a4bdbb
GG
46282013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
4629
c2e7e597 4630 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
f4a4bdbb
GG
4631 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
4632 (get_amd_cpu): Likewise.
4633
8d2ae544
L
46342013-12-25 H.J. Lu <hongjiu.lu@intel.com>
4635
4636 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
4637 Haswell.
4638
74924838
ASJ
46392013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
4640 H.J. Lu <hongjiu.lu@intel.com>
4641
0bb52f25
L
4642 PR target/59422
4643 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
74924838
ASJ
4644 and AMD_JAGUAR.
4645 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
4646 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
4647 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
4648 FEATURE_XOP and FEATURE_FMA.
4649 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
4650 AMDFAM15H_BDVER3.
4651 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
0bb52f25 4652 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
74924838
ASJ
4653 FEATURE_FMA4 and FEATURE_XOP.
4654
d3c11974
L
46552013-12-23 H.J. Lu <hongjiu.lu@intel.com>
4656
4657 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
4658 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
4659 (get_intel_cpu): Updated.
4660
064c4ff2
ZC
46612013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
4662
4663 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
4664
8b02e720
UB
46652013-12-09 Uros Bizjak <ubizjak@gmail.com>
4666
4667 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1f71a3c3 4668 instructions when __SSE_MATH__ is defined.
8b02e720 4669
3fa2ccb4
RC
46702013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
4671
4672 * config.host (microblaze-*-rtems*): New.
4673
ecd78fc9
KV
46742013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
4675
4676 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
4677 architectures that do not have hardware divide instruction.
4678 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
4679
b21fbbd2
RS
46802013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
4681
4682 * longlong.h: Delete (moved to include/).
4683
b03fb8c9
AZ
46842013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4685
4686 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
4687 of normal number and qNaN to not raise an inexact exception.
4688
3c716922
UB
46892013-11-28 Uros Bizjak <ubizjak@gmail.com>
4690
4691 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
4692
46932013-11-28 Matthew Leach <matthew.leach@arm.com>
cceeb9a9
ML
4694
4695 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
4696 for correct opcodes on BE.
4697
a3458d22
UB
46982013-11-27 Uros Bizjak <ubizjak@gmail.com>
4699
4700 * soft-fp/op-4.h: Update from glibc.
4701
30b8f78b
KV
47022013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
4703
4704 * libgcc2.c (__udivmoddi4): Define new implementation when
4705 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
4706 divide instructions.
4707
82552a29
OE
47082013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
4709
4710 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
4711
80e87457
RO
47122013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4713
4714 * config/t-softfp (soft-fp-objects-base): New variable.
4715 (soft-fp-objects): Use it.
4716
44178879
DE
47172013-11-23 David Edelson <dje.gcc@gmail.com>
4718 Andrew Dixie <andrewd@gentrack.com>
4719
4720 PR target/33704
4721 * config/rs6000/aixinitfini.c: New file.
4722 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
4723 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
4724 symbols.
4725
e5287671
YR
47262013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
4727
a3458d22 4728 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
e5287671 4729
867c8b03
JH
47302013-11-18 Jan Hubicka <jh@suse.cz>
4731
7f369373
JH
4732 * libgcov-driver.c (run_accounted): Make global level static.
4733 (gcov_exit_merge_summary): Silence warning; do not clear
4734 run_accounted here.
4735 (gcov_exit): Clear it here.
4736
1d0b3334
JH
4737 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
4738 run_accounted.
4739
867c8b03
JH
4740 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
4741 (all_prg, crc32): Remove static vars.
4742 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
4743 all_prg.
4744 (gcov_exit_merge_gcda): Add crc32 parameter.
4745 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
4746 do not account run if it was already accounted.
4747 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
4748 (gcov_exit): Initialize all_prg; update.
4749
66204992
AS
47502013-11-15 Andreas Schwab <schwab@linux-m68k.org>
4751
4752 * configure: Regenerate.
4753
b54214fe
UW
47542013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4755 Alan Modra <amodra@gmail.com>
4756
4757 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
4758 (frob_update_context): Use it.
4759
47602013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4761 Alan Modra <amodra@gmail.com>
4762
4763 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
4764 (trampoline_initial): Provide ELFv2 variant.
4765 (__trampoline_setup): Likewise.
4766
4767 * config/rs6000/linux-unwind.h (frob_update_context): Do not
4768 check for AIX indirect function call sequence if _CALL_ELF == 2.
4769
47702013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4771 Alan Modra <amodra@gmail.com>
4772
4773 * config/rs6000/linux-unwind.h (get_regs): Do not support
4774 old kernel versions if _CALL_ELF == 2.
4775 (frob_update_context): Do not support PLT stub variants only
4776 generated by old linkers if _CALL_ELF == 2.
4777
13e0981a
UW
47782013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4779 Alan Modra <amodra@gmail.com>
4780
4781 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
4782 location of CR save area for 64-bit little-endian systems.
4783
1a80085d
EB
47842013-11-11 Eric Botcazou <ebotcazou@adacore.com>
4785
4786 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
4787 in tmake_file.
4788 * config/arm/t-vxworks: Delete.
4789
cabeea52
KT
47902013-11-10 Kai Tietz <ktietz@redhat.com>
4791
4792 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
4793 Increment load-count on use of LIBGCC_SONAME DLL.
4794 (hmod_libgcc): New static variable to hold handle of
4795 LIBGCC_SONAME DLL.
4796 (__gcc_deregister_frame): Decrement load-count of
4797 LIBGCC_SONAME DLL.
4798
ac088ba1
BRF
47992013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
4800
4801 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
4802 availability.
4803 * configure: Regenerate
4804
d59a8fcc
UB
48052013-11-07 Uros Bizjak <ubizjak@gmail.com>
4806
4807 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
4808 FP_EX_DENORM. Store result to volatile location after SSE division
4809 to close interrupt window. Remove unneeded fwait after x87
4810 division since interrupt window will be closed by emitted fstp.
9de84e84 4811 Rewrite FP_EX_INEXACT handling.
d59a8fcc 4812
9954c743
JM
48132013-11-06 Joseph Myers <joseph@codesourcery.com>
4814
4815 * soft-fp/README: Update.
4816 * soft-fp/adddf3.c: Update from glibc.
4817 * soft-fp/addsf3.c: Likewise.
4818 * soft-fp/addtf3.c: Likewise.
4819 * soft-fp/divdf3.c: Likewise.
4820 * soft-fp/divsf3.c: Likewise.
4821 * soft-fp/divtf3.c: Likewise.
4822 * soft-fp/double.h: Likewise.
4823 * soft-fp/eqdf2.c: Likewise.
4824 * soft-fp/eqsf2.c: Likewise.
4825 * soft-fp/eqtf2.c: Likewise.
4826 * soft-fp/extenddftf2.c: Likewise.
4827 * soft-fp/extended.h: Likewise.
4828 * soft-fp/extendsfdf2.c: Likewise.
4829 * soft-fp/extendsftf2.c: Likewise.
4830 * soft-fp/extendxftf2.c: Likewise.
4831 * soft-fp/fixdfdi.c: Likewise.
4832 * soft-fp/fixdfsi.c: Likewise.
4833 * soft-fp/fixdfti.c: Likewise.
4834 * soft-fp/fixsfdi.c: Likewise.
4835 * soft-fp/fixsfsi.c: Likewise.
4836 * soft-fp/fixsfti.c: Likewise.
4837 * soft-fp/fixtfdi.c: Likewise.
4838 * soft-fp/fixtfsi.c: Likewise.
4839 * soft-fp/fixtfti.c: Likewise.
4840 * soft-fp/fixunsdfdi.c: Likewise.
4841 * soft-fp/fixunsdfsi.c: Likewise.
4842 * soft-fp/fixunsdfti.c: Likewise.
4843 * soft-fp/fixunssfdi.c: Likewise.
4844 * soft-fp/fixunssfsi.c: Likewise.
4845 * soft-fp/fixunssfti.c: Likewise.
4846 * soft-fp/fixunstfdi.c: Likewise.
4847 * soft-fp/fixunstfsi.c: Likewise.
4848 * soft-fp/fixunstfti.c: Likewise.
4849 * soft-fp/floatdidf.c: Likewise.
4850 * soft-fp/floatdisf.c: Likewise.
4851 * soft-fp/floatditf.c: Likewise.
4852 * soft-fp/floatsidf.c: Likewise.
4853 * soft-fp/floatsisf.c: Likewise.
4854 * soft-fp/floatsitf.c: Likewise.
4855 * soft-fp/floattidf.c: Likewise.
4856 * soft-fp/floattisf.c: Likewise.
4857 * soft-fp/floattitf.c: Likewise.
4858 * soft-fp/floatundidf.c: Likewise.
4859 * soft-fp/floatundisf.c: Likewise.
4860 * soft-fp/floatunditf.c: Likewise.
4861 * soft-fp/floatunsidf.c: Likewise.
4862 * soft-fp/floatunsisf.c: Likewise.
4863 * soft-fp/floatunsitf.c: Likewise.
4864 * soft-fp/floatuntidf.c: Likewise.
4865 * soft-fp/floatuntisf.c: Likewise.
4866 * soft-fp/floatuntitf.c: Likewise.
4867 * soft-fp/gedf2.c: Likewise.
4868 * soft-fp/gesf2.c: Likewise.
4869 * soft-fp/getf2.c: Likewise.
4870 * soft-fp/ledf2.c: Likewise.
4871 * soft-fp/lesf2.c: Likewise.
4872 * soft-fp/letf2.c: Likewise.
4873 * soft-fp/muldf3.c: Likewise.
4874 * soft-fp/mulsf3.c: Likewise.
4875 * soft-fp/multf3.c: Likewise.
4876 * soft-fp/negdf2.c: Likewise.
4877 * soft-fp/negsf2.c: Likewise.
4878 * soft-fp/negtf2.c: Likewise.
4879 * soft-fp/op-1.h: Likewise.
4880 * soft-fp/op-2.h: Likewise.
4881 * soft-fp/op-4.h: Likewise.
4882 * soft-fp/op-8.h: Likewise.
4883 * soft-fp/op-common.h: Likewise.
4884 * soft-fp/quad.h: Likewise.
4885 * soft-fp/single.h: Likewise.
4886 * soft-fp/soft-fp.h: Likewise.
4887 * soft-fp/subdf3.c: Likewise.
4888 * soft-fp/subsf3.c: Likewise.
4889 * soft-fp/subtf3.c: Likewise.
4890 * soft-fp/truncdfsf2.c: Likewise.
4891 * soft-fp/trunctfdf2.c: Likewise.
4892 * soft-fp/trunctfsf2.c: Likewise.
4893 * soft-fp/trunctfxf2.c: Likewise.
4894 * soft-fp/unorddf2.c: Likewise.
4895 * soft-fp/unordsf2.c: Likewise.
4896 * soft-fp/unordtf2.c: Likewise.
4897
02ac9503
UB
48982013-11-05 Uros Bizjak <ubizjak@gmail.com>
4899
4900 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
4901 (_FP_MUL_MEAT_D): Ditto.
4902 (_FP_DIV_MEAT_S): Ditto.
4903 (_FP_DIV_MEAT_D): Ditto.
4904 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
4905 t-softfp-sfdf and t-softfp to tmake_file.
4906
61221141
UB
49072013-11-03 Uros Bizjak <ubizjak@gmail.com>
4908
4909 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
4910 * config/i386/crtprec.c: Ditto.
4911
9304f876
CJW
49122013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
4913 Shiva Chen <shiva0217@gmail.com>
4914
4915 * config.host (nds32*-elf*): Add nds32 target.
4916 * config/nds32 : New directory and files.
4917
0e499e75
HPN
49182013-10-16 Hans-Peter Nilsson <hp@axis.com>
4919
4920 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
4921 * config.host (cpu_type) <Setting default>: Add entry for
4922 crisv32-*-*.
4923 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
4924 <crisv32-*-linux*>: Adjust.
4925 * longlong.h: Wrap the whole CRIS section in a single
4926 defined(__CRIS__) conditional. Add comment about add_ssaaaa
4927 and sub_ddmmss.
4928 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
4929 defined.
4930 [__CRIS__] (__umulsidi3): Define.
4931 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
4932 * config/cris/sfp-machine.h: New file.
4933 * config/cris/umulsidi3.S: New file.
4934 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
4935 * config/cris/arit.c (SIGNMULT): New macro.
4936 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
4937 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
4938 saving 3 out of originally 33 cycles from the fastest
4939 path, 3 out of 54 from the medium path and one from the longest
4940 path. Improve comments.
4941
16022041
RS
49422013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
4943
4944 * sync.c: Remove static aliases and define each function directly
4945 under its real name.
4946
69778659
JDA
49472013-10-02 John David Anglin <danglin@gcc.gnu.org>
4948
4949 * config.host (hppa*64*-*-linux*): Define extra_parts.
4950 (hppa*-*-linux*): Likewise.
4951
2deaf8b0
JR
49522013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
4953
4954 * config/arc/crtgend.S: Add 2013 to Copyright years.
4955 * config/arc/gmon/atomic.h: Likewise.
4956 * config/arc/gmon/auxreg.h: Likewise.
4957 * config/arc/gmon/sys/gmon_out.h: Likewise.
4958 * config/arc/gmon/sys/gmon.h: Likewise.
4959 * config/arc/gmon/prof-freq.c: Likewise.
4960 * config/arc/gmon/mcount.c: Likewise.
4961 * config/arc/gmon/prof-freq-stub.S: Likewise.
4962 * config/arc/gmon/gmon.c: Likewise.
4963 * config/arc/gmon/machine-gmon.h: Likewise.
4964 * config/arc/gmon/profil.S: Likewise.
4965 * config/arc/gmon/dcache_linesz.S: Likewise.
4966 * config/arc/crtg.S: Likewise.
4967 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
4968 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
4969 * config/arc/ieee-754/adddf3.S: Likewise.
4970 * config/arc/ieee-754/truncdfsf2.S: Likewise.
4971 * config/arc/ieee-754/fixsfsi.S: Likewise.
4972 * config/arc/ieee-754/gtsf2.S: Likewise.
4973 * config/arc/ieee-754/floatsisf.S: Likewise.
4974 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
4975 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
4976 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
4977 * config/arc/ieee-754/fixdfsi.S: Likewise.
4978 * config/arc/ieee-754/addsf3.S: Likewise.
4979 * config/arc/ieee-754/gesf2.S: Likewise.
4980 * config/arc/ieee-754/floatsidf.S: Likewise.
4981 * config/arc/ieee-754/extendsfdf2.S: Likewise.
4982 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
4983 * config/arc/ieee-754/gtdf2.S: Likewise.
4984 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
4985 * config/arc/ieee-754/uneqdf2.S: Likewise.
4986 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
4987 * config/arc/ieee-754/uneqsf2.S: Likewise.
4988 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
4989 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
4990 * config/arc/ieee-754/eqdf2.S: Likewise.
4991 * config/arc/ieee-754/ordsf2.S: Likewise.
4992 * config/arc/ieee-754/divsf3.S: Likewise.
4993 * config/arc/ieee-754/divdf3.S: Likewise.
4994 * config/arc/ieee-754/floatunsidf.S: Likewise.
4995 * config/arc/ieee-754/orddf2.S: Likewise.
4996 * config/arc/ieee-754/eqsf2.S: Likewise.
4997 * config/arc/ieee-754/gedf2.S: Likewise.
4998 * config/arc/crtn.S: Likewise.
4999 * config/arc/crti.S: Likewise.
5000 * config/arc/t-arc700-uClibc: Likewise.
5001 * config/arc/asm.h: Likewise.
5002 * config/arc/libgcc-excl.ver: Likewise.
5003 * config/arc/t-arc-newlib: Likewise.
5004 * config/arc/divtab-arc700.c: Likewise.
5005 * config/arc/initfini.c: Likewise.
5006 * config/arc/fp-hack.h: Likewise.
5007
c8e318b0
JR
50082013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
5009 Diego Novillo <dnovillo@google.com>
5010
5011 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
a07c5b47
JR
5012 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
5013 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
5014 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
c8e318b0 5015
d38a64b4
JR
50162013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
5017 Brendan Kehoe <brendan@zen.org>
5018 Simon Cook <simon.cook@embecosm.com>
5019
5020 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
5021 * config/arc: New directory.
5022 * longlong.h [__arc__] (umul_ppmm): Remove.
5023 [__arc__] (__umulsidi3): Define.
5024 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
5025 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
5026
dff717d2
JC
50272013-09-17 Jacek Caban <jacek@codeweavers.com>
5028
5029 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
5030 CreateSemaphoreA.
5031 * config/i386/gthr-win32.h: Likewise.
5032
5c0029de
DD
50332013-09-16 DJ Delorie <dj@redhat.com>
5034
844ad6c6 5035 * config/rl78/vregs.h: Add G10 register definitions.
5c0029de
DD
5036 * config/rl78/lib2mul.c: Enable for RL78/G10.
5037 * config/rl78/lib2div.c: Likewise.
5038 * config/rl78/lshrsi3.S: Use vregs.h.
5039 * config/rl78/cmpsi2.S: Likewise.
5040 * config/rl78/trampoline.S: Likewise.
5041 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
5042
ceb2fc49
DD
50432013-09-14 DJ Delorie <dj@redhat.com>
5044 Nick Clifton <nickc@redhat.com>
5045
5046 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
5047 * config/rl78/vregs.h: New.
5048 * config/rl78/signbit.S: New file. Implements signbit function.
5049 * config/rl78/divmodsi.S: New.
5050 * config/rl78/divmodhi.S: New.
5051 * config/rl78/divmodqi.S: New.
5052 * config/rl78/t-rl78: Build them here...
5053 * config/rl78/lib2div.c: ...but not here.
5054
f6a83b4a
DD
50552013-09-12 DJ Delorie <dj@redhat.com>
5056
5057 * config.host (msp*-*-elf): New.
5058 * config/msp430/: New port.
5059
9107b096
IS
50602013-08-18 Iain Sandoe <iain@codesourcery.com>
5061
5062 PR gcov-profile/58127
5063 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
5064 __thread var for emulated TLS.
5065 (__gcov_indirect_call_counters): Likewise.
5066
0f9bde1f 50672013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
61221141 5068 Catherine Moore <clm@codesourcery.com>
7d296953 5069 Richard Sandiford <rdsandiford@googlemail.com>
0f9bde1f
MR
5070
5071 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
5072 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
5073 (CALL_STUB_NO_RET): Likewise.
5074 (CALL_STUB_RET): Likewise.
5075 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
5076 __mips16_ret call/return stub symbols.
5077 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
5078 to tmake_file.
5079
2dc14aac
MR
50802013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
5081
5082 * config.host <mips*-*-linux*>: Remove a stray comment.
5083
748d71f3
JH
50842013-08-10 Jan Hubicka <jh@suse.cz>
5085
5086 Work around binutils PR14342
5087 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
5088 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
5089 (L_gcov_indirect_call_profiler_v2): New.
5090
2fa3d31b
JH
50912013-08-06 Jan Hubicka <jh@suse.cz>
5092
5093 * libgcov.c (__gcov_indirect_call_callee,
5094 __gcov_indirect_call_counters): New global vars.
5095 (__gcov_indirect_call_profiler): replace by ...
5096 (__gcov_indirect_call_profiler_v2) ... this one.
5097
2077db1b
CT
50982013-08-06 Caroline Tice <cmtice@google.com>
5099
d0595b65 5100 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
2077db1b 5101 vtv_start_preinit.o and vtv_end_preinit.o.
d0595b65
CT
5102 * configure.ac: Add code to check/set enable_vtable_verify.
5103 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
2077db1b 5104 true.
d0595b65
CT
5105 * vtv_start_preinit.c: New file.
5106 * vtv_end_preinit.c: New file.
5107 * vtv_start.c: New file.
5108 * vtv_end.c: New file.
5109 * configure: Regenerated.
2077db1b 5110
46549c20
MK
51112013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
5112
5113 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
5114 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
5115 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
5116 GPL-3.0-with-GCC-exception.
5117
72be589b
MR
51182013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
5119
5120 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
5121 ISA and up.
5122
902a3faf
AK
51232013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5124
5125 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
5126 mapping for FPRs when creating the fallback framestate.
5127
02371798
GJL
51282013-07-19 Georg-Johann Lay <avr@gjlay.de>
5129
5130 PR target/57516
5131 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
5132 (__round_s2_const, __round_u2_const)
5133 (__round_s4_const, __round_u4_const, __round_x8):
5134 Saturate result if addition result cannot be represented.
5135
ab0e8379
MK
51362013-07-15 Matthias Klose <doko@ubuntu.com>
5137
5138 * libgcc2.c: Don't include <limits.h>.
5139
7da38058
JJ
51402013-07-09 Janis Johnson <janisjo@codesourcery.com>
5141
5142 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
5143
1f6eac90
JJ
51442013-07-06 Jakub Jelinek <jakub@redhat.com>
5145
5146 PR target/29776
5147 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
5148
4ea3d774
JJ
51492013-06-28 Jakub Jelinek <jakub@redhat.com>
5150
5151 PR middle-end/36041
5152 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
5153 Define.
5154 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
5155 instead of table lookups.
5156 (__popcountDI2): Likewise.
5157
9d2cdf25
CJW
51582013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
5159
5160 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
5161 correctly.
5162
fa1e55b0
JM
51632013-06-21 Joseph Myers <joseph@codesourcery.com>
5164
5165 PR other/53317
5166 * soft-fp/adddf3.c: Update from glibc.
5167 * soft-fp/addsf3.c: Likewise.
5168 * soft-fp/addtf3.c: Likewise.
5169 * soft-fp/divdf3.c: Likewise.
5170 * soft-fp/divsf3.c: Likewise.
5171 * soft-fp/divtf3.c: Likewise.
5172 * soft-fp/double.h: Likewise.
5173 * soft-fp/eqdf2.c: Likewise.
5174 * soft-fp/eqsf2.c: Likewise.
5175 * soft-fp/eqtf2.c: Likewise.
5176 * soft-fp/extenddftf2.c: Likewise.
5177 * soft-fp/extended.h: Likewise.
5178 * soft-fp/extendsfdf2.c: Likewise.
5179 * soft-fp/extendsftf2.c: Likewise.
5180 * soft-fp/fixdfdi.c: Likewise.
5181 * soft-fp/fixdfsi.c: Likewise.
5182 * soft-fp/fixsfdi.c: Likewise.
5183 * soft-fp/fixsfsi.c: Likewise.
5184 * soft-fp/fixtfdi.c: Likewise.
5185 * soft-fp/fixtfsi.c: Likewise.
5186 * soft-fp/fixunsdfdi.c: Likewise.
5187 * soft-fp/fixunsdfsi.c: Likewise.
5188 * soft-fp/fixunssfdi.c: Likewise.
5189 * soft-fp/fixunssfsi.c: Likewise.
5190 * soft-fp/fixunstfdi.c: Likewise.
5191 * soft-fp/fixunstfsi.c: Likewise.
5192 * soft-fp/floatdidf.c: Likewise.
5193 * soft-fp/floatdisf.c: Likewise.
5194 * soft-fp/floatditf.c: Likewise.
5195 * soft-fp/floatsidf.c: Likewise.
5196 * soft-fp/floatsisf.c: Likewise.
5197 * soft-fp/floatsitf.c: Likewise.
5198 * soft-fp/floatundidf.c: Likewise.
5199 * soft-fp/floatundisf.c: Likewise.
5200 * soft-fp/floatunditf.c: Likewise.
5201 * soft-fp/floatunsidf.c: Likewise.
5202 * soft-fp/floatunsisf.c: Likewise.
5203 * soft-fp/floatunsitf.c: Likewise.
5204 * soft-fp/gedf2.c: Likewise.
5205 * soft-fp/gesf2.c: Likewise.
5206 * soft-fp/getf2.c: Likewise.
5207 * soft-fp/ledf2.c: Likewise.
5208 * soft-fp/lesf2.c: Likewise.
5209 * soft-fp/letf2.c: Likewise.
5210 * soft-fp/muldf3.c: Likewise.
5211 * soft-fp/mulsf3.c: Likewise.
5212 * soft-fp/multf3.c: Likewise.
5213 * soft-fp/negdf2.c: Likewise.
5214 * soft-fp/negsf2.c: Likewise.
5215 * soft-fp/negtf2.c: Likewise.
5216 * soft-fp/op-1.h: Likewise.
5217 * soft-fp/op-2.h: Likewise.
5218 * soft-fp/op-4.h: Likewise.
5219 * soft-fp/op-8.h: Likewise.
5220 * soft-fp/op-common.h: Likewise.
5221 * soft-fp/quad.h: Likewise.
5222 * soft-fp/single.h: Likewise.
5223 * soft-fp/soft-fp.h: Likewise.
5224 * soft-fp/subdf3.c: Likewise.
5225 * soft-fp/subsf3.c: Likewise.
5226 * soft-fp/subtf3.c: Likewise.
5227 * soft-fp/truncdfsf2.c: Likewise.
5228 * soft-fp/trunctfdf2.c: Likewise.
5229 * soft-fp/trunctfsf2.c: Likewise.
5230 * soft-fp/unorddf2.c: Likewise.
5231 * soft-fp/unordsf2.c: Likewise.
5232 * soft-fp/unordtf2.c: Likewise.
5233 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
5234 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5235 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5236 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5237 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5238 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5239 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5240 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5241 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5242 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
5243 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
5244 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5245
0de86a92
JU
52462013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
5247
5248 * config/mips/lib2funcs.c: New file.
5249 * config/mips/t-mips (LIB2ADD_ST): Add it.
5250
0d008882
OE
52512013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
5252
5253 PR target/6526
5254 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
5255 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
5256
776434d1
WL
52572013-06-08 Walter Lee <walt@tilera.com>
5258
5259 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
5260 Replace int64_t with long long. Add __extension__ where
5261 appropriate.
5262 * config/tilepro/atomic.c: Include config.h.
5263
6ab3ebb4
DR
52642013-06-06 Douglas B Rupp <rupp@adacore.com>
5265
5266 * config.host (arm-wrs-vxworks): Configure with other soft float.
5267
107eea2c
JU
52682013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
5269
5270 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
5271 (mips64r5900el-*-elf*): New configurations.
5272
5cc19c62
AM
52732013-06-04 Alan Modra <amodra@gmail.com>
5274
5275 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
5276
0f1d3965
YR
52772013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
5278
5279 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
5280
0ba045df
EB
52812013-05-28 Eric Botcazou <ebotcazou@adacore.com>
5282
5283 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
5284 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
5285 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
5286
49dcafd4
EB
52872013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5288
5289 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
5290 (powerpc-wrs-vxworks): Likewise.
5291
4fcb5d87
EB
52922013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5293
5294 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
5295 signal frames as well.
5296 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
5297 STACK_BIAS to the CFA offset.
5298
0ec33224
RH
52992013-05-17 Richard Henderson <rth@redhat.com>
5300
5301 PR target/49146
5302 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
5303 (execute_cfa_program): Use it when storing to fs->regs.
5304
492a8029
KT
53052013-05-08 Kai Tietz <ktietz@redhat.com>
5306
5307 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
5308 (__deregister_frame_info): Likewise.
5309
701e2f0a
TS
53102013-05-06 Thomas Schwinge <thomas@codesourcery.com>
5311
e5123d08
TS
5312 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
5313 NaN's payload.
5314
701e2f0a
TS
5315 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
5316
b9a7eb5d
AM
53172013-04-25 Alan Modra <amodra@gmail.com>
5318
5319 * config.host: Match little-endian powerpc-linux.
5320
dfe192f5
YZ
53212013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
5322
5323 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
5324 as 'unsigned long long' instead of 'unsigned long'.
5325 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
5326 'signed long'.
5327
b6b9af2f
JB
53282013-04-10 Julian Brown <julian@codesourcery.com>
5329
5330 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
5331 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
5332 unsigned char/unsigned short.
5333 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
5334
ecabdd00
JDA
53352013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5336
5337 PR other/55274
5338 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
5339
34652576
MI
53402013-04-04 Meador Inge <meadori@codesourcery.com>
5341
5342 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
5343 computing the location of the link register.
5344 (aeabi_uldivmod): Ditto.
5345
e9fd8c19
KT
53462013-03-27 Kai Tietz <ktietz@redhat.com>
5347
5348 * config.host: Add support for cygwin x64 target.
5349 * configure: Regenerated.
5350
a6406324
WL
53512013-03-26 Walter Lee <walt@tilera.com>
5352
5353 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
5354 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
5355
55446c7e
KT
53562013-03-25 Kai Tietz <ktietz@redhat.com>
5357
5358 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
5359
d2ae19d9
RM
53602013-03-20 Robert Mason <rbmj@verizon.net>
5361
5362 * config/vxlib-tls.c (__gthread_get_tsd_data,)
5363 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
5364 (__gthread_leave_tsd_dtor_context): Add prototypes.
5365 (tls_delete_hook): Update.
5366
22c4c869
CM
53672013-03-20 Catherine Moore <clm@codesourcery.com>
5368 Joseph Myers <joseph@codesourcery.com>
5369 Chao-ying Fu <fu@mips.com>
5370
5371 * config/mips/mips16.S: Don't build for microMIPS.
5372 * config/mips/linux-unwind.h: Handle microMIPS frame.
5373 * config/mips/crtn.S (fini, init): New labels.
5374
fbd28bc3
JJ
53752013-03-14 Jakub Jelinek <jakub@redhat.com>
5376
5377 PR tree-optimization/53265
5378 * unwind-dw2.c (execute_cfa_program): Avoid
5379 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
5380 on targets with DWARF_FRAME_REGISTERS < 32.
5381
decc676e
OE
53822013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
5383
5384 PR target/49880
5385 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
5386 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
5387
84ea618a
ST
53882013-03-07 Sriraman Tallam <tmsriram@google.com>
5389
5390 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
5391 sandybridge processors.
5392
8f6d1c86
OE
53932013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
5394
5395 PR target/56529
5396 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
5397 inclusion list.
5398
ecdbd01a 53992013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
409b1de4
EI
5400
5401 * config/microblaze/crti.S: Setup stack protection at entry
5402
0b4ce21b
GJL
54032013-03-04 Georg-Johann Lay <avr@gjlay.de>
5404
5405 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
5406 (__rotldi3): Shift bytewise if applicable.
5407
b7c3f1ca
JG
54082013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
5409
5410 * config/aarch64/sync-cache.c
5411 (__aarch64_sync_cache_range): Silence warnings.
5412
6d65e8f1
CM
54132013-02-25 Catherine Moore <clm@codesourcery.com>
5414
5415 Revert:
5416 2013-02-24 Catherine Moore <clm@codesourcery.com>
5417 Joseph Myers <joseph@codesourcery.com>
5418 Chao-ying Fu <fu@mips.com>
5419
5420 * config/mips/mips16.S: Don't build for microMIPS.
5421 * config/mips/linux-unwind.h: Handle microMIPS frame.
5422 * config/mips/crtn.S (fini, init): New labels.
5423
6941b508
CM
54242013-02-24 Catherine Moore <clm@codesourcery.com>
5425 Joseph Myers <joseph@codesourcery.com>
5426 Chao-ying Fu <fu@mips.com>
5427
5428 * config/mips/mips16.S: Don't build for microMIPS.
5429 * config/mips/linux-unwind.h: Handle microMIPS frame.
5430 * config/mips/crtn.S (fini, init): New labels.
5431
7c422dbb 54322012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
cc86234f 5433 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7c422dbb
EI
5434 as dividend.
5435
110207ad
AM
54362013-02-16 Alan Modra <amodra@gmail.com>
5437
5438 PR target/55431
5439 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
5440 (ppc_fallback_frame_state): Always set up save locations for fp
5441 and altivec. Don't bother with non-callee-saved regs, r0-r13
5442 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
5443
e68a4ef6
GJL
54442013-02-12 Georg-Johann Lay <avr@gjlay.de>
5445
5446 PR target/54222
5447 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
5448 _ssmulHA, _ssmulSA.
5449 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
5450 _ssmulha3, _usmulusa3, _ssmulsa3.
5451 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
5452 (__muldi3): XCALL __muldi3_6 instead of rcall.
5453 (__umulsidi3, __mulsidi3): New functions.
5454 (do_prologue_saves, do_epilogue_restores): New .macros.
5455 (__divdi3_moddi3): Use them.
5456 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
5457 (__usmulusa3, __ssmulsa3): New functions.
5458
6c59ffd1
IS
54592013-02-11 Iain Sandoe <iain@codesourcery.com>
5460 Jack Howarth <howarth@bromo.med.uc.edu>
5461 Patrick Marlier <patrick.marlier@gmail.com>
5462
5463 PR libitm/55693
5464 * config/darwin-crt-tm.c: Remove dummy functions hack.
5465
85d768f3
GJL
54662013-02-08 Georg-Johann Lay <avr@gjlay.de>
5467
5468 PR target/54222
5469 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
5470 * config/avr/lib2-object.mk: New iterator to build objects from it.
5471 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
5472 lib2funcs.c.
5473 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
5474 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
5475 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
5476 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
5477 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
5478 * config/avr/lib1funcs-fixed.S: Implement them.
5479
5d5bf775
RS
54802013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
5481
5482 Update copyright years.
5483
99113dff
DE
54842013-02-01 David Edelsohn <dje.gcc@gmail.com>
5485
5486 PR target/54601
5487 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
5488 Add crtcxa to extra_parts.
5489 * config/rs6000/exit.h: New file.
5490 * config/rs6000/cxa_atexit.c: New file.
5491 * config/rs6000/cxa_finalize.c: New file.
5492 * config/rs6000/crtcxa.c: New file.
5493 * config/rs6000/t-aix-cxa: New file.
5494 * config/rs6000/libgcc-aix-cxa.ver: New file.
5495
dbdbd982
NC
54962013-01-31 Nick Clifton <nickc@redhat.com>
5497
5498 * config/v850/lib1funcs.S: Add support for e3v5 architecture
5499 variant.
5500
5893f158
GJL
55012013-01-29 Georg-Johann Lay <avr@gjlay.de>
5502
5503 PR target/54222
5504 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
5505 _mulQQ, _mulHQ, _mulHA, _mulSA,
5506 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
5507 _divQQ, _divHQ, _divHA, _divSA,
5508 _divUQQ, _divUHQ, _divUHA, _divUSA.
5509
ecdbd01a 55102013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
fbf0cf90 5511
dbdbd982 5512 * config.host(microblaze*-linux*): tmake_file: Remove
fbf0cf90
DH
5513 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
5514 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
5515 to exclude functions from being built with libgcc.c and use
5516 the microblaze assembly.
5517
ecdbd01a 55182013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6f14eef2
EI
5519
5520 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
5521 extra_parts.
5522
922c57d1
YZ
55232013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
5524
5525 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
5526 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
5527 __UINTPTR_TYPE__; also cast 'base' to the same type before the
5528 alignment operation.
5529
e0f8b6a0
SN
55302013-01-15 Sofiane Naci <sofiane.naci@arm.com>
5531
5532 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
5533 loop start address for cache clearing.
5534
00892272
GJL
55352013-01-14 Georg-Johann Lay <avr@gjlay.de>
5536
5537 * config/avr/lib1funcs.S: Remove trailing blanks.
5538 * config/avr/lib1funcs-fixed.S: Ditto.
5539
e59ec5fd
GJL
55402013-01-14 Georg-Johann Lay <avr@gjlay.de>
5541
5542 * config/avr/avr-lib.h: Add GPL copyright notice.
5543
3ffc1958
GJL
55442013-01-14 Georg-Johann Lay <avr@gjlay.de>
5545
5546 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
5547 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
5548 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
5549 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
5550
25c210f9
MK
55512013-01-07 Mark Kettenis <kettenis@openbsd.org>
5552
5553 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
5554 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
2bc15360 5555
db59befb
NC
55562013-01-04 Nick Clifton <nickc@redhat.com>
5557
5558 * config/v850/lib1funcs.S: Only provide CALLT support functions if
5559 the CALLT instruction is supported.
5560
5aa12dbf
JW
55612012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
5562
5563 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
5564 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
5565
65f14117
JT
55662012-12-13 John Tytgat <John@bass-software.com>
5567
5568 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
5569 is 25.
5570
ee3ae4f7
JJ
55712012-12-12 Jakub Jelinek <jakub@redhat.com>
5572
5573 PR libgcc/55451
5574 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
5575 undefined signed overflows.
5576
2fcfba3d
UB
55772012-12-09 Uros Bizjak <ubizjak@gmail.com>
5578
5579 PR target/55344
5580 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
5581
4f2b3dc2
UB
55822012-12-06 Uros Bizjak <ubizjak@gmail.com>
5583
5584 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
5585 (FP_TRAPPING_EXCEPTIONS): Define.
5586 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
5587 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
5588
066161a2
RH
55892012-12-04 Richard Henderson <rth@redhat.com>
5590
5591 PR bootstrap/55571
5592 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
5593
7d296953 55942012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
25626181 5595
4f2b3dc2 5596 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
25626181
MS
5597 (FP_EX_SHIFT): Define.
5598 (FP_TRAPPING_EXCEPTIONS): Define.
5599
7d296953 56002012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
868395e8
MS
5601
5602 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
5603 (FP_ROUNDMODE): Use FP_RND_MASK.
5604 * config/aarch64/sfp-exceptions.c: New.
5605 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5606 Use __sfp_handle_exceptions.
5607
5005fe22
RE
56082012-12-04 Richard Earnshaw <rearnsha@arm.com>
5609
5610 * config.host: (arm*-*-freebsd*): Remove.
5611 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
5612 (arm*-*-elf*): Remove.
5613 (arm*-*-wince-pe*): Remove.
5614 * arm/unwind-arm.c (struct fpa_reg): Delete.
5615 (struct fpa_regs): Delete.
5616 (phase1_vrs): Remove fpa element.
5617 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
5618 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
5619 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
5620 * ieee754-sf.S (floatundisf): Remove FPA support.
5621 (floatdisf): Likewise.
5622 * ieee75f-df.S (floatundidf): Likewise.
5623 (floatdidf): Likewise.
5624
e5a81c8e
KT
56252012-11-29 Kai Tietz <ktietz@redhat.com>
5626
5627 PR target/55445
5628 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
5629 * unwind-generic.h: Likewise.
5630 * unwind-seh.c: Likewise.
5631
f4919e4a
RH
56322012-11-28 Richard Henderson <rth@redhat.com>
5633
5634 PR libgcc/48076
5635 * emutls.c (__emutls_get_address): Avoid race condition between
5636 obj->loc.offset read and emutls_key initialization.
4f2b3dc2 5637
e13d9d5a
GJL
56382012-11-22 Georg-Johann Lay <avr@gjlay.de>
5639
5640 Adjust decimal point of signed accum mode to GCC default.
5641
5642 PR target/54222
5643 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
5644 _divqq_helper.
5645 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
5646 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
5647 (__mulha3, __mulsa3)
5648 (__divqq3, __divha3, __divsa3): Adjust to new position of
4f2b3dc2
UB
5649 decimal point of signed accum types.
5650
e13d9d5a
GJL
5651 (__mulusa3_round): New function.
5652 (__mulusa3): Use it.
5653 (__divqq_helper): New function.
5654 (__udivuqq3): Use it.
5655
1b845c6e
JJ
56562012-11-20 Jakub Jelinek <jakub@redhat.com>
5657
5658 PR bootstrap/55370
5659 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
5660
822a258a
TJ
56612012-11-18 Teresa Johnson <tejohnson@google.com>
5662
5663 PR bootstrap/55051
5664 * libgcov.c (gcov_exit): Remove merged program summary
5665 comparison unless !GCOV_LOCKED.
5666
7d296953 56672012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
54f4eaf0
MS
5668
5669 * soft-fp: Updated from glibc upstream.
5670
e808687a
ILT
56712012-11-06 Ian Lance Taylor <iant@google.com>
5672
5673 * generic-morestack.c (__generic_morestack): Align the returned
5674 stack pointer to a 32 byte boundary.
5675 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
5676 increment the return address until we have decided that we don't
5677 have a varargs function.
5678 (__morestack) [32-bit]: Align stack correctly when calling C
5679 functions.
5680 (__morestack) [64-bit]: Likewise.
5681
460277e0
TS
56822012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5683
5684 * configure: Regenerate.
5685
73edb277
UB
56862012-11-02 Uros Bizjak <ubizjak@gmail.com>
5687
5688 PR target/55175
5689 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
5690 * config/i386/sfp-machine.h: Guard exception handling
5691 code with _SOFT_FLOAT.
5692 * config/i386/32/sfp-machine.h: Guard rounding handling
5693 code with _SOFT_FLOAT.
5694 * config/i386/64/sfp-machine.h: Ditto.
5695
c1d4fa04
JS
56962012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
5697
5698 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
5699 as extra_parts.
5700
eff6ca85
UB
57012012-10-26 Uros Bizjak <ubizjak@gmail.com>
5702
5703 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
5704 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
5705 when appropriate. Correct structure element types.
5706 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
5707 -minline-all-stringops from compile flags.
5708
7d296953 57092012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
43a8f1a1
RC
5710
5711 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
5712
7d296953 57132012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
76c78361 5714
eff6ca85 5715 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
76c78361 5716
6f288860
SH
57172012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
5718
5719 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
5720 tmake_file.
5721
1e3d5096
IB
57222012-10-23 Ian Bolton <ian.bolton@arm.com>
5723 Jim MacArthur <jim.macarthur@arm.com>
5724 Marcus Shawcroft <marcus.shawcroft@arm.com>
5725 Nigel Stephens <nigel.stephens@arm.com>
5726 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
5727 Richard Earnshaw <rearnsha@arm.com>
5728 Sofiane Naci <sofiane.naci@arm.com>
5729 Stephen Thomas <stephen.thomas@arm.com>
5730 Tejas Belagod <tejas.belagod@arm.com>
5731 Yufeng Zhang <yufeng.zhang@arm.com>
5732
5733 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
5734 * config/aarch64/crti.S: New file.
5735 * config/aarch64/crtn.S: New file.
5736 * config/aarch64/linux-unwind.h: New file.
5737 * config/aarch64/sfp-machine.h: New file.
5738 * config/aarch64/sync-cache.c: New file.
5739 * config/aarch64/t-aarch64: New file.
5740 * config/aarch64/t-softfp: New file.
5741
8a740f07
HPN
57422012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
5743
5744 * config/mmix/crti.S: Mark program and data addresses using PRELD.
5745 Remove typo'd and unnecessary alignment-LOC for .data. Remove
5746 no-longer-needed LDBU insns.
5747
7d296953 57482012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
153c8397
SH
5749
5750 * config.host
5751 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
5752 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
5753
595fefee
MGD
57542012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
5755
5756 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
5757
9945a876
MK
57582012-10-15 Matthias Klose <doko@ubuntu.com>
5759
5760 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
5761
1183dc2c
PC
57622012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
5763
5764 * configure: Regenerate.
5765 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
5766
945a9c1f
UB
57672012-10-10 Uros Bizjak <ubizjak@gmail.com>
5768
5769 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
5770 instructions for 64bit targets only.
5771
fb8bf47a
UB
57722012-10-10 Uros Bizjak <ubizjak@gmail.com>
5773
5774 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5775 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
5776 * config/i386/32/sfp-machine.h: ... here.
5777 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
5778 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
5779 New defines.
5780
acb72498
MK
57812012-10-07 Matthias Klose <doko@ubuntu.com>
5782
5783 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
5784 as unused.
5785 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
5786
8eaee0f0
MK
57872012-10-06 Mark Kettenis <kettenis@openbsd.org>
5788
5789 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
5790 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
5791 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
5792 (ElfW): Likewise.
5793
5e3e4fe8
JW
57942012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
5795
5796 PR other/53889
5797 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5798 Fix parameter names.
5799
86086376
OE
58002012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
5801
5802 PR target/33135
5803 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
5804 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
5805 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
5806
9597375a
OE
58072012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
5808
5809 PR target/50457
5810 * config/sh/linux-atomic.S: Delete.
5811 * config/sh/linux-atomic.c: New.
5812 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
5813 linux-atomic.c. Add cflags to disable warnings.
5814
1504e3e1
JW
58152012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
5816
5817 PR other/53889
5818 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
5819 function.
5820 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
5821 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
5822 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
5823 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5e3e4fe8
JW
5824 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
5825 Likewise.
1504e3e1
JW
5826 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5827 Likewise.
5828 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
5829 Likewise.
5830 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
5831 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
5832
17f293b0
MK
58332012-09-19 Mark Kettenis <kettenis@openbsd.org>
5834
9597375a
OE
5835 * config.host (hppa-*-openbsd*): New target.
5836 * config/pa/t-openbsd: New file.
17f293b0 5837
51526856
GJL
58382012-09-15 Georg-Johann Lay <avr@gjlay.de>
5839
5840 PR target/54222
5841 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
5842 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
5843 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
5844 (__divsa3): Use __negsi2 to negate r_quoL.
5845 * config/avr/lib1funcs.S (FALIAS): New macro.
5846 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
5847 (__negsi2): ...this new function.
5848 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
5849 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
5850 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
5851 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
5852 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
5853 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
5854
aadb5b43
OE
58552012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
5856
5857 PR target/54089
5858 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
5859 (lshrsi3): Reimplement as lshrsi3_r0.
5860
d5d66749
AS
58612012-09-10 Andreas Schwab <schwab@linux-m68k.org>
5862
5863 PR target/46191
5864 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
5865 of libgcc.a.
5866
c6c36e73
TJ
58672012-09-07 Teresa Johnson <tejohnson@google.com>
5868
9597375a 5869 PR gcov-profile/54487
c6c36e73 5870 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9597375a 5871 differences.
c6c36e73 5872
b588ae30
GJL
58732012-09-05 Georg-Johann Lay <avr@gjlay.de>
5874
5875 PR target/54461
5876 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
5877 not configured --with-avrlibc=no.
5878 * config/avr/t-avrlibc: New file.
5879 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
5880 (DPBIT_FUNCS): Ditto.
5881 (TPBIT_FUNCS): Ditto.
5882
abd16fb1
TJ
58832012-09-04 Teresa Johnson <tejohnson@google.com>
5884
5885 * libgcov.c (struct gcov_summary_buffer): New structure.
5886 (gcov_histogram_insert): New function.
5887 (gcov_compute_histogram): Ditto.
5888 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
5889 histograms during summary merging.
5890
613061fd
MK
58912012-09-01 Mark Kettenis <kettenis@openbsd.org>
5892
5893 * config.host (x86_64-*-openbsd*): New target.
73edb277 5894
867a8345
CLT
58952012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
5896
5897 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
5898 attribute.
5899
4aeaaca3
GJL
59002012-08-24 Georg-Johann Lay <avr@gjlay.de>
5901
5902 PR target/54222
5903 * config/avr/t-avr (conv_X): Rename to func_X.
5904
e55e4056
GJL
59052012-08-24 Georg-Johann Lay <avr@gjlay.de>
5906
5907 PR target/54222
5908 * config/avr/lib1funcs-fixed.S: New file.
5909 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
5910 after they are used.
5911 (neg2, neg4): New macros.
5912 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
5913 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
5914 (__umulhisi3): Speed up MUL variant if there is enough flash.
5915 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
5916 avr-modes.def.
5917 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
5918 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
5919 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
5920 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
5921 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
5922 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
5923 (LIB2FUNCS_EXCLUDE): Add supported functions.
5924
a147b6d2
GJL
59252012-08-22 Georg-Johann Lay <avr@gjlay.de>
5926
5927 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
5928 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
5929 libgcc-s-objects.
5930 * fixed-obj.mk: Only expand dependency if $o is not in
5931 LIB2FUNCS_EXCLUDE.
5932
c637141a
L
59332012-08-22 H.J. Lu <hongjiu.lu@intel.com>
5934
5935 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
5936
130e00bd
JM
59372012-08-22 Joseph Myers <joseph@codesourcery.com>
5938
5939 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
5940 depend on --enable-shared.
5941 ($(lib1asmfuncs-o)): Use %.vis files independent of
5942 --enable-shared.
5943 * static-object.mk ($(base)$(objext), $(base).vis)
5944 ($(base)_s$(objext)): Use same rules for visibility handling as in
5945 shared-object.mk.
5946
4b1b3788
ILT
59472012-08-21 Ian Lance Taylor <iant@google.com>
5948
5949 * config/i386/morestack.S (__morestack_non_split): Increase amount
5950 of space allocated for non-split code stack.
5951
d2468141
JM
59522012-08-19 Joseph Myers <joseph@codesourcery.com>
5953
5954 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
5955 even if inhibit_libc.
5956
a508e1a8
JB
59572012-08-17 Julian Brown <julian@codesourcery.com>
5958
5959 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
5960 -fexceptions -fnon-call-exceptions if not defined.
5961 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
5962 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
5963
5615a07d
AS
59642012-08-17 Andreas Schwab <schwab@linux-m68k.org>
5965
5966 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
5967 type.
5968
138f5acd
DE
59692012-08-16 David Edelsohn <dje.gcc@gmail.com>
5970
5971 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
5972 rs6000/t-slibgcc-aix.
5973
18efc0dd
SB
59742012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
5975
5976 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
5977
6b39bc38
SB
59782012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
5979
5980 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
5981
cd25dea0
L
59822012-08-03 H.J. Lu <hongjiu.lu@intel.com>
5983
5984 PR driver/54171
5985 * Makefile.in (version): Replace top_srcdir with srcdir.
5986
a3dda30b
JY
59872012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
5988
5989 * Makefile.in (version): set to BASE-VER file from gcc directory.
5990
d04aacfc
NC
59912012-08-01 Nick Clifton <nickc@redhat.com>
5992
5993 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
5994 Implements __clrsb for an HImode argument.
5995
0d13c974
NC
59962012-07-31 Nick Clifton <nickc@redhat.com>
5997
5998 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
5999 Implements __clrsb for an HImode argument.
6000 * config/stormy16/clrsbhi2.c: New file:
6001 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
6002
efbb59b2
SB
60032012-07-22 Steven Bosscher <steven@gcc.gnu.org>
6004
6005 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
6006
bf1431e3
TG
60072012-07-19 Tristan Gingold <gingold@adacore.com>
6008 Richard Henderson <rth@redhat.com>
6009
6010 * unwind-seh.c: New file.
6011 * unwind-generic.h: Include windows.h for SEH.
6012 (_Unwind_Exception): Use 6 private fields for SEH.
6013 (_GCC_specific_handler): Declare.
6014 * unwind-c.c (__gcc_personality_seh0): New function.
6015 Adjust for SEH.
6016 * config/i386/libgcc-cygming.ver: New file.
6017 * config/i386/t-seh-eh: New file.
6018 * config.host (x86_64-*-mingw*): Default to seh.
6019
659140c8
SB
60202012-07-14 Steven Bosscher <steven@gcc.gnu.org>
6021
6022 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
6023
a20d08fd
UB
60242012-06-17 Uros Bizjak <ubizjak@gmail.com>
6025
6026 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
6027 __builtin_expect when checking for exceptions.
6028 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
6029
79261115
UB
60302012-06-13 Uros Bizjak <ubizjak@gmail.com>
6031
4a172156
UB
6032 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
6033 function declaration.
6034 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6035 (FP_RND_MASK): New.
6036 * config/ia64/sfp-exceptions.c: New.
6037 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
79261115 6038
bb5c97d4
UB
60392012-06-13 Uros Bizjak <ubizjak@gmail.com>
6040
6041 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
6042 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
6043 * config/i386/64/sfp-machine: ... (delete here) ...
6044 * config/i386/sfp-machine.h: ... to here.
6045 (FP_EX_MASK): Remove.
6046 (FP_RND_MASK): New.
6047 (FP_INIT_ROUNDMODE): Declare asm as volatile.
6048
91fe5efb
ST
60492012-06-11 Sriraman Tallam <tmsriram@google.com>
6050
6051 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
6052 * config/i386/libgcc-sol2.ver: Ditto.
6053 * config/i386/libgcc-glibc.ver: Ditto.
6054
67a218c5
RM
60552012-06-11 Roland McGrath <mcgrathr@google.com>
6056
6057 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
6058 If __GLIBC__ is defined, refer to __pthread_key_create instead of
6059 pthread_cancel.
6060
492fbea1
UB
60612012-06-09 Uros Bizjak <ubizjak@gmail.com>
6062
6063 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
6064 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
6065 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
6066 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
6067 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
6068 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
6069 * config/i386/64/sfp-machine: ... (delete here) ...
6070 * config/i386/sfp-machine.h: ... to here.
6071 (FP_EX_MASK): New.
6072 (__sfp_handle_exceptions): New function declaration.
6073 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6074 * config/i386/sfp-exceptions.c: New.
6075 * config/i386/t-softfp: New.
6076 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
6077 i386/t-softfp to tmake_file.
6078
7b4cf266
DM
60792012-06-03 David S. Miller <davem@davemloft.net>
6080
6081 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
6082 change.
6083
0de0d5c6
DM
60842012-05-31 David S. Miller <davem@davemloft.net>
6085
6086 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
6087 multiply and divide instructions on 32-bit when V9.
6088 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
6089
d8c9d391
JM
60902012-05-29 Joseph Myers <joseph@codesourcery.com>
6091
6092 * config/arm/ieee754-df.S: Fix typos.
6093 * config/arm/ieee754-sf.S: Fix typos.
6094 * config/c6x/libunwind.S: Fix typos.
6095 * config/epiphany/udivsi3-float.c: Fix typos.
6096 * config/microblaze/muldi3_hard.S: Fix typos.
6097 * config/picochip/adddi3.S: Fix typos.
6098 * config/picochip/ashlsi3.S: Fix typos.
6099 * config/picochip/ashrsi3.S: Fix typos.
6100 * config/picochip/clzsi2.S: Fix typos.
6101 * config/picochip/cmpsi2.S: Fix typos.
6102 * config/picochip/divmod15.S: Fix typos.
6103 * config/picochip/divmodhi4.S: Fix typos.
6104 * config/picochip/divmodsi4.S: Fix typos.
6105 * config/picochip/longjmp.S: Fix typos.
6106 * config/picochip/lshrsi3.S: Fix typos.
6107 * config/picochip/parityhi2.S: Fix typos.
6108 * config/picochip/popcounthi2.S: Fix typos.
6109 * config/picochip/setjmp.S: Fix typos.
6110 * config/picochip/subdi3.S: Fix typos.
6111 * config/picochip/ucmpsi2.S: Fix typos.
6112 * config/picochip/udivmodhi4.S: Fix typos.
6113 * config/picochip/udivmodsi4.S: Fix typos.
6114 * config/spu/divv2df3.c: Fix typos.
6115 * config/spu/mfc_multi_tag_release.c: Fix typos.
6116 * config/spu/mfc_tag_release.c: Fix typos.
6117 * configure.ac: Fix typos.
6118 * configure: Regenerate.
6119
31a18a7e
ILT
61202012-05-25 Ian Lance Taylor <iant@google.com>
6121
6122 * config/i386/morestack.S (__morestack_non_split): Check whether
6123 caller is varargs and needs %bp to hold the stack frame on return.
6124
c5768510
OH
61252012-05-25 Olivier Hainque <hainque@adacore.com>
6126
6127 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
6128 sequence in the non pic case on VxWorks.
6129
7c7c339b
OH
61302012-05-24 Olivier Hainque <hainque@adacore.com>
6131
73fb7630 6132 * Makefile.in: Move dependency on install-unwind_h from
7c7c339b
OH
6133 "install-leaf" to "install".
6134
fdc1b7d3
OH
61352012-05-24 Olivier Hainque <hainque@adacore.com>
6136
6137 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
6138 Use a separate command for stamp removals.
6139
07ba94b9
AP
61402012-05-21 Andrew Pinski <apinski@cavium.com>
6141
6142 PR bootstrap/53183
6143 * configure.ac: Define the default includes to being none.
6144 * configure: Regenerate.
6145
4677d2eb
OH
61462012-05-16 Olivier Hainque <hainque@adacore.com>
6147
6148 * Makefile.in (install-unwind_h): Rename into ...
6149 (install-unwind_h-forbuild): New target.
6150 (all): Use it instead of the former install-unwind_h.
6151 (install-unwind_h): Reinstate, copy to user install destination
6152 for include files, not to the internal gcc object directory one.
6153 (install-leaf): Depend on it.
6154
7d67c380
OH
61552012-05-15 Olivier Hainque <hainque@adacore.com>
6156
6157 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
6158 register numbers. LR_REGNO replaces R_LR.
6159 (ucontext_for): New, helper for ...
6160 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
6161 and 5.3 of ...
6162 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
6163
aca06c90
RO
61642012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6165
6166 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
6167 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
6168 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
6169 i386/t-cpuinfo ...
6170 (i[34567]86-*-*, x86_64-*-*): ... here.
6171
6172 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
6173 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
6174
6175 * config/i386/i386-cpuinfo.c: Rename to ...
6176 * config/i386/cpuinfo.c: ... this.
6177 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
6178
6179 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
6180 (libgcc_cv_init_priority): New test.
6181 * configure: Regenerate.
6182 * config.in: New file.
6183 * Makefile.in (clean): Rename config.h to auto-target.h.
6184 (config.h): Likewise.
6185 (stamp-h): Likewise.
6186
6187 * config/i386/cpuinfo.c (auto-target.h): Include.
6188 (CONSTRUCTOR_PRIORITY): Define.
6189 (__cpu_indicator_init): Use it.
6190
0d03ac1b
L
61912012-05-09 H.J. Lu <hongjiu.lu@intel.com>
6192
6193 * longlong.h: Use a URL instead of an FSF postal address.
6194 Replace spaces with tab.
6195
4a172156 61962012-05-08 Teresa Johnson <tejohnson@google.com>
4e8ee9cb
TJ
6197
6198 * libgcov.c (gcov_clear, __gcov_reset): New functions.
6199 (__gcov_dump): Ditto.
6200 (gcov_dump_complete): New global variable.
6201 (gcov_exit): Export hidden to enable use in L_gcov_dump.
6202 (__gcov_flush): Outline functionality now in gcov_clear.
6203 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
6204
e4bb767e
AJ
62052012-04-28 Aurelien Jarno <aurelien@aurel32.net>
6206
31a18a7e
ILT
6207 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
6208 (mips*-*-linux*): Include mips/t-tpbit when long double is
6209 16 bytes long.
e4bb767e 6210
5ddecff9
ST
62112012-04-25 Sriraman Tallam <tmsriram@google.com>
6212
6213 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
6214 (get_available_features): New argument. Check for AVX2.
6215 (__cpu_indicator_init): Modify call to get_available_features.
6216
b427dd7a
AM
62172012-04-25 Alan Modra <amodra@gmail.com>
6218
6219 * config/rs6000/crtsavevr.S: New file.
6220 * config/rs6000/crtrestvr.S: New file.
6221 * config/rs6000/t-savresfgpr: Build the above.
6222 * config/rs6000/t-netbsd: Likewise.
6223
ad491329
ST
62242012-04-24 Sriraman Tallam <tmsriram@google.com>
6225
6226 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
6227
792317cc
ST
62282012-04-24 Sriraman Tallam <tmsriram@google.com>
6229
6230 * libgcc/config/i386/i386-cpuinfo.c: New file.
6231 * libgcc/config/i386/t-cpuinfo: New file.
6232 * libgcc/config.host: Include t-cpuinfo.
6233 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
6234
e1be98a4
CF
62352012-04-24 Chao-ying Fu <fu@mips.com>
6236
6237 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
6238
1bde7dab
TS
62392012-04-20 Thomas Schwinge <thomas@codesourcery.com>
6240
6241 struct siginfo vs. siginfo_t
6242
6243 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
6244 siginfo_t instead of struct siginfo.
6245 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
6246 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
6247 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
6248 (ia64_handle_unwabi): Likewise.
6249 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
6250 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
6251 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
6252 (sh_fallback_frame_state): Likewise.
6253 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
6254 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
6255
24590f66
L
62562012-04-02 H.J. Lu <hongjiu.lu@intel.com>
6257
6258 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
6259 system call number.
6260
9a9dcce8
EB
62612012-03-31 Eric Botcazou <ebotcazou@adacore.com>
6262
6263 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
6264 if it hasn't been previously saved.
6265
6401aaf5
L
62662012-03-29 H.J. Lu <hongjiu.lu@intel.com>
6267
6268 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
6269 only for glibc.
6270
7fd6378e
GJL
62712012-03-28 Georg-Johann Lay <avr@gjlay.de>
6272
6273 PR target/52737
6274 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
6275 instead of __AVR_HAVE_8BIT_SP__.
6276
9e916de7
TG
62772012-03-26 Tristan Gingold <gingold@adacore.com>
6278
6279 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
6280 (unw_table_entry): Use unw_word instead of unsigned long.
6281 (_Unwind_FindTableEntry): Likewise.
6282 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
6283 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
6284 (_Unwind_FindTableEntry): Likewise.
6285 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
6286 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
6287 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
6288 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
6289 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
6290 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
6291 (uw_init_context_1, uw_install_context): Likewise.
6292 (unw_word): Move to unwind-ia64.h
6293
4b12e93d
TG
62942012-03-26 Tristan Gingold <gingold@adacore.com>
6295
6296 * config/vms/vms-ucrt0.c: Update copyright years.
6297 Add a sanity check.
6298 (___gcc_main_flags): Declare.
6299 (__main): Check flags to remap argv and exit code.
6300 * config.host (*-*-*vms*): Adjust extra_parts.
6301 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
6302 (crt0.o): Add.
6303
06ea7371
RE
63042012-03-22 Richard Earnshaw <rearnsha@arm.com>
6305
6306 * arm/lib1funcs.asm (ctzsi2): New function.
6307 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
6308 * arm/t-linux (LIB1ASMFUNCS): Likewise.
6309 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
6310 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
6311 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
6312 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
6313
d82ad50d
AT
63142012-03-21 Andreas Tobler <andreast@fgznet.ch>
6315
6316 * config.host: Add bits to support powerpc64-*-freebsd*.
6317 * config/rs6000/freebsd-unwind.h: New file.
6318 * config/rs6000/t-freebsd64: New file.
6319
b260a8c0
RG
63202012-03-20 Richard Guenther <rguenther@suse.de>
6321
6322 PR gcov-profile/52627
6323 * libgcov.c (init_mx): Fix mutex name.
6324
86286a8a
TG
63252012-03-16 Tristan Gingold <gingold@adacore.com>
6326
6327 * config/ia64/vms-unwind.h: Remove ulong (and replace
6328 it by unw_reg where used). Define unw_reg with __int64.
6329
7888f266
RO
63302012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6331
6332 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
6333 Solaris 8 handling.
6334 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
6335 Solaris 8 handling.
6336 (sparc_is_sighandler): Likewise.
6337
f155bc64
L
63382012-03-13 H.J. Lu <hongjiu.lu@intel.com>
6339
6340 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
6341 <= saved reg size.
6342
d47657bd
RO
63432012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6344
6345 * config/arm/crtn.S: Fix typo.
6346
5bef73a1
RG
63472012-03-13 Richard Guenther <rguenther@suse.de>
6348
6349 * libgcov.c: Remove stdio.h include and NULL un-define.
6350
9c4271f3
RG
63512012-03-13 Richard Guenther <rguenther@suse.de>
6352
6353 PR target/52569
6354 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
6355
c6d10e7c
RG
63562012-03-13 Richard Guenther <rguenther@suse.de>
6357
6358 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
6359
074a385f
RG
63602012-03-13 Richard Guenther <rguenther@suse.de>
6361
6362 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
6363 and __gthread_mutex_init_function definitions.
6364
c4bc5c25
RO
63652012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6366
6367 * config.host (mips*-*-openbsd*): Remove.
6368
5c30094f
RO
63692012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6370
6371 * config.host: Remove alpha*-dec-osf5.1* handling.
6372 * config/alpha/gthr-posix.c: Remove.
6373 * config/alpha/libgcc-osf5.ver: Remove.
6374 * config/alpha/osf5-unwind.h: Remove.
6375 * config/alpha/t-osf-pthread: Remove.
6376 * config/alpha/t-slibgcc-osf: Remove.
6377 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
6378 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
6379 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
6380 * mkmap-flat.awk: Remove osf_export handling.
6381
33e3e24d
RG
63822012-03-12 Richard Guenther <rguenther@suse.de>
6383
6384 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
6385 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6386 (__gthread_mutex_init_function): New function.
6387 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6388
6389 PR gcov/49484
6390 * libgcov.c: Include gthr.h.
6391 (__gcov_flush_mx): New global variable.
6392 (init_mx, init_mx_once): New functions.
6393 (__gcov_flush): Protect self with a mutex.
6394 (__gcov_fork): Re-initialize mutex after forking.
6395 * unwind-dw2-fde.c: Change condition under which to use
6396 __GTHREAD_MUTEX_INIT_FUNCTION.
6397
d8aba32a
TG
63982012-03-12 Tristan Gingold <gingold@adacore.com>
6399
6400 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
6401 * config/ia64/t-vms: Likewise.
6402
75ffafdc
MH
64032012-03-11 Michael Hope <michael.hope@linaro.org>
6404
4a172156
UB
6405 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
6406 for Thumb-2.
75ffafdc 6407
ef6c2c53
WL
64082012-03-07 Walter Lee <walt@tilera.com>
6409
6410 * config/tilepro/atomic.c: Rename "atomic_" prefix to
6411 "arch_atomic_".
6412 (atomic_xor): Rename and move definition to
6413 config/tilepro/atomic.h.
6414 (atomic_nand): Ditto.
6415 * config/tilepro/atomic.h: Rename "atomic_" prefix to
6416 "arch_atomic_".
6417 (arch_atomic_xor): Move from config/tilepro/atomic.c.
6418 (arch_atomic_nand): Ditto.
6419
4e30d980
GJL
64202012-03-07 Georg-Johann Lay <avr@gjlay.de>
6421
6422 PR target/52507
6423 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
6424
61108225
GJL
64252012-03-07 Georg-Johann Lay <avr@gjlay.de>
6426
6427 PR target/52505
6428 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
6429 from RAM.
6430
b30e10ab
GJL
64312012-03-07 Georg-Johann Lay <avr@gjlay.de>
6432
6433 PR target/52461
6434 PR target/52508
6435 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
6436 if RAMPZ affects reading from RAM.
6437 (__tablejump_elpm__): Ditto.
6438 (.xload): Ditto.
6439 (__movmemx_hi): Ditto.
6440 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
6441 (__do_global_dtors): Ditto.
6442 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
6443 (__movmemx_hi): Ditto.
6444
8993fde4
RH
64452012-03-05 Richard Henderson <rth@redhat.com>
6446
6447 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
6448 [ARM] (count_trailing_zeros): Use the builtin.
6449
b7633ee3
KT
64502012-03-01 Kai Tietz <ktietz@redhat.com>
6451
6452 * soft-fp: Imported from glibc upstream.
6453
fbd3340c
KT
64542012-02-28 Kai Tietz <ktietz@redhat.com>
6455
6456 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
6457 for mingw-targets as attribute gcc_struct.
6458
e9e053eb
ILT
64592012-02-28 Ian Lance Taylor <iant@google.com>
6460
6461 * generic-morestack.c (__splitstack_releasecontext): Correct call
6462 to __morestack_release_segments.
6463
d80c632e
ST
64642012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6465
6466 PR target/52390
6467 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
6468 for __linux__ when removing signals from __morestack_fullmask.
6469
0253a8b1
GJL
64702012-02-23 Georg-Johann Lay <avr@gjlay.de>
6471
6472 PR target/52261
6473 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
6474
e10e461e
UW
64752012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6476
6477 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
6478 instead of HAVE_INITFINI_ARRAY.
6479 * config/ia64/crtend.S: Likewise.
6480
0c0c6398
KT
64812012-02-20 Kai Tietz <ktietz@redhat.com>
6482
d7470374
KT
6483 PR libstdc++/52300
6484 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
6485
0c0c6398
KT
6486 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
6487 to w32-unwind.h header.
6488
78c27266
RS
64892012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6490
6491 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
6492 (mips*-*-linux*): Remove t-slibgcc-libgcc.
6493 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
6494 * config/mips/mips16.S (__mips16_rdhwr): Delete.
6495
5adeb246
RS
64962012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6497
6498 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
6499
672ed313
IS
65002012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6501
6502 PR libitm/52220
6503 * config/darwin-crt-tm.c: Correct typo.
e9e053eb 6504
e948a1fb
IS
65052012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6506 Patrick Marlier <patrick.marlier@gmail.com>
6507
6508 PR libitm/52220
6509 * config/darwin-crt-tm.c: Generate dummy functions.
6510
6017aed3
IS
65112012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6512 Patrick Marlier <patrick.marlier@gmail.com>
6513
6514 PR libitm/52042
6515 * config/darwin-crt-tm.c (getTMCloneTable): New function.
6516 (__doTMRegistrations): Call it.
e9e053eb 6517 (__doTMdeRegistrations): Likewise.
6017aed3 6518
2da8c1ad 65192012-01-15 Georg-Johann Lay <avr@gjlay.de>
7d296953
JJ
6520 Anatoly Sokolov <aesok@post.ru>
6521 Eric Weddington <eric.weddington@atmel.com>
2da8c1ad
GJL
6522
6523 PR target/52261
6524 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
6525 (__epilogue_restores__): Ditto.
6526
0f952eb4
EB
65272012-02-15 Eric Botcazou <ebotcazou@adacore.com>
6528
6529 PR target/51921
6530 PR target/52205
6531 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
6532 Solaris 11 and slightly reformat.
6533 (sparc_is_sighandler): Likewise.
6534
dd552284
WL
65352012-02-14 Walter Lee <walt@tilera.com>
6536
6537 * config.host: Handle tilegx and tilepro.
6538 * config/tilegx/sfp-machine.h: New file.
6539 * config/tilegx/sfp-machine32.h: New file.
6540 * config/tilegx/sfp-machine64.h: New file.
6541 * config/tilegx/t-crtstuff: New file.
6542 * config/tilegx/t-softfp: New file.
6543 * config/tilegx/t-tilegx: New file.
6544 * config/tilepro/atomic.c: New file.
6545 * config/tilepro/atomic.h: New file.
6546 * config/tilepro/linux-unwind.h: New file.
6547 * config/tilepro/sfp-machine.h: New file.
6548 * config/tilepro/softdivide.c: New file.
6549 * config/tilepro/softmpy.S: New file.
6550 * config/tilepro/t-crtstuff: New file.
6551 * config/tilepro/t-tilepro: New file.
6552
b59cbd50
JW
65532012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
6554
6555 PR libstdc++/51296
6556 PR libstdc++/51906
6557 * gthr-posix.h: Allow static initializer macros to be disabled.
6558 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
6559
6caf807f
CLT
65602012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
6561
6562 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
6563 Add t-slibgcc-libgcc to tmake_file.
6564 * config/mips/libgcc-mips16.ver: Revert previous patch.
6565 * config/mips/mips16.S (__mips16_rdhwr): Hide.
6566
7d296953
JJ
65672012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
6568 Jayant R Sonar <jayant.sonar@kpitcummins.com>
b25364a0
S
6569
6570 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
6571 * config/cr16/crti.S: New file.
6572 * config/cr16/crtlibid.S: New file.
6573 * config/cr16/crtn.S: New file.
6574 * config/cr16/lib1funcs.S: New file.
6575 * config/cr16/t-cr16: New file.
6576 * config/cr16/t-crtlibid: New file.
6577 * config/cr16/unwind-dw2.h: New file.
6578 * config/cr16/unwind-cr16.c: New file.
6579 * config/cr16/divmodhi3.c: New file.
6580
8ef03aa7
AM
65812012-01-25 Alan Modra <amodra@gmail.com>
6582
6583 * config/rs6000/t-linux64: Delete. Move..
6584 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
6585 * config/rs6000/t-linux: ..and libgcc flags to here.
6586
daecebc8
DR
65872012-01-22 Douglas B Rupp <rupp@gnat.com>
6588
6589 * config.host (i[34567]86-*-interix3*):
8ef03aa7 6590 Change triplet to i[34567]86-*-interix[3-9]*.
daecebc8
DR
6591 * configure: Regenerate.
6592
ddaf8125
RS
65932012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
6594 Richard Sandiford <rdsandiford@googlemail.com>
6595
6596 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
6597 * config/mips/mips16.S (__mips16_rdhwr): New function.
6598 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
6599
2cd8b32c
NS
66002012-01-11 Nathan Sidwell <nathan@acm.org>
6601
6602 * libgcov.c (__gcov_init): Ignore objects with no functions.
6603
cba300dd
GJL
66042012-01-10 Georg-Johann Lay <avr@gjlay.de>
6605
6606 PR target/49868
6607 Extend __pgmx semantics to linearize memory.
6608 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
6609 * config/avr/lib1funcs.S (__xload_1): New function.
6610 (__movmemx_qi, __movmemx_hi): New functions.
6611 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
6612 semantics.
9ffaf4bc 6613
3d137660
EB
66142012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6615
6616 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
6617 purported sigacthandler address isn't null before dereferencing it.
6618 (sparc_is_sighandler): Likewise.
6619
bf4db96c
EB
66202012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6621
6622 PR ada/41929
6623 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
6624 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
6625 (sparc_is_sighandler): Likewise.
6626 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
6627
1ab3568b
TG
66282012-01-06 Tristan Gingold <gingold@adacore.com>
6629
6630 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
6631 compatibility thunks...
6632 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
6633 (crtbeginS.o, crtendS.o): ... and these to ...
6634 * config/ia64/t-ia64-elf: ... this new file.
6635 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
6636 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
6637
925b0ed8
AK
66382012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6639
6640 * configure: Regenerate.
6641 * config/s390/t-crtstuff: Remove -fPIC.
6642
a99ad737
JW
66432012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
6644
6645 PR bootstrap/51006
6646 * enable-execute-stack-mprotect.c (getpagesize): Do not define
6647 for NetBSD.
6648
884f56d1
GJL
66492012-01-02 Georg-Johann Lay <avr@gjlay.de>
6650
6651 PR target/51345
6652 * config/avr/lib1funcs.S: Remove FIXME comments.
6653 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
6654
8c57e547
GJL
66552012-01-02 Georg-Johann Lay <avr@gjlay.de>
6656
6657 Implement light-weight DImode support.
6658 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
6659 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
6660 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
6661 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
6662
04dbc287
NS
66632011-12-30 Nathan Sidwell <nathan@acm.org>
6664
6665 * libgcov.c (gcov_crc32): Remove global var.
6666 (free_fn_data): New function.
6667 (buffer_fn_data): Pass in filename, more robust error recovery.
6668 (crc32_unsigned): New function.
6669 (gcov_exit): More robust detection of new program. More robust
6670 error recovery.
6671 (__gcov_init): Do not update program's crc here.
6672
8e1d97d4
TG
66732011-12-21 Tristan Gingold <gingold@adacore.com>
6674
6675 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
6676
9ffaf4bc
ILT
66772011-12-21 Ian Lance Taylor <iant@google.com>
6678
6679 * config/i386/morestack.S: Simplify CFI opcodes throughout.
6680
a0c8d0c1
ILT
66812011-12-20 Ian Lance Taylor <iant@google.com>
6682
6683 * config/i386/morestack.S (__morestack_non_split): If there is
6684 enough stack space already, don't split. Ask for more stack space
6685 than we required.
6686
69048898
SDJ
66872011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
6688
6689 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
6690 `sys/sdt.h'.
6691 (_Unwind_DebugHook): New function.
6692 (uw_restore_core_regs): New define.
6693 (unwind_phase2): Use uw_restore_core_regs instead of
6694 restore_core_regs.
6695 (unwind_phase2_forced): Likewise.
6696 (__gnu_Unwind_Resume): Likewise.
6697
1bb4b6a3
UB
66982011-12-20 Uros Bizjak <ubizjak@gmail.com>
6699
6700 * config/alpha/linux-unwind.h: Update copyright years.
6701 (MD_FROB_UPDATE_CONTEXT): New define.
6702 (alpha_frob_update_context): New function.
6703
eb028768
RS
67042011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
6705
6706 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
6707 tmake_file rather replacing it.
6708
6a2045bf
IS
67092011-12-15 Iain Sandoe <iains@gcc.gnu.org>
6710
6711 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1bb4b6a3 6712 function is not used for PPC64.
6a2045bf
IS
6713 (save_world): Amend comments. Update the VRsave mask to reflect the
6714 saved regs.
6715 (rest_world): Update comments, do not clobber r10, do not use r8.
6716 (eh_rest_world_r10): Amend comments, do not use r8.
6717 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
6718 no longer used, move restore of CR and target address to the end of
6719 the routine.
6720
a13780a6
L
67212011-12-14 H.J. Lu <hongjiu.lu@intel.com>
6722
6723 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
6724 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
6725
d7288dfb
GJL
67262011-12-14 Georg-Johann Lay <avr@gjlay.de>
6727
6728 PR target/49313
6729 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
6730 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
6731
8d2c862d
EB
67322011-12-11 Eric Botcazou <ebotcazou@adacore.com>
6733
6734 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
6735
3447cae6
GJL
67362011-12-09 Georg-Johann Lay <avr@gjlay.de>
6737
6738 PR target/49313
6739 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
6740 * config/avr/lib1funcs.S (__muldi3): New function.
6741
806fc6aa
AP
67422011-12-06 Andrew Pinski <apinski@cavium.com>
6743
6744 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
6745 size of func_ptr.
6746 (__frame_dummy_init_array_entry): Likewise.
6747
28c5e6b5
GJL
67482011-12-06 Georg-Johann Lay <avr@gjlay.de>
6749
6750 Forward-port from gcc-4_6-branch r181936 2011-12-02.
6751
6752 PR target/51345
6753 PR target/51002
6754 * config/avr/lib1funcs.S (__prologue_saves__,
6755 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
6756 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
6757
8f90394a
IS
67582011-12-04 Iain Sandoe <iains@gcc.gnu.org>
6759
6760 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
6761
06dd33ac
JDA
67622011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6763
6764 PR other/51272
6765 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
6766 (_ITM_deregisterTMCloneTable): Likewise.
6767 (__register_frame_info): Fix unused warning.
6768 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
6769 pthread_default_stacksize_np): Likewise.
6770 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1bb4b6a3 6771
85b8555e
DD
67722011-11-29 DJ Delorie <dj@redhat.com>
6773
6774 * config.host (rl78-*-elf): New case.
6775 * config/rl78: New directory for the Renesas RL78.
6776
4d5ae4ea
BS
67772011-11-29 Bernd Schmidt <bernds@codesourcery.com>
6778
6779 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
6780 formatting.
6781
f9c55897
RO
67822011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6783
6784 PR other/51022
6785 * config/rs6000/t-savresfgpr: New file.
6786 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
6787 $(srcdir)/config/rs6000/eabi.S.
6788 * config/rs6000/t-ppccomm-ldbl: Remove.
6789 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
6790 tmake_file.
6791 (powerpc-*-eabispe*): Likewise.
6792 (powerpc-*-eabi*): Likewise.
6793 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
6794 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
6795 to tmake_file, remove rs6000/t-ppccomm-ldbl.
6796 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
6797 tmake_file.
6798 (powerpc-*-eabisim*): Likewise.
6799 (powerpc-*-elf*): Likewise.
6800 (powerpc-*-eabialtivec*): Likewise.
6801 (powerpc-xilinx-eabi*): Likewise.
6802 (powerpc-*-rtems*): Likewise.
6803 (powerpcle-*-elf*): Likewise.
6804 (powerpcle-*-eabisim*): Likewise.
6805 (powerpcle-*-eabi*): Likewise.
6806
a01207c4
ILT
68072011-11-27 Ian Lance Taylor <iant@google.com>
6808
6809 * generic-morestack.c (__splitstack_find): Check for NULL old
6810 stack value.
6811 (__splitstack_resetcontext): New function.
6812 (__splitstack_releasecontext): New function.
6813 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6814
2b0b8ab2
IS
68152011-11-27 Iain Sandoe <iains@gcc.gnu.org>
6816
6817 * config/darwin-crt-tm.c: Correct comments, use correct licence.
6818
c1d8101c
IS
68192011-11-27 Iain Sandoe <iains@gcc.gnu.org>
6820
6821 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
6822
8b281334
RH
68232011-11-26 Richard Henderson <rth@redhat.com>
6824
6825 * config/m68k/linux-atomic.c: New file.
6826 * config/m68k/t-linux: New file.
6827 * config.host (m68k-uclinux, m68k-linux): Use it.
6828
7546aa9d
RH
68292011-11-26 Richard Henderson <rth@redhat.com>
6830
6831 * crtstuff.c (__TMC_LIST__): Mark used not unused.
6832 (__TMC_END__): Only declare if hidden is available; in the definition,
6833 if hidden is unavailable add a null record.
6834 (deregister_tm_clones, register_tm_clones): New.
6835 (__do_global_dtors_aux, frame_dummy): Use them.
6836 (__do_global_dtors, __do_global_ctors_1): Likewise.
6837
e2362f5d
IS
68382011-11-22 Iain Sandoe <iains@gcc.gnu.org>
6839
6840 * config/darwin-crt-tm.c: New file.
6841 * config.host (darwin): Build crttms.o crttme.o to provide
6842 startup and shutdown for tm clones.
6843 * config/t-darwin (crttms.o): New build rule.
6844 (crttme.o): Likewise.
6845
6685dd96
HPN
68462011-11-21 Hans-Peter Nilsson <hp@axis.com>
6847
6848 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
6849 et al.
6850
b0dc7e4c
RH
68512011-11-21 Richard Henderson <rth@redhat.com>
6852
6853 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
6854 (__TMC_LIST__, __TMC_END__): New.
6855 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
6856 (__do_global_dtors): Likewise.
6857 (frame_dummy): Call _ITM_registerTMCloneTable.
6858 (__do_global_ctors_1): Likewise.
6859
d4b4b542
RO
68602011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6861
6862 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
6863 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
6864 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
6865 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
6866 * config/i386/t-darwin64: Remove.
6867 * config/sh/t-netbsd (LIB2ADD): Remove.
6868
989bdb74
GJL
68692011-11-21 Georg-Johann Lay <avr@gjlay.de>
6870
6871 PR target/49313
6872 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
6873 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
6874 * config/avr/lib1funcs.S (wmov): New assembler macro.
6875 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
6876 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
6877 (__udivmod64): New function.
6878 (__negdi2): New function.
6879
515a0cfc
GP
68802011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
6881
6882 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
6883 *-*-freebsd*aout*): Remove.
6884
0115d17f
HPN
68852011-11-20 Hans-Peter Nilsson <hp@axis.com>
6886
6887 * static-object.mk (c_flags-$o): Save c_flags.
6888 ($(base)$(objext)): Use it.
6889
93aeb62b
SE
68902011-11-18 Steve Ellcey <sje@cup.hp.com>
6891
6892 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
6893
7bc6df2c
GJL
68942011-11-18 Georg-Johann Lay <avr@gjlay.de>
6895
6896 PR target/49868
6897 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
6898 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
6899 New functions.
6900
425d737b
MGD
69012011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
6902
6903 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
6904 functions.
1bb4b6a3 6905 (aeabi_uidivmod): Likewise.
425d737b
MGD
6906 (umodsi3): Likewise.
6907 (divsi3): Likewise.
6908 (aeabi_idivmod): Likewise.
6909 (modsi3): Likewise.
6910
f2a176dc
TG
69112011-11-16 Tristan Gingold <gingold@adacore.com>
6912
6913 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
6914
7c209481
GJL
69152011-11-15 Georg-Johann Lay <avr@gjlay.de>
6916
6917 PR target/49868
6918 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
6919 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
6920
9dfd5832
JDA
69212011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6922
6923 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
6924 tmake_file list.
6925 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
6926 * config/pa/t-stublib64: Delete.
6927
f77dca5d
RH
69282011-11-12 Richard Henderson <rth@redhat.com>
6929
6930 * config/rs6000/linux-unwind.h (frob_update_context): Properly
6931 cast the pointer argument to _Unwind_SetGRPtr.
6932
902828f0
RO
69332011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6934
6935 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
6936
e14304ef
ILT
69372011-11-09 Ian Lance Taylor <iant@google.com>
6938
6939 * generic-morestack.c: Include <string.h>.
6940 (uintptr_type): Define.
6941 (struct initial_sp): Add dont_block_signals field. Reduce size of
6942 extra array by 1.
6943 (allocate_segment): Set prev field to NULL. Don't set
6944 __morestack_current_segment or __morestack_segments.
6945 (__generic_morestack): Update current->prev and *pp after calling
6946 allocate_segment.
6947 (__morestack_block_signals): Don't do anything if
6948 dont_block_signals is set.
6949 (__morestack_unblock_signals): Likewise.
6950 (__generic_findstack): Check for initial_sp == NULL. Add casts to
6951 uintptr_type.
6952 (__splitstack_block_signals): New function.
6953 (enum __splitstack_content_offsets): Define.
6954 (__splitstack_getcontext, __splitstack_setcontext): New functions.
6955 (__splitstack_makecontext): New function.
6956 (__splitstack_block_signals_context): New function.
6957 (__splitstack_find_context): New function.
6958 * config/i386/morestack.S (__morestack_get_guard): New function.
6959 (__morestack_set_guard, __morestack_make_guard): New functions.
6960 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6961
e3d871e4
RO
69622011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6963
6964 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
6965 (i[34567]86-*-mingw*): ... here.
6966 (x86_64-*-mingw*): ... here.
6967
e55cef40
RO
69682011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6969
6970 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
6971
5366b186
NS
69722011-11-07 Nathan Sidwell <nathan@acm.org>
6973
6974 * libgcov.c (struct gcov_fn_buffer): New struct.
6975 (buffer_fn_data): New helper.
6976 (gcov_exit): Rework for new gcov data structures.
6977
74155a6f
GJL
69782011-11-07 Georg-Johann Lay <avr@gjlay.de>
6979
6980 PR target/49313
6981 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
6982
200feb07
RO
69832011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6984
6985 * config.host (tmake_file): Correct comment.
6986 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
6987 t-libgcc-pic.
6988 (bfin*-uclinux*): Likewise.
6989 (bfin*-linux-uclibc*): Likewise.
6990 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
6991
6992 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
6993 assigning.
6994 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6995 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
6996 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6997 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
6998 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6999 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
7000 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
7001 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7002 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
7003 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
7004 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
7005 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
7006 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
7007
7008 * config/bfin/t-elf: Remove.
7009 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
7010
c9cd1a07
RO
70112011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7012
7013 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
7014 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
7015 (lm32-*-elf*, lm32-*-rtems*): Split into ...
7016 (lm32-*-elf*): ... this.
7017 (lm32-*-rtems*): ... and this.
7018 Add to tmake_file.
7019 (m32r-*-rtems*): Add to tmake_file.
7020 (moxie-*-rtems*): Likewise.
7021 (sparc-*-rtems*): Likewise.
7022 Remove t-rtems from tmake_file.
7023 (sparc64-*-rtems*): Likewise.
7024 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
7025 instead.
7026
9fbcc75d
RO
70272011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7028
7029 PR bootstrap/50982
7030 * config/gthr-posix.h: Move ...
7031 * gthr-posix.h: ... here.
7032 * config/gthr-lynx.h: Reflect this.
7033 * config/gthr-vxworks.h: Likewise.
7034 * config/rs6000/gthr-aix.h: Likewise.
7035 * configure.ac (target_thread_file): Likewise.
7036 * configure: Regenerate.
7037
76644b68
SH
70382011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
7039
7040 * config.host (arm*-*-rtemseabi*): New target.
7041
5e490f2a
JDA
70422011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7043
7044 PR other/50991
7045 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
7046 extra-parts.
7047
feeeff5c
JR
70482011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
7049
7050 * config.host (epiphany-*-elf*): New configuration.
7051 * config/epiphany: New Directory.
7052
d618bb2c
RC
70532011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
7054
7055 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
7056 * config/avr/t-rtems: New.
7057 Filter out _exit from LIB1ASMFUNCS.
7058
1bb6f778
DM
70592011-11-04 David S. Miller <davem@davemloft.net>
7060
7061 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
7062 * configure: Rebuild.
7063
9a7f7422
AK
70642011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7065
7066 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
7067 variable.
7068
e4fe948a
GJL
70692011-11-04 Georg-Johann Lay <avr@gjlay.de>
7070
7071 PR target/50931
7072 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
7073 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
7074
7084e037
JS
70752011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
7076
7077 PR target/50989
7078 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
7079
1a032034
RO
70802011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7081
7082 * config/c6x/t-elf (LIB2ADDEH): Set.
7083 * config/c6x/t-c6x-elf: Remove.
7084
d385f772
RO
70852011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7086
7087 * config/i386/sol2-ci.S: Rename to ...
7088 * config/i386/crti.S: ... this.
7089 * config/i386/sol2-cn.S: Rename to ...
7090 * config/i386/crtn.S: ... this.
7091 * config/sparc/sol2-ci.S: Rename to ...
7092 * config/sparc/crti.S: ... this.
7093 * config/sparc/sol2-cn.S: Rename to ...
7094 * config/sparc/crtn.S: ... this.
7095 * config/t-sol2 (CUSTOM_CRTIN): Remove.
7096 (crti.o, crtn.o): Remove.
7097
1ba878a9
TG
70982011-11-04 Tristan Gingold <gingold@adacore.com>
7099
7100 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
7101
02750c15
KK
71022011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
7103
7104 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
7105
bf86b067
HPN
71062011-11-03 Hans-Peter Nilsson <hp@axis.com>
7107
7108 * config.host (crisv32-*-none, cris-*-none): Remove.
7109 (crisv32-*-elf): Append to tmake_file, don't just set it.
7110 (cris-*-elf): Add missing t-fdpbit to tmake_file.
7111
d0bc53bd
RO
71122011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7113
7114 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
7115 (ecrtn$(objext)): Likewise.
7116 (ncrti$(objext)): Likewise.
7117 (ncrtn$(objext)): Likewise.
7118
036da830
AS
71192011-11-03 Andreas Schwab <schwab@redhat.com>
7120
7121 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
7122
d2a7d041
DM
71232011-11-02 David S. Miller <davem@davemloft.net>
7124
7125 * configure.ac: Set host_address on sparc too.
7126 * configure: Regenerate.
7127 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
7128 based upon host_address.
7129 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
7130
af8ed618
JM
71312011-11-02 Jason Merrill <jason@redhat.com>
7132
7133 * config/rs6000/t-ppccomm: Add missing \.
7134
5d1c8e77
RO
71352011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7136
7137 * gthr-single.h, gthr.h: New files.
7138 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
7139 config/gthr-vxworks.h, config/i386/gthr-win32.h,
7140 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
7141 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
7142 * config/i386/gthr-win32.c: Include "gthr-win32.h".
7143 * configure.ac (thread_header): New variable.
7144 Set it depending on target_thread_file.
7145 (gthr-default.h): Link from $thread_header.
7146 * configure: Regenerate.
7147 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
7148
852b75ed
RO
71492011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7150
7151 * configure.ac (tm_file_): New variable.
7152 Determine from tm_file.
7153 (tm_file, tm_defines): Substitute.
7154 * configure: Regenerate.
7155 * mkheader.sh: New file.
7156 * Makefile.in (clean): Remove libgcc_tm.h.
7157 ($(objects)): Depend on libgcc_tm.h.
7158 (libgcc_tm_defines, libgcc_tm_file): New variables.
7159 (libgcc_tm.h, libgcc_tm.stamp): New targets.
7160 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
7161 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
7162 ($(extra-parts)): Depend on libgcc_tm.h.
7163 * config.host (tm_defines, tm_file): New variable.
7164 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
7165 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
7166 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
7167 (avr-*-rtems*): Likewise.
7168 (avr-*-*): Likewise.
7169 (frv-*-elf): Likewise.
7170 (frv-*-*linux*): Likewise.
7171 (h8300-*-rtems*): Likewise.
7172 (h8300-*-elf*): Likewise.
7173 (i[34567]86-*-darwin*): Likewise.
7174 (x86_64-*-darwin*): Likewise.
7175 (rx-*-elf): Likewise.
7176 (tic6x-*-uclinux): Likewise.
7177 (tic6x-*-elf): Likewise.
7178 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
7179 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
7180 * config/i386/cygming-crtbegin.c: Likewise.
7181 * config/i386/cygming-crtend.c: Likewise.
7182 * config/ia64/fde-vms.c: Likewise.
7183 * config/ia64/unwind-ia64.c: Likewise.
7184 * config/libbid/bid_gcc_intrinsics.h: Likewise.
7185 * config/rs6000/darwin-fallback.c: Likewise.
7186 * config/stormy16/lib2funcs.c: Likewise.
7187 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
7188 * crtstuff.c: Likewise.
7189 * dfp-bit.h: Likewise.
7190 * emutls.c: Likewise.
7191 * fixed-bit.c: Likewise.
7192 * fp-bit.c: Likewise.
7193 * generic-morestack-thread.c: Likewise.
7194 * generic-morestack.c: Likewise.
7195 * libgcc2.c: Likewise.
7196 * libgcov.c: Likewise.
7197 * unwind-dw2-fde-dip.c: Likewise.
7198 * unwind-dw2-fde.c: Likewise.
7199 * unwind-dw2.c: Likewise.
7200 * unwind-sjlj.c: Likewise.
7201
f9989b51
RO
72022011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7203
7204 * configure.ac: Include ../config/picflag.m4.
7205 (GCC_PICFLAG): Call it.
7206 Substitute.
7207 * configure: Regenerate.
7208 * Makefile.in (gcc_srcdir): Remove.
7209 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
7210 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
7211 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
7212 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
7213 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
7214 Use $<.
7215 Remove comment.
7216 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
7217 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
7218 to refer to libgcc2.c.
7219 Use $<.
7220 * config/darwin-64.c: New file.
7221 * config/darwin-crt3.c: Remove comment.
7222 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
7223 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
7224 config/udivmodsi4.c: New files.
7225 * config/memcmp.c, config/memcpy.c, config/memmove.c,
7226 config/memset.c: New files.
7227 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
7228 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
7229 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
7230 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
7231 * config/t-openbsd-thread: New file.
7232 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
7233 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
7234 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
7235 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
7236 qrnnd.S.
7237 Adapt filename.
7238 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
7239 to refer to gthr-posix.c.
7240 * config/alpha/t-vms (LIB2ADD): Set.
7241 * config/alpha/vms-gcc_shell_handler.c: New file.
7242 * config/arm/bpabi.c, config/arm/fp16.c,
7243 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
7244 config/arm/unaligned-funcs.c: New files.
7245 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
7246 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7247 * config/arm/t-linux: Likewise.
7248 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
7249 * config/arm/t-netbsd: New file.
7250 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
7251 * config/arm/t-symbian (LIB2ADD_ST): Set.
7252 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
7253 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7254 * config/bfin/t-elf: New file.
7255 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
7256 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
7257 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
7258 config/c6x/ltf.c: New files.
7259 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
7260 (HOST_LIBGCC2_CFLAGS): Set.
7261 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
7262 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7263 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
7264 New files.
7265 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
7266 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
7267 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
7268 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
7269 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
7270 files.
7271 * config/frv/t-frv (LIB2ADD): Set.
7272 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7273 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
7274 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
7275 config/h8300/popcounthi2.c: New files.
7276 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7277 * config/i386/gthr-win32.c: New file.
7278 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
7279 * config/i386/t-cygwin: Likewise.
7280 * config/i386/t-darwin, config/i386/t-darwin64,
7281 config/i386/t-gthr-win32, config/i386/t-interix: New files.
7282 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
7283 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7284 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7285 * config/ia64/quadlib.c: New file.
7286 * config/ia64/t-hpux (LIB2ADD): Set.
7287 * config/ia64/t-ia64: Add comment.
7288 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
7289 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7290 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
7291 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
7292 * config/m32c/t-m32c (LIB2ADD): Set.
7293 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7294 * config/m32r/t-m32r: Likewise.
7295 * config/m68k/fpgnulib.c: New file.
7296 * config/m68k/t-floatlib (LIB2ADD): Set.
7297 (xfgnulib.c): New target.
7298 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
7299 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
7300 * config/mep/t-mep (LIB2ADD): Set.
7301 * config/microblaze/divsi3.asm: Rename to divsi3.S.
7302 * config/microblaze/moddi3.asm: Rename to moddi3.S.
7303 * config/microblaze/modsi3.asm: Rename to modsi3.S.
7304 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
7305 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
7306 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
7307 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
7308 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
7309 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
7310 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
7311 New files.
7312 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
7313 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
7314 * config/pa/fptr.c, config/pa/lib2funcs.S,
7315 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
7316 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7317 (LIB2ADD, LIB2ADD_ST): Set.
7318 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
7319 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
7320 Set.
7321 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
7322 * config/pdp11/t-pdp11: New file.
7323 * config/picochip/libgccExtras/adddi3.S,
7324 config/picochip/libgccExtras/ashlsi3.S,
7325 config/picochip/libgccExtras/ashrsi3.S,
7326 config/picochip/libgccExtras/clzsi2.S,
7327 config/picochip/libgccExtras/cmpsi2.S,
7328 config/picochip/libgccExtras/divmod15.S,
7329 config/picochip/libgccExtras/divmodhi4.S,
7330 config/picochip/libgccExtras/divmodsi4.S,
7331 config/picochip/libgccExtras/lshrsi3.S,
7332 config/picochip/libgccExtras/parityhi2.S,
7333 config/picochip/libgccExtras/popcounthi2.S,
7334 config/picochip/libgccExtras/subdi3.S,
7335 config/picochip/libgccExtras/ucmpsi2.S,
7336 config/picochip/libgccExtras/udivmodhi4.S,
7337 config/picochip/libgccExtras/udivmodsi4.S: New files.
7338 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
7339 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
7340 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
7341 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
7342 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
7343 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
7344 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
7345 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
7346 files.
7347 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
7348 (HOST_LIBGCC2_CFLAGS): Set.
7349 * config/rs6000/t-darwin64: New file.
7350 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
7351 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
7352 * config/rs6000/t-ppccomm (LIB2ADD): Add
7353 $(srcdir)/config/rs6000/tramp.S.
7354 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
7355 Add $(srcdir)/config/rs6000/eabi.S.
7356 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
7357 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
7358 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
7359 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
7360 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
7361 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
7362 * config/rs6000/tramp.S: New file.
7363 * config/s390/t-tpf: Remove.
7364 * config/sh/linux-atomic.S: New file.
7365 * config/sh/t-linux (LIB2ADD): Set.
7366 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
7367 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7368 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
7369 to unwind-dw2.c.
7370 (HOST_LIBGCC2_CFLAGS): Set.
7371 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7372 * config/spu/divmodti4.c, config/spu/divv2df3.c,
7373 config/spu/float_disf.c, config/spu/float_unsdidf.c,
7374 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
7375 config/spu/mfc_multi_tag_release.c,
7376 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
7377 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
7378 config/spu/multi3.c: New files.
7379 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
7380 (HOST_LIBGCC2_CFLAGS): Set.
7381 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
7382 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
7383 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
7384 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
7385 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
7386 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
7387 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
7388 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
7389 config/stormy16/umodsi3.c: New files.
7390 * config/xtensa/lib2funcs.S: New file.
7391 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7392 * config/xtensa/t-xtensa (LIB2ADD): Set.
7393 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
7394 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
7395 Add t-freebsd-thread to tmake_file for posix threads.
7396 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
7397 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
7398 (*-*-lynxos*): Likewise.
7399 (*-*-netbsd*): Likewise.
7400 (*-*-openbsd*): Likewise.
7401 Add t-openbsd-thread to tmake_file for posix threads.
7402 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
7403 (*-*-vxworks*): Set tmake_file.
7404 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7405 (alpha*-*-freebsd*): Likewise.
7406 (alpha*-*-netbsd*): Likewise.
7407 (alpha*-*-openbsd*): Likewise.
7408 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
7409 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7410 (alpha*-dec-*vms*): Likewise.
7411 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
7412 (bfin*-elf*): Add bfin/t-elf to tmake_file.
7413 (bfin*-uclinux*): Likewise.
7414 (bfin*-linux-uclibc*): Likewise.
7415 (crisv32-*-elf): Add cris/t-cris to tmake_file.
7416 (crisv32-*-none): Likewise.
7417 (cris-*-elf): Likewise.
7418 (cris-*-none): Likewise.
7419 (cris-*-linux*, crisv32-*-linux*): Likewise.
7420 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
7421 tmake_file.
7422 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
7423 tmake_file.
7424 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
7425 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
7426 (x86_64-*-elf*): Likewise.
7427 (i[34567]86-*-nto-qnx*): Likewise.
7428 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
7429 win32 threads.
7430 (x86_64-*-mingw*): Likewise.
7431 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
7432 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
7433 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7434 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7435 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
7436 tmake_file.
7437 (mipsisa64sr71k-*-elf*): Likewise.
7438 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7439 (mips-*-elf*, mipsel-*-elf*): Likewise.
7440 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7441 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7442 (mips*-*-rtems*): Likewise.
7443 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
7444 to tmake_file.
7445 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
7446 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
7447 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
7448 (spu-*-elf*): Likewise.
7449 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
7450
45b86625
RO
74512011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7452
7453 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
7454 $(srcdir) to refer to $(LIB1ASMSRC).
7455 Use $<.
7456 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
7457 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
7458 config/arm/lib1funcs.S: New files.
7459 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
7460 * config/arm/t-arm: New file.
7461 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
7462 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
7463 config/arm/t-strongarm-elf: New files.
7464 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
7465 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
7466 * config/avr/lib1funcs.S: New file.
7467 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7468 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
7469 * config/c6x/lib1funcs.S: New file.
7470 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7471 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
7472 * config/frv/lib1funcs.S: New file.
7473 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7474 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
7475 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
7476 * config/ia64/__divxf3.asm: Rename to ...
7477 * config/ia64/__divxf3.S: ... this.
7478 Adapt lib1funcs.asm filename.
7479 * config/ia64/_fixtfdi.asm: Rename to ...
7480 * config/ia64/_fixtfdi.S: ... this.
7481 Adapt lib1funcs.asm filename.
7482 * config/ia64/_fixunstfdi.asm: Rename to ...
7483 * config/ia64/_fixunstfdi.S: ... this.
7484 Adapt lib1funcs.asm filename.
7485 * config/ia64/_floatditf.asm: Rename to ...
7486 * config/ia64/_floatditf.S: ... this.
7487 Adapt lib1funcs.asm filename.
7488 * config/ia64/lib1funcs.S: New file.
7489 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
7490 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7491 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
7492 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
7493 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
7494 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
7495 * config/mep/lib1funcs.S: New file.
7496 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7497 * config/mips/mips16.S: New file.
7498 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7499 * config/pa/milli64.S: New file.
7500 * config/pa/t-linux, config/pa/t-linux64: New files.
7501 * config/picochip/lib1funcs.S: New file.
7502 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7503 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
7504 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
7505 * config/sh/t-netbsd: New file.
7506 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
7507 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
7508 * config/sh/t-sh64: New file.
7509 * config/sparc/lb1spc.S: New file.
7510 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
7511 filename.
7512 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
7513 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
7514 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
7515 config/xtensa/lib1funcs.S: New files.
7516 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7517 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
7518 tmake_file.
7519 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
7520 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
7521 (arm*-*-linux*): Likewise.
7522 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
7523 arm*-*-linux-*eabi, add arm/t-linux otherwise.
7524 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
7525 (arm*-*-ecos-elf): Likewise.
7526 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7527 (arm*-*-rtems*): Likewise.
7528 (arm*-*-elf): Likewise.
7529 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
7530 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
7531 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
7532 (bfin*-uclinux*): Likewise.
7533 (bfin*-linux-uclibc*): Likewise.
7534 (bfin*-rtems*): Likewise.
7535 (bfin*-*): Likewise.
7536 (fido-*-elf): Merge into m68k-*-elf*.
7537 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
7538 (frv-*-*linux*): Add frv/t-frv to tmake_file.
7539 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
7540 (h8300-*-elf*): Likewise.
7541 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
7542 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
7543 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
7544 (i[34567]86-*-mingw*): Likewise.
7545 (x86_64-*-mingw*): Likewise.
7546 (i[34567]86-*-interix3*): Likewise.
7547 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
7548 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
7549 (m68k-*-elf*): Also handle fido-*-elf.
7550 Add m68k/t-floatlib to tmake_file.
7551 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
7552 (m68k-*-linux*): Likewise.
7553 (m68k-*-rtems*): Likewise.
7554 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
7555 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
7556 sh64*-*-*.
7557 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
7558 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
7559 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
7560 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
7561 sh/t-netbsd to tmake_file.
7562 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
7563 (sh-*-rtems*): Add sh/t-sh to tmake_file.
7564 (sh-wrs-vxworks): Likewise.
7565 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
7566 *-leon[3-9]*.
7567 (v850*-*-*): Add v850/t-v850 to tmake_file.
7568 (vax-*-linux*): Add vax/t-linux to tmake_file.
7569 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
7570
5f73c6cc
RO
75712011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7572
7573 * crtstuff.c: New file.
7574 * Makefile.in (CRTSTUFF_CFLAGS): Define.
7575 (CRTSTUFF_T_CFLAGS): Define.
7576 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
7577 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
7578 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
7579 crtstuff.c.
7580 Use $<.
7581 (crtbeginT.o): Use $(objext).
7582 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
7583 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
7584 (gcc-extra-parts): Remove.
7585 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
7586 Set extra_parts.
7587 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7588 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
7589 Add t-crtstuff-pic to tmake_file.
7590 (*-*-lynxos*): New case.
7591 Set tmake_file, extra_parts.
7592 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
7593 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
7594 *-*-netbsdelf[2-9]*.
7595 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
7596 (*-*-rtems*): Set extra_parts.
7597 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
7598 (*-*-uclinux*): New case.
7599 Set extra_parts.
7600 (*-*-vms*): New case.
7601 Set tmake_file, extra_parts.
7602 (*-*-elf): Set extra_parts.
7603 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
7604 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
7605 vms/t-vms64.
7606 Set extra_parts.
7607 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
7608 Set extra_parts.
7609 (arm*-*-freebsd*): Add t-crtin to tmake_file.
7610 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
7611 (arm-wrs-vxworks): Append to tmake_file.
7612 Set extra_parts.
7613 (arm*-*-uclinux*): Set extra_parts.
7614 (arm*-*-ecos-elf): Likewise.
7615 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
7616 arm*-*-eabi*.
7617 (arm*-*-rtems*): Set extra_parts.
7618 (arm*-*-elf): Likewise.
7619 (avr-*-rtems*): Clear extra_parts.
7620 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
7621 Set extra_parts.
7622 (bfin*-uclinux*): Likewise.
7623 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
7624 (bfin*-rtems*): Append to tmake_file.
7625 Set extra_parts.
7626 (bfin*-*): Likewise.
7627 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
7628 (crisv32-*-elf): ... this.
7629 (crisv32-*-none): ... this.
7630 (cris-*-elf, cris-*-none): New cases.
7631 Add cris/t-elfmulti to tmake_file.
7632 (fr30-*-elf): Append to tmake_file.
7633 Set extra_parts.
7634 (frv-*-elf): Append to tmake_file, add frv/t-frv.
7635 Set extra_parts.
7636 (h8300-*-rtems*): Append to tmake_file.
7637 Set extra_parts.
7638 (h8300-*-elf*): Likewise.
7639 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
7640 Set extra_parts.
7641 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
7642 Set extra_parts.
7643 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
7644 (x86_64-*-elf*): Likewise.
7645 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
7646 (x86_64-*-freebsd*): Likewise.
7647 (x86_64-*-netbsd*): Likewise.
7648 (i[34567]86-*-linux*): Likewise.
7649 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
7650 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
7651 (x86_64-*-linux*): Likewise.
7652 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
7653 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
7654 tmake_file.
7655 Set extra_parts.
7656 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
7657 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
7658 Append to extra_parts, remove crtbegin.o, crtend.o.
7659 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
7660 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
7661 crtend.o, crtbeginS.o, crtendS.o.
7662 (ia64*-*-linux*): Comment extra_parts.
7663 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
7664 Set extra_parts.
7665 (iq2000*-*-elf*): Clear extra_parts.
7666 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
7667 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
7668 (m32r-*-elf*, m32r-*-rtems*): Split off ...
7669 (m32r-*-rtems*): ... this.
7670 Add m32r/t-m32r to tmake_file.
7671 (m68k-*-elf*): Add t-crtin to tmake_file.
7672 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
7673 (mcore-*-elf): Likewise.
7674 (microblaze*-*-*): Set extra_parts.
7675 (mips*-sde-elf*): New case.
7676 Set tmake_file, extra_parts.
7677 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7678 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7679 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
7680 tmake_file.
7681 Set extra_parts.
7682 (mipsisa64sr71k-*-elf*): Likewise.
7683 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7684 (mips-*-elf*, mipsel-*-elf*): Likewise.
7685 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7686 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
7687 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7688 (mips*-*-rtems*): Likewise.
7689 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
7690 (moxie-*-*): Split into ...
7691 (moxie-*-elf, moxie-*-uclinux*): ... this.
7692 Add to extra_parts, remove crtbegin.o, crtend.o.
7693 (moxie-*-rtems*): New case.
7694 Set tmake_file.
7695 Clear extra_parts.
7696 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
7697 Set extra_parts.
7698 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7699 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
7700 tmake_file.
7701 Set extra_parts.
7702 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
7703 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
7704 Set extra_parts.
7705 (powerpc-*-eabisim*): Likewise.
7706 (powerpc-*-elf*): Likewise.
7707 (powerpc-*-eabialtivec*): Likewise.
7708 (powerpc-xilinx-eabi*): Likewise.
7709 (powerpc-*-eabi*): Likewise.
7710 (powerpc-*-rtems*): Likewise.
7711 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
7712 tmake_file.
7713 Set extra_parts.
7714 (powerpc-*-lynxos*): Add to tmake_file.
7715 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
7716 rs6000/t-crtstuff, t-crtstuff-pic.
7717 Set extra_parts.
7718 (powerpcle-*-eabisim*): Likewise.
7719 (powerpcle-*-eabi*): Likewise.
7720 (rx-*-elf): Remove extra_parts.
7721 (s390x-ibm-tpf*): Set extra_parts.
7722 (score-*-elf): Set extra_parts.
7723 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7724 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7725 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7726 (sh64l*-*-netbsd*): Split into ...
7727 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
7728 Add t-crtstuff-pic to tmake_file.
7729 Set extra_parts.
7730 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
7731 Set extra_parts.
7732 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
7733 (sparc-*-elf*): Remove t-crtin from tmake_file.
7734 Add to extra_parts, remove crtbegin.o, crtend.o.
7735 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
7736 (sparc64-*-linux*): Likewise.
7737 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
7738 Add to extra_parts, remove crtbegin.o, crtend.o.
7739 (sparc64-*-elf*): Remove t-crtin from tmake_file.
7740 Add to extra_parts, remove crtbegin.o, crtend.o.
7741 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
7742 Add to extra_parts, remove crtbegin.o, crtend.o.
7743 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
7744 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
7745 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
7746 Set extra_parts.
7747 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
7748 Set extra_parts.
7749 (tic6x-*-*): Change to ...
7750 (tic6x-*-elf): ... this.
7751 Set extra_parts.
7752 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
7753 Set extra_parts.
7754 (am33_2.0-*-linux*): Add comment.
7755 (mep*-*-*): Add mep/t-mep to tmake_file.
7756 Set extra_parts.
7757 * config/alpha/t-vms: New file.
7758 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
7759 * config/arm/crti.S, config/arm/crtn.S: New files.
7760 * config/bfin/crti.S, config/bfin/crtn.S: New files.
7761 * config/bfin/crtlibid.S: New file.
7762 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
7763 * config/c6x/crti.S, config/c6x/crtn.S: New files.
7764 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
7765 (crti.o, crtin.o): New rules.
7766 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7767 * config/c6x/t-uclinux: New file.
7768 * config/cris/t-elfmulti: New file.
7769 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
7770 * config/fr30/crti.S, config/fr30/crtn.S: New files.
7771 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
7772 * config/frv/t-frv: New file.
7773 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
7774 * config/h8300/crti.S, config/h8300/crtn.S: New files.
7775 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
7776 New files.
7777 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
7778 refer to cygming-crtbegin.c, cygming-crtend.c.
7779 Use $<.
7780 * config/i386/t-nto: New file.
7781 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
7782 * config/ia64/crti.S, config/ia64/crtn.S: New files.
7783 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
7784 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
7785 Use .S extension.
7786 Use $<.
7787 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7788 (crtinitS.o): New rule.
7789 * config/ia64/vms-crtinit.S: New file.
7790 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
7791 * config/m32r/initfini.c: New file.
7792 * config/m32r/t-linux, config/m32r/t-m32r: New files.
7793 * config/m68k/crti.S, config/m68k/crtn.S: New files.
7794 * config/mcore/crti.S, config/mcore/crtn.S: New files.
7795 * config/mep/t-mep: New file.
7796 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
7797 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
7798 * config/mips/crti.S, config/mips/crtn.S: New files.
7799 * config/mips/t-crtstuff: New file.
7800 * config/mmix/crti.S, config/mmix/crtn.S: New files.
7801 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
7802 (CUSTOM_CRTIN): Set.
7803 ($(T)crti.o, $(T)crtn.o): Remove $(T),
7804 dependencies.
7805 Use $(srcdir) to refer to crti.S, crtn.S.
7806 Use .S extension, $<.
7807 * config/moxie/crti.asm: Rename to ...
7808 * config/moxie/crti.S: ... this.
7809 * config/moxie/crtn.asm: Rename to ...
7810 * config/moxie/crtn.S: ... this.
7811 * config/moxie/t-moxie: Remove.
7812 * config/pa/stublib.c: New file.
7813 * config/pa/t-stublib, config/pa/t-stublib64: New files.
7814 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
7815 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
7816 * config/rs6000/t-crtstuff: New file.
7817 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
7818 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
7819 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
7820 Make output file explicit.
7821 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
7822 Make output file explicit.
7823 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
7824 Make output file explicit.
7825 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
7826 Make output file explicit.
7827 * config/score/crti.S, config/score/crtn.S: New files.
7828 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
7829 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
7830 files.
7831 * config/sh/t-sh, config/sh/t-superh: New files.
7832 * config/sparc/t-linux64: New file.
7833 * config/spu/cache.S, config/spu/cachemgr.c: New files.
7834 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
7835 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
7836 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
7837 * config/t-crtin: Remove.
7838 * config/t-crtstuff-pic: New file.
7839 * config/t-sol2 (CUSTOM_CRTIN): Set.
7840 (crti.o, crtn.o): New rules.
7841 * config/vms/t-vms: New file.
7842 * config/vms/vms-ucrt0.c: New file.
7843 * config/xtensa/t-elf: New file.
7844
b040f2be
RO
78452011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7846
7847 * Makefile.in (SHLIB_NM_FLAGS): Set.
7848 * mkmap-flat.awk, mkmap-symver.awk: New files.
7849 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
7850 exceptions.
7851 * configure: Regenerate.
7852 * config/libgcc-glibc.ver: New file.
7853 * config/libgcc-libsystem.ver: New file.
7854 * config/t-libunwind (SHLIB_LC): Set.
7855 * config/t-linux: New file.
7856 * config/t-slibgcc (INSTALL_SHLIB): New.
7857 (SHLIB_INSTALL): Use it.
7858 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
7859 to mkmap-symver.awk.
7860 (SHLIB_MAPFILES): Don't append, adapt pathname.
7861 (SHLIB_VERPFX): Set.
7862 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
7863 to mkmap-symver.awk.
7864 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
7865 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
7866 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
7867 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
7868 to mkmap-flat.awk.
7869 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
7870 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
7871 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
7872 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
7873 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
7874 * config/i386/libgcc-darwin.10.4.ver,
7875 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
7876 New files.
7877 * config/i386/t-darwin: Remove.
7878 * config/i386/t-darwin64: Likewise.
7879 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
7880 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
7881 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
7882 * config/i386/t-linux: New file.
7883 * config/i386/t-mingw32: New file.
7884 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
7885 * config/ia64/t-glibc: Rename to ...
7886 * config/ia64/t-linux: ... this.
7887 (SHLIB_MAPFILES): Set.
7888 * config/ia64/t-glibc-libunwind: Rename to ...
7889 * config/ia64/t-linux-libunwind: ... this.
7890 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
7891 * config/ia64/t-slibgcc-hpux: New file.
7892 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
7893 * config/m68k/t-slibgcc-elf-ver: New file.
7894 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
7895 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
7896 to mkmap-flat.awk.
7897 * config/pa/t-slibgcc-hpux: New file.
7898 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
7899 files.
7900 * config/rs6000/libgcc-darwin.10.4.ver,
7901 config/rs6000/libgcc-darwin.10.5.ver: New files.
7902 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
7903 config/rs6000/libgcc-glibc.ver.
7904 * config/rs6000/libgcc-ppc64.ver: Rename to
7905 config/rs6000/libgcc-ibm-ldouble.ver.
7906 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
7907 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
7908 * config/rs6000/t-ldbl128: Rename to ...
7909 * config/rs6000/t-linux: ... this.
7910 (SHLIB_MAPFILES): Adapt filename.
7911 * config/rs6000/t-slibgcc-aix: New file.
7912 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
7913 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
7914 libgcc-excl.ver, libgcc-glibc.ver.
7915 (SHLIB_LINK, SHLIB_INSTALL): Remove.
7916 * config/sparc/libgcc-glibc.ver: New file.
7917 * config/sparc/t-linux: New file.
7918 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
7919 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
7920 t-slibgcc-elf-ver to tmake_file.
7921 Add t-slibgcc-nolc-override to tmake_file for posix threads on
7922 *-*-freebsd[34].
7923 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7924 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
7925 t-slibgcc-elf-ver, t-linux to tmake_file.
7926 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
7927 tmake_file.
7928 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
7929 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
7930 (alpha*-dec-*vms*): Likewise.
7931 (arm*-*-freebsd*): Append to tmake_file.
7932 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
7933 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
7934 arm*-*-linux-*eabi.
7935 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
7936 tmake_file for arm*-*-symbianelf*.
7937 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
7938 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
7939 cris/t-linux.
7940 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
7941 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
7942 pa/t-slibgcc-dwarf-ver to tmake_file.
7943 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
7944 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
7945 (hppa*64*-*-hpux11*): Likewise.
7946 (hppa[12]*-*-hpux11*): Likewise.
7947 (x86_64-*-darwin*): Don't override tmake_file, but only keep
7948 i386/t-crtpc, i386/t-crtfm.
7949 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
7950 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7951 to tmake_file.
7952 Add i386/t-cygwin to tmake_file.
7953 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
7954 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
7955 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7956 to tmake_file.
7957 Add i386/t-mingw32 to tmake_file.
7958 (x86_64-*-mingw*): Likewise.
7959 (ia64*-*-freebsd*): Append to tmake_file.
7960 (ia64*-*-linux*): Append to tmake_file.
7961 Replace ia64/t-glibc by ia64/t-linux.
7962 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
7963 system libunwind.
7964 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
7965 t-slibgcc-hpux to tmake_file.
7966 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
7967 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
7968 (m32rle-*-linux*): Likewise.
7969 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
7970 sjlj exceptions.
7971 (microblaze*-linux*): New case.
7972 Append to tmake_file, add t-slibgcc-nolc-override.
7973 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
7974 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7975 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
7976 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7977 rs6000/t-slibgcc-aix to tmake_file.
7978 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7979 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7980 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7981 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7982 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7983 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
7984 sh*-*-linux*.
7985 (sparc-*-linux*): Append to tmake_file for *-leon*.
7986 Add sparc/t-linux to tmake_file for non-Leon targets.
7987 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
7988 (tic6x-*-uclinux): New case.
7989 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
7990 (tic6x-*-*): Add c6x/t-elf to tmake_file.
7991 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
7992 (am33_2.0-*-linux*): Append to tmake_file.
7993 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
7994 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
7995 x86_64-*-kfreebsd*-gnu.
7996 Add i386/t-linux to tmake_file.
7997
18b4bd7b
ILT
79982011-10-28 Ian Lance Taylor <iant@google.com>
7999
8000 * config/i386/morestack.S: Correct CFI information to do proper
8001 returns throughout function. In 32-bit mode, save %ebx so that it
8002 is restored on unwind.
8003
5b2d9d90
BS
80042011-10-25 Bernd Schmidt <bernds@codesourcery.com>
8005
8006 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
8007 case where B3 isn't the return register.
8008
0d53e346
BS
8009 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
8010 logic for doubleword pops.
8011
cbffbd59
AT
80122011-10-25 Andreas Tobler <andreast@fgznet.ch>
8013
8014 * config/rs6000/t-freebsd: Add wildcard.
8015
56dc349e
PB
80162011-10-21 Paul Brook <paul@codesourcery.com>
8017
8018 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
8019
1e06b07d
UB
80202011-10-16 Uros Bizjak <ubizjak@gmail.com>
8021 Eric Botcazou <ebotcazou@adacore.com>
8022
8023 PR target/50737
8024 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
8025 fs->signal_frame to 1.
8026
b5204884
ILT
80272011-10-07 Ian Lance Taylor <iant@google.com>
8028
8029 * generic-morestack-thread.c: #include <errno.h>.
8030
91a639a1
ILT
80312011-10-07 Ian Lance Taylor <iant@google.com>
8032
8033 PR target/46093
8034 * generic-morestack.c (__generic_morestack): Make sure the segment
8035 is large enough for both the stack frame and the copied
8036 parameters.
8037
cc49116d
RO
80382011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8039
8040 PR bootstrap/49804
8041 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
8042 extra_parts.
8043
2996d8c3
NC
80442011-09-28 Nick Clifton <nickc@redhat.com>
8045
8046 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
8047 64-bit doubles are not enabled.
8048 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
8049 and floatunsisf functions.
8050
1e874273 80512011-09-13 Paul Brook <paul@codesourcery.com>
2996d8c3 8052
1e874273
PB
8053 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
8054 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
8055 * unwind-arm-common.inc: New file.
8056 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
8057 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
8058 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
8059 * config/c6x/libunwind.S: New file.
8060 * config/c6x/pr-support.c: New file.
8061 * config/c6x/unwind-c6x.c: New file.
8062 * config/c6x/unwind-c6x.h: New file.
8063 * config/c6x/t-c6x-elf: New file.
8064
f70c879a
UB
80652011-08-23 Uros Bizjak <ubizjak@gmail.com>
8066
8067 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
8068 (ASM_DIVZERO): Ditto.
8069 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
8070
c55b374b
RS
80712011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
8072
8073 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
8074
1e138510
RS
80752011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
8076
8077 PR target/50090
8078 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
8079 instead of an assembly one.
8080
1563503d
PB
80812011-08-12 Paolo Bonzini <bonzini@gnu.org>
8082
8083 PR bootstrap/50047
8084 * Makefile.in (install-unwind_h): Create
8085 $(gcc_objdir)/include/unwind.h atomically.
8086
3627ac1a
RO
80872011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8088
8089 * Makefile.in (install-unwind_h): Remove destination file first.
8090
c6412d86
RO
80912011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8092
8093 * sync.c: New file.
8094 * config/mips/t-mips16: New file.
8095 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
8096 (mips*-*-linux*): Likewise.
8097 (mips*-sde-elf*): Likewise.
8098 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
8099 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
8100 Add mips/t-mips16 to tmake_file.
8101 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
8102 (mips-*-elf*): Likewise.
8103 (mips64-*-elf*): Likewise.
8104 (mips64orion-*-elf*): Likewise.
8105 (mips*-*-rtems*): Likewise.
8106 (mipstx39-*-elf*): Likewise.
8107 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
8108 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
8109 LIBGCC_SYNC_CFLAGS.
8110 Use $(srcdir) to refer to sync.c.
8111 Use $<.
8112 ($(libgcc-sync-funcs-o)): Likewise.
8113 ($(libgcc-sync-size-funcs-s-o)): Likewise.
8114 ($(libgcc-sync-funcs-s-o)): Likewise.
8115
3cb6e5bd
AS
81162011-08-09 Andreas Schwab <schwab@linux-m68k.org>
8117
8118 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
8119 t-libunwind.
8120
cca2207a
L
81212011-08-08 H.J. Lu <hongjiu.lu@intel.com>
8122
8123 PR other/48007
8124 * config/i386/value-unwind.h: New.
8125
ed39fbad
RS
81262011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
8127
8128 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
8129 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
8130 Add to tmake_file rather than overriding it.
8131
aca0b0b3
RO
81322011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8133
8134 * config/t-softfp: Remove.
8135 * soft-fp: Moved from ../gcc/config.
8136 * soft-fp/README: Remove t-softfp reference.
8137 * soft-fp/t-softfp: Move to config/t-softfp.
8138 (softfp_machine_header): Remove.
8139 (softfp_file_list): Remove config subdir.
8140 (soft-fp-objects): New variable.
8141 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
8142 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
8143 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
8144 * config/t-softfp-excl: New file.
8145 * config/t-softfp-sfdf: New file.
8146 * config/t-softfp-tf: New file.
8147 * config/no-sfp-machine.h: New file.
8148 * config/arm/sfp-machine.h: New file.
8149 * config/arm/t-softfp: New file.
8150 * config/c6x/sfp-machine.h: New file.
8151 * config/i386/32/t-fprules-softfp: Rename to ...
8152 * config/i386/32/t-softfp: ... this.
8153 (tifunctions, LIB2ADD): Remove.
8154 (softfp_int_modes): Override.
8155 * config/i386/64/t-softfp-compat (tf-functions): Remove config
8156 subdir.
8157 * config/i386/64/eqtf2.c: Likewise.
8158 * config/i386/64/getf2.c: Likewise.
8159 * config/i386/64/letf2.c: Likewise.
8160 * config/ia64/sft-machine.h: New file.
8161 * config/ia64/t-fprules-softfp: Rename to ...
8162 * config/ia64/t-softfp: ... this.
8163 * config/lm32/sfp-machine.h: New file.
8164 * config/moxie/t-moxie-softfp: Remove.
8165 * config/rs6000/ibm-ldouble-format: New file.
8166 * config/rs6000/ibm-ldouble.c: New file.
8167 * config/rs6000/libgcc-ppc-glibc.ver: New file
8168 * config/rs6000/libgcc-ppc64.ver: New file
8169 * config/rs6000/sfp-machine.h: New file.
8170 * config/rs6000/t-freebsd: New file.
8171 * config/rs6000/t-ibm-ldouble: New file.
8172 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
8173 libgcc-ppc-glibc.ver.
8174 * config/rs6000/t-linux64: New file.
8175 * config/rs6000/t-ppccomm (LIB2ADD): Add
8176 $(srcdir)/config/rs6000/ibm-ldouble.c.
8177 * config/rs6000/t-ppccomm-ldbl: New file.
8178 * config/score/sfp-machine.h: New file.
8179 * config.host (sfp_machine_header): Explain.
8180 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
8181 t-softfp to tmake_file.
8182 (arm*-*-uclinux*): Likewise.
8183 (arm*-*-ecos-elf): Likewise.
8184 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
8185 (arm*-*-rtems*): Likewise.
8186 (arm*-*-elf): Likewise.
8187 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
8188 in tmake_file.
8189 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
8190 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
8191 (lm32-*-uclinux*): Likewise.
8192 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
8193 t-softfp-excl, t-softfp.
8194 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
8195 (powerpc64-*-darwin*): Likewise.
8196 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
8197 to tmake_file.
8198 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
8199 tmake_file.
8200 (powerpc-*-eabisim*): Likewise.
8201 (powerpc-*-elf*): Likewise.
8202 (powerpc-*-eabialtivec*): Likewise.
8203 (powerpc-xilinx-eabi*): Likewise.
8204 (powerpc-*-rtems*): Likewise.
8205 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
8206 t-softfp-excl, t-softfp to tmake_file.
8207 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
8208 rs6000/t-ppccomm-ldbl to tmake_file.
8209 (powerpcle-*-elf*): Likewise.
8210 (powerpcle-*-eabisim*): Likewise.
8211 (powerpcle-*-eabi*): Likewise.
8212 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8213 rs6000/t-ibm-ldouble to tmake_file.
8214 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8215 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8216 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
8217 (tic6x-*-*): Likewise.
8218 (i[34567]86-*-darwin*, x86_64-*-darwin*,
8219 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
8220 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
8221 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
8222 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
8223 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
8224 t-softfp to tmake_file.
8225 * configure.ac (sfp_machine_header): Provide default if unset.
8226 Substitute.
8227 Link sfp-machine.h to config/$sfp_machine_header.
8228 * configure: Regenerate.
8229
569dc494
RO
82302011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8231
8232 * Makefile.in (double_type_size, long_double_type_size): Set.
8233 Remove $(fpbit-in-libgcc) support.
8234 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
8235 (fpbit-src): New variable.
8236 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
8237 Compile with -DFLOAT $(FPBIT_CFLAGS).
8238 Use $<.
8239 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
8240 Compile with $(FPBIT_CFLAGS).
8241 Use $<.
8242 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
8243 Compile with -DFLOAT $(TPBIT_CFLAGS).
8244 Use $<.
8245 * configure.ac (double_type_size, long_double_type_size):
8246 Determine and substitute.
8247 * configure: Regenerate.
8248 * fp-bit.c, fp-bit.h: New files.
8249 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
8250 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
8251 * config/mips/t-mips: New file.
8252 * config/mips/t-sdemtk: New file.
8253 * config/rs6000/ppc64-fp.c: New file.
8254 * config/rs6000/t-darwin (LIB2ADD): Add
8255 $(srcdir)/config/rs6000/ppc64-fp.c.
8256 * config/rs6000/t-ppc64-fp: New file.
8257 * config/rx/rx-lib.h: New file.
8258 * config/rx/t-rx (FPBIT): Set to true.
8259 ($(gcc_objdir)/fp-bit.c): Remove.
8260 (DPBIT): Set to true only with -m64bit-doubles.
8261 ($(gcc_objdir)/dp-bit.c): Remove.
8262 * config/sparc/t-softfp: Remove.
8263 * config/spu/t-elf: New file.
8264 * config/t-fdpbit, config/t-fpbit: New files.
8265 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
8266 (mips*-*-*): Likewise.
8267 (arm-wrs-vxworks): Likewise.
8268 (arm*-*-freebsd*): Likewise.
8269 (avr-*-rtems*): Add t-fpbit to tmake_file.
8270 (avr-*-*): Likewise.
8271 (bfin*-elf*): Add t-fdpbit to tmake_file.
8272 (bfin*-uclinux*): Likewise.
8273 (bfin*-linux-uclibc*): Likewise.
8274 (bfin*-rtems*): New case.
8275 Add t-fdpbit to tmake_file.
8276 (bfin*-*): Add t-fdpbit to tmake_file.
8277 (crisv32-*-elf): Likewise.
8278 (cris-*-linux*): Likewise.
8279 (fr30-*-elf): Likewise.
8280 (frv-*-elf, frv-*-*linux*): Likewise.
8281 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
8282 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
8283 (m32r-*-elf*): Likewise.
8284 (m32rle-*-elf*): Likewise.
8285 (m32r-*-linux*): Likewise.
8286 (m32rle-*-linux*): Likewise.
8287 (mcore-*-elf): Add t-fdpbit to tmake_file.
8288 (microblaze*-*-*): Likewise.
8289 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
8290 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
8291 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
8292 Fix typo.
8293 Add mips/t-tpbit to tmake-file.
8294 (mips*-*-linux*): Fix typo.
8295 (mips*-sde-elf*): New case
8296 Add mips/t-sdemtk unless using newlib.
8297 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
8298 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
8299 (mn10300-*-*): Likewise.
8300 (pdp11-*-*): Likewise.
8301 (picochip-*-*): Add t-fpbit to tmake_file.
8302 (powerpc-*-eabisimaltivec*): Likewise.
8303 (powerpc-*-eabisim*): Likewise.
8304 (powerpc-*-elf*): Likewise.
8305 (powerpc-*-eabialtivec*): Likewise.
8306 (powerpc-xilinx-eabi*): New case.
8307 Add t-fdpbit to tmake_file.
8308 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
8309 (powerpc-*-rtems*): Likewise.
8310 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
8311 tmake_file.
8312 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
8313 tmake_file.
8314 (powerpc-*-lynxos*): Likewise.
8315 (powerpcle-*-elf*): Likewise.
8316 (powerpcle-*-eabisim*): Likewise.
8317 (powerpcle-*-eabi*): Likewise.
8318 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8319 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
8320 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8321 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8322 (rx-*-elf): Add t-fdpbit to tmake_file.
8323 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8324 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8325 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8326 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
8327 sh*-*-netbsd*.
8328 (sh-*-rtems*): Add t-fdpbit to tmake_file.
8329 (sh-wrs-vxworks): Likewise.
8330 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
8331 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
8332 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
8333 (sparc64-*-rtems*): ... new case.
8334 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
8335 (spu-*-elf*): Likewise.
8336 Add spu/t-elf to tmake_file.
8337 (v850*-*-*): Add t-fdpbit to tmake_file.
8338 (xstormy16-*-elf): Likewise.
8339 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
8340 (mep*-*-*): Likewise.
8341
201cdb74
RO
83422011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8343
8344 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
8345 variables.
8346 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
8347 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
8348 (install-unwind_h): New target.
8349 (all): Depend on it.
8350 * config.host (unwind_header): New variable.
8351 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
8352 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8353 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
8354 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
8355 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
8356 Set unwind_header.
8357 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
8358 Set unwind_header.
8359 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
8360 arm*-*-eabi*.
8361 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
8362 Set unwind_header.
8363 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
8364 (ia64*-*-freebsd*): Likewise.
8365 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
8366 tmake_file.
8367 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
8368 $with_system_libunwind.
8369 (ia64*-*-hpux*): Set tmake_file.
8370 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
8371 (picochip-*-*): Set tmake_file.
8372 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
8373 md_unwind_header.
8374 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8375 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8376 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
8377 (xtensa*-*-elf*): Set tmake_file.
8378 (xtensa*-*-linux*): Likewise.
8379 * configure.ac: Include ../config/unwind_ipinfo.m4.
8380 Call GCC_CHECK_UNWIND_GETIPINFO.
8381 Link unwind.h to $unwind_header.
8382 * configure: Regenerate.
8383 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
8384 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
8385 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
8386 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
8387 * config/unwind-dw2-fde-darwin.c: New file.
8388 * config/arm/libunwind.S, config/arm/pr-support.c,
8389 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
8390 config/arm/unwind-arm.h,: New files.
8391 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
8392 config/ia64/t-eh-ia64, config/ia64/t-glibc,
8393 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
8394 config/ia64/t-vms, config/ia64/unwind-ia64.c,
8395 config/ia64/unwind-ia64.h: New files.
8396 * config/picochip/t-picochip: New file.
8397 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
8398 files.
8399 * config/rs6000/t-darwin (LIB2ADDEH): Set.
8400 * config/s390/t-tpf (LIB2ADDEH): Remove.
8401 * config/t-darwin (LIB2ADDEH): Set.
8402 * config/t-eh-dw2-dip: New file.
8403 * config/t-libunwind, config/t-libunwind-elf: New files.
8404 * config/t-sol2 (LIB2ADDEH): Remove.
8405 * config/xtensa/t-xtensa: New file.
8406
40f2f11f
L
84072011-08-02 H.J. Lu <hongjiu.lu@intel.com>
8408
8409 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
8410 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
8411 long long to check rt_sigreturn syscall.
8412
bd15e32c
AM
84132011-08-02 Alan Modra <amodra@gmail.com>
8414
8415 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8416 Restore for indirect call bcrtl from correct stack slot, and only
8417 if cfa+40 isn't valid.
8418
655b30bf
JB
84192011-08-01 Julian Brown <julian@codesourcery.com>
8420
8421 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
8422 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
8423 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
8424
247eb06f
JB
84252011-08-01 Julian Brown <julian@codesourcery.com>
8426
8427 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
8428 (libgcc-std.ver.in): Use above.
8429 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
8430 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
8431 throughout file.
8432 * config/t-fixedpoint-gnu-prefix: New file.
8433 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
8434 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
8435 instead of __PFX__.
8436
02a8fe00
L
84372011-07-28 H.J. Lu <hongjiu.lu@intel.com>
8438
8439 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
8440 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
8441 for x86-64. Properly check __x86_64__ and __LP64__.
8442
5fce9126
L
84432010-07-28 H.J. Lu <hongjiu.lu@intel.com>
8444
8445 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
8446 version.
8447 (_FP_WS_TYPE): Likewise.
8448 (_FP_I_TYPE): Likewise.
8449
2374a88a
AM
84502011-07-28 Alan Modra <amodra@gmail.com>
8451
8452 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8453 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
8454 in a plt call stub. Do restore r2 if stopped on bctrl.
8455
e44dbbe1
RO
84562011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8457
8458 * config.host (i[3456x]86-*-netware*): Remove.
8459 * config/i386/netware-crt0.c, config/i386/t-nwld,
8460 config/i386/t-slibgcc-nwld: Remove.
8461
bcead286
BS
84622011-07-15 Bernd Schmidt <bernds@codesourcery.com>
8463
8464 * config.host: Handle tic6x-*-*.
8465 * config/c6x/c6x-abi.h: New file.
8466
b3fe1584
RO
84672011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8468
8469 * config/i386/crtprec.c: New file.
8470 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
8471 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
8472 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
8473 (x86_64-*-darwin*): Likewise.
8474 (i[34567]86-*-solaris2*: Likewise.
8475
35d8090d
RO
84762011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8477
8478 * config/alpha/crtfastmath.c: New file.
8479 * config/i386/crtfastmath.c: New file.
8480 * config/ia64/crtfastmath.c: New file.
8481 * config/mips/crtfastmath.c: New file.
8482 * config/sparc/crtfastmath.c: New file.
8483
8484 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
8485 crtfastmath.c.
8486 Add -frandom-seed=gcc-crtfastmath.
8487 * config/alpha/t-crtfm: Remove.
8488 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
8489 * config/ia64/t-ia64 (crtfastmath.o): Remove.
8490
8491 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
8492 (alpha*-dec-osf5.1*): Likewise.
8493 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
8494 Add crtfastmath.o to extra_parts.
8495 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
8496 Add crtfastmath.o to extra_parts.
8497 (x86_64-*-darwin*): Likewise.
8498 (x86_64-*-mingw*): Likewise.
8499 (ia64*-*-elf*): Add t-crtfm to tmake_file.
8500 (ia64*-*-freebsd*): Likewise.
8501 (ia64*-*-linux*): Likewise.
8502 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
8503 Add crtfastmath.o to extra_parts.
8504
e141542e
RO
85052011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8506
8507 * config/darwin-crt3.o: New file.
8508 * config/rs6000/darwin-crt2.c: New file.
8509 * config/t-darwin: New file.
8510 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
8511 (crt2.o): New rule.
8512 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
8513 (powerpc-*-darwin*): Add crt2.o to extra_parts.
8514 (powerpc64-*-darwin*): Likewise.
8515
2d1efe2d
RO
85162011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8517
8518 * config/i386/netware-crt0.c: New file.
8519 * config/i386/t-nwld: Rename to ...
8520 * config/i386/t-slibgcc-nwld: ... this.
8521 * config/i386/t-nwld: New file.
8522 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
8523 tmake_file.
8524 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
8525 extra_parts.
8526
4a8bb046
RO
85272011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8528
8529 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
8530 i386/t-crtstuff.
8531 * configure: Regenerate.
8532
2d8d5935
RO
85332011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8534
8535 * dfp-bit.c, dfp-bit.h: New files.
8536 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
8537 variables.
8538 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
8539 ($(d64pbit-o)): Likewise.
8540 ($(d128pbit-o)): Likewise.
8541 * config/t-dfprules: New file.
8542 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
8543 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
8544 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8545 (x86_64-*-linux*): Likewise.
8546 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8547 (i[34567]86-*-cygwin*): Likewise.
8548 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
8549 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8550
2c50b2c3
RO
85512011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8552
8553 * Makfile.in (LIBGCOV): New variable.
8554 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
8555 * libgcov.c: New file.
8556
a039d7c2
RO
85572011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8558
8559 * fixed-bit.c, fixed-bit.h: New files.
8560 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
8561 refer to fixed-bit.c.
8562
1e4b2746
JM
85632011-07-07 Joseph Myers <joseph@codesourcery.com>
8564
8565 * config.host (*local*): Remove.
8566
fbdd5d87
RO
85672011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8568
8569 PR target/39150
8570 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
8571 like i?86-*-solaris2.1[0-9]*.
8572 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
8573 * configure.ac (i?86-*-solaris2*): Likewise.
8574 * configure: Regenerate.
8575
9e7714f4
TS
85762011-07-06 Thomas Schwinge <thomas@schwinge.name>
8577
8578 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8579 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
8580 md_unwind_header by splitting out of...
8581 (i[34567]86-*-linux*): ... this.
8582 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
8583 Remove md_unwind_header by splitting out of...
8584 (x86_64-*-linux*): ... this.
8585
6dab9931
GJL
85862011-07-04 Georg-Johann Lay <avr@gjlay.de>
8587
8588 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
8589
4be46d19
NC
85902011-06-28 Nick Clifton <nickc@redhat.com>
8591
8592 * config.host: Recognize all V850 variants.
8593
1da9434b
UB
85942011-06-22 Uros Bizjak <ubizjak@gmail.com>
8595
8596 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
8597
e4d48a4d
RO
85982011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8599
8600 * shared-object.mk (c_flags-$o): Save c_flags.
8601 ($(base)$(objext)): Use it.
8602 ($(base)_s$(objext)): Likewise.
8603
3801c801
BS
86042011-06-21 Bernd Schmidt <bernds@codesourcery.com>
8605
8606 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
8607 * libgcc-std.ver.in (GCC_4.7.0): New section.
8608
0ad8bb3b 86092011-06-16 Georg-Johann Lay <avr@gjlay.de>
1da9434b 8610
0ad8bb3b
GJL
8611 PR target/49313
8612 PR target/29524
8613 * config/avr/t-avr: Fix line endings.
8614 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
8615 _parityXX2.
8616
ea963999
OH
86172011-06-14 Olivier Hainque <hainque@adacore.com>
8618 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8619
8620 * config/mips/irix6-unwind.h: New file.
8621 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
8622
b11b0904
EB
86232011-06-10 Eric Botcazou <ebotcazou@adacore.com>
8624
8625 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
8626 (sparc64_fallback_frame_state): Use it.
8627 (sparc64_frob_update_context): Further adjust context.
8628 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
8629 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
8630 * config/sparc/sol2-cn.S: Likewise.
8631
10e48e39
RO
86322011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8633
8634 * enable-execute-stack-empty.c: New file.
8635 * enable-execute-stack-mprotect.c: New file.
8636 * config/i386/enable-execute-stack-mingw32.c: New file.
8637 * config.host (enable_execute_stack): New variable.
8638 Select appropriate variants.
8639 * configure.ac: Link enable-execute-stack.c to
8640 $enable_execute_stack.
8641 * configure: Regenerate.
8642 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
8643 (lib2funcs): Remove _enable_execute_stack.
8644
10c4cabc
DM
86452011-06-09 David S. Miller <davem@davemloft.net>
8646 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8647
8648 * config.host (sparc-*-linux*): Correct md_unwind_header
8649 filename.
8650 (s390x-ibm-tpf*): Fix typo.
8651
aa4203e7
RO
86522011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8653
8654 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
8655 Add crtfastmath.o to extra_parts.
8656 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
8657 mips/t-crtfm.
8658 * config/mips/t-crtfm: Remove.
8659
0defd786
JDA
86602011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8661
8662 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
8663
82f247af
KK
86642011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
8665
8666 * config.host (sh*-*-linux*): Fix typo.
8667
58cd1d70
RO
86682011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8669
8670 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
8671 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
8672 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
8673 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
8674 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
8675 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
8676 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
8677 Wrap in !__MINGW64__.
8678 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
8679 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
8680 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
8681 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
8682 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
8683 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
8684 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
8685 Wrap in !__LP64__.
8686 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
8687 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
8688 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
8689 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
8690 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
8691 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
8692 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
8693 * config/no-unwind.h: New file.
8694 * config.host (md_unwind_header): Document.
8695 Define.
8696 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
8697 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
8698 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
8699 hppa[12]*-*-hpux11*): Set md_unwind_header.
8700 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
8701 Set md_unwind_header.
8702 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
8703 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
8704 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
8705 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
8706 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
8707 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
8708 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
8709 md_unwind_header.
8710 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
8711 * configure: Regenerate.
8712
737346fa
RO
87132011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8714
8715 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
8716 Set tmake_file, extra_parts.
8717 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
8718 Remove O32 support.
8719 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
8720 Remove O32 support.
8721 * config/mips/t-irix6: New file.
8722 * config/mips/t-slibgcc-irix: New file.
8723
c192cee6
RO
87242011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8725
8726 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
8727 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
8728
ee33b5f0
RO
87292011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8730
8731 * configure.ac (target_thread_file): Determine thread model.
8732 * configure: Regenerate.
8733 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
8734 * config/alpha/t-alpha: New file.
8735 * config/alpha/t-crtfm: Use $<.
8736 * config/alpha/t-ieee: New file.
8737 * config/alpha/t-osf-pthread: New file.
8738 * config/alpha/t-slibgcc-osf: New file.
8739 * config/alpha/libgcc-osf5.ver: New file.
8740
0699e415
RO
87412011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8742
8743 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
8744 tmake_file.
8745 Add crtfastmath.o to extra_parts.
8746
a3fab9c2
RO
87472011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8748
8749 * config/gmon-sol2.c: Reindent.
8750 Cleanup comments.
8751 Remove, correct casts.
8752 Use STDERR_FILENO, NULL.
8753 (BASEADDRESS): Remove.
8754 (minbrk): Remove.
8755 (errno, sbrk): Remove declarations.
8756 (monstartup) [hp300]: Remove.
8757 (mcount): Remove.
8758
ca24c5ad
RO
87592011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8760
8761 * Makefile.in (cpu_type): Define.
8762 * config.host (i[34567]86-*-rtems*): Handle it.
8763 (i[34567]86-*-solaris2*): Move body ...
8764 (*-*-solaris2*): ... here.
8765 New case, generalize.
8766 (sparc-*-elf*): Handle it.
8767 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
8768 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
8769 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
8770 Fold into ...
8771 (sparc*-*-solaris2*): ... this.
8772 New case.
8773 (sparc64-*-elf*): Handle it.
8774 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
8775 Merge ../gcc/config/i386/gmon-sol2.c.
8776 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
8777 Use C comments.
8778 Merge ../gcc/config/i386/sol2-gc1.asm.
8779 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
8780 Use C comments.
8781 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
8782 Use C comments.
8783 * config/i386/t-crtfm (crtfastmath.o): Use $<.
8784 * config/i386/t-crtstuff: New file.
8785 * config/i386/t-softfp: New file.
8786 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
8787 $(T)crti.o, $(T)crtn.o): Remove.
8788 (gcrt1.o): New rule.
8789 (TARGET_LIBGCC2_CFLAGS): Remove.
8790 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
8791 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
8792 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
8793 * config/sparc/t-sol2: New file.
8794 * config/sparc/t-crtfm: Move to ...
8795 * config/t-crtfm: ... this.
8796 Use $(cpu_type), $<.
8797 * config/t-crtin: New file.
8798 * config/sparc/t-softfp: New file.
8799 * config/sparc/t-softmul: New file.
8800 * config/t-rtems: New file.
8801 * config/t-slibgcc: New file.
8802 * config/t-slibgcc-elf-ver: New file.
8803 * config/t-slibgcc-gld: New file.
8804 * config/t-slibgcc-sld: New file.
8805 * config/t-sol2: New file.
8806 * configure.ac: Include ../config/lib-ld.m4.
8807 Call AC_LIB_PROG_LD_GNU.
8808 Substitute cpu_type.
8809 * configure: Regenerate.
8810
ad5f3d7b
BS
88112011-05-27 Bernd Schmidt <bernds@codesourcery.com>
8812
8813 PR bootstrap/49173
8814 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
8815 libgcc-std.ver in the build directory.
8816 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
8817 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
8818
cdbf4541
BS
88192011-05-25 Bernd Schmidt <bernds@codesourcery.com>
8820
8821 * libgcc-std.ver.in: New file.
8822 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
8823 variables.
8824 (libgcc-std.ver): New rule.
8825 * config/t-gnu-prefix: New file.
8826
c8028650
RO
88272011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8828
8829 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
8830
4a68b4ca
JM
88312011-05-10 Joseph Myers <joseph@codesourcery.com>
8832
8833 * config/i386/darwin-lib.h: New file.
8834
80cf2e08
JM
88352011-05-10 Joseph Myers <joseph@codesourcery.com>
8836
8837 * config/arm/symbian-lib.h: New.
8838
a3330c9d
CD
88392011-05-04 Chris Demetriou <cgd@google.com>
8840
8841 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
8842 (__x86.get_pc_thunk.bx): ...this.
8843 (__morestack): Adjust for rename, remove undef of __i686.
8844
6ace0756
CD
88452011-05-03 Chris Demetriou <cgd@google.com>
8846
8847 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
8848
ebb9f8b0
JM
88492011-03-22 Joseph Myers <joseph@codesourcery.com>
8850
8851 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
8852 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
8853 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
8854 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
8855 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
8856 Remove cases.
8857
9cfa1499
AT
88582011-03-14 Andreas Tobler <andreast@fgznet.ch>
8859
8860 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
8861 Adjust copyright year.
8862
457186f6
ILT
88632011-03-07 Ian Lance Taylor <iant@google.com>
8864
8865 * generic-morestack.c (__splitstack_find): Adjust returned stack
8866 pointer to include all registers pushed by __morestack.
8867
58c741a6
DK
88682011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
8869
8870 PR target/40125
8871 * configure.ac: Call ACX_NONCANONICAL_TARGET.
8872 (toolexecdir): Calculate and AC_SUBST.
8873 (toolexeclibdir): Likewise.
8874 * Makefile.in (target_noncanonical): Import.
8875 (toolexecdir): Likewise.
8876 (toolexeclibdir): Likewise.
8877 * configure: Regenerate.
8878
26716c44
NF
88792010-12-13 Nathan Froyd <froydnj@codesourcery.com>
8880
8881 PR target/46040
8882 * config/arm/bpabi.h: Rename to...
8883 * config/arm/bpabi-lib.h: ...this.
8884
b595b1a1
RO
88852010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8886
8887 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
8888 appropriate.
8889 * configure: Regenerate.
8890
a3abe41c
NF
88912010-11-24 Nathan Froyd <froydnj@codesourcery.com>
8892
8893 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
8894 __FLOAT_WORD_ORDER__.
8895 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
8896 Delete.
8897
455c8f48
RW
88982010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8899
8900 PR other/46202
8901 * Makefile.in (install-strip): New phony target.
8902
f3824a8b
ILT
89032010-11-07 Ian Lance Taylor <iant@google.com>
8904
8905 PR target/46089
8906 * config/i386/morestack.S (__morestack_large_model): New
8907 function.
8908
18ed6ee4
NF
89092010-10-23 Nathan Froyd <froydnj@codesourcery.com>
8910
8911 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
8912 Delete.
8913 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
8914
8ac7fdcb
NF
89152010-10-14 Nathan Froyd <froydnj@codesourcery.com>
8916
8917 * config/arm/bpabi.h: New file.
8918 * config/frv/frv-abi.h: New file.
8919
cdb388c2
ILT
89202010-10-01 Ian Lance Taylor <iant@google.com>
8921
8922 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
8923 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
8924
ef7c141c
L
89252010-10-01 H.J. Lu <hongjiu.lu@intel.com>
8926
8927 PR target/45858
8928 * config.host: Add the missing `$'.
8929
80920132
ME
89302010-09-30 Michael Eager <eager@eagercon.com>
8931
8932 * config.host: Add microblaze*-*-*.
8933 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
8934 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
8935 udivsi3.asm,umodsi3.asm}: New.
8936
6dace308
ILT
89372010-09-28 Ian Lance Taylor <iant@google.com>
8938
8939 * configure.ac: Adjust CFI test to test assembler directly rather
8940 than checking gcc preprocessor macro.
8941 * configure: Rebuild.
8942
b6110d6d
ILT
89432010-09-27 Ian Lance Taylor <iant@google.com>
8944
8945 * configure.ac: Test whether assembler supports CFI directives.
8946 * config.host: Only add t-stack and i386/t-stack-i386 to
8947 tmake_file if libgcc_cv_cfi is "yes".
8948 * configure: Rebuild.
8949
7458026b
ILT
89502010-09-27 Ian Lance Taylor <iant@google.com>
8951
8952 * generic-morestack.h: New file.
8953 * generic-morestack.c: New file.
8954 * generic-morestack-thread.c: New file.
8955 * config/i386/morestack.S: New file.
8956 * config/t-stack: New file.
8957 * config/i386/t-stack-i386: New file.
8958 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
8959 i386/t-stack-i386 to tmake_file.
8960
5b50fc0c
IS
89612010-09-21 Iain Sandoe <iains@gcc.gnu.org>
8962
8963 * Makefile.in (libgcc-extra-parts): Check for static archives and
8964 invoke ranlib after installing them.
8965 (gcc-extra-parts): Likewise.
8966 (install-leaf): Likewise.
8967
b93cf342
L
89682010-09-14 H.J. Lu <hongjiu.lu@intel.com>
8969
8970 * configure: Regenerated.
8971
996b42ef
KT
89722010-09-10 Kai Tietz <kai.tietz@onevision.com>
8973
b93cf342 8974 * configure: Regenerated.
996b42ef 8975
be1c764e
GP
89762010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
8977 Andrew Pinski <pinskia@gmail.com>
8978
1da9434b 8979 PR target/40959
be1c764e
GP
8980 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
8981
cc0ae0ca
L
89822010-09-06 H.J. Lu <hongjiu.lu@intel.com>
8983
8984 PR target/45524
8985 * configure: Regenerated.
8986
84f47d20
AS
89872010-09-06 Andreas Schwab <schwab@redhat.com>
8988
8989 * configure: Regenerate.
8990
4159fb8d
UB
89912010-09-03 Uros Bizjak <ubizjak@gmail.com>
8992
8993 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
8994 64bit targets.
8995 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
8996 for 64bit targets.
8997
0df8fcc8
UB
89982010-09-03 Uros Bizjak <ubizjak@gmail.com>
8999 Iain Sandoe <iains@gcc.gnu.org>
9000
9001 PR target/45476
9002 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
9003 LIB2FUNCS_EXCLUDE functions.
9004
3c39bca6
AK
90052010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9006
9007 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
9008 Include dfp.m4.
9009 * configure: Regenerate.
9010
d78552bd
UB
90112010-09-01 Uros Bizjak <ubizjak@gmail.com>
9012
9013 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
9014 i386/t-freebsd to tmake_file.
9015 * config/i386/t-freebsd: New file.
9016 * config/i386/libgcc-bsd.ver: New file.
9017
c5b79d4e
NF
90182010-07-23 Nathan Froyd <froydnj@codesourcery.com>
9019
9020 * config.host (powerpc*-eabispe*): Set tmake_file.
9021 (powerpc*-eabi*): Likewise.
9022 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
9023 crtbeginS, crtendS, crtbeginT.
9024
48b09a92
KH
90252010-06-12 Kazu Hirata <kazu@codesourcery.com>
9026
9027 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
9028 to tmake_file. Add crtfastmath.o to extra_parts.
9029 * config/mips/t-crtfm: New.
9030
7d296953 90312010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
a4389204
JS
9032
9033 * config.host (sparc64-*-rtems*): New target.
9034
ed104137
RO
90352010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9036
9037 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
9038 assembler syntax.
9039
3f56ef8b
TS
90402010-04-15 Thomas Schwinge <tschwinge@gnu.org>
9041
9042 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
9043
8c200350
RO
90442010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9045
9046 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
9047 alpha-dec-osf5.0* support.
9048
7d296953 90492010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
c1b14424
RC
9050
9051 * config.host: Add lm32-*-rtems*.
9052
f128db92 90532010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7d296953 9054 Uros Bizjak <ubizjak@gmail.com>
f128db92
RO
9055
9056 PR target/39048
9057 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
9058 like other remaining 32-bit x86 OSes.
9059 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
9060 assembler syntax.
9061 * config/i386/libgcc-sol2.ver: New file.
9062 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
9063
7d296953 90642010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
368fabd5
JH
9065
9066 PR c/43553
9067 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
9068 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
9069 is used and substitute set_use_emutls.
9070 * configure: Regenerated.
9071
15baf7f8
TG
90722010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
9073
9074 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
9075
7f5441df
RO
90762010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9077
9078 PR target/38085
9079 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
9080 MULTILIB_CFLAGS.
9081 ($(T)gcrt1.o): Likewise.
9082 ($(T)crt1.o): Likewise.
9083 ($(T)crti.o): Likewise.
9084 ($(T)crtn.o): Likewise.
9085
ef74edbd
RW
90862010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9087
9088 PR other/42980
9089 * Makefile.in (install): Use $(MAKE) string in rule, for
9090 parallel make.
9091
e7c914db
HPN
90922010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
9093
9094 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
9095 * config/mmix/t-mmix: New file.
9096 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
9097
1bcb71c4
JH
90982010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
9099
9100 PR java/41991
9101 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
9102 SHLIB_MAPFILES.
9103
e6e50811
AG
91042010-01-04 Anthony Green <green@moxielogic.com>
9105
9106 * config/moxie/crti.asm, config/moxie/crtn.asm,
9107 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
9108 config/moxie/t-moxie: New files.
9109 * config.host: Add t-moxie-softfp reference.
9110
7d296953 91112009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
ca8520ad
IS
9112
9113 PR other/39888
9114 * config/t-slibgcc-darwin: Fix embedded rpaths for
9115 --enable-version-specific-runtime-libs, build extension stub
9116 libs exposing features available from current libgcc_s.
9117
7d296953 91182009-11-11 Jon Beniston <jon@beniston.com>
aa4945c1 9119
d78552bd
UB
9120 * config.host: Add lm32 targets.
9121 * config/lm32: New directory.
9122 * config/lm32/libgcc_lm32.h: New file.
9123 * config/lm32/_mulsi3.c: New file.
9124 * config/lm32/_udivmodsi4.c: New file.
9125 * config/lm32/_divsi3.c: New file.
9126 * config/lm32/_modsi3.c: New file.
9127 * config/lm32/_udivsi3.c: New file.
9128 * config/lm32/_umodsi3.c: New file.
9129 * config/lm32/_lshrsi3.S: New file.
9130 * config/lm32/_ashrsi3.S: New file.
9131 * config/lm32/_ashlsi3.S: New file.
9132 * config/lm32/crti.S: New file.
9133 * config/lm32/crtn.S: New file.
9134 * config/lm32/t-lm32: New file.
9135 * config/lm32/t-elf: New file.
9136 * config/lm32/t-uclinux: New file.
aa4945c1 9137
65a324b4
NC
91382009-10-26 Nick Clifton <nickc@redhat.com>
9139
9140 * config.host: Add support for RX target.
9141 * config/rx: New directory.
9142 * config/rx/rx-abi-functions.c: New file. Supplementary
9143 functions for libgcc to support the RX ABI.
9144 * config/rx/rx-abi.h: New file. Supplementary header file for
9145 libgcc RX ABI functions.
9146 * config/rx/t-rx: New file: Makefile fragment for building
9147 libgcc for the RX.
9148
dfb3b0e3
UB
91492009-10-09 Uros Bizjak <ubizjak@gmail.com>
9150
9151 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
9152 constraint of y0 to "g".
9153
81dd9fd7
AK
91542009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9155
9156 * config.host: Include the s390 makefile fragments.
9157 * config/s390/32/_fixdfdi.c: New file.
9158 * config/s390/32/_fixsfdi.c: New file.
9159 * config/s390/32/_fixtfdi.c: New file.
9160 * config/s390/32/_fixunsdfdi.c: New file.
9161 * config/s390/32/_fixunssfdi.c: New file.
9162 * config/s390/32/_fixunstfdi.c: New file.
9163 * config/s390/32/t-floattodi: New file.
9164 * config/s390/libgcc-glibc.ver: New file.
9165 * config/s390/t-crtstuff: New file.
9166 * config/s390/t-linux: New file.
9167 * config/s390/t-tpf: New file.
9168
df58e648
RW
91692009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9170
9171 * configure.ac (AC_PREREQ): Bump to 2.64.
9172
79052be3
KK
91732009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
9174
9175 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
9176
5213506e
RW
91772009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9178
9179 * configure: Regenerate.
9180
a9a25daa
DR
91812009-08-09 Douglas B Rupp <rupp@gnat.com>
9182
9183 * config.host (ia64-hp-*vms*): New target.
9184 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
9185 with ia64-hp-*vms*.
9186
6efbd53f
RW
91872009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9188
9189 * configure.ac: Add snippet for maintainer-mode.
9190 * configure: Regenerate.
9191 * Makefile.in (AUTOCONF, configure_deps): New variables.
9192 ($(srcdir)/configure)): New rule, active only with maintainer
9193 mode turned on.
9194
7acf4da6
DD
91952009-06-23 DJ Delorie <dj@redhat.com>
9196
9197 Add MeP port.
9198 * config.host: Add mep support.
9199
54f549af
KT
92002009-06-22 Kai Tietz <kai.tietz@onevision.com>
9201
34481f28 9202 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 9203 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
34481f28
UB
9204
9205 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
9206 for mingw targets.
54f549af
KT
9207 * config/i386/64/_multc3.c: Likewise.
9208 * config/i386/64/_powitf2.c: Likewise.
9209 * config/i386/64/eqtf2.c: Likewise.
9210 * config/i386/64/getf2.c: Likewise.
9211 * config/i386/64/letf2.c: Likewise.
9212 * config/i386/64/letf2.c: Likewise.
34481f28
UB
9213 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
9214 unsigned long long for x64 mingw targets.
9215 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
9216 (_FP_I_TYPE): Define as long long for x64 mingw target.
54f549af 9217
fea96e25
MR
92182009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
9219
9220 * config.host (vax-*-linux*): New.
9221
cceb575c
AG
92222009-05-31 Anthony Green <green@moxielogic.com>
9223
9224 * config.host: Add moxie support.
9225 * config/moxie/t-moxie: New file.
9226
7d296953 92272009-05-29 David Billinghurst <billingd@gcc.gnu.org>
e997fb9c
DB
9228
9229 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 9230 t-softfp to tmake_file for i[34567]86-*-cygwin*.
e997fb9c 9231
532bfb0a
AJ
92322009-04-17 Aurelien Jarno <aurelien@aurel32.net>
9233
9234 * config.host: Add i386/${host_address}/t-fprules-softfp to
9235 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
9236
748086b7
JJ
92372009-04-09 Nick Clifton <nickc@redhat.com>
9238
9239 * config/ia64/tf-signs.c: Change copyright header to refer to
9240 version 3 of the GNU General Public License with version 3.1
9241 of the GCC Runtime Library Exception and to point readers at
9242 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
9243 web page.
9244 * config/i386/32/tf-signs.c: Likewise.
9245 * config/libbid/_addsub_dd.c: Likewise.
9246 * config/libbid/_addsub_sd.c: Likewise.
9247 * config/libbid/_addsub_td.c: Likewise.
9248 * config/libbid/_dd_to_df.c: Likewise.
9249 * config/libbid/_dd_to_di.c: Likewise.
9250 * config/libbid/_dd_to_sd.c: Likewise.
9251 * config/libbid/_dd_to_sf.c: Likewise.
9252 * config/libbid/_dd_to_si.c: Likewise.
9253 * config/libbid/_dd_to_td.c: Likewise.
9254 * config/libbid/_dd_to_tf.c: Likewise.
9255 * config/libbid/_dd_to_udi.c: Likewise.
9256 * config/libbid/_dd_to_usi.c: Likewise.
9257 * config/libbid/_dd_to_xf.c: Likewise.
9258 * config/libbid/_df_to_dd.c: Likewise.
9259 * config/libbid/_df_to_sd.c: Likewise.
9260 * config/libbid/_df_to_td.c: Likewise.
9261 * config/libbid/_di_to_dd.c: Likewise.
9262 * config/libbid/_di_to_sd.c: Likewise.
9263 * config/libbid/_di_to_td.c: Likewise.
9264 * config/libbid/_div_dd.c: Likewise.
9265 * config/libbid/_div_sd.c: Likewise.
9266 * config/libbid/_div_td.c: Likewise.
9267 * config/libbid/_eq_dd.c: Likewise.
9268 * config/libbid/_eq_sd.c: Likewise.
9269 * config/libbid/_eq_td.c: Likewise.
9270 * config/libbid/_ge_dd.c: Likewise.
9271 * config/libbid/_ge_sd.c: Likewise.
9272 * config/libbid/_ge_td.c: Likewise.
9273 * config/libbid/_gt_dd.c: Likewise.
9274 * config/libbid/_gt_sd.c: Likewise.
9275 * config/libbid/_gt_td.c: Likewise.
9276 * config/libbid/_isinfd128.c: Likewise.
9277 * config/libbid/_isinfd32.c: Likewise.
9278 * config/libbid/_isinfd64.c: Likewise.
9279 * config/libbid/_le_dd.c: Likewise.
9280 * config/libbid/_le_sd.c: Likewise.
9281 * config/libbid/_le_td.c: Likewise.
9282 * config/libbid/_lt_dd.c: Likewise.
9283 * config/libbid/_lt_sd.c: Likewise.
9284 * config/libbid/_lt_td.c: Likewise.
9285 * config/libbid/_mul_dd.c: Likewise.
9286 * config/libbid/_mul_sd.c: Likewise.
9287 * config/libbid/_mul_td.c: Likewise.
9288 * config/libbid/_ne_dd.c: Likewise.
9289 * config/libbid/_ne_sd.c: Likewise.
9290 * config/libbid/_ne_td.c: Likewise.
9291 * config/libbid/_sd_to_dd.c: Likewise.
9292 * config/libbid/_sd_to_df.c: Likewise.
9293 * config/libbid/_sd_to_di.c: Likewise.
9294 * config/libbid/_sd_to_sf.c: Likewise.
9295 * config/libbid/_sd_to_si.c: Likewise.
9296 * config/libbid/_sd_to_td.c: Likewise.
9297 * config/libbid/_sd_to_tf.c: Likewise.
9298 * config/libbid/_sd_to_udi.c: Likewise.
9299 * config/libbid/_sd_to_usi.c: Likewise.
9300 * config/libbid/_sd_to_xf.c: Likewise.
9301 * config/libbid/_sf_to_dd.c: Likewise.
9302 * config/libbid/_sf_to_sd.c: Likewise.
9303 * config/libbid/_sf_to_td.c: Likewise.
9304 * config/libbid/_si_to_dd.c: Likewise.
9305 * config/libbid/_si_to_sd.c: Likewise.
9306 * config/libbid/_si_to_td.c: Likewise.
9307 * config/libbid/_td_to_dd.c: Likewise.
9308 * config/libbid/_td_to_df.c: Likewise.
9309 * config/libbid/_td_to_di.c: Likewise.
9310 * config/libbid/_td_to_sd.c: Likewise.
9311 * config/libbid/_td_to_sf.c: Likewise.
9312 * config/libbid/_td_to_si.c: Likewise.
9313 * config/libbid/_td_to_tf.c: Likewise.
9314 * config/libbid/_td_to_udi.c: Likewise.
9315 * config/libbid/_td_to_usi.c: Likewise.
9316 * config/libbid/_td_to_xf.c: Likewise.
9317 * config/libbid/_tf_to_dd.c: Likewise.
9318 * config/libbid/_tf_to_sd.c: Likewise.
9319 * config/libbid/_tf_to_td.c: Likewise.
9320 * config/libbid/_udi_to_dd.c: Likewise.
9321 * config/libbid/_udi_to_sd.c: Likewise.
9322 * config/libbid/_udi_to_td.c: Likewise.
9323 * config/libbid/_unord_dd.c: Likewise.
9324 * config/libbid/_unord_sd.c: Likewise.
9325 * config/libbid/_unord_td.c: Likewise.
9326 * config/libbid/_usi_to_dd.c: Likewise.
9327 * config/libbid/_usi_to_sd.c: Likewise.
9328 * config/libbid/_usi_to_td.c: Likewise.
9329 * config/libbid/_xf_to_dd.c: Likewise.
9330 * config/libbid/_xf_to_sd.c: Likewise.
9331 * config/libbid/_xf_to_td.c: Likewise.
9332 * config/libbid/bid128.c: Likewise.
9333 * config/libbid/bid128_2_str.h: Likewise.
9334 * config/libbid/bid128_2_str_macros.h: Likewise.
9335 * config/libbid/bid128_2_str_tables.c: Likewise.
9336 * config/libbid/bid128_add.c: Likewise.
9337 * config/libbid/bid128_compare.c: Likewise.
9338 * config/libbid/bid128_div.c: Likewise.
9339 * config/libbid/bid128_fma.c: Likewise.
9340 * config/libbid/bid128_logb.c: Likewise.
9341 * config/libbid/bid128_minmax.c: Likewise.
9342 * config/libbid/bid128_mul.c: Likewise.
9343 * config/libbid/bid128_next.c: Likewise.
9344 * config/libbid/bid128_noncomp.c: Likewise.
9345 * config/libbid/bid128_quantize.c: Likewise.
9346 * config/libbid/bid128_rem.c: Likewise.
9347 * config/libbid/bid128_round_integral.c: Likewise.
9348 * config/libbid/bid128_scalb.c: Likewise.
9349 * config/libbid/bid128_sqrt.c: Likewise.
9350 * config/libbid/bid128_string.c: Likewise.
9351 * config/libbid/bid128_to_int16.c: Likewise.
9352 * config/libbid/bid128_to_int32.c: Likewise.
9353 * config/libbid/bid128_to_int64.c: Likewise.
9354 * config/libbid/bid128_to_int8.c: Likewise.
9355 * config/libbid/bid128_to_uint16.c: Likewise.
9356 * config/libbid/bid128_to_uint32.c: Likewise.
9357 * config/libbid/bid128_to_uint64.c: Likewise.
9358 * config/libbid/bid128_to_uint8.c: Likewise.
9359 * config/libbid/bid32_to_bid128.c: Likewise.
9360 * config/libbid/bid32_to_bid64.c: Likewise.
9361 * config/libbid/bid64_add.c: Likewise.
9362 * config/libbid/bid64_compare.c: Likewise.
9363 * config/libbid/bid64_div.c: Likewise.
9364 * config/libbid/bid64_fma.c: Likewise.
9365 * config/libbid/bid64_logb.c: Likewise.
9366 * config/libbid/bid64_minmax.c: Likewise.
9367 * config/libbid/bid64_mul.c: Likewise.
9368 * config/libbid/bid64_next.c: Likewise.
9369 * config/libbid/bid64_noncomp.c: Likewise.
9370 * config/libbid/bid64_quantize.c: Likewise.
9371 * config/libbid/bid64_rem.c: Likewise.
9372 * config/libbid/bid64_round_integral.c: Likewise.
9373 * config/libbid/bid64_scalb.c: Likewise.
9374 * config/libbid/bid64_sqrt.c: Likewise.
9375 * config/libbid/bid64_string.c: Likewise.
9376 * config/libbid/bid64_to_bid128.c: Likewise.
9377 * config/libbid/bid64_to_int16.c: Likewise.
9378 * config/libbid/bid64_to_int32.c: Likewise.
9379 * config/libbid/bid64_to_int64.c: Likewise.
9380 * config/libbid/bid64_to_int8.c: Likewise.
9381 * config/libbid/bid64_to_uint16.c: Likewise.
9382 * config/libbid/bid64_to_uint32.c: Likewise.
9383 * config/libbid/bid64_to_uint64.c: Likewise.
9384 * config/libbid/bid64_to_uint8.c: Likewise.
9385 * config/libbid/bid_b2d.h: Likewise.
9386 * config/libbid/bid_binarydecimal.c: Likewise.
9387 * config/libbid/bid_conf.h: Likewise.
9388 * config/libbid/bid_convert_data.c: Likewise.
9389 * config/libbid/bid_decimal_data.c: Likewise.
9390 * config/libbid/bid_decimal_globals.c: Likewise.
9391 * config/libbid/bid_div_macros.h: Likewise.
9392 * config/libbid/bid_dpd.c: Likewise.
9393 * config/libbid/bid_flag_operations.c: Likewise.
9394 * config/libbid/bid_from_int.c: Likewise.
9395 * config/libbid/bid_functions.h: Likewise.
9396 * config/libbid/bid_gcc_intrinsics.h: Likewise.
9397 * config/libbid/bid_inline_add.h: Likewise.
9398 * config/libbid/bid_internal.h: Likewise.
9399 * config/libbid/bid_round.c: Likewise.
9400 * config/libbid/bid_sqrt_macros.h: Likewise.
9401
94022009-04-09 Jakub Jelinek <jakub@redhat.com>
9403
9404 * Makefile.in: Change copyright header to refer to version
9405 3 of the GNU General Public License and to point readers at the
9406 COPYING3 file and the FSF's license web page.
9407 * config.host: Likewise.
9408
633dd061
AM
94092009-04-07 Alan Modra <amodra@bigpond.net.au>
9410
9411 * config.host: Reorder and merge to match config.gcc change.
9412
457d1d00
AM
94132009-04-03 Alan Modra <amodra@bigpond.net.au>
9414
9415 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
9416
52c0e446
JM
94172009-03-28 Joseph Myers <joseph@codesourcery.com>
9418
9419 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
9420 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
9421 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
9422 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
9423
ba181049
UB
94242009-02-12 Uros Bizjak <ubizjak@gmail.com>
9425
9426 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
9427 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9428
c252db20
L
94292009-02-12 H.J. Lu <hongjiu.lu@intel.com>
9430
ba181049
UB
9431 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
9432 ia64/t-softfp-compat to tmake_file.
c252db20
L
9433
9434 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
9435
9436 * config/ia64/__divxf3.asm: New.
9437 * config/ia64/_fixtfdi.asm: Likewise.
9438 * config/ia64/_fixunstfdi.asm: Likewise.
9439 * config/ia64/_floatditf.asm: Likewise.
9440 * config/ia64/t-fprules-softfp: Likewise.
9441 * config/ia64/t-softfp-compat: Likewise.
9442 * config/ia64/tf-signs.c: Likewise.
9443
c60535f9
BE
94442009-01-18 Ben Elliston <bje@au.ibm.com>
9445
9446 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9447
ce16861e
BE
94482009-01-16 Ben Elliston <bje@au.ibm.com>
9449
9450 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
9451 to tmake_file.
9452
bcf4713b
BE
94532009-01-13 Ben Elliston <bje@au.ibm.com>
9454
9455 * config/t-softfp: New file.
9456 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
9457 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
9458
7d296953 94592009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
2042cb04
JS
9460
9461 * config.host: Add m32r*-*-rtems*.
9462
7d296953 94632008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
541ed00e
JS
9464
9465 * config.host: Add m32c*-*-rtems*.
9466
19523300
RO
94672008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9468
9469 PR bootstrap/33100
9470 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
9471 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
9472 * configure: Regenerate.
9473 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
9474 tmake_file here from gcc/config.gcc.
9475 Move extra_parts here from gcc/config.gcc.
9476 * config/i386/t-sol2: Move here from gcc/config/i386.
9477 Use gcc_srcdir instead of srcdir.
9478
0a4a51c7
AN
94792008-11-18 Adam Nemet <anemet@caviumnetworks.com>
9480
9481 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
9482 case.
9483
2a761e46
TS
94842008-11-09 Thomas Schwinge <tschwinge@gnu.org>
9485
9486 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
9487
c0451df7
TS
94882008-10-08 Thomas Schwinge <tschwinge@gnu.org>
9489
9490 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
9491
358da97e
HS
94922008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
9493
9494 Add picoChip port.
9495 * config.host: Add picochip-*-*.
9496
c660f132
BW
94972008-08-06 Bob Wilson <bob.wilson@acm.org>
9498
9499 * config.host: Match more processor names for Xtensa.
9500
d1349557
L
95012008-07-08 H.J. Lu <hongjiu.lu@intel.com>
9502
9503 * config/i386/64/t-softfp-compat: Update comments.
9504
dd7b73c0
L
95052008-07-07 H.J. Lu <hongjiu.lu@intel.com>
9506
9507 * config/i386/64/_divtc3-compat.c: Moved to ...
9508 * config/i386/64/_divtc3.c: Here.
9509
9510 * config/i386/64/_multc3-compat.c: Moved to ...
9511 * config/i386/64/_multc3.c: Here.
9512
9513 * config/i386/64/_powitf2-compat.c: Moved to ...
9514 * config/i386/64/_powitf2.c: Here.
9515
9516 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
9517 .c suffix instead of -compat.c.
9518
6e1fab3d
UB
95192008-07-05 Uros Bizjak <ubizjak@gmail.com>
9520
9521 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
9522 (_FP_MUL_MEAT_D): Ditto.
9523 (_FP_DIV_MEAT_S): Ditto.
9524 (_FP_DIV_MEAT_D): Ditto.
9525
f92518d7
RS
95262008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
9527
9528 * Makefile.in: Add support for __sync_* libgcc functions.
9529
d0aede14
L
95302008-07-03 H.J. Lu <hongjiu.lu@intel.com>
9531
9532 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
9533
c174f11c
L
95342008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9535
9536 PR boostrap/36702
9537 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
9538 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
9539
9540 * config/i386/64/t-fprules-softfp: Moved to ...
9541 * config/i386/64/t-softfp-compat: This. New.
9542
5f464fa2
UB
95432008-07-02 Uros Bizjak <ubizjak@gmail.com>
9544
9545 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
9546 Initialize f with 0.0.
9547
ff473280
L
95482008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9549
9550 PR target/36669
9551 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
9552
9553 * config/i386/64/_divtc3-compat.c: New.
9554 * config/i386/64/_multc3-compat.c: Likewise.
9555 * config/i386/64/_powitf2-compat.c: Likewise.
9556 * config/i386/64/eqtf2.c: Likewise.
9557 * config/i386/64/getf2.c: Likewise.
9558 * config/i386/64/letf2.c: Likewise.
9559 * config/i386/64/t-fprules-softfp: Likewise.
9560
95612008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9562
9563 * config.host: Add i386/${host_address}/t-fprules-softfp to
9564 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
dfb3b0e3 9565 i[34567]86-*-linux*, x86_64-*-linux*.
ff473280
L
9566
9567 * configure.ac: Set host_address to 64 or 32 for x86.
9568 * configure: Regenerated.
9569
9570 * Makefile.in (config.status): Also depend on
9571 $(srcdir)/config.host.
9572
9573 * config/i386/32/t-fprules-softfp: New.
9574 * config/i386/32/tf-signs.c: Likewise.
9575
9576 * config/i386/64/sfp-machine.h: New. Moved from gcc.
9577
95782008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9579 Uros Bizjak <ubizjak@gmail.com>
9580
9581 * config/i386/32/sfp-machine.h: New.
9582
30551d99
NF
95832008-06-26 Nathan Froyd <froydnj@codesourcery.com>
9584
9585 * config/rs6000/t-ppccomm: Remove rules that conflict with
9586 auto-generated rules.
9587
18c04407
RW
95882008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9589
9590 * configure.ac: sinclude override.m4.
9591 * configure: Regenerate.
9592
10fbe77a
BRF
95932008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
9594
9595 * configure: Regenerate.
9596
bc6d4c3f
JM
95972008-06-10 Joseph Myers <joseph@codesourcery.com>
9598
9599 * Makefile.in (DECNUMINC): Remove
9600 -I$(MULTIBUILDTOP)../../libdecnumber.
9601 * gstdint.h: New.
9602
cd985f66
JM
96032008-06-07 Joseph Myers <joseph@codesourcery.com>
9604
9605 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
9606 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
9607 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
9608 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
9609 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
9610 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
9611 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
9612 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
9613 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
9614 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
9615 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
9616 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
9617 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
9618 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
9619
93fea8d3
AL
96202008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
9621
9622 * config.host (sh2[lbe]*-*-linux*): Allow target.
9623
18724e30
NF
96242008-04-30 Nathan Froyd <froydnj@codesourcery.com>
9625
9626 * config/rs6000/t-ppccomm: Add build rules for new files.
9627 (LIB2ADD_ST): New variable.
9628
47583040
AH
96292008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
9630
9631 PR target/34210
9632 PR target/35508
9633 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
9634 * config/t-avr: New file. Build 16bit libgcc functions.
9635
cf8e67fe
JJ
96362008-03-02 Jakub Jelinek <jakub@redhat.com>
9637
9638 PR target/35401
9639 * config/t-slibgcc-darwin: Make install-leaf dependent on
9640 install-darwin-libgcc-stubs instead of install.
9641
8d8da227
JM
96422008-01-25 Joseph Myers <joseph@codesourcery.com>
9643
9644 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
9645 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
9646 sh-*-rtemscoff*): Remove cases.
9647
edbf8b16
RS
96482007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
9649
9650 * Makefile.in (all): Use install-leaf rather than install.
9651 (install): Split most of the rule into...
9652 (install-leaf): ...this new one.
9653
89deeaff
EK
96542007-12-19 Etsushi Kato <ek.kato@gmail.com>
9655 Paolo Bonzini <bonzini@gnu.org>
9656
9657 PR target/30572
5f464fa2
UB
9658 * Makefile.in: Use @shlib_slibdir@ substitution to get
9659 correct install name on darwin.
89deeaff 9660 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
dfb3b0e3 9661
4081d704
HPN
96622007-12-15 Hans-Peter Nilsson <hp@axis.com>
9663
9664 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
9665 cris-*-elf and cris-*-none.
9666 (crisv32-*-linux*): Similar, as cris-*-linux*.
9667
f43e89a3
RIL
96682007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
9669
9670 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
9671
b4e9c2c6
L
96722007-10-27 H.J. Lu <hongjiu.lu@intel.com>
9673
9674 PR regression/33926
9675 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
9676 * configure: Regenerated.
9677
b2a00c89
L
96782007-09-27 H.J. Lu <hongjiu.lu@intel.com>
9679
9680 * Makefile.in (dfp-filenames): Replace decimal_globals,
9681 decimal_data, binarydecimal and convert_data with
9682 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
9683 and bid_convert_data, respectively.
9684
8d2a9e0e
CF
96852007-09-17 Chao-ying Fu <fu@mips.com>
9686 Nigel Stephens <nigel@mips.com>
9687
9688 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
9689 * Makefile.in (fixed_point): Define.
9690 Check if fixed_point is yes to build support functions.
9691 * configure.ac: Check for fixed_point support.
9692 * configure: Regenerated.
9693 * gen-fixed.sh: New file to generate lists of fixed-point labels,
9694 funcs, modes, from, to.
9695
2b53935d
JJ
96962007-09-11 Janis Johnson <janis187@us.ibm.com
9697
9698 * Makefile.in (dfp-filenames): Add bid128_noncomp.
9699
2533577f
JJ
97002007-09-10 Janis Johnson <janis187@us.ibm.com>
9701
9702 * Makefile.in (dfp-filenames): Remove decUtility, add
9703 decDouble, decPacked, decQuad, decSingle.
9704
3ae3dbd6
HK
97052007-08-27 Hans Kester <hans.kester@ellips.nl>
9706
9707 * config.host : Add x86_64-elf target.
9708
22867d02
L
97092007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9710
9711 * configure.ac (set_have_cc_tls): Add a missing =.
9712 * configure: Regenerated.
9713
6f461e76
L
97142007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9715
9716 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
9717 and x86_64-*-linux*.
9718
9719 * config/t-tls: New file.
9720
dfb3b0e3 9721 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6f461e76
L
9722
9723 * configure.ac: Include ../config/enable.m4 and
9724 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
9725 supports TLS and substitute set_have_cc_tls.
9726 * configure: Regenerated.
9727
200359e8
L
97282007-07-04 H.J. Lu <hongjiu.lu@intel.com>
9729
9730 * Makefile.in: Use libbid for DFP when BID is enabled.
9731
76f5e200
DS
97322007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
9733
9734 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
dfb3b0e3 9735 extra_parts. Add config/i386/t-cygming to tmake_file.
76f5e200
DS
9736 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
9737
9bd196f0 97382007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
200359e8 9739 Danny Smith <dannysmith@users.sourceforge.net>
9bd196f0
ZM
9740
9741 PR target/29498
9742 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
9743 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
9744 * config/i386/t-crtfm: Compile crtfastmath.o with
9745 -minline-all-stringops.
9746
1910440e
RS
97472007-05-10 Richard Sandiford <richard@codesourcery.com>
9748
9749 * config.host (sparc-wrs-vxworks): New target.
9750
7d33c31d
KH
97512007-04-14 Kazu Hirata <kazu@codesourcery.com>
9752
9753 * config.host: Recognize fido.
9754
96fccd0d
JJ
97552007-04-04 Janis Johnson <janis187@us.ibm.com>
9756
9757 * configure: Check host, not target, for decimal float support.
9758
577565f9
UB
97592007-04-03 Uros Bizjak <ubizjak@gmail.com>
9760
9761 * config/i386/t-crtpc: New file.
9762 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5f464fa2 9763 (x86_64-*-linux*): Ditto.
577565f9 9764
ccf8e764
RH
97652007-02-30 Kai Tietz <kai.tietz@onevision.com>
9766
9767 * config.host (x86_64-*-mingw*): New target.
9768
79b87c74
MM
97692007-03-23 Michael Meissner <michael.meissner@amd.com>
9770 H.J. Lu <hongjiu.lu@intel.com>
9771
9772 * Makefile.in (enable_decimal_float): New.
9773 (DECNUMINC): Add
9774 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
9775 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
9776 (decbits-filenames): This.
9777 (decbits-objects): New.
9778 (libgcc-objects): Add $(decbits-objects).
9779
9780 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
9781 Substitute enable_decimal_float.
9782 * configure: Regenerated.
9783
8fce4e31
HPN
97842007-03-19 Hans-Peter Nilsson <hp@axis.com>
9785
9786 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
9787
e8bb4597
BM
97882007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
9789
9790 * Makefile.in (install-info): New dummy target.
9791
344189f9
BS
97922007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
9793
9794 * config.host (bfin*-linux-uclibc*): Set extra_parts.
9795
ac84c172
BM
97962007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
9797
9798 * Makefile.in: Add install-html and install-pdf dummy
9799 targets.
9800
cd5c2357
RS
98012007-02-05 Roger Sayle <roger@eyesopen.com>
9802 Daniel Jacobowitz <dan@codesourcery.com>
9803
9804 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
9805 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
9806 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
9807
d9a66f98
JJ
98082007-01-29 Janis Johnson <janis187@us.ibm.com>
9809
9810 * Makefile.in (dec-filenames): Add decExcept.
9811
9891ec5f
DJ
98122007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
9813
9814 PR bootstrap/30469
9815 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
9816 -fprofile-use.
9817
d6efbf5a
DJ
98182007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
9819
9820 * configure.ac: Add --enable-version-specific-runtime-libs.
9821 Correct $slibdir default.
9822 * configure: Regenerated.
9823
17caeff2
JM
98242007-01-23 Joseph Myers <joseph@codesourcery.com>
9825
9826 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
9827
5ea41e3a
AP
98282007-01-21 Andrew Pinski <pinskia@gmail.com>
9829
9830 PR target/30519
9831 * config.host (alpha*-*-linux*): Set extra_parts.
9832
26900826
KK
98332007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
9834
9835 * config/sh/t-linux: New.
9836 * config.host (sh*-*-linux*): Set tmake_file.
9837
97af925b
DJ
98382007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
9839
9840 * Makefile.in (install): Handle multilibs.
9841
b0088af7
BM
98422007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
9843
9844 * Makefile.in: Added .PHONY entry for documentation targets.
9845
e0a9456a
BM
98462007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
9847
9848 * Makefile.in: Add empty info, html, dvi, pdf targets.
9849
7fd453b4
MS
98502007-01-04 Mike Stump <mrs@apple.com>
9851
9852 * Makefile.in (MAKEINFO): Remove.
9853 (PERL): Likewise.
9854
14e8fc8b
PB
98552007-01-04 Paolo Bonzini <bonzini@gnu.org>
9856
9857 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
9858 * configure: Regenerate.
9859 * Makefile.in (host_subdir): Substitute it.
dfb3b0e3 9860 (gcc_objdir): Use it.
14e8fc8b 9861
1555beba
DJ
98622007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9863
9864 * config.host (ia64*-*-linux*): Set tmake_file.
9865
79e6eaeb
DJ
98662007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9867
9868 * Makefile.in (version): Define.
9869
fa958513
DJ
98702007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
9871 Paolo Bonzini <bonzini@gnu.org>
9872
9873 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
9874 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
9875 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
9876 config/sparc/t-crtfm, config/t-slibgcc-darwin,
9877 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
9878 shared-object.mk, siditi-object.mk, static-object.mk: New files.
9879 * configure: Generated.
818ab71a 9880\f
a5544970 9881Copyright (C) 2007-2019 Free Software Foundation, Inc.
818ab71a
JJ
9882
9883Copying and distribution of this file, with or without modification,
9884are permitted in any medium without royalty provided the copyright
9885notice and this notice are preserved.