]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
compiler: inline call expressions and function references
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
781d39f2
DE
12019-06-05 David Edelsohn <dje.gcc@gmail.com>
2
3 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
4 (CR2_REGNO): Rename to R_CR2.
5 (XER_REGNO): Rename to R_XER.
6 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
7 (VRSAVE_REGNO): Rename to R_VRSAVE.
8 (VSCR_REGNO): R_VSCR.
9
76aaa9cd
YS
102019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
11
12 * config.host (rx-*-linux*): Add new case.
13 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
14
8fc16d72
ST
152019-05-29 Sam Tebbs <sam.tebbs@arm.com>
16
17 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
18 function.
19 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
20 aarch64_post_frob_eh_handler_addr): Add check for b-key.
21 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
22 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
23 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
24 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
25 string.
26 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
27 string.
28 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
29
e54b1a92
RO
302019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
31
32 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
33 Remove Solaris 9 and 10 support.
34 (sparc_is_sighandler): Likewise.
35
abbb8307
JDA
362019-05-26 John David Anglin <danglin@gcc.gnu.org>
37
38 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
39
2581344d
L
402019-05-17 H.J. Lu <hongjiu.lu@intel.com>
41
42 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
43 4_FP_W_TYPEs are used for IEEE quad precision.
44 * soft-fp/extendhftf2.c: Likewise.
45 * soft-fp/extendsftf2.c: Likewise.
46 * soft-fp/extendxftf2.c: Likewise.
47 * soft-fp/trunctfdf2.c: Likewise.
48 * soft-fp/trunctfhf2.c: Likewise.
49 * soft-fp/trunctfsf2.c: Likewise.
50 * soft-fp/trunctfxf2.c: Likewise.
51 * config/rs6000/ibm-ldouble.c: Likewise.
52
ccd1242e
RO
532019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
54
55 * config.host: Simplify various *-*-solaris2.1[0-9]* to
56 *-*-solaris2*.
57 * configure.ac: Likewise.
58 * configure: Regenerate.
59
60 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
61 Solaris 10 and Solaris 11 < snv_125 handling.
62
ef5eb79d
IS
632019-05-12 Iain Sandoe <iain@sandoe.co.uk>
64
65 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
66
4f0e90fa
HL
672019-05-07 Hongtao Liu <hongtao.liu@intel.com>
68
69 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
70 * config/i386/cpuinfo.h (enum processor_features): Add
71 FEATURE_AVX512BF16.
72
48528842
RR
732019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
74 Bernd Edlinger <bernd.edlinger@hotmail.de>
75 Jakub Jelinek <jakub@redhat.com>
76
77 PR target/89093
78 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
79 * config/arm/unwind-arm.c: Likewise.
80 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
81 attribute for ARM.
82
887e182f
MC
832019-04-15 Monk Chiang <sh.chiang04@gmail.com>
84
85 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
86 (RT_SIGRETURN): Update.
87 (nds32_fallback_frame_state): Update.
88
a90b0cdd
MS
892019-02-21 Martin Sebor <msebor@redhat.com>
90
91 * libgcc2.h (__clear_cache): Correct signature.
92 * libgcc2.c (__clear_cache): Same.
93
1ed28eda
UB
942019-02-20 Uroš Bizjak <ubizjak@gmail.com>
95
96 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
97 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
98
fe95aee9
UB
992019-02-19 Uroš Bizjak <ubizjak@gmail.com>
100
101 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
102 regno instead of index to DWARF_ZERO_REG.
103
bf7988f1
EB
1042019-02-15 Eric Botcazou <ebotcazou@adacore.com>
105
106 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
107 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
108
ba2c1ca8
UB
1092019-01-31 Uroš Bizjak <ubizjak@gmail.com>
110
111 * config/alpha/t-linux: Add -mfp-rounding-mode=d
112 to HOST_LIBGCC2_CFLAGS.
113
6395ba73
L
1142019-01-23 Joseph Myers <joseph@codesourcery.com>
115
116 PR libgcc/88931
ba2c1ca8 117 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
6395ba73 118
756721ba
ML
1192019-01-18 Martin Liska <mliska@suse.cz>
120
121 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
122 to ...
123 (__gcov_indirect_call_profiler_v3): ... this.
124 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
125 (__gcov_indirect_call_profiler_v3): Likewise.
126 * Makefile.in: Bump function name.
127
d273c40a
ML
1282019-01-18 Martin Liska <mliska@suse.cz>
129
130 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
131 (gcov_version): Use in gcov_error.
132 (merge_one_data): Likewise.
133 (dump_one_gcov): Likewise.
134
be9d9fdb
ML
1352019-01-18 Martin Liska <mliska@suse.cz>
136
137 * libgcov-driver.c (gcov_version_string): New function.
138 (gcov_version): Convert version integer into string.
139
91d7b7fe
AS
1402019-01-17 Andrew Stubbs <ams@codesourcery.com>
141 Kwok Cheung Yeung <kcy@codesourcery.com>
142 Julian Brown <julian@codesourcery.com>
143 Tom de Vries <tom@codesourcery.com>
144
145 * config.host: Recognize amdgcn*-*-amdhsa.
146 * config/gcn/crt0.c: New file.
147 * config/gcn/lib2-divmod-hi.c: New file.
148 * config/gcn/lib2-divmod.c: New file.
149 * config/gcn/lib2-gcn.h: New file.
150 * config/gcn/sfp-machine.h: New file.
151 * config/gcn/t-amdgcn: New file.
152
67914693
SL
1532019-01-09 Sandra Loosemore <sandra@codesourcery.com>
154
155 PR other/16615
156
157 * config/c6x/libunwind.S: Mechanically replace "can not" with
158 "cannot".
159 * config/tilepro/atomic.h: Likewise.
160 * config/vxlib-tls.c: Likewise.
161 * generic-morestack-thread.c: Likewise.
162 * generic-morestack.c: Likewise.
163 * mkmap-symver.awk: Likewise.
164
a5544970
JJ
1652019-01-01 Jakub Jelinek <jakub@redhat.com>
166
167 Update copyright years.
168
da77eace
L
1692018-12-20 H.J. Lu <hongjiu.lu@intel.com>
170
171 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
172 to ignore -Waddress-of-packed-member.
173
72e3a529
TP
1742018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
175
176 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
177 parameter and corresponding code.
178 (ARM_FUNC_START): Likewise in both definitions.
179 Also update footer comment about condition that need to match with
180 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
181 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
182 defined. Weakly define it in this case.
183 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
184 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
185 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
186 comment to keep condition in sync with the one in
187 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
188
5d54c798
WX
1892018-12-18 Wei Xiao <wei3.xiao@intel.com>
190
191 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
192 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
193
5a2580b6
RV
1942018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
195
196 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
197 and .cfi_endproc directives for VxWorks targets.
198
c0c5112b
PK
1992018-12-05 Paul Koning <ni1d@arrl.net>
200
201 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
202
1ea7ea18
AM
2032018-11-27 Alan Modra <amodra@gmail.com>
204
205 * config/rs6000/morestack.S (__stack_split_initialize),
206 (__morestack_get_guard, __morestack_set_guard),
207 (__morestack_make_guard): Provide CFI covering these functions.
208 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
209
ff641ae1
XQ
2102018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
211
1ea7ea18 212 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
ff641ae1
XQ
213 (sc_pt_regs_lr): Update for kernel.
214 (sc_pt_regs_tls): Update for kernel.
215
28209372
XQ
2162018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
217
218 * config/csky/linux-unwind.h: Fix coding style.
219
b2a71af6
XQ
2202018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
221
222 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
1ea7ea18 223 (csky_fallback_frame_state): Modify the check of the
b2a71af6
XQ
224 instructions to adapt to changes in the kernel
225
d929e137
SH
2262018-11-09 Stafford Horne <shorne@gmail.com>
227 Richard Henderson <rth@twiddle.net>
228
229 * config.host: Add OpenRISC support.
230 * config/or1k/*: New.
231
222cfefa
KC
2322018-11-08 Kito Cheng <kito@andestech.com>
233
234 * soft-fp/adddf3.c: Update from glibc.
235 * soft-fp/addsf3.c: Likewise.
236 * soft-fp/addtf3.c: Likewise.
237 * soft-fp/divdf3.c: Likewise.
238 * soft-fp/divsf3.c: Likewise.
239 * soft-fp/divtf3.c: Likewise.
240 * soft-fp/double.h: Likewise.
241 * soft-fp/eqdf2.c: Likewise.
242 * soft-fp/eqsf2.c: Likewise.
243 * soft-fp/eqtf2.c: Likewise.
244 * soft-fp/extenddftf2.c: Likewise.
245 * soft-fp/extended.h: Likewise.
246 * soft-fp/extendhftf2.c: Likewise.
247 * soft-fp/extendsfdf2.c: Likewise.
248 * soft-fp/extendsftf2.c: Likewise.
249 * soft-fp/extendxftf2.c: Likewise.
250 * soft-fp/fixdfdi.c: Likewise.
251 * soft-fp/fixdfsi.c: Likewise.
252 * soft-fp/fixdfti.c: Likewise.
253 * soft-fp/fixhfti.c: Likewise.
254 * soft-fp/fixsfdi.c: Likewise.
255 * soft-fp/fixsfsi.c: Likewise.
256 * soft-fp/fixsfti.c: Likewise.
257 * soft-fp/fixtfdi.c: Likewise.
258 * soft-fp/fixtfsi.c: Likewise.
259 * soft-fp/fixtfti.c: Likewise.
260 * soft-fp/fixunsdfdi.c: Likewise.
261 * soft-fp/fixunsdfsi.c: Likewise.
262 * soft-fp/fixunsdfti.c: Likewise.
263 * soft-fp/fixunshfti.c: Likewise.
264 * soft-fp/fixunssfdi.c: Likewise.
265 * soft-fp/fixunssfsi.c: Likewise.
266 * soft-fp/fixunssfti.c: Likewise.
267 * soft-fp/fixunstfdi.c: Likewise.
268 * soft-fp/fixunstfsi.c: Likewise.
269 * soft-fp/fixunstfti.c: Likewise.
270 * soft-fp/floatdidf.c: Likewise.
271 * soft-fp/floatdisf.c: Likewise.
272 * soft-fp/floatditf.c: Likewise.
273 * soft-fp/floatsidf.c: Likewise.
274 * soft-fp/floatsisf.c: Likewise.
275 * soft-fp/floatsitf.c: Likewise.
276 * soft-fp/floattidf.c: Likewise.
277 * soft-fp/floattihf.c: Likewise.
278 * soft-fp/floattisf.c: Likewise.
279 * soft-fp/floattitf.c: Likewise.
280 * soft-fp/floatundidf.c: Likewise.
281 * soft-fp/floatundisf.c: Likewise.
282 * soft-fp/floatunditf.c: Likewise.
283 * soft-fp/floatunsidf.c: Likewise.
284 * soft-fp/floatunsisf.c: Likewise.
285 * soft-fp/floatunsitf.c: Likewise.
286 * soft-fp/floatuntidf.c: Likewise.
287 * soft-fp/floatuntihf.c: Likewise.
288 * soft-fp/floatuntisf.c: Likewise.
289 * soft-fp/floatuntitf.c: Likewise.
290 * soft-fp/gedf2.c: Likewise.
291 * soft-fp/gesf2.c: Likewise.
292 * soft-fp/getf2.c: Likewise.
293 * soft-fp/half.h: Likewise.
294 * soft-fp/ledf2.c: Likewise.
295 * soft-fp/lesf2.c: Likewise.
296 * soft-fp/letf2.c: Likewise.
297 * soft-fp/muldf3.c: Likewise.
298 * soft-fp/mulsf3.c: Likewise.
299 * soft-fp/multf3.c: Likewise.
300 * soft-fp/negdf2.c: Likewise.
301 * soft-fp/negsf2.c: Likewise.
302 * soft-fp/negtf2.c: Likewise.
303 * soft-fp/op-1.h: Likewise.
304 * soft-fp/op-2.h: Likewise.
305 * soft-fp/op-4.h: Likewise.
306 * soft-fp/op-8.h: Likewise.
307 * soft-fp/op-common.h: Likewise.
308 * soft-fp/quad.h: Likewise.
309 * soft-fp/single.h: Likewise.
310 * soft-fp/soft-fp.h: Likewise.
311 * soft-fp/subdf3.c: Likewise.
312 * soft-fp/subsf3.c: Likewise.
313 * soft-fp/subtf3.c: Likewise.
314 * soft-fp/truncdfsf2.c: Likewise.
315 * soft-fp/trunctfdf2.c: Likewise.
316 * soft-fp/trunctfhf2.c: Likewise.
317 * soft-fp/trunctfsf2.c: Likewise.
318 * soft-fp/trunctfxf2.c: Likewise.
319 * soft-fp/unorddf2.c: Likewise.
320 * soft-fp/unordsf2.c: Likewise.
321 * soft-fp/unordtf2.c: Likewise.
322
2901f42f
VK
3232018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
324
325 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
326 * config/i386/cpuinfo.h (processor_types): Add znver2.
327
4310ca66
PK
3282018-11-01 Paul Koning <ni1d@arrl.net>
329
330 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
331 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
332
22e05272
JM
3332018-10-31 Joseph Myers <joseph@codesourcery.com>
334
335 PR bootstrap/82856
336 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
337 * configure: Regenerate.
338
8180cde0
CZ
3392018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
340
341 * config/arc/lib1funcs.S (_muldi3): New function.
342 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
343
be7b071e
RV
3442018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
345
346 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
347
3239d726
ML
3482018-10-25 Martin Liska <mliska@suse.cz>
349
350 PR other/87735
351 * libgcov-profiler.c: Revert.
352
19b55958
ML
3532018-10-24 Martin Liska <mliska@suse.cz>
354
355 * libgcov-profiler.c: Start from 1 in order to distinguish
356 functions which were seen and these that were not.
357
a9a2fddb
PK
3582018-10-18 Paul Koning <ni1d@arrl.net>
359
360 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
361 standard.
362 * divmod.c: Update references to __udivmodsi4.
363 * udivmod.c: Ditto.
364 * udivhi3.c: New file.
365 * udivmodhi4.c: New file.
366 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
367
fc8abc46
RV
3682018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
369
370 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
371
87f918e3
OH
3722018-10-12 Olivier Hainque <hainque@adacore.com>
373
374 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
375 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
376
be86efa7
PK
3772018-10-08 Paul Koning <ni1d@arrl.net>
378
379 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
380
3edbcdbe
ML
3812018-10-04 Martin Liska <mliska@suse.cz>
382
383 PR gcov-profile/84107
384 * libgcov-profiler.c (__gcov_indirect_call):
385 Change type to indirect_call_tuple.
386 (struct indirect_call_tuple): New struct.
387 (__gcov_indirect_call_topn_profiler): Change type.
388 (__gcov_indirect_call_profiler_v2): Use the new
389 variables.
390 * libgcov.h (struct indirect_call_tuple): New struct
391 definition.
392
af8096fc
UB
3932018-10-03 Uros Bizjak <ubizjak@gmail.com>
394
395 * libgcc2.c (isnan): Use __builtin_isnan.
396 (isfinite): Use __builtin_isfinite.
397 (isinf): Use __builtin_isinf.
398
0a76bba4
UB
3992018-09-26 Uros Bizjak <ubizjak@gmail.com>
400
401 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
402
5244089f
OH
4032018-09-21 Alexandre Oliva <oliva@adacore.com>
404
405 * config/vxcache.c: New file. Provide __clear_cache, based on
406 the cacheTextUpdate VxWorks service.
407 * config/t-vxworks (LIB2ADD): Add vxcache.c.
408 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
409 * config/t-vxwoks7: Likewise.
410
512cc015
ML
4112018-09-21 Martin Liska <mliska@suse.cz>
412
413 * libgcov-driver.c (crc32_unsigned): Remove.
414 (gcov_histogram_insert): Likewise.
415 (gcov_compute_histogram): Likewise.
416 (compute_summary): Simplify rapidly.
417 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
418 (merge_summary): Rapidly simplify.
419 (dump_one_gcov): Ignore gcov_summary.
420 (gcov_do_dump): Do not handle program summary, it's not
421 used.
422 * libgcov-util.c (tag_summary): Remove.
423 (read_gcda_finalize): Fix coding style.
424 (read_gcda_file): Initialize curr_object_summary.
425 (compute_summary): Remove.
426 (calculate_overlap): Remove settings of run_max.
427
36ff254b
MC
4282018-09-21 Monk Chiang <sh.chiang04@gmail.com>
429
430 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
431 ucontext_t type instead.
432 (nds32_fallback_frame_state): Remove struct _sigframe statement.
433
229a033d
KC
4342018-09-21 Kito Cheng <kito.cheng@gmail.com>
435
436 * config/nds32/t-nds32-glibc: New file.
437
53c6feb2
RO
4382018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
439
440 * configure.ac (solaris_ld_v2_maps): New test.
441 * configure: Regenerate.
442 * Makefile.in (solaris_ld_v2_maps): New variable.
443 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
444 if supported.
445
ebdb6f23
RE
4462018-08-23 Richard Earnshaw <rearnsha@arm.com>
447
448 PR target/86951
449 * config/arm/lib1funcs.asm (speculation_barrier): New function.
450 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
451 to build.
452
a49c064e
IS
4532018-08-22 Iain Sandoe <iain@sandoe.co.uk>
454
1ea7ea18 455 * config/unwind-dw2-fde-darwin.c
a49c064e
IS
456 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
457 * config/darwin10-unwind-find-enc-func.c: … to here.
458 * config/t-darwin: Build Darwin10 unwinder shim crt.
459 * libgcc/config.host: Add the Darwin10 unwinder shim.
460
9a5b8df7
RV
4612018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
462
463 * config.host: Add crtbegin.o and crtend.o for
464 powerpc-wrs-vxworks target.
465
4cd0bc3b
J
4662018-08-17 Jojo <jijie_rong@c-sky.com>
467 Huibin Wang <huibin_wang@c-sky.com>
468 Sandra Loosemore <sandra@codesourcery.com>
469 Chung-Lin Tang <cltang@codesourcery.com>
470
471 C-SKY port: libgcc
472
473 * config.host: Add C-SKY support.
474 * config/csky/*: New.
475
a4931745
CJW
4762018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
477
478 * config/nds32/t-nds32-isr: Rearrange object dependency.
479 * config/nds32/initfini.c: Add dwarf2 unwinding support.
480 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
481 and registers usage.
482 * config/nds32/isr-library/excp_isr.S: Ditto.
483 * config/nds32/isr-library/intr_isr.S: Ditto.
484 * config/nds32/isr-library/reset.S: Ditto.
485 * config/nds32/isr-library/restore_all.inc: Ditto.
486 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
487 * config/nds32/isr-library/restore_partial.inc: Ditto.
488 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
489 * config/nds32/isr-library/save_all.inc: Ditto.
490 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
491 * config/nds32/isr-library/save_partial.inc: Ditto.
492 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
493 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
494
2b1969f6
JDA
4952018-08-11 John David Anglin <danglin@gcc.gnu.org>
496
497 * config/pa/linux-atomic.c: Update comment.
498 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
499 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
500 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
501 __ATOMIC_RELAXED for atomic loads.
502 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
503 unordered store to release lock.
504 (__sync_lock_release_8): Likewise.
505 (SYNC_LOCK_RELEASE_2): Remove define.
af8096fc 506
89fff9cc
NP
5072018-08-02 Nicolas Pitre <nico@fluxnic.net>
508
509 PR libgcc/86512
510 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
511 exponent goes negative. Update my email address.
512 * config/arm/ieee754-sf.S: Likewise.
513
fd2e1dcd
ML
5142018-08-01 Martin Liska <mliska@suse.cz>
515
516 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
92a285c1 517 check that __gcov_indirect_call_callee is non-null.
fd2e1dcd 518
b7415975
CL
5192018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
520
521 * config/arm/ieee754-df.S: Fix comment for code working on
522 architectures >= 4.
523 * config/arm/ieee754-sf.S: Likewise.
524
b72e71a3
L
5252018-07-27 H.J. Lu <hongjiu.lu@intel.com>
526
527 PR libgcc/85334
528 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
529 Removed.
530
1c686aa4
JC
5312018-07-05 James Clarke <jrtc27@jrtc27.com>
532
533 * configure: Regenerated.
534
b61c9b99
RO
5352018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
536
537 * Makefile.in (install_leaf): Use enable_gcov instead of
538 enable_libgcov.
539
1765b023
RV
5402018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
541
542 * configure.ac: Add --disable-gcov option.
543 * configure: Regenerate.
544 * Makefile.in: Honour @enable_gcov@.
545
9b2e34ef
CL
5462018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
547
548 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
549 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
550 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
551 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
552 __ARM_ARCH__.
553 * config/arm/ieee754-sf.S: Likewise.
554 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
555
d1b0dd54
CL
5562018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
557
558 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
559 longer supported.
560 * config/arm/ieee754-sf.S: Likewise.
561
1f3fa525
TM
5622018-06-20 Than McIntosh <thanm@google.com>
563
564 PR libgcc/86213
565 * generic-morestack.c (allocate_segment): Move calls to getenv and
566 getpagesize to __morestack_load_mmap.
567 (__morestack_load_mmap) Initialize static_pagesize and
568 use_guard_page here so as to avoid clobbering SSE regs during a
569 __morestack call.
570
6a8886e4
MM
5712018-06-18 Michael Meissner <meissner@linux.ibm.com>
572
573 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
574 support modules with -mno-gnu-attribute.
575 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
576
fb997097
OH
5772018-06-07 Olivier Hainque <hainque@adacore.com>
578
579 * config/t-vxworks (LIBGCC_INCLUDES): Add
580 -I$(MULTIBUILDTOP)../../gcc/include.
581 * config/t-vxworks7: Likewise. Reformat a bit to match
582 the t-vxworks layout.
583
a548a5a1
OM
5842018-06-07 Olga Makhotina <olga.makhotina@intel.com>
585
586 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
587
244aebfd
ML
5882018-06-07 Martin Liska <mliska@suse.cz>
589
590 * libgcov-driver.c: Rename cs_all to all and assign it from
92a285c1 591 all_prg.
244aebfd 592
6c086e8c
ML
5932018-06-07 Martin Liska <mliska@suse.cz>
594
92a285c1 595 PR bootstrap/86057
6c086e8c 596 * libgcov-driver-system.c (replace_filename_variables): Use
92a285c1 597 memcpy instead of mempcpy.
6c086e8c 598 (allocate_filename_struct): Do not allocate filename, allocate
92a285c1 599 prefix and set it.
6c086e8c 600 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
92a285c1 601 here and properly copy content into it.
6c086e8c 602 * libgcov-driver.c (struct gcov_filename): Remove max_length
92a285c1 603 field, change prefix from size_t into char *.
6c086e8c
ML
604 (compute_summary): Do not calculate longest filename.
605 (gcov_do_dump): Release memory of gf.filename after each file.
606 * libgcov-util.c (compute_summary): Use new signature of
92a285c1 607 compute_summary.
6c086e8c
ML
608 (calculate_overlap): Likewise.
609
97a53d1d
ML
6102018-06-05 Martin Liska <mliska@suse.cz>
611
612 PR gcov-profile/47618
613 * libgcov-driver-system.c (replace_filename_variables): New
92a285c1 614 function.
97a53d1d
ML
615 (gcov_exit_open_gcda_file): Use it.
616
7f3577f5
ML
6172018-06-05 Martin Liska <mliska@suse.cz>
618
619 * libgcov-driver.c (gcov_compute_histogram): Remove usage
620 of gcov_ctr_summary.
621 (compute_summary): Do it just for a single summary.
622 (merge_one_data): Likewise.
623 (merge_summary): Simplify as we read just single summary.
624 (dump_one_gcov): Pass proper argument.
625 * libgcov-util.c (compute_one_gcov): Simplify as we have just
626 single summary.
627 (gcov_info_count_all_cold): Likewise.
628 (calculate_overlap): Likewise.
629
cf3cd43d
CJW
6302018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
631 Monk Chiang <sh.chiang04@gmail.com>
632
633 * config.host (nds32*-linux*): New.
634 * config/nds32/linux-atomic.c: New file.
635 * config/nds32/linux-unwind.h: New file.
636
8b8003ed
UB
6372018-05-31 Uros Bizjak <ubizjak@gmail.com>
638
639 PR target/85591
640 * config/i386/cpuinfo.c (get_amd_cpu): Return
641 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
642
bbdf026f
RV
6432018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
644
92a285c1 645 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
bbdf026f 646
0e8f29da
ML
6472018-05-29 Martin Liska <mliska@suse.cz>
648
92a285c1 649 PR gcov-profile/85759
0e8f29da 650 * libgcov-driver-system.c (gcov_error): Introduce usage of
92a285c1 651 GCOV_EXIT_AT_ERROR env. variable.
0e8f29da 652 * libgcov-driver.c (merge_one_data): Print error that we
92a285c1 653 overwrite a gcov file with a different timestamp.
0e8f29da 654
54fd1590
K
6552018-05-23 Kalamatee <kalamatee@gmail.com>
656
657 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
658 path to Lf$finfty.
659
09baee1a
KC
6602018-05-18 Kito Cheng <kito.cheng@gmail.com>
661 Monk Chiang <sh.chiang04@gmail.com>
662 Jim Wilson <jimw@sifive.com>
663
664 * config/riscv/save-restore.S: Add support for rv32e.
665
c3f808d3
KT
6662018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
667
668 * config/arm/libunwind.S: Update comment relating to armv5.
669
fcf4f831
JL
6702018-05-17 Jerome Lambourg <lambourg@adacore.com>
671
672 * config/arm/cmse.c (cmse_check_address_range): Replace
673 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
674
74b2bb19
OM
6752018-05-17 Olga Makhotina <olga.makhotina@intel.com>
676
677 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
678 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
679
50e461df
OM
6802018-05-08 Olga Makhotina <olga.makhotina@intel.com>
681
682 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
683 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
684
e5f1cdb1
AC
6852018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
686
687 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
688
8f479d7a
AT
6892018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
690 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
691
692 PR libgcc/84292
693 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
694 op_and_fetch to return the right result.
695
ae043291
AM
6962018-04-27 Alan Modra <amodra@gmail.com>
697
698 PR libgcc/85532
699 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
700 -fno-asynchronous-unwind-tables.
701
ba169b74
CJW
7022018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
703
704 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
705 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
706
ffc2fc06
L
7072018-04-24 H.J. Lu <hongjiu.lu@intel.com>
708
709 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
710 when including "config/i386/shadow-stack-unwind.h".
711
7b47ecf2
L
7122018-04-24 H.J. Lu <hongjiu.lu@intel.com>
713
714 * configure: Regenerated.
715
661eb8f9
MM
7162018-04-20 Michael Meissner <meissner@linux.ibm.com>
717
718 PR target/85456
719 * config/rs6000/_powikf2.c: New file. Add support for the
720 __builtin_powil function when long double is IEEE 128-bit floating
721 point.
722 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
723 __powikf2 support.
724 (__powikf2): Likewise.
725 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
726 (__powikf2_hw): Likewise.
727 (__powikf2): Likewise.
728 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
729 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
730 (_powikf2-hw.c): Likewise.
731
5707be3c
L
7322018-04-19 H.J. Lu <hongjiu.lu@intel.com>
733
734 PR libgcc/85334
735 * unwind-generic.h (_Unwind_Frames_Increment): New.
736 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
737 Likewise.
738 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
739 count with _Unwind_Frames_Increment.
740 (_Unwind_ForcedUnwind_Phase2): Likewise.
741
5f9ca0b8
L
7422018-04-19 H.J. Lu <hongjiu.lu@intel.com>
743
744 PR libgcc/85379
745 * config/i386/morestack.S (__stack_split_initialize): Add
746 _CET_ENDBR.
747
a0e1df88
JJ
7482018-04-19 Jakub Jelinek <jakub@redhat.com>
749
750 * configure: Regenerated.
751
001ddaa8
DM
7522018-04-18 David Malcolm <dmalcolm@redhat.com>
753
754 PR jit/85384
755 * configure: Regenerate.
756
a57f99ba
JJ
7572018-04-16 Jakub Jelinek <jakub@redhat.com>
758
759 PR target/84945
760 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
761 -Wdangling-else warnings. Mask shift counts to avoid
762 -Wshift-count-negative and -Wshift-count-overflow false positives.
763
4d47fe5a
RB
7642018-04-06 Ruslan Bukin <br@bsdpad.com>
765
766 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
767
059cc8ac
L
7682018-03-29 H.J. Lu <hongjiu.lu@intel.com>
769
770 PR target/85100
771 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
772 (XSTATE_FP): Likewise.
773 (XSTATE_SSE): Likewise.
774 (XSTATE_YMM): Likewise.
775 (XSTATE_OPMASK): Likewise.
776 (XSTATE_ZMM): Likewise.
777 (XSTATE_HI_ZMM): Likewise.
778 (XCR_AVX_ENABLED_MASK): Likewise.
779 (XCR_AVX512F_ENABLED_MASK): Likewise.
780 (get_available_features): Enable AVX and AVX512 features only
781 if their states are supported by OSXSAVE.
782
f2620385
IT
7832018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
784
785 PR target/85025
786 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
787 Fix a typo, tmp => 255.
788
ae6dca8c
JJ
7892018-03-20 Jakub Jelinek <jakub@redhat.com>
790
791 PR target/84945
792 * config/i386/cpuinfo.h (__cpu_features2): Declare.
793 * config/i386/cpuinfo.c (__cpu_features2): New variable for
794 ifndef SHARED only.
795 (set_feature): Define.
796 (get_available_features): Use set_feature macro. Set __cpu_features2
797 to the second word of features ifndef SHARED.
798
c36b04c1
JK
7992018-03-15 Julia Koval <julia.koval@intel.com>
800
801 * config/i386/cpuinfo.c (get_available_features): Add
802 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
803 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
804 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
805 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
806 FEATURE_AVX512BITALG.
807
79ab5364
JK
8082018-03-14 Julia Koval <julia.koval@intel.com>
809
810 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
811 icelake client and icelake server.
812
66a00b11
JDA
8132018-03-06 John David Anglin <danglin@gcc.gnu.org>
814
815 * config/pa/fptr.c (_dl_read_access_allowed): New.
816 (__canonicalize_funcptr_for_compare): Use it.
af8096fc 817
ce579a4f
JJ
8182018-02-28 Jakub Jelinek <jakub@redhat.com>
819
820 PR debug/83917
821 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
822 $asm_hidden_op if visibility ("hidden") attribute works.
823 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
824 * config/i386/i386-asm.h: Don't include auto-host.h.
825 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
826 PACKAGE_URL): Don't undefine.
827 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
828 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
829 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
830 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
831 definition instead of hardcoded .hidden.
832 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
833 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
834 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
835 (USE_GAS_CFI_DIRECTIVES): Don't define.
836 * configure: Regenerated.
837 * config.in: Likewise.
838
e5868319
JJ
8392018-02-26 Jakub Jelinek <jakub@redhat.com>
840
841 PR debug/83917
842 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
843 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
844 inclusion of auto-target.h and auto-host.h.
845 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
846 __GCC_HAVE_DWARF2_CFI_ASM.
847 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
848 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
849 cfi_pop): Define.
850 * config/i386/cygwin.S: Don't include auto-host.h here, just
851 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
852 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
853 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
854 * config/i386/resms64fx.h: Add cfi_* directives.
855 * config/i386/resms64x.h: Likewise.
856
faef260e
MF
8572018-02-20 Max Filippov <jcmvbkbc@gmail.com>
858
859 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
860 .literal_position directive.
861 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
862
14e335ed
IT
8632018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
864
865 PR target/84148
866 * configure: Regenerate.
867
95df0433
IT
8682018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
869
870 PR target/84239
871 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
872 Include cetintrin.h not x86intrin.h.
873
f8de876d
IT
8742018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
875
876 PR target/84239
95df0433 877 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
f8de876d
IT
878 Use new _get_ssp and _inc_ssp intrinsics.
879
02da1e9c
JK
8802018-02-02 Julia Koval <julia.koval@intel.com>
881
882 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
883
048c6a9a
CZ
8842018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
885
886 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
887 option.
888 (__divsi3): Use RF16 safe registers.
889 (__modsi3): Likewise.
890
0889f168
MF
8912018-01-23 Max Filippov <jcmvbkbc@gmail.com>
892
893 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
894 (__divsf3): Make NaN return value quiet.
895 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
896 (__divdf3): Make NaN return value quiet.
897
bc8b0d04
SP
8982018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
899
900 * config/rl78/anddi3.S: New assembly file.
901 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
902
99cc06ea
SP
9032018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
904
905 * config/rl78/umindi3.S: New assembly file.
906 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
907
6e9007a0
SP
9082018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
909
910 * config/rl78/smindi3.S: New assembly file.
911 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
912
d975e494 9132018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 914
d975e494
SP
915 * config/rl78/smaxdi3.S: New assembly file.
916 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
917
6a18c146 9182018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 919
5dd16013
SP
920 * config/rl78/umaxdi3.S: New assembly file.
921 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
af8096fc 922
07baf4a5
JDA
9232018-01-21 John David Anglin <danglin@gcc.gnu.org>
924
925 PR lto/83452
926 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
927 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
af8096fc 928
dbc3af4f
RS
9292018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
930
931 * config/aarch64/value-unwind.h (aarch64_vg): New function.
932 (DWARF_LAZY_REGISTER_VALUE): Define.
933 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
934 to provide a fallback register value.
935
68df9882
MM
9362018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
937
938 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
939 __ibm128, instead of trying to use long double.
940 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
941 accomidate -mabi=ieeelongdouble multilibs.
942 (CVT_IBM128_TO_FLOAT128): Likewise.
943 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
944 the appropriate IBM extended double type.
945 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
946 (__gcc_qsub): Likewise.
947 (__gcc_qmul): Likewise.
948 (__gcc_qdiv): Likewise.
949 (pack_ldouble): Likewise.
950 (__gcc_qneg): Likewise.
951 (__gcc_qeq): Likewise.
952 (__gcc_qne): Likewise.
953 (__gcc_qge): Likewise.
954 (__gcc_qle): Likewise.
955 (__gcc_stoq): Likewise.
956 (__gcc_dtoq): Likewise.
957 (__gcc_itoq): Likewise.
958 (__gcc_utoq): Likewise.
959 (__gcc_qunord): Likewise.
960 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
961 quad-float128.h for the definitions.
962 (COPYSIGN): Use the f128 version instead of the q version.
963 (INFINITY): Likewise.
964 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
965 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
966 quad-float128.h for the definitions.
967 (COPYSIGN): Use the f128 version instead of the q version.
968 (INFINITY): Likewise.
969 (FABS): Likewise.
970 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
971 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
972 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
973
64b371b1
SH
9742018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
975
976 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
977 configuration.
978
85ec4feb
JJ
9792018-01-03 Jakub Jelinek <jakub@redhat.com>
980
981 Update copyright years.
982
9832017-12-12 Kito Cheng <kito.cheng@gmail.com>
b8d7e076
KC
984
985 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
986 * config/riscv/multi3.c: New file.
987 * config/riscv/multi3.S: Remove.
988
3a4c600f
JW
9892017-12-08 Jim Wilson <jimw@sifive.com>
990
991 * config/riscv/div.S: Use FUNC_* macros.
992 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
993 * config/riscv/save-restore.S: Likewise.
994 * config/riscv/riscv-asm.h: New.
995
75ad35b5
MM
9962017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
997
6ae3512c
MM
998 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
999 * config/rs6000/_divkc3.c (__divkc3): Likewise.
1000
75ad35b5
MM
1001 PR libgcc/83112
1002 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
1003 correct type for all ifunc resolvers to silence -Wattribute-alias
1004 warnings. Eliminate the forward declaration of the resolver
1005 functions which is no longer needed.
1006 (__subkf3_resolve): Likewise.
1007 (__mulkf3_resolve): Likewise.
1008 (__divkf3_resolve): Likewise.
1009 (__negkf2_resolve): Likewise.
1010 (__eqkf2_resolve): Likewise.
1011 (__nekf2_resolve): Likewise.
1012 (__gekf2_resolve): Likewise.
1013 (__gtkf2_resolve): Likewise.
1014 (__lekf2_resolve): Likewise.
1015 (__ltkf2_resolve): Likewise.
1016 (__unordkf2_resolve): Likewise.
1017 (__extendsfkf2_resolve): Likewise.
1018 (__extenddfkf2_resolve): Likewise.
1019 (__trunckfsf2_resolve): Likewise.
1020 (__trunckfdf2_resolve): Likewise.
1021 (__fixkfsi_resolve): Likewise.
1022 (__fixkfdi_resolve): Likewise.
1023 (__fixunskfsi_resolve): Likewise.
1024 (__fixunskfdi_resolve): Likewise.
1025 (__floatsikf_resolve): Likewise.
1026 (__floatdikf_resolve): Likewise.
1027 (__floatunsikf_resolve): Likewise.
1028 (__floatundikf_resolve): Likewise.
1029 (__extendkftf2_resolve): Likewise.
1030 (__trunctfkf2_resolve): Likewise.
1031
1032 PR libgcc/83103
1033 * config/rs6000/quad-float128.h (TF): Don't define if long double
1034 is IEEE 128-bit floating point.
1035 (TCtype): Define as either TCmode or KCmode, depending on whether
1036 long double is IEEE 128-bit floating point.
1037 (__mulkc3_sw): Add declarations for software/hardware versions of
1038 complex multiply/divide.
1039 (__divkc3_sw): Likewise.
1040 (__mulkc3_hw): Likewise.
1041 (__divkc3_hw): Likewise.
1042 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
1043 handlers to switch between using software emulation and hardware
1044 float128 instructions, build the complex multiply/divide functions
1045 for both software and hardware support.
1046 * config/rs6000/_divkc3.c (_divkc3): Likewise.
1047 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
1048 (__divkc3_resolve): Likewise.
1049 (__mulkc3): Likewise.
1050 (__divkc3): Likewise.
1051 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
1052 (fp128_hw_src): Likewise.
1053 (fp128_hw_static_obj): Likewise.
1054 (fp128_hw_shared_obj): Likewise.
1055 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
1056 _mulkc3.c and _divkc3.c, changing the function name.
1057 (_divkc3-hw.c): Likewise.
1058 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
1059 and _divkc3-hw.c.
1060
c234d831
UB
10612017-11-26 Julia Koval <julia.koval@intel.com>
1062
1063 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
1064 * config/i386/cpuinfo.h (processor_subtypes): Add
1065 INTEL_COREI7_CANNONLAKE.
1066
1ebafce0
IT
10672017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1068
1069 PR bootstrap/83015
1070 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
1071 parameter.
1072 * config/xtensa/unwind-dw2-xtensa.c: Likewise
1073 * config/ia64/unwind-ia64.c: Add frames parameter.
1074 * unwind-sjlj.c: Likewise.
1075
6a10fff4
IT
10762017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1077
1078 * config/i386/linux-unwind.h: Include
1079 config/i386/shadow-stack-unwind.h.
1080 * config/i386/shadow-stack-unwind.h: New file.
1081 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
1082 pass it to _Unwind_Frames_Extra.
1083 * unwind-generic.h (_Unwind_Frames_Extra): New.
1084 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
1085 parameter. Add local variable frames to count number of frames.
1086 (_Unwind_ForcedUnwind_Phase2): Likewise.
1087 (_Unwind_RaiseException): Add local variable frames to count
1088 number of frames, pass it to _Unwind_RaiseException_Phase2 and
1089 uw_install_context.
1090 (_Unwind_ForcedUnwind): Likewise.
1091 (_Unwind_Resume): Likewise.
1092 (_Unwind_Resume_or_Rethrow): Likewise.
1093
1ecae1fc
IT
10942017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1095
1096 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
1097 (CET_FLAGS): New.
1098 * config/i386/morestack.S: Include <cet.h>.
1099 (__morestack_large_model): Add _CET_ENDBR at function entrance.
1100 * config/i386/resms64.h: Include <cet.h>.
1101 * config/i386/resms64f.h: Likewise.
1102 * config/i386/resms64fx.h: Likewise.
1103 * config/i386/resms64x.h: Likewise.
1104 * config/i386/savms64.h: Likewise.
1105 * config/i386/savms64f.h: Likewise.
1106 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
1107 (CRTSTUFF_T_CFLAGS): Likewise.
1108 * configure.ac: Include ../config/cet.m4.
1109 Set and substitute CET_FLAGS.
1110 * configure: Regenerated.
1111
f021f1d3
RO
11122017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1113
1114 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
1115 renaming.
1116 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
1117 * configure.ac (libgcc_cv_solaris_crts): Likewise.
1118 * configure: Regenerate.
1119
65f480c7
TV
11202017-11-07 Tom de Vries <tom@codesourcery.com>
1121
1122 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
1123 after "do {} while (0)".
1124
2a321acb
TV
11252017-11-07 Tom de Vries <tom@codesourcery.com>
1126
1127 PR other/82784
1128 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
1129 semicolon after "do {} while (0)".
1130 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1131 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1132 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1133 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1134
59fcf6c3
AT
11352017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
1136
1137 PR libgcc/82635
1138 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
1139 sysctl to determine whether we're in a trampoline.
1140 Keep the pattern matching method for systems without
1141 KERN_PROC_SIGTRAMP sysctl.
1142
b0c7ddf8
CM
11432017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
1144 Vineet Gupta <vgupta@synopsys.com>
1145
1146 * config.host (arc*-*-linux*): Set md_unwind_header variable.
1147 * config/arc/linux-unwind-reg.def: New file.
1148 * config/arc/linux-unwind-reg.h: Likewise.
1149
5feee954
SP
11502017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
1151
1152 * config/rl78/subdi3.S: New assembly file.
1153 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
1154
a0bf6cf7
SP
11552017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
1156
1157 * config/rl78/adddi3.S: New assembly file.
1158 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
1159
e7176f75
JJ
11602017-10-13 Jakub Jelinek <jakub@redhat.com>
1161
1162 PR target/82274
1163 * libgcc2.c (__mulvDI3): If both operands have
1164 the same highpart of -1 and the topmost bit of lowpart is 0,
1165 multiplication overflows even if both lowparts are 0.
1166
db6601d2
JB
11672017-09-28 James Bowman <james.bowman@ftdichip.com>
1168
1169 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
1170
938b6f1e
JM
11712017-09-26 Joseph Myers <joseph@codesourcery.com>
1172
1173 * config/microblaze/crti.S, config/microblaze/crtn.S,
1174 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
1175 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
1176 config/microblaze/mulsi3.S,
1177 config/microblaze/stack_overflow_exit.S,
1178 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
1179 config/pa/milli64.S: Add .note.GNU-stack section.
1180
89762a83
DS
11812017-09-23 Daniel Santos <daniel.santos@pobox.com>
1182
1183 * configure.ac: Add Check for HAVE_AS_AVX.
1184 * config.in: Regenerate.
1185 * configure: Likewise.
1186 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
1187 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
1188 Correct out-of-date comments.
1189
cace2309
SP
11902017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
1191
1192 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
1193 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
1194
3cb626e4
DS
11952017-09-17 Daniel Santos <daniel.santos@pobox.com>
1196
cace2309 1197 * config/i386/i386-asm.h (PASTE2): New macro.
3cb626e4
DS
1198 (ASMNAME): Modify to use PASTE2.
1199 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
1200 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
cace2309 1201 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
3cb626e4 1202 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
cace2309
SP
1203 * config/i386/resms64f.S: Likewise.
1204 * config/i386/resms64fx.S: Likewise.
1205 * config/i386/resms64x.S: Likewise.
1206 * config/i386/savms64.S: Likewise.
1207 * config/i386/savms64f.S: Likewise.
1208 * config/i386/avx_resms64.S: New file that only defines a macro and
3cb626e4 1209 includes it's corresponding header file.
cace2309
SP
1210 * config/i386/avx_resms64f.S: Likewise.
1211 * config/i386/avx_resms64fx.S: Likewise.
1212 * config/i386/avx_resms64x.S: Likewise.
1213 * config/i386/avx_savms64.S: Likewise.
1214 * config/i386/avx_savms64f.S: Likewise.
1215 * config/i386/sse_resms64.S: Likewise.
1216 * config/i386/sse_resms64f.S: Likewise.
1217 * config/i386/sse_resms64fx.S: Likewise.
1218 * config/i386/sse_resms64x.S: Likewise.
1219 * config/i386/sse_savms64.S: Likewise.
1220 * config/i386/sse_savms64f.S: Likewise.
1221 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3cb626e4 1222
2f19c491 12232017-09-01 Olivier Hainque <hainque@adacore.com>
2f19c491
OH
1224 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
1225
611e7036
OH
12262017-08-31 Olivier Hainque <hainque@adacore.com>
1227
1228 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
1229 match as powerpc-wrs-vxworks*.
1230
c8f34527
JY
12312017-08-07 Jonathan Yong <10walls@gmail.com>
1232
1233 * config.host (*-cygwin): Include file from mingw
1234 config/i386/enable-execute-stack-mingw32.c
1235
0b458d2b 12362017-08-01 Jerome Lambourg <lambourg@adacore.com>
92a285c1
ML
1237 Doug Rupp <rupp@adacore.com>
1238 Olivier Hainque <hainque@adacore.com>
0b458d2b
JL
1239
1240 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
1241 as well as arm-wrs-vxworks.
1242 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
1243 LIB2ADDEH.
1244 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
1245 __exidx_start and __exidx_end for downloadable modules.
1246
4df612fa
OH
12472017-08-01 Olivier Hainque <hainque@adacore.com>
1248
1249 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
1250 * config/t-vxworks7: Likewise.
1251
5560e8c0
OH
12522017-08-01 Olivier Hainque <hainque@adacore.com>
1253
1254 * config/t-vxworks: Instead of redefining LIB2ADD,
1255 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
1256
16bab95a
SH
12572017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1258
1259 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
1260
9cbc07cc
DS
12612017-07-24 Daniel Santos <daniel.santos@pobox.com>
1262
1263 PR testsuite/80759
1264 * config.host: include i386/t-msabi for darwin and solaris.
1265 * config/i386/i386-asm.h
1266 (ELFFN): Rename to FN_TYPE.
1267 (FN_SIZE): New macro.
1268 (FN_HIDDEN): Likewise.
1269 (ASMNAME): Likewise.
1270 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
1271 .globl.
1272 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
1273 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
1274 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
1275 .macro.
1276 * config/i386/resms64f.S: Likewise.
1277 * config/i386/resms64fx.S: Likewise.
1278 * config/i386/resms64x.S: Likewise.
1279 * config/i386/savms64.S: Likewise.
1280 * config/i386/savms64f.S: Likewise.
1281
de742204
JM
12822017-07-19 John Marino <gnugcc@marino.st>
1283
1284 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
1285
3787ee47
MM
12862017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
1287
1288 PR target/81193
1289 * configure.ac (PowerPC float128 hardware support): Test whether
1290 we can use __builtin_cpu_supports before enabling the ifunc
1291 handler.
1292 * configure: Regenerate.
1293
b1938888
VG
12942017-07-10 Vineet Gupta <vgupta@synopsys.com>
1295
1296 * config.host: Remove uclibc from arc target spec.
1297
bec75e53
KW
12982017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
1299
1300 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
1301
d4391a62
PB
13022017-07-07 Peter Bergner <bergner@vnet.ibm.com>
1303
1304 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
1305 (have_ieee_hw_p): Delete function.
1306 (SW_OR_HW) Use __builtin_cpu_supports().
1307
9296dd9b
TP
13082017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
1309
1310 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
1311
b85a969e
OH
13122017-07-03 Olivier Hainque <hainque@adacore.com>
1313
d4391a62 1314 * config/t-vxworks7: New file, really.
b85a969e 1315
883312dc
JM
13162017-06-28 Joseph Myers <joseph@codesourcery.com>
1317
1318 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
1319 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
1320 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
1321 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
1322 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
1323 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
1324 config/pa/linux-unwind.h (pa32_fallback_frame_state),
1325 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
1326 config/sh/linux-unwind.h (sh_fallback_frame_state),
1327 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
1328 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
1329 ucontext_t instead of struct ucontext.
1330
50567938
JL
13312017-06-27 Jerome Lambourg <lambourg@adacore.com>
1332
1333 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
1334 (x86_64-wrs-vxworks7): Likewise.
1335
e4b0df93
OH
13362017-06-27 Olivier Hainque <hainque@adacore.com>
1337
1338 * config/t-vxworks7: New file.
1339 * config.host (*-*-vxworks7): Use it.
1340
60edf8bb
MT
13412017-06-22 Matt Turner <mattst88@gmail.com>
1342
1343 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
1344 skylake case.
1345
a51a76e5
RB
13462017-06-21 Richard Biener <rguenther@suse.de>
1347
1348 PR gcov-profile/81080
1349 * configure.ac: Add AC_SYS_LARGEFILE.
1350 * libgcov.h: Include auto-target.h before tsystem.h to pick
1351 up _FILE_OFFSET_BITS which might differ for multilibs.
1352 * config.in: Regenerate.
1353 * configure: Likewise.
1354
f0cd49c5
RE
13552017-06-16 Richard Earnshaw <rearnsha@arm.com>
1356
1357 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
1358
4f751c54
ML
13592017-06-09 Martin Liska <mliska@suse.cz>
1360
1361 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
1362 Reset __gcov_indirect_call_callee to NULL.
1363
1ac644c8
OH
13642017-06-08 Olivier Hainque <hainque@adacore.com>
1365
1366 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
1367 the set of -I options, support for direct inclusions of net/uio.h
1368 by VxWorks header files via ioLib.h.
1369
d8b9cd27
TR
13702017-06-07 Tony Reix <tony.reix@atos.net>
1371 Matthieu Sarter <matthieu.sarter.external@atos.net>
1372 David Edelsohn <dje.gcc@gmail.com>
1373
92a285c1
ML
1374 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
1375 unconditionally.
1376 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
1377 AIX 7.2 support.
d8b9cd27 1378
38a75ccc
OH
13792017-06-02 Olivier Hainque <hainque@adacore.com>
1380
1381 * config/vxlib.c (__gthread_once): Add missing value to
1382 return statement.
1383
5b2edf53
OH
13842017-05-30 Olivier Hainque <hainque@adacore.com>
1385
1386 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
1387 dollar sign before $(MULTIDIR).
1388
7d66e265
RH
13892017-05-26 Richard Henderson <rth@redhat.com>
1390
1391 PR libgcc/80037
1392 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
1393
78eca309
AT
13942017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
1395
1396 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
1397 _Unwind_SetIP available as functions for arm*-*-freebsd*.
1398 * config/arm/unwind-arm.c: Implement the above.
1399
c39d309a
AZ
14002017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1401
1402 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
1403 section for a non-executable stack.
1404
eac8c9f2
KW
14052017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
1406
1407 PR target/80600
1408 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
1409
d6d4d770
DS
14102017-05-14 Daniel Santos <daniel.santos@pobox.com>
1411
1412 * config.host: Add i386/t-msabi to i386/t-linux file list.
1413 * config/i386/i386-asm.h: New file.
1414 * config/i386/resms64.S: New file.
1415 * config/i386/resms64f.S: New file.
1416 * config/i386/resms64fx.S: New file.
1417 * config/i386/resms64x.S: New file.
1418 * config/i386/savms64.S: New file.
1419 * config/i386/savms64f.S: New file.
1420 * config/i386/t-msabi: New file.
1421
8ef2b9a7
AT
14222017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
1423
1424 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
1425 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
1426
7ab8766a
JC
14272017-05-05 Joshua Conner <joshconner@google.com>
1428
1429 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
1430 pc-relative indirect handling for fuchsia.
1431 * config/t-slibgcc-fuchsia: New file.
1432 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
d6d4d770 1433 x86_64-*-fuchsia*): Add definitions.
7ab8766a 1434
46928a8f
ML
14352017-04-19 Martin Liska <mliska@suse.cz>
1436
1437 PR gcov-profile/80435
1438 * Makefile.in: Install gcov.h.
1439 * gcov.h: New file.
1440 * libgcov.h: Use the header and make __gcov_flush publicly
1441 visible.
1442
63971184
ML
14432017-04-18 Martin Liska <mliska@suse.cz>
1444
1445 PR gcov-profile/78783
1446 * libgcov-driver.c (gcov_get_filename): New function.
1447
29d8aae6
JL
14482017-04-07 Jeff Law <law@redhat.com>
1449
1450 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
1451 target makefile fragment.
1452 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
1453
2bdf7fc6
AM
14542017-04-07 Alan Modra <amodra@gmail.com>
1455
1456 PR target/45053
1457 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
1458
5764ee3c
JW
14592017-04-03 Jonathan Wakely <jwakely@redhat.com>
1460
1461 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
1462
c4192ad7
CZ
14632017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
1464
1465 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
1466
4ccfdb28
JM
14672017-03-10 John Marino <gnugcc@marino.st>
1468
1469 * config/aarch64/freebsd-unwind.h: New file.
1470 * config.host: Add aarch64-*-freebsd unwinder.
1471
4144e4e3
SB
14722017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1473
1474 * config/rs6000/crtrestvr.s: Use .machine altivec.
1475 * config/rs6000/crtsavevr.s: Ditto.
1476
7502c597
SB
14772017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1478
1479 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
1480 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
1481 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
1482 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
1483 * configure: Regenerate.
1484 * config.in: Regenerate.
1485
db9f7f65
JY
14862017-03-02 Jonathan Yong <10walls@gmail.com>
1487
1488 * config/i386/gthr-win32.h: Define NOGDI before
1489 windows.h include to prevent w32api CC_NONE macro
1490 clash with libgfortran.
1491
126437c5
JY
14922017-03-02 Jonathan Yong <10walls@gmail.com>
1493
1494 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
1495
31927af6
AP
14962017-02-16 Andrew Pinski <apinski@cavium.com>
1497
1498 * config/aarch64/value-unwind.h: New file.
1499 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
1500 to tm_file.
1501
0bd99911
PD
15022017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
1503
1504 * config.host: Add RISC-V tuples.
1505 * config/riscv/atomic.c: New file.
1506 * config/riscv/crti.S: Likewise.
1507 * config/riscv/crtn.S: Likewise.
1508 * config/riscv/div.S: Likewise.
1509 * config/riscv/linux-unwind.h: Likewise.
1510 * config/riscv/muldi3.S: Likewise.
1511 * config/riscv/multi3.S: Likewise.
1512 * config/riscv/save-restore.S: Likewise.
1513 * config/riscv/sfp-machine.h: Likewise.
1514 * config/riscv/t-elf: Likewise.
1515 * config/riscv/t-elf32: Likewise.
1516 * config/riscv/t-elf64: Likewise.
1517 * config/riscv/t-softfp32: Likewise.
1518 * config/riscv/t-softfp64: Likewise.
1519
a8c9ef2a
JJ
15202017-01-24 Jakub Jelinek <jakub@redhat.com>
1521
1522 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
1523 /* FALLTHRU */ comments.
1524
c6c82710
GP
15252017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
1526
1527 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
1528
a876231c
JW
15292017-01-20 Jiong Wang <jiong.wang@arm.com>
1530
1531 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
1532 * unwind-dw2.c (execute_cfa_program): Only multiplexing
1533 DW_CFA_GNU_window_save for AArch64 and LP64.
1534
aa348be2
JW
15352017-01-20 Jiong Wang <jiong.wang@arm.com>
1536
1537 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
1538
5636faf2
JW
15392017-01-19 Jiong Wang <jiong.wang@arm.com>
1540
1541 * config/aarch64/aarch64-unwind.h: New file.
1542 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
1543 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
1544 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
1545 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
1546 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
1547 (aarch64_post_extract_frame_addr): New function.
1548 (aarch64_post_frob_eh_handler_addr): New function.
1549 (aarch64_frob_update_context): New function.
1550 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
1551 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
1552 aarch64*-*-freebsd*):
1553 Initialize md_unwind_header to include aarch64-unwind.h.
1554 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
1555 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
1556 __aarch64__.
1557 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
1558 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
1559 (uw_frob_return_addr): New function.
1560 (uw_install_context): Use uw_frob_return_addr.
1561
3c36aa6b
JJ
15622017-01-17 Jakub Jelinek <jakub@redhat.com>
1563
1564 PR other/79046
1565 * configure.ac: Add GCC_BASE_VER.
1566 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
1567 version from BASE-VER file.
1568 * configure: Regenerated.
1569
829afb8f
JS
15702017-01-13 Joe Seymour <joe.s@somniumtech.com>
1571
1572 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
1573 libmul_f5.a): Filter archived prerequisites.
1574
79fc8ffe
AS
15752017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
1576
1577 * config/i386/cpuinfo.h (processor_features): Add
1578 FEATURE_AVX512VPOPCNTDQ.
1579 * config/i386/cpuinfo.c (get_available_features): Habdle new
1580 feature.
1581
fec5f4e0
JM
15822017-01-04 Joseph Myers <joseph@codesourcery.com>
1583
1584 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
1585 payload if [__mips_nan2008].
1586
8f56cb51
AM
15872017-01-04 Alan Modra <amodra@gmail.com>
1588
1589 * Makefile.in (configure_deps): Update.
1590 * configure: Regenerate.
1591
cbe34bb5
JJ
15922017-01-01 Jakub Jelinek <jakub@redhat.com>
1593
1594 Update copyright years.
1595
ab955692
KW
15962016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
1597
1598 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
1599 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
1600 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
1601
de34320f
MK
16022016-12-17 Matthias Klose <doko@ubuntu.com>
1603
1604 * config/arc/gmon: Remove empty directory.
1605
e04ea1da
CZ
16062016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
1607
1608 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
1609 crtgend.
1610 (arc*-*-elf*): Likewise.
1611 * config/arc/t-arc: Remove old gmon lib targets.
1612 * config/arc/crtg.S: Remove.
1613 * config/arc/crtgend.S: Likewise.
1614 * config/arc/gmon/atomic.h: Likewise.
1615 * config/arc/gmon/auxreg.h: Likewise.
1616 * config/arc/gmon/dcache_linesz.S: Likewise.
1617 * config/arc/gmon/gmon.c: Likewise.
1618 * config/arc/gmon/machine-gmon.h: Likewise.
1619 * config/arc/gmon/mcount.c: Likewise.
1620 * config/arc/gmon/prof-freq-stub.S: Likewise.
1621 * config/arc/gmon/prof-freq.c: Likewise.
1622 * config/arc/gmon/profil.S: Likewise.
1623 * config/arc/gmon/sys/gmon.h: Likewise.
1624 * config/arc/gmon/sys/gmon_out.h: Likewise.
1625 * config/arc/t-arc-newlib: Likewise.
1626 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
1627
8ae1c2c1
GS
16282016-12-12 George Spelvin <linux@sciencehorizons.net>
1629
1630 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
1631
a5b947fa
GS
16322016-12-12 George Spelvin <linux@sciencehorizons.net>
1633
1634 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
1635 R16 instead of push + pop.
1636 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
1637
d6574dd1
KW
16382016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
1639
1640 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
1641 tmake_file.
1642
62440b4f
CM
16432016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
1644
1645 * config.host (arc*-*-linux-uclibc*): Use default extra
1646 objects. Include linux-android header.
1647 * config/arc/crti.S (_init): Declare symbol as function.
1648 (_fini): Likewise.
1649
31cfd832
TK
16502016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
1651
1652 PR fortran/78379
1653 * config/i386/cpuinfo.c: Move denums for processor vendors,
1654 processor type, processor subtypes and declaration of
1655 struct __processor_model into
1656 * config/i386/cpuinfo.h: New header file.
1657
c92e08e3
AV
16582016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1659 Thomas Preud'homme <thomas.preudhomme@arm.com>
1660
1661 * config/arm/cmse_nonsecure_call.S: New.
1662 * config/arm/t-arm: Compile cmse_nonsecure_call.S
1663
de7b5723
AV
16642016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1665 Thomas Preud'homme <thomas.preudhomme@arm.com>
1666
1667 * config/arm/t-arm (HAVE_CMSE): New.
1668 * config/arm/cmse.c: New.
1669
7a0d2bce
TP
16702016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
1671
b3a5bff4
TP
1672 PR gcc/74748
1673 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
1674 use generic linker version information on Blackfin.
1675
7a0d2bce
TP
1676 PR gcc/74748
1677 * libgcc/mkmap-symver.awk: add support for skip_underscore
1678
b410cf1d
IS
16792016-11-27 Iain Sandoe <iain@codesourcery.com>
1680 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1681
1682 PR target/67710
1683 * config/t-darwin: Default builds to 10.5 codegen.
1684
2e5f8203
JG
16852016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
1686
1687 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
1688 (_FP_NANSIGN_H): Likewise.
1689 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
1690 (softfp_truncations): Add tfhf.
1691 (softfp_extras): Add required conversion functions.
1692
bea64ca3
JG
16932016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1694 Matthew Wahab <matthew.wahab@arm.com>
1695
1696 * config/arm/fp16.c (binary64): New.
1697 (__gnu_d2h_internal): New.
1698 (__gnu_d2h_ieee): New.
1699 (__gnu_d2h_alternative): New.
1700
8630cadb
JG
17012016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1702 Matthew Wahab <matthew.wahab@arm.com>
1703
1704 * config/arm/fp16.c (struct format): New.
1705 (binary32): New.
1706 (__gnu_float2h_internal): New. Body moved from
1707 __gnu_f2h_internal and generalize.
1708 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
1709 Call it with binary32.
1710
5823ef23
JG
17112016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1712
1713 * soft-fp/extendhftf2.c: Update from glibc.
1714 * soft-fp/fixhfti.c: Likewise.
1715 * soft-fp/fixunshfti.c: Likewise.
1716 * soft-fp/floattihf.c: Likewise.
1717 * soft-fp/floatuntihf.c: Likewise.
1718 * soft-fp/half.h: Likewise.
1719 * soft-fp/trunctfhf2.c: Likewise.
1720
62a7df9f
MG
17212016-11-20 Marc Glisse <marc.glisse@inria.fr>
1722
1723 PR libgcc/77813
1724 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
1725 __TMC_END__ behind a passthrough asm.
1726
7a384912
WL
17272016-11-18 Walter Lee <walt@tilera.com>
1728
62a7df9f 1729 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
7a384912 1730
9775c1a5
L
17312016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
1732
1733 * config/i386/cpuinfo.c (processor_features): Add
1734 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
1735
48c842ab
CZ
17362016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
1737
1738 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
1739 (__ARC_NORM__): Use instead ARC_OPTFPE.
1740 * config/arc/fp-hack.h: Likewise.
1741 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
1742 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
1743
5012919d
AM
17442016-11-16 Alexander Monakov <amonakov@ispras.ru>
1745
1746 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
1747 * config/nvptx/mgomp.c: New file.
1748 * config/nvptx/t-nvptx: Add mgomp.c
1749
00178b98
WB
17502016-11-16 Waldemar Brodkorb <wbx@openadk.org>
1751
1752 PR libgcc/68468
1753 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
1754
d64af69f
CZ
17552016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
1756
1757 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
1758 of checking for cpus.
1759 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
1760 (__modsi3, __clzsi2): Likewise.
1761
9d8f95de
SN
17622016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
1763
1764 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
1765 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
1766 * config/i386/t-cpuinfo-static: New.
1767
7d29f8e3
ML
17682016-11-03 Martin Liska <mliska@suse.cz>
1769
1770 * libgcov-profiler.c (__gcov_time_profiler): Remove.
1771 (__gcov_time_profiler_atomic): Likewise.
1772
5de3e2d8
BE
17732016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
1774
1775 PR libgcc/78067
1776 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
1777 count_leading_zeros.
1778
18362447
UB
17792016-11-02 Uros Bizjak <ubizjak@gmail.com>
1780
1781 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
1782 * libgcc2.c (__divmoddi4): New function.
1783 * libgcc2.h (__divmoddi4): Declare.
1784 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
1785 and __PFX_divmodti4.
1786
33107571
FW
17872016-10-24 Florian Weimer <fweimer@redhat.com>
1788
1789 PR libgcc/78064
1790 * unwind-c.c: Include auto-target.h.
1791
4c6d7494
JDA
17922016-10-19 John David Anglin <danglin@gcc.gnu.org>
1793
18362447 1794 * config/pa/pa64-hpux-lib.h: New file.
4c6d7494
JDA
1795 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
1796 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
1797 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
1798 hppa*64*-*-hpux11*.
1799
2a26adf1
MF
18002016-10-18 Max Filippov <jcmvbkbc@gmail.com>
1801
1802 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1803 definition.
1804 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1805 definition.
1806 * config/xtensa/t-windowed (LIB2ADDEH): Use
1807 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
1808 or xtensa/t-linux.
1809
66192aa1
DKC
18102016-10-18 Ding-Kai Chen <dkchen@cadence.com>
1811
1812 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
1813 __ieee754_sqrt): New functions.
1814 (__divdf3): Add implementation with new FPU instructions under
1815 #if XCHAL_HAVE_DFP_DIV.
1816 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
1817 __ieee754_sqrtf): New functions.
1818 (__divsf3): Add implementation with new FPU instructions under
1819 #if XCHAL_HAVE_FP_DIV.
1820 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
1821 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
1822
4d0cdd0c
TP
18232016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
1824
1825 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
1826 equivalent.
1827 * config/tilepro/atomic.c: Likewise and stop casting model to
1828 enum memmodel.
1829
73f01cca
JM
18302016-10-10 Joseph Myers <joseph@codesourcery.com>
1831
1832 PR target/77586
1833 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
1834 soft-fp.
1835
b20e7532
AT
18362016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
1837
1838 * config.host: Add support for aarch64-*-freebsd*.
1839
a786cec4
AS
18402016-10-05 Andreas Schwab <schwab@suse.de>
1841
1842 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
1843 (.section .init_array): Don't call __do_jv_register_classes.
1844 (.section .init): Likewise.
1845
5a79befb
JJ
18462016-10-04 Jakub Jelinek <jakub@redhat.com>
1847
1848 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
1849 (__JCR_LIST__): Remove.
1850 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
1851 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
1852 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
1853 * config/ia64/crtend.S (__JCR_END__): Remove.
1854 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
1855 conditionals.
1856 (__JCR_LIST__, __JCR_END__): Remove.
1857 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
1858 (__do_global_ctors_1): Likewise.
1859
e0ab3753
UB
18602015-09-28 Uros Bizjak <ubizjak@gmail.com>
1861
1862 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
1863 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
1864
8c9434c2
ML
18652016-09-27 Martin Liska <mliska@suse.cz>
1866
1867 PR gcov-profile/7970
1868 PR gcov-profile/16855
1869 PR gcov-profile/44779
1870 * libgcov-driver.c (__gcov_init): Do not register a atexit
1871 handler.
1872 (__gcov_exit): Rename from gcov_exit.
1873 * libgcov.h (__gcov_exit): Declare.
1874
56b653f1
ML
18752016-09-27 Martin Liska <mliska@suse.cz>
1876
1877 PR bootstrap/77749
1878 * Makefile.in: Remove _gcov_merge_delta.
1879 * libgcov-merge.c (void __gcov_merge_delta): Remove.
1880 * libgcov-util.c (__gcov_delta_counter_op): Remove.
1881 * libgcov.h: Remove declaration of __gcov_merge_delta.
1882
7e02fd1b
EB
18832016-09-21 Eric Botcazou <ebotcazou@adacore.com>
1884
1885 * configure.ac: Do not create links, only substitute the filenames.
1886 * configure: Regenerate.
1887 * Makefile.in: Assign the substitution results to variables.
1888 (LIBGCC_LINKS): Define.
1889 (enable-execute-stack.c): New rule.
1890 (unwind.h): Likewise.
1891 (md-unwind-support.h): Likewise.
1892 (sfp-machine.h): Likewise.
1893 (gthr-default.h): Likewise.
1894 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
1895 unwind.h as prerequisite of install-unwind_h-forbuild.
1896
29991048
JJ
18972016-09-16 Jakub Jelinek <jakub@redhat.com>
1898
1899 PR libgcc/71744
1900 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
1901 is not the primary registry and atomics are available.
1902 (any_objects_registered): New variable.
1903 (__register_frame_info_bases, __register_frame_info_table_bases):
1904 Atomically store 1 to any_objects_registered after registering first
1905 unwind info.
1906 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
1907
0abcd6cc
JG
19082016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
1909
1910 PR target/63250
1911 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
1912 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
1913 (HFtype): Likewise.
1914 (HCtype): Likewise.
1915 (__divhc3): Likewise.
1916 (__mulhc3): Likewise.
1917 * libgcc2.c: Support _mulhc3 and _divhc3.
1918
d758aeb5
JM
19192016-09-07 Joseph Myers <joseph@codesourcery.com>
1920
1921 PR libgcc/77519
1922 * libgcc2.c (NOTRUNC): Invert settings.
1923
7fe76f6a
ML
19242016-09-06 Martin Liska <mliska@suse.cz>
1925
1926 PR gcov-profile/77378
1927 PR gcov-profile/77466
1928 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
1929 conditionaly enable/disable *_atomic functions.
1930
21184026
JM
19312016-08-26 Joseph Myers <joseph@codesourcery.com>
1932
1933 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
1934 where not already enabled.
1935
726f49c3
SN
19362016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
1937
1938 * config/mips/linux-unwind.h: Use sys/syscall.h.
1939
feeb6268
JM
19402016-08-16 Joseph Myers <joseph@codesourcery.com>
1941
1942 PR libgcc/77265
1943 * soft-fp/adddf3.c: Update from glibc.
1944 * soft-fp/addsf3.c: Likewise.
1945 * soft-fp/addtf3.c: Likewise.
1946 * soft-fp/divdf3.c: Likewise.
1947 * soft-fp/divsf3.c: Likewise.
1948 * soft-fp/divtf3.c: Likewise.
1949 * soft-fp/double.h: Likewise.
1950 * soft-fp/eqdf2.c: Likewise.
1951 * soft-fp/eqsf2.c: Likewise.
1952 * soft-fp/eqtf2.c: Likewise.
1953 * soft-fp/extenddftf2.c: Likewise.
1954 * soft-fp/extended.h: Likewise.
1955 * soft-fp/extendsfdf2.c: Likewise.
1956 * soft-fp/extendsftf2.c: Likewise.
1957 * soft-fp/extendxftf2.c: Likewise.
1958 * soft-fp/fixdfdi.c: Likewise.
1959 * soft-fp/fixdfsi.c: Likewise.
1960 * soft-fp/fixdfti.c: Likewise.
1961 * soft-fp/fixsfdi.c: Likewise.
1962 * soft-fp/fixsfsi.c: Likewise.
1963 * soft-fp/fixsfti.c: Likewise.
1964 * soft-fp/fixtfdi.c: Likewise.
1965 * soft-fp/fixtfsi.c: Likewise.
1966 * soft-fp/fixtfti.c: Likewise.
1967 * soft-fp/fixunsdfdi.c: Likewise.
1968 * soft-fp/fixunsdfsi.c: Likewise.
1969 * soft-fp/fixunsdfti.c: Likewise.
1970 * soft-fp/fixunssfdi.c: Likewise.
1971 * soft-fp/fixunssfsi.c: Likewise.
1972 * soft-fp/fixunssfti.c: Likewise.
1973 * soft-fp/fixunstfdi.c: Likewise.
1974 * soft-fp/fixunstfsi.c: Likewise.
1975 * soft-fp/fixunstfti.c: Likewise.
1976 * soft-fp/floatdidf.c: Likewise.
1977 * soft-fp/floatdisf.c: Likewise.
1978 * soft-fp/floatditf.c: Likewise.
1979 * soft-fp/floatsidf.c: Likewise.
1980 * soft-fp/floatsisf.c: Likewise.
1981 * soft-fp/floatsitf.c: Likewise.
1982 * soft-fp/floattidf.c: Likewise.
1983 * soft-fp/floattisf.c: Likewise.
1984 * soft-fp/floattitf.c: Likewise.
1985 * soft-fp/floatundidf.c: Likewise.
1986 * soft-fp/floatundisf.c: Likewise.
1987 * soft-fp/floatunditf.c: Likewise.
1988 * soft-fp/floatunsidf.c: Likewise.
1989 * soft-fp/floatunsisf.c: Likewise.
1990 * soft-fp/floatunsitf.c: Likewise.
1991 * soft-fp/floatuntidf.c: Likewise.
1992 * soft-fp/floatuntisf.c: Likewise.
1993 * soft-fp/floatuntitf.c: Likewise.
1994 * soft-fp/gedf2.c: Likewise.
1995 * soft-fp/gesf2.c: Likewise.
1996 * soft-fp/getf2.c: Likewise.
1997 * soft-fp/ledf2.c: Likewise.
1998 * soft-fp/lesf2.c: Likewise.
1999 * soft-fp/letf2.c: Likewise.
2000 * soft-fp/muldf3.c: Likewise.
2001 * soft-fp/mulsf3.c: Likewise.
2002 * soft-fp/multf3.c: Likewise.
2003 * soft-fp/negdf2.c: Likewise.
2004 * soft-fp/negsf2.c: Likewise.
2005 * soft-fp/negtf2.c: Likewise.
2006 * soft-fp/op-1.h: Likewise.
2007 * soft-fp/op-2.h: Likewise.
2008 * soft-fp/op-4.h: Likewise.
2009 * soft-fp/op-8.h: Likewise.
2010 * soft-fp/op-common.h: Likewise.
2011 * soft-fp/quad.h: Likewise.
2012 * soft-fp/single.h: Likewise.
2013 * soft-fp/soft-fp.h: Likewise.
2014 * soft-fp/subdf3.c: Likewise.
2015 * soft-fp/subsf3.c: Likewise.
2016 * soft-fp/subtf3.c: Likewise.
2017 * soft-fp/truncdfsf2.c: Likewise.
2018 * soft-fp/trunctfdf2.c: Likewise.
2019 * soft-fp/trunctfsf2.c: Likewise.
2020 * soft-fp/trunctfxf2.c: Likewise.
2021 * soft-fp/unorddf2.c: Likewise.
2022 * soft-fp/unordsf2.c: Likewise.
2023 * soft-fp/unordtf2.c: Likewise.
2024
2e6fc1ac
GG
20252016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
2026
2027 PR gcov-profile/67097
2028 * libgcov-util.c (gcov_profile_merge): Skip missing files.
2029
a266236e
ML
20302016-08-10 Martin Liska <mliska@suse.cz>
2031
2032 PR gcov-profile/58306
2033 * Makefile.in: New functions (modules) are added.
2034 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
2035 function.
2036 (__gcov_pow2_profiler_atomic): New function.
2037 (__gcov_one_value_profiler_body): New argument is instroduced.
2038 (__gcov_one_value_profiler): Call with the new argument.
2039 (__gcov_one_value_profiler_atomic): Likewise.
2040 (__gcov_indirect_call_profiler_v2): Likewise.
2041 (__gcov_time_profiler_atomic): New function.
2042 (__gcov_average_profiler_atomic): Likewise.
2043 (__gcov_ior_profiler_atomic): Likewise.
2044 * libgcov.h: Declare the aforementioned functions.
2045
e0c8eebf
ML
20462016-08-09 Martin Liska <mliska@suse.cz>
2047
2048 * libgcov-util.c: Fix typo and GNU coding style.
2049
6dce6418
ML
20502016-08-09 Martin Liska <mliska@suse.cz>
2051
2052 * Makefile.in: Remove __gcov_indirect_call_profiler.
2053 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
2054 function.
2055 * libgcov.h: And the declaration of the function.
2056
dcb1e137
ML
20572016-08-09 Martin Liska <mliska@suse.cz>
2058
2059 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
2060 power of two.
2061
d6e69705
BS
20622016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2063
2064 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
2065 * config/rs6000/_mulkc3.c: Likewise.
2066
96aa1f95
GJL
20672016-07-29 Georg-Johann Lay <avr@gjlay.de>
2068
2069 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
2070 zero_reg as previous call to __umulhisi3 already cleared it.
2071
a1b01d34
AJ
20722016-07-21 Aurelien Jarno <aurelien@aurel32.net>
2073
2074 PR target/59833
2075 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
2076
985a47b2
NC
20772016-07-19 Nick Clifton <nickc@redhat.com>
2078
2079 * config.host (m32r): Add m32r/t-m32r to tmake_file.
2080 Add crtinit.o and crtfini.o to extra_parts.
2081
f906f5ed
BS
20822016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2083
2084 * config/rs6000/_divkc3.c: New.
2085 * config/rs6000/_mulkc3.c: New.
2086 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
2087 and _divkc3.
2088 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
2089 fp128_ppc_funcs.
2090
82742404
HW
20912016-07-11 Hale Wang <hale.wang@arm.com>
2092 Andre Vieira <andre.simoesdiasvieira@arm.com>
2093
2094 * config/arm/lib1funcs.S: Add new wrapper.
2095
05a437c1
TP
20962016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2097
2098 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
2099
3d16d9ec
TP
21002016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2101
2102 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
2103 and ARMv5t* rather than for a fixed list of architectures.
2104
6f493951
TP
21052016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2106
2107 * config/arm/bpabi-v6m.S: Clarify what architectures is the
2108 implementation suitable for.
2109 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
2110 for all Thumb-1 only targets.
2111 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
2112 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
2113 __ARM_ARCH_6M__.
2114 (EQUIV): Likewise.
2115 (ARM_FUNC_ALIAS): Likewise.
2116 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
2117 version.
2118 (modsi3): Likewise.
2119 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
2120 (clzdi2): Likewise.
2121 (ctzsi2): Likewise.
2122 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
2123 __ARM_ARCH_6M__ in guard for checking whether it is defined.
2124 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
2125 __ARM_ARCH_6M__ and add comment to indicate the connection between
2126 this condition and the one in gcc/config/arm/elf.h.
2127 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
2128 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
2129 * config/arm/t-softfp: Likewise.
2130
1770511a
TS
21312016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2132
2133 * libgcc2.c (SYMBOL__MAIN): Remove checks for
2134 CTOR_LISTS_DEFINED_EXTERNALLY.
2135
ba6be749
WL
21362016-06-28 Walter Lee <walt@tilera.com>
2137
2138 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
2139 asm/unistd.h.
2140 (SPR_CMPEXCH_VALUE): Define for tilegx.
2141 (__NR_FAST_cmpxchg): Define for tilepro.
2142 (__NR_FAST_atomic_update): Define for tilepro.
2143 (__NR_FAST_cmpxchg64): Define for tilepro.
2144
a34c0db5
JS
21452016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
2146
18362447 2147 * config.host: Add suport for arm*-*-phoenix* targets.
a34c0db5 2148
0609abda
TS
21492016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2150
2151 * config.host: Remove support for mep-*.
2152 * config/mep/lib1funcs.S: Remove.
2153 * config/mep/lib2funcs.c: Remove.
2154 * config/mep/t-mep: Remove.
2155 * config/mep/tramp.c: Remove.
2156
3e326935
TS
21572016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2158
2159 * config.host: Remove support for avr-rtems.
2160 * config/avr/t-rtems: Remove.
2161
914b155c
TS
21622016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2163
2164 * config.host: Remove m32r-rtems support.
2165
5ebf89bd
TS
21662016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2167
2168 * config.host: Remove h8300-rtems support.
2169
8466af06
TS
21702016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2171
2172 * config.host: Remove support for knetbsd.
2173
d980e738
TS
21742016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2175
2176 * config.host: Remove support for openbsd 2 and 3.
2177
ee2499b4
TS
21782016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2179
2180 * config.host: Remove interix support.
2181 * config/i386/t-interix: Remove.
2182
9f92937b
JDA
21832016-06-18 John David Anglin <danglin@gcc.gnu.org>
2184
2185 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
2186 least-significant bit in function pointer for fixup.
2187
0a0ec53d
AC
21882016-06-05 Aaron Conole <aconole@redhat.com>
2189 Nathan Sidwell <nathan@acm.org>
2190
2191 PR libgcc/71400
2192 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
2193 (get_gcov_error_file): Check __gcov_error_file before trying to
2194 initialize it.
2195 (gcov_error): Always use get_gcov_error_file.
2196
8aa5bdd6
AC
21972016-06-02 Aaron Conole <aconole@redhat.com>
2198
2199 * libgcov-driver-system.c (__gcov_error_file): New.
2200 (get_gcov_error_file): New.
2201 (gcov_error): Use and set __gcov_error_file.
2202 (gcov_error_exit): New.
2203 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
2204
40774faf
NS
22052016-05-26 Nathan Sidwell <nathan@acm.org>
2206
2207 * config/nvptx/free.asm: Delete.
2208 * config/nvptx/malloc.asm: Delete.
2209 * config/nvptx/realloc.c: Delete.
2210 * t-nvptx: Update.
2211
69a6d5ad
NS
22122016-05-25 Nathan Sidwell <nathan@acm.org>
2213
2214 * config/nvptx/crt0.s: Delete.
2215 * config/nvptx/crt0.c: New.
2216 * t-nvptx: Update.
2217
6befaff6
SL
22182016-05-19 Sandra Loosemore <sandra@codesourcery.com>
2219
385c7747 2220 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
6befaff6
SL
2221 dw2/seh configuration.
2222 [x86_64-*-mingw*]: Likewise.
2223
ad251dfd
JS
22242016-05-10 Joel Sherrill <joel@rtems.org>
2225
2226 PR libgcc/70720
2227 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
2228 targets so the same extra_parts are built. Also have tmake_file add
2229 on to its value rather than override.
2230
bc6d9014
OE
22312016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
2232
2233 * config.host: Remove SH5 support.
2234 * configure: Likewise.
2235
9129c8cf
OE
22362016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
2237
2238 * config/sh/crt1.S: Remove SH5 support.
2239 * config/sh/crti.S: Likewise.
2240 * config/sh/crtn.S: Likewise.
2241 * config/sh/lib1funcs-4-300.S: Likewise.
2242 * config/sh/lib1funcs-Os-4-200.S: Likewise.
2243 * config/sh/lib1funcs.S: Likewise.
2244 * config/sh/linux-unwind.h: Likewise.
2245 * config/sh/t-sh64: Delete.
2246
39d50464
CZ
22472016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
2248
2249 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
2250
8b48923b
CZ
22512016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
2252 Joern Rennecke <joern.rennecke@embecosm.com>
2253
2254 * config/arc/crttls.S: New file.
2255 * config/arc/t-arc: New rule.
2256 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
2257
2de1cf8c
NC
22582016-04-25 Nick Clifton <nickc@redhat.com>
2259
2260 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
2261 (__mspabi_cmpd): Likewise.
2262 * config/msp430/floathidf.c (__floathidf): Likewise.
2263 * config/msp430/floathisf.c (__floathisf): Likewise
2264 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
2265 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
2266 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
2267 second parameter.
2268 (__ashrsi3): Likewise.
2269
b8ce3fe2
WB
22702016-04-21 Waldemar Brodkorb <wbx@openadk.org>
2271
2272 * config/m68k/linux-atomic.c: Do not include unistd.h
2273
4986f823
MG
22742016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
2275
2276 * config/arm/ieee754-df.S: Fix typos in comments.
2277
35fbda43
MM
22782016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
2279
2280 PR target/70381
2281 * configure.ac (powerpc*-*-linux*): Rework tests to build
2282 __float128 emulation routines to not depend on using #pragma GCC
2283 target to enable -mfloat128.
2284 * configure: Regnerate.
2285
72d1a48d
EB
22862016-04-04 Eric Botcazou <ebotcazou@adacore.com>
2287
2288 PR target/67172
2289 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
2290 __MINGW32__ is defined.
2291
dc2e8995
JB
22922016-03-28 James Bowman <james.bowman@ftdichip.com>
2293
385c7747 2294 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
dc2e8995 2295
104cdaf1
MM
22962016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
2297
2298 PR libgcc/70363
2299 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
2300 built with an assembler that does not support ISA 3.0
2301 instructions, rename __extendkftf2_sw to __extendkftf2.
2302
a5046f48
RO
23032016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2304
2305 PR target/38239
2306 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
2307 call-clobbered registers.
2308 (internal_mcount): Remove __i386__ handling.
2309
df674f74
JS
23102016-02-26 Joel Sherrill <joel@rtems.org>
2311
2312 * config.host: Add x86_64-*-rtems*.
2313
7cb065d6
JS
23142016-02-26 Joel Sherrill <joel@rtems.org>
2315
2316 * libgcc/config.host: Add aarch64-*-rtems*.
2317
47dfdc53
PM
23182016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2319 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2320
2321 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
2322 union of u64 and double.
2323 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
2324 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
2325 value.
2326 (FP_ROUNDMODE): Update the usage of _fpscr.
2327
e6861a99
IV
23282016-02-25 Ilya Verbin <ilya.verbin@intel.com>
2329
2330 PR driver/68463
2331 * Makefile.in (crtoffloadtable$(objext)): New rule.
2332 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
2333 enable_offload_targets is not empty.
2334 * configure: Regenerate.
2335 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
2336 crtoffloadtable.
2337
9bfcbdee
MF
23382016-02-17 Max Filippov <jcmvbkbc@gmail.com>
2339
2340 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
2341 .literal_position before the function.
2342 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
2343 Likewise.
2344
4cb4721f
MK
23452016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
2346
2347 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
2348 * config/s390/morestack.S: New file.
2349 * config/s390/t-stack-s390: New file.
2350 * generic-morestack.c (__splitstack_find): Add s390-specific code.
2351
b29d9a29
WL
23522016-02-12 Walter Lee <walt@tilera.com>
2353
2354 * config.host (tilegx*-*-linux*): remove ti from
2355 softfp_int_modes for 32-bit configs.
2356
03a0ae7d
ILT
23572016-02-10 Ian Lance Taylor <iant@google.com>
2358
2359 PR go/68562
2360 * config/i386/morestack.S (__stack_split_initialize): Align
2361 stack.
2362
68750bce
AT
23632016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
2364
2365 PR bootstrap/69611
2366 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
2367 __FLOAT128__ to compile only for __float128 capable targets.
2368
7d296953
JJ
23692016-01-25 Jakub Jelinek <jakub@redhat.com>
2370
2371 PR target/69444
2372 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
2373 instead of ___NO_FPRS__.
2374
a71c0334 23752016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
2376 Steven Munroe <munroesj@linux.vnet.ibm.com>
2377 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
a71c0334
MM
2378
2379 * config/rs6000/float128-sed: New files to convert TF names to KF
2380 names for PowerPC IEEE 128-bit floating point support.
2381 * config/rs6000/float128-sed-hw: Likewise.
2382
2383 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2384 floating point hardware support.
2385
2386 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2387 128-bit floating point software emulation or use ISA 3.0 hardware
2388 support if it is available.
2389
2390 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2391 floating point.
2392
2393 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
2394 floating point to IBM extended double.
2395
2396 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
2397 double to IEEE 128-bit floating point.
2398
2399 * config/rs6000/t-float128: New Makefile fragments to enable
2400 building __float128 emulation support.
2401 * config/rs6000/t-float128-hw: Likewise.
2402
2403 * config/rs6000/sfp-exceptions.c: New file to provide exception
2404 support for IEEE 128-bit floating point.
2405
2406 * config/rs6000/floattikf.c: New files for converting between IEEE
2407 128-bit floating point and signed/unsigned 128-bit integers.
2408 * config/rs6000/fixunskfti.c: Likewise.
2409 * config/rs6000/fixkfti.c: Likewise.
2410 * config/rs6000/floatuntikf.c: Likewise.
2411
2412 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2413 when building on 64-bit systems, or when VSX is enabled.
2414 (_FP_W_TYPE): Likewise.
2415 (_FP_WS_TYPE): Likewise.
2416 (_FP_I_TYPE): Likewise.
2417 (TItype): Define on 64-bit systems.
2418 (UTItype): Likewise.
2419 (TI_BITS): Likewise.
2420 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2421 (_FP_MUL_MEAT_Q): Likewise.
2422 (_FP_DIV_MEAT_D): Likewise.
2423 (_FP_DIV_MEAT_Q): Likewise.
2424 (_FP_NANFRAC_D): Likewise.
2425 (_FP_NANFRAC_Q): Likewise.
2426 (ISA_BIT): Add exception support if we are being compiled on a
2427 machine with hardware floating point support to build the IEEE
2428 128-bit emulation functions.
2429 (FP_EX_INVALID): Likewise.
2430 (FP_EX_OVERFLOW): Likewise.
2431 (FP_EX_UNDERFLOW): Likewise.
2432 (FP_EX_DIVZERO): Likewise.
2433 (FP_EX_INEXACT): Likewise.
2434 (FP_EX_ALL): Likewise.
2435 (__sfp_handle_exceptions): Likewise.
2436 (FP_HANDLE_EXCEPTIONS): Likewise.
2437 (FP_RND_NEAREST): Likewise.
2438 (FP_RND_ZERO): Likewise.
2439 (FP_RND_PINF): Likewise.
2440 (FP_RND_MINF): Likewise.
2441 (FP_RND_MASK): Likewise.
2442 (_FP_DECL_EX): Likewise.
2443 (FP_INIT_ROUNDMODE): Likewise.
2444 (FP_ROUNDMODE): Likewise.
2445
2446 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2447 VSX code, enable IEEE 128-bit floating point. If the compiler can
2448 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
2449 floating point hardware instructions and it supports declaring
2450 functions with the ifunc attribute, enable ifunc functions to
2451 switch between software and hardware support.
2452 * configure.ac (powerpc*-*-linux*): Likewise.
2453 * configure: Regenerate.
2454
bdc27e50
NC
24552016-01-15 Nick Clifton <nickc@redhat.com>
2456
2457 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
2458 dependency as the source file to be compiled.
2459 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
2460 (lib2hw_mul_f5.o): Likewise.
2461
006df05d
MM
24622016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
2463
2464 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
2465 * libgcc/config/rs6000/fixkfti.c: Likewise.
2466 * libgcc/config/rs6000/fixunskfti.c: Likewise.
2467 * libgcc/config/rs6000/float128-hw.c: Likewise.
2468 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
2469 * libgcc/config/rs6000/float128-sed: Likewise.
2470 * libgcc/config/rs6000/floattikf.c: Likewise.
2471 * libgcc/config/rs6000/floatuntikf.c: Likewise.
2472 * libgcc/config/rs6000/quad-float128.h: Likewise.
2473 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
2474 * libgcc/config/rs6000/sfp-machine.h: Likewise.
2475 * libgcc/config/rs6000/t-float128: Likewise.
2476 * libgcc/config/rs6000/t-float128-hw: Likewise.
2477 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
2478 * libgcc/config.host: Likewise.
2479 * libgcc/configure: Likewise.
2480 * libgcc/configure.ac: Likewise.
2481
29176d57 24822016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
2483 Steven Munroe <munroesj@linux.vnet.ibm.com>
2484 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
29176d57
MM
2485
2486 * config/rs6000/sfp-exceptions.c: New file to provide exception
2487 support for IEEE 128-bit floating point.
2488
2489 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2490 floating point hardware support.
2491
2492 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
2493 point conversions.
2494 * config/rs6000/fixunskfti.c: Likewise.
2495 * config/rs6000/fixkfti.c: Likewise.
2496 * config/rs6000/floatuntikf.c: Likewise.
2497 * config/rs6000/extendkftf2-sw.c: Likewise.
2498 * config/rs6000/trunctfkf2-sw.c: Likewise.
2499
2500 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2501 128-bit floating point software emulation or use ISA 3.0 hardware
2502 support if it is available.
2503
2504 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2505 floating point.
2506
2507 * config/rs6000/t-float128: New Makefile fragments to enable
2508 building __float128 emulation support.
2509 * config/rs6000/t-float128-hw: Likewise.
2510
2511 * config/rs6000/float128-sed: New file to convert TF names to KF
2512 names for PowerPC IEEE 128-bit floating point support.
2513
2514 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2515 when building on 64-bit systems, or when VSX is enabled.
2516 (_FP_W_TYPE): Likewise.
2517 (_FP_WS_TYPE): Likewise.
2518 (_FP_I_TYPE): Likewise.
2519 (TItype): Define on 64-bit systems.
2520 (UTItype): Likewise.
2521 (TI_BITS): Likewise.
2522 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2523 (_FP_MUL_MEAT_Q): Likewise.
2524 (_FP_DIV_MEAT_D): Likewise.
2525 (_FP_DIV_MEAT_Q): Likewise.
2526 (_FP_NANFRAC_D): Likewise.
2527 (_FP_NANFRAC_Q): Likewise.
2528 (ISA_BIT): Add exception support if we are being compiled on a
2529 machine with hardware floating point support to build the IEEE
2530 128-bit emulation functions.
2531 (FP_EX_INVALID): Likewise.
2532 (FP_EX_OVERFLOW): Likewise.
2533 (FP_EX_UNDERFLOW): Likewise.
2534 (FP_EX_DIVZERO): Likewise.
2535 (FP_EX_INEXACT): Likewise.
2536 (FP_EX_ALL): Likewise.
2537 (__sfp_handle_exceptions): Likewise.
2538 (FP_HANDLE_EXCEPTIONS): Likewise.
2539 (FP_RND_NEAREST): Likewise.
2540 (FP_RND_ZERO): Likewise.
2541 (FP_RND_PINF): Likewise.
2542 (FP_RND_MINF): Likewise.
2543 (FP_RND_MASK): Likewise.
2544 (_FP_DECL_EX): Likewise.
2545 (FP_INIT_ROUNDMODE): Likewise.
2546 (FP_ROUNDMODE): Likewise.
2547
2548 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
2549 compiler can do __float128.
2550 * configure: Regenerate.
2551
2552 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2553 VSX code, enable IEEE 128-bit floating point.
2554
a2218983
OH
25552016-01-05 Olivier Hainque <hainque@adacore.com>
2556
2557 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
29176d57 2558 specificities.
a2218983 2559
818ab71a
JJ
25602016-01-04 Jakub Jelinek <jakub@redhat.com>
2561
2562 Update copyright years.
2563
5a6c8ffa
AP
25642015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
2565
2566 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
29176d57 2567 soft-fp targets.
5a6c8ffa 2568
077067a5
BE
25692015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
2570
2571 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
2572 instead of abort to avoid dependency on stdlib.h.
2573
787c1027
JDA
25742015-12-09 John David Anglin <danglin@gcc.gnu.org>
2575
2576 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
2577 to initialize call to __dl_fixup once.
2578
04a9ae28
NC
25792015-12-04 Nick Clifton <nickc@redhat.com>
2580
2581 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
2582 Allow for the second argument being negative.
2583 * config.host (extra_parts): Define for MSP430. Create separate
2584 libraries for each of the hardware multiply formats.
2585 * config/msp430/lib2hw_mul.S: Build only the multiply routines
2586 that are needed.
2587 * config/msp430/lib2mul.c: Likewise.
2588 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
2589 Add rules to build hardware multiply libraries.
2590 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
2591 __mspabi_divul function.
2592 (__mspabi_divllu): New stub function.
2593
9a32d437
JDA
25942015-12-01 John David Anglin <danglin@gcc.gnu.org>
2595
2596 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
2597 fixup values if saved GOT address doesn't match runtime address.
2598 (fixup_branch_offset): Reorder list.
2599
e5ef217c
RO
26002015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2601
2602 * Makefile.in (VTV_CFLAGS): New variable.
2603 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
2604 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
2605 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2606 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
2607 to extra_parts if $enable_vtable_verify = yes.
2608
78cc43a2
SN
26092015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
2610
2611 PR target/68059
2612 * config/arm/linux-atomic-64bit.c (__write): Rename to...
2613 (write): ...this and fix the return type.
2614
9afebea2
DD
26152015-11-19 DJ Delorie <dj@redhat.com>
2616
2617 * config/msp430/lib2hw_mul.S: Fix alignment.
2618
33f47f42
NS
26192015-11-18 Nathan Sidwell <nathan@codesourcery.com>
2620
2621 * config/nvptx/reduction.c: New.
2622 * config/nvptx/t-nvptx (LIB2ADD): Add it.
2623
d9adb476
DE
26242015-11-15 David Edelsohn <dje.gcc@gmail.com>
2625
2626 * config/rs6000/on_exit.c: New file.
2627 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
2628 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
2629
c0ab1970
CZ
26302015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
2631
2632 * config/arc/dp-hack.h: Add support for ARCHS.
2633 * config/arc/ieee-754/divdf3.S: Likewise.
2634 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
2635 * config/arc/ieee-754/muldf3.S: Likewise.
2636 * config/arc/ieee-754/mulsf3.S: Likewise
2637 * config/arc/lib1funcs.S: Likewise
2638 * config/arc/gmon/dcache_linesz.S: Don't read the build register
2639 for ARCv2 cores.
2640 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
2641 for ARCv2 cores.
2642 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
2643 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
2644 cores.
2645
e6b6bf09
RO
26462015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2647
2648 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
2649 value.
2650 * config/ia64/crtend.S: Likewise.
2651
a153644f
TS
26522015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2653
2654 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
2655 __CHAR_BIT__ instead of BITS_PER_UNIT.
2656 * fixed-bit.h: Likewise.
2657 * fp-bit.h: Likewise.
2658 * libgcc2.c (__popcountSI2): Likewise.
2659 (__popcountDI2): Likewise.
2660 * libgcc2.h: Likewise.
2661 * libgcov.h: Likewise.
2662
3dee689d
DE
26632015-11-07 David Edelsohn <dje.gcc@gmail.com>
2664
2665 * config/rs6000/atexit.c: New file.
2666 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
2667 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
2668 * config/rs6000/cxa_finalize.c
2669 (catomic_compare_and_exchange_bool_acq): Negate return value.
2670
2ef543e4
VK
26712015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
2672
2673 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
2674 (processor_subtypes): Add znver1.
2675 (get_amd_cpu): Detect znver1.
2676
1300f017
CL
26772015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
2678
2679 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
2680 Include crtfastmath.o.
2681
3e5bb7ee
JR
26822015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
2683
2684 PR libgcc/66883
2685 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1300f017 2686
793aa938
KP
26872015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
2688
2689 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
2690 * config/rl78/divmodsi.S: Update return register to r8.
2691 * config/rl78/divmodhi.S: Update return register to r8,r9.
2692 Branch to main_loop_done_himode to pop registers before return.
2693
7d296953 26942015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
fac812f0
VK
2695
2696 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
2697 (__cpu_indicator_init): Fix model selection for AMD CPUs.
2698
6a192b5a
KY
26992015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
2700
2701 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
2702
4a0a9457
MF
27032015-10-03 Max Filippov <jcmvbkbc@gmail.com>
2704
2705 * config.host (xtensa*-*-uclinux*): New configuration.
2706
ab91c076
KY
27072015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
2708
385c7747 2709 * config/i386/cpuinfo.c (processor_features): Add
ab91c076
KY
2710 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
2711
30954527
JM
27122015-09-28 Joseph Myers <joseph@codesourcery.com>
2713
2714 * soft-fp/adddf3.c: Update from glibc.
2715 * soft-fp/addsf3.c: Likewise.
2716 * soft-fp/addtf3.c: Likewise.
2717 * soft-fp/divdf3.c: Likewise.
2718 * soft-fp/divsf3.c: Likewise.
2719 * soft-fp/divtf3.c: Likewise.
2720 * soft-fp/double.h: Likewise.
2721 * soft-fp/eqdf2.c: Likewise.
2722 * soft-fp/eqsf2.c: Likewise.
2723 * soft-fp/eqtf2.c: Likewise.
2724 * soft-fp/extenddftf2.c: Likewise.
2725 * soft-fp/extended.h: Likewise.
2726 * soft-fp/extendsfdf2.c: Likewise.
2727 * soft-fp/extendsftf2.c: Likewise.
2728 * soft-fp/extendxftf2.c: Likewise.
2729 * soft-fp/fixdfdi.c: Likewise.
2730 * soft-fp/fixdfsi.c: Likewise.
2731 * soft-fp/fixdfti.c: Likewise.
2732 * soft-fp/fixsfdi.c: Likewise.
2733 * soft-fp/fixsfsi.c: Likewise.
2734 * soft-fp/fixsfti.c: Likewise.
2735 * soft-fp/fixtfdi.c: Likewise.
2736 * soft-fp/fixtfsi.c: Likewise.
2737 * soft-fp/fixtfti.c: Likewise.
2738 * soft-fp/fixunsdfdi.c: Likewise.
2739 * soft-fp/fixunsdfsi.c: Likewise.
2740 * soft-fp/fixunsdfti.c: Likewise.
2741 * soft-fp/fixunssfdi.c: Likewise.
2742 * soft-fp/fixunssfsi.c: Likewise.
2743 * soft-fp/fixunssfti.c: Likewise.
2744 * soft-fp/fixunstfdi.c: Likewise.
2745 * soft-fp/fixunstfsi.c: Likewise.
2746 * soft-fp/fixunstfti.c: Likewise.
2747 * soft-fp/floatdidf.c: Likewise.
2748 * soft-fp/floatdisf.c: Likewise.
2749 * soft-fp/floatditf.c: Likewise.
2750 * soft-fp/floatsidf.c: Likewise.
2751 * soft-fp/floatsisf.c: Likewise.
2752 * soft-fp/floatsitf.c: Likewise.
2753 * soft-fp/floattidf.c: Likewise.
2754 * soft-fp/floattisf.c: Likewise.
2755 * soft-fp/floattitf.c: Likewise.
2756 * soft-fp/floatundidf.c: Likewise.
2757 * soft-fp/floatundisf.c: Likewise.
2758 * soft-fp/floatunditf.c: Likewise.
2759 * soft-fp/floatunsidf.c: Likewise.
2760 * soft-fp/floatunsisf.c: Likewise.
2761 * soft-fp/floatunsitf.c: Likewise.
2762 * soft-fp/floatuntidf.c: Likewise.
2763 * soft-fp/floatuntisf.c: Likewise.
2764 * soft-fp/floatuntitf.c: Likewise.
2765 * soft-fp/gedf2.c: Likewise.
2766 * soft-fp/gesf2.c: Likewise.
2767 * soft-fp/getf2.c: Likewise.
2768 * soft-fp/ledf2.c: Likewise.
2769 * soft-fp/lesf2.c: Likewise.
2770 * soft-fp/letf2.c: Likewise.
2771 * soft-fp/muldf3.c: Likewise.
2772 * soft-fp/mulsf3.c: Likewise.
2773 * soft-fp/multf3.c: Likewise.
2774 * soft-fp/negdf2.c: Likewise.
2775 * soft-fp/negsf2.c: Likewise.
2776 * soft-fp/negtf2.c: Likewise.
2777 * soft-fp/op-1.h: Likewise.
2778 * soft-fp/op-2.h: Likewise.
2779 * soft-fp/op-4.h: Likewise.
2780 * soft-fp/op-8.h: Likewise.
2781 * soft-fp/op-common.h: Likewise.
2782 * soft-fp/quad.h: Likewise.
2783 * soft-fp/single.h: Likewise.
2784 * soft-fp/soft-fp.h: Likewise.
2785 * soft-fp/subdf3.c: Likewise.
2786 * soft-fp/subsf3.c: Likewise.
2787 * soft-fp/subtf3.c: Likewise.
2788 * soft-fp/truncdfsf2.c: Likewise.
2789 * soft-fp/trunctfdf2.c: Likewise.
2790 * soft-fp/trunctfsf2.c: Likewise.
2791 * soft-fp/trunctfxf2.c: Likewise.
2792 * soft-fp/unorddf2.c: Likewise.
2793 * soft-fp/unordsf2.c: Likewise.
2794 * soft-fp/unordtf2.c: Likewise.
2795
4dfe21ac
RE
27962015-09-24 Richard Earnshaw <rearnsha@arm.com>
2797
2798 PR libgcc/67624
2799 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
2800
df2a1cc4
RO
28012015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2802
2803 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2804 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
2805 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
2806 messages.
2807 (internal_mcount): Likewise.
2808 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
2809 crt_compile, add CRTSTUFF_T_CFLAGS_S.
2810
2d110442
RO
28112015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2812
2813 * configure.ac (libgcc_cv_solaris_crts): New test.
2814 * configure: Regenerate.
2815 * config.in: Regenerate.
2816 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
2817 * config/gmon-sol2.c: Rename to ...
2818 * config/sol2/gmon.c: ... this.
2819 Include auto-target.h.
2820 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
2821 * config/t-sol2: Rename to ...
2822 * config/sol2/t-sol2: ... this.
2823 (gmon.o): Reflect renaming.
2824 (crtp.o, crtpg.o): New rules.
2825 * config.host (*-*-solaris2*): Reflect renaming.
2826 Use system CRTs if present.
2827 Remove default CRT case.
2828
d572e439
JDA
28292015-09-23 John David Anglin <danglin@gcc.gnu.org>
2830
2831 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
2832 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
2833 __kernel_cmpxchg2.
2834 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
2835 (__sync_val_compare_and_swap_##WIDTH): Likewise.
2836 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
2837 (__sync_lock_test_and_set_##WIDTH): Likewise.
2838 (__sync_lock_release_##WIDTH): Likewise.
2839 (__sync_fetch_and_##OP##_4): Change result to match type of
2840 __kernel_cmpxchg.
2841 (__sync_##OP##_and_fetch_4): Likewise.
2842 (__sync_val_compare_and_swap_4): Likewise.
2843 (__sync_bool_compare_and_swap_4): likewise.
2844 (__sync_lock_test_and_set_4): Likewise.
2845 (__sync_lock_release_4): Likewise.
2846 (FETCH_AND_OP_2): Add long long variants.
2847 (OP_AND_FETCH_2): Likewise.
2848 (COMPARE_AND_SWAP_2 ): Likewise.
2849 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2850 (SYNC_LOCK_RELEASE_2): Likewise.
2851 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
2852
7d296953 28532015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
06caf59d
KY
2854
2855 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
2856 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
2857 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
2858 (get_available_features): Habdle new features.
2859
131314e1
JB
28602015-09-21 James Bowman <james.bowman@ftdichip.com>
2861
2862 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
2863 memory layout. Deal correctly with BSS region larger than 32K.
2864 Handle a watchdog reset like a power-on reset. Clean up unused
2865 code.
2866
04218b35
AD
28672015-09-18 Andrew Dixie <andrewd@gentrack.com>
2868 David Edelsohn <dje.gcc@gmail.com>
2869
2870 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
2871 * config/rs6000/crtdbase.S: New file.
2872 * config/rs6000/t-aix-cxa: Build crtdbase.o.
2873
c8338173
MF
28742015-09-15 Max Filippov <jcmvbkbc@gmail.com>
2875
2876 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
2877 Add support for call0 ABI.
2878
7a84bf71
JDA
28792015-09-13 John David Anglin <danglin@gcc.gnu.org>
2880
2881 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
2882
4efab402
SH
28832015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
2884
2885 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
2886 (__GTHREAD_HAS_COND): Likewise.
2887 (__gthread_t): Likewise.
2888 (__gthread_cond_t): Likewise.
2889 (__gthread_time_t): Likewise.
2890 (__GTHREAD_MUTEX_INIT): Likewise.
2891 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
2892 (__GTHREAD_COND_INIT): Likewise.
2893 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
2894 (__GTHREAD_TIME_INIT): Likewise.
2895 (__gthread_create): Likewise.
2896 (__gthread_join): Likewise.
2897 (__gthread_detach): Likewise.
2898 (__gthread_equal): Likewise.
2899 (__gthread_self): Likewise.
2900 (__gthread_yield): Likewise.
2901 (__gthread_cond_broadcast): Likewise.
2902 (__gthread_cond_signal): Likewise.
2903 (__gthread_cond_wait): Likewise.
2904 (__gthread_cond_timedwait): Likewise.
2905 (__gthread_cond_wait_recursive): Likewise.
2906 (__gthread_cond_destroy): Likewise.
2907 (rtems_gxx_once): Delete.
2908 (rtems_gxx_key_create): Likewise.
2909 (rtems_gxx_key_delete): Likewise.
2910 (rtems_gxx_getspecific): Likewise.
2911 (rtems_gxx_setspecific): Likewise.
2912 (rtems_gxx_mutex_init): Likewise.
2913 (rtems_gxx_mutex_destroy): Likewise.
2914 (rtems_gxx_mutex_lock): Likewise.
2915 (rtems_gxx_mutex_trylock): Likewise.
2916 (rtems_gxx_mutex_unlock): Likewise.
2917 (rtems_gxx_recursive_mutex_init): Likewise.
2918 (rtems_gxx_recursive_mutex_lock): Likewise.
2919 (rtems_gxx_recursive_mutex_trylock): Likewise.
2920 (rtems_gxx_recursive_mutex_unlock): Likewise.
2921 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
2922 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
2923 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
2924 (__gthread_once): Likewise.
2925 (__gthread_key_create): Likewise.
2926 (__gthread_key_delete): Likewise.
2927 (__gthread_getspecific): Likewise.
2928 (__gthread_setspecific): Likewise.
2929 (__gthread_key_t): Use <pthread.h> type.
2930 (__gthread_once_t): Likewise
2931 (__gthread_mutex_t): Use <sys/lock.h> type.
2932 (__gthread_recursive_mutex_t): Likewise
2933 (__gthread_mutex_lock): Use <sys/lock.h> function.
2934 (__gthread_mutex_trylock): Likewise.
2935 (__gthread_mutex_timedlock): Likewise.
2936 (__gthread_mutex_unlock): Likewise.
2937 (__gthread_mutex_destroy): Likewise.
2938 (__gthread_recursive_mutex_lock): Likewise.
2939 (__gthread_recursive_mutex_trylock): Likewise.
2940 (__gthread_recursive_mutex_timedlock): Likewise.
2941 (__gthread_recursive_mutex_unlock): Likewise.
2942 (__gthread_recursive_mutex_destroy): Likewise.
2943
991995c4
MF
29442015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2945
2946 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
2947 context->sp instead of context->cfa.
2948
0e19db59
MF
29492015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2950
2951 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
2952 with unwind-dw2-fde-dip.
2953
b6ac5f62
MF
29542015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2955
2956 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
2957 CALL12 followed by series of ENTRY to spill windowed registers.
2958 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
2959 instead of making linux spill syscall.
2960
3e0f3349
YR
29612015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
2962
2963 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
2964 (get_intel_cpu): Likewise.
2965
51c728b1
L
29662015-08-12 H.J. Lu <hongjiu.lu@intel.com>
2967
2968 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
2969 (get_intel_cpu): Add Knights Landing support.
2970
aff4eeac
UB
29712015-08-11 Uros Bizjak <ubizjak@gmail.com>
2972
2973 PR target/66954
2974 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
2975 (get_available_features): Handle FEATURE_PCLMUL.
2976
736e56da
L
29772015-08-10 H.J. Lu <hongjiu.lu@intel.com>
2978
2979 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
2980 Broadwell.
2981
54d22142
UB
29822015-07-22 Uros Bizjak <ubizjak@gmail.com>
2983
2984 PR target/66954
2985 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
2986 (get_available_features): Handle FEATURE_AES.
2987
20ca17e4
CLT
29882015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
2989
2990 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
2991 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
2992
ebe4a560
NS
29932015-07-17 Nathan Sidwell <nathan@codesourcery.com>
2994
2995 * offloadstuff.c: Constify host data.
2996
180744c0
JB
29972015-07-17 Jan Beulich <jbeulich@suse.com>
2998
2999 * config/t-softfp: Split up "else ifneq".
3000
a03c6ae3
SL
30012015-07-14 Sandra Loosemore <sandra@codesourcery.com>
3002 Cesar Philippidis <cesar@codesourcery.com>
3003 Chung-Lin Tang <cltang@codesourcery.com>
3004
3005 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
3006 for __nios2_arch__ level.
3007
73358db5
JM
30082015-07-13 John Marino <gnugcc@marino.st>
3009
3010 * config/i386/t-dragonfly: New.
3011
f9a12f7b
JDA
30122015-07-01 John David Anglin <danglin@gcc.gnu.org>
3013
3014 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
3015 better match light-weight syscall argument order.
3016 (__kernel_cmpxchg2): Likewise.
3017 Adjust callers.
3018
cb78b51c
L
30192015-06-30 H.J. Lu <hongjiu.lu@intel.com>
3020
3021 * config.host: Support i[34567]86-*-elfiamcu target.
3022 * config/t-softfp-sfdftf: New file.
3023 * config/i386/32/t-iamcu: Likewise.
3024 * configure: Regenerated.
3025
4fa0f9ea
JL
30262015-06-23 James Lemke <jwlemke@codesourcery.com>
3027
3028 libgcc/config/arm/
3029 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
3030
428b3812
L
30312015-05-27 H.J. Lu <hongjiu.lu@intel.com>
3032
3033 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
3034
7d296953 30352015-05-27 John Marino <gnugcc@marino.st>
89c54dd3
JM
3036
3037 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
3038 md_unwind_header
3039 * config/i386/freebsd-unwind.h: New.
3040
9b789cc1
UB
30412015-05-22 Uros Bizjak <ubizjak@gmail.com>
3042
3043 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
3044 i386/t-crtfm to tmake_file.
3045 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
3046 (set_fast_math): Use set_fast_math_sse for SSE targets.
3047 * config/i386/t-crtfm: Remove.
3048
3dafb220
AM
30492015-05-21 Alan Modra <amodra@gmail.com>
3050
3051 PR libgcc/66225
3052 * config/rs6000/morestack.S: Remove ".abiversion 1".
3053
0f0fd745
AM
30542015-05-20 Alan Modra <amodra@gmail.com>
3055
3056 * config/rs6000/morestack.S: New.
3057 * config/rs6000/t-stack-rs6000: New.
3058 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
3059 to tmake_file.
3060 * generic-morestack.c: Don't build for powerpc 32-bit.
3061
515ae71b
EB
30622015-05-19 Eric Botcazou <ebotcazou@adacore.com>
3063
3064 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
3065 Remove useless endif/ifneq ($(enable_shared),yes) pair.
3066
36805406
JL
30672015-05-16 James Bowman <james.bowman@ftdichip.com>
3068
3069 * config.host: FT32 target added.
3070 * config/ft32/*: New files for FT32 target.
3071
ff935d0c
MG
30722015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
3073
385c7747
UB
3074 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
3075 New macros.
3076 * config/arm/ieee754-df.S: Add CFI directives.
3077 * config/arm/ieee754-sf.S: Add CFI directives.
ff935d0c 3078
9b92a9f3
EB
30792015-05-13 Eric Botcazou <ebotcazou@adacore.com>
3080
3081 * configure.ac: Include config/sjlj.m4.
3082 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
3083 * config.in: Regenerate.
3084 * configure: Likewise.
3085 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
3086
98b5dc61
UB
30872015-05-12 Uros Bizjak <ubizjak@gmail.com>
3088
3089 * libgcov-util.c: Add space between string literal and macro name.
3090
5a0ff57c
SL
30912015-05-06 Sandra Loosemore <sandra@codesourcery.com>
3092 Chris Jones <chrisj@nvidia.com>
3093 Joshua Conner <jconner@nvidia.com>
3094
3095 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
3096 (arm*-*-uclinux*): Likewise.
3097 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
3098 * config/arm/crtfastmath.c: New file.
3099
d28ad5d4
BS
31002014-04-29 Bernd Schmidt <bernds@codesourcery.com>
3101
3102 * Makefile.in (real_host_noncanonical): New variable.
3103 (libsubdir): Use it.
3104 * configure.ac (real_host_noncanonical): Compute. Remove special
3105 case for intelmicemul.
3106 * configure: Regenerate.
3107
cc86234f
UB
31082015-04-28 Uros Bizjak <ubizjak@gmail.com>
3109
3110 * config/frv/elf-lib.h: New file.
3111 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
3112 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
3113 to tm_file.
3114
31152015-04-28 Uros Bizjak <ubizjak@gmail.com>
3116
3117 * config/frv/frvbengin.c: Do not include defaults.h
3118 * config/frv/frvend.c: Ditto.
3119
2f6bd6eb
YS
31202015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
3121
3122 * config.host: Add h8300-*-linux
3123 * config/h8300/t-linux: New file.
3124 * config/h8300/lib1funs.s: Change symbol prefix.
3125 * config/h8300/sfp-machine.h: 64bit double support.
3126
15aa7b44
GR
31272015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
3128 Szabolcs Nagy <szabolcs.nagy@arm.com>
3129
3130 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
3131 Linux if target provides dl_iterate_phdr.
3132
abd0cdc9
L
31332015-04-17 H.J. Lu <hongjiu.lu@intel.com>
3134
3135 PR target/65612
3136 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
3137 * config/i386/cpuinfo.c (__cpu_model): Initialize.
3138 (__cpu_indicator_init@GCC_4.8.0): New.
3139 (__cpu_model@GCC_4.8.0): Likewise.
3140 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
3141 -DUSE_ELF_SYMVER.
3142
72ed1126
NC
31432015-04-16 Nick Clifton <nickc@redhat.com>
3144
3145 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
3146 and __modhi3 functions.
3147 * config/rl78/divmodso.S: Add G14 and G13 versions of the
3148 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
3149
d26b2237
CG
31502015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
3151
3152 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
3153 do-while loop as macro body to avoid warnings.
3154
cacf1f59
JJ
31552015-04-10 Jakub Jelinek <jakub@redhat.com>
3156 Iain Sandoe <iain@codesourcery.com>
3157
3158 PR target/65351
3159 * configure: Regenerate.
3160
e8a4ed3b
JJ
31612015-04-07 Jakub Jelinek <jakub@redhat.com>
3162 Iain Sandoe <iain@codesourcery.com>
3163
3164 PR target/65351
3165 * configure: Regenerate.
3166
0341335e
CLT
31672015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
3168
3169 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
3170
590e2636 31712015-03-03 Max Filippov <jcmvbkbc@gmail.com>
0341335e 3172
590e2636
MF
3173 Implement call0 ABI for xtensa
3174 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
3175 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
3176 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
3177 use ret in call0 ABI.
3178 * config/xtensa/t-windowed: New file.
3179 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
3180 * libgcc/configure: Regenerated.
3181 * libgcc/configure.ac: Check if xtensa target is configured for
3182 windowed ABI and thus needs to use custom unwind code.
3183
7727f8f2
JW
31842015-02-12 Jonathan Wakely <jwakely@redhat.com>
3185
3186 PR libgcc/64885
3187 * gthr-single.h: Use __unused__ attribute instead of unused.
3188 * config/gthr-vxworks.h: Likewise.
3189 * config/i386/gthr-win32.h: Likewise.
3190
0e4a0def
KT
31912015-02-27 Kai Tietz <ktietz@redhat.com>
3192
3193 PR target/65038
3194 * config.in: Regenerated.
3195 * configure: Likewise.
3196 * configure.ac (AC_HEADER_STDC): Added explicit.
3197 (AC_CHECK_HEADERS): Check for default headers plus
3198 for ftw.h header.
3199 * libgcov-util.c (gcov_read_profile_dir): Disable use
3200 of ftw-function, if header is not found.
3201 (ftw_read_file): Likewise.
3202
b6530d0a
TS
32032015-02-23 Thomas Schwinge <thomas@codesourcery.com>
3204
3205 PR target/65181
3206 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
3207 -Dinhibit_libc.
3208
53cfb467
SL
32092015-02-17 Sandra Loosemore <sandra@codesourcery.com>
3210
3211 * config/arm/bpabi.S (test_div_by_zero): Make label names
3212 consistent between thumb2 and arm mode cases. Separate the
3213 signed comparison on the high word of the numerator from the
3214 unsigned comparison on the low word.
3215 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
3216 signed comparison.
3217
77d10a1b
JM
32182015-02-17 Joseph Myers <joseph@codesourcery.com>
3219
3220 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
3221 and <string.h>.
3222 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
3223
98174188
RE
32242015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
3225
3226 PR gcov-profile/61889
471274de 3227 * libgcov-driver-system.c: undefine clashing macro for mkdir.
98174188 3228
771bef14
NC
32292015-02-02 Nick Clifton <nickc@redhat.com>
3230
3231 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
3232 rounding up the fraction.
3233
40702893
JDA
32342015-01-31 John David Anglin <danglin@gcc.gnu.org>
3235
3236 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
3237 oldval and newval to const void *. Fix typo.
3238 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
3239 (FETCH_AND_OP_WORD): Likewise.
3240 (OP_AND_FETCH_WORD): Likewise.
3241 (COMPARE_AND_SWAP_2): Likewise.
3242 (__sync_val_compare_and_swap_4): Likewise.
3243 (__sync_lock_test_and_set_4): Likewise.
3244 (SYNC_LOCK_RELEASE_2): Likewise.
3245 Remove support for long long atomic operations.
3246
f7f049fa
CT
32472015-01-27 Caroline Tice <cmtice@google.com>
3248
3249 Committing VTV Cywin/Ming patch for Patrick Wollgast
3250 * Makefile.in: Move rules to build vtv_*.o out of the check
3251 for CUSTOM_CRTSTUFF.
3252 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
3253 i[34567]86-*-mingw*)
3254 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
3255 enable_vtable_verify.
3256
8410904a
NC
32572015-01-27 Nick Clifton <nickc@redhat.com>
3258
3259 * config/rl78/cmpsi2.S: Use function start and end macros.
3260 (__gcc_bcmp): New function.
3261 * config/rl78/lshrsi3.S: Use function start and end macros.
3262 * config/rl78/mulsi3.S: Add support for G10.
3263 (__mulqi3): New function for G10.
3264 * config/rl78/signbit.S: Use function start and end macros.
3265 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
3266 fpmath-sf.S.
3267 (LIB2FUNCS_EXCLUDE): Define.
3268 (LIB2FUNCS_ST): Define.
3269 * config/rl78/trampoline.S: Use function start and end macros.
3270 * config/rl78/vregs.h (START_FUNC): New macro.
3271 (START_ANOTHER_FUNC): New macro.
3272 (END_FUNC): New macro.
3273 (END_ANOTHER_FUNC): New macro.
3274 * config/rl78/bit-count.S: New file. Contains assembler
3275 implementations of the bit counting functions: ___clzhi2,
3276 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
3277 __paritysi2, __popcounthi2 and __popcountsi2.
3278 * config/rl78/fpbit-sf.S: New file. Contains assembler
3279 implementationas of the math functions: __negsf2, __cmpsf2,
3280 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
3281 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
3282 * config/rl78/fpmath-sf.S: New file. Contains assembler
3283 implementations of the math functions: __subsf3, __addsf3,
3284 __mulsf3 and __divsf3
3285
f962fbf1
RO
32862015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3287
3288 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
3289 Add i386/elf-lib.h to tm_file.
3290 * config/i386/elf-lib.h: Fix comment.
3291 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
3292 && __sun__ && __svr4__]: Remove workaround.
3293
939911c5
ASJ
32942015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
3295
3296 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
3297 FEATURE_BMI2.
3298 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
3299
c8f2dff2
L
33002015-01-24 H.J. Lu <hongjiu.lu@intel.com>
3301
3302 * config/i386/cpuinfo.c (processor_subtypes): Add
3303 INTEL_COREI7_BROADWELL.
3304 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
3305 model numbers.
3306
7bbf9734
UB
33072015-01-23 Uros Bizjak <ubizjak@gmail.com>
3308
3309 * config/i386/elf-lib.h: New file.
3310 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
3311 Wrap definition in #ifdef __i386__.
3312 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
3313 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
3314 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
3315 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
3316 to tm_file.
3317
324820f1
CG
33182015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
3319
3320 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
3321 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
3322
a9ce4e4a
CLT
33232015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
3324
3325 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
3326 Update rt_sigframe format and address for current Nios II
3327 Linux conventions.
3328
82a19768
AT
33292015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
3330
3331 * config.host (arm*-*-freebsd*): Add new configuration for
3332 arm*-*-freebsd*.
3333 * config/arm/freebsd-atomic.c: New file.
3334 * config/arm/t-freebsd: Likewise.
3335 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
3336 'PC-relative indirect' OS's.
3337
0969ec7d
EB
33382015-01-06 Eric Botcazou <ebotcazou@adacore.com>
3339
3340 * config.host: Add Visium support.
3341 * config/visium: New directory.
3342
5624e564
JJ
33432015-01-05 Jakub Jelinek <jakub@redhat.com>
3344
3345 Update copyright years.
3346
82f84ecb
MF
33472014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
3348
3349 * config.host: Support mipsisa32r6 and mipsisa64r6.
3350 * config/mips/mips16.S: Do not build for R6.
3351
69044fa9
OE
33522014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
3353
3354 * config/sh/crt.h: New.
3355 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
3356 symbols.
3357 * config/sh/crt1.S: Likewise.
3358
2405e0ea
UB
33592014-12-15 Uros Bizjak <ubizjak@gmail.com>
3360
3361 PR libgcc/63832
3362 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
3363 func_ptr *dtor_list temporary variable to avoid "array subscript
3364 is above array bounds" warnings.
3365
7d296953 33662014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
dd913323
MH
3367
3368 * Makefile.in (with_aix_soname): Define.
3369 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
3370 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
3371 * configure: Recreate.
3372
a66272f6
OH
33732014-12-05 Olivier Hainque <hainque@adacore.com>
3374
3375 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
3376 now provided by defaults.h.
3377
6342b2c5
OE
33782014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
3379
7d0ee249 3380 PR target/55351
6342b2c5
OE
3381 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
3382 whether it's defined.
3383
c17eac85
IT
33842014-11-27 Ilya Tocar <ilya.tocar@intel.com>
3385
3386 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
3387 * config/i386/cpuinfo.c (get_available_features): Detect it.
3388
1025cb6c
TW
33892014-11-27 Tony Wang <tony.wang@arm.com>
3390
3391 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
3392 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
3393 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
3394
d19f2e38
SB
33952014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
3396
3397 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
3398
17f6e9a3
JDA
33992014-11-24 John David Anglin <danglin@gcc.gnu.org>
3400
3401 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
3402 instead.
3403
0cd7c672
GM
34042014-11-21 Guy Martin <gmsoft@tuxicoman.be>
3405 John David Anglin <danglin@gcc.gnu.org>
3406
3407 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
3408 (FETCH_AND_OP_2): New. Use for subword and double word operations.
3409 (OP_AND_FETCH_2): Likewise.
3410 (COMPARE_AND_SWAP_2): Likewise.
3411 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3412 (SYNC_LOCK_RELEASE_2): Likewise.
3413 (SUBWORD_SYNC_OP): Remove.
3414 (SUBWORD_VAL_CAS): Likewise.
3415 (SUBWORD_BOOL_CAS): Likewise.
3416 (FETCH_AND_OP_WORD): Update.
3417 Consistently use signed types.
cc86234f 3418
85c64bbe
BS
34192014-11-13 Bernd Schmidt <bernds@codesourcery.com>
3420 Thomas Schwinge <thomas@codesourcery.com>
3421 Ilya Verbin <ilya.verbin@intel.com>
3422 Andrey Turetskiy <andrey.turetskiy@intel.com>
3423
3424 * Makefile.in (crtoffloadbegin$(objext)): New rule.
3425 (crtoffloadend$(objext)): Likewise.
3426 * configure: Regenerate.
3427 * configure.ac (accel_dir_suffix): Compute new variable.
3428 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
3429 if enable_offload_targets is not empty.
3430 * offloadstuff.c: New file.
3431
52a1ff8b
NC
34322014-11-13 Nick Clifton <nickc@redhat.com>
3433
3434 * config/rl78/divmodhi.S: Add support for the G10 architecture.
3435 Use START_FUNC and END_FUNC macros to enable linker garbage
3436 collection.
3437 * config/rl78/divmodqi.S: Likewise.
3438 * config/rl78/divmodsi.S: Likewise.
3439 * config/rl78/mulsi3.S: Likewise.
3440 * config/rl78/lib2div.c: Remove G10 functions.
3441 * config/rl78/lib2muls.c: Likewise.
3442 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
3443 * config/rl78/vregs.h (START_FUNC): New macro.
3444 (END_FUNC): New macro.
3445
050af144
MF
34462014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
3447
3448 * config/mips/mips16.S: Set .module when supported. Update O32
3449 FP64 calling convention and use for FPXX when possible. Add FPXX
3450 calling convention fallback case.
3451
738f2522
BS
34522014-11-06 Bernd Schmidt <bernds@codesourcery.com>
3453
3454 * config.host: Handle nvptx-*-*.
3455 * shared-object.mk (as-flags-$o): Define.
3456 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
3457 -xassembler-with-cpp.
3458 * static-object.mk: Identical changes.
3459 * config/nvptx/t-nvptx: New file.
3460 * config/nvptx/crt0.s: New file.
3461 * config/nvptx/free.asm: New file.
3462 * config/nvptx/malloc.asm: New file.
3463 * config/nvptx/realloc.c: New file.
3464
e610393c
JM
34652014-10-30 Joseph Myers <joseph@codesourcery.com>
3466
3467 * Makefile.in (libgcc.map.in): New target.
3468 (libgcc.map): Use libgcc.map.in.
3469 * config/t-softfp (softfp_compat): New variable to be set by
3470 users.
3471 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
3472 variables.
3473 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
3474 directory.
3475 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
3476 that use compat symbols and disable all code unless [SHARED].
3477 * config/t-softfp-compat: New file.
3478 * find-symver.awk: New file.
3479 * configure.ac (--with-glibc-version): New configure option.
3480 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
3481 * configure: Regenerate.
3482 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
3483 soft-float and e500.
3484
bc1b3a88
JM
34852014-10-29 Joseph Myers <joseph@codesourcery.com>
3486
3487 * config/t-hardfp (hardfp_exclusions): Document new variable for
3488 user to define.
3489 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
3490 * config/t-softfp (softfp_extras): Document new variable for user
3491 to define.
3492 (softfp_func_list): Add functions from $(softfp_extras).
3493 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
3494 * config.host (powerpc*-*-linux*): For e500v1, use
3495 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
3496 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
3497 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
3498
ef2810c1
JDA
34992014-10-26 John David Anglin <danglin@gcc.gnu.org>
3500
3501 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
3502 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
3503 memory read accesses are ok.
3504
d80c2bea
JM
35052014-10-25 Joseph Myers <joseph@codesourcery.com>
3506
3507 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
3508 * configure: Regenerate.
3509 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
3510 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
3511 of soft-fp for 32-bit classic hard float. Do not use
3512 t-softfp-excl for soft float.
3513
693b297b
JM
35142014-10-22 Joseph Myers <joseph@codesourcery.com>
3515
3516 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
3517 configurations.
3518 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
3519 Remove variables.
3520
18a3415e
GJL
35212014-10-22 Georg-Johann Lay <avr@gjlay.de>
3522
3523 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
3524 introduced with 2014-10-21 trunk r216525.
3525
c1dd9790 35262014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
7d296953
JJ
3527 Vidya Praveen <vidya.praveen@atmel.com>
3528 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
3529 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
3530 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
c1dd9790
JR
3531
3532 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
3533 order.
3534
3535 Updated library functions for AVRTINY arch.
3536 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
3537 Replaced occurrences of r0/r1 with tmp/zero reg macros.
3538 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
3539 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
3540 wsubi/wadi macors.
3541 (__mulsi3_helper): Update stack, preserve callee saved regs and
3542 argument from stack. Restore callee save registers.
3543 (__mulpsi3): Likewise.
3544 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
3545 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
18a3415e 3546 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
c1dd9790
JR
3547 AVRTINY.
3548 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
3549 (__do_copy_data): Added new definition for AVRTINY.
3550 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
3551 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
3552 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
3553 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
3554 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
3555 macors.
18a3415e 3556 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
c1dd9790
JR
3557 AVRTINY.
3558
18a3415e 3559 Fix broken long multiplication on tiny arch.
c1dd9790 3560
5f606431
JM
35612014-10-09 Joseph Myers <joseph@codesourcery.com>
3562
3563 * soft-fp/double.h: Update from glibc.
3564 * soft-fp/eqdf2.c: Likewise.
3565 * soft-fp/eqsf2.c: Likewise.
3566 * soft-fp/eqtf2.c: Likewise.
3567 * soft-fp/extenddftf2.c: Likewise.
3568 * soft-fp/extended.h: Likewise.
3569 * soft-fp/extendsfdf2.c: Likewise.
3570 * soft-fp/extendsftf2.c: Likewise.
3571 * soft-fp/extendxftf2.c: Likewise.
3572 * soft-fp/gedf2.c: Likewise.
3573 * soft-fp/gesf2.c: Likewise.
3574 * soft-fp/getf2.c: Likewise.
3575 * soft-fp/ledf2.c: Likewise.
3576 * soft-fp/lesf2.c: Likewise.
3577 * soft-fp/letf2.c: Likewise.
3578 * soft-fp/op-1.h: Likewise.
3579 * soft-fp/op-2.h: Likewise.
3580 * soft-fp/op-4.h: Likewise.
3581 * soft-fp/op-8.h: Likewise.
3582 * soft-fp/op-common.h: Likewise.
3583 * soft-fp/quad.h: Likewise.
3584 * soft-fp/single.h: Likewise.
3585 * soft-fp/soft-fp.h: Likewise.
3586 * soft-fp/unorddf2.c: Likewise.
3587 * soft-fp/unordsf2.c: Likewise.
3588 * soft-fp/unordtf2.c: Likewise.
3589 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
3590 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
3591 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
3592 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
3593 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
3594 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
3595 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
3596 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
3597 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
3598 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
3599
9b84e7a8
RX
36002014-10-08 Rong Xu <xur@google.com>
3601
3602 * libgcov-util.c (read_gcda_file): Fix format.
3603 (find_match_gcov_info): Ditto.
3604 (calculate_2_entries): New.
3605 (compute_one_gcov): Ditto.
3606 (gcov_info_count_all_cold): Ditto.
3607 (gcov_info_count_all_zero): Ditto.
3608 (extract_file_basename): Ditto.
3609 (get_file_basename): Ditto.
3610 (set_flag): Ditto.
3611 (matched_gcov_info): Ditto.
3612 (calculate_overlap): Ditto.
3613 (gcov_profile_overlap): Ditto.
3614 * libgcov-driver.c (compute_summary): Make
3615 it avavilable for external calls.
3616
fe1090c1
RX
36172014-10-06 Rong Xu <xur@google.com>
3618
3619 * Makefile.in: Ditto.
3620 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
3621 (gcov_sort_icall_topn_counter): Ditto.
3622 (gcov_sort_topn_counter_arrays): Ditto.
3623 (dump_one_gcov): Sort indirect_call topn counters.
3624 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
3625 function.
3626 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
3627 utility function.
3628 (__gcov_indirect_call_topn_profiler): New profiler function.
3629 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
3630 * libgcov.h: New decls.
3631
3daa7bbf
TS
36322014-10-04 Trevor Saunders <tsaunders@mozilla.com>
3633
3634 * config.host: Remove support for score-*.
3635
9a79452d
JM
36362014-09-22 Joseph Myers <joseph@codesourcery.com>
3637
3638 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3639 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
3640 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
3641 __LIBGCC_XF_MANT_DIG__.
3642 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
3643 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
3644 __LIBGCC_TF_MANT_DIG__.
3645 * libgcc2.c (NOTRUNC): Define in terms of
3646 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
3647 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3648
1a849e50
JM
36492014-09-22 Joseph Myers <joseph@codesourcery.com>
3650
3651 PR target/63312
3652 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
3653 New macros.
3654
598a1586
HPN
36552014-09-22 Hans-Peter Nilsson <hp@axis.com>
3656
3657 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
3658 override USE_PT_GNU_EH_FRAME.
3659 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
3660 check USE_EH_FRAME_REGISTRY_ALWAYS against
3661 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
3662 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
3663 variable for substituted force_explicit_eh_registry.
3664 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
3665 * configure.ac (explicit-exception-frame-registration):
3666 New AC_ARG_ENABLE.
3667 * configure: Regenerate.
3668
3a8fe7c6
OH
36692014-09-19 Olivier Hainque <hainque@adacore.com>
3670
3671 * config.host (powerpc-wrs-vxworksmils): New configuration,
3672 same as vxworksae.
3673
dd69f047
JM
36742014-09-18 Joseph Myers <joseph@codesourcery.com>
3675
3676 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
3677
e770bfd9
JM
36782014-09-18 Joseph Myers <joseph@codesourcery.com>
3679
3680 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
3681 bits not set bits as indicating trapping exceptions.
3682
cadb2b96
NS
36832014-09-17 Nathan sidwell <nathan@acm.org>
3684
3685 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
3686 (LIBGCOV_DRIVER): ... here.
3687 * libgcov-driver.c (gcov_master): New.
3688 (gcov_exit): Remove from master chain.
3689 (__gcov_init): Add to master chain if version compatible. Don't
3690 clear the version.
3691 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
3692 (gcov_reset_int): Clear master chain, if compatible.
3693 (gcov_dump_int): New internal interface. Dump master chain, if
3694 compatible.
3695 (gcov_dump): Alias for gcov_dump_int.
3696 * libgcov.h (struct gcov_root): Add next and prev fields.
3697 (struct gcov_master): New struct.
3698 (__gcov_master): New.
3699 (gcov_dump_int): Declare.
3700
580d22a3
OH
37012014-09-17 Olivier Hainque <hainque@adacore.com>
3702
3703 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
3704 and crtbegin.o + crtend.o to extra_parts.
3705
8cc4b7a2
JM
37062014-09-12 Joseph Myers <joseph@codesourcery.com>
3707
3708 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
3709 __LIBGCC_HAS_SF_MODE__.
3710 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3711 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3712 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3713 * config/libbid/bid_gcc_intrinsics.h
3714 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3715 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3716 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3717 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3718 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
3719 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3720
ea3f2b24
GJL
37212014-09-11 Georg-Johann Lay <avr@gjlay.de>
3722
3723 PR target/63223
3724 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
3725 and R24 as needed. Make work for all devices and .text locations.
3726 (__do_global_ctors, __do_global_dtors): Use word addresses.
3727 (__tablejump__, __tablejump_elpm__): Remove functions.
3728 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
3729 Add _tablejump2.
3730 (XICALL, XIJMP): New macros.
3731
b677236a
MS
37322014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
3733 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3734
3735 * config.host (aarch64*): Include crtfastmath.o and
3736 t-crtfm.
3737 * config/aarch64/crtfastmath.c: New file.
3738
157e859f
TS
37392014-09-08 Trevor Saunders <tsaunders@mozilla.com>
3740
3741 * config.host: Remove picochip support.
3742 * config/picochip/adddi3.S: Remove.
3743 * config/picochip/ashlsi3.S: Remove.
3744 * config/picochip/ashlsi3.c: Remove.
3745 * config/picochip/ashrsi3.S: Remove.
3746 * config/picochip/ashrsi3.c: Remove.
3747 * config/picochip/clzsi2.S: Remove.
3748 * config/picochip/cmpsi2.S: Remove.
3749 * config/picochip/divmod15.S: Remove.
3750 * config/picochip/divmodhi4.S: Remove.
3751 * config/picochip/divmodsi4.S: Remove.
3752 * config/picochip/lib1funcs.S: Remove.
3753 * config/picochip/longjmp.S: Remove.
3754 * config/picochip/lshrsi3.S: Remove.
3755 * config/picochip/lshrsi3.c: Remove.
3756 * config/picochip/parityhi2.S: Remove.
3757 * config/picochip/popcounthi2.S: Remove.
3758 * config/picochip/setjmp.S: Remove.
3759 * config/picochip/subdi3.S: Remove.
3760 * config/picochip/t-picochip: Remove.
3761 * config/picochip/ucmpsi2.S: Remove.
3762 * config/picochip/udivmodhi4.S: Remove.
3763 * config/picochip/udivmodsi4.S: Remove.
3764
66bb34c0
JM
37652014-09-08 Joseph Myers <joseph@codesourcery.com>
3766
3767 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
3768 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
3769 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
3770 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
3771 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
3772 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
3773 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
3774 defined and LIBGCC2_HAS_DF_MODE is defined.
3775 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
3776 defined and LIBGCC2_HAS_XF_MODE is defined.
3777 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
3778 defined and LIBGCC2_HAS_TF_MODE is defined.
3779
9686a2e6
JM
37802014-09-08 Joseph Myers <joseph@codesourcery.com>
3781
3782 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
3783 and ROUND_TOWARDS_ZERO conditionals.
3784
71c3e2ef
NS
37852014-09-07 Nathan sidwell <nathan@acm.org>
3786
3787 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
3788 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
3789
53d68b9f
JM
37902014-09-05 Joseph Myers <joseph@codesourcery.com>
3791
3792 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
3793 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3794 uses to __LIBGCC_STACK_POINTER_REGNUM__.
3795 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3796 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3797 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3798 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3799 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
3800 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
3801 (DWARF_FRAME_REGISTERS): Change all uses to
3802 __LIBGCC_DWARF_FRAME_REGISTERS__.
3803 (EH_RETURN_STACKADJ_RTX): Change all uses to
3804 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3805 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
3806 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
3807 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
3808 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
3809 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
3810 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
3811 to __LIBGCC_EH_FRAME_SECTION_NAME__.
3812 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
3813 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
3814 __LIBGCC_STACK_POINTER_REGNUM__.
3815 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3816 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3817 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3818 to __LIBGCC_STACK_POINTER_REGNUM__.
3819 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3820 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3821 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3822 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3823 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3824 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3825 (STACK_POINTER_REGNUM): Change all uses to
3826 __LIBGCC_STACK_POINTER_REGNUM__.
3827 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
3828 use to __LIBGCC_STACK_POINTER_REGNUM__.
3829 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3830 uses to __LIBGCC_STACK_POINTER_REGNUM__.
3831 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
3832 to __LIBGCC_DWARF_FRAME_REGISTERS__.
3833 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
3834 to __LIBGCC_DWARF_FRAME_REGISTERS__.
3835 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3836 to __LIBGCC_STACK_POINTER_REGNUM__.
3837 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
3838 Remove conditional definition.
3839 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
3840 __LIBGCC_TEXT_SECTION_ASM_OP__.
3841 (EH_FRAME_SECTION_NAME): Change all uses to
3842 __LIBGCC_EH_FRAME_SECTION_NAME__.
3843 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
3844 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
3845 (CTORS_SECTION_ASM_OP): Change all uses to
3846 __LIBGCC_CTORS_SECTION_ASM_OP__.
3847 (DTORS_SECTION_ASM_OP): Change all uses to
3848 __LIBGCC_DTORS_SECTION_ASM_OP__.
3849 (JCR_SECTION_NAME): Change all uses to
3850 __LIBGCC_JCR_SECTION_NAME__.
3851 (INIT_SECTION_ASM_OP): Change all uses to
3852 __LIBGCC_INIT_SECTION_ASM_OP__.
3853 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3854 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3855 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
3856 __LIBGCC_STACK_GROWS_DOWNWARD__.
3857 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
3858 __LIBGCC_INIT_SECTION_ASM_OP__.
3859 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3860 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3861 (EH_FRAME_SECTION_NAME): Change all uses to
3862 __LIBGCC_EH_FRAME_SECTION_NAME__.
3863 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
3864 definitions. Change all uses to
3865 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
3866 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
3867 __LIBGCC_STACK_GROWS_DOWNWARD__.
3868 (DWARF_FRAME_REGISTERS): Change all uses to
3869 __LIBGCC_DWARF_FRAME_REGISTERS__.
3870 (EH_RETURN_STACKADJ_RTX): Change all uses to
3871 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3872 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
3873 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
3874 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
3875 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
3876 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
3877
b20ee094
NS
38782014-09-02 Nathan sidwell <nathan@acm.org>
3879
3880 * libgcov-interface.c (STRONG_ALIAS): New.
3881 (__gcov_flush): Call __gcov_reset_int.
3882 (__gcov_reset): Strong alias for ...
3883 (__gcov_reset_ing): ... this renamed hidden version.
3884 * libgcov.h (__gcov_reset_int): New declaration.
3885
1ac83976
YS
38862014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
3887
25efdb9f
YS
3888 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
3889 call from here...
3890 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
3891 (__dso_handle): Define on Cygwin.
3892 * config/i386/t-cygming (crtbeginS.o): New rule.
3893 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
3894
1ac83976
YS
3895 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
3896 declaration syntax.
3897
c6f9ea3b
SE
38982014-08-13 Steve Ellcey <sellcey@mips.com>
3899
3900 * crtstuff.c: Undef caddr_t.
3901
5b1ea7c5
SE
39022014-08-12 Steve Ellcey <sellcey@mips.com>
3903
3904 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
3905
4303c581
NS
39062014-08-07 Nathan Sidwell <nathan@acm.org>
3907
3908 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
3909 (LIBGCOV_DRIVER): ... to here.
3910 * libgcov.h (gcov_do_dump): New #define.
3911 (struct gcov_root): New.
3912 (__gcov_root): New declaration.
3913 (__gcov_dump_one): Declare.
3914 * libgcov-driver.c (gcov_list, gcov_dump_complete,
3915 run_accounted): Delete.
3916 (gcov_compute_histogram): Add LIST argument, adjust.
3917 (compute_summary): Adjust gcov_compute_histogram call.
3918 (gcov_do_dump): Not hidden, static in libgcov.
3919 (gcov_clear): Move to interface.c.
3920 (__gcov_dump_one): New, broken out of ...
3921 (gcov_exit): ... here. Make static.
3922 (__gcov_root): New.
3923 (__gcov_init): Adjust.
3924 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
3925 declarations.
3926 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
3927 (gcov_clear): Moved from driver.c. Add LIST argument.
3928 (__gcov_reset): Adjust for changed interfaces.
3929 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
3930
23742a9e
RAR
39312014-08-04 Rohit <rohitarulraj@freescale.com>
3932
3933 PR target/60102
3934 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
d406ae47 3935 based on change in SPE high register numbers and 3 HTM registers.
23742a9e 3936
b98a872b
NS
39372014-08-01 Nathan Sidwell <nathan@acm.org>
3938
3939 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
3940 LIBGCOV_INTERFACE): Reformat.
3941 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
3942 IN_GCOV_TOOL.
3943 * libgcov-interface.c: Reformat some comments.
3944 (__gcov_flush_mx): Add declaration. Tidy up definition.
3945
6adaaa1d
AM
39462014-07-31 Alan Modra <amodra@gmail.com>
3947 Peter Bergner <bergner@vnet.ibm.com>
3948
3949 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
3950 (pack_ldouble): New function.
3951 (__gcc_qadd): Use it.
3952 (__gcc_qmul): Likewise.
3953 (__gcc_qdiv): Likewise.
3954 (__gcc_qneg): Likewise.
3955 (__gcc_stoq): Likewise.
3956 (__gcc_dtoq): Likewise.
3957
87cb0c0c
UW
39582014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
3959
3960 * config/s390/tpf-unwind.h: Include <stdbool.h>.
3961 (__tpf_eh_return): Add original return address as second parameter.
3962 Handle cases where unwinder routines were called directly, instead
3963 of from within the C++ library.
3964
19926161
NS
39652014-07-29 Nathan Sidwell <nathan@acm.org>
3966
3967 * libgcov.h: Move renaming of entry points to lib gcov specific
3968 portion.
3969 (gcov_do_dump): New rename.
3970 (gcov_rewrite): Remove inline, make HIDDEN.
3971 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
3972 (gcov_exit_compute_summary): Rename to ...
3973 (compute_summary): ... here. Add LIST argument.
3974 (gcov_exit_merge_gcda): Rename to ...
3975 (merge_one_data): ... here.
3976 (gcov_exit_write_gcda): Rename to ...
3977 (write_one_data): ... here.
3978 (gcov_exit_merge_summary): Rename to ...
3979 (merge_summary): Add RUN_COUNTED argument.
3980 (gcov_exit_dump_gcov): Rename to ...
3981 (dump_one_gcov): Add RUN_COUNTED argument.
3982 (gcov_do_dump): New function, broken out of ...
3983 (gcov_exit): ... here. Call it.
3984
17522262
AG
39852014-07-27 Anthony Green <green@moxielogic.com>
3986
3987 * config.host: Add moxiebox configuration suppport.
3988
6dc33097
NS
39892014-07-27 Nathan Sidwell <nathan@acm.org>
3990
3991 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
3992 (struct gcov_filename): ... here. Include buffer and max length
3993 fields.
3994 (gcov_max_filename): Remove.
3995 (gi_filename): Remove.
3996 (gcov_exit_compute_summary): Compute max filename here.
3997 (gcov_exit_merge_gcda): Add filename parm, adjust.
3998 (gcov_exit_merge_summary): Likewise.
3999 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
4000 (gcov_exit): Likewise.
4001 (__gcov_init): Don't calculate max length here.
4002 * libgcov_util.c (max_filename_len): Remove.
4003 (read_gcda_file): Don't calculate max length here.
4004 (gcov_read_profile_dir): Don't propagate here.
4005 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
4006 struct gcov_filename changes.
4007 (gcov_exit_open_gcda_file): Likewise.
4008
770f687d
NS
40092014-07-25 Nathan Sidwell <nathan@acm.org>
4010
4011 * libgcov-driver.c (set_gcov_dump_complete,
4012 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
4013 functions polluting user's namespace.
4014 (gcov_exit): Set variable directly.
4015 (gcov_clear): Reset variable directly.
4016 * libgcov-interface.c (get_gcov_dymp_complete,
4017 reset_gov_dump_complete): Remove declarations.
4018 (__gcov_reset, __gcov_dump): Don't call them.
4019
fabf71ba
DD
40202014-07-24 DJ Delorie <dj@redhat.com>
4021
4022 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
770f687d
NS
4023 (__gcc_deregister_frame): Move logic to detect deregister function
4024 to ...
4025 (__gcc_register_frame): here, so it's consistent with the register
4026 logic.
fabf71ba 4027
d10ee722
NS
40282014-07-23 Nathan Sidwell <nathan@acm.org>
4029
4030 * libgcov-driver.c (set_gcov_list): Remove.
4031 (gcov_list): Make non-static in GCOV_TOOL.
4032 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
4033
a4137090
JDA
40342014-07-17 John David Anglin <danglin@gcc.gnu.org>
4035
4036 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
4037 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
4038 Don't use SYNC_LOCK_RELEASE for int type.
4039
72602c6c
RB
40402014-07-14 Richard Biener <rguenther@suse.de>
4041
4042 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
4043
d5313205
RX
40442014-07-11 Rong Xu <xur@google.com>
4045
4046 * libgcov-util.c (gcov_max_filename): Fix declartion.
4047
c77556a5
RX
40482014-07-10 Rong Xu <xur@google.com>
4049
4050 Add gcov-tool: an offline gcda profile processing tool
4051 Support.
4052 * libgcov-driver.c (gcov_max_filename): Make available
4053 to gcov-tool.
4054 * libgcov-merge.c (__gcov_merge_add): Replace
4055 gcov_read_counter() with a Macro.
4056 (__gcov_merge_ior): Ditto.
4057 (__gcov_merge_time_profile): Ditto.
4058 (__gcov_merge_single): Ditto.
4059 (__gcov_merge_delta): Ditto.
4060 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
4061 in the utility functions.
4062 (set_fn_ctrs): Utility function for reading gcda files to in-memory
4063 gcov_list object link lists.
4064 (tag_function): Ditto.
4065 (tag_blocks): Ditto.
4066 (tag_arcs): Ditto.
4067 (tag_lines): Ditto.
4068 (tag_counters): Ditto.
4069 (tag_summary): Ditto.
4070 (read_gcda_finalize): Ditto.
4071 (read_gcda_file): Ditto.
4072 (ftw_read_file): Ditto.
4073 (read_profile_dir_init): Ditto.
4074 (gcov_read_profile_dir): Ditto.
4075 (gcov_read_counter_mem): Ditto.
4076 (gcov_get_merge_weight): Ditto.
4077 (merge_wrapper): A wrapper function that calls merging handler.
4078 (gcov_merge): Merge two gcov_info objects with weights.
4079 (find_match_gcov_info): Find the matched gcov_info in the list.
4080 (gcov_profile_merge): Merge two gcov_info object lists.
4081 (__gcov_add_counter_op): Process edge profile counter values.
4082 (__gcov_ior_counter_op): Process IOR profile counter values.
4083 (__gcov_delta_counter_op): Process delta profile counter values.
4084 (__gcov_single_counter_op): Process single profile counter values.
4085 (fp_scale): Callback function for float-point scaling.
cc86234f 4086 (int_scale): Callback function for integer fraction scaling.
c77556a5
RX
4087 (gcov_profile_scale): Scaling profile counters.
4088 (gcov_profile_normalize): Normalize profile counters.
4089 * libgcov.h: Add headers and functions for gcov-tool use.
4090 (gcov_get_counter): New.
4091 (gcov_get_counter_target): Ditto.
4092 (struct gcov_info): Make the functions field mutable in gcov-tool
4093 compilation.
4094
5c7dac8a
KT
40952014-06-23 Kai Tietz <ktietz@redhat.com>
4096
4097 PR libgcc/61585
4098 * unwind-seh.c (_Unwind_GetGR): Check for proper
4099 index range.
4100 (_Unwind_SetGR): Likewise.
4101
161c9312
NC
41022014-05-22 Nick Clifton <nickc@redhat.com>
4103
4104 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
4105 -mhwmult=none.
4106
e3f0315f
TJ
41072014-05-22 Teresa Johnson <tejohnson@google.com>
4108
4109 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
4110 include.
4111
dbed5a9b
JM
41122014-05-20 John Marino <gnugcc@marino.st>
4113
4114 * config.host (*-*-dragonfly*): New target.
4115 * crtstuff.c: Make dl_iterate_support generic on *bsd.
4116 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
4117 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
4118 * config/i386/dragonfly-unwind.h: New.
4119
1ec380e5
MR
41202014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
4121
4122 PR libgcc/60166
4123 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
4124 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
4125
54fde020
BE
41262014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
4127
4128 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
4129 implementation.
4130
999db125
GJL
41312014-05-12 Georg-Johann Lay <avr@gjlay.de>
4132
4133 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
4134
cceaf54a
RO
41352014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4136
4137 PR libgcc/61097
4138 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
4139 if --enable-shared.
4140
e3fe9b5b
BE
41412014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
4142
4143 Work around for current cygwin32 build problems.
4144 * config/i386/cygming-crtbegin.c (__register_frame_info,
4145 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
4146 functions only for 64-bit systems.
4147
54cf37e9
RO
41482014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4149
4150 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
4151 (sigill_caught, sigill_hdlr): Remove.
4152
d9f069ab
RO
41532014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4154
4155 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
4156 check.
4157 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
4158 Solaris 9 single-threaded support.
4159 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
4160 Solaris 9 single-threaded support. Add call_user_handler code
4161 sequences.
4162 (sparc_is_sighandler): Likewise.
4163
59976ef8
AK
41642014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4165
4166 * config.host: Append t-floattodi to tmake_file depending on
4167 host_address.
4168
d02bbcf3
JS
41692014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
4170
31466bc0 4171 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
d02bbcf3 4172
c2e7e597
UB
41732014-03-10 Uros Bizjak <ubizjak@gmail.com>
4174
4175 PR libgcc/60472
4176 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2405e0ea 4177 variable to avoid "array subscript is above array bounds" warnings.
c2e7e597
UB
4178 Use __builtin_expect when checking *jcr_list for NULL.
4179
227a7dc8
RO
41802014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4181
4182 PR libgcc/59339
4183 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
4184 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
4185 vtv_*.o to extra_parts if enable_vtable_verify.
4186
df2b279c
NC
41872014-03-06 Nick Clifton <nickc@redhat.com>
4188
4189 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
4190 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
4191
dc11d79b
JY
41922014-02-28 Joey Ye <joey.ye@arm.com>
4193
4194 PR libgcc/60166
4195 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
4196 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
4197 Set to zero.
4198
341c653c
WL
41992014-02-24 Walter Lee <walt@tilera.com>
4200
4201 * config.host: Support "tilegx*" and "tilepro*" triplets.
4202 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
4203 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
4204
95ce7613
CLT
42052014-02-20 Sandra Loosemore <sandra@codesourcery.com>
4206 Chung-Lin Tang <cltang@codesourcery.com>
4207
4208 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
4209 * config/nios2/crti.S: Remove .file directive.
4210 * config/nios2/crtn.S: Likewise.
4211
0bb4fc05
KT
42122014-02-18 Kai Tietz <ktietz@redhat.com>
4213 Jonathan Schleifer <js@webkeks.org>
4214
4215 PR objc/56870
4216 * unwind-seh.c (_GCC_specific_handler): Pass proper
4217 value to unwind-handler.
4218
9acf28f1
JM
42192014-02-12 Joseph Myers <joseph@codesourcery.com>
4220
4221 * soft-fp/adddf3.c: Update from glibc.
4222 * soft-fp/addsf3.c: Likewise.
4223 * soft-fp/addtf3.c: Likewise.
4224 * soft-fp/divdf3.c: Likewise.
4225 * soft-fp/divsf3.c: Likewise.
4226 * soft-fp/divtf3.c: Likewise.
4227 * soft-fp/double.h: Likewise.
4228 * soft-fp/eqdf2.c: Likewise.
4229 * soft-fp/eqsf2.c: Likewise.
4230 * soft-fp/eqtf2.c: Likewise.
4231 * soft-fp/extenddftf2.c: Likewise.
4232 * soft-fp/extended.h: Likewise.
4233 * soft-fp/extendsfdf2.c: Likewise.
4234 * soft-fp/extendsftf2.c: Likewise.
4235 * soft-fp/extendxftf2.c: Likewise.
4236 * soft-fp/fixdfdi.c: Likewise.
4237 * soft-fp/fixdfsi.c: Likewise.
4238 * soft-fp/fixdfti.c: Likewise.
4239 * soft-fp/fixsfdi.c: Likewise.
4240 * soft-fp/fixsfsi.c: Likewise.
4241 * soft-fp/fixsfti.c: Likewise.
4242 * soft-fp/fixtfdi.c: Likewise.
4243 * soft-fp/fixtfsi.c: Likewise.
4244 * soft-fp/fixtfti.c: Likewise.
4245 * soft-fp/fixunsdfdi.c: Likewise.
4246 * soft-fp/fixunsdfsi.c: Likewise.
4247 * soft-fp/fixunsdfti.c: Likewise.
4248 * soft-fp/fixunssfdi.c: Likewise.
4249 * soft-fp/fixunssfsi.c: Likewise.
4250 * soft-fp/fixunssfti.c: Likewise.
4251 * soft-fp/fixunstfdi.c: Likewise.
4252 * soft-fp/fixunstfsi.c: Likewise.
4253 * soft-fp/fixunstfti.c: Likewise.
4254 * soft-fp/floatdidf.c: Likewise.
4255 * soft-fp/floatdisf.c: Likewise.
4256 * soft-fp/floatditf.c: Likewise.
4257 * soft-fp/floatsidf.c: Likewise.
4258 * soft-fp/floatsisf.c: Likewise.
4259 * soft-fp/floatsitf.c: Likewise.
4260 * soft-fp/floattidf.c: Likewise.
4261 * soft-fp/floattisf.c: Likewise.
4262 * soft-fp/floattitf.c: Likewise.
4263 * soft-fp/floatundidf.c: Likewise.
4264 * soft-fp/floatundisf.c: Likewise.
4265 * soft-fp/floatunditf.c: Likewise.
4266 * soft-fp/floatunsidf.c: Likewise.
4267 * soft-fp/floatunsisf.c: Likewise.
4268 * soft-fp/floatunsitf.c: Likewise.
4269 * soft-fp/floatuntidf.c: Likewise.
4270 * soft-fp/floatuntisf.c: Likewise.
4271 * soft-fp/floatuntitf.c: Likewise.
4272 * soft-fp/gedf2.c: Likewise.
4273 * soft-fp/gesf2.c: Likewise.
4274 * soft-fp/getf2.c: Likewise.
4275 * soft-fp/ledf2.c: Likewise.
4276 * soft-fp/lesf2.c: Likewise.
4277 * soft-fp/letf2.c: Likewise.
4278 * soft-fp/muldf3.c: Likewise.
4279 * soft-fp/mulsf3.c: Likewise.
4280 * soft-fp/multf3.c: Likewise.
4281 * soft-fp/negdf2.c: Likewise.
4282 * soft-fp/negsf2.c: Likewise.
4283 * soft-fp/negtf2.c: Likewise.
4284 * soft-fp/op-1.h: Likewise.
4285 * soft-fp/op-2.h: Likewise.
4286 * soft-fp/op-4.h: Likewise.
4287 * soft-fp/op-8.h: Likewise.
4288 * soft-fp/op-common.h: Likewise.
4289 * soft-fp/quad.h: Likewise.
4290 * soft-fp/single.h: Likewise.
4291 * soft-fp/soft-fp.h: Likewise.
4292 * soft-fp/subdf3.c: Likewise.
4293 * soft-fp/subsf3.c: Likewise.
4294 * soft-fp/subtf3.c: Likewise.
4295 * soft-fp/truncdfsf2.c: Likewise.
4296 * soft-fp/trunctfdf2.c: Likewise.
4297 * soft-fp/trunctfsf2.c: Likewise.
4298 * soft-fp/trunctfxf2.c: Likewise.
4299 * soft-fp/unorddf2.c: Likewise.
4300 * soft-fp/unordsf2.c: Likewise.
4301 * soft-fp/unordtf2.c: Likewise.
4302 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
4303 macro.
4304 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4305 Likewise.
4306 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4307 Likewise.
4308 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4309 Likewise.
4310 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4311 Likewise.
4312 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4313 Likewise.
4314 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4315 Likewise.
4316 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4317 Likewise.
4318 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4319 Likewise.
4320 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4321 Likewise.
4322 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4323 Likewise.
4324 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4325 Likewise.
4326 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4327 Likewise.
4328 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
4329 Likewise.
4330 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
4331 Likewise.
4332 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4333 Likewise.
4334
ce245ec6
AK
43352014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4336
4337 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
4338 cannot be represented.
4339 * config/s390/32/_fixsfdi.c: Likewise.
4340 * config/s390/32/_fixtfdi.c: Likewise.
4341 * config/s390/32/_fixunsdfdi.c: Likewise.
4342 * config/s390/32/_fixunssfdi.c: Likewise.
4343 * config/s390/32/_fixunstfdi.c: Likewise.
4344
1c51d688
RS
43452014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
4346
4347 * configure.ac (libgcc_cv_mips_hard_float): New.
4348 * configure: Regenerate.
4349 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
4350 t-softfp-sfdf for hard-float targets.
4351 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
4352 (softfp_float_modes, softfp_int_modes, softfp_extensions)
4353 (softfp_truncations, softfp_exclude_libgcc2): New.
4354 * config/t-hardfp: New file.
4355 * config/t-hardfp-sfdf: Likewise.
4356 * config/hardfp.c: Likewise.
4357
bbf391db
AK
43582014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4359
4360 * config.host: Include t-floattodi also for s390x.
4361 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
4362 * config/s390/32/_fixsfdi.c: Likewise.
4363 * config/s390/32/_fixtfdi.c: Likewise.
4364 * config/s390/32/_fixunsdfdi.c: Likewise.
4365 * config/s390/32/_fixunssfdi.c: Likewise.
4366 * config/s390/32/_fixunstfdi.c: Likewise.
4367
91da0481
RO
43682014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4369
4370 PR target/59788
4371 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
4372 (install-libgcc-unwind-map-forbuild): New target.
4373 (all): Depend on install-libgcc-unwind-map-forbuild.
4374 (install-libgcc-unwind-map): New target.
4375 (install): Depend on install-libgcc-unwind-map.
4376
02b67731
SL
43772014-02-02 Sandra Loosemore <sandra@codesourcery.com>
4378
4379 * config/nios2/crti.S (_init): Initialize GOT pointer from
4380 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
4381
1ea0a651
RS
43822014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
4383
4384 * configure.ac: Check __mips64 when setting host_address.
4385 * configure: Regenerate.
4386 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
4387 mips/t-mips64 and t-softfp.
4388 (mips*-*-linux*): Don't add mips/t-tpbit.
4389 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
4390 (DPBIT, DPBIT_CFLAGS): Delete.
4391 * config/mips/sfp-machine.h: New file.
4392 * config/mips/t-mips64: Likewise.
4393 * config/mips/t-softfp-tf: Likewise.
4394 * config/mips/t-tpbit: Delete.
4395
f32b0061
MS
43962014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
4397
4398 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
4399 as long long.
4400
a5420aa4
WL
44012014-01-25 Walter Lee <walt@tilera.com>
4402
4403 * config/tilepro/atomic.c: Include tconfig.h. Don't include
4404 config.h or system.h.
4405 (bool) Define.
4406
24534912
WL
44072014-01-25 Walter Lee <walt@tilera.com>
4408
4409 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
4410 (post_atomic_barrier): Ditto.
4411 (__fetch_and_do): New macro.
4412 (__atomic_fetch_and_do): Use __fetch_and_do.
4413 (__sync_fetch_and_do): New macro.
4414 (__sync_fetch_and_add_4): New function.
4415 (__sync_fetch_and_sub_4): New function.
4416 (__sync_fetch_and_or_4): New function.
4417 (__sync_fetch_and_and_4): New function.
4418 (__sync_fetch_and_xor_4): New function.
4419 (__sync_fetch_and_nand_4): New function.
4420 (__sync_fetch_and_add_8): New function.
4421 (__sync_fetch_and_sub_8): New function.
4422 (__sync_fetch_and_or_8): New function.
4423 (__sync_fetch_and_and_8): New function.
4424 (__sync_fetch_and_xor_8): New function.
4425 (__sync_fetch_and_nand_8): New function.
4426 (__do_and_fetch): New macro.
4427 (__atomic_do_and_fetch): Use __do_and_fetch.
4428 (__sync_do_and_fetch): New macro.
4429 (__sync_add_and_fetch_4): New function.
4430 (__sync_sub_and_fetch_4): New function.
4431 (__sync_or_and_fetch_4): New function.
4432 (__sync_and_and_fetch_4): New function.
4433 (__sync_xor_and_fetch_4): New function.
4434 (__sync_nand_and_fetch_4): New function.
4435 (__sync_add_and_fetch_8): New function.
4436 (__sync_sub_and_fetch_8): New function.
4437 (__sync_or_and_fetch_8): New function.
4438 (__sync_and_and_fetch_8): New function.
4439 (__sync_xor_and_fetch_8): New function.
4440 (__sync_nand_and_fetch_8): New function.
4441 (__sync_exchange_methods): New macro.
4442 (__sync_val_compare_and_swap_4): New function.
4443 (__sync_bool_compare_and_swap_4): New function.
4444 (__sync_lock_test_and_test_4): New function.
4445 (__sync_val_compare_and_swap_8): New function.
4446 (__sync_bool_compare_and_swap_8): New function.
4447 (__sync_lock_test_and_test_8): New function.
4448 (__subword_cmpxchg_body): New macro.
4449 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
4450 (__atomic_compare_exchange_2): Ditto.
4451 (__sync_subword_cmpxchg): New macro.
4452 (__sync_val_compare_and_swap_1): New function.
4453 (__sync_bool_compare_and_swap_1): New function.
4454 (__sync_val_compare_and_swap_2): New function.
4455 (__sync_bool_compare_and_swap_2): New function.
4456 (__atomic_subword): Rename to ...
4457 (__subword): ... New name.
4458 (__atomic_subword_fetch): Use __subword.
4459 (__sync_subword_fetch): New macro.
4460 (__sync_fetch_and_add_1): New function.
4461 (__sync_fetch_and_sub_1): New function.
4462 (__sync_fetch_and_or_1): New function.
4463 (__sync_fetch_and_and_1): New function.
4464 (__sync_fetch_and_xor_1): New function.
4465 (__sync_fetch_and_nand_1): New function.
4466 (__sync_fetch_and_add_2): New function.
4467 (__sync_fetch_and_sub_2): New function.
4468 (__sync_fetch_and_or_2): New function.
4469 (__sync_fetch_and_and_2): New function.
4470 (__sync_fetch_and_xor_2): New function.
4471 (__sync_fetch_and_nand_2): New function.
4472 (__sync_add_and_fetch_1): New function.
4473 (__sync_sub_and_fetch_1): New function.
4474 (__sync_or_and_fetch_1): New function.
4475 (__sync_and_and_fetch_1): New function.
4476 (__sync_xor_and_fetch_1): New function.
4477 (__sync_nand_and_fetch_1): New function.
4478 (__sync_add_and_fetch_2): New function.
4479 (__sync_sub_and_fetch_2): New function.
4480 (__sync_or_and_fetch_2): New function.
4481 (__sync_and_and_fetch_2): New function.
4482 (__sync_xor_and_fetch_2): New function.
4483 (__sync_nand_and_fetch_2): New function.
4484 (__atomic_subword_lock): Use __subword.
4485 (__sync_subword_lock): New macro.
4486 (__sync_lock_test_and_set_1): New function.
4487 (__sync_lock_test_and_set_2): New function.
4488
4d6d3bc5
WL
44892014-01-25 Walter Lee <walt@tilera.com>
4490
4491 * config/tilepro/atomic.c (BIT_OFFSET): Define.
4492 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
4493 (__atomic_subword): Ditto.
4494
cbd9890e
WL
44952014-01-25 Walter Lee <walt@tilera.com>
4496
4497 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
4498 a prefix op argument.
4499 (__atomic_nand_fetch_4): Add prefix op.
4500 (__atomic_nand_fetch_8): Ditto.
4501
7d296953 45022014-01-21 Baruch Siach <barch@tkos.co.il>
800d8bd5
BS
4503
4504 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
4505
46dd1242
L
45062014-01-09 Rong Xu <xur@google.com>
4507
4508 * libgcov-driver.c (this_prg): make it local to save
4509 bss space.
4510 (gcov_exit_compute_summary): Ditto.
4511 (gcov_exit_merge_gcda): Ditto.
4512 (gcov_exit_merge_summary): Ditto.
4513 (gcov_exit_dump_gcov): Ditto.
4514
cc86234f 45152014-01-08 Rong Xu <xur@google.com>
40d6b753
RX
4516
4517 * libgcov-driver.c: Use libgcov.h.
4518 (buffer_fn_data): Use xmalloc instead of malloc.
4519 (gcov_exit_merge_gcda): Ditto.
4520 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
4521 * libgcov.h: New common header files for libgcov-*.h.
4522 * libgcov-interface.c: Use libgcov.h
4523 * libgcov-merge.c: Ditto.
4524 * libgcov-profiler.c: Ditto.
4525 * Makefile.in: Add dependence to libgcov.h
4526
a02e7bdd
JM
45272014-01-02 Joseph Myers <joseph@codesourcery.com>
4528
4529 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
4530 case of small numerator and finite nonzero result.
4531
ac1dca3c
RS
45322014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4533
4534 Update copyright years
4535
f9030485
RS
45362014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4537
4538 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
4539 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
4540 config/arc/dp-hack.h, config/arc/fp-hack.h,
4541 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
4542 config/arc/ieee-754/arc600-dsp/divdf3.S,
4543 config/arc/ieee-754/arc600-dsp/divsf3.S,
4544 config/arc/ieee-754/arc600-dsp/muldf3.S,
4545 config/arc/ieee-754/arc600-dsp/mulsf3.S,
4546 config/arc/ieee-754/arc600-mul64/divdf3.S,
4547 config/arc/ieee-754/arc600-mul64/divsf3.S,
4548 config/arc/ieee-754/arc600-mul64/muldf3.S,
4549 config/arc/ieee-754/arc600-mul64/mulsf3.S,
4550 config/arc/ieee-754/arc600/divsf3.S,
4551 config/arc/ieee-754/arc600/mulsf3.S,
4552 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
4553 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
4554 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
4555 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
4556 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
4557 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
4558 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
4559 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
4560 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
4561 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
4562 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
4563 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
4564 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
4565 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
4566 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
4567 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
4568 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
4569 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
4570 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
4571 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
4572 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
4573 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
4574 vtv_start_preinit.c: Use the standard form for the copyright notice.
4575
e430824f
CLT
45762013-12-31 Sandra Loosemore <sandra@codesourcery.com>
4577 Chung-Lin Tang <cltang@codesourcery.com>
4578 Based on patches from Altera Corporation
4579
4580 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
4581 * config/nios2/lib2-nios2.h: New file.
4582 * config/nios2/lib2-divmod-hi.c: New file.
4583 * config/nios2/linux-unwind.h: New file.
4584 * config/nios2/lib2-divmod.c: New file.
4585 * config/nios2/linux-atomic.c: New file.
4586 * config/nios2/t-nios2: New file.
4587 * config/nios2/crti.asm: New file.
4588 * config/nios2/t-linux: New file.
4589 * config/nios2/lib2-divtable.c: New file.
4590 * config/nios2/lib2-mul.c: New file.
4591 * config/nios2/tramp.c: New file.
4592 * config/nios2/crtn.asm: New file.
4593
1879e97f
UB
45942013-12-26 Uros Bizjak <ubizjak@gmail.com>
4595
4596 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
4597 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
4598 from cpuid.h to check vendor signatures.
4599
f4a4bdbb
GG
46002013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
4601
c2e7e597 4602 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
f4a4bdbb
GG
4603 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
4604 (get_amd_cpu): Likewise.
4605
8d2ae544
L
46062013-12-25 H.J. Lu <hongjiu.lu@intel.com>
4607
4608 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
4609 Haswell.
4610
74924838
ASJ
46112013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
4612 H.J. Lu <hongjiu.lu@intel.com>
4613
0bb52f25
L
4614 PR target/59422
4615 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
74924838
ASJ
4616 and AMD_JAGUAR.
4617 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
4618 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
4619 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
4620 FEATURE_XOP and FEATURE_FMA.
4621 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
4622 AMDFAM15H_BDVER3.
4623 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
0bb52f25 4624 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
74924838
ASJ
4625 FEATURE_FMA4 and FEATURE_XOP.
4626
d3c11974
L
46272013-12-23 H.J. Lu <hongjiu.lu@intel.com>
4628
4629 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
4630 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
4631 (get_intel_cpu): Updated.
4632
064c4ff2
ZC
46332013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
4634
4635 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
4636
8b02e720
UB
46372013-12-09 Uros Bizjak <ubizjak@gmail.com>
4638
4639 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1f71a3c3 4640 instructions when __SSE_MATH__ is defined.
8b02e720 4641
3fa2ccb4
RC
46422013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
4643
4644 * config.host (microblaze-*-rtems*): New.
4645
ecd78fc9
KV
46462013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
4647
4648 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
4649 architectures that do not have hardware divide instruction.
4650 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
4651
b21fbbd2
RS
46522013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
4653
4654 * longlong.h: Delete (moved to include/).
4655
b03fb8c9
AZ
46562013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4657
4658 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
4659 of normal number and qNaN to not raise an inexact exception.
4660
3c716922
UB
46612013-11-28 Uros Bizjak <ubizjak@gmail.com>
4662
4663 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
4664
46652013-11-28 Matthew Leach <matthew.leach@arm.com>
cceeb9a9
ML
4666
4667 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
4668 for correct opcodes on BE.
4669
a3458d22
UB
46702013-11-27 Uros Bizjak <ubizjak@gmail.com>
4671
4672 * soft-fp/op-4.h: Update from glibc.
4673
30b8f78b
KV
46742013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
4675
4676 * libgcc2.c (__udivmoddi4): Define new implementation when
4677 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
4678 divide instructions.
4679
82552a29
OE
46802013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
4681
4682 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
4683
80e87457
RO
46842013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4685
4686 * config/t-softfp (soft-fp-objects-base): New variable.
4687 (soft-fp-objects): Use it.
4688
44178879
DE
46892013-11-23 David Edelson <dje.gcc@gmail.com>
4690 Andrew Dixie <andrewd@gentrack.com>
4691
4692 PR target/33704
4693 * config/rs6000/aixinitfini.c: New file.
4694 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
4695 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
4696 symbols.
4697
e5287671
YR
46982013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
4699
a3458d22 4700 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
e5287671 4701
867c8b03
JH
47022013-11-18 Jan Hubicka <jh@suse.cz>
4703
7f369373
JH
4704 * libgcov-driver.c (run_accounted): Make global level static.
4705 (gcov_exit_merge_summary): Silence warning; do not clear
4706 run_accounted here.
4707 (gcov_exit): Clear it here.
4708
1d0b3334
JH
4709 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
4710 run_accounted.
4711
867c8b03
JH
4712 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
4713 (all_prg, crc32): Remove static vars.
4714 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
4715 all_prg.
4716 (gcov_exit_merge_gcda): Add crc32 parameter.
4717 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
4718 do not account run if it was already accounted.
4719 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
4720 (gcov_exit): Initialize all_prg; update.
4721
66204992
AS
47222013-11-15 Andreas Schwab <schwab@linux-m68k.org>
4723
4724 * configure: Regenerate.
4725
b54214fe
UW
47262013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4727 Alan Modra <amodra@gmail.com>
4728
4729 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
4730 (frob_update_context): Use it.
4731
47322013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4733 Alan Modra <amodra@gmail.com>
4734
4735 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
4736 (trampoline_initial): Provide ELFv2 variant.
4737 (__trampoline_setup): Likewise.
4738
4739 * config/rs6000/linux-unwind.h (frob_update_context): Do not
4740 check for AIX indirect function call sequence if _CALL_ELF == 2.
4741
47422013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4743 Alan Modra <amodra@gmail.com>
4744
4745 * config/rs6000/linux-unwind.h (get_regs): Do not support
4746 old kernel versions if _CALL_ELF == 2.
4747 (frob_update_context): Do not support PLT stub variants only
4748 generated by old linkers if _CALL_ELF == 2.
4749
13e0981a
UW
47502013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4751 Alan Modra <amodra@gmail.com>
4752
4753 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
4754 location of CR save area for 64-bit little-endian systems.
4755
1a80085d
EB
47562013-11-11 Eric Botcazou <ebotcazou@adacore.com>
4757
4758 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
4759 in tmake_file.
4760 * config/arm/t-vxworks: Delete.
4761
cabeea52
KT
47622013-11-10 Kai Tietz <ktietz@redhat.com>
4763
4764 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
4765 Increment load-count on use of LIBGCC_SONAME DLL.
4766 (hmod_libgcc): New static variable to hold handle of
4767 LIBGCC_SONAME DLL.
4768 (__gcc_deregister_frame): Decrement load-count of
4769 LIBGCC_SONAME DLL.
4770
ac088ba1
BRF
47712013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
4772
4773 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
4774 availability.
4775 * configure: Regenerate
4776
d59a8fcc
UB
47772013-11-07 Uros Bizjak <ubizjak@gmail.com>
4778
4779 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
4780 FP_EX_DENORM. Store result to volatile location after SSE division
4781 to close interrupt window. Remove unneeded fwait after x87
4782 division since interrupt window will be closed by emitted fstp.
9de84e84 4783 Rewrite FP_EX_INEXACT handling.
d59a8fcc 4784
9954c743
JM
47852013-11-06 Joseph Myers <joseph@codesourcery.com>
4786
4787 * soft-fp/README: Update.
4788 * soft-fp/adddf3.c: Update from glibc.
4789 * soft-fp/addsf3.c: Likewise.
4790 * soft-fp/addtf3.c: Likewise.
4791 * soft-fp/divdf3.c: Likewise.
4792 * soft-fp/divsf3.c: Likewise.
4793 * soft-fp/divtf3.c: Likewise.
4794 * soft-fp/double.h: Likewise.
4795 * soft-fp/eqdf2.c: Likewise.
4796 * soft-fp/eqsf2.c: Likewise.
4797 * soft-fp/eqtf2.c: Likewise.
4798 * soft-fp/extenddftf2.c: Likewise.
4799 * soft-fp/extended.h: Likewise.
4800 * soft-fp/extendsfdf2.c: Likewise.
4801 * soft-fp/extendsftf2.c: Likewise.
4802 * soft-fp/extendxftf2.c: Likewise.
4803 * soft-fp/fixdfdi.c: Likewise.
4804 * soft-fp/fixdfsi.c: Likewise.
4805 * soft-fp/fixdfti.c: Likewise.
4806 * soft-fp/fixsfdi.c: Likewise.
4807 * soft-fp/fixsfsi.c: Likewise.
4808 * soft-fp/fixsfti.c: Likewise.
4809 * soft-fp/fixtfdi.c: Likewise.
4810 * soft-fp/fixtfsi.c: Likewise.
4811 * soft-fp/fixtfti.c: Likewise.
4812 * soft-fp/fixunsdfdi.c: Likewise.
4813 * soft-fp/fixunsdfsi.c: Likewise.
4814 * soft-fp/fixunsdfti.c: Likewise.
4815 * soft-fp/fixunssfdi.c: Likewise.
4816 * soft-fp/fixunssfsi.c: Likewise.
4817 * soft-fp/fixunssfti.c: Likewise.
4818 * soft-fp/fixunstfdi.c: Likewise.
4819 * soft-fp/fixunstfsi.c: Likewise.
4820 * soft-fp/fixunstfti.c: Likewise.
4821 * soft-fp/floatdidf.c: Likewise.
4822 * soft-fp/floatdisf.c: Likewise.
4823 * soft-fp/floatditf.c: Likewise.
4824 * soft-fp/floatsidf.c: Likewise.
4825 * soft-fp/floatsisf.c: Likewise.
4826 * soft-fp/floatsitf.c: Likewise.
4827 * soft-fp/floattidf.c: Likewise.
4828 * soft-fp/floattisf.c: Likewise.
4829 * soft-fp/floattitf.c: Likewise.
4830 * soft-fp/floatundidf.c: Likewise.
4831 * soft-fp/floatundisf.c: Likewise.
4832 * soft-fp/floatunditf.c: Likewise.
4833 * soft-fp/floatunsidf.c: Likewise.
4834 * soft-fp/floatunsisf.c: Likewise.
4835 * soft-fp/floatunsitf.c: Likewise.
4836 * soft-fp/floatuntidf.c: Likewise.
4837 * soft-fp/floatuntisf.c: Likewise.
4838 * soft-fp/floatuntitf.c: Likewise.
4839 * soft-fp/gedf2.c: Likewise.
4840 * soft-fp/gesf2.c: Likewise.
4841 * soft-fp/getf2.c: Likewise.
4842 * soft-fp/ledf2.c: Likewise.
4843 * soft-fp/lesf2.c: Likewise.
4844 * soft-fp/letf2.c: Likewise.
4845 * soft-fp/muldf3.c: Likewise.
4846 * soft-fp/mulsf3.c: Likewise.
4847 * soft-fp/multf3.c: Likewise.
4848 * soft-fp/negdf2.c: Likewise.
4849 * soft-fp/negsf2.c: Likewise.
4850 * soft-fp/negtf2.c: Likewise.
4851 * soft-fp/op-1.h: Likewise.
4852 * soft-fp/op-2.h: Likewise.
4853 * soft-fp/op-4.h: Likewise.
4854 * soft-fp/op-8.h: Likewise.
4855 * soft-fp/op-common.h: Likewise.
4856 * soft-fp/quad.h: Likewise.
4857 * soft-fp/single.h: Likewise.
4858 * soft-fp/soft-fp.h: Likewise.
4859 * soft-fp/subdf3.c: Likewise.
4860 * soft-fp/subsf3.c: Likewise.
4861 * soft-fp/subtf3.c: Likewise.
4862 * soft-fp/truncdfsf2.c: Likewise.
4863 * soft-fp/trunctfdf2.c: Likewise.
4864 * soft-fp/trunctfsf2.c: Likewise.
4865 * soft-fp/trunctfxf2.c: Likewise.
4866 * soft-fp/unorddf2.c: Likewise.
4867 * soft-fp/unordsf2.c: Likewise.
4868 * soft-fp/unordtf2.c: Likewise.
4869
02ac9503
UB
48702013-11-05 Uros Bizjak <ubizjak@gmail.com>
4871
4872 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
4873 (_FP_MUL_MEAT_D): Ditto.
4874 (_FP_DIV_MEAT_S): Ditto.
4875 (_FP_DIV_MEAT_D): Ditto.
4876 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
4877 t-softfp-sfdf and t-softfp to tmake_file.
4878
61221141
UB
48792013-11-03 Uros Bizjak <ubizjak@gmail.com>
4880
4881 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
4882 * config/i386/crtprec.c: Ditto.
4883
9304f876
CJW
48842013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
4885 Shiva Chen <shiva0217@gmail.com>
4886
4887 * config.host (nds32*-elf*): Add nds32 target.
4888 * config/nds32 : New directory and files.
4889
0e499e75
HPN
48902013-10-16 Hans-Peter Nilsson <hp@axis.com>
4891
4892 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
4893 * config.host (cpu_type) <Setting default>: Add entry for
4894 crisv32-*-*.
4895 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
4896 <crisv32-*-linux*>: Adjust.
4897 * longlong.h: Wrap the whole CRIS section in a single
4898 defined(__CRIS__) conditional. Add comment about add_ssaaaa
4899 and sub_ddmmss.
4900 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
4901 defined.
4902 [__CRIS__] (__umulsidi3): Define.
4903 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
4904 * config/cris/sfp-machine.h: New file.
4905 * config/cris/umulsidi3.S: New file.
4906 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
4907 * config/cris/arit.c (SIGNMULT): New macro.
4908 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
4909 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
4910 saving 3 out of originally 33 cycles from the fastest
4911 path, 3 out of 54 from the medium path and one from the longest
4912 path. Improve comments.
4913
16022041
RS
49142013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
4915
4916 * sync.c: Remove static aliases and define each function directly
4917 under its real name.
4918
69778659
JDA
49192013-10-02 John David Anglin <danglin@gcc.gnu.org>
4920
4921 * config.host (hppa*64*-*-linux*): Define extra_parts.
4922 (hppa*-*-linux*): Likewise.
4923
2deaf8b0
JR
49242013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
4925
4926 * config/arc/crtgend.S: Add 2013 to Copyright years.
4927 * config/arc/gmon/atomic.h: Likewise.
4928 * config/arc/gmon/auxreg.h: Likewise.
4929 * config/arc/gmon/sys/gmon_out.h: Likewise.
4930 * config/arc/gmon/sys/gmon.h: Likewise.
4931 * config/arc/gmon/prof-freq.c: Likewise.
4932 * config/arc/gmon/mcount.c: Likewise.
4933 * config/arc/gmon/prof-freq-stub.S: Likewise.
4934 * config/arc/gmon/gmon.c: Likewise.
4935 * config/arc/gmon/machine-gmon.h: Likewise.
4936 * config/arc/gmon/profil.S: Likewise.
4937 * config/arc/gmon/dcache_linesz.S: Likewise.
4938 * config/arc/crtg.S: Likewise.
4939 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
4940 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
4941 * config/arc/ieee-754/adddf3.S: Likewise.
4942 * config/arc/ieee-754/truncdfsf2.S: Likewise.
4943 * config/arc/ieee-754/fixsfsi.S: Likewise.
4944 * config/arc/ieee-754/gtsf2.S: Likewise.
4945 * config/arc/ieee-754/floatsisf.S: Likewise.
4946 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
4947 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
4948 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
4949 * config/arc/ieee-754/fixdfsi.S: Likewise.
4950 * config/arc/ieee-754/addsf3.S: Likewise.
4951 * config/arc/ieee-754/gesf2.S: Likewise.
4952 * config/arc/ieee-754/floatsidf.S: Likewise.
4953 * config/arc/ieee-754/extendsfdf2.S: Likewise.
4954 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
4955 * config/arc/ieee-754/gtdf2.S: Likewise.
4956 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
4957 * config/arc/ieee-754/uneqdf2.S: Likewise.
4958 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
4959 * config/arc/ieee-754/uneqsf2.S: Likewise.
4960 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
4961 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
4962 * config/arc/ieee-754/eqdf2.S: Likewise.
4963 * config/arc/ieee-754/ordsf2.S: Likewise.
4964 * config/arc/ieee-754/divsf3.S: Likewise.
4965 * config/arc/ieee-754/divdf3.S: Likewise.
4966 * config/arc/ieee-754/floatunsidf.S: Likewise.
4967 * config/arc/ieee-754/orddf2.S: Likewise.
4968 * config/arc/ieee-754/eqsf2.S: Likewise.
4969 * config/arc/ieee-754/gedf2.S: Likewise.
4970 * config/arc/crtn.S: Likewise.
4971 * config/arc/crti.S: Likewise.
4972 * config/arc/t-arc700-uClibc: Likewise.
4973 * config/arc/asm.h: Likewise.
4974 * config/arc/libgcc-excl.ver: Likewise.
4975 * config/arc/t-arc-newlib: Likewise.
4976 * config/arc/divtab-arc700.c: Likewise.
4977 * config/arc/initfini.c: Likewise.
4978 * config/arc/fp-hack.h: Likewise.
4979
c8e318b0
JR
49802013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
4981 Diego Novillo <dnovillo@google.com>
4982
4983 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
a07c5b47
JR
4984 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
4985 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
4986 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
c8e318b0 4987
d38a64b4
JR
49882013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
4989 Brendan Kehoe <brendan@zen.org>
4990 Simon Cook <simon.cook@embecosm.com>
4991
4992 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
4993 * config/arc: New directory.
4994 * longlong.h [__arc__] (umul_ppmm): Remove.
4995 [__arc__] (__umulsidi3): Define.
4996 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
4997 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
4998
dff717d2
JC
49992013-09-17 Jacek Caban <jacek@codeweavers.com>
5000
5001 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
5002 CreateSemaphoreA.
5003 * config/i386/gthr-win32.h: Likewise.
5004
5c0029de
DD
50052013-09-16 DJ Delorie <dj@redhat.com>
5006
844ad6c6 5007 * config/rl78/vregs.h: Add G10 register definitions.
5c0029de
DD
5008 * config/rl78/lib2mul.c: Enable for RL78/G10.
5009 * config/rl78/lib2div.c: Likewise.
5010 * config/rl78/lshrsi3.S: Use vregs.h.
5011 * config/rl78/cmpsi2.S: Likewise.
5012 * config/rl78/trampoline.S: Likewise.
5013 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
5014
ceb2fc49
DD
50152013-09-14 DJ Delorie <dj@redhat.com>
5016 Nick Clifton <nickc@redhat.com>
5017
5018 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
5019 * config/rl78/vregs.h: New.
5020 * config/rl78/signbit.S: New file. Implements signbit function.
5021 * config/rl78/divmodsi.S: New.
5022 * config/rl78/divmodhi.S: New.
5023 * config/rl78/divmodqi.S: New.
5024 * config/rl78/t-rl78: Build them here...
5025 * config/rl78/lib2div.c: ...but not here.
5026
f6a83b4a
DD
50272013-09-12 DJ Delorie <dj@redhat.com>
5028
5029 * config.host (msp*-*-elf): New.
5030 * config/msp430/: New port.
5031
9107b096
IS
50322013-08-18 Iain Sandoe <iain@codesourcery.com>
5033
5034 PR gcov-profile/58127
5035 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
5036 __thread var for emulated TLS.
5037 (__gcov_indirect_call_counters): Likewise.
5038
0f9bde1f 50392013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
61221141 5040 Catherine Moore <clm@codesourcery.com>
7d296953 5041 Richard Sandiford <rdsandiford@googlemail.com>
0f9bde1f
MR
5042
5043 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
5044 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
5045 (CALL_STUB_NO_RET): Likewise.
5046 (CALL_STUB_RET): Likewise.
5047 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
5048 __mips16_ret call/return stub symbols.
5049 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
5050 to tmake_file.
5051
2dc14aac
MR
50522013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
5053
5054 * config.host <mips*-*-linux*>: Remove a stray comment.
5055
748d71f3
JH
50562013-08-10 Jan Hubicka <jh@suse.cz>
5057
5058 Work around binutils PR14342
5059 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
5060 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
5061 (L_gcov_indirect_call_profiler_v2): New.
5062
2fa3d31b
JH
50632013-08-06 Jan Hubicka <jh@suse.cz>
5064
5065 * libgcov.c (__gcov_indirect_call_callee,
5066 __gcov_indirect_call_counters): New global vars.
5067 (__gcov_indirect_call_profiler): replace by ...
5068 (__gcov_indirect_call_profiler_v2) ... this one.
5069
2077db1b
CT
50702013-08-06 Caroline Tice <cmtice@google.com>
5071
d0595b65 5072 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
2077db1b 5073 vtv_start_preinit.o and vtv_end_preinit.o.
d0595b65
CT
5074 * configure.ac: Add code to check/set enable_vtable_verify.
5075 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
2077db1b 5076 true.
d0595b65
CT
5077 * vtv_start_preinit.c: New file.
5078 * vtv_end_preinit.c: New file.
5079 * vtv_start.c: New file.
5080 * vtv_end.c: New file.
5081 * configure: Regenerated.
2077db1b 5082
46549c20
MK
50832013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
5084
5085 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
5086 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
5087 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
5088 GPL-3.0-with-GCC-exception.
5089
72be589b
MR
50902013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
5091
5092 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
5093 ISA and up.
5094
902a3faf
AK
50952013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5096
5097 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
5098 mapping for FPRs when creating the fallback framestate.
5099
02371798
GJL
51002013-07-19 Georg-Johann Lay <avr@gjlay.de>
5101
5102 PR target/57516
5103 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
5104 (__round_s2_const, __round_u2_const)
5105 (__round_s4_const, __round_u4_const, __round_x8):
5106 Saturate result if addition result cannot be represented.
5107
ab0e8379
MK
51082013-07-15 Matthias Klose <doko@ubuntu.com>
5109
5110 * libgcc2.c: Don't include <limits.h>.
5111
7da38058
JJ
51122013-07-09 Janis Johnson <janisjo@codesourcery.com>
5113
5114 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
5115
1f6eac90
JJ
51162013-07-06 Jakub Jelinek <jakub@redhat.com>
5117
5118 PR target/29776
5119 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
5120
4ea3d774
JJ
51212013-06-28 Jakub Jelinek <jakub@redhat.com>
5122
5123 PR middle-end/36041
5124 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
5125 Define.
5126 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
5127 instead of table lookups.
5128 (__popcountDI2): Likewise.
5129
9d2cdf25
CJW
51302013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
5131
5132 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
5133 correctly.
5134
fa1e55b0
JM
51352013-06-21 Joseph Myers <joseph@codesourcery.com>
5136
5137 PR other/53317
5138 * soft-fp/adddf3.c: Update from glibc.
5139 * soft-fp/addsf3.c: Likewise.
5140 * soft-fp/addtf3.c: Likewise.
5141 * soft-fp/divdf3.c: Likewise.
5142 * soft-fp/divsf3.c: Likewise.
5143 * soft-fp/divtf3.c: Likewise.
5144 * soft-fp/double.h: Likewise.
5145 * soft-fp/eqdf2.c: Likewise.
5146 * soft-fp/eqsf2.c: Likewise.
5147 * soft-fp/eqtf2.c: Likewise.
5148 * soft-fp/extenddftf2.c: Likewise.
5149 * soft-fp/extended.h: Likewise.
5150 * soft-fp/extendsfdf2.c: Likewise.
5151 * soft-fp/extendsftf2.c: Likewise.
5152 * soft-fp/fixdfdi.c: Likewise.
5153 * soft-fp/fixdfsi.c: Likewise.
5154 * soft-fp/fixsfdi.c: Likewise.
5155 * soft-fp/fixsfsi.c: Likewise.
5156 * soft-fp/fixtfdi.c: Likewise.
5157 * soft-fp/fixtfsi.c: Likewise.
5158 * soft-fp/fixunsdfdi.c: Likewise.
5159 * soft-fp/fixunsdfsi.c: Likewise.
5160 * soft-fp/fixunssfdi.c: Likewise.
5161 * soft-fp/fixunssfsi.c: Likewise.
5162 * soft-fp/fixunstfdi.c: Likewise.
5163 * soft-fp/fixunstfsi.c: Likewise.
5164 * soft-fp/floatdidf.c: Likewise.
5165 * soft-fp/floatdisf.c: Likewise.
5166 * soft-fp/floatditf.c: Likewise.
5167 * soft-fp/floatsidf.c: Likewise.
5168 * soft-fp/floatsisf.c: Likewise.
5169 * soft-fp/floatsitf.c: Likewise.
5170 * soft-fp/floatundidf.c: Likewise.
5171 * soft-fp/floatundisf.c: Likewise.
5172 * soft-fp/floatunditf.c: Likewise.
5173 * soft-fp/floatunsidf.c: Likewise.
5174 * soft-fp/floatunsisf.c: Likewise.
5175 * soft-fp/floatunsitf.c: Likewise.
5176 * soft-fp/gedf2.c: Likewise.
5177 * soft-fp/gesf2.c: Likewise.
5178 * soft-fp/getf2.c: Likewise.
5179 * soft-fp/ledf2.c: Likewise.
5180 * soft-fp/lesf2.c: Likewise.
5181 * soft-fp/letf2.c: Likewise.
5182 * soft-fp/muldf3.c: Likewise.
5183 * soft-fp/mulsf3.c: Likewise.
5184 * soft-fp/multf3.c: Likewise.
5185 * soft-fp/negdf2.c: Likewise.
5186 * soft-fp/negsf2.c: Likewise.
5187 * soft-fp/negtf2.c: Likewise.
5188 * soft-fp/op-1.h: Likewise.
5189 * soft-fp/op-2.h: Likewise.
5190 * soft-fp/op-4.h: Likewise.
5191 * soft-fp/op-8.h: Likewise.
5192 * soft-fp/op-common.h: Likewise.
5193 * soft-fp/quad.h: Likewise.
5194 * soft-fp/single.h: Likewise.
5195 * soft-fp/soft-fp.h: Likewise.
5196 * soft-fp/subdf3.c: Likewise.
5197 * soft-fp/subsf3.c: Likewise.
5198 * soft-fp/subtf3.c: Likewise.
5199 * soft-fp/truncdfsf2.c: Likewise.
5200 * soft-fp/trunctfdf2.c: Likewise.
5201 * soft-fp/trunctfsf2.c: Likewise.
5202 * soft-fp/unorddf2.c: Likewise.
5203 * soft-fp/unordsf2.c: Likewise.
5204 * soft-fp/unordtf2.c: Likewise.
5205 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
5206 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5207 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5208 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5209 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5210 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5211 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5212 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5213 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5214 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
5215 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
5216 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5217
0de86a92
JU
52182013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
5219
5220 * config/mips/lib2funcs.c: New file.
5221 * config/mips/t-mips (LIB2ADD_ST): Add it.
5222
0d008882
OE
52232013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
5224
5225 PR target/6526
5226 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
5227 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
5228
776434d1
WL
52292013-06-08 Walter Lee <walt@tilera.com>
5230
5231 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
5232 Replace int64_t with long long. Add __extension__ where
5233 appropriate.
5234 * config/tilepro/atomic.c: Include config.h.
5235
6ab3ebb4
DR
52362013-06-06 Douglas B Rupp <rupp@adacore.com>
5237
5238 * config.host (arm-wrs-vxworks): Configure with other soft float.
5239
107eea2c
JU
52402013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
5241
5242 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
5243 (mips64r5900el-*-elf*): New configurations.
5244
5cc19c62
AM
52452013-06-04 Alan Modra <amodra@gmail.com>
5246
5247 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
5248
0f1d3965
YR
52492013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
5250
5251 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
5252
0ba045df
EB
52532013-05-28 Eric Botcazou <ebotcazou@adacore.com>
5254
5255 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
5256 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
5257 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
5258
49dcafd4
EB
52592013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5260
5261 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
5262 (powerpc-wrs-vxworks): Likewise.
5263
4fcb5d87
EB
52642013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5265
5266 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
5267 signal frames as well.
5268 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
5269 STACK_BIAS to the CFA offset.
5270
0ec33224
RH
52712013-05-17 Richard Henderson <rth@redhat.com>
5272
5273 PR target/49146
5274 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
5275 (execute_cfa_program): Use it when storing to fs->regs.
5276
492a8029
KT
52772013-05-08 Kai Tietz <ktietz@redhat.com>
5278
5279 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
5280 (__deregister_frame_info): Likewise.
5281
701e2f0a
TS
52822013-05-06 Thomas Schwinge <thomas@codesourcery.com>
5283
e5123d08
TS
5284 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
5285 NaN's payload.
5286
701e2f0a
TS
5287 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
5288
b9a7eb5d
AM
52892013-04-25 Alan Modra <amodra@gmail.com>
5290
5291 * config.host: Match little-endian powerpc-linux.
5292
dfe192f5
YZ
52932013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
5294
5295 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
5296 as 'unsigned long long' instead of 'unsigned long'.
5297 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
5298 'signed long'.
5299
b6b9af2f
JB
53002013-04-10 Julian Brown <julian@codesourcery.com>
5301
5302 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
5303 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
5304 unsigned char/unsigned short.
5305 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
5306
ecabdd00
JDA
53072013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5308
5309 PR other/55274
5310 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
5311
34652576
MI
53122013-04-04 Meador Inge <meadori@codesourcery.com>
5313
5314 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
5315 computing the location of the link register.
5316 (aeabi_uldivmod): Ditto.
5317
e9fd8c19
KT
53182013-03-27 Kai Tietz <ktietz@redhat.com>
5319
5320 * config.host: Add support for cygwin x64 target.
5321 * configure: Regenerated.
5322
a6406324
WL
53232013-03-26 Walter Lee <walt@tilera.com>
5324
5325 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
5326 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
5327
55446c7e
KT
53282013-03-25 Kai Tietz <ktietz@redhat.com>
5329
5330 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
5331
d2ae19d9
RM
53322013-03-20 Robert Mason <rbmj@verizon.net>
5333
5334 * config/vxlib-tls.c (__gthread_get_tsd_data,)
5335 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
5336 (__gthread_leave_tsd_dtor_context): Add prototypes.
5337 (tls_delete_hook): Update.
5338
22c4c869
CM
53392013-03-20 Catherine Moore <clm@codesourcery.com>
5340 Joseph Myers <joseph@codesourcery.com>
5341 Chao-ying Fu <fu@mips.com>
5342
5343 * config/mips/mips16.S: Don't build for microMIPS.
5344 * config/mips/linux-unwind.h: Handle microMIPS frame.
5345 * config/mips/crtn.S (fini, init): New labels.
5346
fbd28bc3
JJ
53472013-03-14 Jakub Jelinek <jakub@redhat.com>
5348
5349 PR tree-optimization/53265
5350 * unwind-dw2.c (execute_cfa_program): Avoid
5351 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
5352 on targets with DWARF_FRAME_REGISTERS < 32.
5353
decc676e
OE
53542013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
5355
5356 PR target/49880
5357 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
5358 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
5359
84ea618a
ST
53602013-03-07 Sriraman Tallam <tmsriram@google.com>
5361
5362 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
5363 sandybridge processors.
5364
8f6d1c86
OE
53652013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
5366
5367 PR target/56529
5368 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
5369 inclusion list.
5370
ecdbd01a 53712013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
409b1de4
EI
5372
5373 * config/microblaze/crti.S: Setup stack protection at entry
5374
0b4ce21b
GJL
53752013-03-04 Georg-Johann Lay <avr@gjlay.de>
5376
5377 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
5378 (__rotldi3): Shift bytewise if applicable.
5379
b7c3f1ca
JG
53802013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
5381
5382 * config/aarch64/sync-cache.c
5383 (__aarch64_sync_cache_range): Silence warnings.
5384
6d65e8f1
CM
53852013-02-25 Catherine Moore <clm@codesourcery.com>
5386
5387 Revert:
5388 2013-02-24 Catherine Moore <clm@codesourcery.com>
5389 Joseph Myers <joseph@codesourcery.com>
5390 Chao-ying Fu <fu@mips.com>
5391
5392 * config/mips/mips16.S: Don't build for microMIPS.
5393 * config/mips/linux-unwind.h: Handle microMIPS frame.
5394 * config/mips/crtn.S (fini, init): New labels.
5395
6941b508
CM
53962013-02-24 Catherine Moore <clm@codesourcery.com>
5397 Joseph Myers <joseph@codesourcery.com>
5398 Chao-ying Fu <fu@mips.com>
5399
5400 * config/mips/mips16.S: Don't build for microMIPS.
5401 * config/mips/linux-unwind.h: Handle microMIPS frame.
5402 * config/mips/crtn.S (fini, init): New labels.
5403
7c422dbb 54042012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
cc86234f 5405 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7c422dbb
EI
5406 as dividend.
5407
110207ad
AM
54082013-02-16 Alan Modra <amodra@gmail.com>
5409
5410 PR target/55431
5411 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
5412 (ppc_fallback_frame_state): Always set up save locations for fp
5413 and altivec. Don't bother with non-callee-saved regs, r0-r13
5414 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
5415
e68a4ef6
GJL
54162013-02-12 Georg-Johann Lay <avr@gjlay.de>
5417
5418 PR target/54222
5419 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
5420 _ssmulHA, _ssmulSA.
5421 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
5422 _ssmulha3, _usmulusa3, _ssmulsa3.
5423 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
5424 (__muldi3): XCALL __muldi3_6 instead of rcall.
5425 (__umulsidi3, __mulsidi3): New functions.
5426 (do_prologue_saves, do_epilogue_restores): New .macros.
5427 (__divdi3_moddi3): Use them.
5428 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
5429 (__usmulusa3, __ssmulsa3): New functions.
5430
6c59ffd1
IS
54312013-02-11 Iain Sandoe <iain@codesourcery.com>
5432 Jack Howarth <howarth@bromo.med.uc.edu>
5433 Patrick Marlier <patrick.marlier@gmail.com>
5434
5435 PR libitm/55693
5436 * config/darwin-crt-tm.c: Remove dummy functions hack.
5437
85d768f3
GJL
54382013-02-08 Georg-Johann Lay <avr@gjlay.de>
5439
5440 PR target/54222
5441 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
5442 * config/avr/lib2-object.mk: New iterator to build objects from it.
5443 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
5444 lib2funcs.c.
5445 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
5446 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
5447 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
5448 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
5449 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
5450 * config/avr/lib1funcs-fixed.S: Implement them.
5451
5d5bf775
RS
54522013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
5453
5454 Update copyright years.
5455
99113dff
DE
54562013-02-01 David Edelsohn <dje.gcc@gmail.com>
5457
5458 PR target/54601
5459 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
5460 Add crtcxa to extra_parts.
5461 * config/rs6000/exit.h: New file.
5462 * config/rs6000/cxa_atexit.c: New file.
5463 * config/rs6000/cxa_finalize.c: New file.
5464 * config/rs6000/crtcxa.c: New file.
5465 * config/rs6000/t-aix-cxa: New file.
5466 * config/rs6000/libgcc-aix-cxa.ver: New file.
5467
dbdbd982
NC
54682013-01-31 Nick Clifton <nickc@redhat.com>
5469
5470 * config/v850/lib1funcs.S: Add support for e3v5 architecture
5471 variant.
5472
5893f158
GJL
54732013-01-29 Georg-Johann Lay <avr@gjlay.de>
5474
5475 PR target/54222
5476 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
5477 _mulQQ, _mulHQ, _mulHA, _mulSA,
5478 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
5479 _divQQ, _divHQ, _divHA, _divSA,
5480 _divUQQ, _divUHQ, _divUHA, _divUSA.
5481
ecdbd01a 54822013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
fbf0cf90 5483
dbdbd982 5484 * config.host(microblaze*-linux*): tmake_file: Remove
fbf0cf90
DH
5485 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
5486 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
5487 to exclude functions from being built with libgcc.c and use
5488 the microblaze assembly.
5489
ecdbd01a 54902013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6f14eef2
EI
5491
5492 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
5493 extra_parts.
5494
922c57d1
YZ
54952013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
5496
5497 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
5498 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
5499 __UINTPTR_TYPE__; also cast 'base' to the same type before the
5500 alignment operation.
5501
e0f8b6a0
SN
55022013-01-15 Sofiane Naci <sofiane.naci@arm.com>
5503
5504 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
5505 loop start address for cache clearing.
5506
00892272
GJL
55072013-01-14 Georg-Johann Lay <avr@gjlay.de>
5508
5509 * config/avr/lib1funcs.S: Remove trailing blanks.
5510 * config/avr/lib1funcs-fixed.S: Ditto.
5511
e59ec5fd
GJL
55122013-01-14 Georg-Johann Lay <avr@gjlay.de>
5513
5514 * config/avr/avr-lib.h: Add GPL copyright notice.
5515
3ffc1958
GJL
55162013-01-14 Georg-Johann Lay <avr@gjlay.de>
5517
5518 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
5519 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
5520 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
5521 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
5522
25c210f9
MK
55232013-01-07 Mark Kettenis <kettenis@openbsd.org>
5524
5525 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
5526 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
2bc15360 5527
db59befb
NC
55282013-01-04 Nick Clifton <nickc@redhat.com>
5529
5530 * config/v850/lib1funcs.S: Only provide CALLT support functions if
5531 the CALLT instruction is supported.
5532
5aa12dbf
JW
55332012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
5534
5535 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
5536 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
5537
65f14117
JT
55382012-12-13 John Tytgat <John@bass-software.com>
5539
5540 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
5541 is 25.
5542
ee3ae4f7
JJ
55432012-12-12 Jakub Jelinek <jakub@redhat.com>
5544
5545 PR libgcc/55451
5546 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
5547 undefined signed overflows.
5548
2fcfba3d
UB
55492012-12-09 Uros Bizjak <ubizjak@gmail.com>
5550
5551 PR target/55344
5552 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
5553
4f2b3dc2
UB
55542012-12-06 Uros Bizjak <ubizjak@gmail.com>
5555
5556 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
5557 (FP_TRAPPING_EXCEPTIONS): Define.
5558 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
5559 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
5560
066161a2
RH
55612012-12-04 Richard Henderson <rth@redhat.com>
5562
5563 PR bootstrap/55571
5564 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
5565
7d296953 55662012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
25626181 5567
4f2b3dc2 5568 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
25626181
MS
5569 (FP_EX_SHIFT): Define.
5570 (FP_TRAPPING_EXCEPTIONS): Define.
5571
7d296953 55722012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
868395e8
MS
5573
5574 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
5575 (FP_ROUNDMODE): Use FP_RND_MASK.
5576 * config/aarch64/sfp-exceptions.c: New.
5577 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5578 Use __sfp_handle_exceptions.
5579
5005fe22
RE
55802012-12-04 Richard Earnshaw <rearnsha@arm.com>
5581
5582 * config.host: (arm*-*-freebsd*): Remove.
5583 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
5584 (arm*-*-elf*): Remove.
5585 (arm*-*-wince-pe*): Remove.
5586 * arm/unwind-arm.c (struct fpa_reg): Delete.
5587 (struct fpa_regs): Delete.
5588 (phase1_vrs): Remove fpa element.
5589 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
5590 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
5591 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
5592 * ieee754-sf.S (floatundisf): Remove FPA support.
5593 (floatdisf): Likewise.
5594 * ieee75f-df.S (floatundidf): Likewise.
5595 (floatdidf): Likewise.
5596
e5a81c8e
KT
55972012-11-29 Kai Tietz <ktietz@redhat.com>
5598
5599 PR target/55445
5600 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
5601 * unwind-generic.h: Likewise.
5602 * unwind-seh.c: Likewise.
5603
f4919e4a
RH
56042012-11-28 Richard Henderson <rth@redhat.com>
5605
5606 PR libgcc/48076
5607 * emutls.c (__emutls_get_address): Avoid race condition between
5608 obj->loc.offset read and emutls_key initialization.
4f2b3dc2 5609
e13d9d5a
GJL
56102012-11-22 Georg-Johann Lay <avr@gjlay.de>
5611
5612 Adjust decimal point of signed accum mode to GCC default.
5613
5614 PR target/54222
5615 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
5616 _divqq_helper.
5617 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
5618 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
5619 (__mulha3, __mulsa3)
5620 (__divqq3, __divha3, __divsa3): Adjust to new position of
4f2b3dc2
UB
5621 decimal point of signed accum types.
5622
e13d9d5a
GJL
5623 (__mulusa3_round): New function.
5624 (__mulusa3): Use it.
5625 (__divqq_helper): New function.
5626 (__udivuqq3): Use it.
5627
1b845c6e
JJ
56282012-11-20 Jakub Jelinek <jakub@redhat.com>
5629
5630 PR bootstrap/55370
5631 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
5632
822a258a
TJ
56332012-11-18 Teresa Johnson <tejohnson@google.com>
5634
5635 PR bootstrap/55051
5636 * libgcov.c (gcov_exit): Remove merged program summary
5637 comparison unless !GCOV_LOCKED.
5638
7d296953 56392012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
54f4eaf0
MS
5640
5641 * soft-fp: Updated from glibc upstream.
5642
e808687a
ILT
56432012-11-06 Ian Lance Taylor <iant@google.com>
5644
5645 * generic-morestack.c (__generic_morestack): Align the returned
5646 stack pointer to a 32 byte boundary.
5647 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
5648 increment the return address until we have decided that we don't
5649 have a varargs function.
5650 (__morestack) [32-bit]: Align stack correctly when calling C
5651 functions.
5652 (__morestack) [64-bit]: Likewise.
5653
460277e0
TS
56542012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5655
5656 * configure: Regenerate.
5657
73edb277
UB
56582012-11-02 Uros Bizjak <ubizjak@gmail.com>
5659
5660 PR target/55175
5661 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
5662 * config/i386/sfp-machine.h: Guard exception handling
5663 code with _SOFT_FLOAT.
5664 * config/i386/32/sfp-machine.h: Guard rounding handling
5665 code with _SOFT_FLOAT.
5666 * config/i386/64/sfp-machine.h: Ditto.
5667
c1d4fa04
JS
56682012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
5669
5670 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
5671 as extra_parts.
5672
eff6ca85
UB
56732012-10-26 Uros Bizjak <ubizjak@gmail.com>
5674
5675 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
5676 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
5677 when appropriate. Correct structure element types.
5678 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
5679 -minline-all-stringops from compile flags.
5680
7d296953 56812012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
43a8f1a1
RC
5682
5683 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
5684
7d296953 56852012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
76c78361 5686
eff6ca85 5687 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
76c78361 5688
6f288860
SH
56892012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
5690
5691 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
5692 tmake_file.
5693
1e3d5096
IB
56942012-10-23 Ian Bolton <ian.bolton@arm.com>
5695 Jim MacArthur <jim.macarthur@arm.com>
5696 Marcus Shawcroft <marcus.shawcroft@arm.com>
5697 Nigel Stephens <nigel.stephens@arm.com>
5698 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
5699 Richard Earnshaw <rearnsha@arm.com>
5700 Sofiane Naci <sofiane.naci@arm.com>
5701 Stephen Thomas <stephen.thomas@arm.com>
5702 Tejas Belagod <tejas.belagod@arm.com>
5703 Yufeng Zhang <yufeng.zhang@arm.com>
5704
5705 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
5706 * config/aarch64/crti.S: New file.
5707 * config/aarch64/crtn.S: New file.
5708 * config/aarch64/linux-unwind.h: New file.
5709 * config/aarch64/sfp-machine.h: New file.
5710 * config/aarch64/sync-cache.c: New file.
5711 * config/aarch64/t-aarch64: New file.
5712 * config/aarch64/t-softfp: New file.
5713
8a740f07
HPN
57142012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
5715
5716 * config/mmix/crti.S: Mark program and data addresses using PRELD.
5717 Remove typo'd and unnecessary alignment-LOC for .data. Remove
5718 no-longer-needed LDBU insns.
5719
7d296953 57202012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
153c8397
SH
5721
5722 * config.host
5723 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
5724 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
5725
595fefee
MGD
57262012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
5727
5728 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
5729
9945a876
MK
57302012-10-15 Matthias Klose <doko@ubuntu.com>
5731
5732 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
5733
1183dc2c
PC
57342012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
5735
5736 * configure: Regenerate.
5737 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
5738
945a9c1f
UB
57392012-10-10 Uros Bizjak <ubizjak@gmail.com>
5740
5741 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
5742 instructions for 64bit targets only.
5743
fb8bf47a
UB
57442012-10-10 Uros Bizjak <ubizjak@gmail.com>
5745
5746 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5747 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
5748 * config/i386/32/sfp-machine.h: ... here.
5749 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
5750 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
5751 New defines.
5752
acb72498
MK
57532012-10-07 Matthias Klose <doko@ubuntu.com>
5754
5755 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
5756 as unused.
5757 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
5758
8eaee0f0
MK
57592012-10-06 Mark Kettenis <kettenis@openbsd.org>
5760
5761 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
5762 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
5763 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
5764 (ElfW): Likewise.
5765
5e3e4fe8
JW
57662012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
5767
5768 PR other/53889
5769 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5770 Fix parameter names.
5771
86086376
OE
57722012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
5773
5774 PR target/33135
5775 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
5776 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
5777 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
5778
9597375a
OE
57792012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
5780
5781 PR target/50457
5782 * config/sh/linux-atomic.S: Delete.
5783 * config/sh/linux-atomic.c: New.
5784 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
5785 linux-atomic.c. Add cflags to disable warnings.
5786
1504e3e1
JW
57872012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
5788
5789 PR other/53889
5790 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
5791 function.
5792 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
5793 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
5794 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
5795 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5e3e4fe8
JW
5796 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
5797 Likewise.
1504e3e1
JW
5798 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5799 Likewise.
5800 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
5801 Likewise.
5802 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
5803 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
5804
17f293b0
MK
58052012-09-19 Mark Kettenis <kettenis@openbsd.org>
5806
9597375a
OE
5807 * config.host (hppa-*-openbsd*): New target.
5808 * config/pa/t-openbsd: New file.
17f293b0 5809
51526856
GJL
58102012-09-15 Georg-Johann Lay <avr@gjlay.de>
5811
5812 PR target/54222
5813 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
5814 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
5815 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
5816 (__divsa3): Use __negsi2 to negate r_quoL.
5817 * config/avr/lib1funcs.S (FALIAS): New macro.
5818 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
5819 (__negsi2): ...this new function.
5820 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
5821 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
5822 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
5823 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
5824 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
5825 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
5826
aadb5b43
OE
58272012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
5828
5829 PR target/54089
5830 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
5831 (lshrsi3): Reimplement as lshrsi3_r0.
5832
d5d66749
AS
58332012-09-10 Andreas Schwab <schwab@linux-m68k.org>
5834
5835 PR target/46191
5836 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
5837 of libgcc.a.
5838
c6c36e73
TJ
58392012-09-07 Teresa Johnson <tejohnson@google.com>
5840
9597375a 5841 PR gcov-profile/54487
c6c36e73 5842 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9597375a 5843 differences.
c6c36e73 5844
b588ae30
GJL
58452012-09-05 Georg-Johann Lay <avr@gjlay.de>
5846
5847 PR target/54461
5848 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
5849 not configured --with-avrlibc=no.
5850 * config/avr/t-avrlibc: New file.
5851 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
5852 (DPBIT_FUNCS): Ditto.
5853 (TPBIT_FUNCS): Ditto.
5854
abd16fb1
TJ
58552012-09-04 Teresa Johnson <tejohnson@google.com>
5856
5857 * libgcov.c (struct gcov_summary_buffer): New structure.
5858 (gcov_histogram_insert): New function.
5859 (gcov_compute_histogram): Ditto.
5860 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
5861 histograms during summary merging.
5862
613061fd
MK
58632012-09-01 Mark Kettenis <kettenis@openbsd.org>
5864
5865 * config.host (x86_64-*-openbsd*): New target.
73edb277 5866
867a8345
CLT
58672012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
5868
5869 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
5870 attribute.
5871
4aeaaca3
GJL
58722012-08-24 Georg-Johann Lay <avr@gjlay.de>
5873
5874 PR target/54222
5875 * config/avr/t-avr (conv_X): Rename to func_X.
5876
e55e4056
GJL
58772012-08-24 Georg-Johann Lay <avr@gjlay.de>
5878
5879 PR target/54222
5880 * config/avr/lib1funcs-fixed.S: New file.
5881 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
5882 after they are used.
5883 (neg2, neg4): New macros.
5884 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
5885 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
5886 (__umulhisi3): Speed up MUL variant if there is enough flash.
5887 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
5888 avr-modes.def.
5889 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
5890 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
5891 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
5892 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
5893 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
5894 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
5895 (LIB2FUNCS_EXCLUDE): Add supported functions.
5896
a147b6d2
GJL
58972012-08-22 Georg-Johann Lay <avr@gjlay.de>
5898
5899 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
5900 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
5901 libgcc-s-objects.
5902 * fixed-obj.mk: Only expand dependency if $o is not in
5903 LIB2FUNCS_EXCLUDE.
5904
c637141a
L
59052012-08-22 H.J. Lu <hongjiu.lu@intel.com>
5906
5907 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
5908
130e00bd
JM
59092012-08-22 Joseph Myers <joseph@codesourcery.com>
5910
5911 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
5912 depend on --enable-shared.
5913 ($(lib1asmfuncs-o)): Use %.vis files independent of
5914 --enable-shared.
5915 * static-object.mk ($(base)$(objext), $(base).vis)
5916 ($(base)_s$(objext)): Use same rules for visibility handling as in
5917 shared-object.mk.
5918
4b1b3788
ILT
59192012-08-21 Ian Lance Taylor <iant@google.com>
5920
5921 * config/i386/morestack.S (__morestack_non_split): Increase amount
5922 of space allocated for non-split code stack.
5923
d2468141
JM
59242012-08-19 Joseph Myers <joseph@codesourcery.com>
5925
5926 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
5927 even if inhibit_libc.
5928
a508e1a8
JB
59292012-08-17 Julian Brown <julian@codesourcery.com>
5930
5931 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
5932 -fexceptions -fnon-call-exceptions if not defined.
5933 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
5934 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
5935
5615a07d
AS
59362012-08-17 Andreas Schwab <schwab@linux-m68k.org>
5937
5938 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
5939 type.
5940
138f5acd
DE
59412012-08-16 David Edelsohn <dje.gcc@gmail.com>
5942
5943 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
5944 rs6000/t-slibgcc-aix.
5945
18efc0dd
SB
59462012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
5947
5948 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
5949
6b39bc38
SB
59502012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
5951
5952 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
5953
cd25dea0
L
59542012-08-03 H.J. Lu <hongjiu.lu@intel.com>
5955
5956 PR driver/54171
5957 * Makefile.in (version): Replace top_srcdir with srcdir.
5958
a3dda30b
JY
59592012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
5960
5961 * Makefile.in (version): set to BASE-VER file from gcc directory.
5962
d04aacfc
NC
59632012-08-01 Nick Clifton <nickc@redhat.com>
5964
5965 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
5966 Implements __clrsb for an HImode argument.
5967
0d13c974
NC
59682012-07-31 Nick Clifton <nickc@redhat.com>
5969
5970 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
5971 Implements __clrsb for an HImode argument.
5972 * config/stormy16/clrsbhi2.c: New file:
5973 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
5974
efbb59b2
SB
59752012-07-22 Steven Bosscher <steven@gcc.gnu.org>
5976
5977 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
5978
bf1431e3
TG
59792012-07-19 Tristan Gingold <gingold@adacore.com>
5980 Richard Henderson <rth@redhat.com>
5981
5982 * unwind-seh.c: New file.
5983 * unwind-generic.h: Include windows.h for SEH.
5984 (_Unwind_Exception): Use 6 private fields for SEH.
5985 (_GCC_specific_handler): Declare.
5986 * unwind-c.c (__gcc_personality_seh0): New function.
5987 Adjust for SEH.
5988 * config/i386/libgcc-cygming.ver: New file.
5989 * config/i386/t-seh-eh: New file.
5990 * config.host (x86_64-*-mingw*): Default to seh.
5991
659140c8
SB
59922012-07-14 Steven Bosscher <steven@gcc.gnu.org>
5993
5994 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
5995
a20d08fd
UB
59962012-06-17 Uros Bizjak <ubizjak@gmail.com>
5997
5998 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
5999 __builtin_expect when checking for exceptions.
6000 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
6001
79261115
UB
60022012-06-13 Uros Bizjak <ubizjak@gmail.com>
6003
4a172156
UB
6004 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
6005 function declaration.
6006 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6007 (FP_RND_MASK): New.
6008 * config/ia64/sfp-exceptions.c: New.
6009 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
79261115 6010
bb5c97d4
UB
60112012-06-13 Uros Bizjak <ubizjak@gmail.com>
6012
6013 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
6014 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
6015 * config/i386/64/sfp-machine: ... (delete here) ...
6016 * config/i386/sfp-machine.h: ... to here.
6017 (FP_EX_MASK): Remove.
6018 (FP_RND_MASK): New.
6019 (FP_INIT_ROUNDMODE): Declare asm as volatile.
6020
91fe5efb
ST
60212012-06-11 Sriraman Tallam <tmsriram@google.com>
6022
6023 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
6024 * config/i386/libgcc-sol2.ver: Ditto.
6025 * config/i386/libgcc-glibc.ver: Ditto.
6026
67a218c5
RM
60272012-06-11 Roland McGrath <mcgrathr@google.com>
6028
6029 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
6030 If __GLIBC__ is defined, refer to __pthread_key_create instead of
6031 pthread_cancel.
6032
492fbea1
UB
60332012-06-09 Uros Bizjak <ubizjak@gmail.com>
6034
6035 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
6036 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
6037 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
6038 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
6039 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
6040 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
6041 * config/i386/64/sfp-machine: ... (delete here) ...
6042 * config/i386/sfp-machine.h: ... to here.
6043 (FP_EX_MASK): New.
6044 (__sfp_handle_exceptions): New function declaration.
6045 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6046 * config/i386/sfp-exceptions.c: New.
6047 * config/i386/t-softfp: New.
6048 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
6049 i386/t-softfp to tmake_file.
6050
7b4cf266
DM
60512012-06-03 David S. Miller <davem@davemloft.net>
6052
6053 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
6054 change.
6055
0de0d5c6
DM
60562012-05-31 David S. Miller <davem@davemloft.net>
6057
6058 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
6059 multiply and divide instructions on 32-bit when V9.
6060 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
6061
d8c9d391
JM
60622012-05-29 Joseph Myers <joseph@codesourcery.com>
6063
6064 * config/arm/ieee754-df.S: Fix typos.
6065 * config/arm/ieee754-sf.S: Fix typos.
6066 * config/c6x/libunwind.S: Fix typos.
6067 * config/epiphany/udivsi3-float.c: Fix typos.
6068 * config/microblaze/muldi3_hard.S: Fix typos.
6069 * config/picochip/adddi3.S: Fix typos.
6070 * config/picochip/ashlsi3.S: Fix typos.
6071 * config/picochip/ashrsi3.S: Fix typos.
6072 * config/picochip/clzsi2.S: Fix typos.
6073 * config/picochip/cmpsi2.S: Fix typos.
6074 * config/picochip/divmod15.S: Fix typos.
6075 * config/picochip/divmodhi4.S: Fix typos.
6076 * config/picochip/divmodsi4.S: Fix typos.
6077 * config/picochip/longjmp.S: Fix typos.
6078 * config/picochip/lshrsi3.S: Fix typos.
6079 * config/picochip/parityhi2.S: Fix typos.
6080 * config/picochip/popcounthi2.S: Fix typos.
6081 * config/picochip/setjmp.S: Fix typos.
6082 * config/picochip/subdi3.S: Fix typos.
6083 * config/picochip/ucmpsi2.S: Fix typos.
6084 * config/picochip/udivmodhi4.S: Fix typos.
6085 * config/picochip/udivmodsi4.S: Fix typos.
6086 * config/spu/divv2df3.c: Fix typos.
6087 * config/spu/mfc_multi_tag_release.c: Fix typos.
6088 * config/spu/mfc_tag_release.c: Fix typos.
6089 * configure.ac: Fix typos.
6090 * configure: Regenerate.
6091
31a18a7e
ILT
60922012-05-25 Ian Lance Taylor <iant@google.com>
6093
6094 * config/i386/morestack.S (__morestack_non_split): Check whether
6095 caller is varargs and needs %bp to hold the stack frame on return.
6096
c5768510
OH
60972012-05-25 Olivier Hainque <hainque@adacore.com>
6098
6099 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
6100 sequence in the non pic case on VxWorks.
6101
7c7c339b
OH
61022012-05-24 Olivier Hainque <hainque@adacore.com>
6103
73fb7630 6104 * Makefile.in: Move dependency on install-unwind_h from
7c7c339b
OH
6105 "install-leaf" to "install".
6106
fdc1b7d3
OH
61072012-05-24 Olivier Hainque <hainque@adacore.com>
6108
6109 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
6110 Use a separate command for stamp removals.
6111
07ba94b9
AP
61122012-05-21 Andrew Pinski <apinski@cavium.com>
6113
6114 PR bootstrap/53183
6115 * configure.ac: Define the default includes to being none.
6116 * configure: Regenerate.
6117
4677d2eb
OH
61182012-05-16 Olivier Hainque <hainque@adacore.com>
6119
6120 * Makefile.in (install-unwind_h): Rename into ...
6121 (install-unwind_h-forbuild): New target.
6122 (all): Use it instead of the former install-unwind_h.
6123 (install-unwind_h): Reinstate, copy to user install destination
6124 for include files, not to the internal gcc object directory one.
6125 (install-leaf): Depend on it.
6126
7d67c380
OH
61272012-05-15 Olivier Hainque <hainque@adacore.com>
6128
6129 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
6130 register numbers. LR_REGNO replaces R_LR.
6131 (ucontext_for): New, helper for ...
6132 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
6133 and 5.3 of ...
6134 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
6135
aca06c90
RO
61362012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6137
6138 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
6139 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
6140 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
6141 i386/t-cpuinfo ...
6142 (i[34567]86-*-*, x86_64-*-*): ... here.
6143
6144 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
6145 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
6146
6147 * config/i386/i386-cpuinfo.c: Rename to ...
6148 * config/i386/cpuinfo.c: ... this.
6149 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
6150
6151 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
6152 (libgcc_cv_init_priority): New test.
6153 * configure: Regenerate.
6154 * config.in: New file.
6155 * Makefile.in (clean): Rename config.h to auto-target.h.
6156 (config.h): Likewise.
6157 (stamp-h): Likewise.
6158
6159 * config/i386/cpuinfo.c (auto-target.h): Include.
6160 (CONSTRUCTOR_PRIORITY): Define.
6161 (__cpu_indicator_init): Use it.
6162
0d03ac1b
L
61632012-05-09 H.J. Lu <hongjiu.lu@intel.com>
6164
6165 * longlong.h: Use a URL instead of an FSF postal address.
6166 Replace spaces with tab.
6167
4a172156 61682012-05-08 Teresa Johnson <tejohnson@google.com>
4e8ee9cb
TJ
6169
6170 * libgcov.c (gcov_clear, __gcov_reset): New functions.
6171 (__gcov_dump): Ditto.
6172 (gcov_dump_complete): New global variable.
6173 (gcov_exit): Export hidden to enable use in L_gcov_dump.
6174 (__gcov_flush): Outline functionality now in gcov_clear.
6175 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
6176
e4bb767e
AJ
61772012-04-28 Aurelien Jarno <aurelien@aurel32.net>
6178
31a18a7e
ILT
6179 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
6180 (mips*-*-linux*): Include mips/t-tpbit when long double is
6181 16 bytes long.
e4bb767e 6182
5ddecff9
ST
61832012-04-25 Sriraman Tallam <tmsriram@google.com>
6184
6185 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
6186 (get_available_features): New argument. Check for AVX2.
6187 (__cpu_indicator_init): Modify call to get_available_features.
6188
b427dd7a
AM
61892012-04-25 Alan Modra <amodra@gmail.com>
6190
6191 * config/rs6000/crtsavevr.S: New file.
6192 * config/rs6000/crtrestvr.S: New file.
6193 * config/rs6000/t-savresfgpr: Build the above.
6194 * config/rs6000/t-netbsd: Likewise.
6195
ad491329
ST
61962012-04-24 Sriraman Tallam <tmsriram@google.com>
6197
6198 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
6199
792317cc
ST
62002012-04-24 Sriraman Tallam <tmsriram@google.com>
6201
6202 * libgcc/config/i386/i386-cpuinfo.c: New file.
6203 * libgcc/config/i386/t-cpuinfo: New file.
6204 * libgcc/config.host: Include t-cpuinfo.
6205 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
6206
e1be98a4
CF
62072012-04-24 Chao-ying Fu <fu@mips.com>
6208
6209 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
6210
1bde7dab
TS
62112012-04-20 Thomas Schwinge <thomas@codesourcery.com>
6212
6213 struct siginfo vs. siginfo_t
6214
6215 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
6216 siginfo_t instead of struct siginfo.
6217 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
6218 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
6219 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
6220 (ia64_handle_unwabi): Likewise.
6221 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
6222 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
6223 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
6224 (sh_fallback_frame_state): Likewise.
6225 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
6226 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
6227
24590f66
L
62282012-04-02 H.J. Lu <hongjiu.lu@intel.com>
6229
6230 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
6231 system call number.
6232
9a9dcce8
EB
62332012-03-31 Eric Botcazou <ebotcazou@adacore.com>
6234
6235 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
6236 if it hasn't been previously saved.
6237
6401aaf5
L
62382012-03-29 H.J. Lu <hongjiu.lu@intel.com>
6239
6240 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
6241 only for glibc.
6242
7fd6378e
GJL
62432012-03-28 Georg-Johann Lay <avr@gjlay.de>
6244
6245 PR target/52737
6246 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
6247 instead of __AVR_HAVE_8BIT_SP__.
6248
9e916de7
TG
62492012-03-26 Tristan Gingold <gingold@adacore.com>
6250
6251 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
6252 (unw_table_entry): Use unw_word instead of unsigned long.
6253 (_Unwind_FindTableEntry): Likewise.
6254 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
6255 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
6256 (_Unwind_FindTableEntry): Likewise.
6257 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
6258 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
6259 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
6260 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
6261 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
6262 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
6263 (uw_init_context_1, uw_install_context): Likewise.
6264 (unw_word): Move to unwind-ia64.h
6265
4b12e93d
TG
62662012-03-26 Tristan Gingold <gingold@adacore.com>
6267
6268 * config/vms/vms-ucrt0.c: Update copyright years.
6269 Add a sanity check.
6270 (___gcc_main_flags): Declare.
6271 (__main): Check flags to remap argv and exit code.
6272 * config.host (*-*-*vms*): Adjust extra_parts.
6273 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
6274 (crt0.o): Add.
6275
06ea7371
RE
62762012-03-22 Richard Earnshaw <rearnsha@arm.com>
6277
6278 * arm/lib1funcs.asm (ctzsi2): New function.
6279 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
6280 * arm/t-linux (LIB1ASMFUNCS): Likewise.
6281 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
6282 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
6283 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
6284 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
6285
d82ad50d
AT
62862012-03-21 Andreas Tobler <andreast@fgznet.ch>
6287
6288 * config.host: Add bits to support powerpc64-*-freebsd*.
6289 * config/rs6000/freebsd-unwind.h: New file.
6290 * config/rs6000/t-freebsd64: New file.
6291
b260a8c0
RG
62922012-03-20 Richard Guenther <rguenther@suse.de>
6293
6294 PR gcov-profile/52627
6295 * libgcov.c (init_mx): Fix mutex name.
6296
86286a8a
TG
62972012-03-16 Tristan Gingold <gingold@adacore.com>
6298
6299 * config/ia64/vms-unwind.h: Remove ulong (and replace
6300 it by unw_reg where used). Define unw_reg with __int64.
6301
7888f266
RO
63022012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6303
6304 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
6305 Solaris 8 handling.
6306 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
6307 Solaris 8 handling.
6308 (sparc_is_sighandler): Likewise.
6309
f155bc64
L
63102012-03-13 H.J. Lu <hongjiu.lu@intel.com>
6311
6312 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
6313 <= saved reg size.
6314
d47657bd
RO
63152012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6316
6317 * config/arm/crtn.S: Fix typo.
6318
5bef73a1
RG
63192012-03-13 Richard Guenther <rguenther@suse.de>
6320
6321 * libgcov.c: Remove stdio.h include and NULL un-define.
6322
9c4271f3
RG
63232012-03-13 Richard Guenther <rguenther@suse.de>
6324
6325 PR target/52569
6326 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
6327
c6d10e7c
RG
63282012-03-13 Richard Guenther <rguenther@suse.de>
6329
6330 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
6331
074a385f
RG
63322012-03-13 Richard Guenther <rguenther@suse.de>
6333
6334 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
6335 and __gthread_mutex_init_function definitions.
6336
c4bc5c25
RO
63372012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6338
6339 * config.host (mips*-*-openbsd*): Remove.
6340
5c30094f
RO
63412012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6342
6343 * config.host: Remove alpha*-dec-osf5.1* handling.
6344 * config/alpha/gthr-posix.c: Remove.
6345 * config/alpha/libgcc-osf5.ver: Remove.
6346 * config/alpha/osf5-unwind.h: Remove.
6347 * config/alpha/t-osf-pthread: Remove.
6348 * config/alpha/t-slibgcc-osf: Remove.
6349 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
6350 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
6351 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
6352 * mkmap-flat.awk: Remove osf_export handling.
6353
33e3e24d
RG
63542012-03-12 Richard Guenther <rguenther@suse.de>
6355
6356 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
6357 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6358 (__gthread_mutex_init_function): New function.
6359 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6360
6361 PR gcov/49484
6362 * libgcov.c: Include gthr.h.
6363 (__gcov_flush_mx): New global variable.
6364 (init_mx, init_mx_once): New functions.
6365 (__gcov_flush): Protect self with a mutex.
6366 (__gcov_fork): Re-initialize mutex after forking.
6367 * unwind-dw2-fde.c: Change condition under which to use
6368 __GTHREAD_MUTEX_INIT_FUNCTION.
6369
d8aba32a
TG
63702012-03-12 Tristan Gingold <gingold@adacore.com>
6371
6372 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
6373 * config/ia64/t-vms: Likewise.
6374
75ffafdc
MH
63752012-03-11 Michael Hope <michael.hope@linaro.org>
6376
4a172156
UB
6377 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
6378 for Thumb-2.
75ffafdc 6379
ef6c2c53
WL
63802012-03-07 Walter Lee <walt@tilera.com>
6381
6382 * config/tilepro/atomic.c: Rename "atomic_" prefix to
6383 "arch_atomic_".
6384 (atomic_xor): Rename and move definition to
6385 config/tilepro/atomic.h.
6386 (atomic_nand): Ditto.
6387 * config/tilepro/atomic.h: Rename "atomic_" prefix to
6388 "arch_atomic_".
6389 (arch_atomic_xor): Move from config/tilepro/atomic.c.
6390 (arch_atomic_nand): Ditto.
6391
4e30d980
GJL
63922012-03-07 Georg-Johann Lay <avr@gjlay.de>
6393
6394 PR target/52507
6395 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
6396
61108225
GJL
63972012-03-07 Georg-Johann Lay <avr@gjlay.de>
6398
6399 PR target/52505
6400 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
6401 from RAM.
6402
b30e10ab
GJL
64032012-03-07 Georg-Johann Lay <avr@gjlay.de>
6404
6405 PR target/52461
6406 PR target/52508
6407 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
6408 if RAMPZ affects reading from RAM.
6409 (__tablejump_elpm__): Ditto.
6410 (.xload): Ditto.
6411 (__movmemx_hi): Ditto.
6412 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
6413 (__do_global_dtors): Ditto.
6414 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
6415 (__movmemx_hi): Ditto.
6416
8993fde4
RH
64172012-03-05 Richard Henderson <rth@redhat.com>
6418
6419 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
6420 [ARM] (count_trailing_zeros): Use the builtin.
6421
b7633ee3
KT
64222012-03-01 Kai Tietz <ktietz@redhat.com>
6423
6424 * soft-fp: Imported from glibc upstream.
6425
fbd3340c
KT
64262012-02-28 Kai Tietz <ktietz@redhat.com>
6427
6428 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
6429 for mingw-targets as attribute gcc_struct.
6430
e9e053eb
ILT
64312012-02-28 Ian Lance Taylor <iant@google.com>
6432
6433 * generic-morestack.c (__splitstack_releasecontext): Correct call
6434 to __morestack_release_segments.
6435
d80c632e
ST
64362012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6437
6438 PR target/52390
6439 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
6440 for __linux__ when removing signals from __morestack_fullmask.
6441
0253a8b1
GJL
64422012-02-23 Georg-Johann Lay <avr@gjlay.de>
6443
6444 PR target/52261
6445 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
6446
e10e461e
UW
64472012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6448
6449 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
6450 instead of HAVE_INITFINI_ARRAY.
6451 * config/ia64/crtend.S: Likewise.
6452
0c0c6398
KT
64532012-02-20 Kai Tietz <ktietz@redhat.com>
6454
d7470374
KT
6455 PR libstdc++/52300
6456 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
6457
0c0c6398
KT
6458 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
6459 to w32-unwind.h header.
6460
78c27266
RS
64612012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6462
6463 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
6464 (mips*-*-linux*): Remove t-slibgcc-libgcc.
6465 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
6466 * config/mips/mips16.S (__mips16_rdhwr): Delete.
6467
5adeb246
RS
64682012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6469
6470 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
6471
672ed313
IS
64722012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6473
6474 PR libitm/52220
6475 * config/darwin-crt-tm.c: Correct typo.
e9e053eb 6476
e948a1fb
IS
64772012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6478 Patrick Marlier <patrick.marlier@gmail.com>
6479
6480 PR libitm/52220
6481 * config/darwin-crt-tm.c: Generate dummy functions.
6482
6017aed3
IS
64832012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6484 Patrick Marlier <patrick.marlier@gmail.com>
6485
6486 PR libitm/52042
6487 * config/darwin-crt-tm.c (getTMCloneTable): New function.
6488 (__doTMRegistrations): Call it.
e9e053eb 6489 (__doTMdeRegistrations): Likewise.
6017aed3 6490
2da8c1ad 64912012-01-15 Georg-Johann Lay <avr@gjlay.de>
7d296953
JJ
6492 Anatoly Sokolov <aesok@post.ru>
6493 Eric Weddington <eric.weddington@atmel.com>
2da8c1ad
GJL
6494
6495 PR target/52261
6496 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
6497 (__epilogue_restores__): Ditto.
6498
0f952eb4
EB
64992012-02-15 Eric Botcazou <ebotcazou@adacore.com>
6500
6501 PR target/51921
6502 PR target/52205
6503 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
6504 Solaris 11 and slightly reformat.
6505 (sparc_is_sighandler): Likewise.
6506
dd552284
WL
65072012-02-14 Walter Lee <walt@tilera.com>
6508
6509 * config.host: Handle tilegx and tilepro.
6510 * config/tilegx/sfp-machine.h: New file.
6511 * config/tilegx/sfp-machine32.h: New file.
6512 * config/tilegx/sfp-machine64.h: New file.
6513 * config/tilegx/t-crtstuff: New file.
6514 * config/tilegx/t-softfp: New file.
6515 * config/tilegx/t-tilegx: New file.
6516 * config/tilepro/atomic.c: New file.
6517 * config/tilepro/atomic.h: New file.
6518 * config/tilepro/linux-unwind.h: New file.
6519 * config/tilepro/sfp-machine.h: New file.
6520 * config/tilepro/softdivide.c: New file.
6521 * config/tilepro/softmpy.S: New file.
6522 * config/tilepro/t-crtstuff: New file.
6523 * config/tilepro/t-tilepro: New file.
6524
b59cbd50
JW
65252012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
6526
6527 PR libstdc++/51296
6528 PR libstdc++/51906
6529 * gthr-posix.h: Allow static initializer macros to be disabled.
6530 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
6531
6caf807f
CLT
65322012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
6533
6534 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
6535 Add t-slibgcc-libgcc to tmake_file.
6536 * config/mips/libgcc-mips16.ver: Revert previous patch.
6537 * config/mips/mips16.S (__mips16_rdhwr): Hide.
6538
7d296953
JJ
65392012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
6540 Jayant R Sonar <jayant.sonar@kpitcummins.com>
b25364a0
S
6541
6542 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
6543 * config/cr16/crti.S: New file.
6544 * config/cr16/crtlibid.S: New file.
6545 * config/cr16/crtn.S: New file.
6546 * config/cr16/lib1funcs.S: New file.
6547 * config/cr16/t-cr16: New file.
6548 * config/cr16/t-crtlibid: New file.
6549 * config/cr16/unwind-dw2.h: New file.
6550 * config/cr16/unwind-cr16.c: New file.
6551 * config/cr16/divmodhi3.c: New file.
6552
8ef03aa7
AM
65532012-01-25 Alan Modra <amodra@gmail.com>
6554
6555 * config/rs6000/t-linux64: Delete. Move..
6556 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
6557 * config/rs6000/t-linux: ..and libgcc flags to here.
6558
daecebc8
DR
65592012-01-22 Douglas B Rupp <rupp@gnat.com>
6560
6561 * config.host (i[34567]86-*-interix3*):
8ef03aa7 6562 Change triplet to i[34567]86-*-interix[3-9]*.
daecebc8
DR
6563 * configure: Regenerate.
6564
ddaf8125
RS
65652012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
6566 Richard Sandiford <rdsandiford@googlemail.com>
6567
6568 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
6569 * config/mips/mips16.S (__mips16_rdhwr): New function.
6570 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
6571
2cd8b32c
NS
65722012-01-11 Nathan Sidwell <nathan@acm.org>
6573
6574 * libgcov.c (__gcov_init): Ignore objects with no functions.
6575
cba300dd
GJL
65762012-01-10 Georg-Johann Lay <avr@gjlay.de>
6577
6578 PR target/49868
6579 Extend __pgmx semantics to linearize memory.
6580 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
6581 * config/avr/lib1funcs.S (__xload_1): New function.
6582 (__movmemx_qi, __movmemx_hi): New functions.
6583 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
6584 semantics.
9ffaf4bc 6585
3d137660
EB
65862012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6587
6588 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
6589 purported sigacthandler address isn't null before dereferencing it.
6590 (sparc_is_sighandler): Likewise.
6591
bf4db96c
EB
65922012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6593
6594 PR ada/41929
6595 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
6596 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
6597 (sparc_is_sighandler): Likewise.
6598 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
6599
1ab3568b
TG
66002012-01-06 Tristan Gingold <gingold@adacore.com>
6601
6602 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
6603 compatibility thunks...
6604 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
6605 (crtbeginS.o, crtendS.o): ... and these to ...
6606 * config/ia64/t-ia64-elf: ... this new file.
6607 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
6608 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
6609
925b0ed8
AK
66102012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6611
6612 * configure: Regenerate.
6613 * config/s390/t-crtstuff: Remove -fPIC.
6614
a99ad737
JW
66152012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
6616
6617 PR bootstrap/51006
6618 * enable-execute-stack-mprotect.c (getpagesize): Do not define
6619 for NetBSD.
6620
884f56d1
GJL
66212012-01-02 Georg-Johann Lay <avr@gjlay.de>
6622
6623 PR target/51345
6624 * config/avr/lib1funcs.S: Remove FIXME comments.
6625 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
6626
8c57e547
GJL
66272012-01-02 Georg-Johann Lay <avr@gjlay.de>
6628
6629 Implement light-weight DImode support.
6630 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
6631 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
6632 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
6633 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
6634
04dbc287
NS
66352011-12-30 Nathan Sidwell <nathan@acm.org>
6636
6637 * libgcov.c (gcov_crc32): Remove global var.
6638 (free_fn_data): New function.
6639 (buffer_fn_data): Pass in filename, more robust error recovery.
6640 (crc32_unsigned): New function.
6641 (gcov_exit): More robust detection of new program. More robust
6642 error recovery.
6643 (__gcov_init): Do not update program's crc here.
6644
8e1d97d4
TG
66452011-12-21 Tristan Gingold <gingold@adacore.com>
6646
6647 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
6648
9ffaf4bc
ILT
66492011-12-21 Ian Lance Taylor <iant@google.com>
6650
6651 * config/i386/morestack.S: Simplify CFI opcodes throughout.
6652
a0c8d0c1
ILT
66532011-12-20 Ian Lance Taylor <iant@google.com>
6654
6655 * config/i386/morestack.S (__morestack_non_split): If there is
6656 enough stack space already, don't split. Ask for more stack space
6657 than we required.
6658
69048898
SDJ
66592011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
6660
6661 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
6662 `sys/sdt.h'.
6663 (_Unwind_DebugHook): New function.
6664 (uw_restore_core_regs): New define.
6665 (unwind_phase2): Use uw_restore_core_regs instead of
6666 restore_core_regs.
6667 (unwind_phase2_forced): Likewise.
6668 (__gnu_Unwind_Resume): Likewise.
6669
1bb4b6a3
UB
66702011-12-20 Uros Bizjak <ubizjak@gmail.com>
6671
6672 * config/alpha/linux-unwind.h: Update copyright years.
6673 (MD_FROB_UPDATE_CONTEXT): New define.
6674 (alpha_frob_update_context): New function.
6675
eb028768
RS
66762011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
6677
6678 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
6679 tmake_file rather replacing it.
6680
6a2045bf
IS
66812011-12-15 Iain Sandoe <iains@gcc.gnu.org>
6682
6683 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1bb4b6a3 6684 function is not used for PPC64.
6a2045bf
IS
6685 (save_world): Amend comments. Update the VRsave mask to reflect the
6686 saved regs.
6687 (rest_world): Update comments, do not clobber r10, do not use r8.
6688 (eh_rest_world_r10): Amend comments, do not use r8.
6689 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
6690 no longer used, move restore of CR and target address to the end of
6691 the routine.
6692
a13780a6
L
66932011-12-14 H.J. Lu <hongjiu.lu@intel.com>
6694
6695 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
6696 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
6697
d7288dfb
GJL
66982011-12-14 Georg-Johann Lay <avr@gjlay.de>
6699
6700 PR target/49313
6701 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
6702 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
6703
8d2c862d
EB
67042011-12-11 Eric Botcazou <ebotcazou@adacore.com>
6705
6706 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
6707
3447cae6
GJL
67082011-12-09 Georg-Johann Lay <avr@gjlay.de>
6709
6710 PR target/49313
6711 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
6712 * config/avr/lib1funcs.S (__muldi3): New function.
6713
806fc6aa
AP
67142011-12-06 Andrew Pinski <apinski@cavium.com>
6715
6716 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
6717 size of func_ptr.
6718 (__frame_dummy_init_array_entry): Likewise.
6719
28c5e6b5
GJL
67202011-12-06 Georg-Johann Lay <avr@gjlay.de>
6721
6722 Forward-port from gcc-4_6-branch r181936 2011-12-02.
6723
6724 PR target/51345
6725 PR target/51002
6726 * config/avr/lib1funcs.S (__prologue_saves__,
6727 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
6728 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
6729
8f90394a
IS
67302011-12-04 Iain Sandoe <iains@gcc.gnu.org>
6731
6732 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
6733
06dd33ac
JDA
67342011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6735
6736 PR other/51272
6737 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
6738 (_ITM_deregisterTMCloneTable): Likewise.
6739 (__register_frame_info): Fix unused warning.
6740 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
6741 pthread_default_stacksize_np): Likewise.
6742 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1bb4b6a3 6743
85b8555e
DD
67442011-11-29 DJ Delorie <dj@redhat.com>
6745
6746 * config.host (rl78-*-elf): New case.
6747 * config/rl78: New directory for the Renesas RL78.
6748
4d5ae4ea
BS
67492011-11-29 Bernd Schmidt <bernds@codesourcery.com>
6750
6751 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
6752 formatting.
6753
f9c55897
RO
67542011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6755
6756 PR other/51022
6757 * config/rs6000/t-savresfgpr: New file.
6758 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
6759 $(srcdir)/config/rs6000/eabi.S.
6760 * config/rs6000/t-ppccomm-ldbl: Remove.
6761 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
6762 tmake_file.
6763 (powerpc-*-eabispe*): Likewise.
6764 (powerpc-*-eabi*): Likewise.
6765 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
6766 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
6767 to tmake_file, remove rs6000/t-ppccomm-ldbl.
6768 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
6769 tmake_file.
6770 (powerpc-*-eabisim*): Likewise.
6771 (powerpc-*-elf*): Likewise.
6772 (powerpc-*-eabialtivec*): Likewise.
6773 (powerpc-xilinx-eabi*): Likewise.
6774 (powerpc-*-rtems*): Likewise.
6775 (powerpcle-*-elf*): Likewise.
6776 (powerpcle-*-eabisim*): Likewise.
6777 (powerpcle-*-eabi*): Likewise.
6778
a01207c4
ILT
67792011-11-27 Ian Lance Taylor <iant@google.com>
6780
6781 * generic-morestack.c (__splitstack_find): Check for NULL old
6782 stack value.
6783 (__splitstack_resetcontext): New function.
6784 (__splitstack_releasecontext): New function.
6785 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6786
2b0b8ab2
IS
67872011-11-27 Iain Sandoe <iains@gcc.gnu.org>
6788
6789 * config/darwin-crt-tm.c: Correct comments, use correct licence.
6790
c1d8101c
IS
67912011-11-27 Iain Sandoe <iains@gcc.gnu.org>
6792
6793 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
6794
8b281334
RH
67952011-11-26 Richard Henderson <rth@redhat.com>
6796
6797 * config/m68k/linux-atomic.c: New file.
6798 * config/m68k/t-linux: New file.
6799 * config.host (m68k-uclinux, m68k-linux): Use it.
6800
7546aa9d
RH
68012011-11-26 Richard Henderson <rth@redhat.com>
6802
6803 * crtstuff.c (__TMC_LIST__): Mark used not unused.
6804 (__TMC_END__): Only declare if hidden is available; in the definition,
6805 if hidden is unavailable add a null record.
6806 (deregister_tm_clones, register_tm_clones): New.
6807 (__do_global_dtors_aux, frame_dummy): Use them.
6808 (__do_global_dtors, __do_global_ctors_1): Likewise.
6809
e2362f5d
IS
68102011-11-22 Iain Sandoe <iains@gcc.gnu.org>
6811
6812 * config/darwin-crt-tm.c: New file.
6813 * config.host (darwin): Build crttms.o crttme.o to provide
6814 startup and shutdown for tm clones.
6815 * config/t-darwin (crttms.o): New build rule.
6816 (crttme.o): Likewise.
6817
6685dd96
HPN
68182011-11-21 Hans-Peter Nilsson <hp@axis.com>
6819
6820 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
6821 et al.
6822
b0dc7e4c
RH
68232011-11-21 Richard Henderson <rth@redhat.com>
6824
6825 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
6826 (__TMC_LIST__, __TMC_END__): New.
6827 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
6828 (__do_global_dtors): Likewise.
6829 (frame_dummy): Call _ITM_registerTMCloneTable.
6830 (__do_global_ctors_1): Likewise.
6831
d4b4b542
RO
68322011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6833
6834 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
6835 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
6836 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
6837 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
6838 * config/i386/t-darwin64: Remove.
6839 * config/sh/t-netbsd (LIB2ADD): Remove.
6840
989bdb74
GJL
68412011-11-21 Georg-Johann Lay <avr@gjlay.de>
6842
6843 PR target/49313
6844 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
6845 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
6846 * config/avr/lib1funcs.S (wmov): New assembler macro.
6847 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
6848 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
6849 (__udivmod64): New function.
6850 (__negdi2): New function.
6851
515a0cfc
GP
68522011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
6853
6854 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
6855 *-*-freebsd*aout*): Remove.
6856
0115d17f
HPN
68572011-11-20 Hans-Peter Nilsson <hp@axis.com>
6858
6859 * static-object.mk (c_flags-$o): Save c_flags.
6860 ($(base)$(objext)): Use it.
6861
93aeb62b
SE
68622011-11-18 Steve Ellcey <sje@cup.hp.com>
6863
6864 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
6865
7bc6df2c
GJL
68662011-11-18 Georg-Johann Lay <avr@gjlay.de>
6867
6868 PR target/49868
6869 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
6870 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
6871 New functions.
6872
425d737b
MGD
68732011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
6874
6875 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
6876 functions.
1bb4b6a3 6877 (aeabi_uidivmod): Likewise.
425d737b
MGD
6878 (umodsi3): Likewise.
6879 (divsi3): Likewise.
6880 (aeabi_idivmod): Likewise.
6881 (modsi3): Likewise.
6882
f2a176dc
TG
68832011-11-16 Tristan Gingold <gingold@adacore.com>
6884
6885 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
6886
7c209481
GJL
68872011-11-15 Georg-Johann Lay <avr@gjlay.de>
6888
6889 PR target/49868
6890 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
6891 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
6892
9dfd5832
JDA
68932011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6894
6895 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
6896 tmake_file list.
6897 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
6898 * config/pa/t-stublib64: Delete.
6899
f77dca5d
RH
69002011-11-12 Richard Henderson <rth@redhat.com>
6901
6902 * config/rs6000/linux-unwind.h (frob_update_context): Properly
6903 cast the pointer argument to _Unwind_SetGRPtr.
6904
902828f0
RO
69052011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6906
6907 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
6908
e14304ef
ILT
69092011-11-09 Ian Lance Taylor <iant@google.com>
6910
6911 * generic-morestack.c: Include <string.h>.
6912 (uintptr_type): Define.
6913 (struct initial_sp): Add dont_block_signals field. Reduce size of
6914 extra array by 1.
6915 (allocate_segment): Set prev field to NULL. Don't set
6916 __morestack_current_segment or __morestack_segments.
6917 (__generic_morestack): Update current->prev and *pp after calling
6918 allocate_segment.
6919 (__morestack_block_signals): Don't do anything if
6920 dont_block_signals is set.
6921 (__morestack_unblock_signals): Likewise.
6922 (__generic_findstack): Check for initial_sp == NULL. Add casts to
6923 uintptr_type.
6924 (__splitstack_block_signals): New function.
6925 (enum __splitstack_content_offsets): Define.
6926 (__splitstack_getcontext, __splitstack_setcontext): New functions.
6927 (__splitstack_makecontext): New function.
6928 (__splitstack_block_signals_context): New function.
6929 (__splitstack_find_context): New function.
6930 * config/i386/morestack.S (__morestack_get_guard): New function.
6931 (__morestack_set_guard, __morestack_make_guard): New functions.
6932 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6933
e3d871e4
RO
69342011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6935
6936 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
6937 (i[34567]86-*-mingw*): ... here.
6938 (x86_64-*-mingw*): ... here.
6939
e55cef40
RO
69402011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6941
6942 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
6943
5366b186
NS
69442011-11-07 Nathan Sidwell <nathan@acm.org>
6945
6946 * libgcov.c (struct gcov_fn_buffer): New struct.
6947 (buffer_fn_data): New helper.
6948 (gcov_exit): Rework for new gcov data structures.
6949
74155a6f
GJL
69502011-11-07 Georg-Johann Lay <avr@gjlay.de>
6951
6952 PR target/49313
6953 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
6954
200feb07
RO
69552011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6956
6957 * config.host (tmake_file): Correct comment.
6958 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
6959 t-libgcc-pic.
6960 (bfin*-uclinux*): Likewise.
6961 (bfin*-linux-uclibc*): Likewise.
6962 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
6963
6964 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
6965 assigning.
6966 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6967 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
6968 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6969 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
6970 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6971 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
6972 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
6973 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6974 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
6975 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
6976 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
6977 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
6978 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
6979
6980 * config/bfin/t-elf: Remove.
6981 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
6982
c9cd1a07
RO
69832011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6984
6985 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
6986 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
6987 (lm32-*-elf*, lm32-*-rtems*): Split into ...
6988 (lm32-*-elf*): ... this.
6989 (lm32-*-rtems*): ... and this.
6990 Add to tmake_file.
6991 (m32r-*-rtems*): Add to tmake_file.
6992 (moxie-*-rtems*): Likewise.
6993 (sparc-*-rtems*): Likewise.
6994 Remove t-rtems from tmake_file.
6995 (sparc64-*-rtems*): Likewise.
6996 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
6997 instead.
6998
9fbcc75d
RO
69992011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7000
7001 PR bootstrap/50982
7002 * config/gthr-posix.h: Move ...
7003 * gthr-posix.h: ... here.
7004 * config/gthr-lynx.h: Reflect this.
7005 * config/gthr-vxworks.h: Likewise.
7006 * config/rs6000/gthr-aix.h: Likewise.
7007 * configure.ac (target_thread_file): Likewise.
7008 * configure: Regenerate.
7009
76644b68
SH
70102011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
7011
7012 * config.host (arm*-*-rtemseabi*): New target.
7013
5e490f2a
JDA
70142011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7015
7016 PR other/50991
7017 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
7018 extra-parts.
7019
feeeff5c
JR
70202011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
7021
7022 * config.host (epiphany-*-elf*): New configuration.
7023 * config/epiphany: New Directory.
7024
d618bb2c
RC
70252011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
7026
7027 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
7028 * config/avr/t-rtems: New.
7029 Filter out _exit from LIB1ASMFUNCS.
7030
1bb6f778
DM
70312011-11-04 David S. Miller <davem@davemloft.net>
7032
7033 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
7034 * configure: Rebuild.
7035
9a7f7422
AK
70362011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7037
7038 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
7039 variable.
7040
e4fe948a
GJL
70412011-11-04 Georg-Johann Lay <avr@gjlay.de>
7042
7043 PR target/50931
7044 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
7045 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
7046
7084e037
JS
70472011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
7048
7049 PR target/50989
7050 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
7051
1a032034
RO
70522011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7053
7054 * config/c6x/t-elf (LIB2ADDEH): Set.
7055 * config/c6x/t-c6x-elf: Remove.
7056
d385f772
RO
70572011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7058
7059 * config/i386/sol2-ci.S: Rename to ...
7060 * config/i386/crti.S: ... this.
7061 * config/i386/sol2-cn.S: Rename to ...
7062 * config/i386/crtn.S: ... this.
7063 * config/sparc/sol2-ci.S: Rename to ...
7064 * config/sparc/crti.S: ... this.
7065 * config/sparc/sol2-cn.S: Rename to ...
7066 * config/sparc/crtn.S: ... this.
7067 * config/t-sol2 (CUSTOM_CRTIN): Remove.
7068 (crti.o, crtn.o): Remove.
7069
1ba878a9
TG
70702011-11-04 Tristan Gingold <gingold@adacore.com>
7071
7072 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
7073
02750c15
KK
70742011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
7075
7076 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
7077
bf86b067
HPN
70782011-11-03 Hans-Peter Nilsson <hp@axis.com>
7079
7080 * config.host (crisv32-*-none, cris-*-none): Remove.
7081 (crisv32-*-elf): Append to tmake_file, don't just set it.
7082 (cris-*-elf): Add missing t-fdpbit to tmake_file.
7083
d0bc53bd
RO
70842011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7085
7086 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
7087 (ecrtn$(objext)): Likewise.
7088 (ncrti$(objext)): Likewise.
7089 (ncrtn$(objext)): Likewise.
7090
036da830
AS
70912011-11-03 Andreas Schwab <schwab@redhat.com>
7092
7093 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
7094
d2a7d041
DM
70952011-11-02 David S. Miller <davem@davemloft.net>
7096
7097 * configure.ac: Set host_address on sparc too.
7098 * configure: Regenerate.
7099 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
7100 based upon host_address.
7101 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
7102
af8ed618
JM
71032011-11-02 Jason Merrill <jason@redhat.com>
7104
7105 * config/rs6000/t-ppccomm: Add missing \.
7106
5d1c8e77
RO
71072011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7108
7109 * gthr-single.h, gthr.h: New files.
7110 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
7111 config/gthr-vxworks.h, config/i386/gthr-win32.h,
7112 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
7113 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
7114 * config/i386/gthr-win32.c: Include "gthr-win32.h".
7115 * configure.ac (thread_header): New variable.
7116 Set it depending on target_thread_file.
7117 (gthr-default.h): Link from $thread_header.
7118 * configure: Regenerate.
7119 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
7120
852b75ed
RO
71212011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7122
7123 * configure.ac (tm_file_): New variable.
7124 Determine from tm_file.
7125 (tm_file, tm_defines): Substitute.
7126 * configure: Regenerate.
7127 * mkheader.sh: New file.
7128 * Makefile.in (clean): Remove libgcc_tm.h.
7129 ($(objects)): Depend on libgcc_tm.h.
7130 (libgcc_tm_defines, libgcc_tm_file): New variables.
7131 (libgcc_tm.h, libgcc_tm.stamp): New targets.
7132 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
7133 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
7134 ($(extra-parts)): Depend on libgcc_tm.h.
7135 * config.host (tm_defines, tm_file): New variable.
7136 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
7137 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
7138 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
7139 (avr-*-rtems*): Likewise.
7140 (avr-*-*): Likewise.
7141 (frv-*-elf): Likewise.
7142 (frv-*-*linux*): Likewise.
7143 (h8300-*-rtems*): Likewise.
7144 (h8300-*-elf*): Likewise.
7145 (i[34567]86-*-darwin*): Likewise.
7146 (x86_64-*-darwin*): Likewise.
7147 (rx-*-elf): Likewise.
7148 (tic6x-*-uclinux): Likewise.
7149 (tic6x-*-elf): Likewise.
7150 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
7151 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
7152 * config/i386/cygming-crtbegin.c: Likewise.
7153 * config/i386/cygming-crtend.c: Likewise.
7154 * config/ia64/fde-vms.c: Likewise.
7155 * config/ia64/unwind-ia64.c: Likewise.
7156 * config/libbid/bid_gcc_intrinsics.h: Likewise.
7157 * config/rs6000/darwin-fallback.c: Likewise.
7158 * config/stormy16/lib2funcs.c: Likewise.
7159 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
7160 * crtstuff.c: Likewise.
7161 * dfp-bit.h: Likewise.
7162 * emutls.c: Likewise.
7163 * fixed-bit.c: Likewise.
7164 * fp-bit.c: Likewise.
7165 * generic-morestack-thread.c: Likewise.
7166 * generic-morestack.c: Likewise.
7167 * libgcc2.c: Likewise.
7168 * libgcov.c: Likewise.
7169 * unwind-dw2-fde-dip.c: Likewise.
7170 * unwind-dw2-fde.c: Likewise.
7171 * unwind-dw2.c: Likewise.
7172 * unwind-sjlj.c: Likewise.
7173
f9989b51
RO
71742011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7175
7176 * configure.ac: Include ../config/picflag.m4.
7177 (GCC_PICFLAG): Call it.
7178 Substitute.
7179 * configure: Regenerate.
7180 * Makefile.in (gcc_srcdir): Remove.
7181 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
7182 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
7183 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
7184 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
7185 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
7186 Use $<.
7187 Remove comment.
7188 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
7189 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
7190 to refer to libgcc2.c.
7191 Use $<.
7192 * config/darwin-64.c: New file.
7193 * config/darwin-crt3.c: Remove comment.
7194 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
7195 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
7196 config/udivmodsi4.c: New files.
7197 * config/memcmp.c, config/memcpy.c, config/memmove.c,
7198 config/memset.c: New files.
7199 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
7200 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
7201 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
7202 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
7203 * config/t-openbsd-thread: New file.
7204 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
7205 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
7206 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
7207 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
7208 qrnnd.S.
7209 Adapt filename.
7210 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
7211 to refer to gthr-posix.c.
7212 * config/alpha/t-vms (LIB2ADD): Set.
7213 * config/alpha/vms-gcc_shell_handler.c: New file.
7214 * config/arm/bpabi.c, config/arm/fp16.c,
7215 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
7216 config/arm/unaligned-funcs.c: New files.
7217 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
7218 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7219 * config/arm/t-linux: Likewise.
7220 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
7221 * config/arm/t-netbsd: New file.
7222 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
7223 * config/arm/t-symbian (LIB2ADD_ST): Set.
7224 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
7225 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7226 * config/bfin/t-elf: New file.
7227 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
7228 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
7229 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
7230 config/c6x/ltf.c: New files.
7231 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
7232 (HOST_LIBGCC2_CFLAGS): Set.
7233 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
7234 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7235 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
7236 New files.
7237 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
7238 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
7239 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
7240 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
7241 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
7242 files.
7243 * config/frv/t-frv (LIB2ADD): Set.
7244 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7245 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
7246 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
7247 config/h8300/popcounthi2.c: New files.
7248 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7249 * config/i386/gthr-win32.c: New file.
7250 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
7251 * config/i386/t-cygwin: Likewise.
7252 * config/i386/t-darwin, config/i386/t-darwin64,
7253 config/i386/t-gthr-win32, config/i386/t-interix: New files.
7254 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
7255 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7256 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7257 * config/ia64/quadlib.c: New file.
7258 * config/ia64/t-hpux (LIB2ADD): Set.
7259 * config/ia64/t-ia64: Add comment.
7260 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
7261 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7262 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
7263 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
7264 * config/m32c/t-m32c (LIB2ADD): Set.
7265 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7266 * config/m32r/t-m32r: Likewise.
7267 * config/m68k/fpgnulib.c: New file.
7268 * config/m68k/t-floatlib (LIB2ADD): Set.
7269 (xfgnulib.c): New target.
7270 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
7271 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
7272 * config/mep/t-mep (LIB2ADD): Set.
7273 * config/microblaze/divsi3.asm: Rename to divsi3.S.
7274 * config/microblaze/moddi3.asm: Rename to moddi3.S.
7275 * config/microblaze/modsi3.asm: Rename to modsi3.S.
7276 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
7277 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
7278 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
7279 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
7280 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
7281 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
7282 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
7283 New files.
7284 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
7285 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
7286 * config/pa/fptr.c, config/pa/lib2funcs.S,
7287 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
7288 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7289 (LIB2ADD, LIB2ADD_ST): Set.
7290 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
7291 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
7292 Set.
7293 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
7294 * config/pdp11/t-pdp11: New file.
7295 * config/picochip/libgccExtras/adddi3.S,
7296 config/picochip/libgccExtras/ashlsi3.S,
7297 config/picochip/libgccExtras/ashrsi3.S,
7298 config/picochip/libgccExtras/clzsi2.S,
7299 config/picochip/libgccExtras/cmpsi2.S,
7300 config/picochip/libgccExtras/divmod15.S,
7301 config/picochip/libgccExtras/divmodhi4.S,
7302 config/picochip/libgccExtras/divmodsi4.S,
7303 config/picochip/libgccExtras/lshrsi3.S,
7304 config/picochip/libgccExtras/parityhi2.S,
7305 config/picochip/libgccExtras/popcounthi2.S,
7306 config/picochip/libgccExtras/subdi3.S,
7307 config/picochip/libgccExtras/ucmpsi2.S,
7308 config/picochip/libgccExtras/udivmodhi4.S,
7309 config/picochip/libgccExtras/udivmodsi4.S: New files.
7310 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
7311 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
7312 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
7313 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
7314 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
7315 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
7316 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
7317 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
7318 files.
7319 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
7320 (HOST_LIBGCC2_CFLAGS): Set.
7321 * config/rs6000/t-darwin64: New file.
7322 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
7323 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
7324 * config/rs6000/t-ppccomm (LIB2ADD): Add
7325 $(srcdir)/config/rs6000/tramp.S.
7326 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
7327 Add $(srcdir)/config/rs6000/eabi.S.
7328 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
7329 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
7330 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
7331 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
7332 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
7333 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
7334 * config/rs6000/tramp.S: New file.
7335 * config/s390/t-tpf: Remove.
7336 * config/sh/linux-atomic.S: New file.
7337 * config/sh/t-linux (LIB2ADD): Set.
7338 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
7339 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7340 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
7341 to unwind-dw2.c.
7342 (HOST_LIBGCC2_CFLAGS): Set.
7343 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7344 * config/spu/divmodti4.c, config/spu/divv2df3.c,
7345 config/spu/float_disf.c, config/spu/float_unsdidf.c,
7346 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
7347 config/spu/mfc_multi_tag_release.c,
7348 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
7349 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
7350 config/spu/multi3.c: New files.
7351 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
7352 (HOST_LIBGCC2_CFLAGS): Set.
7353 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
7354 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
7355 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
7356 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
7357 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
7358 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
7359 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
7360 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
7361 config/stormy16/umodsi3.c: New files.
7362 * config/xtensa/lib2funcs.S: New file.
7363 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7364 * config/xtensa/t-xtensa (LIB2ADD): Set.
7365 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
7366 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
7367 Add t-freebsd-thread to tmake_file for posix threads.
7368 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
7369 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
7370 (*-*-lynxos*): Likewise.
7371 (*-*-netbsd*): Likewise.
7372 (*-*-openbsd*): Likewise.
7373 Add t-openbsd-thread to tmake_file for posix threads.
7374 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
7375 (*-*-vxworks*): Set tmake_file.
7376 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7377 (alpha*-*-freebsd*): Likewise.
7378 (alpha*-*-netbsd*): Likewise.
7379 (alpha*-*-openbsd*): Likewise.
7380 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
7381 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7382 (alpha*-dec-*vms*): Likewise.
7383 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
7384 (bfin*-elf*): Add bfin/t-elf to tmake_file.
7385 (bfin*-uclinux*): Likewise.
7386 (bfin*-linux-uclibc*): Likewise.
7387 (crisv32-*-elf): Add cris/t-cris to tmake_file.
7388 (crisv32-*-none): Likewise.
7389 (cris-*-elf): Likewise.
7390 (cris-*-none): Likewise.
7391 (cris-*-linux*, crisv32-*-linux*): Likewise.
7392 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
7393 tmake_file.
7394 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
7395 tmake_file.
7396 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
7397 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
7398 (x86_64-*-elf*): Likewise.
7399 (i[34567]86-*-nto-qnx*): Likewise.
7400 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
7401 win32 threads.
7402 (x86_64-*-mingw*): Likewise.
7403 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
7404 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
7405 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7406 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7407 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
7408 tmake_file.
7409 (mipsisa64sr71k-*-elf*): Likewise.
7410 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7411 (mips-*-elf*, mipsel-*-elf*): Likewise.
7412 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7413 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7414 (mips*-*-rtems*): Likewise.
7415 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
7416 to tmake_file.
7417 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
7418 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
7419 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
7420 (spu-*-elf*): Likewise.
7421 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
7422
45b86625
RO
74232011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7424
7425 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
7426 $(srcdir) to refer to $(LIB1ASMSRC).
7427 Use $<.
7428 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
7429 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
7430 config/arm/lib1funcs.S: New files.
7431 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
7432 * config/arm/t-arm: New file.
7433 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
7434 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
7435 config/arm/t-strongarm-elf: New files.
7436 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
7437 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
7438 * config/avr/lib1funcs.S: New file.
7439 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7440 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
7441 * config/c6x/lib1funcs.S: New file.
7442 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7443 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
7444 * config/frv/lib1funcs.S: New file.
7445 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7446 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
7447 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
7448 * config/ia64/__divxf3.asm: Rename to ...
7449 * config/ia64/__divxf3.S: ... this.
7450 Adapt lib1funcs.asm filename.
7451 * config/ia64/_fixtfdi.asm: Rename to ...
7452 * config/ia64/_fixtfdi.S: ... this.
7453 Adapt lib1funcs.asm filename.
7454 * config/ia64/_fixunstfdi.asm: Rename to ...
7455 * config/ia64/_fixunstfdi.S: ... this.
7456 Adapt lib1funcs.asm filename.
7457 * config/ia64/_floatditf.asm: Rename to ...
7458 * config/ia64/_floatditf.S: ... this.
7459 Adapt lib1funcs.asm filename.
7460 * config/ia64/lib1funcs.S: New file.
7461 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
7462 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7463 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
7464 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
7465 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
7466 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
7467 * config/mep/lib1funcs.S: New file.
7468 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7469 * config/mips/mips16.S: New file.
7470 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7471 * config/pa/milli64.S: New file.
7472 * config/pa/t-linux, config/pa/t-linux64: New files.
7473 * config/picochip/lib1funcs.S: New file.
7474 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7475 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
7476 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
7477 * config/sh/t-netbsd: New file.
7478 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
7479 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
7480 * config/sh/t-sh64: New file.
7481 * config/sparc/lb1spc.S: New file.
7482 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
7483 filename.
7484 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
7485 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
7486 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
7487 config/xtensa/lib1funcs.S: New files.
7488 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7489 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
7490 tmake_file.
7491 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
7492 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
7493 (arm*-*-linux*): Likewise.
7494 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
7495 arm*-*-linux-*eabi, add arm/t-linux otherwise.
7496 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
7497 (arm*-*-ecos-elf): Likewise.
7498 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7499 (arm*-*-rtems*): Likewise.
7500 (arm*-*-elf): Likewise.
7501 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
7502 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
7503 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
7504 (bfin*-uclinux*): Likewise.
7505 (bfin*-linux-uclibc*): Likewise.
7506 (bfin*-rtems*): Likewise.
7507 (bfin*-*): Likewise.
7508 (fido-*-elf): Merge into m68k-*-elf*.
7509 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
7510 (frv-*-*linux*): Add frv/t-frv to tmake_file.
7511 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
7512 (h8300-*-elf*): Likewise.
7513 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
7514 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
7515 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
7516 (i[34567]86-*-mingw*): Likewise.
7517 (x86_64-*-mingw*): Likewise.
7518 (i[34567]86-*-interix3*): Likewise.
7519 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
7520 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
7521 (m68k-*-elf*): Also handle fido-*-elf.
7522 Add m68k/t-floatlib to tmake_file.
7523 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
7524 (m68k-*-linux*): Likewise.
7525 (m68k-*-rtems*): Likewise.
7526 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
7527 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
7528 sh64*-*-*.
7529 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
7530 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
7531 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
7532 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
7533 sh/t-netbsd to tmake_file.
7534 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
7535 (sh-*-rtems*): Add sh/t-sh to tmake_file.
7536 (sh-wrs-vxworks): Likewise.
7537 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
7538 *-leon[3-9]*.
7539 (v850*-*-*): Add v850/t-v850 to tmake_file.
7540 (vax-*-linux*): Add vax/t-linux to tmake_file.
7541 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
7542
5f73c6cc
RO
75432011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7544
7545 * crtstuff.c: New file.
7546 * Makefile.in (CRTSTUFF_CFLAGS): Define.
7547 (CRTSTUFF_T_CFLAGS): Define.
7548 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
7549 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
7550 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
7551 crtstuff.c.
7552 Use $<.
7553 (crtbeginT.o): Use $(objext).
7554 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
7555 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
7556 (gcc-extra-parts): Remove.
7557 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
7558 Set extra_parts.
7559 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7560 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
7561 Add t-crtstuff-pic to tmake_file.
7562 (*-*-lynxos*): New case.
7563 Set tmake_file, extra_parts.
7564 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
7565 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
7566 *-*-netbsdelf[2-9]*.
7567 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
7568 (*-*-rtems*): Set extra_parts.
7569 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
7570 (*-*-uclinux*): New case.
7571 Set extra_parts.
7572 (*-*-vms*): New case.
7573 Set tmake_file, extra_parts.
7574 (*-*-elf): Set extra_parts.
7575 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
7576 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
7577 vms/t-vms64.
7578 Set extra_parts.
7579 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
7580 Set extra_parts.
7581 (arm*-*-freebsd*): Add t-crtin to tmake_file.
7582 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
7583 (arm-wrs-vxworks): Append to tmake_file.
7584 Set extra_parts.
7585 (arm*-*-uclinux*): Set extra_parts.
7586 (arm*-*-ecos-elf): Likewise.
7587 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
7588 arm*-*-eabi*.
7589 (arm*-*-rtems*): Set extra_parts.
7590 (arm*-*-elf): Likewise.
7591 (avr-*-rtems*): Clear extra_parts.
7592 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
7593 Set extra_parts.
7594 (bfin*-uclinux*): Likewise.
7595 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
7596 (bfin*-rtems*): Append to tmake_file.
7597 Set extra_parts.
7598 (bfin*-*): Likewise.
7599 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
7600 (crisv32-*-elf): ... this.
7601 (crisv32-*-none): ... this.
7602 (cris-*-elf, cris-*-none): New cases.
7603 Add cris/t-elfmulti to tmake_file.
7604 (fr30-*-elf): Append to tmake_file.
7605 Set extra_parts.
7606 (frv-*-elf): Append to tmake_file, add frv/t-frv.
7607 Set extra_parts.
7608 (h8300-*-rtems*): Append to tmake_file.
7609 Set extra_parts.
7610 (h8300-*-elf*): Likewise.
7611 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
7612 Set extra_parts.
7613 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
7614 Set extra_parts.
7615 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
7616 (x86_64-*-elf*): Likewise.
7617 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
7618 (x86_64-*-freebsd*): Likewise.
7619 (x86_64-*-netbsd*): Likewise.
7620 (i[34567]86-*-linux*): Likewise.
7621 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
7622 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
7623 (x86_64-*-linux*): Likewise.
7624 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
7625 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
7626 tmake_file.
7627 Set extra_parts.
7628 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
7629 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
7630 Append to extra_parts, remove crtbegin.o, crtend.o.
7631 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
7632 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
7633 crtend.o, crtbeginS.o, crtendS.o.
7634 (ia64*-*-linux*): Comment extra_parts.
7635 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
7636 Set extra_parts.
7637 (iq2000*-*-elf*): Clear extra_parts.
7638 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
7639 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
7640 (m32r-*-elf*, m32r-*-rtems*): Split off ...
7641 (m32r-*-rtems*): ... this.
7642 Add m32r/t-m32r to tmake_file.
7643 (m68k-*-elf*): Add t-crtin to tmake_file.
7644 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
7645 (mcore-*-elf): Likewise.
7646 (microblaze*-*-*): Set extra_parts.
7647 (mips*-sde-elf*): New case.
7648 Set tmake_file, extra_parts.
7649 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7650 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7651 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
7652 tmake_file.
7653 Set extra_parts.
7654 (mipsisa64sr71k-*-elf*): Likewise.
7655 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7656 (mips-*-elf*, mipsel-*-elf*): Likewise.
7657 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7658 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
7659 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7660 (mips*-*-rtems*): Likewise.
7661 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
7662 (moxie-*-*): Split into ...
7663 (moxie-*-elf, moxie-*-uclinux*): ... this.
7664 Add to extra_parts, remove crtbegin.o, crtend.o.
7665 (moxie-*-rtems*): New case.
7666 Set tmake_file.
7667 Clear extra_parts.
7668 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
7669 Set extra_parts.
7670 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7671 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
7672 tmake_file.
7673 Set extra_parts.
7674 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
7675 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
7676 Set extra_parts.
7677 (powerpc-*-eabisim*): Likewise.
7678 (powerpc-*-elf*): Likewise.
7679 (powerpc-*-eabialtivec*): Likewise.
7680 (powerpc-xilinx-eabi*): Likewise.
7681 (powerpc-*-eabi*): Likewise.
7682 (powerpc-*-rtems*): Likewise.
7683 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
7684 tmake_file.
7685 Set extra_parts.
7686 (powerpc-*-lynxos*): Add to tmake_file.
7687 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
7688 rs6000/t-crtstuff, t-crtstuff-pic.
7689 Set extra_parts.
7690 (powerpcle-*-eabisim*): Likewise.
7691 (powerpcle-*-eabi*): Likewise.
7692 (rx-*-elf): Remove extra_parts.
7693 (s390x-ibm-tpf*): Set extra_parts.
7694 (score-*-elf): Set extra_parts.
7695 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7696 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7697 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7698 (sh64l*-*-netbsd*): Split into ...
7699 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
7700 Add t-crtstuff-pic to tmake_file.
7701 Set extra_parts.
7702 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
7703 Set extra_parts.
7704 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
7705 (sparc-*-elf*): Remove t-crtin from tmake_file.
7706 Add to extra_parts, remove crtbegin.o, crtend.o.
7707 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
7708 (sparc64-*-linux*): Likewise.
7709 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
7710 Add to extra_parts, remove crtbegin.o, crtend.o.
7711 (sparc64-*-elf*): Remove t-crtin from tmake_file.
7712 Add to extra_parts, remove crtbegin.o, crtend.o.
7713 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
7714 Add to extra_parts, remove crtbegin.o, crtend.o.
7715 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
7716 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
7717 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
7718 Set extra_parts.
7719 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
7720 Set extra_parts.
7721 (tic6x-*-*): Change to ...
7722 (tic6x-*-elf): ... this.
7723 Set extra_parts.
7724 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
7725 Set extra_parts.
7726 (am33_2.0-*-linux*): Add comment.
7727 (mep*-*-*): Add mep/t-mep to tmake_file.
7728 Set extra_parts.
7729 * config/alpha/t-vms: New file.
7730 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
7731 * config/arm/crti.S, config/arm/crtn.S: New files.
7732 * config/bfin/crti.S, config/bfin/crtn.S: New files.
7733 * config/bfin/crtlibid.S: New file.
7734 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
7735 * config/c6x/crti.S, config/c6x/crtn.S: New files.
7736 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
7737 (crti.o, crtin.o): New rules.
7738 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7739 * config/c6x/t-uclinux: New file.
7740 * config/cris/t-elfmulti: New file.
7741 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
7742 * config/fr30/crti.S, config/fr30/crtn.S: New files.
7743 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
7744 * config/frv/t-frv: New file.
7745 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
7746 * config/h8300/crti.S, config/h8300/crtn.S: New files.
7747 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
7748 New files.
7749 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
7750 refer to cygming-crtbegin.c, cygming-crtend.c.
7751 Use $<.
7752 * config/i386/t-nto: New file.
7753 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
7754 * config/ia64/crti.S, config/ia64/crtn.S: New files.
7755 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
7756 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
7757 Use .S extension.
7758 Use $<.
7759 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7760 (crtinitS.o): New rule.
7761 * config/ia64/vms-crtinit.S: New file.
7762 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
7763 * config/m32r/initfini.c: New file.
7764 * config/m32r/t-linux, config/m32r/t-m32r: New files.
7765 * config/m68k/crti.S, config/m68k/crtn.S: New files.
7766 * config/mcore/crti.S, config/mcore/crtn.S: New files.
7767 * config/mep/t-mep: New file.
7768 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
7769 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
7770 * config/mips/crti.S, config/mips/crtn.S: New files.
7771 * config/mips/t-crtstuff: New file.
7772 * config/mmix/crti.S, config/mmix/crtn.S: New files.
7773 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
7774 (CUSTOM_CRTIN): Set.
7775 ($(T)crti.o, $(T)crtn.o): Remove $(T),
7776 dependencies.
7777 Use $(srcdir) to refer to crti.S, crtn.S.
7778 Use .S extension, $<.
7779 * config/moxie/crti.asm: Rename to ...
7780 * config/moxie/crti.S: ... this.
7781 * config/moxie/crtn.asm: Rename to ...
7782 * config/moxie/crtn.S: ... this.
7783 * config/moxie/t-moxie: Remove.
7784 * config/pa/stublib.c: New file.
7785 * config/pa/t-stublib, config/pa/t-stublib64: New files.
7786 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
7787 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
7788 * config/rs6000/t-crtstuff: New file.
7789 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
7790 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
7791 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
7792 Make output file explicit.
7793 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
7794 Make output file explicit.
7795 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
7796 Make output file explicit.
7797 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
7798 Make output file explicit.
7799 * config/score/crti.S, config/score/crtn.S: New files.
7800 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
7801 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
7802 files.
7803 * config/sh/t-sh, config/sh/t-superh: New files.
7804 * config/sparc/t-linux64: New file.
7805 * config/spu/cache.S, config/spu/cachemgr.c: New files.
7806 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
7807 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
7808 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
7809 * config/t-crtin: Remove.
7810 * config/t-crtstuff-pic: New file.
7811 * config/t-sol2 (CUSTOM_CRTIN): Set.
7812 (crti.o, crtn.o): New rules.
7813 * config/vms/t-vms: New file.
7814 * config/vms/vms-ucrt0.c: New file.
7815 * config/xtensa/t-elf: New file.
7816
b040f2be
RO
78172011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7818
7819 * Makefile.in (SHLIB_NM_FLAGS): Set.
7820 * mkmap-flat.awk, mkmap-symver.awk: New files.
7821 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
7822 exceptions.
7823 * configure: Regenerate.
7824 * config/libgcc-glibc.ver: New file.
7825 * config/libgcc-libsystem.ver: New file.
7826 * config/t-libunwind (SHLIB_LC): Set.
7827 * config/t-linux: New file.
7828 * config/t-slibgcc (INSTALL_SHLIB): New.
7829 (SHLIB_INSTALL): Use it.
7830 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
7831 to mkmap-symver.awk.
7832 (SHLIB_MAPFILES): Don't append, adapt pathname.
7833 (SHLIB_VERPFX): Set.
7834 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
7835 to mkmap-symver.awk.
7836 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
7837 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
7838 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
7839 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
7840 to mkmap-flat.awk.
7841 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
7842 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
7843 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
7844 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
7845 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
7846 * config/i386/libgcc-darwin.10.4.ver,
7847 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
7848 New files.
7849 * config/i386/t-darwin: Remove.
7850 * config/i386/t-darwin64: Likewise.
7851 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
7852 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
7853 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
7854 * config/i386/t-linux: New file.
7855 * config/i386/t-mingw32: New file.
7856 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
7857 * config/ia64/t-glibc: Rename to ...
7858 * config/ia64/t-linux: ... this.
7859 (SHLIB_MAPFILES): Set.
7860 * config/ia64/t-glibc-libunwind: Rename to ...
7861 * config/ia64/t-linux-libunwind: ... this.
7862 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
7863 * config/ia64/t-slibgcc-hpux: New file.
7864 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
7865 * config/m68k/t-slibgcc-elf-ver: New file.
7866 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
7867 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
7868 to mkmap-flat.awk.
7869 * config/pa/t-slibgcc-hpux: New file.
7870 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
7871 files.
7872 * config/rs6000/libgcc-darwin.10.4.ver,
7873 config/rs6000/libgcc-darwin.10.5.ver: New files.
7874 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
7875 config/rs6000/libgcc-glibc.ver.
7876 * config/rs6000/libgcc-ppc64.ver: Rename to
7877 config/rs6000/libgcc-ibm-ldouble.ver.
7878 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
7879 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
7880 * config/rs6000/t-ldbl128: Rename to ...
7881 * config/rs6000/t-linux: ... this.
7882 (SHLIB_MAPFILES): Adapt filename.
7883 * config/rs6000/t-slibgcc-aix: New file.
7884 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
7885 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
7886 libgcc-excl.ver, libgcc-glibc.ver.
7887 (SHLIB_LINK, SHLIB_INSTALL): Remove.
7888 * config/sparc/libgcc-glibc.ver: New file.
7889 * config/sparc/t-linux: New file.
7890 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
7891 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
7892 t-slibgcc-elf-ver to tmake_file.
7893 Add t-slibgcc-nolc-override to tmake_file for posix threads on
7894 *-*-freebsd[34].
7895 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7896 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
7897 t-slibgcc-elf-ver, t-linux to tmake_file.
7898 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
7899 tmake_file.
7900 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
7901 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
7902 (alpha*-dec-*vms*): Likewise.
7903 (arm*-*-freebsd*): Append to tmake_file.
7904 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
7905 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
7906 arm*-*-linux-*eabi.
7907 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
7908 tmake_file for arm*-*-symbianelf*.
7909 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
7910 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
7911 cris/t-linux.
7912 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
7913 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
7914 pa/t-slibgcc-dwarf-ver to tmake_file.
7915 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
7916 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
7917 (hppa*64*-*-hpux11*): Likewise.
7918 (hppa[12]*-*-hpux11*): Likewise.
7919 (x86_64-*-darwin*): Don't override tmake_file, but only keep
7920 i386/t-crtpc, i386/t-crtfm.
7921 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
7922 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7923 to tmake_file.
7924 Add i386/t-cygwin to tmake_file.
7925 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
7926 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
7927 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7928 to tmake_file.
7929 Add i386/t-mingw32 to tmake_file.
7930 (x86_64-*-mingw*): Likewise.
7931 (ia64*-*-freebsd*): Append to tmake_file.
7932 (ia64*-*-linux*): Append to tmake_file.
7933 Replace ia64/t-glibc by ia64/t-linux.
7934 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
7935 system libunwind.
7936 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
7937 t-slibgcc-hpux to tmake_file.
7938 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
7939 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
7940 (m32rle-*-linux*): Likewise.
7941 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
7942 sjlj exceptions.
7943 (microblaze*-linux*): New case.
7944 Append to tmake_file, add t-slibgcc-nolc-override.
7945 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
7946 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7947 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
7948 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7949 rs6000/t-slibgcc-aix to tmake_file.
7950 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7951 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7952 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7953 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7954 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7955 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
7956 sh*-*-linux*.
7957 (sparc-*-linux*): Append to tmake_file for *-leon*.
7958 Add sparc/t-linux to tmake_file for non-Leon targets.
7959 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
7960 (tic6x-*-uclinux): New case.
7961 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
7962 (tic6x-*-*): Add c6x/t-elf to tmake_file.
7963 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
7964 (am33_2.0-*-linux*): Append to tmake_file.
7965 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
7966 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
7967 x86_64-*-kfreebsd*-gnu.
7968 Add i386/t-linux to tmake_file.
7969
18b4bd7b
ILT
79702011-10-28 Ian Lance Taylor <iant@google.com>
7971
7972 * config/i386/morestack.S: Correct CFI information to do proper
7973 returns throughout function. In 32-bit mode, save %ebx so that it
7974 is restored on unwind.
7975
5b2d9d90
BS
79762011-10-25 Bernd Schmidt <bernds@codesourcery.com>
7977
7978 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
7979 case where B3 isn't the return register.
7980
0d53e346
BS
7981 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
7982 logic for doubleword pops.
7983
cbffbd59
AT
79842011-10-25 Andreas Tobler <andreast@fgznet.ch>
7985
7986 * config/rs6000/t-freebsd: Add wildcard.
7987
56dc349e
PB
79882011-10-21 Paul Brook <paul@codesourcery.com>
7989
7990 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
7991
1e06b07d
UB
79922011-10-16 Uros Bizjak <ubizjak@gmail.com>
7993 Eric Botcazou <ebotcazou@adacore.com>
7994
7995 PR target/50737
7996 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
7997 fs->signal_frame to 1.
7998
b5204884
ILT
79992011-10-07 Ian Lance Taylor <iant@google.com>
8000
8001 * generic-morestack-thread.c: #include <errno.h>.
8002
91a639a1
ILT
80032011-10-07 Ian Lance Taylor <iant@google.com>
8004
8005 PR target/46093
8006 * generic-morestack.c (__generic_morestack): Make sure the segment
8007 is large enough for both the stack frame and the copied
8008 parameters.
8009
cc49116d
RO
80102011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8011
8012 PR bootstrap/49804
8013 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
8014 extra_parts.
8015
2996d8c3
NC
80162011-09-28 Nick Clifton <nickc@redhat.com>
8017
8018 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
8019 64-bit doubles are not enabled.
8020 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
8021 and floatunsisf functions.
8022
1e874273 80232011-09-13 Paul Brook <paul@codesourcery.com>
2996d8c3 8024
1e874273
PB
8025 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
8026 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
8027 * unwind-arm-common.inc: New file.
8028 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
8029 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
8030 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
8031 * config/c6x/libunwind.S: New file.
8032 * config/c6x/pr-support.c: New file.
8033 * config/c6x/unwind-c6x.c: New file.
8034 * config/c6x/unwind-c6x.h: New file.
8035 * config/c6x/t-c6x-elf: New file.
8036
f70c879a
UB
80372011-08-23 Uros Bizjak <ubizjak@gmail.com>
8038
8039 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
8040 (ASM_DIVZERO): Ditto.
8041 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
8042
c55b374b
RS
80432011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
8044
8045 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
8046
1e138510
RS
80472011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
8048
8049 PR target/50090
8050 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
8051 instead of an assembly one.
8052
1563503d
PB
80532011-08-12 Paolo Bonzini <bonzini@gnu.org>
8054
8055 PR bootstrap/50047
8056 * Makefile.in (install-unwind_h): Create
8057 $(gcc_objdir)/include/unwind.h atomically.
8058
3627ac1a
RO
80592011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8060
8061 * Makefile.in (install-unwind_h): Remove destination file first.
8062
c6412d86
RO
80632011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8064
8065 * sync.c: New file.
8066 * config/mips/t-mips16: New file.
8067 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
8068 (mips*-*-linux*): Likewise.
8069 (mips*-sde-elf*): Likewise.
8070 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
8071 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
8072 Add mips/t-mips16 to tmake_file.
8073 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
8074 (mips-*-elf*): Likewise.
8075 (mips64-*-elf*): Likewise.
8076 (mips64orion-*-elf*): Likewise.
8077 (mips*-*-rtems*): Likewise.
8078 (mipstx39-*-elf*): Likewise.
8079 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
8080 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
8081 LIBGCC_SYNC_CFLAGS.
8082 Use $(srcdir) to refer to sync.c.
8083 Use $<.
8084 ($(libgcc-sync-funcs-o)): Likewise.
8085 ($(libgcc-sync-size-funcs-s-o)): Likewise.
8086 ($(libgcc-sync-funcs-s-o)): Likewise.
8087
3cb6e5bd
AS
80882011-08-09 Andreas Schwab <schwab@linux-m68k.org>
8089
8090 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
8091 t-libunwind.
8092
cca2207a
L
80932011-08-08 H.J. Lu <hongjiu.lu@intel.com>
8094
8095 PR other/48007
8096 * config/i386/value-unwind.h: New.
8097
ed39fbad
RS
80982011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
8099
8100 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
8101 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
8102 Add to tmake_file rather than overriding it.
8103
aca0b0b3
RO
81042011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8105
8106 * config/t-softfp: Remove.
8107 * soft-fp: Moved from ../gcc/config.
8108 * soft-fp/README: Remove t-softfp reference.
8109 * soft-fp/t-softfp: Move to config/t-softfp.
8110 (softfp_machine_header): Remove.
8111 (softfp_file_list): Remove config subdir.
8112 (soft-fp-objects): New variable.
8113 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
8114 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
8115 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
8116 * config/t-softfp-excl: New file.
8117 * config/t-softfp-sfdf: New file.
8118 * config/t-softfp-tf: New file.
8119 * config/no-sfp-machine.h: New file.
8120 * config/arm/sfp-machine.h: New file.
8121 * config/arm/t-softfp: New file.
8122 * config/c6x/sfp-machine.h: New file.
8123 * config/i386/32/t-fprules-softfp: Rename to ...
8124 * config/i386/32/t-softfp: ... this.
8125 (tifunctions, LIB2ADD): Remove.
8126 (softfp_int_modes): Override.
8127 * config/i386/64/t-softfp-compat (tf-functions): Remove config
8128 subdir.
8129 * config/i386/64/eqtf2.c: Likewise.
8130 * config/i386/64/getf2.c: Likewise.
8131 * config/i386/64/letf2.c: Likewise.
8132 * config/ia64/sft-machine.h: New file.
8133 * config/ia64/t-fprules-softfp: Rename to ...
8134 * config/ia64/t-softfp: ... this.
8135 * config/lm32/sfp-machine.h: New file.
8136 * config/moxie/t-moxie-softfp: Remove.
8137 * config/rs6000/ibm-ldouble-format: New file.
8138 * config/rs6000/ibm-ldouble.c: New file.
8139 * config/rs6000/libgcc-ppc-glibc.ver: New file
8140 * config/rs6000/libgcc-ppc64.ver: New file
8141 * config/rs6000/sfp-machine.h: New file.
8142 * config/rs6000/t-freebsd: New file.
8143 * config/rs6000/t-ibm-ldouble: New file.
8144 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
8145 libgcc-ppc-glibc.ver.
8146 * config/rs6000/t-linux64: New file.
8147 * config/rs6000/t-ppccomm (LIB2ADD): Add
8148 $(srcdir)/config/rs6000/ibm-ldouble.c.
8149 * config/rs6000/t-ppccomm-ldbl: New file.
8150 * config/score/sfp-machine.h: New file.
8151 * config.host (sfp_machine_header): Explain.
8152 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
8153 t-softfp to tmake_file.
8154 (arm*-*-uclinux*): Likewise.
8155 (arm*-*-ecos-elf): Likewise.
8156 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
8157 (arm*-*-rtems*): Likewise.
8158 (arm*-*-elf): Likewise.
8159 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
8160 in tmake_file.
8161 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
8162 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
8163 (lm32-*-uclinux*): Likewise.
8164 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
8165 t-softfp-excl, t-softfp.
8166 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
8167 (powerpc64-*-darwin*): Likewise.
8168 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
8169 to tmake_file.
8170 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
8171 tmake_file.
8172 (powerpc-*-eabisim*): Likewise.
8173 (powerpc-*-elf*): Likewise.
8174 (powerpc-*-eabialtivec*): Likewise.
8175 (powerpc-xilinx-eabi*): Likewise.
8176 (powerpc-*-rtems*): Likewise.
8177 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
8178 t-softfp-excl, t-softfp to tmake_file.
8179 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
8180 rs6000/t-ppccomm-ldbl to tmake_file.
8181 (powerpcle-*-elf*): Likewise.
8182 (powerpcle-*-eabisim*): Likewise.
8183 (powerpcle-*-eabi*): Likewise.
8184 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8185 rs6000/t-ibm-ldouble to tmake_file.
8186 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8187 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8188 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
8189 (tic6x-*-*): Likewise.
8190 (i[34567]86-*-darwin*, x86_64-*-darwin*,
8191 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
8192 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
8193 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
8194 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
8195 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
8196 t-softfp to tmake_file.
8197 * configure.ac (sfp_machine_header): Provide default if unset.
8198 Substitute.
8199 Link sfp-machine.h to config/$sfp_machine_header.
8200 * configure: Regenerate.
8201
569dc494
RO
82022011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8203
8204 * Makefile.in (double_type_size, long_double_type_size): Set.
8205 Remove $(fpbit-in-libgcc) support.
8206 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
8207 (fpbit-src): New variable.
8208 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
8209 Compile with -DFLOAT $(FPBIT_CFLAGS).
8210 Use $<.
8211 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
8212 Compile with $(FPBIT_CFLAGS).
8213 Use $<.
8214 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
8215 Compile with -DFLOAT $(TPBIT_CFLAGS).
8216 Use $<.
8217 * configure.ac (double_type_size, long_double_type_size):
8218 Determine and substitute.
8219 * configure: Regenerate.
8220 * fp-bit.c, fp-bit.h: New files.
8221 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
8222 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
8223 * config/mips/t-mips: New file.
8224 * config/mips/t-sdemtk: New file.
8225 * config/rs6000/ppc64-fp.c: New file.
8226 * config/rs6000/t-darwin (LIB2ADD): Add
8227 $(srcdir)/config/rs6000/ppc64-fp.c.
8228 * config/rs6000/t-ppc64-fp: New file.
8229 * config/rx/rx-lib.h: New file.
8230 * config/rx/t-rx (FPBIT): Set to true.
8231 ($(gcc_objdir)/fp-bit.c): Remove.
8232 (DPBIT): Set to true only with -m64bit-doubles.
8233 ($(gcc_objdir)/dp-bit.c): Remove.
8234 * config/sparc/t-softfp: Remove.
8235 * config/spu/t-elf: New file.
8236 * config/t-fdpbit, config/t-fpbit: New files.
8237 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
8238 (mips*-*-*): Likewise.
8239 (arm-wrs-vxworks): Likewise.
8240 (arm*-*-freebsd*): Likewise.
8241 (avr-*-rtems*): Add t-fpbit to tmake_file.
8242 (avr-*-*): Likewise.
8243 (bfin*-elf*): Add t-fdpbit to tmake_file.
8244 (bfin*-uclinux*): Likewise.
8245 (bfin*-linux-uclibc*): Likewise.
8246 (bfin*-rtems*): New case.
8247 Add t-fdpbit to tmake_file.
8248 (bfin*-*): Add t-fdpbit to tmake_file.
8249 (crisv32-*-elf): Likewise.
8250 (cris-*-linux*): Likewise.
8251 (fr30-*-elf): Likewise.
8252 (frv-*-elf, frv-*-*linux*): Likewise.
8253 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
8254 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
8255 (m32r-*-elf*): Likewise.
8256 (m32rle-*-elf*): Likewise.
8257 (m32r-*-linux*): Likewise.
8258 (m32rle-*-linux*): Likewise.
8259 (mcore-*-elf): Add t-fdpbit to tmake_file.
8260 (microblaze*-*-*): Likewise.
8261 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
8262 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
8263 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
8264 Fix typo.
8265 Add mips/t-tpbit to tmake-file.
8266 (mips*-*-linux*): Fix typo.
8267 (mips*-sde-elf*): New case
8268 Add mips/t-sdemtk unless using newlib.
8269 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
8270 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
8271 (mn10300-*-*): Likewise.
8272 (pdp11-*-*): Likewise.
8273 (picochip-*-*): Add t-fpbit to tmake_file.
8274 (powerpc-*-eabisimaltivec*): Likewise.
8275 (powerpc-*-eabisim*): Likewise.
8276 (powerpc-*-elf*): Likewise.
8277 (powerpc-*-eabialtivec*): Likewise.
8278 (powerpc-xilinx-eabi*): New case.
8279 Add t-fdpbit to tmake_file.
8280 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
8281 (powerpc-*-rtems*): Likewise.
8282 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
8283 tmake_file.
8284 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
8285 tmake_file.
8286 (powerpc-*-lynxos*): Likewise.
8287 (powerpcle-*-elf*): Likewise.
8288 (powerpcle-*-eabisim*): Likewise.
8289 (powerpcle-*-eabi*): Likewise.
8290 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8291 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
8292 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8293 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8294 (rx-*-elf): Add t-fdpbit to tmake_file.
8295 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8296 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8297 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8298 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
8299 sh*-*-netbsd*.
8300 (sh-*-rtems*): Add t-fdpbit to tmake_file.
8301 (sh-wrs-vxworks): Likewise.
8302 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
8303 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
8304 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
8305 (sparc64-*-rtems*): ... new case.
8306 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
8307 (spu-*-elf*): Likewise.
8308 Add spu/t-elf to tmake_file.
8309 (v850*-*-*): Add t-fdpbit to tmake_file.
8310 (xstormy16-*-elf): Likewise.
8311 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
8312 (mep*-*-*): Likewise.
8313
201cdb74
RO
83142011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8315
8316 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
8317 variables.
8318 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
8319 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
8320 (install-unwind_h): New target.
8321 (all): Depend on it.
8322 * config.host (unwind_header): New variable.
8323 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
8324 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8325 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
8326 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
8327 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
8328 Set unwind_header.
8329 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
8330 Set unwind_header.
8331 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
8332 arm*-*-eabi*.
8333 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
8334 Set unwind_header.
8335 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
8336 (ia64*-*-freebsd*): Likewise.
8337 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
8338 tmake_file.
8339 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
8340 $with_system_libunwind.
8341 (ia64*-*-hpux*): Set tmake_file.
8342 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
8343 (picochip-*-*): Set tmake_file.
8344 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
8345 md_unwind_header.
8346 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8347 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8348 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
8349 (xtensa*-*-elf*): Set tmake_file.
8350 (xtensa*-*-linux*): Likewise.
8351 * configure.ac: Include ../config/unwind_ipinfo.m4.
8352 Call GCC_CHECK_UNWIND_GETIPINFO.
8353 Link unwind.h to $unwind_header.
8354 * configure: Regenerate.
8355 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
8356 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
8357 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
8358 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
8359 * config/unwind-dw2-fde-darwin.c: New file.
8360 * config/arm/libunwind.S, config/arm/pr-support.c,
8361 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
8362 config/arm/unwind-arm.h,: New files.
8363 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
8364 config/ia64/t-eh-ia64, config/ia64/t-glibc,
8365 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
8366 config/ia64/t-vms, config/ia64/unwind-ia64.c,
8367 config/ia64/unwind-ia64.h: New files.
8368 * config/picochip/t-picochip: New file.
8369 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
8370 files.
8371 * config/rs6000/t-darwin (LIB2ADDEH): Set.
8372 * config/s390/t-tpf (LIB2ADDEH): Remove.
8373 * config/t-darwin (LIB2ADDEH): Set.
8374 * config/t-eh-dw2-dip: New file.
8375 * config/t-libunwind, config/t-libunwind-elf: New files.
8376 * config/t-sol2 (LIB2ADDEH): Remove.
8377 * config/xtensa/t-xtensa: New file.
8378
40f2f11f
L
83792011-08-02 H.J. Lu <hongjiu.lu@intel.com>
8380
8381 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
8382 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
8383 long long to check rt_sigreturn syscall.
8384
bd15e32c
AM
83852011-08-02 Alan Modra <amodra@gmail.com>
8386
8387 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8388 Restore for indirect call bcrtl from correct stack slot, and only
8389 if cfa+40 isn't valid.
8390
655b30bf
JB
83912011-08-01 Julian Brown <julian@codesourcery.com>
8392
8393 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
8394 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
8395 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
8396
247eb06f
JB
83972011-08-01 Julian Brown <julian@codesourcery.com>
8398
8399 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
8400 (libgcc-std.ver.in): Use above.
8401 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
8402 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
8403 throughout file.
8404 * config/t-fixedpoint-gnu-prefix: New file.
8405 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
8406 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
8407 instead of __PFX__.
8408
02a8fe00
L
84092011-07-28 H.J. Lu <hongjiu.lu@intel.com>
8410
8411 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
8412 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
8413 for x86-64. Properly check __x86_64__ and __LP64__.
8414
5fce9126
L
84152010-07-28 H.J. Lu <hongjiu.lu@intel.com>
8416
8417 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
8418 version.
8419 (_FP_WS_TYPE): Likewise.
8420 (_FP_I_TYPE): Likewise.
8421
2374a88a
AM
84222011-07-28 Alan Modra <amodra@gmail.com>
8423
8424 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8425 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
8426 in a plt call stub. Do restore r2 if stopped on bctrl.
8427
e44dbbe1
RO
84282011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8429
8430 * config.host (i[3456x]86-*-netware*): Remove.
8431 * config/i386/netware-crt0.c, config/i386/t-nwld,
8432 config/i386/t-slibgcc-nwld: Remove.
8433
bcead286
BS
84342011-07-15 Bernd Schmidt <bernds@codesourcery.com>
8435
8436 * config.host: Handle tic6x-*-*.
8437 * config/c6x/c6x-abi.h: New file.
8438
b3fe1584
RO
84392011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8440
8441 * config/i386/crtprec.c: New file.
8442 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
8443 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
8444 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
8445 (x86_64-*-darwin*): Likewise.
8446 (i[34567]86-*-solaris2*: Likewise.
8447
35d8090d
RO
84482011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8449
8450 * config/alpha/crtfastmath.c: New file.
8451 * config/i386/crtfastmath.c: New file.
8452 * config/ia64/crtfastmath.c: New file.
8453 * config/mips/crtfastmath.c: New file.
8454 * config/sparc/crtfastmath.c: New file.
8455
8456 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
8457 crtfastmath.c.
8458 Add -frandom-seed=gcc-crtfastmath.
8459 * config/alpha/t-crtfm: Remove.
8460 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
8461 * config/ia64/t-ia64 (crtfastmath.o): Remove.
8462
8463 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
8464 (alpha*-dec-osf5.1*): Likewise.
8465 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
8466 Add crtfastmath.o to extra_parts.
8467 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
8468 Add crtfastmath.o to extra_parts.
8469 (x86_64-*-darwin*): Likewise.
8470 (x86_64-*-mingw*): Likewise.
8471 (ia64*-*-elf*): Add t-crtfm to tmake_file.
8472 (ia64*-*-freebsd*): Likewise.
8473 (ia64*-*-linux*): Likewise.
8474 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
8475 Add crtfastmath.o to extra_parts.
8476
e141542e
RO
84772011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8478
8479 * config/darwin-crt3.o: New file.
8480 * config/rs6000/darwin-crt2.c: New file.
8481 * config/t-darwin: New file.
8482 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
8483 (crt2.o): New rule.
8484 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
8485 (powerpc-*-darwin*): Add crt2.o to extra_parts.
8486 (powerpc64-*-darwin*): Likewise.
8487
2d1efe2d
RO
84882011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8489
8490 * config/i386/netware-crt0.c: New file.
8491 * config/i386/t-nwld: Rename to ...
8492 * config/i386/t-slibgcc-nwld: ... this.
8493 * config/i386/t-nwld: New file.
8494 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
8495 tmake_file.
8496 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
8497 extra_parts.
8498
4a8bb046
RO
84992011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8500
8501 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
8502 i386/t-crtstuff.
8503 * configure: Regenerate.
8504
2d8d5935
RO
85052011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8506
8507 * dfp-bit.c, dfp-bit.h: New files.
8508 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
8509 variables.
8510 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
8511 ($(d64pbit-o)): Likewise.
8512 ($(d128pbit-o)): Likewise.
8513 * config/t-dfprules: New file.
8514 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
8515 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
8516 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8517 (x86_64-*-linux*): Likewise.
8518 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8519 (i[34567]86-*-cygwin*): Likewise.
8520 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
8521 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8522
2c50b2c3
RO
85232011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8524
8525 * Makfile.in (LIBGCOV): New variable.
8526 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
8527 * libgcov.c: New file.
8528
a039d7c2
RO
85292011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8530
8531 * fixed-bit.c, fixed-bit.h: New files.
8532 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
8533 refer to fixed-bit.c.
8534
1e4b2746
JM
85352011-07-07 Joseph Myers <joseph@codesourcery.com>
8536
8537 * config.host (*local*): Remove.
8538
fbdd5d87
RO
85392011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8540
8541 PR target/39150
8542 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
8543 like i?86-*-solaris2.1[0-9]*.
8544 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
8545 * configure.ac (i?86-*-solaris2*): Likewise.
8546 * configure: Regenerate.
8547
9e7714f4
TS
85482011-07-06 Thomas Schwinge <thomas@schwinge.name>
8549
8550 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8551 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
8552 md_unwind_header by splitting out of...
8553 (i[34567]86-*-linux*): ... this.
8554 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
8555 Remove md_unwind_header by splitting out of...
8556 (x86_64-*-linux*): ... this.
8557
6dab9931
GJL
85582011-07-04 Georg-Johann Lay <avr@gjlay.de>
8559
8560 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
8561
4be46d19
NC
85622011-06-28 Nick Clifton <nickc@redhat.com>
8563
8564 * config.host: Recognize all V850 variants.
8565
1da9434b
UB
85662011-06-22 Uros Bizjak <ubizjak@gmail.com>
8567
8568 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
8569
e4d48a4d
RO
85702011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8571
8572 * shared-object.mk (c_flags-$o): Save c_flags.
8573 ($(base)$(objext)): Use it.
8574 ($(base)_s$(objext)): Likewise.
8575
3801c801
BS
85762011-06-21 Bernd Schmidt <bernds@codesourcery.com>
8577
8578 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
8579 * libgcc-std.ver.in (GCC_4.7.0): New section.
8580
0ad8bb3b 85812011-06-16 Georg-Johann Lay <avr@gjlay.de>
1da9434b 8582
0ad8bb3b
GJL
8583 PR target/49313
8584 PR target/29524
8585 * config/avr/t-avr: Fix line endings.
8586 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
8587 _parityXX2.
8588
ea963999
OH
85892011-06-14 Olivier Hainque <hainque@adacore.com>
8590 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8591
8592 * config/mips/irix6-unwind.h: New file.
8593 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
8594
b11b0904
EB
85952011-06-10 Eric Botcazou <ebotcazou@adacore.com>
8596
8597 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
8598 (sparc64_fallback_frame_state): Use it.
8599 (sparc64_frob_update_context): Further adjust context.
8600 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
8601 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
8602 * config/sparc/sol2-cn.S: Likewise.
8603
10e48e39
RO
86042011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8605
8606 * enable-execute-stack-empty.c: New file.
8607 * enable-execute-stack-mprotect.c: New file.
8608 * config/i386/enable-execute-stack-mingw32.c: New file.
8609 * config.host (enable_execute_stack): New variable.
8610 Select appropriate variants.
8611 * configure.ac: Link enable-execute-stack.c to
8612 $enable_execute_stack.
8613 * configure: Regenerate.
8614 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
8615 (lib2funcs): Remove _enable_execute_stack.
8616
10c4cabc
DM
86172011-06-09 David S. Miller <davem@davemloft.net>
8618 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8619
8620 * config.host (sparc-*-linux*): Correct md_unwind_header
8621 filename.
8622 (s390x-ibm-tpf*): Fix typo.
8623
aa4203e7
RO
86242011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8625
8626 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
8627 Add crtfastmath.o to extra_parts.
8628 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
8629 mips/t-crtfm.
8630 * config/mips/t-crtfm: Remove.
8631
0defd786
JDA
86322011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8633
8634 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
8635
82f247af
KK
86362011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
8637
8638 * config.host (sh*-*-linux*): Fix typo.
8639
58cd1d70
RO
86402011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8641
8642 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
8643 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
8644 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
8645 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
8646 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
8647 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
8648 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
8649 Wrap in !__MINGW64__.
8650 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
8651 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
8652 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
8653 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
8654 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
8655 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
8656 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
8657 Wrap in !__LP64__.
8658 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
8659 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
8660 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
8661 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
8662 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
8663 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
8664 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
8665 * config/no-unwind.h: New file.
8666 * config.host (md_unwind_header): Document.
8667 Define.
8668 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
8669 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
8670 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
8671 hppa[12]*-*-hpux11*): Set md_unwind_header.
8672 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
8673 Set md_unwind_header.
8674 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
8675 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
8676 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
8677 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
8678 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
8679 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
8680 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
8681 md_unwind_header.
8682 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
8683 * configure: Regenerate.
8684
737346fa
RO
86852011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8686
8687 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
8688 Set tmake_file, extra_parts.
8689 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
8690 Remove O32 support.
8691 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
8692 Remove O32 support.
8693 * config/mips/t-irix6: New file.
8694 * config/mips/t-slibgcc-irix: New file.
8695
c192cee6
RO
86962011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8697
8698 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
8699 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
8700
ee33b5f0
RO
87012011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8702
8703 * configure.ac (target_thread_file): Determine thread model.
8704 * configure: Regenerate.
8705 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
8706 * config/alpha/t-alpha: New file.
8707 * config/alpha/t-crtfm: Use $<.
8708 * config/alpha/t-ieee: New file.
8709 * config/alpha/t-osf-pthread: New file.
8710 * config/alpha/t-slibgcc-osf: New file.
8711 * config/alpha/libgcc-osf5.ver: New file.
8712
0699e415
RO
87132011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8714
8715 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
8716 tmake_file.
8717 Add crtfastmath.o to extra_parts.
8718
a3fab9c2
RO
87192011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8720
8721 * config/gmon-sol2.c: Reindent.
8722 Cleanup comments.
8723 Remove, correct casts.
8724 Use STDERR_FILENO, NULL.
8725 (BASEADDRESS): Remove.
8726 (minbrk): Remove.
8727 (errno, sbrk): Remove declarations.
8728 (monstartup) [hp300]: Remove.
8729 (mcount): Remove.
8730
ca24c5ad
RO
87312011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8732
8733 * Makefile.in (cpu_type): Define.
8734 * config.host (i[34567]86-*-rtems*): Handle it.
8735 (i[34567]86-*-solaris2*): Move body ...
8736 (*-*-solaris2*): ... here.
8737 New case, generalize.
8738 (sparc-*-elf*): Handle it.
8739 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
8740 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
8741 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
8742 Fold into ...
8743 (sparc*-*-solaris2*): ... this.
8744 New case.
8745 (sparc64-*-elf*): Handle it.
8746 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
8747 Merge ../gcc/config/i386/gmon-sol2.c.
8748 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
8749 Use C comments.
8750 Merge ../gcc/config/i386/sol2-gc1.asm.
8751 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
8752 Use C comments.
8753 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
8754 Use C comments.
8755 * config/i386/t-crtfm (crtfastmath.o): Use $<.
8756 * config/i386/t-crtstuff: New file.
8757 * config/i386/t-softfp: New file.
8758 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
8759 $(T)crti.o, $(T)crtn.o): Remove.
8760 (gcrt1.o): New rule.
8761 (TARGET_LIBGCC2_CFLAGS): Remove.
8762 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
8763 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
8764 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
8765 * config/sparc/t-sol2: New file.
8766 * config/sparc/t-crtfm: Move to ...
8767 * config/t-crtfm: ... this.
8768 Use $(cpu_type), $<.
8769 * config/t-crtin: New file.
8770 * config/sparc/t-softfp: New file.
8771 * config/sparc/t-softmul: New file.
8772 * config/t-rtems: New file.
8773 * config/t-slibgcc: New file.
8774 * config/t-slibgcc-elf-ver: New file.
8775 * config/t-slibgcc-gld: New file.
8776 * config/t-slibgcc-sld: New file.
8777 * config/t-sol2: New file.
8778 * configure.ac: Include ../config/lib-ld.m4.
8779 Call AC_LIB_PROG_LD_GNU.
8780 Substitute cpu_type.
8781 * configure: Regenerate.
8782
ad5f3d7b
BS
87832011-05-27 Bernd Schmidt <bernds@codesourcery.com>
8784
8785 PR bootstrap/49173
8786 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
8787 libgcc-std.ver in the build directory.
8788 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
8789 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
8790
cdbf4541
BS
87912011-05-25 Bernd Schmidt <bernds@codesourcery.com>
8792
8793 * libgcc-std.ver.in: New file.
8794 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
8795 variables.
8796 (libgcc-std.ver): New rule.
8797 * config/t-gnu-prefix: New file.
8798
c8028650
RO
87992011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8800
8801 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
8802
4a68b4ca
JM
88032011-05-10 Joseph Myers <joseph@codesourcery.com>
8804
8805 * config/i386/darwin-lib.h: New file.
8806
80cf2e08
JM
88072011-05-10 Joseph Myers <joseph@codesourcery.com>
8808
8809 * config/arm/symbian-lib.h: New.
8810
a3330c9d
CD
88112011-05-04 Chris Demetriou <cgd@google.com>
8812
8813 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
8814 (__x86.get_pc_thunk.bx): ...this.
8815 (__morestack): Adjust for rename, remove undef of __i686.
8816
6ace0756
CD
88172011-05-03 Chris Demetriou <cgd@google.com>
8818
8819 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
8820
ebb9f8b0
JM
88212011-03-22 Joseph Myers <joseph@codesourcery.com>
8822
8823 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
8824 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
8825 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
8826 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
8827 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
8828 Remove cases.
8829
9cfa1499
AT
88302011-03-14 Andreas Tobler <andreast@fgznet.ch>
8831
8832 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
8833 Adjust copyright year.
8834
457186f6
ILT
88352011-03-07 Ian Lance Taylor <iant@google.com>
8836
8837 * generic-morestack.c (__splitstack_find): Adjust returned stack
8838 pointer to include all registers pushed by __morestack.
8839
58c741a6
DK
88402011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
8841
8842 PR target/40125
8843 * configure.ac: Call ACX_NONCANONICAL_TARGET.
8844 (toolexecdir): Calculate and AC_SUBST.
8845 (toolexeclibdir): Likewise.
8846 * Makefile.in (target_noncanonical): Import.
8847 (toolexecdir): Likewise.
8848 (toolexeclibdir): Likewise.
8849 * configure: Regenerate.
8850
26716c44
NF
88512010-12-13 Nathan Froyd <froydnj@codesourcery.com>
8852
8853 PR target/46040
8854 * config/arm/bpabi.h: Rename to...
8855 * config/arm/bpabi-lib.h: ...this.
8856
b595b1a1
RO
88572010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8858
8859 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
8860 appropriate.
8861 * configure: Regenerate.
8862
a3abe41c
NF
88632010-11-24 Nathan Froyd <froydnj@codesourcery.com>
8864
8865 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
8866 __FLOAT_WORD_ORDER__.
8867 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
8868 Delete.
8869
455c8f48
RW
88702010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8871
8872 PR other/46202
8873 * Makefile.in (install-strip): New phony target.
8874
f3824a8b
ILT
88752010-11-07 Ian Lance Taylor <iant@google.com>
8876
8877 PR target/46089
8878 * config/i386/morestack.S (__morestack_large_model): New
8879 function.
8880
18ed6ee4
NF
88812010-10-23 Nathan Froyd <froydnj@codesourcery.com>
8882
8883 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
8884 Delete.
8885 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
8886
8ac7fdcb
NF
88872010-10-14 Nathan Froyd <froydnj@codesourcery.com>
8888
8889 * config/arm/bpabi.h: New file.
8890 * config/frv/frv-abi.h: New file.
8891
cdb388c2
ILT
88922010-10-01 Ian Lance Taylor <iant@google.com>
8893
8894 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
8895 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
8896
ef7c141c
L
88972010-10-01 H.J. Lu <hongjiu.lu@intel.com>
8898
8899 PR target/45858
8900 * config.host: Add the missing `$'.
8901
80920132
ME
89022010-09-30 Michael Eager <eager@eagercon.com>
8903
8904 * config.host: Add microblaze*-*-*.
8905 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
8906 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
8907 udivsi3.asm,umodsi3.asm}: New.
8908
6dace308
ILT
89092010-09-28 Ian Lance Taylor <iant@google.com>
8910
8911 * configure.ac: Adjust CFI test to test assembler directly rather
8912 than checking gcc preprocessor macro.
8913 * configure: Rebuild.
8914
b6110d6d
ILT
89152010-09-27 Ian Lance Taylor <iant@google.com>
8916
8917 * configure.ac: Test whether assembler supports CFI directives.
8918 * config.host: Only add t-stack and i386/t-stack-i386 to
8919 tmake_file if libgcc_cv_cfi is "yes".
8920 * configure: Rebuild.
8921
7458026b
ILT
89222010-09-27 Ian Lance Taylor <iant@google.com>
8923
8924 * generic-morestack.h: New file.
8925 * generic-morestack.c: New file.
8926 * generic-morestack-thread.c: New file.
8927 * config/i386/morestack.S: New file.
8928 * config/t-stack: New file.
8929 * config/i386/t-stack-i386: New file.
8930 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
8931 i386/t-stack-i386 to tmake_file.
8932
5b50fc0c
IS
89332010-09-21 Iain Sandoe <iains@gcc.gnu.org>
8934
8935 * Makefile.in (libgcc-extra-parts): Check for static archives and
8936 invoke ranlib after installing them.
8937 (gcc-extra-parts): Likewise.
8938 (install-leaf): Likewise.
8939
b93cf342
L
89402010-09-14 H.J. Lu <hongjiu.lu@intel.com>
8941
8942 * configure: Regenerated.
8943
996b42ef
KT
89442010-09-10 Kai Tietz <kai.tietz@onevision.com>
8945
b93cf342 8946 * configure: Regenerated.
996b42ef 8947
be1c764e
GP
89482010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
8949 Andrew Pinski <pinskia@gmail.com>
8950
1da9434b 8951 PR target/40959
be1c764e
GP
8952 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
8953
cc0ae0ca
L
89542010-09-06 H.J. Lu <hongjiu.lu@intel.com>
8955
8956 PR target/45524
8957 * configure: Regenerated.
8958
84f47d20
AS
89592010-09-06 Andreas Schwab <schwab@redhat.com>
8960
8961 * configure: Regenerate.
8962
4159fb8d
UB
89632010-09-03 Uros Bizjak <ubizjak@gmail.com>
8964
8965 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
8966 64bit targets.
8967 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
8968 for 64bit targets.
8969
0df8fcc8
UB
89702010-09-03 Uros Bizjak <ubizjak@gmail.com>
8971 Iain Sandoe <iains@gcc.gnu.org>
8972
8973 PR target/45476
8974 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
8975 LIB2FUNCS_EXCLUDE functions.
8976
3c39bca6
AK
89772010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8978
8979 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
8980 Include dfp.m4.
8981 * configure: Regenerate.
8982
d78552bd
UB
89832010-09-01 Uros Bizjak <ubizjak@gmail.com>
8984
8985 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
8986 i386/t-freebsd to tmake_file.
8987 * config/i386/t-freebsd: New file.
8988 * config/i386/libgcc-bsd.ver: New file.
8989
c5b79d4e
NF
89902010-07-23 Nathan Froyd <froydnj@codesourcery.com>
8991
8992 * config.host (powerpc*-eabispe*): Set tmake_file.
8993 (powerpc*-eabi*): Likewise.
8994 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
8995 crtbeginS, crtendS, crtbeginT.
8996
48b09a92
KH
89972010-06-12 Kazu Hirata <kazu@codesourcery.com>
8998
8999 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
9000 to tmake_file. Add crtfastmath.o to extra_parts.
9001 * config/mips/t-crtfm: New.
9002
7d296953 90032010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
a4389204
JS
9004
9005 * config.host (sparc64-*-rtems*): New target.
9006
ed104137
RO
90072010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9008
9009 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
9010 assembler syntax.
9011
3f56ef8b
TS
90122010-04-15 Thomas Schwinge <tschwinge@gnu.org>
9013
9014 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
9015
8c200350
RO
90162010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9017
9018 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
9019 alpha-dec-osf5.0* support.
9020
7d296953 90212010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
c1b14424
RC
9022
9023 * config.host: Add lm32-*-rtems*.
9024
f128db92 90252010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7d296953 9026 Uros Bizjak <ubizjak@gmail.com>
f128db92
RO
9027
9028 PR target/39048
9029 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
9030 like other remaining 32-bit x86 OSes.
9031 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
9032 assembler syntax.
9033 * config/i386/libgcc-sol2.ver: New file.
9034 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
9035
7d296953 90362010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
368fabd5
JH
9037
9038 PR c/43553
9039 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
9040 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
9041 is used and substitute set_use_emutls.
9042 * configure: Regenerated.
9043
15baf7f8
TG
90442010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
9045
9046 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
9047
7f5441df
RO
90482010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9049
9050 PR target/38085
9051 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
9052 MULTILIB_CFLAGS.
9053 ($(T)gcrt1.o): Likewise.
9054 ($(T)crt1.o): Likewise.
9055 ($(T)crti.o): Likewise.
9056 ($(T)crtn.o): Likewise.
9057
ef74edbd
RW
90582010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9059
9060 PR other/42980
9061 * Makefile.in (install): Use $(MAKE) string in rule, for
9062 parallel make.
9063
e7c914db
HPN
90642010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
9065
9066 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
9067 * config/mmix/t-mmix: New file.
9068 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
9069
1bcb71c4
JH
90702010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
9071
9072 PR java/41991
9073 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
9074 SHLIB_MAPFILES.
9075
e6e50811
AG
90762010-01-04 Anthony Green <green@moxielogic.com>
9077
9078 * config/moxie/crti.asm, config/moxie/crtn.asm,
9079 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
9080 config/moxie/t-moxie: New files.
9081 * config.host: Add t-moxie-softfp reference.
9082
7d296953 90832009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
ca8520ad
IS
9084
9085 PR other/39888
9086 * config/t-slibgcc-darwin: Fix embedded rpaths for
9087 --enable-version-specific-runtime-libs, build extension stub
9088 libs exposing features available from current libgcc_s.
9089
7d296953 90902009-11-11 Jon Beniston <jon@beniston.com>
aa4945c1 9091
d78552bd
UB
9092 * config.host: Add lm32 targets.
9093 * config/lm32: New directory.
9094 * config/lm32/libgcc_lm32.h: New file.
9095 * config/lm32/_mulsi3.c: New file.
9096 * config/lm32/_udivmodsi4.c: New file.
9097 * config/lm32/_divsi3.c: New file.
9098 * config/lm32/_modsi3.c: New file.
9099 * config/lm32/_udivsi3.c: New file.
9100 * config/lm32/_umodsi3.c: New file.
9101 * config/lm32/_lshrsi3.S: New file.
9102 * config/lm32/_ashrsi3.S: New file.
9103 * config/lm32/_ashlsi3.S: New file.
9104 * config/lm32/crti.S: New file.
9105 * config/lm32/crtn.S: New file.
9106 * config/lm32/t-lm32: New file.
9107 * config/lm32/t-elf: New file.
9108 * config/lm32/t-uclinux: New file.
aa4945c1 9109
65a324b4
NC
91102009-10-26 Nick Clifton <nickc@redhat.com>
9111
9112 * config.host: Add support for RX target.
9113 * config/rx: New directory.
9114 * config/rx/rx-abi-functions.c: New file. Supplementary
9115 functions for libgcc to support the RX ABI.
9116 * config/rx/rx-abi.h: New file. Supplementary header file for
9117 libgcc RX ABI functions.
9118 * config/rx/t-rx: New file: Makefile fragment for building
9119 libgcc for the RX.
9120
dfb3b0e3
UB
91212009-10-09 Uros Bizjak <ubizjak@gmail.com>
9122
9123 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
9124 constraint of y0 to "g".
9125
81dd9fd7
AK
91262009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9127
9128 * config.host: Include the s390 makefile fragments.
9129 * config/s390/32/_fixdfdi.c: New file.
9130 * config/s390/32/_fixsfdi.c: New file.
9131 * config/s390/32/_fixtfdi.c: New file.
9132 * config/s390/32/_fixunsdfdi.c: New file.
9133 * config/s390/32/_fixunssfdi.c: New file.
9134 * config/s390/32/_fixunstfdi.c: New file.
9135 * config/s390/32/t-floattodi: New file.
9136 * config/s390/libgcc-glibc.ver: New file.
9137 * config/s390/t-crtstuff: New file.
9138 * config/s390/t-linux: New file.
9139 * config/s390/t-tpf: New file.
9140
df58e648
RW
91412009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9142
9143 * configure.ac (AC_PREREQ): Bump to 2.64.
9144
79052be3
KK
91452009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
9146
9147 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
9148
5213506e
RW
91492009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9150
9151 * configure: Regenerate.
9152
a9a25daa
DR
91532009-08-09 Douglas B Rupp <rupp@gnat.com>
9154
9155 * config.host (ia64-hp-*vms*): New target.
9156 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
9157 with ia64-hp-*vms*.
9158
6efbd53f
RW
91592009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9160
9161 * configure.ac: Add snippet for maintainer-mode.
9162 * configure: Regenerate.
9163 * Makefile.in (AUTOCONF, configure_deps): New variables.
9164 ($(srcdir)/configure)): New rule, active only with maintainer
9165 mode turned on.
9166
7acf4da6
DD
91672009-06-23 DJ Delorie <dj@redhat.com>
9168
9169 Add MeP port.
9170 * config.host: Add mep support.
9171
54f549af
KT
91722009-06-22 Kai Tietz <kai.tietz@onevision.com>
9173
34481f28 9174 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 9175 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
34481f28
UB
9176
9177 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
9178 for mingw targets.
54f549af
KT
9179 * config/i386/64/_multc3.c: Likewise.
9180 * config/i386/64/_powitf2.c: Likewise.
9181 * config/i386/64/eqtf2.c: Likewise.
9182 * config/i386/64/getf2.c: Likewise.
9183 * config/i386/64/letf2.c: Likewise.
9184 * config/i386/64/letf2.c: Likewise.
34481f28
UB
9185 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
9186 unsigned long long for x64 mingw targets.
9187 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
9188 (_FP_I_TYPE): Define as long long for x64 mingw target.
54f549af 9189
fea96e25
MR
91902009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
9191
9192 * config.host (vax-*-linux*): New.
9193
cceb575c
AG
91942009-05-31 Anthony Green <green@moxielogic.com>
9195
9196 * config.host: Add moxie support.
9197 * config/moxie/t-moxie: New file.
9198
7d296953 91992009-05-29 David Billinghurst <billingd@gcc.gnu.org>
e997fb9c
DB
9200
9201 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 9202 t-softfp to tmake_file for i[34567]86-*-cygwin*.
e997fb9c 9203
532bfb0a
AJ
92042009-04-17 Aurelien Jarno <aurelien@aurel32.net>
9205
9206 * config.host: Add i386/${host_address}/t-fprules-softfp to
9207 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
9208
748086b7
JJ
92092009-04-09 Nick Clifton <nickc@redhat.com>
9210
9211 * config/ia64/tf-signs.c: Change copyright header to refer to
9212 version 3 of the GNU General Public License with version 3.1
9213 of the GCC Runtime Library Exception and to point readers at
9214 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
9215 web page.
9216 * config/i386/32/tf-signs.c: Likewise.
9217 * config/libbid/_addsub_dd.c: Likewise.
9218 * config/libbid/_addsub_sd.c: Likewise.
9219 * config/libbid/_addsub_td.c: Likewise.
9220 * config/libbid/_dd_to_df.c: Likewise.
9221 * config/libbid/_dd_to_di.c: Likewise.
9222 * config/libbid/_dd_to_sd.c: Likewise.
9223 * config/libbid/_dd_to_sf.c: Likewise.
9224 * config/libbid/_dd_to_si.c: Likewise.
9225 * config/libbid/_dd_to_td.c: Likewise.
9226 * config/libbid/_dd_to_tf.c: Likewise.
9227 * config/libbid/_dd_to_udi.c: Likewise.
9228 * config/libbid/_dd_to_usi.c: Likewise.
9229 * config/libbid/_dd_to_xf.c: Likewise.
9230 * config/libbid/_df_to_dd.c: Likewise.
9231 * config/libbid/_df_to_sd.c: Likewise.
9232 * config/libbid/_df_to_td.c: Likewise.
9233 * config/libbid/_di_to_dd.c: Likewise.
9234 * config/libbid/_di_to_sd.c: Likewise.
9235 * config/libbid/_di_to_td.c: Likewise.
9236 * config/libbid/_div_dd.c: Likewise.
9237 * config/libbid/_div_sd.c: Likewise.
9238 * config/libbid/_div_td.c: Likewise.
9239 * config/libbid/_eq_dd.c: Likewise.
9240 * config/libbid/_eq_sd.c: Likewise.
9241 * config/libbid/_eq_td.c: Likewise.
9242 * config/libbid/_ge_dd.c: Likewise.
9243 * config/libbid/_ge_sd.c: Likewise.
9244 * config/libbid/_ge_td.c: Likewise.
9245 * config/libbid/_gt_dd.c: Likewise.
9246 * config/libbid/_gt_sd.c: Likewise.
9247 * config/libbid/_gt_td.c: Likewise.
9248 * config/libbid/_isinfd128.c: Likewise.
9249 * config/libbid/_isinfd32.c: Likewise.
9250 * config/libbid/_isinfd64.c: Likewise.
9251 * config/libbid/_le_dd.c: Likewise.
9252 * config/libbid/_le_sd.c: Likewise.
9253 * config/libbid/_le_td.c: Likewise.
9254 * config/libbid/_lt_dd.c: Likewise.
9255 * config/libbid/_lt_sd.c: Likewise.
9256 * config/libbid/_lt_td.c: Likewise.
9257 * config/libbid/_mul_dd.c: Likewise.
9258 * config/libbid/_mul_sd.c: Likewise.
9259 * config/libbid/_mul_td.c: Likewise.
9260 * config/libbid/_ne_dd.c: Likewise.
9261 * config/libbid/_ne_sd.c: Likewise.
9262 * config/libbid/_ne_td.c: Likewise.
9263 * config/libbid/_sd_to_dd.c: Likewise.
9264 * config/libbid/_sd_to_df.c: Likewise.
9265 * config/libbid/_sd_to_di.c: Likewise.
9266 * config/libbid/_sd_to_sf.c: Likewise.
9267 * config/libbid/_sd_to_si.c: Likewise.
9268 * config/libbid/_sd_to_td.c: Likewise.
9269 * config/libbid/_sd_to_tf.c: Likewise.
9270 * config/libbid/_sd_to_udi.c: Likewise.
9271 * config/libbid/_sd_to_usi.c: Likewise.
9272 * config/libbid/_sd_to_xf.c: Likewise.
9273 * config/libbid/_sf_to_dd.c: Likewise.
9274 * config/libbid/_sf_to_sd.c: Likewise.
9275 * config/libbid/_sf_to_td.c: Likewise.
9276 * config/libbid/_si_to_dd.c: Likewise.
9277 * config/libbid/_si_to_sd.c: Likewise.
9278 * config/libbid/_si_to_td.c: Likewise.
9279 * config/libbid/_td_to_dd.c: Likewise.
9280 * config/libbid/_td_to_df.c: Likewise.
9281 * config/libbid/_td_to_di.c: Likewise.
9282 * config/libbid/_td_to_sd.c: Likewise.
9283 * config/libbid/_td_to_sf.c: Likewise.
9284 * config/libbid/_td_to_si.c: Likewise.
9285 * config/libbid/_td_to_tf.c: Likewise.
9286 * config/libbid/_td_to_udi.c: Likewise.
9287 * config/libbid/_td_to_usi.c: Likewise.
9288 * config/libbid/_td_to_xf.c: Likewise.
9289 * config/libbid/_tf_to_dd.c: Likewise.
9290 * config/libbid/_tf_to_sd.c: Likewise.
9291 * config/libbid/_tf_to_td.c: Likewise.
9292 * config/libbid/_udi_to_dd.c: Likewise.
9293 * config/libbid/_udi_to_sd.c: Likewise.
9294 * config/libbid/_udi_to_td.c: Likewise.
9295 * config/libbid/_unord_dd.c: Likewise.
9296 * config/libbid/_unord_sd.c: Likewise.
9297 * config/libbid/_unord_td.c: Likewise.
9298 * config/libbid/_usi_to_dd.c: Likewise.
9299 * config/libbid/_usi_to_sd.c: Likewise.
9300 * config/libbid/_usi_to_td.c: Likewise.
9301 * config/libbid/_xf_to_dd.c: Likewise.
9302 * config/libbid/_xf_to_sd.c: Likewise.
9303 * config/libbid/_xf_to_td.c: Likewise.
9304 * config/libbid/bid128.c: Likewise.
9305 * config/libbid/bid128_2_str.h: Likewise.
9306 * config/libbid/bid128_2_str_macros.h: Likewise.
9307 * config/libbid/bid128_2_str_tables.c: Likewise.
9308 * config/libbid/bid128_add.c: Likewise.
9309 * config/libbid/bid128_compare.c: Likewise.
9310 * config/libbid/bid128_div.c: Likewise.
9311 * config/libbid/bid128_fma.c: Likewise.
9312 * config/libbid/bid128_logb.c: Likewise.
9313 * config/libbid/bid128_minmax.c: Likewise.
9314 * config/libbid/bid128_mul.c: Likewise.
9315 * config/libbid/bid128_next.c: Likewise.
9316 * config/libbid/bid128_noncomp.c: Likewise.
9317 * config/libbid/bid128_quantize.c: Likewise.
9318 * config/libbid/bid128_rem.c: Likewise.
9319 * config/libbid/bid128_round_integral.c: Likewise.
9320 * config/libbid/bid128_scalb.c: Likewise.
9321 * config/libbid/bid128_sqrt.c: Likewise.
9322 * config/libbid/bid128_string.c: Likewise.
9323 * config/libbid/bid128_to_int16.c: Likewise.
9324 * config/libbid/bid128_to_int32.c: Likewise.
9325 * config/libbid/bid128_to_int64.c: Likewise.
9326 * config/libbid/bid128_to_int8.c: Likewise.
9327 * config/libbid/bid128_to_uint16.c: Likewise.
9328 * config/libbid/bid128_to_uint32.c: Likewise.
9329 * config/libbid/bid128_to_uint64.c: Likewise.
9330 * config/libbid/bid128_to_uint8.c: Likewise.
9331 * config/libbid/bid32_to_bid128.c: Likewise.
9332 * config/libbid/bid32_to_bid64.c: Likewise.
9333 * config/libbid/bid64_add.c: Likewise.
9334 * config/libbid/bid64_compare.c: Likewise.
9335 * config/libbid/bid64_div.c: Likewise.
9336 * config/libbid/bid64_fma.c: Likewise.
9337 * config/libbid/bid64_logb.c: Likewise.
9338 * config/libbid/bid64_minmax.c: Likewise.
9339 * config/libbid/bid64_mul.c: Likewise.
9340 * config/libbid/bid64_next.c: Likewise.
9341 * config/libbid/bid64_noncomp.c: Likewise.
9342 * config/libbid/bid64_quantize.c: Likewise.
9343 * config/libbid/bid64_rem.c: Likewise.
9344 * config/libbid/bid64_round_integral.c: Likewise.
9345 * config/libbid/bid64_scalb.c: Likewise.
9346 * config/libbid/bid64_sqrt.c: Likewise.
9347 * config/libbid/bid64_string.c: Likewise.
9348 * config/libbid/bid64_to_bid128.c: Likewise.
9349 * config/libbid/bid64_to_int16.c: Likewise.
9350 * config/libbid/bid64_to_int32.c: Likewise.
9351 * config/libbid/bid64_to_int64.c: Likewise.
9352 * config/libbid/bid64_to_int8.c: Likewise.
9353 * config/libbid/bid64_to_uint16.c: Likewise.
9354 * config/libbid/bid64_to_uint32.c: Likewise.
9355 * config/libbid/bid64_to_uint64.c: Likewise.
9356 * config/libbid/bid64_to_uint8.c: Likewise.
9357 * config/libbid/bid_b2d.h: Likewise.
9358 * config/libbid/bid_binarydecimal.c: Likewise.
9359 * config/libbid/bid_conf.h: Likewise.
9360 * config/libbid/bid_convert_data.c: Likewise.
9361 * config/libbid/bid_decimal_data.c: Likewise.
9362 * config/libbid/bid_decimal_globals.c: Likewise.
9363 * config/libbid/bid_div_macros.h: Likewise.
9364 * config/libbid/bid_dpd.c: Likewise.
9365 * config/libbid/bid_flag_operations.c: Likewise.
9366 * config/libbid/bid_from_int.c: Likewise.
9367 * config/libbid/bid_functions.h: Likewise.
9368 * config/libbid/bid_gcc_intrinsics.h: Likewise.
9369 * config/libbid/bid_inline_add.h: Likewise.
9370 * config/libbid/bid_internal.h: Likewise.
9371 * config/libbid/bid_round.c: Likewise.
9372 * config/libbid/bid_sqrt_macros.h: Likewise.
9373
93742009-04-09 Jakub Jelinek <jakub@redhat.com>
9375
9376 * Makefile.in: Change copyright header to refer to version
9377 3 of the GNU General Public License and to point readers at the
9378 COPYING3 file and the FSF's license web page.
9379 * config.host: Likewise.
9380
633dd061
AM
93812009-04-07 Alan Modra <amodra@bigpond.net.au>
9382
9383 * config.host: Reorder and merge to match config.gcc change.
9384
457d1d00
AM
93852009-04-03 Alan Modra <amodra@bigpond.net.au>
9386
9387 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
9388
52c0e446
JM
93892009-03-28 Joseph Myers <joseph@codesourcery.com>
9390
9391 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
9392 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
9393 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
9394 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
9395
ba181049
UB
93962009-02-12 Uros Bizjak <ubizjak@gmail.com>
9397
9398 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
9399 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9400
c252db20
L
94012009-02-12 H.J. Lu <hongjiu.lu@intel.com>
9402
ba181049
UB
9403 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
9404 ia64/t-softfp-compat to tmake_file.
c252db20
L
9405
9406 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
9407
9408 * config/ia64/__divxf3.asm: New.
9409 * config/ia64/_fixtfdi.asm: Likewise.
9410 * config/ia64/_fixunstfdi.asm: Likewise.
9411 * config/ia64/_floatditf.asm: Likewise.
9412 * config/ia64/t-fprules-softfp: Likewise.
9413 * config/ia64/t-softfp-compat: Likewise.
9414 * config/ia64/tf-signs.c: Likewise.
9415
c60535f9
BE
94162009-01-18 Ben Elliston <bje@au.ibm.com>
9417
9418 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9419
ce16861e
BE
94202009-01-16 Ben Elliston <bje@au.ibm.com>
9421
9422 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
9423 to tmake_file.
9424
bcf4713b
BE
94252009-01-13 Ben Elliston <bje@au.ibm.com>
9426
9427 * config/t-softfp: New file.
9428 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
9429 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
9430
7d296953 94312009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
2042cb04
JS
9432
9433 * config.host: Add m32r*-*-rtems*.
9434
7d296953 94352008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
541ed00e
JS
9436
9437 * config.host: Add m32c*-*-rtems*.
9438
19523300
RO
94392008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9440
9441 PR bootstrap/33100
9442 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
9443 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
9444 * configure: Regenerate.
9445 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
9446 tmake_file here from gcc/config.gcc.
9447 Move extra_parts here from gcc/config.gcc.
9448 * config/i386/t-sol2: Move here from gcc/config/i386.
9449 Use gcc_srcdir instead of srcdir.
9450
0a4a51c7
AN
94512008-11-18 Adam Nemet <anemet@caviumnetworks.com>
9452
9453 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
9454 case.
9455
2a761e46
TS
94562008-11-09 Thomas Schwinge <tschwinge@gnu.org>
9457
9458 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
9459
c0451df7
TS
94602008-10-08 Thomas Schwinge <tschwinge@gnu.org>
9461
9462 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
9463
358da97e
HS
94642008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
9465
9466 Add picoChip port.
9467 * config.host: Add picochip-*-*.
9468
c660f132
BW
94692008-08-06 Bob Wilson <bob.wilson@acm.org>
9470
9471 * config.host: Match more processor names for Xtensa.
9472
d1349557
L
94732008-07-08 H.J. Lu <hongjiu.lu@intel.com>
9474
9475 * config/i386/64/t-softfp-compat: Update comments.
9476
dd7b73c0
L
94772008-07-07 H.J. Lu <hongjiu.lu@intel.com>
9478
9479 * config/i386/64/_divtc3-compat.c: Moved to ...
9480 * config/i386/64/_divtc3.c: Here.
9481
9482 * config/i386/64/_multc3-compat.c: Moved to ...
9483 * config/i386/64/_multc3.c: Here.
9484
9485 * config/i386/64/_powitf2-compat.c: Moved to ...
9486 * config/i386/64/_powitf2.c: Here.
9487
9488 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
9489 .c suffix instead of -compat.c.
9490
6e1fab3d
UB
94912008-07-05 Uros Bizjak <ubizjak@gmail.com>
9492
9493 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
9494 (_FP_MUL_MEAT_D): Ditto.
9495 (_FP_DIV_MEAT_S): Ditto.
9496 (_FP_DIV_MEAT_D): Ditto.
9497
f92518d7
RS
94982008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
9499
9500 * Makefile.in: Add support for __sync_* libgcc functions.
9501
d0aede14
L
95022008-07-03 H.J. Lu <hongjiu.lu@intel.com>
9503
9504 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
9505
c174f11c
L
95062008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9507
9508 PR boostrap/36702
9509 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
9510 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
9511
9512 * config/i386/64/t-fprules-softfp: Moved to ...
9513 * config/i386/64/t-softfp-compat: This. New.
9514
5f464fa2
UB
95152008-07-02 Uros Bizjak <ubizjak@gmail.com>
9516
9517 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
9518 Initialize f with 0.0.
9519
ff473280
L
95202008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9521
9522 PR target/36669
9523 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
9524
9525 * config/i386/64/_divtc3-compat.c: New.
9526 * config/i386/64/_multc3-compat.c: Likewise.
9527 * config/i386/64/_powitf2-compat.c: Likewise.
9528 * config/i386/64/eqtf2.c: Likewise.
9529 * config/i386/64/getf2.c: Likewise.
9530 * config/i386/64/letf2.c: Likewise.
9531 * config/i386/64/t-fprules-softfp: Likewise.
9532
95332008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9534
9535 * config.host: Add i386/${host_address}/t-fprules-softfp to
9536 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
dfb3b0e3 9537 i[34567]86-*-linux*, x86_64-*-linux*.
ff473280
L
9538
9539 * configure.ac: Set host_address to 64 or 32 for x86.
9540 * configure: Regenerated.
9541
9542 * Makefile.in (config.status): Also depend on
9543 $(srcdir)/config.host.
9544
9545 * config/i386/32/t-fprules-softfp: New.
9546 * config/i386/32/tf-signs.c: Likewise.
9547
9548 * config/i386/64/sfp-machine.h: New. Moved from gcc.
9549
95502008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9551 Uros Bizjak <ubizjak@gmail.com>
9552
9553 * config/i386/32/sfp-machine.h: New.
9554
30551d99
NF
95552008-06-26 Nathan Froyd <froydnj@codesourcery.com>
9556
9557 * config/rs6000/t-ppccomm: Remove rules that conflict with
9558 auto-generated rules.
9559
18c04407
RW
95602008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9561
9562 * configure.ac: sinclude override.m4.
9563 * configure: Regenerate.
9564
10fbe77a
BRF
95652008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
9566
9567 * configure: Regenerate.
9568
bc6d4c3f
JM
95692008-06-10 Joseph Myers <joseph@codesourcery.com>
9570
9571 * Makefile.in (DECNUMINC): Remove
9572 -I$(MULTIBUILDTOP)../../libdecnumber.
9573 * gstdint.h: New.
9574
cd985f66
JM
95752008-06-07 Joseph Myers <joseph@codesourcery.com>
9576
9577 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
9578 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
9579 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
9580 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
9581 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
9582 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
9583 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
9584 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
9585 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
9586 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
9587 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
9588 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
9589 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
9590 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
9591
93fea8d3
AL
95922008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
9593
9594 * config.host (sh2[lbe]*-*-linux*): Allow target.
9595
18724e30
NF
95962008-04-30 Nathan Froyd <froydnj@codesourcery.com>
9597
9598 * config/rs6000/t-ppccomm: Add build rules for new files.
9599 (LIB2ADD_ST): New variable.
9600
47583040
AH
96012008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
9602
9603 PR target/34210
9604 PR target/35508
9605 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
9606 * config/t-avr: New file. Build 16bit libgcc functions.
9607
cf8e67fe
JJ
96082008-03-02 Jakub Jelinek <jakub@redhat.com>
9609
9610 PR target/35401
9611 * config/t-slibgcc-darwin: Make install-leaf dependent on
9612 install-darwin-libgcc-stubs instead of install.
9613
8d8da227
JM
96142008-01-25 Joseph Myers <joseph@codesourcery.com>
9615
9616 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
9617 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
9618 sh-*-rtemscoff*): Remove cases.
9619
edbf8b16
RS
96202007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
9621
9622 * Makefile.in (all): Use install-leaf rather than install.
9623 (install): Split most of the rule into...
9624 (install-leaf): ...this new one.
9625
89deeaff
EK
96262007-12-19 Etsushi Kato <ek.kato@gmail.com>
9627 Paolo Bonzini <bonzini@gnu.org>
9628
9629 PR target/30572
5f464fa2
UB
9630 * Makefile.in: Use @shlib_slibdir@ substitution to get
9631 correct install name on darwin.
89deeaff 9632 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
dfb3b0e3 9633
4081d704
HPN
96342007-12-15 Hans-Peter Nilsson <hp@axis.com>
9635
9636 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
9637 cris-*-elf and cris-*-none.
9638 (crisv32-*-linux*): Similar, as cris-*-linux*.
9639
f43e89a3
RIL
96402007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
9641
9642 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
9643
b4e9c2c6
L
96442007-10-27 H.J. Lu <hongjiu.lu@intel.com>
9645
9646 PR regression/33926
9647 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
9648 * configure: Regenerated.
9649
b2a00c89
L
96502007-09-27 H.J. Lu <hongjiu.lu@intel.com>
9651
9652 * Makefile.in (dfp-filenames): Replace decimal_globals,
9653 decimal_data, binarydecimal and convert_data with
9654 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
9655 and bid_convert_data, respectively.
9656
8d2a9e0e
CF
96572007-09-17 Chao-ying Fu <fu@mips.com>
9658 Nigel Stephens <nigel@mips.com>
9659
9660 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
9661 * Makefile.in (fixed_point): Define.
9662 Check if fixed_point is yes to build support functions.
9663 * configure.ac: Check for fixed_point support.
9664 * configure: Regenerated.
9665 * gen-fixed.sh: New file to generate lists of fixed-point labels,
9666 funcs, modes, from, to.
9667
2b53935d
JJ
96682007-09-11 Janis Johnson <janis187@us.ibm.com
9669
9670 * Makefile.in (dfp-filenames): Add bid128_noncomp.
9671
2533577f
JJ
96722007-09-10 Janis Johnson <janis187@us.ibm.com>
9673
9674 * Makefile.in (dfp-filenames): Remove decUtility, add
9675 decDouble, decPacked, decQuad, decSingle.
9676
3ae3dbd6
HK
96772007-08-27 Hans Kester <hans.kester@ellips.nl>
9678
9679 * config.host : Add x86_64-elf target.
9680
22867d02
L
96812007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9682
9683 * configure.ac (set_have_cc_tls): Add a missing =.
9684 * configure: Regenerated.
9685
6f461e76
L
96862007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9687
9688 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
9689 and x86_64-*-linux*.
9690
9691 * config/t-tls: New file.
9692
dfb3b0e3 9693 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6f461e76
L
9694
9695 * configure.ac: Include ../config/enable.m4 and
9696 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
9697 supports TLS and substitute set_have_cc_tls.
9698 * configure: Regenerated.
9699
200359e8
L
97002007-07-04 H.J. Lu <hongjiu.lu@intel.com>
9701
9702 * Makefile.in: Use libbid for DFP when BID is enabled.
9703
76f5e200
DS
97042007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
9705
9706 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
dfb3b0e3 9707 extra_parts. Add config/i386/t-cygming to tmake_file.
76f5e200
DS
9708 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
9709
9bd196f0 97102007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
200359e8 9711 Danny Smith <dannysmith@users.sourceforge.net>
9bd196f0
ZM
9712
9713 PR target/29498
9714 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
9715 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
9716 * config/i386/t-crtfm: Compile crtfastmath.o with
9717 -minline-all-stringops.
9718
1910440e
RS
97192007-05-10 Richard Sandiford <richard@codesourcery.com>
9720
9721 * config.host (sparc-wrs-vxworks): New target.
9722
7d33c31d
KH
97232007-04-14 Kazu Hirata <kazu@codesourcery.com>
9724
9725 * config.host: Recognize fido.
9726
96fccd0d
JJ
97272007-04-04 Janis Johnson <janis187@us.ibm.com>
9728
9729 * configure: Check host, not target, for decimal float support.
9730
577565f9
UB
97312007-04-03 Uros Bizjak <ubizjak@gmail.com>
9732
9733 * config/i386/t-crtpc: New file.
9734 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5f464fa2 9735 (x86_64-*-linux*): Ditto.
577565f9 9736
ccf8e764
RH
97372007-02-30 Kai Tietz <kai.tietz@onevision.com>
9738
9739 * config.host (x86_64-*-mingw*): New target.
9740
79b87c74
MM
97412007-03-23 Michael Meissner <michael.meissner@amd.com>
9742 H.J. Lu <hongjiu.lu@intel.com>
9743
9744 * Makefile.in (enable_decimal_float): New.
9745 (DECNUMINC): Add
9746 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
9747 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
9748 (decbits-filenames): This.
9749 (decbits-objects): New.
9750 (libgcc-objects): Add $(decbits-objects).
9751
9752 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
9753 Substitute enable_decimal_float.
9754 * configure: Regenerated.
9755
8fce4e31
HPN
97562007-03-19 Hans-Peter Nilsson <hp@axis.com>
9757
9758 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
9759
e8bb4597
BM
97602007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
9761
9762 * Makefile.in (install-info): New dummy target.
9763
344189f9
BS
97642007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
9765
9766 * config.host (bfin*-linux-uclibc*): Set extra_parts.
9767
ac84c172
BM
97682007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
9769
9770 * Makefile.in: Add install-html and install-pdf dummy
9771 targets.
9772
cd5c2357
RS
97732007-02-05 Roger Sayle <roger@eyesopen.com>
9774 Daniel Jacobowitz <dan@codesourcery.com>
9775
9776 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
9777 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
9778 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
9779
d9a66f98
JJ
97802007-01-29 Janis Johnson <janis187@us.ibm.com>
9781
9782 * Makefile.in (dec-filenames): Add decExcept.
9783
9891ec5f
DJ
97842007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
9785
9786 PR bootstrap/30469
9787 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
9788 -fprofile-use.
9789
d6efbf5a
DJ
97902007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
9791
9792 * configure.ac: Add --enable-version-specific-runtime-libs.
9793 Correct $slibdir default.
9794 * configure: Regenerated.
9795
17caeff2
JM
97962007-01-23 Joseph Myers <joseph@codesourcery.com>
9797
9798 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
9799
5ea41e3a
AP
98002007-01-21 Andrew Pinski <pinskia@gmail.com>
9801
9802 PR target/30519
9803 * config.host (alpha*-*-linux*): Set extra_parts.
9804
26900826
KK
98052007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
9806
9807 * config/sh/t-linux: New.
9808 * config.host (sh*-*-linux*): Set tmake_file.
9809
97af925b
DJ
98102007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
9811
9812 * Makefile.in (install): Handle multilibs.
9813
b0088af7
BM
98142007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
9815
9816 * Makefile.in: Added .PHONY entry for documentation targets.
9817
e0a9456a
BM
98182007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
9819
9820 * Makefile.in: Add empty info, html, dvi, pdf targets.
9821
7fd453b4
MS
98222007-01-04 Mike Stump <mrs@apple.com>
9823
9824 * Makefile.in (MAKEINFO): Remove.
9825 (PERL): Likewise.
9826
14e8fc8b
PB
98272007-01-04 Paolo Bonzini <bonzini@gnu.org>
9828
9829 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
9830 * configure: Regenerate.
9831 * Makefile.in (host_subdir): Substitute it.
dfb3b0e3 9832 (gcc_objdir): Use it.
14e8fc8b 9833
1555beba
DJ
98342007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9835
9836 * config.host (ia64*-*-linux*): Set tmake_file.
9837
79e6eaeb
DJ
98382007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9839
9840 * Makefile.in (version): Define.
9841
fa958513
DJ
98422007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
9843 Paolo Bonzini <bonzini@gnu.org>
9844
9845 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
9846 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
9847 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
9848 config/sparc/t-crtfm, config/t-slibgcc-darwin,
9849 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
9850 shared-object.mk, siditi-object.mk, static-object.mk: New files.
9851 * configure: Generated.
818ab71a 9852\f
a5544970 9853Copyright (C) 2007-2019 Free Software Foundation, Inc.
818ab71a
JJ
9854
9855Copying and distribution of this file, with or without modification,
9856are permitted in any medium without royalty provided the copyright
9857notice and this notice are preserved.