]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
Update copyright years.
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
a5544970
JJ
12019-01-01 Jakub Jelinek <jakub@redhat.com>
2
3 Update copyright years.
4
da77eace
L
52018-12-20 H.J. Lu <hongjiu.lu@intel.com>
6
7 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
8 to ignore -Waddress-of-packed-member.
9
72e3a529
TP
102018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
11
12 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
13 parameter and corresponding code.
14 (ARM_FUNC_START): Likewise in both definitions.
15 Also update footer comment about condition that need to match with
16 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
17 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
18 defined. Weakly define it in this case.
19 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
20 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
21 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
22 comment to keep condition in sync with the one in
23 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
24
5d54c798
WX
252018-12-18 Wei Xiao <wei3.xiao@intel.com>
26
27 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
28 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
29
5a2580b6
RV
302018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
31
32 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
33 and .cfi_endproc directives for VxWorks targets.
34
c0c5112b
PK
352018-12-05 Paul Koning <ni1d@arrl.net>
36
37 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
38
1ea7ea18
AM
392018-11-27 Alan Modra <amodra@gmail.com>
40
41 * config/rs6000/morestack.S (__stack_split_initialize),
42 (__morestack_get_guard, __morestack_set_guard),
43 (__morestack_make_guard): Provide CFI covering these functions.
44 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
45
ff641ae1
XQ
462018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
47
1ea7ea18 48 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
ff641ae1
XQ
49 (sc_pt_regs_lr): Update for kernel.
50 (sc_pt_regs_tls): Update for kernel.
51
28209372
XQ
522018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
53
54 * config/csky/linux-unwind.h: Fix coding style.
55
b2a71af6
XQ
562018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
57
58 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
1ea7ea18 59 (csky_fallback_frame_state): Modify the check of the
b2a71af6
XQ
60 instructions to adapt to changes in the kernel
61
d929e137
SH
622018-11-09 Stafford Horne <shorne@gmail.com>
63 Richard Henderson <rth@twiddle.net>
64
65 * config.host: Add OpenRISC support.
66 * config/or1k/*: New.
67
222cfefa
KC
682018-11-08 Kito Cheng <kito@andestech.com>
69
70 * soft-fp/adddf3.c: Update from glibc.
71 * soft-fp/addsf3.c: Likewise.
72 * soft-fp/addtf3.c: Likewise.
73 * soft-fp/divdf3.c: Likewise.
74 * soft-fp/divsf3.c: Likewise.
75 * soft-fp/divtf3.c: Likewise.
76 * soft-fp/double.h: Likewise.
77 * soft-fp/eqdf2.c: Likewise.
78 * soft-fp/eqsf2.c: Likewise.
79 * soft-fp/eqtf2.c: Likewise.
80 * soft-fp/extenddftf2.c: Likewise.
81 * soft-fp/extended.h: Likewise.
82 * soft-fp/extendhftf2.c: Likewise.
83 * soft-fp/extendsfdf2.c: Likewise.
84 * soft-fp/extendsftf2.c: Likewise.
85 * soft-fp/extendxftf2.c: Likewise.
86 * soft-fp/fixdfdi.c: Likewise.
87 * soft-fp/fixdfsi.c: Likewise.
88 * soft-fp/fixdfti.c: Likewise.
89 * soft-fp/fixhfti.c: Likewise.
90 * soft-fp/fixsfdi.c: Likewise.
91 * soft-fp/fixsfsi.c: Likewise.
92 * soft-fp/fixsfti.c: Likewise.
93 * soft-fp/fixtfdi.c: Likewise.
94 * soft-fp/fixtfsi.c: Likewise.
95 * soft-fp/fixtfti.c: Likewise.
96 * soft-fp/fixunsdfdi.c: Likewise.
97 * soft-fp/fixunsdfsi.c: Likewise.
98 * soft-fp/fixunsdfti.c: Likewise.
99 * soft-fp/fixunshfti.c: Likewise.
100 * soft-fp/fixunssfdi.c: Likewise.
101 * soft-fp/fixunssfsi.c: Likewise.
102 * soft-fp/fixunssfti.c: Likewise.
103 * soft-fp/fixunstfdi.c: Likewise.
104 * soft-fp/fixunstfsi.c: Likewise.
105 * soft-fp/fixunstfti.c: Likewise.
106 * soft-fp/floatdidf.c: Likewise.
107 * soft-fp/floatdisf.c: Likewise.
108 * soft-fp/floatditf.c: Likewise.
109 * soft-fp/floatsidf.c: Likewise.
110 * soft-fp/floatsisf.c: Likewise.
111 * soft-fp/floatsitf.c: Likewise.
112 * soft-fp/floattidf.c: Likewise.
113 * soft-fp/floattihf.c: Likewise.
114 * soft-fp/floattisf.c: Likewise.
115 * soft-fp/floattitf.c: Likewise.
116 * soft-fp/floatundidf.c: Likewise.
117 * soft-fp/floatundisf.c: Likewise.
118 * soft-fp/floatunditf.c: Likewise.
119 * soft-fp/floatunsidf.c: Likewise.
120 * soft-fp/floatunsisf.c: Likewise.
121 * soft-fp/floatunsitf.c: Likewise.
122 * soft-fp/floatuntidf.c: Likewise.
123 * soft-fp/floatuntihf.c: Likewise.
124 * soft-fp/floatuntisf.c: Likewise.
125 * soft-fp/floatuntitf.c: Likewise.
126 * soft-fp/gedf2.c: Likewise.
127 * soft-fp/gesf2.c: Likewise.
128 * soft-fp/getf2.c: Likewise.
129 * soft-fp/half.h: Likewise.
130 * soft-fp/ledf2.c: Likewise.
131 * soft-fp/lesf2.c: Likewise.
132 * soft-fp/letf2.c: Likewise.
133 * soft-fp/muldf3.c: Likewise.
134 * soft-fp/mulsf3.c: Likewise.
135 * soft-fp/multf3.c: Likewise.
136 * soft-fp/negdf2.c: Likewise.
137 * soft-fp/negsf2.c: Likewise.
138 * soft-fp/negtf2.c: Likewise.
139 * soft-fp/op-1.h: Likewise.
140 * soft-fp/op-2.h: Likewise.
141 * soft-fp/op-4.h: Likewise.
142 * soft-fp/op-8.h: Likewise.
143 * soft-fp/op-common.h: Likewise.
144 * soft-fp/quad.h: Likewise.
145 * soft-fp/single.h: Likewise.
146 * soft-fp/soft-fp.h: Likewise.
147 * soft-fp/subdf3.c: Likewise.
148 * soft-fp/subsf3.c: Likewise.
149 * soft-fp/subtf3.c: Likewise.
150 * soft-fp/truncdfsf2.c: Likewise.
151 * soft-fp/trunctfdf2.c: Likewise.
152 * soft-fp/trunctfhf2.c: Likewise.
153 * soft-fp/trunctfsf2.c: Likewise.
154 * soft-fp/trunctfxf2.c: Likewise.
155 * soft-fp/unorddf2.c: Likewise.
156 * soft-fp/unordsf2.c: Likewise.
157 * soft-fp/unordtf2.c: Likewise.
158
2901f42f
VK
1592018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
160
161 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
162 * config/i386/cpuinfo.h (processor_types): Add znver2.
163
4310ca66
PK
1642018-11-01 Paul Koning <ni1d@arrl.net>
165
166 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
167 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
168
22e05272
JM
1692018-10-31 Joseph Myers <joseph@codesourcery.com>
170
171 PR bootstrap/82856
172 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
173 * configure: Regenerate.
174
8180cde0
CZ
1752018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
176
177 * config/arc/lib1funcs.S (_muldi3): New function.
178 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
179
be7b071e
RV
1802018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
181
182 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
183
3239d726
ML
1842018-10-25 Martin Liska <mliska@suse.cz>
185
186 PR other/87735
187 * libgcov-profiler.c: Revert.
188
19b55958
ML
1892018-10-24 Martin Liska <mliska@suse.cz>
190
191 * libgcov-profiler.c: Start from 1 in order to distinguish
192 functions which were seen and these that were not.
193
a9a2fddb
PK
1942018-10-18 Paul Koning <ni1d@arrl.net>
195
196 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
197 standard.
198 * divmod.c: Update references to __udivmodsi4.
199 * udivmod.c: Ditto.
200 * udivhi3.c: New file.
201 * udivmodhi4.c: New file.
202 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
203
fc8abc46
RV
2042018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
205
206 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
207
87f918e3
OH
2082018-10-12 Olivier Hainque <hainque@adacore.com>
209
210 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
211 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
212
be86efa7
PK
2132018-10-08 Paul Koning <ni1d@arrl.net>
214
215 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
216
3edbcdbe
ML
2172018-10-04 Martin Liska <mliska@suse.cz>
218
219 PR gcov-profile/84107
220 * libgcov-profiler.c (__gcov_indirect_call):
221 Change type to indirect_call_tuple.
222 (struct indirect_call_tuple): New struct.
223 (__gcov_indirect_call_topn_profiler): Change type.
224 (__gcov_indirect_call_profiler_v2): Use the new
225 variables.
226 * libgcov.h (struct indirect_call_tuple): New struct
227 definition.
228
af8096fc
UB
2292018-10-03 Uros Bizjak <ubizjak@gmail.com>
230
231 * libgcc2.c (isnan): Use __builtin_isnan.
232 (isfinite): Use __builtin_isfinite.
233 (isinf): Use __builtin_isinf.
234
0a76bba4
UB
2352018-09-26 Uros Bizjak <ubizjak@gmail.com>
236
237 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
238
5244089f
OH
2392018-09-21 Alexandre Oliva <oliva@adacore.com>
240
241 * config/vxcache.c: New file. Provide __clear_cache, based on
242 the cacheTextUpdate VxWorks service.
243 * config/t-vxworks (LIB2ADD): Add vxcache.c.
244 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
245 * config/t-vxwoks7: Likewise.
246
512cc015
ML
2472018-09-21 Martin Liska <mliska@suse.cz>
248
249 * libgcov-driver.c (crc32_unsigned): Remove.
250 (gcov_histogram_insert): Likewise.
251 (gcov_compute_histogram): Likewise.
252 (compute_summary): Simplify rapidly.
253 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
254 (merge_summary): Rapidly simplify.
255 (dump_one_gcov): Ignore gcov_summary.
256 (gcov_do_dump): Do not handle program summary, it's not
257 used.
258 * libgcov-util.c (tag_summary): Remove.
259 (read_gcda_finalize): Fix coding style.
260 (read_gcda_file): Initialize curr_object_summary.
261 (compute_summary): Remove.
262 (calculate_overlap): Remove settings of run_max.
263
36ff254b
MC
2642018-09-21 Monk Chiang <sh.chiang04@gmail.com>
265
266 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
267 ucontext_t type instead.
268 (nds32_fallback_frame_state): Remove struct _sigframe statement.
269
229a033d
KC
2702018-09-21 Kito Cheng <kito.cheng@gmail.com>
271
272 * config/nds32/t-nds32-glibc: New file.
273
53c6feb2
RO
2742018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
275
276 * configure.ac (solaris_ld_v2_maps): New test.
277 * configure: Regenerate.
278 * Makefile.in (solaris_ld_v2_maps): New variable.
279 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
280 if supported.
281
ebdb6f23
RE
2822018-08-23 Richard Earnshaw <rearnsha@arm.com>
283
284 PR target/86951
285 * config/arm/lib1funcs.asm (speculation_barrier): New function.
286 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
287 to build.
288
a49c064e
IS
2892018-08-22 Iain Sandoe <iain@sandoe.co.uk>
290
1ea7ea18 291 * config/unwind-dw2-fde-darwin.c
a49c064e
IS
292 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
293 * config/darwin10-unwind-find-enc-func.c: … to here.
294 * config/t-darwin: Build Darwin10 unwinder shim crt.
295 * libgcc/config.host: Add the Darwin10 unwinder shim.
296
9a5b8df7
RV
2972018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
298
299 * config.host: Add crtbegin.o and crtend.o for
300 powerpc-wrs-vxworks target.
301
4cd0bc3b
J
3022018-08-17 Jojo <jijie_rong@c-sky.com>
303 Huibin Wang <huibin_wang@c-sky.com>
304 Sandra Loosemore <sandra@codesourcery.com>
305 Chung-Lin Tang <cltang@codesourcery.com>
306
307 C-SKY port: libgcc
308
309 * config.host: Add C-SKY support.
310 * config/csky/*: New.
311
a4931745
CJW
3122018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
313
314 * config/nds32/t-nds32-isr: Rearrange object dependency.
315 * config/nds32/initfini.c: Add dwarf2 unwinding support.
316 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
317 and registers usage.
318 * config/nds32/isr-library/excp_isr.S: Ditto.
319 * config/nds32/isr-library/intr_isr.S: Ditto.
320 * config/nds32/isr-library/reset.S: Ditto.
321 * config/nds32/isr-library/restore_all.inc: Ditto.
322 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
323 * config/nds32/isr-library/restore_partial.inc: Ditto.
324 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
325 * config/nds32/isr-library/save_all.inc: Ditto.
326 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
327 * config/nds32/isr-library/save_partial.inc: Ditto.
328 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
329 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
330
2b1969f6
JDA
3312018-08-11 John David Anglin <danglin@gcc.gnu.org>
332
333 * config/pa/linux-atomic.c: Update comment.
334 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
335 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
336 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
337 __ATOMIC_RELAXED for atomic loads.
338 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
339 unordered store to release lock.
340 (__sync_lock_release_8): Likewise.
341 (SYNC_LOCK_RELEASE_2): Remove define.
af8096fc 342
89fff9cc
NP
3432018-08-02 Nicolas Pitre <nico@fluxnic.net>
344
345 PR libgcc/86512
346 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
347 exponent goes negative. Update my email address.
348 * config/arm/ieee754-sf.S: Likewise.
349
fd2e1dcd
ML
3502018-08-01 Martin Liska <mliska@suse.cz>
351
352 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
92a285c1 353 check that __gcov_indirect_call_callee is non-null.
fd2e1dcd 354
b7415975
CL
3552018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
356
357 * config/arm/ieee754-df.S: Fix comment for code working on
358 architectures >= 4.
359 * config/arm/ieee754-sf.S: Likewise.
360
b72e71a3
L
3612018-07-27 H.J. Lu <hongjiu.lu@intel.com>
362
363 PR libgcc/85334
364 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
365 Removed.
366
1c686aa4
JC
3672018-07-05 James Clarke <jrtc27@jrtc27.com>
368
369 * configure: Regenerated.
370
b61c9b99
RO
3712018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
372
373 * Makefile.in (install_leaf): Use enable_gcov instead of
374 enable_libgcov.
375
1765b023
RV
3762018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
377
378 * configure.ac: Add --disable-gcov option.
379 * configure: Regenerate.
380 * Makefile.in: Honour @enable_gcov@.
381
9b2e34ef
CL
3822018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
383
384 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
385 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
386 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
387 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
388 __ARM_ARCH__.
389 * config/arm/ieee754-sf.S: Likewise.
390 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
391
d1b0dd54
CL
3922018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
393
394 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
395 longer supported.
396 * config/arm/ieee754-sf.S: Likewise.
397
1f3fa525
TM
3982018-06-20 Than McIntosh <thanm@google.com>
399
400 PR libgcc/86213
401 * generic-morestack.c (allocate_segment): Move calls to getenv and
402 getpagesize to __morestack_load_mmap.
403 (__morestack_load_mmap) Initialize static_pagesize and
404 use_guard_page here so as to avoid clobbering SSE regs during a
405 __morestack call.
406
6a8886e4
MM
4072018-06-18 Michael Meissner <meissner@linux.ibm.com>
408
409 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
410 support modules with -mno-gnu-attribute.
411 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
412
fb997097
OH
4132018-06-07 Olivier Hainque <hainque@adacore.com>
414
415 * config/t-vxworks (LIBGCC_INCLUDES): Add
416 -I$(MULTIBUILDTOP)../../gcc/include.
417 * config/t-vxworks7: Likewise. Reformat a bit to match
418 the t-vxworks layout.
419
a548a5a1
OM
4202018-06-07 Olga Makhotina <olga.makhotina@intel.com>
421
422 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
423
244aebfd
ML
4242018-06-07 Martin Liska <mliska@suse.cz>
425
426 * libgcov-driver.c: Rename cs_all to all and assign it from
92a285c1 427 all_prg.
244aebfd 428
6c086e8c
ML
4292018-06-07 Martin Liska <mliska@suse.cz>
430
92a285c1 431 PR bootstrap/86057
6c086e8c 432 * libgcov-driver-system.c (replace_filename_variables): Use
92a285c1 433 memcpy instead of mempcpy.
6c086e8c 434 (allocate_filename_struct): Do not allocate filename, allocate
92a285c1 435 prefix and set it.
6c086e8c 436 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
92a285c1 437 here and properly copy content into it.
6c086e8c 438 * libgcov-driver.c (struct gcov_filename): Remove max_length
92a285c1 439 field, change prefix from size_t into char *.
6c086e8c
ML
440 (compute_summary): Do not calculate longest filename.
441 (gcov_do_dump): Release memory of gf.filename after each file.
442 * libgcov-util.c (compute_summary): Use new signature of
92a285c1 443 compute_summary.
6c086e8c
ML
444 (calculate_overlap): Likewise.
445
97a53d1d
ML
4462018-06-05 Martin Liska <mliska@suse.cz>
447
448 PR gcov-profile/47618
449 * libgcov-driver-system.c (replace_filename_variables): New
92a285c1 450 function.
97a53d1d
ML
451 (gcov_exit_open_gcda_file): Use it.
452
7f3577f5
ML
4532018-06-05 Martin Liska <mliska@suse.cz>
454
455 * libgcov-driver.c (gcov_compute_histogram): Remove usage
456 of gcov_ctr_summary.
457 (compute_summary): Do it just for a single summary.
458 (merge_one_data): Likewise.
459 (merge_summary): Simplify as we read just single summary.
460 (dump_one_gcov): Pass proper argument.
461 * libgcov-util.c (compute_one_gcov): Simplify as we have just
462 single summary.
463 (gcov_info_count_all_cold): Likewise.
464 (calculate_overlap): Likewise.
465
cf3cd43d
CJW
4662018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
467 Monk Chiang <sh.chiang04@gmail.com>
468
469 * config.host (nds32*-linux*): New.
470 * config/nds32/linux-atomic.c: New file.
471 * config/nds32/linux-unwind.h: New file.
472
8b8003ed
UB
4732018-05-31 Uros Bizjak <ubizjak@gmail.com>
474
475 PR target/85591
476 * config/i386/cpuinfo.c (get_amd_cpu): Return
477 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
478
bbdf026f
RV
4792018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
480
92a285c1 481 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
bbdf026f 482
0e8f29da
ML
4832018-05-29 Martin Liska <mliska@suse.cz>
484
92a285c1 485 PR gcov-profile/85759
0e8f29da 486 * libgcov-driver-system.c (gcov_error): Introduce usage of
92a285c1 487 GCOV_EXIT_AT_ERROR env. variable.
0e8f29da 488 * libgcov-driver.c (merge_one_data): Print error that we
92a285c1 489 overwrite a gcov file with a different timestamp.
0e8f29da 490
54fd1590
K
4912018-05-23 Kalamatee <kalamatee@gmail.com>
492
493 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
494 path to Lf$finfty.
495
09baee1a
KC
4962018-05-18 Kito Cheng <kito.cheng@gmail.com>
497 Monk Chiang <sh.chiang04@gmail.com>
498 Jim Wilson <jimw@sifive.com>
499
500 * config/riscv/save-restore.S: Add support for rv32e.
501
c3f808d3
KT
5022018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
503
504 * config/arm/libunwind.S: Update comment relating to armv5.
505
fcf4f831
JL
5062018-05-17 Jerome Lambourg <lambourg@adacore.com>
507
508 * config/arm/cmse.c (cmse_check_address_range): Replace
509 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
510
74b2bb19
OM
5112018-05-17 Olga Makhotina <olga.makhotina@intel.com>
512
513 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
514 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
515
50e461df
OM
5162018-05-08 Olga Makhotina <olga.makhotina@intel.com>
517
518 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
519 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
520
e5f1cdb1
AC
5212018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
522
523 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
524
8f479d7a
AT
5252018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
526 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
527
528 PR libgcc/84292
529 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
530 op_and_fetch to return the right result.
531
ae043291
AM
5322018-04-27 Alan Modra <amodra@gmail.com>
533
534 PR libgcc/85532
535 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
536 -fno-asynchronous-unwind-tables.
537
ba169b74
CJW
5382018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
539
540 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
541 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
542
ffc2fc06
L
5432018-04-24 H.J. Lu <hongjiu.lu@intel.com>
544
545 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
546 when including "config/i386/shadow-stack-unwind.h".
547
7b47ecf2
L
5482018-04-24 H.J. Lu <hongjiu.lu@intel.com>
549
550 * configure: Regenerated.
551
661eb8f9
MM
5522018-04-20 Michael Meissner <meissner@linux.ibm.com>
553
554 PR target/85456
555 * config/rs6000/_powikf2.c: New file. Add support for the
556 __builtin_powil function when long double is IEEE 128-bit floating
557 point.
558 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
559 __powikf2 support.
560 (__powikf2): Likewise.
561 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
562 (__powikf2_hw): Likewise.
563 (__powikf2): Likewise.
564 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
565 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
566 (_powikf2-hw.c): Likewise.
567
5707be3c
L
5682018-04-19 H.J. Lu <hongjiu.lu@intel.com>
569
570 PR libgcc/85334
571 * unwind-generic.h (_Unwind_Frames_Increment): New.
572 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
573 Likewise.
574 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
575 count with _Unwind_Frames_Increment.
576 (_Unwind_ForcedUnwind_Phase2): Likewise.
577
5f9ca0b8
L
5782018-04-19 H.J. Lu <hongjiu.lu@intel.com>
579
580 PR libgcc/85379
581 * config/i386/morestack.S (__stack_split_initialize): Add
582 _CET_ENDBR.
583
a0e1df88
JJ
5842018-04-19 Jakub Jelinek <jakub@redhat.com>
585
586 * configure: Regenerated.
587
001ddaa8
DM
5882018-04-18 David Malcolm <dmalcolm@redhat.com>
589
590 PR jit/85384
591 * configure: Regenerate.
592
a57f99ba
JJ
5932018-04-16 Jakub Jelinek <jakub@redhat.com>
594
595 PR target/84945
596 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
597 -Wdangling-else warnings. Mask shift counts to avoid
598 -Wshift-count-negative and -Wshift-count-overflow false positives.
599
4d47fe5a
RB
6002018-04-06 Ruslan Bukin <br@bsdpad.com>
601
602 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
603
059cc8ac
L
6042018-03-29 H.J. Lu <hongjiu.lu@intel.com>
605
606 PR target/85100
607 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
608 (XSTATE_FP): Likewise.
609 (XSTATE_SSE): Likewise.
610 (XSTATE_YMM): Likewise.
611 (XSTATE_OPMASK): Likewise.
612 (XSTATE_ZMM): Likewise.
613 (XSTATE_HI_ZMM): Likewise.
614 (XCR_AVX_ENABLED_MASK): Likewise.
615 (XCR_AVX512F_ENABLED_MASK): Likewise.
616 (get_available_features): Enable AVX and AVX512 features only
617 if their states are supported by OSXSAVE.
618
f2620385
IT
6192018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
620
621 PR target/85025
622 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
623 Fix a typo, tmp => 255.
624
ae6dca8c
JJ
6252018-03-20 Jakub Jelinek <jakub@redhat.com>
626
627 PR target/84945
628 * config/i386/cpuinfo.h (__cpu_features2): Declare.
629 * config/i386/cpuinfo.c (__cpu_features2): New variable for
630 ifndef SHARED only.
631 (set_feature): Define.
632 (get_available_features): Use set_feature macro. Set __cpu_features2
633 to the second word of features ifndef SHARED.
634
c36b04c1
JK
6352018-03-15 Julia Koval <julia.koval@intel.com>
636
637 * config/i386/cpuinfo.c (get_available_features): Add
638 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
639 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
640 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
641 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
642 FEATURE_AVX512BITALG.
643
79ab5364
JK
6442018-03-14 Julia Koval <julia.koval@intel.com>
645
646 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
647 icelake client and icelake server.
648
66a00b11
JDA
6492018-03-06 John David Anglin <danglin@gcc.gnu.org>
650
651 * config/pa/fptr.c (_dl_read_access_allowed): New.
652 (__canonicalize_funcptr_for_compare): Use it.
af8096fc 653
ce579a4f
JJ
6542018-02-28 Jakub Jelinek <jakub@redhat.com>
655
656 PR debug/83917
657 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
658 $asm_hidden_op if visibility ("hidden") attribute works.
659 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
660 * config/i386/i386-asm.h: Don't include auto-host.h.
661 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
662 PACKAGE_URL): Don't undefine.
663 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
664 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
665 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
666 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
667 definition instead of hardcoded .hidden.
668 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
669 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
670 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
671 (USE_GAS_CFI_DIRECTIVES): Don't define.
672 * configure: Regenerated.
673 * config.in: Likewise.
674
e5868319
JJ
6752018-02-26 Jakub Jelinek <jakub@redhat.com>
676
677 PR debug/83917
678 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
679 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
680 inclusion of auto-target.h and auto-host.h.
681 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
682 __GCC_HAVE_DWARF2_CFI_ASM.
683 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
684 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
685 cfi_pop): Define.
686 * config/i386/cygwin.S: Don't include auto-host.h here, just
687 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
688 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
689 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
690 * config/i386/resms64fx.h: Add cfi_* directives.
691 * config/i386/resms64x.h: Likewise.
692
faef260e
MF
6932018-02-20 Max Filippov <jcmvbkbc@gmail.com>
694
695 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
696 .literal_position directive.
697 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
698
14e335ed
IT
6992018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
700
701 PR target/84148
702 * configure: Regenerate.
703
95df0433
IT
7042018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
705
706 PR target/84239
707 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
708 Include cetintrin.h not x86intrin.h.
709
f8de876d
IT
7102018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
711
712 PR target/84239
95df0433 713 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
f8de876d
IT
714 Use new _get_ssp and _inc_ssp intrinsics.
715
02da1e9c
JK
7162018-02-02 Julia Koval <julia.koval@intel.com>
717
718 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
719
048c6a9a
CZ
7202018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
721
722 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
723 option.
724 (__divsi3): Use RF16 safe registers.
725 (__modsi3): Likewise.
726
0889f168
MF
7272018-01-23 Max Filippov <jcmvbkbc@gmail.com>
728
729 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
730 (__divsf3): Make NaN return value quiet.
731 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
732 (__divdf3): Make NaN return value quiet.
733
bc8b0d04
SP
7342018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
735
736 * config/rl78/anddi3.S: New assembly file.
737 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
738
99cc06ea
SP
7392018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
740
741 * config/rl78/umindi3.S: New assembly file.
742 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
743
6e9007a0
SP
7442018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
745
746 * config/rl78/smindi3.S: New assembly file.
747 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
748
d975e494 7492018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 750
d975e494
SP
751 * config/rl78/smaxdi3.S: New assembly file.
752 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
753
6a18c146 7542018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 755
5dd16013
SP
756 * config/rl78/umaxdi3.S: New assembly file.
757 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
af8096fc 758
07baf4a5
JDA
7592018-01-21 John David Anglin <danglin@gcc.gnu.org>
760
761 PR lto/83452
762 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
763 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
af8096fc 764
dbc3af4f
RS
7652018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
766
767 * config/aarch64/value-unwind.h (aarch64_vg): New function.
768 (DWARF_LAZY_REGISTER_VALUE): Define.
769 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
770 to provide a fallback register value.
771
68df9882
MM
7722018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
773
774 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
775 __ibm128, instead of trying to use long double.
776 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
777 accomidate -mabi=ieeelongdouble multilibs.
778 (CVT_IBM128_TO_FLOAT128): Likewise.
779 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
780 the appropriate IBM extended double type.
781 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
782 (__gcc_qsub): Likewise.
783 (__gcc_qmul): Likewise.
784 (__gcc_qdiv): Likewise.
785 (pack_ldouble): Likewise.
786 (__gcc_qneg): Likewise.
787 (__gcc_qeq): Likewise.
788 (__gcc_qne): Likewise.
789 (__gcc_qge): Likewise.
790 (__gcc_qle): Likewise.
791 (__gcc_stoq): Likewise.
792 (__gcc_dtoq): Likewise.
793 (__gcc_itoq): Likewise.
794 (__gcc_utoq): Likewise.
795 (__gcc_qunord): Likewise.
796 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
797 quad-float128.h for the definitions.
798 (COPYSIGN): Use the f128 version instead of the q version.
799 (INFINITY): Likewise.
800 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
801 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
802 quad-float128.h for the definitions.
803 (COPYSIGN): Use the f128 version instead of the q version.
804 (INFINITY): Likewise.
805 (FABS): Likewise.
806 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
807 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
808 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
809
64b371b1
SH
8102018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
811
812 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
813 configuration.
814
85ec4feb
JJ
8152018-01-03 Jakub Jelinek <jakub@redhat.com>
816
817 Update copyright years.
818
8192017-12-12 Kito Cheng <kito.cheng@gmail.com>
b8d7e076
KC
820
821 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
822 * config/riscv/multi3.c: New file.
823 * config/riscv/multi3.S: Remove.
824
3a4c600f
JW
8252017-12-08 Jim Wilson <jimw@sifive.com>
826
827 * config/riscv/div.S: Use FUNC_* macros.
828 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
829 * config/riscv/save-restore.S: Likewise.
830 * config/riscv/riscv-asm.h: New.
831
75ad35b5
MM
8322017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
833
6ae3512c
MM
834 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
835 * config/rs6000/_divkc3.c (__divkc3): Likewise.
836
75ad35b5
MM
837 PR libgcc/83112
838 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
839 correct type for all ifunc resolvers to silence -Wattribute-alias
840 warnings. Eliminate the forward declaration of the resolver
841 functions which is no longer needed.
842 (__subkf3_resolve): Likewise.
843 (__mulkf3_resolve): Likewise.
844 (__divkf3_resolve): Likewise.
845 (__negkf2_resolve): Likewise.
846 (__eqkf2_resolve): Likewise.
847 (__nekf2_resolve): Likewise.
848 (__gekf2_resolve): Likewise.
849 (__gtkf2_resolve): Likewise.
850 (__lekf2_resolve): Likewise.
851 (__ltkf2_resolve): Likewise.
852 (__unordkf2_resolve): Likewise.
853 (__extendsfkf2_resolve): Likewise.
854 (__extenddfkf2_resolve): Likewise.
855 (__trunckfsf2_resolve): Likewise.
856 (__trunckfdf2_resolve): Likewise.
857 (__fixkfsi_resolve): Likewise.
858 (__fixkfdi_resolve): Likewise.
859 (__fixunskfsi_resolve): Likewise.
860 (__fixunskfdi_resolve): Likewise.
861 (__floatsikf_resolve): Likewise.
862 (__floatdikf_resolve): Likewise.
863 (__floatunsikf_resolve): Likewise.
864 (__floatundikf_resolve): Likewise.
865 (__extendkftf2_resolve): Likewise.
866 (__trunctfkf2_resolve): Likewise.
867
868 PR libgcc/83103
869 * config/rs6000/quad-float128.h (TF): Don't define if long double
870 is IEEE 128-bit floating point.
871 (TCtype): Define as either TCmode or KCmode, depending on whether
872 long double is IEEE 128-bit floating point.
873 (__mulkc3_sw): Add declarations for software/hardware versions of
874 complex multiply/divide.
875 (__divkc3_sw): Likewise.
876 (__mulkc3_hw): Likewise.
877 (__divkc3_hw): Likewise.
878 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
879 handlers to switch between using software emulation and hardware
880 float128 instructions, build the complex multiply/divide functions
881 for both software and hardware support.
882 * config/rs6000/_divkc3.c (_divkc3): Likewise.
883 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
884 (__divkc3_resolve): Likewise.
885 (__mulkc3): Likewise.
886 (__divkc3): Likewise.
887 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
888 (fp128_hw_src): Likewise.
889 (fp128_hw_static_obj): Likewise.
890 (fp128_hw_shared_obj): Likewise.
891 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
892 _mulkc3.c and _divkc3.c, changing the function name.
893 (_divkc3-hw.c): Likewise.
894 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
895 and _divkc3-hw.c.
896
c234d831
UB
8972017-11-26 Julia Koval <julia.koval@intel.com>
898
899 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
900 * config/i386/cpuinfo.h (processor_subtypes): Add
901 INTEL_COREI7_CANNONLAKE.
902
1ebafce0
IT
9032017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
904
905 PR bootstrap/83015
906 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
907 parameter.
908 * config/xtensa/unwind-dw2-xtensa.c: Likewise
909 * config/ia64/unwind-ia64.c: Add frames parameter.
910 * unwind-sjlj.c: Likewise.
911
6a10fff4
IT
9122017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
913
914 * config/i386/linux-unwind.h: Include
915 config/i386/shadow-stack-unwind.h.
916 * config/i386/shadow-stack-unwind.h: New file.
917 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
918 pass it to _Unwind_Frames_Extra.
919 * unwind-generic.h (_Unwind_Frames_Extra): New.
920 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
921 parameter. Add local variable frames to count number of frames.
922 (_Unwind_ForcedUnwind_Phase2): Likewise.
923 (_Unwind_RaiseException): Add local variable frames to count
924 number of frames, pass it to _Unwind_RaiseException_Phase2 and
925 uw_install_context.
926 (_Unwind_ForcedUnwind): Likewise.
927 (_Unwind_Resume): Likewise.
928 (_Unwind_Resume_or_Rethrow): Likewise.
929
1ecae1fc
IT
9302017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
931
932 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
933 (CET_FLAGS): New.
934 * config/i386/morestack.S: Include <cet.h>.
935 (__morestack_large_model): Add _CET_ENDBR at function entrance.
936 * config/i386/resms64.h: Include <cet.h>.
937 * config/i386/resms64f.h: Likewise.
938 * config/i386/resms64fx.h: Likewise.
939 * config/i386/resms64x.h: Likewise.
940 * config/i386/savms64.h: Likewise.
941 * config/i386/savms64f.h: Likewise.
942 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
943 (CRTSTUFF_T_CFLAGS): Likewise.
944 * configure.ac: Include ../config/cet.m4.
945 Set and substitute CET_FLAGS.
946 * configure: Regenerated.
947
f021f1d3
RO
9482017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
949
950 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
951 renaming.
952 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
953 * configure.ac (libgcc_cv_solaris_crts): Likewise.
954 * configure: Regenerate.
955
65f480c7
TV
9562017-11-07 Tom de Vries <tom@codesourcery.com>
957
958 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
959 after "do {} while (0)".
960
2a321acb
TV
9612017-11-07 Tom de Vries <tom@codesourcery.com>
962
963 PR other/82784
964 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
965 semicolon after "do {} while (0)".
966 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
967 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
968 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
969 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
970
59fcf6c3
AT
9712017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
972
973 PR libgcc/82635
974 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
975 sysctl to determine whether we're in a trampoline.
976 Keep the pattern matching method for systems without
977 KERN_PROC_SIGTRAMP sysctl.
978
b0c7ddf8
CM
9792017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
980 Vineet Gupta <vgupta@synopsys.com>
981
982 * config.host (arc*-*-linux*): Set md_unwind_header variable.
983 * config/arc/linux-unwind-reg.def: New file.
984 * config/arc/linux-unwind-reg.h: Likewise.
985
5feee954
SP
9862017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
987
988 * config/rl78/subdi3.S: New assembly file.
989 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
990
a0bf6cf7
SP
9912017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
992
993 * config/rl78/adddi3.S: New assembly file.
994 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
995
e7176f75
JJ
9962017-10-13 Jakub Jelinek <jakub@redhat.com>
997
998 PR target/82274
999 * libgcc2.c (__mulvDI3): If both operands have
1000 the same highpart of -1 and the topmost bit of lowpart is 0,
1001 multiplication overflows even if both lowparts are 0.
1002
db6601d2
JB
10032017-09-28 James Bowman <james.bowman@ftdichip.com>
1004
1005 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
1006
938b6f1e
JM
10072017-09-26 Joseph Myers <joseph@codesourcery.com>
1008
1009 * config/microblaze/crti.S, config/microblaze/crtn.S,
1010 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
1011 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
1012 config/microblaze/mulsi3.S,
1013 config/microblaze/stack_overflow_exit.S,
1014 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
1015 config/pa/milli64.S: Add .note.GNU-stack section.
1016
89762a83
DS
10172017-09-23 Daniel Santos <daniel.santos@pobox.com>
1018
1019 * configure.ac: Add Check for HAVE_AS_AVX.
1020 * config.in: Regenerate.
1021 * configure: Likewise.
1022 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
1023 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
1024 Correct out-of-date comments.
1025
cace2309
SP
10262017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
1027
1028 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
1029 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
1030
3cb626e4
DS
10312017-09-17 Daniel Santos <daniel.santos@pobox.com>
1032
cace2309 1033 * config/i386/i386-asm.h (PASTE2): New macro.
3cb626e4
DS
1034 (ASMNAME): Modify to use PASTE2.
1035 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
1036 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
cace2309 1037 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
3cb626e4 1038 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
cace2309
SP
1039 * config/i386/resms64f.S: Likewise.
1040 * config/i386/resms64fx.S: Likewise.
1041 * config/i386/resms64x.S: Likewise.
1042 * config/i386/savms64.S: Likewise.
1043 * config/i386/savms64f.S: Likewise.
1044 * config/i386/avx_resms64.S: New file that only defines a macro and
3cb626e4 1045 includes it's corresponding header file.
cace2309
SP
1046 * config/i386/avx_resms64f.S: Likewise.
1047 * config/i386/avx_resms64fx.S: Likewise.
1048 * config/i386/avx_resms64x.S: Likewise.
1049 * config/i386/avx_savms64.S: Likewise.
1050 * config/i386/avx_savms64f.S: Likewise.
1051 * config/i386/sse_resms64.S: Likewise.
1052 * config/i386/sse_resms64f.S: Likewise.
1053 * config/i386/sse_resms64fx.S: Likewise.
1054 * config/i386/sse_resms64x.S: Likewise.
1055 * config/i386/sse_savms64.S: Likewise.
1056 * config/i386/sse_savms64f.S: Likewise.
1057 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3cb626e4 1058
2f19c491 10592017-09-01 Olivier Hainque <hainque@adacore.com>
2f19c491
OH
1060 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
1061
611e7036
OH
10622017-08-31 Olivier Hainque <hainque@adacore.com>
1063
1064 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
1065 match as powerpc-wrs-vxworks*.
1066
c8f34527
JY
10672017-08-07 Jonathan Yong <10walls@gmail.com>
1068
1069 * config.host (*-cygwin): Include file from mingw
1070 config/i386/enable-execute-stack-mingw32.c
1071
0b458d2b 10722017-08-01 Jerome Lambourg <lambourg@adacore.com>
92a285c1
ML
1073 Doug Rupp <rupp@adacore.com>
1074 Olivier Hainque <hainque@adacore.com>
0b458d2b
JL
1075
1076 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
1077 as well as arm-wrs-vxworks.
1078 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
1079 LIB2ADDEH.
1080 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
1081 __exidx_start and __exidx_end for downloadable modules.
1082
4df612fa
OH
10832017-08-01 Olivier Hainque <hainque@adacore.com>
1084
1085 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
1086 * config/t-vxworks7: Likewise.
1087
5560e8c0
OH
10882017-08-01 Olivier Hainque <hainque@adacore.com>
1089
1090 * config/t-vxworks: Instead of redefining LIB2ADD,
1091 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
1092
16bab95a
SH
10932017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1094
1095 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
1096
9cbc07cc
DS
10972017-07-24 Daniel Santos <daniel.santos@pobox.com>
1098
1099 PR testsuite/80759
1100 * config.host: include i386/t-msabi for darwin and solaris.
1101 * config/i386/i386-asm.h
1102 (ELFFN): Rename to FN_TYPE.
1103 (FN_SIZE): New macro.
1104 (FN_HIDDEN): Likewise.
1105 (ASMNAME): Likewise.
1106 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
1107 .globl.
1108 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
1109 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
1110 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
1111 .macro.
1112 * config/i386/resms64f.S: Likewise.
1113 * config/i386/resms64fx.S: Likewise.
1114 * config/i386/resms64x.S: Likewise.
1115 * config/i386/savms64.S: Likewise.
1116 * config/i386/savms64f.S: Likewise.
1117
de742204
JM
11182017-07-19 John Marino <gnugcc@marino.st>
1119
1120 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
1121
3787ee47
MM
11222017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
1123
1124 PR target/81193
1125 * configure.ac (PowerPC float128 hardware support): Test whether
1126 we can use __builtin_cpu_supports before enabling the ifunc
1127 handler.
1128 * configure: Regenerate.
1129
b1938888
VG
11302017-07-10 Vineet Gupta <vgupta@synopsys.com>
1131
1132 * config.host: Remove uclibc from arc target spec.
1133
bec75e53
KW
11342017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
1135
1136 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
1137
d4391a62
PB
11382017-07-07 Peter Bergner <bergner@vnet.ibm.com>
1139
1140 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
1141 (have_ieee_hw_p): Delete function.
1142 (SW_OR_HW) Use __builtin_cpu_supports().
1143
9296dd9b
TP
11442017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
1145
1146 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
1147
b85a969e
OH
11482017-07-03 Olivier Hainque <hainque@adacore.com>
1149
d4391a62 1150 * config/t-vxworks7: New file, really.
b85a969e 1151
883312dc
JM
11522017-06-28 Joseph Myers <joseph@codesourcery.com>
1153
1154 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
1155 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
1156 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
1157 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
1158 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
1159 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
1160 config/pa/linux-unwind.h (pa32_fallback_frame_state),
1161 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
1162 config/sh/linux-unwind.h (sh_fallback_frame_state),
1163 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
1164 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
1165 ucontext_t instead of struct ucontext.
1166
50567938
JL
11672017-06-27 Jerome Lambourg <lambourg@adacore.com>
1168
1169 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
1170 (x86_64-wrs-vxworks7): Likewise.
1171
e4b0df93
OH
11722017-06-27 Olivier Hainque <hainque@adacore.com>
1173
1174 * config/t-vxworks7: New file.
1175 * config.host (*-*-vxworks7): Use it.
1176
60edf8bb
MT
11772017-06-22 Matt Turner <mattst88@gmail.com>
1178
1179 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
1180 skylake case.
1181
a51a76e5
RB
11822017-06-21 Richard Biener <rguenther@suse.de>
1183
1184 PR gcov-profile/81080
1185 * configure.ac: Add AC_SYS_LARGEFILE.
1186 * libgcov.h: Include auto-target.h before tsystem.h to pick
1187 up _FILE_OFFSET_BITS which might differ for multilibs.
1188 * config.in: Regenerate.
1189 * configure: Likewise.
1190
f0cd49c5
RE
11912017-06-16 Richard Earnshaw <rearnsha@arm.com>
1192
1193 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
1194
4f751c54
ML
11952017-06-09 Martin Liska <mliska@suse.cz>
1196
1197 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
1198 Reset __gcov_indirect_call_callee to NULL.
1199
1ac644c8
OH
12002017-06-08 Olivier Hainque <hainque@adacore.com>
1201
1202 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
1203 the set of -I options, support for direct inclusions of net/uio.h
1204 by VxWorks header files via ioLib.h.
1205
d8b9cd27
TR
12062017-06-07 Tony Reix <tony.reix@atos.net>
1207 Matthieu Sarter <matthieu.sarter.external@atos.net>
1208 David Edelsohn <dje.gcc@gmail.com>
1209
92a285c1
ML
1210 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
1211 unconditionally.
1212 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
1213 AIX 7.2 support.
d8b9cd27 1214
38a75ccc
OH
12152017-06-02 Olivier Hainque <hainque@adacore.com>
1216
1217 * config/vxlib.c (__gthread_once): Add missing value to
1218 return statement.
1219
5b2edf53
OH
12202017-05-30 Olivier Hainque <hainque@adacore.com>
1221
1222 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
1223 dollar sign before $(MULTIDIR).
1224
7d66e265
RH
12252017-05-26 Richard Henderson <rth@redhat.com>
1226
1227 PR libgcc/80037
1228 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
1229
78eca309
AT
12302017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
1231
1232 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
1233 _Unwind_SetIP available as functions for arm*-*-freebsd*.
1234 * config/arm/unwind-arm.c: Implement the above.
1235
c39d309a
AZ
12362017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1237
1238 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
1239 section for a non-executable stack.
1240
eac8c9f2
KW
12412017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
1242
1243 PR target/80600
1244 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
1245
d6d4d770
DS
12462017-05-14 Daniel Santos <daniel.santos@pobox.com>
1247
1248 * config.host: Add i386/t-msabi to i386/t-linux file list.
1249 * config/i386/i386-asm.h: New file.
1250 * config/i386/resms64.S: New file.
1251 * config/i386/resms64f.S: New file.
1252 * config/i386/resms64fx.S: New file.
1253 * config/i386/resms64x.S: New file.
1254 * config/i386/savms64.S: New file.
1255 * config/i386/savms64f.S: New file.
1256 * config/i386/t-msabi: New file.
1257
8ef2b9a7
AT
12582017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
1259
1260 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
1261 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
1262
7ab8766a
JC
12632017-05-05 Joshua Conner <joshconner@google.com>
1264
1265 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
1266 pc-relative indirect handling for fuchsia.
1267 * config/t-slibgcc-fuchsia: New file.
1268 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
d6d4d770 1269 x86_64-*-fuchsia*): Add definitions.
7ab8766a 1270
46928a8f
ML
12712017-04-19 Martin Liska <mliska@suse.cz>
1272
1273 PR gcov-profile/80435
1274 * Makefile.in: Install gcov.h.
1275 * gcov.h: New file.
1276 * libgcov.h: Use the header and make __gcov_flush publicly
1277 visible.
1278
63971184
ML
12792017-04-18 Martin Liska <mliska@suse.cz>
1280
1281 PR gcov-profile/78783
1282 * libgcov-driver.c (gcov_get_filename): New function.
1283
29d8aae6
JL
12842017-04-07 Jeff Law <law@redhat.com>
1285
1286 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
1287 target makefile fragment.
1288 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
1289
2bdf7fc6
AM
12902017-04-07 Alan Modra <amodra@gmail.com>
1291
1292 PR target/45053
1293 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
1294
5764ee3c
JW
12952017-04-03 Jonathan Wakely <jwakely@redhat.com>
1296
1297 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
1298
c4192ad7
CZ
12992017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
1300
1301 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
1302
4ccfdb28
JM
13032017-03-10 John Marino <gnugcc@marino.st>
1304
1305 * config/aarch64/freebsd-unwind.h: New file.
1306 * config.host: Add aarch64-*-freebsd unwinder.
1307
4144e4e3
SB
13082017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1309
1310 * config/rs6000/crtrestvr.s: Use .machine altivec.
1311 * config/rs6000/crtsavevr.s: Ditto.
1312
7502c597
SB
13132017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1314
1315 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
1316 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
1317 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
1318 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
1319 * configure: Regenerate.
1320 * config.in: Regenerate.
1321
db9f7f65
JY
13222017-03-02 Jonathan Yong <10walls@gmail.com>
1323
1324 * config/i386/gthr-win32.h: Define NOGDI before
1325 windows.h include to prevent w32api CC_NONE macro
1326 clash with libgfortran.
1327
126437c5
JY
13282017-03-02 Jonathan Yong <10walls@gmail.com>
1329
1330 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
1331
31927af6
AP
13322017-02-16 Andrew Pinski <apinski@cavium.com>
1333
1334 * config/aarch64/value-unwind.h: New file.
1335 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
1336 to tm_file.
1337
0bd99911
PD
13382017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
1339
1340 * config.host: Add RISC-V tuples.
1341 * config/riscv/atomic.c: New file.
1342 * config/riscv/crti.S: Likewise.
1343 * config/riscv/crtn.S: Likewise.
1344 * config/riscv/div.S: Likewise.
1345 * config/riscv/linux-unwind.h: Likewise.
1346 * config/riscv/muldi3.S: Likewise.
1347 * config/riscv/multi3.S: Likewise.
1348 * config/riscv/save-restore.S: Likewise.
1349 * config/riscv/sfp-machine.h: Likewise.
1350 * config/riscv/t-elf: Likewise.
1351 * config/riscv/t-elf32: Likewise.
1352 * config/riscv/t-elf64: Likewise.
1353 * config/riscv/t-softfp32: Likewise.
1354 * config/riscv/t-softfp64: Likewise.
1355
a8c9ef2a
JJ
13562017-01-24 Jakub Jelinek <jakub@redhat.com>
1357
1358 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
1359 /* FALLTHRU */ comments.
1360
c6c82710
GP
13612017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
1362
1363 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
1364
a876231c
JW
13652017-01-20 Jiong Wang <jiong.wang@arm.com>
1366
1367 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
1368 * unwind-dw2.c (execute_cfa_program): Only multiplexing
1369 DW_CFA_GNU_window_save for AArch64 and LP64.
1370
aa348be2
JW
13712017-01-20 Jiong Wang <jiong.wang@arm.com>
1372
1373 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
1374
5636faf2
JW
13752017-01-19 Jiong Wang <jiong.wang@arm.com>
1376
1377 * config/aarch64/aarch64-unwind.h: New file.
1378 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
1379 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
1380 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
1381 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
1382 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
1383 (aarch64_post_extract_frame_addr): New function.
1384 (aarch64_post_frob_eh_handler_addr): New function.
1385 (aarch64_frob_update_context): New function.
1386 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
1387 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
1388 aarch64*-*-freebsd*):
1389 Initialize md_unwind_header to include aarch64-unwind.h.
1390 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
1391 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
1392 __aarch64__.
1393 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
1394 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
1395 (uw_frob_return_addr): New function.
1396 (uw_install_context): Use uw_frob_return_addr.
1397
3c36aa6b
JJ
13982017-01-17 Jakub Jelinek <jakub@redhat.com>
1399
1400 PR other/79046
1401 * configure.ac: Add GCC_BASE_VER.
1402 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
1403 version from BASE-VER file.
1404 * configure: Regenerated.
1405
829afb8f
JS
14062017-01-13 Joe Seymour <joe.s@somniumtech.com>
1407
1408 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
1409 libmul_f5.a): Filter archived prerequisites.
1410
79fc8ffe
AS
14112017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
1412
1413 * config/i386/cpuinfo.h (processor_features): Add
1414 FEATURE_AVX512VPOPCNTDQ.
1415 * config/i386/cpuinfo.c (get_available_features): Habdle new
1416 feature.
1417
fec5f4e0
JM
14182017-01-04 Joseph Myers <joseph@codesourcery.com>
1419
1420 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
1421 payload if [__mips_nan2008].
1422
8f56cb51
AM
14232017-01-04 Alan Modra <amodra@gmail.com>
1424
1425 * Makefile.in (configure_deps): Update.
1426 * configure: Regenerate.
1427
cbe34bb5
JJ
14282017-01-01 Jakub Jelinek <jakub@redhat.com>
1429
1430 Update copyright years.
1431
ab955692
KW
14322016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
1433
1434 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
1435 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
1436 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
1437
de34320f
MK
14382016-12-17 Matthias Klose <doko@ubuntu.com>
1439
1440 * config/arc/gmon: Remove empty directory.
1441
e04ea1da
CZ
14422016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
1443
1444 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
1445 crtgend.
1446 (arc*-*-elf*): Likewise.
1447 * config/arc/t-arc: Remove old gmon lib targets.
1448 * config/arc/crtg.S: Remove.
1449 * config/arc/crtgend.S: Likewise.
1450 * config/arc/gmon/atomic.h: Likewise.
1451 * config/arc/gmon/auxreg.h: Likewise.
1452 * config/arc/gmon/dcache_linesz.S: Likewise.
1453 * config/arc/gmon/gmon.c: Likewise.
1454 * config/arc/gmon/machine-gmon.h: Likewise.
1455 * config/arc/gmon/mcount.c: Likewise.
1456 * config/arc/gmon/prof-freq-stub.S: Likewise.
1457 * config/arc/gmon/prof-freq.c: Likewise.
1458 * config/arc/gmon/profil.S: Likewise.
1459 * config/arc/gmon/sys/gmon.h: Likewise.
1460 * config/arc/gmon/sys/gmon_out.h: Likewise.
1461 * config/arc/t-arc-newlib: Likewise.
1462 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
1463
8ae1c2c1
GS
14642016-12-12 George Spelvin <linux@sciencehorizons.net>
1465
1466 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
1467
a5b947fa
GS
14682016-12-12 George Spelvin <linux@sciencehorizons.net>
1469
1470 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
1471 R16 instead of push + pop.
1472 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
1473
d6574dd1
KW
14742016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
1475
1476 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
1477 tmake_file.
1478
62440b4f
CM
14792016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
1480
1481 * config.host (arc*-*-linux-uclibc*): Use default extra
1482 objects. Include linux-android header.
1483 * config/arc/crti.S (_init): Declare symbol as function.
1484 (_fini): Likewise.
1485
31cfd832
TK
14862016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
1487
1488 PR fortran/78379
1489 * config/i386/cpuinfo.c: Move denums for processor vendors,
1490 processor type, processor subtypes and declaration of
1491 struct __processor_model into
1492 * config/i386/cpuinfo.h: New header file.
1493
c92e08e3
AV
14942016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1495 Thomas Preud'homme <thomas.preudhomme@arm.com>
1496
1497 * config/arm/cmse_nonsecure_call.S: New.
1498 * config/arm/t-arm: Compile cmse_nonsecure_call.S
1499
de7b5723
AV
15002016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1501 Thomas Preud'homme <thomas.preudhomme@arm.com>
1502
1503 * config/arm/t-arm (HAVE_CMSE): New.
1504 * config/arm/cmse.c: New.
1505
7a0d2bce
TP
15062016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
1507
b3a5bff4
TP
1508 PR gcc/74748
1509 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
1510 use generic linker version information on Blackfin.
1511
7a0d2bce
TP
1512 PR gcc/74748
1513 * libgcc/mkmap-symver.awk: add support for skip_underscore
1514
b410cf1d
IS
15152016-11-27 Iain Sandoe <iain@codesourcery.com>
1516 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1517
1518 PR target/67710
1519 * config/t-darwin: Default builds to 10.5 codegen.
1520
2e5f8203
JG
15212016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
1522
1523 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
1524 (_FP_NANSIGN_H): Likewise.
1525 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
1526 (softfp_truncations): Add tfhf.
1527 (softfp_extras): Add required conversion functions.
1528
bea64ca3
JG
15292016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1530 Matthew Wahab <matthew.wahab@arm.com>
1531
1532 * config/arm/fp16.c (binary64): New.
1533 (__gnu_d2h_internal): New.
1534 (__gnu_d2h_ieee): New.
1535 (__gnu_d2h_alternative): New.
1536
8630cadb
JG
15372016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1538 Matthew Wahab <matthew.wahab@arm.com>
1539
1540 * config/arm/fp16.c (struct format): New.
1541 (binary32): New.
1542 (__gnu_float2h_internal): New. Body moved from
1543 __gnu_f2h_internal and generalize.
1544 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
1545 Call it with binary32.
1546
5823ef23
JG
15472016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1548
1549 * soft-fp/extendhftf2.c: Update from glibc.
1550 * soft-fp/fixhfti.c: Likewise.
1551 * soft-fp/fixunshfti.c: Likewise.
1552 * soft-fp/floattihf.c: Likewise.
1553 * soft-fp/floatuntihf.c: Likewise.
1554 * soft-fp/half.h: Likewise.
1555 * soft-fp/trunctfhf2.c: Likewise.
1556
62a7df9f
MG
15572016-11-20 Marc Glisse <marc.glisse@inria.fr>
1558
1559 PR libgcc/77813
1560 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
1561 __TMC_END__ behind a passthrough asm.
1562
7a384912
WL
15632016-11-18 Walter Lee <walt@tilera.com>
1564
62a7df9f 1565 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
7a384912 1566
9775c1a5
L
15672016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
1568
1569 * config/i386/cpuinfo.c (processor_features): Add
1570 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
1571
48c842ab
CZ
15722016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
1573
1574 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
1575 (__ARC_NORM__): Use instead ARC_OPTFPE.
1576 * config/arc/fp-hack.h: Likewise.
1577 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
1578 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
1579
5012919d
AM
15802016-11-16 Alexander Monakov <amonakov@ispras.ru>
1581
1582 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
1583 * config/nvptx/mgomp.c: New file.
1584 * config/nvptx/t-nvptx: Add mgomp.c
1585
00178b98
WB
15862016-11-16 Waldemar Brodkorb <wbx@openadk.org>
1587
1588 PR libgcc/68468
1589 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
1590
d64af69f
CZ
15912016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
1592
1593 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
1594 of checking for cpus.
1595 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
1596 (__modsi3, __clzsi2): Likewise.
1597
9d8f95de
SN
15982016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
1599
1600 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
1601 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
1602 * config/i386/t-cpuinfo-static: New.
1603
7d29f8e3
ML
16042016-11-03 Martin Liska <mliska@suse.cz>
1605
1606 * libgcov-profiler.c (__gcov_time_profiler): Remove.
1607 (__gcov_time_profiler_atomic): Likewise.
1608
5de3e2d8
BE
16092016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
1610
1611 PR libgcc/78067
1612 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
1613 count_leading_zeros.
1614
18362447
UB
16152016-11-02 Uros Bizjak <ubizjak@gmail.com>
1616
1617 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
1618 * libgcc2.c (__divmoddi4): New function.
1619 * libgcc2.h (__divmoddi4): Declare.
1620 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
1621 and __PFX_divmodti4.
1622
33107571
FW
16232016-10-24 Florian Weimer <fweimer@redhat.com>
1624
1625 PR libgcc/78064
1626 * unwind-c.c: Include auto-target.h.
1627
4c6d7494
JDA
16282016-10-19 John David Anglin <danglin@gcc.gnu.org>
1629
18362447 1630 * config/pa/pa64-hpux-lib.h: New file.
4c6d7494
JDA
1631 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
1632 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
1633 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
1634 hppa*64*-*-hpux11*.
1635
2a26adf1
MF
16362016-10-18 Max Filippov <jcmvbkbc@gmail.com>
1637
1638 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1639 definition.
1640 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1641 definition.
1642 * config/xtensa/t-windowed (LIB2ADDEH): Use
1643 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
1644 or xtensa/t-linux.
1645
66192aa1
DKC
16462016-10-18 Ding-Kai Chen <dkchen@cadence.com>
1647
1648 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
1649 __ieee754_sqrt): New functions.
1650 (__divdf3): Add implementation with new FPU instructions under
1651 #if XCHAL_HAVE_DFP_DIV.
1652 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
1653 __ieee754_sqrtf): New functions.
1654 (__divsf3): Add implementation with new FPU instructions under
1655 #if XCHAL_HAVE_FP_DIV.
1656 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
1657 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
1658
4d0cdd0c
TP
16592016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
1660
1661 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
1662 equivalent.
1663 * config/tilepro/atomic.c: Likewise and stop casting model to
1664 enum memmodel.
1665
73f01cca
JM
16662016-10-10 Joseph Myers <joseph@codesourcery.com>
1667
1668 PR target/77586
1669 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
1670 soft-fp.
1671
b20e7532
AT
16722016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
1673
1674 * config.host: Add support for aarch64-*-freebsd*.
1675
a786cec4
AS
16762016-10-05 Andreas Schwab <schwab@suse.de>
1677
1678 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
1679 (.section .init_array): Don't call __do_jv_register_classes.
1680 (.section .init): Likewise.
1681
5a79befb
JJ
16822016-10-04 Jakub Jelinek <jakub@redhat.com>
1683
1684 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
1685 (__JCR_LIST__): Remove.
1686 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
1687 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
1688 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
1689 * config/ia64/crtend.S (__JCR_END__): Remove.
1690 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
1691 conditionals.
1692 (__JCR_LIST__, __JCR_END__): Remove.
1693 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
1694 (__do_global_ctors_1): Likewise.
1695
e0ab3753
UB
16962015-09-28 Uros Bizjak <ubizjak@gmail.com>
1697
1698 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
1699 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
1700
8c9434c2
ML
17012016-09-27 Martin Liska <mliska@suse.cz>
1702
1703 PR gcov-profile/7970
1704 PR gcov-profile/16855
1705 PR gcov-profile/44779
1706 * libgcov-driver.c (__gcov_init): Do not register a atexit
1707 handler.
1708 (__gcov_exit): Rename from gcov_exit.
1709 * libgcov.h (__gcov_exit): Declare.
1710
56b653f1
ML
17112016-09-27 Martin Liska <mliska@suse.cz>
1712
1713 PR bootstrap/77749
1714 * Makefile.in: Remove _gcov_merge_delta.
1715 * libgcov-merge.c (void __gcov_merge_delta): Remove.
1716 * libgcov-util.c (__gcov_delta_counter_op): Remove.
1717 * libgcov.h: Remove declaration of __gcov_merge_delta.
1718
7e02fd1b
EB
17192016-09-21 Eric Botcazou <ebotcazou@adacore.com>
1720
1721 * configure.ac: Do not create links, only substitute the filenames.
1722 * configure: Regenerate.
1723 * Makefile.in: Assign the substitution results to variables.
1724 (LIBGCC_LINKS): Define.
1725 (enable-execute-stack.c): New rule.
1726 (unwind.h): Likewise.
1727 (md-unwind-support.h): Likewise.
1728 (sfp-machine.h): Likewise.
1729 (gthr-default.h): Likewise.
1730 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
1731 unwind.h as prerequisite of install-unwind_h-forbuild.
1732
29991048
JJ
17332016-09-16 Jakub Jelinek <jakub@redhat.com>
1734
1735 PR libgcc/71744
1736 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
1737 is not the primary registry and atomics are available.
1738 (any_objects_registered): New variable.
1739 (__register_frame_info_bases, __register_frame_info_table_bases):
1740 Atomically store 1 to any_objects_registered after registering first
1741 unwind info.
1742 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
1743
0abcd6cc
JG
17442016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
1745
1746 PR target/63250
1747 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
1748 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
1749 (HFtype): Likewise.
1750 (HCtype): Likewise.
1751 (__divhc3): Likewise.
1752 (__mulhc3): Likewise.
1753 * libgcc2.c: Support _mulhc3 and _divhc3.
1754
d758aeb5
JM
17552016-09-07 Joseph Myers <joseph@codesourcery.com>
1756
1757 PR libgcc/77519
1758 * libgcc2.c (NOTRUNC): Invert settings.
1759
7fe76f6a
ML
17602016-09-06 Martin Liska <mliska@suse.cz>
1761
1762 PR gcov-profile/77378
1763 PR gcov-profile/77466
1764 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
1765 conditionaly enable/disable *_atomic functions.
1766
21184026
JM
17672016-08-26 Joseph Myers <joseph@codesourcery.com>
1768
1769 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
1770 where not already enabled.
1771
726f49c3
SN
17722016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
1773
1774 * config/mips/linux-unwind.h: Use sys/syscall.h.
1775
feeb6268
JM
17762016-08-16 Joseph Myers <joseph@codesourcery.com>
1777
1778 PR libgcc/77265
1779 * soft-fp/adddf3.c: Update from glibc.
1780 * soft-fp/addsf3.c: Likewise.
1781 * soft-fp/addtf3.c: Likewise.
1782 * soft-fp/divdf3.c: Likewise.
1783 * soft-fp/divsf3.c: Likewise.
1784 * soft-fp/divtf3.c: Likewise.
1785 * soft-fp/double.h: Likewise.
1786 * soft-fp/eqdf2.c: Likewise.
1787 * soft-fp/eqsf2.c: Likewise.
1788 * soft-fp/eqtf2.c: Likewise.
1789 * soft-fp/extenddftf2.c: Likewise.
1790 * soft-fp/extended.h: Likewise.
1791 * soft-fp/extendsfdf2.c: Likewise.
1792 * soft-fp/extendsftf2.c: Likewise.
1793 * soft-fp/extendxftf2.c: Likewise.
1794 * soft-fp/fixdfdi.c: Likewise.
1795 * soft-fp/fixdfsi.c: Likewise.
1796 * soft-fp/fixdfti.c: Likewise.
1797 * soft-fp/fixsfdi.c: Likewise.
1798 * soft-fp/fixsfsi.c: Likewise.
1799 * soft-fp/fixsfti.c: Likewise.
1800 * soft-fp/fixtfdi.c: Likewise.
1801 * soft-fp/fixtfsi.c: Likewise.
1802 * soft-fp/fixtfti.c: Likewise.
1803 * soft-fp/fixunsdfdi.c: Likewise.
1804 * soft-fp/fixunsdfsi.c: Likewise.
1805 * soft-fp/fixunsdfti.c: Likewise.
1806 * soft-fp/fixunssfdi.c: Likewise.
1807 * soft-fp/fixunssfsi.c: Likewise.
1808 * soft-fp/fixunssfti.c: Likewise.
1809 * soft-fp/fixunstfdi.c: Likewise.
1810 * soft-fp/fixunstfsi.c: Likewise.
1811 * soft-fp/fixunstfti.c: Likewise.
1812 * soft-fp/floatdidf.c: Likewise.
1813 * soft-fp/floatdisf.c: Likewise.
1814 * soft-fp/floatditf.c: Likewise.
1815 * soft-fp/floatsidf.c: Likewise.
1816 * soft-fp/floatsisf.c: Likewise.
1817 * soft-fp/floatsitf.c: Likewise.
1818 * soft-fp/floattidf.c: Likewise.
1819 * soft-fp/floattisf.c: Likewise.
1820 * soft-fp/floattitf.c: Likewise.
1821 * soft-fp/floatundidf.c: Likewise.
1822 * soft-fp/floatundisf.c: Likewise.
1823 * soft-fp/floatunditf.c: Likewise.
1824 * soft-fp/floatunsidf.c: Likewise.
1825 * soft-fp/floatunsisf.c: Likewise.
1826 * soft-fp/floatunsitf.c: Likewise.
1827 * soft-fp/floatuntidf.c: Likewise.
1828 * soft-fp/floatuntisf.c: Likewise.
1829 * soft-fp/floatuntitf.c: Likewise.
1830 * soft-fp/gedf2.c: Likewise.
1831 * soft-fp/gesf2.c: Likewise.
1832 * soft-fp/getf2.c: Likewise.
1833 * soft-fp/ledf2.c: Likewise.
1834 * soft-fp/lesf2.c: Likewise.
1835 * soft-fp/letf2.c: Likewise.
1836 * soft-fp/muldf3.c: Likewise.
1837 * soft-fp/mulsf3.c: Likewise.
1838 * soft-fp/multf3.c: Likewise.
1839 * soft-fp/negdf2.c: Likewise.
1840 * soft-fp/negsf2.c: Likewise.
1841 * soft-fp/negtf2.c: Likewise.
1842 * soft-fp/op-1.h: Likewise.
1843 * soft-fp/op-2.h: Likewise.
1844 * soft-fp/op-4.h: Likewise.
1845 * soft-fp/op-8.h: Likewise.
1846 * soft-fp/op-common.h: Likewise.
1847 * soft-fp/quad.h: Likewise.
1848 * soft-fp/single.h: Likewise.
1849 * soft-fp/soft-fp.h: Likewise.
1850 * soft-fp/subdf3.c: Likewise.
1851 * soft-fp/subsf3.c: Likewise.
1852 * soft-fp/subtf3.c: Likewise.
1853 * soft-fp/truncdfsf2.c: Likewise.
1854 * soft-fp/trunctfdf2.c: Likewise.
1855 * soft-fp/trunctfsf2.c: Likewise.
1856 * soft-fp/trunctfxf2.c: Likewise.
1857 * soft-fp/unorddf2.c: Likewise.
1858 * soft-fp/unordsf2.c: Likewise.
1859 * soft-fp/unordtf2.c: Likewise.
1860
2e6fc1ac
GG
18612016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
1862
1863 PR gcov-profile/67097
1864 * libgcov-util.c (gcov_profile_merge): Skip missing files.
1865
a266236e
ML
18662016-08-10 Martin Liska <mliska@suse.cz>
1867
1868 PR gcov-profile/58306
1869 * Makefile.in: New functions (modules) are added.
1870 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
1871 function.
1872 (__gcov_pow2_profiler_atomic): New function.
1873 (__gcov_one_value_profiler_body): New argument is instroduced.
1874 (__gcov_one_value_profiler): Call with the new argument.
1875 (__gcov_one_value_profiler_atomic): Likewise.
1876 (__gcov_indirect_call_profiler_v2): Likewise.
1877 (__gcov_time_profiler_atomic): New function.
1878 (__gcov_average_profiler_atomic): Likewise.
1879 (__gcov_ior_profiler_atomic): Likewise.
1880 * libgcov.h: Declare the aforementioned functions.
1881
e0c8eebf
ML
18822016-08-09 Martin Liska <mliska@suse.cz>
1883
1884 * libgcov-util.c: Fix typo and GNU coding style.
1885
6dce6418
ML
18862016-08-09 Martin Liska <mliska@suse.cz>
1887
1888 * Makefile.in: Remove __gcov_indirect_call_profiler.
1889 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
1890 function.
1891 * libgcov.h: And the declaration of the function.
1892
dcb1e137
ML
18932016-08-09 Martin Liska <mliska@suse.cz>
1894
1895 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
1896 power of two.
1897
d6e69705
BS
18982016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1899
1900 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
1901 * config/rs6000/_mulkc3.c: Likewise.
1902
96aa1f95
GJL
19032016-07-29 Georg-Johann Lay <avr@gjlay.de>
1904
1905 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
1906 zero_reg as previous call to __umulhisi3 already cleared it.
1907
a1b01d34
AJ
19082016-07-21 Aurelien Jarno <aurelien@aurel32.net>
1909
1910 PR target/59833
1911 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
1912
985a47b2
NC
19132016-07-19 Nick Clifton <nickc@redhat.com>
1914
1915 * config.host (m32r): Add m32r/t-m32r to tmake_file.
1916 Add crtinit.o and crtfini.o to extra_parts.
1917
f906f5ed
BS
19182016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1919
1920 * config/rs6000/_divkc3.c: New.
1921 * config/rs6000/_mulkc3.c: New.
1922 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
1923 and _divkc3.
1924 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
1925 fp128_ppc_funcs.
1926
82742404
HW
19272016-07-11 Hale Wang <hale.wang@arm.com>
1928 Andre Vieira <andre.simoesdiasvieira@arm.com>
1929
1930 * config/arm/lib1funcs.S: Add new wrapper.
1931
05a437c1
TP
19322016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
1933
1934 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
1935
3d16d9ec
TP
19362016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
1937
1938 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
1939 and ARMv5t* rather than for a fixed list of architectures.
1940
6f493951
TP
19412016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
1942
1943 * config/arm/bpabi-v6m.S: Clarify what architectures is the
1944 implementation suitable for.
1945 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
1946 for all Thumb-1 only targets.
1947 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
1948 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
1949 __ARM_ARCH_6M__.
1950 (EQUIV): Likewise.
1951 (ARM_FUNC_ALIAS): Likewise.
1952 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
1953 version.
1954 (modsi3): Likewise.
1955 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
1956 (clzdi2): Likewise.
1957 (ctzsi2): Likewise.
1958 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
1959 __ARM_ARCH_6M__ in guard for checking whether it is defined.
1960 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
1961 __ARM_ARCH_6M__ and add comment to indicate the connection between
1962 this condition and the one in gcc/config/arm/elf.h.
1963 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
1964 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
1965 * config/arm/t-softfp: Likewise.
1966
1770511a
TS
19672016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1968
1969 * libgcc2.c (SYMBOL__MAIN): Remove checks for
1970 CTOR_LISTS_DEFINED_EXTERNALLY.
1971
ba6be749
WL
19722016-06-28 Walter Lee <walt@tilera.com>
1973
1974 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
1975 asm/unistd.h.
1976 (SPR_CMPEXCH_VALUE): Define for tilegx.
1977 (__NR_FAST_cmpxchg): Define for tilepro.
1978 (__NR_FAST_atomic_update): Define for tilepro.
1979 (__NR_FAST_cmpxchg64): Define for tilepro.
1980
a34c0db5
JS
19812016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
1982
18362447 1983 * config.host: Add suport for arm*-*-phoenix* targets.
a34c0db5 1984
0609abda
TS
19852016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1986
1987 * config.host: Remove support for mep-*.
1988 * config/mep/lib1funcs.S: Remove.
1989 * config/mep/lib2funcs.c: Remove.
1990 * config/mep/t-mep: Remove.
1991 * config/mep/tramp.c: Remove.
1992
3e326935
TS
19932016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1994
1995 * config.host: Remove support for avr-rtems.
1996 * config/avr/t-rtems: Remove.
1997
914b155c
TS
19982016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1999
2000 * config.host: Remove m32r-rtems support.
2001
5ebf89bd
TS
20022016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2003
2004 * config.host: Remove h8300-rtems support.
2005
8466af06
TS
20062016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2007
2008 * config.host: Remove support for knetbsd.
2009
d980e738
TS
20102016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2011
2012 * config.host: Remove support for openbsd 2 and 3.
2013
ee2499b4
TS
20142016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2015
2016 * config.host: Remove interix support.
2017 * config/i386/t-interix: Remove.
2018
9f92937b
JDA
20192016-06-18 John David Anglin <danglin@gcc.gnu.org>
2020
2021 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
2022 least-significant bit in function pointer for fixup.
2023
0a0ec53d
AC
20242016-06-05 Aaron Conole <aconole@redhat.com>
2025 Nathan Sidwell <nathan@acm.org>
2026
2027 PR libgcc/71400
2028 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
2029 (get_gcov_error_file): Check __gcov_error_file before trying to
2030 initialize it.
2031 (gcov_error): Always use get_gcov_error_file.
2032
8aa5bdd6
AC
20332016-06-02 Aaron Conole <aconole@redhat.com>
2034
2035 * libgcov-driver-system.c (__gcov_error_file): New.
2036 (get_gcov_error_file): New.
2037 (gcov_error): Use and set __gcov_error_file.
2038 (gcov_error_exit): New.
2039 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
2040
40774faf
NS
20412016-05-26 Nathan Sidwell <nathan@acm.org>
2042
2043 * config/nvptx/free.asm: Delete.
2044 * config/nvptx/malloc.asm: Delete.
2045 * config/nvptx/realloc.c: Delete.
2046 * t-nvptx: Update.
2047
69a6d5ad
NS
20482016-05-25 Nathan Sidwell <nathan@acm.org>
2049
2050 * config/nvptx/crt0.s: Delete.
2051 * config/nvptx/crt0.c: New.
2052 * t-nvptx: Update.
2053
6befaff6
SL
20542016-05-19 Sandra Loosemore <sandra@codesourcery.com>
2055
385c7747 2056 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
6befaff6
SL
2057 dw2/seh configuration.
2058 [x86_64-*-mingw*]: Likewise.
2059
ad251dfd
JS
20602016-05-10 Joel Sherrill <joel@rtems.org>
2061
2062 PR libgcc/70720
2063 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
2064 targets so the same extra_parts are built. Also have tmake_file add
2065 on to its value rather than override.
2066
bc6d9014
OE
20672016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
2068
2069 * config.host: Remove SH5 support.
2070 * configure: Likewise.
2071
9129c8cf
OE
20722016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
2073
2074 * config/sh/crt1.S: Remove SH5 support.
2075 * config/sh/crti.S: Likewise.
2076 * config/sh/crtn.S: Likewise.
2077 * config/sh/lib1funcs-4-300.S: Likewise.
2078 * config/sh/lib1funcs-Os-4-200.S: Likewise.
2079 * config/sh/lib1funcs.S: Likewise.
2080 * config/sh/linux-unwind.h: Likewise.
2081 * config/sh/t-sh64: Delete.
2082
39d50464
CZ
20832016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
2084
2085 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
2086
8b48923b
CZ
20872016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
2088 Joern Rennecke <joern.rennecke@embecosm.com>
2089
2090 * config/arc/crttls.S: New file.
2091 * config/arc/t-arc: New rule.
2092 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
2093
2de1cf8c
NC
20942016-04-25 Nick Clifton <nickc@redhat.com>
2095
2096 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
2097 (__mspabi_cmpd): Likewise.
2098 * config/msp430/floathidf.c (__floathidf): Likewise.
2099 * config/msp430/floathisf.c (__floathisf): Likewise
2100 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
2101 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
2102 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
2103 second parameter.
2104 (__ashrsi3): Likewise.
2105
b8ce3fe2
WB
21062016-04-21 Waldemar Brodkorb <wbx@openadk.org>
2107
2108 * config/m68k/linux-atomic.c: Do not include unistd.h
2109
4986f823
MG
21102016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
2111
2112 * config/arm/ieee754-df.S: Fix typos in comments.
2113
35fbda43
MM
21142016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
2115
2116 PR target/70381
2117 * configure.ac (powerpc*-*-linux*): Rework tests to build
2118 __float128 emulation routines to not depend on using #pragma GCC
2119 target to enable -mfloat128.
2120 * configure: Regnerate.
2121
72d1a48d
EB
21222016-04-04 Eric Botcazou <ebotcazou@adacore.com>
2123
2124 PR target/67172
2125 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
2126 __MINGW32__ is defined.
2127
dc2e8995
JB
21282016-03-28 James Bowman <james.bowman@ftdichip.com>
2129
385c7747 2130 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
dc2e8995 2131
104cdaf1
MM
21322016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
2133
2134 PR libgcc/70363
2135 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
2136 built with an assembler that does not support ISA 3.0
2137 instructions, rename __extendkftf2_sw to __extendkftf2.
2138
a5046f48
RO
21392016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2140
2141 PR target/38239
2142 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
2143 call-clobbered registers.
2144 (internal_mcount): Remove __i386__ handling.
2145
df674f74
JS
21462016-02-26 Joel Sherrill <joel@rtems.org>
2147
2148 * config.host: Add x86_64-*-rtems*.
2149
7cb065d6
JS
21502016-02-26 Joel Sherrill <joel@rtems.org>
2151
2152 * libgcc/config.host: Add aarch64-*-rtems*.
2153
47dfdc53
PM
21542016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2155 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2156
2157 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
2158 union of u64 and double.
2159 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
2160 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
2161 value.
2162 (FP_ROUNDMODE): Update the usage of _fpscr.
2163
e6861a99
IV
21642016-02-25 Ilya Verbin <ilya.verbin@intel.com>
2165
2166 PR driver/68463
2167 * Makefile.in (crtoffloadtable$(objext)): New rule.
2168 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
2169 enable_offload_targets is not empty.
2170 * configure: Regenerate.
2171 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
2172 crtoffloadtable.
2173
9bfcbdee
MF
21742016-02-17 Max Filippov <jcmvbkbc@gmail.com>
2175
2176 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
2177 .literal_position before the function.
2178 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
2179 Likewise.
2180
4cb4721f
MK
21812016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
2182
2183 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
2184 * config/s390/morestack.S: New file.
2185 * config/s390/t-stack-s390: New file.
2186 * generic-morestack.c (__splitstack_find): Add s390-specific code.
2187
b29d9a29
WL
21882016-02-12 Walter Lee <walt@tilera.com>
2189
2190 * config.host (tilegx*-*-linux*): remove ti from
2191 softfp_int_modes for 32-bit configs.
2192
03a0ae7d
ILT
21932016-02-10 Ian Lance Taylor <iant@google.com>
2194
2195 PR go/68562
2196 * config/i386/morestack.S (__stack_split_initialize): Align
2197 stack.
2198
68750bce
AT
21992016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
2200
2201 PR bootstrap/69611
2202 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
2203 __FLOAT128__ to compile only for __float128 capable targets.
2204
7d296953
JJ
22052016-01-25 Jakub Jelinek <jakub@redhat.com>
2206
2207 PR target/69444
2208 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
2209 instead of ___NO_FPRS__.
2210
a71c0334 22112016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
2212 Steven Munroe <munroesj@linux.vnet.ibm.com>
2213 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
a71c0334
MM
2214
2215 * config/rs6000/float128-sed: New files to convert TF names to KF
2216 names for PowerPC IEEE 128-bit floating point support.
2217 * config/rs6000/float128-sed-hw: Likewise.
2218
2219 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2220 floating point hardware support.
2221
2222 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2223 128-bit floating point software emulation or use ISA 3.0 hardware
2224 support if it is available.
2225
2226 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2227 floating point.
2228
2229 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
2230 floating point to IBM extended double.
2231
2232 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
2233 double to IEEE 128-bit floating point.
2234
2235 * config/rs6000/t-float128: New Makefile fragments to enable
2236 building __float128 emulation support.
2237 * config/rs6000/t-float128-hw: Likewise.
2238
2239 * config/rs6000/sfp-exceptions.c: New file to provide exception
2240 support for IEEE 128-bit floating point.
2241
2242 * config/rs6000/floattikf.c: New files for converting between IEEE
2243 128-bit floating point and signed/unsigned 128-bit integers.
2244 * config/rs6000/fixunskfti.c: Likewise.
2245 * config/rs6000/fixkfti.c: Likewise.
2246 * config/rs6000/floatuntikf.c: Likewise.
2247
2248 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2249 when building on 64-bit systems, or when VSX is enabled.
2250 (_FP_W_TYPE): Likewise.
2251 (_FP_WS_TYPE): Likewise.
2252 (_FP_I_TYPE): Likewise.
2253 (TItype): Define on 64-bit systems.
2254 (UTItype): Likewise.
2255 (TI_BITS): Likewise.
2256 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2257 (_FP_MUL_MEAT_Q): Likewise.
2258 (_FP_DIV_MEAT_D): Likewise.
2259 (_FP_DIV_MEAT_Q): Likewise.
2260 (_FP_NANFRAC_D): Likewise.
2261 (_FP_NANFRAC_Q): Likewise.
2262 (ISA_BIT): Add exception support if we are being compiled on a
2263 machine with hardware floating point support to build the IEEE
2264 128-bit emulation functions.
2265 (FP_EX_INVALID): Likewise.
2266 (FP_EX_OVERFLOW): Likewise.
2267 (FP_EX_UNDERFLOW): Likewise.
2268 (FP_EX_DIVZERO): Likewise.
2269 (FP_EX_INEXACT): Likewise.
2270 (FP_EX_ALL): Likewise.
2271 (__sfp_handle_exceptions): Likewise.
2272 (FP_HANDLE_EXCEPTIONS): Likewise.
2273 (FP_RND_NEAREST): Likewise.
2274 (FP_RND_ZERO): Likewise.
2275 (FP_RND_PINF): Likewise.
2276 (FP_RND_MINF): Likewise.
2277 (FP_RND_MASK): Likewise.
2278 (_FP_DECL_EX): Likewise.
2279 (FP_INIT_ROUNDMODE): Likewise.
2280 (FP_ROUNDMODE): Likewise.
2281
2282 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2283 VSX code, enable IEEE 128-bit floating point. If the compiler can
2284 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
2285 floating point hardware instructions and it supports declaring
2286 functions with the ifunc attribute, enable ifunc functions to
2287 switch between software and hardware support.
2288 * configure.ac (powerpc*-*-linux*): Likewise.
2289 * configure: Regenerate.
2290
bdc27e50
NC
22912016-01-15 Nick Clifton <nickc@redhat.com>
2292
2293 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
2294 dependency as the source file to be compiled.
2295 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
2296 (lib2hw_mul_f5.o): Likewise.
2297
006df05d
MM
22982016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
2299
2300 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
2301 * libgcc/config/rs6000/fixkfti.c: Likewise.
2302 * libgcc/config/rs6000/fixunskfti.c: Likewise.
2303 * libgcc/config/rs6000/float128-hw.c: Likewise.
2304 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
2305 * libgcc/config/rs6000/float128-sed: Likewise.
2306 * libgcc/config/rs6000/floattikf.c: Likewise.
2307 * libgcc/config/rs6000/floatuntikf.c: Likewise.
2308 * libgcc/config/rs6000/quad-float128.h: Likewise.
2309 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
2310 * libgcc/config/rs6000/sfp-machine.h: Likewise.
2311 * libgcc/config/rs6000/t-float128: Likewise.
2312 * libgcc/config/rs6000/t-float128-hw: Likewise.
2313 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
2314 * libgcc/config.host: Likewise.
2315 * libgcc/configure: Likewise.
2316 * libgcc/configure.ac: Likewise.
2317
29176d57 23182016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
2319 Steven Munroe <munroesj@linux.vnet.ibm.com>
2320 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
29176d57
MM
2321
2322 * config/rs6000/sfp-exceptions.c: New file to provide exception
2323 support for IEEE 128-bit floating point.
2324
2325 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2326 floating point hardware support.
2327
2328 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
2329 point conversions.
2330 * config/rs6000/fixunskfti.c: Likewise.
2331 * config/rs6000/fixkfti.c: Likewise.
2332 * config/rs6000/floatuntikf.c: Likewise.
2333 * config/rs6000/extendkftf2-sw.c: Likewise.
2334 * config/rs6000/trunctfkf2-sw.c: Likewise.
2335
2336 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2337 128-bit floating point software emulation or use ISA 3.0 hardware
2338 support if it is available.
2339
2340 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2341 floating point.
2342
2343 * config/rs6000/t-float128: New Makefile fragments to enable
2344 building __float128 emulation support.
2345 * config/rs6000/t-float128-hw: Likewise.
2346
2347 * config/rs6000/float128-sed: New file to convert TF names to KF
2348 names for PowerPC IEEE 128-bit floating point support.
2349
2350 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2351 when building on 64-bit systems, or when VSX is enabled.
2352 (_FP_W_TYPE): Likewise.
2353 (_FP_WS_TYPE): Likewise.
2354 (_FP_I_TYPE): Likewise.
2355 (TItype): Define on 64-bit systems.
2356 (UTItype): Likewise.
2357 (TI_BITS): Likewise.
2358 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2359 (_FP_MUL_MEAT_Q): Likewise.
2360 (_FP_DIV_MEAT_D): Likewise.
2361 (_FP_DIV_MEAT_Q): Likewise.
2362 (_FP_NANFRAC_D): Likewise.
2363 (_FP_NANFRAC_Q): Likewise.
2364 (ISA_BIT): Add exception support if we are being compiled on a
2365 machine with hardware floating point support to build the IEEE
2366 128-bit emulation functions.
2367 (FP_EX_INVALID): Likewise.
2368 (FP_EX_OVERFLOW): Likewise.
2369 (FP_EX_UNDERFLOW): Likewise.
2370 (FP_EX_DIVZERO): Likewise.
2371 (FP_EX_INEXACT): Likewise.
2372 (FP_EX_ALL): Likewise.
2373 (__sfp_handle_exceptions): Likewise.
2374 (FP_HANDLE_EXCEPTIONS): Likewise.
2375 (FP_RND_NEAREST): Likewise.
2376 (FP_RND_ZERO): Likewise.
2377 (FP_RND_PINF): Likewise.
2378 (FP_RND_MINF): Likewise.
2379 (FP_RND_MASK): Likewise.
2380 (_FP_DECL_EX): Likewise.
2381 (FP_INIT_ROUNDMODE): Likewise.
2382 (FP_ROUNDMODE): Likewise.
2383
2384 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
2385 compiler can do __float128.
2386 * configure: Regenerate.
2387
2388 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2389 VSX code, enable IEEE 128-bit floating point.
2390
a2218983
OH
23912016-01-05 Olivier Hainque <hainque@adacore.com>
2392
2393 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
29176d57 2394 specificities.
a2218983 2395
818ab71a
JJ
23962016-01-04 Jakub Jelinek <jakub@redhat.com>
2397
2398 Update copyright years.
2399
5a6c8ffa
AP
24002015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
2401
2402 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
29176d57 2403 soft-fp targets.
5a6c8ffa 2404
077067a5
BE
24052015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
2406
2407 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
2408 instead of abort to avoid dependency on stdlib.h.
2409
787c1027
JDA
24102015-12-09 John David Anglin <danglin@gcc.gnu.org>
2411
2412 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
2413 to initialize call to __dl_fixup once.
2414
04a9ae28
NC
24152015-12-04 Nick Clifton <nickc@redhat.com>
2416
2417 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
2418 Allow for the second argument being negative.
2419 * config.host (extra_parts): Define for MSP430. Create separate
2420 libraries for each of the hardware multiply formats.
2421 * config/msp430/lib2hw_mul.S: Build only the multiply routines
2422 that are needed.
2423 * config/msp430/lib2mul.c: Likewise.
2424 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
2425 Add rules to build hardware multiply libraries.
2426 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
2427 __mspabi_divul function.
2428 (__mspabi_divllu): New stub function.
2429
9a32d437
JDA
24302015-12-01 John David Anglin <danglin@gcc.gnu.org>
2431
2432 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
2433 fixup values if saved GOT address doesn't match runtime address.
2434 (fixup_branch_offset): Reorder list.
2435
e5ef217c
RO
24362015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2437
2438 * Makefile.in (VTV_CFLAGS): New variable.
2439 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
2440 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
2441 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2442 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
2443 to extra_parts if $enable_vtable_verify = yes.
2444
78cc43a2
SN
24452015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
2446
2447 PR target/68059
2448 * config/arm/linux-atomic-64bit.c (__write): Rename to...
2449 (write): ...this and fix the return type.
2450
9afebea2
DD
24512015-11-19 DJ Delorie <dj@redhat.com>
2452
2453 * config/msp430/lib2hw_mul.S: Fix alignment.
2454
33f47f42
NS
24552015-11-18 Nathan Sidwell <nathan@codesourcery.com>
2456
2457 * config/nvptx/reduction.c: New.
2458 * config/nvptx/t-nvptx (LIB2ADD): Add it.
2459
d9adb476
DE
24602015-11-15 David Edelsohn <dje.gcc@gmail.com>
2461
2462 * config/rs6000/on_exit.c: New file.
2463 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
2464 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
2465
c0ab1970
CZ
24662015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
2467
2468 * config/arc/dp-hack.h: Add support for ARCHS.
2469 * config/arc/ieee-754/divdf3.S: Likewise.
2470 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
2471 * config/arc/ieee-754/muldf3.S: Likewise.
2472 * config/arc/ieee-754/mulsf3.S: Likewise
2473 * config/arc/lib1funcs.S: Likewise
2474 * config/arc/gmon/dcache_linesz.S: Don't read the build register
2475 for ARCv2 cores.
2476 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
2477 for ARCv2 cores.
2478 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
2479 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
2480 cores.
2481
e6b6bf09
RO
24822015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2483
2484 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
2485 value.
2486 * config/ia64/crtend.S: Likewise.
2487
a153644f
TS
24882015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2489
2490 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
2491 __CHAR_BIT__ instead of BITS_PER_UNIT.
2492 * fixed-bit.h: Likewise.
2493 * fp-bit.h: Likewise.
2494 * libgcc2.c (__popcountSI2): Likewise.
2495 (__popcountDI2): Likewise.
2496 * libgcc2.h: Likewise.
2497 * libgcov.h: Likewise.
2498
3dee689d
DE
24992015-11-07 David Edelsohn <dje.gcc@gmail.com>
2500
2501 * config/rs6000/atexit.c: New file.
2502 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
2503 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
2504 * config/rs6000/cxa_finalize.c
2505 (catomic_compare_and_exchange_bool_acq): Negate return value.
2506
2ef543e4
VK
25072015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
2508
2509 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
2510 (processor_subtypes): Add znver1.
2511 (get_amd_cpu): Detect znver1.
2512
1300f017
CL
25132015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
2514
2515 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
2516 Include crtfastmath.o.
2517
3e5bb7ee
JR
25182015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
2519
2520 PR libgcc/66883
2521 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1300f017 2522
793aa938
KP
25232015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
2524
2525 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
2526 * config/rl78/divmodsi.S: Update return register to r8.
2527 * config/rl78/divmodhi.S: Update return register to r8,r9.
2528 Branch to main_loop_done_himode to pop registers before return.
2529
7d296953 25302015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
fac812f0
VK
2531
2532 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
2533 (__cpu_indicator_init): Fix model selection for AMD CPUs.
2534
6a192b5a
KY
25352015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
2536
2537 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
2538
4a0a9457
MF
25392015-10-03 Max Filippov <jcmvbkbc@gmail.com>
2540
2541 * config.host (xtensa*-*-uclinux*): New configuration.
2542
ab91c076
KY
25432015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
2544
385c7747 2545 * config/i386/cpuinfo.c (processor_features): Add
ab91c076
KY
2546 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
2547
30954527
JM
25482015-09-28 Joseph Myers <joseph@codesourcery.com>
2549
2550 * soft-fp/adddf3.c: Update from glibc.
2551 * soft-fp/addsf3.c: Likewise.
2552 * soft-fp/addtf3.c: Likewise.
2553 * soft-fp/divdf3.c: Likewise.
2554 * soft-fp/divsf3.c: Likewise.
2555 * soft-fp/divtf3.c: Likewise.
2556 * soft-fp/double.h: Likewise.
2557 * soft-fp/eqdf2.c: Likewise.
2558 * soft-fp/eqsf2.c: Likewise.
2559 * soft-fp/eqtf2.c: Likewise.
2560 * soft-fp/extenddftf2.c: Likewise.
2561 * soft-fp/extended.h: Likewise.
2562 * soft-fp/extendsfdf2.c: Likewise.
2563 * soft-fp/extendsftf2.c: Likewise.
2564 * soft-fp/extendxftf2.c: Likewise.
2565 * soft-fp/fixdfdi.c: Likewise.
2566 * soft-fp/fixdfsi.c: Likewise.
2567 * soft-fp/fixdfti.c: Likewise.
2568 * soft-fp/fixsfdi.c: Likewise.
2569 * soft-fp/fixsfsi.c: Likewise.
2570 * soft-fp/fixsfti.c: Likewise.
2571 * soft-fp/fixtfdi.c: Likewise.
2572 * soft-fp/fixtfsi.c: Likewise.
2573 * soft-fp/fixtfti.c: Likewise.
2574 * soft-fp/fixunsdfdi.c: Likewise.
2575 * soft-fp/fixunsdfsi.c: Likewise.
2576 * soft-fp/fixunsdfti.c: Likewise.
2577 * soft-fp/fixunssfdi.c: Likewise.
2578 * soft-fp/fixunssfsi.c: Likewise.
2579 * soft-fp/fixunssfti.c: Likewise.
2580 * soft-fp/fixunstfdi.c: Likewise.
2581 * soft-fp/fixunstfsi.c: Likewise.
2582 * soft-fp/fixunstfti.c: Likewise.
2583 * soft-fp/floatdidf.c: Likewise.
2584 * soft-fp/floatdisf.c: Likewise.
2585 * soft-fp/floatditf.c: Likewise.
2586 * soft-fp/floatsidf.c: Likewise.
2587 * soft-fp/floatsisf.c: Likewise.
2588 * soft-fp/floatsitf.c: Likewise.
2589 * soft-fp/floattidf.c: Likewise.
2590 * soft-fp/floattisf.c: Likewise.
2591 * soft-fp/floattitf.c: Likewise.
2592 * soft-fp/floatundidf.c: Likewise.
2593 * soft-fp/floatundisf.c: Likewise.
2594 * soft-fp/floatunditf.c: Likewise.
2595 * soft-fp/floatunsidf.c: Likewise.
2596 * soft-fp/floatunsisf.c: Likewise.
2597 * soft-fp/floatunsitf.c: Likewise.
2598 * soft-fp/floatuntidf.c: Likewise.
2599 * soft-fp/floatuntisf.c: Likewise.
2600 * soft-fp/floatuntitf.c: Likewise.
2601 * soft-fp/gedf2.c: Likewise.
2602 * soft-fp/gesf2.c: Likewise.
2603 * soft-fp/getf2.c: Likewise.
2604 * soft-fp/ledf2.c: Likewise.
2605 * soft-fp/lesf2.c: Likewise.
2606 * soft-fp/letf2.c: Likewise.
2607 * soft-fp/muldf3.c: Likewise.
2608 * soft-fp/mulsf3.c: Likewise.
2609 * soft-fp/multf3.c: Likewise.
2610 * soft-fp/negdf2.c: Likewise.
2611 * soft-fp/negsf2.c: Likewise.
2612 * soft-fp/negtf2.c: Likewise.
2613 * soft-fp/op-1.h: Likewise.
2614 * soft-fp/op-2.h: Likewise.
2615 * soft-fp/op-4.h: Likewise.
2616 * soft-fp/op-8.h: Likewise.
2617 * soft-fp/op-common.h: Likewise.
2618 * soft-fp/quad.h: Likewise.
2619 * soft-fp/single.h: Likewise.
2620 * soft-fp/soft-fp.h: Likewise.
2621 * soft-fp/subdf3.c: Likewise.
2622 * soft-fp/subsf3.c: Likewise.
2623 * soft-fp/subtf3.c: Likewise.
2624 * soft-fp/truncdfsf2.c: Likewise.
2625 * soft-fp/trunctfdf2.c: Likewise.
2626 * soft-fp/trunctfsf2.c: Likewise.
2627 * soft-fp/trunctfxf2.c: Likewise.
2628 * soft-fp/unorddf2.c: Likewise.
2629 * soft-fp/unordsf2.c: Likewise.
2630 * soft-fp/unordtf2.c: Likewise.
2631
4dfe21ac
RE
26322015-09-24 Richard Earnshaw <rearnsha@arm.com>
2633
2634 PR libgcc/67624
2635 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
2636
df2a1cc4
RO
26372015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2638
2639 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2640 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
2641 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
2642 messages.
2643 (internal_mcount): Likewise.
2644 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
2645 crt_compile, add CRTSTUFF_T_CFLAGS_S.
2646
2d110442
RO
26472015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2648
2649 * configure.ac (libgcc_cv_solaris_crts): New test.
2650 * configure: Regenerate.
2651 * config.in: Regenerate.
2652 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
2653 * config/gmon-sol2.c: Rename to ...
2654 * config/sol2/gmon.c: ... this.
2655 Include auto-target.h.
2656 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
2657 * config/t-sol2: Rename to ...
2658 * config/sol2/t-sol2: ... this.
2659 (gmon.o): Reflect renaming.
2660 (crtp.o, crtpg.o): New rules.
2661 * config.host (*-*-solaris2*): Reflect renaming.
2662 Use system CRTs if present.
2663 Remove default CRT case.
2664
d572e439
JDA
26652015-09-23 John David Anglin <danglin@gcc.gnu.org>
2666
2667 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
2668 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
2669 __kernel_cmpxchg2.
2670 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
2671 (__sync_val_compare_and_swap_##WIDTH): Likewise.
2672 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
2673 (__sync_lock_test_and_set_##WIDTH): Likewise.
2674 (__sync_lock_release_##WIDTH): Likewise.
2675 (__sync_fetch_and_##OP##_4): Change result to match type of
2676 __kernel_cmpxchg.
2677 (__sync_##OP##_and_fetch_4): Likewise.
2678 (__sync_val_compare_and_swap_4): Likewise.
2679 (__sync_bool_compare_and_swap_4): likewise.
2680 (__sync_lock_test_and_set_4): Likewise.
2681 (__sync_lock_release_4): Likewise.
2682 (FETCH_AND_OP_2): Add long long variants.
2683 (OP_AND_FETCH_2): Likewise.
2684 (COMPARE_AND_SWAP_2 ): Likewise.
2685 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2686 (SYNC_LOCK_RELEASE_2): Likewise.
2687 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
2688
7d296953 26892015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
06caf59d
KY
2690
2691 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
2692 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
2693 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
2694 (get_available_features): Habdle new features.
2695
131314e1
JB
26962015-09-21 James Bowman <james.bowman@ftdichip.com>
2697
2698 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
2699 memory layout. Deal correctly with BSS region larger than 32K.
2700 Handle a watchdog reset like a power-on reset. Clean up unused
2701 code.
2702
04218b35
AD
27032015-09-18 Andrew Dixie <andrewd@gentrack.com>
2704 David Edelsohn <dje.gcc@gmail.com>
2705
2706 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
2707 * config/rs6000/crtdbase.S: New file.
2708 * config/rs6000/t-aix-cxa: Build crtdbase.o.
2709
c8338173
MF
27102015-09-15 Max Filippov <jcmvbkbc@gmail.com>
2711
2712 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
2713 Add support for call0 ABI.
2714
7a84bf71
JDA
27152015-09-13 John David Anglin <danglin@gcc.gnu.org>
2716
2717 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
2718
4efab402
SH
27192015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
2720
2721 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
2722 (__GTHREAD_HAS_COND): Likewise.
2723 (__gthread_t): Likewise.
2724 (__gthread_cond_t): Likewise.
2725 (__gthread_time_t): Likewise.
2726 (__GTHREAD_MUTEX_INIT): Likewise.
2727 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
2728 (__GTHREAD_COND_INIT): Likewise.
2729 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
2730 (__GTHREAD_TIME_INIT): Likewise.
2731 (__gthread_create): Likewise.
2732 (__gthread_join): Likewise.
2733 (__gthread_detach): Likewise.
2734 (__gthread_equal): Likewise.
2735 (__gthread_self): Likewise.
2736 (__gthread_yield): Likewise.
2737 (__gthread_cond_broadcast): Likewise.
2738 (__gthread_cond_signal): Likewise.
2739 (__gthread_cond_wait): Likewise.
2740 (__gthread_cond_timedwait): Likewise.
2741 (__gthread_cond_wait_recursive): Likewise.
2742 (__gthread_cond_destroy): Likewise.
2743 (rtems_gxx_once): Delete.
2744 (rtems_gxx_key_create): Likewise.
2745 (rtems_gxx_key_delete): Likewise.
2746 (rtems_gxx_getspecific): Likewise.
2747 (rtems_gxx_setspecific): Likewise.
2748 (rtems_gxx_mutex_init): Likewise.
2749 (rtems_gxx_mutex_destroy): Likewise.
2750 (rtems_gxx_mutex_lock): Likewise.
2751 (rtems_gxx_mutex_trylock): Likewise.
2752 (rtems_gxx_mutex_unlock): Likewise.
2753 (rtems_gxx_recursive_mutex_init): Likewise.
2754 (rtems_gxx_recursive_mutex_lock): Likewise.
2755 (rtems_gxx_recursive_mutex_trylock): Likewise.
2756 (rtems_gxx_recursive_mutex_unlock): Likewise.
2757 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
2758 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
2759 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
2760 (__gthread_once): Likewise.
2761 (__gthread_key_create): Likewise.
2762 (__gthread_key_delete): Likewise.
2763 (__gthread_getspecific): Likewise.
2764 (__gthread_setspecific): Likewise.
2765 (__gthread_key_t): Use <pthread.h> type.
2766 (__gthread_once_t): Likewise
2767 (__gthread_mutex_t): Use <sys/lock.h> type.
2768 (__gthread_recursive_mutex_t): Likewise
2769 (__gthread_mutex_lock): Use <sys/lock.h> function.
2770 (__gthread_mutex_trylock): Likewise.
2771 (__gthread_mutex_timedlock): Likewise.
2772 (__gthread_mutex_unlock): Likewise.
2773 (__gthread_mutex_destroy): Likewise.
2774 (__gthread_recursive_mutex_lock): Likewise.
2775 (__gthread_recursive_mutex_trylock): Likewise.
2776 (__gthread_recursive_mutex_timedlock): Likewise.
2777 (__gthread_recursive_mutex_unlock): Likewise.
2778 (__gthread_recursive_mutex_destroy): Likewise.
2779
991995c4
MF
27802015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2781
2782 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
2783 context->sp instead of context->cfa.
2784
0e19db59
MF
27852015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2786
2787 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
2788 with unwind-dw2-fde-dip.
2789
b6ac5f62
MF
27902015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2791
2792 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
2793 CALL12 followed by series of ENTRY to spill windowed registers.
2794 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
2795 instead of making linux spill syscall.
2796
3e0f3349
YR
27972015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
2798
2799 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
2800 (get_intel_cpu): Likewise.
2801
51c728b1
L
28022015-08-12 H.J. Lu <hongjiu.lu@intel.com>
2803
2804 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
2805 (get_intel_cpu): Add Knights Landing support.
2806
aff4eeac
UB
28072015-08-11 Uros Bizjak <ubizjak@gmail.com>
2808
2809 PR target/66954
2810 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
2811 (get_available_features): Handle FEATURE_PCLMUL.
2812
736e56da
L
28132015-08-10 H.J. Lu <hongjiu.lu@intel.com>
2814
2815 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
2816 Broadwell.
2817
54d22142
UB
28182015-07-22 Uros Bizjak <ubizjak@gmail.com>
2819
2820 PR target/66954
2821 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
2822 (get_available_features): Handle FEATURE_AES.
2823
20ca17e4
CLT
28242015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
2825
2826 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
2827 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
2828
ebe4a560
NS
28292015-07-17 Nathan Sidwell <nathan@codesourcery.com>
2830
2831 * offloadstuff.c: Constify host data.
2832
180744c0
JB
28332015-07-17 Jan Beulich <jbeulich@suse.com>
2834
2835 * config/t-softfp: Split up "else ifneq".
2836
a03c6ae3
SL
28372015-07-14 Sandra Loosemore <sandra@codesourcery.com>
2838 Cesar Philippidis <cesar@codesourcery.com>
2839 Chung-Lin Tang <cltang@codesourcery.com>
2840
2841 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
2842 for __nios2_arch__ level.
2843
73358db5
JM
28442015-07-13 John Marino <gnugcc@marino.st>
2845
2846 * config/i386/t-dragonfly: New.
2847
f9a12f7b
JDA
28482015-07-01 John David Anglin <danglin@gcc.gnu.org>
2849
2850 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
2851 better match light-weight syscall argument order.
2852 (__kernel_cmpxchg2): Likewise.
2853 Adjust callers.
2854
cb78b51c
L
28552015-06-30 H.J. Lu <hongjiu.lu@intel.com>
2856
2857 * config.host: Support i[34567]86-*-elfiamcu target.
2858 * config/t-softfp-sfdftf: New file.
2859 * config/i386/32/t-iamcu: Likewise.
2860 * configure: Regenerated.
2861
4fa0f9ea
JL
28622015-06-23 James Lemke <jwlemke@codesourcery.com>
2863
2864 libgcc/config/arm/
2865 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
2866
428b3812
L
28672015-05-27 H.J. Lu <hongjiu.lu@intel.com>
2868
2869 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
2870
7d296953 28712015-05-27 John Marino <gnugcc@marino.st>
89c54dd3
JM
2872
2873 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
2874 md_unwind_header
2875 * config/i386/freebsd-unwind.h: New.
2876
9b789cc1
UB
28772015-05-22 Uros Bizjak <ubizjak@gmail.com>
2878
2879 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
2880 i386/t-crtfm to tmake_file.
2881 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
2882 (set_fast_math): Use set_fast_math_sse for SSE targets.
2883 * config/i386/t-crtfm: Remove.
2884
3dafb220
AM
28852015-05-21 Alan Modra <amodra@gmail.com>
2886
2887 PR libgcc/66225
2888 * config/rs6000/morestack.S: Remove ".abiversion 1".
2889
0f0fd745
AM
28902015-05-20 Alan Modra <amodra@gmail.com>
2891
2892 * config/rs6000/morestack.S: New.
2893 * config/rs6000/t-stack-rs6000: New.
2894 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
2895 to tmake_file.
2896 * generic-morestack.c: Don't build for powerpc 32-bit.
2897
515ae71b
EB
28982015-05-19 Eric Botcazou <ebotcazou@adacore.com>
2899
2900 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
2901 Remove useless endif/ifneq ($(enable_shared),yes) pair.
2902
36805406
JL
29032015-05-16 James Bowman <james.bowman@ftdichip.com>
2904
2905 * config.host: FT32 target added.
2906 * config/ft32/*: New files for FT32 target.
2907
ff935d0c
MG
29082015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
2909
385c7747
UB
2910 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
2911 New macros.
2912 * config/arm/ieee754-df.S: Add CFI directives.
2913 * config/arm/ieee754-sf.S: Add CFI directives.
ff935d0c 2914
9b92a9f3
EB
29152015-05-13 Eric Botcazou <ebotcazou@adacore.com>
2916
2917 * configure.ac: Include config/sjlj.m4.
2918 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
2919 * config.in: Regenerate.
2920 * configure: Likewise.
2921 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
2922
98b5dc61
UB
29232015-05-12 Uros Bizjak <ubizjak@gmail.com>
2924
2925 * libgcov-util.c: Add space between string literal and macro name.
2926
5a0ff57c
SL
29272015-05-06 Sandra Loosemore <sandra@codesourcery.com>
2928 Chris Jones <chrisj@nvidia.com>
2929 Joshua Conner <jconner@nvidia.com>
2930
2931 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
2932 (arm*-*-uclinux*): Likewise.
2933 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
2934 * config/arm/crtfastmath.c: New file.
2935
d28ad5d4
BS
29362014-04-29 Bernd Schmidt <bernds@codesourcery.com>
2937
2938 * Makefile.in (real_host_noncanonical): New variable.
2939 (libsubdir): Use it.
2940 * configure.ac (real_host_noncanonical): Compute. Remove special
2941 case for intelmicemul.
2942 * configure: Regenerate.
2943
cc86234f
UB
29442015-04-28 Uros Bizjak <ubizjak@gmail.com>
2945
2946 * config/frv/elf-lib.h: New file.
2947 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
2948 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
2949 to tm_file.
2950
29512015-04-28 Uros Bizjak <ubizjak@gmail.com>
2952
2953 * config/frv/frvbengin.c: Do not include defaults.h
2954 * config/frv/frvend.c: Ditto.
2955
2f6bd6eb
YS
29562015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
2957
2958 * config.host: Add h8300-*-linux
2959 * config/h8300/t-linux: New file.
2960 * config/h8300/lib1funs.s: Change symbol prefix.
2961 * config/h8300/sfp-machine.h: 64bit double support.
2962
15aa7b44
GR
29632015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
2964 Szabolcs Nagy <szabolcs.nagy@arm.com>
2965
2966 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
2967 Linux if target provides dl_iterate_phdr.
2968
abd0cdc9
L
29692015-04-17 H.J. Lu <hongjiu.lu@intel.com>
2970
2971 PR target/65612
2972 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
2973 * config/i386/cpuinfo.c (__cpu_model): Initialize.
2974 (__cpu_indicator_init@GCC_4.8.0): New.
2975 (__cpu_model@GCC_4.8.0): Likewise.
2976 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
2977 -DUSE_ELF_SYMVER.
2978
72ed1126
NC
29792015-04-16 Nick Clifton <nickc@redhat.com>
2980
2981 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
2982 and __modhi3 functions.
2983 * config/rl78/divmodso.S: Add G14 and G13 versions of the
2984 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
2985
d26b2237
CG
29862015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
2987
2988 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
2989 do-while loop as macro body to avoid warnings.
2990
cacf1f59
JJ
29912015-04-10 Jakub Jelinek <jakub@redhat.com>
2992 Iain Sandoe <iain@codesourcery.com>
2993
2994 PR target/65351
2995 * configure: Regenerate.
2996
e8a4ed3b
JJ
29972015-04-07 Jakub Jelinek <jakub@redhat.com>
2998 Iain Sandoe <iain@codesourcery.com>
2999
3000 PR target/65351
3001 * configure: Regenerate.
3002
0341335e
CLT
30032015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
3004
3005 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
3006
590e2636 30072015-03-03 Max Filippov <jcmvbkbc@gmail.com>
0341335e 3008
590e2636
MF
3009 Implement call0 ABI for xtensa
3010 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
3011 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
3012 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
3013 use ret in call0 ABI.
3014 * config/xtensa/t-windowed: New file.
3015 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
3016 * libgcc/configure: Regenerated.
3017 * libgcc/configure.ac: Check if xtensa target is configured for
3018 windowed ABI and thus needs to use custom unwind code.
3019
7727f8f2
JW
30202015-02-12 Jonathan Wakely <jwakely@redhat.com>
3021
3022 PR libgcc/64885
3023 * gthr-single.h: Use __unused__ attribute instead of unused.
3024 * config/gthr-vxworks.h: Likewise.
3025 * config/i386/gthr-win32.h: Likewise.
3026
0e4a0def
KT
30272015-02-27 Kai Tietz <ktietz@redhat.com>
3028
3029 PR target/65038
3030 * config.in: Regenerated.
3031 * configure: Likewise.
3032 * configure.ac (AC_HEADER_STDC): Added explicit.
3033 (AC_CHECK_HEADERS): Check for default headers plus
3034 for ftw.h header.
3035 * libgcov-util.c (gcov_read_profile_dir): Disable use
3036 of ftw-function, if header is not found.
3037 (ftw_read_file): Likewise.
3038
b6530d0a
TS
30392015-02-23 Thomas Schwinge <thomas@codesourcery.com>
3040
3041 PR target/65181
3042 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
3043 -Dinhibit_libc.
3044
53cfb467
SL
30452015-02-17 Sandra Loosemore <sandra@codesourcery.com>
3046
3047 * config/arm/bpabi.S (test_div_by_zero): Make label names
3048 consistent between thumb2 and arm mode cases. Separate the
3049 signed comparison on the high word of the numerator from the
3050 unsigned comparison on the low word.
3051 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
3052 signed comparison.
3053
77d10a1b
JM
30542015-02-17 Joseph Myers <joseph@codesourcery.com>
3055
3056 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
3057 and <string.h>.
3058 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
3059
98174188
RE
30602015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
3061
3062 PR gcov-profile/61889
471274de 3063 * libgcov-driver-system.c: undefine clashing macro for mkdir.
98174188 3064
771bef14
NC
30652015-02-02 Nick Clifton <nickc@redhat.com>
3066
3067 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
3068 rounding up the fraction.
3069
40702893
JDA
30702015-01-31 John David Anglin <danglin@gcc.gnu.org>
3071
3072 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
3073 oldval and newval to const void *. Fix typo.
3074 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
3075 (FETCH_AND_OP_WORD): Likewise.
3076 (OP_AND_FETCH_WORD): Likewise.
3077 (COMPARE_AND_SWAP_2): Likewise.
3078 (__sync_val_compare_and_swap_4): Likewise.
3079 (__sync_lock_test_and_set_4): Likewise.
3080 (SYNC_LOCK_RELEASE_2): Likewise.
3081 Remove support for long long atomic operations.
3082
f7f049fa
CT
30832015-01-27 Caroline Tice <cmtice@google.com>
3084
3085 Committing VTV Cywin/Ming patch for Patrick Wollgast
3086 * Makefile.in: Move rules to build vtv_*.o out of the check
3087 for CUSTOM_CRTSTUFF.
3088 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
3089 i[34567]86-*-mingw*)
3090 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
3091 enable_vtable_verify.
3092
8410904a
NC
30932015-01-27 Nick Clifton <nickc@redhat.com>
3094
3095 * config/rl78/cmpsi2.S: Use function start and end macros.
3096 (__gcc_bcmp): New function.
3097 * config/rl78/lshrsi3.S: Use function start and end macros.
3098 * config/rl78/mulsi3.S: Add support for G10.
3099 (__mulqi3): New function for G10.
3100 * config/rl78/signbit.S: Use function start and end macros.
3101 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
3102 fpmath-sf.S.
3103 (LIB2FUNCS_EXCLUDE): Define.
3104 (LIB2FUNCS_ST): Define.
3105 * config/rl78/trampoline.S: Use function start and end macros.
3106 * config/rl78/vregs.h (START_FUNC): New macro.
3107 (START_ANOTHER_FUNC): New macro.
3108 (END_FUNC): New macro.
3109 (END_ANOTHER_FUNC): New macro.
3110 * config/rl78/bit-count.S: New file. Contains assembler
3111 implementations of the bit counting functions: ___clzhi2,
3112 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
3113 __paritysi2, __popcounthi2 and __popcountsi2.
3114 * config/rl78/fpbit-sf.S: New file. Contains assembler
3115 implementationas of the math functions: __negsf2, __cmpsf2,
3116 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
3117 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
3118 * config/rl78/fpmath-sf.S: New file. Contains assembler
3119 implementations of the math functions: __subsf3, __addsf3,
3120 __mulsf3 and __divsf3
3121
f962fbf1
RO
31222015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3123
3124 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
3125 Add i386/elf-lib.h to tm_file.
3126 * config/i386/elf-lib.h: Fix comment.
3127 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
3128 && __sun__ && __svr4__]: Remove workaround.
3129
939911c5
ASJ
31302015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
3131
3132 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
3133 FEATURE_BMI2.
3134 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
3135
c8f2dff2
L
31362015-01-24 H.J. Lu <hongjiu.lu@intel.com>
3137
3138 * config/i386/cpuinfo.c (processor_subtypes): Add
3139 INTEL_COREI7_BROADWELL.
3140 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
3141 model numbers.
3142
7bbf9734
UB
31432015-01-23 Uros Bizjak <ubizjak@gmail.com>
3144
3145 * config/i386/elf-lib.h: New file.
3146 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
3147 Wrap definition in #ifdef __i386__.
3148 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
3149 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
3150 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
3151 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
3152 to tm_file.
3153
324820f1
CG
31542015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
3155
3156 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
3157 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
3158
a9ce4e4a
CLT
31592015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
3160
3161 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
3162 Update rt_sigframe format and address for current Nios II
3163 Linux conventions.
3164
82a19768
AT
31652015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
3166
3167 * config.host (arm*-*-freebsd*): Add new configuration for
3168 arm*-*-freebsd*.
3169 * config/arm/freebsd-atomic.c: New file.
3170 * config/arm/t-freebsd: Likewise.
3171 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
3172 'PC-relative indirect' OS's.
3173
0969ec7d
EB
31742015-01-06 Eric Botcazou <ebotcazou@adacore.com>
3175
3176 * config.host: Add Visium support.
3177 * config/visium: New directory.
3178
5624e564
JJ
31792015-01-05 Jakub Jelinek <jakub@redhat.com>
3180
3181 Update copyright years.
3182
82f84ecb
MF
31832014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
3184
3185 * config.host: Support mipsisa32r6 and mipsisa64r6.
3186 * config/mips/mips16.S: Do not build for R6.
3187
69044fa9
OE
31882014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
3189
3190 * config/sh/crt.h: New.
3191 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
3192 symbols.
3193 * config/sh/crt1.S: Likewise.
3194
2405e0ea
UB
31952014-12-15 Uros Bizjak <ubizjak@gmail.com>
3196
3197 PR libgcc/63832
3198 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
3199 func_ptr *dtor_list temporary variable to avoid "array subscript
3200 is above array bounds" warnings.
3201
7d296953 32022014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
dd913323
MH
3203
3204 * Makefile.in (with_aix_soname): Define.
3205 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
3206 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
3207 * configure: Recreate.
3208
a66272f6
OH
32092014-12-05 Olivier Hainque <hainque@adacore.com>
3210
3211 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
3212 now provided by defaults.h.
3213
6342b2c5
OE
32142014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
3215
7d0ee249 3216 PR target/55351
6342b2c5
OE
3217 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
3218 whether it's defined.
3219
c17eac85
IT
32202014-11-27 Ilya Tocar <ilya.tocar@intel.com>
3221
3222 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
3223 * config/i386/cpuinfo.c (get_available_features): Detect it.
3224
1025cb6c
TW
32252014-11-27 Tony Wang <tony.wang@arm.com>
3226
3227 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
3228 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
3229 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
3230
d19f2e38
SB
32312014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
3232
3233 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
3234
17f6e9a3
JDA
32352014-11-24 John David Anglin <danglin@gcc.gnu.org>
3236
3237 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
3238 instead.
3239
0cd7c672
GM
32402014-11-21 Guy Martin <gmsoft@tuxicoman.be>
3241 John David Anglin <danglin@gcc.gnu.org>
3242
3243 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
3244 (FETCH_AND_OP_2): New. Use for subword and double word operations.
3245 (OP_AND_FETCH_2): Likewise.
3246 (COMPARE_AND_SWAP_2): Likewise.
3247 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3248 (SYNC_LOCK_RELEASE_2): Likewise.
3249 (SUBWORD_SYNC_OP): Remove.
3250 (SUBWORD_VAL_CAS): Likewise.
3251 (SUBWORD_BOOL_CAS): Likewise.
3252 (FETCH_AND_OP_WORD): Update.
3253 Consistently use signed types.
cc86234f 3254
85c64bbe
BS
32552014-11-13 Bernd Schmidt <bernds@codesourcery.com>
3256 Thomas Schwinge <thomas@codesourcery.com>
3257 Ilya Verbin <ilya.verbin@intel.com>
3258 Andrey Turetskiy <andrey.turetskiy@intel.com>
3259
3260 * Makefile.in (crtoffloadbegin$(objext)): New rule.
3261 (crtoffloadend$(objext)): Likewise.
3262 * configure: Regenerate.
3263 * configure.ac (accel_dir_suffix): Compute new variable.
3264 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
3265 if enable_offload_targets is not empty.
3266 * offloadstuff.c: New file.
3267
52a1ff8b
NC
32682014-11-13 Nick Clifton <nickc@redhat.com>
3269
3270 * config/rl78/divmodhi.S: Add support for the G10 architecture.
3271 Use START_FUNC and END_FUNC macros to enable linker garbage
3272 collection.
3273 * config/rl78/divmodqi.S: Likewise.
3274 * config/rl78/divmodsi.S: Likewise.
3275 * config/rl78/mulsi3.S: Likewise.
3276 * config/rl78/lib2div.c: Remove G10 functions.
3277 * config/rl78/lib2muls.c: Likewise.
3278 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
3279 * config/rl78/vregs.h (START_FUNC): New macro.
3280 (END_FUNC): New macro.
3281
050af144
MF
32822014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
3283
3284 * config/mips/mips16.S: Set .module when supported. Update O32
3285 FP64 calling convention and use for FPXX when possible. Add FPXX
3286 calling convention fallback case.
3287
738f2522
BS
32882014-11-06 Bernd Schmidt <bernds@codesourcery.com>
3289
3290 * config.host: Handle nvptx-*-*.
3291 * shared-object.mk (as-flags-$o): Define.
3292 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
3293 -xassembler-with-cpp.
3294 * static-object.mk: Identical changes.
3295 * config/nvptx/t-nvptx: New file.
3296 * config/nvptx/crt0.s: New file.
3297 * config/nvptx/free.asm: New file.
3298 * config/nvptx/malloc.asm: New file.
3299 * config/nvptx/realloc.c: New file.
3300
e610393c
JM
33012014-10-30 Joseph Myers <joseph@codesourcery.com>
3302
3303 * Makefile.in (libgcc.map.in): New target.
3304 (libgcc.map): Use libgcc.map.in.
3305 * config/t-softfp (softfp_compat): New variable to be set by
3306 users.
3307 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
3308 variables.
3309 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
3310 directory.
3311 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
3312 that use compat symbols and disable all code unless [SHARED].
3313 * config/t-softfp-compat: New file.
3314 * find-symver.awk: New file.
3315 * configure.ac (--with-glibc-version): New configure option.
3316 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
3317 * configure: Regenerate.
3318 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
3319 soft-float and e500.
3320
bc1b3a88
JM
33212014-10-29 Joseph Myers <joseph@codesourcery.com>
3322
3323 * config/t-hardfp (hardfp_exclusions): Document new variable for
3324 user to define.
3325 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
3326 * config/t-softfp (softfp_extras): Document new variable for user
3327 to define.
3328 (softfp_func_list): Add functions from $(softfp_extras).
3329 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
3330 * config.host (powerpc*-*-linux*): For e500v1, use
3331 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
3332 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
3333 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
3334
ef2810c1
JDA
33352014-10-26 John David Anglin <danglin@gcc.gnu.org>
3336
3337 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
3338 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
3339 memory read accesses are ok.
3340
d80c2bea
JM
33412014-10-25 Joseph Myers <joseph@codesourcery.com>
3342
3343 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
3344 * configure: Regenerate.
3345 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
3346 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
3347 of soft-fp for 32-bit classic hard float. Do not use
3348 t-softfp-excl for soft float.
3349
693b297b
JM
33502014-10-22 Joseph Myers <joseph@codesourcery.com>
3351
3352 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
3353 configurations.
3354 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
3355 Remove variables.
3356
18a3415e
GJL
33572014-10-22 Georg-Johann Lay <avr@gjlay.de>
3358
3359 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
3360 introduced with 2014-10-21 trunk r216525.
3361
c1dd9790 33622014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
7d296953
JJ
3363 Vidya Praveen <vidya.praveen@atmel.com>
3364 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
3365 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
3366 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
c1dd9790
JR
3367
3368 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
3369 order.
3370
3371 Updated library functions for AVRTINY arch.
3372 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
3373 Replaced occurrences of r0/r1 with tmp/zero reg macros.
3374 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
3375 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
3376 wsubi/wadi macors.
3377 (__mulsi3_helper): Update stack, preserve callee saved regs and
3378 argument from stack. Restore callee save registers.
3379 (__mulpsi3): Likewise.
3380 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
3381 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
18a3415e 3382 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
c1dd9790
JR
3383 AVRTINY.
3384 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
3385 (__do_copy_data): Added new definition for AVRTINY.
3386 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
3387 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
3388 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
3389 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
3390 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
3391 macors.
18a3415e 3392 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
c1dd9790
JR
3393 AVRTINY.
3394
18a3415e 3395 Fix broken long multiplication on tiny arch.
c1dd9790 3396
5f606431
JM
33972014-10-09 Joseph Myers <joseph@codesourcery.com>
3398
3399 * soft-fp/double.h: Update from glibc.
3400 * soft-fp/eqdf2.c: Likewise.
3401 * soft-fp/eqsf2.c: Likewise.
3402 * soft-fp/eqtf2.c: Likewise.
3403 * soft-fp/extenddftf2.c: Likewise.
3404 * soft-fp/extended.h: Likewise.
3405 * soft-fp/extendsfdf2.c: Likewise.
3406 * soft-fp/extendsftf2.c: Likewise.
3407 * soft-fp/extendxftf2.c: Likewise.
3408 * soft-fp/gedf2.c: Likewise.
3409 * soft-fp/gesf2.c: Likewise.
3410 * soft-fp/getf2.c: Likewise.
3411 * soft-fp/ledf2.c: Likewise.
3412 * soft-fp/lesf2.c: Likewise.
3413 * soft-fp/letf2.c: Likewise.
3414 * soft-fp/op-1.h: Likewise.
3415 * soft-fp/op-2.h: Likewise.
3416 * soft-fp/op-4.h: Likewise.
3417 * soft-fp/op-8.h: Likewise.
3418 * soft-fp/op-common.h: Likewise.
3419 * soft-fp/quad.h: Likewise.
3420 * soft-fp/single.h: Likewise.
3421 * soft-fp/soft-fp.h: Likewise.
3422 * soft-fp/unorddf2.c: Likewise.
3423 * soft-fp/unordsf2.c: Likewise.
3424 * soft-fp/unordtf2.c: Likewise.
3425 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
3426 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
3427 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
3428 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
3429 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
3430 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
3431 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
3432 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
3433 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
3434 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
3435
9b84e7a8
RX
34362014-10-08 Rong Xu <xur@google.com>
3437
3438 * libgcov-util.c (read_gcda_file): Fix format.
3439 (find_match_gcov_info): Ditto.
3440 (calculate_2_entries): New.
3441 (compute_one_gcov): Ditto.
3442 (gcov_info_count_all_cold): Ditto.
3443 (gcov_info_count_all_zero): Ditto.
3444 (extract_file_basename): Ditto.
3445 (get_file_basename): Ditto.
3446 (set_flag): Ditto.
3447 (matched_gcov_info): Ditto.
3448 (calculate_overlap): Ditto.
3449 (gcov_profile_overlap): Ditto.
3450 * libgcov-driver.c (compute_summary): Make
3451 it avavilable for external calls.
3452
fe1090c1
RX
34532014-10-06 Rong Xu <xur@google.com>
3454
3455 * Makefile.in: Ditto.
3456 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
3457 (gcov_sort_icall_topn_counter): Ditto.
3458 (gcov_sort_topn_counter_arrays): Ditto.
3459 (dump_one_gcov): Sort indirect_call topn counters.
3460 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
3461 function.
3462 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
3463 utility function.
3464 (__gcov_indirect_call_topn_profiler): New profiler function.
3465 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
3466 * libgcov.h: New decls.
3467
3daa7bbf
TS
34682014-10-04 Trevor Saunders <tsaunders@mozilla.com>
3469
3470 * config.host: Remove support for score-*.
3471
9a79452d
JM
34722014-09-22 Joseph Myers <joseph@codesourcery.com>
3473
3474 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3475 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
3476 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
3477 __LIBGCC_XF_MANT_DIG__.
3478 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
3479 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
3480 __LIBGCC_TF_MANT_DIG__.
3481 * libgcc2.c (NOTRUNC): Define in terms of
3482 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
3483 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3484
1a849e50
JM
34852014-09-22 Joseph Myers <joseph@codesourcery.com>
3486
3487 PR target/63312
3488 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
3489 New macros.
3490
598a1586
HPN
34912014-09-22 Hans-Peter Nilsson <hp@axis.com>
3492
3493 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
3494 override USE_PT_GNU_EH_FRAME.
3495 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
3496 check USE_EH_FRAME_REGISTRY_ALWAYS against
3497 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
3498 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
3499 variable for substituted force_explicit_eh_registry.
3500 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
3501 * configure.ac (explicit-exception-frame-registration):
3502 New AC_ARG_ENABLE.
3503 * configure: Regenerate.
3504
3a8fe7c6
OH
35052014-09-19 Olivier Hainque <hainque@adacore.com>
3506
3507 * config.host (powerpc-wrs-vxworksmils): New configuration,
3508 same as vxworksae.
3509
dd69f047
JM
35102014-09-18 Joseph Myers <joseph@codesourcery.com>
3511
3512 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
3513
e770bfd9
JM
35142014-09-18 Joseph Myers <joseph@codesourcery.com>
3515
3516 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
3517 bits not set bits as indicating trapping exceptions.
3518
cadb2b96
NS
35192014-09-17 Nathan sidwell <nathan@acm.org>
3520
3521 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
3522 (LIBGCOV_DRIVER): ... here.
3523 * libgcov-driver.c (gcov_master): New.
3524 (gcov_exit): Remove from master chain.
3525 (__gcov_init): Add to master chain if version compatible. Don't
3526 clear the version.
3527 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
3528 (gcov_reset_int): Clear master chain, if compatible.
3529 (gcov_dump_int): New internal interface. Dump master chain, if
3530 compatible.
3531 (gcov_dump): Alias for gcov_dump_int.
3532 * libgcov.h (struct gcov_root): Add next and prev fields.
3533 (struct gcov_master): New struct.
3534 (__gcov_master): New.
3535 (gcov_dump_int): Declare.
3536
580d22a3
OH
35372014-09-17 Olivier Hainque <hainque@adacore.com>
3538
3539 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
3540 and crtbegin.o + crtend.o to extra_parts.
3541
8cc4b7a2
JM
35422014-09-12 Joseph Myers <joseph@codesourcery.com>
3543
3544 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
3545 __LIBGCC_HAS_SF_MODE__.
3546 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3547 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3548 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3549 * config/libbid/bid_gcc_intrinsics.h
3550 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3551 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3552 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3553 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3554 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
3555 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3556
ea3f2b24
GJL
35572014-09-11 Georg-Johann Lay <avr@gjlay.de>
3558
3559 PR target/63223
3560 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
3561 and R24 as needed. Make work for all devices and .text locations.
3562 (__do_global_ctors, __do_global_dtors): Use word addresses.
3563 (__tablejump__, __tablejump_elpm__): Remove functions.
3564 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
3565 Add _tablejump2.
3566 (XICALL, XIJMP): New macros.
3567
b677236a
MS
35682014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
3569 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3570
3571 * config.host (aarch64*): Include crtfastmath.o and
3572 t-crtfm.
3573 * config/aarch64/crtfastmath.c: New file.
3574
157e859f
TS
35752014-09-08 Trevor Saunders <tsaunders@mozilla.com>
3576
3577 * config.host: Remove picochip support.
3578 * config/picochip/adddi3.S: Remove.
3579 * config/picochip/ashlsi3.S: Remove.
3580 * config/picochip/ashlsi3.c: Remove.
3581 * config/picochip/ashrsi3.S: Remove.
3582 * config/picochip/ashrsi3.c: Remove.
3583 * config/picochip/clzsi2.S: Remove.
3584 * config/picochip/cmpsi2.S: Remove.
3585 * config/picochip/divmod15.S: Remove.
3586 * config/picochip/divmodhi4.S: Remove.
3587 * config/picochip/divmodsi4.S: Remove.
3588 * config/picochip/lib1funcs.S: Remove.
3589 * config/picochip/longjmp.S: Remove.
3590 * config/picochip/lshrsi3.S: Remove.
3591 * config/picochip/lshrsi3.c: Remove.
3592 * config/picochip/parityhi2.S: Remove.
3593 * config/picochip/popcounthi2.S: Remove.
3594 * config/picochip/setjmp.S: Remove.
3595 * config/picochip/subdi3.S: Remove.
3596 * config/picochip/t-picochip: Remove.
3597 * config/picochip/ucmpsi2.S: Remove.
3598 * config/picochip/udivmodhi4.S: Remove.
3599 * config/picochip/udivmodsi4.S: Remove.
3600
66bb34c0
JM
36012014-09-08 Joseph Myers <joseph@codesourcery.com>
3602
3603 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
3604 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
3605 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
3606 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
3607 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
3608 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
3609 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
3610 defined and LIBGCC2_HAS_DF_MODE is defined.
3611 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
3612 defined and LIBGCC2_HAS_XF_MODE is defined.
3613 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
3614 defined and LIBGCC2_HAS_TF_MODE is defined.
3615
9686a2e6
JM
36162014-09-08 Joseph Myers <joseph@codesourcery.com>
3617
3618 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
3619 and ROUND_TOWARDS_ZERO conditionals.
3620
71c3e2ef
NS
36212014-09-07 Nathan sidwell <nathan@acm.org>
3622
3623 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
3624 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
3625
53d68b9f
JM
36262014-09-05 Joseph Myers <joseph@codesourcery.com>
3627
3628 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
3629 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3630 uses to __LIBGCC_STACK_POINTER_REGNUM__.
3631 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3632 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3633 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3634 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3635 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
3636 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
3637 (DWARF_FRAME_REGISTERS): Change all uses to
3638 __LIBGCC_DWARF_FRAME_REGISTERS__.
3639 (EH_RETURN_STACKADJ_RTX): Change all uses to
3640 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3641 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
3642 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
3643 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
3644 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
3645 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
3646 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
3647 to __LIBGCC_EH_FRAME_SECTION_NAME__.
3648 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
3649 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
3650 __LIBGCC_STACK_POINTER_REGNUM__.
3651 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3652 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3653 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3654 to __LIBGCC_STACK_POINTER_REGNUM__.
3655 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3656 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3657 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3658 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3659 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3660 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3661 (STACK_POINTER_REGNUM): Change all uses to
3662 __LIBGCC_STACK_POINTER_REGNUM__.
3663 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
3664 use to __LIBGCC_STACK_POINTER_REGNUM__.
3665 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3666 uses to __LIBGCC_STACK_POINTER_REGNUM__.
3667 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
3668 to __LIBGCC_DWARF_FRAME_REGISTERS__.
3669 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
3670 to __LIBGCC_DWARF_FRAME_REGISTERS__.
3671 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3672 to __LIBGCC_STACK_POINTER_REGNUM__.
3673 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
3674 Remove conditional definition.
3675 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
3676 __LIBGCC_TEXT_SECTION_ASM_OP__.
3677 (EH_FRAME_SECTION_NAME): Change all uses to
3678 __LIBGCC_EH_FRAME_SECTION_NAME__.
3679 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
3680 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
3681 (CTORS_SECTION_ASM_OP): Change all uses to
3682 __LIBGCC_CTORS_SECTION_ASM_OP__.
3683 (DTORS_SECTION_ASM_OP): Change all uses to
3684 __LIBGCC_DTORS_SECTION_ASM_OP__.
3685 (JCR_SECTION_NAME): Change all uses to
3686 __LIBGCC_JCR_SECTION_NAME__.
3687 (INIT_SECTION_ASM_OP): Change all uses to
3688 __LIBGCC_INIT_SECTION_ASM_OP__.
3689 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3690 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3691 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
3692 __LIBGCC_STACK_GROWS_DOWNWARD__.
3693 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
3694 __LIBGCC_INIT_SECTION_ASM_OP__.
3695 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3696 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3697 (EH_FRAME_SECTION_NAME): Change all uses to
3698 __LIBGCC_EH_FRAME_SECTION_NAME__.
3699 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
3700 definitions. Change all uses to
3701 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
3702 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
3703 __LIBGCC_STACK_GROWS_DOWNWARD__.
3704 (DWARF_FRAME_REGISTERS): Change all uses to
3705 __LIBGCC_DWARF_FRAME_REGISTERS__.
3706 (EH_RETURN_STACKADJ_RTX): Change all uses to
3707 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3708 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
3709 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
3710 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
3711 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
3712 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
3713
b20ee094
NS
37142014-09-02 Nathan sidwell <nathan@acm.org>
3715
3716 * libgcov-interface.c (STRONG_ALIAS): New.
3717 (__gcov_flush): Call __gcov_reset_int.
3718 (__gcov_reset): Strong alias for ...
3719 (__gcov_reset_ing): ... this renamed hidden version.
3720 * libgcov.h (__gcov_reset_int): New declaration.
3721
1ac83976
YS
37222014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
3723
25efdb9f
YS
3724 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
3725 call from here...
3726 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
3727 (__dso_handle): Define on Cygwin.
3728 * config/i386/t-cygming (crtbeginS.o): New rule.
3729 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
3730
1ac83976
YS
3731 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
3732 declaration syntax.
3733
c6f9ea3b
SE
37342014-08-13 Steve Ellcey <sellcey@mips.com>
3735
3736 * crtstuff.c: Undef caddr_t.
3737
5b1ea7c5
SE
37382014-08-12 Steve Ellcey <sellcey@mips.com>
3739
3740 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
3741
4303c581
NS
37422014-08-07 Nathan Sidwell <nathan@acm.org>
3743
3744 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
3745 (LIBGCOV_DRIVER): ... to here.
3746 * libgcov.h (gcov_do_dump): New #define.
3747 (struct gcov_root): New.
3748 (__gcov_root): New declaration.
3749 (__gcov_dump_one): Declare.
3750 * libgcov-driver.c (gcov_list, gcov_dump_complete,
3751 run_accounted): Delete.
3752 (gcov_compute_histogram): Add LIST argument, adjust.
3753 (compute_summary): Adjust gcov_compute_histogram call.
3754 (gcov_do_dump): Not hidden, static in libgcov.
3755 (gcov_clear): Move to interface.c.
3756 (__gcov_dump_one): New, broken out of ...
3757 (gcov_exit): ... here. Make static.
3758 (__gcov_root): New.
3759 (__gcov_init): Adjust.
3760 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
3761 declarations.
3762 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
3763 (gcov_clear): Moved from driver.c. Add LIST argument.
3764 (__gcov_reset): Adjust for changed interfaces.
3765 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
3766
23742a9e
RAR
37672014-08-04 Rohit <rohitarulraj@freescale.com>
3768
3769 PR target/60102
3770 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
d406ae47 3771 based on change in SPE high register numbers and 3 HTM registers.
23742a9e 3772
b98a872b
NS
37732014-08-01 Nathan Sidwell <nathan@acm.org>
3774
3775 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
3776 LIBGCOV_INTERFACE): Reformat.
3777 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
3778 IN_GCOV_TOOL.
3779 * libgcov-interface.c: Reformat some comments.
3780 (__gcov_flush_mx): Add declaration. Tidy up definition.
3781
6adaaa1d
AM
37822014-07-31 Alan Modra <amodra@gmail.com>
3783 Peter Bergner <bergner@vnet.ibm.com>
3784
3785 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
3786 (pack_ldouble): New function.
3787 (__gcc_qadd): Use it.
3788 (__gcc_qmul): Likewise.
3789 (__gcc_qdiv): Likewise.
3790 (__gcc_qneg): Likewise.
3791 (__gcc_stoq): Likewise.
3792 (__gcc_dtoq): Likewise.
3793
87cb0c0c
UW
37942014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
3795
3796 * config/s390/tpf-unwind.h: Include <stdbool.h>.
3797 (__tpf_eh_return): Add original return address as second parameter.
3798 Handle cases where unwinder routines were called directly, instead
3799 of from within the C++ library.
3800
19926161
NS
38012014-07-29 Nathan Sidwell <nathan@acm.org>
3802
3803 * libgcov.h: Move renaming of entry points to lib gcov specific
3804 portion.
3805 (gcov_do_dump): New rename.
3806 (gcov_rewrite): Remove inline, make HIDDEN.
3807 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
3808 (gcov_exit_compute_summary): Rename to ...
3809 (compute_summary): ... here. Add LIST argument.
3810 (gcov_exit_merge_gcda): Rename to ...
3811 (merge_one_data): ... here.
3812 (gcov_exit_write_gcda): Rename to ...
3813 (write_one_data): ... here.
3814 (gcov_exit_merge_summary): Rename to ...
3815 (merge_summary): Add RUN_COUNTED argument.
3816 (gcov_exit_dump_gcov): Rename to ...
3817 (dump_one_gcov): Add RUN_COUNTED argument.
3818 (gcov_do_dump): New function, broken out of ...
3819 (gcov_exit): ... here. Call it.
3820
17522262
AG
38212014-07-27 Anthony Green <green@moxielogic.com>
3822
3823 * config.host: Add moxiebox configuration suppport.
3824
6dc33097
NS
38252014-07-27 Nathan Sidwell <nathan@acm.org>
3826
3827 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
3828 (struct gcov_filename): ... here. Include buffer and max length
3829 fields.
3830 (gcov_max_filename): Remove.
3831 (gi_filename): Remove.
3832 (gcov_exit_compute_summary): Compute max filename here.
3833 (gcov_exit_merge_gcda): Add filename parm, adjust.
3834 (gcov_exit_merge_summary): Likewise.
3835 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
3836 (gcov_exit): Likewise.
3837 (__gcov_init): Don't calculate max length here.
3838 * libgcov_util.c (max_filename_len): Remove.
3839 (read_gcda_file): Don't calculate max length here.
3840 (gcov_read_profile_dir): Don't propagate here.
3841 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
3842 struct gcov_filename changes.
3843 (gcov_exit_open_gcda_file): Likewise.
3844
770f687d
NS
38452014-07-25 Nathan Sidwell <nathan@acm.org>
3846
3847 * libgcov-driver.c (set_gcov_dump_complete,
3848 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
3849 functions polluting user's namespace.
3850 (gcov_exit): Set variable directly.
3851 (gcov_clear): Reset variable directly.
3852 * libgcov-interface.c (get_gcov_dymp_complete,
3853 reset_gov_dump_complete): Remove declarations.
3854 (__gcov_reset, __gcov_dump): Don't call them.
3855
fabf71ba
DD
38562014-07-24 DJ Delorie <dj@redhat.com>
3857
3858 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
770f687d
NS
3859 (__gcc_deregister_frame): Move logic to detect deregister function
3860 to ...
3861 (__gcc_register_frame): here, so it's consistent with the register
3862 logic.
fabf71ba 3863
d10ee722
NS
38642014-07-23 Nathan Sidwell <nathan@acm.org>
3865
3866 * libgcov-driver.c (set_gcov_list): Remove.
3867 (gcov_list): Make non-static in GCOV_TOOL.
3868 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
3869
a4137090
JDA
38702014-07-17 John David Anglin <danglin@gcc.gnu.org>
3871
3872 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
3873 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
3874 Don't use SYNC_LOCK_RELEASE for int type.
3875
72602c6c
RB
38762014-07-14 Richard Biener <rguenther@suse.de>
3877
3878 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
3879
d5313205
RX
38802014-07-11 Rong Xu <xur@google.com>
3881
3882 * libgcov-util.c (gcov_max_filename): Fix declartion.
3883
c77556a5
RX
38842014-07-10 Rong Xu <xur@google.com>
3885
3886 Add gcov-tool: an offline gcda profile processing tool
3887 Support.
3888 * libgcov-driver.c (gcov_max_filename): Make available
3889 to gcov-tool.
3890 * libgcov-merge.c (__gcov_merge_add): Replace
3891 gcov_read_counter() with a Macro.
3892 (__gcov_merge_ior): Ditto.
3893 (__gcov_merge_time_profile): Ditto.
3894 (__gcov_merge_single): Ditto.
3895 (__gcov_merge_delta): Ditto.
3896 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
3897 in the utility functions.
3898 (set_fn_ctrs): Utility function for reading gcda files to in-memory
3899 gcov_list object link lists.
3900 (tag_function): Ditto.
3901 (tag_blocks): Ditto.
3902 (tag_arcs): Ditto.
3903 (tag_lines): Ditto.
3904 (tag_counters): Ditto.
3905 (tag_summary): Ditto.
3906 (read_gcda_finalize): Ditto.
3907 (read_gcda_file): Ditto.
3908 (ftw_read_file): Ditto.
3909 (read_profile_dir_init): Ditto.
3910 (gcov_read_profile_dir): Ditto.
3911 (gcov_read_counter_mem): Ditto.
3912 (gcov_get_merge_weight): Ditto.
3913 (merge_wrapper): A wrapper function that calls merging handler.
3914 (gcov_merge): Merge two gcov_info objects with weights.
3915 (find_match_gcov_info): Find the matched gcov_info in the list.
3916 (gcov_profile_merge): Merge two gcov_info object lists.
3917 (__gcov_add_counter_op): Process edge profile counter values.
3918 (__gcov_ior_counter_op): Process IOR profile counter values.
3919 (__gcov_delta_counter_op): Process delta profile counter values.
3920 (__gcov_single_counter_op): Process single profile counter values.
3921 (fp_scale): Callback function for float-point scaling.
cc86234f 3922 (int_scale): Callback function for integer fraction scaling.
c77556a5
RX
3923 (gcov_profile_scale): Scaling profile counters.
3924 (gcov_profile_normalize): Normalize profile counters.
3925 * libgcov.h: Add headers and functions for gcov-tool use.
3926 (gcov_get_counter): New.
3927 (gcov_get_counter_target): Ditto.
3928 (struct gcov_info): Make the functions field mutable in gcov-tool
3929 compilation.
3930
5c7dac8a
KT
39312014-06-23 Kai Tietz <ktietz@redhat.com>
3932
3933 PR libgcc/61585
3934 * unwind-seh.c (_Unwind_GetGR): Check for proper
3935 index range.
3936 (_Unwind_SetGR): Likewise.
3937
161c9312
NC
39382014-05-22 Nick Clifton <nickc@redhat.com>
3939
3940 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
3941 -mhwmult=none.
3942
e3f0315f
TJ
39432014-05-22 Teresa Johnson <tejohnson@google.com>
3944
3945 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
3946 include.
3947
dbed5a9b
JM
39482014-05-20 John Marino <gnugcc@marino.st>
3949
3950 * config.host (*-*-dragonfly*): New target.
3951 * crtstuff.c: Make dl_iterate_support generic on *bsd.
3952 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
3953 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
3954 * config/i386/dragonfly-unwind.h: New.
3955
1ec380e5
MR
39562014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
3957
3958 PR libgcc/60166
3959 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
3960 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
3961
54fde020
BE
39622014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
3963
3964 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
3965 implementation.
3966
999db125
GJL
39672014-05-12 Georg-Johann Lay <avr@gjlay.de>
3968
3969 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
3970
cceaf54a
RO
39712014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3972
3973 PR libgcc/61097
3974 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
3975 if --enable-shared.
3976
e3fe9b5b
BE
39772014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
3978
3979 Work around for current cygwin32 build problems.
3980 * config/i386/cygming-crtbegin.c (__register_frame_info,
3981 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
3982 functions only for 64-bit systems.
3983
54cf37e9
RO
39842014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3985
3986 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
3987 (sigill_caught, sigill_hdlr): Remove.
3988
d9f069ab
RO
39892014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3990
3991 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
3992 check.
3993 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
3994 Solaris 9 single-threaded support.
3995 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
3996 Solaris 9 single-threaded support. Add call_user_handler code
3997 sequences.
3998 (sparc_is_sighandler): Likewise.
3999
59976ef8
AK
40002014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4001
4002 * config.host: Append t-floattodi to tmake_file depending on
4003 host_address.
4004
d02bbcf3
JS
40052014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
4006
31466bc0 4007 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
d02bbcf3 4008
c2e7e597
UB
40092014-03-10 Uros Bizjak <ubizjak@gmail.com>
4010
4011 PR libgcc/60472
4012 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2405e0ea 4013 variable to avoid "array subscript is above array bounds" warnings.
c2e7e597
UB
4014 Use __builtin_expect when checking *jcr_list for NULL.
4015
227a7dc8
RO
40162014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4017
4018 PR libgcc/59339
4019 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
4020 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
4021 vtv_*.o to extra_parts if enable_vtable_verify.
4022
df2b279c
NC
40232014-03-06 Nick Clifton <nickc@redhat.com>
4024
4025 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
4026 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
4027
dc11d79b
JY
40282014-02-28 Joey Ye <joey.ye@arm.com>
4029
4030 PR libgcc/60166
4031 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
4032 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
4033 Set to zero.
4034
341c653c
WL
40352014-02-24 Walter Lee <walt@tilera.com>
4036
4037 * config.host: Support "tilegx*" and "tilepro*" triplets.
4038 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
4039 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
4040
95ce7613
CLT
40412014-02-20 Sandra Loosemore <sandra@codesourcery.com>
4042 Chung-Lin Tang <cltang@codesourcery.com>
4043
4044 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
4045 * config/nios2/crti.S: Remove .file directive.
4046 * config/nios2/crtn.S: Likewise.
4047
0bb4fc05
KT
40482014-02-18 Kai Tietz <ktietz@redhat.com>
4049 Jonathan Schleifer <js@webkeks.org>
4050
4051 PR objc/56870
4052 * unwind-seh.c (_GCC_specific_handler): Pass proper
4053 value to unwind-handler.
4054
9acf28f1
JM
40552014-02-12 Joseph Myers <joseph@codesourcery.com>
4056
4057 * soft-fp/adddf3.c: Update from glibc.
4058 * soft-fp/addsf3.c: Likewise.
4059 * soft-fp/addtf3.c: Likewise.
4060 * soft-fp/divdf3.c: Likewise.
4061 * soft-fp/divsf3.c: Likewise.
4062 * soft-fp/divtf3.c: Likewise.
4063 * soft-fp/double.h: Likewise.
4064 * soft-fp/eqdf2.c: Likewise.
4065 * soft-fp/eqsf2.c: Likewise.
4066 * soft-fp/eqtf2.c: Likewise.
4067 * soft-fp/extenddftf2.c: Likewise.
4068 * soft-fp/extended.h: Likewise.
4069 * soft-fp/extendsfdf2.c: Likewise.
4070 * soft-fp/extendsftf2.c: Likewise.
4071 * soft-fp/extendxftf2.c: Likewise.
4072 * soft-fp/fixdfdi.c: Likewise.
4073 * soft-fp/fixdfsi.c: Likewise.
4074 * soft-fp/fixdfti.c: Likewise.
4075 * soft-fp/fixsfdi.c: Likewise.
4076 * soft-fp/fixsfsi.c: Likewise.
4077 * soft-fp/fixsfti.c: Likewise.
4078 * soft-fp/fixtfdi.c: Likewise.
4079 * soft-fp/fixtfsi.c: Likewise.
4080 * soft-fp/fixtfti.c: Likewise.
4081 * soft-fp/fixunsdfdi.c: Likewise.
4082 * soft-fp/fixunsdfsi.c: Likewise.
4083 * soft-fp/fixunsdfti.c: Likewise.
4084 * soft-fp/fixunssfdi.c: Likewise.
4085 * soft-fp/fixunssfsi.c: Likewise.
4086 * soft-fp/fixunssfti.c: Likewise.
4087 * soft-fp/fixunstfdi.c: Likewise.
4088 * soft-fp/fixunstfsi.c: Likewise.
4089 * soft-fp/fixunstfti.c: Likewise.
4090 * soft-fp/floatdidf.c: Likewise.
4091 * soft-fp/floatdisf.c: Likewise.
4092 * soft-fp/floatditf.c: Likewise.
4093 * soft-fp/floatsidf.c: Likewise.
4094 * soft-fp/floatsisf.c: Likewise.
4095 * soft-fp/floatsitf.c: Likewise.
4096 * soft-fp/floattidf.c: Likewise.
4097 * soft-fp/floattisf.c: Likewise.
4098 * soft-fp/floattitf.c: Likewise.
4099 * soft-fp/floatundidf.c: Likewise.
4100 * soft-fp/floatundisf.c: Likewise.
4101 * soft-fp/floatunditf.c: Likewise.
4102 * soft-fp/floatunsidf.c: Likewise.
4103 * soft-fp/floatunsisf.c: Likewise.
4104 * soft-fp/floatunsitf.c: Likewise.
4105 * soft-fp/floatuntidf.c: Likewise.
4106 * soft-fp/floatuntisf.c: Likewise.
4107 * soft-fp/floatuntitf.c: Likewise.
4108 * soft-fp/gedf2.c: Likewise.
4109 * soft-fp/gesf2.c: Likewise.
4110 * soft-fp/getf2.c: Likewise.
4111 * soft-fp/ledf2.c: Likewise.
4112 * soft-fp/lesf2.c: Likewise.
4113 * soft-fp/letf2.c: Likewise.
4114 * soft-fp/muldf3.c: Likewise.
4115 * soft-fp/mulsf3.c: Likewise.
4116 * soft-fp/multf3.c: Likewise.
4117 * soft-fp/negdf2.c: Likewise.
4118 * soft-fp/negsf2.c: Likewise.
4119 * soft-fp/negtf2.c: Likewise.
4120 * soft-fp/op-1.h: Likewise.
4121 * soft-fp/op-2.h: Likewise.
4122 * soft-fp/op-4.h: Likewise.
4123 * soft-fp/op-8.h: Likewise.
4124 * soft-fp/op-common.h: Likewise.
4125 * soft-fp/quad.h: Likewise.
4126 * soft-fp/single.h: Likewise.
4127 * soft-fp/soft-fp.h: Likewise.
4128 * soft-fp/subdf3.c: Likewise.
4129 * soft-fp/subsf3.c: Likewise.
4130 * soft-fp/subtf3.c: Likewise.
4131 * soft-fp/truncdfsf2.c: Likewise.
4132 * soft-fp/trunctfdf2.c: Likewise.
4133 * soft-fp/trunctfsf2.c: Likewise.
4134 * soft-fp/trunctfxf2.c: Likewise.
4135 * soft-fp/unorddf2.c: Likewise.
4136 * soft-fp/unordsf2.c: Likewise.
4137 * soft-fp/unordtf2.c: Likewise.
4138 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
4139 macro.
4140 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4141 Likewise.
4142 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4143 Likewise.
4144 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4145 Likewise.
4146 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4147 Likewise.
4148 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4149 Likewise.
4150 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4151 Likewise.
4152 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4153 Likewise.
4154 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4155 Likewise.
4156 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4157 Likewise.
4158 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4159 Likewise.
4160 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4161 Likewise.
4162 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4163 Likewise.
4164 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
4165 Likewise.
4166 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
4167 Likewise.
4168 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4169 Likewise.
4170
ce245ec6
AK
41712014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4172
4173 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
4174 cannot be represented.
4175 * config/s390/32/_fixsfdi.c: Likewise.
4176 * config/s390/32/_fixtfdi.c: Likewise.
4177 * config/s390/32/_fixunsdfdi.c: Likewise.
4178 * config/s390/32/_fixunssfdi.c: Likewise.
4179 * config/s390/32/_fixunstfdi.c: Likewise.
4180
1c51d688
RS
41812014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
4182
4183 * configure.ac (libgcc_cv_mips_hard_float): New.
4184 * configure: Regenerate.
4185 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
4186 t-softfp-sfdf for hard-float targets.
4187 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
4188 (softfp_float_modes, softfp_int_modes, softfp_extensions)
4189 (softfp_truncations, softfp_exclude_libgcc2): New.
4190 * config/t-hardfp: New file.
4191 * config/t-hardfp-sfdf: Likewise.
4192 * config/hardfp.c: Likewise.
4193
bbf391db
AK
41942014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4195
4196 * config.host: Include t-floattodi also for s390x.
4197 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
4198 * config/s390/32/_fixsfdi.c: Likewise.
4199 * config/s390/32/_fixtfdi.c: Likewise.
4200 * config/s390/32/_fixunsdfdi.c: Likewise.
4201 * config/s390/32/_fixunssfdi.c: Likewise.
4202 * config/s390/32/_fixunstfdi.c: Likewise.
4203
91da0481
RO
42042014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4205
4206 PR target/59788
4207 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
4208 (install-libgcc-unwind-map-forbuild): New target.
4209 (all): Depend on install-libgcc-unwind-map-forbuild.
4210 (install-libgcc-unwind-map): New target.
4211 (install): Depend on install-libgcc-unwind-map.
4212
02b67731
SL
42132014-02-02 Sandra Loosemore <sandra@codesourcery.com>
4214
4215 * config/nios2/crti.S (_init): Initialize GOT pointer from
4216 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
4217
1ea0a651
RS
42182014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
4219
4220 * configure.ac: Check __mips64 when setting host_address.
4221 * configure: Regenerate.
4222 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
4223 mips/t-mips64 and t-softfp.
4224 (mips*-*-linux*): Don't add mips/t-tpbit.
4225 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
4226 (DPBIT, DPBIT_CFLAGS): Delete.
4227 * config/mips/sfp-machine.h: New file.
4228 * config/mips/t-mips64: Likewise.
4229 * config/mips/t-softfp-tf: Likewise.
4230 * config/mips/t-tpbit: Delete.
4231
f32b0061
MS
42322014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
4233
4234 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
4235 as long long.
4236
a5420aa4
WL
42372014-01-25 Walter Lee <walt@tilera.com>
4238
4239 * config/tilepro/atomic.c: Include tconfig.h. Don't include
4240 config.h or system.h.
4241 (bool) Define.
4242
24534912
WL
42432014-01-25 Walter Lee <walt@tilera.com>
4244
4245 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
4246 (post_atomic_barrier): Ditto.
4247 (__fetch_and_do): New macro.
4248 (__atomic_fetch_and_do): Use __fetch_and_do.
4249 (__sync_fetch_and_do): New macro.
4250 (__sync_fetch_and_add_4): New function.
4251 (__sync_fetch_and_sub_4): New function.
4252 (__sync_fetch_and_or_4): New function.
4253 (__sync_fetch_and_and_4): New function.
4254 (__sync_fetch_and_xor_4): New function.
4255 (__sync_fetch_and_nand_4): New function.
4256 (__sync_fetch_and_add_8): New function.
4257 (__sync_fetch_and_sub_8): New function.
4258 (__sync_fetch_and_or_8): New function.
4259 (__sync_fetch_and_and_8): New function.
4260 (__sync_fetch_and_xor_8): New function.
4261 (__sync_fetch_and_nand_8): New function.
4262 (__do_and_fetch): New macro.
4263 (__atomic_do_and_fetch): Use __do_and_fetch.
4264 (__sync_do_and_fetch): New macro.
4265 (__sync_add_and_fetch_4): New function.
4266 (__sync_sub_and_fetch_4): New function.
4267 (__sync_or_and_fetch_4): New function.
4268 (__sync_and_and_fetch_4): New function.
4269 (__sync_xor_and_fetch_4): New function.
4270 (__sync_nand_and_fetch_4): New function.
4271 (__sync_add_and_fetch_8): New function.
4272 (__sync_sub_and_fetch_8): New function.
4273 (__sync_or_and_fetch_8): New function.
4274 (__sync_and_and_fetch_8): New function.
4275 (__sync_xor_and_fetch_8): New function.
4276 (__sync_nand_and_fetch_8): New function.
4277 (__sync_exchange_methods): New macro.
4278 (__sync_val_compare_and_swap_4): New function.
4279 (__sync_bool_compare_and_swap_4): New function.
4280 (__sync_lock_test_and_test_4): New function.
4281 (__sync_val_compare_and_swap_8): New function.
4282 (__sync_bool_compare_and_swap_8): New function.
4283 (__sync_lock_test_and_test_8): New function.
4284 (__subword_cmpxchg_body): New macro.
4285 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
4286 (__atomic_compare_exchange_2): Ditto.
4287 (__sync_subword_cmpxchg): New macro.
4288 (__sync_val_compare_and_swap_1): New function.
4289 (__sync_bool_compare_and_swap_1): New function.
4290 (__sync_val_compare_and_swap_2): New function.
4291 (__sync_bool_compare_and_swap_2): New function.
4292 (__atomic_subword): Rename to ...
4293 (__subword): ... New name.
4294 (__atomic_subword_fetch): Use __subword.
4295 (__sync_subword_fetch): New macro.
4296 (__sync_fetch_and_add_1): New function.
4297 (__sync_fetch_and_sub_1): New function.
4298 (__sync_fetch_and_or_1): New function.
4299 (__sync_fetch_and_and_1): New function.
4300 (__sync_fetch_and_xor_1): New function.
4301 (__sync_fetch_and_nand_1): New function.
4302 (__sync_fetch_and_add_2): New function.
4303 (__sync_fetch_and_sub_2): New function.
4304 (__sync_fetch_and_or_2): New function.
4305 (__sync_fetch_and_and_2): New function.
4306 (__sync_fetch_and_xor_2): New function.
4307 (__sync_fetch_and_nand_2): New function.
4308 (__sync_add_and_fetch_1): New function.
4309 (__sync_sub_and_fetch_1): New function.
4310 (__sync_or_and_fetch_1): New function.
4311 (__sync_and_and_fetch_1): New function.
4312 (__sync_xor_and_fetch_1): New function.
4313 (__sync_nand_and_fetch_1): New function.
4314 (__sync_add_and_fetch_2): New function.
4315 (__sync_sub_and_fetch_2): New function.
4316 (__sync_or_and_fetch_2): New function.
4317 (__sync_and_and_fetch_2): New function.
4318 (__sync_xor_and_fetch_2): New function.
4319 (__sync_nand_and_fetch_2): New function.
4320 (__atomic_subword_lock): Use __subword.
4321 (__sync_subword_lock): New macro.
4322 (__sync_lock_test_and_set_1): New function.
4323 (__sync_lock_test_and_set_2): New function.
4324
4d6d3bc5
WL
43252014-01-25 Walter Lee <walt@tilera.com>
4326
4327 * config/tilepro/atomic.c (BIT_OFFSET): Define.
4328 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
4329 (__atomic_subword): Ditto.
4330
cbd9890e
WL
43312014-01-25 Walter Lee <walt@tilera.com>
4332
4333 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
4334 a prefix op argument.
4335 (__atomic_nand_fetch_4): Add prefix op.
4336 (__atomic_nand_fetch_8): Ditto.
4337
7d296953 43382014-01-21 Baruch Siach <barch@tkos.co.il>
800d8bd5
BS
4339
4340 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
4341
46dd1242
L
43422014-01-09 Rong Xu <xur@google.com>
4343
4344 * libgcov-driver.c (this_prg): make it local to save
4345 bss space.
4346 (gcov_exit_compute_summary): Ditto.
4347 (gcov_exit_merge_gcda): Ditto.
4348 (gcov_exit_merge_summary): Ditto.
4349 (gcov_exit_dump_gcov): Ditto.
4350
cc86234f 43512014-01-08 Rong Xu <xur@google.com>
40d6b753
RX
4352
4353 * libgcov-driver.c: Use libgcov.h.
4354 (buffer_fn_data): Use xmalloc instead of malloc.
4355 (gcov_exit_merge_gcda): Ditto.
4356 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
4357 * libgcov.h: New common header files for libgcov-*.h.
4358 * libgcov-interface.c: Use libgcov.h
4359 * libgcov-merge.c: Ditto.
4360 * libgcov-profiler.c: Ditto.
4361 * Makefile.in: Add dependence to libgcov.h
4362
a02e7bdd
JM
43632014-01-02 Joseph Myers <joseph@codesourcery.com>
4364
4365 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
4366 case of small numerator and finite nonzero result.
4367
ac1dca3c
RS
43682014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4369
4370 Update copyright years
4371
f9030485
RS
43722014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4373
4374 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
4375 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
4376 config/arc/dp-hack.h, config/arc/fp-hack.h,
4377 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
4378 config/arc/ieee-754/arc600-dsp/divdf3.S,
4379 config/arc/ieee-754/arc600-dsp/divsf3.S,
4380 config/arc/ieee-754/arc600-dsp/muldf3.S,
4381 config/arc/ieee-754/arc600-dsp/mulsf3.S,
4382 config/arc/ieee-754/arc600-mul64/divdf3.S,
4383 config/arc/ieee-754/arc600-mul64/divsf3.S,
4384 config/arc/ieee-754/arc600-mul64/muldf3.S,
4385 config/arc/ieee-754/arc600-mul64/mulsf3.S,
4386 config/arc/ieee-754/arc600/divsf3.S,
4387 config/arc/ieee-754/arc600/mulsf3.S,
4388 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
4389 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
4390 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
4391 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
4392 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
4393 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
4394 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
4395 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
4396 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
4397 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
4398 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
4399 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
4400 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
4401 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
4402 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
4403 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
4404 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
4405 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
4406 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
4407 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
4408 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
4409 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
4410 vtv_start_preinit.c: Use the standard form for the copyright notice.
4411
e430824f
CLT
44122013-12-31 Sandra Loosemore <sandra@codesourcery.com>
4413 Chung-Lin Tang <cltang@codesourcery.com>
4414 Based on patches from Altera Corporation
4415
4416 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
4417 * config/nios2/lib2-nios2.h: New file.
4418 * config/nios2/lib2-divmod-hi.c: New file.
4419 * config/nios2/linux-unwind.h: New file.
4420 * config/nios2/lib2-divmod.c: New file.
4421 * config/nios2/linux-atomic.c: New file.
4422 * config/nios2/t-nios2: New file.
4423 * config/nios2/crti.asm: New file.
4424 * config/nios2/t-linux: New file.
4425 * config/nios2/lib2-divtable.c: New file.
4426 * config/nios2/lib2-mul.c: New file.
4427 * config/nios2/tramp.c: New file.
4428 * config/nios2/crtn.asm: New file.
4429
1879e97f
UB
44302013-12-26 Uros Bizjak <ubizjak@gmail.com>
4431
4432 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
4433 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
4434 from cpuid.h to check vendor signatures.
4435
f4a4bdbb
GG
44362013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
4437
c2e7e597 4438 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
f4a4bdbb
GG
4439 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
4440 (get_amd_cpu): Likewise.
4441
8d2ae544
L
44422013-12-25 H.J. Lu <hongjiu.lu@intel.com>
4443
4444 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
4445 Haswell.
4446
74924838
ASJ
44472013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
4448 H.J. Lu <hongjiu.lu@intel.com>
4449
0bb52f25
L
4450 PR target/59422
4451 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
74924838
ASJ
4452 and AMD_JAGUAR.
4453 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
4454 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
4455 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
4456 FEATURE_XOP and FEATURE_FMA.
4457 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
4458 AMDFAM15H_BDVER3.
4459 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
0bb52f25 4460 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
74924838
ASJ
4461 FEATURE_FMA4 and FEATURE_XOP.
4462
d3c11974
L
44632013-12-23 H.J. Lu <hongjiu.lu@intel.com>
4464
4465 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
4466 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
4467 (get_intel_cpu): Updated.
4468
064c4ff2
ZC
44692013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
4470
4471 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
4472
8b02e720
UB
44732013-12-09 Uros Bizjak <ubizjak@gmail.com>
4474
4475 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1f71a3c3 4476 instructions when __SSE_MATH__ is defined.
8b02e720 4477
3fa2ccb4
RC
44782013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
4479
4480 * config.host (microblaze-*-rtems*): New.
4481
ecd78fc9
KV
44822013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
4483
4484 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
4485 architectures that do not have hardware divide instruction.
4486 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
4487
b21fbbd2
RS
44882013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
4489
4490 * longlong.h: Delete (moved to include/).
4491
b03fb8c9
AZ
44922013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4493
4494 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
4495 of normal number and qNaN to not raise an inexact exception.
4496
3c716922
UB
44972013-11-28 Uros Bizjak <ubizjak@gmail.com>
4498
4499 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
4500
45012013-11-28 Matthew Leach <matthew.leach@arm.com>
cceeb9a9
ML
4502
4503 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
4504 for correct opcodes on BE.
4505
a3458d22
UB
45062013-11-27 Uros Bizjak <ubizjak@gmail.com>
4507
4508 * soft-fp/op-4.h: Update from glibc.
4509
30b8f78b
KV
45102013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
4511
4512 * libgcc2.c (__udivmoddi4): Define new implementation when
4513 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
4514 divide instructions.
4515
82552a29
OE
45162013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
4517
4518 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
4519
80e87457
RO
45202013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4521
4522 * config/t-softfp (soft-fp-objects-base): New variable.
4523 (soft-fp-objects): Use it.
4524
44178879
DE
45252013-11-23 David Edelson <dje.gcc@gmail.com>
4526 Andrew Dixie <andrewd@gentrack.com>
4527
4528 PR target/33704
4529 * config/rs6000/aixinitfini.c: New file.
4530 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
4531 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
4532 symbols.
4533
e5287671
YR
45342013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
4535
a3458d22 4536 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
e5287671 4537
867c8b03
JH
45382013-11-18 Jan Hubicka <jh@suse.cz>
4539
7f369373
JH
4540 * libgcov-driver.c (run_accounted): Make global level static.
4541 (gcov_exit_merge_summary): Silence warning; do not clear
4542 run_accounted here.
4543 (gcov_exit): Clear it here.
4544
1d0b3334
JH
4545 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
4546 run_accounted.
4547
867c8b03
JH
4548 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
4549 (all_prg, crc32): Remove static vars.
4550 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
4551 all_prg.
4552 (gcov_exit_merge_gcda): Add crc32 parameter.
4553 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
4554 do not account run if it was already accounted.
4555 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
4556 (gcov_exit): Initialize all_prg; update.
4557
66204992
AS
45582013-11-15 Andreas Schwab <schwab@linux-m68k.org>
4559
4560 * configure: Regenerate.
4561
b54214fe
UW
45622013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4563 Alan Modra <amodra@gmail.com>
4564
4565 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
4566 (frob_update_context): Use it.
4567
45682013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4569 Alan Modra <amodra@gmail.com>
4570
4571 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
4572 (trampoline_initial): Provide ELFv2 variant.
4573 (__trampoline_setup): Likewise.
4574
4575 * config/rs6000/linux-unwind.h (frob_update_context): Do not
4576 check for AIX indirect function call sequence if _CALL_ELF == 2.
4577
45782013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4579 Alan Modra <amodra@gmail.com>
4580
4581 * config/rs6000/linux-unwind.h (get_regs): Do not support
4582 old kernel versions if _CALL_ELF == 2.
4583 (frob_update_context): Do not support PLT stub variants only
4584 generated by old linkers if _CALL_ELF == 2.
4585
13e0981a
UW
45862013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4587 Alan Modra <amodra@gmail.com>
4588
4589 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
4590 location of CR save area for 64-bit little-endian systems.
4591
1a80085d
EB
45922013-11-11 Eric Botcazou <ebotcazou@adacore.com>
4593
4594 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
4595 in tmake_file.
4596 * config/arm/t-vxworks: Delete.
4597
cabeea52
KT
45982013-11-10 Kai Tietz <ktietz@redhat.com>
4599
4600 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
4601 Increment load-count on use of LIBGCC_SONAME DLL.
4602 (hmod_libgcc): New static variable to hold handle of
4603 LIBGCC_SONAME DLL.
4604 (__gcc_deregister_frame): Decrement load-count of
4605 LIBGCC_SONAME DLL.
4606
ac088ba1
BRF
46072013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
4608
4609 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
4610 availability.
4611 * configure: Regenerate
4612
d59a8fcc
UB
46132013-11-07 Uros Bizjak <ubizjak@gmail.com>
4614
4615 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
4616 FP_EX_DENORM. Store result to volatile location after SSE division
4617 to close interrupt window. Remove unneeded fwait after x87
4618 division since interrupt window will be closed by emitted fstp.
9de84e84 4619 Rewrite FP_EX_INEXACT handling.
d59a8fcc 4620
9954c743
JM
46212013-11-06 Joseph Myers <joseph@codesourcery.com>
4622
4623 * soft-fp/README: Update.
4624 * soft-fp/adddf3.c: Update from glibc.
4625 * soft-fp/addsf3.c: Likewise.
4626 * soft-fp/addtf3.c: Likewise.
4627 * soft-fp/divdf3.c: Likewise.
4628 * soft-fp/divsf3.c: Likewise.
4629 * soft-fp/divtf3.c: Likewise.
4630 * soft-fp/double.h: Likewise.
4631 * soft-fp/eqdf2.c: Likewise.
4632 * soft-fp/eqsf2.c: Likewise.
4633 * soft-fp/eqtf2.c: Likewise.
4634 * soft-fp/extenddftf2.c: Likewise.
4635 * soft-fp/extended.h: Likewise.
4636 * soft-fp/extendsfdf2.c: Likewise.
4637 * soft-fp/extendsftf2.c: Likewise.
4638 * soft-fp/extendxftf2.c: Likewise.
4639 * soft-fp/fixdfdi.c: Likewise.
4640 * soft-fp/fixdfsi.c: Likewise.
4641 * soft-fp/fixdfti.c: Likewise.
4642 * soft-fp/fixsfdi.c: Likewise.
4643 * soft-fp/fixsfsi.c: Likewise.
4644 * soft-fp/fixsfti.c: Likewise.
4645 * soft-fp/fixtfdi.c: Likewise.
4646 * soft-fp/fixtfsi.c: Likewise.
4647 * soft-fp/fixtfti.c: Likewise.
4648 * soft-fp/fixunsdfdi.c: Likewise.
4649 * soft-fp/fixunsdfsi.c: Likewise.
4650 * soft-fp/fixunsdfti.c: Likewise.
4651 * soft-fp/fixunssfdi.c: Likewise.
4652 * soft-fp/fixunssfsi.c: Likewise.
4653 * soft-fp/fixunssfti.c: Likewise.
4654 * soft-fp/fixunstfdi.c: Likewise.
4655 * soft-fp/fixunstfsi.c: Likewise.
4656 * soft-fp/fixunstfti.c: Likewise.
4657 * soft-fp/floatdidf.c: Likewise.
4658 * soft-fp/floatdisf.c: Likewise.
4659 * soft-fp/floatditf.c: Likewise.
4660 * soft-fp/floatsidf.c: Likewise.
4661 * soft-fp/floatsisf.c: Likewise.
4662 * soft-fp/floatsitf.c: Likewise.
4663 * soft-fp/floattidf.c: Likewise.
4664 * soft-fp/floattisf.c: Likewise.
4665 * soft-fp/floattitf.c: Likewise.
4666 * soft-fp/floatundidf.c: Likewise.
4667 * soft-fp/floatundisf.c: Likewise.
4668 * soft-fp/floatunditf.c: Likewise.
4669 * soft-fp/floatunsidf.c: Likewise.
4670 * soft-fp/floatunsisf.c: Likewise.
4671 * soft-fp/floatunsitf.c: Likewise.
4672 * soft-fp/floatuntidf.c: Likewise.
4673 * soft-fp/floatuntisf.c: Likewise.
4674 * soft-fp/floatuntitf.c: Likewise.
4675 * soft-fp/gedf2.c: Likewise.
4676 * soft-fp/gesf2.c: Likewise.
4677 * soft-fp/getf2.c: Likewise.
4678 * soft-fp/ledf2.c: Likewise.
4679 * soft-fp/lesf2.c: Likewise.
4680 * soft-fp/letf2.c: Likewise.
4681 * soft-fp/muldf3.c: Likewise.
4682 * soft-fp/mulsf3.c: Likewise.
4683 * soft-fp/multf3.c: Likewise.
4684 * soft-fp/negdf2.c: Likewise.
4685 * soft-fp/negsf2.c: Likewise.
4686 * soft-fp/negtf2.c: Likewise.
4687 * soft-fp/op-1.h: Likewise.
4688 * soft-fp/op-2.h: Likewise.
4689 * soft-fp/op-4.h: Likewise.
4690 * soft-fp/op-8.h: Likewise.
4691 * soft-fp/op-common.h: Likewise.
4692 * soft-fp/quad.h: Likewise.
4693 * soft-fp/single.h: Likewise.
4694 * soft-fp/soft-fp.h: Likewise.
4695 * soft-fp/subdf3.c: Likewise.
4696 * soft-fp/subsf3.c: Likewise.
4697 * soft-fp/subtf3.c: Likewise.
4698 * soft-fp/truncdfsf2.c: Likewise.
4699 * soft-fp/trunctfdf2.c: Likewise.
4700 * soft-fp/trunctfsf2.c: Likewise.
4701 * soft-fp/trunctfxf2.c: Likewise.
4702 * soft-fp/unorddf2.c: Likewise.
4703 * soft-fp/unordsf2.c: Likewise.
4704 * soft-fp/unordtf2.c: Likewise.
4705
02ac9503
UB
47062013-11-05 Uros Bizjak <ubizjak@gmail.com>
4707
4708 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
4709 (_FP_MUL_MEAT_D): Ditto.
4710 (_FP_DIV_MEAT_S): Ditto.
4711 (_FP_DIV_MEAT_D): Ditto.
4712 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
4713 t-softfp-sfdf and t-softfp to tmake_file.
4714
61221141
UB
47152013-11-03 Uros Bizjak <ubizjak@gmail.com>
4716
4717 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
4718 * config/i386/crtprec.c: Ditto.
4719
9304f876
CJW
47202013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
4721 Shiva Chen <shiva0217@gmail.com>
4722
4723 * config.host (nds32*-elf*): Add nds32 target.
4724 * config/nds32 : New directory and files.
4725
0e499e75
HPN
47262013-10-16 Hans-Peter Nilsson <hp@axis.com>
4727
4728 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
4729 * config.host (cpu_type) <Setting default>: Add entry for
4730 crisv32-*-*.
4731 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
4732 <crisv32-*-linux*>: Adjust.
4733 * longlong.h: Wrap the whole CRIS section in a single
4734 defined(__CRIS__) conditional. Add comment about add_ssaaaa
4735 and sub_ddmmss.
4736 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
4737 defined.
4738 [__CRIS__] (__umulsidi3): Define.
4739 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
4740 * config/cris/sfp-machine.h: New file.
4741 * config/cris/umulsidi3.S: New file.
4742 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
4743 * config/cris/arit.c (SIGNMULT): New macro.
4744 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
4745 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
4746 saving 3 out of originally 33 cycles from the fastest
4747 path, 3 out of 54 from the medium path and one from the longest
4748 path. Improve comments.
4749
16022041
RS
47502013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
4751
4752 * sync.c: Remove static aliases and define each function directly
4753 under its real name.
4754
69778659
JDA
47552013-10-02 John David Anglin <danglin@gcc.gnu.org>
4756
4757 * config.host (hppa*64*-*-linux*): Define extra_parts.
4758 (hppa*-*-linux*): Likewise.
4759
2deaf8b0
JR
47602013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
4761
4762 * config/arc/crtgend.S: Add 2013 to Copyright years.
4763 * config/arc/gmon/atomic.h: Likewise.
4764 * config/arc/gmon/auxreg.h: Likewise.
4765 * config/arc/gmon/sys/gmon_out.h: Likewise.
4766 * config/arc/gmon/sys/gmon.h: Likewise.
4767 * config/arc/gmon/prof-freq.c: Likewise.
4768 * config/arc/gmon/mcount.c: Likewise.
4769 * config/arc/gmon/prof-freq-stub.S: Likewise.
4770 * config/arc/gmon/gmon.c: Likewise.
4771 * config/arc/gmon/machine-gmon.h: Likewise.
4772 * config/arc/gmon/profil.S: Likewise.
4773 * config/arc/gmon/dcache_linesz.S: Likewise.
4774 * config/arc/crtg.S: Likewise.
4775 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
4776 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
4777 * config/arc/ieee-754/adddf3.S: Likewise.
4778 * config/arc/ieee-754/truncdfsf2.S: Likewise.
4779 * config/arc/ieee-754/fixsfsi.S: Likewise.
4780 * config/arc/ieee-754/gtsf2.S: Likewise.
4781 * config/arc/ieee-754/floatsisf.S: Likewise.
4782 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
4783 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
4784 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
4785 * config/arc/ieee-754/fixdfsi.S: Likewise.
4786 * config/arc/ieee-754/addsf3.S: Likewise.
4787 * config/arc/ieee-754/gesf2.S: Likewise.
4788 * config/arc/ieee-754/floatsidf.S: Likewise.
4789 * config/arc/ieee-754/extendsfdf2.S: Likewise.
4790 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
4791 * config/arc/ieee-754/gtdf2.S: Likewise.
4792 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
4793 * config/arc/ieee-754/uneqdf2.S: Likewise.
4794 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
4795 * config/arc/ieee-754/uneqsf2.S: Likewise.
4796 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
4797 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
4798 * config/arc/ieee-754/eqdf2.S: Likewise.
4799 * config/arc/ieee-754/ordsf2.S: Likewise.
4800 * config/arc/ieee-754/divsf3.S: Likewise.
4801 * config/arc/ieee-754/divdf3.S: Likewise.
4802 * config/arc/ieee-754/floatunsidf.S: Likewise.
4803 * config/arc/ieee-754/orddf2.S: Likewise.
4804 * config/arc/ieee-754/eqsf2.S: Likewise.
4805 * config/arc/ieee-754/gedf2.S: Likewise.
4806 * config/arc/crtn.S: Likewise.
4807 * config/arc/crti.S: Likewise.
4808 * config/arc/t-arc700-uClibc: Likewise.
4809 * config/arc/asm.h: Likewise.
4810 * config/arc/libgcc-excl.ver: Likewise.
4811 * config/arc/t-arc-newlib: Likewise.
4812 * config/arc/divtab-arc700.c: Likewise.
4813 * config/arc/initfini.c: Likewise.
4814 * config/arc/fp-hack.h: Likewise.
4815
c8e318b0
JR
48162013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
4817 Diego Novillo <dnovillo@google.com>
4818
4819 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
a07c5b47
JR
4820 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
4821 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
4822 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
c8e318b0 4823
d38a64b4
JR
48242013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
4825 Brendan Kehoe <brendan@zen.org>
4826 Simon Cook <simon.cook@embecosm.com>
4827
4828 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
4829 * config/arc: New directory.
4830 * longlong.h [__arc__] (umul_ppmm): Remove.
4831 [__arc__] (__umulsidi3): Define.
4832 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
4833 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
4834
dff717d2
JC
48352013-09-17 Jacek Caban <jacek@codeweavers.com>
4836
4837 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
4838 CreateSemaphoreA.
4839 * config/i386/gthr-win32.h: Likewise.
4840
5c0029de
DD
48412013-09-16 DJ Delorie <dj@redhat.com>
4842
844ad6c6 4843 * config/rl78/vregs.h: Add G10 register definitions.
5c0029de
DD
4844 * config/rl78/lib2mul.c: Enable for RL78/G10.
4845 * config/rl78/lib2div.c: Likewise.
4846 * config/rl78/lshrsi3.S: Use vregs.h.
4847 * config/rl78/cmpsi2.S: Likewise.
4848 * config/rl78/trampoline.S: Likewise.
4849 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
4850
ceb2fc49
DD
48512013-09-14 DJ Delorie <dj@redhat.com>
4852 Nick Clifton <nickc@redhat.com>
4853
4854 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
4855 * config/rl78/vregs.h: New.
4856 * config/rl78/signbit.S: New file. Implements signbit function.
4857 * config/rl78/divmodsi.S: New.
4858 * config/rl78/divmodhi.S: New.
4859 * config/rl78/divmodqi.S: New.
4860 * config/rl78/t-rl78: Build them here...
4861 * config/rl78/lib2div.c: ...but not here.
4862
f6a83b4a
DD
48632013-09-12 DJ Delorie <dj@redhat.com>
4864
4865 * config.host (msp*-*-elf): New.
4866 * config/msp430/: New port.
4867
9107b096
IS
48682013-08-18 Iain Sandoe <iain@codesourcery.com>
4869
4870 PR gcov-profile/58127
4871 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
4872 __thread var for emulated TLS.
4873 (__gcov_indirect_call_counters): Likewise.
4874
0f9bde1f 48752013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
61221141 4876 Catherine Moore <clm@codesourcery.com>
7d296953 4877 Richard Sandiford <rdsandiford@googlemail.com>
0f9bde1f
MR
4878
4879 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
4880 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
4881 (CALL_STUB_NO_RET): Likewise.
4882 (CALL_STUB_RET): Likewise.
4883 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
4884 __mips16_ret call/return stub symbols.
4885 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
4886 to tmake_file.
4887
2dc14aac
MR
48882013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
4889
4890 * config.host <mips*-*-linux*>: Remove a stray comment.
4891
748d71f3
JH
48922013-08-10 Jan Hubicka <jh@suse.cz>
4893
4894 Work around binutils PR14342
4895 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
4896 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
4897 (L_gcov_indirect_call_profiler_v2): New.
4898
2fa3d31b
JH
48992013-08-06 Jan Hubicka <jh@suse.cz>
4900
4901 * libgcov.c (__gcov_indirect_call_callee,
4902 __gcov_indirect_call_counters): New global vars.
4903 (__gcov_indirect_call_profiler): replace by ...
4904 (__gcov_indirect_call_profiler_v2) ... this one.
4905
2077db1b
CT
49062013-08-06 Caroline Tice <cmtice@google.com>
4907
d0595b65 4908 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
2077db1b 4909 vtv_start_preinit.o and vtv_end_preinit.o.
d0595b65
CT
4910 * configure.ac: Add code to check/set enable_vtable_verify.
4911 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
2077db1b 4912 true.
d0595b65
CT
4913 * vtv_start_preinit.c: New file.
4914 * vtv_end_preinit.c: New file.
4915 * vtv_start.c: New file.
4916 * vtv_end.c: New file.
4917 * configure: Regenerated.
2077db1b 4918
46549c20
MK
49192013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
4920
4921 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
4922 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
4923 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
4924 GPL-3.0-with-GCC-exception.
4925
72be589b
MR
49262013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
4927
4928 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
4929 ISA and up.
4930
902a3faf
AK
49312013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4932
4933 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
4934 mapping for FPRs when creating the fallback framestate.
4935
02371798
GJL
49362013-07-19 Georg-Johann Lay <avr@gjlay.de>
4937
4938 PR target/57516
4939 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
4940 (__round_s2_const, __round_u2_const)
4941 (__round_s4_const, __round_u4_const, __round_x8):
4942 Saturate result if addition result cannot be represented.
4943
ab0e8379
MK
49442013-07-15 Matthias Klose <doko@ubuntu.com>
4945
4946 * libgcc2.c: Don't include <limits.h>.
4947
7da38058
JJ
49482013-07-09 Janis Johnson <janisjo@codesourcery.com>
4949
4950 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
4951
1f6eac90
JJ
49522013-07-06 Jakub Jelinek <jakub@redhat.com>
4953
4954 PR target/29776
4955 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
4956
4ea3d774
JJ
49572013-06-28 Jakub Jelinek <jakub@redhat.com>
4958
4959 PR middle-end/36041
4960 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
4961 Define.
4962 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
4963 instead of table lookups.
4964 (__popcountDI2): Likewise.
4965
9d2cdf25
CJW
49662013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
4967
4968 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
4969 correctly.
4970
fa1e55b0
JM
49712013-06-21 Joseph Myers <joseph@codesourcery.com>
4972
4973 PR other/53317
4974 * soft-fp/adddf3.c: Update from glibc.
4975 * soft-fp/addsf3.c: Likewise.
4976 * soft-fp/addtf3.c: Likewise.
4977 * soft-fp/divdf3.c: Likewise.
4978 * soft-fp/divsf3.c: Likewise.
4979 * soft-fp/divtf3.c: Likewise.
4980 * soft-fp/double.h: Likewise.
4981 * soft-fp/eqdf2.c: Likewise.
4982 * soft-fp/eqsf2.c: Likewise.
4983 * soft-fp/eqtf2.c: Likewise.
4984 * soft-fp/extenddftf2.c: Likewise.
4985 * soft-fp/extended.h: Likewise.
4986 * soft-fp/extendsfdf2.c: Likewise.
4987 * soft-fp/extendsftf2.c: Likewise.
4988 * soft-fp/fixdfdi.c: Likewise.
4989 * soft-fp/fixdfsi.c: Likewise.
4990 * soft-fp/fixsfdi.c: Likewise.
4991 * soft-fp/fixsfsi.c: Likewise.
4992 * soft-fp/fixtfdi.c: Likewise.
4993 * soft-fp/fixtfsi.c: Likewise.
4994 * soft-fp/fixunsdfdi.c: Likewise.
4995 * soft-fp/fixunsdfsi.c: Likewise.
4996 * soft-fp/fixunssfdi.c: Likewise.
4997 * soft-fp/fixunssfsi.c: Likewise.
4998 * soft-fp/fixunstfdi.c: Likewise.
4999 * soft-fp/fixunstfsi.c: Likewise.
5000 * soft-fp/floatdidf.c: Likewise.
5001 * soft-fp/floatdisf.c: Likewise.
5002 * soft-fp/floatditf.c: Likewise.
5003 * soft-fp/floatsidf.c: Likewise.
5004 * soft-fp/floatsisf.c: Likewise.
5005 * soft-fp/floatsitf.c: Likewise.
5006 * soft-fp/floatundidf.c: Likewise.
5007 * soft-fp/floatundisf.c: Likewise.
5008 * soft-fp/floatunditf.c: Likewise.
5009 * soft-fp/floatunsidf.c: Likewise.
5010 * soft-fp/floatunsisf.c: Likewise.
5011 * soft-fp/floatunsitf.c: Likewise.
5012 * soft-fp/gedf2.c: Likewise.
5013 * soft-fp/gesf2.c: Likewise.
5014 * soft-fp/getf2.c: Likewise.
5015 * soft-fp/ledf2.c: Likewise.
5016 * soft-fp/lesf2.c: Likewise.
5017 * soft-fp/letf2.c: Likewise.
5018 * soft-fp/muldf3.c: Likewise.
5019 * soft-fp/mulsf3.c: Likewise.
5020 * soft-fp/multf3.c: Likewise.
5021 * soft-fp/negdf2.c: Likewise.
5022 * soft-fp/negsf2.c: Likewise.
5023 * soft-fp/negtf2.c: Likewise.
5024 * soft-fp/op-1.h: Likewise.
5025 * soft-fp/op-2.h: Likewise.
5026 * soft-fp/op-4.h: Likewise.
5027 * soft-fp/op-8.h: Likewise.
5028 * soft-fp/op-common.h: Likewise.
5029 * soft-fp/quad.h: Likewise.
5030 * soft-fp/single.h: Likewise.
5031 * soft-fp/soft-fp.h: Likewise.
5032 * soft-fp/subdf3.c: Likewise.
5033 * soft-fp/subsf3.c: Likewise.
5034 * soft-fp/subtf3.c: Likewise.
5035 * soft-fp/truncdfsf2.c: Likewise.
5036 * soft-fp/trunctfdf2.c: Likewise.
5037 * soft-fp/trunctfsf2.c: Likewise.
5038 * soft-fp/unorddf2.c: Likewise.
5039 * soft-fp/unordsf2.c: Likewise.
5040 * soft-fp/unordtf2.c: Likewise.
5041 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
5042 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5043 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5044 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5045 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5046 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5047 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5048 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5049 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5050 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
5051 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
5052 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5053
0de86a92
JU
50542013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
5055
5056 * config/mips/lib2funcs.c: New file.
5057 * config/mips/t-mips (LIB2ADD_ST): Add it.
5058
0d008882
OE
50592013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
5060
5061 PR target/6526
5062 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
5063 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
5064
776434d1
WL
50652013-06-08 Walter Lee <walt@tilera.com>
5066
5067 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
5068 Replace int64_t with long long. Add __extension__ where
5069 appropriate.
5070 * config/tilepro/atomic.c: Include config.h.
5071
6ab3ebb4
DR
50722013-06-06 Douglas B Rupp <rupp@adacore.com>
5073
5074 * config.host (arm-wrs-vxworks): Configure with other soft float.
5075
107eea2c
JU
50762013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
5077
5078 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
5079 (mips64r5900el-*-elf*): New configurations.
5080
5cc19c62
AM
50812013-06-04 Alan Modra <amodra@gmail.com>
5082
5083 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
5084
0f1d3965
YR
50852013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
5086
5087 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
5088
0ba045df
EB
50892013-05-28 Eric Botcazou <ebotcazou@adacore.com>
5090
5091 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
5092 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
5093 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
5094
49dcafd4
EB
50952013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5096
5097 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
5098 (powerpc-wrs-vxworks): Likewise.
5099
4fcb5d87
EB
51002013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5101
5102 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
5103 signal frames as well.
5104 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
5105 STACK_BIAS to the CFA offset.
5106
0ec33224
RH
51072013-05-17 Richard Henderson <rth@redhat.com>
5108
5109 PR target/49146
5110 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
5111 (execute_cfa_program): Use it when storing to fs->regs.
5112
492a8029
KT
51132013-05-08 Kai Tietz <ktietz@redhat.com>
5114
5115 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
5116 (__deregister_frame_info): Likewise.
5117
701e2f0a
TS
51182013-05-06 Thomas Schwinge <thomas@codesourcery.com>
5119
e5123d08
TS
5120 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
5121 NaN's payload.
5122
701e2f0a
TS
5123 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
5124
b9a7eb5d
AM
51252013-04-25 Alan Modra <amodra@gmail.com>
5126
5127 * config.host: Match little-endian powerpc-linux.
5128
dfe192f5
YZ
51292013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
5130
5131 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
5132 as 'unsigned long long' instead of 'unsigned long'.
5133 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
5134 'signed long'.
5135
b6b9af2f
JB
51362013-04-10 Julian Brown <julian@codesourcery.com>
5137
5138 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
5139 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
5140 unsigned char/unsigned short.
5141 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
5142
ecabdd00
JDA
51432013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5144
5145 PR other/55274
5146 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
5147
34652576
MI
51482013-04-04 Meador Inge <meadori@codesourcery.com>
5149
5150 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
5151 computing the location of the link register.
5152 (aeabi_uldivmod): Ditto.
5153
e9fd8c19
KT
51542013-03-27 Kai Tietz <ktietz@redhat.com>
5155
5156 * config.host: Add support for cygwin x64 target.
5157 * configure: Regenerated.
5158
a6406324
WL
51592013-03-26 Walter Lee <walt@tilera.com>
5160
5161 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
5162 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
5163
55446c7e
KT
51642013-03-25 Kai Tietz <ktietz@redhat.com>
5165
5166 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
5167
d2ae19d9
RM
51682013-03-20 Robert Mason <rbmj@verizon.net>
5169
5170 * config/vxlib-tls.c (__gthread_get_tsd_data,)
5171 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
5172 (__gthread_leave_tsd_dtor_context): Add prototypes.
5173 (tls_delete_hook): Update.
5174
22c4c869
CM
51752013-03-20 Catherine Moore <clm@codesourcery.com>
5176 Joseph Myers <joseph@codesourcery.com>
5177 Chao-ying Fu <fu@mips.com>
5178
5179 * config/mips/mips16.S: Don't build for microMIPS.
5180 * config/mips/linux-unwind.h: Handle microMIPS frame.
5181 * config/mips/crtn.S (fini, init): New labels.
5182
fbd28bc3
JJ
51832013-03-14 Jakub Jelinek <jakub@redhat.com>
5184
5185 PR tree-optimization/53265
5186 * unwind-dw2.c (execute_cfa_program): Avoid
5187 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
5188 on targets with DWARF_FRAME_REGISTERS < 32.
5189
decc676e
OE
51902013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
5191
5192 PR target/49880
5193 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
5194 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
5195
84ea618a
ST
51962013-03-07 Sriraman Tallam <tmsriram@google.com>
5197
5198 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
5199 sandybridge processors.
5200
8f6d1c86
OE
52012013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
5202
5203 PR target/56529
5204 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
5205 inclusion list.
5206
ecdbd01a 52072013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
409b1de4
EI
5208
5209 * config/microblaze/crti.S: Setup stack protection at entry
5210
0b4ce21b
GJL
52112013-03-04 Georg-Johann Lay <avr@gjlay.de>
5212
5213 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
5214 (__rotldi3): Shift bytewise if applicable.
5215
b7c3f1ca
JG
52162013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
5217
5218 * config/aarch64/sync-cache.c
5219 (__aarch64_sync_cache_range): Silence warnings.
5220
6d65e8f1
CM
52212013-02-25 Catherine Moore <clm@codesourcery.com>
5222
5223 Revert:
5224 2013-02-24 Catherine Moore <clm@codesourcery.com>
5225 Joseph Myers <joseph@codesourcery.com>
5226 Chao-ying Fu <fu@mips.com>
5227
5228 * config/mips/mips16.S: Don't build for microMIPS.
5229 * config/mips/linux-unwind.h: Handle microMIPS frame.
5230 * config/mips/crtn.S (fini, init): New labels.
5231
6941b508
CM
52322013-02-24 Catherine Moore <clm@codesourcery.com>
5233 Joseph Myers <joseph@codesourcery.com>
5234 Chao-ying Fu <fu@mips.com>
5235
5236 * config/mips/mips16.S: Don't build for microMIPS.
5237 * config/mips/linux-unwind.h: Handle microMIPS frame.
5238 * config/mips/crtn.S (fini, init): New labels.
5239
7c422dbb 52402012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
cc86234f 5241 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7c422dbb
EI
5242 as dividend.
5243
110207ad
AM
52442013-02-16 Alan Modra <amodra@gmail.com>
5245
5246 PR target/55431
5247 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
5248 (ppc_fallback_frame_state): Always set up save locations for fp
5249 and altivec. Don't bother with non-callee-saved regs, r0-r13
5250 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
5251
e68a4ef6
GJL
52522013-02-12 Georg-Johann Lay <avr@gjlay.de>
5253
5254 PR target/54222
5255 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
5256 _ssmulHA, _ssmulSA.
5257 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
5258 _ssmulha3, _usmulusa3, _ssmulsa3.
5259 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
5260 (__muldi3): XCALL __muldi3_6 instead of rcall.
5261 (__umulsidi3, __mulsidi3): New functions.
5262 (do_prologue_saves, do_epilogue_restores): New .macros.
5263 (__divdi3_moddi3): Use them.
5264 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
5265 (__usmulusa3, __ssmulsa3): New functions.
5266
6c59ffd1
IS
52672013-02-11 Iain Sandoe <iain@codesourcery.com>
5268 Jack Howarth <howarth@bromo.med.uc.edu>
5269 Patrick Marlier <patrick.marlier@gmail.com>
5270
5271 PR libitm/55693
5272 * config/darwin-crt-tm.c: Remove dummy functions hack.
5273
85d768f3
GJL
52742013-02-08 Georg-Johann Lay <avr@gjlay.de>
5275
5276 PR target/54222
5277 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
5278 * config/avr/lib2-object.mk: New iterator to build objects from it.
5279 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
5280 lib2funcs.c.
5281 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
5282 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
5283 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
5284 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
5285 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
5286 * config/avr/lib1funcs-fixed.S: Implement them.
5287
5d5bf775
RS
52882013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
5289
5290 Update copyright years.
5291
99113dff
DE
52922013-02-01 David Edelsohn <dje.gcc@gmail.com>
5293
5294 PR target/54601
5295 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
5296 Add crtcxa to extra_parts.
5297 * config/rs6000/exit.h: New file.
5298 * config/rs6000/cxa_atexit.c: New file.
5299 * config/rs6000/cxa_finalize.c: New file.
5300 * config/rs6000/crtcxa.c: New file.
5301 * config/rs6000/t-aix-cxa: New file.
5302 * config/rs6000/libgcc-aix-cxa.ver: New file.
5303
dbdbd982
NC
53042013-01-31 Nick Clifton <nickc@redhat.com>
5305
5306 * config/v850/lib1funcs.S: Add support for e3v5 architecture
5307 variant.
5308
5893f158
GJL
53092013-01-29 Georg-Johann Lay <avr@gjlay.de>
5310
5311 PR target/54222
5312 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
5313 _mulQQ, _mulHQ, _mulHA, _mulSA,
5314 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
5315 _divQQ, _divHQ, _divHA, _divSA,
5316 _divUQQ, _divUHQ, _divUHA, _divUSA.
5317
ecdbd01a 53182013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
fbf0cf90 5319
dbdbd982 5320 * config.host(microblaze*-linux*): tmake_file: Remove
fbf0cf90
DH
5321 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
5322 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
5323 to exclude functions from being built with libgcc.c and use
5324 the microblaze assembly.
5325
ecdbd01a 53262013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6f14eef2
EI
5327
5328 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
5329 extra_parts.
5330
922c57d1
YZ
53312013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
5332
5333 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
5334 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
5335 __UINTPTR_TYPE__; also cast 'base' to the same type before the
5336 alignment operation.
5337
e0f8b6a0
SN
53382013-01-15 Sofiane Naci <sofiane.naci@arm.com>
5339
5340 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
5341 loop start address for cache clearing.
5342
00892272
GJL
53432013-01-14 Georg-Johann Lay <avr@gjlay.de>
5344
5345 * config/avr/lib1funcs.S: Remove trailing blanks.
5346 * config/avr/lib1funcs-fixed.S: Ditto.
5347
e59ec5fd
GJL
53482013-01-14 Georg-Johann Lay <avr@gjlay.de>
5349
5350 * config/avr/avr-lib.h: Add GPL copyright notice.
5351
3ffc1958
GJL
53522013-01-14 Georg-Johann Lay <avr@gjlay.de>
5353
5354 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
5355 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
5356 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
5357 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
5358
25c210f9
MK
53592013-01-07 Mark Kettenis <kettenis@openbsd.org>
5360
5361 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
5362 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
2bc15360 5363
db59befb
NC
53642013-01-04 Nick Clifton <nickc@redhat.com>
5365
5366 * config/v850/lib1funcs.S: Only provide CALLT support functions if
5367 the CALLT instruction is supported.
5368
5aa12dbf
JW
53692012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
5370
5371 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
5372 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
5373
65f14117
JT
53742012-12-13 John Tytgat <John@bass-software.com>
5375
5376 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
5377 is 25.
5378
ee3ae4f7
JJ
53792012-12-12 Jakub Jelinek <jakub@redhat.com>
5380
5381 PR libgcc/55451
5382 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
5383 undefined signed overflows.
5384
2fcfba3d
UB
53852012-12-09 Uros Bizjak <ubizjak@gmail.com>
5386
5387 PR target/55344
5388 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
5389
4f2b3dc2
UB
53902012-12-06 Uros Bizjak <ubizjak@gmail.com>
5391
5392 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
5393 (FP_TRAPPING_EXCEPTIONS): Define.
5394 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
5395 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
5396
066161a2
RH
53972012-12-04 Richard Henderson <rth@redhat.com>
5398
5399 PR bootstrap/55571
5400 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
5401
7d296953 54022012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
25626181 5403
4f2b3dc2 5404 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
25626181
MS
5405 (FP_EX_SHIFT): Define.
5406 (FP_TRAPPING_EXCEPTIONS): Define.
5407
7d296953 54082012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
868395e8
MS
5409
5410 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
5411 (FP_ROUNDMODE): Use FP_RND_MASK.
5412 * config/aarch64/sfp-exceptions.c: New.
5413 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5414 Use __sfp_handle_exceptions.
5415
5005fe22
RE
54162012-12-04 Richard Earnshaw <rearnsha@arm.com>
5417
5418 * config.host: (arm*-*-freebsd*): Remove.
5419 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
5420 (arm*-*-elf*): Remove.
5421 (arm*-*-wince-pe*): Remove.
5422 * arm/unwind-arm.c (struct fpa_reg): Delete.
5423 (struct fpa_regs): Delete.
5424 (phase1_vrs): Remove fpa element.
5425 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
5426 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
5427 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
5428 * ieee754-sf.S (floatundisf): Remove FPA support.
5429 (floatdisf): Likewise.
5430 * ieee75f-df.S (floatundidf): Likewise.
5431 (floatdidf): Likewise.
5432
e5a81c8e
KT
54332012-11-29 Kai Tietz <ktietz@redhat.com>
5434
5435 PR target/55445
5436 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
5437 * unwind-generic.h: Likewise.
5438 * unwind-seh.c: Likewise.
5439
f4919e4a
RH
54402012-11-28 Richard Henderson <rth@redhat.com>
5441
5442 PR libgcc/48076
5443 * emutls.c (__emutls_get_address): Avoid race condition between
5444 obj->loc.offset read and emutls_key initialization.
4f2b3dc2 5445
e13d9d5a
GJL
54462012-11-22 Georg-Johann Lay <avr@gjlay.de>
5447
5448 Adjust decimal point of signed accum mode to GCC default.
5449
5450 PR target/54222
5451 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
5452 _divqq_helper.
5453 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
5454 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
5455 (__mulha3, __mulsa3)
5456 (__divqq3, __divha3, __divsa3): Adjust to new position of
4f2b3dc2
UB
5457 decimal point of signed accum types.
5458
e13d9d5a
GJL
5459 (__mulusa3_round): New function.
5460 (__mulusa3): Use it.
5461 (__divqq_helper): New function.
5462 (__udivuqq3): Use it.
5463
1b845c6e
JJ
54642012-11-20 Jakub Jelinek <jakub@redhat.com>
5465
5466 PR bootstrap/55370
5467 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
5468
822a258a
TJ
54692012-11-18 Teresa Johnson <tejohnson@google.com>
5470
5471 PR bootstrap/55051
5472 * libgcov.c (gcov_exit): Remove merged program summary
5473 comparison unless !GCOV_LOCKED.
5474
7d296953 54752012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
54f4eaf0
MS
5476
5477 * soft-fp: Updated from glibc upstream.
5478
e808687a
ILT
54792012-11-06 Ian Lance Taylor <iant@google.com>
5480
5481 * generic-morestack.c (__generic_morestack): Align the returned
5482 stack pointer to a 32 byte boundary.
5483 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
5484 increment the return address until we have decided that we don't
5485 have a varargs function.
5486 (__morestack) [32-bit]: Align stack correctly when calling C
5487 functions.
5488 (__morestack) [64-bit]: Likewise.
5489
460277e0
TS
54902012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5491
5492 * configure: Regenerate.
5493
73edb277
UB
54942012-11-02 Uros Bizjak <ubizjak@gmail.com>
5495
5496 PR target/55175
5497 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
5498 * config/i386/sfp-machine.h: Guard exception handling
5499 code with _SOFT_FLOAT.
5500 * config/i386/32/sfp-machine.h: Guard rounding handling
5501 code with _SOFT_FLOAT.
5502 * config/i386/64/sfp-machine.h: Ditto.
5503
c1d4fa04
JS
55042012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
5505
5506 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
5507 as extra_parts.
5508
eff6ca85
UB
55092012-10-26 Uros Bizjak <ubizjak@gmail.com>
5510
5511 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
5512 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
5513 when appropriate. Correct structure element types.
5514 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
5515 -minline-all-stringops from compile flags.
5516
7d296953 55172012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
43a8f1a1
RC
5518
5519 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
5520
7d296953 55212012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
76c78361 5522
eff6ca85 5523 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
76c78361 5524
6f288860
SH
55252012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
5526
5527 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
5528 tmake_file.
5529
1e3d5096
IB
55302012-10-23 Ian Bolton <ian.bolton@arm.com>
5531 Jim MacArthur <jim.macarthur@arm.com>
5532 Marcus Shawcroft <marcus.shawcroft@arm.com>
5533 Nigel Stephens <nigel.stephens@arm.com>
5534 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
5535 Richard Earnshaw <rearnsha@arm.com>
5536 Sofiane Naci <sofiane.naci@arm.com>
5537 Stephen Thomas <stephen.thomas@arm.com>
5538 Tejas Belagod <tejas.belagod@arm.com>
5539 Yufeng Zhang <yufeng.zhang@arm.com>
5540
5541 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
5542 * config/aarch64/crti.S: New file.
5543 * config/aarch64/crtn.S: New file.
5544 * config/aarch64/linux-unwind.h: New file.
5545 * config/aarch64/sfp-machine.h: New file.
5546 * config/aarch64/sync-cache.c: New file.
5547 * config/aarch64/t-aarch64: New file.
5548 * config/aarch64/t-softfp: New file.
5549
8a740f07
HPN
55502012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
5551
5552 * config/mmix/crti.S: Mark program and data addresses using PRELD.
5553 Remove typo'd and unnecessary alignment-LOC for .data. Remove
5554 no-longer-needed LDBU insns.
5555
7d296953 55562012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
153c8397
SH
5557
5558 * config.host
5559 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
5560 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
5561
595fefee
MGD
55622012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
5563
5564 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
5565
9945a876
MK
55662012-10-15 Matthias Klose <doko@ubuntu.com>
5567
5568 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
5569
1183dc2c
PC
55702012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
5571
5572 * configure: Regenerate.
5573 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
5574
945a9c1f
UB
55752012-10-10 Uros Bizjak <ubizjak@gmail.com>
5576
5577 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
5578 instructions for 64bit targets only.
5579
fb8bf47a
UB
55802012-10-10 Uros Bizjak <ubizjak@gmail.com>
5581
5582 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5583 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
5584 * config/i386/32/sfp-machine.h: ... here.
5585 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
5586 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
5587 New defines.
5588
acb72498
MK
55892012-10-07 Matthias Klose <doko@ubuntu.com>
5590
5591 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
5592 as unused.
5593 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
5594
8eaee0f0
MK
55952012-10-06 Mark Kettenis <kettenis@openbsd.org>
5596
5597 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
5598 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
5599 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
5600 (ElfW): Likewise.
5601
5e3e4fe8
JW
56022012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
5603
5604 PR other/53889
5605 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5606 Fix parameter names.
5607
86086376
OE
56082012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
5609
5610 PR target/33135
5611 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
5612 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
5613 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
5614
9597375a
OE
56152012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
5616
5617 PR target/50457
5618 * config/sh/linux-atomic.S: Delete.
5619 * config/sh/linux-atomic.c: New.
5620 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
5621 linux-atomic.c. Add cflags to disable warnings.
5622
1504e3e1
JW
56232012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
5624
5625 PR other/53889
5626 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
5627 function.
5628 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
5629 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
5630 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
5631 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5e3e4fe8
JW
5632 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
5633 Likewise.
1504e3e1
JW
5634 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5635 Likewise.
5636 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
5637 Likewise.
5638 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
5639 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
5640
17f293b0
MK
56412012-09-19 Mark Kettenis <kettenis@openbsd.org>
5642
9597375a
OE
5643 * config.host (hppa-*-openbsd*): New target.
5644 * config/pa/t-openbsd: New file.
17f293b0 5645
51526856
GJL
56462012-09-15 Georg-Johann Lay <avr@gjlay.de>
5647
5648 PR target/54222
5649 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
5650 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
5651 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
5652 (__divsa3): Use __negsi2 to negate r_quoL.
5653 * config/avr/lib1funcs.S (FALIAS): New macro.
5654 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
5655 (__negsi2): ...this new function.
5656 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
5657 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
5658 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
5659 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
5660 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
5661 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
5662
aadb5b43
OE
56632012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
5664
5665 PR target/54089
5666 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
5667 (lshrsi3): Reimplement as lshrsi3_r0.
5668
d5d66749
AS
56692012-09-10 Andreas Schwab <schwab@linux-m68k.org>
5670
5671 PR target/46191
5672 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
5673 of libgcc.a.
5674
c6c36e73
TJ
56752012-09-07 Teresa Johnson <tejohnson@google.com>
5676
9597375a 5677 PR gcov-profile/54487
c6c36e73 5678 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9597375a 5679 differences.
c6c36e73 5680
b588ae30
GJL
56812012-09-05 Georg-Johann Lay <avr@gjlay.de>
5682
5683 PR target/54461
5684 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
5685 not configured --with-avrlibc=no.
5686 * config/avr/t-avrlibc: New file.
5687 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
5688 (DPBIT_FUNCS): Ditto.
5689 (TPBIT_FUNCS): Ditto.
5690
abd16fb1
TJ
56912012-09-04 Teresa Johnson <tejohnson@google.com>
5692
5693 * libgcov.c (struct gcov_summary_buffer): New structure.
5694 (gcov_histogram_insert): New function.
5695 (gcov_compute_histogram): Ditto.
5696 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
5697 histograms during summary merging.
5698
613061fd
MK
56992012-09-01 Mark Kettenis <kettenis@openbsd.org>
5700
5701 * config.host (x86_64-*-openbsd*): New target.
73edb277 5702
867a8345
CLT
57032012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
5704
5705 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
5706 attribute.
5707
4aeaaca3
GJL
57082012-08-24 Georg-Johann Lay <avr@gjlay.de>
5709
5710 PR target/54222
5711 * config/avr/t-avr (conv_X): Rename to func_X.
5712
e55e4056
GJL
57132012-08-24 Georg-Johann Lay <avr@gjlay.de>
5714
5715 PR target/54222
5716 * config/avr/lib1funcs-fixed.S: New file.
5717 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
5718 after they are used.
5719 (neg2, neg4): New macros.
5720 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
5721 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
5722 (__umulhisi3): Speed up MUL variant if there is enough flash.
5723 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
5724 avr-modes.def.
5725 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
5726 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
5727 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
5728 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
5729 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
5730 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
5731 (LIB2FUNCS_EXCLUDE): Add supported functions.
5732
a147b6d2
GJL
57332012-08-22 Georg-Johann Lay <avr@gjlay.de>
5734
5735 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
5736 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
5737 libgcc-s-objects.
5738 * fixed-obj.mk: Only expand dependency if $o is not in
5739 LIB2FUNCS_EXCLUDE.
5740
c637141a
L
57412012-08-22 H.J. Lu <hongjiu.lu@intel.com>
5742
5743 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
5744
130e00bd
JM
57452012-08-22 Joseph Myers <joseph@codesourcery.com>
5746
5747 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
5748 depend on --enable-shared.
5749 ($(lib1asmfuncs-o)): Use %.vis files independent of
5750 --enable-shared.
5751 * static-object.mk ($(base)$(objext), $(base).vis)
5752 ($(base)_s$(objext)): Use same rules for visibility handling as in
5753 shared-object.mk.
5754
4b1b3788
ILT
57552012-08-21 Ian Lance Taylor <iant@google.com>
5756
5757 * config/i386/morestack.S (__morestack_non_split): Increase amount
5758 of space allocated for non-split code stack.
5759
d2468141
JM
57602012-08-19 Joseph Myers <joseph@codesourcery.com>
5761
5762 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
5763 even if inhibit_libc.
5764
a508e1a8
JB
57652012-08-17 Julian Brown <julian@codesourcery.com>
5766
5767 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
5768 -fexceptions -fnon-call-exceptions if not defined.
5769 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
5770 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
5771
5615a07d
AS
57722012-08-17 Andreas Schwab <schwab@linux-m68k.org>
5773
5774 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
5775 type.
5776
138f5acd
DE
57772012-08-16 David Edelsohn <dje.gcc@gmail.com>
5778
5779 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
5780 rs6000/t-slibgcc-aix.
5781
18efc0dd
SB
57822012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
5783
5784 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
5785
6b39bc38
SB
57862012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
5787
5788 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
5789
cd25dea0
L
57902012-08-03 H.J. Lu <hongjiu.lu@intel.com>
5791
5792 PR driver/54171
5793 * Makefile.in (version): Replace top_srcdir with srcdir.
5794
a3dda30b
JY
57952012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
5796
5797 * Makefile.in (version): set to BASE-VER file from gcc directory.
5798
d04aacfc
NC
57992012-08-01 Nick Clifton <nickc@redhat.com>
5800
5801 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
5802 Implements __clrsb for an HImode argument.
5803
0d13c974
NC
58042012-07-31 Nick Clifton <nickc@redhat.com>
5805
5806 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
5807 Implements __clrsb for an HImode argument.
5808 * config/stormy16/clrsbhi2.c: New file:
5809 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
5810
efbb59b2
SB
58112012-07-22 Steven Bosscher <steven@gcc.gnu.org>
5812
5813 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
5814
bf1431e3
TG
58152012-07-19 Tristan Gingold <gingold@adacore.com>
5816 Richard Henderson <rth@redhat.com>
5817
5818 * unwind-seh.c: New file.
5819 * unwind-generic.h: Include windows.h for SEH.
5820 (_Unwind_Exception): Use 6 private fields for SEH.
5821 (_GCC_specific_handler): Declare.
5822 * unwind-c.c (__gcc_personality_seh0): New function.
5823 Adjust for SEH.
5824 * config/i386/libgcc-cygming.ver: New file.
5825 * config/i386/t-seh-eh: New file.
5826 * config.host (x86_64-*-mingw*): Default to seh.
5827
659140c8
SB
58282012-07-14 Steven Bosscher <steven@gcc.gnu.org>
5829
5830 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
5831
a20d08fd
UB
58322012-06-17 Uros Bizjak <ubizjak@gmail.com>
5833
5834 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
5835 __builtin_expect when checking for exceptions.
5836 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
5837
79261115
UB
58382012-06-13 Uros Bizjak <ubizjak@gmail.com>
5839
4a172156
UB
5840 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
5841 function declaration.
5842 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
5843 (FP_RND_MASK): New.
5844 * config/ia64/sfp-exceptions.c: New.
5845 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
79261115 5846
bb5c97d4
UB
58472012-06-13 Uros Bizjak <ubizjak@gmail.com>
5848
5849 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
5850 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
5851 * config/i386/64/sfp-machine: ... (delete here) ...
5852 * config/i386/sfp-machine.h: ... to here.
5853 (FP_EX_MASK): Remove.
5854 (FP_RND_MASK): New.
5855 (FP_INIT_ROUNDMODE): Declare asm as volatile.
5856
91fe5efb
ST
58572012-06-11 Sriraman Tallam <tmsriram@google.com>
5858
5859 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
5860 * config/i386/libgcc-sol2.ver: Ditto.
5861 * config/i386/libgcc-glibc.ver: Ditto.
5862
67a218c5
RM
58632012-06-11 Roland McGrath <mcgrathr@google.com>
5864
5865 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
5866 If __GLIBC__ is defined, refer to __pthread_key_create instead of
5867 pthread_cancel.
5868
492fbea1
UB
58692012-06-09 Uros Bizjak <ubizjak@gmail.com>
5870
5871 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
5872 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
5873 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
5874 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5875 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
5876 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
5877 * config/i386/64/sfp-machine: ... (delete here) ...
5878 * config/i386/sfp-machine.h: ... to here.
5879 (FP_EX_MASK): New.
5880 (__sfp_handle_exceptions): New function declaration.
5881 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
5882 * config/i386/sfp-exceptions.c: New.
5883 * config/i386/t-softfp: New.
5884 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
5885 i386/t-softfp to tmake_file.
5886
7b4cf266
DM
58872012-06-03 David S. Miller <davem@davemloft.net>
5888
5889 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
5890 change.
5891
0de0d5c6
DM
58922012-05-31 David S. Miller <davem@davemloft.net>
5893
5894 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
5895 multiply and divide instructions on 32-bit when V9.
5896 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
5897
d8c9d391
JM
58982012-05-29 Joseph Myers <joseph@codesourcery.com>
5899
5900 * config/arm/ieee754-df.S: Fix typos.
5901 * config/arm/ieee754-sf.S: Fix typos.
5902 * config/c6x/libunwind.S: Fix typos.
5903 * config/epiphany/udivsi3-float.c: Fix typos.
5904 * config/microblaze/muldi3_hard.S: Fix typos.
5905 * config/picochip/adddi3.S: Fix typos.
5906 * config/picochip/ashlsi3.S: Fix typos.
5907 * config/picochip/ashrsi3.S: Fix typos.
5908 * config/picochip/clzsi2.S: Fix typos.
5909 * config/picochip/cmpsi2.S: Fix typos.
5910 * config/picochip/divmod15.S: Fix typos.
5911 * config/picochip/divmodhi4.S: Fix typos.
5912 * config/picochip/divmodsi4.S: Fix typos.
5913 * config/picochip/longjmp.S: Fix typos.
5914 * config/picochip/lshrsi3.S: Fix typos.
5915 * config/picochip/parityhi2.S: Fix typos.
5916 * config/picochip/popcounthi2.S: Fix typos.
5917 * config/picochip/setjmp.S: Fix typos.
5918 * config/picochip/subdi3.S: Fix typos.
5919 * config/picochip/ucmpsi2.S: Fix typos.
5920 * config/picochip/udivmodhi4.S: Fix typos.
5921 * config/picochip/udivmodsi4.S: Fix typos.
5922 * config/spu/divv2df3.c: Fix typos.
5923 * config/spu/mfc_multi_tag_release.c: Fix typos.
5924 * config/spu/mfc_tag_release.c: Fix typos.
5925 * configure.ac: Fix typos.
5926 * configure: Regenerate.
5927
31a18a7e
ILT
59282012-05-25 Ian Lance Taylor <iant@google.com>
5929
5930 * config/i386/morestack.S (__morestack_non_split): Check whether
5931 caller is varargs and needs %bp to hold the stack frame on return.
5932
c5768510
OH
59332012-05-25 Olivier Hainque <hainque@adacore.com>
5934
5935 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
5936 sequence in the non pic case on VxWorks.
5937
7c7c339b
OH
59382012-05-24 Olivier Hainque <hainque@adacore.com>
5939
73fb7630 5940 * Makefile.in: Move dependency on install-unwind_h from
7c7c339b
OH
5941 "install-leaf" to "install".
5942
fdc1b7d3
OH
59432012-05-24 Olivier Hainque <hainque@adacore.com>
5944
5945 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
5946 Use a separate command for stamp removals.
5947
07ba94b9
AP
59482012-05-21 Andrew Pinski <apinski@cavium.com>
5949
5950 PR bootstrap/53183
5951 * configure.ac: Define the default includes to being none.
5952 * configure: Regenerate.
5953
4677d2eb
OH
59542012-05-16 Olivier Hainque <hainque@adacore.com>
5955
5956 * Makefile.in (install-unwind_h): Rename into ...
5957 (install-unwind_h-forbuild): New target.
5958 (all): Use it instead of the former install-unwind_h.
5959 (install-unwind_h): Reinstate, copy to user install destination
5960 for include files, not to the internal gcc object directory one.
5961 (install-leaf): Depend on it.
5962
7d67c380
OH
59632012-05-15 Olivier Hainque <hainque@adacore.com>
5964
5965 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
5966 register numbers. LR_REGNO replaces R_LR.
5967 (ucontext_for): New, helper for ...
5968 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
5969 and 5.3 of ...
5970 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
5971
aca06c90
RO
59722012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5973
5974 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
5975 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
5976 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
5977 i386/t-cpuinfo ...
5978 (i[34567]86-*-*, x86_64-*-*): ... here.
5979
5980 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
5981 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
5982
5983 * config/i386/i386-cpuinfo.c: Rename to ...
5984 * config/i386/cpuinfo.c: ... this.
5985 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
5986
5987 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
5988 (libgcc_cv_init_priority): New test.
5989 * configure: Regenerate.
5990 * config.in: New file.
5991 * Makefile.in (clean): Rename config.h to auto-target.h.
5992 (config.h): Likewise.
5993 (stamp-h): Likewise.
5994
5995 * config/i386/cpuinfo.c (auto-target.h): Include.
5996 (CONSTRUCTOR_PRIORITY): Define.
5997 (__cpu_indicator_init): Use it.
5998
0d03ac1b
L
59992012-05-09 H.J. Lu <hongjiu.lu@intel.com>
6000
6001 * longlong.h: Use a URL instead of an FSF postal address.
6002 Replace spaces with tab.
6003
4a172156 60042012-05-08 Teresa Johnson <tejohnson@google.com>
4e8ee9cb
TJ
6005
6006 * libgcov.c (gcov_clear, __gcov_reset): New functions.
6007 (__gcov_dump): Ditto.
6008 (gcov_dump_complete): New global variable.
6009 (gcov_exit): Export hidden to enable use in L_gcov_dump.
6010 (__gcov_flush): Outline functionality now in gcov_clear.
6011 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
6012
e4bb767e
AJ
60132012-04-28 Aurelien Jarno <aurelien@aurel32.net>
6014
31a18a7e
ILT
6015 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
6016 (mips*-*-linux*): Include mips/t-tpbit when long double is
6017 16 bytes long.
e4bb767e 6018
5ddecff9
ST
60192012-04-25 Sriraman Tallam <tmsriram@google.com>
6020
6021 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
6022 (get_available_features): New argument. Check for AVX2.
6023 (__cpu_indicator_init): Modify call to get_available_features.
6024
b427dd7a
AM
60252012-04-25 Alan Modra <amodra@gmail.com>
6026
6027 * config/rs6000/crtsavevr.S: New file.
6028 * config/rs6000/crtrestvr.S: New file.
6029 * config/rs6000/t-savresfgpr: Build the above.
6030 * config/rs6000/t-netbsd: Likewise.
6031
ad491329
ST
60322012-04-24 Sriraman Tallam <tmsriram@google.com>
6033
6034 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
6035
792317cc
ST
60362012-04-24 Sriraman Tallam <tmsriram@google.com>
6037
6038 * libgcc/config/i386/i386-cpuinfo.c: New file.
6039 * libgcc/config/i386/t-cpuinfo: New file.
6040 * libgcc/config.host: Include t-cpuinfo.
6041 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
6042
e1be98a4
CF
60432012-04-24 Chao-ying Fu <fu@mips.com>
6044
6045 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
6046
1bde7dab
TS
60472012-04-20 Thomas Schwinge <thomas@codesourcery.com>
6048
6049 struct siginfo vs. siginfo_t
6050
6051 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
6052 siginfo_t instead of struct siginfo.
6053 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
6054 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
6055 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
6056 (ia64_handle_unwabi): Likewise.
6057 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
6058 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
6059 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
6060 (sh_fallback_frame_state): Likewise.
6061 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
6062 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
6063
24590f66
L
60642012-04-02 H.J. Lu <hongjiu.lu@intel.com>
6065
6066 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
6067 system call number.
6068
9a9dcce8
EB
60692012-03-31 Eric Botcazou <ebotcazou@adacore.com>
6070
6071 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
6072 if it hasn't been previously saved.
6073
6401aaf5
L
60742012-03-29 H.J. Lu <hongjiu.lu@intel.com>
6075
6076 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
6077 only for glibc.
6078
7fd6378e
GJL
60792012-03-28 Georg-Johann Lay <avr@gjlay.de>
6080
6081 PR target/52737
6082 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
6083 instead of __AVR_HAVE_8BIT_SP__.
6084
9e916de7
TG
60852012-03-26 Tristan Gingold <gingold@adacore.com>
6086
6087 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
6088 (unw_table_entry): Use unw_word instead of unsigned long.
6089 (_Unwind_FindTableEntry): Likewise.
6090 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
6091 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
6092 (_Unwind_FindTableEntry): Likewise.
6093 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
6094 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
6095 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
6096 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
6097 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
6098 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
6099 (uw_init_context_1, uw_install_context): Likewise.
6100 (unw_word): Move to unwind-ia64.h
6101
4b12e93d
TG
61022012-03-26 Tristan Gingold <gingold@adacore.com>
6103
6104 * config/vms/vms-ucrt0.c: Update copyright years.
6105 Add a sanity check.
6106 (___gcc_main_flags): Declare.
6107 (__main): Check flags to remap argv and exit code.
6108 * config.host (*-*-*vms*): Adjust extra_parts.
6109 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
6110 (crt0.o): Add.
6111
06ea7371
RE
61122012-03-22 Richard Earnshaw <rearnsha@arm.com>
6113
6114 * arm/lib1funcs.asm (ctzsi2): New function.
6115 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
6116 * arm/t-linux (LIB1ASMFUNCS): Likewise.
6117 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
6118 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
6119 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
6120 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
6121
d82ad50d
AT
61222012-03-21 Andreas Tobler <andreast@fgznet.ch>
6123
6124 * config.host: Add bits to support powerpc64-*-freebsd*.
6125 * config/rs6000/freebsd-unwind.h: New file.
6126 * config/rs6000/t-freebsd64: New file.
6127
b260a8c0
RG
61282012-03-20 Richard Guenther <rguenther@suse.de>
6129
6130 PR gcov-profile/52627
6131 * libgcov.c (init_mx): Fix mutex name.
6132
86286a8a
TG
61332012-03-16 Tristan Gingold <gingold@adacore.com>
6134
6135 * config/ia64/vms-unwind.h: Remove ulong (and replace
6136 it by unw_reg where used). Define unw_reg with __int64.
6137
7888f266
RO
61382012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6139
6140 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
6141 Solaris 8 handling.
6142 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
6143 Solaris 8 handling.
6144 (sparc_is_sighandler): Likewise.
6145
f155bc64
L
61462012-03-13 H.J. Lu <hongjiu.lu@intel.com>
6147
6148 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
6149 <= saved reg size.
6150
d47657bd
RO
61512012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6152
6153 * config/arm/crtn.S: Fix typo.
6154
5bef73a1
RG
61552012-03-13 Richard Guenther <rguenther@suse.de>
6156
6157 * libgcov.c: Remove stdio.h include and NULL un-define.
6158
9c4271f3
RG
61592012-03-13 Richard Guenther <rguenther@suse.de>
6160
6161 PR target/52569
6162 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
6163
c6d10e7c
RG
61642012-03-13 Richard Guenther <rguenther@suse.de>
6165
6166 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
6167
074a385f
RG
61682012-03-13 Richard Guenther <rguenther@suse.de>
6169
6170 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
6171 and __gthread_mutex_init_function definitions.
6172
c4bc5c25
RO
61732012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6174
6175 * config.host (mips*-*-openbsd*): Remove.
6176
5c30094f
RO
61772012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6178
6179 * config.host: Remove alpha*-dec-osf5.1* handling.
6180 * config/alpha/gthr-posix.c: Remove.
6181 * config/alpha/libgcc-osf5.ver: Remove.
6182 * config/alpha/osf5-unwind.h: Remove.
6183 * config/alpha/t-osf-pthread: Remove.
6184 * config/alpha/t-slibgcc-osf: Remove.
6185 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
6186 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
6187 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
6188 * mkmap-flat.awk: Remove osf_export handling.
6189
33e3e24d
RG
61902012-03-12 Richard Guenther <rguenther@suse.de>
6191
6192 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
6193 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6194 (__gthread_mutex_init_function): New function.
6195 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6196
6197 PR gcov/49484
6198 * libgcov.c: Include gthr.h.
6199 (__gcov_flush_mx): New global variable.
6200 (init_mx, init_mx_once): New functions.
6201 (__gcov_flush): Protect self with a mutex.
6202 (__gcov_fork): Re-initialize mutex after forking.
6203 * unwind-dw2-fde.c: Change condition under which to use
6204 __GTHREAD_MUTEX_INIT_FUNCTION.
6205
d8aba32a
TG
62062012-03-12 Tristan Gingold <gingold@adacore.com>
6207
6208 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
6209 * config/ia64/t-vms: Likewise.
6210
75ffafdc
MH
62112012-03-11 Michael Hope <michael.hope@linaro.org>
6212
4a172156
UB
6213 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
6214 for Thumb-2.
75ffafdc 6215
ef6c2c53
WL
62162012-03-07 Walter Lee <walt@tilera.com>
6217
6218 * config/tilepro/atomic.c: Rename "atomic_" prefix to
6219 "arch_atomic_".
6220 (atomic_xor): Rename and move definition to
6221 config/tilepro/atomic.h.
6222 (atomic_nand): Ditto.
6223 * config/tilepro/atomic.h: Rename "atomic_" prefix to
6224 "arch_atomic_".
6225 (arch_atomic_xor): Move from config/tilepro/atomic.c.
6226 (arch_atomic_nand): Ditto.
6227
4e30d980
GJL
62282012-03-07 Georg-Johann Lay <avr@gjlay.de>
6229
6230 PR target/52507
6231 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
6232
61108225
GJL
62332012-03-07 Georg-Johann Lay <avr@gjlay.de>
6234
6235 PR target/52505
6236 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
6237 from RAM.
6238
b30e10ab
GJL
62392012-03-07 Georg-Johann Lay <avr@gjlay.de>
6240
6241 PR target/52461
6242 PR target/52508
6243 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
6244 if RAMPZ affects reading from RAM.
6245 (__tablejump_elpm__): Ditto.
6246 (.xload): Ditto.
6247 (__movmemx_hi): Ditto.
6248 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
6249 (__do_global_dtors): Ditto.
6250 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
6251 (__movmemx_hi): Ditto.
6252
8993fde4
RH
62532012-03-05 Richard Henderson <rth@redhat.com>
6254
6255 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
6256 [ARM] (count_trailing_zeros): Use the builtin.
6257
b7633ee3
KT
62582012-03-01 Kai Tietz <ktietz@redhat.com>
6259
6260 * soft-fp: Imported from glibc upstream.
6261
fbd3340c
KT
62622012-02-28 Kai Tietz <ktietz@redhat.com>
6263
6264 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
6265 for mingw-targets as attribute gcc_struct.
6266
e9e053eb
ILT
62672012-02-28 Ian Lance Taylor <iant@google.com>
6268
6269 * generic-morestack.c (__splitstack_releasecontext): Correct call
6270 to __morestack_release_segments.
6271
d80c632e
ST
62722012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6273
6274 PR target/52390
6275 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
6276 for __linux__ when removing signals from __morestack_fullmask.
6277
0253a8b1
GJL
62782012-02-23 Georg-Johann Lay <avr@gjlay.de>
6279
6280 PR target/52261
6281 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
6282
e10e461e
UW
62832012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6284
6285 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
6286 instead of HAVE_INITFINI_ARRAY.
6287 * config/ia64/crtend.S: Likewise.
6288
0c0c6398
KT
62892012-02-20 Kai Tietz <ktietz@redhat.com>
6290
d7470374
KT
6291 PR libstdc++/52300
6292 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
6293
0c0c6398
KT
6294 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
6295 to w32-unwind.h header.
6296
78c27266
RS
62972012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6298
6299 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
6300 (mips*-*-linux*): Remove t-slibgcc-libgcc.
6301 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
6302 * config/mips/mips16.S (__mips16_rdhwr): Delete.
6303
5adeb246
RS
63042012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6305
6306 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
6307
672ed313
IS
63082012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6309
6310 PR libitm/52220
6311 * config/darwin-crt-tm.c: Correct typo.
e9e053eb 6312
e948a1fb
IS
63132012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6314 Patrick Marlier <patrick.marlier@gmail.com>
6315
6316 PR libitm/52220
6317 * config/darwin-crt-tm.c: Generate dummy functions.
6318
6017aed3
IS
63192012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6320 Patrick Marlier <patrick.marlier@gmail.com>
6321
6322 PR libitm/52042
6323 * config/darwin-crt-tm.c (getTMCloneTable): New function.
6324 (__doTMRegistrations): Call it.
e9e053eb 6325 (__doTMdeRegistrations): Likewise.
6017aed3 6326
2da8c1ad 63272012-01-15 Georg-Johann Lay <avr@gjlay.de>
7d296953
JJ
6328 Anatoly Sokolov <aesok@post.ru>
6329 Eric Weddington <eric.weddington@atmel.com>
2da8c1ad
GJL
6330
6331 PR target/52261
6332 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
6333 (__epilogue_restores__): Ditto.
6334
0f952eb4
EB
63352012-02-15 Eric Botcazou <ebotcazou@adacore.com>
6336
6337 PR target/51921
6338 PR target/52205
6339 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
6340 Solaris 11 and slightly reformat.
6341 (sparc_is_sighandler): Likewise.
6342
dd552284
WL
63432012-02-14 Walter Lee <walt@tilera.com>
6344
6345 * config.host: Handle tilegx and tilepro.
6346 * config/tilegx/sfp-machine.h: New file.
6347 * config/tilegx/sfp-machine32.h: New file.
6348 * config/tilegx/sfp-machine64.h: New file.
6349 * config/tilegx/t-crtstuff: New file.
6350 * config/tilegx/t-softfp: New file.
6351 * config/tilegx/t-tilegx: New file.
6352 * config/tilepro/atomic.c: New file.
6353 * config/tilepro/atomic.h: New file.
6354 * config/tilepro/linux-unwind.h: New file.
6355 * config/tilepro/sfp-machine.h: New file.
6356 * config/tilepro/softdivide.c: New file.
6357 * config/tilepro/softmpy.S: New file.
6358 * config/tilepro/t-crtstuff: New file.
6359 * config/tilepro/t-tilepro: New file.
6360
b59cbd50
JW
63612012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
6362
6363 PR libstdc++/51296
6364 PR libstdc++/51906
6365 * gthr-posix.h: Allow static initializer macros to be disabled.
6366 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
6367
6caf807f
CLT
63682012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
6369
6370 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
6371 Add t-slibgcc-libgcc to tmake_file.
6372 * config/mips/libgcc-mips16.ver: Revert previous patch.
6373 * config/mips/mips16.S (__mips16_rdhwr): Hide.
6374
7d296953
JJ
63752012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
6376 Jayant R Sonar <jayant.sonar@kpitcummins.com>
b25364a0
S
6377
6378 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
6379 * config/cr16/crti.S: New file.
6380 * config/cr16/crtlibid.S: New file.
6381 * config/cr16/crtn.S: New file.
6382 * config/cr16/lib1funcs.S: New file.
6383 * config/cr16/t-cr16: New file.
6384 * config/cr16/t-crtlibid: New file.
6385 * config/cr16/unwind-dw2.h: New file.
6386 * config/cr16/unwind-cr16.c: New file.
6387 * config/cr16/divmodhi3.c: New file.
6388
8ef03aa7
AM
63892012-01-25 Alan Modra <amodra@gmail.com>
6390
6391 * config/rs6000/t-linux64: Delete. Move..
6392 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
6393 * config/rs6000/t-linux: ..and libgcc flags to here.
6394
daecebc8
DR
63952012-01-22 Douglas B Rupp <rupp@gnat.com>
6396
6397 * config.host (i[34567]86-*-interix3*):
8ef03aa7 6398 Change triplet to i[34567]86-*-interix[3-9]*.
daecebc8
DR
6399 * configure: Regenerate.
6400
ddaf8125
RS
64012012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
6402 Richard Sandiford <rdsandiford@googlemail.com>
6403
6404 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
6405 * config/mips/mips16.S (__mips16_rdhwr): New function.
6406 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
6407
2cd8b32c
NS
64082012-01-11 Nathan Sidwell <nathan@acm.org>
6409
6410 * libgcov.c (__gcov_init): Ignore objects with no functions.
6411
cba300dd
GJL
64122012-01-10 Georg-Johann Lay <avr@gjlay.de>
6413
6414 PR target/49868
6415 Extend __pgmx semantics to linearize memory.
6416 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
6417 * config/avr/lib1funcs.S (__xload_1): New function.
6418 (__movmemx_qi, __movmemx_hi): New functions.
6419 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
6420 semantics.
9ffaf4bc 6421
3d137660
EB
64222012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6423
6424 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
6425 purported sigacthandler address isn't null before dereferencing it.
6426 (sparc_is_sighandler): Likewise.
6427
bf4db96c
EB
64282012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6429
6430 PR ada/41929
6431 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
6432 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
6433 (sparc_is_sighandler): Likewise.
6434 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
6435
1ab3568b
TG
64362012-01-06 Tristan Gingold <gingold@adacore.com>
6437
6438 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
6439 compatibility thunks...
6440 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
6441 (crtbeginS.o, crtendS.o): ... and these to ...
6442 * config/ia64/t-ia64-elf: ... this new file.
6443 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
6444 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
6445
925b0ed8
AK
64462012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6447
6448 * configure: Regenerate.
6449 * config/s390/t-crtstuff: Remove -fPIC.
6450
a99ad737
JW
64512012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
6452
6453 PR bootstrap/51006
6454 * enable-execute-stack-mprotect.c (getpagesize): Do not define
6455 for NetBSD.
6456
884f56d1
GJL
64572012-01-02 Georg-Johann Lay <avr@gjlay.de>
6458
6459 PR target/51345
6460 * config/avr/lib1funcs.S: Remove FIXME comments.
6461 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
6462
8c57e547
GJL
64632012-01-02 Georg-Johann Lay <avr@gjlay.de>
6464
6465 Implement light-weight DImode support.
6466 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
6467 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
6468 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
6469 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
6470
04dbc287
NS
64712011-12-30 Nathan Sidwell <nathan@acm.org>
6472
6473 * libgcov.c (gcov_crc32): Remove global var.
6474 (free_fn_data): New function.
6475 (buffer_fn_data): Pass in filename, more robust error recovery.
6476 (crc32_unsigned): New function.
6477 (gcov_exit): More robust detection of new program. More robust
6478 error recovery.
6479 (__gcov_init): Do not update program's crc here.
6480
8e1d97d4
TG
64812011-12-21 Tristan Gingold <gingold@adacore.com>
6482
6483 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
6484
9ffaf4bc
ILT
64852011-12-21 Ian Lance Taylor <iant@google.com>
6486
6487 * config/i386/morestack.S: Simplify CFI opcodes throughout.
6488
a0c8d0c1
ILT
64892011-12-20 Ian Lance Taylor <iant@google.com>
6490
6491 * config/i386/morestack.S (__morestack_non_split): If there is
6492 enough stack space already, don't split. Ask for more stack space
6493 than we required.
6494
69048898
SDJ
64952011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
6496
6497 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
6498 `sys/sdt.h'.
6499 (_Unwind_DebugHook): New function.
6500 (uw_restore_core_regs): New define.
6501 (unwind_phase2): Use uw_restore_core_regs instead of
6502 restore_core_regs.
6503 (unwind_phase2_forced): Likewise.
6504 (__gnu_Unwind_Resume): Likewise.
6505
1bb4b6a3
UB
65062011-12-20 Uros Bizjak <ubizjak@gmail.com>
6507
6508 * config/alpha/linux-unwind.h: Update copyright years.
6509 (MD_FROB_UPDATE_CONTEXT): New define.
6510 (alpha_frob_update_context): New function.
6511
eb028768
RS
65122011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
6513
6514 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
6515 tmake_file rather replacing it.
6516
6a2045bf
IS
65172011-12-15 Iain Sandoe <iains@gcc.gnu.org>
6518
6519 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1bb4b6a3 6520 function is not used for PPC64.
6a2045bf
IS
6521 (save_world): Amend comments. Update the VRsave mask to reflect the
6522 saved regs.
6523 (rest_world): Update comments, do not clobber r10, do not use r8.
6524 (eh_rest_world_r10): Amend comments, do not use r8.
6525 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
6526 no longer used, move restore of CR and target address to the end of
6527 the routine.
6528
a13780a6
L
65292011-12-14 H.J. Lu <hongjiu.lu@intel.com>
6530
6531 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
6532 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
6533
d7288dfb
GJL
65342011-12-14 Georg-Johann Lay <avr@gjlay.de>
6535
6536 PR target/49313
6537 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
6538 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
6539
8d2c862d
EB
65402011-12-11 Eric Botcazou <ebotcazou@adacore.com>
6541
6542 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
6543
3447cae6
GJL
65442011-12-09 Georg-Johann Lay <avr@gjlay.de>
6545
6546 PR target/49313
6547 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
6548 * config/avr/lib1funcs.S (__muldi3): New function.
6549
806fc6aa
AP
65502011-12-06 Andrew Pinski <apinski@cavium.com>
6551
6552 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
6553 size of func_ptr.
6554 (__frame_dummy_init_array_entry): Likewise.
6555
28c5e6b5
GJL
65562011-12-06 Georg-Johann Lay <avr@gjlay.de>
6557
6558 Forward-port from gcc-4_6-branch r181936 2011-12-02.
6559
6560 PR target/51345
6561 PR target/51002
6562 * config/avr/lib1funcs.S (__prologue_saves__,
6563 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
6564 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
6565
8f90394a
IS
65662011-12-04 Iain Sandoe <iains@gcc.gnu.org>
6567
6568 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
6569
06dd33ac
JDA
65702011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6571
6572 PR other/51272
6573 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
6574 (_ITM_deregisterTMCloneTable): Likewise.
6575 (__register_frame_info): Fix unused warning.
6576 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
6577 pthread_default_stacksize_np): Likewise.
6578 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1bb4b6a3 6579
85b8555e
DD
65802011-11-29 DJ Delorie <dj@redhat.com>
6581
6582 * config.host (rl78-*-elf): New case.
6583 * config/rl78: New directory for the Renesas RL78.
6584
4d5ae4ea
BS
65852011-11-29 Bernd Schmidt <bernds@codesourcery.com>
6586
6587 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
6588 formatting.
6589
f9c55897
RO
65902011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6591
6592 PR other/51022
6593 * config/rs6000/t-savresfgpr: New file.
6594 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
6595 $(srcdir)/config/rs6000/eabi.S.
6596 * config/rs6000/t-ppccomm-ldbl: Remove.
6597 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
6598 tmake_file.
6599 (powerpc-*-eabispe*): Likewise.
6600 (powerpc-*-eabi*): Likewise.
6601 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
6602 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
6603 to tmake_file, remove rs6000/t-ppccomm-ldbl.
6604 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
6605 tmake_file.
6606 (powerpc-*-eabisim*): Likewise.
6607 (powerpc-*-elf*): Likewise.
6608 (powerpc-*-eabialtivec*): Likewise.
6609 (powerpc-xilinx-eabi*): Likewise.
6610 (powerpc-*-rtems*): Likewise.
6611 (powerpcle-*-elf*): Likewise.
6612 (powerpcle-*-eabisim*): Likewise.
6613 (powerpcle-*-eabi*): Likewise.
6614
a01207c4
ILT
66152011-11-27 Ian Lance Taylor <iant@google.com>
6616
6617 * generic-morestack.c (__splitstack_find): Check for NULL old
6618 stack value.
6619 (__splitstack_resetcontext): New function.
6620 (__splitstack_releasecontext): New function.
6621 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6622
2b0b8ab2
IS
66232011-11-27 Iain Sandoe <iains@gcc.gnu.org>
6624
6625 * config/darwin-crt-tm.c: Correct comments, use correct licence.
6626
c1d8101c
IS
66272011-11-27 Iain Sandoe <iains@gcc.gnu.org>
6628
6629 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
6630
8b281334
RH
66312011-11-26 Richard Henderson <rth@redhat.com>
6632
6633 * config/m68k/linux-atomic.c: New file.
6634 * config/m68k/t-linux: New file.
6635 * config.host (m68k-uclinux, m68k-linux): Use it.
6636
7546aa9d
RH
66372011-11-26 Richard Henderson <rth@redhat.com>
6638
6639 * crtstuff.c (__TMC_LIST__): Mark used not unused.
6640 (__TMC_END__): Only declare if hidden is available; in the definition,
6641 if hidden is unavailable add a null record.
6642 (deregister_tm_clones, register_tm_clones): New.
6643 (__do_global_dtors_aux, frame_dummy): Use them.
6644 (__do_global_dtors, __do_global_ctors_1): Likewise.
6645
e2362f5d
IS
66462011-11-22 Iain Sandoe <iains@gcc.gnu.org>
6647
6648 * config/darwin-crt-tm.c: New file.
6649 * config.host (darwin): Build crttms.o crttme.o to provide
6650 startup and shutdown for tm clones.
6651 * config/t-darwin (crttms.o): New build rule.
6652 (crttme.o): Likewise.
6653
6685dd96
HPN
66542011-11-21 Hans-Peter Nilsson <hp@axis.com>
6655
6656 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
6657 et al.
6658
b0dc7e4c
RH
66592011-11-21 Richard Henderson <rth@redhat.com>
6660
6661 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
6662 (__TMC_LIST__, __TMC_END__): New.
6663 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
6664 (__do_global_dtors): Likewise.
6665 (frame_dummy): Call _ITM_registerTMCloneTable.
6666 (__do_global_ctors_1): Likewise.
6667
d4b4b542
RO
66682011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6669
6670 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
6671 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
6672 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
6673 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
6674 * config/i386/t-darwin64: Remove.
6675 * config/sh/t-netbsd (LIB2ADD): Remove.
6676
989bdb74
GJL
66772011-11-21 Georg-Johann Lay <avr@gjlay.de>
6678
6679 PR target/49313
6680 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
6681 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
6682 * config/avr/lib1funcs.S (wmov): New assembler macro.
6683 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
6684 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
6685 (__udivmod64): New function.
6686 (__negdi2): New function.
6687
515a0cfc
GP
66882011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
6689
6690 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
6691 *-*-freebsd*aout*): Remove.
6692
0115d17f
HPN
66932011-11-20 Hans-Peter Nilsson <hp@axis.com>
6694
6695 * static-object.mk (c_flags-$o): Save c_flags.
6696 ($(base)$(objext)): Use it.
6697
93aeb62b
SE
66982011-11-18 Steve Ellcey <sje@cup.hp.com>
6699
6700 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
6701
7bc6df2c
GJL
67022011-11-18 Georg-Johann Lay <avr@gjlay.de>
6703
6704 PR target/49868
6705 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
6706 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
6707 New functions.
6708
425d737b
MGD
67092011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
6710
6711 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
6712 functions.
1bb4b6a3 6713 (aeabi_uidivmod): Likewise.
425d737b
MGD
6714 (umodsi3): Likewise.
6715 (divsi3): Likewise.
6716 (aeabi_idivmod): Likewise.
6717 (modsi3): Likewise.
6718
f2a176dc
TG
67192011-11-16 Tristan Gingold <gingold@adacore.com>
6720
6721 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
6722
7c209481
GJL
67232011-11-15 Georg-Johann Lay <avr@gjlay.de>
6724
6725 PR target/49868
6726 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
6727 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
6728
9dfd5832
JDA
67292011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6730
6731 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
6732 tmake_file list.
6733 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
6734 * config/pa/t-stublib64: Delete.
6735
f77dca5d
RH
67362011-11-12 Richard Henderson <rth@redhat.com>
6737
6738 * config/rs6000/linux-unwind.h (frob_update_context): Properly
6739 cast the pointer argument to _Unwind_SetGRPtr.
6740
902828f0
RO
67412011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6742
6743 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
6744
e14304ef
ILT
67452011-11-09 Ian Lance Taylor <iant@google.com>
6746
6747 * generic-morestack.c: Include <string.h>.
6748 (uintptr_type): Define.
6749 (struct initial_sp): Add dont_block_signals field. Reduce size of
6750 extra array by 1.
6751 (allocate_segment): Set prev field to NULL. Don't set
6752 __morestack_current_segment or __morestack_segments.
6753 (__generic_morestack): Update current->prev and *pp after calling
6754 allocate_segment.
6755 (__morestack_block_signals): Don't do anything if
6756 dont_block_signals is set.
6757 (__morestack_unblock_signals): Likewise.
6758 (__generic_findstack): Check for initial_sp == NULL. Add casts to
6759 uintptr_type.
6760 (__splitstack_block_signals): New function.
6761 (enum __splitstack_content_offsets): Define.
6762 (__splitstack_getcontext, __splitstack_setcontext): New functions.
6763 (__splitstack_makecontext): New function.
6764 (__splitstack_block_signals_context): New function.
6765 (__splitstack_find_context): New function.
6766 * config/i386/morestack.S (__morestack_get_guard): New function.
6767 (__morestack_set_guard, __morestack_make_guard): New functions.
6768 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6769
e3d871e4
RO
67702011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6771
6772 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
6773 (i[34567]86-*-mingw*): ... here.
6774 (x86_64-*-mingw*): ... here.
6775
e55cef40
RO
67762011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6777
6778 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
6779
5366b186
NS
67802011-11-07 Nathan Sidwell <nathan@acm.org>
6781
6782 * libgcov.c (struct gcov_fn_buffer): New struct.
6783 (buffer_fn_data): New helper.
6784 (gcov_exit): Rework for new gcov data structures.
6785
74155a6f
GJL
67862011-11-07 Georg-Johann Lay <avr@gjlay.de>
6787
6788 PR target/49313
6789 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
6790
200feb07
RO
67912011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6792
6793 * config.host (tmake_file): Correct comment.
6794 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
6795 t-libgcc-pic.
6796 (bfin*-uclinux*): Likewise.
6797 (bfin*-linux-uclibc*): Likewise.
6798 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
6799
6800 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
6801 assigning.
6802 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6803 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
6804 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6805 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
6806 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6807 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
6808 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
6809 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6810 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
6811 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
6812 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
6813 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
6814 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
6815
6816 * config/bfin/t-elf: Remove.
6817 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
6818
c9cd1a07
RO
68192011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6820
6821 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
6822 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
6823 (lm32-*-elf*, lm32-*-rtems*): Split into ...
6824 (lm32-*-elf*): ... this.
6825 (lm32-*-rtems*): ... and this.
6826 Add to tmake_file.
6827 (m32r-*-rtems*): Add to tmake_file.
6828 (moxie-*-rtems*): Likewise.
6829 (sparc-*-rtems*): Likewise.
6830 Remove t-rtems from tmake_file.
6831 (sparc64-*-rtems*): Likewise.
6832 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
6833 instead.
6834
9fbcc75d
RO
68352011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6836
6837 PR bootstrap/50982
6838 * config/gthr-posix.h: Move ...
6839 * gthr-posix.h: ... here.
6840 * config/gthr-lynx.h: Reflect this.
6841 * config/gthr-vxworks.h: Likewise.
6842 * config/rs6000/gthr-aix.h: Likewise.
6843 * configure.ac (target_thread_file): Likewise.
6844 * configure: Regenerate.
6845
76644b68
SH
68462011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
6847
6848 * config.host (arm*-*-rtemseabi*): New target.
6849
5e490f2a
JDA
68502011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6851
6852 PR other/50991
6853 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
6854 extra-parts.
6855
feeeff5c
JR
68562011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
6857
6858 * config.host (epiphany-*-elf*): New configuration.
6859 * config/epiphany: New Directory.
6860
d618bb2c
RC
68612011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
6862
6863 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
6864 * config/avr/t-rtems: New.
6865 Filter out _exit from LIB1ASMFUNCS.
6866
1bb6f778
DM
68672011-11-04 David S. Miller <davem@davemloft.net>
6868
6869 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
6870 * configure: Rebuild.
6871
9a7f7422
AK
68722011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6873
6874 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
6875 variable.
6876
e4fe948a
GJL
68772011-11-04 Georg-Johann Lay <avr@gjlay.de>
6878
6879 PR target/50931
6880 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
6881 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
6882
7084e037
JS
68832011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
6884
6885 PR target/50989
6886 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
6887
1a032034
RO
68882011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6889
6890 * config/c6x/t-elf (LIB2ADDEH): Set.
6891 * config/c6x/t-c6x-elf: Remove.
6892
d385f772
RO
68932011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6894
6895 * config/i386/sol2-ci.S: Rename to ...
6896 * config/i386/crti.S: ... this.
6897 * config/i386/sol2-cn.S: Rename to ...
6898 * config/i386/crtn.S: ... this.
6899 * config/sparc/sol2-ci.S: Rename to ...
6900 * config/sparc/crti.S: ... this.
6901 * config/sparc/sol2-cn.S: Rename to ...
6902 * config/sparc/crtn.S: ... this.
6903 * config/t-sol2 (CUSTOM_CRTIN): Remove.
6904 (crti.o, crtn.o): Remove.
6905
1ba878a9
TG
69062011-11-04 Tristan Gingold <gingold@adacore.com>
6907
6908 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
6909
02750c15
KK
69102011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
6911
6912 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
6913
bf86b067
HPN
69142011-11-03 Hans-Peter Nilsson <hp@axis.com>
6915
6916 * config.host (crisv32-*-none, cris-*-none): Remove.
6917 (crisv32-*-elf): Append to tmake_file, don't just set it.
6918 (cris-*-elf): Add missing t-fdpbit to tmake_file.
6919
d0bc53bd
RO
69202011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6921
6922 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
6923 (ecrtn$(objext)): Likewise.
6924 (ncrti$(objext)): Likewise.
6925 (ncrtn$(objext)): Likewise.
6926
036da830
AS
69272011-11-03 Andreas Schwab <schwab@redhat.com>
6928
6929 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
6930
d2a7d041
DM
69312011-11-02 David S. Miller <davem@davemloft.net>
6932
6933 * configure.ac: Set host_address on sparc too.
6934 * configure: Regenerate.
6935 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
6936 based upon host_address.
6937 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
6938
af8ed618
JM
69392011-11-02 Jason Merrill <jason@redhat.com>
6940
6941 * config/rs6000/t-ppccomm: Add missing \.
6942
5d1c8e77
RO
69432011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6944
6945 * gthr-single.h, gthr.h: New files.
6946 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
6947 config/gthr-vxworks.h, config/i386/gthr-win32.h,
6948 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
6949 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
6950 * config/i386/gthr-win32.c: Include "gthr-win32.h".
6951 * configure.ac (thread_header): New variable.
6952 Set it depending on target_thread_file.
6953 (gthr-default.h): Link from $thread_header.
6954 * configure: Regenerate.
6955 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
6956
852b75ed
RO
69572011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6958
6959 * configure.ac (tm_file_): New variable.
6960 Determine from tm_file.
6961 (tm_file, tm_defines): Substitute.
6962 * configure: Regenerate.
6963 * mkheader.sh: New file.
6964 * Makefile.in (clean): Remove libgcc_tm.h.
6965 ($(objects)): Depend on libgcc_tm.h.
6966 (libgcc_tm_defines, libgcc_tm_file): New variables.
6967 (libgcc_tm.h, libgcc_tm.stamp): New targets.
6968 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
6969 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
6970 ($(extra-parts)): Depend on libgcc_tm.h.
6971 * config.host (tm_defines, tm_file): New variable.
6972 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
6973 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
6974 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
6975 (avr-*-rtems*): Likewise.
6976 (avr-*-*): Likewise.
6977 (frv-*-elf): Likewise.
6978 (frv-*-*linux*): Likewise.
6979 (h8300-*-rtems*): Likewise.
6980 (h8300-*-elf*): Likewise.
6981 (i[34567]86-*-darwin*): Likewise.
6982 (x86_64-*-darwin*): Likewise.
6983 (rx-*-elf): Likewise.
6984 (tic6x-*-uclinux): Likewise.
6985 (tic6x-*-elf): Likewise.
6986 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
6987 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
6988 * config/i386/cygming-crtbegin.c: Likewise.
6989 * config/i386/cygming-crtend.c: Likewise.
6990 * config/ia64/fde-vms.c: Likewise.
6991 * config/ia64/unwind-ia64.c: Likewise.
6992 * config/libbid/bid_gcc_intrinsics.h: Likewise.
6993 * config/rs6000/darwin-fallback.c: Likewise.
6994 * config/stormy16/lib2funcs.c: Likewise.
6995 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
6996 * crtstuff.c: Likewise.
6997 * dfp-bit.h: Likewise.
6998 * emutls.c: Likewise.
6999 * fixed-bit.c: Likewise.
7000 * fp-bit.c: Likewise.
7001 * generic-morestack-thread.c: Likewise.
7002 * generic-morestack.c: Likewise.
7003 * libgcc2.c: Likewise.
7004 * libgcov.c: Likewise.
7005 * unwind-dw2-fde-dip.c: Likewise.
7006 * unwind-dw2-fde.c: Likewise.
7007 * unwind-dw2.c: Likewise.
7008 * unwind-sjlj.c: Likewise.
7009
f9989b51
RO
70102011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7011
7012 * configure.ac: Include ../config/picflag.m4.
7013 (GCC_PICFLAG): Call it.
7014 Substitute.
7015 * configure: Regenerate.
7016 * Makefile.in (gcc_srcdir): Remove.
7017 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
7018 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
7019 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
7020 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
7021 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
7022 Use $<.
7023 Remove comment.
7024 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
7025 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
7026 to refer to libgcc2.c.
7027 Use $<.
7028 * config/darwin-64.c: New file.
7029 * config/darwin-crt3.c: Remove comment.
7030 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
7031 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
7032 config/udivmodsi4.c: New files.
7033 * config/memcmp.c, config/memcpy.c, config/memmove.c,
7034 config/memset.c: New files.
7035 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
7036 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
7037 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
7038 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
7039 * config/t-openbsd-thread: New file.
7040 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
7041 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
7042 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
7043 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
7044 qrnnd.S.
7045 Adapt filename.
7046 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
7047 to refer to gthr-posix.c.
7048 * config/alpha/t-vms (LIB2ADD): Set.
7049 * config/alpha/vms-gcc_shell_handler.c: New file.
7050 * config/arm/bpabi.c, config/arm/fp16.c,
7051 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
7052 config/arm/unaligned-funcs.c: New files.
7053 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
7054 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7055 * config/arm/t-linux: Likewise.
7056 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
7057 * config/arm/t-netbsd: New file.
7058 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
7059 * config/arm/t-symbian (LIB2ADD_ST): Set.
7060 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
7061 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7062 * config/bfin/t-elf: New file.
7063 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
7064 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
7065 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
7066 config/c6x/ltf.c: New files.
7067 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
7068 (HOST_LIBGCC2_CFLAGS): Set.
7069 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
7070 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7071 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
7072 New files.
7073 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
7074 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
7075 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
7076 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
7077 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
7078 files.
7079 * config/frv/t-frv (LIB2ADD): Set.
7080 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7081 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
7082 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
7083 config/h8300/popcounthi2.c: New files.
7084 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7085 * config/i386/gthr-win32.c: New file.
7086 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
7087 * config/i386/t-cygwin: Likewise.
7088 * config/i386/t-darwin, config/i386/t-darwin64,
7089 config/i386/t-gthr-win32, config/i386/t-interix: New files.
7090 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
7091 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7092 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7093 * config/ia64/quadlib.c: New file.
7094 * config/ia64/t-hpux (LIB2ADD): Set.
7095 * config/ia64/t-ia64: Add comment.
7096 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
7097 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7098 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
7099 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
7100 * config/m32c/t-m32c (LIB2ADD): Set.
7101 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7102 * config/m32r/t-m32r: Likewise.
7103 * config/m68k/fpgnulib.c: New file.
7104 * config/m68k/t-floatlib (LIB2ADD): Set.
7105 (xfgnulib.c): New target.
7106 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
7107 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
7108 * config/mep/t-mep (LIB2ADD): Set.
7109 * config/microblaze/divsi3.asm: Rename to divsi3.S.
7110 * config/microblaze/moddi3.asm: Rename to moddi3.S.
7111 * config/microblaze/modsi3.asm: Rename to modsi3.S.
7112 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
7113 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
7114 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
7115 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
7116 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
7117 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
7118 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
7119 New files.
7120 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
7121 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
7122 * config/pa/fptr.c, config/pa/lib2funcs.S,
7123 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
7124 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7125 (LIB2ADD, LIB2ADD_ST): Set.
7126 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
7127 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
7128 Set.
7129 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
7130 * config/pdp11/t-pdp11: New file.
7131 * config/picochip/libgccExtras/adddi3.S,
7132 config/picochip/libgccExtras/ashlsi3.S,
7133 config/picochip/libgccExtras/ashrsi3.S,
7134 config/picochip/libgccExtras/clzsi2.S,
7135 config/picochip/libgccExtras/cmpsi2.S,
7136 config/picochip/libgccExtras/divmod15.S,
7137 config/picochip/libgccExtras/divmodhi4.S,
7138 config/picochip/libgccExtras/divmodsi4.S,
7139 config/picochip/libgccExtras/lshrsi3.S,
7140 config/picochip/libgccExtras/parityhi2.S,
7141 config/picochip/libgccExtras/popcounthi2.S,
7142 config/picochip/libgccExtras/subdi3.S,
7143 config/picochip/libgccExtras/ucmpsi2.S,
7144 config/picochip/libgccExtras/udivmodhi4.S,
7145 config/picochip/libgccExtras/udivmodsi4.S: New files.
7146 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
7147 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
7148 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
7149 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
7150 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
7151 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
7152 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
7153 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
7154 files.
7155 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
7156 (HOST_LIBGCC2_CFLAGS): Set.
7157 * config/rs6000/t-darwin64: New file.
7158 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
7159 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
7160 * config/rs6000/t-ppccomm (LIB2ADD): Add
7161 $(srcdir)/config/rs6000/tramp.S.
7162 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
7163 Add $(srcdir)/config/rs6000/eabi.S.
7164 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
7165 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
7166 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
7167 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
7168 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
7169 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
7170 * config/rs6000/tramp.S: New file.
7171 * config/s390/t-tpf: Remove.
7172 * config/sh/linux-atomic.S: New file.
7173 * config/sh/t-linux (LIB2ADD): Set.
7174 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
7175 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7176 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
7177 to unwind-dw2.c.
7178 (HOST_LIBGCC2_CFLAGS): Set.
7179 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7180 * config/spu/divmodti4.c, config/spu/divv2df3.c,
7181 config/spu/float_disf.c, config/spu/float_unsdidf.c,
7182 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
7183 config/spu/mfc_multi_tag_release.c,
7184 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
7185 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
7186 config/spu/multi3.c: New files.
7187 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
7188 (HOST_LIBGCC2_CFLAGS): Set.
7189 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
7190 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
7191 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
7192 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
7193 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
7194 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
7195 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
7196 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
7197 config/stormy16/umodsi3.c: New files.
7198 * config/xtensa/lib2funcs.S: New file.
7199 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7200 * config/xtensa/t-xtensa (LIB2ADD): Set.
7201 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
7202 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
7203 Add t-freebsd-thread to tmake_file for posix threads.
7204 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
7205 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
7206 (*-*-lynxos*): Likewise.
7207 (*-*-netbsd*): Likewise.
7208 (*-*-openbsd*): Likewise.
7209 Add t-openbsd-thread to tmake_file for posix threads.
7210 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
7211 (*-*-vxworks*): Set tmake_file.
7212 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7213 (alpha*-*-freebsd*): Likewise.
7214 (alpha*-*-netbsd*): Likewise.
7215 (alpha*-*-openbsd*): Likewise.
7216 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
7217 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7218 (alpha*-dec-*vms*): Likewise.
7219 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
7220 (bfin*-elf*): Add bfin/t-elf to tmake_file.
7221 (bfin*-uclinux*): Likewise.
7222 (bfin*-linux-uclibc*): Likewise.
7223 (crisv32-*-elf): Add cris/t-cris to tmake_file.
7224 (crisv32-*-none): Likewise.
7225 (cris-*-elf): Likewise.
7226 (cris-*-none): Likewise.
7227 (cris-*-linux*, crisv32-*-linux*): Likewise.
7228 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
7229 tmake_file.
7230 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
7231 tmake_file.
7232 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
7233 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
7234 (x86_64-*-elf*): Likewise.
7235 (i[34567]86-*-nto-qnx*): Likewise.
7236 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
7237 win32 threads.
7238 (x86_64-*-mingw*): Likewise.
7239 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
7240 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
7241 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7242 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7243 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
7244 tmake_file.
7245 (mipsisa64sr71k-*-elf*): Likewise.
7246 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7247 (mips-*-elf*, mipsel-*-elf*): Likewise.
7248 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7249 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7250 (mips*-*-rtems*): Likewise.
7251 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
7252 to tmake_file.
7253 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
7254 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
7255 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
7256 (spu-*-elf*): Likewise.
7257 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
7258
45b86625
RO
72592011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7260
7261 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
7262 $(srcdir) to refer to $(LIB1ASMSRC).
7263 Use $<.
7264 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
7265 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
7266 config/arm/lib1funcs.S: New files.
7267 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
7268 * config/arm/t-arm: New file.
7269 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
7270 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
7271 config/arm/t-strongarm-elf: New files.
7272 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
7273 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
7274 * config/avr/lib1funcs.S: New file.
7275 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7276 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
7277 * config/c6x/lib1funcs.S: New file.
7278 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7279 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
7280 * config/frv/lib1funcs.S: New file.
7281 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7282 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
7283 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
7284 * config/ia64/__divxf3.asm: Rename to ...
7285 * config/ia64/__divxf3.S: ... this.
7286 Adapt lib1funcs.asm filename.
7287 * config/ia64/_fixtfdi.asm: Rename to ...
7288 * config/ia64/_fixtfdi.S: ... this.
7289 Adapt lib1funcs.asm filename.
7290 * config/ia64/_fixunstfdi.asm: Rename to ...
7291 * config/ia64/_fixunstfdi.S: ... this.
7292 Adapt lib1funcs.asm filename.
7293 * config/ia64/_floatditf.asm: Rename to ...
7294 * config/ia64/_floatditf.S: ... this.
7295 Adapt lib1funcs.asm filename.
7296 * config/ia64/lib1funcs.S: New file.
7297 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
7298 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7299 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
7300 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
7301 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
7302 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
7303 * config/mep/lib1funcs.S: New file.
7304 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7305 * config/mips/mips16.S: New file.
7306 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7307 * config/pa/milli64.S: New file.
7308 * config/pa/t-linux, config/pa/t-linux64: New files.
7309 * config/picochip/lib1funcs.S: New file.
7310 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7311 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
7312 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
7313 * config/sh/t-netbsd: New file.
7314 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
7315 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
7316 * config/sh/t-sh64: New file.
7317 * config/sparc/lb1spc.S: New file.
7318 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
7319 filename.
7320 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
7321 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
7322 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
7323 config/xtensa/lib1funcs.S: New files.
7324 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7325 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
7326 tmake_file.
7327 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
7328 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
7329 (arm*-*-linux*): Likewise.
7330 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
7331 arm*-*-linux-*eabi, add arm/t-linux otherwise.
7332 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
7333 (arm*-*-ecos-elf): Likewise.
7334 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7335 (arm*-*-rtems*): Likewise.
7336 (arm*-*-elf): Likewise.
7337 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
7338 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
7339 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
7340 (bfin*-uclinux*): Likewise.
7341 (bfin*-linux-uclibc*): Likewise.
7342 (bfin*-rtems*): Likewise.
7343 (bfin*-*): Likewise.
7344 (fido-*-elf): Merge into m68k-*-elf*.
7345 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
7346 (frv-*-*linux*): Add frv/t-frv to tmake_file.
7347 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
7348 (h8300-*-elf*): Likewise.
7349 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
7350 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
7351 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
7352 (i[34567]86-*-mingw*): Likewise.
7353 (x86_64-*-mingw*): Likewise.
7354 (i[34567]86-*-interix3*): Likewise.
7355 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
7356 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
7357 (m68k-*-elf*): Also handle fido-*-elf.
7358 Add m68k/t-floatlib to tmake_file.
7359 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
7360 (m68k-*-linux*): Likewise.
7361 (m68k-*-rtems*): Likewise.
7362 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
7363 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
7364 sh64*-*-*.
7365 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
7366 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
7367 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
7368 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
7369 sh/t-netbsd to tmake_file.
7370 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
7371 (sh-*-rtems*): Add sh/t-sh to tmake_file.
7372 (sh-wrs-vxworks): Likewise.
7373 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
7374 *-leon[3-9]*.
7375 (v850*-*-*): Add v850/t-v850 to tmake_file.
7376 (vax-*-linux*): Add vax/t-linux to tmake_file.
7377 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
7378
5f73c6cc
RO
73792011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7380
7381 * crtstuff.c: New file.
7382 * Makefile.in (CRTSTUFF_CFLAGS): Define.
7383 (CRTSTUFF_T_CFLAGS): Define.
7384 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
7385 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
7386 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
7387 crtstuff.c.
7388 Use $<.
7389 (crtbeginT.o): Use $(objext).
7390 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
7391 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
7392 (gcc-extra-parts): Remove.
7393 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
7394 Set extra_parts.
7395 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7396 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
7397 Add t-crtstuff-pic to tmake_file.
7398 (*-*-lynxos*): New case.
7399 Set tmake_file, extra_parts.
7400 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
7401 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
7402 *-*-netbsdelf[2-9]*.
7403 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
7404 (*-*-rtems*): Set extra_parts.
7405 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
7406 (*-*-uclinux*): New case.
7407 Set extra_parts.
7408 (*-*-vms*): New case.
7409 Set tmake_file, extra_parts.
7410 (*-*-elf): Set extra_parts.
7411 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
7412 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
7413 vms/t-vms64.
7414 Set extra_parts.
7415 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
7416 Set extra_parts.
7417 (arm*-*-freebsd*): Add t-crtin to tmake_file.
7418 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
7419 (arm-wrs-vxworks): Append to tmake_file.
7420 Set extra_parts.
7421 (arm*-*-uclinux*): Set extra_parts.
7422 (arm*-*-ecos-elf): Likewise.
7423 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
7424 arm*-*-eabi*.
7425 (arm*-*-rtems*): Set extra_parts.
7426 (arm*-*-elf): Likewise.
7427 (avr-*-rtems*): Clear extra_parts.
7428 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
7429 Set extra_parts.
7430 (bfin*-uclinux*): Likewise.
7431 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
7432 (bfin*-rtems*): Append to tmake_file.
7433 Set extra_parts.
7434 (bfin*-*): Likewise.
7435 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
7436 (crisv32-*-elf): ... this.
7437 (crisv32-*-none): ... this.
7438 (cris-*-elf, cris-*-none): New cases.
7439 Add cris/t-elfmulti to tmake_file.
7440 (fr30-*-elf): Append to tmake_file.
7441 Set extra_parts.
7442 (frv-*-elf): Append to tmake_file, add frv/t-frv.
7443 Set extra_parts.
7444 (h8300-*-rtems*): Append to tmake_file.
7445 Set extra_parts.
7446 (h8300-*-elf*): Likewise.
7447 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
7448 Set extra_parts.
7449 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
7450 Set extra_parts.
7451 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
7452 (x86_64-*-elf*): Likewise.
7453 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
7454 (x86_64-*-freebsd*): Likewise.
7455 (x86_64-*-netbsd*): Likewise.
7456 (i[34567]86-*-linux*): Likewise.
7457 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
7458 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
7459 (x86_64-*-linux*): Likewise.
7460 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
7461 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
7462 tmake_file.
7463 Set extra_parts.
7464 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
7465 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
7466 Append to extra_parts, remove crtbegin.o, crtend.o.
7467 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
7468 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
7469 crtend.o, crtbeginS.o, crtendS.o.
7470 (ia64*-*-linux*): Comment extra_parts.
7471 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
7472 Set extra_parts.
7473 (iq2000*-*-elf*): Clear extra_parts.
7474 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
7475 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
7476 (m32r-*-elf*, m32r-*-rtems*): Split off ...
7477 (m32r-*-rtems*): ... this.
7478 Add m32r/t-m32r to tmake_file.
7479 (m68k-*-elf*): Add t-crtin to tmake_file.
7480 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
7481 (mcore-*-elf): Likewise.
7482 (microblaze*-*-*): Set extra_parts.
7483 (mips*-sde-elf*): New case.
7484 Set tmake_file, extra_parts.
7485 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7486 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7487 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
7488 tmake_file.
7489 Set extra_parts.
7490 (mipsisa64sr71k-*-elf*): Likewise.
7491 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7492 (mips-*-elf*, mipsel-*-elf*): Likewise.
7493 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7494 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
7495 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7496 (mips*-*-rtems*): Likewise.
7497 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
7498 (moxie-*-*): Split into ...
7499 (moxie-*-elf, moxie-*-uclinux*): ... this.
7500 Add to extra_parts, remove crtbegin.o, crtend.o.
7501 (moxie-*-rtems*): New case.
7502 Set tmake_file.
7503 Clear extra_parts.
7504 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
7505 Set extra_parts.
7506 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7507 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
7508 tmake_file.
7509 Set extra_parts.
7510 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
7511 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
7512 Set extra_parts.
7513 (powerpc-*-eabisim*): Likewise.
7514 (powerpc-*-elf*): Likewise.
7515 (powerpc-*-eabialtivec*): Likewise.
7516 (powerpc-xilinx-eabi*): Likewise.
7517 (powerpc-*-eabi*): Likewise.
7518 (powerpc-*-rtems*): Likewise.
7519 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
7520 tmake_file.
7521 Set extra_parts.
7522 (powerpc-*-lynxos*): Add to tmake_file.
7523 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
7524 rs6000/t-crtstuff, t-crtstuff-pic.
7525 Set extra_parts.
7526 (powerpcle-*-eabisim*): Likewise.
7527 (powerpcle-*-eabi*): Likewise.
7528 (rx-*-elf): Remove extra_parts.
7529 (s390x-ibm-tpf*): Set extra_parts.
7530 (score-*-elf): Set extra_parts.
7531 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7532 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7533 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7534 (sh64l*-*-netbsd*): Split into ...
7535 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
7536 Add t-crtstuff-pic to tmake_file.
7537 Set extra_parts.
7538 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
7539 Set extra_parts.
7540 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
7541 (sparc-*-elf*): Remove t-crtin from tmake_file.
7542 Add to extra_parts, remove crtbegin.o, crtend.o.
7543 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
7544 (sparc64-*-linux*): Likewise.
7545 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
7546 Add to extra_parts, remove crtbegin.o, crtend.o.
7547 (sparc64-*-elf*): Remove t-crtin from tmake_file.
7548 Add to extra_parts, remove crtbegin.o, crtend.o.
7549 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
7550 Add to extra_parts, remove crtbegin.o, crtend.o.
7551 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
7552 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
7553 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
7554 Set extra_parts.
7555 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
7556 Set extra_parts.
7557 (tic6x-*-*): Change to ...
7558 (tic6x-*-elf): ... this.
7559 Set extra_parts.
7560 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
7561 Set extra_parts.
7562 (am33_2.0-*-linux*): Add comment.
7563 (mep*-*-*): Add mep/t-mep to tmake_file.
7564 Set extra_parts.
7565 * config/alpha/t-vms: New file.
7566 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
7567 * config/arm/crti.S, config/arm/crtn.S: New files.
7568 * config/bfin/crti.S, config/bfin/crtn.S: New files.
7569 * config/bfin/crtlibid.S: New file.
7570 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
7571 * config/c6x/crti.S, config/c6x/crtn.S: New files.
7572 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
7573 (crti.o, crtin.o): New rules.
7574 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7575 * config/c6x/t-uclinux: New file.
7576 * config/cris/t-elfmulti: New file.
7577 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
7578 * config/fr30/crti.S, config/fr30/crtn.S: New files.
7579 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
7580 * config/frv/t-frv: New file.
7581 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
7582 * config/h8300/crti.S, config/h8300/crtn.S: New files.
7583 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
7584 New files.
7585 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
7586 refer to cygming-crtbegin.c, cygming-crtend.c.
7587 Use $<.
7588 * config/i386/t-nto: New file.
7589 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
7590 * config/ia64/crti.S, config/ia64/crtn.S: New files.
7591 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
7592 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
7593 Use .S extension.
7594 Use $<.
7595 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7596 (crtinitS.o): New rule.
7597 * config/ia64/vms-crtinit.S: New file.
7598 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
7599 * config/m32r/initfini.c: New file.
7600 * config/m32r/t-linux, config/m32r/t-m32r: New files.
7601 * config/m68k/crti.S, config/m68k/crtn.S: New files.
7602 * config/mcore/crti.S, config/mcore/crtn.S: New files.
7603 * config/mep/t-mep: New file.
7604 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
7605 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
7606 * config/mips/crti.S, config/mips/crtn.S: New files.
7607 * config/mips/t-crtstuff: New file.
7608 * config/mmix/crti.S, config/mmix/crtn.S: New files.
7609 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
7610 (CUSTOM_CRTIN): Set.
7611 ($(T)crti.o, $(T)crtn.o): Remove $(T),
7612 dependencies.
7613 Use $(srcdir) to refer to crti.S, crtn.S.
7614 Use .S extension, $<.
7615 * config/moxie/crti.asm: Rename to ...
7616 * config/moxie/crti.S: ... this.
7617 * config/moxie/crtn.asm: Rename to ...
7618 * config/moxie/crtn.S: ... this.
7619 * config/moxie/t-moxie: Remove.
7620 * config/pa/stublib.c: New file.
7621 * config/pa/t-stublib, config/pa/t-stublib64: New files.
7622 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
7623 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
7624 * config/rs6000/t-crtstuff: New file.
7625 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
7626 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
7627 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
7628 Make output file explicit.
7629 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
7630 Make output file explicit.
7631 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
7632 Make output file explicit.
7633 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
7634 Make output file explicit.
7635 * config/score/crti.S, config/score/crtn.S: New files.
7636 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
7637 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
7638 files.
7639 * config/sh/t-sh, config/sh/t-superh: New files.
7640 * config/sparc/t-linux64: New file.
7641 * config/spu/cache.S, config/spu/cachemgr.c: New files.
7642 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
7643 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
7644 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
7645 * config/t-crtin: Remove.
7646 * config/t-crtstuff-pic: New file.
7647 * config/t-sol2 (CUSTOM_CRTIN): Set.
7648 (crti.o, crtn.o): New rules.
7649 * config/vms/t-vms: New file.
7650 * config/vms/vms-ucrt0.c: New file.
7651 * config/xtensa/t-elf: New file.
7652
b040f2be
RO
76532011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7654
7655 * Makefile.in (SHLIB_NM_FLAGS): Set.
7656 * mkmap-flat.awk, mkmap-symver.awk: New files.
7657 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
7658 exceptions.
7659 * configure: Regenerate.
7660 * config/libgcc-glibc.ver: New file.
7661 * config/libgcc-libsystem.ver: New file.
7662 * config/t-libunwind (SHLIB_LC): Set.
7663 * config/t-linux: New file.
7664 * config/t-slibgcc (INSTALL_SHLIB): New.
7665 (SHLIB_INSTALL): Use it.
7666 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
7667 to mkmap-symver.awk.
7668 (SHLIB_MAPFILES): Don't append, adapt pathname.
7669 (SHLIB_VERPFX): Set.
7670 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
7671 to mkmap-symver.awk.
7672 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
7673 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
7674 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
7675 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
7676 to mkmap-flat.awk.
7677 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
7678 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
7679 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
7680 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
7681 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
7682 * config/i386/libgcc-darwin.10.4.ver,
7683 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
7684 New files.
7685 * config/i386/t-darwin: Remove.
7686 * config/i386/t-darwin64: Likewise.
7687 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
7688 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
7689 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
7690 * config/i386/t-linux: New file.
7691 * config/i386/t-mingw32: New file.
7692 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
7693 * config/ia64/t-glibc: Rename to ...
7694 * config/ia64/t-linux: ... this.
7695 (SHLIB_MAPFILES): Set.
7696 * config/ia64/t-glibc-libunwind: Rename to ...
7697 * config/ia64/t-linux-libunwind: ... this.
7698 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
7699 * config/ia64/t-slibgcc-hpux: New file.
7700 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
7701 * config/m68k/t-slibgcc-elf-ver: New file.
7702 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
7703 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
7704 to mkmap-flat.awk.
7705 * config/pa/t-slibgcc-hpux: New file.
7706 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
7707 files.
7708 * config/rs6000/libgcc-darwin.10.4.ver,
7709 config/rs6000/libgcc-darwin.10.5.ver: New files.
7710 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
7711 config/rs6000/libgcc-glibc.ver.
7712 * config/rs6000/libgcc-ppc64.ver: Rename to
7713 config/rs6000/libgcc-ibm-ldouble.ver.
7714 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
7715 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
7716 * config/rs6000/t-ldbl128: Rename to ...
7717 * config/rs6000/t-linux: ... this.
7718 (SHLIB_MAPFILES): Adapt filename.
7719 * config/rs6000/t-slibgcc-aix: New file.
7720 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
7721 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
7722 libgcc-excl.ver, libgcc-glibc.ver.
7723 (SHLIB_LINK, SHLIB_INSTALL): Remove.
7724 * config/sparc/libgcc-glibc.ver: New file.
7725 * config/sparc/t-linux: New file.
7726 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
7727 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
7728 t-slibgcc-elf-ver to tmake_file.
7729 Add t-slibgcc-nolc-override to tmake_file for posix threads on
7730 *-*-freebsd[34].
7731 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7732 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
7733 t-slibgcc-elf-ver, t-linux to tmake_file.
7734 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
7735 tmake_file.
7736 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
7737 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
7738 (alpha*-dec-*vms*): Likewise.
7739 (arm*-*-freebsd*): Append to tmake_file.
7740 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
7741 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
7742 arm*-*-linux-*eabi.
7743 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
7744 tmake_file for arm*-*-symbianelf*.
7745 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
7746 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
7747 cris/t-linux.
7748 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
7749 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
7750 pa/t-slibgcc-dwarf-ver to tmake_file.
7751 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
7752 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
7753 (hppa*64*-*-hpux11*): Likewise.
7754 (hppa[12]*-*-hpux11*): Likewise.
7755 (x86_64-*-darwin*): Don't override tmake_file, but only keep
7756 i386/t-crtpc, i386/t-crtfm.
7757 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
7758 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7759 to tmake_file.
7760 Add i386/t-cygwin to tmake_file.
7761 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
7762 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
7763 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7764 to tmake_file.
7765 Add i386/t-mingw32 to tmake_file.
7766 (x86_64-*-mingw*): Likewise.
7767 (ia64*-*-freebsd*): Append to tmake_file.
7768 (ia64*-*-linux*): Append to tmake_file.
7769 Replace ia64/t-glibc by ia64/t-linux.
7770 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
7771 system libunwind.
7772 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
7773 t-slibgcc-hpux to tmake_file.
7774 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
7775 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
7776 (m32rle-*-linux*): Likewise.
7777 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
7778 sjlj exceptions.
7779 (microblaze*-linux*): New case.
7780 Append to tmake_file, add t-slibgcc-nolc-override.
7781 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
7782 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7783 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
7784 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7785 rs6000/t-slibgcc-aix to tmake_file.
7786 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7787 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7788 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7789 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7790 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7791 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
7792 sh*-*-linux*.
7793 (sparc-*-linux*): Append to tmake_file for *-leon*.
7794 Add sparc/t-linux to tmake_file for non-Leon targets.
7795 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
7796 (tic6x-*-uclinux): New case.
7797 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
7798 (tic6x-*-*): Add c6x/t-elf to tmake_file.
7799 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
7800 (am33_2.0-*-linux*): Append to tmake_file.
7801 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
7802 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
7803 x86_64-*-kfreebsd*-gnu.
7804 Add i386/t-linux to tmake_file.
7805
18b4bd7b
ILT
78062011-10-28 Ian Lance Taylor <iant@google.com>
7807
7808 * config/i386/morestack.S: Correct CFI information to do proper
7809 returns throughout function. In 32-bit mode, save %ebx so that it
7810 is restored on unwind.
7811
5b2d9d90
BS
78122011-10-25 Bernd Schmidt <bernds@codesourcery.com>
7813
7814 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
7815 case where B3 isn't the return register.
7816
0d53e346
BS
7817 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
7818 logic for doubleword pops.
7819
cbffbd59
AT
78202011-10-25 Andreas Tobler <andreast@fgznet.ch>
7821
7822 * config/rs6000/t-freebsd: Add wildcard.
7823
56dc349e
PB
78242011-10-21 Paul Brook <paul@codesourcery.com>
7825
7826 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
7827
1e06b07d
UB
78282011-10-16 Uros Bizjak <ubizjak@gmail.com>
7829 Eric Botcazou <ebotcazou@adacore.com>
7830
7831 PR target/50737
7832 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
7833 fs->signal_frame to 1.
7834
b5204884
ILT
78352011-10-07 Ian Lance Taylor <iant@google.com>
7836
7837 * generic-morestack-thread.c: #include <errno.h>.
7838
91a639a1
ILT
78392011-10-07 Ian Lance Taylor <iant@google.com>
7840
7841 PR target/46093
7842 * generic-morestack.c (__generic_morestack): Make sure the segment
7843 is large enough for both the stack frame and the copied
7844 parameters.
7845
cc49116d
RO
78462011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7847
7848 PR bootstrap/49804
7849 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
7850 extra_parts.
7851
2996d8c3
NC
78522011-09-28 Nick Clifton <nickc@redhat.com>
7853
7854 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
7855 64-bit doubles are not enabled.
7856 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
7857 and floatunsisf functions.
7858
1e874273 78592011-09-13 Paul Brook <paul@codesourcery.com>
2996d8c3 7860
1e874273
PB
7861 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
7862 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
7863 * unwind-arm-common.inc: New file.
7864 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
7865 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
7866 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
7867 * config/c6x/libunwind.S: New file.
7868 * config/c6x/pr-support.c: New file.
7869 * config/c6x/unwind-c6x.c: New file.
7870 * config/c6x/unwind-c6x.h: New file.
7871 * config/c6x/t-c6x-elf: New file.
7872
f70c879a
UB
78732011-08-23 Uros Bizjak <ubizjak@gmail.com>
7874
7875 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
7876 (ASM_DIVZERO): Ditto.
7877 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
7878
c55b374b
RS
78792011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
7880
7881 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
7882
1e138510
RS
78832011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
7884
7885 PR target/50090
7886 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
7887 instead of an assembly one.
7888
1563503d
PB
78892011-08-12 Paolo Bonzini <bonzini@gnu.org>
7890
7891 PR bootstrap/50047
7892 * Makefile.in (install-unwind_h): Create
7893 $(gcc_objdir)/include/unwind.h atomically.
7894
3627ac1a
RO
78952011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7896
7897 * Makefile.in (install-unwind_h): Remove destination file first.
7898
c6412d86
RO
78992011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7900
7901 * sync.c: New file.
7902 * config/mips/t-mips16: New file.
7903 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
7904 (mips*-*-linux*): Likewise.
7905 (mips*-sde-elf*): Likewise.
7906 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
7907 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
7908 Add mips/t-mips16 to tmake_file.
7909 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
7910 (mips-*-elf*): Likewise.
7911 (mips64-*-elf*): Likewise.
7912 (mips64orion-*-elf*): Likewise.
7913 (mips*-*-rtems*): Likewise.
7914 (mipstx39-*-elf*): Likewise.
7915 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
7916 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
7917 LIBGCC_SYNC_CFLAGS.
7918 Use $(srcdir) to refer to sync.c.
7919 Use $<.
7920 ($(libgcc-sync-funcs-o)): Likewise.
7921 ($(libgcc-sync-size-funcs-s-o)): Likewise.
7922 ($(libgcc-sync-funcs-s-o)): Likewise.
7923
3cb6e5bd
AS
79242011-08-09 Andreas Schwab <schwab@linux-m68k.org>
7925
7926 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
7927 t-libunwind.
7928
cca2207a
L
79292011-08-08 H.J. Lu <hongjiu.lu@intel.com>
7930
7931 PR other/48007
7932 * config/i386/value-unwind.h: New.
7933
ed39fbad
RS
79342011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
7935
7936 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
7937 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
7938 Add to tmake_file rather than overriding it.
7939
aca0b0b3
RO
79402011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7941
7942 * config/t-softfp: Remove.
7943 * soft-fp: Moved from ../gcc/config.
7944 * soft-fp/README: Remove t-softfp reference.
7945 * soft-fp/t-softfp: Move to config/t-softfp.
7946 (softfp_machine_header): Remove.
7947 (softfp_file_list): Remove config subdir.
7948 (soft-fp-objects): New variable.
7949 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
7950 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
7951 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
7952 * config/t-softfp-excl: New file.
7953 * config/t-softfp-sfdf: New file.
7954 * config/t-softfp-tf: New file.
7955 * config/no-sfp-machine.h: New file.
7956 * config/arm/sfp-machine.h: New file.
7957 * config/arm/t-softfp: New file.
7958 * config/c6x/sfp-machine.h: New file.
7959 * config/i386/32/t-fprules-softfp: Rename to ...
7960 * config/i386/32/t-softfp: ... this.
7961 (tifunctions, LIB2ADD): Remove.
7962 (softfp_int_modes): Override.
7963 * config/i386/64/t-softfp-compat (tf-functions): Remove config
7964 subdir.
7965 * config/i386/64/eqtf2.c: Likewise.
7966 * config/i386/64/getf2.c: Likewise.
7967 * config/i386/64/letf2.c: Likewise.
7968 * config/ia64/sft-machine.h: New file.
7969 * config/ia64/t-fprules-softfp: Rename to ...
7970 * config/ia64/t-softfp: ... this.
7971 * config/lm32/sfp-machine.h: New file.
7972 * config/moxie/t-moxie-softfp: Remove.
7973 * config/rs6000/ibm-ldouble-format: New file.
7974 * config/rs6000/ibm-ldouble.c: New file.
7975 * config/rs6000/libgcc-ppc-glibc.ver: New file
7976 * config/rs6000/libgcc-ppc64.ver: New file
7977 * config/rs6000/sfp-machine.h: New file.
7978 * config/rs6000/t-freebsd: New file.
7979 * config/rs6000/t-ibm-ldouble: New file.
7980 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
7981 libgcc-ppc-glibc.ver.
7982 * config/rs6000/t-linux64: New file.
7983 * config/rs6000/t-ppccomm (LIB2ADD): Add
7984 $(srcdir)/config/rs6000/ibm-ldouble.c.
7985 * config/rs6000/t-ppccomm-ldbl: New file.
7986 * config/score/sfp-machine.h: New file.
7987 * config.host (sfp_machine_header): Explain.
7988 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
7989 t-softfp to tmake_file.
7990 (arm*-*-uclinux*): Likewise.
7991 (arm*-*-ecos-elf): Likewise.
7992 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7993 (arm*-*-rtems*): Likewise.
7994 (arm*-*-elf): Likewise.
7995 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
7996 in tmake_file.
7997 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
7998 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
7999 (lm32-*-uclinux*): Likewise.
8000 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
8001 t-softfp-excl, t-softfp.
8002 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
8003 (powerpc64-*-darwin*): Likewise.
8004 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
8005 to tmake_file.
8006 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
8007 tmake_file.
8008 (powerpc-*-eabisim*): Likewise.
8009 (powerpc-*-elf*): Likewise.
8010 (powerpc-*-eabialtivec*): Likewise.
8011 (powerpc-xilinx-eabi*): Likewise.
8012 (powerpc-*-rtems*): Likewise.
8013 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
8014 t-softfp-excl, t-softfp to tmake_file.
8015 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
8016 rs6000/t-ppccomm-ldbl to tmake_file.
8017 (powerpcle-*-elf*): Likewise.
8018 (powerpcle-*-eabisim*): Likewise.
8019 (powerpcle-*-eabi*): Likewise.
8020 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8021 rs6000/t-ibm-ldouble to tmake_file.
8022 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8023 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8024 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
8025 (tic6x-*-*): Likewise.
8026 (i[34567]86-*-darwin*, x86_64-*-darwin*,
8027 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
8028 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
8029 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
8030 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
8031 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
8032 t-softfp to tmake_file.
8033 * configure.ac (sfp_machine_header): Provide default if unset.
8034 Substitute.
8035 Link sfp-machine.h to config/$sfp_machine_header.
8036 * configure: Regenerate.
8037
569dc494
RO
80382011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8039
8040 * Makefile.in (double_type_size, long_double_type_size): Set.
8041 Remove $(fpbit-in-libgcc) support.
8042 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
8043 (fpbit-src): New variable.
8044 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
8045 Compile with -DFLOAT $(FPBIT_CFLAGS).
8046 Use $<.
8047 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
8048 Compile with $(FPBIT_CFLAGS).
8049 Use $<.
8050 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
8051 Compile with -DFLOAT $(TPBIT_CFLAGS).
8052 Use $<.
8053 * configure.ac (double_type_size, long_double_type_size):
8054 Determine and substitute.
8055 * configure: Regenerate.
8056 * fp-bit.c, fp-bit.h: New files.
8057 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
8058 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
8059 * config/mips/t-mips: New file.
8060 * config/mips/t-sdemtk: New file.
8061 * config/rs6000/ppc64-fp.c: New file.
8062 * config/rs6000/t-darwin (LIB2ADD): Add
8063 $(srcdir)/config/rs6000/ppc64-fp.c.
8064 * config/rs6000/t-ppc64-fp: New file.
8065 * config/rx/rx-lib.h: New file.
8066 * config/rx/t-rx (FPBIT): Set to true.
8067 ($(gcc_objdir)/fp-bit.c): Remove.
8068 (DPBIT): Set to true only with -m64bit-doubles.
8069 ($(gcc_objdir)/dp-bit.c): Remove.
8070 * config/sparc/t-softfp: Remove.
8071 * config/spu/t-elf: New file.
8072 * config/t-fdpbit, config/t-fpbit: New files.
8073 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
8074 (mips*-*-*): Likewise.
8075 (arm-wrs-vxworks): Likewise.
8076 (arm*-*-freebsd*): Likewise.
8077 (avr-*-rtems*): Add t-fpbit to tmake_file.
8078 (avr-*-*): Likewise.
8079 (bfin*-elf*): Add t-fdpbit to tmake_file.
8080 (bfin*-uclinux*): Likewise.
8081 (bfin*-linux-uclibc*): Likewise.
8082 (bfin*-rtems*): New case.
8083 Add t-fdpbit to tmake_file.
8084 (bfin*-*): Add t-fdpbit to tmake_file.
8085 (crisv32-*-elf): Likewise.
8086 (cris-*-linux*): Likewise.
8087 (fr30-*-elf): Likewise.
8088 (frv-*-elf, frv-*-*linux*): Likewise.
8089 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
8090 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
8091 (m32r-*-elf*): Likewise.
8092 (m32rle-*-elf*): Likewise.
8093 (m32r-*-linux*): Likewise.
8094 (m32rle-*-linux*): Likewise.
8095 (mcore-*-elf): Add t-fdpbit to tmake_file.
8096 (microblaze*-*-*): Likewise.
8097 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
8098 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
8099 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
8100 Fix typo.
8101 Add mips/t-tpbit to tmake-file.
8102 (mips*-*-linux*): Fix typo.
8103 (mips*-sde-elf*): New case
8104 Add mips/t-sdemtk unless using newlib.
8105 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
8106 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
8107 (mn10300-*-*): Likewise.
8108 (pdp11-*-*): Likewise.
8109 (picochip-*-*): Add t-fpbit to tmake_file.
8110 (powerpc-*-eabisimaltivec*): Likewise.
8111 (powerpc-*-eabisim*): Likewise.
8112 (powerpc-*-elf*): Likewise.
8113 (powerpc-*-eabialtivec*): Likewise.
8114 (powerpc-xilinx-eabi*): New case.
8115 Add t-fdpbit to tmake_file.
8116 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
8117 (powerpc-*-rtems*): Likewise.
8118 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
8119 tmake_file.
8120 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
8121 tmake_file.
8122 (powerpc-*-lynxos*): Likewise.
8123 (powerpcle-*-elf*): Likewise.
8124 (powerpcle-*-eabisim*): Likewise.
8125 (powerpcle-*-eabi*): Likewise.
8126 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8127 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
8128 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8129 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8130 (rx-*-elf): Add t-fdpbit to tmake_file.
8131 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8132 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8133 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8134 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
8135 sh*-*-netbsd*.
8136 (sh-*-rtems*): Add t-fdpbit to tmake_file.
8137 (sh-wrs-vxworks): Likewise.
8138 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
8139 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
8140 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
8141 (sparc64-*-rtems*): ... new case.
8142 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
8143 (spu-*-elf*): Likewise.
8144 Add spu/t-elf to tmake_file.
8145 (v850*-*-*): Add t-fdpbit to tmake_file.
8146 (xstormy16-*-elf): Likewise.
8147 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
8148 (mep*-*-*): Likewise.
8149
201cdb74
RO
81502011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8151
8152 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
8153 variables.
8154 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
8155 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
8156 (install-unwind_h): New target.
8157 (all): Depend on it.
8158 * config.host (unwind_header): New variable.
8159 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
8160 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8161 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
8162 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
8163 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
8164 Set unwind_header.
8165 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
8166 Set unwind_header.
8167 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
8168 arm*-*-eabi*.
8169 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
8170 Set unwind_header.
8171 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
8172 (ia64*-*-freebsd*): Likewise.
8173 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
8174 tmake_file.
8175 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
8176 $with_system_libunwind.
8177 (ia64*-*-hpux*): Set tmake_file.
8178 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
8179 (picochip-*-*): Set tmake_file.
8180 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
8181 md_unwind_header.
8182 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8183 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8184 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
8185 (xtensa*-*-elf*): Set tmake_file.
8186 (xtensa*-*-linux*): Likewise.
8187 * configure.ac: Include ../config/unwind_ipinfo.m4.
8188 Call GCC_CHECK_UNWIND_GETIPINFO.
8189 Link unwind.h to $unwind_header.
8190 * configure: Regenerate.
8191 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
8192 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
8193 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
8194 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
8195 * config/unwind-dw2-fde-darwin.c: New file.
8196 * config/arm/libunwind.S, config/arm/pr-support.c,
8197 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
8198 config/arm/unwind-arm.h,: New files.
8199 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
8200 config/ia64/t-eh-ia64, config/ia64/t-glibc,
8201 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
8202 config/ia64/t-vms, config/ia64/unwind-ia64.c,
8203 config/ia64/unwind-ia64.h: New files.
8204 * config/picochip/t-picochip: New file.
8205 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
8206 files.
8207 * config/rs6000/t-darwin (LIB2ADDEH): Set.
8208 * config/s390/t-tpf (LIB2ADDEH): Remove.
8209 * config/t-darwin (LIB2ADDEH): Set.
8210 * config/t-eh-dw2-dip: New file.
8211 * config/t-libunwind, config/t-libunwind-elf: New files.
8212 * config/t-sol2 (LIB2ADDEH): Remove.
8213 * config/xtensa/t-xtensa: New file.
8214
40f2f11f
L
82152011-08-02 H.J. Lu <hongjiu.lu@intel.com>
8216
8217 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
8218 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
8219 long long to check rt_sigreturn syscall.
8220
bd15e32c
AM
82212011-08-02 Alan Modra <amodra@gmail.com>
8222
8223 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8224 Restore for indirect call bcrtl from correct stack slot, and only
8225 if cfa+40 isn't valid.
8226
655b30bf
JB
82272011-08-01 Julian Brown <julian@codesourcery.com>
8228
8229 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
8230 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
8231 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
8232
247eb06f
JB
82332011-08-01 Julian Brown <julian@codesourcery.com>
8234
8235 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
8236 (libgcc-std.ver.in): Use above.
8237 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
8238 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
8239 throughout file.
8240 * config/t-fixedpoint-gnu-prefix: New file.
8241 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
8242 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
8243 instead of __PFX__.
8244
02a8fe00
L
82452011-07-28 H.J. Lu <hongjiu.lu@intel.com>
8246
8247 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
8248 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
8249 for x86-64. Properly check __x86_64__ and __LP64__.
8250
5fce9126
L
82512010-07-28 H.J. Lu <hongjiu.lu@intel.com>
8252
8253 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
8254 version.
8255 (_FP_WS_TYPE): Likewise.
8256 (_FP_I_TYPE): Likewise.
8257
2374a88a
AM
82582011-07-28 Alan Modra <amodra@gmail.com>
8259
8260 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8261 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
8262 in a plt call stub. Do restore r2 if stopped on bctrl.
8263
e44dbbe1
RO
82642011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8265
8266 * config.host (i[3456x]86-*-netware*): Remove.
8267 * config/i386/netware-crt0.c, config/i386/t-nwld,
8268 config/i386/t-slibgcc-nwld: Remove.
8269
bcead286
BS
82702011-07-15 Bernd Schmidt <bernds@codesourcery.com>
8271
8272 * config.host: Handle tic6x-*-*.
8273 * config/c6x/c6x-abi.h: New file.
8274
b3fe1584
RO
82752011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8276
8277 * config/i386/crtprec.c: New file.
8278 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
8279 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
8280 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
8281 (x86_64-*-darwin*): Likewise.
8282 (i[34567]86-*-solaris2*: Likewise.
8283
35d8090d
RO
82842011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8285
8286 * config/alpha/crtfastmath.c: New file.
8287 * config/i386/crtfastmath.c: New file.
8288 * config/ia64/crtfastmath.c: New file.
8289 * config/mips/crtfastmath.c: New file.
8290 * config/sparc/crtfastmath.c: New file.
8291
8292 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
8293 crtfastmath.c.
8294 Add -frandom-seed=gcc-crtfastmath.
8295 * config/alpha/t-crtfm: Remove.
8296 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
8297 * config/ia64/t-ia64 (crtfastmath.o): Remove.
8298
8299 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
8300 (alpha*-dec-osf5.1*): Likewise.
8301 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
8302 Add crtfastmath.o to extra_parts.
8303 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
8304 Add crtfastmath.o to extra_parts.
8305 (x86_64-*-darwin*): Likewise.
8306 (x86_64-*-mingw*): Likewise.
8307 (ia64*-*-elf*): Add t-crtfm to tmake_file.
8308 (ia64*-*-freebsd*): Likewise.
8309 (ia64*-*-linux*): Likewise.
8310 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
8311 Add crtfastmath.o to extra_parts.
8312
e141542e
RO
83132011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8314
8315 * config/darwin-crt3.o: New file.
8316 * config/rs6000/darwin-crt2.c: New file.
8317 * config/t-darwin: New file.
8318 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
8319 (crt2.o): New rule.
8320 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
8321 (powerpc-*-darwin*): Add crt2.o to extra_parts.
8322 (powerpc64-*-darwin*): Likewise.
8323
2d1efe2d
RO
83242011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8325
8326 * config/i386/netware-crt0.c: New file.
8327 * config/i386/t-nwld: Rename to ...
8328 * config/i386/t-slibgcc-nwld: ... this.
8329 * config/i386/t-nwld: New file.
8330 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
8331 tmake_file.
8332 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
8333 extra_parts.
8334
4a8bb046
RO
83352011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8336
8337 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
8338 i386/t-crtstuff.
8339 * configure: Regenerate.
8340
2d8d5935
RO
83412011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8342
8343 * dfp-bit.c, dfp-bit.h: New files.
8344 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
8345 variables.
8346 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
8347 ($(d64pbit-o)): Likewise.
8348 ($(d128pbit-o)): Likewise.
8349 * config/t-dfprules: New file.
8350 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
8351 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
8352 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8353 (x86_64-*-linux*): Likewise.
8354 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8355 (i[34567]86-*-cygwin*): Likewise.
8356 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
8357 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8358
2c50b2c3
RO
83592011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8360
8361 * Makfile.in (LIBGCOV): New variable.
8362 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
8363 * libgcov.c: New file.
8364
a039d7c2
RO
83652011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8366
8367 * fixed-bit.c, fixed-bit.h: New files.
8368 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
8369 refer to fixed-bit.c.
8370
1e4b2746
JM
83712011-07-07 Joseph Myers <joseph@codesourcery.com>
8372
8373 * config.host (*local*): Remove.
8374
fbdd5d87
RO
83752011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8376
8377 PR target/39150
8378 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
8379 like i?86-*-solaris2.1[0-9]*.
8380 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
8381 * configure.ac (i?86-*-solaris2*): Likewise.
8382 * configure: Regenerate.
8383
9e7714f4
TS
83842011-07-06 Thomas Schwinge <thomas@schwinge.name>
8385
8386 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8387 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
8388 md_unwind_header by splitting out of...
8389 (i[34567]86-*-linux*): ... this.
8390 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
8391 Remove md_unwind_header by splitting out of...
8392 (x86_64-*-linux*): ... this.
8393
6dab9931
GJL
83942011-07-04 Georg-Johann Lay <avr@gjlay.de>
8395
8396 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
8397
4be46d19
NC
83982011-06-28 Nick Clifton <nickc@redhat.com>
8399
8400 * config.host: Recognize all V850 variants.
8401
1da9434b
UB
84022011-06-22 Uros Bizjak <ubizjak@gmail.com>
8403
8404 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
8405
e4d48a4d
RO
84062011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8407
8408 * shared-object.mk (c_flags-$o): Save c_flags.
8409 ($(base)$(objext)): Use it.
8410 ($(base)_s$(objext)): Likewise.
8411
3801c801
BS
84122011-06-21 Bernd Schmidt <bernds@codesourcery.com>
8413
8414 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
8415 * libgcc-std.ver.in (GCC_4.7.0): New section.
8416
0ad8bb3b 84172011-06-16 Georg-Johann Lay <avr@gjlay.de>
1da9434b 8418
0ad8bb3b
GJL
8419 PR target/49313
8420 PR target/29524
8421 * config/avr/t-avr: Fix line endings.
8422 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
8423 _parityXX2.
8424
ea963999
OH
84252011-06-14 Olivier Hainque <hainque@adacore.com>
8426 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8427
8428 * config/mips/irix6-unwind.h: New file.
8429 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
8430
b11b0904
EB
84312011-06-10 Eric Botcazou <ebotcazou@adacore.com>
8432
8433 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
8434 (sparc64_fallback_frame_state): Use it.
8435 (sparc64_frob_update_context): Further adjust context.
8436 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
8437 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
8438 * config/sparc/sol2-cn.S: Likewise.
8439
10e48e39
RO
84402011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8441
8442 * enable-execute-stack-empty.c: New file.
8443 * enable-execute-stack-mprotect.c: New file.
8444 * config/i386/enable-execute-stack-mingw32.c: New file.
8445 * config.host (enable_execute_stack): New variable.
8446 Select appropriate variants.
8447 * configure.ac: Link enable-execute-stack.c to
8448 $enable_execute_stack.
8449 * configure: Regenerate.
8450 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
8451 (lib2funcs): Remove _enable_execute_stack.
8452
10c4cabc
DM
84532011-06-09 David S. Miller <davem@davemloft.net>
8454 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8455
8456 * config.host (sparc-*-linux*): Correct md_unwind_header
8457 filename.
8458 (s390x-ibm-tpf*): Fix typo.
8459
aa4203e7
RO
84602011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8461
8462 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
8463 Add crtfastmath.o to extra_parts.
8464 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
8465 mips/t-crtfm.
8466 * config/mips/t-crtfm: Remove.
8467
0defd786
JDA
84682011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8469
8470 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
8471
82f247af
KK
84722011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
8473
8474 * config.host (sh*-*-linux*): Fix typo.
8475
58cd1d70
RO
84762011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8477
8478 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
8479 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
8480 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
8481 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
8482 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
8483 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
8484 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
8485 Wrap in !__MINGW64__.
8486 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
8487 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
8488 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
8489 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
8490 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
8491 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
8492 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
8493 Wrap in !__LP64__.
8494 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
8495 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
8496 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
8497 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
8498 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
8499 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
8500 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
8501 * config/no-unwind.h: New file.
8502 * config.host (md_unwind_header): Document.
8503 Define.
8504 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
8505 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
8506 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
8507 hppa[12]*-*-hpux11*): Set md_unwind_header.
8508 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
8509 Set md_unwind_header.
8510 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
8511 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
8512 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
8513 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
8514 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
8515 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
8516 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
8517 md_unwind_header.
8518 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
8519 * configure: Regenerate.
8520
737346fa
RO
85212011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8522
8523 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
8524 Set tmake_file, extra_parts.
8525 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
8526 Remove O32 support.
8527 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
8528 Remove O32 support.
8529 * config/mips/t-irix6: New file.
8530 * config/mips/t-slibgcc-irix: New file.
8531
c192cee6
RO
85322011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8533
8534 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
8535 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
8536
ee33b5f0
RO
85372011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8538
8539 * configure.ac (target_thread_file): Determine thread model.
8540 * configure: Regenerate.
8541 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
8542 * config/alpha/t-alpha: New file.
8543 * config/alpha/t-crtfm: Use $<.
8544 * config/alpha/t-ieee: New file.
8545 * config/alpha/t-osf-pthread: New file.
8546 * config/alpha/t-slibgcc-osf: New file.
8547 * config/alpha/libgcc-osf5.ver: New file.
8548
0699e415
RO
85492011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8550
8551 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
8552 tmake_file.
8553 Add crtfastmath.o to extra_parts.
8554
a3fab9c2
RO
85552011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8556
8557 * config/gmon-sol2.c: Reindent.
8558 Cleanup comments.
8559 Remove, correct casts.
8560 Use STDERR_FILENO, NULL.
8561 (BASEADDRESS): Remove.
8562 (minbrk): Remove.
8563 (errno, sbrk): Remove declarations.
8564 (monstartup) [hp300]: Remove.
8565 (mcount): Remove.
8566
ca24c5ad
RO
85672011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8568
8569 * Makefile.in (cpu_type): Define.
8570 * config.host (i[34567]86-*-rtems*): Handle it.
8571 (i[34567]86-*-solaris2*): Move body ...
8572 (*-*-solaris2*): ... here.
8573 New case, generalize.
8574 (sparc-*-elf*): Handle it.
8575 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
8576 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
8577 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
8578 Fold into ...
8579 (sparc*-*-solaris2*): ... this.
8580 New case.
8581 (sparc64-*-elf*): Handle it.
8582 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
8583 Merge ../gcc/config/i386/gmon-sol2.c.
8584 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
8585 Use C comments.
8586 Merge ../gcc/config/i386/sol2-gc1.asm.
8587 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
8588 Use C comments.
8589 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
8590 Use C comments.
8591 * config/i386/t-crtfm (crtfastmath.o): Use $<.
8592 * config/i386/t-crtstuff: New file.
8593 * config/i386/t-softfp: New file.
8594 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
8595 $(T)crti.o, $(T)crtn.o): Remove.
8596 (gcrt1.o): New rule.
8597 (TARGET_LIBGCC2_CFLAGS): Remove.
8598 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
8599 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
8600 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
8601 * config/sparc/t-sol2: New file.
8602 * config/sparc/t-crtfm: Move to ...
8603 * config/t-crtfm: ... this.
8604 Use $(cpu_type), $<.
8605 * config/t-crtin: New file.
8606 * config/sparc/t-softfp: New file.
8607 * config/sparc/t-softmul: New file.
8608 * config/t-rtems: New file.
8609 * config/t-slibgcc: New file.
8610 * config/t-slibgcc-elf-ver: New file.
8611 * config/t-slibgcc-gld: New file.
8612 * config/t-slibgcc-sld: New file.
8613 * config/t-sol2: New file.
8614 * configure.ac: Include ../config/lib-ld.m4.
8615 Call AC_LIB_PROG_LD_GNU.
8616 Substitute cpu_type.
8617 * configure: Regenerate.
8618
ad5f3d7b
BS
86192011-05-27 Bernd Schmidt <bernds@codesourcery.com>
8620
8621 PR bootstrap/49173
8622 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
8623 libgcc-std.ver in the build directory.
8624 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
8625 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
8626
cdbf4541
BS
86272011-05-25 Bernd Schmidt <bernds@codesourcery.com>
8628
8629 * libgcc-std.ver.in: New file.
8630 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
8631 variables.
8632 (libgcc-std.ver): New rule.
8633 * config/t-gnu-prefix: New file.
8634
c8028650
RO
86352011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8636
8637 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
8638
4a68b4ca
JM
86392011-05-10 Joseph Myers <joseph@codesourcery.com>
8640
8641 * config/i386/darwin-lib.h: New file.
8642
80cf2e08
JM
86432011-05-10 Joseph Myers <joseph@codesourcery.com>
8644
8645 * config/arm/symbian-lib.h: New.
8646
a3330c9d
CD
86472011-05-04 Chris Demetriou <cgd@google.com>
8648
8649 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
8650 (__x86.get_pc_thunk.bx): ...this.
8651 (__morestack): Adjust for rename, remove undef of __i686.
8652
6ace0756
CD
86532011-05-03 Chris Demetriou <cgd@google.com>
8654
8655 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
8656
ebb9f8b0
JM
86572011-03-22 Joseph Myers <joseph@codesourcery.com>
8658
8659 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
8660 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
8661 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
8662 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
8663 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
8664 Remove cases.
8665
9cfa1499
AT
86662011-03-14 Andreas Tobler <andreast@fgznet.ch>
8667
8668 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
8669 Adjust copyright year.
8670
457186f6
ILT
86712011-03-07 Ian Lance Taylor <iant@google.com>
8672
8673 * generic-morestack.c (__splitstack_find): Adjust returned stack
8674 pointer to include all registers pushed by __morestack.
8675
58c741a6
DK
86762011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
8677
8678 PR target/40125
8679 * configure.ac: Call ACX_NONCANONICAL_TARGET.
8680 (toolexecdir): Calculate and AC_SUBST.
8681 (toolexeclibdir): Likewise.
8682 * Makefile.in (target_noncanonical): Import.
8683 (toolexecdir): Likewise.
8684 (toolexeclibdir): Likewise.
8685 * configure: Regenerate.
8686
26716c44
NF
86872010-12-13 Nathan Froyd <froydnj@codesourcery.com>
8688
8689 PR target/46040
8690 * config/arm/bpabi.h: Rename to...
8691 * config/arm/bpabi-lib.h: ...this.
8692
b595b1a1
RO
86932010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8694
8695 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
8696 appropriate.
8697 * configure: Regenerate.
8698
a3abe41c
NF
86992010-11-24 Nathan Froyd <froydnj@codesourcery.com>
8700
8701 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
8702 __FLOAT_WORD_ORDER__.
8703 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
8704 Delete.
8705
455c8f48
RW
87062010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8707
8708 PR other/46202
8709 * Makefile.in (install-strip): New phony target.
8710
f3824a8b
ILT
87112010-11-07 Ian Lance Taylor <iant@google.com>
8712
8713 PR target/46089
8714 * config/i386/morestack.S (__morestack_large_model): New
8715 function.
8716
18ed6ee4
NF
87172010-10-23 Nathan Froyd <froydnj@codesourcery.com>
8718
8719 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
8720 Delete.
8721 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
8722
8ac7fdcb
NF
87232010-10-14 Nathan Froyd <froydnj@codesourcery.com>
8724
8725 * config/arm/bpabi.h: New file.
8726 * config/frv/frv-abi.h: New file.
8727
cdb388c2
ILT
87282010-10-01 Ian Lance Taylor <iant@google.com>
8729
8730 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
8731 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
8732
ef7c141c
L
87332010-10-01 H.J. Lu <hongjiu.lu@intel.com>
8734
8735 PR target/45858
8736 * config.host: Add the missing `$'.
8737
80920132
ME
87382010-09-30 Michael Eager <eager@eagercon.com>
8739
8740 * config.host: Add microblaze*-*-*.
8741 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
8742 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
8743 udivsi3.asm,umodsi3.asm}: New.
8744
6dace308
ILT
87452010-09-28 Ian Lance Taylor <iant@google.com>
8746
8747 * configure.ac: Adjust CFI test to test assembler directly rather
8748 than checking gcc preprocessor macro.
8749 * configure: Rebuild.
8750
b6110d6d
ILT
87512010-09-27 Ian Lance Taylor <iant@google.com>
8752
8753 * configure.ac: Test whether assembler supports CFI directives.
8754 * config.host: Only add t-stack and i386/t-stack-i386 to
8755 tmake_file if libgcc_cv_cfi is "yes".
8756 * configure: Rebuild.
8757
7458026b
ILT
87582010-09-27 Ian Lance Taylor <iant@google.com>
8759
8760 * generic-morestack.h: New file.
8761 * generic-morestack.c: New file.
8762 * generic-morestack-thread.c: New file.
8763 * config/i386/morestack.S: New file.
8764 * config/t-stack: New file.
8765 * config/i386/t-stack-i386: New file.
8766 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
8767 i386/t-stack-i386 to tmake_file.
8768
5b50fc0c
IS
87692010-09-21 Iain Sandoe <iains@gcc.gnu.org>
8770
8771 * Makefile.in (libgcc-extra-parts): Check for static archives and
8772 invoke ranlib after installing them.
8773 (gcc-extra-parts): Likewise.
8774 (install-leaf): Likewise.
8775
b93cf342
L
87762010-09-14 H.J. Lu <hongjiu.lu@intel.com>
8777
8778 * configure: Regenerated.
8779
996b42ef
KT
87802010-09-10 Kai Tietz <kai.tietz@onevision.com>
8781
b93cf342 8782 * configure: Regenerated.
996b42ef 8783
be1c764e
GP
87842010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
8785 Andrew Pinski <pinskia@gmail.com>
8786
1da9434b 8787 PR target/40959
be1c764e
GP
8788 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
8789
cc0ae0ca
L
87902010-09-06 H.J. Lu <hongjiu.lu@intel.com>
8791
8792 PR target/45524
8793 * configure: Regenerated.
8794
84f47d20
AS
87952010-09-06 Andreas Schwab <schwab@redhat.com>
8796
8797 * configure: Regenerate.
8798
4159fb8d
UB
87992010-09-03 Uros Bizjak <ubizjak@gmail.com>
8800
8801 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
8802 64bit targets.
8803 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
8804 for 64bit targets.
8805
0df8fcc8
UB
88062010-09-03 Uros Bizjak <ubizjak@gmail.com>
8807 Iain Sandoe <iains@gcc.gnu.org>
8808
8809 PR target/45476
8810 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
8811 LIB2FUNCS_EXCLUDE functions.
8812
3c39bca6
AK
88132010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8814
8815 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
8816 Include dfp.m4.
8817 * configure: Regenerate.
8818
d78552bd
UB
88192010-09-01 Uros Bizjak <ubizjak@gmail.com>
8820
8821 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
8822 i386/t-freebsd to tmake_file.
8823 * config/i386/t-freebsd: New file.
8824 * config/i386/libgcc-bsd.ver: New file.
8825
c5b79d4e
NF
88262010-07-23 Nathan Froyd <froydnj@codesourcery.com>
8827
8828 * config.host (powerpc*-eabispe*): Set tmake_file.
8829 (powerpc*-eabi*): Likewise.
8830 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
8831 crtbeginS, crtendS, crtbeginT.
8832
48b09a92
KH
88332010-06-12 Kazu Hirata <kazu@codesourcery.com>
8834
8835 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
8836 to tmake_file. Add crtfastmath.o to extra_parts.
8837 * config/mips/t-crtfm: New.
8838
7d296953 88392010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
a4389204
JS
8840
8841 * config.host (sparc64-*-rtems*): New target.
8842
ed104137
RO
88432010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8844
8845 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
8846 assembler syntax.
8847
3f56ef8b
TS
88482010-04-15 Thomas Schwinge <tschwinge@gnu.org>
8849
8850 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
8851
8c200350
RO
88522010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8853
8854 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
8855 alpha-dec-osf5.0* support.
8856
7d296953 88572010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
c1b14424
RC
8858
8859 * config.host: Add lm32-*-rtems*.
8860
f128db92 88612010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7d296953 8862 Uros Bizjak <ubizjak@gmail.com>
f128db92
RO
8863
8864 PR target/39048
8865 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
8866 like other remaining 32-bit x86 OSes.
8867 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
8868 assembler syntax.
8869 * config/i386/libgcc-sol2.ver: New file.
8870 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
8871
7d296953 88722010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
368fabd5
JH
8873
8874 PR c/43553
8875 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
8876 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
8877 is used and substitute set_use_emutls.
8878 * configure: Regenerated.
8879
15baf7f8
TG
88802010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
8881
8882 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
8883
7f5441df
RO
88842010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8885
8886 PR target/38085
8887 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
8888 MULTILIB_CFLAGS.
8889 ($(T)gcrt1.o): Likewise.
8890 ($(T)crt1.o): Likewise.
8891 ($(T)crti.o): Likewise.
8892 ($(T)crtn.o): Likewise.
8893
ef74edbd
RW
88942010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8895
8896 PR other/42980
8897 * Makefile.in (install): Use $(MAKE) string in rule, for
8898 parallel make.
8899
e7c914db
HPN
89002010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
8901
8902 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
8903 * config/mmix/t-mmix: New file.
8904 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
8905
1bcb71c4
JH
89062010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
8907
8908 PR java/41991
8909 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
8910 SHLIB_MAPFILES.
8911
e6e50811
AG
89122010-01-04 Anthony Green <green@moxielogic.com>
8913
8914 * config/moxie/crti.asm, config/moxie/crtn.asm,
8915 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
8916 config/moxie/t-moxie: New files.
8917 * config.host: Add t-moxie-softfp reference.
8918
7d296953 89192009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
ca8520ad
IS
8920
8921 PR other/39888
8922 * config/t-slibgcc-darwin: Fix embedded rpaths for
8923 --enable-version-specific-runtime-libs, build extension stub
8924 libs exposing features available from current libgcc_s.
8925
7d296953 89262009-11-11 Jon Beniston <jon@beniston.com>
aa4945c1 8927
d78552bd
UB
8928 * config.host: Add lm32 targets.
8929 * config/lm32: New directory.
8930 * config/lm32/libgcc_lm32.h: New file.
8931 * config/lm32/_mulsi3.c: New file.
8932 * config/lm32/_udivmodsi4.c: New file.
8933 * config/lm32/_divsi3.c: New file.
8934 * config/lm32/_modsi3.c: New file.
8935 * config/lm32/_udivsi3.c: New file.
8936 * config/lm32/_umodsi3.c: New file.
8937 * config/lm32/_lshrsi3.S: New file.
8938 * config/lm32/_ashrsi3.S: New file.
8939 * config/lm32/_ashlsi3.S: New file.
8940 * config/lm32/crti.S: New file.
8941 * config/lm32/crtn.S: New file.
8942 * config/lm32/t-lm32: New file.
8943 * config/lm32/t-elf: New file.
8944 * config/lm32/t-uclinux: New file.
aa4945c1 8945
65a324b4
NC
89462009-10-26 Nick Clifton <nickc@redhat.com>
8947
8948 * config.host: Add support for RX target.
8949 * config/rx: New directory.
8950 * config/rx/rx-abi-functions.c: New file. Supplementary
8951 functions for libgcc to support the RX ABI.
8952 * config/rx/rx-abi.h: New file. Supplementary header file for
8953 libgcc RX ABI functions.
8954 * config/rx/t-rx: New file: Makefile fragment for building
8955 libgcc for the RX.
8956
dfb3b0e3
UB
89572009-10-09 Uros Bizjak <ubizjak@gmail.com>
8958
8959 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
8960 constraint of y0 to "g".
8961
81dd9fd7
AK
89622009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8963
8964 * config.host: Include the s390 makefile fragments.
8965 * config/s390/32/_fixdfdi.c: New file.
8966 * config/s390/32/_fixsfdi.c: New file.
8967 * config/s390/32/_fixtfdi.c: New file.
8968 * config/s390/32/_fixunsdfdi.c: New file.
8969 * config/s390/32/_fixunssfdi.c: New file.
8970 * config/s390/32/_fixunstfdi.c: New file.
8971 * config/s390/32/t-floattodi: New file.
8972 * config/s390/libgcc-glibc.ver: New file.
8973 * config/s390/t-crtstuff: New file.
8974 * config/s390/t-linux: New file.
8975 * config/s390/t-tpf: New file.
8976
df58e648
RW
89772009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8978
8979 * configure.ac (AC_PREREQ): Bump to 2.64.
8980
79052be3
KK
89812009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
8982
8983 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
8984
5213506e
RW
89852009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8986
8987 * configure: Regenerate.
8988
a9a25daa
DR
89892009-08-09 Douglas B Rupp <rupp@gnat.com>
8990
8991 * config.host (ia64-hp-*vms*): New target.
8992 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
8993 with ia64-hp-*vms*.
8994
6efbd53f
RW
89952009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8996
8997 * configure.ac: Add snippet for maintainer-mode.
8998 * configure: Regenerate.
8999 * Makefile.in (AUTOCONF, configure_deps): New variables.
9000 ($(srcdir)/configure)): New rule, active only with maintainer
9001 mode turned on.
9002
7acf4da6
DD
90032009-06-23 DJ Delorie <dj@redhat.com>
9004
9005 Add MeP port.
9006 * config.host: Add mep support.
9007
54f549af
KT
90082009-06-22 Kai Tietz <kai.tietz@onevision.com>
9009
34481f28 9010 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 9011 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
34481f28
UB
9012
9013 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
9014 for mingw targets.
54f549af
KT
9015 * config/i386/64/_multc3.c: Likewise.
9016 * config/i386/64/_powitf2.c: Likewise.
9017 * config/i386/64/eqtf2.c: Likewise.
9018 * config/i386/64/getf2.c: Likewise.
9019 * config/i386/64/letf2.c: Likewise.
9020 * config/i386/64/letf2.c: Likewise.
34481f28
UB
9021 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
9022 unsigned long long for x64 mingw targets.
9023 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
9024 (_FP_I_TYPE): Define as long long for x64 mingw target.
54f549af 9025
fea96e25
MR
90262009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
9027
9028 * config.host (vax-*-linux*): New.
9029
cceb575c
AG
90302009-05-31 Anthony Green <green@moxielogic.com>
9031
9032 * config.host: Add moxie support.
9033 * config/moxie/t-moxie: New file.
9034
7d296953 90352009-05-29 David Billinghurst <billingd@gcc.gnu.org>
e997fb9c
DB
9036
9037 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 9038 t-softfp to tmake_file for i[34567]86-*-cygwin*.
e997fb9c 9039
532bfb0a
AJ
90402009-04-17 Aurelien Jarno <aurelien@aurel32.net>
9041
9042 * config.host: Add i386/${host_address}/t-fprules-softfp to
9043 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
9044
748086b7
JJ
90452009-04-09 Nick Clifton <nickc@redhat.com>
9046
9047 * config/ia64/tf-signs.c: Change copyright header to refer to
9048 version 3 of the GNU General Public License with version 3.1
9049 of the GCC Runtime Library Exception and to point readers at
9050 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
9051 web page.
9052 * config/i386/32/tf-signs.c: Likewise.
9053 * config/libbid/_addsub_dd.c: Likewise.
9054 * config/libbid/_addsub_sd.c: Likewise.
9055 * config/libbid/_addsub_td.c: Likewise.
9056 * config/libbid/_dd_to_df.c: Likewise.
9057 * config/libbid/_dd_to_di.c: Likewise.
9058 * config/libbid/_dd_to_sd.c: Likewise.
9059 * config/libbid/_dd_to_sf.c: Likewise.
9060 * config/libbid/_dd_to_si.c: Likewise.
9061 * config/libbid/_dd_to_td.c: Likewise.
9062 * config/libbid/_dd_to_tf.c: Likewise.
9063 * config/libbid/_dd_to_udi.c: Likewise.
9064 * config/libbid/_dd_to_usi.c: Likewise.
9065 * config/libbid/_dd_to_xf.c: Likewise.
9066 * config/libbid/_df_to_dd.c: Likewise.
9067 * config/libbid/_df_to_sd.c: Likewise.
9068 * config/libbid/_df_to_td.c: Likewise.
9069 * config/libbid/_di_to_dd.c: Likewise.
9070 * config/libbid/_di_to_sd.c: Likewise.
9071 * config/libbid/_di_to_td.c: Likewise.
9072 * config/libbid/_div_dd.c: Likewise.
9073 * config/libbid/_div_sd.c: Likewise.
9074 * config/libbid/_div_td.c: Likewise.
9075 * config/libbid/_eq_dd.c: Likewise.
9076 * config/libbid/_eq_sd.c: Likewise.
9077 * config/libbid/_eq_td.c: Likewise.
9078 * config/libbid/_ge_dd.c: Likewise.
9079 * config/libbid/_ge_sd.c: Likewise.
9080 * config/libbid/_ge_td.c: Likewise.
9081 * config/libbid/_gt_dd.c: Likewise.
9082 * config/libbid/_gt_sd.c: Likewise.
9083 * config/libbid/_gt_td.c: Likewise.
9084 * config/libbid/_isinfd128.c: Likewise.
9085 * config/libbid/_isinfd32.c: Likewise.
9086 * config/libbid/_isinfd64.c: Likewise.
9087 * config/libbid/_le_dd.c: Likewise.
9088 * config/libbid/_le_sd.c: Likewise.
9089 * config/libbid/_le_td.c: Likewise.
9090 * config/libbid/_lt_dd.c: Likewise.
9091 * config/libbid/_lt_sd.c: Likewise.
9092 * config/libbid/_lt_td.c: Likewise.
9093 * config/libbid/_mul_dd.c: Likewise.
9094 * config/libbid/_mul_sd.c: Likewise.
9095 * config/libbid/_mul_td.c: Likewise.
9096 * config/libbid/_ne_dd.c: Likewise.
9097 * config/libbid/_ne_sd.c: Likewise.
9098 * config/libbid/_ne_td.c: Likewise.
9099 * config/libbid/_sd_to_dd.c: Likewise.
9100 * config/libbid/_sd_to_df.c: Likewise.
9101 * config/libbid/_sd_to_di.c: Likewise.
9102 * config/libbid/_sd_to_sf.c: Likewise.
9103 * config/libbid/_sd_to_si.c: Likewise.
9104 * config/libbid/_sd_to_td.c: Likewise.
9105 * config/libbid/_sd_to_tf.c: Likewise.
9106 * config/libbid/_sd_to_udi.c: Likewise.
9107 * config/libbid/_sd_to_usi.c: Likewise.
9108 * config/libbid/_sd_to_xf.c: Likewise.
9109 * config/libbid/_sf_to_dd.c: Likewise.
9110 * config/libbid/_sf_to_sd.c: Likewise.
9111 * config/libbid/_sf_to_td.c: Likewise.
9112 * config/libbid/_si_to_dd.c: Likewise.
9113 * config/libbid/_si_to_sd.c: Likewise.
9114 * config/libbid/_si_to_td.c: Likewise.
9115 * config/libbid/_td_to_dd.c: Likewise.
9116 * config/libbid/_td_to_df.c: Likewise.
9117 * config/libbid/_td_to_di.c: Likewise.
9118 * config/libbid/_td_to_sd.c: Likewise.
9119 * config/libbid/_td_to_sf.c: Likewise.
9120 * config/libbid/_td_to_si.c: Likewise.
9121 * config/libbid/_td_to_tf.c: Likewise.
9122 * config/libbid/_td_to_udi.c: Likewise.
9123 * config/libbid/_td_to_usi.c: Likewise.
9124 * config/libbid/_td_to_xf.c: Likewise.
9125 * config/libbid/_tf_to_dd.c: Likewise.
9126 * config/libbid/_tf_to_sd.c: Likewise.
9127 * config/libbid/_tf_to_td.c: Likewise.
9128 * config/libbid/_udi_to_dd.c: Likewise.
9129 * config/libbid/_udi_to_sd.c: Likewise.
9130 * config/libbid/_udi_to_td.c: Likewise.
9131 * config/libbid/_unord_dd.c: Likewise.
9132 * config/libbid/_unord_sd.c: Likewise.
9133 * config/libbid/_unord_td.c: Likewise.
9134 * config/libbid/_usi_to_dd.c: Likewise.
9135 * config/libbid/_usi_to_sd.c: Likewise.
9136 * config/libbid/_usi_to_td.c: Likewise.
9137 * config/libbid/_xf_to_dd.c: Likewise.
9138 * config/libbid/_xf_to_sd.c: Likewise.
9139 * config/libbid/_xf_to_td.c: Likewise.
9140 * config/libbid/bid128.c: Likewise.
9141 * config/libbid/bid128_2_str.h: Likewise.
9142 * config/libbid/bid128_2_str_macros.h: Likewise.
9143 * config/libbid/bid128_2_str_tables.c: Likewise.
9144 * config/libbid/bid128_add.c: Likewise.
9145 * config/libbid/bid128_compare.c: Likewise.
9146 * config/libbid/bid128_div.c: Likewise.
9147 * config/libbid/bid128_fma.c: Likewise.
9148 * config/libbid/bid128_logb.c: Likewise.
9149 * config/libbid/bid128_minmax.c: Likewise.
9150 * config/libbid/bid128_mul.c: Likewise.
9151 * config/libbid/bid128_next.c: Likewise.
9152 * config/libbid/bid128_noncomp.c: Likewise.
9153 * config/libbid/bid128_quantize.c: Likewise.
9154 * config/libbid/bid128_rem.c: Likewise.
9155 * config/libbid/bid128_round_integral.c: Likewise.
9156 * config/libbid/bid128_scalb.c: Likewise.
9157 * config/libbid/bid128_sqrt.c: Likewise.
9158 * config/libbid/bid128_string.c: Likewise.
9159 * config/libbid/bid128_to_int16.c: Likewise.
9160 * config/libbid/bid128_to_int32.c: Likewise.
9161 * config/libbid/bid128_to_int64.c: Likewise.
9162 * config/libbid/bid128_to_int8.c: Likewise.
9163 * config/libbid/bid128_to_uint16.c: Likewise.
9164 * config/libbid/bid128_to_uint32.c: Likewise.
9165 * config/libbid/bid128_to_uint64.c: Likewise.
9166 * config/libbid/bid128_to_uint8.c: Likewise.
9167 * config/libbid/bid32_to_bid128.c: Likewise.
9168 * config/libbid/bid32_to_bid64.c: Likewise.
9169 * config/libbid/bid64_add.c: Likewise.
9170 * config/libbid/bid64_compare.c: Likewise.
9171 * config/libbid/bid64_div.c: Likewise.
9172 * config/libbid/bid64_fma.c: Likewise.
9173 * config/libbid/bid64_logb.c: Likewise.
9174 * config/libbid/bid64_minmax.c: Likewise.
9175 * config/libbid/bid64_mul.c: Likewise.
9176 * config/libbid/bid64_next.c: Likewise.
9177 * config/libbid/bid64_noncomp.c: Likewise.
9178 * config/libbid/bid64_quantize.c: Likewise.
9179 * config/libbid/bid64_rem.c: Likewise.
9180 * config/libbid/bid64_round_integral.c: Likewise.
9181 * config/libbid/bid64_scalb.c: Likewise.
9182 * config/libbid/bid64_sqrt.c: Likewise.
9183 * config/libbid/bid64_string.c: Likewise.
9184 * config/libbid/bid64_to_bid128.c: Likewise.
9185 * config/libbid/bid64_to_int16.c: Likewise.
9186 * config/libbid/bid64_to_int32.c: Likewise.
9187 * config/libbid/bid64_to_int64.c: Likewise.
9188 * config/libbid/bid64_to_int8.c: Likewise.
9189 * config/libbid/bid64_to_uint16.c: Likewise.
9190 * config/libbid/bid64_to_uint32.c: Likewise.
9191 * config/libbid/bid64_to_uint64.c: Likewise.
9192 * config/libbid/bid64_to_uint8.c: Likewise.
9193 * config/libbid/bid_b2d.h: Likewise.
9194 * config/libbid/bid_binarydecimal.c: Likewise.
9195 * config/libbid/bid_conf.h: Likewise.
9196 * config/libbid/bid_convert_data.c: Likewise.
9197 * config/libbid/bid_decimal_data.c: Likewise.
9198 * config/libbid/bid_decimal_globals.c: Likewise.
9199 * config/libbid/bid_div_macros.h: Likewise.
9200 * config/libbid/bid_dpd.c: Likewise.
9201 * config/libbid/bid_flag_operations.c: Likewise.
9202 * config/libbid/bid_from_int.c: Likewise.
9203 * config/libbid/bid_functions.h: Likewise.
9204 * config/libbid/bid_gcc_intrinsics.h: Likewise.
9205 * config/libbid/bid_inline_add.h: Likewise.
9206 * config/libbid/bid_internal.h: Likewise.
9207 * config/libbid/bid_round.c: Likewise.
9208 * config/libbid/bid_sqrt_macros.h: Likewise.
9209
92102009-04-09 Jakub Jelinek <jakub@redhat.com>
9211
9212 * Makefile.in: Change copyright header to refer to version
9213 3 of the GNU General Public License and to point readers at the
9214 COPYING3 file and the FSF's license web page.
9215 * config.host: Likewise.
9216
633dd061
AM
92172009-04-07 Alan Modra <amodra@bigpond.net.au>
9218
9219 * config.host: Reorder and merge to match config.gcc change.
9220
457d1d00
AM
92212009-04-03 Alan Modra <amodra@bigpond.net.au>
9222
9223 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
9224
52c0e446
JM
92252009-03-28 Joseph Myers <joseph@codesourcery.com>
9226
9227 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
9228 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
9229 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
9230 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
9231
ba181049
UB
92322009-02-12 Uros Bizjak <ubizjak@gmail.com>
9233
9234 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
9235 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9236
c252db20
L
92372009-02-12 H.J. Lu <hongjiu.lu@intel.com>
9238
ba181049
UB
9239 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
9240 ia64/t-softfp-compat to tmake_file.
c252db20
L
9241
9242 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
9243
9244 * config/ia64/__divxf3.asm: New.
9245 * config/ia64/_fixtfdi.asm: Likewise.
9246 * config/ia64/_fixunstfdi.asm: Likewise.
9247 * config/ia64/_floatditf.asm: Likewise.
9248 * config/ia64/t-fprules-softfp: Likewise.
9249 * config/ia64/t-softfp-compat: Likewise.
9250 * config/ia64/tf-signs.c: Likewise.
9251
c60535f9
BE
92522009-01-18 Ben Elliston <bje@au.ibm.com>
9253
9254 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9255
ce16861e
BE
92562009-01-16 Ben Elliston <bje@au.ibm.com>
9257
9258 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
9259 to tmake_file.
9260
bcf4713b
BE
92612009-01-13 Ben Elliston <bje@au.ibm.com>
9262
9263 * config/t-softfp: New file.
9264 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
9265 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
9266
7d296953 92672009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
2042cb04
JS
9268
9269 * config.host: Add m32r*-*-rtems*.
9270
7d296953 92712008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
541ed00e
JS
9272
9273 * config.host: Add m32c*-*-rtems*.
9274
19523300
RO
92752008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9276
9277 PR bootstrap/33100
9278 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
9279 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
9280 * configure: Regenerate.
9281 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
9282 tmake_file here from gcc/config.gcc.
9283 Move extra_parts here from gcc/config.gcc.
9284 * config/i386/t-sol2: Move here from gcc/config/i386.
9285 Use gcc_srcdir instead of srcdir.
9286
0a4a51c7
AN
92872008-11-18 Adam Nemet <anemet@caviumnetworks.com>
9288
9289 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
9290 case.
9291
2a761e46
TS
92922008-11-09 Thomas Schwinge <tschwinge@gnu.org>
9293
9294 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
9295
c0451df7
TS
92962008-10-08 Thomas Schwinge <tschwinge@gnu.org>
9297
9298 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
9299
358da97e
HS
93002008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
9301
9302 Add picoChip port.
9303 * config.host: Add picochip-*-*.
9304
c660f132
BW
93052008-08-06 Bob Wilson <bob.wilson@acm.org>
9306
9307 * config.host: Match more processor names for Xtensa.
9308
d1349557
L
93092008-07-08 H.J. Lu <hongjiu.lu@intel.com>
9310
9311 * config/i386/64/t-softfp-compat: Update comments.
9312
dd7b73c0
L
93132008-07-07 H.J. Lu <hongjiu.lu@intel.com>
9314
9315 * config/i386/64/_divtc3-compat.c: Moved to ...
9316 * config/i386/64/_divtc3.c: Here.
9317
9318 * config/i386/64/_multc3-compat.c: Moved to ...
9319 * config/i386/64/_multc3.c: Here.
9320
9321 * config/i386/64/_powitf2-compat.c: Moved to ...
9322 * config/i386/64/_powitf2.c: Here.
9323
9324 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
9325 .c suffix instead of -compat.c.
9326
6e1fab3d
UB
93272008-07-05 Uros Bizjak <ubizjak@gmail.com>
9328
9329 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
9330 (_FP_MUL_MEAT_D): Ditto.
9331 (_FP_DIV_MEAT_S): Ditto.
9332 (_FP_DIV_MEAT_D): Ditto.
9333
f92518d7
RS
93342008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
9335
9336 * Makefile.in: Add support for __sync_* libgcc functions.
9337
d0aede14
L
93382008-07-03 H.J. Lu <hongjiu.lu@intel.com>
9339
9340 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
9341
c174f11c
L
93422008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9343
9344 PR boostrap/36702
9345 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
9346 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
9347
9348 * config/i386/64/t-fprules-softfp: Moved to ...
9349 * config/i386/64/t-softfp-compat: This. New.
9350
5f464fa2
UB
93512008-07-02 Uros Bizjak <ubizjak@gmail.com>
9352
9353 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
9354 Initialize f with 0.0.
9355
ff473280
L
93562008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9357
9358 PR target/36669
9359 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
9360
9361 * config/i386/64/_divtc3-compat.c: New.
9362 * config/i386/64/_multc3-compat.c: Likewise.
9363 * config/i386/64/_powitf2-compat.c: Likewise.
9364 * config/i386/64/eqtf2.c: Likewise.
9365 * config/i386/64/getf2.c: Likewise.
9366 * config/i386/64/letf2.c: Likewise.
9367 * config/i386/64/t-fprules-softfp: Likewise.
9368
93692008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9370
9371 * config.host: Add i386/${host_address}/t-fprules-softfp to
9372 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
dfb3b0e3 9373 i[34567]86-*-linux*, x86_64-*-linux*.
ff473280
L
9374
9375 * configure.ac: Set host_address to 64 or 32 for x86.
9376 * configure: Regenerated.
9377
9378 * Makefile.in (config.status): Also depend on
9379 $(srcdir)/config.host.
9380
9381 * config/i386/32/t-fprules-softfp: New.
9382 * config/i386/32/tf-signs.c: Likewise.
9383
9384 * config/i386/64/sfp-machine.h: New. Moved from gcc.
9385
93862008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9387 Uros Bizjak <ubizjak@gmail.com>
9388
9389 * config/i386/32/sfp-machine.h: New.
9390
30551d99
NF
93912008-06-26 Nathan Froyd <froydnj@codesourcery.com>
9392
9393 * config/rs6000/t-ppccomm: Remove rules that conflict with
9394 auto-generated rules.
9395
18c04407
RW
93962008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9397
9398 * configure.ac: sinclude override.m4.
9399 * configure: Regenerate.
9400
10fbe77a
BRF
94012008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
9402
9403 * configure: Regenerate.
9404
bc6d4c3f
JM
94052008-06-10 Joseph Myers <joseph@codesourcery.com>
9406
9407 * Makefile.in (DECNUMINC): Remove
9408 -I$(MULTIBUILDTOP)../../libdecnumber.
9409 * gstdint.h: New.
9410
cd985f66
JM
94112008-06-07 Joseph Myers <joseph@codesourcery.com>
9412
9413 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
9414 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
9415 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
9416 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
9417 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
9418 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
9419 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
9420 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
9421 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
9422 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
9423 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
9424 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
9425 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
9426 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
9427
93fea8d3
AL
94282008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
9429
9430 * config.host (sh2[lbe]*-*-linux*): Allow target.
9431
18724e30
NF
94322008-04-30 Nathan Froyd <froydnj@codesourcery.com>
9433
9434 * config/rs6000/t-ppccomm: Add build rules for new files.
9435 (LIB2ADD_ST): New variable.
9436
47583040
AH
94372008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
9438
9439 PR target/34210
9440 PR target/35508
9441 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
9442 * config/t-avr: New file. Build 16bit libgcc functions.
9443
cf8e67fe
JJ
94442008-03-02 Jakub Jelinek <jakub@redhat.com>
9445
9446 PR target/35401
9447 * config/t-slibgcc-darwin: Make install-leaf dependent on
9448 install-darwin-libgcc-stubs instead of install.
9449
8d8da227
JM
94502008-01-25 Joseph Myers <joseph@codesourcery.com>
9451
9452 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
9453 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
9454 sh-*-rtemscoff*): Remove cases.
9455
edbf8b16
RS
94562007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
9457
9458 * Makefile.in (all): Use install-leaf rather than install.
9459 (install): Split most of the rule into...
9460 (install-leaf): ...this new one.
9461
89deeaff
EK
94622007-12-19 Etsushi Kato <ek.kato@gmail.com>
9463 Paolo Bonzini <bonzini@gnu.org>
9464
9465 PR target/30572
5f464fa2
UB
9466 * Makefile.in: Use @shlib_slibdir@ substitution to get
9467 correct install name on darwin.
89deeaff 9468 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
dfb3b0e3 9469
4081d704
HPN
94702007-12-15 Hans-Peter Nilsson <hp@axis.com>
9471
9472 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
9473 cris-*-elf and cris-*-none.
9474 (crisv32-*-linux*): Similar, as cris-*-linux*.
9475
f43e89a3
RIL
94762007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
9477
9478 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
9479
b4e9c2c6
L
94802007-10-27 H.J. Lu <hongjiu.lu@intel.com>
9481
9482 PR regression/33926
9483 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
9484 * configure: Regenerated.
9485
b2a00c89
L
94862007-09-27 H.J. Lu <hongjiu.lu@intel.com>
9487
9488 * Makefile.in (dfp-filenames): Replace decimal_globals,
9489 decimal_data, binarydecimal and convert_data with
9490 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
9491 and bid_convert_data, respectively.
9492
8d2a9e0e
CF
94932007-09-17 Chao-ying Fu <fu@mips.com>
9494 Nigel Stephens <nigel@mips.com>
9495
9496 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
9497 * Makefile.in (fixed_point): Define.
9498 Check if fixed_point is yes to build support functions.
9499 * configure.ac: Check for fixed_point support.
9500 * configure: Regenerated.
9501 * gen-fixed.sh: New file to generate lists of fixed-point labels,
9502 funcs, modes, from, to.
9503
2b53935d
JJ
95042007-09-11 Janis Johnson <janis187@us.ibm.com
9505
9506 * Makefile.in (dfp-filenames): Add bid128_noncomp.
9507
2533577f
JJ
95082007-09-10 Janis Johnson <janis187@us.ibm.com>
9509
9510 * Makefile.in (dfp-filenames): Remove decUtility, add
9511 decDouble, decPacked, decQuad, decSingle.
9512
3ae3dbd6
HK
95132007-08-27 Hans Kester <hans.kester@ellips.nl>
9514
9515 * config.host : Add x86_64-elf target.
9516
22867d02
L
95172007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9518
9519 * configure.ac (set_have_cc_tls): Add a missing =.
9520 * configure: Regenerated.
9521
6f461e76
L
95222007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9523
9524 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
9525 and x86_64-*-linux*.
9526
9527 * config/t-tls: New file.
9528
dfb3b0e3 9529 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6f461e76
L
9530
9531 * configure.ac: Include ../config/enable.m4 and
9532 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
9533 supports TLS and substitute set_have_cc_tls.
9534 * configure: Regenerated.
9535
200359e8
L
95362007-07-04 H.J. Lu <hongjiu.lu@intel.com>
9537
9538 * Makefile.in: Use libbid for DFP when BID is enabled.
9539
76f5e200
DS
95402007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
9541
9542 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
dfb3b0e3 9543 extra_parts. Add config/i386/t-cygming to tmake_file.
76f5e200
DS
9544 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
9545
9bd196f0 95462007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
200359e8 9547 Danny Smith <dannysmith@users.sourceforge.net>
9bd196f0
ZM
9548
9549 PR target/29498
9550 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
9551 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
9552 * config/i386/t-crtfm: Compile crtfastmath.o with
9553 -minline-all-stringops.
9554
1910440e
RS
95552007-05-10 Richard Sandiford <richard@codesourcery.com>
9556
9557 * config.host (sparc-wrs-vxworks): New target.
9558
7d33c31d
KH
95592007-04-14 Kazu Hirata <kazu@codesourcery.com>
9560
9561 * config.host: Recognize fido.
9562
96fccd0d
JJ
95632007-04-04 Janis Johnson <janis187@us.ibm.com>
9564
9565 * configure: Check host, not target, for decimal float support.
9566
577565f9
UB
95672007-04-03 Uros Bizjak <ubizjak@gmail.com>
9568
9569 * config/i386/t-crtpc: New file.
9570 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5f464fa2 9571 (x86_64-*-linux*): Ditto.
577565f9 9572
ccf8e764
RH
95732007-02-30 Kai Tietz <kai.tietz@onevision.com>
9574
9575 * config.host (x86_64-*-mingw*): New target.
9576
79b87c74
MM
95772007-03-23 Michael Meissner <michael.meissner@amd.com>
9578 H.J. Lu <hongjiu.lu@intel.com>
9579
9580 * Makefile.in (enable_decimal_float): New.
9581 (DECNUMINC): Add
9582 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
9583 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
9584 (decbits-filenames): This.
9585 (decbits-objects): New.
9586 (libgcc-objects): Add $(decbits-objects).
9587
9588 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
9589 Substitute enable_decimal_float.
9590 * configure: Regenerated.
9591
8fce4e31
HPN
95922007-03-19 Hans-Peter Nilsson <hp@axis.com>
9593
9594 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
9595
e8bb4597
BM
95962007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
9597
9598 * Makefile.in (install-info): New dummy target.
9599
344189f9
BS
96002007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
9601
9602 * config.host (bfin*-linux-uclibc*): Set extra_parts.
9603
ac84c172
BM
96042007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
9605
9606 * Makefile.in: Add install-html and install-pdf dummy
9607 targets.
9608
cd5c2357
RS
96092007-02-05 Roger Sayle <roger@eyesopen.com>
9610 Daniel Jacobowitz <dan@codesourcery.com>
9611
9612 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
9613 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
9614 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
9615
d9a66f98
JJ
96162007-01-29 Janis Johnson <janis187@us.ibm.com>
9617
9618 * Makefile.in (dec-filenames): Add decExcept.
9619
9891ec5f
DJ
96202007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
9621
9622 PR bootstrap/30469
9623 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
9624 -fprofile-use.
9625
d6efbf5a
DJ
96262007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
9627
9628 * configure.ac: Add --enable-version-specific-runtime-libs.
9629 Correct $slibdir default.
9630 * configure: Regenerated.
9631
17caeff2
JM
96322007-01-23 Joseph Myers <joseph@codesourcery.com>
9633
9634 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
9635
5ea41e3a
AP
96362007-01-21 Andrew Pinski <pinskia@gmail.com>
9637
9638 PR target/30519
9639 * config.host (alpha*-*-linux*): Set extra_parts.
9640
26900826
KK
96412007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
9642
9643 * config/sh/t-linux: New.
9644 * config.host (sh*-*-linux*): Set tmake_file.
9645
97af925b
DJ
96462007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
9647
9648 * Makefile.in (install): Handle multilibs.
9649
b0088af7
BM
96502007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
9651
9652 * Makefile.in: Added .PHONY entry for documentation targets.
9653
e0a9456a
BM
96542007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
9655
9656 * Makefile.in: Add empty info, html, dvi, pdf targets.
9657
7fd453b4
MS
96582007-01-04 Mike Stump <mrs@apple.com>
9659
9660 * Makefile.in (MAKEINFO): Remove.
9661 (PERL): Likewise.
9662
14e8fc8b
PB
96632007-01-04 Paolo Bonzini <bonzini@gnu.org>
9664
9665 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
9666 * configure: Regenerate.
9667 * Makefile.in (host_subdir): Substitute it.
dfb3b0e3 9668 (gcc_objdir): Use it.
14e8fc8b 9669
1555beba
DJ
96702007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9671
9672 * config.host (ia64*-*-linux*): Set tmake_file.
9673
79e6eaeb
DJ
96742007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9675
9676 * Makefile.in (version): Define.
9677
fa958513
DJ
96782007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
9679 Paolo Bonzini <bonzini@gnu.org>
9680
9681 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
9682 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
9683 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
9684 config/sparc/t-crtfm, config/t-slibgcc-darwin,
9685 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
9686 shared-object.mk, siditi-object.mk, static-object.mk: New files.
9687 * configure: Generated.
818ab71a 9688\f
a5544970 9689Copyright (C) 2007-2019 Free Software Foundation, Inc.
818ab71a
JJ
9690
9691Copying and distribution of this file, with or without modification,
9692are permitted in any medium without royalty provided the copyright
9693notice and this notice are preserved.