]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
re PR other/69006 (Extraneous newline emitted between error messages in GCC 6)
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
ba2c1ca8
UB
12019-01-31 Uroš Bizjak <ubizjak@gmail.com>
2
3 * config/alpha/t-linux: Add -mfp-rounding-mode=d
4 to HOST_LIBGCC2_CFLAGS.
5
6395ba73
L
62019-01-23 Joseph Myers <joseph@codesourcery.com>
7
8 PR libgcc/88931
ba2c1ca8 9 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
6395ba73 10
756721ba
ML
112019-01-18 Martin Liska <mliska@suse.cz>
12
13 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
14 to ...
15 (__gcov_indirect_call_profiler_v3): ... this.
16 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
17 (__gcov_indirect_call_profiler_v3): Likewise.
18 * Makefile.in: Bump function name.
19
d273c40a
ML
202019-01-18 Martin Liska <mliska@suse.cz>
21
22 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
23 (gcov_version): Use in gcov_error.
24 (merge_one_data): Likewise.
25 (dump_one_gcov): Likewise.
26
be9d9fdb
ML
272019-01-18 Martin Liska <mliska@suse.cz>
28
29 * libgcov-driver.c (gcov_version_string): New function.
30 (gcov_version): Convert version integer into string.
31
91d7b7fe
AS
322019-01-17 Andrew Stubbs <ams@codesourcery.com>
33 Kwok Cheung Yeung <kcy@codesourcery.com>
34 Julian Brown <julian@codesourcery.com>
35 Tom de Vries <tom@codesourcery.com>
36
37 * config.host: Recognize amdgcn*-*-amdhsa.
38 * config/gcn/crt0.c: New file.
39 * config/gcn/lib2-divmod-hi.c: New file.
40 * config/gcn/lib2-divmod.c: New file.
41 * config/gcn/lib2-gcn.h: New file.
42 * config/gcn/sfp-machine.h: New file.
43 * config/gcn/t-amdgcn: New file.
44
67914693
SL
452019-01-09 Sandra Loosemore <sandra@codesourcery.com>
46
47 PR other/16615
48
49 * config/c6x/libunwind.S: Mechanically replace "can not" with
50 "cannot".
51 * config/tilepro/atomic.h: Likewise.
52 * config/vxlib-tls.c: Likewise.
53 * generic-morestack-thread.c: Likewise.
54 * generic-morestack.c: Likewise.
55 * mkmap-symver.awk: Likewise.
56
a5544970
JJ
572019-01-01 Jakub Jelinek <jakub@redhat.com>
58
59 Update copyright years.
60
da77eace
L
612018-12-20 H.J. Lu <hongjiu.lu@intel.com>
62
63 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
64 to ignore -Waddress-of-packed-member.
65
72e3a529
TP
662018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
67
68 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
69 parameter and corresponding code.
70 (ARM_FUNC_START): Likewise in both definitions.
71 Also update footer comment about condition that need to match with
72 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
73 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
74 defined. Weakly define it in this case.
75 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
76 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
77 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
78 comment to keep condition in sync with the one in
79 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
80
5d54c798
WX
812018-12-18 Wei Xiao <wei3.xiao@intel.com>
82
83 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
84 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
85
5a2580b6
RV
862018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
87
88 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
89 and .cfi_endproc directives for VxWorks targets.
90
c0c5112b
PK
912018-12-05 Paul Koning <ni1d@arrl.net>
92
93 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
94
1ea7ea18
AM
952018-11-27 Alan Modra <amodra@gmail.com>
96
97 * config/rs6000/morestack.S (__stack_split_initialize),
98 (__morestack_get_guard, __morestack_set_guard),
99 (__morestack_make_guard): Provide CFI covering these functions.
100 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
101
ff641ae1
XQ
1022018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
103
1ea7ea18 104 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
ff641ae1
XQ
105 (sc_pt_regs_lr): Update for kernel.
106 (sc_pt_regs_tls): Update for kernel.
107
28209372
XQ
1082018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
109
110 * config/csky/linux-unwind.h: Fix coding style.
111
b2a71af6
XQ
1122018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
113
114 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
1ea7ea18 115 (csky_fallback_frame_state): Modify the check of the
b2a71af6
XQ
116 instructions to adapt to changes in the kernel
117
d929e137
SH
1182018-11-09 Stafford Horne <shorne@gmail.com>
119 Richard Henderson <rth@twiddle.net>
120
121 * config.host: Add OpenRISC support.
122 * config/or1k/*: New.
123
222cfefa
KC
1242018-11-08 Kito Cheng <kito@andestech.com>
125
126 * soft-fp/adddf3.c: Update from glibc.
127 * soft-fp/addsf3.c: Likewise.
128 * soft-fp/addtf3.c: Likewise.
129 * soft-fp/divdf3.c: Likewise.
130 * soft-fp/divsf3.c: Likewise.
131 * soft-fp/divtf3.c: Likewise.
132 * soft-fp/double.h: Likewise.
133 * soft-fp/eqdf2.c: Likewise.
134 * soft-fp/eqsf2.c: Likewise.
135 * soft-fp/eqtf2.c: Likewise.
136 * soft-fp/extenddftf2.c: Likewise.
137 * soft-fp/extended.h: Likewise.
138 * soft-fp/extendhftf2.c: Likewise.
139 * soft-fp/extendsfdf2.c: Likewise.
140 * soft-fp/extendsftf2.c: Likewise.
141 * soft-fp/extendxftf2.c: Likewise.
142 * soft-fp/fixdfdi.c: Likewise.
143 * soft-fp/fixdfsi.c: Likewise.
144 * soft-fp/fixdfti.c: Likewise.
145 * soft-fp/fixhfti.c: Likewise.
146 * soft-fp/fixsfdi.c: Likewise.
147 * soft-fp/fixsfsi.c: Likewise.
148 * soft-fp/fixsfti.c: Likewise.
149 * soft-fp/fixtfdi.c: Likewise.
150 * soft-fp/fixtfsi.c: Likewise.
151 * soft-fp/fixtfti.c: Likewise.
152 * soft-fp/fixunsdfdi.c: Likewise.
153 * soft-fp/fixunsdfsi.c: Likewise.
154 * soft-fp/fixunsdfti.c: Likewise.
155 * soft-fp/fixunshfti.c: Likewise.
156 * soft-fp/fixunssfdi.c: Likewise.
157 * soft-fp/fixunssfsi.c: Likewise.
158 * soft-fp/fixunssfti.c: Likewise.
159 * soft-fp/fixunstfdi.c: Likewise.
160 * soft-fp/fixunstfsi.c: Likewise.
161 * soft-fp/fixunstfti.c: Likewise.
162 * soft-fp/floatdidf.c: Likewise.
163 * soft-fp/floatdisf.c: Likewise.
164 * soft-fp/floatditf.c: Likewise.
165 * soft-fp/floatsidf.c: Likewise.
166 * soft-fp/floatsisf.c: Likewise.
167 * soft-fp/floatsitf.c: Likewise.
168 * soft-fp/floattidf.c: Likewise.
169 * soft-fp/floattihf.c: Likewise.
170 * soft-fp/floattisf.c: Likewise.
171 * soft-fp/floattitf.c: Likewise.
172 * soft-fp/floatundidf.c: Likewise.
173 * soft-fp/floatundisf.c: Likewise.
174 * soft-fp/floatunditf.c: Likewise.
175 * soft-fp/floatunsidf.c: Likewise.
176 * soft-fp/floatunsisf.c: Likewise.
177 * soft-fp/floatunsitf.c: Likewise.
178 * soft-fp/floatuntidf.c: Likewise.
179 * soft-fp/floatuntihf.c: Likewise.
180 * soft-fp/floatuntisf.c: Likewise.
181 * soft-fp/floatuntitf.c: Likewise.
182 * soft-fp/gedf2.c: Likewise.
183 * soft-fp/gesf2.c: Likewise.
184 * soft-fp/getf2.c: Likewise.
185 * soft-fp/half.h: Likewise.
186 * soft-fp/ledf2.c: Likewise.
187 * soft-fp/lesf2.c: Likewise.
188 * soft-fp/letf2.c: Likewise.
189 * soft-fp/muldf3.c: Likewise.
190 * soft-fp/mulsf3.c: Likewise.
191 * soft-fp/multf3.c: Likewise.
192 * soft-fp/negdf2.c: Likewise.
193 * soft-fp/negsf2.c: Likewise.
194 * soft-fp/negtf2.c: Likewise.
195 * soft-fp/op-1.h: Likewise.
196 * soft-fp/op-2.h: Likewise.
197 * soft-fp/op-4.h: Likewise.
198 * soft-fp/op-8.h: Likewise.
199 * soft-fp/op-common.h: Likewise.
200 * soft-fp/quad.h: Likewise.
201 * soft-fp/single.h: Likewise.
202 * soft-fp/soft-fp.h: Likewise.
203 * soft-fp/subdf3.c: Likewise.
204 * soft-fp/subsf3.c: Likewise.
205 * soft-fp/subtf3.c: Likewise.
206 * soft-fp/truncdfsf2.c: Likewise.
207 * soft-fp/trunctfdf2.c: Likewise.
208 * soft-fp/trunctfhf2.c: Likewise.
209 * soft-fp/trunctfsf2.c: Likewise.
210 * soft-fp/trunctfxf2.c: Likewise.
211 * soft-fp/unorddf2.c: Likewise.
212 * soft-fp/unordsf2.c: Likewise.
213 * soft-fp/unordtf2.c: Likewise.
214
2901f42f
VK
2152018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
216
217 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
218 * config/i386/cpuinfo.h (processor_types): Add znver2.
219
4310ca66
PK
2202018-11-01 Paul Koning <ni1d@arrl.net>
221
222 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
223 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
224
22e05272
JM
2252018-10-31 Joseph Myers <joseph@codesourcery.com>
226
227 PR bootstrap/82856
228 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
229 * configure: Regenerate.
230
8180cde0
CZ
2312018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
232
233 * config/arc/lib1funcs.S (_muldi3): New function.
234 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
235
be7b071e
RV
2362018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
237
238 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
239
3239d726
ML
2402018-10-25 Martin Liska <mliska@suse.cz>
241
242 PR other/87735
243 * libgcov-profiler.c: Revert.
244
19b55958
ML
2452018-10-24 Martin Liska <mliska@suse.cz>
246
247 * libgcov-profiler.c: Start from 1 in order to distinguish
248 functions which were seen and these that were not.
249
a9a2fddb
PK
2502018-10-18 Paul Koning <ni1d@arrl.net>
251
252 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
253 standard.
254 * divmod.c: Update references to __udivmodsi4.
255 * udivmod.c: Ditto.
256 * udivhi3.c: New file.
257 * udivmodhi4.c: New file.
258 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
259
fc8abc46
RV
2602018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
261
262 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
263
87f918e3
OH
2642018-10-12 Olivier Hainque <hainque@adacore.com>
265
266 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
267 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
268
be86efa7
PK
2692018-10-08 Paul Koning <ni1d@arrl.net>
270
271 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
272
3edbcdbe
ML
2732018-10-04 Martin Liska <mliska@suse.cz>
274
275 PR gcov-profile/84107
276 * libgcov-profiler.c (__gcov_indirect_call):
277 Change type to indirect_call_tuple.
278 (struct indirect_call_tuple): New struct.
279 (__gcov_indirect_call_topn_profiler): Change type.
280 (__gcov_indirect_call_profiler_v2): Use the new
281 variables.
282 * libgcov.h (struct indirect_call_tuple): New struct
283 definition.
284
af8096fc
UB
2852018-10-03 Uros Bizjak <ubizjak@gmail.com>
286
287 * libgcc2.c (isnan): Use __builtin_isnan.
288 (isfinite): Use __builtin_isfinite.
289 (isinf): Use __builtin_isinf.
290
0a76bba4
UB
2912018-09-26 Uros Bizjak <ubizjak@gmail.com>
292
293 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
294
5244089f
OH
2952018-09-21 Alexandre Oliva <oliva@adacore.com>
296
297 * config/vxcache.c: New file. Provide __clear_cache, based on
298 the cacheTextUpdate VxWorks service.
299 * config/t-vxworks (LIB2ADD): Add vxcache.c.
300 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
301 * config/t-vxwoks7: Likewise.
302
512cc015
ML
3032018-09-21 Martin Liska <mliska@suse.cz>
304
305 * libgcov-driver.c (crc32_unsigned): Remove.
306 (gcov_histogram_insert): Likewise.
307 (gcov_compute_histogram): Likewise.
308 (compute_summary): Simplify rapidly.
309 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
310 (merge_summary): Rapidly simplify.
311 (dump_one_gcov): Ignore gcov_summary.
312 (gcov_do_dump): Do not handle program summary, it's not
313 used.
314 * libgcov-util.c (tag_summary): Remove.
315 (read_gcda_finalize): Fix coding style.
316 (read_gcda_file): Initialize curr_object_summary.
317 (compute_summary): Remove.
318 (calculate_overlap): Remove settings of run_max.
319
36ff254b
MC
3202018-09-21 Monk Chiang <sh.chiang04@gmail.com>
321
322 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
323 ucontext_t type instead.
324 (nds32_fallback_frame_state): Remove struct _sigframe statement.
325
229a033d
KC
3262018-09-21 Kito Cheng <kito.cheng@gmail.com>
327
328 * config/nds32/t-nds32-glibc: New file.
329
53c6feb2
RO
3302018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
331
332 * configure.ac (solaris_ld_v2_maps): New test.
333 * configure: Regenerate.
334 * Makefile.in (solaris_ld_v2_maps): New variable.
335 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
336 if supported.
337
ebdb6f23
RE
3382018-08-23 Richard Earnshaw <rearnsha@arm.com>
339
340 PR target/86951
341 * config/arm/lib1funcs.asm (speculation_barrier): New function.
342 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
343 to build.
344
a49c064e
IS
3452018-08-22 Iain Sandoe <iain@sandoe.co.uk>
346
1ea7ea18 347 * config/unwind-dw2-fde-darwin.c
a49c064e
IS
348 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
349 * config/darwin10-unwind-find-enc-func.c: … to here.
350 * config/t-darwin: Build Darwin10 unwinder shim crt.
351 * libgcc/config.host: Add the Darwin10 unwinder shim.
352
9a5b8df7
RV
3532018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
354
355 * config.host: Add crtbegin.o and crtend.o for
356 powerpc-wrs-vxworks target.
357
4cd0bc3b
J
3582018-08-17 Jojo <jijie_rong@c-sky.com>
359 Huibin Wang <huibin_wang@c-sky.com>
360 Sandra Loosemore <sandra@codesourcery.com>
361 Chung-Lin Tang <cltang@codesourcery.com>
362
363 C-SKY port: libgcc
364
365 * config.host: Add C-SKY support.
366 * config/csky/*: New.
367
a4931745
CJW
3682018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
369
370 * config/nds32/t-nds32-isr: Rearrange object dependency.
371 * config/nds32/initfini.c: Add dwarf2 unwinding support.
372 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
373 and registers usage.
374 * config/nds32/isr-library/excp_isr.S: Ditto.
375 * config/nds32/isr-library/intr_isr.S: Ditto.
376 * config/nds32/isr-library/reset.S: Ditto.
377 * config/nds32/isr-library/restore_all.inc: Ditto.
378 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
379 * config/nds32/isr-library/restore_partial.inc: Ditto.
380 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
381 * config/nds32/isr-library/save_all.inc: Ditto.
382 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
383 * config/nds32/isr-library/save_partial.inc: Ditto.
384 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
385 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
386
2b1969f6
JDA
3872018-08-11 John David Anglin <danglin@gcc.gnu.org>
388
389 * config/pa/linux-atomic.c: Update comment.
390 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
391 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
392 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
393 __ATOMIC_RELAXED for atomic loads.
394 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
395 unordered store to release lock.
396 (__sync_lock_release_8): Likewise.
397 (SYNC_LOCK_RELEASE_2): Remove define.
af8096fc 398
89fff9cc
NP
3992018-08-02 Nicolas Pitre <nico@fluxnic.net>
400
401 PR libgcc/86512
402 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
403 exponent goes negative. Update my email address.
404 * config/arm/ieee754-sf.S: Likewise.
405
fd2e1dcd
ML
4062018-08-01 Martin Liska <mliska@suse.cz>
407
408 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
92a285c1 409 check that __gcov_indirect_call_callee is non-null.
fd2e1dcd 410
b7415975
CL
4112018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
412
413 * config/arm/ieee754-df.S: Fix comment for code working on
414 architectures >= 4.
415 * config/arm/ieee754-sf.S: Likewise.
416
b72e71a3
L
4172018-07-27 H.J. Lu <hongjiu.lu@intel.com>
418
419 PR libgcc/85334
420 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
421 Removed.
422
1c686aa4
JC
4232018-07-05 James Clarke <jrtc27@jrtc27.com>
424
425 * configure: Regenerated.
426
b61c9b99
RO
4272018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
428
429 * Makefile.in (install_leaf): Use enable_gcov instead of
430 enable_libgcov.
431
1765b023
RV
4322018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
433
434 * configure.ac: Add --disable-gcov option.
435 * configure: Regenerate.
436 * Makefile.in: Honour @enable_gcov@.
437
9b2e34ef
CL
4382018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
439
440 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
441 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
442 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
443 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
444 __ARM_ARCH__.
445 * config/arm/ieee754-sf.S: Likewise.
446 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
447
d1b0dd54
CL
4482018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
449
450 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
451 longer supported.
452 * config/arm/ieee754-sf.S: Likewise.
453
1f3fa525
TM
4542018-06-20 Than McIntosh <thanm@google.com>
455
456 PR libgcc/86213
457 * generic-morestack.c (allocate_segment): Move calls to getenv and
458 getpagesize to __morestack_load_mmap.
459 (__morestack_load_mmap) Initialize static_pagesize and
460 use_guard_page here so as to avoid clobbering SSE regs during a
461 __morestack call.
462
6a8886e4
MM
4632018-06-18 Michael Meissner <meissner@linux.ibm.com>
464
465 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
466 support modules with -mno-gnu-attribute.
467 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
468
fb997097
OH
4692018-06-07 Olivier Hainque <hainque@adacore.com>
470
471 * config/t-vxworks (LIBGCC_INCLUDES): Add
472 -I$(MULTIBUILDTOP)../../gcc/include.
473 * config/t-vxworks7: Likewise. Reformat a bit to match
474 the t-vxworks layout.
475
a548a5a1
OM
4762018-06-07 Olga Makhotina <olga.makhotina@intel.com>
477
478 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
479
244aebfd
ML
4802018-06-07 Martin Liska <mliska@suse.cz>
481
482 * libgcov-driver.c: Rename cs_all to all and assign it from
92a285c1 483 all_prg.
244aebfd 484
6c086e8c
ML
4852018-06-07 Martin Liska <mliska@suse.cz>
486
92a285c1 487 PR bootstrap/86057
6c086e8c 488 * libgcov-driver-system.c (replace_filename_variables): Use
92a285c1 489 memcpy instead of mempcpy.
6c086e8c 490 (allocate_filename_struct): Do not allocate filename, allocate
92a285c1 491 prefix and set it.
6c086e8c 492 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
92a285c1 493 here and properly copy content into it.
6c086e8c 494 * libgcov-driver.c (struct gcov_filename): Remove max_length
92a285c1 495 field, change prefix from size_t into char *.
6c086e8c
ML
496 (compute_summary): Do not calculate longest filename.
497 (gcov_do_dump): Release memory of gf.filename after each file.
498 * libgcov-util.c (compute_summary): Use new signature of
92a285c1 499 compute_summary.
6c086e8c
ML
500 (calculate_overlap): Likewise.
501
97a53d1d
ML
5022018-06-05 Martin Liska <mliska@suse.cz>
503
504 PR gcov-profile/47618
505 * libgcov-driver-system.c (replace_filename_variables): New
92a285c1 506 function.
97a53d1d
ML
507 (gcov_exit_open_gcda_file): Use it.
508
7f3577f5
ML
5092018-06-05 Martin Liska <mliska@suse.cz>
510
511 * libgcov-driver.c (gcov_compute_histogram): Remove usage
512 of gcov_ctr_summary.
513 (compute_summary): Do it just for a single summary.
514 (merge_one_data): Likewise.
515 (merge_summary): Simplify as we read just single summary.
516 (dump_one_gcov): Pass proper argument.
517 * libgcov-util.c (compute_one_gcov): Simplify as we have just
518 single summary.
519 (gcov_info_count_all_cold): Likewise.
520 (calculate_overlap): Likewise.
521
cf3cd43d
CJW
5222018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
523 Monk Chiang <sh.chiang04@gmail.com>
524
525 * config.host (nds32*-linux*): New.
526 * config/nds32/linux-atomic.c: New file.
527 * config/nds32/linux-unwind.h: New file.
528
8b8003ed
UB
5292018-05-31 Uros Bizjak <ubizjak@gmail.com>
530
531 PR target/85591
532 * config/i386/cpuinfo.c (get_amd_cpu): Return
533 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
534
bbdf026f
RV
5352018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
536
92a285c1 537 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
bbdf026f 538
0e8f29da
ML
5392018-05-29 Martin Liska <mliska@suse.cz>
540
92a285c1 541 PR gcov-profile/85759
0e8f29da 542 * libgcov-driver-system.c (gcov_error): Introduce usage of
92a285c1 543 GCOV_EXIT_AT_ERROR env. variable.
0e8f29da 544 * libgcov-driver.c (merge_one_data): Print error that we
92a285c1 545 overwrite a gcov file with a different timestamp.
0e8f29da 546
54fd1590
K
5472018-05-23 Kalamatee <kalamatee@gmail.com>
548
549 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
550 path to Lf$finfty.
551
09baee1a
KC
5522018-05-18 Kito Cheng <kito.cheng@gmail.com>
553 Monk Chiang <sh.chiang04@gmail.com>
554 Jim Wilson <jimw@sifive.com>
555
556 * config/riscv/save-restore.S: Add support for rv32e.
557
c3f808d3
KT
5582018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
559
560 * config/arm/libunwind.S: Update comment relating to armv5.
561
fcf4f831
JL
5622018-05-17 Jerome Lambourg <lambourg@adacore.com>
563
564 * config/arm/cmse.c (cmse_check_address_range): Replace
565 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
566
74b2bb19
OM
5672018-05-17 Olga Makhotina <olga.makhotina@intel.com>
568
569 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
570 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
571
50e461df
OM
5722018-05-08 Olga Makhotina <olga.makhotina@intel.com>
573
574 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
575 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
576
e5f1cdb1
AC
5772018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
578
579 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
580
8f479d7a
AT
5812018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
582 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
583
584 PR libgcc/84292
585 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
586 op_and_fetch to return the right result.
587
ae043291
AM
5882018-04-27 Alan Modra <amodra@gmail.com>
589
590 PR libgcc/85532
591 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
592 -fno-asynchronous-unwind-tables.
593
ba169b74
CJW
5942018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
595
596 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
597 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
598
ffc2fc06
L
5992018-04-24 H.J. Lu <hongjiu.lu@intel.com>
600
601 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
602 when including "config/i386/shadow-stack-unwind.h".
603
7b47ecf2
L
6042018-04-24 H.J. Lu <hongjiu.lu@intel.com>
605
606 * configure: Regenerated.
607
661eb8f9
MM
6082018-04-20 Michael Meissner <meissner@linux.ibm.com>
609
610 PR target/85456
611 * config/rs6000/_powikf2.c: New file. Add support for the
612 __builtin_powil function when long double is IEEE 128-bit floating
613 point.
614 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
615 __powikf2 support.
616 (__powikf2): Likewise.
617 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
618 (__powikf2_hw): Likewise.
619 (__powikf2): Likewise.
620 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
621 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
622 (_powikf2-hw.c): Likewise.
623
5707be3c
L
6242018-04-19 H.J. Lu <hongjiu.lu@intel.com>
625
626 PR libgcc/85334
627 * unwind-generic.h (_Unwind_Frames_Increment): New.
628 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
629 Likewise.
630 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
631 count with _Unwind_Frames_Increment.
632 (_Unwind_ForcedUnwind_Phase2): Likewise.
633
5f9ca0b8
L
6342018-04-19 H.J. Lu <hongjiu.lu@intel.com>
635
636 PR libgcc/85379
637 * config/i386/morestack.S (__stack_split_initialize): Add
638 _CET_ENDBR.
639
a0e1df88
JJ
6402018-04-19 Jakub Jelinek <jakub@redhat.com>
641
642 * configure: Regenerated.
643
001ddaa8
DM
6442018-04-18 David Malcolm <dmalcolm@redhat.com>
645
646 PR jit/85384
647 * configure: Regenerate.
648
a57f99ba
JJ
6492018-04-16 Jakub Jelinek <jakub@redhat.com>
650
651 PR target/84945
652 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
653 -Wdangling-else warnings. Mask shift counts to avoid
654 -Wshift-count-negative and -Wshift-count-overflow false positives.
655
4d47fe5a
RB
6562018-04-06 Ruslan Bukin <br@bsdpad.com>
657
658 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
659
059cc8ac
L
6602018-03-29 H.J. Lu <hongjiu.lu@intel.com>
661
662 PR target/85100
663 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
664 (XSTATE_FP): Likewise.
665 (XSTATE_SSE): Likewise.
666 (XSTATE_YMM): Likewise.
667 (XSTATE_OPMASK): Likewise.
668 (XSTATE_ZMM): Likewise.
669 (XSTATE_HI_ZMM): Likewise.
670 (XCR_AVX_ENABLED_MASK): Likewise.
671 (XCR_AVX512F_ENABLED_MASK): Likewise.
672 (get_available_features): Enable AVX and AVX512 features only
673 if their states are supported by OSXSAVE.
674
f2620385
IT
6752018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
676
677 PR target/85025
678 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
679 Fix a typo, tmp => 255.
680
ae6dca8c
JJ
6812018-03-20 Jakub Jelinek <jakub@redhat.com>
682
683 PR target/84945
684 * config/i386/cpuinfo.h (__cpu_features2): Declare.
685 * config/i386/cpuinfo.c (__cpu_features2): New variable for
686 ifndef SHARED only.
687 (set_feature): Define.
688 (get_available_features): Use set_feature macro. Set __cpu_features2
689 to the second word of features ifndef SHARED.
690
c36b04c1
JK
6912018-03-15 Julia Koval <julia.koval@intel.com>
692
693 * config/i386/cpuinfo.c (get_available_features): Add
694 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
695 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
696 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
697 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
698 FEATURE_AVX512BITALG.
699
79ab5364
JK
7002018-03-14 Julia Koval <julia.koval@intel.com>
701
702 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
703 icelake client and icelake server.
704
66a00b11
JDA
7052018-03-06 John David Anglin <danglin@gcc.gnu.org>
706
707 * config/pa/fptr.c (_dl_read_access_allowed): New.
708 (__canonicalize_funcptr_for_compare): Use it.
af8096fc 709
ce579a4f
JJ
7102018-02-28 Jakub Jelinek <jakub@redhat.com>
711
712 PR debug/83917
713 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
714 $asm_hidden_op if visibility ("hidden") attribute works.
715 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
716 * config/i386/i386-asm.h: Don't include auto-host.h.
717 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
718 PACKAGE_URL): Don't undefine.
719 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
720 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
721 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
722 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
723 definition instead of hardcoded .hidden.
724 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
725 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
726 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
727 (USE_GAS_CFI_DIRECTIVES): Don't define.
728 * configure: Regenerated.
729 * config.in: Likewise.
730
e5868319
JJ
7312018-02-26 Jakub Jelinek <jakub@redhat.com>
732
733 PR debug/83917
734 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
735 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
736 inclusion of auto-target.h and auto-host.h.
737 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
738 __GCC_HAVE_DWARF2_CFI_ASM.
739 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
740 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
741 cfi_pop): Define.
742 * config/i386/cygwin.S: Don't include auto-host.h here, just
743 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
744 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
745 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
746 * config/i386/resms64fx.h: Add cfi_* directives.
747 * config/i386/resms64x.h: Likewise.
748
faef260e
MF
7492018-02-20 Max Filippov <jcmvbkbc@gmail.com>
750
751 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
752 .literal_position directive.
753 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
754
14e335ed
IT
7552018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
756
757 PR target/84148
758 * configure: Regenerate.
759
95df0433
IT
7602018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
761
762 PR target/84239
763 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
764 Include cetintrin.h not x86intrin.h.
765
f8de876d
IT
7662018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
767
768 PR target/84239
95df0433 769 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
f8de876d
IT
770 Use new _get_ssp and _inc_ssp intrinsics.
771
02da1e9c
JK
7722018-02-02 Julia Koval <julia.koval@intel.com>
773
774 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
775
048c6a9a
CZ
7762018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
777
778 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
779 option.
780 (__divsi3): Use RF16 safe registers.
781 (__modsi3): Likewise.
782
0889f168
MF
7832018-01-23 Max Filippov <jcmvbkbc@gmail.com>
784
785 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
786 (__divsf3): Make NaN return value quiet.
787 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
788 (__divdf3): Make NaN return value quiet.
789
bc8b0d04
SP
7902018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
791
792 * config/rl78/anddi3.S: New assembly file.
793 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
794
99cc06ea
SP
7952018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
796
797 * config/rl78/umindi3.S: New assembly file.
798 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
799
6e9007a0
SP
8002018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
801
802 * config/rl78/smindi3.S: New assembly file.
803 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
804
d975e494 8052018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 806
d975e494
SP
807 * config/rl78/smaxdi3.S: New assembly file.
808 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
809
6a18c146 8102018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 811
5dd16013
SP
812 * config/rl78/umaxdi3.S: New assembly file.
813 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
af8096fc 814
07baf4a5
JDA
8152018-01-21 John David Anglin <danglin@gcc.gnu.org>
816
817 PR lto/83452
818 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
819 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
af8096fc 820
dbc3af4f
RS
8212018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
822
823 * config/aarch64/value-unwind.h (aarch64_vg): New function.
824 (DWARF_LAZY_REGISTER_VALUE): Define.
825 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
826 to provide a fallback register value.
827
68df9882
MM
8282018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
829
830 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
831 __ibm128, instead of trying to use long double.
832 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
833 accomidate -mabi=ieeelongdouble multilibs.
834 (CVT_IBM128_TO_FLOAT128): Likewise.
835 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
836 the appropriate IBM extended double type.
837 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
838 (__gcc_qsub): Likewise.
839 (__gcc_qmul): Likewise.
840 (__gcc_qdiv): Likewise.
841 (pack_ldouble): Likewise.
842 (__gcc_qneg): Likewise.
843 (__gcc_qeq): Likewise.
844 (__gcc_qne): Likewise.
845 (__gcc_qge): Likewise.
846 (__gcc_qle): Likewise.
847 (__gcc_stoq): Likewise.
848 (__gcc_dtoq): Likewise.
849 (__gcc_itoq): Likewise.
850 (__gcc_utoq): Likewise.
851 (__gcc_qunord): Likewise.
852 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
853 quad-float128.h for the definitions.
854 (COPYSIGN): Use the f128 version instead of the q version.
855 (INFINITY): Likewise.
856 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
857 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
858 quad-float128.h for the definitions.
859 (COPYSIGN): Use the f128 version instead of the q version.
860 (INFINITY): Likewise.
861 (FABS): Likewise.
862 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
863 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
864 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
865
64b371b1
SH
8662018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
867
868 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
869 configuration.
870
85ec4feb
JJ
8712018-01-03 Jakub Jelinek <jakub@redhat.com>
872
873 Update copyright years.
874
8752017-12-12 Kito Cheng <kito.cheng@gmail.com>
b8d7e076
KC
876
877 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
878 * config/riscv/multi3.c: New file.
879 * config/riscv/multi3.S: Remove.
880
3a4c600f
JW
8812017-12-08 Jim Wilson <jimw@sifive.com>
882
883 * config/riscv/div.S: Use FUNC_* macros.
884 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
885 * config/riscv/save-restore.S: Likewise.
886 * config/riscv/riscv-asm.h: New.
887
75ad35b5
MM
8882017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
889
6ae3512c
MM
890 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
891 * config/rs6000/_divkc3.c (__divkc3): Likewise.
892
75ad35b5
MM
893 PR libgcc/83112
894 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
895 correct type for all ifunc resolvers to silence -Wattribute-alias
896 warnings. Eliminate the forward declaration of the resolver
897 functions which is no longer needed.
898 (__subkf3_resolve): Likewise.
899 (__mulkf3_resolve): Likewise.
900 (__divkf3_resolve): Likewise.
901 (__negkf2_resolve): Likewise.
902 (__eqkf2_resolve): Likewise.
903 (__nekf2_resolve): Likewise.
904 (__gekf2_resolve): Likewise.
905 (__gtkf2_resolve): Likewise.
906 (__lekf2_resolve): Likewise.
907 (__ltkf2_resolve): Likewise.
908 (__unordkf2_resolve): Likewise.
909 (__extendsfkf2_resolve): Likewise.
910 (__extenddfkf2_resolve): Likewise.
911 (__trunckfsf2_resolve): Likewise.
912 (__trunckfdf2_resolve): Likewise.
913 (__fixkfsi_resolve): Likewise.
914 (__fixkfdi_resolve): Likewise.
915 (__fixunskfsi_resolve): Likewise.
916 (__fixunskfdi_resolve): Likewise.
917 (__floatsikf_resolve): Likewise.
918 (__floatdikf_resolve): Likewise.
919 (__floatunsikf_resolve): Likewise.
920 (__floatundikf_resolve): Likewise.
921 (__extendkftf2_resolve): Likewise.
922 (__trunctfkf2_resolve): Likewise.
923
924 PR libgcc/83103
925 * config/rs6000/quad-float128.h (TF): Don't define if long double
926 is IEEE 128-bit floating point.
927 (TCtype): Define as either TCmode or KCmode, depending on whether
928 long double is IEEE 128-bit floating point.
929 (__mulkc3_sw): Add declarations for software/hardware versions of
930 complex multiply/divide.
931 (__divkc3_sw): Likewise.
932 (__mulkc3_hw): Likewise.
933 (__divkc3_hw): Likewise.
934 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
935 handlers to switch between using software emulation and hardware
936 float128 instructions, build the complex multiply/divide functions
937 for both software and hardware support.
938 * config/rs6000/_divkc3.c (_divkc3): Likewise.
939 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
940 (__divkc3_resolve): Likewise.
941 (__mulkc3): Likewise.
942 (__divkc3): Likewise.
943 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
944 (fp128_hw_src): Likewise.
945 (fp128_hw_static_obj): Likewise.
946 (fp128_hw_shared_obj): Likewise.
947 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
948 _mulkc3.c and _divkc3.c, changing the function name.
949 (_divkc3-hw.c): Likewise.
950 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
951 and _divkc3-hw.c.
952
c234d831
UB
9532017-11-26 Julia Koval <julia.koval@intel.com>
954
955 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
956 * config/i386/cpuinfo.h (processor_subtypes): Add
957 INTEL_COREI7_CANNONLAKE.
958
1ebafce0
IT
9592017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
960
961 PR bootstrap/83015
962 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
963 parameter.
964 * config/xtensa/unwind-dw2-xtensa.c: Likewise
965 * config/ia64/unwind-ia64.c: Add frames parameter.
966 * unwind-sjlj.c: Likewise.
967
6a10fff4
IT
9682017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
969
970 * config/i386/linux-unwind.h: Include
971 config/i386/shadow-stack-unwind.h.
972 * config/i386/shadow-stack-unwind.h: New file.
973 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
974 pass it to _Unwind_Frames_Extra.
975 * unwind-generic.h (_Unwind_Frames_Extra): New.
976 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
977 parameter. Add local variable frames to count number of frames.
978 (_Unwind_ForcedUnwind_Phase2): Likewise.
979 (_Unwind_RaiseException): Add local variable frames to count
980 number of frames, pass it to _Unwind_RaiseException_Phase2 and
981 uw_install_context.
982 (_Unwind_ForcedUnwind): Likewise.
983 (_Unwind_Resume): Likewise.
984 (_Unwind_Resume_or_Rethrow): Likewise.
985
1ecae1fc
IT
9862017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
987
988 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
989 (CET_FLAGS): New.
990 * config/i386/morestack.S: Include <cet.h>.
991 (__morestack_large_model): Add _CET_ENDBR at function entrance.
992 * config/i386/resms64.h: Include <cet.h>.
993 * config/i386/resms64f.h: Likewise.
994 * config/i386/resms64fx.h: Likewise.
995 * config/i386/resms64x.h: Likewise.
996 * config/i386/savms64.h: Likewise.
997 * config/i386/savms64f.h: Likewise.
998 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
999 (CRTSTUFF_T_CFLAGS): Likewise.
1000 * configure.ac: Include ../config/cet.m4.
1001 Set and substitute CET_FLAGS.
1002 * configure: Regenerated.
1003
f021f1d3
RO
10042017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1005
1006 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
1007 renaming.
1008 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
1009 * configure.ac (libgcc_cv_solaris_crts): Likewise.
1010 * configure: Regenerate.
1011
65f480c7
TV
10122017-11-07 Tom de Vries <tom@codesourcery.com>
1013
1014 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
1015 after "do {} while (0)".
1016
2a321acb
TV
10172017-11-07 Tom de Vries <tom@codesourcery.com>
1018
1019 PR other/82784
1020 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
1021 semicolon after "do {} while (0)".
1022 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1023 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1024 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1025 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1026
59fcf6c3
AT
10272017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
1028
1029 PR libgcc/82635
1030 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
1031 sysctl to determine whether we're in a trampoline.
1032 Keep the pattern matching method for systems without
1033 KERN_PROC_SIGTRAMP sysctl.
1034
b0c7ddf8
CM
10352017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
1036 Vineet Gupta <vgupta@synopsys.com>
1037
1038 * config.host (arc*-*-linux*): Set md_unwind_header variable.
1039 * config/arc/linux-unwind-reg.def: New file.
1040 * config/arc/linux-unwind-reg.h: Likewise.
1041
5feee954
SP
10422017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
1043
1044 * config/rl78/subdi3.S: New assembly file.
1045 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
1046
a0bf6cf7
SP
10472017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
1048
1049 * config/rl78/adddi3.S: New assembly file.
1050 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
1051
e7176f75
JJ
10522017-10-13 Jakub Jelinek <jakub@redhat.com>
1053
1054 PR target/82274
1055 * libgcc2.c (__mulvDI3): If both operands have
1056 the same highpart of -1 and the topmost bit of lowpart is 0,
1057 multiplication overflows even if both lowparts are 0.
1058
db6601d2
JB
10592017-09-28 James Bowman <james.bowman@ftdichip.com>
1060
1061 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
1062
938b6f1e
JM
10632017-09-26 Joseph Myers <joseph@codesourcery.com>
1064
1065 * config/microblaze/crti.S, config/microblaze/crtn.S,
1066 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
1067 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
1068 config/microblaze/mulsi3.S,
1069 config/microblaze/stack_overflow_exit.S,
1070 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
1071 config/pa/milli64.S: Add .note.GNU-stack section.
1072
89762a83
DS
10732017-09-23 Daniel Santos <daniel.santos@pobox.com>
1074
1075 * configure.ac: Add Check for HAVE_AS_AVX.
1076 * config.in: Regenerate.
1077 * configure: Likewise.
1078 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
1079 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
1080 Correct out-of-date comments.
1081
cace2309
SP
10822017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
1083
1084 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
1085 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
1086
3cb626e4
DS
10872017-09-17 Daniel Santos <daniel.santos@pobox.com>
1088
cace2309 1089 * config/i386/i386-asm.h (PASTE2): New macro.
3cb626e4
DS
1090 (ASMNAME): Modify to use PASTE2.
1091 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
1092 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
cace2309 1093 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
3cb626e4 1094 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
cace2309
SP
1095 * config/i386/resms64f.S: Likewise.
1096 * config/i386/resms64fx.S: Likewise.
1097 * config/i386/resms64x.S: Likewise.
1098 * config/i386/savms64.S: Likewise.
1099 * config/i386/savms64f.S: Likewise.
1100 * config/i386/avx_resms64.S: New file that only defines a macro and
3cb626e4 1101 includes it's corresponding header file.
cace2309
SP
1102 * config/i386/avx_resms64f.S: Likewise.
1103 * config/i386/avx_resms64fx.S: Likewise.
1104 * config/i386/avx_resms64x.S: Likewise.
1105 * config/i386/avx_savms64.S: Likewise.
1106 * config/i386/avx_savms64f.S: Likewise.
1107 * config/i386/sse_resms64.S: Likewise.
1108 * config/i386/sse_resms64f.S: Likewise.
1109 * config/i386/sse_resms64fx.S: Likewise.
1110 * config/i386/sse_resms64x.S: Likewise.
1111 * config/i386/sse_savms64.S: Likewise.
1112 * config/i386/sse_savms64f.S: Likewise.
1113 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3cb626e4 1114
2f19c491 11152017-09-01 Olivier Hainque <hainque@adacore.com>
2f19c491
OH
1116 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
1117
611e7036
OH
11182017-08-31 Olivier Hainque <hainque@adacore.com>
1119
1120 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
1121 match as powerpc-wrs-vxworks*.
1122
c8f34527
JY
11232017-08-07 Jonathan Yong <10walls@gmail.com>
1124
1125 * config.host (*-cygwin): Include file from mingw
1126 config/i386/enable-execute-stack-mingw32.c
1127
0b458d2b 11282017-08-01 Jerome Lambourg <lambourg@adacore.com>
92a285c1
ML
1129 Doug Rupp <rupp@adacore.com>
1130 Olivier Hainque <hainque@adacore.com>
0b458d2b
JL
1131
1132 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
1133 as well as arm-wrs-vxworks.
1134 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
1135 LIB2ADDEH.
1136 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
1137 __exidx_start and __exidx_end for downloadable modules.
1138
4df612fa
OH
11392017-08-01 Olivier Hainque <hainque@adacore.com>
1140
1141 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
1142 * config/t-vxworks7: Likewise.
1143
5560e8c0
OH
11442017-08-01 Olivier Hainque <hainque@adacore.com>
1145
1146 * config/t-vxworks: Instead of redefining LIB2ADD,
1147 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
1148
16bab95a
SH
11492017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1150
1151 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
1152
9cbc07cc
DS
11532017-07-24 Daniel Santos <daniel.santos@pobox.com>
1154
1155 PR testsuite/80759
1156 * config.host: include i386/t-msabi for darwin and solaris.
1157 * config/i386/i386-asm.h
1158 (ELFFN): Rename to FN_TYPE.
1159 (FN_SIZE): New macro.
1160 (FN_HIDDEN): Likewise.
1161 (ASMNAME): Likewise.
1162 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
1163 .globl.
1164 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
1165 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
1166 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
1167 .macro.
1168 * config/i386/resms64f.S: Likewise.
1169 * config/i386/resms64fx.S: Likewise.
1170 * config/i386/resms64x.S: Likewise.
1171 * config/i386/savms64.S: Likewise.
1172 * config/i386/savms64f.S: Likewise.
1173
de742204
JM
11742017-07-19 John Marino <gnugcc@marino.st>
1175
1176 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
1177
3787ee47
MM
11782017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
1179
1180 PR target/81193
1181 * configure.ac (PowerPC float128 hardware support): Test whether
1182 we can use __builtin_cpu_supports before enabling the ifunc
1183 handler.
1184 * configure: Regenerate.
1185
b1938888
VG
11862017-07-10 Vineet Gupta <vgupta@synopsys.com>
1187
1188 * config.host: Remove uclibc from arc target spec.
1189
bec75e53
KW
11902017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
1191
1192 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
1193
d4391a62
PB
11942017-07-07 Peter Bergner <bergner@vnet.ibm.com>
1195
1196 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
1197 (have_ieee_hw_p): Delete function.
1198 (SW_OR_HW) Use __builtin_cpu_supports().
1199
9296dd9b
TP
12002017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
1201
1202 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
1203
b85a969e
OH
12042017-07-03 Olivier Hainque <hainque@adacore.com>
1205
d4391a62 1206 * config/t-vxworks7: New file, really.
b85a969e 1207
883312dc
JM
12082017-06-28 Joseph Myers <joseph@codesourcery.com>
1209
1210 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
1211 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
1212 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
1213 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
1214 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
1215 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
1216 config/pa/linux-unwind.h (pa32_fallback_frame_state),
1217 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
1218 config/sh/linux-unwind.h (sh_fallback_frame_state),
1219 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
1220 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
1221 ucontext_t instead of struct ucontext.
1222
50567938
JL
12232017-06-27 Jerome Lambourg <lambourg@adacore.com>
1224
1225 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
1226 (x86_64-wrs-vxworks7): Likewise.
1227
e4b0df93
OH
12282017-06-27 Olivier Hainque <hainque@adacore.com>
1229
1230 * config/t-vxworks7: New file.
1231 * config.host (*-*-vxworks7): Use it.
1232
60edf8bb
MT
12332017-06-22 Matt Turner <mattst88@gmail.com>
1234
1235 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
1236 skylake case.
1237
a51a76e5
RB
12382017-06-21 Richard Biener <rguenther@suse.de>
1239
1240 PR gcov-profile/81080
1241 * configure.ac: Add AC_SYS_LARGEFILE.
1242 * libgcov.h: Include auto-target.h before tsystem.h to pick
1243 up _FILE_OFFSET_BITS which might differ for multilibs.
1244 * config.in: Regenerate.
1245 * configure: Likewise.
1246
f0cd49c5
RE
12472017-06-16 Richard Earnshaw <rearnsha@arm.com>
1248
1249 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
1250
4f751c54
ML
12512017-06-09 Martin Liska <mliska@suse.cz>
1252
1253 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
1254 Reset __gcov_indirect_call_callee to NULL.
1255
1ac644c8
OH
12562017-06-08 Olivier Hainque <hainque@adacore.com>
1257
1258 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
1259 the set of -I options, support for direct inclusions of net/uio.h
1260 by VxWorks header files via ioLib.h.
1261
d8b9cd27
TR
12622017-06-07 Tony Reix <tony.reix@atos.net>
1263 Matthieu Sarter <matthieu.sarter.external@atos.net>
1264 David Edelsohn <dje.gcc@gmail.com>
1265
92a285c1
ML
1266 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
1267 unconditionally.
1268 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
1269 AIX 7.2 support.
d8b9cd27 1270
38a75ccc
OH
12712017-06-02 Olivier Hainque <hainque@adacore.com>
1272
1273 * config/vxlib.c (__gthread_once): Add missing value to
1274 return statement.
1275
5b2edf53
OH
12762017-05-30 Olivier Hainque <hainque@adacore.com>
1277
1278 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
1279 dollar sign before $(MULTIDIR).
1280
7d66e265
RH
12812017-05-26 Richard Henderson <rth@redhat.com>
1282
1283 PR libgcc/80037
1284 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
1285
78eca309
AT
12862017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
1287
1288 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
1289 _Unwind_SetIP available as functions for arm*-*-freebsd*.
1290 * config/arm/unwind-arm.c: Implement the above.
1291
c39d309a
AZ
12922017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1293
1294 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
1295 section for a non-executable stack.
1296
eac8c9f2
KW
12972017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
1298
1299 PR target/80600
1300 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
1301
d6d4d770
DS
13022017-05-14 Daniel Santos <daniel.santos@pobox.com>
1303
1304 * config.host: Add i386/t-msabi to i386/t-linux file list.
1305 * config/i386/i386-asm.h: New file.
1306 * config/i386/resms64.S: New file.
1307 * config/i386/resms64f.S: New file.
1308 * config/i386/resms64fx.S: New file.
1309 * config/i386/resms64x.S: New file.
1310 * config/i386/savms64.S: New file.
1311 * config/i386/savms64f.S: New file.
1312 * config/i386/t-msabi: New file.
1313
8ef2b9a7
AT
13142017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
1315
1316 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
1317 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
1318
7ab8766a
JC
13192017-05-05 Joshua Conner <joshconner@google.com>
1320
1321 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
1322 pc-relative indirect handling for fuchsia.
1323 * config/t-slibgcc-fuchsia: New file.
1324 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
d6d4d770 1325 x86_64-*-fuchsia*): Add definitions.
7ab8766a 1326
46928a8f
ML
13272017-04-19 Martin Liska <mliska@suse.cz>
1328
1329 PR gcov-profile/80435
1330 * Makefile.in: Install gcov.h.
1331 * gcov.h: New file.
1332 * libgcov.h: Use the header and make __gcov_flush publicly
1333 visible.
1334
63971184
ML
13352017-04-18 Martin Liska <mliska@suse.cz>
1336
1337 PR gcov-profile/78783
1338 * libgcov-driver.c (gcov_get_filename): New function.
1339
29d8aae6
JL
13402017-04-07 Jeff Law <law@redhat.com>
1341
1342 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
1343 target makefile fragment.
1344 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
1345
2bdf7fc6
AM
13462017-04-07 Alan Modra <amodra@gmail.com>
1347
1348 PR target/45053
1349 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
1350
5764ee3c
JW
13512017-04-03 Jonathan Wakely <jwakely@redhat.com>
1352
1353 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
1354
c4192ad7
CZ
13552017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
1356
1357 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
1358
4ccfdb28
JM
13592017-03-10 John Marino <gnugcc@marino.st>
1360
1361 * config/aarch64/freebsd-unwind.h: New file.
1362 * config.host: Add aarch64-*-freebsd unwinder.
1363
4144e4e3
SB
13642017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1365
1366 * config/rs6000/crtrestvr.s: Use .machine altivec.
1367 * config/rs6000/crtsavevr.s: Ditto.
1368
7502c597
SB
13692017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1370
1371 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
1372 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
1373 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
1374 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
1375 * configure: Regenerate.
1376 * config.in: Regenerate.
1377
db9f7f65
JY
13782017-03-02 Jonathan Yong <10walls@gmail.com>
1379
1380 * config/i386/gthr-win32.h: Define NOGDI before
1381 windows.h include to prevent w32api CC_NONE macro
1382 clash with libgfortran.
1383
126437c5
JY
13842017-03-02 Jonathan Yong <10walls@gmail.com>
1385
1386 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
1387
31927af6
AP
13882017-02-16 Andrew Pinski <apinski@cavium.com>
1389
1390 * config/aarch64/value-unwind.h: New file.
1391 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
1392 to tm_file.
1393
0bd99911
PD
13942017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
1395
1396 * config.host: Add RISC-V tuples.
1397 * config/riscv/atomic.c: New file.
1398 * config/riscv/crti.S: Likewise.
1399 * config/riscv/crtn.S: Likewise.
1400 * config/riscv/div.S: Likewise.
1401 * config/riscv/linux-unwind.h: Likewise.
1402 * config/riscv/muldi3.S: Likewise.
1403 * config/riscv/multi3.S: Likewise.
1404 * config/riscv/save-restore.S: Likewise.
1405 * config/riscv/sfp-machine.h: Likewise.
1406 * config/riscv/t-elf: Likewise.
1407 * config/riscv/t-elf32: Likewise.
1408 * config/riscv/t-elf64: Likewise.
1409 * config/riscv/t-softfp32: Likewise.
1410 * config/riscv/t-softfp64: Likewise.
1411
a8c9ef2a
JJ
14122017-01-24 Jakub Jelinek <jakub@redhat.com>
1413
1414 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
1415 /* FALLTHRU */ comments.
1416
c6c82710
GP
14172017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
1418
1419 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
1420
a876231c
JW
14212017-01-20 Jiong Wang <jiong.wang@arm.com>
1422
1423 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
1424 * unwind-dw2.c (execute_cfa_program): Only multiplexing
1425 DW_CFA_GNU_window_save for AArch64 and LP64.
1426
aa348be2
JW
14272017-01-20 Jiong Wang <jiong.wang@arm.com>
1428
1429 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
1430
5636faf2
JW
14312017-01-19 Jiong Wang <jiong.wang@arm.com>
1432
1433 * config/aarch64/aarch64-unwind.h: New file.
1434 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
1435 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
1436 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
1437 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
1438 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
1439 (aarch64_post_extract_frame_addr): New function.
1440 (aarch64_post_frob_eh_handler_addr): New function.
1441 (aarch64_frob_update_context): New function.
1442 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
1443 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
1444 aarch64*-*-freebsd*):
1445 Initialize md_unwind_header to include aarch64-unwind.h.
1446 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
1447 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
1448 __aarch64__.
1449 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
1450 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
1451 (uw_frob_return_addr): New function.
1452 (uw_install_context): Use uw_frob_return_addr.
1453
3c36aa6b
JJ
14542017-01-17 Jakub Jelinek <jakub@redhat.com>
1455
1456 PR other/79046
1457 * configure.ac: Add GCC_BASE_VER.
1458 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
1459 version from BASE-VER file.
1460 * configure: Regenerated.
1461
829afb8f
JS
14622017-01-13 Joe Seymour <joe.s@somniumtech.com>
1463
1464 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
1465 libmul_f5.a): Filter archived prerequisites.
1466
79fc8ffe
AS
14672017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
1468
1469 * config/i386/cpuinfo.h (processor_features): Add
1470 FEATURE_AVX512VPOPCNTDQ.
1471 * config/i386/cpuinfo.c (get_available_features): Habdle new
1472 feature.
1473
fec5f4e0
JM
14742017-01-04 Joseph Myers <joseph@codesourcery.com>
1475
1476 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
1477 payload if [__mips_nan2008].
1478
8f56cb51
AM
14792017-01-04 Alan Modra <amodra@gmail.com>
1480
1481 * Makefile.in (configure_deps): Update.
1482 * configure: Regenerate.
1483
cbe34bb5
JJ
14842017-01-01 Jakub Jelinek <jakub@redhat.com>
1485
1486 Update copyright years.
1487
ab955692
KW
14882016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
1489
1490 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
1491 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
1492 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
1493
de34320f
MK
14942016-12-17 Matthias Klose <doko@ubuntu.com>
1495
1496 * config/arc/gmon: Remove empty directory.
1497
e04ea1da
CZ
14982016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
1499
1500 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
1501 crtgend.
1502 (arc*-*-elf*): Likewise.
1503 * config/arc/t-arc: Remove old gmon lib targets.
1504 * config/arc/crtg.S: Remove.
1505 * config/arc/crtgend.S: Likewise.
1506 * config/arc/gmon/atomic.h: Likewise.
1507 * config/arc/gmon/auxreg.h: Likewise.
1508 * config/arc/gmon/dcache_linesz.S: Likewise.
1509 * config/arc/gmon/gmon.c: Likewise.
1510 * config/arc/gmon/machine-gmon.h: Likewise.
1511 * config/arc/gmon/mcount.c: Likewise.
1512 * config/arc/gmon/prof-freq-stub.S: Likewise.
1513 * config/arc/gmon/prof-freq.c: Likewise.
1514 * config/arc/gmon/profil.S: Likewise.
1515 * config/arc/gmon/sys/gmon.h: Likewise.
1516 * config/arc/gmon/sys/gmon_out.h: Likewise.
1517 * config/arc/t-arc-newlib: Likewise.
1518 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
1519
8ae1c2c1
GS
15202016-12-12 George Spelvin <linux@sciencehorizons.net>
1521
1522 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
1523
a5b947fa
GS
15242016-12-12 George Spelvin <linux@sciencehorizons.net>
1525
1526 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
1527 R16 instead of push + pop.
1528 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
1529
d6574dd1
KW
15302016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
1531
1532 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
1533 tmake_file.
1534
62440b4f
CM
15352016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
1536
1537 * config.host (arc*-*-linux-uclibc*): Use default extra
1538 objects. Include linux-android header.
1539 * config/arc/crti.S (_init): Declare symbol as function.
1540 (_fini): Likewise.
1541
31cfd832
TK
15422016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
1543
1544 PR fortran/78379
1545 * config/i386/cpuinfo.c: Move denums for processor vendors,
1546 processor type, processor subtypes and declaration of
1547 struct __processor_model into
1548 * config/i386/cpuinfo.h: New header file.
1549
c92e08e3
AV
15502016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1551 Thomas Preud'homme <thomas.preudhomme@arm.com>
1552
1553 * config/arm/cmse_nonsecure_call.S: New.
1554 * config/arm/t-arm: Compile cmse_nonsecure_call.S
1555
de7b5723
AV
15562016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1557 Thomas Preud'homme <thomas.preudhomme@arm.com>
1558
1559 * config/arm/t-arm (HAVE_CMSE): New.
1560 * config/arm/cmse.c: New.
1561
7a0d2bce
TP
15622016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
1563
b3a5bff4
TP
1564 PR gcc/74748
1565 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
1566 use generic linker version information on Blackfin.
1567
7a0d2bce
TP
1568 PR gcc/74748
1569 * libgcc/mkmap-symver.awk: add support for skip_underscore
1570
b410cf1d
IS
15712016-11-27 Iain Sandoe <iain@codesourcery.com>
1572 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1573
1574 PR target/67710
1575 * config/t-darwin: Default builds to 10.5 codegen.
1576
2e5f8203
JG
15772016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
1578
1579 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
1580 (_FP_NANSIGN_H): Likewise.
1581 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
1582 (softfp_truncations): Add tfhf.
1583 (softfp_extras): Add required conversion functions.
1584
bea64ca3
JG
15852016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1586 Matthew Wahab <matthew.wahab@arm.com>
1587
1588 * config/arm/fp16.c (binary64): New.
1589 (__gnu_d2h_internal): New.
1590 (__gnu_d2h_ieee): New.
1591 (__gnu_d2h_alternative): New.
1592
8630cadb
JG
15932016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1594 Matthew Wahab <matthew.wahab@arm.com>
1595
1596 * config/arm/fp16.c (struct format): New.
1597 (binary32): New.
1598 (__gnu_float2h_internal): New. Body moved from
1599 __gnu_f2h_internal and generalize.
1600 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
1601 Call it with binary32.
1602
5823ef23
JG
16032016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1604
1605 * soft-fp/extendhftf2.c: Update from glibc.
1606 * soft-fp/fixhfti.c: Likewise.
1607 * soft-fp/fixunshfti.c: Likewise.
1608 * soft-fp/floattihf.c: Likewise.
1609 * soft-fp/floatuntihf.c: Likewise.
1610 * soft-fp/half.h: Likewise.
1611 * soft-fp/trunctfhf2.c: Likewise.
1612
62a7df9f
MG
16132016-11-20 Marc Glisse <marc.glisse@inria.fr>
1614
1615 PR libgcc/77813
1616 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
1617 __TMC_END__ behind a passthrough asm.
1618
7a384912
WL
16192016-11-18 Walter Lee <walt@tilera.com>
1620
62a7df9f 1621 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
7a384912 1622
9775c1a5
L
16232016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
1624
1625 * config/i386/cpuinfo.c (processor_features): Add
1626 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
1627
48c842ab
CZ
16282016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
1629
1630 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
1631 (__ARC_NORM__): Use instead ARC_OPTFPE.
1632 * config/arc/fp-hack.h: Likewise.
1633 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
1634 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
1635
5012919d
AM
16362016-11-16 Alexander Monakov <amonakov@ispras.ru>
1637
1638 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
1639 * config/nvptx/mgomp.c: New file.
1640 * config/nvptx/t-nvptx: Add mgomp.c
1641
00178b98
WB
16422016-11-16 Waldemar Brodkorb <wbx@openadk.org>
1643
1644 PR libgcc/68468
1645 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
1646
d64af69f
CZ
16472016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
1648
1649 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
1650 of checking for cpus.
1651 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
1652 (__modsi3, __clzsi2): Likewise.
1653
9d8f95de
SN
16542016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
1655
1656 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
1657 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
1658 * config/i386/t-cpuinfo-static: New.
1659
7d29f8e3
ML
16602016-11-03 Martin Liska <mliska@suse.cz>
1661
1662 * libgcov-profiler.c (__gcov_time_profiler): Remove.
1663 (__gcov_time_profiler_atomic): Likewise.
1664
5de3e2d8
BE
16652016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
1666
1667 PR libgcc/78067
1668 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
1669 count_leading_zeros.
1670
18362447
UB
16712016-11-02 Uros Bizjak <ubizjak@gmail.com>
1672
1673 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
1674 * libgcc2.c (__divmoddi4): New function.
1675 * libgcc2.h (__divmoddi4): Declare.
1676 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
1677 and __PFX_divmodti4.
1678
33107571
FW
16792016-10-24 Florian Weimer <fweimer@redhat.com>
1680
1681 PR libgcc/78064
1682 * unwind-c.c: Include auto-target.h.
1683
4c6d7494
JDA
16842016-10-19 John David Anglin <danglin@gcc.gnu.org>
1685
18362447 1686 * config/pa/pa64-hpux-lib.h: New file.
4c6d7494
JDA
1687 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
1688 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
1689 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
1690 hppa*64*-*-hpux11*.
1691
2a26adf1
MF
16922016-10-18 Max Filippov <jcmvbkbc@gmail.com>
1693
1694 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1695 definition.
1696 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1697 definition.
1698 * config/xtensa/t-windowed (LIB2ADDEH): Use
1699 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
1700 or xtensa/t-linux.
1701
66192aa1
DKC
17022016-10-18 Ding-Kai Chen <dkchen@cadence.com>
1703
1704 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
1705 __ieee754_sqrt): New functions.
1706 (__divdf3): Add implementation with new FPU instructions under
1707 #if XCHAL_HAVE_DFP_DIV.
1708 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
1709 __ieee754_sqrtf): New functions.
1710 (__divsf3): Add implementation with new FPU instructions under
1711 #if XCHAL_HAVE_FP_DIV.
1712 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
1713 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
1714
4d0cdd0c
TP
17152016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
1716
1717 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
1718 equivalent.
1719 * config/tilepro/atomic.c: Likewise and stop casting model to
1720 enum memmodel.
1721
73f01cca
JM
17222016-10-10 Joseph Myers <joseph@codesourcery.com>
1723
1724 PR target/77586
1725 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
1726 soft-fp.
1727
b20e7532
AT
17282016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
1729
1730 * config.host: Add support for aarch64-*-freebsd*.
1731
a786cec4
AS
17322016-10-05 Andreas Schwab <schwab@suse.de>
1733
1734 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
1735 (.section .init_array): Don't call __do_jv_register_classes.
1736 (.section .init): Likewise.
1737
5a79befb
JJ
17382016-10-04 Jakub Jelinek <jakub@redhat.com>
1739
1740 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
1741 (__JCR_LIST__): Remove.
1742 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
1743 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
1744 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
1745 * config/ia64/crtend.S (__JCR_END__): Remove.
1746 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
1747 conditionals.
1748 (__JCR_LIST__, __JCR_END__): Remove.
1749 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
1750 (__do_global_ctors_1): Likewise.
1751
e0ab3753
UB
17522015-09-28 Uros Bizjak <ubizjak@gmail.com>
1753
1754 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
1755 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
1756
8c9434c2
ML
17572016-09-27 Martin Liska <mliska@suse.cz>
1758
1759 PR gcov-profile/7970
1760 PR gcov-profile/16855
1761 PR gcov-profile/44779
1762 * libgcov-driver.c (__gcov_init): Do not register a atexit
1763 handler.
1764 (__gcov_exit): Rename from gcov_exit.
1765 * libgcov.h (__gcov_exit): Declare.
1766
56b653f1
ML
17672016-09-27 Martin Liska <mliska@suse.cz>
1768
1769 PR bootstrap/77749
1770 * Makefile.in: Remove _gcov_merge_delta.
1771 * libgcov-merge.c (void __gcov_merge_delta): Remove.
1772 * libgcov-util.c (__gcov_delta_counter_op): Remove.
1773 * libgcov.h: Remove declaration of __gcov_merge_delta.
1774
7e02fd1b
EB
17752016-09-21 Eric Botcazou <ebotcazou@adacore.com>
1776
1777 * configure.ac: Do not create links, only substitute the filenames.
1778 * configure: Regenerate.
1779 * Makefile.in: Assign the substitution results to variables.
1780 (LIBGCC_LINKS): Define.
1781 (enable-execute-stack.c): New rule.
1782 (unwind.h): Likewise.
1783 (md-unwind-support.h): Likewise.
1784 (sfp-machine.h): Likewise.
1785 (gthr-default.h): Likewise.
1786 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
1787 unwind.h as prerequisite of install-unwind_h-forbuild.
1788
29991048
JJ
17892016-09-16 Jakub Jelinek <jakub@redhat.com>
1790
1791 PR libgcc/71744
1792 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
1793 is not the primary registry and atomics are available.
1794 (any_objects_registered): New variable.
1795 (__register_frame_info_bases, __register_frame_info_table_bases):
1796 Atomically store 1 to any_objects_registered after registering first
1797 unwind info.
1798 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
1799
0abcd6cc
JG
18002016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
1801
1802 PR target/63250
1803 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
1804 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
1805 (HFtype): Likewise.
1806 (HCtype): Likewise.
1807 (__divhc3): Likewise.
1808 (__mulhc3): Likewise.
1809 * libgcc2.c: Support _mulhc3 and _divhc3.
1810
d758aeb5
JM
18112016-09-07 Joseph Myers <joseph@codesourcery.com>
1812
1813 PR libgcc/77519
1814 * libgcc2.c (NOTRUNC): Invert settings.
1815
7fe76f6a
ML
18162016-09-06 Martin Liska <mliska@suse.cz>
1817
1818 PR gcov-profile/77378
1819 PR gcov-profile/77466
1820 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
1821 conditionaly enable/disable *_atomic functions.
1822
21184026
JM
18232016-08-26 Joseph Myers <joseph@codesourcery.com>
1824
1825 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
1826 where not already enabled.
1827
726f49c3
SN
18282016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
1829
1830 * config/mips/linux-unwind.h: Use sys/syscall.h.
1831
feeb6268
JM
18322016-08-16 Joseph Myers <joseph@codesourcery.com>
1833
1834 PR libgcc/77265
1835 * soft-fp/adddf3.c: Update from glibc.
1836 * soft-fp/addsf3.c: Likewise.
1837 * soft-fp/addtf3.c: Likewise.
1838 * soft-fp/divdf3.c: Likewise.
1839 * soft-fp/divsf3.c: Likewise.
1840 * soft-fp/divtf3.c: Likewise.
1841 * soft-fp/double.h: Likewise.
1842 * soft-fp/eqdf2.c: Likewise.
1843 * soft-fp/eqsf2.c: Likewise.
1844 * soft-fp/eqtf2.c: Likewise.
1845 * soft-fp/extenddftf2.c: Likewise.
1846 * soft-fp/extended.h: Likewise.
1847 * soft-fp/extendsfdf2.c: Likewise.
1848 * soft-fp/extendsftf2.c: Likewise.
1849 * soft-fp/extendxftf2.c: Likewise.
1850 * soft-fp/fixdfdi.c: Likewise.
1851 * soft-fp/fixdfsi.c: Likewise.
1852 * soft-fp/fixdfti.c: Likewise.
1853 * soft-fp/fixsfdi.c: Likewise.
1854 * soft-fp/fixsfsi.c: Likewise.
1855 * soft-fp/fixsfti.c: Likewise.
1856 * soft-fp/fixtfdi.c: Likewise.
1857 * soft-fp/fixtfsi.c: Likewise.
1858 * soft-fp/fixtfti.c: Likewise.
1859 * soft-fp/fixunsdfdi.c: Likewise.
1860 * soft-fp/fixunsdfsi.c: Likewise.
1861 * soft-fp/fixunsdfti.c: Likewise.
1862 * soft-fp/fixunssfdi.c: Likewise.
1863 * soft-fp/fixunssfsi.c: Likewise.
1864 * soft-fp/fixunssfti.c: Likewise.
1865 * soft-fp/fixunstfdi.c: Likewise.
1866 * soft-fp/fixunstfsi.c: Likewise.
1867 * soft-fp/fixunstfti.c: Likewise.
1868 * soft-fp/floatdidf.c: Likewise.
1869 * soft-fp/floatdisf.c: Likewise.
1870 * soft-fp/floatditf.c: Likewise.
1871 * soft-fp/floatsidf.c: Likewise.
1872 * soft-fp/floatsisf.c: Likewise.
1873 * soft-fp/floatsitf.c: Likewise.
1874 * soft-fp/floattidf.c: Likewise.
1875 * soft-fp/floattisf.c: Likewise.
1876 * soft-fp/floattitf.c: Likewise.
1877 * soft-fp/floatundidf.c: Likewise.
1878 * soft-fp/floatundisf.c: Likewise.
1879 * soft-fp/floatunditf.c: Likewise.
1880 * soft-fp/floatunsidf.c: Likewise.
1881 * soft-fp/floatunsisf.c: Likewise.
1882 * soft-fp/floatunsitf.c: Likewise.
1883 * soft-fp/floatuntidf.c: Likewise.
1884 * soft-fp/floatuntisf.c: Likewise.
1885 * soft-fp/floatuntitf.c: Likewise.
1886 * soft-fp/gedf2.c: Likewise.
1887 * soft-fp/gesf2.c: Likewise.
1888 * soft-fp/getf2.c: Likewise.
1889 * soft-fp/ledf2.c: Likewise.
1890 * soft-fp/lesf2.c: Likewise.
1891 * soft-fp/letf2.c: Likewise.
1892 * soft-fp/muldf3.c: Likewise.
1893 * soft-fp/mulsf3.c: Likewise.
1894 * soft-fp/multf3.c: Likewise.
1895 * soft-fp/negdf2.c: Likewise.
1896 * soft-fp/negsf2.c: Likewise.
1897 * soft-fp/negtf2.c: Likewise.
1898 * soft-fp/op-1.h: Likewise.
1899 * soft-fp/op-2.h: Likewise.
1900 * soft-fp/op-4.h: Likewise.
1901 * soft-fp/op-8.h: Likewise.
1902 * soft-fp/op-common.h: Likewise.
1903 * soft-fp/quad.h: Likewise.
1904 * soft-fp/single.h: Likewise.
1905 * soft-fp/soft-fp.h: Likewise.
1906 * soft-fp/subdf3.c: Likewise.
1907 * soft-fp/subsf3.c: Likewise.
1908 * soft-fp/subtf3.c: Likewise.
1909 * soft-fp/truncdfsf2.c: Likewise.
1910 * soft-fp/trunctfdf2.c: Likewise.
1911 * soft-fp/trunctfsf2.c: Likewise.
1912 * soft-fp/trunctfxf2.c: Likewise.
1913 * soft-fp/unorddf2.c: Likewise.
1914 * soft-fp/unordsf2.c: Likewise.
1915 * soft-fp/unordtf2.c: Likewise.
1916
2e6fc1ac
GG
19172016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
1918
1919 PR gcov-profile/67097
1920 * libgcov-util.c (gcov_profile_merge): Skip missing files.
1921
a266236e
ML
19222016-08-10 Martin Liska <mliska@suse.cz>
1923
1924 PR gcov-profile/58306
1925 * Makefile.in: New functions (modules) are added.
1926 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
1927 function.
1928 (__gcov_pow2_profiler_atomic): New function.
1929 (__gcov_one_value_profiler_body): New argument is instroduced.
1930 (__gcov_one_value_profiler): Call with the new argument.
1931 (__gcov_one_value_profiler_atomic): Likewise.
1932 (__gcov_indirect_call_profiler_v2): Likewise.
1933 (__gcov_time_profiler_atomic): New function.
1934 (__gcov_average_profiler_atomic): Likewise.
1935 (__gcov_ior_profiler_atomic): Likewise.
1936 * libgcov.h: Declare the aforementioned functions.
1937
e0c8eebf
ML
19382016-08-09 Martin Liska <mliska@suse.cz>
1939
1940 * libgcov-util.c: Fix typo and GNU coding style.
1941
6dce6418
ML
19422016-08-09 Martin Liska <mliska@suse.cz>
1943
1944 * Makefile.in: Remove __gcov_indirect_call_profiler.
1945 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
1946 function.
1947 * libgcov.h: And the declaration of the function.
1948
dcb1e137
ML
19492016-08-09 Martin Liska <mliska@suse.cz>
1950
1951 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
1952 power of two.
1953
d6e69705
BS
19542016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1955
1956 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
1957 * config/rs6000/_mulkc3.c: Likewise.
1958
96aa1f95
GJL
19592016-07-29 Georg-Johann Lay <avr@gjlay.de>
1960
1961 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
1962 zero_reg as previous call to __umulhisi3 already cleared it.
1963
a1b01d34
AJ
19642016-07-21 Aurelien Jarno <aurelien@aurel32.net>
1965
1966 PR target/59833
1967 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
1968
985a47b2
NC
19692016-07-19 Nick Clifton <nickc@redhat.com>
1970
1971 * config.host (m32r): Add m32r/t-m32r to tmake_file.
1972 Add crtinit.o and crtfini.o to extra_parts.
1973
f906f5ed
BS
19742016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1975
1976 * config/rs6000/_divkc3.c: New.
1977 * config/rs6000/_mulkc3.c: New.
1978 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
1979 and _divkc3.
1980 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
1981 fp128_ppc_funcs.
1982
82742404
HW
19832016-07-11 Hale Wang <hale.wang@arm.com>
1984 Andre Vieira <andre.simoesdiasvieira@arm.com>
1985
1986 * config/arm/lib1funcs.S: Add new wrapper.
1987
05a437c1
TP
19882016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
1989
1990 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
1991
3d16d9ec
TP
19922016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
1993
1994 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
1995 and ARMv5t* rather than for a fixed list of architectures.
1996
6f493951
TP
19972016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
1998
1999 * config/arm/bpabi-v6m.S: Clarify what architectures is the
2000 implementation suitable for.
2001 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
2002 for all Thumb-1 only targets.
2003 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
2004 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
2005 __ARM_ARCH_6M__.
2006 (EQUIV): Likewise.
2007 (ARM_FUNC_ALIAS): Likewise.
2008 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
2009 version.
2010 (modsi3): Likewise.
2011 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
2012 (clzdi2): Likewise.
2013 (ctzsi2): Likewise.
2014 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
2015 __ARM_ARCH_6M__ in guard for checking whether it is defined.
2016 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
2017 __ARM_ARCH_6M__ and add comment to indicate the connection between
2018 this condition and the one in gcc/config/arm/elf.h.
2019 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
2020 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
2021 * config/arm/t-softfp: Likewise.
2022
1770511a
TS
20232016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2024
2025 * libgcc2.c (SYMBOL__MAIN): Remove checks for
2026 CTOR_LISTS_DEFINED_EXTERNALLY.
2027
ba6be749
WL
20282016-06-28 Walter Lee <walt@tilera.com>
2029
2030 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
2031 asm/unistd.h.
2032 (SPR_CMPEXCH_VALUE): Define for tilegx.
2033 (__NR_FAST_cmpxchg): Define for tilepro.
2034 (__NR_FAST_atomic_update): Define for tilepro.
2035 (__NR_FAST_cmpxchg64): Define for tilepro.
2036
a34c0db5
JS
20372016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
2038
18362447 2039 * config.host: Add suport for arm*-*-phoenix* targets.
a34c0db5 2040
0609abda
TS
20412016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2042
2043 * config.host: Remove support for mep-*.
2044 * config/mep/lib1funcs.S: Remove.
2045 * config/mep/lib2funcs.c: Remove.
2046 * config/mep/t-mep: Remove.
2047 * config/mep/tramp.c: Remove.
2048
3e326935
TS
20492016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2050
2051 * config.host: Remove support for avr-rtems.
2052 * config/avr/t-rtems: Remove.
2053
914b155c
TS
20542016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2055
2056 * config.host: Remove m32r-rtems support.
2057
5ebf89bd
TS
20582016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2059
2060 * config.host: Remove h8300-rtems support.
2061
8466af06
TS
20622016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2063
2064 * config.host: Remove support for knetbsd.
2065
d980e738
TS
20662016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2067
2068 * config.host: Remove support for openbsd 2 and 3.
2069
ee2499b4
TS
20702016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2071
2072 * config.host: Remove interix support.
2073 * config/i386/t-interix: Remove.
2074
9f92937b
JDA
20752016-06-18 John David Anglin <danglin@gcc.gnu.org>
2076
2077 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
2078 least-significant bit in function pointer for fixup.
2079
0a0ec53d
AC
20802016-06-05 Aaron Conole <aconole@redhat.com>
2081 Nathan Sidwell <nathan@acm.org>
2082
2083 PR libgcc/71400
2084 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
2085 (get_gcov_error_file): Check __gcov_error_file before trying to
2086 initialize it.
2087 (gcov_error): Always use get_gcov_error_file.
2088
8aa5bdd6
AC
20892016-06-02 Aaron Conole <aconole@redhat.com>
2090
2091 * libgcov-driver-system.c (__gcov_error_file): New.
2092 (get_gcov_error_file): New.
2093 (gcov_error): Use and set __gcov_error_file.
2094 (gcov_error_exit): New.
2095 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
2096
40774faf
NS
20972016-05-26 Nathan Sidwell <nathan@acm.org>
2098
2099 * config/nvptx/free.asm: Delete.
2100 * config/nvptx/malloc.asm: Delete.
2101 * config/nvptx/realloc.c: Delete.
2102 * t-nvptx: Update.
2103
69a6d5ad
NS
21042016-05-25 Nathan Sidwell <nathan@acm.org>
2105
2106 * config/nvptx/crt0.s: Delete.
2107 * config/nvptx/crt0.c: New.
2108 * t-nvptx: Update.
2109
6befaff6
SL
21102016-05-19 Sandra Loosemore <sandra@codesourcery.com>
2111
385c7747 2112 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
6befaff6
SL
2113 dw2/seh configuration.
2114 [x86_64-*-mingw*]: Likewise.
2115
ad251dfd
JS
21162016-05-10 Joel Sherrill <joel@rtems.org>
2117
2118 PR libgcc/70720
2119 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
2120 targets so the same extra_parts are built. Also have tmake_file add
2121 on to its value rather than override.
2122
bc6d9014
OE
21232016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
2124
2125 * config.host: Remove SH5 support.
2126 * configure: Likewise.
2127
9129c8cf
OE
21282016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
2129
2130 * config/sh/crt1.S: Remove SH5 support.
2131 * config/sh/crti.S: Likewise.
2132 * config/sh/crtn.S: Likewise.
2133 * config/sh/lib1funcs-4-300.S: Likewise.
2134 * config/sh/lib1funcs-Os-4-200.S: Likewise.
2135 * config/sh/lib1funcs.S: Likewise.
2136 * config/sh/linux-unwind.h: Likewise.
2137 * config/sh/t-sh64: Delete.
2138
39d50464
CZ
21392016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
2140
2141 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
2142
8b48923b
CZ
21432016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
2144 Joern Rennecke <joern.rennecke@embecosm.com>
2145
2146 * config/arc/crttls.S: New file.
2147 * config/arc/t-arc: New rule.
2148 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
2149
2de1cf8c
NC
21502016-04-25 Nick Clifton <nickc@redhat.com>
2151
2152 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
2153 (__mspabi_cmpd): Likewise.
2154 * config/msp430/floathidf.c (__floathidf): Likewise.
2155 * config/msp430/floathisf.c (__floathisf): Likewise
2156 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
2157 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
2158 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
2159 second parameter.
2160 (__ashrsi3): Likewise.
2161
b8ce3fe2
WB
21622016-04-21 Waldemar Brodkorb <wbx@openadk.org>
2163
2164 * config/m68k/linux-atomic.c: Do not include unistd.h
2165
4986f823
MG
21662016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
2167
2168 * config/arm/ieee754-df.S: Fix typos in comments.
2169
35fbda43
MM
21702016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
2171
2172 PR target/70381
2173 * configure.ac (powerpc*-*-linux*): Rework tests to build
2174 __float128 emulation routines to not depend on using #pragma GCC
2175 target to enable -mfloat128.
2176 * configure: Regnerate.
2177
72d1a48d
EB
21782016-04-04 Eric Botcazou <ebotcazou@adacore.com>
2179
2180 PR target/67172
2181 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
2182 __MINGW32__ is defined.
2183
dc2e8995
JB
21842016-03-28 James Bowman <james.bowman@ftdichip.com>
2185
385c7747 2186 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
dc2e8995 2187
104cdaf1
MM
21882016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
2189
2190 PR libgcc/70363
2191 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
2192 built with an assembler that does not support ISA 3.0
2193 instructions, rename __extendkftf2_sw to __extendkftf2.
2194
a5046f48
RO
21952016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2196
2197 PR target/38239
2198 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
2199 call-clobbered registers.
2200 (internal_mcount): Remove __i386__ handling.
2201
df674f74
JS
22022016-02-26 Joel Sherrill <joel@rtems.org>
2203
2204 * config.host: Add x86_64-*-rtems*.
2205
7cb065d6
JS
22062016-02-26 Joel Sherrill <joel@rtems.org>
2207
2208 * libgcc/config.host: Add aarch64-*-rtems*.
2209
47dfdc53
PM
22102016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2211 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2212
2213 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
2214 union of u64 and double.
2215 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
2216 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
2217 value.
2218 (FP_ROUNDMODE): Update the usage of _fpscr.
2219
e6861a99
IV
22202016-02-25 Ilya Verbin <ilya.verbin@intel.com>
2221
2222 PR driver/68463
2223 * Makefile.in (crtoffloadtable$(objext)): New rule.
2224 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
2225 enable_offload_targets is not empty.
2226 * configure: Regenerate.
2227 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
2228 crtoffloadtable.
2229
9bfcbdee
MF
22302016-02-17 Max Filippov <jcmvbkbc@gmail.com>
2231
2232 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
2233 .literal_position before the function.
2234 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
2235 Likewise.
2236
4cb4721f
MK
22372016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
2238
2239 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
2240 * config/s390/morestack.S: New file.
2241 * config/s390/t-stack-s390: New file.
2242 * generic-morestack.c (__splitstack_find): Add s390-specific code.
2243
b29d9a29
WL
22442016-02-12 Walter Lee <walt@tilera.com>
2245
2246 * config.host (tilegx*-*-linux*): remove ti from
2247 softfp_int_modes for 32-bit configs.
2248
03a0ae7d
ILT
22492016-02-10 Ian Lance Taylor <iant@google.com>
2250
2251 PR go/68562
2252 * config/i386/morestack.S (__stack_split_initialize): Align
2253 stack.
2254
68750bce
AT
22552016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
2256
2257 PR bootstrap/69611
2258 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
2259 __FLOAT128__ to compile only for __float128 capable targets.
2260
7d296953
JJ
22612016-01-25 Jakub Jelinek <jakub@redhat.com>
2262
2263 PR target/69444
2264 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
2265 instead of ___NO_FPRS__.
2266
a71c0334 22672016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
2268 Steven Munroe <munroesj@linux.vnet.ibm.com>
2269 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
a71c0334
MM
2270
2271 * config/rs6000/float128-sed: New files to convert TF names to KF
2272 names for PowerPC IEEE 128-bit floating point support.
2273 * config/rs6000/float128-sed-hw: Likewise.
2274
2275 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2276 floating point hardware support.
2277
2278 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2279 128-bit floating point software emulation or use ISA 3.0 hardware
2280 support if it is available.
2281
2282 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2283 floating point.
2284
2285 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
2286 floating point to IBM extended double.
2287
2288 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
2289 double to IEEE 128-bit floating point.
2290
2291 * config/rs6000/t-float128: New Makefile fragments to enable
2292 building __float128 emulation support.
2293 * config/rs6000/t-float128-hw: Likewise.
2294
2295 * config/rs6000/sfp-exceptions.c: New file to provide exception
2296 support for IEEE 128-bit floating point.
2297
2298 * config/rs6000/floattikf.c: New files for converting between IEEE
2299 128-bit floating point and signed/unsigned 128-bit integers.
2300 * config/rs6000/fixunskfti.c: Likewise.
2301 * config/rs6000/fixkfti.c: Likewise.
2302 * config/rs6000/floatuntikf.c: Likewise.
2303
2304 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2305 when building on 64-bit systems, or when VSX is enabled.
2306 (_FP_W_TYPE): Likewise.
2307 (_FP_WS_TYPE): Likewise.
2308 (_FP_I_TYPE): Likewise.
2309 (TItype): Define on 64-bit systems.
2310 (UTItype): Likewise.
2311 (TI_BITS): Likewise.
2312 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2313 (_FP_MUL_MEAT_Q): Likewise.
2314 (_FP_DIV_MEAT_D): Likewise.
2315 (_FP_DIV_MEAT_Q): Likewise.
2316 (_FP_NANFRAC_D): Likewise.
2317 (_FP_NANFRAC_Q): Likewise.
2318 (ISA_BIT): Add exception support if we are being compiled on a
2319 machine with hardware floating point support to build the IEEE
2320 128-bit emulation functions.
2321 (FP_EX_INVALID): Likewise.
2322 (FP_EX_OVERFLOW): Likewise.
2323 (FP_EX_UNDERFLOW): Likewise.
2324 (FP_EX_DIVZERO): Likewise.
2325 (FP_EX_INEXACT): Likewise.
2326 (FP_EX_ALL): Likewise.
2327 (__sfp_handle_exceptions): Likewise.
2328 (FP_HANDLE_EXCEPTIONS): Likewise.
2329 (FP_RND_NEAREST): Likewise.
2330 (FP_RND_ZERO): Likewise.
2331 (FP_RND_PINF): Likewise.
2332 (FP_RND_MINF): Likewise.
2333 (FP_RND_MASK): Likewise.
2334 (_FP_DECL_EX): Likewise.
2335 (FP_INIT_ROUNDMODE): Likewise.
2336 (FP_ROUNDMODE): Likewise.
2337
2338 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2339 VSX code, enable IEEE 128-bit floating point. If the compiler can
2340 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
2341 floating point hardware instructions and it supports declaring
2342 functions with the ifunc attribute, enable ifunc functions to
2343 switch between software and hardware support.
2344 * configure.ac (powerpc*-*-linux*): Likewise.
2345 * configure: Regenerate.
2346
bdc27e50
NC
23472016-01-15 Nick Clifton <nickc@redhat.com>
2348
2349 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
2350 dependency as the source file to be compiled.
2351 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
2352 (lib2hw_mul_f5.o): Likewise.
2353
006df05d
MM
23542016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
2355
2356 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
2357 * libgcc/config/rs6000/fixkfti.c: Likewise.
2358 * libgcc/config/rs6000/fixunskfti.c: Likewise.
2359 * libgcc/config/rs6000/float128-hw.c: Likewise.
2360 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
2361 * libgcc/config/rs6000/float128-sed: Likewise.
2362 * libgcc/config/rs6000/floattikf.c: Likewise.
2363 * libgcc/config/rs6000/floatuntikf.c: Likewise.
2364 * libgcc/config/rs6000/quad-float128.h: Likewise.
2365 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
2366 * libgcc/config/rs6000/sfp-machine.h: Likewise.
2367 * libgcc/config/rs6000/t-float128: Likewise.
2368 * libgcc/config/rs6000/t-float128-hw: Likewise.
2369 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
2370 * libgcc/config.host: Likewise.
2371 * libgcc/configure: Likewise.
2372 * libgcc/configure.ac: Likewise.
2373
29176d57 23742016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
2375 Steven Munroe <munroesj@linux.vnet.ibm.com>
2376 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
29176d57
MM
2377
2378 * config/rs6000/sfp-exceptions.c: New file to provide exception
2379 support for IEEE 128-bit floating point.
2380
2381 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2382 floating point hardware support.
2383
2384 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
2385 point conversions.
2386 * config/rs6000/fixunskfti.c: Likewise.
2387 * config/rs6000/fixkfti.c: Likewise.
2388 * config/rs6000/floatuntikf.c: Likewise.
2389 * config/rs6000/extendkftf2-sw.c: Likewise.
2390 * config/rs6000/trunctfkf2-sw.c: Likewise.
2391
2392 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2393 128-bit floating point software emulation or use ISA 3.0 hardware
2394 support if it is available.
2395
2396 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2397 floating point.
2398
2399 * config/rs6000/t-float128: New Makefile fragments to enable
2400 building __float128 emulation support.
2401 * config/rs6000/t-float128-hw: Likewise.
2402
2403 * config/rs6000/float128-sed: New file to convert TF names to KF
2404 names for PowerPC IEEE 128-bit floating point support.
2405
2406 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2407 when building on 64-bit systems, or when VSX is enabled.
2408 (_FP_W_TYPE): Likewise.
2409 (_FP_WS_TYPE): Likewise.
2410 (_FP_I_TYPE): Likewise.
2411 (TItype): Define on 64-bit systems.
2412 (UTItype): Likewise.
2413 (TI_BITS): Likewise.
2414 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2415 (_FP_MUL_MEAT_Q): Likewise.
2416 (_FP_DIV_MEAT_D): Likewise.
2417 (_FP_DIV_MEAT_Q): Likewise.
2418 (_FP_NANFRAC_D): Likewise.
2419 (_FP_NANFRAC_Q): Likewise.
2420 (ISA_BIT): Add exception support if we are being compiled on a
2421 machine with hardware floating point support to build the IEEE
2422 128-bit emulation functions.
2423 (FP_EX_INVALID): Likewise.
2424 (FP_EX_OVERFLOW): Likewise.
2425 (FP_EX_UNDERFLOW): Likewise.
2426 (FP_EX_DIVZERO): Likewise.
2427 (FP_EX_INEXACT): Likewise.
2428 (FP_EX_ALL): Likewise.
2429 (__sfp_handle_exceptions): Likewise.
2430 (FP_HANDLE_EXCEPTIONS): Likewise.
2431 (FP_RND_NEAREST): Likewise.
2432 (FP_RND_ZERO): Likewise.
2433 (FP_RND_PINF): Likewise.
2434 (FP_RND_MINF): Likewise.
2435 (FP_RND_MASK): Likewise.
2436 (_FP_DECL_EX): Likewise.
2437 (FP_INIT_ROUNDMODE): Likewise.
2438 (FP_ROUNDMODE): Likewise.
2439
2440 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
2441 compiler can do __float128.
2442 * configure: Regenerate.
2443
2444 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2445 VSX code, enable IEEE 128-bit floating point.
2446
a2218983
OH
24472016-01-05 Olivier Hainque <hainque@adacore.com>
2448
2449 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
29176d57 2450 specificities.
a2218983 2451
818ab71a
JJ
24522016-01-04 Jakub Jelinek <jakub@redhat.com>
2453
2454 Update copyright years.
2455
5a6c8ffa
AP
24562015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
2457
2458 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
29176d57 2459 soft-fp targets.
5a6c8ffa 2460
077067a5
BE
24612015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
2462
2463 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
2464 instead of abort to avoid dependency on stdlib.h.
2465
787c1027
JDA
24662015-12-09 John David Anglin <danglin@gcc.gnu.org>
2467
2468 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
2469 to initialize call to __dl_fixup once.
2470
04a9ae28
NC
24712015-12-04 Nick Clifton <nickc@redhat.com>
2472
2473 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
2474 Allow for the second argument being negative.
2475 * config.host (extra_parts): Define for MSP430. Create separate
2476 libraries for each of the hardware multiply formats.
2477 * config/msp430/lib2hw_mul.S: Build only the multiply routines
2478 that are needed.
2479 * config/msp430/lib2mul.c: Likewise.
2480 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
2481 Add rules to build hardware multiply libraries.
2482 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
2483 __mspabi_divul function.
2484 (__mspabi_divllu): New stub function.
2485
9a32d437
JDA
24862015-12-01 John David Anglin <danglin@gcc.gnu.org>
2487
2488 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
2489 fixup values if saved GOT address doesn't match runtime address.
2490 (fixup_branch_offset): Reorder list.
2491
e5ef217c
RO
24922015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2493
2494 * Makefile.in (VTV_CFLAGS): New variable.
2495 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
2496 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
2497 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2498 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
2499 to extra_parts if $enable_vtable_verify = yes.
2500
78cc43a2
SN
25012015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
2502
2503 PR target/68059
2504 * config/arm/linux-atomic-64bit.c (__write): Rename to...
2505 (write): ...this and fix the return type.
2506
9afebea2
DD
25072015-11-19 DJ Delorie <dj@redhat.com>
2508
2509 * config/msp430/lib2hw_mul.S: Fix alignment.
2510
33f47f42
NS
25112015-11-18 Nathan Sidwell <nathan@codesourcery.com>
2512
2513 * config/nvptx/reduction.c: New.
2514 * config/nvptx/t-nvptx (LIB2ADD): Add it.
2515
d9adb476
DE
25162015-11-15 David Edelsohn <dje.gcc@gmail.com>
2517
2518 * config/rs6000/on_exit.c: New file.
2519 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
2520 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
2521
c0ab1970
CZ
25222015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
2523
2524 * config/arc/dp-hack.h: Add support for ARCHS.
2525 * config/arc/ieee-754/divdf3.S: Likewise.
2526 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
2527 * config/arc/ieee-754/muldf3.S: Likewise.
2528 * config/arc/ieee-754/mulsf3.S: Likewise
2529 * config/arc/lib1funcs.S: Likewise
2530 * config/arc/gmon/dcache_linesz.S: Don't read the build register
2531 for ARCv2 cores.
2532 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
2533 for ARCv2 cores.
2534 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
2535 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
2536 cores.
2537
e6b6bf09
RO
25382015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2539
2540 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
2541 value.
2542 * config/ia64/crtend.S: Likewise.
2543
a153644f
TS
25442015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2545
2546 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
2547 __CHAR_BIT__ instead of BITS_PER_UNIT.
2548 * fixed-bit.h: Likewise.
2549 * fp-bit.h: Likewise.
2550 * libgcc2.c (__popcountSI2): Likewise.
2551 (__popcountDI2): Likewise.
2552 * libgcc2.h: Likewise.
2553 * libgcov.h: Likewise.
2554
3dee689d
DE
25552015-11-07 David Edelsohn <dje.gcc@gmail.com>
2556
2557 * config/rs6000/atexit.c: New file.
2558 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
2559 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
2560 * config/rs6000/cxa_finalize.c
2561 (catomic_compare_and_exchange_bool_acq): Negate return value.
2562
2ef543e4
VK
25632015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
2564
2565 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
2566 (processor_subtypes): Add znver1.
2567 (get_amd_cpu): Detect znver1.
2568
1300f017
CL
25692015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
2570
2571 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
2572 Include crtfastmath.o.
2573
3e5bb7ee
JR
25742015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
2575
2576 PR libgcc/66883
2577 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1300f017 2578
793aa938
KP
25792015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
2580
2581 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
2582 * config/rl78/divmodsi.S: Update return register to r8.
2583 * config/rl78/divmodhi.S: Update return register to r8,r9.
2584 Branch to main_loop_done_himode to pop registers before return.
2585
7d296953 25862015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
fac812f0
VK
2587
2588 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
2589 (__cpu_indicator_init): Fix model selection for AMD CPUs.
2590
6a192b5a
KY
25912015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
2592
2593 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
2594
4a0a9457
MF
25952015-10-03 Max Filippov <jcmvbkbc@gmail.com>
2596
2597 * config.host (xtensa*-*-uclinux*): New configuration.
2598
ab91c076
KY
25992015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
2600
385c7747 2601 * config/i386/cpuinfo.c (processor_features): Add
ab91c076
KY
2602 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
2603
30954527
JM
26042015-09-28 Joseph Myers <joseph@codesourcery.com>
2605
2606 * soft-fp/adddf3.c: Update from glibc.
2607 * soft-fp/addsf3.c: Likewise.
2608 * soft-fp/addtf3.c: Likewise.
2609 * soft-fp/divdf3.c: Likewise.
2610 * soft-fp/divsf3.c: Likewise.
2611 * soft-fp/divtf3.c: Likewise.
2612 * soft-fp/double.h: Likewise.
2613 * soft-fp/eqdf2.c: Likewise.
2614 * soft-fp/eqsf2.c: Likewise.
2615 * soft-fp/eqtf2.c: Likewise.
2616 * soft-fp/extenddftf2.c: Likewise.
2617 * soft-fp/extended.h: Likewise.
2618 * soft-fp/extendsfdf2.c: Likewise.
2619 * soft-fp/extendsftf2.c: Likewise.
2620 * soft-fp/extendxftf2.c: Likewise.
2621 * soft-fp/fixdfdi.c: Likewise.
2622 * soft-fp/fixdfsi.c: Likewise.
2623 * soft-fp/fixdfti.c: Likewise.
2624 * soft-fp/fixsfdi.c: Likewise.
2625 * soft-fp/fixsfsi.c: Likewise.
2626 * soft-fp/fixsfti.c: Likewise.
2627 * soft-fp/fixtfdi.c: Likewise.
2628 * soft-fp/fixtfsi.c: Likewise.
2629 * soft-fp/fixtfti.c: Likewise.
2630 * soft-fp/fixunsdfdi.c: Likewise.
2631 * soft-fp/fixunsdfsi.c: Likewise.
2632 * soft-fp/fixunsdfti.c: Likewise.
2633 * soft-fp/fixunssfdi.c: Likewise.
2634 * soft-fp/fixunssfsi.c: Likewise.
2635 * soft-fp/fixunssfti.c: Likewise.
2636 * soft-fp/fixunstfdi.c: Likewise.
2637 * soft-fp/fixunstfsi.c: Likewise.
2638 * soft-fp/fixunstfti.c: Likewise.
2639 * soft-fp/floatdidf.c: Likewise.
2640 * soft-fp/floatdisf.c: Likewise.
2641 * soft-fp/floatditf.c: Likewise.
2642 * soft-fp/floatsidf.c: Likewise.
2643 * soft-fp/floatsisf.c: Likewise.
2644 * soft-fp/floatsitf.c: Likewise.
2645 * soft-fp/floattidf.c: Likewise.
2646 * soft-fp/floattisf.c: Likewise.
2647 * soft-fp/floattitf.c: Likewise.
2648 * soft-fp/floatundidf.c: Likewise.
2649 * soft-fp/floatundisf.c: Likewise.
2650 * soft-fp/floatunditf.c: Likewise.
2651 * soft-fp/floatunsidf.c: Likewise.
2652 * soft-fp/floatunsisf.c: Likewise.
2653 * soft-fp/floatunsitf.c: Likewise.
2654 * soft-fp/floatuntidf.c: Likewise.
2655 * soft-fp/floatuntisf.c: Likewise.
2656 * soft-fp/floatuntitf.c: Likewise.
2657 * soft-fp/gedf2.c: Likewise.
2658 * soft-fp/gesf2.c: Likewise.
2659 * soft-fp/getf2.c: Likewise.
2660 * soft-fp/ledf2.c: Likewise.
2661 * soft-fp/lesf2.c: Likewise.
2662 * soft-fp/letf2.c: Likewise.
2663 * soft-fp/muldf3.c: Likewise.
2664 * soft-fp/mulsf3.c: Likewise.
2665 * soft-fp/multf3.c: Likewise.
2666 * soft-fp/negdf2.c: Likewise.
2667 * soft-fp/negsf2.c: Likewise.
2668 * soft-fp/negtf2.c: Likewise.
2669 * soft-fp/op-1.h: Likewise.
2670 * soft-fp/op-2.h: Likewise.
2671 * soft-fp/op-4.h: Likewise.
2672 * soft-fp/op-8.h: Likewise.
2673 * soft-fp/op-common.h: Likewise.
2674 * soft-fp/quad.h: Likewise.
2675 * soft-fp/single.h: Likewise.
2676 * soft-fp/soft-fp.h: Likewise.
2677 * soft-fp/subdf3.c: Likewise.
2678 * soft-fp/subsf3.c: Likewise.
2679 * soft-fp/subtf3.c: Likewise.
2680 * soft-fp/truncdfsf2.c: Likewise.
2681 * soft-fp/trunctfdf2.c: Likewise.
2682 * soft-fp/trunctfsf2.c: Likewise.
2683 * soft-fp/trunctfxf2.c: Likewise.
2684 * soft-fp/unorddf2.c: Likewise.
2685 * soft-fp/unordsf2.c: Likewise.
2686 * soft-fp/unordtf2.c: Likewise.
2687
4dfe21ac
RE
26882015-09-24 Richard Earnshaw <rearnsha@arm.com>
2689
2690 PR libgcc/67624
2691 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
2692
df2a1cc4
RO
26932015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2694
2695 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2696 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
2697 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
2698 messages.
2699 (internal_mcount): Likewise.
2700 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
2701 crt_compile, add CRTSTUFF_T_CFLAGS_S.
2702
2d110442
RO
27032015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2704
2705 * configure.ac (libgcc_cv_solaris_crts): New test.
2706 * configure: Regenerate.
2707 * config.in: Regenerate.
2708 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
2709 * config/gmon-sol2.c: Rename to ...
2710 * config/sol2/gmon.c: ... this.
2711 Include auto-target.h.
2712 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
2713 * config/t-sol2: Rename to ...
2714 * config/sol2/t-sol2: ... this.
2715 (gmon.o): Reflect renaming.
2716 (crtp.o, crtpg.o): New rules.
2717 * config.host (*-*-solaris2*): Reflect renaming.
2718 Use system CRTs if present.
2719 Remove default CRT case.
2720
d572e439
JDA
27212015-09-23 John David Anglin <danglin@gcc.gnu.org>
2722
2723 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
2724 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
2725 __kernel_cmpxchg2.
2726 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
2727 (__sync_val_compare_and_swap_##WIDTH): Likewise.
2728 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
2729 (__sync_lock_test_and_set_##WIDTH): Likewise.
2730 (__sync_lock_release_##WIDTH): Likewise.
2731 (__sync_fetch_and_##OP##_4): Change result to match type of
2732 __kernel_cmpxchg.
2733 (__sync_##OP##_and_fetch_4): Likewise.
2734 (__sync_val_compare_and_swap_4): Likewise.
2735 (__sync_bool_compare_and_swap_4): likewise.
2736 (__sync_lock_test_and_set_4): Likewise.
2737 (__sync_lock_release_4): Likewise.
2738 (FETCH_AND_OP_2): Add long long variants.
2739 (OP_AND_FETCH_2): Likewise.
2740 (COMPARE_AND_SWAP_2 ): Likewise.
2741 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2742 (SYNC_LOCK_RELEASE_2): Likewise.
2743 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
2744
7d296953 27452015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
06caf59d
KY
2746
2747 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
2748 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
2749 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
2750 (get_available_features): Habdle new features.
2751
131314e1
JB
27522015-09-21 James Bowman <james.bowman@ftdichip.com>
2753
2754 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
2755 memory layout. Deal correctly with BSS region larger than 32K.
2756 Handle a watchdog reset like a power-on reset. Clean up unused
2757 code.
2758
04218b35
AD
27592015-09-18 Andrew Dixie <andrewd@gentrack.com>
2760 David Edelsohn <dje.gcc@gmail.com>
2761
2762 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
2763 * config/rs6000/crtdbase.S: New file.
2764 * config/rs6000/t-aix-cxa: Build crtdbase.o.
2765
c8338173
MF
27662015-09-15 Max Filippov <jcmvbkbc@gmail.com>
2767
2768 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
2769 Add support for call0 ABI.
2770
7a84bf71
JDA
27712015-09-13 John David Anglin <danglin@gcc.gnu.org>
2772
2773 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
2774
4efab402
SH
27752015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
2776
2777 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
2778 (__GTHREAD_HAS_COND): Likewise.
2779 (__gthread_t): Likewise.
2780 (__gthread_cond_t): Likewise.
2781 (__gthread_time_t): Likewise.
2782 (__GTHREAD_MUTEX_INIT): Likewise.
2783 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
2784 (__GTHREAD_COND_INIT): Likewise.
2785 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
2786 (__GTHREAD_TIME_INIT): Likewise.
2787 (__gthread_create): Likewise.
2788 (__gthread_join): Likewise.
2789 (__gthread_detach): Likewise.
2790 (__gthread_equal): Likewise.
2791 (__gthread_self): Likewise.
2792 (__gthread_yield): Likewise.
2793 (__gthread_cond_broadcast): Likewise.
2794 (__gthread_cond_signal): Likewise.
2795 (__gthread_cond_wait): Likewise.
2796 (__gthread_cond_timedwait): Likewise.
2797 (__gthread_cond_wait_recursive): Likewise.
2798 (__gthread_cond_destroy): Likewise.
2799 (rtems_gxx_once): Delete.
2800 (rtems_gxx_key_create): Likewise.
2801 (rtems_gxx_key_delete): Likewise.
2802 (rtems_gxx_getspecific): Likewise.
2803 (rtems_gxx_setspecific): Likewise.
2804 (rtems_gxx_mutex_init): Likewise.
2805 (rtems_gxx_mutex_destroy): Likewise.
2806 (rtems_gxx_mutex_lock): Likewise.
2807 (rtems_gxx_mutex_trylock): Likewise.
2808 (rtems_gxx_mutex_unlock): Likewise.
2809 (rtems_gxx_recursive_mutex_init): Likewise.
2810 (rtems_gxx_recursive_mutex_lock): Likewise.
2811 (rtems_gxx_recursive_mutex_trylock): Likewise.
2812 (rtems_gxx_recursive_mutex_unlock): Likewise.
2813 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
2814 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
2815 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
2816 (__gthread_once): Likewise.
2817 (__gthread_key_create): Likewise.
2818 (__gthread_key_delete): Likewise.
2819 (__gthread_getspecific): Likewise.
2820 (__gthread_setspecific): Likewise.
2821 (__gthread_key_t): Use <pthread.h> type.
2822 (__gthread_once_t): Likewise
2823 (__gthread_mutex_t): Use <sys/lock.h> type.
2824 (__gthread_recursive_mutex_t): Likewise
2825 (__gthread_mutex_lock): Use <sys/lock.h> function.
2826 (__gthread_mutex_trylock): Likewise.
2827 (__gthread_mutex_timedlock): Likewise.
2828 (__gthread_mutex_unlock): Likewise.
2829 (__gthread_mutex_destroy): Likewise.
2830 (__gthread_recursive_mutex_lock): Likewise.
2831 (__gthread_recursive_mutex_trylock): Likewise.
2832 (__gthread_recursive_mutex_timedlock): Likewise.
2833 (__gthread_recursive_mutex_unlock): Likewise.
2834 (__gthread_recursive_mutex_destroy): Likewise.
2835
991995c4
MF
28362015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2837
2838 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
2839 context->sp instead of context->cfa.
2840
0e19db59
MF
28412015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2842
2843 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
2844 with unwind-dw2-fde-dip.
2845
b6ac5f62
MF
28462015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2847
2848 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
2849 CALL12 followed by series of ENTRY to spill windowed registers.
2850 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
2851 instead of making linux spill syscall.
2852
3e0f3349
YR
28532015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
2854
2855 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
2856 (get_intel_cpu): Likewise.
2857
51c728b1
L
28582015-08-12 H.J. Lu <hongjiu.lu@intel.com>
2859
2860 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
2861 (get_intel_cpu): Add Knights Landing support.
2862
aff4eeac
UB
28632015-08-11 Uros Bizjak <ubizjak@gmail.com>
2864
2865 PR target/66954
2866 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
2867 (get_available_features): Handle FEATURE_PCLMUL.
2868
736e56da
L
28692015-08-10 H.J. Lu <hongjiu.lu@intel.com>
2870
2871 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
2872 Broadwell.
2873
54d22142
UB
28742015-07-22 Uros Bizjak <ubizjak@gmail.com>
2875
2876 PR target/66954
2877 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
2878 (get_available_features): Handle FEATURE_AES.
2879
20ca17e4
CLT
28802015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
2881
2882 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
2883 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
2884
ebe4a560
NS
28852015-07-17 Nathan Sidwell <nathan@codesourcery.com>
2886
2887 * offloadstuff.c: Constify host data.
2888
180744c0
JB
28892015-07-17 Jan Beulich <jbeulich@suse.com>
2890
2891 * config/t-softfp: Split up "else ifneq".
2892
a03c6ae3
SL
28932015-07-14 Sandra Loosemore <sandra@codesourcery.com>
2894 Cesar Philippidis <cesar@codesourcery.com>
2895 Chung-Lin Tang <cltang@codesourcery.com>
2896
2897 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
2898 for __nios2_arch__ level.
2899
73358db5
JM
29002015-07-13 John Marino <gnugcc@marino.st>
2901
2902 * config/i386/t-dragonfly: New.
2903
f9a12f7b
JDA
29042015-07-01 John David Anglin <danglin@gcc.gnu.org>
2905
2906 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
2907 better match light-weight syscall argument order.
2908 (__kernel_cmpxchg2): Likewise.
2909 Adjust callers.
2910
cb78b51c
L
29112015-06-30 H.J. Lu <hongjiu.lu@intel.com>
2912
2913 * config.host: Support i[34567]86-*-elfiamcu target.
2914 * config/t-softfp-sfdftf: New file.
2915 * config/i386/32/t-iamcu: Likewise.
2916 * configure: Regenerated.
2917
4fa0f9ea
JL
29182015-06-23 James Lemke <jwlemke@codesourcery.com>
2919
2920 libgcc/config/arm/
2921 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
2922
428b3812
L
29232015-05-27 H.J. Lu <hongjiu.lu@intel.com>
2924
2925 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
2926
7d296953 29272015-05-27 John Marino <gnugcc@marino.st>
89c54dd3
JM
2928
2929 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
2930 md_unwind_header
2931 * config/i386/freebsd-unwind.h: New.
2932
9b789cc1
UB
29332015-05-22 Uros Bizjak <ubizjak@gmail.com>
2934
2935 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
2936 i386/t-crtfm to tmake_file.
2937 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
2938 (set_fast_math): Use set_fast_math_sse for SSE targets.
2939 * config/i386/t-crtfm: Remove.
2940
3dafb220
AM
29412015-05-21 Alan Modra <amodra@gmail.com>
2942
2943 PR libgcc/66225
2944 * config/rs6000/morestack.S: Remove ".abiversion 1".
2945
0f0fd745
AM
29462015-05-20 Alan Modra <amodra@gmail.com>
2947
2948 * config/rs6000/morestack.S: New.
2949 * config/rs6000/t-stack-rs6000: New.
2950 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
2951 to tmake_file.
2952 * generic-morestack.c: Don't build for powerpc 32-bit.
2953
515ae71b
EB
29542015-05-19 Eric Botcazou <ebotcazou@adacore.com>
2955
2956 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
2957 Remove useless endif/ifneq ($(enable_shared),yes) pair.
2958
36805406
JL
29592015-05-16 James Bowman <james.bowman@ftdichip.com>
2960
2961 * config.host: FT32 target added.
2962 * config/ft32/*: New files for FT32 target.
2963
ff935d0c
MG
29642015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
2965
385c7747
UB
2966 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
2967 New macros.
2968 * config/arm/ieee754-df.S: Add CFI directives.
2969 * config/arm/ieee754-sf.S: Add CFI directives.
ff935d0c 2970
9b92a9f3
EB
29712015-05-13 Eric Botcazou <ebotcazou@adacore.com>
2972
2973 * configure.ac: Include config/sjlj.m4.
2974 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
2975 * config.in: Regenerate.
2976 * configure: Likewise.
2977 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
2978
98b5dc61
UB
29792015-05-12 Uros Bizjak <ubizjak@gmail.com>
2980
2981 * libgcov-util.c: Add space between string literal and macro name.
2982
5a0ff57c
SL
29832015-05-06 Sandra Loosemore <sandra@codesourcery.com>
2984 Chris Jones <chrisj@nvidia.com>
2985 Joshua Conner <jconner@nvidia.com>
2986
2987 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
2988 (arm*-*-uclinux*): Likewise.
2989 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
2990 * config/arm/crtfastmath.c: New file.
2991
d28ad5d4
BS
29922014-04-29 Bernd Schmidt <bernds@codesourcery.com>
2993
2994 * Makefile.in (real_host_noncanonical): New variable.
2995 (libsubdir): Use it.
2996 * configure.ac (real_host_noncanonical): Compute. Remove special
2997 case for intelmicemul.
2998 * configure: Regenerate.
2999
cc86234f
UB
30002015-04-28 Uros Bizjak <ubizjak@gmail.com>
3001
3002 * config/frv/elf-lib.h: New file.
3003 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
3004 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
3005 to tm_file.
3006
30072015-04-28 Uros Bizjak <ubizjak@gmail.com>
3008
3009 * config/frv/frvbengin.c: Do not include defaults.h
3010 * config/frv/frvend.c: Ditto.
3011
2f6bd6eb
YS
30122015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
3013
3014 * config.host: Add h8300-*-linux
3015 * config/h8300/t-linux: New file.
3016 * config/h8300/lib1funs.s: Change symbol prefix.
3017 * config/h8300/sfp-machine.h: 64bit double support.
3018
15aa7b44
GR
30192015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
3020 Szabolcs Nagy <szabolcs.nagy@arm.com>
3021
3022 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
3023 Linux if target provides dl_iterate_phdr.
3024
abd0cdc9
L
30252015-04-17 H.J. Lu <hongjiu.lu@intel.com>
3026
3027 PR target/65612
3028 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
3029 * config/i386/cpuinfo.c (__cpu_model): Initialize.
3030 (__cpu_indicator_init@GCC_4.8.0): New.
3031 (__cpu_model@GCC_4.8.0): Likewise.
3032 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
3033 -DUSE_ELF_SYMVER.
3034
72ed1126
NC
30352015-04-16 Nick Clifton <nickc@redhat.com>
3036
3037 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
3038 and __modhi3 functions.
3039 * config/rl78/divmodso.S: Add G14 and G13 versions of the
3040 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
3041
d26b2237
CG
30422015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
3043
3044 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
3045 do-while loop as macro body to avoid warnings.
3046
cacf1f59
JJ
30472015-04-10 Jakub Jelinek <jakub@redhat.com>
3048 Iain Sandoe <iain@codesourcery.com>
3049
3050 PR target/65351
3051 * configure: Regenerate.
3052
e8a4ed3b
JJ
30532015-04-07 Jakub Jelinek <jakub@redhat.com>
3054 Iain Sandoe <iain@codesourcery.com>
3055
3056 PR target/65351
3057 * configure: Regenerate.
3058
0341335e
CLT
30592015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
3060
3061 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
3062
590e2636 30632015-03-03 Max Filippov <jcmvbkbc@gmail.com>
0341335e 3064
590e2636
MF
3065 Implement call0 ABI for xtensa
3066 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
3067 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
3068 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
3069 use ret in call0 ABI.
3070 * config/xtensa/t-windowed: New file.
3071 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
3072 * libgcc/configure: Regenerated.
3073 * libgcc/configure.ac: Check if xtensa target is configured for
3074 windowed ABI and thus needs to use custom unwind code.
3075
7727f8f2
JW
30762015-02-12 Jonathan Wakely <jwakely@redhat.com>
3077
3078 PR libgcc/64885
3079 * gthr-single.h: Use __unused__ attribute instead of unused.
3080 * config/gthr-vxworks.h: Likewise.
3081 * config/i386/gthr-win32.h: Likewise.
3082
0e4a0def
KT
30832015-02-27 Kai Tietz <ktietz@redhat.com>
3084
3085 PR target/65038
3086 * config.in: Regenerated.
3087 * configure: Likewise.
3088 * configure.ac (AC_HEADER_STDC): Added explicit.
3089 (AC_CHECK_HEADERS): Check for default headers plus
3090 for ftw.h header.
3091 * libgcov-util.c (gcov_read_profile_dir): Disable use
3092 of ftw-function, if header is not found.
3093 (ftw_read_file): Likewise.
3094
b6530d0a
TS
30952015-02-23 Thomas Schwinge <thomas@codesourcery.com>
3096
3097 PR target/65181
3098 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
3099 -Dinhibit_libc.
3100
53cfb467
SL
31012015-02-17 Sandra Loosemore <sandra@codesourcery.com>
3102
3103 * config/arm/bpabi.S (test_div_by_zero): Make label names
3104 consistent between thumb2 and arm mode cases. Separate the
3105 signed comparison on the high word of the numerator from the
3106 unsigned comparison on the low word.
3107 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
3108 signed comparison.
3109
77d10a1b
JM
31102015-02-17 Joseph Myers <joseph@codesourcery.com>
3111
3112 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
3113 and <string.h>.
3114 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
3115
98174188
RE
31162015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
3117
3118 PR gcov-profile/61889
471274de 3119 * libgcov-driver-system.c: undefine clashing macro for mkdir.
98174188 3120
771bef14
NC
31212015-02-02 Nick Clifton <nickc@redhat.com>
3122
3123 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
3124 rounding up the fraction.
3125
40702893
JDA
31262015-01-31 John David Anglin <danglin@gcc.gnu.org>
3127
3128 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
3129 oldval and newval to const void *. Fix typo.
3130 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
3131 (FETCH_AND_OP_WORD): Likewise.
3132 (OP_AND_FETCH_WORD): Likewise.
3133 (COMPARE_AND_SWAP_2): Likewise.
3134 (__sync_val_compare_and_swap_4): Likewise.
3135 (__sync_lock_test_and_set_4): Likewise.
3136 (SYNC_LOCK_RELEASE_2): Likewise.
3137 Remove support for long long atomic operations.
3138
f7f049fa
CT
31392015-01-27 Caroline Tice <cmtice@google.com>
3140
3141 Committing VTV Cywin/Ming patch for Patrick Wollgast
3142 * Makefile.in: Move rules to build vtv_*.o out of the check
3143 for CUSTOM_CRTSTUFF.
3144 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
3145 i[34567]86-*-mingw*)
3146 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
3147 enable_vtable_verify.
3148
8410904a
NC
31492015-01-27 Nick Clifton <nickc@redhat.com>
3150
3151 * config/rl78/cmpsi2.S: Use function start and end macros.
3152 (__gcc_bcmp): New function.
3153 * config/rl78/lshrsi3.S: Use function start and end macros.
3154 * config/rl78/mulsi3.S: Add support for G10.
3155 (__mulqi3): New function for G10.
3156 * config/rl78/signbit.S: Use function start and end macros.
3157 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
3158 fpmath-sf.S.
3159 (LIB2FUNCS_EXCLUDE): Define.
3160 (LIB2FUNCS_ST): Define.
3161 * config/rl78/trampoline.S: Use function start and end macros.
3162 * config/rl78/vregs.h (START_FUNC): New macro.
3163 (START_ANOTHER_FUNC): New macro.
3164 (END_FUNC): New macro.
3165 (END_ANOTHER_FUNC): New macro.
3166 * config/rl78/bit-count.S: New file. Contains assembler
3167 implementations of the bit counting functions: ___clzhi2,
3168 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
3169 __paritysi2, __popcounthi2 and __popcountsi2.
3170 * config/rl78/fpbit-sf.S: New file. Contains assembler
3171 implementationas of the math functions: __negsf2, __cmpsf2,
3172 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
3173 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
3174 * config/rl78/fpmath-sf.S: New file. Contains assembler
3175 implementations of the math functions: __subsf3, __addsf3,
3176 __mulsf3 and __divsf3
3177
f962fbf1
RO
31782015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3179
3180 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
3181 Add i386/elf-lib.h to tm_file.
3182 * config/i386/elf-lib.h: Fix comment.
3183 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
3184 && __sun__ && __svr4__]: Remove workaround.
3185
939911c5
ASJ
31862015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
3187
3188 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
3189 FEATURE_BMI2.
3190 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
3191
c8f2dff2
L
31922015-01-24 H.J. Lu <hongjiu.lu@intel.com>
3193
3194 * config/i386/cpuinfo.c (processor_subtypes): Add
3195 INTEL_COREI7_BROADWELL.
3196 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
3197 model numbers.
3198
7bbf9734
UB
31992015-01-23 Uros Bizjak <ubizjak@gmail.com>
3200
3201 * config/i386/elf-lib.h: New file.
3202 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
3203 Wrap definition in #ifdef __i386__.
3204 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
3205 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
3206 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
3207 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
3208 to tm_file.
3209
324820f1
CG
32102015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
3211
3212 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
3213 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
3214
a9ce4e4a
CLT
32152015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
3216
3217 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
3218 Update rt_sigframe format and address for current Nios II
3219 Linux conventions.
3220
82a19768
AT
32212015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
3222
3223 * config.host (arm*-*-freebsd*): Add new configuration for
3224 arm*-*-freebsd*.
3225 * config/arm/freebsd-atomic.c: New file.
3226 * config/arm/t-freebsd: Likewise.
3227 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
3228 'PC-relative indirect' OS's.
3229
0969ec7d
EB
32302015-01-06 Eric Botcazou <ebotcazou@adacore.com>
3231
3232 * config.host: Add Visium support.
3233 * config/visium: New directory.
3234
5624e564
JJ
32352015-01-05 Jakub Jelinek <jakub@redhat.com>
3236
3237 Update copyright years.
3238
82f84ecb
MF
32392014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
3240
3241 * config.host: Support mipsisa32r6 and mipsisa64r6.
3242 * config/mips/mips16.S: Do not build for R6.
3243
69044fa9
OE
32442014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
3245
3246 * config/sh/crt.h: New.
3247 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
3248 symbols.
3249 * config/sh/crt1.S: Likewise.
3250
2405e0ea
UB
32512014-12-15 Uros Bizjak <ubizjak@gmail.com>
3252
3253 PR libgcc/63832
3254 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
3255 func_ptr *dtor_list temporary variable to avoid "array subscript
3256 is above array bounds" warnings.
3257
7d296953 32582014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
dd913323
MH
3259
3260 * Makefile.in (with_aix_soname): Define.
3261 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
3262 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
3263 * configure: Recreate.
3264
a66272f6
OH
32652014-12-05 Olivier Hainque <hainque@adacore.com>
3266
3267 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
3268 now provided by defaults.h.
3269
6342b2c5
OE
32702014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
3271
7d0ee249 3272 PR target/55351
6342b2c5
OE
3273 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
3274 whether it's defined.
3275
c17eac85
IT
32762014-11-27 Ilya Tocar <ilya.tocar@intel.com>
3277
3278 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
3279 * config/i386/cpuinfo.c (get_available_features): Detect it.
3280
1025cb6c
TW
32812014-11-27 Tony Wang <tony.wang@arm.com>
3282
3283 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
3284 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
3285 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
3286
d19f2e38
SB
32872014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
3288
3289 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
3290
17f6e9a3
JDA
32912014-11-24 John David Anglin <danglin@gcc.gnu.org>
3292
3293 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
3294 instead.
3295
0cd7c672
GM
32962014-11-21 Guy Martin <gmsoft@tuxicoman.be>
3297 John David Anglin <danglin@gcc.gnu.org>
3298
3299 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
3300 (FETCH_AND_OP_2): New. Use for subword and double word operations.
3301 (OP_AND_FETCH_2): Likewise.
3302 (COMPARE_AND_SWAP_2): Likewise.
3303 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3304 (SYNC_LOCK_RELEASE_2): Likewise.
3305 (SUBWORD_SYNC_OP): Remove.
3306 (SUBWORD_VAL_CAS): Likewise.
3307 (SUBWORD_BOOL_CAS): Likewise.
3308 (FETCH_AND_OP_WORD): Update.
3309 Consistently use signed types.
cc86234f 3310
85c64bbe
BS
33112014-11-13 Bernd Schmidt <bernds@codesourcery.com>
3312 Thomas Schwinge <thomas@codesourcery.com>
3313 Ilya Verbin <ilya.verbin@intel.com>
3314 Andrey Turetskiy <andrey.turetskiy@intel.com>
3315
3316 * Makefile.in (crtoffloadbegin$(objext)): New rule.
3317 (crtoffloadend$(objext)): Likewise.
3318 * configure: Regenerate.
3319 * configure.ac (accel_dir_suffix): Compute new variable.
3320 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
3321 if enable_offload_targets is not empty.
3322 * offloadstuff.c: New file.
3323
52a1ff8b
NC
33242014-11-13 Nick Clifton <nickc@redhat.com>
3325
3326 * config/rl78/divmodhi.S: Add support for the G10 architecture.
3327 Use START_FUNC and END_FUNC macros to enable linker garbage
3328 collection.
3329 * config/rl78/divmodqi.S: Likewise.
3330 * config/rl78/divmodsi.S: Likewise.
3331 * config/rl78/mulsi3.S: Likewise.
3332 * config/rl78/lib2div.c: Remove G10 functions.
3333 * config/rl78/lib2muls.c: Likewise.
3334 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
3335 * config/rl78/vregs.h (START_FUNC): New macro.
3336 (END_FUNC): New macro.
3337
050af144
MF
33382014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
3339
3340 * config/mips/mips16.S: Set .module when supported. Update O32
3341 FP64 calling convention and use for FPXX when possible. Add FPXX
3342 calling convention fallback case.
3343
738f2522
BS
33442014-11-06 Bernd Schmidt <bernds@codesourcery.com>
3345
3346 * config.host: Handle nvptx-*-*.
3347 * shared-object.mk (as-flags-$o): Define.
3348 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
3349 -xassembler-with-cpp.
3350 * static-object.mk: Identical changes.
3351 * config/nvptx/t-nvptx: New file.
3352 * config/nvptx/crt0.s: New file.
3353 * config/nvptx/free.asm: New file.
3354 * config/nvptx/malloc.asm: New file.
3355 * config/nvptx/realloc.c: New file.
3356
e610393c
JM
33572014-10-30 Joseph Myers <joseph@codesourcery.com>
3358
3359 * Makefile.in (libgcc.map.in): New target.
3360 (libgcc.map): Use libgcc.map.in.
3361 * config/t-softfp (softfp_compat): New variable to be set by
3362 users.
3363 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
3364 variables.
3365 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
3366 directory.
3367 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
3368 that use compat symbols and disable all code unless [SHARED].
3369 * config/t-softfp-compat: New file.
3370 * find-symver.awk: New file.
3371 * configure.ac (--with-glibc-version): New configure option.
3372 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
3373 * configure: Regenerate.
3374 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
3375 soft-float and e500.
3376
bc1b3a88
JM
33772014-10-29 Joseph Myers <joseph@codesourcery.com>
3378
3379 * config/t-hardfp (hardfp_exclusions): Document new variable for
3380 user to define.
3381 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
3382 * config/t-softfp (softfp_extras): Document new variable for user
3383 to define.
3384 (softfp_func_list): Add functions from $(softfp_extras).
3385 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
3386 * config.host (powerpc*-*-linux*): For e500v1, use
3387 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
3388 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
3389 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
3390
ef2810c1
JDA
33912014-10-26 John David Anglin <danglin@gcc.gnu.org>
3392
3393 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
3394 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
3395 memory read accesses are ok.
3396
d80c2bea
JM
33972014-10-25 Joseph Myers <joseph@codesourcery.com>
3398
3399 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
3400 * configure: Regenerate.
3401 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
3402 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
3403 of soft-fp for 32-bit classic hard float. Do not use
3404 t-softfp-excl for soft float.
3405
693b297b
JM
34062014-10-22 Joseph Myers <joseph@codesourcery.com>
3407
3408 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
3409 configurations.
3410 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
3411 Remove variables.
3412
18a3415e
GJL
34132014-10-22 Georg-Johann Lay <avr@gjlay.de>
3414
3415 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
3416 introduced with 2014-10-21 trunk r216525.
3417
c1dd9790 34182014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
7d296953
JJ
3419 Vidya Praveen <vidya.praveen@atmel.com>
3420 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
3421 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
3422 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
c1dd9790
JR
3423
3424 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
3425 order.
3426
3427 Updated library functions for AVRTINY arch.
3428 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
3429 Replaced occurrences of r0/r1 with tmp/zero reg macros.
3430 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
3431 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
3432 wsubi/wadi macors.
3433 (__mulsi3_helper): Update stack, preserve callee saved regs and
3434 argument from stack. Restore callee save registers.
3435 (__mulpsi3): Likewise.
3436 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
3437 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
18a3415e 3438 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
c1dd9790
JR
3439 AVRTINY.
3440 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
3441 (__do_copy_data): Added new definition for AVRTINY.
3442 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
3443 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
3444 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
3445 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
3446 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
3447 macors.
18a3415e 3448 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
c1dd9790
JR
3449 AVRTINY.
3450
18a3415e 3451 Fix broken long multiplication on tiny arch.
c1dd9790 3452
5f606431
JM
34532014-10-09 Joseph Myers <joseph@codesourcery.com>
3454
3455 * soft-fp/double.h: Update from glibc.
3456 * soft-fp/eqdf2.c: Likewise.
3457 * soft-fp/eqsf2.c: Likewise.
3458 * soft-fp/eqtf2.c: Likewise.
3459 * soft-fp/extenddftf2.c: Likewise.
3460 * soft-fp/extended.h: Likewise.
3461 * soft-fp/extendsfdf2.c: Likewise.
3462 * soft-fp/extendsftf2.c: Likewise.
3463 * soft-fp/extendxftf2.c: Likewise.
3464 * soft-fp/gedf2.c: Likewise.
3465 * soft-fp/gesf2.c: Likewise.
3466 * soft-fp/getf2.c: Likewise.
3467 * soft-fp/ledf2.c: Likewise.
3468 * soft-fp/lesf2.c: Likewise.
3469 * soft-fp/letf2.c: Likewise.
3470 * soft-fp/op-1.h: Likewise.
3471 * soft-fp/op-2.h: Likewise.
3472 * soft-fp/op-4.h: Likewise.
3473 * soft-fp/op-8.h: Likewise.
3474 * soft-fp/op-common.h: Likewise.
3475 * soft-fp/quad.h: Likewise.
3476 * soft-fp/single.h: Likewise.
3477 * soft-fp/soft-fp.h: Likewise.
3478 * soft-fp/unorddf2.c: Likewise.
3479 * soft-fp/unordsf2.c: Likewise.
3480 * soft-fp/unordtf2.c: Likewise.
3481 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
3482 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
3483 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
3484 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
3485 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
3486 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
3487 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
3488 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
3489 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
3490 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
3491
9b84e7a8
RX
34922014-10-08 Rong Xu <xur@google.com>
3493
3494 * libgcov-util.c (read_gcda_file): Fix format.
3495 (find_match_gcov_info): Ditto.
3496 (calculate_2_entries): New.
3497 (compute_one_gcov): Ditto.
3498 (gcov_info_count_all_cold): Ditto.
3499 (gcov_info_count_all_zero): Ditto.
3500 (extract_file_basename): Ditto.
3501 (get_file_basename): Ditto.
3502 (set_flag): Ditto.
3503 (matched_gcov_info): Ditto.
3504 (calculate_overlap): Ditto.
3505 (gcov_profile_overlap): Ditto.
3506 * libgcov-driver.c (compute_summary): Make
3507 it avavilable for external calls.
3508
fe1090c1
RX
35092014-10-06 Rong Xu <xur@google.com>
3510
3511 * Makefile.in: Ditto.
3512 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
3513 (gcov_sort_icall_topn_counter): Ditto.
3514 (gcov_sort_topn_counter_arrays): Ditto.
3515 (dump_one_gcov): Sort indirect_call topn counters.
3516 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
3517 function.
3518 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
3519 utility function.
3520 (__gcov_indirect_call_topn_profiler): New profiler function.
3521 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
3522 * libgcov.h: New decls.
3523
3daa7bbf
TS
35242014-10-04 Trevor Saunders <tsaunders@mozilla.com>
3525
3526 * config.host: Remove support for score-*.
3527
9a79452d
JM
35282014-09-22 Joseph Myers <joseph@codesourcery.com>
3529
3530 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3531 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
3532 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
3533 __LIBGCC_XF_MANT_DIG__.
3534 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
3535 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
3536 __LIBGCC_TF_MANT_DIG__.
3537 * libgcc2.c (NOTRUNC): Define in terms of
3538 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
3539 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3540
1a849e50
JM
35412014-09-22 Joseph Myers <joseph@codesourcery.com>
3542
3543 PR target/63312
3544 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
3545 New macros.
3546
598a1586
HPN
35472014-09-22 Hans-Peter Nilsson <hp@axis.com>
3548
3549 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
3550 override USE_PT_GNU_EH_FRAME.
3551 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
3552 check USE_EH_FRAME_REGISTRY_ALWAYS against
3553 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
3554 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
3555 variable for substituted force_explicit_eh_registry.
3556 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
3557 * configure.ac (explicit-exception-frame-registration):
3558 New AC_ARG_ENABLE.
3559 * configure: Regenerate.
3560
3a8fe7c6
OH
35612014-09-19 Olivier Hainque <hainque@adacore.com>
3562
3563 * config.host (powerpc-wrs-vxworksmils): New configuration,
3564 same as vxworksae.
3565
dd69f047
JM
35662014-09-18 Joseph Myers <joseph@codesourcery.com>
3567
3568 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
3569
e770bfd9
JM
35702014-09-18 Joseph Myers <joseph@codesourcery.com>
3571
3572 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
3573 bits not set bits as indicating trapping exceptions.
3574
cadb2b96
NS
35752014-09-17 Nathan sidwell <nathan@acm.org>
3576
3577 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
3578 (LIBGCOV_DRIVER): ... here.
3579 * libgcov-driver.c (gcov_master): New.
3580 (gcov_exit): Remove from master chain.
3581 (__gcov_init): Add to master chain if version compatible. Don't
3582 clear the version.
3583 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
3584 (gcov_reset_int): Clear master chain, if compatible.
3585 (gcov_dump_int): New internal interface. Dump master chain, if
3586 compatible.
3587 (gcov_dump): Alias for gcov_dump_int.
3588 * libgcov.h (struct gcov_root): Add next and prev fields.
3589 (struct gcov_master): New struct.
3590 (__gcov_master): New.
3591 (gcov_dump_int): Declare.
3592
580d22a3
OH
35932014-09-17 Olivier Hainque <hainque@adacore.com>
3594
3595 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
3596 and crtbegin.o + crtend.o to extra_parts.
3597
8cc4b7a2
JM
35982014-09-12 Joseph Myers <joseph@codesourcery.com>
3599
3600 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
3601 __LIBGCC_HAS_SF_MODE__.
3602 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3603 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3604 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3605 * config/libbid/bid_gcc_intrinsics.h
3606 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3607 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3608 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3609 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3610 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
3611 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3612
ea3f2b24
GJL
36132014-09-11 Georg-Johann Lay <avr@gjlay.de>
3614
3615 PR target/63223
3616 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
3617 and R24 as needed. Make work for all devices and .text locations.
3618 (__do_global_ctors, __do_global_dtors): Use word addresses.
3619 (__tablejump__, __tablejump_elpm__): Remove functions.
3620 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
3621 Add _tablejump2.
3622 (XICALL, XIJMP): New macros.
3623
b677236a
MS
36242014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
3625 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3626
3627 * config.host (aarch64*): Include crtfastmath.o and
3628 t-crtfm.
3629 * config/aarch64/crtfastmath.c: New file.
3630
157e859f
TS
36312014-09-08 Trevor Saunders <tsaunders@mozilla.com>
3632
3633 * config.host: Remove picochip support.
3634 * config/picochip/adddi3.S: Remove.
3635 * config/picochip/ashlsi3.S: Remove.
3636 * config/picochip/ashlsi3.c: Remove.
3637 * config/picochip/ashrsi3.S: Remove.
3638 * config/picochip/ashrsi3.c: Remove.
3639 * config/picochip/clzsi2.S: Remove.
3640 * config/picochip/cmpsi2.S: Remove.
3641 * config/picochip/divmod15.S: Remove.
3642 * config/picochip/divmodhi4.S: Remove.
3643 * config/picochip/divmodsi4.S: Remove.
3644 * config/picochip/lib1funcs.S: Remove.
3645 * config/picochip/longjmp.S: Remove.
3646 * config/picochip/lshrsi3.S: Remove.
3647 * config/picochip/lshrsi3.c: Remove.
3648 * config/picochip/parityhi2.S: Remove.
3649 * config/picochip/popcounthi2.S: Remove.
3650 * config/picochip/setjmp.S: Remove.
3651 * config/picochip/subdi3.S: Remove.
3652 * config/picochip/t-picochip: Remove.
3653 * config/picochip/ucmpsi2.S: Remove.
3654 * config/picochip/udivmodhi4.S: Remove.
3655 * config/picochip/udivmodsi4.S: Remove.
3656
66bb34c0
JM
36572014-09-08 Joseph Myers <joseph@codesourcery.com>
3658
3659 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
3660 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
3661 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
3662 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
3663 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
3664 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
3665 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
3666 defined and LIBGCC2_HAS_DF_MODE is defined.
3667 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
3668 defined and LIBGCC2_HAS_XF_MODE is defined.
3669 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
3670 defined and LIBGCC2_HAS_TF_MODE is defined.
3671
9686a2e6
JM
36722014-09-08 Joseph Myers <joseph@codesourcery.com>
3673
3674 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
3675 and ROUND_TOWARDS_ZERO conditionals.
3676
71c3e2ef
NS
36772014-09-07 Nathan sidwell <nathan@acm.org>
3678
3679 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
3680 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
3681
53d68b9f
JM
36822014-09-05 Joseph Myers <joseph@codesourcery.com>
3683
3684 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
3685 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3686 uses to __LIBGCC_STACK_POINTER_REGNUM__.
3687 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3688 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3689 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3690 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3691 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
3692 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
3693 (DWARF_FRAME_REGISTERS): Change all uses to
3694 __LIBGCC_DWARF_FRAME_REGISTERS__.
3695 (EH_RETURN_STACKADJ_RTX): Change all uses to
3696 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3697 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
3698 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
3699 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
3700 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
3701 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
3702 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
3703 to __LIBGCC_EH_FRAME_SECTION_NAME__.
3704 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
3705 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
3706 __LIBGCC_STACK_POINTER_REGNUM__.
3707 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3708 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3709 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3710 to __LIBGCC_STACK_POINTER_REGNUM__.
3711 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3712 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3713 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3714 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3715 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3716 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3717 (STACK_POINTER_REGNUM): Change all uses to
3718 __LIBGCC_STACK_POINTER_REGNUM__.
3719 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
3720 use to __LIBGCC_STACK_POINTER_REGNUM__.
3721 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3722 uses to __LIBGCC_STACK_POINTER_REGNUM__.
3723 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
3724 to __LIBGCC_DWARF_FRAME_REGISTERS__.
3725 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
3726 to __LIBGCC_DWARF_FRAME_REGISTERS__.
3727 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3728 to __LIBGCC_STACK_POINTER_REGNUM__.
3729 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
3730 Remove conditional definition.
3731 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
3732 __LIBGCC_TEXT_SECTION_ASM_OP__.
3733 (EH_FRAME_SECTION_NAME): Change all uses to
3734 __LIBGCC_EH_FRAME_SECTION_NAME__.
3735 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
3736 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
3737 (CTORS_SECTION_ASM_OP): Change all uses to
3738 __LIBGCC_CTORS_SECTION_ASM_OP__.
3739 (DTORS_SECTION_ASM_OP): Change all uses to
3740 __LIBGCC_DTORS_SECTION_ASM_OP__.
3741 (JCR_SECTION_NAME): Change all uses to
3742 __LIBGCC_JCR_SECTION_NAME__.
3743 (INIT_SECTION_ASM_OP): Change all uses to
3744 __LIBGCC_INIT_SECTION_ASM_OP__.
3745 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3746 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3747 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
3748 __LIBGCC_STACK_GROWS_DOWNWARD__.
3749 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
3750 __LIBGCC_INIT_SECTION_ASM_OP__.
3751 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3752 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3753 (EH_FRAME_SECTION_NAME): Change all uses to
3754 __LIBGCC_EH_FRAME_SECTION_NAME__.
3755 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
3756 definitions. Change all uses to
3757 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
3758 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
3759 __LIBGCC_STACK_GROWS_DOWNWARD__.
3760 (DWARF_FRAME_REGISTERS): Change all uses to
3761 __LIBGCC_DWARF_FRAME_REGISTERS__.
3762 (EH_RETURN_STACKADJ_RTX): Change all uses to
3763 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3764 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
3765 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
3766 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
3767 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
3768 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
3769
b20ee094
NS
37702014-09-02 Nathan sidwell <nathan@acm.org>
3771
3772 * libgcov-interface.c (STRONG_ALIAS): New.
3773 (__gcov_flush): Call __gcov_reset_int.
3774 (__gcov_reset): Strong alias for ...
3775 (__gcov_reset_ing): ... this renamed hidden version.
3776 * libgcov.h (__gcov_reset_int): New declaration.
3777
1ac83976
YS
37782014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
3779
25efdb9f
YS
3780 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
3781 call from here...
3782 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
3783 (__dso_handle): Define on Cygwin.
3784 * config/i386/t-cygming (crtbeginS.o): New rule.
3785 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
3786
1ac83976
YS
3787 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
3788 declaration syntax.
3789
c6f9ea3b
SE
37902014-08-13 Steve Ellcey <sellcey@mips.com>
3791
3792 * crtstuff.c: Undef caddr_t.
3793
5b1ea7c5
SE
37942014-08-12 Steve Ellcey <sellcey@mips.com>
3795
3796 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
3797
4303c581
NS
37982014-08-07 Nathan Sidwell <nathan@acm.org>
3799
3800 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
3801 (LIBGCOV_DRIVER): ... to here.
3802 * libgcov.h (gcov_do_dump): New #define.
3803 (struct gcov_root): New.
3804 (__gcov_root): New declaration.
3805 (__gcov_dump_one): Declare.
3806 * libgcov-driver.c (gcov_list, gcov_dump_complete,
3807 run_accounted): Delete.
3808 (gcov_compute_histogram): Add LIST argument, adjust.
3809 (compute_summary): Adjust gcov_compute_histogram call.
3810 (gcov_do_dump): Not hidden, static in libgcov.
3811 (gcov_clear): Move to interface.c.
3812 (__gcov_dump_one): New, broken out of ...
3813 (gcov_exit): ... here. Make static.
3814 (__gcov_root): New.
3815 (__gcov_init): Adjust.
3816 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
3817 declarations.
3818 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
3819 (gcov_clear): Moved from driver.c. Add LIST argument.
3820 (__gcov_reset): Adjust for changed interfaces.
3821 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
3822
23742a9e
RAR
38232014-08-04 Rohit <rohitarulraj@freescale.com>
3824
3825 PR target/60102
3826 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
d406ae47 3827 based on change in SPE high register numbers and 3 HTM registers.
23742a9e 3828
b98a872b
NS
38292014-08-01 Nathan Sidwell <nathan@acm.org>
3830
3831 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
3832 LIBGCOV_INTERFACE): Reformat.
3833 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
3834 IN_GCOV_TOOL.
3835 * libgcov-interface.c: Reformat some comments.
3836 (__gcov_flush_mx): Add declaration. Tidy up definition.
3837
6adaaa1d
AM
38382014-07-31 Alan Modra <amodra@gmail.com>
3839 Peter Bergner <bergner@vnet.ibm.com>
3840
3841 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
3842 (pack_ldouble): New function.
3843 (__gcc_qadd): Use it.
3844 (__gcc_qmul): Likewise.
3845 (__gcc_qdiv): Likewise.
3846 (__gcc_qneg): Likewise.
3847 (__gcc_stoq): Likewise.
3848 (__gcc_dtoq): Likewise.
3849
87cb0c0c
UW
38502014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
3851
3852 * config/s390/tpf-unwind.h: Include <stdbool.h>.
3853 (__tpf_eh_return): Add original return address as second parameter.
3854 Handle cases where unwinder routines were called directly, instead
3855 of from within the C++ library.
3856
19926161
NS
38572014-07-29 Nathan Sidwell <nathan@acm.org>
3858
3859 * libgcov.h: Move renaming of entry points to lib gcov specific
3860 portion.
3861 (gcov_do_dump): New rename.
3862 (gcov_rewrite): Remove inline, make HIDDEN.
3863 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
3864 (gcov_exit_compute_summary): Rename to ...
3865 (compute_summary): ... here. Add LIST argument.
3866 (gcov_exit_merge_gcda): Rename to ...
3867 (merge_one_data): ... here.
3868 (gcov_exit_write_gcda): Rename to ...
3869 (write_one_data): ... here.
3870 (gcov_exit_merge_summary): Rename to ...
3871 (merge_summary): Add RUN_COUNTED argument.
3872 (gcov_exit_dump_gcov): Rename to ...
3873 (dump_one_gcov): Add RUN_COUNTED argument.
3874 (gcov_do_dump): New function, broken out of ...
3875 (gcov_exit): ... here. Call it.
3876
17522262
AG
38772014-07-27 Anthony Green <green@moxielogic.com>
3878
3879 * config.host: Add moxiebox configuration suppport.
3880
6dc33097
NS
38812014-07-27 Nathan Sidwell <nathan@acm.org>
3882
3883 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
3884 (struct gcov_filename): ... here. Include buffer and max length
3885 fields.
3886 (gcov_max_filename): Remove.
3887 (gi_filename): Remove.
3888 (gcov_exit_compute_summary): Compute max filename here.
3889 (gcov_exit_merge_gcda): Add filename parm, adjust.
3890 (gcov_exit_merge_summary): Likewise.
3891 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
3892 (gcov_exit): Likewise.
3893 (__gcov_init): Don't calculate max length here.
3894 * libgcov_util.c (max_filename_len): Remove.
3895 (read_gcda_file): Don't calculate max length here.
3896 (gcov_read_profile_dir): Don't propagate here.
3897 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
3898 struct gcov_filename changes.
3899 (gcov_exit_open_gcda_file): Likewise.
3900
770f687d
NS
39012014-07-25 Nathan Sidwell <nathan@acm.org>
3902
3903 * libgcov-driver.c (set_gcov_dump_complete,
3904 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
3905 functions polluting user's namespace.
3906 (gcov_exit): Set variable directly.
3907 (gcov_clear): Reset variable directly.
3908 * libgcov-interface.c (get_gcov_dymp_complete,
3909 reset_gov_dump_complete): Remove declarations.
3910 (__gcov_reset, __gcov_dump): Don't call them.
3911
fabf71ba
DD
39122014-07-24 DJ Delorie <dj@redhat.com>
3913
3914 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
770f687d
NS
3915 (__gcc_deregister_frame): Move logic to detect deregister function
3916 to ...
3917 (__gcc_register_frame): here, so it's consistent with the register
3918 logic.
fabf71ba 3919
d10ee722
NS
39202014-07-23 Nathan Sidwell <nathan@acm.org>
3921
3922 * libgcov-driver.c (set_gcov_list): Remove.
3923 (gcov_list): Make non-static in GCOV_TOOL.
3924 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
3925
a4137090
JDA
39262014-07-17 John David Anglin <danglin@gcc.gnu.org>
3927
3928 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
3929 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
3930 Don't use SYNC_LOCK_RELEASE for int type.
3931
72602c6c
RB
39322014-07-14 Richard Biener <rguenther@suse.de>
3933
3934 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
3935
d5313205
RX
39362014-07-11 Rong Xu <xur@google.com>
3937
3938 * libgcov-util.c (gcov_max_filename): Fix declartion.
3939
c77556a5
RX
39402014-07-10 Rong Xu <xur@google.com>
3941
3942 Add gcov-tool: an offline gcda profile processing tool
3943 Support.
3944 * libgcov-driver.c (gcov_max_filename): Make available
3945 to gcov-tool.
3946 * libgcov-merge.c (__gcov_merge_add): Replace
3947 gcov_read_counter() with a Macro.
3948 (__gcov_merge_ior): Ditto.
3949 (__gcov_merge_time_profile): Ditto.
3950 (__gcov_merge_single): Ditto.
3951 (__gcov_merge_delta): Ditto.
3952 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
3953 in the utility functions.
3954 (set_fn_ctrs): Utility function for reading gcda files to in-memory
3955 gcov_list object link lists.
3956 (tag_function): Ditto.
3957 (tag_blocks): Ditto.
3958 (tag_arcs): Ditto.
3959 (tag_lines): Ditto.
3960 (tag_counters): Ditto.
3961 (tag_summary): Ditto.
3962 (read_gcda_finalize): Ditto.
3963 (read_gcda_file): Ditto.
3964 (ftw_read_file): Ditto.
3965 (read_profile_dir_init): Ditto.
3966 (gcov_read_profile_dir): Ditto.
3967 (gcov_read_counter_mem): Ditto.
3968 (gcov_get_merge_weight): Ditto.
3969 (merge_wrapper): A wrapper function that calls merging handler.
3970 (gcov_merge): Merge two gcov_info objects with weights.
3971 (find_match_gcov_info): Find the matched gcov_info in the list.
3972 (gcov_profile_merge): Merge two gcov_info object lists.
3973 (__gcov_add_counter_op): Process edge profile counter values.
3974 (__gcov_ior_counter_op): Process IOR profile counter values.
3975 (__gcov_delta_counter_op): Process delta profile counter values.
3976 (__gcov_single_counter_op): Process single profile counter values.
3977 (fp_scale): Callback function for float-point scaling.
cc86234f 3978 (int_scale): Callback function for integer fraction scaling.
c77556a5
RX
3979 (gcov_profile_scale): Scaling profile counters.
3980 (gcov_profile_normalize): Normalize profile counters.
3981 * libgcov.h: Add headers and functions for gcov-tool use.
3982 (gcov_get_counter): New.
3983 (gcov_get_counter_target): Ditto.
3984 (struct gcov_info): Make the functions field mutable in gcov-tool
3985 compilation.
3986
5c7dac8a
KT
39872014-06-23 Kai Tietz <ktietz@redhat.com>
3988
3989 PR libgcc/61585
3990 * unwind-seh.c (_Unwind_GetGR): Check for proper
3991 index range.
3992 (_Unwind_SetGR): Likewise.
3993
161c9312
NC
39942014-05-22 Nick Clifton <nickc@redhat.com>
3995
3996 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
3997 -mhwmult=none.
3998
e3f0315f
TJ
39992014-05-22 Teresa Johnson <tejohnson@google.com>
4000
4001 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
4002 include.
4003
dbed5a9b
JM
40042014-05-20 John Marino <gnugcc@marino.st>
4005
4006 * config.host (*-*-dragonfly*): New target.
4007 * crtstuff.c: Make dl_iterate_support generic on *bsd.
4008 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
4009 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
4010 * config/i386/dragonfly-unwind.h: New.
4011
1ec380e5
MR
40122014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
4013
4014 PR libgcc/60166
4015 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
4016 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
4017
54fde020
BE
40182014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
4019
4020 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
4021 implementation.
4022
999db125
GJL
40232014-05-12 Georg-Johann Lay <avr@gjlay.de>
4024
4025 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
4026
cceaf54a
RO
40272014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4028
4029 PR libgcc/61097
4030 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
4031 if --enable-shared.
4032
e3fe9b5b
BE
40332014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
4034
4035 Work around for current cygwin32 build problems.
4036 * config/i386/cygming-crtbegin.c (__register_frame_info,
4037 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
4038 functions only for 64-bit systems.
4039
54cf37e9
RO
40402014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4041
4042 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
4043 (sigill_caught, sigill_hdlr): Remove.
4044
d9f069ab
RO
40452014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4046
4047 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
4048 check.
4049 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
4050 Solaris 9 single-threaded support.
4051 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
4052 Solaris 9 single-threaded support. Add call_user_handler code
4053 sequences.
4054 (sparc_is_sighandler): Likewise.
4055
59976ef8
AK
40562014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4057
4058 * config.host: Append t-floattodi to tmake_file depending on
4059 host_address.
4060
d02bbcf3
JS
40612014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
4062
31466bc0 4063 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
d02bbcf3 4064
c2e7e597
UB
40652014-03-10 Uros Bizjak <ubizjak@gmail.com>
4066
4067 PR libgcc/60472
4068 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2405e0ea 4069 variable to avoid "array subscript is above array bounds" warnings.
c2e7e597
UB
4070 Use __builtin_expect when checking *jcr_list for NULL.
4071
227a7dc8
RO
40722014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4073
4074 PR libgcc/59339
4075 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
4076 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
4077 vtv_*.o to extra_parts if enable_vtable_verify.
4078
df2b279c
NC
40792014-03-06 Nick Clifton <nickc@redhat.com>
4080
4081 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
4082 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
4083
dc11d79b
JY
40842014-02-28 Joey Ye <joey.ye@arm.com>
4085
4086 PR libgcc/60166
4087 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
4088 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
4089 Set to zero.
4090
341c653c
WL
40912014-02-24 Walter Lee <walt@tilera.com>
4092
4093 * config.host: Support "tilegx*" and "tilepro*" triplets.
4094 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
4095 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
4096
95ce7613
CLT
40972014-02-20 Sandra Loosemore <sandra@codesourcery.com>
4098 Chung-Lin Tang <cltang@codesourcery.com>
4099
4100 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
4101 * config/nios2/crti.S: Remove .file directive.
4102 * config/nios2/crtn.S: Likewise.
4103
0bb4fc05
KT
41042014-02-18 Kai Tietz <ktietz@redhat.com>
4105 Jonathan Schleifer <js@webkeks.org>
4106
4107 PR objc/56870
4108 * unwind-seh.c (_GCC_specific_handler): Pass proper
4109 value to unwind-handler.
4110
9acf28f1
JM
41112014-02-12 Joseph Myers <joseph@codesourcery.com>
4112
4113 * soft-fp/adddf3.c: Update from glibc.
4114 * soft-fp/addsf3.c: Likewise.
4115 * soft-fp/addtf3.c: Likewise.
4116 * soft-fp/divdf3.c: Likewise.
4117 * soft-fp/divsf3.c: Likewise.
4118 * soft-fp/divtf3.c: Likewise.
4119 * soft-fp/double.h: Likewise.
4120 * soft-fp/eqdf2.c: Likewise.
4121 * soft-fp/eqsf2.c: Likewise.
4122 * soft-fp/eqtf2.c: Likewise.
4123 * soft-fp/extenddftf2.c: Likewise.
4124 * soft-fp/extended.h: Likewise.
4125 * soft-fp/extendsfdf2.c: Likewise.
4126 * soft-fp/extendsftf2.c: Likewise.
4127 * soft-fp/extendxftf2.c: Likewise.
4128 * soft-fp/fixdfdi.c: Likewise.
4129 * soft-fp/fixdfsi.c: Likewise.
4130 * soft-fp/fixdfti.c: Likewise.
4131 * soft-fp/fixsfdi.c: Likewise.
4132 * soft-fp/fixsfsi.c: Likewise.
4133 * soft-fp/fixsfti.c: Likewise.
4134 * soft-fp/fixtfdi.c: Likewise.
4135 * soft-fp/fixtfsi.c: Likewise.
4136 * soft-fp/fixtfti.c: Likewise.
4137 * soft-fp/fixunsdfdi.c: Likewise.
4138 * soft-fp/fixunsdfsi.c: Likewise.
4139 * soft-fp/fixunsdfti.c: Likewise.
4140 * soft-fp/fixunssfdi.c: Likewise.
4141 * soft-fp/fixunssfsi.c: Likewise.
4142 * soft-fp/fixunssfti.c: Likewise.
4143 * soft-fp/fixunstfdi.c: Likewise.
4144 * soft-fp/fixunstfsi.c: Likewise.
4145 * soft-fp/fixunstfti.c: Likewise.
4146 * soft-fp/floatdidf.c: Likewise.
4147 * soft-fp/floatdisf.c: Likewise.
4148 * soft-fp/floatditf.c: Likewise.
4149 * soft-fp/floatsidf.c: Likewise.
4150 * soft-fp/floatsisf.c: Likewise.
4151 * soft-fp/floatsitf.c: Likewise.
4152 * soft-fp/floattidf.c: Likewise.
4153 * soft-fp/floattisf.c: Likewise.
4154 * soft-fp/floattitf.c: Likewise.
4155 * soft-fp/floatundidf.c: Likewise.
4156 * soft-fp/floatundisf.c: Likewise.
4157 * soft-fp/floatunditf.c: Likewise.
4158 * soft-fp/floatunsidf.c: Likewise.
4159 * soft-fp/floatunsisf.c: Likewise.
4160 * soft-fp/floatunsitf.c: Likewise.
4161 * soft-fp/floatuntidf.c: Likewise.
4162 * soft-fp/floatuntisf.c: Likewise.
4163 * soft-fp/floatuntitf.c: Likewise.
4164 * soft-fp/gedf2.c: Likewise.
4165 * soft-fp/gesf2.c: Likewise.
4166 * soft-fp/getf2.c: Likewise.
4167 * soft-fp/ledf2.c: Likewise.
4168 * soft-fp/lesf2.c: Likewise.
4169 * soft-fp/letf2.c: Likewise.
4170 * soft-fp/muldf3.c: Likewise.
4171 * soft-fp/mulsf3.c: Likewise.
4172 * soft-fp/multf3.c: Likewise.
4173 * soft-fp/negdf2.c: Likewise.
4174 * soft-fp/negsf2.c: Likewise.
4175 * soft-fp/negtf2.c: Likewise.
4176 * soft-fp/op-1.h: Likewise.
4177 * soft-fp/op-2.h: Likewise.
4178 * soft-fp/op-4.h: Likewise.
4179 * soft-fp/op-8.h: Likewise.
4180 * soft-fp/op-common.h: Likewise.
4181 * soft-fp/quad.h: Likewise.
4182 * soft-fp/single.h: Likewise.
4183 * soft-fp/soft-fp.h: Likewise.
4184 * soft-fp/subdf3.c: Likewise.
4185 * soft-fp/subsf3.c: Likewise.
4186 * soft-fp/subtf3.c: Likewise.
4187 * soft-fp/truncdfsf2.c: Likewise.
4188 * soft-fp/trunctfdf2.c: Likewise.
4189 * soft-fp/trunctfsf2.c: Likewise.
4190 * soft-fp/trunctfxf2.c: Likewise.
4191 * soft-fp/unorddf2.c: Likewise.
4192 * soft-fp/unordsf2.c: Likewise.
4193 * soft-fp/unordtf2.c: Likewise.
4194 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
4195 macro.
4196 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4197 Likewise.
4198 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4199 Likewise.
4200 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4201 Likewise.
4202 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4203 Likewise.
4204 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4205 Likewise.
4206 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4207 Likewise.
4208 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4209 Likewise.
4210 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4211 Likewise.
4212 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4213 Likewise.
4214 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4215 Likewise.
4216 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4217 Likewise.
4218 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4219 Likewise.
4220 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
4221 Likewise.
4222 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
4223 Likewise.
4224 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4225 Likewise.
4226
ce245ec6
AK
42272014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4228
4229 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
4230 cannot be represented.
4231 * config/s390/32/_fixsfdi.c: Likewise.
4232 * config/s390/32/_fixtfdi.c: Likewise.
4233 * config/s390/32/_fixunsdfdi.c: Likewise.
4234 * config/s390/32/_fixunssfdi.c: Likewise.
4235 * config/s390/32/_fixunstfdi.c: Likewise.
4236
1c51d688
RS
42372014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
4238
4239 * configure.ac (libgcc_cv_mips_hard_float): New.
4240 * configure: Regenerate.
4241 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
4242 t-softfp-sfdf for hard-float targets.
4243 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
4244 (softfp_float_modes, softfp_int_modes, softfp_extensions)
4245 (softfp_truncations, softfp_exclude_libgcc2): New.
4246 * config/t-hardfp: New file.
4247 * config/t-hardfp-sfdf: Likewise.
4248 * config/hardfp.c: Likewise.
4249
bbf391db
AK
42502014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4251
4252 * config.host: Include t-floattodi also for s390x.
4253 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
4254 * config/s390/32/_fixsfdi.c: Likewise.
4255 * config/s390/32/_fixtfdi.c: Likewise.
4256 * config/s390/32/_fixunsdfdi.c: Likewise.
4257 * config/s390/32/_fixunssfdi.c: Likewise.
4258 * config/s390/32/_fixunstfdi.c: Likewise.
4259
91da0481
RO
42602014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4261
4262 PR target/59788
4263 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
4264 (install-libgcc-unwind-map-forbuild): New target.
4265 (all): Depend on install-libgcc-unwind-map-forbuild.
4266 (install-libgcc-unwind-map): New target.
4267 (install): Depend on install-libgcc-unwind-map.
4268
02b67731
SL
42692014-02-02 Sandra Loosemore <sandra@codesourcery.com>
4270
4271 * config/nios2/crti.S (_init): Initialize GOT pointer from
4272 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
4273
1ea0a651
RS
42742014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
4275
4276 * configure.ac: Check __mips64 when setting host_address.
4277 * configure: Regenerate.
4278 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
4279 mips/t-mips64 and t-softfp.
4280 (mips*-*-linux*): Don't add mips/t-tpbit.
4281 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
4282 (DPBIT, DPBIT_CFLAGS): Delete.
4283 * config/mips/sfp-machine.h: New file.
4284 * config/mips/t-mips64: Likewise.
4285 * config/mips/t-softfp-tf: Likewise.
4286 * config/mips/t-tpbit: Delete.
4287
f32b0061
MS
42882014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
4289
4290 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
4291 as long long.
4292
a5420aa4
WL
42932014-01-25 Walter Lee <walt@tilera.com>
4294
4295 * config/tilepro/atomic.c: Include tconfig.h. Don't include
4296 config.h or system.h.
4297 (bool) Define.
4298
24534912
WL
42992014-01-25 Walter Lee <walt@tilera.com>
4300
4301 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
4302 (post_atomic_barrier): Ditto.
4303 (__fetch_and_do): New macro.
4304 (__atomic_fetch_and_do): Use __fetch_and_do.
4305 (__sync_fetch_and_do): New macro.
4306 (__sync_fetch_and_add_4): New function.
4307 (__sync_fetch_and_sub_4): New function.
4308 (__sync_fetch_and_or_4): New function.
4309 (__sync_fetch_and_and_4): New function.
4310 (__sync_fetch_and_xor_4): New function.
4311 (__sync_fetch_and_nand_4): New function.
4312 (__sync_fetch_and_add_8): New function.
4313 (__sync_fetch_and_sub_8): New function.
4314 (__sync_fetch_and_or_8): New function.
4315 (__sync_fetch_and_and_8): New function.
4316 (__sync_fetch_and_xor_8): New function.
4317 (__sync_fetch_and_nand_8): New function.
4318 (__do_and_fetch): New macro.
4319 (__atomic_do_and_fetch): Use __do_and_fetch.
4320 (__sync_do_and_fetch): New macro.
4321 (__sync_add_and_fetch_4): New function.
4322 (__sync_sub_and_fetch_4): New function.
4323 (__sync_or_and_fetch_4): New function.
4324 (__sync_and_and_fetch_4): New function.
4325 (__sync_xor_and_fetch_4): New function.
4326 (__sync_nand_and_fetch_4): New function.
4327 (__sync_add_and_fetch_8): New function.
4328 (__sync_sub_and_fetch_8): New function.
4329 (__sync_or_and_fetch_8): New function.
4330 (__sync_and_and_fetch_8): New function.
4331 (__sync_xor_and_fetch_8): New function.
4332 (__sync_nand_and_fetch_8): New function.
4333 (__sync_exchange_methods): New macro.
4334 (__sync_val_compare_and_swap_4): New function.
4335 (__sync_bool_compare_and_swap_4): New function.
4336 (__sync_lock_test_and_test_4): New function.
4337 (__sync_val_compare_and_swap_8): New function.
4338 (__sync_bool_compare_and_swap_8): New function.
4339 (__sync_lock_test_and_test_8): New function.
4340 (__subword_cmpxchg_body): New macro.
4341 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
4342 (__atomic_compare_exchange_2): Ditto.
4343 (__sync_subword_cmpxchg): New macro.
4344 (__sync_val_compare_and_swap_1): New function.
4345 (__sync_bool_compare_and_swap_1): New function.
4346 (__sync_val_compare_and_swap_2): New function.
4347 (__sync_bool_compare_and_swap_2): New function.
4348 (__atomic_subword): Rename to ...
4349 (__subword): ... New name.
4350 (__atomic_subword_fetch): Use __subword.
4351 (__sync_subword_fetch): New macro.
4352 (__sync_fetch_and_add_1): New function.
4353 (__sync_fetch_and_sub_1): New function.
4354 (__sync_fetch_and_or_1): New function.
4355 (__sync_fetch_and_and_1): New function.
4356 (__sync_fetch_and_xor_1): New function.
4357 (__sync_fetch_and_nand_1): New function.
4358 (__sync_fetch_and_add_2): New function.
4359 (__sync_fetch_and_sub_2): New function.
4360 (__sync_fetch_and_or_2): New function.
4361 (__sync_fetch_and_and_2): New function.
4362 (__sync_fetch_and_xor_2): New function.
4363 (__sync_fetch_and_nand_2): New function.
4364 (__sync_add_and_fetch_1): New function.
4365 (__sync_sub_and_fetch_1): New function.
4366 (__sync_or_and_fetch_1): New function.
4367 (__sync_and_and_fetch_1): New function.
4368 (__sync_xor_and_fetch_1): New function.
4369 (__sync_nand_and_fetch_1): New function.
4370 (__sync_add_and_fetch_2): New function.
4371 (__sync_sub_and_fetch_2): New function.
4372 (__sync_or_and_fetch_2): New function.
4373 (__sync_and_and_fetch_2): New function.
4374 (__sync_xor_and_fetch_2): New function.
4375 (__sync_nand_and_fetch_2): New function.
4376 (__atomic_subword_lock): Use __subword.
4377 (__sync_subword_lock): New macro.
4378 (__sync_lock_test_and_set_1): New function.
4379 (__sync_lock_test_and_set_2): New function.
4380
4d6d3bc5
WL
43812014-01-25 Walter Lee <walt@tilera.com>
4382
4383 * config/tilepro/atomic.c (BIT_OFFSET): Define.
4384 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
4385 (__atomic_subword): Ditto.
4386
cbd9890e
WL
43872014-01-25 Walter Lee <walt@tilera.com>
4388
4389 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
4390 a prefix op argument.
4391 (__atomic_nand_fetch_4): Add prefix op.
4392 (__atomic_nand_fetch_8): Ditto.
4393
7d296953 43942014-01-21 Baruch Siach <barch@tkos.co.il>
800d8bd5
BS
4395
4396 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
4397
46dd1242
L
43982014-01-09 Rong Xu <xur@google.com>
4399
4400 * libgcov-driver.c (this_prg): make it local to save
4401 bss space.
4402 (gcov_exit_compute_summary): Ditto.
4403 (gcov_exit_merge_gcda): Ditto.
4404 (gcov_exit_merge_summary): Ditto.
4405 (gcov_exit_dump_gcov): Ditto.
4406
cc86234f 44072014-01-08 Rong Xu <xur@google.com>
40d6b753
RX
4408
4409 * libgcov-driver.c: Use libgcov.h.
4410 (buffer_fn_data): Use xmalloc instead of malloc.
4411 (gcov_exit_merge_gcda): Ditto.
4412 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
4413 * libgcov.h: New common header files for libgcov-*.h.
4414 * libgcov-interface.c: Use libgcov.h
4415 * libgcov-merge.c: Ditto.
4416 * libgcov-profiler.c: Ditto.
4417 * Makefile.in: Add dependence to libgcov.h
4418
a02e7bdd
JM
44192014-01-02 Joseph Myers <joseph@codesourcery.com>
4420
4421 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
4422 case of small numerator and finite nonzero result.
4423
ac1dca3c
RS
44242014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4425
4426 Update copyright years
4427
f9030485
RS
44282014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4429
4430 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
4431 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
4432 config/arc/dp-hack.h, config/arc/fp-hack.h,
4433 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
4434 config/arc/ieee-754/arc600-dsp/divdf3.S,
4435 config/arc/ieee-754/arc600-dsp/divsf3.S,
4436 config/arc/ieee-754/arc600-dsp/muldf3.S,
4437 config/arc/ieee-754/arc600-dsp/mulsf3.S,
4438 config/arc/ieee-754/arc600-mul64/divdf3.S,
4439 config/arc/ieee-754/arc600-mul64/divsf3.S,
4440 config/arc/ieee-754/arc600-mul64/muldf3.S,
4441 config/arc/ieee-754/arc600-mul64/mulsf3.S,
4442 config/arc/ieee-754/arc600/divsf3.S,
4443 config/arc/ieee-754/arc600/mulsf3.S,
4444 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
4445 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
4446 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
4447 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
4448 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
4449 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
4450 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
4451 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
4452 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
4453 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
4454 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
4455 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
4456 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
4457 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
4458 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
4459 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
4460 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
4461 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
4462 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
4463 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
4464 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
4465 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
4466 vtv_start_preinit.c: Use the standard form for the copyright notice.
4467
e430824f
CLT
44682013-12-31 Sandra Loosemore <sandra@codesourcery.com>
4469 Chung-Lin Tang <cltang@codesourcery.com>
4470 Based on patches from Altera Corporation
4471
4472 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
4473 * config/nios2/lib2-nios2.h: New file.
4474 * config/nios2/lib2-divmod-hi.c: New file.
4475 * config/nios2/linux-unwind.h: New file.
4476 * config/nios2/lib2-divmod.c: New file.
4477 * config/nios2/linux-atomic.c: New file.
4478 * config/nios2/t-nios2: New file.
4479 * config/nios2/crti.asm: New file.
4480 * config/nios2/t-linux: New file.
4481 * config/nios2/lib2-divtable.c: New file.
4482 * config/nios2/lib2-mul.c: New file.
4483 * config/nios2/tramp.c: New file.
4484 * config/nios2/crtn.asm: New file.
4485
1879e97f
UB
44862013-12-26 Uros Bizjak <ubizjak@gmail.com>
4487
4488 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
4489 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
4490 from cpuid.h to check vendor signatures.
4491
f4a4bdbb
GG
44922013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
4493
c2e7e597 4494 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
f4a4bdbb
GG
4495 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
4496 (get_amd_cpu): Likewise.
4497
8d2ae544
L
44982013-12-25 H.J. Lu <hongjiu.lu@intel.com>
4499
4500 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
4501 Haswell.
4502
74924838
ASJ
45032013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
4504 H.J. Lu <hongjiu.lu@intel.com>
4505
0bb52f25
L
4506 PR target/59422
4507 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
74924838
ASJ
4508 and AMD_JAGUAR.
4509 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
4510 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
4511 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
4512 FEATURE_XOP and FEATURE_FMA.
4513 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
4514 AMDFAM15H_BDVER3.
4515 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
0bb52f25 4516 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
74924838
ASJ
4517 FEATURE_FMA4 and FEATURE_XOP.
4518
d3c11974
L
45192013-12-23 H.J. Lu <hongjiu.lu@intel.com>
4520
4521 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
4522 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
4523 (get_intel_cpu): Updated.
4524
064c4ff2
ZC
45252013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
4526
4527 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
4528
8b02e720
UB
45292013-12-09 Uros Bizjak <ubizjak@gmail.com>
4530
4531 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1f71a3c3 4532 instructions when __SSE_MATH__ is defined.
8b02e720 4533
3fa2ccb4
RC
45342013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
4535
4536 * config.host (microblaze-*-rtems*): New.
4537
ecd78fc9
KV
45382013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
4539
4540 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
4541 architectures that do not have hardware divide instruction.
4542 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
4543
b21fbbd2
RS
45442013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
4545
4546 * longlong.h: Delete (moved to include/).
4547
b03fb8c9
AZ
45482013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4549
4550 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
4551 of normal number and qNaN to not raise an inexact exception.
4552
3c716922
UB
45532013-11-28 Uros Bizjak <ubizjak@gmail.com>
4554
4555 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
4556
45572013-11-28 Matthew Leach <matthew.leach@arm.com>
cceeb9a9
ML
4558
4559 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
4560 for correct opcodes on BE.
4561
a3458d22
UB
45622013-11-27 Uros Bizjak <ubizjak@gmail.com>
4563
4564 * soft-fp/op-4.h: Update from glibc.
4565
30b8f78b
KV
45662013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
4567
4568 * libgcc2.c (__udivmoddi4): Define new implementation when
4569 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
4570 divide instructions.
4571
82552a29
OE
45722013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
4573
4574 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
4575
80e87457
RO
45762013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4577
4578 * config/t-softfp (soft-fp-objects-base): New variable.
4579 (soft-fp-objects): Use it.
4580
44178879
DE
45812013-11-23 David Edelson <dje.gcc@gmail.com>
4582 Andrew Dixie <andrewd@gentrack.com>
4583
4584 PR target/33704
4585 * config/rs6000/aixinitfini.c: New file.
4586 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
4587 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
4588 symbols.
4589
e5287671
YR
45902013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
4591
a3458d22 4592 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
e5287671 4593
867c8b03
JH
45942013-11-18 Jan Hubicka <jh@suse.cz>
4595
7f369373
JH
4596 * libgcov-driver.c (run_accounted): Make global level static.
4597 (gcov_exit_merge_summary): Silence warning; do not clear
4598 run_accounted here.
4599 (gcov_exit): Clear it here.
4600
1d0b3334
JH
4601 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
4602 run_accounted.
4603
867c8b03
JH
4604 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
4605 (all_prg, crc32): Remove static vars.
4606 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
4607 all_prg.
4608 (gcov_exit_merge_gcda): Add crc32 parameter.
4609 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
4610 do not account run if it was already accounted.
4611 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
4612 (gcov_exit): Initialize all_prg; update.
4613
66204992
AS
46142013-11-15 Andreas Schwab <schwab@linux-m68k.org>
4615
4616 * configure: Regenerate.
4617
b54214fe
UW
46182013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4619 Alan Modra <amodra@gmail.com>
4620
4621 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
4622 (frob_update_context): Use it.
4623
46242013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4625 Alan Modra <amodra@gmail.com>
4626
4627 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
4628 (trampoline_initial): Provide ELFv2 variant.
4629 (__trampoline_setup): Likewise.
4630
4631 * config/rs6000/linux-unwind.h (frob_update_context): Do not
4632 check for AIX indirect function call sequence if _CALL_ELF == 2.
4633
46342013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4635 Alan Modra <amodra@gmail.com>
4636
4637 * config/rs6000/linux-unwind.h (get_regs): Do not support
4638 old kernel versions if _CALL_ELF == 2.
4639 (frob_update_context): Do not support PLT stub variants only
4640 generated by old linkers if _CALL_ELF == 2.
4641
13e0981a
UW
46422013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4643 Alan Modra <amodra@gmail.com>
4644
4645 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
4646 location of CR save area for 64-bit little-endian systems.
4647
1a80085d
EB
46482013-11-11 Eric Botcazou <ebotcazou@adacore.com>
4649
4650 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
4651 in tmake_file.
4652 * config/arm/t-vxworks: Delete.
4653
cabeea52
KT
46542013-11-10 Kai Tietz <ktietz@redhat.com>
4655
4656 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
4657 Increment load-count on use of LIBGCC_SONAME DLL.
4658 (hmod_libgcc): New static variable to hold handle of
4659 LIBGCC_SONAME DLL.
4660 (__gcc_deregister_frame): Decrement load-count of
4661 LIBGCC_SONAME DLL.
4662
ac088ba1
BRF
46632013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
4664
4665 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
4666 availability.
4667 * configure: Regenerate
4668
d59a8fcc
UB
46692013-11-07 Uros Bizjak <ubizjak@gmail.com>
4670
4671 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
4672 FP_EX_DENORM. Store result to volatile location after SSE division
4673 to close interrupt window. Remove unneeded fwait after x87
4674 division since interrupt window will be closed by emitted fstp.
9de84e84 4675 Rewrite FP_EX_INEXACT handling.
d59a8fcc 4676
9954c743
JM
46772013-11-06 Joseph Myers <joseph@codesourcery.com>
4678
4679 * soft-fp/README: Update.
4680 * soft-fp/adddf3.c: Update from glibc.
4681 * soft-fp/addsf3.c: Likewise.
4682 * soft-fp/addtf3.c: Likewise.
4683 * soft-fp/divdf3.c: Likewise.
4684 * soft-fp/divsf3.c: Likewise.
4685 * soft-fp/divtf3.c: Likewise.
4686 * soft-fp/double.h: Likewise.
4687 * soft-fp/eqdf2.c: Likewise.
4688 * soft-fp/eqsf2.c: Likewise.
4689 * soft-fp/eqtf2.c: Likewise.
4690 * soft-fp/extenddftf2.c: Likewise.
4691 * soft-fp/extended.h: Likewise.
4692 * soft-fp/extendsfdf2.c: Likewise.
4693 * soft-fp/extendsftf2.c: Likewise.
4694 * soft-fp/extendxftf2.c: Likewise.
4695 * soft-fp/fixdfdi.c: Likewise.
4696 * soft-fp/fixdfsi.c: Likewise.
4697 * soft-fp/fixdfti.c: Likewise.
4698 * soft-fp/fixsfdi.c: Likewise.
4699 * soft-fp/fixsfsi.c: Likewise.
4700 * soft-fp/fixsfti.c: Likewise.
4701 * soft-fp/fixtfdi.c: Likewise.
4702 * soft-fp/fixtfsi.c: Likewise.
4703 * soft-fp/fixtfti.c: Likewise.
4704 * soft-fp/fixunsdfdi.c: Likewise.
4705 * soft-fp/fixunsdfsi.c: Likewise.
4706 * soft-fp/fixunsdfti.c: Likewise.
4707 * soft-fp/fixunssfdi.c: Likewise.
4708 * soft-fp/fixunssfsi.c: Likewise.
4709 * soft-fp/fixunssfti.c: Likewise.
4710 * soft-fp/fixunstfdi.c: Likewise.
4711 * soft-fp/fixunstfsi.c: Likewise.
4712 * soft-fp/fixunstfti.c: Likewise.
4713 * soft-fp/floatdidf.c: Likewise.
4714 * soft-fp/floatdisf.c: Likewise.
4715 * soft-fp/floatditf.c: Likewise.
4716 * soft-fp/floatsidf.c: Likewise.
4717 * soft-fp/floatsisf.c: Likewise.
4718 * soft-fp/floatsitf.c: Likewise.
4719 * soft-fp/floattidf.c: Likewise.
4720 * soft-fp/floattisf.c: Likewise.
4721 * soft-fp/floattitf.c: Likewise.
4722 * soft-fp/floatundidf.c: Likewise.
4723 * soft-fp/floatundisf.c: Likewise.
4724 * soft-fp/floatunditf.c: Likewise.
4725 * soft-fp/floatunsidf.c: Likewise.
4726 * soft-fp/floatunsisf.c: Likewise.
4727 * soft-fp/floatunsitf.c: Likewise.
4728 * soft-fp/floatuntidf.c: Likewise.
4729 * soft-fp/floatuntisf.c: Likewise.
4730 * soft-fp/floatuntitf.c: Likewise.
4731 * soft-fp/gedf2.c: Likewise.
4732 * soft-fp/gesf2.c: Likewise.
4733 * soft-fp/getf2.c: Likewise.
4734 * soft-fp/ledf2.c: Likewise.
4735 * soft-fp/lesf2.c: Likewise.
4736 * soft-fp/letf2.c: Likewise.
4737 * soft-fp/muldf3.c: Likewise.
4738 * soft-fp/mulsf3.c: Likewise.
4739 * soft-fp/multf3.c: Likewise.
4740 * soft-fp/negdf2.c: Likewise.
4741 * soft-fp/negsf2.c: Likewise.
4742 * soft-fp/negtf2.c: Likewise.
4743 * soft-fp/op-1.h: Likewise.
4744 * soft-fp/op-2.h: Likewise.
4745 * soft-fp/op-4.h: Likewise.
4746 * soft-fp/op-8.h: Likewise.
4747 * soft-fp/op-common.h: Likewise.
4748 * soft-fp/quad.h: Likewise.
4749 * soft-fp/single.h: Likewise.
4750 * soft-fp/soft-fp.h: Likewise.
4751 * soft-fp/subdf3.c: Likewise.
4752 * soft-fp/subsf3.c: Likewise.
4753 * soft-fp/subtf3.c: Likewise.
4754 * soft-fp/truncdfsf2.c: Likewise.
4755 * soft-fp/trunctfdf2.c: Likewise.
4756 * soft-fp/trunctfsf2.c: Likewise.
4757 * soft-fp/trunctfxf2.c: Likewise.
4758 * soft-fp/unorddf2.c: Likewise.
4759 * soft-fp/unordsf2.c: Likewise.
4760 * soft-fp/unordtf2.c: Likewise.
4761
02ac9503
UB
47622013-11-05 Uros Bizjak <ubizjak@gmail.com>
4763
4764 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
4765 (_FP_MUL_MEAT_D): Ditto.
4766 (_FP_DIV_MEAT_S): Ditto.
4767 (_FP_DIV_MEAT_D): Ditto.
4768 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
4769 t-softfp-sfdf and t-softfp to tmake_file.
4770
61221141
UB
47712013-11-03 Uros Bizjak <ubizjak@gmail.com>
4772
4773 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
4774 * config/i386/crtprec.c: Ditto.
4775
9304f876
CJW
47762013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
4777 Shiva Chen <shiva0217@gmail.com>
4778
4779 * config.host (nds32*-elf*): Add nds32 target.
4780 * config/nds32 : New directory and files.
4781
0e499e75
HPN
47822013-10-16 Hans-Peter Nilsson <hp@axis.com>
4783
4784 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
4785 * config.host (cpu_type) <Setting default>: Add entry for
4786 crisv32-*-*.
4787 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
4788 <crisv32-*-linux*>: Adjust.
4789 * longlong.h: Wrap the whole CRIS section in a single
4790 defined(__CRIS__) conditional. Add comment about add_ssaaaa
4791 and sub_ddmmss.
4792 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
4793 defined.
4794 [__CRIS__] (__umulsidi3): Define.
4795 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
4796 * config/cris/sfp-machine.h: New file.
4797 * config/cris/umulsidi3.S: New file.
4798 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
4799 * config/cris/arit.c (SIGNMULT): New macro.
4800 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
4801 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
4802 saving 3 out of originally 33 cycles from the fastest
4803 path, 3 out of 54 from the medium path and one from the longest
4804 path. Improve comments.
4805
16022041
RS
48062013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
4807
4808 * sync.c: Remove static aliases and define each function directly
4809 under its real name.
4810
69778659
JDA
48112013-10-02 John David Anglin <danglin@gcc.gnu.org>
4812
4813 * config.host (hppa*64*-*-linux*): Define extra_parts.
4814 (hppa*-*-linux*): Likewise.
4815
2deaf8b0
JR
48162013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
4817
4818 * config/arc/crtgend.S: Add 2013 to Copyright years.
4819 * config/arc/gmon/atomic.h: Likewise.
4820 * config/arc/gmon/auxreg.h: Likewise.
4821 * config/arc/gmon/sys/gmon_out.h: Likewise.
4822 * config/arc/gmon/sys/gmon.h: Likewise.
4823 * config/arc/gmon/prof-freq.c: Likewise.
4824 * config/arc/gmon/mcount.c: Likewise.
4825 * config/arc/gmon/prof-freq-stub.S: Likewise.
4826 * config/arc/gmon/gmon.c: Likewise.
4827 * config/arc/gmon/machine-gmon.h: Likewise.
4828 * config/arc/gmon/profil.S: Likewise.
4829 * config/arc/gmon/dcache_linesz.S: Likewise.
4830 * config/arc/crtg.S: Likewise.
4831 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
4832 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
4833 * config/arc/ieee-754/adddf3.S: Likewise.
4834 * config/arc/ieee-754/truncdfsf2.S: Likewise.
4835 * config/arc/ieee-754/fixsfsi.S: Likewise.
4836 * config/arc/ieee-754/gtsf2.S: Likewise.
4837 * config/arc/ieee-754/floatsisf.S: Likewise.
4838 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
4839 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
4840 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
4841 * config/arc/ieee-754/fixdfsi.S: Likewise.
4842 * config/arc/ieee-754/addsf3.S: Likewise.
4843 * config/arc/ieee-754/gesf2.S: Likewise.
4844 * config/arc/ieee-754/floatsidf.S: Likewise.
4845 * config/arc/ieee-754/extendsfdf2.S: Likewise.
4846 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
4847 * config/arc/ieee-754/gtdf2.S: Likewise.
4848 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
4849 * config/arc/ieee-754/uneqdf2.S: Likewise.
4850 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
4851 * config/arc/ieee-754/uneqsf2.S: Likewise.
4852 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
4853 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
4854 * config/arc/ieee-754/eqdf2.S: Likewise.
4855 * config/arc/ieee-754/ordsf2.S: Likewise.
4856 * config/arc/ieee-754/divsf3.S: Likewise.
4857 * config/arc/ieee-754/divdf3.S: Likewise.
4858 * config/arc/ieee-754/floatunsidf.S: Likewise.
4859 * config/arc/ieee-754/orddf2.S: Likewise.
4860 * config/arc/ieee-754/eqsf2.S: Likewise.
4861 * config/arc/ieee-754/gedf2.S: Likewise.
4862 * config/arc/crtn.S: Likewise.
4863 * config/arc/crti.S: Likewise.
4864 * config/arc/t-arc700-uClibc: Likewise.
4865 * config/arc/asm.h: Likewise.
4866 * config/arc/libgcc-excl.ver: Likewise.
4867 * config/arc/t-arc-newlib: Likewise.
4868 * config/arc/divtab-arc700.c: Likewise.
4869 * config/arc/initfini.c: Likewise.
4870 * config/arc/fp-hack.h: Likewise.
4871
c8e318b0
JR
48722013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
4873 Diego Novillo <dnovillo@google.com>
4874
4875 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
a07c5b47
JR
4876 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
4877 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
4878 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
c8e318b0 4879
d38a64b4
JR
48802013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
4881 Brendan Kehoe <brendan@zen.org>
4882 Simon Cook <simon.cook@embecosm.com>
4883
4884 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
4885 * config/arc: New directory.
4886 * longlong.h [__arc__] (umul_ppmm): Remove.
4887 [__arc__] (__umulsidi3): Define.
4888 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
4889 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
4890
dff717d2
JC
48912013-09-17 Jacek Caban <jacek@codeweavers.com>
4892
4893 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
4894 CreateSemaphoreA.
4895 * config/i386/gthr-win32.h: Likewise.
4896
5c0029de
DD
48972013-09-16 DJ Delorie <dj@redhat.com>
4898
844ad6c6 4899 * config/rl78/vregs.h: Add G10 register definitions.
5c0029de
DD
4900 * config/rl78/lib2mul.c: Enable for RL78/G10.
4901 * config/rl78/lib2div.c: Likewise.
4902 * config/rl78/lshrsi3.S: Use vregs.h.
4903 * config/rl78/cmpsi2.S: Likewise.
4904 * config/rl78/trampoline.S: Likewise.
4905 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
4906
ceb2fc49
DD
49072013-09-14 DJ Delorie <dj@redhat.com>
4908 Nick Clifton <nickc@redhat.com>
4909
4910 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
4911 * config/rl78/vregs.h: New.
4912 * config/rl78/signbit.S: New file. Implements signbit function.
4913 * config/rl78/divmodsi.S: New.
4914 * config/rl78/divmodhi.S: New.
4915 * config/rl78/divmodqi.S: New.
4916 * config/rl78/t-rl78: Build them here...
4917 * config/rl78/lib2div.c: ...but not here.
4918
f6a83b4a
DD
49192013-09-12 DJ Delorie <dj@redhat.com>
4920
4921 * config.host (msp*-*-elf): New.
4922 * config/msp430/: New port.
4923
9107b096
IS
49242013-08-18 Iain Sandoe <iain@codesourcery.com>
4925
4926 PR gcov-profile/58127
4927 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
4928 __thread var for emulated TLS.
4929 (__gcov_indirect_call_counters): Likewise.
4930
0f9bde1f 49312013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
61221141 4932 Catherine Moore <clm@codesourcery.com>
7d296953 4933 Richard Sandiford <rdsandiford@googlemail.com>
0f9bde1f
MR
4934
4935 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
4936 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
4937 (CALL_STUB_NO_RET): Likewise.
4938 (CALL_STUB_RET): Likewise.
4939 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
4940 __mips16_ret call/return stub symbols.
4941 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
4942 to tmake_file.
4943
2dc14aac
MR
49442013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
4945
4946 * config.host <mips*-*-linux*>: Remove a stray comment.
4947
748d71f3
JH
49482013-08-10 Jan Hubicka <jh@suse.cz>
4949
4950 Work around binutils PR14342
4951 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
4952 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
4953 (L_gcov_indirect_call_profiler_v2): New.
4954
2fa3d31b
JH
49552013-08-06 Jan Hubicka <jh@suse.cz>
4956
4957 * libgcov.c (__gcov_indirect_call_callee,
4958 __gcov_indirect_call_counters): New global vars.
4959 (__gcov_indirect_call_profiler): replace by ...
4960 (__gcov_indirect_call_profiler_v2) ... this one.
4961
2077db1b
CT
49622013-08-06 Caroline Tice <cmtice@google.com>
4963
d0595b65 4964 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
2077db1b 4965 vtv_start_preinit.o and vtv_end_preinit.o.
d0595b65
CT
4966 * configure.ac: Add code to check/set enable_vtable_verify.
4967 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
2077db1b 4968 true.
d0595b65
CT
4969 * vtv_start_preinit.c: New file.
4970 * vtv_end_preinit.c: New file.
4971 * vtv_start.c: New file.
4972 * vtv_end.c: New file.
4973 * configure: Regenerated.
2077db1b 4974
46549c20
MK
49752013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
4976
4977 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
4978 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
4979 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
4980 GPL-3.0-with-GCC-exception.
4981
72be589b
MR
49822013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
4983
4984 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
4985 ISA and up.
4986
902a3faf
AK
49872013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4988
4989 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
4990 mapping for FPRs when creating the fallback framestate.
4991
02371798
GJL
49922013-07-19 Georg-Johann Lay <avr@gjlay.de>
4993
4994 PR target/57516
4995 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
4996 (__round_s2_const, __round_u2_const)
4997 (__round_s4_const, __round_u4_const, __round_x8):
4998 Saturate result if addition result cannot be represented.
4999
ab0e8379
MK
50002013-07-15 Matthias Klose <doko@ubuntu.com>
5001
5002 * libgcc2.c: Don't include <limits.h>.
5003
7da38058
JJ
50042013-07-09 Janis Johnson <janisjo@codesourcery.com>
5005
5006 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
5007
1f6eac90
JJ
50082013-07-06 Jakub Jelinek <jakub@redhat.com>
5009
5010 PR target/29776
5011 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
5012
4ea3d774
JJ
50132013-06-28 Jakub Jelinek <jakub@redhat.com>
5014
5015 PR middle-end/36041
5016 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
5017 Define.
5018 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
5019 instead of table lookups.
5020 (__popcountDI2): Likewise.
5021
9d2cdf25
CJW
50222013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
5023
5024 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
5025 correctly.
5026
fa1e55b0
JM
50272013-06-21 Joseph Myers <joseph@codesourcery.com>
5028
5029 PR other/53317
5030 * soft-fp/adddf3.c: Update from glibc.
5031 * soft-fp/addsf3.c: Likewise.
5032 * soft-fp/addtf3.c: Likewise.
5033 * soft-fp/divdf3.c: Likewise.
5034 * soft-fp/divsf3.c: Likewise.
5035 * soft-fp/divtf3.c: Likewise.
5036 * soft-fp/double.h: Likewise.
5037 * soft-fp/eqdf2.c: Likewise.
5038 * soft-fp/eqsf2.c: Likewise.
5039 * soft-fp/eqtf2.c: Likewise.
5040 * soft-fp/extenddftf2.c: Likewise.
5041 * soft-fp/extended.h: Likewise.
5042 * soft-fp/extendsfdf2.c: Likewise.
5043 * soft-fp/extendsftf2.c: Likewise.
5044 * soft-fp/fixdfdi.c: Likewise.
5045 * soft-fp/fixdfsi.c: Likewise.
5046 * soft-fp/fixsfdi.c: Likewise.
5047 * soft-fp/fixsfsi.c: Likewise.
5048 * soft-fp/fixtfdi.c: Likewise.
5049 * soft-fp/fixtfsi.c: Likewise.
5050 * soft-fp/fixunsdfdi.c: Likewise.
5051 * soft-fp/fixunsdfsi.c: Likewise.
5052 * soft-fp/fixunssfdi.c: Likewise.
5053 * soft-fp/fixunssfsi.c: Likewise.
5054 * soft-fp/fixunstfdi.c: Likewise.
5055 * soft-fp/fixunstfsi.c: Likewise.
5056 * soft-fp/floatdidf.c: Likewise.
5057 * soft-fp/floatdisf.c: Likewise.
5058 * soft-fp/floatditf.c: Likewise.
5059 * soft-fp/floatsidf.c: Likewise.
5060 * soft-fp/floatsisf.c: Likewise.
5061 * soft-fp/floatsitf.c: Likewise.
5062 * soft-fp/floatundidf.c: Likewise.
5063 * soft-fp/floatundisf.c: Likewise.
5064 * soft-fp/floatunditf.c: Likewise.
5065 * soft-fp/floatunsidf.c: Likewise.
5066 * soft-fp/floatunsisf.c: Likewise.
5067 * soft-fp/floatunsitf.c: Likewise.
5068 * soft-fp/gedf2.c: Likewise.
5069 * soft-fp/gesf2.c: Likewise.
5070 * soft-fp/getf2.c: Likewise.
5071 * soft-fp/ledf2.c: Likewise.
5072 * soft-fp/lesf2.c: Likewise.
5073 * soft-fp/letf2.c: Likewise.
5074 * soft-fp/muldf3.c: Likewise.
5075 * soft-fp/mulsf3.c: Likewise.
5076 * soft-fp/multf3.c: Likewise.
5077 * soft-fp/negdf2.c: Likewise.
5078 * soft-fp/negsf2.c: Likewise.
5079 * soft-fp/negtf2.c: Likewise.
5080 * soft-fp/op-1.h: Likewise.
5081 * soft-fp/op-2.h: Likewise.
5082 * soft-fp/op-4.h: Likewise.
5083 * soft-fp/op-8.h: Likewise.
5084 * soft-fp/op-common.h: Likewise.
5085 * soft-fp/quad.h: Likewise.
5086 * soft-fp/single.h: Likewise.
5087 * soft-fp/soft-fp.h: Likewise.
5088 * soft-fp/subdf3.c: Likewise.
5089 * soft-fp/subsf3.c: Likewise.
5090 * soft-fp/subtf3.c: Likewise.
5091 * soft-fp/truncdfsf2.c: Likewise.
5092 * soft-fp/trunctfdf2.c: Likewise.
5093 * soft-fp/trunctfsf2.c: Likewise.
5094 * soft-fp/unorddf2.c: Likewise.
5095 * soft-fp/unordsf2.c: Likewise.
5096 * soft-fp/unordtf2.c: Likewise.
5097 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
5098 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5099 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5100 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5101 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5102 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5103 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5104 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5105 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5106 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
5107 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
5108 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5109
0de86a92
JU
51102013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
5111
5112 * config/mips/lib2funcs.c: New file.
5113 * config/mips/t-mips (LIB2ADD_ST): Add it.
5114
0d008882
OE
51152013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
5116
5117 PR target/6526
5118 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
5119 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
5120
776434d1
WL
51212013-06-08 Walter Lee <walt@tilera.com>
5122
5123 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
5124 Replace int64_t with long long. Add __extension__ where
5125 appropriate.
5126 * config/tilepro/atomic.c: Include config.h.
5127
6ab3ebb4
DR
51282013-06-06 Douglas B Rupp <rupp@adacore.com>
5129
5130 * config.host (arm-wrs-vxworks): Configure with other soft float.
5131
107eea2c
JU
51322013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
5133
5134 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
5135 (mips64r5900el-*-elf*): New configurations.
5136
5cc19c62
AM
51372013-06-04 Alan Modra <amodra@gmail.com>
5138
5139 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
5140
0f1d3965
YR
51412013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
5142
5143 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
5144
0ba045df
EB
51452013-05-28 Eric Botcazou <ebotcazou@adacore.com>
5146
5147 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
5148 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
5149 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
5150
49dcafd4
EB
51512013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5152
5153 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
5154 (powerpc-wrs-vxworks): Likewise.
5155
4fcb5d87
EB
51562013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5157
5158 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
5159 signal frames as well.
5160 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
5161 STACK_BIAS to the CFA offset.
5162
0ec33224
RH
51632013-05-17 Richard Henderson <rth@redhat.com>
5164
5165 PR target/49146
5166 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
5167 (execute_cfa_program): Use it when storing to fs->regs.
5168
492a8029
KT
51692013-05-08 Kai Tietz <ktietz@redhat.com>
5170
5171 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
5172 (__deregister_frame_info): Likewise.
5173
701e2f0a
TS
51742013-05-06 Thomas Schwinge <thomas@codesourcery.com>
5175
e5123d08
TS
5176 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
5177 NaN's payload.
5178
701e2f0a
TS
5179 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
5180
b9a7eb5d
AM
51812013-04-25 Alan Modra <amodra@gmail.com>
5182
5183 * config.host: Match little-endian powerpc-linux.
5184
dfe192f5
YZ
51852013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
5186
5187 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
5188 as 'unsigned long long' instead of 'unsigned long'.
5189 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
5190 'signed long'.
5191
b6b9af2f
JB
51922013-04-10 Julian Brown <julian@codesourcery.com>
5193
5194 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
5195 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
5196 unsigned char/unsigned short.
5197 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
5198
ecabdd00
JDA
51992013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5200
5201 PR other/55274
5202 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
5203
34652576
MI
52042013-04-04 Meador Inge <meadori@codesourcery.com>
5205
5206 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
5207 computing the location of the link register.
5208 (aeabi_uldivmod): Ditto.
5209
e9fd8c19
KT
52102013-03-27 Kai Tietz <ktietz@redhat.com>
5211
5212 * config.host: Add support for cygwin x64 target.
5213 * configure: Regenerated.
5214
a6406324
WL
52152013-03-26 Walter Lee <walt@tilera.com>
5216
5217 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
5218 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
5219
55446c7e
KT
52202013-03-25 Kai Tietz <ktietz@redhat.com>
5221
5222 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
5223
d2ae19d9
RM
52242013-03-20 Robert Mason <rbmj@verizon.net>
5225
5226 * config/vxlib-tls.c (__gthread_get_tsd_data,)
5227 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
5228 (__gthread_leave_tsd_dtor_context): Add prototypes.
5229 (tls_delete_hook): Update.
5230
22c4c869
CM
52312013-03-20 Catherine Moore <clm@codesourcery.com>
5232 Joseph Myers <joseph@codesourcery.com>
5233 Chao-ying Fu <fu@mips.com>
5234
5235 * config/mips/mips16.S: Don't build for microMIPS.
5236 * config/mips/linux-unwind.h: Handle microMIPS frame.
5237 * config/mips/crtn.S (fini, init): New labels.
5238
fbd28bc3
JJ
52392013-03-14 Jakub Jelinek <jakub@redhat.com>
5240
5241 PR tree-optimization/53265
5242 * unwind-dw2.c (execute_cfa_program): Avoid
5243 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
5244 on targets with DWARF_FRAME_REGISTERS < 32.
5245
decc676e
OE
52462013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
5247
5248 PR target/49880
5249 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
5250 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
5251
84ea618a
ST
52522013-03-07 Sriraman Tallam <tmsriram@google.com>
5253
5254 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
5255 sandybridge processors.
5256
8f6d1c86
OE
52572013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
5258
5259 PR target/56529
5260 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
5261 inclusion list.
5262
ecdbd01a 52632013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
409b1de4
EI
5264
5265 * config/microblaze/crti.S: Setup stack protection at entry
5266
0b4ce21b
GJL
52672013-03-04 Georg-Johann Lay <avr@gjlay.de>
5268
5269 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
5270 (__rotldi3): Shift bytewise if applicable.
5271
b7c3f1ca
JG
52722013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
5273
5274 * config/aarch64/sync-cache.c
5275 (__aarch64_sync_cache_range): Silence warnings.
5276
6d65e8f1
CM
52772013-02-25 Catherine Moore <clm@codesourcery.com>
5278
5279 Revert:
5280 2013-02-24 Catherine Moore <clm@codesourcery.com>
5281 Joseph Myers <joseph@codesourcery.com>
5282 Chao-ying Fu <fu@mips.com>
5283
5284 * config/mips/mips16.S: Don't build for microMIPS.
5285 * config/mips/linux-unwind.h: Handle microMIPS frame.
5286 * config/mips/crtn.S (fini, init): New labels.
5287
6941b508
CM
52882013-02-24 Catherine Moore <clm@codesourcery.com>
5289 Joseph Myers <joseph@codesourcery.com>
5290 Chao-ying Fu <fu@mips.com>
5291
5292 * config/mips/mips16.S: Don't build for microMIPS.
5293 * config/mips/linux-unwind.h: Handle microMIPS frame.
5294 * config/mips/crtn.S (fini, init): New labels.
5295
7c422dbb 52962012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
cc86234f 5297 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7c422dbb
EI
5298 as dividend.
5299
110207ad
AM
53002013-02-16 Alan Modra <amodra@gmail.com>
5301
5302 PR target/55431
5303 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
5304 (ppc_fallback_frame_state): Always set up save locations for fp
5305 and altivec. Don't bother with non-callee-saved regs, r0-r13
5306 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
5307
e68a4ef6
GJL
53082013-02-12 Georg-Johann Lay <avr@gjlay.de>
5309
5310 PR target/54222
5311 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
5312 _ssmulHA, _ssmulSA.
5313 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
5314 _ssmulha3, _usmulusa3, _ssmulsa3.
5315 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
5316 (__muldi3): XCALL __muldi3_6 instead of rcall.
5317 (__umulsidi3, __mulsidi3): New functions.
5318 (do_prologue_saves, do_epilogue_restores): New .macros.
5319 (__divdi3_moddi3): Use them.
5320 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
5321 (__usmulusa3, __ssmulsa3): New functions.
5322
6c59ffd1
IS
53232013-02-11 Iain Sandoe <iain@codesourcery.com>
5324 Jack Howarth <howarth@bromo.med.uc.edu>
5325 Patrick Marlier <patrick.marlier@gmail.com>
5326
5327 PR libitm/55693
5328 * config/darwin-crt-tm.c: Remove dummy functions hack.
5329
85d768f3
GJL
53302013-02-08 Georg-Johann Lay <avr@gjlay.de>
5331
5332 PR target/54222
5333 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
5334 * config/avr/lib2-object.mk: New iterator to build objects from it.
5335 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
5336 lib2funcs.c.
5337 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
5338 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
5339 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
5340 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
5341 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
5342 * config/avr/lib1funcs-fixed.S: Implement them.
5343
5d5bf775
RS
53442013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
5345
5346 Update copyright years.
5347
99113dff
DE
53482013-02-01 David Edelsohn <dje.gcc@gmail.com>
5349
5350 PR target/54601
5351 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
5352 Add crtcxa to extra_parts.
5353 * config/rs6000/exit.h: New file.
5354 * config/rs6000/cxa_atexit.c: New file.
5355 * config/rs6000/cxa_finalize.c: New file.
5356 * config/rs6000/crtcxa.c: New file.
5357 * config/rs6000/t-aix-cxa: New file.
5358 * config/rs6000/libgcc-aix-cxa.ver: New file.
5359
dbdbd982
NC
53602013-01-31 Nick Clifton <nickc@redhat.com>
5361
5362 * config/v850/lib1funcs.S: Add support for e3v5 architecture
5363 variant.
5364
5893f158
GJL
53652013-01-29 Georg-Johann Lay <avr@gjlay.de>
5366
5367 PR target/54222
5368 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
5369 _mulQQ, _mulHQ, _mulHA, _mulSA,
5370 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
5371 _divQQ, _divHQ, _divHA, _divSA,
5372 _divUQQ, _divUHQ, _divUHA, _divUSA.
5373
ecdbd01a 53742013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
fbf0cf90 5375
dbdbd982 5376 * config.host(microblaze*-linux*): tmake_file: Remove
fbf0cf90
DH
5377 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
5378 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
5379 to exclude functions from being built with libgcc.c and use
5380 the microblaze assembly.
5381
ecdbd01a 53822013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6f14eef2
EI
5383
5384 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
5385 extra_parts.
5386
922c57d1
YZ
53872013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
5388
5389 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
5390 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
5391 __UINTPTR_TYPE__; also cast 'base' to the same type before the
5392 alignment operation.
5393
e0f8b6a0
SN
53942013-01-15 Sofiane Naci <sofiane.naci@arm.com>
5395
5396 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
5397 loop start address for cache clearing.
5398
00892272
GJL
53992013-01-14 Georg-Johann Lay <avr@gjlay.de>
5400
5401 * config/avr/lib1funcs.S: Remove trailing blanks.
5402 * config/avr/lib1funcs-fixed.S: Ditto.
5403
e59ec5fd
GJL
54042013-01-14 Georg-Johann Lay <avr@gjlay.de>
5405
5406 * config/avr/avr-lib.h: Add GPL copyright notice.
5407
3ffc1958
GJL
54082013-01-14 Georg-Johann Lay <avr@gjlay.de>
5409
5410 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
5411 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
5412 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
5413 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
5414
25c210f9
MK
54152013-01-07 Mark Kettenis <kettenis@openbsd.org>
5416
5417 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
5418 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
2bc15360 5419
db59befb
NC
54202013-01-04 Nick Clifton <nickc@redhat.com>
5421
5422 * config/v850/lib1funcs.S: Only provide CALLT support functions if
5423 the CALLT instruction is supported.
5424
5aa12dbf
JW
54252012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
5426
5427 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
5428 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
5429
65f14117
JT
54302012-12-13 John Tytgat <John@bass-software.com>
5431
5432 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
5433 is 25.
5434
ee3ae4f7
JJ
54352012-12-12 Jakub Jelinek <jakub@redhat.com>
5436
5437 PR libgcc/55451
5438 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
5439 undefined signed overflows.
5440
2fcfba3d
UB
54412012-12-09 Uros Bizjak <ubizjak@gmail.com>
5442
5443 PR target/55344
5444 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
5445
4f2b3dc2
UB
54462012-12-06 Uros Bizjak <ubizjak@gmail.com>
5447
5448 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
5449 (FP_TRAPPING_EXCEPTIONS): Define.
5450 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
5451 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
5452
066161a2
RH
54532012-12-04 Richard Henderson <rth@redhat.com>
5454
5455 PR bootstrap/55571
5456 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
5457
7d296953 54582012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
25626181 5459
4f2b3dc2 5460 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
25626181
MS
5461 (FP_EX_SHIFT): Define.
5462 (FP_TRAPPING_EXCEPTIONS): Define.
5463
7d296953 54642012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
868395e8
MS
5465
5466 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
5467 (FP_ROUNDMODE): Use FP_RND_MASK.
5468 * config/aarch64/sfp-exceptions.c: New.
5469 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5470 Use __sfp_handle_exceptions.
5471
5005fe22
RE
54722012-12-04 Richard Earnshaw <rearnsha@arm.com>
5473
5474 * config.host: (arm*-*-freebsd*): Remove.
5475 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
5476 (arm*-*-elf*): Remove.
5477 (arm*-*-wince-pe*): Remove.
5478 * arm/unwind-arm.c (struct fpa_reg): Delete.
5479 (struct fpa_regs): Delete.
5480 (phase1_vrs): Remove fpa element.
5481 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
5482 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
5483 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
5484 * ieee754-sf.S (floatundisf): Remove FPA support.
5485 (floatdisf): Likewise.
5486 * ieee75f-df.S (floatundidf): Likewise.
5487 (floatdidf): Likewise.
5488
e5a81c8e
KT
54892012-11-29 Kai Tietz <ktietz@redhat.com>
5490
5491 PR target/55445
5492 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
5493 * unwind-generic.h: Likewise.
5494 * unwind-seh.c: Likewise.
5495
f4919e4a
RH
54962012-11-28 Richard Henderson <rth@redhat.com>
5497
5498 PR libgcc/48076
5499 * emutls.c (__emutls_get_address): Avoid race condition between
5500 obj->loc.offset read and emutls_key initialization.
4f2b3dc2 5501
e13d9d5a
GJL
55022012-11-22 Georg-Johann Lay <avr@gjlay.de>
5503
5504 Adjust decimal point of signed accum mode to GCC default.
5505
5506 PR target/54222
5507 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
5508 _divqq_helper.
5509 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
5510 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
5511 (__mulha3, __mulsa3)
5512 (__divqq3, __divha3, __divsa3): Adjust to new position of
4f2b3dc2
UB
5513 decimal point of signed accum types.
5514
e13d9d5a
GJL
5515 (__mulusa3_round): New function.
5516 (__mulusa3): Use it.
5517 (__divqq_helper): New function.
5518 (__udivuqq3): Use it.
5519
1b845c6e
JJ
55202012-11-20 Jakub Jelinek <jakub@redhat.com>
5521
5522 PR bootstrap/55370
5523 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
5524
822a258a
TJ
55252012-11-18 Teresa Johnson <tejohnson@google.com>
5526
5527 PR bootstrap/55051
5528 * libgcov.c (gcov_exit): Remove merged program summary
5529 comparison unless !GCOV_LOCKED.
5530
7d296953 55312012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
54f4eaf0
MS
5532
5533 * soft-fp: Updated from glibc upstream.
5534
e808687a
ILT
55352012-11-06 Ian Lance Taylor <iant@google.com>
5536
5537 * generic-morestack.c (__generic_morestack): Align the returned
5538 stack pointer to a 32 byte boundary.
5539 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
5540 increment the return address until we have decided that we don't
5541 have a varargs function.
5542 (__morestack) [32-bit]: Align stack correctly when calling C
5543 functions.
5544 (__morestack) [64-bit]: Likewise.
5545
460277e0
TS
55462012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5547
5548 * configure: Regenerate.
5549
73edb277
UB
55502012-11-02 Uros Bizjak <ubizjak@gmail.com>
5551
5552 PR target/55175
5553 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
5554 * config/i386/sfp-machine.h: Guard exception handling
5555 code with _SOFT_FLOAT.
5556 * config/i386/32/sfp-machine.h: Guard rounding handling
5557 code with _SOFT_FLOAT.
5558 * config/i386/64/sfp-machine.h: Ditto.
5559
c1d4fa04
JS
55602012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
5561
5562 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
5563 as extra_parts.
5564
eff6ca85
UB
55652012-10-26 Uros Bizjak <ubizjak@gmail.com>
5566
5567 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
5568 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
5569 when appropriate. Correct structure element types.
5570 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
5571 -minline-all-stringops from compile flags.
5572
7d296953 55732012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
43a8f1a1
RC
5574
5575 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
5576
7d296953 55772012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
76c78361 5578
eff6ca85 5579 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
76c78361 5580
6f288860
SH
55812012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
5582
5583 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
5584 tmake_file.
5585
1e3d5096
IB
55862012-10-23 Ian Bolton <ian.bolton@arm.com>
5587 Jim MacArthur <jim.macarthur@arm.com>
5588 Marcus Shawcroft <marcus.shawcroft@arm.com>
5589 Nigel Stephens <nigel.stephens@arm.com>
5590 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
5591 Richard Earnshaw <rearnsha@arm.com>
5592 Sofiane Naci <sofiane.naci@arm.com>
5593 Stephen Thomas <stephen.thomas@arm.com>
5594 Tejas Belagod <tejas.belagod@arm.com>
5595 Yufeng Zhang <yufeng.zhang@arm.com>
5596
5597 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
5598 * config/aarch64/crti.S: New file.
5599 * config/aarch64/crtn.S: New file.
5600 * config/aarch64/linux-unwind.h: New file.
5601 * config/aarch64/sfp-machine.h: New file.
5602 * config/aarch64/sync-cache.c: New file.
5603 * config/aarch64/t-aarch64: New file.
5604 * config/aarch64/t-softfp: New file.
5605
8a740f07
HPN
56062012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
5607
5608 * config/mmix/crti.S: Mark program and data addresses using PRELD.
5609 Remove typo'd and unnecessary alignment-LOC for .data. Remove
5610 no-longer-needed LDBU insns.
5611
7d296953 56122012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
153c8397
SH
5613
5614 * config.host
5615 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
5616 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
5617
595fefee
MGD
56182012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
5619
5620 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
5621
9945a876
MK
56222012-10-15 Matthias Klose <doko@ubuntu.com>
5623
5624 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
5625
1183dc2c
PC
56262012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
5627
5628 * configure: Regenerate.
5629 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
5630
945a9c1f
UB
56312012-10-10 Uros Bizjak <ubizjak@gmail.com>
5632
5633 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
5634 instructions for 64bit targets only.
5635
fb8bf47a
UB
56362012-10-10 Uros Bizjak <ubizjak@gmail.com>
5637
5638 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5639 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
5640 * config/i386/32/sfp-machine.h: ... here.
5641 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
5642 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
5643 New defines.
5644
acb72498
MK
56452012-10-07 Matthias Klose <doko@ubuntu.com>
5646
5647 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
5648 as unused.
5649 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
5650
8eaee0f0
MK
56512012-10-06 Mark Kettenis <kettenis@openbsd.org>
5652
5653 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
5654 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
5655 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
5656 (ElfW): Likewise.
5657
5e3e4fe8
JW
56582012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
5659
5660 PR other/53889
5661 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5662 Fix parameter names.
5663
86086376
OE
56642012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
5665
5666 PR target/33135
5667 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
5668 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
5669 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
5670
9597375a
OE
56712012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
5672
5673 PR target/50457
5674 * config/sh/linux-atomic.S: Delete.
5675 * config/sh/linux-atomic.c: New.
5676 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
5677 linux-atomic.c. Add cflags to disable warnings.
5678
1504e3e1
JW
56792012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
5680
5681 PR other/53889
5682 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
5683 function.
5684 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
5685 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
5686 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
5687 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5e3e4fe8
JW
5688 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
5689 Likewise.
1504e3e1
JW
5690 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5691 Likewise.
5692 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
5693 Likewise.
5694 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
5695 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
5696
17f293b0
MK
56972012-09-19 Mark Kettenis <kettenis@openbsd.org>
5698
9597375a
OE
5699 * config.host (hppa-*-openbsd*): New target.
5700 * config/pa/t-openbsd: New file.
17f293b0 5701
51526856
GJL
57022012-09-15 Georg-Johann Lay <avr@gjlay.de>
5703
5704 PR target/54222
5705 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
5706 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
5707 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
5708 (__divsa3): Use __negsi2 to negate r_quoL.
5709 * config/avr/lib1funcs.S (FALIAS): New macro.
5710 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
5711 (__negsi2): ...this new function.
5712 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
5713 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
5714 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
5715 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
5716 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
5717 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
5718
aadb5b43
OE
57192012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
5720
5721 PR target/54089
5722 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
5723 (lshrsi3): Reimplement as lshrsi3_r0.
5724
d5d66749
AS
57252012-09-10 Andreas Schwab <schwab@linux-m68k.org>
5726
5727 PR target/46191
5728 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
5729 of libgcc.a.
5730
c6c36e73
TJ
57312012-09-07 Teresa Johnson <tejohnson@google.com>
5732
9597375a 5733 PR gcov-profile/54487
c6c36e73 5734 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9597375a 5735 differences.
c6c36e73 5736
b588ae30
GJL
57372012-09-05 Georg-Johann Lay <avr@gjlay.de>
5738
5739 PR target/54461
5740 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
5741 not configured --with-avrlibc=no.
5742 * config/avr/t-avrlibc: New file.
5743 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
5744 (DPBIT_FUNCS): Ditto.
5745 (TPBIT_FUNCS): Ditto.
5746
abd16fb1
TJ
57472012-09-04 Teresa Johnson <tejohnson@google.com>
5748
5749 * libgcov.c (struct gcov_summary_buffer): New structure.
5750 (gcov_histogram_insert): New function.
5751 (gcov_compute_histogram): Ditto.
5752 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
5753 histograms during summary merging.
5754
613061fd
MK
57552012-09-01 Mark Kettenis <kettenis@openbsd.org>
5756
5757 * config.host (x86_64-*-openbsd*): New target.
73edb277 5758
867a8345
CLT
57592012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
5760
5761 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
5762 attribute.
5763
4aeaaca3
GJL
57642012-08-24 Georg-Johann Lay <avr@gjlay.de>
5765
5766 PR target/54222
5767 * config/avr/t-avr (conv_X): Rename to func_X.
5768
e55e4056
GJL
57692012-08-24 Georg-Johann Lay <avr@gjlay.de>
5770
5771 PR target/54222
5772 * config/avr/lib1funcs-fixed.S: New file.
5773 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
5774 after they are used.
5775 (neg2, neg4): New macros.
5776 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
5777 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
5778 (__umulhisi3): Speed up MUL variant if there is enough flash.
5779 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
5780 avr-modes.def.
5781 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
5782 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
5783 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
5784 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
5785 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
5786 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
5787 (LIB2FUNCS_EXCLUDE): Add supported functions.
5788
a147b6d2
GJL
57892012-08-22 Georg-Johann Lay <avr@gjlay.de>
5790
5791 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
5792 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
5793 libgcc-s-objects.
5794 * fixed-obj.mk: Only expand dependency if $o is not in
5795 LIB2FUNCS_EXCLUDE.
5796
c637141a
L
57972012-08-22 H.J. Lu <hongjiu.lu@intel.com>
5798
5799 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
5800
130e00bd
JM
58012012-08-22 Joseph Myers <joseph@codesourcery.com>
5802
5803 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
5804 depend on --enable-shared.
5805 ($(lib1asmfuncs-o)): Use %.vis files independent of
5806 --enable-shared.
5807 * static-object.mk ($(base)$(objext), $(base).vis)
5808 ($(base)_s$(objext)): Use same rules for visibility handling as in
5809 shared-object.mk.
5810
4b1b3788
ILT
58112012-08-21 Ian Lance Taylor <iant@google.com>
5812
5813 * config/i386/morestack.S (__morestack_non_split): Increase amount
5814 of space allocated for non-split code stack.
5815
d2468141
JM
58162012-08-19 Joseph Myers <joseph@codesourcery.com>
5817
5818 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
5819 even if inhibit_libc.
5820
a508e1a8
JB
58212012-08-17 Julian Brown <julian@codesourcery.com>
5822
5823 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
5824 -fexceptions -fnon-call-exceptions if not defined.
5825 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
5826 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
5827
5615a07d
AS
58282012-08-17 Andreas Schwab <schwab@linux-m68k.org>
5829
5830 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
5831 type.
5832
138f5acd
DE
58332012-08-16 David Edelsohn <dje.gcc@gmail.com>
5834
5835 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
5836 rs6000/t-slibgcc-aix.
5837
18efc0dd
SB
58382012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
5839
5840 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
5841
6b39bc38
SB
58422012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
5843
5844 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
5845
cd25dea0
L
58462012-08-03 H.J. Lu <hongjiu.lu@intel.com>
5847
5848 PR driver/54171
5849 * Makefile.in (version): Replace top_srcdir with srcdir.
5850
a3dda30b
JY
58512012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
5852
5853 * Makefile.in (version): set to BASE-VER file from gcc directory.
5854
d04aacfc
NC
58552012-08-01 Nick Clifton <nickc@redhat.com>
5856
5857 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
5858 Implements __clrsb for an HImode argument.
5859
0d13c974
NC
58602012-07-31 Nick Clifton <nickc@redhat.com>
5861
5862 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
5863 Implements __clrsb for an HImode argument.
5864 * config/stormy16/clrsbhi2.c: New file:
5865 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
5866
efbb59b2
SB
58672012-07-22 Steven Bosscher <steven@gcc.gnu.org>
5868
5869 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
5870
bf1431e3
TG
58712012-07-19 Tristan Gingold <gingold@adacore.com>
5872 Richard Henderson <rth@redhat.com>
5873
5874 * unwind-seh.c: New file.
5875 * unwind-generic.h: Include windows.h for SEH.
5876 (_Unwind_Exception): Use 6 private fields for SEH.
5877 (_GCC_specific_handler): Declare.
5878 * unwind-c.c (__gcc_personality_seh0): New function.
5879 Adjust for SEH.
5880 * config/i386/libgcc-cygming.ver: New file.
5881 * config/i386/t-seh-eh: New file.
5882 * config.host (x86_64-*-mingw*): Default to seh.
5883
659140c8
SB
58842012-07-14 Steven Bosscher <steven@gcc.gnu.org>
5885
5886 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
5887
a20d08fd
UB
58882012-06-17 Uros Bizjak <ubizjak@gmail.com>
5889
5890 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
5891 __builtin_expect when checking for exceptions.
5892 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
5893
79261115
UB
58942012-06-13 Uros Bizjak <ubizjak@gmail.com>
5895
4a172156
UB
5896 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
5897 function declaration.
5898 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
5899 (FP_RND_MASK): New.
5900 * config/ia64/sfp-exceptions.c: New.
5901 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
79261115 5902
bb5c97d4
UB
59032012-06-13 Uros Bizjak <ubizjak@gmail.com>
5904
5905 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
5906 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
5907 * config/i386/64/sfp-machine: ... (delete here) ...
5908 * config/i386/sfp-machine.h: ... to here.
5909 (FP_EX_MASK): Remove.
5910 (FP_RND_MASK): New.
5911 (FP_INIT_ROUNDMODE): Declare asm as volatile.
5912
91fe5efb
ST
59132012-06-11 Sriraman Tallam <tmsriram@google.com>
5914
5915 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
5916 * config/i386/libgcc-sol2.ver: Ditto.
5917 * config/i386/libgcc-glibc.ver: Ditto.
5918
67a218c5
RM
59192012-06-11 Roland McGrath <mcgrathr@google.com>
5920
5921 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
5922 If __GLIBC__ is defined, refer to __pthread_key_create instead of
5923 pthread_cancel.
5924
492fbea1
UB
59252012-06-09 Uros Bizjak <ubizjak@gmail.com>
5926
5927 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
5928 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
5929 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
5930 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5931 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
5932 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
5933 * config/i386/64/sfp-machine: ... (delete here) ...
5934 * config/i386/sfp-machine.h: ... to here.
5935 (FP_EX_MASK): New.
5936 (__sfp_handle_exceptions): New function declaration.
5937 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
5938 * config/i386/sfp-exceptions.c: New.
5939 * config/i386/t-softfp: New.
5940 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
5941 i386/t-softfp to tmake_file.
5942
7b4cf266
DM
59432012-06-03 David S. Miller <davem@davemloft.net>
5944
5945 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
5946 change.
5947
0de0d5c6
DM
59482012-05-31 David S. Miller <davem@davemloft.net>
5949
5950 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
5951 multiply and divide instructions on 32-bit when V9.
5952 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
5953
d8c9d391
JM
59542012-05-29 Joseph Myers <joseph@codesourcery.com>
5955
5956 * config/arm/ieee754-df.S: Fix typos.
5957 * config/arm/ieee754-sf.S: Fix typos.
5958 * config/c6x/libunwind.S: Fix typos.
5959 * config/epiphany/udivsi3-float.c: Fix typos.
5960 * config/microblaze/muldi3_hard.S: Fix typos.
5961 * config/picochip/adddi3.S: Fix typos.
5962 * config/picochip/ashlsi3.S: Fix typos.
5963 * config/picochip/ashrsi3.S: Fix typos.
5964 * config/picochip/clzsi2.S: Fix typos.
5965 * config/picochip/cmpsi2.S: Fix typos.
5966 * config/picochip/divmod15.S: Fix typos.
5967 * config/picochip/divmodhi4.S: Fix typos.
5968 * config/picochip/divmodsi4.S: Fix typos.
5969 * config/picochip/longjmp.S: Fix typos.
5970 * config/picochip/lshrsi3.S: Fix typos.
5971 * config/picochip/parityhi2.S: Fix typos.
5972 * config/picochip/popcounthi2.S: Fix typos.
5973 * config/picochip/setjmp.S: Fix typos.
5974 * config/picochip/subdi3.S: Fix typos.
5975 * config/picochip/ucmpsi2.S: Fix typos.
5976 * config/picochip/udivmodhi4.S: Fix typos.
5977 * config/picochip/udivmodsi4.S: Fix typos.
5978 * config/spu/divv2df3.c: Fix typos.
5979 * config/spu/mfc_multi_tag_release.c: Fix typos.
5980 * config/spu/mfc_tag_release.c: Fix typos.
5981 * configure.ac: Fix typos.
5982 * configure: Regenerate.
5983
31a18a7e
ILT
59842012-05-25 Ian Lance Taylor <iant@google.com>
5985
5986 * config/i386/morestack.S (__morestack_non_split): Check whether
5987 caller is varargs and needs %bp to hold the stack frame on return.
5988
c5768510
OH
59892012-05-25 Olivier Hainque <hainque@adacore.com>
5990
5991 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
5992 sequence in the non pic case on VxWorks.
5993
7c7c339b
OH
59942012-05-24 Olivier Hainque <hainque@adacore.com>
5995
73fb7630 5996 * Makefile.in: Move dependency on install-unwind_h from
7c7c339b
OH
5997 "install-leaf" to "install".
5998
fdc1b7d3
OH
59992012-05-24 Olivier Hainque <hainque@adacore.com>
6000
6001 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
6002 Use a separate command for stamp removals.
6003
07ba94b9
AP
60042012-05-21 Andrew Pinski <apinski@cavium.com>
6005
6006 PR bootstrap/53183
6007 * configure.ac: Define the default includes to being none.
6008 * configure: Regenerate.
6009
4677d2eb
OH
60102012-05-16 Olivier Hainque <hainque@adacore.com>
6011
6012 * Makefile.in (install-unwind_h): Rename into ...
6013 (install-unwind_h-forbuild): New target.
6014 (all): Use it instead of the former install-unwind_h.
6015 (install-unwind_h): Reinstate, copy to user install destination
6016 for include files, not to the internal gcc object directory one.
6017 (install-leaf): Depend on it.
6018
7d67c380
OH
60192012-05-15 Olivier Hainque <hainque@adacore.com>
6020
6021 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
6022 register numbers. LR_REGNO replaces R_LR.
6023 (ucontext_for): New, helper for ...
6024 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
6025 and 5.3 of ...
6026 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
6027
aca06c90
RO
60282012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6029
6030 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
6031 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
6032 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
6033 i386/t-cpuinfo ...
6034 (i[34567]86-*-*, x86_64-*-*): ... here.
6035
6036 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
6037 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
6038
6039 * config/i386/i386-cpuinfo.c: Rename to ...
6040 * config/i386/cpuinfo.c: ... this.
6041 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
6042
6043 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
6044 (libgcc_cv_init_priority): New test.
6045 * configure: Regenerate.
6046 * config.in: New file.
6047 * Makefile.in (clean): Rename config.h to auto-target.h.
6048 (config.h): Likewise.
6049 (stamp-h): Likewise.
6050
6051 * config/i386/cpuinfo.c (auto-target.h): Include.
6052 (CONSTRUCTOR_PRIORITY): Define.
6053 (__cpu_indicator_init): Use it.
6054
0d03ac1b
L
60552012-05-09 H.J. Lu <hongjiu.lu@intel.com>
6056
6057 * longlong.h: Use a URL instead of an FSF postal address.
6058 Replace spaces with tab.
6059
4a172156 60602012-05-08 Teresa Johnson <tejohnson@google.com>
4e8ee9cb
TJ
6061
6062 * libgcov.c (gcov_clear, __gcov_reset): New functions.
6063 (__gcov_dump): Ditto.
6064 (gcov_dump_complete): New global variable.
6065 (gcov_exit): Export hidden to enable use in L_gcov_dump.
6066 (__gcov_flush): Outline functionality now in gcov_clear.
6067 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
6068
e4bb767e
AJ
60692012-04-28 Aurelien Jarno <aurelien@aurel32.net>
6070
31a18a7e
ILT
6071 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
6072 (mips*-*-linux*): Include mips/t-tpbit when long double is
6073 16 bytes long.
e4bb767e 6074
5ddecff9
ST
60752012-04-25 Sriraman Tallam <tmsriram@google.com>
6076
6077 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
6078 (get_available_features): New argument. Check for AVX2.
6079 (__cpu_indicator_init): Modify call to get_available_features.
6080
b427dd7a
AM
60812012-04-25 Alan Modra <amodra@gmail.com>
6082
6083 * config/rs6000/crtsavevr.S: New file.
6084 * config/rs6000/crtrestvr.S: New file.
6085 * config/rs6000/t-savresfgpr: Build the above.
6086 * config/rs6000/t-netbsd: Likewise.
6087
ad491329
ST
60882012-04-24 Sriraman Tallam <tmsriram@google.com>
6089
6090 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
6091
792317cc
ST
60922012-04-24 Sriraman Tallam <tmsriram@google.com>
6093
6094 * libgcc/config/i386/i386-cpuinfo.c: New file.
6095 * libgcc/config/i386/t-cpuinfo: New file.
6096 * libgcc/config.host: Include t-cpuinfo.
6097 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
6098
e1be98a4
CF
60992012-04-24 Chao-ying Fu <fu@mips.com>
6100
6101 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
6102
1bde7dab
TS
61032012-04-20 Thomas Schwinge <thomas@codesourcery.com>
6104
6105 struct siginfo vs. siginfo_t
6106
6107 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
6108 siginfo_t instead of struct siginfo.
6109 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
6110 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
6111 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
6112 (ia64_handle_unwabi): Likewise.
6113 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
6114 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
6115 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
6116 (sh_fallback_frame_state): Likewise.
6117 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
6118 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
6119
24590f66
L
61202012-04-02 H.J. Lu <hongjiu.lu@intel.com>
6121
6122 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
6123 system call number.
6124
9a9dcce8
EB
61252012-03-31 Eric Botcazou <ebotcazou@adacore.com>
6126
6127 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
6128 if it hasn't been previously saved.
6129
6401aaf5
L
61302012-03-29 H.J. Lu <hongjiu.lu@intel.com>
6131
6132 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
6133 only for glibc.
6134
7fd6378e
GJL
61352012-03-28 Georg-Johann Lay <avr@gjlay.de>
6136
6137 PR target/52737
6138 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
6139 instead of __AVR_HAVE_8BIT_SP__.
6140
9e916de7
TG
61412012-03-26 Tristan Gingold <gingold@adacore.com>
6142
6143 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
6144 (unw_table_entry): Use unw_word instead of unsigned long.
6145 (_Unwind_FindTableEntry): Likewise.
6146 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
6147 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
6148 (_Unwind_FindTableEntry): Likewise.
6149 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
6150 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
6151 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
6152 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
6153 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
6154 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
6155 (uw_init_context_1, uw_install_context): Likewise.
6156 (unw_word): Move to unwind-ia64.h
6157
4b12e93d
TG
61582012-03-26 Tristan Gingold <gingold@adacore.com>
6159
6160 * config/vms/vms-ucrt0.c: Update copyright years.
6161 Add a sanity check.
6162 (___gcc_main_flags): Declare.
6163 (__main): Check flags to remap argv and exit code.
6164 * config.host (*-*-*vms*): Adjust extra_parts.
6165 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
6166 (crt0.o): Add.
6167
06ea7371
RE
61682012-03-22 Richard Earnshaw <rearnsha@arm.com>
6169
6170 * arm/lib1funcs.asm (ctzsi2): New function.
6171 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
6172 * arm/t-linux (LIB1ASMFUNCS): Likewise.
6173 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
6174 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
6175 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
6176 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
6177
d82ad50d
AT
61782012-03-21 Andreas Tobler <andreast@fgznet.ch>
6179
6180 * config.host: Add bits to support powerpc64-*-freebsd*.
6181 * config/rs6000/freebsd-unwind.h: New file.
6182 * config/rs6000/t-freebsd64: New file.
6183
b260a8c0
RG
61842012-03-20 Richard Guenther <rguenther@suse.de>
6185
6186 PR gcov-profile/52627
6187 * libgcov.c (init_mx): Fix mutex name.
6188
86286a8a
TG
61892012-03-16 Tristan Gingold <gingold@adacore.com>
6190
6191 * config/ia64/vms-unwind.h: Remove ulong (and replace
6192 it by unw_reg where used). Define unw_reg with __int64.
6193
7888f266
RO
61942012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6195
6196 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
6197 Solaris 8 handling.
6198 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
6199 Solaris 8 handling.
6200 (sparc_is_sighandler): Likewise.
6201
f155bc64
L
62022012-03-13 H.J. Lu <hongjiu.lu@intel.com>
6203
6204 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
6205 <= saved reg size.
6206
d47657bd
RO
62072012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6208
6209 * config/arm/crtn.S: Fix typo.
6210
5bef73a1
RG
62112012-03-13 Richard Guenther <rguenther@suse.de>
6212
6213 * libgcov.c: Remove stdio.h include and NULL un-define.
6214
9c4271f3
RG
62152012-03-13 Richard Guenther <rguenther@suse.de>
6216
6217 PR target/52569
6218 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
6219
c6d10e7c
RG
62202012-03-13 Richard Guenther <rguenther@suse.de>
6221
6222 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
6223
074a385f
RG
62242012-03-13 Richard Guenther <rguenther@suse.de>
6225
6226 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
6227 and __gthread_mutex_init_function definitions.
6228
c4bc5c25
RO
62292012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6230
6231 * config.host (mips*-*-openbsd*): Remove.
6232
5c30094f
RO
62332012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6234
6235 * config.host: Remove alpha*-dec-osf5.1* handling.
6236 * config/alpha/gthr-posix.c: Remove.
6237 * config/alpha/libgcc-osf5.ver: Remove.
6238 * config/alpha/osf5-unwind.h: Remove.
6239 * config/alpha/t-osf-pthread: Remove.
6240 * config/alpha/t-slibgcc-osf: Remove.
6241 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
6242 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
6243 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
6244 * mkmap-flat.awk: Remove osf_export handling.
6245
33e3e24d
RG
62462012-03-12 Richard Guenther <rguenther@suse.de>
6247
6248 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
6249 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6250 (__gthread_mutex_init_function): New function.
6251 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6252
6253 PR gcov/49484
6254 * libgcov.c: Include gthr.h.
6255 (__gcov_flush_mx): New global variable.
6256 (init_mx, init_mx_once): New functions.
6257 (__gcov_flush): Protect self with a mutex.
6258 (__gcov_fork): Re-initialize mutex after forking.
6259 * unwind-dw2-fde.c: Change condition under which to use
6260 __GTHREAD_MUTEX_INIT_FUNCTION.
6261
d8aba32a
TG
62622012-03-12 Tristan Gingold <gingold@adacore.com>
6263
6264 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
6265 * config/ia64/t-vms: Likewise.
6266
75ffafdc
MH
62672012-03-11 Michael Hope <michael.hope@linaro.org>
6268
4a172156
UB
6269 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
6270 for Thumb-2.
75ffafdc 6271
ef6c2c53
WL
62722012-03-07 Walter Lee <walt@tilera.com>
6273
6274 * config/tilepro/atomic.c: Rename "atomic_" prefix to
6275 "arch_atomic_".
6276 (atomic_xor): Rename and move definition to
6277 config/tilepro/atomic.h.
6278 (atomic_nand): Ditto.
6279 * config/tilepro/atomic.h: Rename "atomic_" prefix to
6280 "arch_atomic_".
6281 (arch_atomic_xor): Move from config/tilepro/atomic.c.
6282 (arch_atomic_nand): Ditto.
6283
4e30d980
GJL
62842012-03-07 Georg-Johann Lay <avr@gjlay.de>
6285
6286 PR target/52507
6287 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
6288
61108225
GJL
62892012-03-07 Georg-Johann Lay <avr@gjlay.de>
6290
6291 PR target/52505
6292 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
6293 from RAM.
6294
b30e10ab
GJL
62952012-03-07 Georg-Johann Lay <avr@gjlay.de>
6296
6297 PR target/52461
6298 PR target/52508
6299 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
6300 if RAMPZ affects reading from RAM.
6301 (__tablejump_elpm__): Ditto.
6302 (.xload): Ditto.
6303 (__movmemx_hi): Ditto.
6304 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
6305 (__do_global_dtors): Ditto.
6306 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
6307 (__movmemx_hi): Ditto.
6308
8993fde4
RH
63092012-03-05 Richard Henderson <rth@redhat.com>
6310
6311 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
6312 [ARM] (count_trailing_zeros): Use the builtin.
6313
b7633ee3
KT
63142012-03-01 Kai Tietz <ktietz@redhat.com>
6315
6316 * soft-fp: Imported from glibc upstream.
6317
fbd3340c
KT
63182012-02-28 Kai Tietz <ktietz@redhat.com>
6319
6320 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
6321 for mingw-targets as attribute gcc_struct.
6322
e9e053eb
ILT
63232012-02-28 Ian Lance Taylor <iant@google.com>
6324
6325 * generic-morestack.c (__splitstack_releasecontext): Correct call
6326 to __morestack_release_segments.
6327
d80c632e
ST
63282012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6329
6330 PR target/52390
6331 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
6332 for __linux__ when removing signals from __morestack_fullmask.
6333
0253a8b1
GJL
63342012-02-23 Georg-Johann Lay <avr@gjlay.de>
6335
6336 PR target/52261
6337 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
6338
e10e461e
UW
63392012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6340
6341 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
6342 instead of HAVE_INITFINI_ARRAY.
6343 * config/ia64/crtend.S: Likewise.
6344
0c0c6398
KT
63452012-02-20 Kai Tietz <ktietz@redhat.com>
6346
d7470374
KT
6347 PR libstdc++/52300
6348 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
6349
0c0c6398
KT
6350 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
6351 to w32-unwind.h header.
6352
78c27266
RS
63532012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6354
6355 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
6356 (mips*-*-linux*): Remove t-slibgcc-libgcc.
6357 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
6358 * config/mips/mips16.S (__mips16_rdhwr): Delete.
6359
5adeb246
RS
63602012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6361
6362 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
6363
672ed313
IS
63642012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6365
6366 PR libitm/52220
6367 * config/darwin-crt-tm.c: Correct typo.
e9e053eb 6368
e948a1fb
IS
63692012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6370 Patrick Marlier <patrick.marlier@gmail.com>
6371
6372 PR libitm/52220
6373 * config/darwin-crt-tm.c: Generate dummy functions.
6374
6017aed3
IS
63752012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6376 Patrick Marlier <patrick.marlier@gmail.com>
6377
6378 PR libitm/52042
6379 * config/darwin-crt-tm.c (getTMCloneTable): New function.
6380 (__doTMRegistrations): Call it.
e9e053eb 6381 (__doTMdeRegistrations): Likewise.
6017aed3 6382
2da8c1ad 63832012-01-15 Georg-Johann Lay <avr@gjlay.de>
7d296953
JJ
6384 Anatoly Sokolov <aesok@post.ru>
6385 Eric Weddington <eric.weddington@atmel.com>
2da8c1ad
GJL
6386
6387 PR target/52261
6388 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
6389 (__epilogue_restores__): Ditto.
6390
0f952eb4
EB
63912012-02-15 Eric Botcazou <ebotcazou@adacore.com>
6392
6393 PR target/51921
6394 PR target/52205
6395 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
6396 Solaris 11 and slightly reformat.
6397 (sparc_is_sighandler): Likewise.
6398
dd552284
WL
63992012-02-14 Walter Lee <walt@tilera.com>
6400
6401 * config.host: Handle tilegx and tilepro.
6402 * config/tilegx/sfp-machine.h: New file.
6403 * config/tilegx/sfp-machine32.h: New file.
6404 * config/tilegx/sfp-machine64.h: New file.
6405 * config/tilegx/t-crtstuff: New file.
6406 * config/tilegx/t-softfp: New file.
6407 * config/tilegx/t-tilegx: New file.
6408 * config/tilepro/atomic.c: New file.
6409 * config/tilepro/atomic.h: New file.
6410 * config/tilepro/linux-unwind.h: New file.
6411 * config/tilepro/sfp-machine.h: New file.
6412 * config/tilepro/softdivide.c: New file.
6413 * config/tilepro/softmpy.S: New file.
6414 * config/tilepro/t-crtstuff: New file.
6415 * config/tilepro/t-tilepro: New file.
6416
b59cbd50
JW
64172012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
6418
6419 PR libstdc++/51296
6420 PR libstdc++/51906
6421 * gthr-posix.h: Allow static initializer macros to be disabled.
6422 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
6423
6caf807f
CLT
64242012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
6425
6426 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
6427 Add t-slibgcc-libgcc to tmake_file.
6428 * config/mips/libgcc-mips16.ver: Revert previous patch.
6429 * config/mips/mips16.S (__mips16_rdhwr): Hide.
6430
7d296953
JJ
64312012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
6432 Jayant R Sonar <jayant.sonar@kpitcummins.com>
b25364a0
S
6433
6434 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
6435 * config/cr16/crti.S: New file.
6436 * config/cr16/crtlibid.S: New file.
6437 * config/cr16/crtn.S: New file.
6438 * config/cr16/lib1funcs.S: New file.
6439 * config/cr16/t-cr16: New file.
6440 * config/cr16/t-crtlibid: New file.
6441 * config/cr16/unwind-dw2.h: New file.
6442 * config/cr16/unwind-cr16.c: New file.
6443 * config/cr16/divmodhi3.c: New file.
6444
8ef03aa7
AM
64452012-01-25 Alan Modra <amodra@gmail.com>
6446
6447 * config/rs6000/t-linux64: Delete. Move..
6448 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
6449 * config/rs6000/t-linux: ..and libgcc flags to here.
6450
daecebc8
DR
64512012-01-22 Douglas B Rupp <rupp@gnat.com>
6452
6453 * config.host (i[34567]86-*-interix3*):
8ef03aa7 6454 Change triplet to i[34567]86-*-interix[3-9]*.
daecebc8
DR
6455 * configure: Regenerate.
6456
ddaf8125
RS
64572012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
6458 Richard Sandiford <rdsandiford@googlemail.com>
6459
6460 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
6461 * config/mips/mips16.S (__mips16_rdhwr): New function.
6462 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
6463
2cd8b32c
NS
64642012-01-11 Nathan Sidwell <nathan@acm.org>
6465
6466 * libgcov.c (__gcov_init): Ignore objects with no functions.
6467
cba300dd
GJL
64682012-01-10 Georg-Johann Lay <avr@gjlay.de>
6469
6470 PR target/49868
6471 Extend __pgmx semantics to linearize memory.
6472 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
6473 * config/avr/lib1funcs.S (__xload_1): New function.
6474 (__movmemx_qi, __movmemx_hi): New functions.
6475 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
6476 semantics.
9ffaf4bc 6477
3d137660
EB
64782012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6479
6480 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
6481 purported sigacthandler address isn't null before dereferencing it.
6482 (sparc_is_sighandler): Likewise.
6483
bf4db96c
EB
64842012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6485
6486 PR ada/41929
6487 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
6488 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
6489 (sparc_is_sighandler): Likewise.
6490 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
6491
1ab3568b
TG
64922012-01-06 Tristan Gingold <gingold@adacore.com>
6493
6494 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
6495 compatibility thunks...
6496 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
6497 (crtbeginS.o, crtendS.o): ... and these to ...
6498 * config/ia64/t-ia64-elf: ... this new file.
6499 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
6500 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
6501
925b0ed8
AK
65022012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6503
6504 * configure: Regenerate.
6505 * config/s390/t-crtstuff: Remove -fPIC.
6506
a99ad737
JW
65072012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
6508
6509 PR bootstrap/51006
6510 * enable-execute-stack-mprotect.c (getpagesize): Do not define
6511 for NetBSD.
6512
884f56d1
GJL
65132012-01-02 Georg-Johann Lay <avr@gjlay.de>
6514
6515 PR target/51345
6516 * config/avr/lib1funcs.S: Remove FIXME comments.
6517 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
6518
8c57e547
GJL
65192012-01-02 Georg-Johann Lay <avr@gjlay.de>
6520
6521 Implement light-weight DImode support.
6522 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
6523 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
6524 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
6525 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
6526
04dbc287
NS
65272011-12-30 Nathan Sidwell <nathan@acm.org>
6528
6529 * libgcov.c (gcov_crc32): Remove global var.
6530 (free_fn_data): New function.
6531 (buffer_fn_data): Pass in filename, more robust error recovery.
6532 (crc32_unsigned): New function.
6533 (gcov_exit): More robust detection of new program. More robust
6534 error recovery.
6535 (__gcov_init): Do not update program's crc here.
6536
8e1d97d4
TG
65372011-12-21 Tristan Gingold <gingold@adacore.com>
6538
6539 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
6540
9ffaf4bc
ILT
65412011-12-21 Ian Lance Taylor <iant@google.com>
6542
6543 * config/i386/morestack.S: Simplify CFI opcodes throughout.
6544
a0c8d0c1
ILT
65452011-12-20 Ian Lance Taylor <iant@google.com>
6546
6547 * config/i386/morestack.S (__morestack_non_split): If there is
6548 enough stack space already, don't split. Ask for more stack space
6549 than we required.
6550
69048898
SDJ
65512011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
6552
6553 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
6554 `sys/sdt.h'.
6555 (_Unwind_DebugHook): New function.
6556 (uw_restore_core_regs): New define.
6557 (unwind_phase2): Use uw_restore_core_regs instead of
6558 restore_core_regs.
6559 (unwind_phase2_forced): Likewise.
6560 (__gnu_Unwind_Resume): Likewise.
6561
1bb4b6a3
UB
65622011-12-20 Uros Bizjak <ubizjak@gmail.com>
6563
6564 * config/alpha/linux-unwind.h: Update copyright years.
6565 (MD_FROB_UPDATE_CONTEXT): New define.
6566 (alpha_frob_update_context): New function.
6567
eb028768
RS
65682011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
6569
6570 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
6571 tmake_file rather replacing it.
6572
6a2045bf
IS
65732011-12-15 Iain Sandoe <iains@gcc.gnu.org>
6574
6575 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1bb4b6a3 6576 function is not used for PPC64.
6a2045bf
IS
6577 (save_world): Amend comments. Update the VRsave mask to reflect the
6578 saved regs.
6579 (rest_world): Update comments, do not clobber r10, do not use r8.
6580 (eh_rest_world_r10): Amend comments, do not use r8.
6581 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
6582 no longer used, move restore of CR and target address to the end of
6583 the routine.
6584
a13780a6
L
65852011-12-14 H.J. Lu <hongjiu.lu@intel.com>
6586
6587 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
6588 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
6589
d7288dfb
GJL
65902011-12-14 Georg-Johann Lay <avr@gjlay.de>
6591
6592 PR target/49313
6593 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
6594 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
6595
8d2c862d
EB
65962011-12-11 Eric Botcazou <ebotcazou@adacore.com>
6597
6598 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
6599
3447cae6
GJL
66002011-12-09 Georg-Johann Lay <avr@gjlay.de>
6601
6602 PR target/49313
6603 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
6604 * config/avr/lib1funcs.S (__muldi3): New function.
6605
806fc6aa
AP
66062011-12-06 Andrew Pinski <apinski@cavium.com>
6607
6608 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
6609 size of func_ptr.
6610 (__frame_dummy_init_array_entry): Likewise.
6611
28c5e6b5
GJL
66122011-12-06 Georg-Johann Lay <avr@gjlay.de>
6613
6614 Forward-port from gcc-4_6-branch r181936 2011-12-02.
6615
6616 PR target/51345
6617 PR target/51002
6618 * config/avr/lib1funcs.S (__prologue_saves__,
6619 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
6620 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
6621
8f90394a
IS
66222011-12-04 Iain Sandoe <iains@gcc.gnu.org>
6623
6624 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
6625
06dd33ac
JDA
66262011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6627
6628 PR other/51272
6629 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
6630 (_ITM_deregisterTMCloneTable): Likewise.
6631 (__register_frame_info): Fix unused warning.
6632 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
6633 pthread_default_stacksize_np): Likewise.
6634 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1bb4b6a3 6635
85b8555e
DD
66362011-11-29 DJ Delorie <dj@redhat.com>
6637
6638 * config.host (rl78-*-elf): New case.
6639 * config/rl78: New directory for the Renesas RL78.
6640
4d5ae4ea
BS
66412011-11-29 Bernd Schmidt <bernds@codesourcery.com>
6642
6643 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
6644 formatting.
6645
f9c55897
RO
66462011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6647
6648 PR other/51022
6649 * config/rs6000/t-savresfgpr: New file.
6650 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
6651 $(srcdir)/config/rs6000/eabi.S.
6652 * config/rs6000/t-ppccomm-ldbl: Remove.
6653 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
6654 tmake_file.
6655 (powerpc-*-eabispe*): Likewise.
6656 (powerpc-*-eabi*): Likewise.
6657 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
6658 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
6659 to tmake_file, remove rs6000/t-ppccomm-ldbl.
6660 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
6661 tmake_file.
6662 (powerpc-*-eabisim*): Likewise.
6663 (powerpc-*-elf*): Likewise.
6664 (powerpc-*-eabialtivec*): Likewise.
6665 (powerpc-xilinx-eabi*): Likewise.
6666 (powerpc-*-rtems*): Likewise.
6667 (powerpcle-*-elf*): Likewise.
6668 (powerpcle-*-eabisim*): Likewise.
6669 (powerpcle-*-eabi*): Likewise.
6670
a01207c4
ILT
66712011-11-27 Ian Lance Taylor <iant@google.com>
6672
6673 * generic-morestack.c (__splitstack_find): Check for NULL old
6674 stack value.
6675 (__splitstack_resetcontext): New function.
6676 (__splitstack_releasecontext): New function.
6677 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6678
2b0b8ab2
IS
66792011-11-27 Iain Sandoe <iains@gcc.gnu.org>
6680
6681 * config/darwin-crt-tm.c: Correct comments, use correct licence.
6682
c1d8101c
IS
66832011-11-27 Iain Sandoe <iains@gcc.gnu.org>
6684
6685 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
6686
8b281334
RH
66872011-11-26 Richard Henderson <rth@redhat.com>
6688
6689 * config/m68k/linux-atomic.c: New file.
6690 * config/m68k/t-linux: New file.
6691 * config.host (m68k-uclinux, m68k-linux): Use it.
6692
7546aa9d
RH
66932011-11-26 Richard Henderson <rth@redhat.com>
6694
6695 * crtstuff.c (__TMC_LIST__): Mark used not unused.
6696 (__TMC_END__): Only declare if hidden is available; in the definition,
6697 if hidden is unavailable add a null record.
6698 (deregister_tm_clones, register_tm_clones): New.
6699 (__do_global_dtors_aux, frame_dummy): Use them.
6700 (__do_global_dtors, __do_global_ctors_1): Likewise.
6701
e2362f5d
IS
67022011-11-22 Iain Sandoe <iains@gcc.gnu.org>
6703
6704 * config/darwin-crt-tm.c: New file.
6705 * config.host (darwin): Build crttms.o crttme.o to provide
6706 startup and shutdown for tm clones.
6707 * config/t-darwin (crttms.o): New build rule.
6708 (crttme.o): Likewise.
6709
6685dd96
HPN
67102011-11-21 Hans-Peter Nilsson <hp@axis.com>
6711
6712 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
6713 et al.
6714
b0dc7e4c
RH
67152011-11-21 Richard Henderson <rth@redhat.com>
6716
6717 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
6718 (__TMC_LIST__, __TMC_END__): New.
6719 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
6720 (__do_global_dtors): Likewise.
6721 (frame_dummy): Call _ITM_registerTMCloneTable.
6722 (__do_global_ctors_1): Likewise.
6723
d4b4b542
RO
67242011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6725
6726 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
6727 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
6728 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
6729 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
6730 * config/i386/t-darwin64: Remove.
6731 * config/sh/t-netbsd (LIB2ADD): Remove.
6732
989bdb74
GJL
67332011-11-21 Georg-Johann Lay <avr@gjlay.de>
6734
6735 PR target/49313
6736 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
6737 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
6738 * config/avr/lib1funcs.S (wmov): New assembler macro.
6739 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
6740 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
6741 (__udivmod64): New function.
6742 (__negdi2): New function.
6743
515a0cfc
GP
67442011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
6745
6746 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
6747 *-*-freebsd*aout*): Remove.
6748
0115d17f
HPN
67492011-11-20 Hans-Peter Nilsson <hp@axis.com>
6750
6751 * static-object.mk (c_flags-$o): Save c_flags.
6752 ($(base)$(objext)): Use it.
6753
93aeb62b
SE
67542011-11-18 Steve Ellcey <sje@cup.hp.com>
6755
6756 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
6757
7bc6df2c
GJL
67582011-11-18 Georg-Johann Lay <avr@gjlay.de>
6759
6760 PR target/49868
6761 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
6762 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
6763 New functions.
6764
425d737b
MGD
67652011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
6766
6767 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
6768 functions.
1bb4b6a3 6769 (aeabi_uidivmod): Likewise.
425d737b
MGD
6770 (umodsi3): Likewise.
6771 (divsi3): Likewise.
6772 (aeabi_idivmod): Likewise.
6773 (modsi3): Likewise.
6774
f2a176dc
TG
67752011-11-16 Tristan Gingold <gingold@adacore.com>
6776
6777 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
6778
7c209481
GJL
67792011-11-15 Georg-Johann Lay <avr@gjlay.de>
6780
6781 PR target/49868
6782 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
6783 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
6784
9dfd5832
JDA
67852011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6786
6787 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
6788 tmake_file list.
6789 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
6790 * config/pa/t-stublib64: Delete.
6791
f77dca5d
RH
67922011-11-12 Richard Henderson <rth@redhat.com>
6793
6794 * config/rs6000/linux-unwind.h (frob_update_context): Properly
6795 cast the pointer argument to _Unwind_SetGRPtr.
6796
902828f0
RO
67972011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6798
6799 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
6800
e14304ef
ILT
68012011-11-09 Ian Lance Taylor <iant@google.com>
6802
6803 * generic-morestack.c: Include <string.h>.
6804 (uintptr_type): Define.
6805 (struct initial_sp): Add dont_block_signals field. Reduce size of
6806 extra array by 1.
6807 (allocate_segment): Set prev field to NULL. Don't set
6808 __morestack_current_segment or __morestack_segments.
6809 (__generic_morestack): Update current->prev and *pp after calling
6810 allocate_segment.
6811 (__morestack_block_signals): Don't do anything if
6812 dont_block_signals is set.
6813 (__morestack_unblock_signals): Likewise.
6814 (__generic_findstack): Check for initial_sp == NULL. Add casts to
6815 uintptr_type.
6816 (__splitstack_block_signals): New function.
6817 (enum __splitstack_content_offsets): Define.
6818 (__splitstack_getcontext, __splitstack_setcontext): New functions.
6819 (__splitstack_makecontext): New function.
6820 (__splitstack_block_signals_context): New function.
6821 (__splitstack_find_context): New function.
6822 * config/i386/morestack.S (__morestack_get_guard): New function.
6823 (__morestack_set_guard, __morestack_make_guard): New functions.
6824 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6825
e3d871e4
RO
68262011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6827
6828 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
6829 (i[34567]86-*-mingw*): ... here.
6830 (x86_64-*-mingw*): ... here.
6831
e55cef40
RO
68322011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6833
6834 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
6835
5366b186
NS
68362011-11-07 Nathan Sidwell <nathan@acm.org>
6837
6838 * libgcov.c (struct gcov_fn_buffer): New struct.
6839 (buffer_fn_data): New helper.
6840 (gcov_exit): Rework for new gcov data structures.
6841
74155a6f
GJL
68422011-11-07 Georg-Johann Lay <avr@gjlay.de>
6843
6844 PR target/49313
6845 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
6846
200feb07
RO
68472011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6848
6849 * config.host (tmake_file): Correct comment.
6850 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
6851 t-libgcc-pic.
6852 (bfin*-uclinux*): Likewise.
6853 (bfin*-linux-uclibc*): Likewise.
6854 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
6855
6856 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
6857 assigning.
6858 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6859 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
6860 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6861 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
6862 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6863 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
6864 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
6865 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6866 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
6867 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
6868 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
6869 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
6870 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
6871
6872 * config/bfin/t-elf: Remove.
6873 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
6874
c9cd1a07
RO
68752011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6876
6877 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
6878 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
6879 (lm32-*-elf*, lm32-*-rtems*): Split into ...
6880 (lm32-*-elf*): ... this.
6881 (lm32-*-rtems*): ... and this.
6882 Add to tmake_file.
6883 (m32r-*-rtems*): Add to tmake_file.
6884 (moxie-*-rtems*): Likewise.
6885 (sparc-*-rtems*): Likewise.
6886 Remove t-rtems from tmake_file.
6887 (sparc64-*-rtems*): Likewise.
6888 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
6889 instead.
6890
9fbcc75d
RO
68912011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6892
6893 PR bootstrap/50982
6894 * config/gthr-posix.h: Move ...
6895 * gthr-posix.h: ... here.
6896 * config/gthr-lynx.h: Reflect this.
6897 * config/gthr-vxworks.h: Likewise.
6898 * config/rs6000/gthr-aix.h: Likewise.
6899 * configure.ac (target_thread_file): Likewise.
6900 * configure: Regenerate.
6901
76644b68
SH
69022011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
6903
6904 * config.host (arm*-*-rtemseabi*): New target.
6905
5e490f2a
JDA
69062011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6907
6908 PR other/50991
6909 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
6910 extra-parts.
6911
feeeff5c
JR
69122011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
6913
6914 * config.host (epiphany-*-elf*): New configuration.
6915 * config/epiphany: New Directory.
6916
d618bb2c
RC
69172011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
6918
6919 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
6920 * config/avr/t-rtems: New.
6921 Filter out _exit from LIB1ASMFUNCS.
6922
1bb6f778
DM
69232011-11-04 David S. Miller <davem@davemloft.net>
6924
6925 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
6926 * configure: Rebuild.
6927
9a7f7422
AK
69282011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6929
6930 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
6931 variable.
6932
e4fe948a
GJL
69332011-11-04 Georg-Johann Lay <avr@gjlay.de>
6934
6935 PR target/50931
6936 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
6937 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
6938
7084e037
JS
69392011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
6940
6941 PR target/50989
6942 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
6943
1a032034
RO
69442011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6945
6946 * config/c6x/t-elf (LIB2ADDEH): Set.
6947 * config/c6x/t-c6x-elf: Remove.
6948
d385f772
RO
69492011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6950
6951 * config/i386/sol2-ci.S: Rename to ...
6952 * config/i386/crti.S: ... this.
6953 * config/i386/sol2-cn.S: Rename to ...
6954 * config/i386/crtn.S: ... this.
6955 * config/sparc/sol2-ci.S: Rename to ...
6956 * config/sparc/crti.S: ... this.
6957 * config/sparc/sol2-cn.S: Rename to ...
6958 * config/sparc/crtn.S: ... this.
6959 * config/t-sol2 (CUSTOM_CRTIN): Remove.
6960 (crti.o, crtn.o): Remove.
6961
1ba878a9
TG
69622011-11-04 Tristan Gingold <gingold@adacore.com>
6963
6964 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
6965
02750c15
KK
69662011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
6967
6968 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
6969
bf86b067
HPN
69702011-11-03 Hans-Peter Nilsson <hp@axis.com>
6971
6972 * config.host (crisv32-*-none, cris-*-none): Remove.
6973 (crisv32-*-elf): Append to tmake_file, don't just set it.
6974 (cris-*-elf): Add missing t-fdpbit to tmake_file.
6975
d0bc53bd
RO
69762011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6977
6978 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
6979 (ecrtn$(objext)): Likewise.
6980 (ncrti$(objext)): Likewise.
6981 (ncrtn$(objext)): Likewise.
6982
036da830
AS
69832011-11-03 Andreas Schwab <schwab@redhat.com>
6984
6985 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
6986
d2a7d041
DM
69872011-11-02 David S. Miller <davem@davemloft.net>
6988
6989 * configure.ac: Set host_address on sparc too.
6990 * configure: Regenerate.
6991 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
6992 based upon host_address.
6993 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
6994
af8ed618
JM
69952011-11-02 Jason Merrill <jason@redhat.com>
6996
6997 * config/rs6000/t-ppccomm: Add missing \.
6998
5d1c8e77
RO
69992011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7000
7001 * gthr-single.h, gthr.h: New files.
7002 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
7003 config/gthr-vxworks.h, config/i386/gthr-win32.h,
7004 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
7005 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
7006 * config/i386/gthr-win32.c: Include "gthr-win32.h".
7007 * configure.ac (thread_header): New variable.
7008 Set it depending on target_thread_file.
7009 (gthr-default.h): Link from $thread_header.
7010 * configure: Regenerate.
7011 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
7012
852b75ed
RO
70132011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7014
7015 * configure.ac (tm_file_): New variable.
7016 Determine from tm_file.
7017 (tm_file, tm_defines): Substitute.
7018 * configure: Regenerate.
7019 * mkheader.sh: New file.
7020 * Makefile.in (clean): Remove libgcc_tm.h.
7021 ($(objects)): Depend on libgcc_tm.h.
7022 (libgcc_tm_defines, libgcc_tm_file): New variables.
7023 (libgcc_tm.h, libgcc_tm.stamp): New targets.
7024 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
7025 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
7026 ($(extra-parts)): Depend on libgcc_tm.h.
7027 * config.host (tm_defines, tm_file): New variable.
7028 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
7029 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
7030 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
7031 (avr-*-rtems*): Likewise.
7032 (avr-*-*): Likewise.
7033 (frv-*-elf): Likewise.
7034 (frv-*-*linux*): Likewise.
7035 (h8300-*-rtems*): Likewise.
7036 (h8300-*-elf*): Likewise.
7037 (i[34567]86-*-darwin*): Likewise.
7038 (x86_64-*-darwin*): Likewise.
7039 (rx-*-elf): Likewise.
7040 (tic6x-*-uclinux): Likewise.
7041 (tic6x-*-elf): Likewise.
7042 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
7043 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
7044 * config/i386/cygming-crtbegin.c: Likewise.
7045 * config/i386/cygming-crtend.c: Likewise.
7046 * config/ia64/fde-vms.c: Likewise.
7047 * config/ia64/unwind-ia64.c: Likewise.
7048 * config/libbid/bid_gcc_intrinsics.h: Likewise.
7049 * config/rs6000/darwin-fallback.c: Likewise.
7050 * config/stormy16/lib2funcs.c: Likewise.
7051 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
7052 * crtstuff.c: Likewise.
7053 * dfp-bit.h: Likewise.
7054 * emutls.c: Likewise.
7055 * fixed-bit.c: Likewise.
7056 * fp-bit.c: Likewise.
7057 * generic-morestack-thread.c: Likewise.
7058 * generic-morestack.c: Likewise.
7059 * libgcc2.c: Likewise.
7060 * libgcov.c: Likewise.
7061 * unwind-dw2-fde-dip.c: Likewise.
7062 * unwind-dw2-fde.c: Likewise.
7063 * unwind-dw2.c: Likewise.
7064 * unwind-sjlj.c: Likewise.
7065
f9989b51
RO
70662011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7067
7068 * configure.ac: Include ../config/picflag.m4.
7069 (GCC_PICFLAG): Call it.
7070 Substitute.
7071 * configure: Regenerate.
7072 * Makefile.in (gcc_srcdir): Remove.
7073 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
7074 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
7075 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
7076 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
7077 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
7078 Use $<.
7079 Remove comment.
7080 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
7081 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
7082 to refer to libgcc2.c.
7083 Use $<.
7084 * config/darwin-64.c: New file.
7085 * config/darwin-crt3.c: Remove comment.
7086 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
7087 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
7088 config/udivmodsi4.c: New files.
7089 * config/memcmp.c, config/memcpy.c, config/memmove.c,
7090 config/memset.c: New files.
7091 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
7092 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
7093 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
7094 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
7095 * config/t-openbsd-thread: New file.
7096 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
7097 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
7098 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
7099 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
7100 qrnnd.S.
7101 Adapt filename.
7102 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
7103 to refer to gthr-posix.c.
7104 * config/alpha/t-vms (LIB2ADD): Set.
7105 * config/alpha/vms-gcc_shell_handler.c: New file.
7106 * config/arm/bpabi.c, config/arm/fp16.c,
7107 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
7108 config/arm/unaligned-funcs.c: New files.
7109 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
7110 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7111 * config/arm/t-linux: Likewise.
7112 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
7113 * config/arm/t-netbsd: New file.
7114 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
7115 * config/arm/t-symbian (LIB2ADD_ST): Set.
7116 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
7117 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7118 * config/bfin/t-elf: New file.
7119 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
7120 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
7121 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
7122 config/c6x/ltf.c: New files.
7123 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
7124 (HOST_LIBGCC2_CFLAGS): Set.
7125 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
7126 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7127 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
7128 New files.
7129 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
7130 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
7131 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
7132 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
7133 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
7134 files.
7135 * config/frv/t-frv (LIB2ADD): Set.
7136 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7137 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
7138 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
7139 config/h8300/popcounthi2.c: New files.
7140 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7141 * config/i386/gthr-win32.c: New file.
7142 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
7143 * config/i386/t-cygwin: Likewise.
7144 * config/i386/t-darwin, config/i386/t-darwin64,
7145 config/i386/t-gthr-win32, config/i386/t-interix: New files.
7146 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
7147 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7148 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7149 * config/ia64/quadlib.c: New file.
7150 * config/ia64/t-hpux (LIB2ADD): Set.
7151 * config/ia64/t-ia64: Add comment.
7152 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
7153 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7154 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
7155 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
7156 * config/m32c/t-m32c (LIB2ADD): Set.
7157 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7158 * config/m32r/t-m32r: Likewise.
7159 * config/m68k/fpgnulib.c: New file.
7160 * config/m68k/t-floatlib (LIB2ADD): Set.
7161 (xfgnulib.c): New target.
7162 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
7163 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
7164 * config/mep/t-mep (LIB2ADD): Set.
7165 * config/microblaze/divsi3.asm: Rename to divsi3.S.
7166 * config/microblaze/moddi3.asm: Rename to moddi3.S.
7167 * config/microblaze/modsi3.asm: Rename to modsi3.S.
7168 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
7169 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
7170 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
7171 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
7172 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
7173 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
7174 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
7175 New files.
7176 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
7177 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
7178 * config/pa/fptr.c, config/pa/lib2funcs.S,
7179 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
7180 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7181 (LIB2ADD, LIB2ADD_ST): Set.
7182 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
7183 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
7184 Set.
7185 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
7186 * config/pdp11/t-pdp11: New file.
7187 * config/picochip/libgccExtras/adddi3.S,
7188 config/picochip/libgccExtras/ashlsi3.S,
7189 config/picochip/libgccExtras/ashrsi3.S,
7190 config/picochip/libgccExtras/clzsi2.S,
7191 config/picochip/libgccExtras/cmpsi2.S,
7192 config/picochip/libgccExtras/divmod15.S,
7193 config/picochip/libgccExtras/divmodhi4.S,
7194 config/picochip/libgccExtras/divmodsi4.S,
7195 config/picochip/libgccExtras/lshrsi3.S,
7196 config/picochip/libgccExtras/parityhi2.S,
7197 config/picochip/libgccExtras/popcounthi2.S,
7198 config/picochip/libgccExtras/subdi3.S,
7199 config/picochip/libgccExtras/ucmpsi2.S,
7200 config/picochip/libgccExtras/udivmodhi4.S,
7201 config/picochip/libgccExtras/udivmodsi4.S: New files.
7202 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
7203 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
7204 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
7205 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
7206 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
7207 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
7208 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
7209 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
7210 files.
7211 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
7212 (HOST_LIBGCC2_CFLAGS): Set.
7213 * config/rs6000/t-darwin64: New file.
7214 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
7215 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
7216 * config/rs6000/t-ppccomm (LIB2ADD): Add
7217 $(srcdir)/config/rs6000/tramp.S.
7218 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
7219 Add $(srcdir)/config/rs6000/eabi.S.
7220 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
7221 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
7222 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
7223 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
7224 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
7225 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
7226 * config/rs6000/tramp.S: New file.
7227 * config/s390/t-tpf: Remove.
7228 * config/sh/linux-atomic.S: New file.
7229 * config/sh/t-linux (LIB2ADD): Set.
7230 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
7231 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7232 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
7233 to unwind-dw2.c.
7234 (HOST_LIBGCC2_CFLAGS): Set.
7235 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7236 * config/spu/divmodti4.c, config/spu/divv2df3.c,
7237 config/spu/float_disf.c, config/spu/float_unsdidf.c,
7238 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
7239 config/spu/mfc_multi_tag_release.c,
7240 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
7241 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
7242 config/spu/multi3.c: New files.
7243 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
7244 (HOST_LIBGCC2_CFLAGS): Set.
7245 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
7246 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
7247 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
7248 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
7249 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
7250 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
7251 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
7252 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
7253 config/stormy16/umodsi3.c: New files.
7254 * config/xtensa/lib2funcs.S: New file.
7255 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7256 * config/xtensa/t-xtensa (LIB2ADD): Set.
7257 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
7258 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
7259 Add t-freebsd-thread to tmake_file for posix threads.
7260 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
7261 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
7262 (*-*-lynxos*): Likewise.
7263 (*-*-netbsd*): Likewise.
7264 (*-*-openbsd*): Likewise.
7265 Add t-openbsd-thread to tmake_file for posix threads.
7266 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
7267 (*-*-vxworks*): Set tmake_file.
7268 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7269 (alpha*-*-freebsd*): Likewise.
7270 (alpha*-*-netbsd*): Likewise.
7271 (alpha*-*-openbsd*): Likewise.
7272 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
7273 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7274 (alpha*-dec-*vms*): Likewise.
7275 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
7276 (bfin*-elf*): Add bfin/t-elf to tmake_file.
7277 (bfin*-uclinux*): Likewise.
7278 (bfin*-linux-uclibc*): Likewise.
7279 (crisv32-*-elf): Add cris/t-cris to tmake_file.
7280 (crisv32-*-none): Likewise.
7281 (cris-*-elf): Likewise.
7282 (cris-*-none): Likewise.
7283 (cris-*-linux*, crisv32-*-linux*): Likewise.
7284 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
7285 tmake_file.
7286 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
7287 tmake_file.
7288 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
7289 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
7290 (x86_64-*-elf*): Likewise.
7291 (i[34567]86-*-nto-qnx*): Likewise.
7292 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
7293 win32 threads.
7294 (x86_64-*-mingw*): Likewise.
7295 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
7296 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
7297 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7298 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7299 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
7300 tmake_file.
7301 (mipsisa64sr71k-*-elf*): Likewise.
7302 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7303 (mips-*-elf*, mipsel-*-elf*): Likewise.
7304 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7305 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7306 (mips*-*-rtems*): Likewise.
7307 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
7308 to tmake_file.
7309 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
7310 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
7311 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
7312 (spu-*-elf*): Likewise.
7313 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
7314
45b86625
RO
73152011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7316
7317 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
7318 $(srcdir) to refer to $(LIB1ASMSRC).
7319 Use $<.
7320 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
7321 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
7322 config/arm/lib1funcs.S: New files.
7323 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
7324 * config/arm/t-arm: New file.
7325 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
7326 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
7327 config/arm/t-strongarm-elf: New files.
7328 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
7329 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
7330 * config/avr/lib1funcs.S: New file.
7331 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7332 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
7333 * config/c6x/lib1funcs.S: New file.
7334 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7335 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
7336 * config/frv/lib1funcs.S: New file.
7337 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7338 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
7339 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
7340 * config/ia64/__divxf3.asm: Rename to ...
7341 * config/ia64/__divxf3.S: ... this.
7342 Adapt lib1funcs.asm filename.
7343 * config/ia64/_fixtfdi.asm: Rename to ...
7344 * config/ia64/_fixtfdi.S: ... this.
7345 Adapt lib1funcs.asm filename.
7346 * config/ia64/_fixunstfdi.asm: Rename to ...
7347 * config/ia64/_fixunstfdi.S: ... this.
7348 Adapt lib1funcs.asm filename.
7349 * config/ia64/_floatditf.asm: Rename to ...
7350 * config/ia64/_floatditf.S: ... this.
7351 Adapt lib1funcs.asm filename.
7352 * config/ia64/lib1funcs.S: New file.
7353 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
7354 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7355 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
7356 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
7357 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
7358 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
7359 * config/mep/lib1funcs.S: New file.
7360 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7361 * config/mips/mips16.S: New file.
7362 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7363 * config/pa/milli64.S: New file.
7364 * config/pa/t-linux, config/pa/t-linux64: New files.
7365 * config/picochip/lib1funcs.S: New file.
7366 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7367 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
7368 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
7369 * config/sh/t-netbsd: New file.
7370 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
7371 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
7372 * config/sh/t-sh64: New file.
7373 * config/sparc/lb1spc.S: New file.
7374 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
7375 filename.
7376 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
7377 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
7378 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
7379 config/xtensa/lib1funcs.S: New files.
7380 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7381 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
7382 tmake_file.
7383 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
7384 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
7385 (arm*-*-linux*): Likewise.
7386 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
7387 arm*-*-linux-*eabi, add arm/t-linux otherwise.
7388 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
7389 (arm*-*-ecos-elf): Likewise.
7390 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7391 (arm*-*-rtems*): Likewise.
7392 (arm*-*-elf): Likewise.
7393 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
7394 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
7395 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
7396 (bfin*-uclinux*): Likewise.
7397 (bfin*-linux-uclibc*): Likewise.
7398 (bfin*-rtems*): Likewise.
7399 (bfin*-*): Likewise.
7400 (fido-*-elf): Merge into m68k-*-elf*.
7401 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
7402 (frv-*-*linux*): Add frv/t-frv to tmake_file.
7403 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
7404 (h8300-*-elf*): Likewise.
7405 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
7406 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
7407 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
7408 (i[34567]86-*-mingw*): Likewise.
7409 (x86_64-*-mingw*): Likewise.
7410 (i[34567]86-*-interix3*): Likewise.
7411 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
7412 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
7413 (m68k-*-elf*): Also handle fido-*-elf.
7414 Add m68k/t-floatlib to tmake_file.
7415 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
7416 (m68k-*-linux*): Likewise.
7417 (m68k-*-rtems*): Likewise.
7418 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
7419 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
7420 sh64*-*-*.
7421 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
7422 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
7423 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
7424 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
7425 sh/t-netbsd to tmake_file.
7426 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
7427 (sh-*-rtems*): Add sh/t-sh to tmake_file.
7428 (sh-wrs-vxworks): Likewise.
7429 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
7430 *-leon[3-9]*.
7431 (v850*-*-*): Add v850/t-v850 to tmake_file.
7432 (vax-*-linux*): Add vax/t-linux to tmake_file.
7433 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
7434
5f73c6cc
RO
74352011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7436
7437 * crtstuff.c: New file.
7438 * Makefile.in (CRTSTUFF_CFLAGS): Define.
7439 (CRTSTUFF_T_CFLAGS): Define.
7440 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
7441 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
7442 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
7443 crtstuff.c.
7444 Use $<.
7445 (crtbeginT.o): Use $(objext).
7446 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
7447 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
7448 (gcc-extra-parts): Remove.
7449 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
7450 Set extra_parts.
7451 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7452 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
7453 Add t-crtstuff-pic to tmake_file.
7454 (*-*-lynxos*): New case.
7455 Set tmake_file, extra_parts.
7456 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
7457 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
7458 *-*-netbsdelf[2-9]*.
7459 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
7460 (*-*-rtems*): Set extra_parts.
7461 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
7462 (*-*-uclinux*): New case.
7463 Set extra_parts.
7464 (*-*-vms*): New case.
7465 Set tmake_file, extra_parts.
7466 (*-*-elf): Set extra_parts.
7467 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
7468 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
7469 vms/t-vms64.
7470 Set extra_parts.
7471 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
7472 Set extra_parts.
7473 (arm*-*-freebsd*): Add t-crtin to tmake_file.
7474 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
7475 (arm-wrs-vxworks): Append to tmake_file.
7476 Set extra_parts.
7477 (arm*-*-uclinux*): Set extra_parts.
7478 (arm*-*-ecos-elf): Likewise.
7479 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
7480 arm*-*-eabi*.
7481 (arm*-*-rtems*): Set extra_parts.
7482 (arm*-*-elf): Likewise.
7483 (avr-*-rtems*): Clear extra_parts.
7484 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
7485 Set extra_parts.
7486 (bfin*-uclinux*): Likewise.
7487 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
7488 (bfin*-rtems*): Append to tmake_file.
7489 Set extra_parts.
7490 (bfin*-*): Likewise.
7491 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
7492 (crisv32-*-elf): ... this.
7493 (crisv32-*-none): ... this.
7494 (cris-*-elf, cris-*-none): New cases.
7495 Add cris/t-elfmulti to tmake_file.
7496 (fr30-*-elf): Append to tmake_file.
7497 Set extra_parts.
7498 (frv-*-elf): Append to tmake_file, add frv/t-frv.
7499 Set extra_parts.
7500 (h8300-*-rtems*): Append to tmake_file.
7501 Set extra_parts.
7502 (h8300-*-elf*): Likewise.
7503 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
7504 Set extra_parts.
7505 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
7506 Set extra_parts.
7507 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
7508 (x86_64-*-elf*): Likewise.
7509 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
7510 (x86_64-*-freebsd*): Likewise.
7511 (x86_64-*-netbsd*): Likewise.
7512 (i[34567]86-*-linux*): Likewise.
7513 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
7514 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
7515 (x86_64-*-linux*): Likewise.
7516 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
7517 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
7518 tmake_file.
7519 Set extra_parts.
7520 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
7521 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
7522 Append to extra_parts, remove crtbegin.o, crtend.o.
7523 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
7524 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
7525 crtend.o, crtbeginS.o, crtendS.o.
7526 (ia64*-*-linux*): Comment extra_parts.
7527 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
7528 Set extra_parts.
7529 (iq2000*-*-elf*): Clear extra_parts.
7530 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
7531 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
7532 (m32r-*-elf*, m32r-*-rtems*): Split off ...
7533 (m32r-*-rtems*): ... this.
7534 Add m32r/t-m32r to tmake_file.
7535 (m68k-*-elf*): Add t-crtin to tmake_file.
7536 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
7537 (mcore-*-elf): Likewise.
7538 (microblaze*-*-*): Set extra_parts.
7539 (mips*-sde-elf*): New case.
7540 Set tmake_file, extra_parts.
7541 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7542 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7543 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
7544 tmake_file.
7545 Set extra_parts.
7546 (mipsisa64sr71k-*-elf*): Likewise.
7547 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7548 (mips-*-elf*, mipsel-*-elf*): Likewise.
7549 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7550 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
7551 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7552 (mips*-*-rtems*): Likewise.
7553 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
7554 (moxie-*-*): Split into ...
7555 (moxie-*-elf, moxie-*-uclinux*): ... this.
7556 Add to extra_parts, remove crtbegin.o, crtend.o.
7557 (moxie-*-rtems*): New case.
7558 Set tmake_file.
7559 Clear extra_parts.
7560 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
7561 Set extra_parts.
7562 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7563 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
7564 tmake_file.
7565 Set extra_parts.
7566 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
7567 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
7568 Set extra_parts.
7569 (powerpc-*-eabisim*): Likewise.
7570 (powerpc-*-elf*): Likewise.
7571 (powerpc-*-eabialtivec*): Likewise.
7572 (powerpc-xilinx-eabi*): Likewise.
7573 (powerpc-*-eabi*): Likewise.
7574 (powerpc-*-rtems*): Likewise.
7575 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
7576 tmake_file.
7577 Set extra_parts.
7578 (powerpc-*-lynxos*): Add to tmake_file.
7579 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
7580 rs6000/t-crtstuff, t-crtstuff-pic.
7581 Set extra_parts.
7582 (powerpcle-*-eabisim*): Likewise.
7583 (powerpcle-*-eabi*): Likewise.
7584 (rx-*-elf): Remove extra_parts.
7585 (s390x-ibm-tpf*): Set extra_parts.
7586 (score-*-elf): Set extra_parts.
7587 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7588 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7589 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7590 (sh64l*-*-netbsd*): Split into ...
7591 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
7592 Add t-crtstuff-pic to tmake_file.
7593 Set extra_parts.
7594 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
7595 Set extra_parts.
7596 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
7597 (sparc-*-elf*): Remove t-crtin from tmake_file.
7598 Add to extra_parts, remove crtbegin.o, crtend.o.
7599 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
7600 (sparc64-*-linux*): Likewise.
7601 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
7602 Add to extra_parts, remove crtbegin.o, crtend.o.
7603 (sparc64-*-elf*): Remove t-crtin from tmake_file.
7604 Add to extra_parts, remove crtbegin.o, crtend.o.
7605 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
7606 Add to extra_parts, remove crtbegin.o, crtend.o.
7607 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
7608 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
7609 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
7610 Set extra_parts.
7611 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
7612 Set extra_parts.
7613 (tic6x-*-*): Change to ...
7614 (tic6x-*-elf): ... this.
7615 Set extra_parts.
7616 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
7617 Set extra_parts.
7618 (am33_2.0-*-linux*): Add comment.
7619 (mep*-*-*): Add mep/t-mep to tmake_file.
7620 Set extra_parts.
7621 * config/alpha/t-vms: New file.
7622 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
7623 * config/arm/crti.S, config/arm/crtn.S: New files.
7624 * config/bfin/crti.S, config/bfin/crtn.S: New files.
7625 * config/bfin/crtlibid.S: New file.
7626 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
7627 * config/c6x/crti.S, config/c6x/crtn.S: New files.
7628 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
7629 (crti.o, crtin.o): New rules.
7630 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7631 * config/c6x/t-uclinux: New file.
7632 * config/cris/t-elfmulti: New file.
7633 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
7634 * config/fr30/crti.S, config/fr30/crtn.S: New files.
7635 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
7636 * config/frv/t-frv: New file.
7637 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
7638 * config/h8300/crti.S, config/h8300/crtn.S: New files.
7639 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
7640 New files.
7641 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
7642 refer to cygming-crtbegin.c, cygming-crtend.c.
7643 Use $<.
7644 * config/i386/t-nto: New file.
7645 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
7646 * config/ia64/crti.S, config/ia64/crtn.S: New files.
7647 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
7648 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
7649 Use .S extension.
7650 Use $<.
7651 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7652 (crtinitS.o): New rule.
7653 * config/ia64/vms-crtinit.S: New file.
7654 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
7655 * config/m32r/initfini.c: New file.
7656 * config/m32r/t-linux, config/m32r/t-m32r: New files.
7657 * config/m68k/crti.S, config/m68k/crtn.S: New files.
7658 * config/mcore/crti.S, config/mcore/crtn.S: New files.
7659 * config/mep/t-mep: New file.
7660 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
7661 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
7662 * config/mips/crti.S, config/mips/crtn.S: New files.
7663 * config/mips/t-crtstuff: New file.
7664 * config/mmix/crti.S, config/mmix/crtn.S: New files.
7665 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
7666 (CUSTOM_CRTIN): Set.
7667 ($(T)crti.o, $(T)crtn.o): Remove $(T),
7668 dependencies.
7669 Use $(srcdir) to refer to crti.S, crtn.S.
7670 Use .S extension, $<.
7671 * config/moxie/crti.asm: Rename to ...
7672 * config/moxie/crti.S: ... this.
7673 * config/moxie/crtn.asm: Rename to ...
7674 * config/moxie/crtn.S: ... this.
7675 * config/moxie/t-moxie: Remove.
7676 * config/pa/stublib.c: New file.
7677 * config/pa/t-stublib, config/pa/t-stublib64: New files.
7678 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
7679 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
7680 * config/rs6000/t-crtstuff: New file.
7681 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
7682 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
7683 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
7684 Make output file explicit.
7685 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
7686 Make output file explicit.
7687 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
7688 Make output file explicit.
7689 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
7690 Make output file explicit.
7691 * config/score/crti.S, config/score/crtn.S: New files.
7692 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
7693 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
7694 files.
7695 * config/sh/t-sh, config/sh/t-superh: New files.
7696 * config/sparc/t-linux64: New file.
7697 * config/spu/cache.S, config/spu/cachemgr.c: New files.
7698 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
7699 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
7700 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
7701 * config/t-crtin: Remove.
7702 * config/t-crtstuff-pic: New file.
7703 * config/t-sol2 (CUSTOM_CRTIN): Set.
7704 (crti.o, crtn.o): New rules.
7705 * config/vms/t-vms: New file.
7706 * config/vms/vms-ucrt0.c: New file.
7707 * config/xtensa/t-elf: New file.
7708
b040f2be
RO
77092011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7710
7711 * Makefile.in (SHLIB_NM_FLAGS): Set.
7712 * mkmap-flat.awk, mkmap-symver.awk: New files.
7713 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
7714 exceptions.
7715 * configure: Regenerate.
7716 * config/libgcc-glibc.ver: New file.
7717 * config/libgcc-libsystem.ver: New file.
7718 * config/t-libunwind (SHLIB_LC): Set.
7719 * config/t-linux: New file.
7720 * config/t-slibgcc (INSTALL_SHLIB): New.
7721 (SHLIB_INSTALL): Use it.
7722 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
7723 to mkmap-symver.awk.
7724 (SHLIB_MAPFILES): Don't append, adapt pathname.
7725 (SHLIB_VERPFX): Set.
7726 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
7727 to mkmap-symver.awk.
7728 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
7729 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
7730 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
7731 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
7732 to mkmap-flat.awk.
7733 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
7734 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
7735 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
7736 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
7737 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
7738 * config/i386/libgcc-darwin.10.4.ver,
7739 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
7740 New files.
7741 * config/i386/t-darwin: Remove.
7742 * config/i386/t-darwin64: Likewise.
7743 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
7744 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
7745 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
7746 * config/i386/t-linux: New file.
7747 * config/i386/t-mingw32: New file.
7748 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
7749 * config/ia64/t-glibc: Rename to ...
7750 * config/ia64/t-linux: ... this.
7751 (SHLIB_MAPFILES): Set.
7752 * config/ia64/t-glibc-libunwind: Rename to ...
7753 * config/ia64/t-linux-libunwind: ... this.
7754 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
7755 * config/ia64/t-slibgcc-hpux: New file.
7756 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
7757 * config/m68k/t-slibgcc-elf-ver: New file.
7758 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
7759 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
7760 to mkmap-flat.awk.
7761 * config/pa/t-slibgcc-hpux: New file.
7762 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
7763 files.
7764 * config/rs6000/libgcc-darwin.10.4.ver,
7765 config/rs6000/libgcc-darwin.10.5.ver: New files.
7766 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
7767 config/rs6000/libgcc-glibc.ver.
7768 * config/rs6000/libgcc-ppc64.ver: Rename to
7769 config/rs6000/libgcc-ibm-ldouble.ver.
7770 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
7771 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
7772 * config/rs6000/t-ldbl128: Rename to ...
7773 * config/rs6000/t-linux: ... this.
7774 (SHLIB_MAPFILES): Adapt filename.
7775 * config/rs6000/t-slibgcc-aix: New file.
7776 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
7777 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
7778 libgcc-excl.ver, libgcc-glibc.ver.
7779 (SHLIB_LINK, SHLIB_INSTALL): Remove.
7780 * config/sparc/libgcc-glibc.ver: New file.
7781 * config/sparc/t-linux: New file.
7782 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
7783 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
7784 t-slibgcc-elf-ver to tmake_file.
7785 Add t-slibgcc-nolc-override to tmake_file for posix threads on
7786 *-*-freebsd[34].
7787 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7788 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
7789 t-slibgcc-elf-ver, t-linux to tmake_file.
7790 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
7791 tmake_file.
7792 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
7793 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
7794 (alpha*-dec-*vms*): Likewise.
7795 (arm*-*-freebsd*): Append to tmake_file.
7796 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
7797 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
7798 arm*-*-linux-*eabi.
7799 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
7800 tmake_file for arm*-*-symbianelf*.
7801 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
7802 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
7803 cris/t-linux.
7804 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
7805 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
7806 pa/t-slibgcc-dwarf-ver to tmake_file.
7807 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
7808 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
7809 (hppa*64*-*-hpux11*): Likewise.
7810 (hppa[12]*-*-hpux11*): Likewise.
7811 (x86_64-*-darwin*): Don't override tmake_file, but only keep
7812 i386/t-crtpc, i386/t-crtfm.
7813 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
7814 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7815 to tmake_file.
7816 Add i386/t-cygwin to tmake_file.
7817 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
7818 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
7819 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7820 to tmake_file.
7821 Add i386/t-mingw32 to tmake_file.
7822 (x86_64-*-mingw*): Likewise.
7823 (ia64*-*-freebsd*): Append to tmake_file.
7824 (ia64*-*-linux*): Append to tmake_file.
7825 Replace ia64/t-glibc by ia64/t-linux.
7826 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
7827 system libunwind.
7828 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
7829 t-slibgcc-hpux to tmake_file.
7830 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
7831 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
7832 (m32rle-*-linux*): Likewise.
7833 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
7834 sjlj exceptions.
7835 (microblaze*-linux*): New case.
7836 Append to tmake_file, add t-slibgcc-nolc-override.
7837 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
7838 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7839 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
7840 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7841 rs6000/t-slibgcc-aix to tmake_file.
7842 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7843 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7844 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7845 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7846 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7847 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
7848 sh*-*-linux*.
7849 (sparc-*-linux*): Append to tmake_file for *-leon*.
7850 Add sparc/t-linux to tmake_file for non-Leon targets.
7851 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
7852 (tic6x-*-uclinux): New case.
7853 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
7854 (tic6x-*-*): Add c6x/t-elf to tmake_file.
7855 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
7856 (am33_2.0-*-linux*): Append to tmake_file.
7857 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
7858 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
7859 x86_64-*-kfreebsd*-gnu.
7860 Add i386/t-linux to tmake_file.
7861
18b4bd7b
ILT
78622011-10-28 Ian Lance Taylor <iant@google.com>
7863
7864 * config/i386/morestack.S: Correct CFI information to do proper
7865 returns throughout function. In 32-bit mode, save %ebx so that it
7866 is restored on unwind.
7867
5b2d9d90
BS
78682011-10-25 Bernd Schmidt <bernds@codesourcery.com>
7869
7870 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
7871 case where B3 isn't the return register.
7872
0d53e346
BS
7873 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
7874 logic for doubleword pops.
7875
cbffbd59
AT
78762011-10-25 Andreas Tobler <andreast@fgznet.ch>
7877
7878 * config/rs6000/t-freebsd: Add wildcard.
7879
56dc349e
PB
78802011-10-21 Paul Brook <paul@codesourcery.com>
7881
7882 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
7883
1e06b07d
UB
78842011-10-16 Uros Bizjak <ubizjak@gmail.com>
7885 Eric Botcazou <ebotcazou@adacore.com>
7886
7887 PR target/50737
7888 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
7889 fs->signal_frame to 1.
7890
b5204884
ILT
78912011-10-07 Ian Lance Taylor <iant@google.com>
7892
7893 * generic-morestack-thread.c: #include <errno.h>.
7894
91a639a1
ILT
78952011-10-07 Ian Lance Taylor <iant@google.com>
7896
7897 PR target/46093
7898 * generic-morestack.c (__generic_morestack): Make sure the segment
7899 is large enough for both the stack frame and the copied
7900 parameters.
7901
cc49116d
RO
79022011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7903
7904 PR bootstrap/49804
7905 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
7906 extra_parts.
7907
2996d8c3
NC
79082011-09-28 Nick Clifton <nickc@redhat.com>
7909
7910 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
7911 64-bit doubles are not enabled.
7912 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
7913 and floatunsisf functions.
7914
1e874273 79152011-09-13 Paul Brook <paul@codesourcery.com>
2996d8c3 7916
1e874273
PB
7917 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
7918 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
7919 * unwind-arm-common.inc: New file.
7920 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
7921 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
7922 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
7923 * config/c6x/libunwind.S: New file.
7924 * config/c6x/pr-support.c: New file.
7925 * config/c6x/unwind-c6x.c: New file.
7926 * config/c6x/unwind-c6x.h: New file.
7927 * config/c6x/t-c6x-elf: New file.
7928
f70c879a
UB
79292011-08-23 Uros Bizjak <ubizjak@gmail.com>
7930
7931 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
7932 (ASM_DIVZERO): Ditto.
7933 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
7934
c55b374b
RS
79352011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
7936
7937 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
7938
1e138510
RS
79392011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
7940
7941 PR target/50090
7942 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
7943 instead of an assembly one.
7944
1563503d
PB
79452011-08-12 Paolo Bonzini <bonzini@gnu.org>
7946
7947 PR bootstrap/50047
7948 * Makefile.in (install-unwind_h): Create
7949 $(gcc_objdir)/include/unwind.h atomically.
7950
3627ac1a
RO
79512011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7952
7953 * Makefile.in (install-unwind_h): Remove destination file first.
7954
c6412d86
RO
79552011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7956
7957 * sync.c: New file.
7958 * config/mips/t-mips16: New file.
7959 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
7960 (mips*-*-linux*): Likewise.
7961 (mips*-sde-elf*): Likewise.
7962 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
7963 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
7964 Add mips/t-mips16 to tmake_file.
7965 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
7966 (mips-*-elf*): Likewise.
7967 (mips64-*-elf*): Likewise.
7968 (mips64orion-*-elf*): Likewise.
7969 (mips*-*-rtems*): Likewise.
7970 (mipstx39-*-elf*): Likewise.
7971 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
7972 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
7973 LIBGCC_SYNC_CFLAGS.
7974 Use $(srcdir) to refer to sync.c.
7975 Use $<.
7976 ($(libgcc-sync-funcs-o)): Likewise.
7977 ($(libgcc-sync-size-funcs-s-o)): Likewise.
7978 ($(libgcc-sync-funcs-s-o)): Likewise.
7979
3cb6e5bd
AS
79802011-08-09 Andreas Schwab <schwab@linux-m68k.org>
7981
7982 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
7983 t-libunwind.
7984
cca2207a
L
79852011-08-08 H.J. Lu <hongjiu.lu@intel.com>
7986
7987 PR other/48007
7988 * config/i386/value-unwind.h: New.
7989
ed39fbad
RS
79902011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
7991
7992 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
7993 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
7994 Add to tmake_file rather than overriding it.
7995
aca0b0b3
RO
79962011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7997
7998 * config/t-softfp: Remove.
7999 * soft-fp: Moved from ../gcc/config.
8000 * soft-fp/README: Remove t-softfp reference.
8001 * soft-fp/t-softfp: Move to config/t-softfp.
8002 (softfp_machine_header): Remove.
8003 (softfp_file_list): Remove config subdir.
8004 (soft-fp-objects): New variable.
8005 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
8006 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
8007 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
8008 * config/t-softfp-excl: New file.
8009 * config/t-softfp-sfdf: New file.
8010 * config/t-softfp-tf: New file.
8011 * config/no-sfp-machine.h: New file.
8012 * config/arm/sfp-machine.h: New file.
8013 * config/arm/t-softfp: New file.
8014 * config/c6x/sfp-machine.h: New file.
8015 * config/i386/32/t-fprules-softfp: Rename to ...
8016 * config/i386/32/t-softfp: ... this.
8017 (tifunctions, LIB2ADD): Remove.
8018 (softfp_int_modes): Override.
8019 * config/i386/64/t-softfp-compat (tf-functions): Remove config
8020 subdir.
8021 * config/i386/64/eqtf2.c: Likewise.
8022 * config/i386/64/getf2.c: Likewise.
8023 * config/i386/64/letf2.c: Likewise.
8024 * config/ia64/sft-machine.h: New file.
8025 * config/ia64/t-fprules-softfp: Rename to ...
8026 * config/ia64/t-softfp: ... this.
8027 * config/lm32/sfp-machine.h: New file.
8028 * config/moxie/t-moxie-softfp: Remove.
8029 * config/rs6000/ibm-ldouble-format: New file.
8030 * config/rs6000/ibm-ldouble.c: New file.
8031 * config/rs6000/libgcc-ppc-glibc.ver: New file
8032 * config/rs6000/libgcc-ppc64.ver: New file
8033 * config/rs6000/sfp-machine.h: New file.
8034 * config/rs6000/t-freebsd: New file.
8035 * config/rs6000/t-ibm-ldouble: New file.
8036 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
8037 libgcc-ppc-glibc.ver.
8038 * config/rs6000/t-linux64: New file.
8039 * config/rs6000/t-ppccomm (LIB2ADD): Add
8040 $(srcdir)/config/rs6000/ibm-ldouble.c.
8041 * config/rs6000/t-ppccomm-ldbl: New file.
8042 * config/score/sfp-machine.h: New file.
8043 * config.host (sfp_machine_header): Explain.
8044 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
8045 t-softfp to tmake_file.
8046 (arm*-*-uclinux*): Likewise.
8047 (arm*-*-ecos-elf): Likewise.
8048 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
8049 (arm*-*-rtems*): Likewise.
8050 (arm*-*-elf): Likewise.
8051 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
8052 in tmake_file.
8053 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
8054 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
8055 (lm32-*-uclinux*): Likewise.
8056 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
8057 t-softfp-excl, t-softfp.
8058 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
8059 (powerpc64-*-darwin*): Likewise.
8060 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
8061 to tmake_file.
8062 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
8063 tmake_file.
8064 (powerpc-*-eabisim*): Likewise.
8065 (powerpc-*-elf*): Likewise.
8066 (powerpc-*-eabialtivec*): Likewise.
8067 (powerpc-xilinx-eabi*): Likewise.
8068 (powerpc-*-rtems*): Likewise.
8069 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
8070 t-softfp-excl, t-softfp to tmake_file.
8071 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
8072 rs6000/t-ppccomm-ldbl to tmake_file.
8073 (powerpcle-*-elf*): Likewise.
8074 (powerpcle-*-eabisim*): Likewise.
8075 (powerpcle-*-eabi*): Likewise.
8076 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8077 rs6000/t-ibm-ldouble to tmake_file.
8078 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8079 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8080 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
8081 (tic6x-*-*): Likewise.
8082 (i[34567]86-*-darwin*, x86_64-*-darwin*,
8083 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
8084 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
8085 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
8086 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
8087 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
8088 t-softfp to tmake_file.
8089 * configure.ac (sfp_machine_header): Provide default if unset.
8090 Substitute.
8091 Link sfp-machine.h to config/$sfp_machine_header.
8092 * configure: Regenerate.
8093
569dc494
RO
80942011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8095
8096 * Makefile.in (double_type_size, long_double_type_size): Set.
8097 Remove $(fpbit-in-libgcc) support.
8098 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
8099 (fpbit-src): New variable.
8100 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
8101 Compile with -DFLOAT $(FPBIT_CFLAGS).
8102 Use $<.
8103 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
8104 Compile with $(FPBIT_CFLAGS).
8105 Use $<.
8106 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
8107 Compile with -DFLOAT $(TPBIT_CFLAGS).
8108 Use $<.
8109 * configure.ac (double_type_size, long_double_type_size):
8110 Determine and substitute.
8111 * configure: Regenerate.
8112 * fp-bit.c, fp-bit.h: New files.
8113 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
8114 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
8115 * config/mips/t-mips: New file.
8116 * config/mips/t-sdemtk: New file.
8117 * config/rs6000/ppc64-fp.c: New file.
8118 * config/rs6000/t-darwin (LIB2ADD): Add
8119 $(srcdir)/config/rs6000/ppc64-fp.c.
8120 * config/rs6000/t-ppc64-fp: New file.
8121 * config/rx/rx-lib.h: New file.
8122 * config/rx/t-rx (FPBIT): Set to true.
8123 ($(gcc_objdir)/fp-bit.c): Remove.
8124 (DPBIT): Set to true only with -m64bit-doubles.
8125 ($(gcc_objdir)/dp-bit.c): Remove.
8126 * config/sparc/t-softfp: Remove.
8127 * config/spu/t-elf: New file.
8128 * config/t-fdpbit, config/t-fpbit: New files.
8129 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
8130 (mips*-*-*): Likewise.
8131 (arm-wrs-vxworks): Likewise.
8132 (arm*-*-freebsd*): Likewise.
8133 (avr-*-rtems*): Add t-fpbit to tmake_file.
8134 (avr-*-*): Likewise.
8135 (bfin*-elf*): Add t-fdpbit to tmake_file.
8136 (bfin*-uclinux*): Likewise.
8137 (bfin*-linux-uclibc*): Likewise.
8138 (bfin*-rtems*): New case.
8139 Add t-fdpbit to tmake_file.
8140 (bfin*-*): Add t-fdpbit to tmake_file.
8141 (crisv32-*-elf): Likewise.
8142 (cris-*-linux*): Likewise.
8143 (fr30-*-elf): Likewise.
8144 (frv-*-elf, frv-*-*linux*): Likewise.
8145 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
8146 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
8147 (m32r-*-elf*): Likewise.
8148 (m32rle-*-elf*): Likewise.
8149 (m32r-*-linux*): Likewise.
8150 (m32rle-*-linux*): Likewise.
8151 (mcore-*-elf): Add t-fdpbit to tmake_file.
8152 (microblaze*-*-*): Likewise.
8153 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
8154 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
8155 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
8156 Fix typo.
8157 Add mips/t-tpbit to tmake-file.
8158 (mips*-*-linux*): Fix typo.
8159 (mips*-sde-elf*): New case
8160 Add mips/t-sdemtk unless using newlib.
8161 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
8162 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
8163 (mn10300-*-*): Likewise.
8164 (pdp11-*-*): Likewise.
8165 (picochip-*-*): Add t-fpbit to tmake_file.
8166 (powerpc-*-eabisimaltivec*): Likewise.
8167 (powerpc-*-eabisim*): Likewise.
8168 (powerpc-*-elf*): Likewise.
8169 (powerpc-*-eabialtivec*): Likewise.
8170 (powerpc-xilinx-eabi*): New case.
8171 Add t-fdpbit to tmake_file.
8172 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
8173 (powerpc-*-rtems*): Likewise.
8174 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
8175 tmake_file.
8176 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
8177 tmake_file.
8178 (powerpc-*-lynxos*): Likewise.
8179 (powerpcle-*-elf*): Likewise.
8180 (powerpcle-*-eabisim*): Likewise.
8181 (powerpcle-*-eabi*): Likewise.
8182 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8183 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
8184 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8185 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8186 (rx-*-elf): Add t-fdpbit to tmake_file.
8187 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8188 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8189 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8190 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
8191 sh*-*-netbsd*.
8192 (sh-*-rtems*): Add t-fdpbit to tmake_file.
8193 (sh-wrs-vxworks): Likewise.
8194 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
8195 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
8196 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
8197 (sparc64-*-rtems*): ... new case.
8198 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
8199 (spu-*-elf*): Likewise.
8200 Add spu/t-elf to tmake_file.
8201 (v850*-*-*): Add t-fdpbit to tmake_file.
8202 (xstormy16-*-elf): Likewise.
8203 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
8204 (mep*-*-*): Likewise.
8205
201cdb74
RO
82062011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8207
8208 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
8209 variables.
8210 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
8211 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
8212 (install-unwind_h): New target.
8213 (all): Depend on it.
8214 * config.host (unwind_header): New variable.
8215 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
8216 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8217 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
8218 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
8219 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
8220 Set unwind_header.
8221 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
8222 Set unwind_header.
8223 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
8224 arm*-*-eabi*.
8225 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
8226 Set unwind_header.
8227 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
8228 (ia64*-*-freebsd*): Likewise.
8229 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
8230 tmake_file.
8231 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
8232 $with_system_libunwind.
8233 (ia64*-*-hpux*): Set tmake_file.
8234 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
8235 (picochip-*-*): Set tmake_file.
8236 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
8237 md_unwind_header.
8238 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8239 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8240 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
8241 (xtensa*-*-elf*): Set tmake_file.
8242 (xtensa*-*-linux*): Likewise.
8243 * configure.ac: Include ../config/unwind_ipinfo.m4.
8244 Call GCC_CHECK_UNWIND_GETIPINFO.
8245 Link unwind.h to $unwind_header.
8246 * configure: Regenerate.
8247 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
8248 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
8249 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
8250 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
8251 * config/unwind-dw2-fde-darwin.c: New file.
8252 * config/arm/libunwind.S, config/arm/pr-support.c,
8253 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
8254 config/arm/unwind-arm.h,: New files.
8255 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
8256 config/ia64/t-eh-ia64, config/ia64/t-glibc,
8257 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
8258 config/ia64/t-vms, config/ia64/unwind-ia64.c,
8259 config/ia64/unwind-ia64.h: New files.
8260 * config/picochip/t-picochip: New file.
8261 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
8262 files.
8263 * config/rs6000/t-darwin (LIB2ADDEH): Set.
8264 * config/s390/t-tpf (LIB2ADDEH): Remove.
8265 * config/t-darwin (LIB2ADDEH): Set.
8266 * config/t-eh-dw2-dip: New file.
8267 * config/t-libunwind, config/t-libunwind-elf: New files.
8268 * config/t-sol2 (LIB2ADDEH): Remove.
8269 * config/xtensa/t-xtensa: New file.
8270
40f2f11f
L
82712011-08-02 H.J. Lu <hongjiu.lu@intel.com>
8272
8273 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
8274 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
8275 long long to check rt_sigreturn syscall.
8276
bd15e32c
AM
82772011-08-02 Alan Modra <amodra@gmail.com>
8278
8279 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8280 Restore for indirect call bcrtl from correct stack slot, and only
8281 if cfa+40 isn't valid.
8282
655b30bf
JB
82832011-08-01 Julian Brown <julian@codesourcery.com>
8284
8285 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
8286 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
8287 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
8288
247eb06f
JB
82892011-08-01 Julian Brown <julian@codesourcery.com>
8290
8291 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
8292 (libgcc-std.ver.in): Use above.
8293 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
8294 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
8295 throughout file.
8296 * config/t-fixedpoint-gnu-prefix: New file.
8297 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
8298 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
8299 instead of __PFX__.
8300
02a8fe00
L
83012011-07-28 H.J. Lu <hongjiu.lu@intel.com>
8302
8303 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
8304 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
8305 for x86-64. Properly check __x86_64__ and __LP64__.
8306
5fce9126
L
83072010-07-28 H.J. Lu <hongjiu.lu@intel.com>
8308
8309 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
8310 version.
8311 (_FP_WS_TYPE): Likewise.
8312 (_FP_I_TYPE): Likewise.
8313
2374a88a
AM
83142011-07-28 Alan Modra <amodra@gmail.com>
8315
8316 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8317 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
8318 in a plt call stub. Do restore r2 if stopped on bctrl.
8319
e44dbbe1
RO
83202011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8321
8322 * config.host (i[3456x]86-*-netware*): Remove.
8323 * config/i386/netware-crt0.c, config/i386/t-nwld,
8324 config/i386/t-slibgcc-nwld: Remove.
8325
bcead286
BS
83262011-07-15 Bernd Schmidt <bernds@codesourcery.com>
8327
8328 * config.host: Handle tic6x-*-*.
8329 * config/c6x/c6x-abi.h: New file.
8330
b3fe1584
RO
83312011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8332
8333 * config/i386/crtprec.c: New file.
8334 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
8335 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
8336 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
8337 (x86_64-*-darwin*): Likewise.
8338 (i[34567]86-*-solaris2*: Likewise.
8339
35d8090d
RO
83402011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8341
8342 * config/alpha/crtfastmath.c: New file.
8343 * config/i386/crtfastmath.c: New file.
8344 * config/ia64/crtfastmath.c: New file.
8345 * config/mips/crtfastmath.c: New file.
8346 * config/sparc/crtfastmath.c: New file.
8347
8348 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
8349 crtfastmath.c.
8350 Add -frandom-seed=gcc-crtfastmath.
8351 * config/alpha/t-crtfm: Remove.
8352 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
8353 * config/ia64/t-ia64 (crtfastmath.o): Remove.
8354
8355 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
8356 (alpha*-dec-osf5.1*): Likewise.
8357 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
8358 Add crtfastmath.o to extra_parts.
8359 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
8360 Add crtfastmath.o to extra_parts.
8361 (x86_64-*-darwin*): Likewise.
8362 (x86_64-*-mingw*): Likewise.
8363 (ia64*-*-elf*): Add t-crtfm to tmake_file.
8364 (ia64*-*-freebsd*): Likewise.
8365 (ia64*-*-linux*): Likewise.
8366 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
8367 Add crtfastmath.o to extra_parts.
8368
e141542e
RO
83692011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8370
8371 * config/darwin-crt3.o: New file.
8372 * config/rs6000/darwin-crt2.c: New file.
8373 * config/t-darwin: New file.
8374 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
8375 (crt2.o): New rule.
8376 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
8377 (powerpc-*-darwin*): Add crt2.o to extra_parts.
8378 (powerpc64-*-darwin*): Likewise.
8379
2d1efe2d
RO
83802011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8381
8382 * config/i386/netware-crt0.c: New file.
8383 * config/i386/t-nwld: Rename to ...
8384 * config/i386/t-slibgcc-nwld: ... this.
8385 * config/i386/t-nwld: New file.
8386 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
8387 tmake_file.
8388 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
8389 extra_parts.
8390
4a8bb046
RO
83912011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8392
8393 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
8394 i386/t-crtstuff.
8395 * configure: Regenerate.
8396
2d8d5935
RO
83972011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8398
8399 * dfp-bit.c, dfp-bit.h: New files.
8400 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
8401 variables.
8402 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
8403 ($(d64pbit-o)): Likewise.
8404 ($(d128pbit-o)): Likewise.
8405 * config/t-dfprules: New file.
8406 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
8407 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
8408 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8409 (x86_64-*-linux*): Likewise.
8410 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8411 (i[34567]86-*-cygwin*): Likewise.
8412 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
8413 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8414
2c50b2c3
RO
84152011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8416
8417 * Makfile.in (LIBGCOV): New variable.
8418 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
8419 * libgcov.c: New file.
8420
a039d7c2
RO
84212011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8422
8423 * fixed-bit.c, fixed-bit.h: New files.
8424 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
8425 refer to fixed-bit.c.
8426
1e4b2746
JM
84272011-07-07 Joseph Myers <joseph@codesourcery.com>
8428
8429 * config.host (*local*): Remove.
8430
fbdd5d87
RO
84312011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8432
8433 PR target/39150
8434 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
8435 like i?86-*-solaris2.1[0-9]*.
8436 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
8437 * configure.ac (i?86-*-solaris2*): Likewise.
8438 * configure: Regenerate.
8439
9e7714f4
TS
84402011-07-06 Thomas Schwinge <thomas@schwinge.name>
8441
8442 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8443 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
8444 md_unwind_header by splitting out of...
8445 (i[34567]86-*-linux*): ... this.
8446 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
8447 Remove md_unwind_header by splitting out of...
8448 (x86_64-*-linux*): ... this.
8449
6dab9931
GJL
84502011-07-04 Georg-Johann Lay <avr@gjlay.de>
8451
8452 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
8453
4be46d19
NC
84542011-06-28 Nick Clifton <nickc@redhat.com>
8455
8456 * config.host: Recognize all V850 variants.
8457
1da9434b
UB
84582011-06-22 Uros Bizjak <ubizjak@gmail.com>
8459
8460 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
8461
e4d48a4d
RO
84622011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8463
8464 * shared-object.mk (c_flags-$o): Save c_flags.
8465 ($(base)$(objext)): Use it.
8466 ($(base)_s$(objext)): Likewise.
8467
3801c801
BS
84682011-06-21 Bernd Schmidt <bernds@codesourcery.com>
8469
8470 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
8471 * libgcc-std.ver.in (GCC_4.7.0): New section.
8472
0ad8bb3b 84732011-06-16 Georg-Johann Lay <avr@gjlay.de>
1da9434b 8474
0ad8bb3b
GJL
8475 PR target/49313
8476 PR target/29524
8477 * config/avr/t-avr: Fix line endings.
8478 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
8479 _parityXX2.
8480
ea963999
OH
84812011-06-14 Olivier Hainque <hainque@adacore.com>
8482 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8483
8484 * config/mips/irix6-unwind.h: New file.
8485 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
8486
b11b0904
EB
84872011-06-10 Eric Botcazou <ebotcazou@adacore.com>
8488
8489 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
8490 (sparc64_fallback_frame_state): Use it.
8491 (sparc64_frob_update_context): Further adjust context.
8492 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
8493 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
8494 * config/sparc/sol2-cn.S: Likewise.
8495
10e48e39
RO
84962011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8497
8498 * enable-execute-stack-empty.c: New file.
8499 * enable-execute-stack-mprotect.c: New file.
8500 * config/i386/enable-execute-stack-mingw32.c: New file.
8501 * config.host (enable_execute_stack): New variable.
8502 Select appropriate variants.
8503 * configure.ac: Link enable-execute-stack.c to
8504 $enable_execute_stack.
8505 * configure: Regenerate.
8506 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
8507 (lib2funcs): Remove _enable_execute_stack.
8508
10c4cabc
DM
85092011-06-09 David S. Miller <davem@davemloft.net>
8510 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8511
8512 * config.host (sparc-*-linux*): Correct md_unwind_header
8513 filename.
8514 (s390x-ibm-tpf*): Fix typo.
8515
aa4203e7
RO
85162011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8517
8518 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
8519 Add crtfastmath.o to extra_parts.
8520 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
8521 mips/t-crtfm.
8522 * config/mips/t-crtfm: Remove.
8523
0defd786
JDA
85242011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8525
8526 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
8527
82f247af
KK
85282011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
8529
8530 * config.host (sh*-*-linux*): Fix typo.
8531
58cd1d70
RO
85322011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8533
8534 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
8535 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
8536 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
8537 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
8538 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
8539 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
8540 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
8541 Wrap in !__MINGW64__.
8542 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
8543 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
8544 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
8545 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
8546 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
8547 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
8548 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
8549 Wrap in !__LP64__.
8550 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
8551 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
8552 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
8553 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
8554 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
8555 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
8556 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
8557 * config/no-unwind.h: New file.
8558 * config.host (md_unwind_header): Document.
8559 Define.
8560 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
8561 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
8562 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
8563 hppa[12]*-*-hpux11*): Set md_unwind_header.
8564 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
8565 Set md_unwind_header.
8566 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
8567 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
8568 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
8569 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
8570 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
8571 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
8572 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
8573 md_unwind_header.
8574 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
8575 * configure: Regenerate.
8576
737346fa
RO
85772011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8578
8579 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
8580 Set tmake_file, extra_parts.
8581 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
8582 Remove O32 support.
8583 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
8584 Remove O32 support.
8585 * config/mips/t-irix6: New file.
8586 * config/mips/t-slibgcc-irix: New file.
8587
c192cee6
RO
85882011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8589
8590 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
8591 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
8592
ee33b5f0
RO
85932011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8594
8595 * configure.ac (target_thread_file): Determine thread model.
8596 * configure: Regenerate.
8597 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
8598 * config/alpha/t-alpha: New file.
8599 * config/alpha/t-crtfm: Use $<.
8600 * config/alpha/t-ieee: New file.
8601 * config/alpha/t-osf-pthread: New file.
8602 * config/alpha/t-slibgcc-osf: New file.
8603 * config/alpha/libgcc-osf5.ver: New file.
8604
0699e415
RO
86052011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8606
8607 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
8608 tmake_file.
8609 Add crtfastmath.o to extra_parts.
8610
a3fab9c2
RO
86112011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8612
8613 * config/gmon-sol2.c: Reindent.
8614 Cleanup comments.
8615 Remove, correct casts.
8616 Use STDERR_FILENO, NULL.
8617 (BASEADDRESS): Remove.
8618 (minbrk): Remove.
8619 (errno, sbrk): Remove declarations.
8620 (monstartup) [hp300]: Remove.
8621 (mcount): Remove.
8622
ca24c5ad
RO
86232011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8624
8625 * Makefile.in (cpu_type): Define.
8626 * config.host (i[34567]86-*-rtems*): Handle it.
8627 (i[34567]86-*-solaris2*): Move body ...
8628 (*-*-solaris2*): ... here.
8629 New case, generalize.
8630 (sparc-*-elf*): Handle it.
8631 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
8632 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
8633 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
8634 Fold into ...
8635 (sparc*-*-solaris2*): ... this.
8636 New case.
8637 (sparc64-*-elf*): Handle it.
8638 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
8639 Merge ../gcc/config/i386/gmon-sol2.c.
8640 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
8641 Use C comments.
8642 Merge ../gcc/config/i386/sol2-gc1.asm.
8643 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
8644 Use C comments.
8645 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
8646 Use C comments.
8647 * config/i386/t-crtfm (crtfastmath.o): Use $<.
8648 * config/i386/t-crtstuff: New file.
8649 * config/i386/t-softfp: New file.
8650 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
8651 $(T)crti.o, $(T)crtn.o): Remove.
8652 (gcrt1.o): New rule.
8653 (TARGET_LIBGCC2_CFLAGS): Remove.
8654 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
8655 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
8656 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
8657 * config/sparc/t-sol2: New file.
8658 * config/sparc/t-crtfm: Move to ...
8659 * config/t-crtfm: ... this.
8660 Use $(cpu_type), $<.
8661 * config/t-crtin: New file.
8662 * config/sparc/t-softfp: New file.
8663 * config/sparc/t-softmul: New file.
8664 * config/t-rtems: New file.
8665 * config/t-slibgcc: New file.
8666 * config/t-slibgcc-elf-ver: New file.
8667 * config/t-slibgcc-gld: New file.
8668 * config/t-slibgcc-sld: New file.
8669 * config/t-sol2: New file.
8670 * configure.ac: Include ../config/lib-ld.m4.
8671 Call AC_LIB_PROG_LD_GNU.
8672 Substitute cpu_type.
8673 * configure: Regenerate.
8674
ad5f3d7b
BS
86752011-05-27 Bernd Schmidt <bernds@codesourcery.com>
8676
8677 PR bootstrap/49173
8678 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
8679 libgcc-std.ver in the build directory.
8680 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
8681 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
8682
cdbf4541
BS
86832011-05-25 Bernd Schmidt <bernds@codesourcery.com>
8684
8685 * libgcc-std.ver.in: New file.
8686 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
8687 variables.
8688 (libgcc-std.ver): New rule.
8689 * config/t-gnu-prefix: New file.
8690
c8028650
RO
86912011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8692
8693 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
8694
4a68b4ca
JM
86952011-05-10 Joseph Myers <joseph@codesourcery.com>
8696
8697 * config/i386/darwin-lib.h: New file.
8698
80cf2e08
JM
86992011-05-10 Joseph Myers <joseph@codesourcery.com>
8700
8701 * config/arm/symbian-lib.h: New.
8702
a3330c9d
CD
87032011-05-04 Chris Demetriou <cgd@google.com>
8704
8705 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
8706 (__x86.get_pc_thunk.bx): ...this.
8707 (__morestack): Adjust for rename, remove undef of __i686.
8708
6ace0756
CD
87092011-05-03 Chris Demetriou <cgd@google.com>
8710
8711 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
8712
ebb9f8b0
JM
87132011-03-22 Joseph Myers <joseph@codesourcery.com>
8714
8715 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
8716 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
8717 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
8718 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
8719 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
8720 Remove cases.
8721
9cfa1499
AT
87222011-03-14 Andreas Tobler <andreast@fgznet.ch>
8723
8724 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
8725 Adjust copyright year.
8726
457186f6
ILT
87272011-03-07 Ian Lance Taylor <iant@google.com>
8728
8729 * generic-morestack.c (__splitstack_find): Adjust returned stack
8730 pointer to include all registers pushed by __morestack.
8731
58c741a6
DK
87322011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
8733
8734 PR target/40125
8735 * configure.ac: Call ACX_NONCANONICAL_TARGET.
8736 (toolexecdir): Calculate and AC_SUBST.
8737 (toolexeclibdir): Likewise.
8738 * Makefile.in (target_noncanonical): Import.
8739 (toolexecdir): Likewise.
8740 (toolexeclibdir): Likewise.
8741 * configure: Regenerate.
8742
26716c44
NF
87432010-12-13 Nathan Froyd <froydnj@codesourcery.com>
8744
8745 PR target/46040
8746 * config/arm/bpabi.h: Rename to...
8747 * config/arm/bpabi-lib.h: ...this.
8748
b595b1a1
RO
87492010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8750
8751 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
8752 appropriate.
8753 * configure: Regenerate.
8754
a3abe41c
NF
87552010-11-24 Nathan Froyd <froydnj@codesourcery.com>
8756
8757 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
8758 __FLOAT_WORD_ORDER__.
8759 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
8760 Delete.
8761
455c8f48
RW
87622010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8763
8764 PR other/46202
8765 * Makefile.in (install-strip): New phony target.
8766
f3824a8b
ILT
87672010-11-07 Ian Lance Taylor <iant@google.com>
8768
8769 PR target/46089
8770 * config/i386/morestack.S (__morestack_large_model): New
8771 function.
8772
18ed6ee4
NF
87732010-10-23 Nathan Froyd <froydnj@codesourcery.com>
8774
8775 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
8776 Delete.
8777 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
8778
8ac7fdcb
NF
87792010-10-14 Nathan Froyd <froydnj@codesourcery.com>
8780
8781 * config/arm/bpabi.h: New file.
8782 * config/frv/frv-abi.h: New file.
8783
cdb388c2
ILT
87842010-10-01 Ian Lance Taylor <iant@google.com>
8785
8786 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
8787 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
8788
ef7c141c
L
87892010-10-01 H.J. Lu <hongjiu.lu@intel.com>
8790
8791 PR target/45858
8792 * config.host: Add the missing `$'.
8793
80920132
ME
87942010-09-30 Michael Eager <eager@eagercon.com>
8795
8796 * config.host: Add microblaze*-*-*.
8797 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
8798 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
8799 udivsi3.asm,umodsi3.asm}: New.
8800
6dace308
ILT
88012010-09-28 Ian Lance Taylor <iant@google.com>
8802
8803 * configure.ac: Adjust CFI test to test assembler directly rather
8804 than checking gcc preprocessor macro.
8805 * configure: Rebuild.
8806
b6110d6d
ILT
88072010-09-27 Ian Lance Taylor <iant@google.com>
8808
8809 * configure.ac: Test whether assembler supports CFI directives.
8810 * config.host: Only add t-stack and i386/t-stack-i386 to
8811 tmake_file if libgcc_cv_cfi is "yes".
8812 * configure: Rebuild.
8813
7458026b
ILT
88142010-09-27 Ian Lance Taylor <iant@google.com>
8815
8816 * generic-morestack.h: New file.
8817 * generic-morestack.c: New file.
8818 * generic-morestack-thread.c: New file.
8819 * config/i386/morestack.S: New file.
8820 * config/t-stack: New file.
8821 * config/i386/t-stack-i386: New file.
8822 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
8823 i386/t-stack-i386 to tmake_file.
8824
5b50fc0c
IS
88252010-09-21 Iain Sandoe <iains@gcc.gnu.org>
8826
8827 * Makefile.in (libgcc-extra-parts): Check for static archives and
8828 invoke ranlib after installing them.
8829 (gcc-extra-parts): Likewise.
8830 (install-leaf): Likewise.
8831
b93cf342
L
88322010-09-14 H.J. Lu <hongjiu.lu@intel.com>
8833
8834 * configure: Regenerated.
8835
996b42ef
KT
88362010-09-10 Kai Tietz <kai.tietz@onevision.com>
8837
b93cf342 8838 * configure: Regenerated.
996b42ef 8839
be1c764e
GP
88402010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
8841 Andrew Pinski <pinskia@gmail.com>
8842
1da9434b 8843 PR target/40959
be1c764e
GP
8844 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
8845
cc0ae0ca
L
88462010-09-06 H.J. Lu <hongjiu.lu@intel.com>
8847
8848 PR target/45524
8849 * configure: Regenerated.
8850
84f47d20
AS
88512010-09-06 Andreas Schwab <schwab@redhat.com>
8852
8853 * configure: Regenerate.
8854
4159fb8d
UB
88552010-09-03 Uros Bizjak <ubizjak@gmail.com>
8856
8857 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
8858 64bit targets.
8859 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
8860 for 64bit targets.
8861
0df8fcc8
UB
88622010-09-03 Uros Bizjak <ubizjak@gmail.com>
8863 Iain Sandoe <iains@gcc.gnu.org>
8864
8865 PR target/45476
8866 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
8867 LIB2FUNCS_EXCLUDE functions.
8868
3c39bca6
AK
88692010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8870
8871 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
8872 Include dfp.m4.
8873 * configure: Regenerate.
8874
d78552bd
UB
88752010-09-01 Uros Bizjak <ubizjak@gmail.com>
8876
8877 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
8878 i386/t-freebsd to tmake_file.
8879 * config/i386/t-freebsd: New file.
8880 * config/i386/libgcc-bsd.ver: New file.
8881
c5b79d4e
NF
88822010-07-23 Nathan Froyd <froydnj@codesourcery.com>
8883
8884 * config.host (powerpc*-eabispe*): Set tmake_file.
8885 (powerpc*-eabi*): Likewise.
8886 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
8887 crtbeginS, crtendS, crtbeginT.
8888
48b09a92
KH
88892010-06-12 Kazu Hirata <kazu@codesourcery.com>
8890
8891 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
8892 to tmake_file. Add crtfastmath.o to extra_parts.
8893 * config/mips/t-crtfm: New.
8894
7d296953 88952010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
a4389204
JS
8896
8897 * config.host (sparc64-*-rtems*): New target.
8898
ed104137
RO
88992010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8900
8901 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
8902 assembler syntax.
8903
3f56ef8b
TS
89042010-04-15 Thomas Schwinge <tschwinge@gnu.org>
8905
8906 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
8907
8c200350
RO
89082010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8909
8910 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
8911 alpha-dec-osf5.0* support.
8912
7d296953 89132010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
c1b14424
RC
8914
8915 * config.host: Add lm32-*-rtems*.
8916
f128db92 89172010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7d296953 8918 Uros Bizjak <ubizjak@gmail.com>
f128db92
RO
8919
8920 PR target/39048
8921 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
8922 like other remaining 32-bit x86 OSes.
8923 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
8924 assembler syntax.
8925 * config/i386/libgcc-sol2.ver: New file.
8926 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
8927
7d296953 89282010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
368fabd5
JH
8929
8930 PR c/43553
8931 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
8932 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
8933 is used and substitute set_use_emutls.
8934 * configure: Regenerated.
8935
15baf7f8
TG
89362010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
8937
8938 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
8939
7f5441df
RO
89402010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8941
8942 PR target/38085
8943 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
8944 MULTILIB_CFLAGS.
8945 ($(T)gcrt1.o): Likewise.
8946 ($(T)crt1.o): Likewise.
8947 ($(T)crti.o): Likewise.
8948 ($(T)crtn.o): Likewise.
8949
ef74edbd
RW
89502010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8951
8952 PR other/42980
8953 * Makefile.in (install): Use $(MAKE) string in rule, for
8954 parallel make.
8955
e7c914db
HPN
89562010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
8957
8958 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
8959 * config/mmix/t-mmix: New file.
8960 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
8961
1bcb71c4
JH
89622010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
8963
8964 PR java/41991
8965 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
8966 SHLIB_MAPFILES.
8967
e6e50811
AG
89682010-01-04 Anthony Green <green@moxielogic.com>
8969
8970 * config/moxie/crti.asm, config/moxie/crtn.asm,
8971 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
8972 config/moxie/t-moxie: New files.
8973 * config.host: Add t-moxie-softfp reference.
8974
7d296953 89752009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
ca8520ad
IS
8976
8977 PR other/39888
8978 * config/t-slibgcc-darwin: Fix embedded rpaths for
8979 --enable-version-specific-runtime-libs, build extension stub
8980 libs exposing features available from current libgcc_s.
8981
7d296953 89822009-11-11 Jon Beniston <jon@beniston.com>
aa4945c1 8983
d78552bd
UB
8984 * config.host: Add lm32 targets.
8985 * config/lm32: New directory.
8986 * config/lm32/libgcc_lm32.h: New file.
8987 * config/lm32/_mulsi3.c: New file.
8988 * config/lm32/_udivmodsi4.c: New file.
8989 * config/lm32/_divsi3.c: New file.
8990 * config/lm32/_modsi3.c: New file.
8991 * config/lm32/_udivsi3.c: New file.
8992 * config/lm32/_umodsi3.c: New file.
8993 * config/lm32/_lshrsi3.S: New file.
8994 * config/lm32/_ashrsi3.S: New file.
8995 * config/lm32/_ashlsi3.S: New file.
8996 * config/lm32/crti.S: New file.
8997 * config/lm32/crtn.S: New file.
8998 * config/lm32/t-lm32: New file.
8999 * config/lm32/t-elf: New file.
9000 * config/lm32/t-uclinux: New file.
aa4945c1 9001
65a324b4
NC
90022009-10-26 Nick Clifton <nickc@redhat.com>
9003
9004 * config.host: Add support for RX target.
9005 * config/rx: New directory.
9006 * config/rx/rx-abi-functions.c: New file. Supplementary
9007 functions for libgcc to support the RX ABI.
9008 * config/rx/rx-abi.h: New file. Supplementary header file for
9009 libgcc RX ABI functions.
9010 * config/rx/t-rx: New file: Makefile fragment for building
9011 libgcc for the RX.
9012
dfb3b0e3
UB
90132009-10-09 Uros Bizjak <ubizjak@gmail.com>
9014
9015 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
9016 constraint of y0 to "g".
9017
81dd9fd7
AK
90182009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9019
9020 * config.host: Include the s390 makefile fragments.
9021 * config/s390/32/_fixdfdi.c: New file.
9022 * config/s390/32/_fixsfdi.c: New file.
9023 * config/s390/32/_fixtfdi.c: New file.
9024 * config/s390/32/_fixunsdfdi.c: New file.
9025 * config/s390/32/_fixunssfdi.c: New file.
9026 * config/s390/32/_fixunstfdi.c: New file.
9027 * config/s390/32/t-floattodi: New file.
9028 * config/s390/libgcc-glibc.ver: New file.
9029 * config/s390/t-crtstuff: New file.
9030 * config/s390/t-linux: New file.
9031 * config/s390/t-tpf: New file.
9032
df58e648
RW
90332009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9034
9035 * configure.ac (AC_PREREQ): Bump to 2.64.
9036
79052be3
KK
90372009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
9038
9039 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
9040
5213506e
RW
90412009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9042
9043 * configure: Regenerate.
9044
a9a25daa
DR
90452009-08-09 Douglas B Rupp <rupp@gnat.com>
9046
9047 * config.host (ia64-hp-*vms*): New target.
9048 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
9049 with ia64-hp-*vms*.
9050
6efbd53f
RW
90512009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9052
9053 * configure.ac: Add snippet for maintainer-mode.
9054 * configure: Regenerate.
9055 * Makefile.in (AUTOCONF, configure_deps): New variables.
9056 ($(srcdir)/configure)): New rule, active only with maintainer
9057 mode turned on.
9058
7acf4da6
DD
90592009-06-23 DJ Delorie <dj@redhat.com>
9060
9061 Add MeP port.
9062 * config.host: Add mep support.
9063
54f549af
KT
90642009-06-22 Kai Tietz <kai.tietz@onevision.com>
9065
34481f28 9066 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 9067 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
34481f28
UB
9068
9069 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
9070 for mingw targets.
54f549af
KT
9071 * config/i386/64/_multc3.c: Likewise.
9072 * config/i386/64/_powitf2.c: Likewise.
9073 * config/i386/64/eqtf2.c: Likewise.
9074 * config/i386/64/getf2.c: Likewise.
9075 * config/i386/64/letf2.c: Likewise.
9076 * config/i386/64/letf2.c: Likewise.
34481f28
UB
9077 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
9078 unsigned long long for x64 mingw targets.
9079 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
9080 (_FP_I_TYPE): Define as long long for x64 mingw target.
54f549af 9081
fea96e25
MR
90822009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
9083
9084 * config.host (vax-*-linux*): New.
9085
cceb575c
AG
90862009-05-31 Anthony Green <green@moxielogic.com>
9087
9088 * config.host: Add moxie support.
9089 * config/moxie/t-moxie: New file.
9090
7d296953 90912009-05-29 David Billinghurst <billingd@gcc.gnu.org>
e997fb9c
DB
9092
9093 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 9094 t-softfp to tmake_file for i[34567]86-*-cygwin*.
e997fb9c 9095
532bfb0a
AJ
90962009-04-17 Aurelien Jarno <aurelien@aurel32.net>
9097
9098 * config.host: Add i386/${host_address}/t-fprules-softfp to
9099 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
9100
748086b7
JJ
91012009-04-09 Nick Clifton <nickc@redhat.com>
9102
9103 * config/ia64/tf-signs.c: Change copyright header to refer to
9104 version 3 of the GNU General Public License with version 3.1
9105 of the GCC Runtime Library Exception and to point readers at
9106 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
9107 web page.
9108 * config/i386/32/tf-signs.c: Likewise.
9109 * config/libbid/_addsub_dd.c: Likewise.
9110 * config/libbid/_addsub_sd.c: Likewise.
9111 * config/libbid/_addsub_td.c: Likewise.
9112 * config/libbid/_dd_to_df.c: Likewise.
9113 * config/libbid/_dd_to_di.c: Likewise.
9114 * config/libbid/_dd_to_sd.c: Likewise.
9115 * config/libbid/_dd_to_sf.c: Likewise.
9116 * config/libbid/_dd_to_si.c: Likewise.
9117 * config/libbid/_dd_to_td.c: Likewise.
9118 * config/libbid/_dd_to_tf.c: Likewise.
9119 * config/libbid/_dd_to_udi.c: Likewise.
9120 * config/libbid/_dd_to_usi.c: Likewise.
9121 * config/libbid/_dd_to_xf.c: Likewise.
9122 * config/libbid/_df_to_dd.c: Likewise.
9123 * config/libbid/_df_to_sd.c: Likewise.
9124 * config/libbid/_df_to_td.c: Likewise.
9125 * config/libbid/_di_to_dd.c: Likewise.
9126 * config/libbid/_di_to_sd.c: Likewise.
9127 * config/libbid/_di_to_td.c: Likewise.
9128 * config/libbid/_div_dd.c: Likewise.
9129 * config/libbid/_div_sd.c: Likewise.
9130 * config/libbid/_div_td.c: Likewise.
9131 * config/libbid/_eq_dd.c: Likewise.
9132 * config/libbid/_eq_sd.c: Likewise.
9133 * config/libbid/_eq_td.c: Likewise.
9134 * config/libbid/_ge_dd.c: Likewise.
9135 * config/libbid/_ge_sd.c: Likewise.
9136 * config/libbid/_ge_td.c: Likewise.
9137 * config/libbid/_gt_dd.c: Likewise.
9138 * config/libbid/_gt_sd.c: Likewise.
9139 * config/libbid/_gt_td.c: Likewise.
9140 * config/libbid/_isinfd128.c: Likewise.
9141 * config/libbid/_isinfd32.c: Likewise.
9142 * config/libbid/_isinfd64.c: Likewise.
9143 * config/libbid/_le_dd.c: Likewise.
9144 * config/libbid/_le_sd.c: Likewise.
9145 * config/libbid/_le_td.c: Likewise.
9146 * config/libbid/_lt_dd.c: Likewise.
9147 * config/libbid/_lt_sd.c: Likewise.
9148 * config/libbid/_lt_td.c: Likewise.
9149 * config/libbid/_mul_dd.c: Likewise.
9150 * config/libbid/_mul_sd.c: Likewise.
9151 * config/libbid/_mul_td.c: Likewise.
9152 * config/libbid/_ne_dd.c: Likewise.
9153 * config/libbid/_ne_sd.c: Likewise.
9154 * config/libbid/_ne_td.c: Likewise.
9155 * config/libbid/_sd_to_dd.c: Likewise.
9156 * config/libbid/_sd_to_df.c: Likewise.
9157 * config/libbid/_sd_to_di.c: Likewise.
9158 * config/libbid/_sd_to_sf.c: Likewise.
9159 * config/libbid/_sd_to_si.c: Likewise.
9160 * config/libbid/_sd_to_td.c: Likewise.
9161 * config/libbid/_sd_to_tf.c: Likewise.
9162 * config/libbid/_sd_to_udi.c: Likewise.
9163 * config/libbid/_sd_to_usi.c: Likewise.
9164 * config/libbid/_sd_to_xf.c: Likewise.
9165 * config/libbid/_sf_to_dd.c: Likewise.
9166 * config/libbid/_sf_to_sd.c: Likewise.
9167 * config/libbid/_sf_to_td.c: Likewise.
9168 * config/libbid/_si_to_dd.c: Likewise.
9169 * config/libbid/_si_to_sd.c: Likewise.
9170 * config/libbid/_si_to_td.c: Likewise.
9171 * config/libbid/_td_to_dd.c: Likewise.
9172 * config/libbid/_td_to_df.c: Likewise.
9173 * config/libbid/_td_to_di.c: Likewise.
9174 * config/libbid/_td_to_sd.c: Likewise.
9175 * config/libbid/_td_to_sf.c: Likewise.
9176 * config/libbid/_td_to_si.c: Likewise.
9177 * config/libbid/_td_to_tf.c: Likewise.
9178 * config/libbid/_td_to_udi.c: Likewise.
9179 * config/libbid/_td_to_usi.c: Likewise.
9180 * config/libbid/_td_to_xf.c: Likewise.
9181 * config/libbid/_tf_to_dd.c: Likewise.
9182 * config/libbid/_tf_to_sd.c: Likewise.
9183 * config/libbid/_tf_to_td.c: Likewise.
9184 * config/libbid/_udi_to_dd.c: Likewise.
9185 * config/libbid/_udi_to_sd.c: Likewise.
9186 * config/libbid/_udi_to_td.c: Likewise.
9187 * config/libbid/_unord_dd.c: Likewise.
9188 * config/libbid/_unord_sd.c: Likewise.
9189 * config/libbid/_unord_td.c: Likewise.
9190 * config/libbid/_usi_to_dd.c: Likewise.
9191 * config/libbid/_usi_to_sd.c: Likewise.
9192 * config/libbid/_usi_to_td.c: Likewise.
9193 * config/libbid/_xf_to_dd.c: Likewise.
9194 * config/libbid/_xf_to_sd.c: Likewise.
9195 * config/libbid/_xf_to_td.c: Likewise.
9196 * config/libbid/bid128.c: Likewise.
9197 * config/libbid/bid128_2_str.h: Likewise.
9198 * config/libbid/bid128_2_str_macros.h: Likewise.
9199 * config/libbid/bid128_2_str_tables.c: Likewise.
9200 * config/libbid/bid128_add.c: Likewise.
9201 * config/libbid/bid128_compare.c: Likewise.
9202 * config/libbid/bid128_div.c: Likewise.
9203 * config/libbid/bid128_fma.c: Likewise.
9204 * config/libbid/bid128_logb.c: Likewise.
9205 * config/libbid/bid128_minmax.c: Likewise.
9206 * config/libbid/bid128_mul.c: Likewise.
9207 * config/libbid/bid128_next.c: Likewise.
9208 * config/libbid/bid128_noncomp.c: Likewise.
9209 * config/libbid/bid128_quantize.c: Likewise.
9210 * config/libbid/bid128_rem.c: Likewise.
9211 * config/libbid/bid128_round_integral.c: Likewise.
9212 * config/libbid/bid128_scalb.c: Likewise.
9213 * config/libbid/bid128_sqrt.c: Likewise.
9214 * config/libbid/bid128_string.c: Likewise.
9215 * config/libbid/bid128_to_int16.c: Likewise.
9216 * config/libbid/bid128_to_int32.c: Likewise.
9217 * config/libbid/bid128_to_int64.c: Likewise.
9218 * config/libbid/bid128_to_int8.c: Likewise.
9219 * config/libbid/bid128_to_uint16.c: Likewise.
9220 * config/libbid/bid128_to_uint32.c: Likewise.
9221 * config/libbid/bid128_to_uint64.c: Likewise.
9222 * config/libbid/bid128_to_uint8.c: Likewise.
9223 * config/libbid/bid32_to_bid128.c: Likewise.
9224 * config/libbid/bid32_to_bid64.c: Likewise.
9225 * config/libbid/bid64_add.c: Likewise.
9226 * config/libbid/bid64_compare.c: Likewise.
9227 * config/libbid/bid64_div.c: Likewise.
9228 * config/libbid/bid64_fma.c: Likewise.
9229 * config/libbid/bid64_logb.c: Likewise.
9230 * config/libbid/bid64_minmax.c: Likewise.
9231 * config/libbid/bid64_mul.c: Likewise.
9232 * config/libbid/bid64_next.c: Likewise.
9233 * config/libbid/bid64_noncomp.c: Likewise.
9234 * config/libbid/bid64_quantize.c: Likewise.
9235 * config/libbid/bid64_rem.c: Likewise.
9236 * config/libbid/bid64_round_integral.c: Likewise.
9237 * config/libbid/bid64_scalb.c: Likewise.
9238 * config/libbid/bid64_sqrt.c: Likewise.
9239 * config/libbid/bid64_string.c: Likewise.
9240 * config/libbid/bid64_to_bid128.c: Likewise.
9241 * config/libbid/bid64_to_int16.c: Likewise.
9242 * config/libbid/bid64_to_int32.c: Likewise.
9243 * config/libbid/bid64_to_int64.c: Likewise.
9244 * config/libbid/bid64_to_int8.c: Likewise.
9245 * config/libbid/bid64_to_uint16.c: Likewise.
9246 * config/libbid/bid64_to_uint32.c: Likewise.
9247 * config/libbid/bid64_to_uint64.c: Likewise.
9248 * config/libbid/bid64_to_uint8.c: Likewise.
9249 * config/libbid/bid_b2d.h: Likewise.
9250 * config/libbid/bid_binarydecimal.c: Likewise.
9251 * config/libbid/bid_conf.h: Likewise.
9252 * config/libbid/bid_convert_data.c: Likewise.
9253 * config/libbid/bid_decimal_data.c: Likewise.
9254 * config/libbid/bid_decimal_globals.c: Likewise.
9255 * config/libbid/bid_div_macros.h: Likewise.
9256 * config/libbid/bid_dpd.c: Likewise.
9257 * config/libbid/bid_flag_operations.c: Likewise.
9258 * config/libbid/bid_from_int.c: Likewise.
9259 * config/libbid/bid_functions.h: Likewise.
9260 * config/libbid/bid_gcc_intrinsics.h: Likewise.
9261 * config/libbid/bid_inline_add.h: Likewise.
9262 * config/libbid/bid_internal.h: Likewise.
9263 * config/libbid/bid_round.c: Likewise.
9264 * config/libbid/bid_sqrt_macros.h: Likewise.
9265
92662009-04-09 Jakub Jelinek <jakub@redhat.com>
9267
9268 * Makefile.in: Change copyright header to refer to version
9269 3 of the GNU General Public License and to point readers at the
9270 COPYING3 file and the FSF's license web page.
9271 * config.host: Likewise.
9272
633dd061
AM
92732009-04-07 Alan Modra <amodra@bigpond.net.au>
9274
9275 * config.host: Reorder and merge to match config.gcc change.
9276
457d1d00
AM
92772009-04-03 Alan Modra <amodra@bigpond.net.au>
9278
9279 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
9280
52c0e446
JM
92812009-03-28 Joseph Myers <joseph@codesourcery.com>
9282
9283 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
9284 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
9285 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
9286 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
9287
ba181049
UB
92882009-02-12 Uros Bizjak <ubizjak@gmail.com>
9289
9290 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
9291 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9292
c252db20
L
92932009-02-12 H.J. Lu <hongjiu.lu@intel.com>
9294
ba181049
UB
9295 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
9296 ia64/t-softfp-compat to tmake_file.
c252db20
L
9297
9298 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
9299
9300 * config/ia64/__divxf3.asm: New.
9301 * config/ia64/_fixtfdi.asm: Likewise.
9302 * config/ia64/_fixunstfdi.asm: Likewise.
9303 * config/ia64/_floatditf.asm: Likewise.
9304 * config/ia64/t-fprules-softfp: Likewise.
9305 * config/ia64/t-softfp-compat: Likewise.
9306 * config/ia64/tf-signs.c: Likewise.
9307
c60535f9
BE
93082009-01-18 Ben Elliston <bje@au.ibm.com>
9309
9310 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9311
ce16861e
BE
93122009-01-16 Ben Elliston <bje@au.ibm.com>
9313
9314 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
9315 to tmake_file.
9316
bcf4713b
BE
93172009-01-13 Ben Elliston <bje@au.ibm.com>
9318
9319 * config/t-softfp: New file.
9320 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
9321 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
9322
7d296953 93232009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
2042cb04
JS
9324
9325 * config.host: Add m32r*-*-rtems*.
9326
7d296953 93272008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
541ed00e
JS
9328
9329 * config.host: Add m32c*-*-rtems*.
9330
19523300
RO
93312008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9332
9333 PR bootstrap/33100
9334 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
9335 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
9336 * configure: Regenerate.
9337 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
9338 tmake_file here from gcc/config.gcc.
9339 Move extra_parts here from gcc/config.gcc.
9340 * config/i386/t-sol2: Move here from gcc/config/i386.
9341 Use gcc_srcdir instead of srcdir.
9342
0a4a51c7
AN
93432008-11-18 Adam Nemet <anemet@caviumnetworks.com>
9344
9345 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
9346 case.
9347
2a761e46
TS
93482008-11-09 Thomas Schwinge <tschwinge@gnu.org>
9349
9350 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
9351
c0451df7
TS
93522008-10-08 Thomas Schwinge <tschwinge@gnu.org>
9353
9354 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
9355
358da97e
HS
93562008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
9357
9358 Add picoChip port.
9359 * config.host: Add picochip-*-*.
9360
c660f132
BW
93612008-08-06 Bob Wilson <bob.wilson@acm.org>
9362
9363 * config.host: Match more processor names for Xtensa.
9364
d1349557
L
93652008-07-08 H.J. Lu <hongjiu.lu@intel.com>
9366
9367 * config/i386/64/t-softfp-compat: Update comments.
9368
dd7b73c0
L
93692008-07-07 H.J. Lu <hongjiu.lu@intel.com>
9370
9371 * config/i386/64/_divtc3-compat.c: Moved to ...
9372 * config/i386/64/_divtc3.c: Here.
9373
9374 * config/i386/64/_multc3-compat.c: Moved to ...
9375 * config/i386/64/_multc3.c: Here.
9376
9377 * config/i386/64/_powitf2-compat.c: Moved to ...
9378 * config/i386/64/_powitf2.c: Here.
9379
9380 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
9381 .c suffix instead of -compat.c.
9382
6e1fab3d
UB
93832008-07-05 Uros Bizjak <ubizjak@gmail.com>
9384
9385 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
9386 (_FP_MUL_MEAT_D): Ditto.
9387 (_FP_DIV_MEAT_S): Ditto.
9388 (_FP_DIV_MEAT_D): Ditto.
9389
f92518d7
RS
93902008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
9391
9392 * Makefile.in: Add support for __sync_* libgcc functions.
9393
d0aede14
L
93942008-07-03 H.J. Lu <hongjiu.lu@intel.com>
9395
9396 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
9397
c174f11c
L
93982008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9399
9400 PR boostrap/36702
9401 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
9402 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
9403
9404 * config/i386/64/t-fprules-softfp: Moved to ...
9405 * config/i386/64/t-softfp-compat: This. New.
9406
5f464fa2
UB
94072008-07-02 Uros Bizjak <ubizjak@gmail.com>
9408
9409 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
9410 Initialize f with 0.0.
9411
ff473280
L
94122008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9413
9414 PR target/36669
9415 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
9416
9417 * config/i386/64/_divtc3-compat.c: New.
9418 * config/i386/64/_multc3-compat.c: Likewise.
9419 * config/i386/64/_powitf2-compat.c: Likewise.
9420 * config/i386/64/eqtf2.c: Likewise.
9421 * config/i386/64/getf2.c: Likewise.
9422 * config/i386/64/letf2.c: Likewise.
9423 * config/i386/64/t-fprules-softfp: Likewise.
9424
94252008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9426
9427 * config.host: Add i386/${host_address}/t-fprules-softfp to
9428 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
dfb3b0e3 9429 i[34567]86-*-linux*, x86_64-*-linux*.
ff473280
L
9430
9431 * configure.ac: Set host_address to 64 or 32 for x86.
9432 * configure: Regenerated.
9433
9434 * Makefile.in (config.status): Also depend on
9435 $(srcdir)/config.host.
9436
9437 * config/i386/32/t-fprules-softfp: New.
9438 * config/i386/32/tf-signs.c: Likewise.
9439
9440 * config/i386/64/sfp-machine.h: New. Moved from gcc.
9441
94422008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9443 Uros Bizjak <ubizjak@gmail.com>
9444
9445 * config/i386/32/sfp-machine.h: New.
9446
30551d99
NF
94472008-06-26 Nathan Froyd <froydnj@codesourcery.com>
9448
9449 * config/rs6000/t-ppccomm: Remove rules that conflict with
9450 auto-generated rules.
9451
18c04407
RW
94522008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9453
9454 * configure.ac: sinclude override.m4.
9455 * configure: Regenerate.
9456
10fbe77a
BRF
94572008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
9458
9459 * configure: Regenerate.
9460
bc6d4c3f
JM
94612008-06-10 Joseph Myers <joseph@codesourcery.com>
9462
9463 * Makefile.in (DECNUMINC): Remove
9464 -I$(MULTIBUILDTOP)../../libdecnumber.
9465 * gstdint.h: New.
9466
cd985f66
JM
94672008-06-07 Joseph Myers <joseph@codesourcery.com>
9468
9469 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
9470 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
9471 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
9472 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
9473 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
9474 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
9475 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
9476 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
9477 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
9478 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
9479 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
9480 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
9481 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
9482 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
9483
93fea8d3
AL
94842008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
9485
9486 * config.host (sh2[lbe]*-*-linux*): Allow target.
9487
18724e30
NF
94882008-04-30 Nathan Froyd <froydnj@codesourcery.com>
9489
9490 * config/rs6000/t-ppccomm: Add build rules for new files.
9491 (LIB2ADD_ST): New variable.
9492
47583040
AH
94932008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
9494
9495 PR target/34210
9496 PR target/35508
9497 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
9498 * config/t-avr: New file. Build 16bit libgcc functions.
9499
cf8e67fe
JJ
95002008-03-02 Jakub Jelinek <jakub@redhat.com>
9501
9502 PR target/35401
9503 * config/t-slibgcc-darwin: Make install-leaf dependent on
9504 install-darwin-libgcc-stubs instead of install.
9505
8d8da227
JM
95062008-01-25 Joseph Myers <joseph@codesourcery.com>
9507
9508 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
9509 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
9510 sh-*-rtemscoff*): Remove cases.
9511
edbf8b16
RS
95122007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
9513
9514 * Makefile.in (all): Use install-leaf rather than install.
9515 (install): Split most of the rule into...
9516 (install-leaf): ...this new one.
9517
89deeaff
EK
95182007-12-19 Etsushi Kato <ek.kato@gmail.com>
9519 Paolo Bonzini <bonzini@gnu.org>
9520
9521 PR target/30572
5f464fa2
UB
9522 * Makefile.in: Use @shlib_slibdir@ substitution to get
9523 correct install name on darwin.
89deeaff 9524 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
dfb3b0e3 9525
4081d704
HPN
95262007-12-15 Hans-Peter Nilsson <hp@axis.com>
9527
9528 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
9529 cris-*-elf and cris-*-none.
9530 (crisv32-*-linux*): Similar, as cris-*-linux*.
9531
f43e89a3
RIL
95322007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
9533
9534 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
9535
b4e9c2c6
L
95362007-10-27 H.J. Lu <hongjiu.lu@intel.com>
9537
9538 PR regression/33926
9539 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
9540 * configure: Regenerated.
9541
b2a00c89
L
95422007-09-27 H.J. Lu <hongjiu.lu@intel.com>
9543
9544 * Makefile.in (dfp-filenames): Replace decimal_globals,
9545 decimal_data, binarydecimal and convert_data with
9546 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
9547 and bid_convert_data, respectively.
9548
8d2a9e0e
CF
95492007-09-17 Chao-ying Fu <fu@mips.com>
9550 Nigel Stephens <nigel@mips.com>
9551
9552 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
9553 * Makefile.in (fixed_point): Define.
9554 Check if fixed_point is yes to build support functions.
9555 * configure.ac: Check for fixed_point support.
9556 * configure: Regenerated.
9557 * gen-fixed.sh: New file to generate lists of fixed-point labels,
9558 funcs, modes, from, to.
9559
2b53935d
JJ
95602007-09-11 Janis Johnson <janis187@us.ibm.com
9561
9562 * Makefile.in (dfp-filenames): Add bid128_noncomp.
9563
2533577f
JJ
95642007-09-10 Janis Johnson <janis187@us.ibm.com>
9565
9566 * Makefile.in (dfp-filenames): Remove decUtility, add
9567 decDouble, decPacked, decQuad, decSingle.
9568
3ae3dbd6
HK
95692007-08-27 Hans Kester <hans.kester@ellips.nl>
9570
9571 * config.host : Add x86_64-elf target.
9572
22867d02
L
95732007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9574
9575 * configure.ac (set_have_cc_tls): Add a missing =.
9576 * configure: Regenerated.
9577
6f461e76
L
95782007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9579
9580 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
9581 and x86_64-*-linux*.
9582
9583 * config/t-tls: New file.
9584
dfb3b0e3 9585 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6f461e76
L
9586
9587 * configure.ac: Include ../config/enable.m4 and
9588 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
9589 supports TLS and substitute set_have_cc_tls.
9590 * configure: Regenerated.
9591
200359e8
L
95922007-07-04 H.J. Lu <hongjiu.lu@intel.com>
9593
9594 * Makefile.in: Use libbid for DFP when BID is enabled.
9595
76f5e200
DS
95962007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
9597
9598 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
dfb3b0e3 9599 extra_parts. Add config/i386/t-cygming to tmake_file.
76f5e200
DS
9600 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
9601
9bd196f0 96022007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
200359e8 9603 Danny Smith <dannysmith@users.sourceforge.net>
9bd196f0
ZM
9604
9605 PR target/29498
9606 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
9607 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
9608 * config/i386/t-crtfm: Compile crtfastmath.o with
9609 -minline-all-stringops.
9610
1910440e
RS
96112007-05-10 Richard Sandiford <richard@codesourcery.com>
9612
9613 * config.host (sparc-wrs-vxworks): New target.
9614
7d33c31d
KH
96152007-04-14 Kazu Hirata <kazu@codesourcery.com>
9616
9617 * config.host: Recognize fido.
9618
96fccd0d
JJ
96192007-04-04 Janis Johnson <janis187@us.ibm.com>
9620
9621 * configure: Check host, not target, for decimal float support.
9622
577565f9
UB
96232007-04-03 Uros Bizjak <ubizjak@gmail.com>
9624
9625 * config/i386/t-crtpc: New file.
9626 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5f464fa2 9627 (x86_64-*-linux*): Ditto.
577565f9 9628
ccf8e764
RH
96292007-02-30 Kai Tietz <kai.tietz@onevision.com>
9630
9631 * config.host (x86_64-*-mingw*): New target.
9632
79b87c74
MM
96332007-03-23 Michael Meissner <michael.meissner@amd.com>
9634 H.J. Lu <hongjiu.lu@intel.com>
9635
9636 * Makefile.in (enable_decimal_float): New.
9637 (DECNUMINC): Add
9638 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
9639 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
9640 (decbits-filenames): This.
9641 (decbits-objects): New.
9642 (libgcc-objects): Add $(decbits-objects).
9643
9644 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
9645 Substitute enable_decimal_float.
9646 * configure: Regenerated.
9647
8fce4e31
HPN
96482007-03-19 Hans-Peter Nilsson <hp@axis.com>
9649
9650 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
9651
e8bb4597
BM
96522007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
9653
9654 * Makefile.in (install-info): New dummy target.
9655
344189f9
BS
96562007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
9657
9658 * config.host (bfin*-linux-uclibc*): Set extra_parts.
9659
ac84c172
BM
96602007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
9661
9662 * Makefile.in: Add install-html and install-pdf dummy
9663 targets.
9664
cd5c2357
RS
96652007-02-05 Roger Sayle <roger@eyesopen.com>
9666 Daniel Jacobowitz <dan@codesourcery.com>
9667
9668 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
9669 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
9670 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
9671
d9a66f98
JJ
96722007-01-29 Janis Johnson <janis187@us.ibm.com>
9673
9674 * Makefile.in (dec-filenames): Add decExcept.
9675
9891ec5f
DJ
96762007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
9677
9678 PR bootstrap/30469
9679 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
9680 -fprofile-use.
9681
d6efbf5a
DJ
96822007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
9683
9684 * configure.ac: Add --enable-version-specific-runtime-libs.
9685 Correct $slibdir default.
9686 * configure: Regenerated.
9687
17caeff2
JM
96882007-01-23 Joseph Myers <joseph@codesourcery.com>
9689
9690 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
9691
5ea41e3a
AP
96922007-01-21 Andrew Pinski <pinskia@gmail.com>
9693
9694 PR target/30519
9695 * config.host (alpha*-*-linux*): Set extra_parts.
9696
26900826
KK
96972007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
9698
9699 * config/sh/t-linux: New.
9700 * config.host (sh*-*-linux*): Set tmake_file.
9701
97af925b
DJ
97022007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
9703
9704 * Makefile.in (install): Handle multilibs.
9705
b0088af7
BM
97062007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
9707
9708 * Makefile.in: Added .PHONY entry for documentation targets.
9709
e0a9456a
BM
97102007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
9711
9712 * Makefile.in: Add empty info, html, dvi, pdf targets.
9713
7fd453b4
MS
97142007-01-04 Mike Stump <mrs@apple.com>
9715
9716 * Makefile.in (MAKEINFO): Remove.
9717 (PERL): Likewise.
9718
14e8fc8b
PB
97192007-01-04 Paolo Bonzini <bonzini@gnu.org>
9720
9721 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
9722 * configure: Regenerate.
9723 * Makefile.in (host_subdir): Substitute it.
dfb3b0e3 9724 (gcc_objdir): Use it.
14e8fc8b 9725
1555beba
DJ
97262007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9727
9728 * config.host (ia64*-*-linux*): Set tmake_file.
9729
79e6eaeb
DJ
97302007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9731
9732 * Makefile.in (version): Define.
9733
fa958513
DJ
97342007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
9735 Paolo Bonzini <bonzini@gnu.org>
9736
9737 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
9738 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
9739 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
9740 config/sparc/t-crtfm, config/t-slibgcc-darwin,
9741 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
9742 shared-object.mk, siditi-object.mk, static-object.mk: New files.
9743 * configure: Generated.
818ab71a 9744\f
a5544970 9745Copyright (C) 2007-2019 Free Software Foundation, Inc.
818ab71a
JJ
9746
9747Copying and distribution of this file, with or without modification,
9748are permitted in any medium without royalty provided the copyright
9749notice and this notice are preserved.