]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
ieee_arithmetic.F90: Re-organize file to eliminate #ifdef ...
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
72e3a529
TP
12018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
2
3 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
4 parameter and corresponding code.
5 (ARM_FUNC_START): Likewise in both definitions.
6 Also update footer comment about condition that need to match with
7 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
8 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
9 defined. Weakly define it in this case.
10 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
11 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
12 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
13 comment to keep condition in sync with the one in
14 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
15
5d54c798
WX
162018-12-18 Wei Xiao <wei3.xiao@intel.com>
17
18 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
19 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
20
5a2580b6
RV
212018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
22
23 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
24 and .cfi_endproc directives for VxWorks targets.
25
c0c5112b
PK
262018-12-05 Paul Koning <ni1d@arrl.net>
27
28 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
29
1ea7ea18
AM
302018-11-27 Alan Modra <amodra@gmail.com>
31
32 * config/rs6000/morestack.S (__stack_split_initialize),
33 (__morestack_get_guard, __morestack_set_guard),
34 (__morestack_make_guard): Provide CFI covering these functions.
35 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
36
ff641ae1
XQ
372018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
38
1ea7ea18 39 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
ff641ae1
XQ
40 (sc_pt_regs_lr): Update for kernel.
41 (sc_pt_regs_tls): Update for kernel.
42
28209372
XQ
432018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
44
45 * config/csky/linux-unwind.h: Fix coding style.
46
b2a71af6
XQ
472018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
48
49 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
1ea7ea18 50 (csky_fallback_frame_state): Modify the check of the
b2a71af6
XQ
51 instructions to adapt to changes in the kernel
52
d929e137
SH
532018-11-09 Stafford Horne <shorne@gmail.com>
54 Richard Henderson <rth@twiddle.net>
55
56 * config.host: Add OpenRISC support.
57 * config/or1k/*: New.
58
222cfefa
KC
592018-11-08 Kito Cheng <kito@andestech.com>
60
61 * soft-fp/adddf3.c: Update from glibc.
62 * soft-fp/addsf3.c: Likewise.
63 * soft-fp/addtf3.c: Likewise.
64 * soft-fp/divdf3.c: Likewise.
65 * soft-fp/divsf3.c: Likewise.
66 * soft-fp/divtf3.c: Likewise.
67 * soft-fp/double.h: Likewise.
68 * soft-fp/eqdf2.c: Likewise.
69 * soft-fp/eqsf2.c: Likewise.
70 * soft-fp/eqtf2.c: Likewise.
71 * soft-fp/extenddftf2.c: Likewise.
72 * soft-fp/extended.h: Likewise.
73 * soft-fp/extendhftf2.c: Likewise.
74 * soft-fp/extendsfdf2.c: Likewise.
75 * soft-fp/extendsftf2.c: Likewise.
76 * soft-fp/extendxftf2.c: Likewise.
77 * soft-fp/fixdfdi.c: Likewise.
78 * soft-fp/fixdfsi.c: Likewise.
79 * soft-fp/fixdfti.c: Likewise.
80 * soft-fp/fixhfti.c: Likewise.
81 * soft-fp/fixsfdi.c: Likewise.
82 * soft-fp/fixsfsi.c: Likewise.
83 * soft-fp/fixsfti.c: Likewise.
84 * soft-fp/fixtfdi.c: Likewise.
85 * soft-fp/fixtfsi.c: Likewise.
86 * soft-fp/fixtfti.c: Likewise.
87 * soft-fp/fixunsdfdi.c: Likewise.
88 * soft-fp/fixunsdfsi.c: Likewise.
89 * soft-fp/fixunsdfti.c: Likewise.
90 * soft-fp/fixunshfti.c: Likewise.
91 * soft-fp/fixunssfdi.c: Likewise.
92 * soft-fp/fixunssfsi.c: Likewise.
93 * soft-fp/fixunssfti.c: Likewise.
94 * soft-fp/fixunstfdi.c: Likewise.
95 * soft-fp/fixunstfsi.c: Likewise.
96 * soft-fp/fixunstfti.c: Likewise.
97 * soft-fp/floatdidf.c: Likewise.
98 * soft-fp/floatdisf.c: Likewise.
99 * soft-fp/floatditf.c: Likewise.
100 * soft-fp/floatsidf.c: Likewise.
101 * soft-fp/floatsisf.c: Likewise.
102 * soft-fp/floatsitf.c: Likewise.
103 * soft-fp/floattidf.c: Likewise.
104 * soft-fp/floattihf.c: Likewise.
105 * soft-fp/floattisf.c: Likewise.
106 * soft-fp/floattitf.c: Likewise.
107 * soft-fp/floatundidf.c: Likewise.
108 * soft-fp/floatundisf.c: Likewise.
109 * soft-fp/floatunditf.c: Likewise.
110 * soft-fp/floatunsidf.c: Likewise.
111 * soft-fp/floatunsisf.c: Likewise.
112 * soft-fp/floatunsitf.c: Likewise.
113 * soft-fp/floatuntidf.c: Likewise.
114 * soft-fp/floatuntihf.c: Likewise.
115 * soft-fp/floatuntisf.c: Likewise.
116 * soft-fp/floatuntitf.c: Likewise.
117 * soft-fp/gedf2.c: Likewise.
118 * soft-fp/gesf2.c: Likewise.
119 * soft-fp/getf2.c: Likewise.
120 * soft-fp/half.h: Likewise.
121 * soft-fp/ledf2.c: Likewise.
122 * soft-fp/lesf2.c: Likewise.
123 * soft-fp/letf2.c: Likewise.
124 * soft-fp/muldf3.c: Likewise.
125 * soft-fp/mulsf3.c: Likewise.
126 * soft-fp/multf3.c: Likewise.
127 * soft-fp/negdf2.c: Likewise.
128 * soft-fp/negsf2.c: Likewise.
129 * soft-fp/negtf2.c: Likewise.
130 * soft-fp/op-1.h: Likewise.
131 * soft-fp/op-2.h: Likewise.
132 * soft-fp/op-4.h: Likewise.
133 * soft-fp/op-8.h: Likewise.
134 * soft-fp/op-common.h: Likewise.
135 * soft-fp/quad.h: Likewise.
136 * soft-fp/single.h: Likewise.
137 * soft-fp/soft-fp.h: Likewise.
138 * soft-fp/subdf3.c: Likewise.
139 * soft-fp/subsf3.c: Likewise.
140 * soft-fp/subtf3.c: Likewise.
141 * soft-fp/truncdfsf2.c: Likewise.
142 * soft-fp/trunctfdf2.c: Likewise.
143 * soft-fp/trunctfhf2.c: Likewise.
144 * soft-fp/trunctfsf2.c: Likewise.
145 * soft-fp/trunctfxf2.c: Likewise.
146 * soft-fp/unorddf2.c: Likewise.
147 * soft-fp/unordsf2.c: Likewise.
148 * soft-fp/unordtf2.c: Likewise.
149
2901f42f
VK
1502018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
151
152 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
153 * config/i386/cpuinfo.h (processor_types): Add znver2.
154
4310ca66
PK
1552018-11-01 Paul Koning <ni1d@arrl.net>
156
157 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
158 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
159
22e05272
JM
1602018-10-31 Joseph Myers <joseph@codesourcery.com>
161
162 PR bootstrap/82856
163 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
164 * configure: Regenerate.
165
8180cde0
CZ
1662018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
167
168 * config/arc/lib1funcs.S (_muldi3): New function.
169 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
170
be7b071e
RV
1712018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
172
173 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
174
3239d726
ML
1752018-10-25 Martin Liska <mliska@suse.cz>
176
177 PR other/87735
178 * libgcov-profiler.c: Revert.
179
19b55958
ML
1802018-10-24 Martin Liska <mliska@suse.cz>
181
182 * libgcov-profiler.c: Start from 1 in order to distinguish
183 functions which were seen and these that were not.
184
a9a2fddb
PK
1852018-10-18 Paul Koning <ni1d@arrl.net>
186
187 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
188 standard.
189 * divmod.c: Update references to __udivmodsi4.
190 * udivmod.c: Ditto.
191 * udivhi3.c: New file.
192 * udivmodhi4.c: New file.
193 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
194
fc8abc46
RV
1952018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
196
197 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
198
87f918e3
OH
1992018-10-12 Olivier Hainque <hainque@adacore.com>
200
201 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
202 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
203
be86efa7
PK
2042018-10-08 Paul Koning <ni1d@arrl.net>
205
206 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
207
3edbcdbe
ML
2082018-10-04 Martin Liska <mliska@suse.cz>
209
210 PR gcov-profile/84107
211 * libgcov-profiler.c (__gcov_indirect_call):
212 Change type to indirect_call_tuple.
213 (struct indirect_call_tuple): New struct.
214 (__gcov_indirect_call_topn_profiler): Change type.
215 (__gcov_indirect_call_profiler_v2): Use the new
216 variables.
217 * libgcov.h (struct indirect_call_tuple): New struct
218 definition.
219
af8096fc
UB
2202018-10-03 Uros Bizjak <ubizjak@gmail.com>
221
222 * libgcc2.c (isnan): Use __builtin_isnan.
223 (isfinite): Use __builtin_isfinite.
224 (isinf): Use __builtin_isinf.
225
0a76bba4
UB
2262018-09-26 Uros Bizjak <ubizjak@gmail.com>
227
228 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
229
5244089f
OH
2302018-09-21 Alexandre Oliva <oliva@adacore.com>
231
232 * config/vxcache.c: New file. Provide __clear_cache, based on
233 the cacheTextUpdate VxWorks service.
234 * config/t-vxworks (LIB2ADD): Add vxcache.c.
235 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
236 * config/t-vxwoks7: Likewise.
237
512cc015
ML
2382018-09-21 Martin Liska <mliska@suse.cz>
239
240 * libgcov-driver.c (crc32_unsigned): Remove.
241 (gcov_histogram_insert): Likewise.
242 (gcov_compute_histogram): Likewise.
243 (compute_summary): Simplify rapidly.
244 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
245 (merge_summary): Rapidly simplify.
246 (dump_one_gcov): Ignore gcov_summary.
247 (gcov_do_dump): Do not handle program summary, it's not
248 used.
249 * libgcov-util.c (tag_summary): Remove.
250 (read_gcda_finalize): Fix coding style.
251 (read_gcda_file): Initialize curr_object_summary.
252 (compute_summary): Remove.
253 (calculate_overlap): Remove settings of run_max.
254
36ff254b
MC
2552018-09-21 Monk Chiang <sh.chiang04@gmail.com>
256
257 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
258 ucontext_t type instead.
259 (nds32_fallback_frame_state): Remove struct _sigframe statement.
260
229a033d
KC
2612018-09-21 Kito Cheng <kito.cheng@gmail.com>
262
263 * config/nds32/t-nds32-glibc: New file.
264
53c6feb2
RO
2652018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
266
267 * configure.ac (solaris_ld_v2_maps): New test.
268 * configure: Regenerate.
269 * Makefile.in (solaris_ld_v2_maps): New variable.
270 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
271 if supported.
272
ebdb6f23
RE
2732018-08-23 Richard Earnshaw <rearnsha@arm.com>
274
275 PR target/86951
276 * config/arm/lib1funcs.asm (speculation_barrier): New function.
277 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
278 to build.
279
a49c064e
IS
2802018-08-22 Iain Sandoe <iain@sandoe.co.uk>
281
1ea7ea18 282 * config/unwind-dw2-fde-darwin.c
a49c064e
IS
283 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
284 * config/darwin10-unwind-find-enc-func.c: … to here.
285 * config/t-darwin: Build Darwin10 unwinder shim crt.
286 * libgcc/config.host: Add the Darwin10 unwinder shim.
287
9a5b8df7
RV
2882018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
289
290 * config.host: Add crtbegin.o and crtend.o for
291 powerpc-wrs-vxworks target.
292
4cd0bc3b
J
2932018-08-17 Jojo <jijie_rong@c-sky.com>
294 Huibin Wang <huibin_wang@c-sky.com>
295 Sandra Loosemore <sandra@codesourcery.com>
296 Chung-Lin Tang <cltang@codesourcery.com>
297
298 C-SKY port: libgcc
299
300 * config.host: Add C-SKY support.
301 * config/csky/*: New.
302
a4931745
CJW
3032018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
304
305 * config/nds32/t-nds32-isr: Rearrange object dependency.
306 * config/nds32/initfini.c: Add dwarf2 unwinding support.
307 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
308 and registers usage.
309 * config/nds32/isr-library/excp_isr.S: Ditto.
310 * config/nds32/isr-library/intr_isr.S: Ditto.
311 * config/nds32/isr-library/reset.S: Ditto.
312 * config/nds32/isr-library/restore_all.inc: Ditto.
313 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
314 * config/nds32/isr-library/restore_partial.inc: Ditto.
315 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
316 * config/nds32/isr-library/save_all.inc: Ditto.
317 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
318 * config/nds32/isr-library/save_partial.inc: Ditto.
319 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
320 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
321
2b1969f6
JDA
3222018-08-11 John David Anglin <danglin@gcc.gnu.org>
323
324 * config/pa/linux-atomic.c: Update comment.
325 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
326 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
327 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
328 __ATOMIC_RELAXED for atomic loads.
329 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
330 unordered store to release lock.
331 (__sync_lock_release_8): Likewise.
332 (SYNC_LOCK_RELEASE_2): Remove define.
af8096fc 333
89fff9cc
NP
3342018-08-02 Nicolas Pitre <nico@fluxnic.net>
335
336 PR libgcc/86512
337 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
338 exponent goes negative. Update my email address.
339 * config/arm/ieee754-sf.S: Likewise.
340
fd2e1dcd
ML
3412018-08-01 Martin Liska <mliska@suse.cz>
342
343 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
92a285c1 344 check that __gcov_indirect_call_callee is non-null.
fd2e1dcd 345
b7415975
CL
3462018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
347
348 * config/arm/ieee754-df.S: Fix comment for code working on
349 architectures >= 4.
350 * config/arm/ieee754-sf.S: Likewise.
351
b72e71a3
L
3522018-07-27 H.J. Lu <hongjiu.lu@intel.com>
353
354 PR libgcc/85334
355 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
356 Removed.
357
1c686aa4
JC
3582018-07-05 James Clarke <jrtc27@jrtc27.com>
359
360 * configure: Regenerated.
361
b61c9b99
RO
3622018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
363
364 * Makefile.in (install_leaf): Use enable_gcov instead of
365 enable_libgcov.
366
1765b023
RV
3672018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
368
369 * configure.ac: Add --disable-gcov option.
370 * configure: Regenerate.
371 * Makefile.in: Honour @enable_gcov@.
372
9b2e34ef
CL
3732018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
374
375 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
376 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
377 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
378 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
379 __ARM_ARCH__.
380 * config/arm/ieee754-sf.S: Likewise.
381 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
382
d1b0dd54
CL
3832018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
384
385 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
386 longer supported.
387 * config/arm/ieee754-sf.S: Likewise.
388
1f3fa525
TM
3892018-06-20 Than McIntosh <thanm@google.com>
390
391 PR libgcc/86213
392 * generic-morestack.c (allocate_segment): Move calls to getenv and
393 getpagesize to __morestack_load_mmap.
394 (__morestack_load_mmap) Initialize static_pagesize and
395 use_guard_page here so as to avoid clobbering SSE regs during a
396 __morestack call.
397
6a8886e4
MM
3982018-06-18 Michael Meissner <meissner@linux.ibm.com>
399
400 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
401 support modules with -mno-gnu-attribute.
402 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
403
fb997097
OH
4042018-06-07 Olivier Hainque <hainque@adacore.com>
405
406 * config/t-vxworks (LIBGCC_INCLUDES): Add
407 -I$(MULTIBUILDTOP)../../gcc/include.
408 * config/t-vxworks7: Likewise. Reformat a bit to match
409 the t-vxworks layout.
410
a548a5a1
OM
4112018-06-07 Olga Makhotina <olga.makhotina@intel.com>
412
413 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
414
244aebfd
ML
4152018-06-07 Martin Liska <mliska@suse.cz>
416
417 * libgcov-driver.c: Rename cs_all to all and assign it from
92a285c1 418 all_prg.
244aebfd 419
6c086e8c
ML
4202018-06-07 Martin Liska <mliska@suse.cz>
421
92a285c1 422 PR bootstrap/86057
6c086e8c 423 * libgcov-driver-system.c (replace_filename_variables): Use
92a285c1 424 memcpy instead of mempcpy.
6c086e8c 425 (allocate_filename_struct): Do not allocate filename, allocate
92a285c1 426 prefix and set it.
6c086e8c 427 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
92a285c1 428 here and properly copy content into it.
6c086e8c 429 * libgcov-driver.c (struct gcov_filename): Remove max_length
92a285c1 430 field, change prefix from size_t into char *.
6c086e8c
ML
431 (compute_summary): Do not calculate longest filename.
432 (gcov_do_dump): Release memory of gf.filename after each file.
433 * libgcov-util.c (compute_summary): Use new signature of
92a285c1 434 compute_summary.
6c086e8c
ML
435 (calculate_overlap): Likewise.
436
97a53d1d
ML
4372018-06-05 Martin Liska <mliska@suse.cz>
438
439 PR gcov-profile/47618
440 * libgcov-driver-system.c (replace_filename_variables): New
92a285c1 441 function.
97a53d1d
ML
442 (gcov_exit_open_gcda_file): Use it.
443
7f3577f5
ML
4442018-06-05 Martin Liska <mliska@suse.cz>
445
446 * libgcov-driver.c (gcov_compute_histogram): Remove usage
447 of gcov_ctr_summary.
448 (compute_summary): Do it just for a single summary.
449 (merge_one_data): Likewise.
450 (merge_summary): Simplify as we read just single summary.
451 (dump_one_gcov): Pass proper argument.
452 * libgcov-util.c (compute_one_gcov): Simplify as we have just
453 single summary.
454 (gcov_info_count_all_cold): Likewise.
455 (calculate_overlap): Likewise.
456
cf3cd43d
CJW
4572018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
458 Monk Chiang <sh.chiang04@gmail.com>
459
460 * config.host (nds32*-linux*): New.
461 * config/nds32/linux-atomic.c: New file.
462 * config/nds32/linux-unwind.h: New file.
463
8b8003ed
UB
4642018-05-31 Uros Bizjak <ubizjak@gmail.com>
465
466 PR target/85591
467 * config/i386/cpuinfo.c (get_amd_cpu): Return
468 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
469
bbdf026f
RV
4702018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
471
92a285c1 472 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
bbdf026f 473
0e8f29da
ML
4742018-05-29 Martin Liska <mliska@suse.cz>
475
92a285c1 476 PR gcov-profile/85759
0e8f29da 477 * libgcov-driver-system.c (gcov_error): Introduce usage of
92a285c1 478 GCOV_EXIT_AT_ERROR env. variable.
0e8f29da 479 * libgcov-driver.c (merge_one_data): Print error that we
92a285c1 480 overwrite a gcov file with a different timestamp.
0e8f29da 481
54fd1590
K
4822018-05-23 Kalamatee <kalamatee@gmail.com>
483
484 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
485 path to Lf$finfty.
486
09baee1a
KC
4872018-05-18 Kito Cheng <kito.cheng@gmail.com>
488 Monk Chiang <sh.chiang04@gmail.com>
489 Jim Wilson <jimw@sifive.com>
490
491 * config/riscv/save-restore.S: Add support for rv32e.
492
c3f808d3
KT
4932018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
494
495 * config/arm/libunwind.S: Update comment relating to armv5.
496
fcf4f831
JL
4972018-05-17 Jerome Lambourg <lambourg@adacore.com>
498
499 * config/arm/cmse.c (cmse_check_address_range): Replace
500 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
501
74b2bb19
OM
5022018-05-17 Olga Makhotina <olga.makhotina@intel.com>
503
504 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
505 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
506
50e461df
OM
5072018-05-08 Olga Makhotina <olga.makhotina@intel.com>
508
509 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
510 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
511
e5f1cdb1
AC
5122018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
513
514 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
515
8f479d7a
AT
5162018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
517 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
518
519 PR libgcc/84292
520 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
521 op_and_fetch to return the right result.
522
ae043291
AM
5232018-04-27 Alan Modra <amodra@gmail.com>
524
525 PR libgcc/85532
526 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
527 -fno-asynchronous-unwind-tables.
528
ba169b74
CJW
5292018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
530
531 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
532 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
533
ffc2fc06
L
5342018-04-24 H.J. Lu <hongjiu.lu@intel.com>
535
536 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
537 when including "config/i386/shadow-stack-unwind.h".
538
7b47ecf2
L
5392018-04-24 H.J. Lu <hongjiu.lu@intel.com>
540
541 * configure: Regenerated.
542
661eb8f9
MM
5432018-04-20 Michael Meissner <meissner@linux.ibm.com>
544
545 PR target/85456
546 * config/rs6000/_powikf2.c: New file. Add support for the
547 __builtin_powil function when long double is IEEE 128-bit floating
548 point.
549 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
550 __powikf2 support.
551 (__powikf2): Likewise.
552 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
553 (__powikf2_hw): Likewise.
554 (__powikf2): Likewise.
555 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
556 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
557 (_powikf2-hw.c): Likewise.
558
5707be3c
L
5592018-04-19 H.J. Lu <hongjiu.lu@intel.com>
560
561 PR libgcc/85334
562 * unwind-generic.h (_Unwind_Frames_Increment): New.
563 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
564 Likewise.
565 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
566 count with _Unwind_Frames_Increment.
567 (_Unwind_ForcedUnwind_Phase2): Likewise.
568
5f9ca0b8
L
5692018-04-19 H.J. Lu <hongjiu.lu@intel.com>
570
571 PR libgcc/85379
572 * config/i386/morestack.S (__stack_split_initialize): Add
573 _CET_ENDBR.
574
a0e1df88
JJ
5752018-04-19 Jakub Jelinek <jakub@redhat.com>
576
577 * configure: Regenerated.
578
001ddaa8
DM
5792018-04-18 David Malcolm <dmalcolm@redhat.com>
580
581 PR jit/85384
582 * configure: Regenerate.
583
a57f99ba
JJ
5842018-04-16 Jakub Jelinek <jakub@redhat.com>
585
586 PR target/84945
587 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
588 -Wdangling-else warnings. Mask shift counts to avoid
589 -Wshift-count-negative and -Wshift-count-overflow false positives.
590
4d47fe5a
RB
5912018-04-06 Ruslan Bukin <br@bsdpad.com>
592
593 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
594
059cc8ac
L
5952018-03-29 H.J. Lu <hongjiu.lu@intel.com>
596
597 PR target/85100
598 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
599 (XSTATE_FP): Likewise.
600 (XSTATE_SSE): Likewise.
601 (XSTATE_YMM): Likewise.
602 (XSTATE_OPMASK): Likewise.
603 (XSTATE_ZMM): Likewise.
604 (XSTATE_HI_ZMM): Likewise.
605 (XCR_AVX_ENABLED_MASK): Likewise.
606 (XCR_AVX512F_ENABLED_MASK): Likewise.
607 (get_available_features): Enable AVX and AVX512 features only
608 if their states are supported by OSXSAVE.
609
f2620385
IT
6102018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
611
612 PR target/85025
613 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
614 Fix a typo, tmp => 255.
615
ae6dca8c
JJ
6162018-03-20 Jakub Jelinek <jakub@redhat.com>
617
618 PR target/84945
619 * config/i386/cpuinfo.h (__cpu_features2): Declare.
620 * config/i386/cpuinfo.c (__cpu_features2): New variable for
621 ifndef SHARED only.
622 (set_feature): Define.
623 (get_available_features): Use set_feature macro. Set __cpu_features2
624 to the second word of features ifndef SHARED.
625
c36b04c1
JK
6262018-03-15 Julia Koval <julia.koval@intel.com>
627
628 * config/i386/cpuinfo.c (get_available_features): Add
629 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
630 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
631 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
632 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
633 FEATURE_AVX512BITALG.
634
79ab5364
JK
6352018-03-14 Julia Koval <julia.koval@intel.com>
636
637 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
638 icelake client and icelake server.
639
66a00b11
JDA
6402018-03-06 John David Anglin <danglin@gcc.gnu.org>
641
642 * config/pa/fptr.c (_dl_read_access_allowed): New.
643 (__canonicalize_funcptr_for_compare): Use it.
af8096fc 644
ce579a4f
JJ
6452018-02-28 Jakub Jelinek <jakub@redhat.com>
646
647 PR debug/83917
648 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
649 $asm_hidden_op if visibility ("hidden") attribute works.
650 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
651 * config/i386/i386-asm.h: Don't include auto-host.h.
652 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
653 PACKAGE_URL): Don't undefine.
654 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
655 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
656 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
657 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
658 definition instead of hardcoded .hidden.
659 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
660 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
661 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
662 (USE_GAS_CFI_DIRECTIVES): Don't define.
663 * configure: Regenerated.
664 * config.in: Likewise.
665
e5868319
JJ
6662018-02-26 Jakub Jelinek <jakub@redhat.com>
667
668 PR debug/83917
669 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
670 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
671 inclusion of auto-target.h and auto-host.h.
672 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
673 __GCC_HAVE_DWARF2_CFI_ASM.
674 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
675 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
676 cfi_pop): Define.
677 * config/i386/cygwin.S: Don't include auto-host.h here, just
678 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
679 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
680 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
681 * config/i386/resms64fx.h: Add cfi_* directives.
682 * config/i386/resms64x.h: Likewise.
683
faef260e
MF
6842018-02-20 Max Filippov <jcmvbkbc@gmail.com>
685
686 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
687 .literal_position directive.
688 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
689
14e335ed
IT
6902018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
691
692 PR target/84148
693 * configure: Regenerate.
694
95df0433
IT
6952018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
696
697 PR target/84239
698 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
699 Include cetintrin.h not x86intrin.h.
700
f8de876d
IT
7012018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
702
703 PR target/84239
95df0433 704 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
f8de876d
IT
705 Use new _get_ssp and _inc_ssp intrinsics.
706
02da1e9c
JK
7072018-02-02 Julia Koval <julia.koval@intel.com>
708
709 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
710
048c6a9a
CZ
7112018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
712
713 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
714 option.
715 (__divsi3): Use RF16 safe registers.
716 (__modsi3): Likewise.
717
0889f168
MF
7182018-01-23 Max Filippov <jcmvbkbc@gmail.com>
719
720 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
721 (__divsf3): Make NaN return value quiet.
722 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
723 (__divdf3): Make NaN return value quiet.
724
bc8b0d04
SP
7252018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
726
727 * config/rl78/anddi3.S: New assembly file.
728 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
729
99cc06ea
SP
7302018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
731
732 * config/rl78/umindi3.S: New assembly file.
733 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
734
6e9007a0
SP
7352018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
736
737 * config/rl78/smindi3.S: New assembly file.
738 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
739
d975e494 7402018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 741
d975e494
SP
742 * config/rl78/smaxdi3.S: New assembly file.
743 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
744
6a18c146 7452018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 746
5dd16013
SP
747 * config/rl78/umaxdi3.S: New assembly file.
748 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
af8096fc 749
07baf4a5
JDA
7502018-01-21 John David Anglin <danglin@gcc.gnu.org>
751
752 PR lto/83452
753 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
754 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
af8096fc 755
dbc3af4f
RS
7562018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
757
758 * config/aarch64/value-unwind.h (aarch64_vg): New function.
759 (DWARF_LAZY_REGISTER_VALUE): Define.
760 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
761 to provide a fallback register value.
762
68df9882
MM
7632018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
764
765 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
766 __ibm128, instead of trying to use long double.
767 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
768 accomidate -mabi=ieeelongdouble multilibs.
769 (CVT_IBM128_TO_FLOAT128): Likewise.
770 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
771 the appropriate IBM extended double type.
772 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
773 (__gcc_qsub): Likewise.
774 (__gcc_qmul): Likewise.
775 (__gcc_qdiv): Likewise.
776 (pack_ldouble): Likewise.
777 (__gcc_qneg): Likewise.
778 (__gcc_qeq): Likewise.
779 (__gcc_qne): Likewise.
780 (__gcc_qge): Likewise.
781 (__gcc_qle): Likewise.
782 (__gcc_stoq): Likewise.
783 (__gcc_dtoq): Likewise.
784 (__gcc_itoq): Likewise.
785 (__gcc_utoq): Likewise.
786 (__gcc_qunord): Likewise.
787 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
788 quad-float128.h for the definitions.
789 (COPYSIGN): Use the f128 version instead of the q version.
790 (INFINITY): Likewise.
791 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
792 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
793 quad-float128.h for the definitions.
794 (COPYSIGN): Use the f128 version instead of the q version.
795 (INFINITY): Likewise.
796 (FABS): Likewise.
797 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
798 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
799 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
800
64b371b1
SH
8012018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
802
803 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
804 configuration.
805
85ec4feb
JJ
8062018-01-03 Jakub Jelinek <jakub@redhat.com>
807
808 Update copyright years.
809
8102017-12-12 Kito Cheng <kito.cheng@gmail.com>
b8d7e076
KC
811
812 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
813 * config/riscv/multi3.c: New file.
814 * config/riscv/multi3.S: Remove.
815
3a4c600f
JW
8162017-12-08 Jim Wilson <jimw@sifive.com>
817
818 * config/riscv/div.S: Use FUNC_* macros.
819 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
820 * config/riscv/save-restore.S: Likewise.
821 * config/riscv/riscv-asm.h: New.
822
75ad35b5
MM
8232017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
824
6ae3512c
MM
825 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
826 * config/rs6000/_divkc3.c (__divkc3): Likewise.
827
75ad35b5
MM
828 PR libgcc/83112
829 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
830 correct type for all ifunc resolvers to silence -Wattribute-alias
831 warnings. Eliminate the forward declaration of the resolver
832 functions which is no longer needed.
833 (__subkf3_resolve): Likewise.
834 (__mulkf3_resolve): Likewise.
835 (__divkf3_resolve): Likewise.
836 (__negkf2_resolve): Likewise.
837 (__eqkf2_resolve): Likewise.
838 (__nekf2_resolve): Likewise.
839 (__gekf2_resolve): Likewise.
840 (__gtkf2_resolve): Likewise.
841 (__lekf2_resolve): Likewise.
842 (__ltkf2_resolve): Likewise.
843 (__unordkf2_resolve): Likewise.
844 (__extendsfkf2_resolve): Likewise.
845 (__extenddfkf2_resolve): Likewise.
846 (__trunckfsf2_resolve): Likewise.
847 (__trunckfdf2_resolve): Likewise.
848 (__fixkfsi_resolve): Likewise.
849 (__fixkfdi_resolve): Likewise.
850 (__fixunskfsi_resolve): Likewise.
851 (__fixunskfdi_resolve): Likewise.
852 (__floatsikf_resolve): Likewise.
853 (__floatdikf_resolve): Likewise.
854 (__floatunsikf_resolve): Likewise.
855 (__floatundikf_resolve): Likewise.
856 (__extendkftf2_resolve): Likewise.
857 (__trunctfkf2_resolve): Likewise.
858
859 PR libgcc/83103
860 * config/rs6000/quad-float128.h (TF): Don't define if long double
861 is IEEE 128-bit floating point.
862 (TCtype): Define as either TCmode or KCmode, depending on whether
863 long double is IEEE 128-bit floating point.
864 (__mulkc3_sw): Add declarations for software/hardware versions of
865 complex multiply/divide.
866 (__divkc3_sw): Likewise.
867 (__mulkc3_hw): Likewise.
868 (__divkc3_hw): Likewise.
869 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
870 handlers to switch between using software emulation and hardware
871 float128 instructions, build the complex multiply/divide functions
872 for both software and hardware support.
873 * config/rs6000/_divkc3.c (_divkc3): Likewise.
874 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
875 (__divkc3_resolve): Likewise.
876 (__mulkc3): Likewise.
877 (__divkc3): Likewise.
878 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
879 (fp128_hw_src): Likewise.
880 (fp128_hw_static_obj): Likewise.
881 (fp128_hw_shared_obj): Likewise.
882 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
883 _mulkc3.c and _divkc3.c, changing the function name.
884 (_divkc3-hw.c): Likewise.
885 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
886 and _divkc3-hw.c.
887
c234d831
UB
8882017-11-26 Julia Koval <julia.koval@intel.com>
889
890 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
891 * config/i386/cpuinfo.h (processor_subtypes): Add
892 INTEL_COREI7_CANNONLAKE.
893
1ebafce0
IT
8942017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
895
896 PR bootstrap/83015
897 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
898 parameter.
899 * config/xtensa/unwind-dw2-xtensa.c: Likewise
900 * config/ia64/unwind-ia64.c: Add frames parameter.
901 * unwind-sjlj.c: Likewise.
902
6a10fff4
IT
9032017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
904
905 * config/i386/linux-unwind.h: Include
906 config/i386/shadow-stack-unwind.h.
907 * config/i386/shadow-stack-unwind.h: New file.
908 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
909 pass it to _Unwind_Frames_Extra.
910 * unwind-generic.h (_Unwind_Frames_Extra): New.
911 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
912 parameter. Add local variable frames to count number of frames.
913 (_Unwind_ForcedUnwind_Phase2): Likewise.
914 (_Unwind_RaiseException): Add local variable frames to count
915 number of frames, pass it to _Unwind_RaiseException_Phase2 and
916 uw_install_context.
917 (_Unwind_ForcedUnwind): Likewise.
918 (_Unwind_Resume): Likewise.
919 (_Unwind_Resume_or_Rethrow): Likewise.
920
1ecae1fc
IT
9212017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
922
923 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
924 (CET_FLAGS): New.
925 * config/i386/morestack.S: Include <cet.h>.
926 (__morestack_large_model): Add _CET_ENDBR at function entrance.
927 * config/i386/resms64.h: Include <cet.h>.
928 * config/i386/resms64f.h: Likewise.
929 * config/i386/resms64fx.h: Likewise.
930 * config/i386/resms64x.h: Likewise.
931 * config/i386/savms64.h: Likewise.
932 * config/i386/savms64f.h: Likewise.
933 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
934 (CRTSTUFF_T_CFLAGS): Likewise.
935 * configure.ac: Include ../config/cet.m4.
936 Set and substitute CET_FLAGS.
937 * configure: Regenerated.
938
f021f1d3
RO
9392017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
940
941 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
942 renaming.
943 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
944 * configure.ac (libgcc_cv_solaris_crts): Likewise.
945 * configure: Regenerate.
946
65f480c7
TV
9472017-11-07 Tom de Vries <tom@codesourcery.com>
948
949 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
950 after "do {} while (0)".
951
2a321acb
TV
9522017-11-07 Tom de Vries <tom@codesourcery.com>
953
954 PR other/82784
955 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
956 semicolon after "do {} while (0)".
957 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
958 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
959 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
960 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
961
59fcf6c3
AT
9622017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
963
964 PR libgcc/82635
965 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
966 sysctl to determine whether we're in a trampoline.
967 Keep the pattern matching method for systems without
968 KERN_PROC_SIGTRAMP sysctl.
969
b0c7ddf8
CM
9702017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
971 Vineet Gupta <vgupta@synopsys.com>
972
973 * config.host (arc*-*-linux*): Set md_unwind_header variable.
974 * config/arc/linux-unwind-reg.def: New file.
975 * config/arc/linux-unwind-reg.h: Likewise.
976
5feee954
SP
9772017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
978
979 * config/rl78/subdi3.S: New assembly file.
980 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
981
a0bf6cf7
SP
9822017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
983
984 * config/rl78/adddi3.S: New assembly file.
985 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
986
e7176f75
JJ
9872017-10-13 Jakub Jelinek <jakub@redhat.com>
988
989 PR target/82274
990 * libgcc2.c (__mulvDI3): If both operands have
991 the same highpart of -1 and the topmost bit of lowpart is 0,
992 multiplication overflows even if both lowparts are 0.
993
db6601d2
JB
9942017-09-28 James Bowman <james.bowman@ftdichip.com>
995
996 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
997
938b6f1e
JM
9982017-09-26 Joseph Myers <joseph@codesourcery.com>
999
1000 * config/microblaze/crti.S, config/microblaze/crtn.S,
1001 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
1002 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
1003 config/microblaze/mulsi3.S,
1004 config/microblaze/stack_overflow_exit.S,
1005 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
1006 config/pa/milli64.S: Add .note.GNU-stack section.
1007
89762a83
DS
10082017-09-23 Daniel Santos <daniel.santos@pobox.com>
1009
1010 * configure.ac: Add Check for HAVE_AS_AVX.
1011 * config.in: Regenerate.
1012 * configure: Likewise.
1013 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
1014 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
1015 Correct out-of-date comments.
1016
cace2309
SP
10172017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
1018
1019 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
1020 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
1021
3cb626e4
DS
10222017-09-17 Daniel Santos <daniel.santos@pobox.com>
1023
cace2309 1024 * config/i386/i386-asm.h (PASTE2): New macro.
3cb626e4
DS
1025 (ASMNAME): Modify to use PASTE2.
1026 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
1027 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
cace2309 1028 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
3cb626e4 1029 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
cace2309
SP
1030 * config/i386/resms64f.S: Likewise.
1031 * config/i386/resms64fx.S: Likewise.
1032 * config/i386/resms64x.S: Likewise.
1033 * config/i386/savms64.S: Likewise.
1034 * config/i386/savms64f.S: Likewise.
1035 * config/i386/avx_resms64.S: New file that only defines a macro and
3cb626e4 1036 includes it's corresponding header file.
cace2309
SP
1037 * config/i386/avx_resms64f.S: Likewise.
1038 * config/i386/avx_resms64fx.S: Likewise.
1039 * config/i386/avx_resms64x.S: Likewise.
1040 * config/i386/avx_savms64.S: Likewise.
1041 * config/i386/avx_savms64f.S: Likewise.
1042 * config/i386/sse_resms64.S: Likewise.
1043 * config/i386/sse_resms64f.S: Likewise.
1044 * config/i386/sse_resms64fx.S: Likewise.
1045 * config/i386/sse_resms64x.S: Likewise.
1046 * config/i386/sse_savms64.S: Likewise.
1047 * config/i386/sse_savms64f.S: Likewise.
1048 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3cb626e4 1049
2f19c491 10502017-09-01 Olivier Hainque <hainque@adacore.com>
2f19c491
OH
1051 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
1052
611e7036
OH
10532017-08-31 Olivier Hainque <hainque@adacore.com>
1054
1055 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
1056 match as powerpc-wrs-vxworks*.
1057
c8f34527
JY
10582017-08-07 Jonathan Yong <10walls@gmail.com>
1059
1060 * config.host (*-cygwin): Include file from mingw
1061 config/i386/enable-execute-stack-mingw32.c
1062
0b458d2b 10632017-08-01 Jerome Lambourg <lambourg@adacore.com>
92a285c1
ML
1064 Doug Rupp <rupp@adacore.com>
1065 Olivier Hainque <hainque@adacore.com>
0b458d2b
JL
1066
1067 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
1068 as well as arm-wrs-vxworks.
1069 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
1070 LIB2ADDEH.
1071 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
1072 __exidx_start and __exidx_end for downloadable modules.
1073
4df612fa
OH
10742017-08-01 Olivier Hainque <hainque@adacore.com>
1075
1076 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
1077 * config/t-vxworks7: Likewise.
1078
5560e8c0
OH
10792017-08-01 Olivier Hainque <hainque@adacore.com>
1080
1081 * config/t-vxworks: Instead of redefining LIB2ADD,
1082 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
1083
16bab95a
SH
10842017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1085
1086 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
1087
9cbc07cc
DS
10882017-07-24 Daniel Santos <daniel.santos@pobox.com>
1089
1090 PR testsuite/80759
1091 * config.host: include i386/t-msabi for darwin and solaris.
1092 * config/i386/i386-asm.h
1093 (ELFFN): Rename to FN_TYPE.
1094 (FN_SIZE): New macro.
1095 (FN_HIDDEN): Likewise.
1096 (ASMNAME): Likewise.
1097 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
1098 .globl.
1099 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
1100 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
1101 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
1102 .macro.
1103 * config/i386/resms64f.S: Likewise.
1104 * config/i386/resms64fx.S: Likewise.
1105 * config/i386/resms64x.S: Likewise.
1106 * config/i386/savms64.S: Likewise.
1107 * config/i386/savms64f.S: Likewise.
1108
de742204
JM
11092017-07-19 John Marino <gnugcc@marino.st>
1110
1111 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
1112
3787ee47
MM
11132017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
1114
1115 PR target/81193
1116 * configure.ac (PowerPC float128 hardware support): Test whether
1117 we can use __builtin_cpu_supports before enabling the ifunc
1118 handler.
1119 * configure: Regenerate.
1120
b1938888
VG
11212017-07-10 Vineet Gupta <vgupta@synopsys.com>
1122
1123 * config.host: Remove uclibc from arc target spec.
1124
bec75e53
KW
11252017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
1126
1127 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
1128
d4391a62
PB
11292017-07-07 Peter Bergner <bergner@vnet.ibm.com>
1130
1131 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
1132 (have_ieee_hw_p): Delete function.
1133 (SW_OR_HW) Use __builtin_cpu_supports().
1134
9296dd9b
TP
11352017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
1136
1137 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
1138
b85a969e
OH
11392017-07-03 Olivier Hainque <hainque@adacore.com>
1140
d4391a62 1141 * config/t-vxworks7: New file, really.
b85a969e 1142
883312dc
JM
11432017-06-28 Joseph Myers <joseph@codesourcery.com>
1144
1145 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
1146 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
1147 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
1148 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
1149 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
1150 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
1151 config/pa/linux-unwind.h (pa32_fallback_frame_state),
1152 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
1153 config/sh/linux-unwind.h (sh_fallback_frame_state),
1154 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
1155 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
1156 ucontext_t instead of struct ucontext.
1157
50567938
JL
11582017-06-27 Jerome Lambourg <lambourg@adacore.com>
1159
1160 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
1161 (x86_64-wrs-vxworks7): Likewise.
1162
e4b0df93
OH
11632017-06-27 Olivier Hainque <hainque@adacore.com>
1164
1165 * config/t-vxworks7: New file.
1166 * config.host (*-*-vxworks7): Use it.
1167
60edf8bb
MT
11682017-06-22 Matt Turner <mattst88@gmail.com>
1169
1170 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
1171 skylake case.
1172
a51a76e5
RB
11732017-06-21 Richard Biener <rguenther@suse.de>
1174
1175 PR gcov-profile/81080
1176 * configure.ac: Add AC_SYS_LARGEFILE.
1177 * libgcov.h: Include auto-target.h before tsystem.h to pick
1178 up _FILE_OFFSET_BITS which might differ for multilibs.
1179 * config.in: Regenerate.
1180 * configure: Likewise.
1181
f0cd49c5
RE
11822017-06-16 Richard Earnshaw <rearnsha@arm.com>
1183
1184 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
1185
4f751c54
ML
11862017-06-09 Martin Liska <mliska@suse.cz>
1187
1188 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
1189 Reset __gcov_indirect_call_callee to NULL.
1190
1ac644c8
OH
11912017-06-08 Olivier Hainque <hainque@adacore.com>
1192
1193 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
1194 the set of -I options, support for direct inclusions of net/uio.h
1195 by VxWorks header files via ioLib.h.
1196
d8b9cd27
TR
11972017-06-07 Tony Reix <tony.reix@atos.net>
1198 Matthieu Sarter <matthieu.sarter.external@atos.net>
1199 David Edelsohn <dje.gcc@gmail.com>
1200
92a285c1
ML
1201 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
1202 unconditionally.
1203 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
1204 AIX 7.2 support.
d8b9cd27 1205
38a75ccc
OH
12062017-06-02 Olivier Hainque <hainque@adacore.com>
1207
1208 * config/vxlib.c (__gthread_once): Add missing value to
1209 return statement.
1210
5b2edf53
OH
12112017-05-30 Olivier Hainque <hainque@adacore.com>
1212
1213 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
1214 dollar sign before $(MULTIDIR).
1215
7d66e265
RH
12162017-05-26 Richard Henderson <rth@redhat.com>
1217
1218 PR libgcc/80037
1219 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
1220
78eca309
AT
12212017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
1222
1223 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
1224 _Unwind_SetIP available as functions for arm*-*-freebsd*.
1225 * config/arm/unwind-arm.c: Implement the above.
1226
c39d309a
AZ
12272017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1228
1229 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
1230 section for a non-executable stack.
1231
eac8c9f2
KW
12322017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
1233
1234 PR target/80600
1235 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
1236
d6d4d770
DS
12372017-05-14 Daniel Santos <daniel.santos@pobox.com>
1238
1239 * config.host: Add i386/t-msabi to i386/t-linux file list.
1240 * config/i386/i386-asm.h: New file.
1241 * config/i386/resms64.S: New file.
1242 * config/i386/resms64f.S: New file.
1243 * config/i386/resms64fx.S: New file.
1244 * config/i386/resms64x.S: New file.
1245 * config/i386/savms64.S: New file.
1246 * config/i386/savms64f.S: New file.
1247 * config/i386/t-msabi: New file.
1248
8ef2b9a7
AT
12492017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
1250
1251 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
1252 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
1253
7ab8766a
JC
12542017-05-05 Joshua Conner <joshconner@google.com>
1255
1256 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
1257 pc-relative indirect handling for fuchsia.
1258 * config/t-slibgcc-fuchsia: New file.
1259 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
d6d4d770 1260 x86_64-*-fuchsia*): Add definitions.
7ab8766a 1261
46928a8f
ML
12622017-04-19 Martin Liska <mliska@suse.cz>
1263
1264 PR gcov-profile/80435
1265 * Makefile.in: Install gcov.h.
1266 * gcov.h: New file.
1267 * libgcov.h: Use the header and make __gcov_flush publicly
1268 visible.
1269
63971184
ML
12702017-04-18 Martin Liska <mliska@suse.cz>
1271
1272 PR gcov-profile/78783
1273 * libgcov-driver.c (gcov_get_filename): New function.
1274
29d8aae6
JL
12752017-04-07 Jeff Law <law@redhat.com>
1276
1277 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
1278 target makefile fragment.
1279 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
1280
2bdf7fc6
AM
12812017-04-07 Alan Modra <amodra@gmail.com>
1282
1283 PR target/45053
1284 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
1285
5764ee3c
JW
12862017-04-03 Jonathan Wakely <jwakely@redhat.com>
1287
1288 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
1289
c4192ad7
CZ
12902017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
1291
1292 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
1293
4ccfdb28
JM
12942017-03-10 John Marino <gnugcc@marino.st>
1295
1296 * config/aarch64/freebsd-unwind.h: New file.
1297 * config.host: Add aarch64-*-freebsd unwinder.
1298
4144e4e3
SB
12992017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1300
1301 * config/rs6000/crtrestvr.s: Use .machine altivec.
1302 * config/rs6000/crtsavevr.s: Ditto.
1303
7502c597
SB
13042017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1305
1306 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
1307 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
1308 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
1309 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
1310 * configure: Regenerate.
1311 * config.in: Regenerate.
1312
db9f7f65
JY
13132017-03-02 Jonathan Yong <10walls@gmail.com>
1314
1315 * config/i386/gthr-win32.h: Define NOGDI before
1316 windows.h include to prevent w32api CC_NONE macro
1317 clash with libgfortran.
1318
126437c5
JY
13192017-03-02 Jonathan Yong <10walls@gmail.com>
1320
1321 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
1322
31927af6
AP
13232017-02-16 Andrew Pinski <apinski@cavium.com>
1324
1325 * config/aarch64/value-unwind.h: New file.
1326 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
1327 to tm_file.
1328
0bd99911
PD
13292017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
1330
1331 * config.host: Add RISC-V tuples.
1332 * config/riscv/atomic.c: New file.
1333 * config/riscv/crti.S: Likewise.
1334 * config/riscv/crtn.S: Likewise.
1335 * config/riscv/div.S: Likewise.
1336 * config/riscv/linux-unwind.h: Likewise.
1337 * config/riscv/muldi3.S: Likewise.
1338 * config/riscv/multi3.S: Likewise.
1339 * config/riscv/save-restore.S: Likewise.
1340 * config/riscv/sfp-machine.h: Likewise.
1341 * config/riscv/t-elf: Likewise.
1342 * config/riscv/t-elf32: Likewise.
1343 * config/riscv/t-elf64: Likewise.
1344 * config/riscv/t-softfp32: Likewise.
1345 * config/riscv/t-softfp64: Likewise.
1346
a8c9ef2a
JJ
13472017-01-24 Jakub Jelinek <jakub@redhat.com>
1348
1349 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
1350 /* FALLTHRU */ comments.
1351
c6c82710
GP
13522017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
1353
1354 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
1355
a876231c
JW
13562017-01-20 Jiong Wang <jiong.wang@arm.com>
1357
1358 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
1359 * unwind-dw2.c (execute_cfa_program): Only multiplexing
1360 DW_CFA_GNU_window_save for AArch64 and LP64.
1361
aa348be2
JW
13622017-01-20 Jiong Wang <jiong.wang@arm.com>
1363
1364 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
1365
5636faf2
JW
13662017-01-19 Jiong Wang <jiong.wang@arm.com>
1367
1368 * config/aarch64/aarch64-unwind.h: New file.
1369 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
1370 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
1371 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
1372 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
1373 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
1374 (aarch64_post_extract_frame_addr): New function.
1375 (aarch64_post_frob_eh_handler_addr): New function.
1376 (aarch64_frob_update_context): New function.
1377 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
1378 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
1379 aarch64*-*-freebsd*):
1380 Initialize md_unwind_header to include aarch64-unwind.h.
1381 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
1382 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
1383 __aarch64__.
1384 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
1385 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
1386 (uw_frob_return_addr): New function.
1387 (uw_install_context): Use uw_frob_return_addr.
1388
3c36aa6b
JJ
13892017-01-17 Jakub Jelinek <jakub@redhat.com>
1390
1391 PR other/79046
1392 * configure.ac: Add GCC_BASE_VER.
1393 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
1394 version from BASE-VER file.
1395 * configure: Regenerated.
1396
829afb8f
JS
13972017-01-13 Joe Seymour <joe.s@somniumtech.com>
1398
1399 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
1400 libmul_f5.a): Filter archived prerequisites.
1401
79fc8ffe
AS
14022017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
1403
1404 * config/i386/cpuinfo.h (processor_features): Add
1405 FEATURE_AVX512VPOPCNTDQ.
1406 * config/i386/cpuinfo.c (get_available_features): Habdle new
1407 feature.
1408
fec5f4e0
JM
14092017-01-04 Joseph Myers <joseph@codesourcery.com>
1410
1411 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
1412 payload if [__mips_nan2008].
1413
8f56cb51
AM
14142017-01-04 Alan Modra <amodra@gmail.com>
1415
1416 * Makefile.in (configure_deps): Update.
1417 * configure: Regenerate.
1418
cbe34bb5
JJ
14192017-01-01 Jakub Jelinek <jakub@redhat.com>
1420
1421 Update copyright years.
1422
ab955692
KW
14232016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
1424
1425 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
1426 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
1427 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
1428
de34320f
MK
14292016-12-17 Matthias Klose <doko@ubuntu.com>
1430
1431 * config/arc/gmon: Remove empty directory.
1432
e04ea1da
CZ
14332016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
1434
1435 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
1436 crtgend.
1437 (arc*-*-elf*): Likewise.
1438 * config/arc/t-arc: Remove old gmon lib targets.
1439 * config/arc/crtg.S: Remove.
1440 * config/arc/crtgend.S: Likewise.
1441 * config/arc/gmon/atomic.h: Likewise.
1442 * config/arc/gmon/auxreg.h: Likewise.
1443 * config/arc/gmon/dcache_linesz.S: Likewise.
1444 * config/arc/gmon/gmon.c: Likewise.
1445 * config/arc/gmon/machine-gmon.h: Likewise.
1446 * config/arc/gmon/mcount.c: Likewise.
1447 * config/arc/gmon/prof-freq-stub.S: Likewise.
1448 * config/arc/gmon/prof-freq.c: Likewise.
1449 * config/arc/gmon/profil.S: Likewise.
1450 * config/arc/gmon/sys/gmon.h: Likewise.
1451 * config/arc/gmon/sys/gmon_out.h: Likewise.
1452 * config/arc/t-arc-newlib: Likewise.
1453 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
1454
8ae1c2c1
GS
14552016-12-12 George Spelvin <linux@sciencehorizons.net>
1456
1457 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
1458
a5b947fa
GS
14592016-12-12 George Spelvin <linux@sciencehorizons.net>
1460
1461 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
1462 R16 instead of push + pop.
1463 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
1464
d6574dd1
KW
14652016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
1466
1467 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
1468 tmake_file.
1469
62440b4f
CM
14702016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
1471
1472 * config.host (arc*-*-linux-uclibc*): Use default extra
1473 objects. Include linux-android header.
1474 * config/arc/crti.S (_init): Declare symbol as function.
1475 (_fini): Likewise.
1476
31cfd832
TK
14772016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
1478
1479 PR fortran/78379
1480 * config/i386/cpuinfo.c: Move denums for processor vendors,
1481 processor type, processor subtypes and declaration of
1482 struct __processor_model into
1483 * config/i386/cpuinfo.h: New header file.
1484
c92e08e3
AV
14852016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1486 Thomas Preud'homme <thomas.preudhomme@arm.com>
1487
1488 * config/arm/cmse_nonsecure_call.S: New.
1489 * config/arm/t-arm: Compile cmse_nonsecure_call.S
1490
de7b5723
AV
14912016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1492 Thomas Preud'homme <thomas.preudhomme@arm.com>
1493
1494 * config/arm/t-arm (HAVE_CMSE): New.
1495 * config/arm/cmse.c: New.
1496
7a0d2bce
TP
14972016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
1498
b3a5bff4
TP
1499 PR gcc/74748
1500 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
1501 use generic linker version information on Blackfin.
1502
7a0d2bce
TP
1503 PR gcc/74748
1504 * libgcc/mkmap-symver.awk: add support for skip_underscore
1505
b410cf1d
IS
15062016-11-27 Iain Sandoe <iain@codesourcery.com>
1507 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1508
1509 PR target/67710
1510 * config/t-darwin: Default builds to 10.5 codegen.
1511
2e5f8203
JG
15122016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
1513
1514 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
1515 (_FP_NANSIGN_H): Likewise.
1516 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
1517 (softfp_truncations): Add tfhf.
1518 (softfp_extras): Add required conversion functions.
1519
bea64ca3
JG
15202016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1521 Matthew Wahab <matthew.wahab@arm.com>
1522
1523 * config/arm/fp16.c (binary64): New.
1524 (__gnu_d2h_internal): New.
1525 (__gnu_d2h_ieee): New.
1526 (__gnu_d2h_alternative): New.
1527
8630cadb
JG
15282016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1529 Matthew Wahab <matthew.wahab@arm.com>
1530
1531 * config/arm/fp16.c (struct format): New.
1532 (binary32): New.
1533 (__gnu_float2h_internal): New. Body moved from
1534 __gnu_f2h_internal and generalize.
1535 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
1536 Call it with binary32.
1537
5823ef23
JG
15382016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1539
1540 * soft-fp/extendhftf2.c: Update from glibc.
1541 * soft-fp/fixhfti.c: Likewise.
1542 * soft-fp/fixunshfti.c: Likewise.
1543 * soft-fp/floattihf.c: Likewise.
1544 * soft-fp/floatuntihf.c: Likewise.
1545 * soft-fp/half.h: Likewise.
1546 * soft-fp/trunctfhf2.c: Likewise.
1547
62a7df9f
MG
15482016-11-20 Marc Glisse <marc.glisse@inria.fr>
1549
1550 PR libgcc/77813
1551 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
1552 __TMC_END__ behind a passthrough asm.
1553
7a384912
WL
15542016-11-18 Walter Lee <walt@tilera.com>
1555
62a7df9f 1556 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
7a384912 1557
9775c1a5
L
15582016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
1559
1560 * config/i386/cpuinfo.c (processor_features): Add
1561 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
1562
48c842ab
CZ
15632016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
1564
1565 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
1566 (__ARC_NORM__): Use instead ARC_OPTFPE.
1567 * config/arc/fp-hack.h: Likewise.
1568 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
1569 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
1570
5012919d
AM
15712016-11-16 Alexander Monakov <amonakov@ispras.ru>
1572
1573 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
1574 * config/nvptx/mgomp.c: New file.
1575 * config/nvptx/t-nvptx: Add mgomp.c
1576
00178b98
WB
15772016-11-16 Waldemar Brodkorb <wbx@openadk.org>
1578
1579 PR libgcc/68468
1580 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
1581
d64af69f
CZ
15822016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
1583
1584 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
1585 of checking for cpus.
1586 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
1587 (__modsi3, __clzsi2): Likewise.
1588
9d8f95de
SN
15892016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
1590
1591 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
1592 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
1593 * config/i386/t-cpuinfo-static: New.
1594
7d29f8e3
ML
15952016-11-03 Martin Liska <mliska@suse.cz>
1596
1597 * libgcov-profiler.c (__gcov_time_profiler): Remove.
1598 (__gcov_time_profiler_atomic): Likewise.
1599
5de3e2d8
BE
16002016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
1601
1602 PR libgcc/78067
1603 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
1604 count_leading_zeros.
1605
18362447
UB
16062016-11-02 Uros Bizjak <ubizjak@gmail.com>
1607
1608 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
1609 * libgcc2.c (__divmoddi4): New function.
1610 * libgcc2.h (__divmoddi4): Declare.
1611 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
1612 and __PFX_divmodti4.
1613
33107571
FW
16142016-10-24 Florian Weimer <fweimer@redhat.com>
1615
1616 PR libgcc/78064
1617 * unwind-c.c: Include auto-target.h.
1618
4c6d7494
JDA
16192016-10-19 John David Anglin <danglin@gcc.gnu.org>
1620
18362447 1621 * config/pa/pa64-hpux-lib.h: New file.
4c6d7494
JDA
1622 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
1623 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
1624 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
1625 hppa*64*-*-hpux11*.
1626
2a26adf1
MF
16272016-10-18 Max Filippov <jcmvbkbc@gmail.com>
1628
1629 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1630 definition.
1631 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1632 definition.
1633 * config/xtensa/t-windowed (LIB2ADDEH): Use
1634 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
1635 or xtensa/t-linux.
1636
66192aa1
DKC
16372016-10-18 Ding-Kai Chen <dkchen@cadence.com>
1638
1639 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
1640 __ieee754_sqrt): New functions.
1641 (__divdf3): Add implementation with new FPU instructions under
1642 #if XCHAL_HAVE_DFP_DIV.
1643 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
1644 __ieee754_sqrtf): New functions.
1645 (__divsf3): Add implementation with new FPU instructions under
1646 #if XCHAL_HAVE_FP_DIV.
1647 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
1648 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
1649
4d0cdd0c
TP
16502016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
1651
1652 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
1653 equivalent.
1654 * config/tilepro/atomic.c: Likewise and stop casting model to
1655 enum memmodel.
1656
73f01cca
JM
16572016-10-10 Joseph Myers <joseph@codesourcery.com>
1658
1659 PR target/77586
1660 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
1661 soft-fp.
1662
b20e7532
AT
16632016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
1664
1665 * config.host: Add support for aarch64-*-freebsd*.
1666
a786cec4
AS
16672016-10-05 Andreas Schwab <schwab@suse.de>
1668
1669 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
1670 (.section .init_array): Don't call __do_jv_register_classes.
1671 (.section .init): Likewise.
1672
5a79befb
JJ
16732016-10-04 Jakub Jelinek <jakub@redhat.com>
1674
1675 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
1676 (__JCR_LIST__): Remove.
1677 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
1678 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
1679 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
1680 * config/ia64/crtend.S (__JCR_END__): Remove.
1681 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
1682 conditionals.
1683 (__JCR_LIST__, __JCR_END__): Remove.
1684 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
1685 (__do_global_ctors_1): Likewise.
1686
e0ab3753
UB
16872015-09-28 Uros Bizjak <ubizjak@gmail.com>
1688
1689 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
1690 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
1691
8c9434c2
ML
16922016-09-27 Martin Liska <mliska@suse.cz>
1693
1694 PR gcov-profile/7970
1695 PR gcov-profile/16855
1696 PR gcov-profile/44779
1697 * libgcov-driver.c (__gcov_init): Do not register a atexit
1698 handler.
1699 (__gcov_exit): Rename from gcov_exit.
1700 * libgcov.h (__gcov_exit): Declare.
1701
56b653f1
ML
17022016-09-27 Martin Liska <mliska@suse.cz>
1703
1704 PR bootstrap/77749
1705 * Makefile.in: Remove _gcov_merge_delta.
1706 * libgcov-merge.c (void __gcov_merge_delta): Remove.
1707 * libgcov-util.c (__gcov_delta_counter_op): Remove.
1708 * libgcov.h: Remove declaration of __gcov_merge_delta.
1709
7e02fd1b
EB
17102016-09-21 Eric Botcazou <ebotcazou@adacore.com>
1711
1712 * configure.ac: Do not create links, only substitute the filenames.
1713 * configure: Regenerate.
1714 * Makefile.in: Assign the substitution results to variables.
1715 (LIBGCC_LINKS): Define.
1716 (enable-execute-stack.c): New rule.
1717 (unwind.h): Likewise.
1718 (md-unwind-support.h): Likewise.
1719 (sfp-machine.h): Likewise.
1720 (gthr-default.h): Likewise.
1721 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
1722 unwind.h as prerequisite of install-unwind_h-forbuild.
1723
29991048
JJ
17242016-09-16 Jakub Jelinek <jakub@redhat.com>
1725
1726 PR libgcc/71744
1727 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
1728 is not the primary registry and atomics are available.
1729 (any_objects_registered): New variable.
1730 (__register_frame_info_bases, __register_frame_info_table_bases):
1731 Atomically store 1 to any_objects_registered after registering first
1732 unwind info.
1733 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
1734
0abcd6cc
JG
17352016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
1736
1737 PR target/63250
1738 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
1739 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
1740 (HFtype): Likewise.
1741 (HCtype): Likewise.
1742 (__divhc3): Likewise.
1743 (__mulhc3): Likewise.
1744 * libgcc2.c: Support _mulhc3 and _divhc3.
1745
d758aeb5
JM
17462016-09-07 Joseph Myers <joseph@codesourcery.com>
1747
1748 PR libgcc/77519
1749 * libgcc2.c (NOTRUNC): Invert settings.
1750
7fe76f6a
ML
17512016-09-06 Martin Liska <mliska@suse.cz>
1752
1753 PR gcov-profile/77378
1754 PR gcov-profile/77466
1755 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
1756 conditionaly enable/disable *_atomic functions.
1757
21184026
JM
17582016-08-26 Joseph Myers <joseph@codesourcery.com>
1759
1760 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
1761 where not already enabled.
1762
726f49c3
SN
17632016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
1764
1765 * config/mips/linux-unwind.h: Use sys/syscall.h.
1766
feeb6268
JM
17672016-08-16 Joseph Myers <joseph@codesourcery.com>
1768
1769 PR libgcc/77265
1770 * soft-fp/adddf3.c: Update from glibc.
1771 * soft-fp/addsf3.c: Likewise.
1772 * soft-fp/addtf3.c: Likewise.
1773 * soft-fp/divdf3.c: Likewise.
1774 * soft-fp/divsf3.c: Likewise.
1775 * soft-fp/divtf3.c: Likewise.
1776 * soft-fp/double.h: Likewise.
1777 * soft-fp/eqdf2.c: Likewise.
1778 * soft-fp/eqsf2.c: Likewise.
1779 * soft-fp/eqtf2.c: Likewise.
1780 * soft-fp/extenddftf2.c: Likewise.
1781 * soft-fp/extended.h: Likewise.
1782 * soft-fp/extendsfdf2.c: Likewise.
1783 * soft-fp/extendsftf2.c: Likewise.
1784 * soft-fp/extendxftf2.c: Likewise.
1785 * soft-fp/fixdfdi.c: Likewise.
1786 * soft-fp/fixdfsi.c: Likewise.
1787 * soft-fp/fixdfti.c: Likewise.
1788 * soft-fp/fixsfdi.c: Likewise.
1789 * soft-fp/fixsfsi.c: Likewise.
1790 * soft-fp/fixsfti.c: Likewise.
1791 * soft-fp/fixtfdi.c: Likewise.
1792 * soft-fp/fixtfsi.c: Likewise.
1793 * soft-fp/fixtfti.c: Likewise.
1794 * soft-fp/fixunsdfdi.c: Likewise.
1795 * soft-fp/fixunsdfsi.c: Likewise.
1796 * soft-fp/fixunsdfti.c: Likewise.
1797 * soft-fp/fixunssfdi.c: Likewise.
1798 * soft-fp/fixunssfsi.c: Likewise.
1799 * soft-fp/fixunssfti.c: Likewise.
1800 * soft-fp/fixunstfdi.c: Likewise.
1801 * soft-fp/fixunstfsi.c: Likewise.
1802 * soft-fp/fixunstfti.c: Likewise.
1803 * soft-fp/floatdidf.c: Likewise.
1804 * soft-fp/floatdisf.c: Likewise.
1805 * soft-fp/floatditf.c: Likewise.
1806 * soft-fp/floatsidf.c: Likewise.
1807 * soft-fp/floatsisf.c: Likewise.
1808 * soft-fp/floatsitf.c: Likewise.
1809 * soft-fp/floattidf.c: Likewise.
1810 * soft-fp/floattisf.c: Likewise.
1811 * soft-fp/floattitf.c: Likewise.
1812 * soft-fp/floatundidf.c: Likewise.
1813 * soft-fp/floatundisf.c: Likewise.
1814 * soft-fp/floatunditf.c: Likewise.
1815 * soft-fp/floatunsidf.c: Likewise.
1816 * soft-fp/floatunsisf.c: Likewise.
1817 * soft-fp/floatunsitf.c: Likewise.
1818 * soft-fp/floatuntidf.c: Likewise.
1819 * soft-fp/floatuntisf.c: Likewise.
1820 * soft-fp/floatuntitf.c: Likewise.
1821 * soft-fp/gedf2.c: Likewise.
1822 * soft-fp/gesf2.c: Likewise.
1823 * soft-fp/getf2.c: Likewise.
1824 * soft-fp/ledf2.c: Likewise.
1825 * soft-fp/lesf2.c: Likewise.
1826 * soft-fp/letf2.c: Likewise.
1827 * soft-fp/muldf3.c: Likewise.
1828 * soft-fp/mulsf3.c: Likewise.
1829 * soft-fp/multf3.c: Likewise.
1830 * soft-fp/negdf2.c: Likewise.
1831 * soft-fp/negsf2.c: Likewise.
1832 * soft-fp/negtf2.c: Likewise.
1833 * soft-fp/op-1.h: Likewise.
1834 * soft-fp/op-2.h: Likewise.
1835 * soft-fp/op-4.h: Likewise.
1836 * soft-fp/op-8.h: Likewise.
1837 * soft-fp/op-common.h: Likewise.
1838 * soft-fp/quad.h: Likewise.
1839 * soft-fp/single.h: Likewise.
1840 * soft-fp/soft-fp.h: Likewise.
1841 * soft-fp/subdf3.c: Likewise.
1842 * soft-fp/subsf3.c: Likewise.
1843 * soft-fp/subtf3.c: Likewise.
1844 * soft-fp/truncdfsf2.c: Likewise.
1845 * soft-fp/trunctfdf2.c: Likewise.
1846 * soft-fp/trunctfsf2.c: Likewise.
1847 * soft-fp/trunctfxf2.c: Likewise.
1848 * soft-fp/unorddf2.c: Likewise.
1849 * soft-fp/unordsf2.c: Likewise.
1850 * soft-fp/unordtf2.c: Likewise.
1851
2e6fc1ac
GG
18522016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
1853
1854 PR gcov-profile/67097
1855 * libgcov-util.c (gcov_profile_merge): Skip missing files.
1856
a266236e
ML
18572016-08-10 Martin Liska <mliska@suse.cz>
1858
1859 PR gcov-profile/58306
1860 * Makefile.in: New functions (modules) are added.
1861 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
1862 function.
1863 (__gcov_pow2_profiler_atomic): New function.
1864 (__gcov_one_value_profiler_body): New argument is instroduced.
1865 (__gcov_one_value_profiler): Call with the new argument.
1866 (__gcov_one_value_profiler_atomic): Likewise.
1867 (__gcov_indirect_call_profiler_v2): Likewise.
1868 (__gcov_time_profiler_atomic): New function.
1869 (__gcov_average_profiler_atomic): Likewise.
1870 (__gcov_ior_profiler_atomic): Likewise.
1871 * libgcov.h: Declare the aforementioned functions.
1872
e0c8eebf
ML
18732016-08-09 Martin Liska <mliska@suse.cz>
1874
1875 * libgcov-util.c: Fix typo and GNU coding style.
1876
6dce6418
ML
18772016-08-09 Martin Liska <mliska@suse.cz>
1878
1879 * Makefile.in: Remove __gcov_indirect_call_profiler.
1880 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
1881 function.
1882 * libgcov.h: And the declaration of the function.
1883
dcb1e137
ML
18842016-08-09 Martin Liska <mliska@suse.cz>
1885
1886 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
1887 power of two.
1888
d6e69705
BS
18892016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1890
1891 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
1892 * config/rs6000/_mulkc3.c: Likewise.
1893
96aa1f95
GJL
18942016-07-29 Georg-Johann Lay <avr@gjlay.de>
1895
1896 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
1897 zero_reg as previous call to __umulhisi3 already cleared it.
1898
a1b01d34
AJ
18992016-07-21 Aurelien Jarno <aurelien@aurel32.net>
1900
1901 PR target/59833
1902 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
1903
985a47b2
NC
19042016-07-19 Nick Clifton <nickc@redhat.com>
1905
1906 * config.host (m32r): Add m32r/t-m32r to tmake_file.
1907 Add crtinit.o and crtfini.o to extra_parts.
1908
f906f5ed
BS
19092016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1910
1911 * config/rs6000/_divkc3.c: New.
1912 * config/rs6000/_mulkc3.c: New.
1913 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
1914 and _divkc3.
1915 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
1916 fp128_ppc_funcs.
1917
82742404
HW
19182016-07-11 Hale Wang <hale.wang@arm.com>
1919 Andre Vieira <andre.simoesdiasvieira@arm.com>
1920
1921 * config/arm/lib1funcs.S: Add new wrapper.
1922
05a437c1
TP
19232016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
1924
1925 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
1926
3d16d9ec
TP
19272016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
1928
1929 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
1930 and ARMv5t* rather than for a fixed list of architectures.
1931
6f493951
TP
19322016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
1933
1934 * config/arm/bpabi-v6m.S: Clarify what architectures is the
1935 implementation suitable for.
1936 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
1937 for all Thumb-1 only targets.
1938 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
1939 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
1940 __ARM_ARCH_6M__.
1941 (EQUIV): Likewise.
1942 (ARM_FUNC_ALIAS): Likewise.
1943 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
1944 version.
1945 (modsi3): Likewise.
1946 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
1947 (clzdi2): Likewise.
1948 (ctzsi2): Likewise.
1949 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
1950 __ARM_ARCH_6M__ in guard for checking whether it is defined.
1951 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
1952 __ARM_ARCH_6M__ and add comment to indicate the connection between
1953 this condition and the one in gcc/config/arm/elf.h.
1954 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
1955 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
1956 * config/arm/t-softfp: Likewise.
1957
1770511a
TS
19582016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1959
1960 * libgcc2.c (SYMBOL__MAIN): Remove checks for
1961 CTOR_LISTS_DEFINED_EXTERNALLY.
1962
ba6be749
WL
19632016-06-28 Walter Lee <walt@tilera.com>
1964
1965 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
1966 asm/unistd.h.
1967 (SPR_CMPEXCH_VALUE): Define for tilegx.
1968 (__NR_FAST_cmpxchg): Define for tilepro.
1969 (__NR_FAST_atomic_update): Define for tilepro.
1970 (__NR_FAST_cmpxchg64): Define for tilepro.
1971
a34c0db5
JS
19722016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
1973
18362447 1974 * config.host: Add suport for arm*-*-phoenix* targets.
a34c0db5 1975
0609abda
TS
19762016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1977
1978 * config.host: Remove support for mep-*.
1979 * config/mep/lib1funcs.S: Remove.
1980 * config/mep/lib2funcs.c: Remove.
1981 * config/mep/t-mep: Remove.
1982 * config/mep/tramp.c: Remove.
1983
3e326935
TS
19842016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1985
1986 * config.host: Remove support for avr-rtems.
1987 * config/avr/t-rtems: Remove.
1988
914b155c
TS
19892016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1990
1991 * config.host: Remove m32r-rtems support.
1992
5ebf89bd
TS
19932016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1994
1995 * config.host: Remove h8300-rtems support.
1996
8466af06
TS
19972016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1998
1999 * config.host: Remove support for knetbsd.
2000
d980e738
TS
20012016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2002
2003 * config.host: Remove support for openbsd 2 and 3.
2004
ee2499b4
TS
20052016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2006
2007 * config.host: Remove interix support.
2008 * config/i386/t-interix: Remove.
2009
9f92937b
JDA
20102016-06-18 John David Anglin <danglin@gcc.gnu.org>
2011
2012 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
2013 least-significant bit in function pointer for fixup.
2014
0a0ec53d
AC
20152016-06-05 Aaron Conole <aconole@redhat.com>
2016 Nathan Sidwell <nathan@acm.org>
2017
2018 PR libgcc/71400
2019 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
2020 (get_gcov_error_file): Check __gcov_error_file before trying to
2021 initialize it.
2022 (gcov_error): Always use get_gcov_error_file.
2023
8aa5bdd6
AC
20242016-06-02 Aaron Conole <aconole@redhat.com>
2025
2026 * libgcov-driver-system.c (__gcov_error_file): New.
2027 (get_gcov_error_file): New.
2028 (gcov_error): Use and set __gcov_error_file.
2029 (gcov_error_exit): New.
2030 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
2031
40774faf
NS
20322016-05-26 Nathan Sidwell <nathan@acm.org>
2033
2034 * config/nvptx/free.asm: Delete.
2035 * config/nvptx/malloc.asm: Delete.
2036 * config/nvptx/realloc.c: Delete.
2037 * t-nvptx: Update.
2038
69a6d5ad
NS
20392016-05-25 Nathan Sidwell <nathan@acm.org>
2040
2041 * config/nvptx/crt0.s: Delete.
2042 * config/nvptx/crt0.c: New.
2043 * t-nvptx: Update.
2044
6befaff6
SL
20452016-05-19 Sandra Loosemore <sandra@codesourcery.com>
2046
385c7747 2047 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
6befaff6
SL
2048 dw2/seh configuration.
2049 [x86_64-*-mingw*]: Likewise.
2050
ad251dfd
JS
20512016-05-10 Joel Sherrill <joel@rtems.org>
2052
2053 PR libgcc/70720
2054 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
2055 targets so the same extra_parts are built. Also have tmake_file add
2056 on to its value rather than override.
2057
bc6d9014
OE
20582016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
2059
2060 * config.host: Remove SH5 support.
2061 * configure: Likewise.
2062
9129c8cf
OE
20632016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
2064
2065 * config/sh/crt1.S: Remove SH5 support.
2066 * config/sh/crti.S: Likewise.
2067 * config/sh/crtn.S: Likewise.
2068 * config/sh/lib1funcs-4-300.S: Likewise.
2069 * config/sh/lib1funcs-Os-4-200.S: Likewise.
2070 * config/sh/lib1funcs.S: Likewise.
2071 * config/sh/linux-unwind.h: Likewise.
2072 * config/sh/t-sh64: Delete.
2073
39d50464
CZ
20742016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
2075
2076 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
2077
8b48923b
CZ
20782016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
2079 Joern Rennecke <joern.rennecke@embecosm.com>
2080
2081 * config/arc/crttls.S: New file.
2082 * config/arc/t-arc: New rule.
2083 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
2084
2de1cf8c
NC
20852016-04-25 Nick Clifton <nickc@redhat.com>
2086
2087 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
2088 (__mspabi_cmpd): Likewise.
2089 * config/msp430/floathidf.c (__floathidf): Likewise.
2090 * config/msp430/floathisf.c (__floathisf): Likewise
2091 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
2092 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
2093 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
2094 second parameter.
2095 (__ashrsi3): Likewise.
2096
b8ce3fe2
WB
20972016-04-21 Waldemar Brodkorb <wbx@openadk.org>
2098
2099 * config/m68k/linux-atomic.c: Do not include unistd.h
2100
4986f823
MG
21012016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
2102
2103 * config/arm/ieee754-df.S: Fix typos in comments.
2104
35fbda43
MM
21052016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
2106
2107 PR target/70381
2108 * configure.ac (powerpc*-*-linux*): Rework tests to build
2109 __float128 emulation routines to not depend on using #pragma GCC
2110 target to enable -mfloat128.
2111 * configure: Regnerate.
2112
72d1a48d
EB
21132016-04-04 Eric Botcazou <ebotcazou@adacore.com>
2114
2115 PR target/67172
2116 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
2117 __MINGW32__ is defined.
2118
dc2e8995
JB
21192016-03-28 James Bowman <james.bowman@ftdichip.com>
2120
385c7747 2121 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
dc2e8995 2122
104cdaf1
MM
21232016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
2124
2125 PR libgcc/70363
2126 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
2127 built with an assembler that does not support ISA 3.0
2128 instructions, rename __extendkftf2_sw to __extendkftf2.
2129
a5046f48
RO
21302016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2131
2132 PR target/38239
2133 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
2134 call-clobbered registers.
2135 (internal_mcount): Remove __i386__ handling.
2136
df674f74
JS
21372016-02-26 Joel Sherrill <joel@rtems.org>
2138
2139 * config.host: Add x86_64-*-rtems*.
2140
7cb065d6
JS
21412016-02-26 Joel Sherrill <joel@rtems.org>
2142
2143 * libgcc/config.host: Add aarch64-*-rtems*.
2144
47dfdc53
PM
21452016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2146 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2147
2148 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
2149 union of u64 and double.
2150 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
2151 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
2152 value.
2153 (FP_ROUNDMODE): Update the usage of _fpscr.
2154
e6861a99
IV
21552016-02-25 Ilya Verbin <ilya.verbin@intel.com>
2156
2157 PR driver/68463
2158 * Makefile.in (crtoffloadtable$(objext)): New rule.
2159 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
2160 enable_offload_targets is not empty.
2161 * configure: Regenerate.
2162 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
2163 crtoffloadtable.
2164
9bfcbdee
MF
21652016-02-17 Max Filippov <jcmvbkbc@gmail.com>
2166
2167 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
2168 .literal_position before the function.
2169 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
2170 Likewise.
2171
4cb4721f
MK
21722016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
2173
2174 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
2175 * config/s390/morestack.S: New file.
2176 * config/s390/t-stack-s390: New file.
2177 * generic-morestack.c (__splitstack_find): Add s390-specific code.
2178
b29d9a29
WL
21792016-02-12 Walter Lee <walt@tilera.com>
2180
2181 * config.host (tilegx*-*-linux*): remove ti from
2182 softfp_int_modes for 32-bit configs.
2183
03a0ae7d
ILT
21842016-02-10 Ian Lance Taylor <iant@google.com>
2185
2186 PR go/68562
2187 * config/i386/morestack.S (__stack_split_initialize): Align
2188 stack.
2189
68750bce
AT
21902016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
2191
2192 PR bootstrap/69611
2193 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
2194 __FLOAT128__ to compile only for __float128 capable targets.
2195
7d296953
JJ
21962016-01-25 Jakub Jelinek <jakub@redhat.com>
2197
2198 PR target/69444
2199 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
2200 instead of ___NO_FPRS__.
2201
a71c0334 22022016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
2203 Steven Munroe <munroesj@linux.vnet.ibm.com>
2204 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
a71c0334
MM
2205
2206 * config/rs6000/float128-sed: New files to convert TF names to KF
2207 names for PowerPC IEEE 128-bit floating point support.
2208 * config/rs6000/float128-sed-hw: Likewise.
2209
2210 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2211 floating point hardware support.
2212
2213 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2214 128-bit floating point software emulation or use ISA 3.0 hardware
2215 support if it is available.
2216
2217 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2218 floating point.
2219
2220 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
2221 floating point to IBM extended double.
2222
2223 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
2224 double to IEEE 128-bit floating point.
2225
2226 * config/rs6000/t-float128: New Makefile fragments to enable
2227 building __float128 emulation support.
2228 * config/rs6000/t-float128-hw: Likewise.
2229
2230 * config/rs6000/sfp-exceptions.c: New file to provide exception
2231 support for IEEE 128-bit floating point.
2232
2233 * config/rs6000/floattikf.c: New files for converting between IEEE
2234 128-bit floating point and signed/unsigned 128-bit integers.
2235 * config/rs6000/fixunskfti.c: Likewise.
2236 * config/rs6000/fixkfti.c: Likewise.
2237 * config/rs6000/floatuntikf.c: Likewise.
2238
2239 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2240 when building on 64-bit systems, or when VSX is enabled.
2241 (_FP_W_TYPE): Likewise.
2242 (_FP_WS_TYPE): Likewise.
2243 (_FP_I_TYPE): Likewise.
2244 (TItype): Define on 64-bit systems.
2245 (UTItype): Likewise.
2246 (TI_BITS): Likewise.
2247 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2248 (_FP_MUL_MEAT_Q): Likewise.
2249 (_FP_DIV_MEAT_D): Likewise.
2250 (_FP_DIV_MEAT_Q): Likewise.
2251 (_FP_NANFRAC_D): Likewise.
2252 (_FP_NANFRAC_Q): Likewise.
2253 (ISA_BIT): Add exception support if we are being compiled on a
2254 machine with hardware floating point support to build the IEEE
2255 128-bit emulation functions.
2256 (FP_EX_INVALID): Likewise.
2257 (FP_EX_OVERFLOW): Likewise.
2258 (FP_EX_UNDERFLOW): Likewise.
2259 (FP_EX_DIVZERO): Likewise.
2260 (FP_EX_INEXACT): Likewise.
2261 (FP_EX_ALL): Likewise.
2262 (__sfp_handle_exceptions): Likewise.
2263 (FP_HANDLE_EXCEPTIONS): Likewise.
2264 (FP_RND_NEAREST): Likewise.
2265 (FP_RND_ZERO): Likewise.
2266 (FP_RND_PINF): Likewise.
2267 (FP_RND_MINF): Likewise.
2268 (FP_RND_MASK): Likewise.
2269 (_FP_DECL_EX): Likewise.
2270 (FP_INIT_ROUNDMODE): Likewise.
2271 (FP_ROUNDMODE): Likewise.
2272
2273 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2274 VSX code, enable IEEE 128-bit floating point. If the compiler can
2275 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
2276 floating point hardware instructions and it supports declaring
2277 functions with the ifunc attribute, enable ifunc functions to
2278 switch between software and hardware support.
2279 * configure.ac (powerpc*-*-linux*): Likewise.
2280 * configure: Regenerate.
2281
bdc27e50
NC
22822016-01-15 Nick Clifton <nickc@redhat.com>
2283
2284 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
2285 dependency as the source file to be compiled.
2286 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
2287 (lib2hw_mul_f5.o): Likewise.
2288
006df05d
MM
22892016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
2290
2291 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
2292 * libgcc/config/rs6000/fixkfti.c: Likewise.
2293 * libgcc/config/rs6000/fixunskfti.c: Likewise.
2294 * libgcc/config/rs6000/float128-hw.c: Likewise.
2295 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
2296 * libgcc/config/rs6000/float128-sed: Likewise.
2297 * libgcc/config/rs6000/floattikf.c: Likewise.
2298 * libgcc/config/rs6000/floatuntikf.c: Likewise.
2299 * libgcc/config/rs6000/quad-float128.h: Likewise.
2300 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
2301 * libgcc/config/rs6000/sfp-machine.h: Likewise.
2302 * libgcc/config/rs6000/t-float128: Likewise.
2303 * libgcc/config/rs6000/t-float128-hw: Likewise.
2304 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
2305 * libgcc/config.host: Likewise.
2306 * libgcc/configure: Likewise.
2307 * libgcc/configure.ac: Likewise.
2308
29176d57 23092016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
2310 Steven Munroe <munroesj@linux.vnet.ibm.com>
2311 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
29176d57
MM
2312
2313 * config/rs6000/sfp-exceptions.c: New file to provide exception
2314 support for IEEE 128-bit floating point.
2315
2316 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2317 floating point hardware support.
2318
2319 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
2320 point conversions.
2321 * config/rs6000/fixunskfti.c: Likewise.
2322 * config/rs6000/fixkfti.c: Likewise.
2323 * config/rs6000/floatuntikf.c: Likewise.
2324 * config/rs6000/extendkftf2-sw.c: Likewise.
2325 * config/rs6000/trunctfkf2-sw.c: Likewise.
2326
2327 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2328 128-bit floating point software emulation or use ISA 3.0 hardware
2329 support if it is available.
2330
2331 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2332 floating point.
2333
2334 * config/rs6000/t-float128: New Makefile fragments to enable
2335 building __float128 emulation support.
2336 * config/rs6000/t-float128-hw: Likewise.
2337
2338 * config/rs6000/float128-sed: New file to convert TF names to KF
2339 names for PowerPC IEEE 128-bit floating point support.
2340
2341 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2342 when building on 64-bit systems, or when VSX is enabled.
2343 (_FP_W_TYPE): Likewise.
2344 (_FP_WS_TYPE): Likewise.
2345 (_FP_I_TYPE): Likewise.
2346 (TItype): Define on 64-bit systems.
2347 (UTItype): Likewise.
2348 (TI_BITS): Likewise.
2349 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2350 (_FP_MUL_MEAT_Q): Likewise.
2351 (_FP_DIV_MEAT_D): Likewise.
2352 (_FP_DIV_MEAT_Q): Likewise.
2353 (_FP_NANFRAC_D): Likewise.
2354 (_FP_NANFRAC_Q): Likewise.
2355 (ISA_BIT): Add exception support if we are being compiled on a
2356 machine with hardware floating point support to build the IEEE
2357 128-bit emulation functions.
2358 (FP_EX_INVALID): Likewise.
2359 (FP_EX_OVERFLOW): Likewise.
2360 (FP_EX_UNDERFLOW): Likewise.
2361 (FP_EX_DIVZERO): Likewise.
2362 (FP_EX_INEXACT): Likewise.
2363 (FP_EX_ALL): Likewise.
2364 (__sfp_handle_exceptions): Likewise.
2365 (FP_HANDLE_EXCEPTIONS): Likewise.
2366 (FP_RND_NEAREST): Likewise.
2367 (FP_RND_ZERO): Likewise.
2368 (FP_RND_PINF): Likewise.
2369 (FP_RND_MINF): Likewise.
2370 (FP_RND_MASK): Likewise.
2371 (_FP_DECL_EX): Likewise.
2372 (FP_INIT_ROUNDMODE): Likewise.
2373 (FP_ROUNDMODE): Likewise.
2374
2375 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
2376 compiler can do __float128.
2377 * configure: Regenerate.
2378
2379 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2380 VSX code, enable IEEE 128-bit floating point.
2381
a2218983
OH
23822016-01-05 Olivier Hainque <hainque@adacore.com>
2383
2384 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
29176d57 2385 specificities.
a2218983 2386
818ab71a
JJ
23872016-01-04 Jakub Jelinek <jakub@redhat.com>
2388
2389 Update copyright years.
2390
5a6c8ffa
AP
23912015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
2392
2393 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
29176d57 2394 soft-fp targets.
5a6c8ffa 2395
077067a5
BE
23962015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
2397
2398 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
2399 instead of abort to avoid dependency on stdlib.h.
2400
787c1027
JDA
24012015-12-09 John David Anglin <danglin@gcc.gnu.org>
2402
2403 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
2404 to initialize call to __dl_fixup once.
2405
04a9ae28
NC
24062015-12-04 Nick Clifton <nickc@redhat.com>
2407
2408 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
2409 Allow for the second argument being negative.
2410 * config.host (extra_parts): Define for MSP430. Create separate
2411 libraries for each of the hardware multiply formats.
2412 * config/msp430/lib2hw_mul.S: Build only the multiply routines
2413 that are needed.
2414 * config/msp430/lib2mul.c: Likewise.
2415 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
2416 Add rules to build hardware multiply libraries.
2417 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
2418 __mspabi_divul function.
2419 (__mspabi_divllu): New stub function.
2420
9a32d437
JDA
24212015-12-01 John David Anglin <danglin@gcc.gnu.org>
2422
2423 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
2424 fixup values if saved GOT address doesn't match runtime address.
2425 (fixup_branch_offset): Reorder list.
2426
e5ef217c
RO
24272015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2428
2429 * Makefile.in (VTV_CFLAGS): New variable.
2430 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
2431 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
2432 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2433 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
2434 to extra_parts if $enable_vtable_verify = yes.
2435
78cc43a2
SN
24362015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
2437
2438 PR target/68059
2439 * config/arm/linux-atomic-64bit.c (__write): Rename to...
2440 (write): ...this and fix the return type.
2441
9afebea2
DD
24422015-11-19 DJ Delorie <dj@redhat.com>
2443
2444 * config/msp430/lib2hw_mul.S: Fix alignment.
2445
33f47f42
NS
24462015-11-18 Nathan Sidwell <nathan@codesourcery.com>
2447
2448 * config/nvptx/reduction.c: New.
2449 * config/nvptx/t-nvptx (LIB2ADD): Add it.
2450
d9adb476
DE
24512015-11-15 David Edelsohn <dje.gcc@gmail.com>
2452
2453 * config/rs6000/on_exit.c: New file.
2454 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
2455 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
2456
c0ab1970
CZ
24572015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
2458
2459 * config/arc/dp-hack.h: Add support for ARCHS.
2460 * config/arc/ieee-754/divdf3.S: Likewise.
2461 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
2462 * config/arc/ieee-754/muldf3.S: Likewise.
2463 * config/arc/ieee-754/mulsf3.S: Likewise
2464 * config/arc/lib1funcs.S: Likewise
2465 * config/arc/gmon/dcache_linesz.S: Don't read the build register
2466 for ARCv2 cores.
2467 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
2468 for ARCv2 cores.
2469 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
2470 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
2471 cores.
2472
e6b6bf09
RO
24732015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2474
2475 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
2476 value.
2477 * config/ia64/crtend.S: Likewise.
2478
a153644f
TS
24792015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2480
2481 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
2482 __CHAR_BIT__ instead of BITS_PER_UNIT.
2483 * fixed-bit.h: Likewise.
2484 * fp-bit.h: Likewise.
2485 * libgcc2.c (__popcountSI2): Likewise.
2486 (__popcountDI2): Likewise.
2487 * libgcc2.h: Likewise.
2488 * libgcov.h: Likewise.
2489
3dee689d
DE
24902015-11-07 David Edelsohn <dje.gcc@gmail.com>
2491
2492 * config/rs6000/atexit.c: New file.
2493 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
2494 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
2495 * config/rs6000/cxa_finalize.c
2496 (catomic_compare_and_exchange_bool_acq): Negate return value.
2497
2ef543e4
VK
24982015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
2499
2500 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
2501 (processor_subtypes): Add znver1.
2502 (get_amd_cpu): Detect znver1.
2503
1300f017
CL
25042015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
2505
2506 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
2507 Include crtfastmath.o.
2508
3e5bb7ee
JR
25092015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
2510
2511 PR libgcc/66883
2512 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1300f017 2513
793aa938
KP
25142015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
2515
2516 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
2517 * config/rl78/divmodsi.S: Update return register to r8.
2518 * config/rl78/divmodhi.S: Update return register to r8,r9.
2519 Branch to main_loop_done_himode to pop registers before return.
2520
7d296953 25212015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
fac812f0
VK
2522
2523 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
2524 (__cpu_indicator_init): Fix model selection for AMD CPUs.
2525
6a192b5a
KY
25262015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
2527
2528 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
2529
4a0a9457
MF
25302015-10-03 Max Filippov <jcmvbkbc@gmail.com>
2531
2532 * config.host (xtensa*-*-uclinux*): New configuration.
2533
ab91c076
KY
25342015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
2535
385c7747 2536 * config/i386/cpuinfo.c (processor_features): Add
ab91c076
KY
2537 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
2538
30954527
JM
25392015-09-28 Joseph Myers <joseph@codesourcery.com>
2540
2541 * soft-fp/adddf3.c: Update from glibc.
2542 * soft-fp/addsf3.c: Likewise.
2543 * soft-fp/addtf3.c: Likewise.
2544 * soft-fp/divdf3.c: Likewise.
2545 * soft-fp/divsf3.c: Likewise.
2546 * soft-fp/divtf3.c: Likewise.
2547 * soft-fp/double.h: Likewise.
2548 * soft-fp/eqdf2.c: Likewise.
2549 * soft-fp/eqsf2.c: Likewise.
2550 * soft-fp/eqtf2.c: Likewise.
2551 * soft-fp/extenddftf2.c: Likewise.
2552 * soft-fp/extended.h: Likewise.
2553 * soft-fp/extendsfdf2.c: Likewise.
2554 * soft-fp/extendsftf2.c: Likewise.
2555 * soft-fp/extendxftf2.c: Likewise.
2556 * soft-fp/fixdfdi.c: Likewise.
2557 * soft-fp/fixdfsi.c: Likewise.
2558 * soft-fp/fixdfti.c: Likewise.
2559 * soft-fp/fixsfdi.c: Likewise.
2560 * soft-fp/fixsfsi.c: Likewise.
2561 * soft-fp/fixsfti.c: Likewise.
2562 * soft-fp/fixtfdi.c: Likewise.
2563 * soft-fp/fixtfsi.c: Likewise.
2564 * soft-fp/fixtfti.c: Likewise.
2565 * soft-fp/fixunsdfdi.c: Likewise.
2566 * soft-fp/fixunsdfsi.c: Likewise.
2567 * soft-fp/fixunsdfti.c: Likewise.
2568 * soft-fp/fixunssfdi.c: Likewise.
2569 * soft-fp/fixunssfsi.c: Likewise.
2570 * soft-fp/fixunssfti.c: Likewise.
2571 * soft-fp/fixunstfdi.c: Likewise.
2572 * soft-fp/fixunstfsi.c: Likewise.
2573 * soft-fp/fixunstfti.c: Likewise.
2574 * soft-fp/floatdidf.c: Likewise.
2575 * soft-fp/floatdisf.c: Likewise.
2576 * soft-fp/floatditf.c: Likewise.
2577 * soft-fp/floatsidf.c: Likewise.
2578 * soft-fp/floatsisf.c: Likewise.
2579 * soft-fp/floatsitf.c: Likewise.
2580 * soft-fp/floattidf.c: Likewise.
2581 * soft-fp/floattisf.c: Likewise.
2582 * soft-fp/floattitf.c: Likewise.
2583 * soft-fp/floatundidf.c: Likewise.
2584 * soft-fp/floatundisf.c: Likewise.
2585 * soft-fp/floatunditf.c: Likewise.
2586 * soft-fp/floatunsidf.c: Likewise.
2587 * soft-fp/floatunsisf.c: Likewise.
2588 * soft-fp/floatunsitf.c: Likewise.
2589 * soft-fp/floatuntidf.c: Likewise.
2590 * soft-fp/floatuntisf.c: Likewise.
2591 * soft-fp/floatuntitf.c: Likewise.
2592 * soft-fp/gedf2.c: Likewise.
2593 * soft-fp/gesf2.c: Likewise.
2594 * soft-fp/getf2.c: Likewise.
2595 * soft-fp/ledf2.c: Likewise.
2596 * soft-fp/lesf2.c: Likewise.
2597 * soft-fp/letf2.c: Likewise.
2598 * soft-fp/muldf3.c: Likewise.
2599 * soft-fp/mulsf3.c: Likewise.
2600 * soft-fp/multf3.c: Likewise.
2601 * soft-fp/negdf2.c: Likewise.
2602 * soft-fp/negsf2.c: Likewise.
2603 * soft-fp/negtf2.c: Likewise.
2604 * soft-fp/op-1.h: Likewise.
2605 * soft-fp/op-2.h: Likewise.
2606 * soft-fp/op-4.h: Likewise.
2607 * soft-fp/op-8.h: Likewise.
2608 * soft-fp/op-common.h: Likewise.
2609 * soft-fp/quad.h: Likewise.
2610 * soft-fp/single.h: Likewise.
2611 * soft-fp/soft-fp.h: Likewise.
2612 * soft-fp/subdf3.c: Likewise.
2613 * soft-fp/subsf3.c: Likewise.
2614 * soft-fp/subtf3.c: Likewise.
2615 * soft-fp/truncdfsf2.c: Likewise.
2616 * soft-fp/trunctfdf2.c: Likewise.
2617 * soft-fp/trunctfsf2.c: Likewise.
2618 * soft-fp/trunctfxf2.c: Likewise.
2619 * soft-fp/unorddf2.c: Likewise.
2620 * soft-fp/unordsf2.c: Likewise.
2621 * soft-fp/unordtf2.c: Likewise.
2622
4dfe21ac
RE
26232015-09-24 Richard Earnshaw <rearnsha@arm.com>
2624
2625 PR libgcc/67624
2626 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
2627
df2a1cc4
RO
26282015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2629
2630 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2631 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
2632 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
2633 messages.
2634 (internal_mcount): Likewise.
2635 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
2636 crt_compile, add CRTSTUFF_T_CFLAGS_S.
2637
2d110442
RO
26382015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2639
2640 * configure.ac (libgcc_cv_solaris_crts): New test.
2641 * configure: Regenerate.
2642 * config.in: Regenerate.
2643 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
2644 * config/gmon-sol2.c: Rename to ...
2645 * config/sol2/gmon.c: ... this.
2646 Include auto-target.h.
2647 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
2648 * config/t-sol2: Rename to ...
2649 * config/sol2/t-sol2: ... this.
2650 (gmon.o): Reflect renaming.
2651 (crtp.o, crtpg.o): New rules.
2652 * config.host (*-*-solaris2*): Reflect renaming.
2653 Use system CRTs if present.
2654 Remove default CRT case.
2655
d572e439
JDA
26562015-09-23 John David Anglin <danglin@gcc.gnu.org>
2657
2658 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
2659 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
2660 __kernel_cmpxchg2.
2661 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
2662 (__sync_val_compare_and_swap_##WIDTH): Likewise.
2663 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
2664 (__sync_lock_test_and_set_##WIDTH): Likewise.
2665 (__sync_lock_release_##WIDTH): Likewise.
2666 (__sync_fetch_and_##OP##_4): Change result to match type of
2667 __kernel_cmpxchg.
2668 (__sync_##OP##_and_fetch_4): Likewise.
2669 (__sync_val_compare_and_swap_4): Likewise.
2670 (__sync_bool_compare_and_swap_4): likewise.
2671 (__sync_lock_test_and_set_4): Likewise.
2672 (__sync_lock_release_4): Likewise.
2673 (FETCH_AND_OP_2): Add long long variants.
2674 (OP_AND_FETCH_2): Likewise.
2675 (COMPARE_AND_SWAP_2 ): Likewise.
2676 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2677 (SYNC_LOCK_RELEASE_2): Likewise.
2678 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
2679
7d296953 26802015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
06caf59d
KY
2681
2682 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
2683 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
2684 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
2685 (get_available_features): Habdle new features.
2686
131314e1
JB
26872015-09-21 James Bowman <james.bowman@ftdichip.com>
2688
2689 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
2690 memory layout. Deal correctly with BSS region larger than 32K.
2691 Handle a watchdog reset like a power-on reset. Clean up unused
2692 code.
2693
04218b35
AD
26942015-09-18 Andrew Dixie <andrewd@gentrack.com>
2695 David Edelsohn <dje.gcc@gmail.com>
2696
2697 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
2698 * config/rs6000/crtdbase.S: New file.
2699 * config/rs6000/t-aix-cxa: Build crtdbase.o.
2700
c8338173
MF
27012015-09-15 Max Filippov <jcmvbkbc@gmail.com>
2702
2703 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
2704 Add support for call0 ABI.
2705
7a84bf71
JDA
27062015-09-13 John David Anglin <danglin@gcc.gnu.org>
2707
2708 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
2709
4efab402
SH
27102015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
2711
2712 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
2713 (__GTHREAD_HAS_COND): Likewise.
2714 (__gthread_t): Likewise.
2715 (__gthread_cond_t): Likewise.
2716 (__gthread_time_t): Likewise.
2717 (__GTHREAD_MUTEX_INIT): Likewise.
2718 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
2719 (__GTHREAD_COND_INIT): Likewise.
2720 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
2721 (__GTHREAD_TIME_INIT): Likewise.
2722 (__gthread_create): Likewise.
2723 (__gthread_join): Likewise.
2724 (__gthread_detach): Likewise.
2725 (__gthread_equal): Likewise.
2726 (__gthread_self): Likewise.
2727 (__gthread_yield): Likewise.
2728 (__gthread_cond_broadcast): Likewise.
2729 (__gthread_cond_signal): Likewise.
2730 (__gthread_cond_wait): Likewise.
2731 (__gthread_cond_timedwait): Likewise.
2732 (__gthread_cond_wait_recursive): Likewise.
2733 (__gthread_cond_destroy): Likewise.
2734 (rtems_gxx_once): Delete.
2735 (rtems_gxx_key_create): Likewise.
2736 (rtems_gxx_key_delete): Likewise.
2737 (rtems_gxx_getspecific): Likewise.
2738 (rtems_gxx_setspecific): Likewise.
2739 (rtems_gxx_mutex_init): Likewise.
2740 (rtems_gxx_mutex_destroy): Likewise.
2741 (rtems_gxx_mutex_lock): Likewise.
2742 (rtems_gxx_mutex_trylock): Likewise.
2743 (rtems_gxx_mutex_unlock): Likewise.
2744 (rtems_gxx_recursive_mutex_init): Likewise.
2745 (rtems_gxx_recursive_mutex_lock): Likewise.
2746 (rtems_gxx_recursive_mutex_trylock): Likewise.
2747 (rtems_gxx_recursive_mutex_unlock): Likewise.
2748 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
2749 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
2750 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
2751 (__gthread_once): Likewise.
2752 (__gthread_key_create): Likewise.
2753 (__gthread_key_delete): Likewise.
2754 (__gthread_getspecific): Likewise.
2755 (__gthread_setspecific): Likewise.
2756 (__gthread_key_t): Use <pthread.h> type.
2757 (__gthread_once_t): Likewise
2758 (__gthread_mutex_t): Use <sys/lock.h> type.
2759 (__gthread_recursive_mutex_t): Likewise
2760 (__gthread_mutex_lock): Use <sys/lock.h> function.
2761 (__gthread_mutex_trylock): Likewise.
2762 (__gthread_mutex_timedlock): Likewise.
2763 (__gthread_mutex_unlock): Likewise.
2764 (__gthread_mutex_destroy): Likewise.
2765 (__gthread_recursive_mutex_lock): Likewise.
2766 (__gthread_recursive_mutex_trylock): Likewise.
2767 (__gthread_recursive_mutex_timedlock): Likewise.
2768 (__gthread_recursive_mutex_unlock): Likewise.
2769 (__gthread_recursive_mutex_destroy): Likewise.
2770
991995c4
MF
27712015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2772
2773 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
2774 context->sp instead of context->cfa.
2775
0e19db59
MF
27762015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2777
2778 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
2779 with unwind-dw2-fde-dip.
2780
b6ac5f62
MF
27812015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2782
2783 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
2784 CALL12 followed by series of ENTRY to spill windowed registers.
2785 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
2786 instead of making linux spill syscall.
2787
3e0f3349
YR
27882015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
2789
2790 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
2791 (get_intel_cpu): Likewise.
2792
51c728b1
L
27932015-08-12 H.J. Lu <hongjiu.lu@intel.com>
2794
2795 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
2796 (get_intel_cpu): Add Knights Landing support.
2797
aff4eeac
UB
27982015-08-11 Uros Bizjak <ubizjak@gmail.com>
2799
2800 PR target/66954
2801 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
2802 (get_available_features): Handle FEATURE_PCLMUL.
2803
736e56da
L
28042015-08-10 H.J. Lu <hongjiu.lu@intel.com>
2805
2806 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
2807 Broadwell.
2808
54d22142
UB
28092015-07-22 Uros Bizjak <ubizjak@gmail.com>
2810
2811 PR target/66954
2812 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
2813 (get_available_features): Handle FEATURE_AES.
2814
20ca17e4
CLT
28152015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
2816
2817 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
2818 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
2819
ebe4a560
NS
28202015-07-17 Nathan Sidwell <nathan@codesourcery.com>
2821
2822 * offloadstuff.c: Constify host data.
2823
180744c0
JB
28242015-07-17 Jan Beulich <jbeulich@suse.com>
2825
2826 * config/t-softfp: Split up "else ifneq".
2827
a03c6ae3
SL
28282015-07-14 Sandra Loosemore <sandra@codesourcery.com>
2829 Cesar Philippidis <cesar@codesourcery.com>
2830 Chung-Lin Tang <cltang@codesourcery.com>
2831
2832 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
2833 for __nios2_arch__ level.
2834
73358db5
JM
28352015-07-13 John Marino <gnugcc@marino.st>
2836
2837 * config/i386/t-dragonfly: New.
2838
f9a12f7b
JDA
28392015-07-01 John David Anglin <danglin@gcc.gnu.org>
2840
2841 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
2842 better match light-weight syscall argument order.
2843 (__kernel_cmpxchg2): Likewise.
2844 Adjust callers.
2845
cb78b51c
L
28462015-06-30 H.J. Lu <hongjiu.lu@intel.com>
2847
2848 * config.host: Support i[34567]86-*-elfiamcu target.
2849 * config/t-softfp-sfdftf: New file.
2850 * config/i386/32/t-iamcu: Likewise.
2851 * configure: Regenerated.
2852
4fa0f9ea
JL
28532015-06-23 James Lemke <jwlemke@codesourcery.com>
2854
2855 libgcc/config/arm/
2856 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
2857
428b3812
L
28582015-05-27 H.J. Lu <hongjiu.lu@intel.com>
2859
2860 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
2861
7d296953 28622015-05-27 John Marino <gnugcc@marino.st>
89c54dd3
JM
2863
2864 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
2865 md_unwind_header
2866 * config/i386/freebsd-unwind.h: New.
2867
9b789cc1
UB
28682015-05-22 Uros Bizjak <ubizjak@gmail.com>
2869
2870 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
2871 i386/t-crtfm to tmake_file.
2872 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
2873 (set_fast_math): Use set_fast_math_sse for SSE targets.
2874 * config/i386/t-crtfm: Remove.
2875
3dafb220
AM
28762015-05-21 Alan Modra <amodra@gmail.com>
2877
2878 PR libgcc/66225
2879 * config/rs6000/morestack.S: Remove ".abiversion 1".
2880
0f0fd745
AM
28812015-05-20 Alan Modra <amodra@gmail.com>
2882
2883 * config/rs6000/morestack.S: New.
2884 * config/rs6000/t-stack-rs6000: New.
2885 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
2886 to tmake_file.
2887 * generic-morestack.c: Don't build for powerpc 32-bit.
2888
515ae71b
EB
28892015-05-19 Eric Botcazou <ebotcazou@adacore.com>
2890
2891 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
2892 Remove useless endif/ifneq ($(enable_shared),yes) pair.
2893
36805406
JL
28942015-05-16 James Bowman <james.bowman@ftdichip.com>
2895
2896 * config.host: FT32 target added.
2897 * config/ft32/*: New files for FT32 target.
2898
ff935d0c
MG
28992015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
2900
385c7747
UB
2901 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
2902 New macros.
2903 * config/arm/ieee754-df.S: Add CFI directives.
2904 * config/arm/ieee754-sf.S: Add CFI directives.
ff935d0c 2905
9b92a9f3
EB
29062015-05-13 Eric Botcazou <ebotcazou@adacore.com>
2907
2908 * configure.ac: Include config/sjlj.m4.
2909 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
2910 * config.in: Regenerate.
2911 * configure: Likewise.
2912 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
2913
98b5dc61
UB
29142015-05-12 Uros Bizjak <ubizjak@gmail.com>
2915
2916 * libgcov-util.c: Add space between string literal and macro name.
2917
5a0ff57c
SL
29182015-05-06 Sandra Loosemore <sandra@codesourcery.com>
2919 Chris Jones <chrisj@nvidia.com>
2920 Joshua Conner <jconner@nvidia.com>
2921
2922 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
2923 (arm*-*-uclinux*): Likewise.
2924 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
2925 * config/arm/crtfastmath.c: New file.
2926
d28ad5d4
BS
29272014-04-29 Bernd Schmidt <bernds@codesourcery.com>
2928
2929 * Makefile.in (real_host_noncanonical): New variable.
2930 (libsubdir): Use it.
2931 * configure.ac (real_host_noncanonical): Compute. Remove special
2932 case for intelmicemul.
2933 * configure: Regenerate.
2934
cc86234f
UB
29352015-04-28 Uros Bizjak <ubizjak@gmail.com>
2936
2937 * config/frv/elf-lib.h: New file.
2938 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
2939 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
2940 to tm_file.
2941
29422015-04-28 Uros Bizjak <ubizjak@gmail.com>
2943
2944 * config/frv/frvbengin.c: Do not include defaults.h
2945 * config/frv/frvend.c: Ditto.
2946
2f6bd6eb
YS
29472015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
2948
2949 * config.host: Add h8300-*-linux
2950 * config/h8300/t-linux: New file.
2951 * config/h8300/lib1funs.s: Change symbol prefix.
2952 * config/h8300/sfp-machine.h: 64bit double support.
2953
15aa7b44
GR
29542015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
2955 Szabolcs Nagy <szabolcs.nagy@arm.com>
2956
2957 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
2958 Linux if target provides dl_iterate_phdr.
2959
abd0cdc9
L
29602015-04-17 H.J. Lu <hongjiu.lu@intel.com>
2961
2962 PR target/65612
2963 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
2964 * config/i386/cpuinfo.c (__cpu_model): Initialize.
2965 (__cpu_indicator_init@GCC_4.8.0): New.
2966 (__cpu_model@GCC_4.8.0): Likewise.
2967 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
2968 -DUSE_ELF_SYMVER.
2969
72ed1126
NC
29702015-04-16 Nick Clifton <nickc@redhat.com>
2971
2972 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
2973 and __modhi3 functions.
2974 * config/rl78/divmodso.S: Add G14 and G13 versions of the
2975 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
2976
d26b2237
CG
29772015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
2978
2979 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
2980 do-while loop as macro body to avoid warnings.
2981
cacf1f59
JJ
29822015-04-10 Jakub Jelinek <jakub@redhat.com>
2983 Iain Sandoe <iain@codesourcery.com>
2984
2985 PR target/65351
2986 * configure: Regenerate.
2987
e8a4ed3b
JJ
29882015-04-07 Jakub Jelinek <jakub@redhat.com>
2989 Iain Sandoe <iain@codesourcery.com>
2990
2991 PR target/65351
2992 * configure: Regenerate.
2993
0341335e
CLT
29942015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
2995
2996 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
2997
590e2636 29982015-03-03 Max Filippov <jcmvbkbc@gmail.com>
0341335e 2999
590e2636
MF
3000 Implement call0 ABI for xtensa
3001 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
3002 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
3003 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
3004 use ret in call0 ABI.
3005 * config/xtensa/t-windowed: New file.
3006 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
3007 * libgcc/configure: Regenerated.
3008 * libgcc/configure.ac: Check if xtensa target is configured for
3009 windowed ABI and thus needs to use custom unwind code.
3010
7727f8f2
JW
30112015-02-12 Jonathan Wakely <jwakely@redhat.com>
3012
3013 PR libgcc/64885
3014 * gthr-single.h: Use __unused__ attribute instead of unused.
3015 * config/gthr-vxworks.h: Likewise.
3016 * config/i386/gthr-win32.h: Likewise.
3017
0e4a0def
KT
30182015-02-27 Kai Tietz <ktietz@redhat.com>
3019
3020 PR target/65038
3021 * config.in: Regenerated.
3022 * configure: Likewise.
3023 * configure.ac (AC_HEADER_STDC): Added explicit.
3024 (AC_CHECK_HEADERS): Check for default headers plus
3025 for ftw.h header.
3026 * libgcov-util.c (gcov_read_profile_dir): Disable use
3027 of ftw-function, if header is not found.
3028 (ftw_read_file): Likewise.
3029
b6530d0a
TS
30302015-02-23 Thomas Schwinge <thomas@codesourcery.com>
3031
3032 PR target/65181
3033 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
3034 -Dinhibit_libc.
3035
53cfb467
SL
30362015-02-17 Sandra Loosemore <sandra@codesourcery.com>
3037
3038 * config/arm/bpabi.S (test_div_by_zero): Make label names
3039 consistent between thumb2 and arm mode cases. Separate the
3040 signed comparison on the high word of the numerator from the
3041 unsigned comparison on the low word.
3042 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
3043 signed comparison.
3044
77d10a1b
JM
30452015-02-17 Joseph Myers <joseph@codesourcery.com>
3046
3047 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
3048 and <string.h>.
3049 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
3050
98174188
RE
30512015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
3052
3053 PR gcov-profile/61889
471274de 3054 * libgcov-driver-system.c: undefine clashing macro for mkdir.
98174188 3055
771bef14
NC
30562015-02-02 Nick Clifton <nickc@redhat.com>
3057
3058 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
3059 rounding up the fraction.
3060
40702893
JDA
30612015-01-31 John David Anglin <danglin@gcc.gnu.org>
3062
3063 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
3064 oldval and newval to const void *. Fix typo.
3065 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
3066 (FETCH_AND_OP_WORD): Likewise.
3067 (OP_AND_FETCH_WORD): Likewise.
3068 (COMPARE_AND_SWAP_2): Likewise.
3069 (__sync_val_compare_and_swap_4): Likewise.
3070 (__sync_lock_test_and_set_4): Likewise.
3071 (SYNC_LOCK_RELEASE_2): Likewise.
3072 Remove support for long long atomic operations.
3073
f7f049fa
CT
30742015-01-27 Caroline Tice <cmtice@google.com>
3075
3076 Committing VTV Cywin/Ming patch for Patrick Wollgast
3077 * Makefile.in: Move rules to build vtv_*.o out of the check
3078 for CUSTOM_CRTSTUFF.
3079 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
3080 i[34567]86-*-mingw*)
3081 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
3082 enable_vtable_verify.
3083
8410904a
NC
30842015-01-27 Nick Clifton <nickc@redhat.com>
3085
3086 * config/rl78/cmpsi2.S: Use function start and end macros.
3087 (__gcc_bcmp): New function.
3088 * config/rl78/lshrsi3.S: Use function start and end macros.
3089 * config/rl78/mulsi3.S: Add support for G10.
3090 (__mulqi3): New function for G10.
3091 * config/rl78/signbit.S: Use function start and end macros.
3092 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
3093 fpmath-sf.S.
3094 (LIB2FUNCS_EXCLUDE): Define.
3095 (LIB2FUNCS_ST): Define.
3096 * config/rl78/trampoline.S: Use function start and end macros.
3097 * config/rl78/vregs.h (START_FUNC): New macro.
3098 (START_ANOTHER_FUNC): New macro.
3099 (END_FUNC): New macro.
3100 (END_ANOTHER_FUNC): New macro.
3101 * config/rl78/bit-count.S: New file. Contains assembler
3102 implementations of the bit counting functions: ___clzhi2,
3103 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
3104 __paritysi2, __popcounthi2 and __popcountsi2.
3105 * config/rl78/fpbit-sf.S: New file. Contains assembler
3106 implementationas of the math functions: __negsf2, __cmpsf2,
3107 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
3108 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
3109 * config/rl78/fpmath-sf.S: New file. Contains assembler
3110 implementations of the math functions: __subsf3, __addsf3,
3111 __mulsf3 and __divsf3
3112
f962fbf1
RO
31132015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3114
3115 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
3116 Add i386/elf-lib.h to tm_file.
3117 * config/i386/elf-lib.h: Fix comment.
3118 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
3119 && __sun__ && __svr4__]: Remove workaround.
3120
939911c5
ASJ
31212015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
3122
3123 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
3124 FEATURE_BMI2.
3125 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
3126
c8f2dff2
L
31272015-01-24 H.J. Lu <hongjiu.lu@intel.com>
3128
3129 * config/i386/cpuinfo.c (processor_subtypes): Add
3130 INTEL_COREI7_BROADWELL.
3131 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
3132 model numbers.
3133
7bbf9734
UB
31342015-01-23 Uros Bizjak <ubizjak@gmail.com>
3135
3136 * config/i386/elf-lib.h: New file.
3137 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
3138 Wrap definition in #ifdef __i386__.
3139 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
3140 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
3141 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
3142 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
3143 to tm_file.
3144
324820f1
CG
31452015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
3146
3147 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
3148 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
3149
a9ce4e4a
CLT
31502015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
3151
3152 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
3153 Update rt_sigframe format and address for current Nios II
3154 Linux conventions.
3155
82a19768
AT
31562015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
3157
3158 * config.host (arm*-*-freebsd*): Add new configuration for
3159 arm*-*-freebsd*.
3160 * config/arm/freebsd-atomic.c: New file.
3161 * config/arm/t-freebsd: Likewise.
3162 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
3163 'PC-relative indirect' OS's.
3164
0969ec7d
EB
31652015-01-06 Eric Botcazou <ebotcazou@adacore.com>
3166
3167 * config.host: Add Visium support.
3168 * config/visium: New directory.
3169
5624e564
JJ
31702015-01-05 Jakub Jelinek <jakub@redhat.com>
3171
3172 Update copyright years.
3173
82f84ecb
MF
31742014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
3175
3176 * config.host: Support mipsisa32r6 and mipsisa64r6.
3177 * config/mips/mips16.S: Do not build for R6.
3178
69044fa9
OE
31792014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
3180
3181 * config/sh/crt.h: New.
3182 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
3183 symbols.
3184 * config/sh/crt1.S: Likewise.
3185
2405e0ea
UB
31862014-12-15 Uros Bizjak <ubizjak@gmail.com>
3187
3188 PR libgcc/63832
3189 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
3190 func_ptr *dtor_list temporary variable to avoid "array subscript
3191 is above array bounds" warnings.
3192
7d296953 31932014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
dd913323
MH
3194
3195 * Makefile.in (with_aix_soname): Define.
3196 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
3197 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
3198 * configure: Recreate.
3199
a66272f6
OH
32002014-12-05 Olivier Hainque <hainque@adacore.com>
3201
3202 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
3203 now provided by defaults.h.
3204
6342b2c5
OE
32052014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
3206
7d0ee249 3207 PR target/55351
6342b2c5
OE
3208 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
3209 whether it's defined.
3210
c17eac85
IT
32112014-11-27 Ilya Tocar <ilya.tocar@intel.com>
3212
3213 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
3214 * config/i386/cpuinfo.c (get_available_features): Detect it.
3215
1025cb6c
TW
32162014-11-27 Tony Wang <tony.wang@arm.com>
3217
3218 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
3219 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
3220 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
3221
d19f2e38
SB
32222014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
3223
3224 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
3225
17f6e9a3
JDA
32262014-11-24 John David Anglin <danglin@gcc.gnu.org>
3227
3228 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
3229 instead.
3230
0cd7c672
GM
32312014-11-21 Guy Martin <gmsoft@tuxicoman.be>
3232 John David Anglin <danglin@gcc.gnu.org>
3233
3234 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
3235 (FETCH_AND_OP_2): New. Use for subword and double word operations.
3236 (OP_AND_FETCH_2): Likewise.
3237 (COMPARE_AND_SWAP_2): Likewise.
3238 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3239 (SYNC_LOCK_RELEASE_2): Likewise.
3240 (SUBWORD_SYNC_OP): Remove.
3241 (SUBWORD_VAL_CAS): Likewise.
3242 (SUBWORD_BOOL_CAS): Likewise.
3243 (FETCH_AND_OP_WORD): Update.
3244 Consistently use signed types.
cc86234f 3245
85c64bbe
BS
32462014-11-13 Bernd Schmidt <bernds@codesourcery.com>
3247 Thomas Schwinge <thomas@codesourcery.com>
3248 Ilya Verbin <ilya.verbin@intel.com>
3249 Andrey Turetskiy <andrey.turetskiy@intel.com>
3250
3251 * Makefile.in (crtoffloadbegin$(objext)): New rule.
3252 (crtoffloadend$(objext)): Likewise.
3253 * configure: Regenerate.
3254 * configure.ac (accel_dir_suffix): Compute new variable.
3255 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
3256 if enable_offload_targets is not empty.
3257 * offloadstuff.c: New file.
3258
52a1ff8b
NC
32592014-11-13 Nick Clifton <nickc@redhat.com>
3260
3261 * config/rl78/divmodhi.S: Add support for the G10 architecture.
3262 Use START_FUNC and END_FUNC macros to enable linker garbage
3263 collection.
3264 * config/rl78/divmodqi.S: Likewise.
3265 * config/rl78/divmodsi.S: Likewise.
3266 * config/rl78/mulsi3.S: Likewise.
3267 * config/rl78/lib2div.c: Remove G10 functions.
3268 * config/rl78/lib2muls.c: Likewise.
3269 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
3270 * config/rl78/vregs.h (START_FUNC): New macro.
3271 (END_FUNC): New macro.
3272
050af144
MF
32732014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
3274
3275 * config/mips/mips16.S: Set .module when supported. Update O32
3276 FP64 calling convention and use for FPXX when possible. Add FPXX
3277 calling convention fallback case.
3278
738f2522
BS
32792014-11-06 Bernd Schmidt <bernds@codesourcery.com>
3280
3281 * config.host: Handle nvptx-*-*.
3282 * shared-object.mk (as-flags-$o): Define.
3283 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
3284 -xassembler-with-cpp.
3285 * static-object.mk: Identical changes.
3286 * config/nvptx/t-nvptx: New file.
3287 * config/nvptx/crt0.s: New file.
3288 * config/nvptx/free.asm: New file.
3289 * config/nvptx/malloc.asm: New file.
3290 * config/nvptx/realloc.c: New file.
3291
e610393c
JM
32922014-10-30 Joseph Myers <joseph@codesourcery.com>
3293
3294 * Makefile.in (libgcc.map.in): New target.
3295 (libgcc.map): Use libgcc.map.in.
3296 * config/t-softfp (softfp_compat): New variable to be set by
3297 users.
3298 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
3299 variables.
3300 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
3301 directory.
3302 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
3303 that use compat symbols and disable all code unless [SHARED].
3304 * config/t-softfp-compat: New file.
3305 * find-symver.awk: New file.
3306 * configure.ac (--with-glibc-version): New configure option.
3307 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
3308 * configure: Regenerate.
3309 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
3310 soft-float and e500.
3311
bc1b3a88
JM
33122014-10-29 Joseph Myers <joseph@codesourcery.com>
3313
3314 * config/t-hardfp (hardfp_exclusions): Document new variable for
3315 user to define.
3316 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
3317 * config/t-softfp (softfp_extras): Document new variable for user
3318 to define.
3319 (softfp_func_list): Add functions from $(softfp_extras).
3320 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
3321 * config.host (powerpc*-*-linux*): For e500v1, use
3322 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
3323 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
3324 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
3325
ef2810c1
JDA
33262014-10-26 John David Anglin <danglin@gcc.gnu.org>
3327
3328 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
3329 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
3330 memory read accesses are ok.
3331
d80c2bea
JM
33322014-10-25 Joseph Myers <joseph@codesourcery.com>
3333
3334 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
3335 * configure: Regenerate.
3336 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
3337 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
3338 of soft-fp for 32-bit classic hard float. Do not use
3339 t-softfp-excl for soft float.
3340
693b297b
JM
33412014-10-22 Joseph Myers <joseph@codesourcery.com>
3342
3343 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
3344 configurations.
3345 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
3346 Remove variables.
3347
18a3415e
GJL
33482014-10-22 Georg-Johann Lay <avr@gjlay.de>
3349
3350 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
3351 introduced with 2014-10-21 trunk r216525.
3352
c1dd9790 33532014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
7d296953
JJ
3354 Vidya Praveen <vidya.praveen@atmel.com>
3355 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
3356 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
3357 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
c1dd9790
JR
3358
3359 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
3360 order.
3361
3362 Updated library functions for AVRTINY arch.
3363 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
3364 Replaced occurrences of r0/r1 with tmp/zero reg macros.
3365 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
3366 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
3367 wsubi/wadi macors.
3368 (__mulsi3_helper): Update stack, preserve callee saved regs and
3369 argument from stack. Restore callee save registers.
3370 (__mulpsi3): Likewise.
3371 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
3372 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
18a3415e 3373 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
c1dd9790
JR
3374 AVRTINY.
3375 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
3376 (__do_copy_data): Added new definition for AVRTINY.
3377 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
3378 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
3379 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
3380 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
3381 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
3382 macors.
18a3415e 3383 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
c1dd9790
JR
3384 AVRTINY.
3385
18a3415e 3386 Fix broken long multiplication on tiny arch.
c1dd9790 3387
5f606431
JM
33882014-10-09 Joseph Myers <joseph@codesourcery.com>
3389
3390 * soft-fp/double.h: Update from glibc.
3391 * soft-fp/eqdf2.c: Likewise.
3392 * soft-fp/eqsf2.c: Likewise.
3393 * soft-fp/eqtf2.c: Likewise.
3394 * soft-fp/extenddftf2.c: Likewise.
3395 * soft-fp/extended.h: Likewise.
3396 * soft-fp/extendsfdf2.c: Likewise.
3397 * soft-fp/extendsftf2.c: Likewise.
3398 * soft-fp/extendxftf2.c: Likewise.
3399 * soft-fp/gedf2.c: Likewise.
3400 * soft-fp/gesf2.c: Likewise.
3401 * soft-fp/getf2.c: Likewise.
3402 * soft-fp/ledf2.c: Likewise.
3403 * soft-fp/lesf2.c: Likewise.
3404 * soft-fp/letf2.c: Likewise.
3405 * soft-fp/op-1.h: Likewise.
3406 * soft-fp/op-2.h: Likewise.
3407 * soft-fp/op-4.h: Likewise.
3408 * soft-fp/op-8.h: Likewise.
3409 * soft-fp/op-common.h: Likewise.
3410 * soft-fp/quad.h: Likewise.
3411 * soft-fp/single.h: Likewise.
3412 * soft-fp/soft-fp.h: Likewise.
3413 * soft-fp/unorddf2.c: Likewise.
3414 * soft-fp/unordsf2.c: Likewise.
3415 * soft-fp/unordtf2.c: Likewise.
3416 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
3417 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
3418 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
3419 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
3420 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
3421 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
3422 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
3423 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
3424 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
3425 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
3426
9b84e7a8
RX
34272014-10-08 Rong Xu <xur@google.com>
3428
3429 * libgcov-util.c (read_gcda_file): Fix format.
3430 (find_match_gcov_info): Ditto.
3431 (calculate_2_entries): New.
3432 (compute_one_gcov): Ditto.
3433 (gcov_info_count_all_cold): Ditto.
3434 (gcov_info_count_all_zero): Ditto.
3435 (extract_file_basename): Ditto.
3436 (get_file_basename): Ditto.
3437 (set_flag): Ditto.
3438 (matched_gcov_info): Ditto.
3439 (calculate_overlap): Ditto.
3440 (gcov_profile_overlap): Ditto.
3441 * libgcov-driver.c (compute_summary): Make
3442 it avavilable for external calls.
3443
fe1090c1
RX
34442014-10-06 Rong Xu <xur@google.com>
3445
3446 * Makefile.in: Ditto.
3447 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
3448 (gcov_sort_icall_topn_counter): Ditto.
3449 (gcov_sort_topn_counter_arrays): Ditto.
3450 (dump_one_gcov): Sort indirect_call topn counters.
3451 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
3452 function.
3453 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
3454 utility function.
3455 (__gcov_indirect_call_topn_profiler): New profiler function.
3456 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
3457 * libgcov.h: New decls.
3458
3daa7bbf
TS
34592014-10-04 Trevor Saunders <tsaunders@mozilla.com>
3460
3461 * config.host: Remove support for score-*.
3462
9a79452d
JM
34632014-09-22 Joseph Myers <joseph@codesourcery.com>
3464
3465 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3466 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
3467 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
3468 __LIBGCC_XF_MANT_DIG__.
3469 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
3470 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
3471 __LIBGCC_TF_MANT_DIG__.
3472 * libgcc2.c (NOTRUNC): Define in terms of
3473 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
3474 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3475
1a849e50
JM
34762014-09-22 Joseph Myers <joseph@codesourcery.com>
3477
3478 PR target/63312
3479 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
3480 New macros.
3481
598a1586
HPN
34822014-09-22 Hans-Peter Nilsson <hp@axis.com>
3483
3484 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
3485 override USE_PT_GNU_EH_FRAME.
3486 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
3487 check USE_EH_FRAME_REGISTRY_ALWAYS against
3488 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
3489 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
3490 variable for substituted force_explicit_eh_registry.
3491 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
3492 * configure.ac (explicit-exception-frame-registration):
3493 New AC_ARG_ENABLE.
3494 * configure: Regenerate.
3495
3a8fe7c6
OH
34962014-09-19 Olivier Hainque <hainque@adacore.com>
3497
3498 * config.host (powerpc-wrs-vxworksmils): New configuration,
3499 same as vxworksae.
3500
dd69f047
JM
35012014-09-18 Joseph Myers <joseph@codesourcery.com>
3502
3503 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
3504
e770bfd9
JM
35052014-09-18 Joseph Myers <joseph@codesourcery.com>
3506
3507 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
3508 bits not set bits as indicating trapping exceptions.
3509
cadb2b96
NS
35102014-09-17 Nathan sidwell <nathan@acm.org>
3511
3512 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
3513 (LIBGCOV_DRIVER): ... here.
3514 * libgcov-driver.c (gcov_master): New.
3515 (gcov_exit): Remove from master chain.
3516 (__gcov_init): Add to master chain if version compatible. Don't
3517 clear the version.
3518 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
3519 (gcov_reset_int): Clear master chain, if compatible.
3520 (gcov_dump_int): New internal interface. Dump master chain, if
3521 compatible.
3522 (gcov_dump): Alias for gcov_dump_int.
3523 * libgcov.h (struct gcov_root): Add next and prev fields.
3524 (struct gcov_master): New struct.
3525 (__gcov_master): New.
3526 (gcov_dump_int): Declare.
3527
580d22a3
OH
35282014-09-17 Olivier Hainque <hainque@adacore.com>
3529
3530 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
3531 and crtbegin.o + crtend.o to extra_parts.
3532
8cc4b7a2
JM
35332014-09-12 Joseph Myers <joseph@codesourcery.com>
3534
3535 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
3536 __LIBGCC_HAS_SF_MODE__.
3537 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3538 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3539 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3540 * config/libbid/bid_gcc_intrinsics.h
3541 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3542 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3543 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3544 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3545 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
3546 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3547
ea3f2b24
GJL
35482014-09-11 Georg-Johann Lay <avr@gjlay.de>
3549
3550 PR target/63223
3551 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
3552 and R24 as needed. Make work for all devices and .text locations.
3553 (__do_global_ctors, __do_global_dtors): Use word addresses.
3554 (__tablejump__, __tablejump_elpm__): Remove functions.
3555 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
3556 Add _tablejump2.
3557 (XICALL, XIJMP): New macros.
3558
b677236a
MS
35592014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
3560 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3561
3562 * config.host (aarch64*): Include crtfastmath.o and
3563 t-crtfm.
3564 * config/aarch64/crtfastmath.c: New file.
3565
157e859f
TS
35662014-09-08 Trevor Saunders <tsaunders@mozilla.com>
3567
3568 * config.host: Remove picochip support.
3569 * config/picochip/adddi3.S: Remove.
3570 * config/picochip/ashlsi3.S: Remove.
3571 * config/picochip/ashlsi3.c: Remove.
3572 * config/picochip/ashrsi3.S: Remove.
3573 * config/picochip/ashrsi3.c: Remove.
3574 * config/picochip/clzsi2.S: Remove.
3575 * config/picochip/cmpsi2.S: Remove.
3576 * config/picochip/divmod15.S: Remove.
3577 * config/picochip/divmodhi4.S: Remove.
3578 * config/picochip/divmodsi4.S: Remove.
3579 * config/picochip/lib1funcs.S: Remove.
3580 * config/picochip/longjmp.S: Remove.
3581 * config/picochip/lshrsi3.S: Remove.
3582 * config/picochip/lshrsi3.c: Remove.
3583 * config/picochip/parityhi2.S: Remove.
3584 * config/picochip/popcounthi2.S: Remove.
3585 * config/picochip/setjmp.S: Remove.
3586 * config/picochip/subdi3.S: Remove.
3587 * config/picochip/t-picochip: Remove.
3588 * config/picochip/ucmpsi2.S: Remove.
3589 * config/picochip/udivmodhi4.S: Remove.
3590 * config/picochip/udivmodsi4.S: Remove.
3591
66bb34c0
JM
35922014-09-08 Joseph Myers <joseph@codesourcery.com>
3593
3594 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
3595 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
3596 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
3597 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
3598 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
3599 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
3600 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
3601 defined and LIBGCC2_HAS_DF_MODE is defined.
3602 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
3603 defined and LIBGCC2_HAS_XF_MODE is defined.
3604 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
3605 defined and LIBGCC2_HAS_TF_MODE is defined.
3606
9686a2e6
JM
36072014-09-08 Joseph Myers <joseph@codesourcery.com>
3608
3609 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
3610 and ROUND_TOWARDS_ZERO conditionals.
3611
71c3e2ef
NS
36122014-09-07 Nathan sidwell <nathan@acm.org>
3613
3614 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
3615 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
3616
53d68b9f
JM
36172014-09-05 Joseph Myers <joseph@codesourcery.com>
3618
3619 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
3620 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3621 uses to __LIBGCC_STACK_POINTER_REGNUM__.
3622 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3623 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3624 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3625 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3626 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
3627 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
3628 (DWARF_FRAME_REGISTERS): Change all uses to
3629 __LIBGCC_DWARF_FRAME_REGISTERS__.
3630 (EH_RETURN_STACKADJ_RTX): Change all uses to
3631 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3632 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
3633 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
3634 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
3635 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
3636 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
3637 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
3638 to __LIBGCC_EH_FRAME_SECTION_NAME__.
3639 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
3640 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
3641 __LIBGCC_STACK_POINTER_REGNUM__.
3642 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3643 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3644 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3645 to __LIBGCC_STACK_POINTER_REGNUM__.
3646 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3647 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3648 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3649 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3650 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3651 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3652 (STACK_POINTER_REGNUM): Change all uses to
3653 __LIBGCC_STACK_POINTER_REGNUM__.
3654 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
3655 use to __LIBGCC_STACK_POINTER_REGNUM__.
3656 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3657 uses to __LIBGCC_STACK_POINTER_REGNUM__.
3658 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
3659 to __LIBGCC_DWARF_FRAME_REGISTERS__.
3660 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
3661 to __LIBGCC_DWARF_FRAME_REGISTERS__.
3662 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3663 to __LIBGCC_STACK_POINTER_REGNUM__.
3664 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
3665 Remove conditional definition.
3666 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
3667 __LIBGCC_TEXT_SECTION_ASM_OP__.
3668 (EH_FRAME_SECTION_NAME): Change all uses to
3669 __LIBGCC_EH_FRAME_SECTION_NAME__.
3670 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
3671 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
3672 (CTORS_SECTION_ASM_OP): Change all uses to
3673 __LIBGCC_CTORS_SECTION_ASM_OP__.
3674 (DTORS_SECTION_ASM_OP): Change all uses to
3675 __LIBGCC_DTORS_SECTION_ASM_OP__.
3676 (JCR_SECTION_NAME): Change all uses to
3677 __LIBGCC_JCR_SECTION_NAME__.
3678 (INIT_SECTION_ASM_OP): Change all uses to
3679 __LIBGCC_INIT_SECTION_ASM_OP__.
3680 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3681 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3682 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
3683 __LIBGCC_STACK_GROWS_DOWNWARD__.
3684 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
3685 __LIBGCC_INIT_SECTION_ASM_OP__.
3686 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3687 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3688 (EH_FRAME_SECTION_NAME): Change all uses to
3689 __LIBGCC_EH_FRAME_SECTION_NAME__.
3690 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
3691 definitions. Change all uses to
3692 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
3693 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
3694 __LIBGCC_STACK_GROWS_DOWNWARD__.
3695 (DWARF_FRAME_REGISTERS): Change all uses to
3696 __LIBGCC_DWARF_FRAME_REGISTERS__.
3697 (EH_RETURN_STACKADJ_RTX): Change all uses to
3698 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3699 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
3700 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
3701 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
3702 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
3703 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
3704
b20ee094
NS
37052014-09-02 Nathan sidwell <nathan@acm.org>
3706
3707 * libgcov-interface.c (STRONG_ALIAS): New.
3708 (__gcov_flush): Call __gcov_reset_int.
3709 (__gcov_reset): Strong alias for ...
3710 (__gcov_reset_ing): ... this renamed hidden version.
3711 * libgcov.h (__gcov_reset_int): New declaration.
3712
1ac83976
YS
37132014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
3714
25efdb9f
YS
3715 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
3716 call from here...
3717 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
3718 (__dso_handle): Define on Cygwin.
3719 * config/i386/t-cygming (crtbeginS.o): New rule.
3720 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
3721
1ac83976
YS
3722 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
3723 declaration syntax.
3724
c6f9ea3b
SE
37252014-08-13 Steve Ellcey <sellcey@mips.com>
3726
3727 * crtstuff.c: Undef caddr_t.
3728
5b1ea7c5
SE
37292014-08-12 Steve Ellcey <sellcey@mips.com>
3730
3731 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
3732
4303c581
NS
37332014-08-07 Nathan Sidwell <nathan@acm.org>
3734
3735 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
3736 (LIBGCOV_DRIVER): ... to here.
3737 * libgcov.h (gcov_do_dump): New #define.
3738 (struct gcov_root): New.
3739 (__gcov_root): New declaration.
3740 (__gcov_dump_one): Declare.
3741 * libgcov-driver.c (gcov_list, gcov_dump_complete,
3742 run_accounted): Delete.
3743 (gcov_compute_histogram): Add LIST argument, adjust.
3744 (compute_summary): Adjust gcov_compute_histogram call.
3745 (gcov_do_dump): Not hidden, static in libgcov.
3746 (gcov_clear): Move to interface.c.
3747 (__gcov_dump_one): New, broken out of ...
3748 (gcov_exit): ... here. Make static.
3749 (__gcov_root): New.
3750 (__gcov_init): Adjust.
3751 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
3752 declarations.
3753 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
3754 (gcov_clear): Moved from driver.c. Add LIST argument.
3755 (__gcov_reset): Adjust for changed interfaces.
3756 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
3757
23742a9e
RAR
37582014-08-04 Rohit <rohitarulraj@freescale.com>
3759
3760 PR target/60102
3761 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
d406ae47 3762 based on change in SPE high register numbers and 3 HTM registers.
23742a9e 3763
b98a872b
NS
37642014-08-01 Nathan Sidwell <nathan@acm.org>
3765
3766 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
3767 LIBGCOV_INTERFACE): Reformat.
3768 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
3769 IN_GCOV_TOOL.
3770 * libgcov-interface.c: Reformat some comments.
3771 (__gcov_flush_mx): Add declaration. Tidy up definition.
3772
6adaaa1d
AM
37732014-07-31 Alan Modra <amodra@gmail.com>
3774 Peter Bergner <bergner@vnet.ibm.com>
3775
3776 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
3777 (pack_ldouble): New function.
3778 (__gcc_qadd): Use it.
3779 (__gcc_qmul): Likewise.
3780 (__gcc_qdiv): Likewise.
3781 (__gcc_qneg): Likewise.
3782 (__gcc_stoq): Likewise.
3783 (__gcc_dtoq): Likewise.
3784
87cb0c0c
UW
37852014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
3786
3787 * config/s390/tpf-unwind.h: Include <stdbool.h>.
3788 (__tpf_eh_return): Add original return address as second parameter.
3789 Handle cases where unwinder routines were called directly, instead
3790 of from within the C++ library.
3791
19926161
NS
37922014-07-29 Nathan Sidwell <nathan@acm.org>
3793
3794 * libgcov.h: Move renaming of entry points to lib gcov specific
3795 portion.
3796 (gcov_do_dump): New rename.
3797 (gcov_rewrite): Remove inline, make HIDDEN.
3798 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
3799 (gcov_exit_compute_summary): Rename to ...
3800 (compute_summary): ... here. Add LIST argument.
3801 (gcov_exit_merge_gcda): Rename to ...
3802 (merge_one_data): ... here.
3803 (gcov_exit_write_gcda): Rename to ...
3804 (write_one_data): ... here.
3805 (gcov_exit_merge_summary): Rename to ...
3806 (merge_summary): Add RUN_COUNTED argument.
3807 (gcov_exit_dump_gcov): Rename to ...
3808 (dump_one_gcov): Add RUN_COUNTED argument.
3809 (gcov_do_dump): New function, broken out of ...
3810 (gcov_exit): ... here. Call it.
3811
17522262
AG
38122014-07-27 Anthony Green <green@moxielogic.com>
3813
3814 * config.host: Add moxiebox configuration suppport.
3815
6dc33097
NS
38162014-07-27 Nathan Sidwell <nathan@acm.org>
3817
3818 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
3819 (struct gcov_filename): ... here. Include buffer and max length
3820 fields.
3821 (gcov_max_filename): Remove.
3822 (gi_filename): Remove.
3823 (gcov_exit_compute_summary): Compute max filename here.
3824 (gcov_exit_merge_gcda): Add filename parm, adjust.
3825 (gcov_exit_merge_summary): Likewise.
3826 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
3827 (gcov_exit): Likewise.
3828 (__gcov_init): Don't calculate max length here.
3829 * libgcov_util.c (max_filename_len): Remove.
3830 (read_gcda_file): Don't calculate max length here.
3831 (gcov_read_profile_dir): Don't propagate here.
3832 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
3833 struct gcov_filename changes.
3834 (gcov_exit_open_gcda_file): Likewise.
3835
770f687d
NS
38362014-07-25 Nathan Sidwell <nathan@acm.org>
3837
3838 * libgcov-driver.c (set_gcov_dump_complete,
3839 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
3840 functions polluting user's namespace.
3841 (gcov_exit): Set variable directly.
3842 (gcov_clear): Reset variable directly.
3843 * libgcov-interface.c (get_gcov_dymp_complete,
3844 reset_gov_dump_complete): Remove declarations.
3845 (__gcov_reset, __gcov_dump): Don't call them.
3846
fabf71ba
DD
38472014-07-24 DJ Delorie <dj@redhat.com>
3848
3849 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
770f687d
NS
3850 (__gcc_deregister_frame): Move logic to detect deregister function
3851 to ...
3852 (__gcc_register_frame): here, so it's consistent with the register
3853 logic.
fabf71ba 3854
d10ee722
NS
38552014-07-23 Nathan Sidwell <nathan@acm.org>
3856
3857 * libgcov-driver.c (set_gcov_list): Remove.
3858 (gcov_list): Make non-static in GCOV_TOOL.
3859 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
3860
a4137090
JDA
38612014-07-17 John David Anglin <danglin@gcc.gnu.org>
3862
3863 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
3864 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
3865 Don't use SYNC_LOCK_RELEASE for int type.
3866
72602c6c
RB
38672014-07-14 Richard Biener <rguenther@suse.de>
3868
3869 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
3870
d5313205
RX
38712014-07-11 Rong Xu <xur@google.com>
3872
3873 * libgcov-util.c (gcov_max_filename): Fix declartion.
3874
c77556a5
RX
38752014-07-10 Rong Xu <xur@google.com>
3876
3877 Add gcov-tool: an offline gcda profile processing tool
3878 Support.
3879 * libgcov-driver.c (gcov_max_filename): Make available
3880 to gcov-tool.
3881 * libgcov-merge.c (__gcov_merge_add): Replace
3882 gcov_read_counter() with a Macro.
3883 (__gcov_merge_ior): Ditto.
3884 (__gcov_merge_time_profile): Ditto.
3885 (__gcov_merge_single): Ditto.
3886 (__gcov_merge_delta): Ditto.
3887 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
3888 in the utility functions.
3889 (set_fn_ctrs): Utility function for reading gcda files to in-memory
3890 gcov_list object link lists.
3891 (tag_function): Ditto.
3892 (tag_blocks): Ditto.
3893 (tag_arcs): Ditto.
3894 (tag_lines): Ditto.
3895 (tag_counters): Ditto.
3896 (tag_summary): Ditto.
3897 (read_gcda_finalize): Ditto.
3898 (read_gcda_file): Ditto.
3899 (ftw_read_file): Ditto.
3900 (read_profile_dir_init): Ditto.
3901 (gcov_read_profile_dir): Ditto.
3902 (gcov_read_counter_mem): Ditto.
3903 (gcov_get_merge_weight): Ditto.
3904 (merge_wrapper): A wrapper function that calls merging handler.
3905 (gcov_merge): Merge two gcov_info objects with weights.
3906 (find_match_gcov_info): Find the matched gcov_info in the list.
3907 (gcov_profile_merge): Merge two gcov_info object lists.
3908 (__gcov_add_counter_op): Process edge profile counter values.
3909 (__gcov_ior_counter_op): Process IOR profile counter values.
3910 (__gcov_delta_counter_op): Process delta profile counter values.
3911 (__gcov_single_counter_op): Process single profile counter values.
3912 (fp_scale): Callback function for float-point scaling.
cc86234f 3913 (int_scale): Callback function for integer fraction scaling.
c77556a5
RX
3914 (gcov_profile_scale): Scaling profile counters.
3915 (gcov_profile_normalize): Normalize profile counters.
3916 * libgcov.h: Add headers and functions for gcov-tool use.
3917 (gcov_get_counter): New.
3918 (gcov_get_counter_target): Ditto.
3919 (struct gcov_info): Make the functions field mutable in gcov-tool
3920 compilation.
3921
5c7dac8a
KT
39222014-06-23 Kai Tietz <ktietz@redhat.com>
3923
3924 PR libgcc/61585
3925 * unwind-seh.c (_Unwind_GetGR): Check for proper
3926 index range.
3927 (_Unwind_SetGR): Likewise.
3928
161c9312
NC
39292014-05-22 Nick Clifton <nickc@redhat.com>
3930
3931 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
3932 -mhwmult=none.
3933
e3f0315f
TJ
39342014-05-22 Teresa Johnson <tejohnson@google.com>
3935
3936 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
3937 include.
3938
dbed5a9b
JM
39392014-05-20 John Marino <gnugcc@marino.st>
3940
3941 * config.host (*-*-dragonfly*): New target.
3942 * crtstuff.c: Make dl_iterate_support generic on *bsd.
3943 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
3944 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
3945 * config/i386/dragonfly-unwind.h: New.
3946
1ec380e5
MR
39472014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
3948
3949 PR libgcc/60166
3950 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
3951 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
3952
54fde020
BE
39532014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
3954
3955 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
3956 implementation.
3957
999db125
GJL
39582014-05-12 Georg-Johann Lay <avr@gjlay.de>
3959
3960 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
3961
cceaf54a
RO
39622014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3963
3964 PR libgcc/61097
3965 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
3966 if --enable-shared.
3967
e3fe9b5b
BE
39682014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
3969
3970 Work around for current cygwin32 build problems.
3971 * config/i386/cygming-crtbegin.c (__register_frame_info,
3972 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
3973 functions only for 64-bit systems.
3974
54cf37e9
RO
39752014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3976
3977 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
3978 (sigill_caught, sigill_hdlr): Remove.
3979
d9f069ab
RO
39802014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3981
3982 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
3983 check.
3984 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
3985 Solaris 9 single-threaded support.
3986 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
3987 Solaris 9 single-threaded support. Add call_user_handler code
3988 sequences.
3989 (sparc_is_sighandler): Likewise.
3990
59976ef8
AK
39912014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3992
3993 * config.host: Append t-floattodi to tmake_file depending on
3994 host_address.
3995
d02bbcf3
JS
39962014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
3997
31466bc0 3998 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
d02bbcf3 3999
c2e7e597
UB
40002014-03-10 Uros Bizjak <ubizjak@gmail.com>
4001
4002 PR libgcc/60472
4003 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2405e0ea 4004 variable to avoid "array subscript is above array bounds" warnings.
c2e7e597
UB
4005 Use __builtin_expect when checking *jcr_list for NULL.
4006
227a7dc8
RO
40072014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4008
4009 PR libgcc/59339
4010 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
4011 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
4012 vtv_*.o to extra_parts if enable_vtable_verify.
4013
df2b279c
NC
40142014-03-06 Nick Clifton <nickc@redhat.com>
4015
4016 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
4017 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
4018
dc11d79b
JY
40192014-02-28 Joey Ye <joey.ye@arm.com>
4020
4021 PR libgcc/60166
4022 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
4023 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
4024 Set to zero.
4025
341c653c
WL
40262014-02-24 Walter Lee <walt@tilera.com>
4027
4028 * config.host: Support "tilegx*" and "tilepro*" triplets.
4029 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
4030 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
4031
95ce7613
CLT
40322014-02-20 Sandra Loosemore <sandra@codesourcery.com>
4033 Chung-Lin Tang <cltang@codesourcery.com>
4034
4035 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
4036 * config/nios2/crti.S: Remove .file directive.
4037 * config/nios2/crtn.S: Likewise.
4038
0bb4fc05
KT
40392014-02-18 Kai Tietz <ktietz@redhat.com>
4040 Jonathan Schleifer <js@webkeks.org>
4041
4042 PR objc/56870
4043 * unwind-seh.c (_GCC_specific_handler): Pass proper
4044 value to unwind-handler.
4045
9acf28f1
JM
40462014-02-12 Joseph Myers <joseph@codesourcery.com>
4047
4048 * soft-fp/adddf3.c: Update from glibc.
4049 * soft-fp/addsf3.c: Likewise.
4050 * soft-fp/addtf3.c: Likewise.
4051 * soft-fp/divdf3.c: Likewise.
4052 * soft-fp/divsf3.c: Likewise.
4053 * soft-fp/divtf3.c: Likewise.
4054 * soft-fp/double.h: Likewise.
4055 * soft-fp/eqdf2.c: Likewise.
4056 * soft-fp/eqsf2.c: Likewise.
4057 * soft-fp/eqtf2.c: Likewise.
4058 * soft-fp/extenddftf2.c: Likewise.
4059 * soft-fp/extended.h: Likewise.
4060 * soft-fp/extendsfdf2.c: Likewise.
4061 * soft-fp/extendsftf2.c: Likewise.
4062 * soft-fp/extendxftf2.c: Likewise.
4063 * soft-fp/fixdfdi.c: Likewise.
4064 * soft-fp/fixdfsi.c: Likewise.
4065 * soft-fp/fixdfti.c: Likewise.
4066 * soft-fp/fixsfdi.c: Likewise.
4067 * soft-fp/fixsfsi.c: Likewise.
4068 * soft-fp/fixsfti.c: Likewise.
4069 * soft-fp/fixtfdi.c: Likewise.
4070 * soft-fp/fixtfsi.c: Likewise.
4071 * soft-fp/fixtfti.c: Likewise.
4072 * soft-fp/fixunsdfdi.c: Likewise.
4073 * soft-fp/fixunsdfsi.c: Likewise.
4074 * soft-fp/fixunsdfti.c: Likewise.
4075 * soft-fp/fixunssfdi.c: Likewise.
4076 * soft-fp/fixunssfsi.c: Likewise.
4077 * soft-fp/fixunssfti.c: Likewise.
4078 * soft-fp/fixunstfdi.c: Likewise.
4079 * soft-fp/fixunstfsi.c: Likewise.
4080 * soft-fp/fixunstfti.c: Likewise.
4081 * soft-fp/floatdidf.c: Likewise.
4082 * soft-fp/floatdisf.c: Likewise.
4083 * soft-fp/floatditf.c: Likewise.
4084 * soft-fp/floatsidf.c: Likewise.
4085 * soft-fp/floatsisf.c: Likewise.
4086 * soft-fp/floatsitf.c: Likewise.
4087 * soft-fp/floattidf.c: Likewise.
4088 * soft-fp/floattisf.c: Likewise.
4089 * soft-fp/floattitf.c: Likewise.
4090 * soft-fp/floatundidf.c: Likewise.
4091 * soft-fp/floatundisf.c: Likewise.
4092 * soft-fp/floatunditf.c: Likewise.
4093 * soft-fp/floatunsidf.c: Likewise.
4094 * soft-fp/floatunsisf.c: Likewise.
4095 * soft-fp/floatunsitf.c: Likewise.
4096 * soft-fp/floatuntidf.c: Likewise.
4097 * soft-fp/floatuntisf.c: Likewise.
4098 * soft-fp/floatuntitf.c: Likewise.
4099 * soft-fp/gedf2.c: Likewise.
4100 * soft-fp/gesf2.c: Likewise.
4101 * soft-fp/getf2.c: Likewise.
4102 * soft-fp/ledf2.c: Likewise.
4103 * soft-fp/lesf2.c: Likewise.
4104 * soft-fp/letf2.c: Likewise.
4105 * soft-fp/muldf3.c: Likewise.
4106 * soft-fp/mulsf3.c: Likewise.
4107 * soft-fp/multf3.c: Likewise.
4108 * soft-fp/negdf2.c: Likewise.
4109 * soft-fp/negsf2.c: Likewise.
4110 * soft-fp/negtf2.c: Likewise.
4111 * soft-fp/op-1.h: Likewise.
4112 * soft-fp/op-2.h: Likewise.
4113 * soft-fp/op-4.h: Likewise.
4114 * soft-fp/op-8.h: Likewise.
4115 * soft-fp/op-common.h: Likewise.
4116 * soft-fp/quad.h: Likewise.
4117 * soft-fp/single.h: Likewise.
4118 * soft-fp/soft-fp.h: Likewise.
4119 * soft-fp/subdf3.c: Likewise.
4120 * soft-fp/subsf3.c: Likewise.
4121 * soft-fp/subtf3.c: Likewise.
4122 * soft-fp/truncdfsf2.c: Likewise.
4123 * soft-fp/trunctfdf2.c: Likewise.
4124 * soft-fp/trunctfsf2.c: Likewise.
4125 * soft-fp/trunctfxf2.c: Likewise.
4126 * soft-fp/unorddf2.c: Likewise.
4127 * soft-fp/unordsf2.c: Likewise.
4128 * soft-fp/unordtf2.c: Likewise.
4129 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
4130 macro.
4131 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4132 Likewise.
4133 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4134 Likewise.
4135 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4136 Likewise.
4137 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4138 Likewise.
4139 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4140 Likewise.
4141 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4142 Likewise.
4143 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4144 Likewise.
4145 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4146 Likewise.
4147 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4148 Likewise.
4149 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4150 Likewise.
4151 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4152 Likewise.
4153 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4154 Likewise.
4155 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
4156 Likewise.
4157 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
4158 Likewise.
4159 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4160 Likewise.
4161
ce245ec6
AK
41622014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4163
4164 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
4165 cannot be represented.
4166 * config/s390/32/_fixsfdi.c: Likewise.
4167 * config/s390/32/_fixtfdi.c: Likewise.
4168 * config/s390/32/_fixunsdfdi.c: Likewise.
4169 * config/s390/32/_fixunssfdi.c: Likewise.
4170 * config/s390/32/_fixunstfdi.c: Likewise.
4171
1c51d688
RS
41722014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
4173
4174 * configure.ac (libgcc_cv_mips_hard_float): New.
4175 * configure: Regenerate.
4176 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
4177 t-softfp-sfdf for hard-float targets.
4178 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
4179 (softfp_float_modes, softfp_int_modes, softfp_extensions)
4180 (softfp_truncations, softfp_exclude_libgcc2): New.
4181 * config/t-hardfp: New file.
4182 * config/t-hardfp-sfdf: Likewise.
4183 * config/hardfp.c: Likewise.
4184
bbf391db
AK
41852014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4186
4187 * config.host: Include t-floattodi also for s390x.
4188 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
4189 * config/s390/32/_fixsfdi.c: Likewise.
4190 * config/s390/32/_fixtfdi.c: Likewise.
4191 * config/s390/32/_fixunsdfdi.c: Likewise.
4192 * config/s390/32/_fixunssfdi.c: Likewise.
4193 * config/s390/32/_fixunstfdi.c: Likewise.
4194
91da0481
RO
41952014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4196
4197 PR target/59788
4198 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
4199 (install-libgcc-unwind-map-forbuild): New target.
4200 (all): Depend on install-libgcc-unwind-map-forbuild.
4201 (install-libgcc-unwind-map): New target.
4202 (install): Depend on install-libgcc-unwind-map.
4203
02b67731
SL
42042014-02-02 Sandra Loosemore <sandra@codesourcery.com>
4205
4206 * config/nios2/crti.S (_init): Initialize GOT pointer from
4207 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
4208
1ea0a651
RS
42092014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
4210
4211 * configure.ac: Check __mips64 when setting host_address.
4212 * configure: Regenerate.
4213 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
4214 mips/t-mips64 and t-softfp.
4215 (mips*-*-linux*): Don't add mips/t-tpbit.
4216 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
4217 (DPBIT, DPBIT_CFLAGS): Delete.
4218 * config/mips/sfp-machine.h: New file.
4219 * config/mips/t-mips64: Likewise.
4220 * config/mips/t-softfp-tf: Likewise.
4221 * config/mips/t-tpbit: Delete.
4222
f32b0061
MS
42232014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
4224
4225 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
4226 as long long.
4227
a5420aa4
WL
42282014-01-25 Walter Lee <walt@tilera.com>
4229
4230 * config/tilepro/atomic.c: Include tconfig.h. Don't include
4231 config.h or system.h.
4232 (bool) Define.
4233
24534912
WL
42342014-01-25 Walter Lee <walt@tilera.com>
4235
4236 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
4237 (post_atomic_barrier): Ditto.
4238 (__fetch_and_do): New macro.
4239 (__atomic_fetch_and_do): Use __fetch_and_do.
4240 (__sync_fetch_and_do): New macro.
4241 (__sync_fetch_and_add_4): New function.
4242 (__sync_fetch_and_sub_4): New function.
4243 (__sync_fetch_and_or_4): New function.
4244 (__sync_fetch_and_and_4): New function.
4245 (__sync_fetch_and_xor_4): New function.
4246 (__sync_fetch_and_nand_4): New function.
4247 (__sync_fetch_and_add_8): New function.
4248 (__sync_fetch_and_sub_8): New function.
4249 (__sync_fetch_and_or_8): New function.
4250 (__sync_fetch_and_and_8): New function.
4251 (__sync_fetch_and_xor_8): New function.
4252 (__sync_fetch_and_nand_8): New function.
4253 (__do_and_fetch): New macro.
4254 (__atomic_do_and_fetch): Use __do_and_fetch.
4255 (__sync_do_and_fetch): New macro.
4256 (__sync_add_and_fetch_4): New function.
4257 (__sync_sub_and_fetch_4): New function.
4258 (__sync_or_and_fetch_4): New function.
4259 (__sync_and_and_fetch_4): New function.
4260 (__sync_xor_and_fetch_4): New function.
4261 (__sync_nand_and_fetch_4): New function.
4262 (__sync_add_and_fetch_8): New function.
4263 (__sync_sub_and_fetch_8): New function.
4264 (__sync_or_and_fetch_8): New function.
4265 (__sync_and_and_fetch_8): New function.
4266 (__sync_xor_and_fetch_8): New function.
4267 (__sync_nand_and_fetch_8): New function.
4268 (__sync_exchange_methods): New macro.
4269 (__sync_val_compare_and_swap_4): New function.
4270 (__sync_bool_compare_and_swap_4): New function.
4271 (__sync_lock_test_and_test_4): New function.
4272 (__sync_val_compare_and_swap_8): New function.
4273 (__sync_bool_compare_and_swap_8): New function.
4274 (__sync_lock_test_and_test_8): New function.
4275 (__subword_cmpxchg_body): New macro.
4276 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
4277 (__atomic_compare_exchange_2): Ditto.
4278 (__sync_subword_cmpxchg): New macro.
4279 (__sync_val_compare_and_swap_1): New function.
4280 (__sync_bool_compare_and_swap_1): New function.
4281 (__sync_val_compare_and_swap_2): New function.
4282 (__sync_bool_compare_and_swap_2): New function.
4283 (__atomic_subword): Rename to ...
4284 (__subword): ... New name.
4285 (__atomic_subword_fetch): Use __subword.
4286 (__sync_subword_fetch): New macro.
4287 (__sync_fetch_and_add_1): New function.
4288 (__sync_fetch_and_sub_1): New function.
4289 (__sync_fetch_and_or_1): New function.
4290 (__sync_fetch_and_and_1): New function.
4291 (__sync_fetch_and_xor_1): New function.
4292 (__sync_fetch_and_nand_1): New function.
4293 (__sync_fetch_and_add_2): New function.
4294 (__sync_fetch_and_sub_2): New function.
4295 (__sync_fetch_and_or_2): New function.
4296 (__sync_fetch_and_and_2): New function.
4297 (__sync_fetch_and_xor_2): New function.
4298 (__sync_fetch_and_nand_2): New function.
4299 (__sync_add_and_fetch_1): New function.
4300 (__sync_sub_and_fetch_1): New function.
4301 (__sync_or_and_fetch_1): New function.
4302 (__sync_and_and_fetch_1): New function.
4303 (__sync_xor_and_fetch_1): New function.
4304 (__sync_nand_and_fetch_1): New function.
4305 (__sync_add_and_fetch_2): New function.
4306 (__sync_sub_and_fetch_2): New function.
4307 (__sync_or_and_fetch_2): New function.
4308 (__sync_and_and_fetch_2): New function.
4309 (__sync_xor_and_fetch_2): New function.
4310 (__sync_nand_and_fetch_2): New function.
4311 (__atomic_subword_lock): Use __subword.
4312 (__sync_subword_lock): New macro.
4313 (__sync_lock_test_and_set_1): New function.
4314 (__sync_lock_test_and_set_2): New function.
4315
4d6d3bc5
WL
43162014-01-25 Walter Lee <walt@tilera.com>
4317
4318 * config/tilepro/atomic.c (BIT_OFFSET): Define.
4319 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
4320 (__atomic_subword): Ditto.
4321
cbd9890e
WL
43222014-01-25 Walter Lee <walt@tilera.com>
4323
4324 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
4325 a prefix op argument.
4326 (__atomic_nand_fetch_4): Add prefix op.
4327 (__atomic_nand_fetch_8): Ditto.
4328
7d296953 43292014-01-21 Baruch Siach <barch@tkos.co.il>
800d8bd5
BS
4330
4331 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
4332
46dd1242
L
43332014-01-09 Rong Xu <xur@google.com>
4334
4335 * libgcov-driver.c (this_prg): make it local to save
4336 bss space.
4337 (gcov_exit_compute_summary): Ditto.
4338 (gcov_exit_merge_gcda): Ditto.
4339 (gcov_exit_merge_summary): Ditto.
4340 (gcov_exit_dump_gcov): Ditto.
4341
cc86234f 43422014-01-08 Rong Xu <xur@google.com>
40d6b753
RX
4343
4344 * libgcov-driver.c: Use libgcov.h.
4345 (buffer_fn_data): Use xmalloc instead of malloc.
4346 (gcov_exit_merge_gcda): Ditto.
4347 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
4348 * libgcov.h: New common header files for libgcov-*.h.
4349 * libgcov-interface.c: Use libgcov.h
4350 * libgcov-merge.c: Ditto.
4351 * libgcov-profiler.c: Ditto.
4352 * Makefile.in: Add dependence to libgcov.h
4353
a02e7bdd
JM
43542014-01-02 Joseph Myers <joseph@codesourcery.com>
4355
4356 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
4357 case of small numerator and finite nonzero result.
4358
ac1dca3c
RS
43592014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4360
4361 Update copyright years
4362
f9030485
RS
43632014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4364
4365 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
4366 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
4367 config/arc/dp-hack.h, config/arc/fp-hack.h,
4368 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
4369 config/arc/ieee-754/arc600-dsp/divdf3.S,
4370 config/arc/ieee-754/arc600-dsp/divsf3.S,
4371 config/arc/ieee-754/arc600-dsp/muldf3.S,
4372 config/arc/ieee-754/arc600-dsp/mulsf3.S,
4373 config/arc/ieee-754/arc600-mul64/divdf3.S,
4374 config/arc/ieee-754/arc600-mul64/divsf3.S,
4375 config/arc/ieee-754/arc600-mul64/muldf3.S,
4376 config/arc/ieee-754/arc600-mul64/mulsf3.S,
4377 config/arc/ieee-754/arc600/divsf3.S,
4378 config/arc/ieee-754/arc600/mulsf3.S,
4379 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
4380 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
4381 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
4382 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
4383 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
4384 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
4385 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
4386 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
4387 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
4388 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
4389 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
4390 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
4391 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
4392 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
4393 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
4394 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
4395 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
4396 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
4397 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
4398 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
4399 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
4400 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
4401 vtv_start_preinit.c: Use the standard form for the copyright notice.
4402
e430824f
CLT
44032013-12-31 Sandra Loosemore <sandra@codesourcery.com>
4404 Chung-Lin Tang <cltang@codesourcery.com>
4405 Based on patches from Altera Corporation
4406
4407 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
4408 * config/nios2/lib2-nios2.h: New file.
4409 * config/nios2/lib2-divmod-hi.c: New file.
4410 * config/nios2/linux-unwind.h: New file.
4411 * config/nios2/lib2-divmod.c: New file.
4412 * config/nios2/linux-atomic.c: New file.
4413 * config/nios2/t-nios2: New file.
4414 * config/nios2/crti.asm: New file.
4415 * config/nios2/t-linux: New file.
4416 * config/nios2/lib2-divtable.c: New file.
4417 * config/nios2/lib2-mul.c: New file.
4418 * config/nios2/tramp.c: New file.
4419 * config/nios2/crtn.asm: New file.
4420
1879e97f
UB
44212013-12-26 Uros Bizjak <ubizjak@gmail.com>
4422
4423 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
4424 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
4425 from cpuid.h to check vendor signatures.
4426
f4a4bdbb
GG
44272013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
4428
c2e7e597 4429 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
f4a4bdbb
GG
4430 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
4431 (get_amd_cpu): Likewise.
4432
8d2ae544
L
44332013-12-25 H.J. Lu <hongjiu.lu@intel.com>
4434
4435 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
4436 Haswell.
4437
74924838
ASJ
44382013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
4439 H.J. Lu <hongjiu.lu@intel.com>
4440
0bb52f25
L
4441 PR target/59422
4442 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
74924838
ASJ
4443 and AMD_JAGUAR.
4444 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
4445 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
4446 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
4447 FEATURE_XOP and FEATURE_FMA.
4448 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
4449 AMDFAM15H_BDVER3.
4450 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
0bb52f25 4451 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
74924838
ASJ
4452 FEATURE_FMA4 and FEATURE_XOP.
4453
d3c11974
L
44542013-12-23 H.J. Lu <hongjiu.lu@intel.com>
4455
4456 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
4457 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
4458 (get_intel_cpu): Updated.
4459
064c4ff2
ZC
44602013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
4461
4462 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
4463
8b02e720
UB
44642013-12-09 Uros Bizjak <ubizjak@gmail.com>
4465
4466 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1f71a3c3 4467 instructions when __SSE_MATH__ is defined.
8b02e720 4468
3fa2ccb4
RC
44692013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
4470
4471 * config.host (microblaze-*-rtems*): New.
4472
ecd78fc9
KV
44732013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
4474
4475 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
4476 architectures that do not have hardware divide instruction.
4477 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
4478
b21fbbd2
RS
44792013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
4480
4481 * longlong.h: Delete (moved to include/).
4482
b03fb8c9
AZ
44832013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4484
4485 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
4486 of normal number and qNaN to not raise an inexact exception.
4487
3c716922
UB
44882013-11-28 Uros Bizjak <ubizjak@gmail.com>
4489
4490 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
4491
44922013-11-28 Matthew Leach <matthew.leach@arm.com>
cceeb9a9
ML
4493
4494 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
4495 for correct opcodes on BE.
4496
a3458d22
UB
44972013-11-27 Uros Bizjak <ubizjak@gmail.com>
4498
4499 * soft-fp/op-4.h: Update from glibc.
4500
30b8f78b
KV
45012013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
4502
4503 * libgcc2.c (__udivmoddi4): Define new implementation when
4504 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
4505 divide instructions.
4506
82552a29
OE
45072013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
4508
4509 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
4510
80e87457
RO
45112013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4512
4513 * config/t-softfp (soft-fp-objects-base): New variable.
4514 (soft-fp-objects): Use it.
4515
44178879
DE
45162013-11-23 David Edelson <dje.gcc@gmail.com>
4517 Andrew Dixie <andrewd@gentrack.com>
4518
4519 PR target/33704
4520 * config/rs6000/aixinitfini.c: New file.
4521 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
4522 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
4523 symbols.
4524
e5287671
YR
45252013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
4526
a3458d22 4527 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
e5287671 4528
867c8b03
JH
45292013-11-18 Jan Hubicka <jh@suse.cz>
4530
7f369373
JH
4531 * libgcov-driver.c (run_accounted): Make global level static.
4532 (gcov_exit_merge_summary): Silence warning; do not clear
4533 run_accounted here.
4534 (gcov_exit): Clear it here.
4535
1d0b3334
JH
4536 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
4537 run_accounted.
4538
867c8b03
JH
4539 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
4540 (all_prg, crc32): Remove static vars.
4541 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
4542 all_prg.
4543 (gcov_exit_merge_gcda): Add crc32 parameter.
4544 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
4545 do not account run if it was already accounted.
4546 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
4547 (gcov_exit): Initialize all_prg; update.
4548
66204992
AS
45492013-11-15 Andreas Schwab <schwab@linux-m68k.org>
4550
4551 * configure: Regenerate.
4552
b54214fe
UW
45532013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4554 Alan Modra <amodra@gmail.com>
4555
4556 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
4557 (frob_update_context): Use it.
4558
45592013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4560 Alan Modra <amodra@gmail.com>
4561
4562 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
4563 (trampoline_initial): Provide ELFv2 variant.
4564 (__trampoline_setup): Likewise.
4565
4566 * config/rs6000/linux-unwind.h (frob_update_context): Do not
4567 check for AIX indirect function call sequence if _CALL_ELF == 2.
4568
45692013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4570 Alan Modra <amodra@gmail.com>
4571
4572 * config/rs6000/linux-unwind.h (get_regs): Do not support
4573 old kernel versions if _CALL_ELF == 2.
4574 (frob_update_context): Do not support PLT stub variants only
4575 generated by old linkers if _CALL_ELF == 2.
4576
13e0981a
UW
45772013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4578 Alan Modra <amodra@gmail.com>
4579
4580 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
4581 location of CR save area for 64-bit little-endian systems.
4582
1a80085d
EB
45832013-11-11 Eric Botcazou <ebotcazou@adacore.com>
4584
4585 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
4586 in tmake_file.
4587 * config/arm/t-vxworks: Delete.
4588
cabeea52
KT
45892013-11-10 Kai Tietz <ktietz@redhat.com>
4590
4591 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
4592 Increment load-count on use of LIBGCC_SONAME DLL.
4593 (hmod_libgcc): New static variable to hold handle of
4594 LIBGCC_SONAME DLL.
4595 (__gcc_deregister_frame): Decrement load-count of
4596 LIBGCC_SONAME DLL.
4597
ac088ba1
BRF
45982013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
4599
4600 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
4601 availability.
4602 * configure: Regenerate
4603
d59a8fcc
UB
46042013-11-07 Uros Bizjak <ubizjak@gmail.com>
4605
4606 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
4607 FP_EX_DENORM. Store result to volatile location after SSE division
4608 to close interrupt window. Remove unneeded fwait after x87
4609 division since interrupt window will be closed by emitted fstp.
9de84e84 4610 Rewrite FP_EX_INEXACT handling.
d59a8fcc 4611
9954c743
JM
46122013-11-06 Joseph Myers <joseph@codesourcery.com>
4613
4614 * soft-fp/README: Update.
4615 * soft-fp/adddf3.c: Update from glibc.
4616 * soft-fp/addsf3.c: Likewise.
4617 * soft-fp/addtf3.c: Likewise.
4618 * soft-fp/divdf3.c: Likewise.
4619 * soft-fp/divsf3.c: Likewise.
4620 * soft-fp/divtf3.c: Likewise.
4621 * soft-fp/double.h: Likewise.
4622 * soft-fp/eqdf2.c: Likewise.
4623 * soft-fp/eqsf2.c: Likewise.
4624 * soft-fp/eqtf2.c: Likewise.
4625 * soft-fp/extenddftf2.c: Likewise.
4626 * soft-fp/extended.h: Likewise.
4627 * soft-fp/extendsfdf2.c: Likewise.
4628 * soft-fp/extendsftf2.c: Likewise.
4629 * soft-fp/extendxftf2.c: Likewise.
4630 * soft-fp/fixdfdi.c: Likewise.
4631 * soft-fp/fixdfsi.c: Likewise.
4632 * soft-fp/fixdfti.c: Likewise.
4633 * soft-fp/fixsfdi.c: Likewise.
4634 * soft-fp/fixsfsi.c: Likewise.
4635 * soft-fp/fixsfti.c: Likewise.
4636 * soft-fp/fixtfdi.c: Likewise.
4637 * soft-fp/fixtfsi.c: Likewise.
4638 * soft-fp/fixtfti.c: Likewise.
4639 * soft-fp/fixunsdfdi.c: Likewise.
4640 * soft-fp/fixunsdfsi.c: Likewise.
4641 * soft-fp/fixunsdfti.c: Likewise.
4642 * soft-fp/fixunssfdi.c: Likewise.
4643 * soft-fp/fixunssfsi.c: Likewise.
4644 * soft-fp/fixunssfti.c: Likewise.
4645 * soft-fp/fixunstfdi.c: Likewise.
4646 * soft-fp/fixunstfsi.c: Likewise.
4647 * soft-fp/fixunstfti.c: Likewise.
4648 * soft-fp/floatdidf.c: Likewise.
4649 * soft-fp/floatdisf.c: Likewise.
4650 * soft-fp/floatditf.c: Likewise.
4651 * soft-fp/floatsidf.c: Likewise.
4652 * soft-fp/floatsisf.c: Likewise.
4653 * soft-fp/floatsitf.c: Likewise.
4654 * soft-fp/floattidf.c: Likewise.
4655 * soft-fp/floattisf.c: Likewise.
4656 * soft-fp/floattitf.c: Likewise.
4657 * soft-fp/floatundidf.c: Likewise.
4658 * soft-fp/floatundisf.c: Likewise.
4659 * soft-fp/floatunditf.c: Likewise.
4660 * soft-fp/floatunsidf.c: Likewise.
4661 * soft-fp/floatunsisf.c: Likewise.
4662 * soft-fp/floatunsitf.c: Likewise.
4663 * soft-fp/floatuntidf.c: Likewise.
4664 * soft-fp/floatuntisf.c: Likewise.
4665 * soft-fp/floatuntitf.c: Likewise.
4666 * soft-fp/gedf2.c: Likewise.
4667 * soft-fp/gesf2.c: Likewise.
4668 * soft-fp/getf2.c: Likewise.
4669 * soft-fp/ledf2.c: Likewise.
4670 * soft-fp/lesf2.c: Likewise.
4671 * soft-fp/letf2.c: Likewise.
4672 * soft-fp/muldf3.c: Likewise.
4673 * soft-fp/mulsf3.c: Likewise.
4674 * soft-fp/multf3.c: Likewise.
4675 * soft-fp/negdf2.c: Likewise.
4676 * soft-fp/negsf2.c: Likewise.
4677 * soft-fp/negtf2.c: Likewise.
4678 * soft-fp/op-1.h: Likewise.
4679 * soft-fp/op-2.h: Likewise.
4680 * soft-fp/op-4.h: Likewise.
4681 * soft-fp/op-8.h: Likewise.
4682 * soft-fp/op-common.h: Likewise.
4683 * soft-fp/quad.h: Likewise.
4684 * soft-fp/single.h: Likewise.
4685 * soft-fp/soft-fp.h: Likewise.
4686 * soft-fp/subdf3.c: Likewise.
4687 * soft-fp/subsf3.c: Likewise.
4688 * soft-fp/subtf3.c: Likewise.
4689 * soft-fp/truncdfsf2.c: Likewise.
4690 * soft-fp/trunctfdf2.c: Likewise.
4691 * soft-fp/trunctfsf2.c: Likewise.
4692 * soft-fp/trunctfxf2.c: Likewise.
4693 * soft-fp/unorddf2.c: Likewise.
4694 * soft-fp/unordsf2.c: Likewise.
4695 * soft-fp/unordtf2.c: Likewise.
4696
02ac9503
UB
46972013-11-05 Uros Bizjak <ubizjak@gmail.com>
4698
4699 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
4700 (_FP_MUL_MEAT_D): Ditto.
4701 (_FP_DIV_MEAT_S): Ditto.
4702 (_FP_DIV_MEAT_D): Ditto.
4703 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
4704 t-softfp-sfdf and t-softfp to tmake_file.
4705
61221141
UB
47062013-11-03 Uros Bizjak <ubizjak@gmail.com>
4707
4708 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
4709 * config/i386/crtprec.c: Ditto.
4710
9304f876
CJW
47112013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
4712 Shiva Chen <shiva0217@gmail.com>
4713
4714 * config.host (nds32*-elf*): Add nds32 target.
4715 * config/nds32 : New directory and files.
4716
0e499e75
HPN
47172013-10-16 Hans-Peter Nilsson <hp@axis.com>
4718
4719 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
4720 * config.host (cpu_type) <Setting default>: Add entry for
4721 crisv32-*-*.
4722 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
4723 <crisv32-*-linux*>: Adjust.
4724 * longlong.h: Wrap the whole CRIS section in a single
4725 defined(__CRIS__) conditional. Add comment about add_ssaaaa
4726 and sub_ddmmss.
4727 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
4728 defined.
4729 [__CRIS__] (__umulsidi3): Define.
4730 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
4731 * config/cris/sfp-machine.h: New file.
4732 * config/cris/umulsidi3.S: New file.
4733 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
4734 * config/cris/arit.c (SIGNMULT): New macro.
4735 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
4736 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
4737 saving 3 out of originally 33 cycles from the fastest
4738 path, 3 out of 54 from the medium path and one from the longest
4739 path. Improve comments.
4740
16022041
RS
47412013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
4742
4743 * sync.c: Remove static aliases and define each function directly
4744 under its real name.
4745
69778659
JDA
47462013-10-02 John David Anglin <danglin@gcc.gnu.org>
4747
4748 * config.host (hppa*64*-*-linux*): Define extra_parts.
4749 (hppa*-*-linux*): Likewise.
4750
2deaf8b0
JR
47512013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
4752
4753 * config/arc/crtgend.S: Add 2013 to Copyright years.
4754 * config/arc/gmon/atomic.h: Likewise.
4755 * config/arc/gmon/auxreg.h: Likewise.
4756 * config/arc/gmon/sys/gmon_out.h: Likewise.
4757 * config/arc/gmon/sys/gmon.h: Likewise.
4758 * config/arc/gmon/prof-freq.c: Likewise.
4759 * config/arc/gmon/mcount.c: Likewise.
4760 * config/arc/gmon/prof-freq-stub.S: Likewise.
4761 * config/arc/gmon/gmon.c: Likewise.
4762 * config/arc/gmon/machine-gmon.h: Likewise.
4763 * config/arc/gmon/profil.S: Likewise.
4764 * config/arc/gmon/dcache_linesz.S: Likewise.
4765 * config/arc/crtg.S: Likewise.
4766 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
4767 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
4768 * config/arc/ieee-754/adddf3.S: Likewise.
4769 * config/arc/ieee-754/truncdfsf2.S: Likewise.
4770 * config/arc/ieee-754/fixsfsi.S: Likewise.
4771 * config/arc/ieee-754/gtsf2.S: Likewise.
4772 * config/arc/ieee-754/floatsisf.S: Likewise.
4773 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
4774 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
4775 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
4776 * config/arc/ieee-754/fixdfsi.S: Likewise.
4777 * config/arc/ieee-754/addsf3.S: Likewise.
4778 * config/arc/ieee-754/gesf2.S: Likewise.
4779 * config/arc/ieee-754/floatsidf.S: Likewise.
4780 * config/arc/ieee-754/extendsfdf2.S: Likewise.
4781 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
4782 * config/arc/ieee-754/gtdf2.S: Likewise.
4783 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
4784 * config/arc/ieee-754/uneqdf2.S: Likewise.
4785 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
4786 * config/arc/ieee-754/uneqsf2.S: Likewise.
4787 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
4788 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
4789 * config/arc/ieee-754/eqdf2.S: Likewise.
4790 * config/arc/ieee-754/ordsf2.S: Likewise.
4791 * config/arc/ieee-754/divsf3.S: Likewise.
4792 * config/arc/ieee-754/divdf3.S: Likewise.
4793 * config/arc/ieee-754/floatunsidf.S: Likewise.
4794 * config/arc/ieee-754/orddf2.S: Likewise.
4795 * config/arc/ieee-754/eqsf2.S: Likewise.
4796 * config/arc/ieee-754/gedf2.S: Likewise.
4797 * config/arc/crtn.S: Likewise.
4798 * config/arc/crti.S: Likewise.
4799 * config/arc/t-arc700-uClibc: Likewise.
4800 * config/arc/asm.h: Likewise.
4801 * config/arc/libgcc-excl.ver: Likewise.
4802 * config/arc/t-arc-newlib: Likewise.
4803 * config/arc/divtab-arc700.c: Likewise.
4804 * config/arc/initfini.c: Likewise.
4805 * config/arc/fp-hack.h: Likewise.
4806
c8e318b0
JR
48072013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
4808 Diego Novillo <dnovillo@google.com>
4809
4810 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
a07c5b47
JR
4811 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
4812 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
4813 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
c8e318b0 4814
d38a64b4
JR
48152013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
4816 Brendan Kehoe <brendan@zen.org>
4817 Simon Cook <simon.cook@embecosm.com>
4818
4819 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
4820 * config/arc: New directory.
4821 * longlong.h [__arc__] (umul_ppmm): Remove.
4822 [__arc__] (__umulsidi3): Define.
4823 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
4824 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
4825
dff717d2
JC
48262013-09-17 Jacek Caban <jacek@codeweavers.com>
4827
4828 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
4829 CreateSemaphoreA.
4830 * config/i386/gthr-win32.h: Likewise.
4831
5c0029de
DD
48322013-09-16 DJ Delorie <dj@redhat.com>
4833
844ad6c6 4834 * config/rl78/vregs.h: Add G10 register definitions.
5c0029de
DD
4835 * config/rl78/lib2mul.c: Enable for RL78/G10.
4836 * config/rl78/lib2div.c: Likewise.
4837 * config/rl78/lshrsi3.S: Use vregs.h.
4838 * config/rl78/cmpsi2.S: Likewise.
4839 * config/rl78/trampoline.S: Likewise.
4840 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
4841
ceb2fc49
DD
48422013-09-14 DJ Delorie <dj@redhat.com>
4843 Nick Clifton <nickc@redhat.com>
4844
4845 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
4846 * config/rl78/vregs.h: New.
4847 * config/rl78/signbit.S: New file. Implements signbit function.
4848 * config/rl78/divmodsi.S: New.
4849 * config/rl78/divmodhi.S: New.
4850 * config/rl78/divmodqi.S: New.
4851 * config/rl78/t-rl78: Build them here...
4852 * config/rl78/lib2div.c: ...but not here.
4853
f6a83b4a
DD
48542013-09-12 DJ Delorie <dj@redhat.com>
4855
4856 * config.host (msp*-*-elf): New.
4857 * config/msp430/: New port.
4858
9107b096
IS
48592013-08-18 Iain Sandoe <iain@codesourcery.com>
4860
4861 PR gcov-profile/58127
4862 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
4863 __thread var for emulated TLS.
4864 (__gcov_indirect_call_counters): Likewise.
4865
0f9bde1f 48662013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
61221141 4867 Catherine Moore <clm@codesourcery.com>
7d296953 4868 Richard Sandiford <rdsandiford@googlemail.com>
0f9bde1f
MR
4869
4870 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
4871 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
4872 (CALL_STUB_NO_RET): Likewise.
4873 (CALL_STUB_RET): Likewise.
4874 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
4875 __mips16_ret call/return stub symbols.
4876 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
4877 to tmake_file.
4878
2dc14aac
MR
48792013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
4880
4881 * config.host <mips*-*-linux*>: Remove a stray comment.
4882
748d71f3
JH
48832013-08-10 Jan Hubicka <jh@suse.cz>
4884
4885 Work around binutils PR14342
4886 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
4887 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
4888 (L_gcov_indirect_call_profiler_v2): New.
4889
2fa3d31b
JH
48902013-08-06 Jan Hubicka <jh@suse.cz>
4891
4892 * libgcov.c (__gcov_indirect_call_callee,
4893 __gcov_indirect_call_counters): New global vars.
4894 (__gcov_indirect_call_profiler): replace by ...
4895 (__gcov_indirect_call_profiler_v2) ... this one.
4896
2077db1b
CT
48972013-08-06 Caroline Tice <cmtice@google.com>
4898
d0595b65 4899 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
2077db1b 4900 vtv_start_preinit.o and vtv_end_preinit.o.
d0595b65
CT
4901 * configure.ac: Add code to check/set enable_vtable_verify.
4902 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
2077db1b 4903 true.
d0595b65
CT
4904 * vtv_start_preinit.c: New file.
4905 * vtv_end_preinit.c: New file.
4906 * vtv_start.c: New file.
4907 * vtv_end.c: New file.
4908 * configure: Regenerated.
2077db1b 4909
46549c20
MK
49102013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
4911
4912 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
4913 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
4914 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
4915 GPL-3.0-with-GCC-exception.
4916
72be589b
MR
49172013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
4918
4919 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
4920 ISA and up.
4921
902a3faf
AK
49222013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4923
4924 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
4925 mapping for FPRs when creating the fallback framestate.
4926
02371798
GJL
49272013-07-19 Georg-Johann Lay <avr@gjlay.de>
4928
4929 PR target/57516
4930 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
4931 (__round_s2_const, __round_u2_const)
4932 (__round_s4_const, __round_u4_const, __round_x8):
4933 Saturate result if addition result cannot be represented.
4934
ab0e8379
MK
49352013-07-15 Matthias Klose <doko@ubuntu.com>
4936
4937 * libgcc2.c: Don't include <limits.h>.
4938
7da38058
JJ
49392013-07-09 Janis Johnson <janisjo@codesourcery.com>
4940
4941 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
4942
1f6eac90
JJ
49432013-07-06 Jakub Jelinek <jakub@redhat.com>
4944
4945 PR target/29776
4946 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
4947
4ea3d774
JJ
49482013-06-28 Jakub Jelinek <jakub@redhat.com>
4949
4950 PR middle-end/36041
4951 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
4952 Define.
4953 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
4954 instead of table lookups.
4955 (__popcountDI2): Likewise.
4956
9d2cdf25
CJW
49572013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
4958
4959 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
4960 correctly.
4961
fa1e55b0
JM
49622013-06-21 Joseph Myers <joseph@codesourcery.com>
4963
4964 PR other/53317
4965 * soft-fp/adddf3.c: Update from glibc.
4966 * soft-fp/addsf3.c: Likewise.
4967 * soft-fp/addtf3.c: Likewise.
4968 * soft-fp/divdf3.c: Likewise.
4969 * soft-fp/divsf3.c: Likewise.
4970 * soft-fp/divtf3.c: Likewise.
4971 * soft-fp/double.h: Likewise.
4972 * soft-fp/eqdf2.c: Likewise.
4973 * soft-fp/eqsf2.c: Likewise.
4974 * soft-fp/eqtf2.c: Likewise.
4975 * soft-fp/extenddftf2.c: Likewise.
4976 * soft-fp/extended.h: Likewise.
4977 * soft-fp/extendsfdf2.c: Likewise.
4978 * soft-fp/extendsftf2.c: Likewise.
4979 * soft-fp/fixdfdi.c: Likewise.
4980 * soft-fp/fixdfsi.c: Likewise.
4981 * soft-fp/fixsfdi.c: Likewise.
4982 * soft-fp/fixsfsi.c: Likewise.
4983 * soft-fp/fixtfdi.c: Likewise.
4984 * soft-fp/fixtfsi.c: Likewise.
4985 * soft-fp/fixunsdfdi.c: Likewise.
4986 * soft-fp/fixunsdfsi.c: Likewise.
4987 * soft-fp/fixunssfdi.c: Likewise.
4988 * soft-fp/fixunssfsi.c: Likewise.
4989 * soft-fp/fixunstfdi.c: Likewise.
4990 * soft-fp/fixunstfsi.c: Likewise.
4991 * soft-fp/floatdidf.c: Likewise.
4992 * soft-fp/floatdisf.c: Likewise.
4993 * soft-fp/floatditf.c: Likewise.
4994 * soft-fp/floatsidf.c: Likewise.
4995 * soft-fp/floatsisf.c: Likewise.
4996 * soft-fp/floatsitf.c: Likewise.
4997 * soft-fp/floatundidf.c: Likewise.
4998 * soft-fp/floatundisf.c: Likewise.
4999 * soft-fp/floatunditf.c: Likewise.
5000 * soft-fp/floatunsidf.c: Likewise.
5001 * soft-fp/floatunsisf.c: Likewise.
5002 * soft-fp/floatunsitf.c: Likewise.
5003 * soft-fp/gedf2.c: Likewise.
5004 * soft-fp/gesf2.c: Likewise.
5005 * soft-fp/getf2.c: Likewise.
5006 * soft-fp/ledf2.c: Likewise.
5007 * soft-fp/lesf2.c: Likewise.
5008 * soft-fp/letf2.c: Likewise.
5009 * soft-fp/muldf3.c: Likewise.
5010 * soft-fp/mulsf3.c: Likewise.
5011 * soft-fp/multf3.c: Likewise.
5012 * soft-fp/negdf2.c: Likewise.
5013 * soft-fp/negsf2.c: Likewise.
5014 * soft-fp/negtf2.c: Likewise.
5015 * soft-fp/op-1.h: Likewise.
5016 * soft-fp/op-2.h: Likewise.
5017 * soft-fp/op-4.h: Likewise.
5018 * soft-fp/op-8.h: Likewise.
5019 * soft-fp/op-common.h: Likewise.
5020 * soft-fp/quad.h: Likewise.
5021 * soft-fp/single.h: Likewise.
5022 * soft-fp/soft-fp.h: Likewise.
5023 * soft-fp/subdf3.c: Likewise.
5024 * soft-fp/subsf3.c: Likewise.
5025 * soft-fp/subtf3.c: Likewise.
5026 * soft-fp/truncdfsf2.c: Likewise.
5027 * soft-fp/trunctfdf2.c: Likewise.
5028 * soft-fp/trunctfsf2.c: Likewise.
5029 * soft-fp/unorddf2.c: Likewise.
5030 * soft-fp/unordsf2.c: Likewise.
5031 * soft-fp/unordtf2.c: Likewise.
5032 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
5033 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5034 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5035 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5036 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5037 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5038 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5039 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5040 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5041 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
5042 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
5043 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5044
0de86a92
JU
50452013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
5046
5047 * config/mips/lib2funcs.c: New file.
5048 * config/mips/t-mips (LIB2ADD_ST): Add it.
5049
0d008882
OE
50502013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
5051
5052 PR target/6526
5053 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
5054 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
5055
776434d1
WL
50562013-06-08 Walter Lee <walt@tilera.com>
5057
5058 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
5059 Replace int64_t with long long. Add __extension__ where
5060 appropriate.
5061 * config/tilepro/atomic.c: Include config.h.
5062
6ab3ebb4
DR
50632013-06-06 Douglas B Rupp <rupp@adacore.com>
5064
5065 * config.host (arm-wrs-vxworks): Configure with other soft float.
5066
107eea2c
JU
50672013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
5068
5069 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
5070 (mips64r5900el-*-elf*): New configurations.
5071
5cc19c62
AM
50722013-06-04 Alan Modra <amodra@gmail.com>
5073
5074 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
5075
0f1d3965
YR
50762013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
5077
5078 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
5079
0ba045df
EB
50802013-05-28 Eric Botcazou <ebotcazou@adacore.com>
5081
5082 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
5083 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
5084 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
5085
49dcafd4
EB
50862013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5087
5088 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
5089 (powerpc-wrs-vxworks): Likewise.
5090
4fcb5d87
EB
50912013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5092
5093 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
5094 signal frames as well.
5095 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
5096 STACK_BIAS to the CFA offset.
5097
0ec33224
RH
50982013-05-17 Richard Henderson <rth@redhat.com>
5099
5100 PR target/49146
5101 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
5102 (execute_cfa_program): Use it when storing to fs->regs.
5103
492a8029
KT
51042013-05-08 Kai Tietz <ktietz@redhat.com>
5105
5106 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
5107 (__deregister_frame_info): Likewise.
5108
701e2f0a
TS
51092013-05-06 Thomas Schwinge <thomas@codesourcery.com>
5110
e5123d08
TS
5111 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
5112 NaN's payload.
5113
701e2f0a
TS
5114 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
5115
b9a7eb5d
AM
51162013-04-25 Alan Modra <amodra@gmail.com>
5117
5118 * config.host: Match little-endian powerpc-linux.
5119
dfe192f5
YZ
51202013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
5121
5122 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
5123 as 'unsigned long long' instead of 'unsigned long'.
5124 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
5125 'signed long'.
5126
b6b9af2f
JB
51272013-04-10 Julian Brown <julian@codesourcery.com>
5128
5129 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
5130 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
5131 unsigned char/unsigned short.
5132 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
5133
ecabdd00
JDA
51342013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5135
5136 PR other/55274
5137 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
5138
34652576
MI
51392013-04-04 Meador Inge <meadori@codesourcery.com>
5140
5141 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
5142 computing the location of the link register.
5143 (aeabi_uldivmod): Ditto.
5144
e9fd8c19
KT
51452013-03-27 Kai Tietz <ktietz@redhat.com>
5146
5147 * config.host: Add support for cygwin x64 target.
5148 * configure: Regenerated.
5149
a6406324
WL
51502013-03-26 Walter Lee <walt@tilera.com>
5151
5152 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
5153 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
5154
55446c7e
KT
51552013-03-25 Kai Tietz <ktietz@redhat.com>
5156
5157 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
5158
d2ae19d9
RM
51592013-03-20 Robert Mason <rbmj@verizon.net>
5160
5161 * config/vxlib-tls.c (__gthread_get_tsd_data,)
5162 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
5163 (__gthread_leave_tsd_dtor_context): Add prototypes.
5164 (tls_delete_hook): Update.
5165
22c4c869
CM
51662013-03-20 Catherine Moore <clm@codesourcery.com>
5167 Joseph Myers <joseph@codesourcery.com>
5168 Chao-ying Fu <fu@mips.com>
5169
5170 * config/mips/mips16.S: Don't build for microMIPS.
5171 * config/mips/linux-unwind.h: Handle microMIPS frame.
5172 * config/mips/crtn.S (fini, init): New labels.
5173
fbd28bc3
JJ
51742013-03-14 Jakub Jelinek <jakub@redhat.com>
5175
5176 PR tree-optimization/53265
5177 * unwind-dw2.c (execute_cfa_program): Avoid
5178 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
5179 on targets with DWARF_FRAME_REGISTERS < 32.
5180
decc676e
OE
51812013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
5182
5183 PR target/49880
5184 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
5185 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
5186
84ea618a
ST
51872013-03-07 Sriraman Tallam <tmsriram@google.com>
5188
5189 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
5190 sandybridge processors.
5191
8f6d1c86
OE
51922013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
5193
5194 PR target/56529
5195 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
5196 inclusion list.
5197
ecdbd01a 51982013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
409b1de4
EI
5199
5200 * config/microblaze/crti.S: Setup stack protection at entry
5201
0b4ce21b
GJL
52022013-03-04 Georg-Johann Lay <avr@gjlay.de>
5203
5204 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
5205 (__rotldi3): Shift bytewise if applicable.
5206
b7c3f1ca
JG
52072013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
5208
5209 * config/aarch64/sync-cache.c
5210 (__aarch64_sync_cache_range): Silence warnings.
5211
6d65e8f1
CM
52122013-02-25 Catherine Moore <clm@codesourcery.com>
5213
5214 Revert:
5215 2013-02-24 Catherine Moore <clm@codesourcery.com>
5216 Joseph Myers <joseph@codesourcery.com>
5217 Chao-ying Fu <fu@mips.com>
5218
5219 * config/mips/mips16.S: Don't build for microMIPS.
5220 * config/mips/linux-unwind.h: Handle microMIPS frame.
5221 * config/mips/crtn.S (fini, init): New labels.
5222
6941b508
CM
52232013-02-24 Catherine Moore <clm@codesourcery.com>
5224 Joseph Myers <joseph@codesourcery.com>
5225 Chao-ying Fu <fu@mips.com>
5226
5227 * config/mips/mips16.S: Don't build for microMIPS.
5228 * config/mips/linux-unwind.h: Handle microMIPS frame.
5229 * config/mips/crtn.S (fini, init): New labels.
5230
7c422dbb 52312012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
cc86234f 5232 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7c422dbb
EI
5233 as dividend.
5234
110207ad
AM
52352013-02-16 Alan Modra <amodra@gmail.com>
5236
5237 PR target/55431
5238 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
5239 (ppc_fallback_frame_state): Always set up save locations for fp
5240 and altivec. Don't bother with non-callee-saved regs, r0-r13
5241 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
5242
e68a4ef6
GJL
52432013-02-12 Georg-Johann Lay <avr@gjlay.de>
5244
5245 PR target/54222
5246 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
5247 _ssmulHA, _ssmulSA.
5248 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
5249 _ssmulha3, _usmulusa3, _ssmulsa3.
5250 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
5251 (__muldi3): XCALL __muldi3_6 instead of rcall.
5252 (__umulsidi3, __mulsidi3): New functions.
5253 (do_prologue_saves, do_epilogue_restores): New .macros.
5254 (__divdi3_moddi3): Use them.
5255 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
5256 (__usmulusa3, __ssmulsa3): New functions.
5257
6c59ffd1
IS
52582013-02-11 Iain Sandoe <iain@codesourcery.com>
5259 Jack Howarth <howarth@bromo.med.uc.edu>
5260 Patrick Marlier <patrick.marlier@gmail.com>
5261
5262 PR libitm/55693
5263 * config/darwin-crt-tm.c: Remove dummy functions hack.
5264
85d768f3
GJL
52652013-02-08 Georg-Johann Lay <avr@gjlay.de>
5266
5267 PR target/54222
5268 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
5269 * config/avr/lib2-object.mk: New iterator to build objects from it.
5270 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
5271 lib2funcs.c.
5272 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
5273 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
5274 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
5275 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
5276 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
5277 * config/avr/lib1funcs-fixed.S: Implement them.
5278
5d5bf775
RS
52792013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
5280
5281 Update copyright years.
5282
99113dff
DE
52832013-02-01 David Edelsohn <dje.gcc@gmail.com>
5284
5285 PR target/54601
5286 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
5287 Add crtcxa to extra_parts.
5288 * config/rs6000/exit.h: New file.
5289 * config/rs6000/cxa_atexit.c: New file.
5290 * config/rs6000/cxa_finalize.c: New file.
5291 * config/rs6000/crtcxa.c: New file.
5292 * config/rs6000/t-aix-cxa: New file.
5293 * config/rs6000/libgcc-aix-cxa.ver: New file.
5294
dbdbd982
NC
52952013-01-31 Nick Clifton <nickc@redhat.com>
5296
5297 * config/v850/lib1funcs.S: Add support for e3v5 architecture
5298 variant.
5299
5893f158
GJL
53002013-01-29 Georg-Johann Lay <avr@gjlay.de>
5301
5302 PR target/54222
5303 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
5304 _mulQQ, _mulHQ, _mulHA, _mulSA,
5305 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
5306 _divQQ, _divHQ, _divHA, _divSA,
5307 _divUQQ, _divUHQ, _divUHA, _divUSA.
5308
ecdbd01a 53092013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
fbf0cf90 5310
dbdbd982 5311 * config.host(microblaze*-linux*): tmake_file: Remove
fbf0cf90
DH
5312 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
5313 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
5314 to exclude functions from being built with libgcc.c and use
5315 the microblaze assembly.
5316
ecdbd01a 53172013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6f14eef2
EI
5318
5319 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
5320 extra_parts.
5321
922c57d1
YZ
53222013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
5323
5324 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
5325 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
5326 __UINTPTR_TYPE__; also cast 'base' to the same type before the
5327 alignment operation.
5328
e0f8b6a0
SN
53292013-01-15 Sofiane Naci <sofiane.naci@arm.com>
5330
5331 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
5332 loop start address for cache clearing.
5333
00892272
GJL
53342013-01-14 Georg-Johann Lay <avr@gjlay.de>
5335
5336 * config/avr/lib1funcs.S: Remove trailing blanks.
5337 * config/avr/lib1funcs-fixed.S: Ditto.
5338
e59ec5fd
GJL
53392013-01-14 Georg-Johann Lay <avr@gjlay.de>
5340
5341 * config/avr/avr-lib.h: Add GPL copyright notice.
5342
3ffc1958
GJL
53432013-01-14 Georg-Johann Lay <avr@gjlay.de>
5344
5345 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
5346 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
5347 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
5348 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
5349
25c210f9
MK
53502013-01-07 Mark Kettenis <kettenis@openbsd.org>
5351
5352 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
5353 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
2bc15360 5354
db59befb
NC
53552013-01-04 Nick Clifton <nickc@redhat.com>
5356
5357 * config/v850/lib1funcs.S: Only provide CALLT support functions if
5358 the CALLT instruction is supported.
5359
5aa12dbf
JW
53602012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
5361
5362 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
5363 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
5364
65f14117
JT
53652012-12-13 John Tytgat <John@bass-software.com>
5366
5367 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
5368 is 25.
5369
ee3ae4f7
JJ
53702012-12-12 Jakub Jelinek <jakub@redhat.com>
5371
5372 PR libgcc/55451
5373 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
5374 undefined signed overflows.
5375
2fcfba3d
UB
53762012-12-09 Uros Bizjak <ubizjak@gmail.com>
5377
5378 PR target/55344
5379 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
5380
4f2b3dc2
UB
53812012-12-06 Uros Bizjak <ubizjak@gmail.com>
5382
5383 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
5384 (FP_TRAPPING_EXCEPTIONS): Define.
5385 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
5386 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
5387
066161a2
RH
53882012-12-04 Richard Henderson <rth@redhat.com>
5389
5390 PR bootstrap/55571
5391 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
5392
7d296953 53932012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
25626181 5394
4f2b3dc2 5395 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
25626181
MS
5396 (FP_EX_SHIFT): Define.
5397 (FP_TRAPPING_EXCEPTIONS): Define.
5398
7d296953 53992012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
868395e8
MS
5400
5401 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
5402 (FP_ROUNDMODE): Use FP_RND_MASK.
5403 * config/aarch64/sfp-exceptions.c: New.
5404 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5405 Use __sfp_handle_exceptions.
5406
5005fe22
RE
54072012-12-04 Richard Earnshaw <rearnsha@arm.com>
5408
5409 * config.host: (arm*-*-freebsd*): Remove.
5410 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
5411 (arm*-*-elf*): Remove.
5412 (arm*-*-wince-pe*): Remove.
5413 * arm/unwind-arm.c (struct fpa_reg): Delete.
5414 (struct fpa_regs): Delete.
5415 (phase1_vrs): Remove fpa element.
5416 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
5417 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
5418 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
5419 * ieee754-sf.S (floatundisf): Remove FPA support.
5420 (floatdisf): Likewise.
5421 * ieee75f-df.S (floatundidf): Likewise.
5422 (floatdidf): Likewise.
5423
e5a81c8e
KT
54242012-11-29 Kai Tietz <ktietz@redhat.com>
5425
5426 PR target/55445
5427 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
5428 * unwind-generic.h: Likewise.
5429 * unwind-seh.c: Likewise.
5430
f4919e4a
RH
54312012-11-28 Richard Henderson <rth@redhat.com>
5432
5433 PR libgcc/48076
5434 * emutls.c (__emutls_get_address): Avoid race condition between
5435 obj->loc.offset read and emutls_key initialization.
4f2b3dc2 5436
e13d9d5a
GJL
54372012-11-22 Georg-Johann Lay <avr@gjlay.de>
5438
5439 Adjust decimal point of signed accum mode to GCC default.
5440
5441 PR target/54222
5442 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
5443 _divqq_helper.
5444 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
5445 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
5446 (__mulha3, __mulsa3)
5447 (__divqq3, __divha3, __divsa3): Adjust to new position of
4f2b3dc2
UB
5448 decimal point of signed accum types.
5449
e13d9d5a
GJL
5450 (__mulusa3_round): New function.
5451 (__mulusa3): Use it.
5452 (__divqq_helper): New function.
5453 (__udivuqq3): Use it.
5454
1b845c6e
JJ
54552012-11-20 Jakub Jelinek <jakub@redhat.com>
5456
5457 PR bootstrap/55370
5458 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
5459
822a258a
TJ
54602012-11-18 Teresa Johnson <tejohnson@google.com>
5461
5462 PR bootstrap/55051
5463 * libgcov.c (gcov_exit): Remove merged program summary
5464 comparison unless !GCOV_LOCKED.
5465
7d296953 54662012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
54f4eaf0
MS
5467
5468 * soft-fp: Updated from glibc upstream.
5469
e808687a
ILT
54702012-11-06 Ian Lance Taylor <iant@google.com>
5471
5472 * generic-morestack.c (__generic_morestack): Align the returned
5473 stack pointer to a 32 byte boundary.
5474 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
5475 increment the return address until we have decided that we don't
5476 have a varargs function.
5477 (__morestack) [32-bit]: Align stack correctly when calling C
5478 functions.
5479 (__morestack) [64-bit]: Likewise.
5480
460277e0
TS
54812012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5482
5483 * configure: Regenerate.
5484
73edb277
UB
54852012-11-02 Uros Bizjak <ubizjak@gmail.com>
5486
5487 PR target/55175
5488 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
5489 * config/i386/sfp-machine.h: Guard exception handling
5490 code with _SOFT_FLOAT.
5491 * config/i386/32/sfp-machine.h: Guard rounding handling
5492 code with _SOFT_FLOAT.
5493 * config/i386/64/sfp-machine.h: Ditto.
5494
c1d4fa04
JS
54952012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
5496
5497 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
5498 as extra_parts.
5499
eff6ca85
UB
55002012-10-26 Uros Bizjak <ubizjak@gmail.com>
5501
5502 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
5503 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
5504 when appropriate. Correct structure element types.
5505 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
5506 -minline-all-stringops from compile flags.
5507
7d296953 55082012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
43a8f1a1
RC
5509
5510 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
5511
7d296953 55122012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
76c78361 5513
eff6ca85 5514 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
76c78361 5515
6f288860
SH
55162012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
5517
5518 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
5519 tmake_file.
5520
1e3d5096
IB
55212012-10-23 Ian Bolton <ian.bolton@arm.com>
5522 Jim MacArthur <jim.macarthur@arm.com>
5523 Marcus Shawcroft <marcus.shawcroft@arm.com>
5524 Nigel Stephens <nigel.stephens@arm.com>
5525 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
5526 Richard Earnshaw <rearnsha@arm.com>
5527 Sofiane Naci <sofiane.naci@arm.com>
5528 Stephen Thomas <stephen.thomas@arm.com>
5529 Tejas Belagod <tejas.belagod@arm.com>
5530 Yufeng Zhang <yufeng.zhang@arm.com>
5531
5532 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
5533 * config/aarch64/crti.S: New file.
5534 * config/aarch64/crtn.S: New file.
5535 * config/aarch64/linux-unwind.h: New file.
5536 * config/aarch64/sfp-machine.h: New file.
5537 * config/aarch64/sync-cache.c: New file.
5538 * config/aarch64/t-aarch64: New file.
5539 * config/aarch64/t-softfp: New file.
5540
8a740f07
HPN
55412012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
5542
5543 * config/mmix/crti.S: Mark program and data addresses using PRELD.
5544 Remove typo'd and unnecessary alignment-LOC for .data. Remove
5545 no-longer-needed LDBU insns.
5546
7d296953 55472012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
153c8397
SH
5548
5549 * config.host
5550 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
5551 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
5552
595fefee
MGD
55532012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
5554
5555 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
5556
9945a876
MK
55572012-10-15 Matthias Klose <doko@ubuntu.com>
5558
5559 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
5560
1183dc2c
PC
55612012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
5562
5563 * configure: Regenerate.
5564 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
5565
945a9c1f
UB
55662012-10-10 Uros Bizjak <ubizjak@gmail.com>
5567
5568 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
5569 instructions for 64bit targets only.
5570
fb8bf47a
UB
55712012-10-10 Uros Bizjak <ubizjak@gmail.com>
5572
5573 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5574 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
5575 * config/i386/32/sfp-machine.h: ... here.
5576 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
5577 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
5578 New defines.
5579
acb72498
MK
55802012-10-07 Matthias Klose <doko@ubuntu.com>
5581
5582 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
5583 as unused.
5584 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
5585
8eaee0f0
MK
55862012-10-06 Mark Kettenis <kettenis@openbsd.org>
5587
5588 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
5589 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
5590 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
5591 (ElfW): Likewise.
5592
5e3e4fe8
JW
55932012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
5594
5595 PR other/53889
5596 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5597 Fix parameter names.
5598
86086376
OE
55992012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
5600
5601 PR target/33135
5602 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
5603 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
5604 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
5605
9597375a
OE
56062012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
5607
5608 PR target/50457
5609 * config/sh/linux-atomic.S: Delete.
5610 * config/sh/linux-atomic.c: New.
5611 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
5612 linux-atomic.c. Add cflags to disable warnings.
5613
1504e3e1
JW
56142012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
5615
5616 PR other/53889
5617 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
5618 function.
5619 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
5620 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
5621 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
5622 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5e3e4fe8
JW
5623 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
5624 Likewise.
1504e3e1
JW
5625 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5626 Likewise.
5627 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
5628 Likewise.
5629 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
5630 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
5631
17f293b0
MK
56322012-09-19 Mark Kettenis <kettenis@openbsd.org>
5633
9597375a
OE
5634 * config.host (hppa-*-openbsd*): New target.
5635 * config/pa/t-openbsd: New file.
17f293b0 5636
51526856
GJL
56372012-09-15 Georg-Johann Lay <avr@gjlay.de>
5638
5639 PR target/54222
5640 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
5641 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
5642 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
5643 (__divsa3): Use __negsi2 to negate r_quoL.
5644 * config/avr/lib1funcs.S (FALIAS): New macro.
5645 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
5646 (__negsi2): ...this new function.
5647 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
5648 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
5649 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
5650 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
5651 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
5652 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
5653
aadb5b43
OE
56542012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
5655
5656 PR target/54089
5657 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
5658 (lshrsi3): Reimplement as lshrsi3_r0.
5659
d5d66749
AS
56602012-09-10 Andreas Schwab <schwab@linux-m68k.org>
5661
5662 PR target/46191
5663 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
5664 of libgcc.a.
5665
c6c36e73
TJ
56662012-09-07 Teresa Johnson <tejohnson@google.com>
5667
9597375a 5668 PR gcov-profile/54487
c6c36e73 5669 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9597375a 5670 differences.
c6c36e73 5671
b588ae30
GJL
56722012-09-05 Georg-Johann Lay <avr@gjlay.de>
5673
5674 PR target/54461
5675 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
5676 not configured --with-avrlibc=no.
5677 * config/avr/t-avrlibc: New file.
5678 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
5679 (DPBIT_FUNCS): Ditto.
5680 (TPBIT_FUNCS): Ditto.
5681
abd16fb1
TJ
56822012-09-04 Teresa Johnson <tejohnson@google.com>
5683
5684 * libgcov.c (struct gcov_summary_buffer): New structure.
5685 (gcov_histogram_insert): New function.
5686 (gcov_compute_histogram): Ditto.
5687 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
5688 histograms during summary merging.
5689
613061fd
MK
56902012-09-01 Mark Kettenis <kettenis@openbsd.org>
5691
5692 * config.host (x86_64-*-openbsd*): New target.
73edb277 5693
867a8345
CLT
56942012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
5695
5696 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
5697 attribute.
5698
4aeaaca3
GJL
56992012-08-24 Georg-Johann Lay <avr@gjlay.de>
5700
5701 PR target/54222
5702 * config/avr/t-avr (conv_X): Rename to func_X.
5703
e55e4056
GJL
57042012-08-24 Georg-Johann Lay <avr@gjlay.de>
5705
5706 PR target/54222
5707 * config/avr/lib1funcs-fixed.S: New file.
5708 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
5709 after they are used.
5710 (neg2, neg4): New macros.
5711 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
5712 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
5713 (__umulhisi3): Speed up MUL variant if there is enough flash.
5714 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
5715 avr-modes.def.
5716 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
5717 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
5718 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
5719 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
5720 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
5721 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
5722 (LIB2FUNCS_EXCLUDE): Add supported functions.
5723
a147b6d2
GJL
57242012-08-22 Georg-Johann Lay <avr@gjlay.de>
5725
5726 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
5727 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
5728 libgcc-s-objects.
5729 * fixed-obj.mk: Only expand dependency if $o is not in
5730 LIB2FUNCS_EXCLUDE.
5731
c637141a
L
57322012-08-22 H.J. Lu <hongjiu.lu@intel.com>
5733
5734 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
5735
130e00bd
JM
57362012-08-22 Joseph Myers <joseph@codesourcery.com>
5737
5738 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
5739 depend on --enable-shared.
5740 ($(lib1asmfuncs-o)): Use %.vis files independent of
5741 --enable-shared.
5742 * static-object.mk ($(base)$(objext), $(base).vis)
5743 ($(base)_s$(objext)): Use same rules for visibility handling as in
5744 shared-object.mk.
5745
4b1b3788
ILT
57462012-08-21 Ian Lance Taylor <iant@google.com>
5747
5748 * config/i386/morestack.S (__morestack_non_split): Increase amount
5749 of space allocated for non-split code stack.
5750
d2468141
JM
57512012-08-19 Joseph Myers <joseph@codesourcery.com>
5752
5753 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
5754 even if inhibit_libc.
5755
a508e1a8
JB
57562012-08-17 Julian Brown <julian@codesourcery.com>
5757
5758 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
5759 -fexceptions -fnon-call-exceptions if not defined.
5760 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
5761 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
5762
5615a07d
AS
57632012-08-17 Andreas Schwab <schwab@linux-m68k.org>
5764
5765 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
5766 type.
5767
138f5acd
DE
57682012-08-16 David Edelsohn <dje.gcc@gmail.com>
5769
5770 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
5771 rs6000/t-slibgcc-aix.
5772
18efc0dd
SB
57732012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
5774
5775 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
5776
6b39bc38
SB
57772012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
5778
5779 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
5780
cd25dea0
L
57812012-08-03 H.J. Lu <hongjiu.lu@intel.com>
5782
5783 PR driver/54171
5784 * Makefile.in (version): Replace top_srcdir with srcdir.
5785
a3dda30b
JY
57862012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
5787
5788 * Makefile.in (version): set to BASE-VER file from gcc directory.
5789
d04aacfc
NC
57902012-08-01 Nick Clifton <nickc@redhat.com>
5791
5792 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
5793 Implements __clrsb for an HImode argument.
5794
0d13c974
NC
57952012-07-31 Nick Clifton <nickc@redhat.com>
5796
5797 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
5798 Implements __clrsb for an HImode argument.
5799 * config/stormy16/clrsbhi2.c: New file:
5800 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
5801
efbb59b2
SB
58022012-07-22 Steven Bosscher <steven@gcc.gnu.org>
5803
5804 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
5805
bf1431e3
TG
58062012-07-19 Tristan Gingold <gingold@adacore.com>
5807 Richard Henderson <rth@redhat.com>
5808
5809 * unwind-seh.c: New file.
5810 * unwind-generic.h: Include windows.h for SEH.
5811 (_Unwind_Exception): Use 6 private fields for SEH.
5812 (_GCC_specific_handler): Declare.
5813 * unwind-c.c (__gcc_personality_seh0): New function.
5814 Adjust for SEH.
5815 * config/i386/libgcc-cygming.ver: New file.
5816 * config/i386/t-seh-eh: New file.
5817 * config.host (x86_64-*-mingw*): Default to seh.
5818
659140c8
SB
58192012-07-14 Steven Bosscher <steven@gcc.gnu.org>
5820
5821 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
5822
a20d08fd
UB
58232012-06-17 Uros Bizjak <ubizjak@gmail.com>
5824
5825 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
5826 __builtin_expect when checking for exceptions.
5827 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
5828
79261115
UB
58292012-06-13 Uros Bizjak <ubizjak@gmail.com>
5830
4a172156
UB
5831 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
5832 function declaration.
5833 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
5834 (FP_RND_MASK): New.
5835 * config/ia64/sfp-exceptions.c: New.
5836 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
79261115 5837
bb5c97d4
UB
58382012-06-13 Uros Bizjak <ubizjak@gmail.com>
5839
5840 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
5841 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
5842 * config/i386/64/sfp-machine: ... (delete here) ...
5843 * config/i386/sfp-machine.h: ... to here.
5844 (FP_EX_MASK): Remove.
5845 (FP_RND_MASK): New.
5846 (FP_INIT_ROUNDMODE): Declare asm as volatile.
5847
91fe5efb
ST
58482012-06-11 Sriraman Tallam <tmsriram@google.com>
5849
5850 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
5851 * config/i386/libgcc-sol2.ver: Ditto.
5852 * config/i386/libgcc-glibc.ver: Ditto.
5853
67a218c5
RM
58542012-06-11 Roland McGrath <mcgrathr@google.com>
5855
5856 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
5857 If __GLIBC__ is defined, refer to __pthread_key_create instead of
5858 pthread_cancel.
5859
492fbea1
UB
58602012-06-09 Uros Bizjak <ubizjak@gmail.com>
5861
5862 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
5863 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
5864 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
5865 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5866 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
5867 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
5868 * config/i386/64/sfp-machine: ... (delete here) ...
5869 * config/i386/sfp-machine.h: ... to here.
5870 (FP_EX_MASK): New.
5871 (__sfp_handle_exceptions): New function declaration.
5872 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
5873 * config/i386/sfp-exceptions.c: New.
5874 * config/i386/t-softfp: New.
5875 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
5876 i386/t-softfp to tmake_file.
5877
7b4cf266
DM
58782012-06-03 David S. Miller <davem@davemloft.net>
5879
5880 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
5881 change.
5882
0de0d5c6
DM
58832012-05-31 David S. Miller <davem@davemloft.net>
5884
5885 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
5886 multiply and divide instructions on 32-bit when V9.
5887 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
5888
d8c9d391
JM
58892012-05-29 Joseph Myers <joseph@codesourcery.com>
5890
5891 * config/arm/ieee754-df.S: Fix typos.
5892 * config/arm/ieee754-sf.S: Fix typos.
5893 * config/c6x/libunwind.S: Fix typos.
5894 * config/epiphany/udivsi3-float.c: Fix typos.
5895 * config/microblaze/muldi3_hard.S: Fix typos.
5896 * config/picochip/adddi3.S: Fix typos.
5897 * config/picochip/ashlsi3.S: Fix typos.
5898 * config/picochip/ashrsi3.S: Fix typos.
5899 * config/picochip/clzsi2.S: Fix typos.
5900 * config/picochip/cmpsi2.S: Fix typos.
5901 * config/picochip/divmod15.S: Fix typos.
5902 * config/picochip/divmodhi4.S: Fix typos.
5903 * config/picochip/divmodsi4.S: Fix typos.
5904 * config/picochip/longjmp.S: Fix typos.
5905 * config/picochip/lshrsi3.S: Fix typos.
5906 * config/picochip/parityhi2.S: Fix typos.
5907 * config/picochip/popcounthi2.S: Fix typos.
5908 * config/picochip/setjmp.S: Fix typos.
5909 * config/picochip/subdi3.S: Fix typos.
5910 * config/picochip/ucmpsi2.S: Fix typos.
5911 * config/picochip/udivmodhi4.S: Fix typos.
5912 * config/picochip/udivmodsi4.S: Fix typos.
5913 * config/spu/divv2df3.c: Fix typos.
5914 * config/spu/mfc_multi_tag_release.c: Fix typos.
5915 * config/spu/mfc_tag_release.c: Fix typos.
5916 * configure.ac: Fix typos.
5917 * configure: Regenerate.
5918
31a18a7e
ILT
59192012-05-25 Ian Lance Taylor <iant@google.com>
5920
5921 * config/i386/morestack.S (__morestack_non_split): Check whether
5922 caller is varargs and needs %bp to hold the stack frame on return.
5923
c5768510
OH
59242012-05-25 Olivier Hainque <hainque@adacore.com>
5925
5926 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
5927 sequence in the non pic case on VxWorks.
5928
7c7c339b
OH
59292012-05-24 Olivier Hainque <hainque@adacore.com>
5930
73fb7630 5931 * Makefile.in: Move dependency on install-unwind_h from
7c7c339b
OH
5932 "install-leaf" to "install".
5933
fdc1b7d3
OH
59342012-05-24 Olivier Hainque <hainque@adacore.com>
5935
5936 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
5937 Use a separate command for stamp removals.
5938
07ba94b9
AP
59392012-05-21 Andrew Pinski <apinski@cavium.com>
5940
5941 PR bootstrap/53183
5942 * configure.ac: Define the default includes to being none.
5943 * configure: Regenerate.
5944
4677d2eb
OH
59452012-05-16 Olivier Hainque <hainque@adacore.com>
5946
5947 * Makefile.in (install-unwind_h): Rename into ...
5948 (install-unwind_h-forbuild): New target.
5949 (all): Use it instead of the former install-unwind_h.
5950 (install-unwind_h): Reinstate, copy to user install destination
5951 for include files, not to the internal gcc object directory one.
5952 (install-leaf): Depend on it.
5953
7d67c380
OH
59542012-05-15 Olivier Hainque <hainque@adacore.com>
5955
5956 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
5957 register numbers. LR_REGNO replaces R_LR.
5958 (ucontext_for): New, helper for ...
5959 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
5960 and 5.3 of ...
5961 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
5962
aca06c90
RO
59632012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5964
5965 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
5966 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
5967 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
5968 i386/t-cpuinfo ...
5969 (i[34567]86-*-*, x86_64-*-*): ... here.
5970
5971 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
5972 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
5973
5974 * config/i386/i386-cpuinfo.c: Rename to ...
5975 * config/i386/cpuinfo.c: ... this.
5976 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
5977
5978 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
5979 (libgcc_cv_init_priority): New test.
5980 * configure: Regenerate.
5981 * config.in: New file.
5982 * Makefile.in (clean): Rename config.h to auto-target.h.
5983 (config.h): Likewise.
5984 (stamp-h): Likewise.
5985
5986 * config/i386/cpuinfo.c (auto-target.h): Include.
5987 (CONSTRUCTOR_PRIORITY): Define.
5988 (__cpu_indicator_init): Use it.
5989
0d03ac1b
L
59902012-05-09 H.J. Lu <hongjiu.lu@intel.com>
5991
5992 * longlong.h: Use a URL instead of an FSF postal address.
5993 Replace spaces with tab.
5994
4a172156 59952012-05-08 Teresa Johnson <tejohnson@google.com>
4e8ee9cb
TJ
5996
5997 * libgcov.c (gcov_clear, __gcov_reset): New functions.
5998 (__gcov_dump): Ditto.
5999 (gcov_dump_complete): New global variable.
6000 (gcov_exit): Export hidden to enable use in L_gcov_dump.
6001 (__gcov_flush): Outline functionality now in gcov_clear.
6002 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
6003
e4bb767e
AJ
60042012-04-28 Aurelien Jarno <aurelien@aurel32.net>
6005
31a18a7e
ILT
6006 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
6007 (mips*-*-linux*): Include mips/t-tpbit when long double is
6008 16 bytes long.
e4bb767e 6009
5ddecff9
ST
60102012-04-25 Sriraman Tallam <tmsriram@google.com>
6011
6012 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
6013 (get_available_features): New argument. Check for AVX2.
6014 (__cpu_indicator_init): Modify call to get_available_features.
6015
b427dd7a
AM
60162012-04-25 Alan Modra <amodra@gmail.com>
6017
6018 * config/rs6000/crtsavevr.S: New file.
6019 * config/rs6000/crtrestvr.S: New file.
6020 * config/rs6000/t-savresfgpr: Build the above.
6021 * config/rs6000/t-netbsd: Likewise.
6022
ad491329
ST
60232012-04-24 Sriraman Tallam <tmsriram@google.com>
6024
6025 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
6026
792317cc
ST
60272012-04-24 Sriraman Tallam <tmsriram@google.com>
6028
6029 * libgcc/config/i386/i386-cpuinfo.c: New file.
6030 * libgcc/config/i386/t-cpuinfo: New file.
6031 * libgcc/config.host: Include t-cpuinfo.
6032 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
6033
e1be98a4
CF
60342012-04-24 Chao-ying Fu <fu@mips.com>
6035
6036 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
6037
1bde7dab
TS
60382012-04-20 Thomas Schwinge <thomas@codesourcery.com>
6039
6040 struct siginfo vs. siginfo_t
6041
6042 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
6043 siginfo_t instead of struct siginfo.
6044 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
6045 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
6046 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
6047 (ia64_handle_unwabi): Likewise.
6048 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
6049 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
6050 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
6051 (sh_fallback_frame_state): Likewise.
6052 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
6053 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
6054
24590f66
L
60552012-04-02 H.J. Lu <hongjiu.lu@intel.com>
6056
6057 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
6058 system call number.
6059
9a9dcce8
EB
60602012-03-31 Eric Botcazou <ebotcazou@adacore.com>
6061
6062 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
6063 if it hasn't been previously saved.
6064
6401aaf5
L
60652012-03-29 H.J. Lu <hongjiu.lu@intel.com>
6066
6067 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
6068 only for glibc.
6069
7fd6378e
GJL
60702012-03-28 Georg-Johann Lay <avr@gjlay.de>
6071
6072 PR target/52737
6073 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
6074 instead of __AVR_HAVE_8BIT_SP__.
6075
9e916de7
TG
60762012-03-26 Tristan Gingold <gingold@adacore.com>
6077
6078 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
6079 (unw_table_entry): Use unw_word instead of unsigned long.
6080 (_Unwind_FindTableEntry): Likewise.
6081 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
6082 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
6083 (_Unwind_FindTableEntry): Likewise.
6084 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
6085 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
6086 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
6087 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
6088 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
6089 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
6090 (uw_init_context_1, uw_install_context): Likewise.
6091 (unw_word): Move to unwind-ia64.h
6092
4b12e93d
TG
60932012-03-26 Tristan Gingold <gingold@adacore.com>
6094
6095 * config/vms/vms-ucrt0.c: Update copyright years.
6096 Add a sanity check.
6097 (___gcc_main_flags): Declare.
6098 (__main): Check flags to remap argv and exit code.
6099 * config.host (*-*-*vms*): Adjust extra_parts.
6100 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
6101 (crt0.o): Add.
6102
06ea7371
RE
61032012-03-22 Richard Earnshaw <rearnsha@arm.com>
6104
6105 * arm/lib1funcs.asm (ctzsi2): New function.
6106 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
6107 * arm/t-linux (LIB1ASMFUNCS): Likewise.
6108 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
6109 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
6110 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
6111 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
6112
d82ad50d
AT
61132012-03-21 Andreas Tobler <andreast@fgznet.ch>
6114
6115 * config.host: Add bits to support powerpc64-*-freebsd*.
6116 * config/rs6000/freebsd-unwind.h: New file.
6117 * config/rs6000/t-freebsd64: New file.
6118
b260a8c0
RG
61192012-03-20 Richard Guenther <rguenther@suse.de>
6120
6121 PR gcov-profile/52627
6122 * libgcov.c (init_mx): Fix mutex name.
6123
86286a8a
TG
61242012-03-16 Tristan Gingold <gingold@adacore.com>
6125
6126 * config/ia64/vms-unwind.h: Remove ulong (and replace
6127 it by unw_reg where used). Define unw_reg with __int64.
6128
7888f266
RO
61292012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6130
6131 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
6132 Solaris 8 handling.
6133 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
6134 Solaris 8 handling.
6135 (sparc_is_sighandler): Likewise.
6136
f155bc64
L
61372012-03-13 H.J. Lu <hongjiu.lu@intel.com>
6138
6139 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
6140 <= saved reg size.
6141
d47657bd
RO
61422012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6143
6144 * config/arm/crtn.S: Fix typo.
6145
5bef73a1
RG
61462012-03-13 Richard Guenther <rguenther@suse.de>
6147
6148 * libgcov.c: Remove stdio.h include and NULL un-define.
6149
9c4271f3
RG
61502012-03-13 Richard Guenther <rguenther@suse.de>
6151
6152 PR target/52569
6153 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
6154
c6d10e7c
RG
61552012-03-13 Richard Guenther <rguenther@suse.de>
6156
6157 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
6158
074a385f
RG
61592012-03-13 Richard Guenther <rguenther@suse.de>
6160
6161 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
6162 and __gthread_mutex_init_function definitions.
6163
c4bc5c25
RO
61642012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6165
6166 * config.host (mips*-*-openbsd*): Remove.
6167
5c30094f
RO
61682012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6169
6170 * config.host: Remove alpha*-dec-osf5.1* handling.
6171 * config/alpha/gthr-posix.c: Remove.
6172 * config/alpha/libgcc-osf5.ver: Remove.
6173 * config/alpha/osf5-unwind.h: Remove.
6174 * config/alpha/t-osf-pthread: Remove.
6175 * config/alpha/t-slibgcc-osf: Remove.
6176 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
6177 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
6178 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
6179 * mkmap-flat.awk: Remove osf_export handling.
6180
33e3e24d
RG
61812012-03-12 Richard Guenther <rguenther@suse.de>
6182
6183 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
6184 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6185 (__gthread_mutex_init_function): New function.
6186 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6187
6188 PR gcov/49484
6189 * libgcov.c: Include gthr.h.
6190 (__gcov_flush_mx): New global variable.
6191 (init_mx, init_mx_once): New functions.
6192 (__gcov_flush): Protect self with a mutex.
6193 (__gcov_fork): Re-initialize mutex after forking.
6194 * unwind-dw2-fde.c: Change condition under which to use
6195 __GTHREAD_MUTEX_INIT_FUNCTION.
6196
d8aba32a
TG
61972012-03-12 Tristan Gingold <gingold@adacore.com>
6198
6199 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
6200 * config/ia64/t-vms: Likewise.
6201
75ffafdc
MH
62022012-03-11 Michael Hope <michael.hope@linaro.org>
6203
4a172156
UB
6204 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
6205 for Thumb-2.
75ffafdc 6206
ef6c2c53
WL
62072012-03-07 Walter Lee <walt@tilera.com>
6208
6209 * config/tilepro/atomic.c: Rename "atomic_" prefix to
6210 "arch_atomic_".
6211 (atomic_xor): Rename and move definition to
6212 config/tilepro/atomic.h.
6213 (atomic_nand): Ditto.
6214 * config/tilepro/atomic.h: Rename "atomic_" prefix to
6215 "arch_atomic_".
6216 (arch_atomic_xor): Move from config/tilepro/atomic.c.
6217 (arch_atomic_nand): Ditto.
6218
4e30d980
GJL
62192012-03-07 Georg-Johann Lay <avr@gjlay.de>
6220
6221 PR target/52507
6222 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
6223
61108225
GJL
62242012-03-07 Georg-Johann Lay <avr@gjlay.de>
6225
6226 PR target/52505
6227 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
6228 from RAM.
6229
b30e10ab
GJL
62302012-03-07 Georg-Johann Lay <avr@gjlay.de>
6231
6232 PR target/52461
6233 PR target/52508
6234 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
6235 if RAMPZ affects reading from RAM.
6236 (__tablejump_elpm__): Ditto.
6237 (.xload): Ditto.
6238 (__movmemx_hi): Ditto.
6239 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
6240 (__do_global_dtors): Ditto.
6241 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
6242 (__movmemx_hi): Ditto.
6243
8993fde4
RH
62442012-03-05 Richard Henderson <rth@redhat.com>
6245
6246 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
6247 [ARM] (count_trailing_zeros): Use the builtin.
6248
b7633ee3
KT
62492012-03-01 Kai Tietz <ktietz@redhat.com>
6250
6251 * soft-fp: Imported from glibc upstream.
6252
fbd3340c
KT
62532012-02-28 Kai Tietz <ktietz@redhat.com>
6254
6255 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
6256 for mingw-targets as attribute gcc_struct.
6257
e9e053eb
ILT
62582012-02-28 Ian Lance Taylor <iant@google.com>
6259
6260 * generic-morestack.c (__splitstack_releasecontext): Correct call
6261 to __morestack_release_segments.
6262
d80c632e
ST
62632012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6264
6265 PR target/52390
6266 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
6267 for __linux__ when removing signals from __morestack_fullmask.
6268
0253a8b1
GJL
62692012-02-23 Georg-Johann Lay <avr@gjlay.de>
6270
6271 PR target/52261
6272 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
6273
e10e461e
UW
62742012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6275
6276 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
6277 instead of HAVE_INITFINI_ARRAY.
6278 * config/ia64/crtend.S: Likewise.
6279
0c0c6398
KT
62802012-02-20 Kai Tietz <ktietz@redhat.com>
6281
d7470374
KT
6282 PR libstdc++/52300
6283 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
6284
0c0c6398
KT
6285 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
6286 to w32-unwind.h header.
6287
78c27266
RS
62882012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6289
6290 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
6291 (mips*-*-linux*): Remove t-slibgcc-libgcc.
6292 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
6293 * config/mips/mips16.S (__mips16_rdhwr): Delete.
6294
5adeb246
RS
62952012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6296
6297 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
6298
672ed313
IS
62992012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6300
6301 PR libitm/52220
6302 * config/darwin-crt-tm.c: Correct typo.
e9e053eb 6303
e948a1fb
IS
63042012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6305 Patrick Marlier <patrick.marlier@gmail.com>
6306
6307 PR libitm/52220
6308 * config/darwin-crt-tm.c: Generate dummy functions.
6309
6017aed3
IS
63102012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6311 Patrick Marlier <patrick.marlier@gmail.com>
6312
6313 PR libitm/52042
6314 * config/darwin-crt-tm.c (getTMCloneTable): New function.
6315 (__doTMRegistrations): Call it.
e9e053eb 6316 (__doTMdeRegistrations): Likewise.
6017aed3 6317
2da8c1ad 63182012-01-15 Georg-Johann Lay <avr@gjlay.de>
7d296953
JJ
6319 Anatoly Sokolov <aesok@post.ru>
6320 Eric Weddington <eric.weddington@atmel.com>
2da8c1ad
GJL
6321
6322 PR target/52261
6323 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
6324 (__epilogue_restores__): Ditto.
6325
0f952eb4
EB
63262012-02-15 Eric Botcazou <ebotcazou@adacore.com>
6327
6328 PR target/51921
6329 PR target/52205
6330 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
6331 Solaris 11 and slightly reformat.
6332 (sparc_is_sighandler): Likewise.
6333
dd552284
WL
63342012-02-14 Walter Lee <walt@tilera.com>
6335
6336 * config.host: Handle tilegx and tilepro.
6337 * config/tilegx/sfp-machine.h: New file.
6338 * config/tilegx/sfp-machine32.h: New file.
6339 * config/tilegx/sfp-machine64.h: New file.
6340 * config/tilegx/t-crtstuff: New file.
6341 * config/tilegx/t-softfp: New file.
6342 * config/tilegx/t-tilegx: New file.
6343 * config/tilepro/atomic.c: New file.
6344 * config/tilepro/atomic.h: New file.
6345 * config/tilepro/linux-unwind.h: New file.
6346 * config/tilepro/sfp-machine.h: New file.
6347 * config/tilepro/softdivide.c: New file.
6348 * config/tilepro/softmpy.S: New file.
6349 * config/tilepro/t-crtstuff: New file.
6350 * config/tilepro/t-tilepro: New file.
6351
b59cbd50
JW
63522012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
6353
6354 PR libstdc++/51296
6355 PR libstdc++/51906
6356 * gthr-posix.h: Allow static initializer macros to be disabled.
6357 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
6358
6caf807f
CLT
63592012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
6360
6361 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
6362 Add t-slibgcc-libgcc to tmake_file.
6363 * config/mips/libgcc-mips16.ver: Revert previous patch.
6364 * config/mips/mips16.S (__mips16_rdhwr): Hide.
6365
7d296953
JJ
63662012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
6367 Jayant R Sonar <jayant.sonar@kpitcummins.com>
b25364a0
S
6368
6369 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
6370 * config/cr16/crti.S: New file.
6371 * config/cr16/crtlibid.S: New file.
6372 * config/cr16/crtn.S: New file.
6373 * config/cr16/lib1funcs.S: New file.
6374 * config/cr16/t-cr16: New file.
6375 * config/cr16/t-crtlibid: New file.
6376 * config/cr16/unwind-dw2.h: New file.
6377 * config/cr16/unwind-cr16.c: New file.
6378 * config/cr16/divmodhi3.c: New file.
6379
8ef03aa7
AM
63802012-01-25 Alan Modra <amodra@gmail.com>
6381
6382 * config/rs6000/t-linux64: Delete. Move..
6383 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
6384 * config/rs6000/t-linux: ..and libgcc flags to here.
6385
daecebc8
DR
63862012-01-22 Douglas B Rupp <rupp@gnat.com>
6387
6388 * config.host (i[34567]86-*-interix3*):
8ef03aa7 6389 Change triplet to i[34567]86-*-interix[3-9]*.
daecebc8
DR
6390 * configure: Regenerate.
6391
ddaf8125
RS
63922012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
6393 Richard Sandiford <rdsandiford@googlemail.com>
6394
6395 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
6396 * config/mips/mips16.S (__mips16_rdhwr): New function.
6397 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
6398
2cd8b32c
NS
63992012-01-11 Nathan Sidwell <nathan@acm.org>
6400
6401 * libgcov.c (__gcov_init): Ignore objects with no functions.
6402
cba300dd
GJL
64032012-01-10 Georg-Johann Lay <avr@gjlay.de>
6404
6405 PR target/49868
6406 Extend __pgmx semantics to linearize memory.
6407 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
6408 * config/avr/lib1funcs.S (__xload_1): New function.
6409 (__movmemx_qi, __movmemx_hi): New functions.
6410 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
6411 semantics.
9ffaf4bc 6412
3d137660
EB
64132012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6414
6415 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
6416 purported sigacthandler address isn't null before dereferencing it.
6417 (sparc_is_sighandler): Likewise.
6418
bf4db96c
EB
64192012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6420
6421 PR ada/41929
6422 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
6423 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
6424 (sparc_is_sighandler): Likewise.
6425 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
6426
1ab3568b
TG
64272012-01-06 Tristan Gingold <gingold@adacore.com>
6428
6429 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
6430 compatibility thunks...
6431 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
6432 (crtbeginS.o, crtendS.o): ... and these to ...
6433 * config/ia64/t-ia64-elf: ... this new file.
6434 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
6435 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
6436
925b0ed8
AK
64372012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6438
6439 * configure: Regenerate.
6440 * config/s390/t-crtstuff: Remove -fPIC.
6441
a99ad737
JW
64422012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
6443
6444 PR bootstrap/51006
6445 * enable-execute-stack-mprotect.c (getpagesize): Do not define
6446 for NetBSD.
6447
884f56d1
GJL
64482012-01-02 Georg-Johann Lay <avr@gjlay.de>
6449
6450 PR target/51345
6451 * config/avr/lib1funcs.S: Remove FIXME comments.
6452 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
6453
8c57e547
GJL
64542012-01-02 Georg-Johann Lay <avr@gjlay.de>
6455
6456 Implement light-weight DImode support.
6457 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
6458 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
6459 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
6460 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
6461
04dbc287
NS
64622011-12-30 Nathan Sidwell <nathan@acm.org>
6463
6464 * libgcov.c (gcov_crc32): Remove global var.
6465 (free_fn_data): New function.
6466 (buffer_fn_data): Pass in filename, more robust error recovery.
6467 (crc32_unsigned): New function.
6468 (gcov_exit): More robust detection of new program. More robust
6469 error recovery.
6470 (__gcov_init): Do not update program's crc here.
6471
8e1d97d4
TG
64722011-12-21 Tristan Gingold <gingold@adacore.com>
6473
6474 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
6475
9ffaf4bc
ILT
64762011-12-21 Ian Lance Taylor <iant@google.com>
6477
6478 * config/i386/morestack.S: Simplify CFI opcodes throughout.
6479
a0c8d0c1
ILT
64802011-12-20 Ian Lance Taylor <iant@google.com>
6481
6482 * config/i386/morestack.S (__morestack_non_split): If there is
6483 enough stack space already, don't split. Ask for more stack space
6484 than we required.
6485
69048898
SDJ
64862011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
6487
6488 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
6489 `sys/sdt.h'.
6490 (_Unwind_DebugHook): New function.
6491 (uw_restore_core_regs): New define.
6492 (unwind_phase2): Use uw_restore_core_regs instead of
6493 restore_core_regs.
6494 (unwind_phase2_forced): Likewise.
6495 (__gnu_Unwind_Resume): Likewise.
6496
1bb4b6a3
UB
64972011-12-20 Uros Bizjak <ubizjak@gmail.com>
6498
6499 * config/alpha/linux-unwind.h: Update copyright years.
6500 (MD_FROB_UPDATE_CONTEXT): New define.
6501 (alpha_frob_update_context): New function.
6502
eb028768
RS
65032011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
6504
6505 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
6506 tmake_file rather replacing it.
6507
6a2045bf
IS
65082011-12-15 Iain Sandoe <iains@gcc.gnu.org>
6509
6510 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1bb4b6a3 6511 function is not used for PPC64.
6a2045bf
IS
6512 (save_world): Amend comments. Update the VRsave mask to reflect the
6513 saved regs.
6514 (rest_world): Update comments, do not clobber r10, do not use r8.
6515 (eh_rest_world_r10): Amend comments, do not use r8.
6516 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
6517 no longer used, move restore of CR and target address to the end of
6518 the routine.
6519
a13780a6
L
65202011-12-14 H.J. Lu <hongjiu.lu@intel.com>
6521
6522 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
6523 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
6524
d7288dfb
GJL
65252011-12-14 Georg-Johann Lay <avr@gjlay.de>
6526
6527 PR target/49313
6528 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
6529 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
6530
8d2c862d
EB
65312011-12-11 Eric Botcazou <ebotcazou@adacore.com>
6532
6533 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
6534
3447cae6
GJL
65352011-12-09 Georg-Johann Lay <avr@gjlay.de>
6536
6537 PR target/49313
6538 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
6539 * config/avr/lib1funcs.S (__muldi3): New function.
6540
806fc6aa
AP
65412011-12-06 Andrew Pinski <apinski@cavium.com>
6542
6543 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
6544 size of func_ptr.
6545 (__frame_dummy_init_array_entry): Likewise.
6546
28c5e6b5
GJL
65472011-12-06 Georg-Johann Lay <avr@gjlay.de>
6548
6549 Forward-port from gcc-4_6-branch r181936 2011-12-02.
6550
6551 PR target/51345
6552 PR target/51002
6553 * config/avr/lib1funcs.S (__prologue_saves__,
6554 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
6555 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
6556
8f90394a
IS
65572011-12-04 Iain Sandoe <iains@gcc.gnu.org>
6558
6559 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
6560
06dd33ac
JDA
65612011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6562
6563 PR other/51272
6564 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
6565 (_ITM_deregisterTMCloneTable): Likewise.
6566 (__register_frame_info): Fix unused warning.
6567 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
6568 pthread_default_stacksize_np): Likewise.
6569 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1bb4b6a3 6570
85b8555e
DD
65712011-11-29 DJ Delorie <dj@redhat.com>
6572
6573 * config.host (rl78-*-elf): New case.
6574 * config/rl78: New directory for the Renesas RL78.
6575
4d5ae4ea
BS
65762011-11-29 Bernd Schmidt <bernds@codesourcery.com>
6577
6578 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
6579 formatting.
6580
f9c55897
RO
65812011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6582
6583 PR other/51022
6584 * config/rs6000/t-savresfgpr: New file.
6585 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
6586 $(srcdir)/config/rs6000/eabi.S.
6587 * config/rs6000/t-ppccomm-ldbl: Remove.
6588 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
6589 tmake_file.
6590 (powerpc-*-eabispe*): Likewise.
6591 (powerpc-*-eabi*): Likewise.
6592 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
6593 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
6594 to tmake_file, remove rs6000/t-ppccomm-ldbl.
6595 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
6596 tmake_file.
6597 (powerpc-*-eabisim*): Likewise.
6598 (powerpc-*-elf*): Likewise.
6599 (powerpc-*-eabialtivec*): Likewise.
6600 (powerpc-xilinx-eabi*): Likewise.
6601 (powerpc-*-rtems*): Likewise.
6602 (powerpcle-*-elf*): Likewise.
6603 (powerpcle-*-eabisim*): Likewise.
6604 (powerpcle-*-eabi*): Likewise.
6605
a01207c4
ILT
66062011-11-27 Ian Lance Taylor <iant@google.com>
6607
6608 * generic-morestack.c (__splitstack_find): Check for NULL old
6609 stack value.
6610 (__splitstack_resetcontext): New function.
6611 (__splitstack_releasecontext): New function.
6612 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6613
2b0b8ab2
IS
66142011-11-27 Iain Sandoe <iains@gcc.gnu.org>
6615
6616 * config/darwin-crt-tm.c: Correct comments, use correct licence.
6617
c1d8101c
IS
66182011-11-27 Iain Sandoe <iains@gcc.gnu.org>
6619
6620 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
6621
8b281334
RH
66222011-11-26 Richard Henderson <rth@redhat.com>
6623
6624 * config/m68k/linux-atomic.c: New file.
6625 * config/m68k/t-linux: New file.
6626 * config.host (m68k-uclinux, m68k-linux): Use it.
6627
7546aa9d
RH
66282011-11-26 Richard Henderson <rth@redhat.com>
6629
6630 * crtstuff.c (__TMC_LIST__): Mark used not unused.
6631 (__TMC_END__): Only declare if hidden is available; in the definition,
6632 if hidden is unavailable add a null record.
6633 (deregister_tm_clones, register_tm_clones): New.
6634 (__do_global_dtors_aux, frame_dummy): Use them.
6635 (__do_global_dtors, __do_global_ctors_1): Likewise.
6636
e2362f5d
IS
66372011-11-22 Iain Sandoe <iains@gcc.gnu.org>
6638
6639 * config/darwin-crt-tm.c: New file.
6640 * config.host (darwin): Build crttms.o crttme.o to provide
6641 startup and shutdown for tm clones.
6642 * config/t-darwin (crttms.o): New build rule.
6643 (crttme.o): Likewise.
6644
6685dd96
HPN
66452011-11-21 Hans-Peter Nilsson <hp@axis.com>
6646
6647 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
6648 et al.
6649
b0dc7e4c
RH
66502011-11-21 Richard Henderson <rth@redhat.com>
6651
6652 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
6653 (__TMC_LIST__, __TMC_END__): New.
6654 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
6655 (__do_global_dtors): Likewise.
6656 (frame_dummy): Call _ITM_registerTMCloneTable.
6657 (__do_global_ctors_1): Likewise.
6658
d4b4b542
RO
66592011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6660
6661 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
6662 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
6663 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
6664 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
6665 * config/i386/t-darwin64: Remove.
6666 * config/sh/t-netbsd (LIB2ADD): Remove.
6667
989bdb74
GJL
66682011-11-21 Georg-Johann Lay <avr@gjlay.de>
6669
6670 PR target/49313
6671 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
6672 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
6673 * config/avr/lib1funcs.S (wmov): New assembler macro.
6674 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
6675 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
6676 (__udivmod64): New function.
6677 (__negdi2): New function.
6678
515a0cfc
GP
66792011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
6680
6681 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
6682 *-*-freebsd*aout*): Remove.
6683
0115d17f
HPN
66842011-11-20 Hans-Peter Nilsson <hp@axis.com>
6685
6686 * static-object.mk (c_flags-$o): Save c_flags.
6687 ($(base)$(objext)): Use it.
6688
93aeb62b
SE
66892011-11-18 Steve Ellcey <sje@cup.hp.com>
6690
6691 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
6692
7bc6df2c
GJL
66932011-11-18 Georg-Johann Lay <avr@gjlay.de>
6694
6695 PR target/49868
6696 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
6697 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
6698 New functions.
6699
425d737b
MGD
67002011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
6701
6702 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
6703 functions.
1bb4b6a3 6704 (aeabi_uidivmod): Likewise.
425d737b
MGD
6705 (umodsi3): Likewise.
6706 (divsi3): Likewise.
6707 (aeabi_idivmod): Likewise.
6708 (modsi3): Likewise.
6709
f2a176dc
TG
67102011-11-16 Tristan Gingold <gingold@adacore.com>
6711
6712 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
6713
7c209481
GJL
67142011-11-15 Georg-Johann Lay <avr@gjlay.de>
6715
6716 PR target/49868
6717 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
6718 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
6719
9dfd5832
JDA
67202011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6721
6722 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
6723 tmake_file list.
6724 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
6725 * config/pa/t-stublib64: Delete.
6726
f77dca5d
RH
67272011-11-12 Richard Henderson <rth@redhat.com>
6728
6729 * config/rs6000/linux-unwind.h (frob_update_context): Properly
6730 cast the pointer argument to _Unwind_SetGRPtr.
6731
902828f0
RO
67322011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6733
6734 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
6735
e14304ef
ILT
67362011-11-09 Ian Lance Taylor <iant@google.com>
6737
6738 * generic-morestack.c: Include <string.h>.
6739 (uintptr_type): Define.
6740 (struct initial_sp): Add dont_block_signals field. Reduce size of
6741 extra array by 1.
6742 (allocate_segment): Set prev field to NULL. Don't set
6743 __morestack_current_segment or __morestack_segments.
6744 (__generic_morestack): Update current->prev and *pp after calling
6745 allocate_segment.
6746 (__morestack_block_signals): Don't do anything if
6747 dont_block_signals is set.
6748 (__morestack_unblock_signals): Likewise.
6749 (__generic_findstack): Check for initial_sp == NULL. Add casts to
6750 uintptr_type.
6751 (__splitstack_block_signals): New function.
6752 (enum __splitstack_content_offsets): Define.
6753 (__splitstack_getcontext, __splitstack_setcontext): New functions.
6754 (__splitstack_makecontext): New function.
6755 (__splitstack_block_signals_context): New function.
6756 (__splitstack_find_context): New function.
6757 * config/i386/morestack.S (__morestack_get_guard): New function.
6758 (__morestack_set_guard, __morestack_make_guard): New functions.
6759 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6760
e3d871e4
RO
67612011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6762
6763 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
6764 (i[34567]86-*-mingw*): ... here.
6765 (x86_64-*-mingw*): ... here.
6766
e55cef40
RO
67672011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6768
6769 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
6770
5366b186
NS
67712011-11-07 Nathan Sidwell <nathan@acm.org>
6772
6773 * libgcov.c (struct gcov_fn_buffer): New struct.
6774 (buffer_fn_data): New helper.
6775 (gcov_exit): Rework for new gcov data structures.
6776
74155a6f
GJL
67772011-11-07 Georg-Johann Lay <avr@gjlay.de>
6778
6779 PR target/49313
6780 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
6781
200feb07
RO
67822011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6783
6784 * config.host (tmake_file): Correct comment.
6785 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
6786 t-libgcc-pic.
6787 (bfin*-uclinux*): Likewise.
6788 (bfin*-linux-uclibc*): Likewise.
6789 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
6790
6791 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
6792 assigning.
6793 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6794 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
6795 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6796 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
6797 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6798 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
6799 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
6800 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6801 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
6802 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
6803 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
6804 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
6805 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
6806
6807 * config/bfin/t-elf: Remove.
6808 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
6809
c9cd1a07
RO
68102011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6811
6812 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
6813 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
6814 (lm32-*-elf*, lm32-*-rtems*): Split into ...
6815 (lm32-*-elf*): ... this.
6816 (lm32-*-rtems*): ... and this.
6817 Add to tmake_file.
6818 (m32r-*-rtems*): Add to tmake_file.
6819 (moxie-*-rtems*): Likewise.
6820 (sparc-*-rtems*): Likewise.
6821 Remove t-rtems from tmake_file.
6822 (sparc64-*-rtems*): Likewise.
6823 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
6824 instead.
6825
9fbcc75d
RO
68262011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6827
6828 PR bootstrap/50982
6829 * config/gthr-posix.h: Move ...
6830 * gthr-posix.h: ... here.
6831 * config/gthr-lynx.h: Reflect this.
6832 * config/gthr-vxworks.h: Likewise.
6833 * config/rs6000/gthr-aix.h: Likewise.
6834 * configure.ac (target_thread_file): Likewise.
6835 * configure: Regenerate.
6836
76644b68
SH
68372011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
6838
6839 * config.host (arm*-*-rtemseabi*): New target.
6840
5e490f2a
JDA
68412011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6842
6843 PR other/50991
6844 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
6845 extra-parts.
6846
feeeff5c
JR
68472011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
6848
6849 * config.host (epiphany-*-elf*): New configuration.
6850 * config/epiphany: New Directory.
6851
d618bb2c
RC
68522011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
6853
6854 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
6855 * config/avr/t-rtems: New.
6856 Filter out _exit from LIB1ASMFUNCS.
6857
1bb6f778
DM
68582011-11-04 David S. Miller <davem@davemloft.net>
6859
6860 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
6861 * configure: Rebuild.
6862
9a7f7422
AK
68632011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6864
6865 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
6866 variable.
6867
e4fe948a
GJL
68682011-11-04 Georg-Johann Lay <avr@gjlay.de>
6869
6870 PR target/50931
6871 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
6872 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
6873
7084e037
JS
68742011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
6875
6876 PR target/50989
6877 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
6878
1a032034
RO
68792011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6880
6881 * config/c6x/t-elf (LIB2ADDEH): Set.
6882 * config/c6x/t-c6x-elf: Remove.
6883
d385f772
RO
68842011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6885
6886 * config/i386/sol2-ci.S: Rename to ...
6887 * config/i386/crti.S: ... this.
6888 * config/i386/sol2-cn.S: Rename to ...
6889 * config/i386/crtn.S: ... this.
6890 * config/sparc/sol2-ci.S: Rename to ...
6891 * config/sparc/crti.S: ... this.
6892 * config/sparc/sol2-cn.S: Rename to ...
6893 * config/sparc/crtn.S: ... this.
6894 * config/t-sol2 (CUSTOM_CRTIN): Remove.
6895 (crti.o, crtn.o): Remove.
6896
1ba878a9
TG
68972011-11-04 Tristan Gingold <gingold@adacore.com>
6898
6899 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
6900
02750c15
KK
69012011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
6902
6903 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
6904
bf86b067
HPN
69052011-11-03 Hans-Peter Nilsson <hp@axis.com>
6906
6907 * config.host (crisv32-*-none, cris-*-none): Remove.
6908 (crisv32-*-elf): Append to tmake_file, don't just set it.
6909 (cris-*-elf): Add missing t-fdpbit to tmake_file.
6910
d0bc53bd
RO
69112011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6912
6913 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
6914 (ecrtn$(objext)): Likewise.
6915 (ncrti$(objext)): Likewise.
6916 (ncrtn$(objext)): Likewise.
6917
036da830
AS
69182011-11-03 Andreas Schwab <schwab@redhat.com>
6919
6920 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
6921
d2a7d041
DM
69222011-11-02 David S. Miller <davem@davemloft.net>
6923
6924 * configure.ac: Set host_address on sparc too.
6925 * configure: Regenerate.
6926 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
6927 based upon host_address.
6928 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
6929
af8ed618
JM
69302011-11-02 Jason Merrill <jason@redhat.com>
6931
6932 * config/rs6000/t-ppccomm: Add missing \.
6933
5d1c8e77
RO
69342011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6935
6936 * gthr-single.h, gthr.h: New files.
6937 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
6938 config/gthr-vxworks.h, config/i386/gthr-win32.h,
6939 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
6940 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
6941 * config/i386/gthr-win32.c: Include "gthr-win32.h".
6942 * configure.ac (thread_header): New variable.
6943 Set it depending on target_thread_file.
6944 (gthr-default.h): Link from $thread_header.
6945 * configure: Regenerate.
6946 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
6947
852b75ed
RO
69482011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6949
6950 * configure.ac (tm_file_): New variable.
6951 Determine from tm_file.
6952 (tm_file, tm_defines): Substitute.
6953 * configure: Regenerate.
6954 * mkheader.sh: New file.
6955 * Makefile.in (clean): Remove libgcc_tm.h.
6956 ($(objects)): Depend on libgcc_tm.h.
6957 (libgcc_tm_defines, libgcc_tm_file): New variables.
6958 (libgcc_tm.h, libgcc_tm.stamp): New targets.
6959 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
6960 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
6961 ($(extra-parts)): Depend on libgcc_tm.h.
6962 * config.host (tm_defines, tm_file): New variable.
6963 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
6964 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
6965 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
6966 (avr-*-rtems*): Likewise.
6967 (avr-*-*): Likewise.
6968 (frv-*-elf): Likewise.
6969 (frv-*-*linux*): Likewise.
6970 (h8300-*-rtems*): Likewise.
6971 (h8300-*-elf*): Likewise.
6972 (i[34567]86-*-darwin*): Likewise.
6973 (x86_64-*-darwin*): Likewise.
6974 (rx-*-elf): Likewise.
6975 (tic6x-*-uclinux): Likewise.
6976 (tic6x-*-elf): Likewise.
6977 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
6978 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
6979 * config/i386/cygming-crtbegin.c: Likewise.
6980 * config/i386/cygming-crtend.c: Likewise.
6981 * config/ia64/fde-vms.c: Likewise.
6982 * config/ia64/unwind-ia64.c: Likewise.
6983 * config/libbid/bid_gcc_intrinsics.h: Likewise.
6984 * config/rs6000/darwin-fallback.c: Likewise.
6985 * config/stormy16/lib2funcs.c: Likewise.
6986 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
6987 * crtstuff.c: Likewise.
6988 * dfp-bit.h: Likewise.
6989 * emutls.c: Likewise.
6990 * fixed-bit.c: Likewise.
6991 * fp-bit.c: Likewise.
6992 * generic-morestack-thread.c: Likewise.
6993 * generic-morestack.c: Likewise.
6994 * libgcc2.c: Likewise.
6995 * libgcov.c: Likewise.
6996 * unwind-dw2-fde-dip.c: Likewise.
6997 * unwind-dw2-fde.c: Likewise.
6998 * unwind-dw2.c: Likewise.
6999 * unwind-sjlj.c: Likewise.
7000
f9989b51
RO
70012011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7002
7003 * configure.ac: Include ../config/picflag.m4.
7004 (GCC_PICFLAG): Call it.
7005 Substitute.
7006 * configure: Regenerate.
7007 * Makefile.in (gcc_srcdir): Remove.
7008 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
7009 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
7010 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
7011 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
7012 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
7013 Use $<.
7014 Remove comment.
7015 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
7016 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
7017 to refer to libgcc2.c.
7018 Use $<.
7019 * config/darwin-64.c: New file.
7020 * config/darwin-crt3.c: Remove comment.
7021 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
7022 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
7023 config/udivmodsi4.c: New files.
7024 * config/memcmp.c, config/memcpy.c, config/memmove.c,
7025 config/memset.c: New files.
7026 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
7027 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
7028 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
7029 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
7030 * config/t-openbsd-thread: New file.
7031 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
7032 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
7033 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
7034 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
7035 qrnnd.S.
7036 Adapt filename.
7037 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
7038 to refer to gthr-posix.c.
7039 * config/alpha/t-vms (LIB2ADD): Set.
7040 * config/alpha/vms-gcc_shell_handler.c: New file.
7041 * config/arm/bpabi.c, config/arm/fp16.c,
7042 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
7043 config/arm/unaligned-funcs.c: New files.
7044 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
7045 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7046 * config/arm/t-linux: Likewise.
7047 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
7048 * config/arm/t-netbsd: New file.
7049 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
7050 * config/arm/t-symbian (LIB2ADD_ST): Set.
7051 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
7052 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7053 * config/bfin/t-elf: New file.
7054 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
7055 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
7056 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
7057 config/c6x/ltf.c: New files.
7058 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
7059 (HOST_LIBGCC2_CFLAGS): Set.
7060 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
7061 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7062 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
7063 New files.
7064 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
7065 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
7066 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
7067 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
7068 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
7069 files.
7070 * config/frv/t-frv (LIB2ADD): Set.
7071 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7072 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
7073 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
7074 config/h8300/popcounthi2.c: New files.
7075 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7076 * config/i386/gthr-win32.c: New file.
7077 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
7078 * config/i386/t-cygwin: Likewise.
7079 * config/i386/t-darwin, config/i386/t-darwin64,
7080 config/i386/t-gthr-win32, config/i386/t-interix: New files.
7081 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
7082 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7083 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7084 * config/ia64/quadlib.c: New file.
7085 * config/ia64/t-hpux (LIB2ADD): Set.
7086 * config/ia64/t-ia64: Add comment.
7087 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
7088 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7089 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
7090 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
7091 * config/m32c/t-m32c (LIB2ADD): Set.
7092 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7093 * config/m32r/t-m32r: Likewise.
7094 * config/m68k/fpgnulib.c: New file.
7095 * config/m68k/t-floatlib (LIB2ADD): Set.
7096 (xfgnulib.c): New target.
7097 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
7098 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
7099 * config/mep/t-mep (LIB2ADD): Set.
7100 * config/microblaze/divsi3.asm: Rename to divsi3.S.
7101 * config/microblaze/moddi3.asm: Rename to moddi3.S.
7102 * config/microblaze/modsi3.asm: Rename to modsi3.S.
7103 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
7104 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
7105 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
7106 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
7107 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
7108 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
7109 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
7110 New files.
7111 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
7112 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
7113 * config/pa/fptr.c, config/pa/lib2funcs.S,
7114 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
7115 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7116 (LIB2ADD, LIB2ADD_ST): Set.
7117 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
7118 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
7119 Set.
7120 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
7121 * config/pdp11/t-pdp11: New file.
7122 * config/picochip/libgccExtras/adddi3.S,
7123 config/picochip/libgccExtras/ashlsi3.S,
7124 config/picochip/libgccExtras/ashrsi3.S,
7125 config/picochip/libgccExtras/clzsi2.S,
7126 config/picochip/libgccExtras/cmpsi2.S,
7127 config/picochip/libgccExtras/divmod15.S,
7128 config/picochip/libgccExtras/divmodhi4.S,
7129 config/picochip/libgccExtras/divmodsi4.S,
7130 config/picochip/libgccExtras/lshrsi3.S,
7131 config/picochip/libgccExtras/parityhi2.S,
7132 config/picochip/libgccExtras/popcounthi2.S,
7133 config/picochip/libgccExtras/subdi3.S,
7134 config/picochip/libgccExtras/ucmpsi2.S,
7135 config/picochip/libgccExtras/udivmodhi4.S,
7136 config/picochip/libgccExtras/udivmodsi4.S: New files.
7137 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
7138 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
7139 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
7140 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
7141 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
7142 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
7143 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
7144 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
7145 files.
7146 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
7147 (HOST_LIBGCC2_CFLAGS): Set.
7148 * config/rs6000/t-darwin64: New file.
7149 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
7150 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
7151 * config/rs6000/t-ppccomm (LIB2ADD): Add
7152 $(srcdir)/config/rs6000/tramp.S.
7153 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
7154 Add $(srcdir)/config/rs6000/eabi.S.
7155 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
7156 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
7157 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
7158 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
7159 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
7160 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
7161 * config/rs6000/tramp.S: New file.
7162 * config/s390/t-tpf: Remove.
7163 * config/sh/linux-atomic.S: New file.
7164 * config/sh/t-linux (LIB2ADD): Set.
7165 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
7166 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7167 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
7168 to unwind-dw2.c.
7169 (HOST_LIBGCC2_CFLAGS): Set.
7170 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7171 * config/spu/divmodti4.c, config/spu/divv2df3.c,
7172 config/spu/float_disf.c, config/spu/float_unsdidf.c,
7173 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
7174 config/spu/mfc_multi_tag_release.c,
7175 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
7176 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
7177 config/spu/multi3.c: New files.
7178 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
7179 (HOST_LIBGCC2_CFLAGS): Set.
7180 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
7181 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
7182 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
7183 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
7184 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
7185 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
7186 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
7187 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
7188 config/stormy16/umodsi3.c: New files.
7189 * config/xtensa/lib2funcs.S: New file.
7190 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7191 * config/xtensa/t-xtensa (LIB2ADD): Set.
7192 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
7193 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
7194 Add t-freebsd-thread to tmake_file for posix threads.
7195 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
7196 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
7197 (*-*-lynxos*): Likewise.
7198 (*-*-netbsd*): Likewise.
7199 (*-*-openbsd*): Likewise.
7200 Add t-openbsd-thread to tmake_file for posix threads.
7201 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
7202 (*-*-vxworks*): Set tmake_file.
7203 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7204 (alpha*-*-freebsd*): Likewise.
7205 (alpha*-*-netbsd*): Likewise.
7206 (alpha*-*-openbsd*): Likewise.
7207 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
7208 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7209 (alpha*-dec-*vms*): Likewise.
7210 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
7211 (bfin*-elf*): Add bfin/t-elf to tmake_file.
7212 (bfin*-uclinux*): Likewise.
7213 (bfin*-linux-uclibc*): Likewise.
7214 (crisv32-*-elf): Add cris/t-cris to tmake_file.
7215 (crisv32-*-none): Likewise.
7216 (cris-*-elf): Likewise.
7217 (cris-*-none): Likewise.
7218 (cris-*-linux*, crisv32-*-linux*): Likewise.
7219 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
7220 tmake_file.
7221 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
7222 tmake_file.
7223 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
7224 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
7225 (x86_64-*-elf*): Likewise.
7226 (i[34567]86-*-nto-qnx*): Likewise.
7227 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
7228 win32 threads.
7229 (x86_64-*-mingw*): Likewise.
7230 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
7231 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
7232 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7233 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7234 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
7235 tmake_file.
7236 (mipsisa64sr71k-*-elf*): Likewise.
7237 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7238 (mips-*-elf*, mipsel-*-elf*): Likewise.
7239 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7240 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7241 (mips*-*-rtems*): Likewise.
7242 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
7243 to tmake_file.
7244 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
7245 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
7246 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
7247 (spu-*-elf*): Likewise.
7248 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
7249
45b86625
RO
72502011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7251
7252 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
7253 $(srcdir) to refer to $(LIB1ASMSRC).
7254 Use $<.
7255 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
7256 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
7257 config/arm/lib1funcs.S: New files.
7258 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
7259 * config/arm/t-arm: New file.
7260 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
7261 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
7262 config/arm/t-strongarm-elf: New files.
7263 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
7264 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
7265 * config/avr/lib1funcs.S: New file.
7266 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7267 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
7268 * config/c6x/lib1funcs.S: New file.
7269 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7270 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
7271 * config/frv/lib1funcs.S: New file.
7272 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7273 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
7274 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
7275 * config/ia64/__divxf3.asm: Rename to ...
7276 * config/ia64/__divxf3.S: ... this.
7277 Adapt lib1funcs.asm filename.
7278 * config/ia64/_fixtfdi.asm: Rename to ...
7279 * config/ia64/_fixtfdi.S: ... this.
7280 Adapt lib1funcs.asm filename.
7281 * config/ia64/_fixunstfdi.asm: Rename to ...
7282 * config/ia64/_fixunstfdi.S: ... this.
7283 Adapt lib1funcs.asm filename.
7284 * config/ia64/_floatditf.asm: Rename to ...
7285 * config/ia64/_floatditf.S: ... this.
7286 Adapt lib1funcs.asm filename.
7287 * config/ia64/lib1funcs.S: New file.
7288 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
7289 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7290 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
7291 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
7292 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
7293 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
7294 * config/mep/lib1funcs.S: New file.
7295 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7296 * config/mips/mips16.S: New file.
7297 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7298 * config/pa/milli64.S: New file.
7299 * config/pa/t-linux, config/pa/t-linux64: New files.
7300 * config/picochip/lib1funcs.S: New file.
7301 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7302 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
7303 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
7304 * config/sh/t-netbsd: New file.
7305 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
7306 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
7307 * config/sh/t-sh64: New file.
7308 * config/sparc/lb1spc.S: New file.
7309 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
7310 filename.
7311 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
7312 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
7313 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
7314 config/xtensa/lib1funcs.S: New files.
7315 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7316 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
7317 tmake_file.
7318 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
7319 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
7320 (arm*-*-linux*): Likewise.
7321 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
7322 arm*-*-linux-*eabi, add arm/t-linux otherwise.
7323 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
7324 (arm*-*-ecos-elf): Likewise.
7325 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7326 (arm*-*-rtems*): Likewise.
7327 (arm*-*-elf): Likewise.
7328 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
7329 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
7330 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
7331 (bfin*-uclinux*): Likewise.
7332 (bfin*-linux-uclibc*): Likewise.
7333 (bfin*-rtems*): Likewise.
7334 (bfin*-*): Likewise.
7335 (fido-*-elf): Merge into m68k-*-elf*.
7336 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
7337 (frv-*-*linux*): Add frv/t-frv to tmake_file.
7338 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
7339 (h8300-*-elf*): Likewise.
7340 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
7341 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
7342 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
7343 (i[34567]86-*-mingw*): Likewise.
7344 (x86_64-*-mingw*): Likewise.
7345 (i[34567]86-*-interix3*): Likewise.
7346 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
7347 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
7348 (m68k-*-elf*): Also handle fido-*-elf.
7349 Add m68k/t-floatlib to tmake_file.
7350 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
7351 (m68k-*-linux*): Likewise.
7352 (m68k-*-rtems*): Likewise.
7353 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
7354 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
7355 sh64*-*-*.
7356 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
7357 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
7358 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
7359 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
7360 sh/t-netbsd to tmake_file.
7361 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
7362 (sh-*-rtems*): Add sh/t-sh to tmake_file.
7363 (sh-wrs-vxworks): Likewise.
7364 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
7365 *-leon[3-9]*.
7366 (v850*-*-*): Add v850/t-v850 to tmake_file.
7367 (vax-*-linux*): Add vax/t-linux to tmake_file.
7368 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
7369
5f73c6cc
RO
73702011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7371
7372 * crtstuff.c: New file.
7373 * Makefile.in (CRTSTUFF_CFLAGS): Define.
7374 (CRTSTUFF_T_CFLAGS): Define.
7375 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
7376 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
7377 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
7378 crtstuff.c.
7379 Use $<.
7380 (crtbeginT.o): Use $(objext).
7381 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
7382 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
7383 (gcc-extra-parts): Remove.
7384 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
7385 Set extra_parts.
7386 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7387 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
7388 Add t-crtstuff-pic to tmake_file.
7389 (*-*-lynxos*): New case.
7390 Set tmake_file, extra_parts.
7391 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
7392 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
7393 *-*-netbsdelf[2-9]*.
7394 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
7395 (*-*-rtems*): Set extra_parts.
7396 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
7397 (*-*-uclinux*): New case.
7398 Set extra_parts.
7399 (*-*-vms*): New case.
7400 Set tmake_file, extra_parts.
7401 (*-*-elf): Set extra_parts.
7402 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
7403 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
7404 vms/t-vms64.
7405 Set extra_parts.
7406 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
7407 Set extra_parts.
7408 (arm*-*-freebsd*): Add t-crtin to tmake_file.
7409 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
7410 (arm-wrs-vxworks): Append to tmake_file.
7411 Set extra_parts.
7412 (arm*-*-uclinux*): Set extra_parts.
7413 (arm*-*-ecos-elf): Likewise.
7414 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
7415 arm*-*-eabi*.
7416 (arm*-*-rtems*): Set extra_parts.
7417 (arm*-*-elf): Likewise.
7418 (avr-*-rtems*): Clear extra_parts.
7419 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
7420 Set extra_parts.
7421 (bfin*-uclinux*): Likewise.
7422 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
7423 (bfin*-rtems*): Append to tmake_file.
7424 Set extra_parts.
7425 (bfin*-*): Likewise.
7426 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
7427 (crisv32-*-elf): ... this.
7428 (crisv32-*-none): ... this.
7429 (cris-*-elf, cris-*-none): New cases.
7430 Add cris/t-elfmulti to tmake_file.
7431 (fr30-*-elf): Append to tmake_file.
7432 Set extra_parts.
7433 (frv-*-elf): Append to tmake_file, add frv/t-frv.
7434 Set extra_parts.
7435 (h8300-*-rtems*): Append to tmake_file.
7436 Set extra_parts.
7437 (h8300-*-elf*): Likewise.
7438 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
7439 Set extra_parts.
7440 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
7441 Set extra_parts.
7442 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
7443 (x86_64-*-elf*): Likewise.
7444 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
7445 (x86_64-*-freebsd*): Likewise.
7446 (x86_64-*-netbsd*): Likewise.
7447 (i[34567]86-*-linux*): Likewise.
7448 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
7449 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
7450 (x86_64-*-linux*): Likewise.
7451 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
7452 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
7453 tmake_file.
7454 Set extra_parts.
7455 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
7456 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
7457 Append to extra_parts, remove crtbegin.o, crtend.o.
7458 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
7459 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
7460 crtend.o, crtbeginS.o, crtendS.o.
7461 (ia64*-*-linux*): Comment extra_parts.
7462 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
7463 Set extra_parts.
7464 (iq2000*-*-elf*): Clear extra_parts.
7465 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
7466 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
7467 (m32r-*-elf*, m32r-*-rtems*): Split off ...
7468 (m32r-*-rtems*): ... this.
7469 Add m32r/t-m32r to tmake_file.
7470 (m68k-*-elf*): Add t-crtin to tmake_file.
7471 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
7472 (mcore-*-elf): Likewise.
7473 (microblaze*-*-*): Set extra_parts.
7474 (mips*-sde-elf*): New case.
7475 Set tmake_file, extra_parts.
7476 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7477 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7478 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
7479 tmake_file.
7480 Set extra_parts.
7481 (mipsisa64sr71k-*-elf*): Likewise.
7482 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7483 (mips-*-elf*, mipsel-*-elf*): Likewise.
7484 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7485 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
7486 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7487 (mips*-*-rtems*): Likewise.
7488 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
7489 (moxie-*-*): Split into ...
7490 (moxie-*-elf, moxie-*-uclinux*): ... this.
7491 Add to extra_parts, remove crtbegin.o, crtend.o.
7492 (moxie-*-rtems*): New case.
7493 Set tmake_file.
7494 Clear extra_parts.
7495 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
7496 Set extra_parts.
7497 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7498 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
7499 tmake_file.
7500 Set extra_parts.
7501 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
7502 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
7503 Set extra_parts.
7504 (powerpc-*-eabisim*): Likewise.
7505 (powerpc-*-elf*): Likewise.
7506 (powerpc-*-eabialtivec*): Likewise.
7507 (powerpc-xilinx-eabi*): Likewise.
7508 (powerpc-*-eabi*): Likewise.
7509 (powerpc-*-rtems*): Likewise.
7510 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
7511 tmake_file.
7512 Set extra_parts.
7513 (powerpc-*-lynxos*): Add to tmake_file.
7514 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
7515 rs6000/t-crtstuff, t-crtstuff-pic.
7516 Set extra_parts.
7517 (powerpcle-*-eabisim*): Likewise.
7518 (powerpcle-*-eabi*): Likewise.
7519 (rx-*-elf): Remove extra_parts.
7520 (s390x-ibm-tpf*): Set extra_parts.
7521 (score-*-elf): Set extra_parts.
7522 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7523 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7524 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7525 (sh64l*-*-netbsd*): Split into ...
7526 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
7527 Add t-crtstuff-pic to tmake_file.
7528 Set extra_parts.
7529 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
7530 Set extra_parts.
7531 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
7532 (sparc-*-elf*): Remove t-crtin from tmake_file.
7533 Add to extra_parts, remove crtbegin.o, crtend.o.
7534 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
7535 (sparc64-*-linux*): Likewise.
7536 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
7537 Add to extra_parts, remove crtbegin.o, crtend.o.
7538 (sparc64-*-elf*): Remove t-crtin from tmake_file.
7539 Add to extra_parts, remove crtbegin.o, crtend.o.
7540 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
7541 Add to extra_parts, remove crtbegin.o, crtend.o.
7542 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
7543 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
7544 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
7545 Set extra_parts.
7546 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
7547 Set extra_parts.
7548 (tic6x-*-*): Change to ...
7549 (tic6x-*-elf): ... this.
7550 Set extra_parts.
7551 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
7552 Set extra_parts.
7553 (am33_2.0-*-linux*): Add comment.
7554 (mep*-*-*): Add mep/t-mep to tmake_file.
7555 Set extra_parts.
7556 * config/alpha/t-vms: New file.
7557 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
7558 * config/arm/crti.S, config/arm/crtn.S: New files.
7559 * config/bfin/crti.S, config/bfin/crtn.S: New files.
7560 * config/bfin/crtlibid.S: New file.
7561 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
7562 * config/c6x/crti.S, config/c6x/crtn.S: New files.
7563 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
7564 (crti.o, crtin.o): New rules.
7565 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7566 * config/c6x/t-uclinux: New file.
7567 * config/cris/t-elfmulti: New file.
7568 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
7569 * config/fr30/crti.S, config/fr30/crtn.S: New files.
7570 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
7571 * config/frv/t-frv: New file.
7572 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
7573 * config/h8300/crti.S, config/h8300/crtn.S: New files.
7574 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
7575 New files.
7576 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
7577 refer to cygming-crtbegin.c, cygming-crtend.c.
7578 Use $<.
7579 * config/i386/t-nto: New file.
7580 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
7581 * config/ia64/crti.S, config/ia64/crtn.S: New files.
7582 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
7583 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
7584 Use .S extension.
7585 Use $<.
7586 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7587 (crtinitS.o): New rule.
7588 * config/ia64/vms-crtinit.S: New file.
7589 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
7590 * config/m32r/initfini.c: New file.
7591 * config/m32r/t-linux, config/m32r/t-m32r: New files.
7592 * config/m68k/crti.S, config/m68k/crtn.S: New files.
7593 * config/mcore/crti.S, config/mcore/crtn.S: New files.
7594 * config/mep/t-mep: New file.
7595 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
7596 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
7597 * config/mips/crti.S, config/mips/crtn.S: New files.
7598 * config/mips/t-crtstuff: New file.
7599 * config/mmix/crti.S, config/mmix/crtn.S: New files.
7600 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
7601 (CUSTOM_CRTIN): Set.
7602 ($(T)crti.o, $(T)crtn.o): Remove $(T),
7603 dependencies.
7604 Use $(srcdir) to refer to crti.S, crtn.S.
7605 Use .S extension, $<.
7606 * config/moxie/crti.asm: Rename to ...
7607 * config/moxie/crti.S: ... this.
7608 * config/moxie/crtn.asm: Rename to ...
7609 * config/moxie/crtn.S: ... this.
7610 * config/moxie/t-moxie: Remove.
7611 * config/pa/stublib.c: New file.
7612 * config/pa/t-stublib, config/pa/t-stublib64: New files.
7613 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
7614 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
7615 * config/rs6000/t-crtstuff: New file.
7616 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
7617 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
7618 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
7619 Make output file explicit.
7620 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
7621 Make output file explicit.
7622 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
7623 Make output file explicit.
7624 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
7625 Make output file explicit.
7626 * config/score/crti.S, config/score/crtn.S: New files.
7627 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
7628 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
7629 files.
7630 * config/sh/t-sh, config/sh/t-superh: New files.
7631 * config/sparc/t-linux64: New file.
7632 * config/spu/cache.S, config/spu/cachemgr.c: New files.
7633 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
7634 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
7635 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
7636 * config/t-crtin: Remove.
7637 * config/t-crtstuff-pic: New file.
7638 * config/t-sol2 (CUSTOM_CRTIN): Set.
7639 (crti.o, crtn.o): New rules.
7640 * config/vms/t-vms: New file.
7641 * config/vms/vms-ucrt0.c: New file.
7642 * config/xtensa/t-elf: New file.
7643
b040f2be
RO
76442011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7645
7646 * Makefile.in (SHLIB_NM_FLAGS): Set.
7647 * mkmap-flat.awk, mkmap-symver.awk: New files.
7648 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
7649 exceptions.
7650 * configure: Regenerate.
7651 * config/libgcc-glibc.ver: New file.
7652 * config/libgcc-libsystem.ver: New file.
7653 * config/t-libunwind (SHLIB_LC): Set.
7654 * config/t-linux: New file.
7655 * config/t-slibgcc (INSTALL_SHLIB): New.
7656 (SHLIB_INSTALL): Use it.
7657 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
7658 to mkmap-symver.awk.
7659 (SHLIB_MAPFILES): Don't append, adapt pathname.
7660 (SHLIB_VERPFX): Set.
7661 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
7662 to mkmap-symver.awk.
7663 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
7664 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
7665 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
7666 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
7667 to mkmap-flat.awk.
7668 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
7669 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
7670 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
7671 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
7672 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
7673 * config/i386/libgcc-darwin.10.4.ver,
7674 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
7675 New files.
7676 * config/i386/t-darwin: Remove.
7677 * config/i386/t-darwin64: Likewise.
7678 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
7679 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
7680 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
7681 * config/i386/t-linux: New file.
7682 * config/i386/t-mingw32: New file.
7683 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
7684 * config/ia64/t-glibc: Rename to ...
7685 * config/ia64/t-linux: ... this.
7686 (SHLIB_MAPFILES): Set.
7687 * config/ia64/t-glibc-libunwind: Rename to ...
7688 * config/ia64/t-linux-libunwind: ... this.
7689 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
7690 * config/ia64/t-slibgcc-hpux: New file.
7691 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
7692 * config/m68k/t-slibgcc-elf-ver: New file.
7693 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
7694 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
7695 to mkmap-flat.awk.
7696 * config/pa/t-slibgcc-hpux: New file.
7697 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
7698 files.
7699 * config/rs6000/libgcc-darwin.10.4.ver,
7700 config/rs6000/libgcc-darwin.10.5.ver: New files.
7701 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
7702 config/rs6000/libgcc-glibc.ver.
7703 * config/rs6000/libgcc-ppc64.ver: Rename to
7704 config/rs6000/libgcc-ibm-ldouble.ver.
7705 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
7706 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
7707 * config/rs6000/t-ldbl128: Rename to ...
7708 * config/rs6000/t-linux: ... this.
7709 (SHLIB_MAPFILES): Adapt filename.
7710 * config/rs6000/t-slibgcc-aix: New file.
7711 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
7712 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
7713 libgcc-excl.ver, libgcc-glibc.ver.
7714 (SHLIB_LINK, SHLIB_INSTALL): Remove.
7715 * config/sparc/libgcc-glibc.ver: New file.
7716 * config/sparc/t-linux: New file.
7717 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
7718 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
7719 t-slibgcc-elf-ver to tmake_file.
7720 Add t-slibgcc-nolc-override to tmake_file for posix threads on
7721 *-*-freebsd[34].
7722 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7723 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
7724 t-slibgcc-elf-ver, t-linux to tmake_file.
7725 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
7726 tmake_file.
7727 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
7728 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
7729 (alpha*-dec-*vms*): Likewise.
7730 (arm*-*-freebsd*): Append to tmake_file.
7731 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
7732 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
7733 arm*-*-linux-*eabi.
7734 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
7735 tmake_file for arm*-*-symbianelf*.
7736 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
7737 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
7738 cris/t-linux.
7739 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
7740 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
7741 pa/t-slibgcc-dwarf-ver to tmake_file.
7742 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
7743 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
7744 (hppa*64*-*-hpux11*): Likewise.
7745 (hppa[12]*-*-hpux11*): Likewise.
7746 (x86_64-*-darwin*): Don't override tmake_file, but only keep
7747 i386/t-crtpc, i386/t-crtfm.
7748 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
7749 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7750 to tmake_file.
7751 Add i386/t-cygwin to tmake_file.
7752 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
7753 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
7754 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7755 to tmake_file.
7756 Add i386/t-mingw32 to tmake_file.
7757 (x86_64-*-mingw*): Likewise.
7758 (ia64*-*-freebsd*): Append to tmake_file.
7759 (ia64*-*-linux*): Append to tmake_file.
7760 Replace ia64/t-glibc by ia64/t-linux.
7761 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
7762 system libunwind.
7763 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
7764 t-slibgcc-hpux to tmake_file.
7765 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
7766 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
7767 (m32rle-*-linux*): Likewise.
7768 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
7769 sjlj exceptions.
7770 (microblaze*-linux*): New case.
7771 Append to tmake_file, add t-slibgcc-nolc-override.
7772 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
7773 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7774 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
7775 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7776 rs6000/t-slibgcc-aix to tmake_file.
7777 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7778 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7779 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7780 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7781 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7782 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
7783 sh*-*-linux*.
7784 (sparc-*-linux*): Append to tmake_file for *-leon*.
7785 Add sparc/t-linux to tmake_file for non-Leon targets.
7786 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
7787 (tic6x-*-uclinux): New case.
7788 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
7789 (tic6x-*-*): Add c6x/t-elf to tmake_file.
7790 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
7791 (am33_2.0-*-linux*): Append to tmake_file.
7792 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
7793 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
7794 x86_64-*-kfreebsd*-gnu.
7795 Add i386/t-linux to tmake_file.
7796
18b4bd7b
ILT
77972011-10-28 Ian Lance Taylor <iant@google.com>
7798
7799 * config/i386/morestack.S: Correct CFI information to do proper
7800 returns throughout function. In 32-bit mode, save %ebx so that it
7801 is restored on unwind.
7802
5b2d9d90
BS
78032011-10-25 Bernd Schmidt <bernds@codesourcery.com>
7804
7805 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
7806 case where B3 isn't the return register.
7807
0d53e346
BS
7808 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
7809 logic for doubleword pops.
7810
cbffbd59
AT
78112011-10-25 Andreas Tobler <andreast@fgznet.ch>
7812
7813 * config/rs6000/t-freebsd: Add wildcard.
7814
56dc349e
PB
78152011-10-21 Paul Brook <paul@codesourcery.com>
7816
7817 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
7818
1e06b07d
UB
78192011-10-16 Uros Bizjak <ubizjak@gmail.com>
7820 Eric Botcazou <ebotcazou@adacore.com>
7821
7822 PR target/50737
7823 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
7824 fs->signal_frame to 1.
7825
b5204884
ILT
78262011-10-07 Ian Lance Taylor <iant@google.com>
7827
7828 * generic-morestack-thread.c: #include <errno.h>.
7829
91a639a1
ILT
78302011-10-07 Ian Lance Taylor <iant@google.com>
7831
7832 PR target/46093
7833 * generic-morestack.c (__generic_morestack): Make sure the segment
7834 is large enough for both the stack frame and the copied
7835 parameters.
7836
cc49116d
RO
78372011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7838
7839 PR bootstrap/49804
7840 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
7841 extra_parts.
7842
2996d8c3
NC
78432011-09-28 Nick Clifton <nickc@redhat.com>
7844
7845 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
7846 64-bit doubles are not enabled.
7847 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
7848 and floatunsisf functions.
7849
1e874273 78502011-09-13 Paul Brook <paul@codesourcery.com>
2996d8c3 7851
1e874273
PB
7852 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
7853 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
7854 * unwind-arm-common.inc: New file.
7855 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
7856 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
7857 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
7858 * config/c6x/libunwind.S: New file.
7859 * config/c6x/pr-support.c: New file.
7860 * config/c6x/unwind-c6x.c: New file.
7861 * config/c6x/unwind-c6x.h: New file.
7862 * config/c6x/t-c6x-elf: New file.
7863
f70c879a
UB
78642011-08-23 Uros Bizjak <ubizjak@gmail.com>
7865
7866 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
7867 (ASM_DIVZERO): Ditto.
7868 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
7869
c55b374b
RS
78702011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
7871
7872 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
7873
1e138510
RS
78742011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
7875
7876 PR target/50090
7877 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
7878 instead of an assembly one.
7879
1563503d
PB
78802011-08-12 Paolo Bonzini <bonzini@gnu.org>
7881
7882 PR bootstrap/50047
7883 * Makefile.in (install-unwind_h): Create
7884 $(gcc_objdir)/include/unwind.h atomically.
7885
3627ac1a
RO
78862011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7887
7888 * Makefile.in (install-unwind_h): Remove destination file first.
7889
c6412d86
RO
78902011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7891
7892 * sync.c: New file.
7893 * config/mips/t-mips16: New file.
7894 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
7895 (mips*-*-linux*): Likewise.
7896 (mips*-sde-elf*): Likewise.
7897 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
7898 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
7899 Add mips/t-mips16 to tmake_file.
7900 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
7901 (mips-*-elf*): Likewise.
7902 (mips64-*-elf*): Likewise.
7903 (mips64orion-*-elf*): Likewise.
7904 (mips*-*-rtems*): Likewise.
7905 (mipstx39-*-elf*): Likewise.
7906 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
7907 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
7908 LIBGCC_SYNC_CFLAGS.
7909 Use $(srcdir) to refer to sync.c.
7910 Use $<.
7911 ($(libgcc-sync-funcs-o)): Likewise.
7912 ($(libgcc-sync-size-funcs-s-o)): Likewise.
7913 ($(libgcc-sync-funcs-s-o)): Likewise.
7914
3cb6e5bd
AS
79152011-08-09 Andreas Schwab <schwab@linux-m68k.org>
7916
7917 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
7918 t-libunwind.
7919
cca2207a
L
79202011-08-08 H.J. Lu <hongjiu.lu@intel.com>
7921
7922 PR other/48007
7923 * config/i386/value-unwind.h: New.
7924
ed39fbad
RS
79252011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
7926
7927 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
7928 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
7929 Add to tmake_file rather than overriding it.
7930
aca0b0b3
RO
79312011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7932
7933 * config/t-softfp: Remove.
7934 * soft-fp: Moved from ../gcc/config.
7935 * soft-fp/README: Remove t-softfp reference.
7936 * soft-fp/t-softfp: Move to config/t-softfp.
7937 (softfp_machine_header): Remove.
7938 (softfp_file_list): Remove config subdir.
7939 (soft-fp-objects): New variable.
7940 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
7941 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
7942 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
7943 * config/t-softfp-excl: New file.
7944 * config/t-softfp-sfdf: New file.
7945 * config/t-softfp-tf: New file.
7946 * config/no-sfp-machine.h: New file.
7947 * config/arm/sfp-machine.h: New file.
7948 * config/arm/t-softfp: New file.
7949 * config/c6x/sfp-machine.h: New file.
7950 * config/i386/32/t-fprules-softfp: Rename to ...
7951 * config/i386/32/t-softfp: ... this.
7952 (tifunctions, LIB2ADD): Remove.
7953 (softfp_int_modes): Override.
7954 * config/i386/64/t-softfp-compat (tf-functions): Remove config
7955 subdir.
7956 * config/i386/64/eqtf2.c: Likewise.
7957 * config/i386/64/getf2.c: Likewise.
7958 * config/i386/64/letf2.c: Likewise.
7959 * config/ia64/sft-machine.h: New file.
7960 * config/ia64/t-fprules-softfp: Rename to ...
7961 * config/ia64/t-softfp: ... this.
7962 * config/lm32/sfp-machine.h: New file.
7963 * config/moxie/t-moxie-softfp: Remove.
7964 * config/rs6000/ibm-ldouble-format: New file.
7965 * config/rs6000/ibm-ldouble.c: New file.
7966 * config/rs6000/libgcc-ppc-glibc.ver: New file
7967 * config/rs6000/libgcc-ppc64.ver: New file
7968 * config/rs6000/sfp-machine.h: New file.
7969 * config/rs6000/t-freebsd: New file.
7970 * config/rs6000/t-ibm-ldouble: New file.
7971 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
7972 libgcc-ppc-glibc.ver.
7973 * config/rs6000/t-linux64: New file.
7974 * config/rs6000/t-ppccomm (LIB2ADD): Add
7975 $(srcdir)/config/rs6000/ibm-ldouble.c.
7976 * config/rs6000/t-ppccomm-ldbl: New file.
7977 * config/score/sfp-machine.h: New file.
7978 * config.host (sfp_machine_header): Explain.
7979 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
7980 t-softfp to tmake_file.
7981 (arm*-*-uclinux*): Likewise.
7982 (arm*-*-ecos-elf): Likewise.
7983 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7984 (arm*-*-rtems*): Likewise.
7985 (arm*-*-elf): Likewise.
7986 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
7987 in tmake_file.
7988 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
7989 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
7990 (lm32-*-uclinux*): Likewise.
7991 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
7992 t-softfp-excl, t-softfp.
7993 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
7994 (powerpc64-*-darwin*): Likewise.
7995 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
7996 to tmake_file.
7997 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
7998 tmake_file.
7999 (powerpc-*-eabisim*): Likewise.
8000 (powerpc-*-elf*): Likewise.
8001 (powerpc-*-eabialtivec*): Likewise.
8002 (powerpc-xilinx-eabi*): Likewise.
8003 (powerpc-*-rtems*): Likewise.
8004 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
8005 t-softfp-excl, t-softfp to tmake_file.
8006 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
8007 rs6000/t-ppccomm-ldbl to tmake_file.
8008 (powerpcle-*-elf*): Likewise.
8009 (powerpcle-*-eabisim*): Likewise.
8010 (powerpcle-*-eabi*): Likewise.
8011 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8012 rs6000/t-ibm-ldouble to tmake_file.
8013 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8014 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8015 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
8016 (tic6x-*-*): Likewise.
8017 (i[34567]86-*-darwin*, x86_64-*-darwin*,
8018 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
8019 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
8020 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
8021 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
8022 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
8023 t-softfp to tmake_file.
8024 * configure.ac (sfp_machine_header): Provide default if unset.
8025 Substitute.
8026 Link sfp-machine.h to config/$sfp_machine_header.
8027 * configure: Regenerate.
8028
569dc494
RO
80292011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8030
8031 * Makefile.in (double_type_size, long_double_type_size): Set.
8032 Remove $(fpbit-in-libgcc) support.
8033 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
8034 (fpbit-src): New variable.
8035 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
8036 Compile with -DFLOAT $(FPBIT_CFLAGS).
8037 Use $<.
8038 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
8039 Compile with $(FPBIT_CFLAGS).
8040 Use $<.
8041 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
8042 Compile with -DFLOAT $(TPBIT_CFLAGS).
8043 Use $<.
8044 * configure.ac (double_type_size, long_double_type_size):
8045 Determine and substitute.
8046 * configure: Regenerate.
8047 * fp-bit.c, fp-bit.h: New files.
8048 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
8049 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
8050 * config/mips/t-mips: New file.
8051 * config/mips/t-sdemtk: New file.
8052 * config/rs6000/ppc64-fp.c: New file.
8053 * config/rs6000/t-darwin (LIB2ADD): Add
8054 $(srcdir)/config/rs6000/ppc64-fp.c.
8055 * config/rs6000/t-ppc64-fp: New file.
8056 * config/rx/rx-lib.h: New file.
8057 * config/rx/t-rx (FPBIT): Set to true.
8058 ($(gcc_objdir)/fp-bit.c): Remove.
8059 (DPBIT): Set to true only with -m64bit-doubles.
8060 ($(gcc_objdir)/dp-bit.c): Remove.
8061 * config/sparc/t-softfp: Remove.
8062 * config/spu/t-elf: New file.
8063 * config/t-fdpbit, config/t-fpbit: New files.
8064 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
8065 (mips*-*-*): Likewise.
8066 (arm-wrs-vxworks): Likewise.
8067 (arm*-*-freebsd*): Likewise.
8068 (avr-*-rtems*): Add t-fpbit to tmake_file.
8069 (avr-*-*): Likewise.
8070 (bfin*-elf*): Add t-fdpbit to tmake_file.
8071 (bfin*-uclinux*): Likewise.
8072 (bfin*-linux-uclibc*): Likewise.
8073 (bfin*-rtems*): New case.
8074 Add t-fdpbit to tmake_file.
8075 (bfin*-*): Add t-fdpbit to tmake_file.
8076 (crisv32-*-elf): Likewise.
8077 (cris-*-linux*): Likewise.
8078 (fr30-*-elf): Likewise.
8079 (frv-*-elf, frv-*-*linux*): Likewise.
8080 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
8081 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
8082 (m32r-*-elf*): Likewise.
8083 (m32rle-*-elf*): Likewise.
8084 (m32r-*-linux*): Likewise.
8085 (m32rle-*-linux*): Likewise.
8086 (mcore-*-elf): Add t-fdpbit to tmake_file.
8087 (microblaze*-*-*): Likewise.
8088 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
8089 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
8090 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
8091 Fix typo.
8092 Add mips/t-tpbit to tmake-file.
8093 (mips*-*-linux*): Fix typo.
8094 (mips*-sde-elf*): New case
8095 Add mips/t-sdemtk unless using newlib.
8096 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
8097 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
8098 (mn10300-*-*): Likewise.
8099 (pdp11-*-*): Likewise.
8100 (picochip-*-*): Add t-fpbit to tmake_file.
8101 (powerpc-*-eabisimaltivec*): Likewise.
8102 (powerpc-*-eabisim*): Likewise.
8103 (powerpc-*-elf*): Likewise.
8104 (powerpc-*-eabialtivec*): Likewise.
8105 (powerpc-xilinx-eabi*): New case.
8106 Add t-fdpbit to tmake_file.
8107 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
8108 (powerpc-*-rtems*): Likewise.
8109 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
8110 tmake_file.
8111 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
8112 tmake_file.
8113 (powerpc-*-lynxos*): Likewise.
8114 (powerpcle-*-elf*): Likewise.
8115 (powerpcle-*-eabisim*): Likewise.
8116 (powerpcle-*-eabi*): Likewise.
8117 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8118 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
8119 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8120 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8121 (rx-*-elf): Add t-fdpbit to tmake_file.
8122 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8123 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8124 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8125 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
8126 sh*-*-netbsd*.
8127 (sh-*-rtems*): Add t-fdpbit to tmake_file.
8128 (sh-wrs-vxworks): Likewise.
8129 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
8130 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
8131 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
8132 (sparc64-*-rtems*): ... new case.
8133 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
8134 (spu-*-elf*): Likewise.
8135 Add spu/t-elf to tmake_file.
8136 (v850*-*-*): Add t-fdpbit to tmake_file.
8137 (xstormy16-*-elf): Likewise.
8138 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
8139 (mep*-*-*): Likewise.
8140
201cdb74
RO
81412011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8142
8143 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
8144 variables.
8145 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
8146 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
8147 (install-unwind_h): New target.
8148 (all): Depend on it.
8149 * config.host (unwind_header): New variable.
8150 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
8151 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8152 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
8153 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
8154 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
8155 Set unwind_header.
8156 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
8157 Set unwind_header.
8158 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
8159 arm*-*-eabi*.
8160 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
8161 Set unwind_header.
8162 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
8163 (ia64*-*-freebsd*): Likewise.
8164 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
8165 tmake_file.
8166 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
8167 $with_system_libunwind.
8168 (ia64*-*-hpux*): Set tmake_file.
8169 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
8170 (picochip-*-*): Set tmake_file.
8171 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
8172 md_unwind_header.
8173 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8174 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8175 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
8176 (xtensa*-*-elf*): Set tmake_file.
8177 (xtensa*-*-linux*): Likewise.
8178 * configure.ac: Include ../config/unwind_ipinfo.m4.
8179 Call GCC_CHECK_UNWIND_GETIPINFO.
8180 Link unwind.h to $unwind_header.
8181 * configure: Regenerate.
8182 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
8183 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
8184 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
8185 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
8186 * config/unwind-dw2-fde-darwin.c: New file.
8187 * config/arm/libunwind.S, config/arm/pr-support.c,
8188 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
8189 config/arm/unwind-arm.h,: New files.
8190 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
8191 config/ia64/t-eh-ia64, config/ia64/t-glibc,
8192 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
8193 config/ia64/t-vms, config/ia64/unwind-ia64.c,
8194 config/ia64/unwind-ia64.h: New files.
8195 * config/picochip/t-picochip: New file.
8196 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
8197 files.
8198 * config/rs6000/t-darwin (LIB2ADDEH): Set.
8199 * config/s390/t-tpf (LIB2ADDEH): Remove.
8200 * config/t-darwin (LIB2ADDEH): Set.
8201 * config/t-eh-dw2-dip: New file.
8202 * config/t-libunwind, config/t-libunwind-elf: New files.
8203 * config/t-sol2 (LIB2ADDEH): Remove.
8204 * config/xtensa/t-xtensa: New file.
8205
40f2f11f
L
82062011-08-02 H.J. Lu <hongjiu.lu@intel.com>
8207
8208 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
8209 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
8210 long long to check rt_sigreturn syscall.
8211
bd15e32c
AM
82122011-08-02 Alan Modra <amodra@gmail.com>
8213
8214 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8215 Restore for indirect call bcrtl from correct stack slot, and only
8216 if cfa+40 isn't valid.
8217
655b30bf
JB
82182011-08-01 Julian Brown <julian@codesourcery.com>
8219
8220 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
8221 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
8222 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
8223
247eb06f
JB
82242011-08-01 Julian Brown <julian@codesourcery.com>
8225
8226 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
8227 (libgcc-std.ver.in): Use above.
8228 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
8229 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
8230 throughout file.
8231 * config/t-fixedpoint-gnu-prefix: New file.
8232 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
8233 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
8234 instead of __PFX__.
8235
02a8fe00
L
82362011-07-28 H.J. Lu <hongjiu.lu@intel.com>
8237
8238 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
8239 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
8240 for x86-64. Properly check __x86_64__ and __LP64__.
8241
5fce9126
L
82422010-07-28 H.J. Lu <hongjiu.lu@intel.com>
8243
8244 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
8245 version.
8246 (_FP_WS_TYPE): Likewise.
8247 (_FP_I_TYPE): Likewise.
8248
2374a88a
AM
82492011-07-28 Alan Modra <amodra@gmail.com>
8250
8251 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8252 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
8253 in a plt call stub. Do restore r2 if stopped on bctrl.
8254
e44dbbe1
RO
82552011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8256
8257 * config.host (i[3456x]86-*-netware*): Remove.
8258 * config/i386/netware-crt0.c, config/i386/t-nwld,
8259 config/i386/t-slibgcc-nwld: Remove.
8260
bcead286
BS
82612011-07-15 Bernd Schmidt <bernds@codesourcery.com>
8262
8263 * config.host: Handle tic6x-*-*.
8264 * config/c6x/c6x-abi.h: New file.
8265
b3fe1584
RO
82662011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8267
8268 * config/i386/crtprec.c: New file.
8269 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
8270 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
8271 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
8272 (x86_64-*-darwin*): Likewise.
8273 (i[34567]86-*-solaris2*: Likewise.
8274
35d8090d
RO
82752011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8276
8277 * config/alpha/crtfastmath.c: New file.
8278 * config/i386/crtfastmath.c: New file.
8279 * config/ia64/crtfastmath.c: New file.
8280 * config/mips/crtfastmath.c: New file.
8281 * config/sparc/crtfastmath.c: New file.
8282
8283 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
8284 crtfastmath.c.
8285 Add -frandom-seed=gcc-crtfastmath.
8286 * config/alpha/t-crtfm: Remove.
8287 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
8288 * config/ia64/t-ia64 (crtfastmath.o): Remove.
8289
8290 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
8291 (alpha*-dec-osf5.1*): Likewise.
8292 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
8293 Add crtfastmath.o to extra_parts.
8294 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
8295 Add crtfastmath.o to extra_parts.
8296 (x86_64-*-darwin*): Likewise.
8297 (x86_64-*-mingw*): Likewise.
8298 (ia64*-*-elf*): Add t-crtfm to tmake_file.
8299 (ia64*-*-freebsd*): Likewise.
8300 (ia64*-*-linux*): Likewise.
8301 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
8302 Add crtfastmath.o to extra_parts.
8303
e141542e
RO
83042011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8305
8306 * config/darwin-crt3.o: New file.
8307 * config/rs6000/darwin-crt2.c: New file.
8308 * config/t-darwin: New file.
8309 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
8310 (crt2.o): New rule.
8311 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
8312 (powerpc-*-darwin*): Add crt2.o to extra_parts.
8313 (powerpc64-*-darwin*): Likewise.
8314
2d1efe2d
RO
83152011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8316
8317 * config/i386/netware-crt0.c: New file.
8318 * config/i386/t-nwld: Rename to ...
8319 * config/i386/t-slibgcc-nwld: ... this.
8320 * config/i386/t-nwld: New file.
8321 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
8322 tmake_file.
8323 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
8324 extra_parts.
8325
4a8bb046
RO
83262011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8327
8328 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
8329 i386/t-crtstuff.
8330 * configure: Regenerate.
8331
2d8d5935
RO
83322011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8333
8334 * dfp-bit.c, dfp-bit.h: New files.
8335 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
8336 variables.
8337 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
8338 ($(d64pbit-o)): Likewise.
8339 ($(d128pbit-o)): Likewise.
8340 * config/t-dfprules: New file.
8341 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
8342 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
8343 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8344 (x86_64-*-linux*): Likewise.
8345 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8346 (i[34567]86-*-cygwin*): Likewise.
8347 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
8348 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8349
2c50b2c3
RO
83502011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8351
8352 * Makfile.in (LIBGCOV): New variable.
8353 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
8354 * libgcov.c: New file.
8355
a039d7c2
RO
83562011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8357
8358 * fixed-bit.c, fixed-bit.h: New files.
8359 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
8360 refer to fixed-bit.c.
8361
1e4b2746
JM
83622011-07-07 Joseph Myers <joseph@codesourcery.com>
8363
8364 * config.host (*local*): Remove.
8365
fbdd5d87
RO
83662011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8367
8368 PR target/39150
8369 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
8370 like i?86-*-solaris2.1[0-9]*.
8371 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
8372 * configure.ac (i?86-*-solaris2*): Likewise.
8373 * configure: Regenerate.
8374
9e7714f4
TS
83752011-07-06 Thomas Schwinge <thomas@schwinge.name>
8376
8377 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8378 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
8379 md_unwind_header by splitting out of...
8380 (i[34567]86-*-linux*): ... this.
8381 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
8382 Remove md_unwind_header by splitting out of...
8383 (x86_64-*-linux*): ... this.
8384
6dab9931
GJL
83852011-07-04 Georg-Johann Lay <avr@gjlay.de>
8386
8387 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
8388
4be46d19
NC
83892011-06-28 Nick Clifton <nickc@redhat.com>
8390
8391 * config.host: Recognize all V850 variants.
8392
1da9434b
UB
83932011-06-22 Uros Bizjak <ubizjak@gmail.com>
8394
8395 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
8396
e4d48a4d
RO
83972011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8398
8399 * shared-object.mk (c_flags-$o): Save c_flags.
8400 ($(base)$(objext)): Use it.
8401 ($(base)_s$(objext)): Likewise.
8402
3801c801
BS
84032011-06-21 Bernd Schmidt <bernds@codesourcery.com>
8404
8405 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
8406 * libgcc-std.ver.in (GCC_4.7.0): New section.
8407
0ad8bb3b 84082011-06-16 Georg-Johann Lay <avr@gjlay.de>
1da9434b 8409
0ad8bb3b
GJL
8410 PR target/49313
8411 PR target/29524
8412 * config/avr/t-avr: Fix line endings.
8413 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
8414 _parityXX2.
8415
ea963999
OH
84162011-06-14 Olivier Hainque <hainque@adacore.com>
8417 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8418
8419 * config/mips/irix6-unwind.h: New file.
8420 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
8421
b11b0904
EB
84222011-06-10 Eric Botcazou <ebotcazou@adacore.com>
8423
8424 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
8425 (sparc64_fallback_frame_state): Use it.
8426 (sparc64_frob_update_context): Further adjust context.
8427 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
8428 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
8429 * config/sparc/sol2-cn.S: Likewise.
8430
10e48e39
RO
84312011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8432
8433 * enable-execute-stack-empty.c: New file.
8434 * enable-execute-stack-mprotect.c: New file.
8435 * config/i386/enable-execute-stack-mingw32.c: New file.
8436 * config.host (enable_execute_stack): New variable.
8437 Select appropriate variants.
8438 * configure.ac: Link enable-execute-stack.c to
8439 $enable_execute_stack.
8440 * configure: Regenerate.
8441 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
8442 (lib2funcs): Remove _enable_execute_stack.
8443
10c4cabc
DM
84442011-06-09 David S. Miller <davem@davemloft.net>
8445 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8446
8447 * config.host (sparc-*-linux*): Correct md_unwind_header
8448 filename.
8449 (s390x-ibm-tpf*): Fix typo.
8450
aa4203e7
RO
84512011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8452
8453 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
8454 Add crtfastmath.o to extra_parts.
8455 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
8456 mips/t-crtfm.
8457 * config/mips/t-crtfm: Remove.
8458
0defd786
JDA
84592011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8460
8461 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
8462
82f247af
KK
84632011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
8464
8465 * config.host (sh*-*-linux*): Fix typo.
8466
58cd1d70
RO
84672011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8468
8469 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
8470 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
8471 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
8472 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
8473 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
8474 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
8475 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
8476 Wrap in !__MINGW64__.
8477 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
8478 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
8479 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
8480 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
8481 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
8482 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
8483 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
8484 Wrap in !__LP64__.
8485 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
8486 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
8487 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
8488 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
8489 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
8490 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
8491 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
8492 * config/no-unwind.h: New file.
8493 * config.host (md_unwind_header): Document.
8494 Define.
8495 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
8496 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
8497 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
8498 hppa[12]*-*-hpux11*): Set md_unwind_header.
8499 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
8500 Set md_unwind_header.
8501 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
8502 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
8503 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
8504 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
8505 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
8506 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
8507 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
8508 md_unwind_header.
8509 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
8510 * configure: Regenerate.
8511
737346fa
RO
85122011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8513
8514 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
8515 Set tmake_file, extra_parts.
8516 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
8517 Remove O32 support.
8518 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
8519 Remove O32 support.
8520 * config/mips/t-irix6: New file.
8521 * config/mips/t-slibgcc-irix: New file.
8522
c192cee6
RO
85232011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8524
8525 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
8526 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
8527
ee33b5f0
RO
85282011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8529
8530 * configure.ac (target_thread_file): Determine thread model.
8531 * configure: Regenerate.
8532 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
8533 * config/alpha/t-alpha: New file.
8534 * config/alpha/t-crtfm: Use $<.
8535 * config/alpha/t-ieee: New file.
8536 * config/alpha/t-osf-pthread: New file.
8537 * config/alpha/t-slibgcc-osf: New file.
8538 * config/alpha/libgcc-osf5.ver: New file.
8539
0699e415
RO
85402011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8541
8542 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
8543 tmake_file.
8544 Add crtfastmath.o to extra_parts.
8545
a3fab9c2
RO
85462011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8547
8548 * config/gmon-sol2.c: Reindent.
8549 Cleanup comments.
8550 Remove, correct casts.
8551 Use STDERR_FILENO, NULL.
8552 (BASEADDRESS): Remove.
8553 (minbrk): Remove.
8554 (errno, sbrk): Remove declarations.
8555 (monstartup) [hp300]: Remove.
8556 (mcount): Remove.
8557
ca24c5ad
RO
85582011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8559
8560 * Makefile.in (cpu_type): Define.
8561 * config.host (i[34567]86-*-rtems*): Handle it.
8562 (i[34567]86-*-solaris2*): Move body ...
8563 (*-*-solaris2*): ... here.
8564 New case, generalize.
8565 (sparc-*-elf*): Handle it.
8566 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
8567 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
8568 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
8569 Fold into ...
8570 (sparc*-*-solaris2*): ... this.
8571 New case.
8572 (sparc64-*-elf*): Handle it.
8573 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
8574 Merge ../gcc/config/i386/gmon-sol2.c.
8575 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
8576 Use C comments.
8577 Merge ../gcc/config/i386/sol2-gc1.asm.
8578 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
8579 Use C comments.
8580 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
8581 Use C comments.
8582 * config/i386/t-crtfm (crtfastmath.o): Use $<.
8583 * config/i386/t-crtstuff: New file.
8584 * config/i386/t-softfp: New file.
8585 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
8586 $(T)crti.o, $(T)crtn.o): Remove.
8587 (gcrt1.o): New rule.
8588 (TARGET_LIBGCC2_CFLAGS): Remove.
8589 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
8590 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
8591 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
8592 * config/sparc/t-sol2: New file.
8593 * config/sparc/t-crtfm: Move to ...
8594 * config/t-crtfm: ... this.
8595 Use $(cpu_type), $<.
8596 * config/t-crtin: New file.
8597 * config/sparc/t-softfp: New file.
8598 * config/sparc/t-softmul: New file.
8599 * config/t-rtems: New file.
8600 * config/t-slibgcc: New file.
8601 * config/t-slibgcc-elf-ver: New file.
8602 * config/t-slibgcc-gld: New file.
8603 * config/t-slibgcc-sld: New file.
8604 * config/t-sol2: New file.
8605 * configure.ac: Include ../config/lib-ld.m4.
8606 Call AC_LIB_PROG_LD_GNU.
8607 Substitute cpu_type.
8608 * configure: Regenerate.
8609
ad5f3d7b
BS
86102011-05-27 Bernd Schmidt <bernds@codesourcery.com>
8611
8612 PR bootstrap/49173
8613 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
8614 libgcc-std.ver in the build directory.
8615 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
8616 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
8617
cdbf4541
BS
86182011-05-25 Bernd Schmidt <bernds@codesourcery.com>
8619
8620 * libgcc-std.ver.in: New file.
8621 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
8622 variables.
8623 (libgcc-std.ver): New rule.
8624 * config/t-gnu-prefix: New file.
8625
c8028650
RO
86262011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8627
8628 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
8629
4a68b4ca
JM
86302011-05-10 Joseph Myers <joseph@codesourcery.com>
8631
8632 * config/i386/darwin-lib.h: New file.
8633
80cf2e08
JM
86342011-05-10 Joseph Myers <joseph@codesourcery.com>
8635
8636 * config/arm/symbian-lib.h: New.
8637
a3330c9d
CD
86382011-05-04 Chris Demetriou <cgd@google.com>
8639
8640 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
8641 (__x86.get_pc_thunk.bx): ...this.
8642 (__morestack): Adjust for rename, remove undef of __i686.
8643
6ace0756
CD
86442011-05-03 Chris Demetriou <cgd@google.com>
8645
8646 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
8647
ebb9f8b0
JM
86482011-03-22 Joseph Myers <joseph@codesourcery.com>
8649
8650 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
8651 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
8652 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
8653 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
8654 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
8655 Remove cases.
8656
9cfa1499
AT
86572011-03-14 Andreas Tobler <andreast@fgznet.ch>
8658
8659 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
8660 Adjust copyright year.
8661
457186f6
ILT
86622011-03-07 Ian Lance Taylor <iant@google.com>
8663
8664 * generic-morestack.c (__splitstack_find): Adjust returned stack
8665 pointer to include all registers pushed by __morestack.
8666
58c741a6
DK
86672011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
8668
8669 PR target/40125
8670 * configure.ac: Call ACX_NONCANONICAL_TARGET.
8671 (toolexecdir): Calculate and AC_SUBST.
8672 (toolexeclibdir): Likewise.
8673 * Makefile.in (target_noncanonical): Import.
8674 (toolexecdir): Likewise.
8675 (toolexeclibdir): Likewise.
8676 * configure: Regenerate.
8677
26716c44
NF
86782010-12-13 Nathan Froyd <froydnj@codesourcery.com>
8679
8680 PR target/46040
8681 * config/arm/bpabi.h: Rename to...
8682 * config/arm/bpabi-lib.h: ...this.
8683
b595b1a1
RO
86842010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8685
8686 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
8687 appropriate.
8688 * configure: Regenerate.
8689
a3abe41c
NF
86902010-11-24 Nathan Froyd <froydnj@codesourcery.com>
8691
8692 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
8693 __FLOAT_WORD_ORDER__.
8694 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
8695 Delete.
8696
455c8f48
RW
86972010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8698
8699 PR other/46202
8700 * Makefile.in (install-strip): New phony target.
8701
f3824a8b
ILT
87022010-11-07 Ian Lance Taylor <iant@google.com>
8703
8704 PR target/46089
8705 * config/i386/morestack.S (__morestack_large_model): New
8706 function.
8707
18ed6ee4
NF
87082010-10-23 Nathan Froyd <froydnj@codesourcery.com>
8709
8710 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
8711 Delete.
8712 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
8713
8ac7fdcb
NF
87142010-10-14 Nathan Froyd <froydnj@codesourcery.com>
8715
8716 * config/arm/bpabi.h: New file.
8717 * config/frv/frv-abi.h: New file.
8718
cdb388c2
ILT
87192010-10-01 Ian Lance Taylor <iant@google.com>
8720
8721 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
8722 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
8723
ef7c141c
L
87242010-10-01 H.J. Lu <hongjiu.lu@intel.com>
8725
8726 PR target/45858
8727 * config.host: Add the missing `$'.
8728
80920132
ME
87292010-09-30 Michael Eager <eager@eagercon.com>
8730
8731 * config.host: Add microblaze*-*-*.
8732 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
8733 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
8734 udivsi3.asm,umodsi3.asm}: New.
8735
6dace308
ILT
87362010-09-28 Ian Lance Taylor <iant@google.com>
8737
8738 * configure.ac: Adjust CFI test to test assembler directly rather
8739 than checking gcc preprocessor macro.
8740 * configure: Rebuild.
8741
b6110d6d
ILT
87422010-09-27 Ian Lance Taylor <iant@google.com>
8743
8744 * configure.ac: Test whether assembler supports CFI directives.
8745 * config.host: Only add t-stack and i386/t-stack-i386 to
8746 tmake_file if libgcc_cv_cfi is "yes".
8747 * configure: Rebuild.
8748
7458026b
ILT
87492010-09-27 Ian Lance Taylor <iant@google.com>
8750
8751 * generic-morestack.h: New file.
8752 * generic-morestack.c: New file.
8753 * generic-morestack-thread.c: New file.
8754 * config/i386/morestack.S: New file.
8755 * config/t-stack: New file.
8756 * config/i386/t-stack-i386: New file.
8757 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
8758 i386/t-stack-i386 to tmake_file.
8759
5b50fc0c
IS
87602010-09-21 Iain Sandoe <iains@gcc.gnu.org>
8761
8762 * Makefile.in (libgcc-extra-parts): Check for static archives and
8763 invoke ranlib after installing them.
8764 (gcc-extra-parts): Likewise.
8765 (install-leaf): Likewise.
8766
b93cf342
L
87672010-09-14 H.J. Lu <hongjiu.lu@intel.com>
8768
8769 * configure: Regenerated.
8770
996b42ef
KT
87712010-09-10 Kai Tietz <kai.tietz@onevision.com>
8772
b93cf342 8773 * configure: Regenerated.
996b42ef 8774
be1c764e
GP
87752010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
8776 Andrew Pinski <pinskia@gmail.com>
8777
1da9434b 8778 PR target/40959
be1c764e
GP
8779 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
8780
cc0ae0ca
L
87812010-09-06 H.J. Lu <hongjiu.lu@intel.com>
8782
8783 PR target/45524
8784 * configure: Regenerated.
8785
84f47d20
AS
87862010-09-06 Andreas Schwab <schwab@redhat.com>
8787
8788 * configure: Regenerate.
8789
4159fb8d
UB
87902010-09-03 Uros Bizjak <ubizjak@gmail.com>
8791
8792 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
8793 64bit targets.
8794 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
8795 for 64bit targets.
8796
0df8fcc8
UB
87972010-09-03 Uros Bizjak <ubizjak@gmail.com>
8798 Iain Sandoe <iains@gcc.gnu.org>
8799
8800 PR target/45476
8801 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
8802 LIB2FUNCS_EXCLUDE functions.
8803
3c39bca6
AK
88042010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8805
8806 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
8807 Include dfp.m4.
8808 * configure: Regenerate.
8809
d78552bd
UB
88102010-09-01 Uros Bizjak <ubizjak@gmail.com>
8811
8812 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
8813 i386/t-freebsd to tmake_file.
8814 * config/i386/t-freebsd: New file.
8815 * config/i386/libgcc-bsd.ver: New file.
8816
c5b79d4e
NF
88172010-07-23 Nathan Froyd <froydnj@codesourcery.com>
8818
8819 * config.host (powerpc*-eabispe*): Set tmake_file.
8820 (powerpc*-eabi*): Likewise.
8821 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
8822 crtbeginS, crtendS, crtbeginT.
8823
48b09a92
KH
88242010-06-12 Kazu Hirata <kazu@codesourcery.com>
8825
8826 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
8827 to tmake_file. Add crtfastmath.o to extra_parts.
8828 * config/mips/t-crtfm: New.
8829
7d296953 88302010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
a4389204
JS
8831
8832 * config.host (sparc64-*-rtems*): New target.
8833
ed104137
RO
88342010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8835
8836 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
8837 assembler syntax.
8838
3f56ef8b
TS
88392010-04-15 Thomas Schwinge <tschwinge@gnu.org>
8840
8841 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
8842
8c200350
RO
88432010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8844
8845 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
8846 alpha-dec-osf5.0* support.
8847
7d296953 88482010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
c1b14424
RC
8849
8850 * config.host: Add lm32-*-rtems*.
8851
f128db92 88522010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7d296953 8853 Uros Bizjak <ubizjak@gmail.com>
f128db92
RO
8854
8855 PR target/39048
8856 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
8857 like other remaining 32-bit x86 OSes.
8858 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
8859 assembler syntax.
8860 * config/i386/libgcc-sol2.ver: New file.
8861 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
8862
7d296953 88632010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
368fabd5
JH
8864
8865 PR c/43553
8866 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
8867 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
8868 is used and substitute set_use_emutls.
8869 * configure: Regenerated.
8870
15baf7f8
TG
88712010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
8872
8873 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
8874
7f5441df
RO
88752010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8876
8877 PR target/38085
8878 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
8879 MULTILIB_CFLAGS.
8880 ($(T)gcrt1.o): Likewise.
8881 ($(T)crt1.o): Likewise.
8882 ($(T)crti.o): Likewise.
8883 ($(T)crtn.o): Likewise.
8884
ef74edbd
RW
88852010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8886
8887 PR other/42980
8888 * Makefile.in (install): Use $(MAKE) string in rule, for
8889 parallel make.
8890
e7c914db
HPN
88912010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
8892
8893 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
8894 * config/mmix/t-mmix: New file.
8895 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
8896
1bcb71c4
JH
88972010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
8898
8899 PR java/41991
8900 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
8901 SHLIB_MAPFILES.
8902
e6e50811
AG
89032010-01-04 Anthony Green <green@moxielogic.com>
8904
8905 * config/moxie/crti.asm, config/moxie/crtn.asm,
8906 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
8907 config/moxie/t-moxie: New files.
8908 * config.host: Add t-moxie-softfp reference.
8909
7d296953 89102009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
ca8520ad
IS
8911
8912 PR other/39888
8913 * config/t-slibgcc-darwin: Fix embedded rpaths for
8914 --enable-version-specific-runtime-libs, build extension stub
8915 libs exposing features available from current libgcc_s.
8916
7d296953 89172009-11-11 Jon Beniston <jon@beniston.com>
aa4945c1 8918
d78552bd
UB
8919 * config.host: Add lm32 targets.
8920 * config/lm32: New directory.
8921 * config/lm32/libgcc_lm32.h: New file.
8922 * config/lm32/_mulsi3.c: New file.
8923 * config/lm32/_udivmodsi4.c: New file.
8924 * config/lm32/_divsi3.c: New file.
8925 * config/lm32/_modsi3.c: New file.
8926 * config/lm32/_udivsi3.c: New file.
8927 * config/lm32/_umodsi3.c: New file.
8928 * config/lm32/_lshrsi3.S: New file.
8929 * config/lm32/_ashrsi3.S: New file.
8930 * config/lm32/_ashlsi3.S: New file.
8931 * config/lm32/crti.S: New file.
8932 * config/lm32/crtn.S: New file.
8933 * config/lm32/t-lm32: New file.
8934 * config/lm32/t-elf: New file.
8935 * config/lm32/t-uclinux: New file.
aa4945c1 8936
65a324b4
NC
89372009-10-26 Nick Clifton <nickc@redhat.com>
8938
8939 * config.host: Add support for RX target.
8940 * config/rx: New directory.
8941 * config/rx/rx-abi-functions.c: New file. Supplementary
8942 functions for libgcc to support the RX ABI.
8943 * config/rx/rx-abi.h: New file. Supplementary header file for
8944 libgcc RX ABI functions.
8945 * config/rx/t-rx: New file: Makefile fragment for building
8946 libgcc for the RX.
8947
dfb3b0e3
UB
89482009-10-09 Uros Bizjak <ubizjak@gmail.com>
8949
8950 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
8951 constraint of y0 to "g".
8952
81dd9fd7
AK
89532009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8954
8955 * config.host: Include the s390 makefile fragments.
8956 * config/s390/32/_fixdfdi.c: New file.
8957 * config/s390/32/_fixsfdi.c: New file.
8958 * config/s390/32/_fixtfdi.c: New file.
8959 * config/s390/32/_fixunsdfdi.c: New file.
8960 * config/s390/32/_fixunssfdi.c: New file.
8961 * config/s390/32/_fixunstfdi.c: New file.
8962 * config/s390/32/t-floattodi: New file.
8963 * config/s390/libgcc-glibc.ver: New file.
8964 * config/s390/t-crtstuff: New file.
8965 * config/s390/t-linux: New file.
8966 * config/s390/t-tpf: New file.
8967
df58e648
RW
89682009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8969
8970 * configure.ac (AC_PREREQ): Bump to 2.64.
8971
79052be3
KK
89722009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
8973
8974 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
8975
5213506e
RW
89762009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8977
8978 * configure: Regenerate.
8979
a9a25daa
DR
89802009-08-09 Douglas B Rupp <rupp@gnat.com>
8981
8982 * config.host (ia64-hp-*vms*): New target.
8983 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
8984 with ia64-hp-*vms*.
8985
6efbd53f
RW
89862009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8987
8988 * configure.ac: Add snippet for maintainer-mode.
8989 * configure: Regenerate.
8990 * Makefile.in (AUTOCONF, configure_deps): New variables.
8991 ($(srcdir)/configure)): New rule, active only with maintainer
8992 mode turned on.
8993
7acf4da6
DD
89942009-06-23 DJ Delorie <dj@redhat.com>
8995
8996 Add MeP port.
8997 * config.host: Add mep support.
8998
54f549af
KT
89992009-06-22 Kai Tietz <kai.tietz@onevision.com>
9000
34481f28 9001 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 9002 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
34481f28
UB
9003
9004 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
9005 for mingw targets.
54f549af
KT
9006 * config/i386/64/_multc3.c: Likewise.
9007 * config/i386/64/_powitf2.c: Likewise.
9008 * config/i386/64/eqtf2.c: Likewise.
9009 * config/i386/64/getf2.c: Likewise.
9010 * config/i386/64/letf2.c: Likewise.
9011 * config/i386/64/letf2.c: Likewise.
34481f28
UB
9012 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
9013 unsigned long long for x64 mingw targets.
9014 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
9015 (_FP_I_TYPE): Define as long long for x64 mingw target.
54f549af 9016
fea96e25
MR
90172009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
9018
9019 * config.host (vax-*-linux*): New.
9020
cceb575c
AG
90212009-05-31 Anthony Green <green@moxielogic.com>
9022
9023 * config.host: Add moxie support.
9024 * config/moxie/t-moxie: New file.
9025
7d296953 90262009-05-29 David Billinghurst <billingd@gcc.gnu.org>
e997fb9c
DB
9027
9028 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 9029 t-softfp to tmake_file for i[34567]86-*-cygwin*.
e997fb9c 9030
532bfb0a
AJ
90312009-04-17 Aurelien Jarno <aurelien@aurel32.net>
9032
9033 * config.host: Add i386/${host_address}/t-fprules-softfp to
9034 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
9035
748086b7
JJ
90362009-04-09 Nick Clifton <nickc@redhat.com>
9037
9038 * config/ia64/tf-signs.c: Change copyright header to refer to
9039 version 3 of the GNU General Public License with version 3.1
9040 of the GCC Runtime Library Exception and to point readers at
9041 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
9042 web page.
9043 * config/i386/32/tf-signs.c: Likewise.
9044 * config/libbid/_addsub_dd.c: Likewise.
9045 * config/libbid/_addsub_sd.c: Likewise.
9046 * config/libbid/_addsub_td.c: Likewise.
9047 * config/libbid/_dd_to_df.c: Likewise.
9048 * config/libbid/_dd_to_di.c: Likewise.
9049 * config/libbid/_dd_to_sd.c: Likewise.
9050 * config/libbid/_dd_to_sf.c: Likewise.
9051 * config/libbid/_dd_to_si.c: Likewise.
9052 * config/libbid/_dd_to_td.c: Likewise.
9053 * config/libbid/_dd_to_tf.c: Likewise.
9054 * config/libbid/_dd_to_udi.c: Likewise.
9055 * config/libbid/_dd_to_usi.c: Likewise.
9056 * config/libbid/_dd_to_xf.c: Likewise.
9057 * config/libbid/_df_to_dd.c: Likewise.
9058 * config/libbid/_df_to_sd.c: Likewise.
9059 * config/libbid/_df_to_td.c: Likewise.
9060 * config/libbid/_di_to_dd.c: Likewise.
9061 * config/libbid/_di_to_sd.c: Likewise.
9062 * config/libbid/_di_to_td.c: Likewise.
9063 * config/libbid/_div_dd.c: Likewise.
9064 * config/libbid/_div_sd.c: Likewise.
9065 * config/libbid/_div_td.c: Likewise.
9066 * config/libbid/_eq_dd.c: Likewise.
9067 * config/libbid/_eq_sd.c: Likewise.
9068 * config/libbid/_eq_td.c: Likewise.
9069 * config/libbid/_ge_dd.c: Likewise.
9070 * config/libbid/_ge_sd.c: Likewise.
9071 * config/libbid/_ge_td.c: Likewise.
9072 * config/libbid/_gt_dd.c: Likewise.
9073 * config/libbid/_gt_sd.c: Likewise.
9074 * config/libbid/_gt_td.c: Likewise.
9075 * config/libbid/_isinfd128.c: Likewise.
9076 * config/libbid/_isinfd32.c: Likewise.
9077 * config/libbid/_isinfd64.c: Likewise.
9078 * config/libbid/_le_dd.c: Likewise.
9079 * config/libbid/_le_sd.c: Likewise.
9080 * config/libbid/_le_td.c: Likewise.
9081 * config/libbid/_lt_dd.c: Likewise.
9082 * config/libbid/_lt_sd.c: Likewise.
9083 * config/libbid/_lt_td.c: Likewise.
9084 * config/libbid/_mul_dd.c: Likewise.
9085 * config/libbid/_mul_sd.c: Likewise.
9086 * config/libbid/_mul_td.c: Likewise.
9087 * config/libbid/_ne_dd.c: Likewise.
9088 * config/libbid/_ne_sd.c: Likewise.
9089 * config/libbid/_ne_td.c: Likewise.
9090 * config/libbid/_sd_to_dd.c: Likewise.
9091 * config/libbid/_sd_to_df.c: Likewise.
9092 * config/libbid/_sd_to_di.c: Likewise.
9093 * config/libbid/_sd_to_sf.c: Likewise.
9094 * config/libbid/_sd_to_si.c: Likewise.
9095 * config/libbid/_sd_to_td.c: Likewise.
9096 * config/libbid/_sd_to_tf.c: Likewise.
9097 * config/libbid/_sd_to_udi.c: Likewise.
9098 * config/libbid/_sd_to_usi.c: Likewise.
9099 * config/libbid/_sd_to_xf.c: Likewise.
9100 * config/libbid/_sf_to_dd.c: Likewise.
9101 * config/libbid/_sf_to_sd.c: Likewise.
9102 * config/libbid/_sf_to_td.c: Likewise.
9103 * config/libbid/_si_to_dd.c: Likewise.
9104 * config/libbid/_si_to_sd.c: Likewise.
9105 * config/libbid/_si_to_td.c: Likewise.
9106 * config/libbid/_td_to_dd.c: Likewise.
9107 * config/libbid/_td_to_df.c: Likewise.
9108 * config/libbid/_td_to_di.c: Likewise.
9109 * config/libbid/_td_to_sd.c: Likewise.
9110 * config/libbid/_td_to_sf.c: Likewise.
9111 * config/libbid/_td_to_si.c: Likewise.
9112 * config/libbid/_td_to_tf.c: Likewise.
9113 * config/libbid/_td_to_udi.c: Likewise.
9114 * config/libbid/_td_to_usi.c: Likewise.
9115 * config/libbid/_td_to_xf.c: Likewise.
9116 * config/libbid/_tf_to_dd.c: Likewise.
9117 * config/libbid/_tf_to_sd.c: Likewise.
9118 * config/libbid/_tf_to_td.c: Likewise.
9119 * config/libbid/_udi_to_dd.c: Likewise.
9120 * config/libbid/_udi_to_sd.c: Likewise.
9121 * config/libbid/_udi_to_td.c: Likewise.
9122 * config/libbid/_unord_dd.c: Likewise.
9123 * config/libbid/_unord_sd.c: Likewise.
9124 * config/libbid/_unord_td.c: Likewise.
9125 * config/libbid/_usi_to_dd.c: Likewise.
9126 * config/libbid/_usi_to_sd.c: Likewise.
9127 * config/libbid/_usi_to_td.c: Likewise.
9128 * config/libbid/_xf_to_dd.c: Likewise.
9129 * config/libbid/_xf_to_sd.c: Likewise.
9130 * config/libbid/_xf_to_td.c: Likewise.
9131 * config/libbid/bid128.c: Likewise.
9132 * config/libbid/bid128_2_str.h: Likewise.
9133 * config/libbid/bid128_2_str_macros.h: Likewise.
9134 * config/libbid/bid128_2_str_tables.c: Likewise.
9135 * config/libbid/bid128_add.c: Likewise.
9136 * config/libbid/bid128_compare.c: Likewise.
9137 * config/libbid/bid128_div.c: Likewise.
9138 * config/libbid/bid128_fma.c: Likewise.
9139 * config/libbid/bid128_logb.c: Likewise.
9140 * config/libbid/bid128_minmax.c: Likewise.
9141 * config/libbid/bid128_mul.c: Likewise.
9142 * config/libbid/bid128_next.c: Likewise.
9143 * config/libbid/bid128_noncomp.c: Likewise.
9144 * config/libbid/bid128_quantize.c: Likewise.
9145 * config/libbid/bid128_rem.c: Likewise.
9146 * config/libbid/bid128_round_integral.c: Likewise.
9147 * config/libbid/bid128_scalb.c: Likewise.
9148 * config/libbid/bid128_sqrt.c: Likewise.
9149 * config/libbid/bid128_string.c: Likewise.
9150 * config/libbid/bid128_to_int16.c: Likewise.
9151 * config/libbid/bid128_to_int32.c: Likewise.
9152 * config/libbid/bid128_to_int64.c: Likewise.
9153 * config/libbid/bid128_to_int8.c: Likewise.
9154 * config/libbid/bid128_to_uint16.c: Likewise.
9155 * config/libbid/bid128_to_uint32.c: Likewise.
9156 * config/libbid/bid128_to_uint64.c: Likewise.
9157 * config/libbid/bid128_to_uint8.c: Likewise.
9158 * config/libbid/bid32_to_bid128.c: Likewise.
9159 * config/libbid/bid32_to_bid64.c: Likewise.
9160 * config/libbid/bid64_add.c: Likewise.
9161 * config/libbid/bid64_compare.c: Likewise.
9162 * config/libbid/bid64_div.c: Likewise.
9163 * config/libbid/bid64_fma.c: Likewise.
9164 * config/libbid/bid64_logb.c: Likewise.
9165 * config/libbid/bid64_minmax.c: Likewise.
9166 * config/libbid/bid64_mul.c: Likewise.
9167 * config/libbid/bid64_next.c: Likewise.
9168 * config/libbid/bid64_noncomp.c: Likewise.
9169 * config/libbid/bid64_quantize.c: Likewise.
9170 * config/libbid/bid64_rem.c: Likewise.
9171 * config/libbid/bid64_round_integral.c: Likewise.
9172 * config/libbid/bid64_scalb.c: Likewise.
9173 * config/libbid/bid64_sqrt.c: Likewise.
9174 * config/libbid/bid64_string.c: Likewise.
9175 * config/libbid/bid64_to_bid128.c: Likewise.
9176 * config/libbid/bid64_to_int16.c: Likewise.
9177 * config/libbid/bid64_to_int32.c: Likewise.
9178 * config/libbid/bid64_to_int64.c: Likewise.
9179 * config/libbid/bid64_to_int8.c: Likewise.
9180 * config/libbid/bid64_to_uint16.c: Likewise.
9181 * config/libbid/bid64_to_uint32.c: Likewise.
9182 * config/libbid/bid64_to_uint64.c: Likewise.
9183 * config/libbid/bid64_to_uint8.c: Likewise.
9184 * config/libbid/bid_b2d.h: Likewise.
9185 * config/libbid/bid_binarydecimal.c: Likewise.
9186 * config/libbid/bid_conf.h: Likewise.
9187 * config/libbid/bid_convert_data.c: Likewise.
9188 * config/libbid/bid_decimal_data.c: Likewise.
9189 * config/libbid/bid_decimal_globals.c: Likewise.
9190 * config/libbid/bid_div_macros.h: Likewise.
9191 * config/libbid/bid_dpd.c: Likewise.
9192 * config/libbid/bid_flag_operations.c: Likewise.
9193 * config/libbid/bid_from_int.c: Likewise.
9194 * config/libbid/bid_functions.h: Likewise.
9195 * config/libbid/bid_gcc_intrinsics.h: Likewise.
9196 * config/libbid/bid_inline_add.h: Likewise.
9197 * config/libbid/bid_internal.h: Likewise.
9198 * config/libbid/bid_round.c: Likewise.
9199 * config/libbid/bid_sqrt_macros.h: Likewise.
9200
92012009-04-09 Jakub Jelinek <jakub@redhat.com>
9202
9203 * Makefile.in: Change copyright header to refer to version
9204 3 of the GNU General Public License and to point readers at the
9205 COPYING3 file and the FSF's license web page.
9206 * config.host: Likewise.
9207
633dd061
AM
92082009-04-07 Alan Modra <amodra@bigpond.net.au>
9209
9210 * config.host: Reorder and merge to match config.gcc change.
9211
457d1d00
AM
92122009-04-03 Alan Modra <amodra@bigpond.net.au>
9213
9214 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
9215
52c0e446
JM
92162009-03-28 Joseph Myers <joseph@codesourcery.com>
9217
9218 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
9219 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
9220 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
9221 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
9222
ba181049
UB
92232009-02-12 Uros Bizjak <ubizjak@gmail.com>
9224
9225 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
9226 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9227
c252db20
L
92282009-02-12 H.J. Lu <hongjiu.lu@intel.com>
9229
ba181049
UB
9230 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
9231 ia64/t-softfp-compat to tmake_file.
c252db20
L
9232
9233 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
9234
9235 * config/ia64/__divxf3.asm: New.
9236 * config/ia64/_fixtfdi.asm: Likewise.
9237 * config/ia64/_fixunstfdi.asm: Likewise.
9238 * config/ia64/_floatditf.asm: Likewise.
9239 * config/ia64/t-fprules-softfp: Likewise.
9240 * config/ia64/t-softfp-compat: Likewise.
9241 * config/ia64/tf-signs.c: Likewise.
9242
c60535f9
BE
92432009-01-18 Ben Elliston <bje@au.ibm.com>
9244
9245 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9246
ce16861e
BE
92472009-01-16 Ben Elliston <bje@au.ibm.com>
9248
9249 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
9250 to tmake_file.
9251
bcf4713b
BE
92522009-01-13 Ben Elliston <bje@au.ibm.com>
9253
9254 * config/t-softfp: New file.
9255 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
9256 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
9257
7d296953 92582009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
2042cb04
JS
9259
9260 * config.host: Add m32r*-*-rtems*.
9261
7d296953 92622008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
541ed00e
JS
9263
9264 * config.host: Add m32c*-*-rtems*.
9265
19523300
RO
92662008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9267
9268 PR bootstrap/33100
9269 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
9270 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
9271 * configure: Regenerate.
9272 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
9273 tmake_file here from gcc/config.gcc.
9274 Move extra_parts here from gcc/config.gcc.
9275 * config/i386/t-sol2: Move here from gcc/config/i386.
9276 Use gcc_srcdir instead of srcdir.
9277
0a4a51c7
AN
92782008-11-18 Adam Nemet <anemet@caviumnetworks.com>
9279
9280 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
9281 case.
9282
2a761e46
TS
92832008-11-09 Thomas Schwinge <tschwinge@gnu.org>
9284
9285 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
9286
c0451df7
TS
92872008-10-08 Thomas Schwinge <tschwinge@gnu.org>
9288
9289 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
9290
358da97e
HS
92912008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
9292
9293 Add picoChip port.
9294 * config.host: Add picochip-*-*.
9295
c660f132
BW
92962008-08-06 Bob Wilson <bob.wilson@acm.org>
9297
9298 * config.host: Match more processor names for Xtensa.
9299
d1349557
L
93002008-07-08 H.J. Lu <hongjiu.lu@intel.com>
9301
9302 * config/i386/64/t-softfp-compat: Update comments.
9303
dd7b73c0
L
93042008-07-07 H.J. Lu <hongjiu.lu@intel.com>
9305
9306 * config/i386/64/_divtc3-compat.c: Moved to ...
9307 * config/i386/64/_divtc3.c: Here.
9308
9309 * config/i386/64/_multc3-compat.c: Moved to ...
9310 * config/i386/64/_multc3.c: Here.
9311
9312 * config/i386/64/_powitf2-compat.c: Moved to ...
9313 * config/i386/64/_powitf2.c: Here.
9314
9315 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
9316 .c suffix instead of -compat.c.
9317
6e1fab3d
UB
93182008-07-05 Uros Bizjak <ubizjak@gmail.com>
9319
9320 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
9321 (_FP_MUL_MEAT_D): Ditto.
9322 (_FP_DIV_MEAT_S): Ditto.
9323 (_FP_DIV_MEAT_D): Ditto.
9324
f92518d7
RS
93252008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
9326
9327 * Makefile.in: Add support for __sync_* libgcc functions.
9328
d0aede14
L
93292008-07-03 H.J. Lu <hongjiu.lu@intel.com>
9330
9331 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
9332
c174f11c
L
93332008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9334
9335 PR boostrap/36702
9336 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
9337 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
9338
9339 * config/i386/64/t-fprules-softfp: Moved to ...
9340 * config/i386/64/t-softfp-compat: This. New.
9341
5f464fa2
UB
93422008-07-02 Uros Bizjak <ubizjak@gmail.com>
9343
9344 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
9345 Initialize f with 0.0.
9346
ff473280
L
93472008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9348
9349 PR target/36669
9350 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
9351
9352 * config/i386/64/_divtc3-compat.c: New.
9353 * config/i386/64/_multc3-compat.c: Likewise.
9354 * config/i386/64/_powitf2-compat.c: Likewise.
9355 * config/i386/64/eqtf2.c: Likewise.
9356 * config/i386/64/getf2.c: Likewise.
9357 * config/i386/64/letf2.c: Likewise.
9358 * config/i386/64/t-fprules-softfp: Likewise.
9359
93602008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9361
9362 * config.host: Add i386/${host_address}/t-fprules-softfp to
9363 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
dfb3b0e3 9364 i[34567]86-*-linux*, x86_64-*-linux*.
ff473280
L
9365
9366 * configure.ac: Set host_address to 64 or 32 for x86.
9367 * configure: Regenerated.
9368
9369 * Makefile.in (config.status): Also depend on
9370 $(srcdir)/config.host.
9371
9372 * config/i386/32/t-fprules-softfp: New.
9373 * config/i386/32/tf-signs.c: Likewise.
9374
9375 * config/i386/64/sfp-machine.h: New. Moved from gcc.
9376
93772008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9378 Uros Bizjak <ubizjak@gmail.com>
9379
9380 * config/i386/32/sfp-machine.h: New.
9381
30551d99
NF
93822008-06-26 Nathan Froyd <froydnj@codesourcery.com>
9383
9384 * config/rs6000/t-ppccomm: Remove rules that conflict with
9385 auto-generated rules.
9386
18c04407
RW
93872008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9388
9389 * configure.ac: sinclude override.m4.
9390 * configure: Regenerate.
9391
10fbe77a
BRF
93922008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
9393
9394 * configure: Regenerate.
9395
bc6d4c3f
JM
93962008-06-10 Joseph Myers <joseph@codesourcery.com>
9397
9398 * Makefile.in (DECNUMINC): Remove
9399 -I$(MULTIBUILDTOP)../../libdecnumber.
9400 * gstdint.h: New.
9401
cd985f66
JM
94022008-06-07 Joseph Myers <joseph@codesourcery.com>
9403
9404 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
9405 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
9406 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
9407 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
9408 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
9409 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
9410 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
9411 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
9412 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
9413 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
9414 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
9415 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
9416 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
9417 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
9418
93fea8d3
AL
94192008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
9420
9421 * config.host (sh2[lbe]*-*-linux*): Allow target.
9422
18724e30
NF
94232008-04-30 Nathan Froyd <froydnj@codesourcery.com>
9424
9425 * config/rs6000/t-ppccomm: Add build rules for new files.
9426 (LIB2ADD_ST): New variable.
9427
47583040
AH
94282008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
9429
9430 PR target/34210
9431 PR target/35508
9432 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
9433 * config/t-avr: New file. Build 16bit libgcc functions.
9434
cf8e67fe
JJ
94352008-03-02 Jakub Jelinek <jakub@redhat.com>
9436
9437 PR target/35401
9438 * config/t-slibgcc-darwin: Make install-leaf dependent on
9439 install-darwin-libgcc-stubs instead of install.
9440
8d8da227
JM
94412008-01-25 Joseph Myers <joseph@codesourcery.com>
9442
9443 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
9444 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
9445 sh-*-rtemscoff*): Remove cases.
9446
edbf8b16
RS
94472007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
9448
9449 * Makefile.in (all): Use install-leaf rather than install.
9450 (install): Split most of the rule into...
9451 (install-leaf): ...this new one.
9452
89deeaff
EK
94532007-12-19 Etsushi Kato <ek.kato@gmail.com>
9454 Paolo Bonzini <bonzini@gnu.org>
9455
9456 PR target/30572
5f464fa2
UB
9457 * Makefile.in: Use @shlib_slibdir@ substitution to get
9458 correct install name on darwin.
89deeaff 9459 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
dfb3b0e3 9460
4081d704
HPN
94612007-12-15 Hans-Peter Nilsson <hp@axis.com>
9462
9463 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
9464 cris-*-elf and cris-*-none.
9465 (crisv32-*-linux*): Similar, as cris-*-linux*.
9466
f43e89a3
RIL
94672007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
9468
9469 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
9470
b4e9c2c6
L
94712007-10-27 H.J. Lu <hongjiu.lu@intel.com>
9472
9473 PR regression/33926
9474 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
9475 * configure: Regenerated.
9476
b2a00c89
L
94772007-09-27 H.J. Lu <hongjiu.lu@intel.com>
9478
9479 * Makefile.in (dfp-filenames): Replace decimal_globals,
9480 decimal_data, binarydecimal and convert_data with
9481 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
9482 and bid_convert_data, respectively.
9483
8d2a9e0e
CF
94842007-09-17 Chao-ying Fu <fu@mips.com>
9485 Nigel Stephens <nigel@mips.com>
9486
9487 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
9488 * Makefile.in (fixed_point): Define.
9489 Check if fixed_point is yes to build support functions.
9490 * configure.ac: Check for fixed_point support.
9491 * configure: Regenerated.
9492 * gen-fixed.sh: New file to generate lists of fixed-point labels,
9493 funcs, modes, from, to.
9494
2b53935d
JJ
94952007-09-11 Janis Johnson <janis187@us.ibm.com
9496
9497 * Makefile.in (dfp-filenames): Add bid128_noncomp.
9498
2533577f
JJ
94992007-09-10 Janis Johnson <janis187@us.ibm.com>
9500
9501 * Makefile.in (dfp-filenames): Remove decUtility, add
9502 decDouble, decPacked, decQuad, decSingle.
9503
3ae3dbd6
HK
95042007-08-27 Hans Kester <hans.kester@ellips.nl>
9505
9506 * config.host : Add x86_64-elf target.
9507
22867d02
L
95082007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9509
9510 * configure.ac (set_have_cc_tls): Add a missing =.
9511 * configure: Regenerated.
9512
6f461e76
L
95132007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9514
9515 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
9516 and x86_64-*-linux*.
9517
9518 * config/t-tls: New file.
9519
dfb3b0e3 9520 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6f461e76
L
9521
9522 * configure.ac: Include ../config/enable.m4 and
9523 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
9524 supports TLS and substitute set_have_cc_tls.
9525 * configure: Regenerated.
9526
200359e8
L
95272007-07-04 H.J. Lu <hongjiu.lu@intel.com>
9528
9529 * Makefile.in: Use libbid for DFP when BID is enabled.
9530
76f5e200
DS
95312007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
9532
9533 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
dfb3b0e3 9534 extra_parts. Add config/i386/t-cygming to tmake_file.
76f5e200
DS
9535 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
9536
9bd196f0 95372007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
200359e8 9538 Danny Smith <dannysmith@users.sourceforge.net>
9bd196f0
ZM
9539
9540 PR target/29498
9541 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
9542 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
9543 * config/i386/t-crtfm: Compile crtfastmath.o with
9544 -minline-all-stringops.
9545
1910440e
RS
95462007-05-10 Richard Sandiford <richard@codesourcery.com>
9547
9548 * config.host (sparc-wrs-vxworks): New target.
9549
7d33c31d
KH
95502007-04-14 Kazu Hirata <kazu@codesourcery.com>
9551
9552 * config.host: Recognize fido.
9553
96fccd0d
JJ
95542007-04-04 Janis Johnson <janis187@us.ibm.com>
9555
9556 * configure: Check host, not target, for decimal float support.
9557
577565f9
UB
95582007-04-03 Uros Bizjak <ubizjak@gmail.com>
9559
9560 * config/i386/t-crtpc: New file.
9561 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5f464fa2 9562 (x86_64-*-linux*): Ditto.
577565f9 9563
ccf8e764
RH
95642007-02-30 Kai Tietz <kai.tietz@onevision.com>
9565
9566 * config.host (x86_64-*-mingw*): New target.
9567
79b87c74
MM
95682007-03-23 Michael Meissner <michael.meissner@amd.com>
9569 H.J. Lu <hongjiu.lu@intel.com>
9570
9571 * Makefile.in (enable_decimal_float): New.
9572 (DECNUMINC): Add
9573 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
9574 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
9575 (decbits-filenames): This.
9576 (decbits-objects): New.
9577 (libgcc-objects): Add $(decbits-objects).
9578
9579 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
9580 Substitute enable_decimal_float.
9581 * configure: Regenerated.
9582
8fce4e31
HPN
95832007-03-19 Hans-Peter Nilsson <hp@axis.com>
9584
9585 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
9586
e8bb4597
BM
95872007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
9588
9589 * Makefile.in (install-info): New dummy target.
9590
344189f9
BS
95912007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
9592
9593 * config.host (bfin*-linux-uclibc*): Set extra_parts.
9594
ac84c172
BM
95952007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
9596
9597 * Makefile.in: Add install-html and install-pdf dummy
9598 targets.
9599
cd5c2357
RS
96002007-02-05 Roger Sayle <roger@eyesopen.com>
9601 Daniel Jacobowitz <dan@codesourcery.com>
9602
9603 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
9604 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
9605 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
9606
d9a66f98
JJ
96072007-01-29 Janis Johnson <janis187@us.ibm.com>
9608
9609 * Makefile.in (dec-filenames): Add decExcept.
9610
9891ec5f
DJ
96112007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
9612
9613 PR bootstrap/30469
9614 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
9615 -fprofile-use.
9616
d6efbf5a
DJ
96172007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
9618
9619 * configure.ac: Add --enable-version-specific-runtime-libs.
9620 Correct $slibdir default.
9621 * configure: Regenerated.
9622
17caeff2
JM
96232007-01-23 Joseph Myers <joseph@codesourcery.com>
9624
9625 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
9626
5ea41e3a
AP
96272007-01-21 Andrew Pinski <pinskia@gmail.com>
9628
9629 PR target/30519
9630 * config.host (alpha*-*-linux*): Set extra_parts.
9631
26900826
KK
96322007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
9633
9634 * config/sh/t-linux: New.
9635 * config.host (sh*-*-linux*): Set tmake_file.
9636
97af925b
DJ
96372007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
9638
9639 * Makefile.in (install): Handle multilibs.
9640
b0088af7
BM
96412007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
9642
9643 * Makefile.in: Added .PHONY entry for documentation targets.
9644
e0a9456a
BM
96452007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
9646
9647 * Makefile.in: Add empty info, html, dvi, pdf targets.
9648
7fd453b4
MS
96492007-01-04 Mike Stump <mrs@apple.com>
9650
9651 * Makefile.in (MAKEINFO): Remove.
9652 (PERL): Likewise.
9653
14e8fc8b
PB
96542007-01-04 Paolo Bonzini <bonzini@gnu.org>
9655
9656 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
9657 * configure: Regenerate.
9658 * Makefile.in (host_subdir): Substitute it.
dfb3b0e3 9659 (gcc_objdir): Use it.
14e8fc8b 9660
1555beba
DJ
96612007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9662
9663 * config.host (ia64*-*-linux*): Set tmake_file.
9664
79e6eaeb
DJ
96652007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9666
9667 * Makefile.in (version): Define.
9668
fa958513
DJ
96692007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
9670 Paolo Bonzini <bonzini@gnu.org>
9671
9672 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
9673 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
9674 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
9675 config/sparc/t-crtfm, config/t-slibgcc-darwin,
9676 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
9677 shared-object.mk, siditi-object.mk, static-object.mk: New files.
9678 * configure: Generated.
818ab71a 9679\f
85ec4feb 9680Copyright (C) 2007-2018 Free Software Foundation, Inc.
818ab71a
JJ
9681
9682Copying and distribution of this file, with or without modification,
9683are permitted in any medium without royalty provided the copyright
9684notice and this notice are preserved.