]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
[RS6000] PowerPC -mcpu=native support
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
ff641ae1
XQ
12018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
2
3 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
4 (sc_pt_regs_lr): Update for kernel.
5 (sc_pt_regs_tls): Update for kernel.
6
28209372
XQ
72018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
8
9 * config/csky/linux-unwind.h: Fix coding style.
10
b2a71af6
XQ
112018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
12
13 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
14 (csky_fallback_frame_state): Modify the check of the
15 instructions to adapt to changes in the kernel
16
d929e137
SH
172018-11-09 Stafford Horne <shorne@gmail.com>
18 Richard Henderson <rth@twiddle.net>
19
20 * config.host: Add OpenRISC support.
21 * config/or1k/*: New.
22
222cfefa
KC
232018-11-08 Kito Cheng <kito@andestech.com>
24
25 * soft-fp/adddf3.c: Update from glibc.
26 * soft-fp/addsf3.c: Likewise.
27 * soft-fp/addtf3.c: Likewise.
28 * soft-fp/divdf3.c: Likewise.
29 * soft-fp/divsf3.c: Likewise.
30 * soft-fp/divtf3.c: Likewise.
31 * soft-fp/double.h: Likewise.
32 * soft-fp/eqdf2.c: Likewise.
33 * soft-fp/eqsf2.c: Likewise.
34 * soft-fp/eqtf2.c: Likewise.
35 * soft-fp/extenddftf2.c: Likewise.
36 * soft-fp/extended.h: Likewise.
37 * soft-fp/extendhftf2.c: Likewise.
38 * soft-fp/extendsfdf2.c: Likewise.
39 * soft-fp/extendsftf2.c: Likewise.
40 * soft-fp/extendxftf2.c: Likewise.
41 * soft-fp/fixdfdi.c: Likewise.
42 * soft-fp/fixdfsi.c: Likewise.
43 * soft-fp/fixdfti.c: Likewise.
44 * soft-fp/fixhfti.c: Likewise.
45 * soft-fp/fixsfdi.c: Likewise.
46 * soft-fp/fixsfsi.c: Likewise.
47 * soft-fp/fixsfti.c: Likewise.
48 * soft-fp/fixtfdi.c: Likewise.
49 * soft-fp/fixtfsi.c: Likewise.
50 * soft-fp/fixtfti.c: Likewise.
51 * soft-fp/fixunsdfdi.c: Likewise.
52 * soft-fp/fixunsdfsi.c: Likewise.
53 * soft-fp/fixunsdfti.c: Likewise.
54 * soft-fp/fixunshfti.c: Likewise.
55 * soft-fp/fixunssfdi.c: Likewise.
56 * soft-fp/fixunssfsi.c: Likewise.
57 * soft-fp/fixunssfti.c: Likewise.
58 * soft-fp/fixunstfdi.c: Likewise.
59 * soft-fp/fixunstfsi.c: Likewise.
60 * soft-fp/fixunstfti.c: Likewise.
61 * soft-fp/floatdidf.c: Likewise.
62 * soft-fp/floatdisf.c: Likewise.
63 * soft-fp/floatditf.c: Likewise.
64 * soft-fp/floatsidf.c: Likewise.
65 * soft-fp/floatsisf.c: Likewise.
66 * soft-fp/floatsitf.c: Likewise.
67 * soft-fp/floattidf.c: Likewise.
68 * soft-fp/floattihf.c: Likewise.
69 * soft-fp/floattisf.c: Likewise.
70 * soft-fp/floattitf.c: Likewise.
71 * soft-fp/floatundidf.c: Likewise.
72 * soft-fp/floatundisf.c: Likewise.
73 * soft-fp/floatunditf.c: Likewise.
74 * soft-fp/floatunsidf.c: Likewise.
75 * soft-fp/floatunsisf.c: Likewise.
76 * soft-fp/floatunsitf.c: Likewise.
77 * soft-fp/floatuntidf.c: Likewise.
78 * soft-fp/floatuntihf.c: Likewise.
79 * soft-fp/floatuntisf.c: Likewise.
80 * soft-fp/floatuntitf.c: Likewise.
81 * soft-fp/gedf2.c: Likewise.
82 * soft-fp/gesf2.c: Likewise.
83 * soft-fp/getf2.c: Likewise.
84 * soft-fp/half.h: Likewise.
85 * soft-fp/ledf2.c: Likewise.
86 * soft-fp/lesf2.c: Likewise.
87 * soft-fp/letf2.c: Likewise.
88 * soft-fp/muldf3.c: Likewise.
89 * soft-fp/mulsf3.c: Likewise.
90 * soft-fp/multf3.c: Likewise.
91 * soft-fp/negdf2.c: Likewise.
92 * soft-fp/negsf2.c: Likewise.
93 * soft-fp/negtf2.c: Likewise.
94 * soft-fp/op-1.h: Likewise.
95 * soft-fp/op-2.h: Likewise.
96 * soft-fp/op-4.h: Likewise.
97 * soft-fp/op-8.h: Likewise.
98 * soft-fp/op-common.h: Likewise.
99 * soft-fp/quad.h: Likewise.
100 * soft-fp/single.h: Likewise.
101 * soft-fp/soft-fp.h: Likewise.
102 * soft-fp/subdf3.c: Likewise.
103 * soft-fp/subsf3.c: Likewise.
104 * soft-fp/subtf3.c: Likewise.
105 * soft-fp/truncdfsf2.c: Likewise.
106 * soft-fp/trunctfdf2.c: Likewise.
107 * soft-fp/trunctfhf2.c: Likewise.
108 * soft-fp/trunctfsf2.c: Likewise.
109 * soft-fp/trunctfxf2.c: Likewise.
110 * soft-fp/unorddf2.c: Likewise.
111 * soft-fp/unordsf2.c: Likewise.
112 * soft-fp/unordtf2.c: Likewise.
113
2901f42f
VK
1142018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
115
116 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
117 * config/i386/cpuinfo.h (processor_types): Add znver2.
118
4310ca66
PK
1192018-11-01 Paul Koning <ni1d@arrl.net>
120
121 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
122 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
123
22e05272
JM
1242018-10-31 Joseph Myers <joseph@codesourcery.com>
125
126 PR bootstrap/82856
127 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
128 * configure: Regenerate.
129
8180cde0
CZ
1302018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
131
132 * config/arc/lib1funcs.S (_muldi3): New function.
133 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
134
be7b071e
RV
1352018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
136
137 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
138
3239d726
ML
1392018-10-25 Martin Liska <mliska@suse.cz>
140
141 PR other/87735
142 * libgcov-profiler.c: Revert.
143
19b55958
ML
1442018-10-24 Martin Liska <mliska@suse.cz>
145
146 * libgcov-profiler.c: Start from 1 in order to distinguish
147 functions which were seen and these that were not.
148
a9a2fddb
PK
1492018-10-18 Paul Koning <ni1d@arrl.net>
150
151 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
152 standard.
153 * divmod.c: Update references to __udivmodsi4.
154 * udivmod.c: Ditto.
155 * udivhi3.c: New file.
156 * udivmodhi4.c: New file.
157 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
158
fc8abc46
RV
1592018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
160
161 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
162
87f918e3
OH
1632018-10-12 Olivier Hainque <hainque@adacore.com>
164
165 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
166 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
167
be86efa7
PK
1682018-10-08 Paul Koning <ni1d@arrl.net>
169
170 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
171
3edbcdbe
ML
1722018-10-04 Martin Liska <mliska@suse.cz>
173
174 PR gcov-profile/84107
175 * libgcov-profiler.c (__gcov_indirect_call):
176 Change type to indirect_call_tuple.
177 (struct indirect_call_tuple): New struct.
178 (__gcov_indirect_call_topn_profiler): Change type.
179 (__gcov_indirect_call_profiler_v2): Use the new
180 variables.
181 * libgcov.h (struct indirect_call_tuple): New struct
182 definition.
183
af8096fc
UB
1842018-10-03 Uros Bizjak <ubizjak@gmail.com>
185
186 * libgcc2.c (isnan): Use __builtin_isnan.
187 (isfinite): Use __builtin_isfinite.
188 (isinf): Use __builtin_isinf.
189
0a76bba4
UB
1902018-09-26 Uros Bizjak <ubizjak@gmail.com>
191
192 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
193
5244089f
OH
1942018-09-21 Alexandre Oliva <oliva@adacore.com>
195
196 * config/vxcache.c: New file. Provide __clear_cache, based on
197 the cacheTextUpdate VxWorks service.
198 * config/t-vxworks (LIB2ADD): Add vxcache.c.
199 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
200 * config/t-vxwoks7: Likewise.
201
512cc015
ML
2022018-09-21 Martin Liska <mliska@suse.cz>
203
204 * libgcov-driver.c (crc32_unsigned): Remove.
205 (gcov_histogram_insert): Likewise.
206 (gcov_compute_histogram): Likewise.
207 (compute_summary): Simplify rapidly.
208 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
209 (merge_summary): Rapidly simplify.
210 (dump_one_gcov): Ignore gcov_summary.
211 (gcov_do_dump): Do not handle program summary, it's not
212 used.
213 * libgcov-util.c (tag_summary): Remove.
214 (read_gcda_finalize): Fix coding style.
215 (read_gcda_file): Initialize curr_object_summary.
216 (compute_summary): Remove.
217 (calculate_overlap): Remove settings of run_max.
218
36ff254b
MC
2192018-09-21 Monk Chiang <sh.chiang04@gmail.com>
220
221 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
222 ucontext_t type instead.
223 (nds32_fallback_frame_state): Remove struct _sigframe statement.
224
229a033d
KC
2252018-09-21 Kito Cheng <kito.cheng@gmail.com>
226
227 * config/nds32/t-nds32-glibc: New file.
228
53c6feb2
RO
2292018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
230
231 * configure.ac (solaris_ld_v2_maps): New test.
232 * configure: Regenerate.
233 * Makefile.in (solaris_ld_v2_maps): New variable.
234 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
235 if supported.
236
ebdb6f23
RE
2372018-08-23 Richard Earnshaw <rearnsha@arm.com>
238
239 PR target/86951
240 * config/arm/lib1funcs.asm (speculation_barrier): New function.
241 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
242 to build.
243
a49c064e
IS
2442018-08-22 Iain Sandoe <iain@sandoe.co.uk>
245
246 * config/unwind-dw2-fde-darwin.c
247 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
248 * config/darwin10-unwind-find-enc-func.c: … to here.
249 * config/t-darwin: Build Darwin10 unwinder shim crt.
250 * libgcc/config.host: Add the Darwin10 unwinder shim.
251
9a5b8df7
RV
2522018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
253
254 * config.host: Add crtbegin.o and crtend.o for
255 powerpc-wrs-vxworks target.
256
4cd0bc3b
J
2572018-08-17 Jojo <jijie_rong@c-sky.com>
258 Huibin Wang <huibin_wang@c-sky.com>
259 Sandra Loosemore <sandra@codesourcery.com>
260 Chung-Lin Tang <cltang@codesourcery.com>
261
262 C-SKY port: libgcc
263
264 * config.host: Add C-SKY support.
265 * config/csky/*: New.
266
a4931745
CJW
2672018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
268
269 * config/nds32/t-nds32-isr: Rearrange object dependency.
270 * config/nds32/initfini.c: Add dwarf2 unwinding support.
271 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
272 and registers usage.
273 * config/nds32/isr-library/excp_isr.S: Ditto.
274 * config/nds32/isr-library/intr_isr.S: Ditto.
275 * config/nds32/isr-library/reset.S: Ditto.
276 * config/nds32/isr-library/restore_all.inc: Ditto.
277 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
278 * config/nds32/isr-library/restore_partial.inc: Ditto.
279 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
280 * config/nds32/isr-library/save_all.inc: Ditto.
281 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
282 * config/nds32/isr-library/save_partial.inc: Ditto.
283 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
284 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
285
2b1969f6
JDA
2862018-08-11 John David Anglin <danglin@gcc.gnu.org>
287
288 * config/pa/linux-atomic.c: Update comment.
289 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
290 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
291 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
292 __ATOMIC_RELAXED for atomic loads.
293 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
294 unordered store to release lock.
295 (__sync_lock_release_8): Likewise.
296 (SYNC_LOCK_RELEASE_2): Remove define.
af8096fc 297
89fff9cc
NP
2982018-08-02 Nicolas Pitre <nico@fluxnic.net>
299
300 PR libgcc/86512
301 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
302 exponent goes negative. Update my email address.
303 * config/arm/ieee754-sf.S: Likewise.
304
fd2e1dcd
ML
3052018-08-01 Martin Liska <mliska@suse.cz>
306
307 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
92a285c1 308 check that __gcov_indirect_call_callee is non-null.
fd2e1dcd 309
b7415975
CL
3102018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
311
312 * config/arm/ieee754-df.S: Fix comment for code working on
313 architectures >= 4.
314 * config/arm/ieee754-sf.S: Likewise.
315
b72e71a3
L
3162018-07-27 H.J. Lu <hongjiu.lu@intel.com>
317
318 PR libgcc/85334
319 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
320 Removed.
321
1c686aa4
JC
3222018-07-05 James Clarke <jrtc27@jrtc27.com>
323
324 * configure: Regenerated.
325
b61c9b99
RO
3262018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
327
328 * Makefile.in (install_leaf): Use enable_gcov instead of
329 enable_libgcov.
330
1765b023
RV
3312018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
332
333 * configure.ac: Add --disable-gcov option.
334 * configure: Regenerate.
335 * Makefile.in: Honour @enable_gcov@.
336
9b2e34ef
CL
3372018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
338
339 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
340 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
341 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
342 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
343 __ARM_ARCH__.
344 * config/arm/ieee754-sf.S: Likewise.
345 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
346
d1b0dd54
CL
3472018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
348
349 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
350 longer supported.
351 * config/arm/ieee754-sf.S: Likewise.
352
1f3fa525
TM
3532018-06-20 Than McIntosh <thanm@google.com>
354
355 PR libgcc/86213
356 * generic-morestack.c (allocate_segment): Move calls to getenv and
357 getpagesize to __morestack_load_mmap.
358 (__morestack_load_mmap) Initialize static_pagesize and
359 use_guard_page here so as to avoid clobbering SSE regs during a
360 __morestack call.
361
6a8886e4
MM
3622018-06-18 Michael Meissner <meissner@linux.ibm.com>
363
364 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
365 support modules with -mno-gnu-attribute.
366 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
367
fb997097
OH
3682018-06-07 Olivier Hainque <hainque@adacore.com>
369
370 * config/t-vxworks (LIBGCC_INCLUDES): Add
371 -I$(MULTIBUILDTOP)../../gcc/include.
372 * config/t-vxworks7: Likewise. Reformat a bit to match
373 the t-vxworks layout.
374
a548a5a1
OM
3752018-06-07 Olga Makhotina <olga.makhotina@intel.com>
376
377 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
378
244aebfd
ML
3792018-06-07 Martin Liska <mliska@suse.cz>
380
381 * libgcov-driver.c: Rename cs_all to all and assign it from
92a285c1 382 all_prg.
244aebfd 383
6c086e8c
ML
3842018-06-07 Martin Liska <mliska@suse.cz>
385
92a285c1 386 PR bootstrap/86057
6c086e8c 387 * libgcov-driver-system.c (replace_filename_variables): Use
92a285c1 388 memcpy instead of mempcpy.
6c086e8c 389 (allocate_filename_struct): Do not allocate filename, allocate
92a285c1 390 prefix and set it.
6c086e8c 391 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
92a285c1 392 here and properly copy content into it.
6c086e8c 393 * libgcov-driver.c (struct gcov_filename): Remove max_length
92a285c1 394 field, change prefix from size_t into char *.
6c086e8c
ML
395 (compute_summary): Do not calculate longest filename.
396 (gcov_do_dump): Release memory of gf.filename after each file.
397 * libgcov-util.c (compute_summary): Use new signature of
92a285c1 398 compute_summary.
6c086e8c
ML
399 (calculate_overlap): Likewise.
400
97a53d1d
ML
4012018-06-05 Martin Liska <mliska@suse.cz>
402
403 PR gcov-profile/47618
404 * libgcov-driver-system.c (replace_filename_variables): New
92a285c1 405 function.
97a53d1d
ML
406 (gcov_exit_open_gcda_file): Use it.
407
7f3577f5
ML
4082018-06-05 Martin Liska <mliska@suse.cz>
409
410 * libgcov-driver.c (gcov_compute_histogram): Remove usage
411 of gcov_ctr_summary.
412 (compute_summary): Do it just for a single summary.
413 (merge_one_data): Likewise.
414 (merge_summary): Simplify as we read just single summary.
415 (dump_one_gcov): Pass proper argument.
416 * libgcov-util.c (compute_one_gcov): Simplify as we have just
417 single summary.
418 (gcov_info_count_all_cold): Likewise.
419 (calculate_overlap): Likewise.
420
cf3cd43d
CJW
4212018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
422 Monk Chiang <sh.chiang04@gmail.com>
423
424 * config.host (nds32*-linux*): New.
425 * config/nds32/linux-atomic.c: New file.
426 * config/nds32/linux-unwind.h: New file.
427
8b8003ed
UB
4282018-05-31 Uros Bizjak <ubizjak@gmail.com>
429
430 PR target/85591
431 * config/i386/cpuinfo.c (get_amd_cpu): Return
432 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
433
bbdf026f
RV
4342018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
435
92a285c1 436 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
bbdf026f 437
0e8f29da
ML
4382018-05-29 Martin Liska <mliska@suse.cz>
439
92a285c1 440 PR gcov-profile/85759
0e8f29da 441 * libgcov-driver-system.c (gcov_error): Introduce usage of
92a285c1 442 GCOV_EXIT_AT_ERROR env. variable.
0e8f29da 443 * libgcov-driver.c (merge_one_data): Print error that we
92a285c1 444 overwrite a gcov file with a different timestamp.
0e8f29da 445
54fd1590
K
4462018-05-23 Kalamatee <kalamatee@gmail.com>
447
448 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
449 path to Lf$finfty.
450
09baee1a
KC
4512018-05-18 Kito Cheng <kito.cheng@gmail.com>
452 Monk Chiang <sh.chiang04@gmail.com>
453 Jim Wilson <jimw@sifive.com>
454
455 * config/riscv/save-restore.S: Add support for rv32e.
456
c3f808d3
KT
4572018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
458
459 * config/arm/libunwind.S: Update comment relating to armv5.
460
fcf4f831
JL
4612018-05-17 Jerome Lambourg <lambourg@adacore.com>
462
463 * config/arm/cmse.c (cmse_check_address_range): Replace
464 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
465
74b2bb19
OM
4662018-05-17 Olga Makhotina <olga.makhotina@intel.com>
467
468 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
469 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
470
50e461df
OM
4712018-05-08 Olga Makhotina <olga.makhotina@intel.com>
472
473 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
474 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
475
e5f1cdb1
AC
4762018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
477
478 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
479
8f479d7a
AT
4802018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
481 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
482
483 PR libgcc/84292
484 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
485 op_and_fetch to return the right result.
486
ae043291
AM
4872018-04-27 Alan Modra <amodra@gmail.com>
488
489 PR libgcc/85532
490 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
491 -fno-asynchronous-unwind-tables.
492
ba169b74
CJW
4932018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
494
495 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
496 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
497
ffc2fc06
L
4982018-04-24 H.J. Lu <hongjiu.lu@intel.com>
499
500 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
501 when including "config/i386/shadow-stack-unwind.h".
502
7b47ecf2
L
5032018-04-24 H.J. Lu <hongjiu.lu@intel.com>
504
505 * configure: Regenerated.
506
661eb8f9
MM
5072018-04-20 Michael Meissner <meissner@linux.ibm.com>
508
509 PR target/85456
510 * config/rs6000/_powikf2.c: New file. Add support for the
511 __builtin_powil function when long double is IEEE 128-bit floating
512 point.
513 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
514 __powikf2 support.
515 (__powikf2): Likewise.
516 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
517 (__powikf2_hw): Likewise.
518 (__powikf2): Likewise.
519 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
520 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
521 (_powikf2-hw.c): Likewise.
522
5707be3c
L
5232018-04-19 H.J. Lu <hongjiu.lu@intel.com>
524
525 PR libgcc/85334
526 * unwind-generic.h (_Unwind_Frames_Increment): New.
527 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
528 Likewise.
529 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
530 count with _Unwind_Frames_Increment.
531 (_Unwind_ForcedUnwind_Phase2): Likewise.
532
5f9ca0b8
L
5332018-04-19 H.J. Lu <hongjiu.lu@intel.com>
534
535 PR libgcc/85379
536 * config/i386/morestack.S (__stack_split_initialize): Add
537 _CET_ENDBR.
538
a0e1df88
JJ
5392018-04-19 Jakub Jelinek <jakub@redhat.com>
540
541 * configure: Regenerated.
542
001ddaa8
DM
5432018-04-18 David Malcolm <dmalcolm@redhat.com>
544
545 PR jit/85384
546 * configure: Regenerate.
547
a57f99ba
JJ
5482018-04-16 Jakub Jelinek <jakub@redhat.com>
549
550 PR target/84945
551 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
552 -Wdangling-else warnings. Mask shift counts to avoid
553 -Wshift-count-negative and -Wshift-count-overflow false positives.
554
4d47fe5a
RB
5552018-04-06 Ruslan Bukin <br@bsdpad.com>
556
557 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
558
059cc8ac
L
5592018-03-29 H.J. Lu <hongjiu.lu@intel.com>
560
561 PR target/85100
562 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
563 (XSTATE_FP): Likewise.
564 (XSTATE_SSE): Likewise.
565 (XSTATE_YMM): Likewise.
566 (XSTATE_OPMASK): Likewise.
567 (XSTATE_ZMM): Likewise.
568 (XSTATE_HI_ZMM): Likewise.
569 (XCR_AVX_ENABLED_MASK): Likewise.
570 (XCR_AVX512F_ENABLED_MASK): Likewise.
571 (get_available_features): Enable AVX and AVX512 features only
572 if their states are supported by OSXSAVE.
573
f2620385
IT
5742018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
575
576 PR target/85025
577 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
578 Fix a typo, tmp => 255.
579
ae6dca8c
JJ
5802018-03-20 Jakub Jelinek <jakub@redhat.com>
581
582 PR target/84945
583 * config/i386/cpuinfo.h (__cpu_features2): Declare.
584 * config/i386/cpuinfo.c (__cpu_features2): New variable for
585 ifndef SHARED only.
586 (set_feature): Define.
587 (get_available_features): Use set_feature macro. Set __cpu_features2
588 to the second word of features ifndef SHARED.
589
c36b04c1
JK
5902018-03-15 Julia Koval <julia.koval@intel.com>
591
592 * config/i386/cpuinfo.c (get_available_features): Add
593 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
594 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
595 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
596 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
597 FEATURE_AVX512BITALG.
598
79ab5364
JK
5992018-03-14 Julia Koval <julia.koval@intel.com>
600
601 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
602 icelake client and icelake server.
603
66a00b11
JDA
6042018-03-06 John David Anglin <danglin@gcc.gnu.org>
605
606 * config/pa/fptr.c (_dl_read_access_allowed): New.
607 (__canonicalize_funcptr_for_compare): Use it.
af8096fc 608
ce579a4f
JJ
6092018-02-28 Jakub Jelinek <jakub@redhat.com>
610
611 PR debug/83917
612 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
613 $asm_hidden_op if visibility ("hidden") attribute works.
614 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
615 * config/i386/i386-asm.h: Don't include auto-host.h.
616 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
617 PACKAGE_URL): Don't undefine.
618 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
619 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
620 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
621 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
622 definition instead of hardcoded .hidden.
623 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
624 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
625 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
626 (USE_GAS_CFI_DIRECTIVES): Don't define.
627 * configure: Regenerated.
628 * config.in: Likewise.
629
e5868319
JJ
6302018-02-26 Jakub Jelinek <jakub@redhat.com>
631
632 PR debug/83917
633 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
634 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
635 inclusion of auto-target.h and auto-host.h.
636 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
637 __GCC_HAVE_DWARF2_CFI_ASM.
638 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
639 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
640 cfi_pop): Define.
641 * config/i386/cygwin.S: Don't include auto-host.h here, just
642 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
643 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
644 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
645 * config/i386/resms64fx.h: Add cfi_* directives.
646 * config/i386/resms64x.h: Likewise.
647
faef260e
MF
6482018-02-20 Max Filippov <jcmvbkbc@gmail.com>
649
650 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
651 .literal_position directive.
652 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
653
14e335ed
IT
6542018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
655
656 PR target/84148
657 * configure: Regenerate.
658
95df0433
IT
6592018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
660
661 PR target/84239
662 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
663 Include cetintrin.h not x86intrin.h.
664
f8de876d
IT
6652018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
666
667 PR target/84239
95df0433 668 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
f8de876d
IT
669 Use new _get_ssp and _inc_ssp intrinsics.
670
02da1e9c
JK
6712018-02-02 Julia Koval <julia.koval@intel.com>
672
673 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
674
048c6a9a
CZ
6752018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
676
677 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
678 option.
679 (__divsi3): Use RF16 safe registers.
680 (__modsi3): Likewise.
681
0889f168
MF
6822018-01-23 Max Filippov <jcmvbkbc@gmail.com>
683
684 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
685 (__divsf3): Make NaN return value quiet.
686 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
687 (__divdf3): Make NaN return value quiet.
688
bc8b0d04
SP
6892018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
690
691 * config/rl78/anddi3.S: New assembly file.
692 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
693
99cc06ea
SP
6942018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
695
696 * config/rl78/umindi3.S: New assembly file.
697 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
698
6e9007a0
SP
6992018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
700
701 * config/rl78/smindi3.S: New assembly file.
702 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
703
d975e494 7042018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 705
d975e494
SP
706 * config/rl78/smaxdi3.S: New assembly file.
707 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
708
6a18c146 7092018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 710
5dd16013
SP
711 * config/rl78/umaxdi3.S: New assembly file.
712 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
af8096fc 713
07baf4a5
JDA
7142018-01-21 John David Anglin <danglin@gcc.gnu.org>
715
716 PR lto/83452
717 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
718 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
af8096fc 719
dbc3af4f
RS
7202018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
721
722 * config/aarch64/value-unwind.h (aarch64_vg): New function.
723 (DWARF_LAZY_REGISTER_VALUE): Define.
724 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
725 to provide a fallback register value.
726
68df9882
MM
7272018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
728
729 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
730 __ibm128, instead of trying to use long double.
731 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
732 accomidate -mabi=ieeelongdouble multilibs.
733 (CVT_IBM128_TO_FLOAT128): Likewise.
734 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
735 the appropriate IBM extended double type.
736 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
737 (__gcc_qsub): Likewise.
738 (__gcc_qmul): Likewise.
739 (__gcc_qdiv): Likewise.
740 (pack_ldouble): Likewise.
741 (__gcc_qneg): Likewise.
742 (__gcc_qeq): Likewise.
743 (__gcc_qne): Likewise.
744 (__gcc_qge): Likewise.
745 (__gcc_qle): Likewise.
746 (__gcc_stoq): Likewise.
747 (__gcc_dtoq): Likewise.
748 (__gcc_itoq): Likewise.
749 (__gcc_utoq): Likewise.
750 (__gcc_qunord): Likewise.
751 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
752 quad-float128.h for the definitions.
753 (COPYSIGN): Use the f128 version instead of the q version.
754 (INFINITY): Likewise.
755 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
756 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
757 quad-float128.h for the definitions.
758 (COPYSIGN): Use the f128 version instead of the q version.
759 (INFINITY): Likewise.
760 (FABS): Likewise.
761 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
762 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
763 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
764
64b371b1
SH
7652018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
766
767 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
768 configuration.
769
85ec4feb
JJ
7702018-01-03 Jakub Jelinek <jakub@redhat.com>
771
772 Update copyright years.
773
7742017-12-12 Kito Cheng <kito.cheng@gmail.com>
b8d7e076
KC
775
776 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
777 * config/riscv/multi3.c: New file.
778 * config/riscv/multi3.S: Remove.
779
3a4c600f
JW
7802017-12-08 Jim Wilson <jimw@sifive.com>
781
782 * config/riscv/div.S: Use FUNC_* macros.
783 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
784 * config/riscv/save-restore.S: Likewise.
785 * config/riscv/riscv-asm.h: New.
786
75ad35b5
MM
7872017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
788
6ae3512c
MM
789 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
790 * config/rs6000/_divkc3.c (__divkc3): Likewise.
791
75ad35b5
MM
792 PR libgcc/83112
793 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
794 correct type for all ifunc resolvers to silence -Wattribute-alias
795 warnings. Eliminate the forward declaration of the resolver
796 functions which is no longer needed.
797 (__subkf3_resolve): Likewise.
798 (__mulkf3_resolve): Likewise.
799 (__divkf3_resolve): Likewise.
800 (__negkf2_resolve): Likewise.
801 (__eqkf2_resolve): Likewise.
802 (__nekf2_resolve): Likewise.
803 (__gekf2_resolve): Likewise.
804 (__gtkf2_resolve): Likewise.
805 (__lekf2_resolve): Likewise.
806 (__ltkf2_resolve): Likewise.
807 (__unordkf2_resolve): Likewise.
808 (__extendsfkf2_resolve): Likewise.
809 (__extenddfkf2_resolve): Likewise.
810 (__trunckfsf2_resolve): Likewise.
811 (__trunckfdf2_resolve): Likewise.
812 (__fixkfsi_resolve): Likewise.
813 (__fixkfdi_resolve): Likewise.
814 (__fixunskfsi_resolve): Likewise.
815 (__fixunskfdi_resolve): Likewise.
816 (__floatsikf_resolve): Likewise.
817 (__floatdikf_resolve): Likewise.
818 (__floatunsikf_resolve): Likewise.
819 (__floatundikf_resolve): Likewise.
820 (__extendkftf2_resolve): Likewise.
821 (__trunctfkf2_resolve): Likewise.
822
823 PR libgcc/83103
824 * config/rs6000/quad-float128.h (TF): Don't define if long double
825 is IEEE 128-bit floating point.
826 (TCtype): Define as either TCmode or KCmode, depending on whether
827 long double is IEEE 128-bit floating point.
828 (__mulkc3_sw): Add declarations for software/hardware versions of
829 complex multiply/divide.
830 (__divkc3_sw): Likewise.
831 (__mulkc3_hw): Likewise.
832 (__divkc3_hw): Likewise.
833 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
834 handlers to switch between using software emulation and hardware
835 float128 instructions, build the complex multiply/divide functions
836 for both software and hardware support.
837 * config/rs6000/_divkc3.c (_divkc3): Likewise.
838 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
839 (__divkc3_resolve): Likewise.
840 (__mulkc3): Likewise.
841 (__divkc3): Likewise.
842 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
843 (fp128_hw_src): Likewise.
844 (fp128_hw_static_obj): Likewise.
845 (fp128_hw_shared_obj): Likewise.
846 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
847 _mulkc3.c and _divkc3.c, changing the function name.
848 (_divkc3-hw.c): Likewise.
849 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
850 and _divkc3-hw.c.
851
c234d831
UB
8522017-11-26 Julia Koval <julia.koval@intel.com>
853
854 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
855 * config/i386/cpuinfo.h (processor_subtypes): Add
856 INTEL_COREI7_CANNONLAKE.
857
1ebafce0
IT
8582017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
859
860 PR bootstrap/83015
861 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
862 parameter.
863 * config/xtensa/unwind-dw2-xtensa.c: Likewise
864 * config/ia64/unwind-ia64.c: Add frames parameter.
865 * unwind-sjlj.c: Likewise.
866
6a10fff4
IT
8672017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
868
869 * config/i386/linux-unwind.h: Include
870 config/i386/shadow-stack-unwind.h.
871 * config/i386/shadow-stack-unwind.h: New file.
872 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
873 pass it to _Unwind_Frames_Extra.
874 * unwind-generic.h (_Unwind_Frames_Extra): New.
875 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
876 parameter. Add local variable frames to count number of frames.
877 (_Unwind_ForcedUnwind_Phase2): Likewise.
878 (_Unwind_RaiseException): Add local variable frames to count
879 number of frames, pass it to _Unwind_RaiseException_Phase2 and
880 uw_install_context.
881 (_Unwind_ForcedUnwind): Likewise.
882 (_Unwind_Resume): Likewise.
883 (_Unwind_Resume_or_Rethrow): Likewise.
884
1ecae1fc
IT
8852017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
886
887 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
888 (CET_FLAGS): New.
889 * config/i386/morestack.S: Include <cet.h>.
890 (__morestack_large_model): Add _CET_ENDBR at function entrance.
891 * config/i386/resms64.h: Include <cet.h>.
892 * config/i386/resms64f.h: Likewise.
893 * config/i386/resms64fx.h: Likewise.
894 * config/i386/resms64x.h: Likewise.
895 * config/i386/savms64.h: Likewise.
896 * config/i386/savms64f.h: Likewise.
897 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
898 (CRTSTUFF_T_CFLAGS): Likewise.
899 * configure.ac: Include ../config/cet.m4.
900 Set and substitute CET_FLAGS.
901 * configure: Regenerated.
902
f021f1d3
RO
9032017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
904
905 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
906 renaming.
907 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
908 * configure.ac (libgcc_cv_solaris_crts): Likewise.
909 * configure: Regenerate.
910
65f480c7
TV
9112017-11-07 Tom de Vries <tom@codesourcery.com>
912
913 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
914 after "do {} while (0)".
915
2a321acb
TV
9162017-11-07 Tom de Vries <tom@codesourcery.com>
917
918 PR other/82784
919 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
920 semicolon after "do {} while (0)".
921 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
922 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
923 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
924 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
925
59fcf6c3
AT
9262017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
927
928 PR libgcc/82635
929 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
930 sysctl to determine whether we're in a trampoline.
931 Keep the pattern matching method for systems without
932 KERN_PROC_SIGTRAMP sysctl.
933
b0c7ddf8
CM
9342017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
935 Vineet Gupta <vgupta@synopsys.com>
936
937 * config.host (arc*-*-linux*): Set md_unwind_header variable.
938 * config/arc/linux-unwind-reg.def: New file.
939 * config/arc/linux-unwind-reg.h: Likewise.
940
5feee954
SP
9412017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
942
943 * config/rl78/subdi3.S: New assembly file.
944 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
945
a0bf6cf7
SP
9462017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
947
948 * config/rl78/adddi3.S: New assembly file.
949 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
950
e7176f75
JJ
9512017-10-13 Jakub Jelinek <jakub@redhat.com>
952
953 PR target/82274
954 * libgcc2.c (__mulvDI3): If both operands have
955 the same highpart of -1 and the topmost bit of lowpart is 0,
956 multiplication overflows even if both lowparts are 0.
957
db6601d2
JB
9582017-09-28 James Bowman <james.bowman@ftdichip.com>
959
960 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
961
938b6f1e
JM
9622017-09-26 Joseph Myers <joseph@codesourcery.com>
963
964 * config/microblaze/crti.S, config/microblaze/crtn.S,
965 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
966 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
967 config/microblaze/mulsi3.S,
968 config/microblaze/stack_overflow_exit.S,
969 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
970 config/pa/milli64.S: Add .note.GNU-stack section.
971
89762a83
DS
9722017-09-23 Daniel Santos <daniel.santos@pobox.com>
973
974 * configure.ac: Add Check for HAVE_AS_AVX.
975 * config.in: Regenerate.
976 * configure: Likewise.
977 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
978 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
979 Correct out-of-date comments.
980
cace2309
SP
9812017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
982
983 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
984 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
985
3cb626e4
DS
9862017-09-17 Daniel Santos <daniel.santos@pobox.com>
987
cace2309 988 * config/i386/i386-asm.h (PASTE2): New macro.
3cb626e4
DS
989 (ASMNAME): Modify to use PASTE2.
990 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
991 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
cace2309 992 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
3cb626e4 993 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
cace2309
SP
994 * config/i386/resms64f.S: Likewise.
995 * config/i386/resms64fx.S: Likewise.
996 * config/i386/resms64x.S: Likewise.
997 * config/i386/savms64.S: Likewise.
998 * config/i386/savms64f.S: Likewise.
999 * config/i386/avx_resms64.S: New file that only defines a macro and
3cb626e4 1000 includes it's corresponding header file.
cace2309
SP
1001 * config/i386/avx_resms64f.S: Likewise.
1002 * config/i386/avx_resms64fx.S: Likewise.
1003 * config/i386/avx_resms64x.S: Likewise.
1004 * config/i386/avx_savms64.S: Likewise.
1005 * config/i386/avx_savms64f.S: Likewise.
1006 * config/i386/sse_resms64.S: Likewise.
1007 * config/i386/sse_resms64f.S: Likewise.
1008 * config/i386/sse_resms64fx.S: Likewise.
1009 * config/i386/sse_resms64x.S: Likewise.
1010 * config/i386/sse_savms64.S: Likewise.
1011 * config/i386/sse_savms64f.S: Likewise.
1012 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3cb626e4 1013
2f19c491 10142017-09-01 Olivier Hainque <hainque@adacore.com>
2f19c491
OH
1015 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
1016
611e7036
OH
10172017-08-31 Olivier Hainque <hainque@adacore.com>
1018
1019 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
1020 match as powerpc-wrs-vxworks*.
1021
c8f34527
JY
10222017-08-07 Jonathan Yong <10walls@gmail.com>
1023
1024 * config.host (*-cygwin): Include file from mingw
1025 config/i386/enable-execute-stack-mingw32.c
1026
0b458d2b 10272017-08-01 Jerome Lambourg <lambourg@adacore.com>
92a285c1
ML
1028 Doug Rupp <rupp@adacore.com>
1029 Olivier Hainque <hainque@adacore.com>
0b458d2b
JL
1030
1031 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
1032 as well as arm-wrs-vxworks.
1033 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
1034 LIB2ADDEH.
1035 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
1036 __exidx_start and __exidx_end for downloadable modules.
1037
4df612fa
OH
10382017-08-01 Olivier Hainque <hainque@adacore.com>
1039
1040 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
1041 * config/t-vxworks7: Likewise.
1042
5560e8c0
OH
10432017-08-01 Olivier Hainque <hainque@adacore.com>
1044
1045 * config/t-vxworks: Instead of redefining LIB2ADD,
1046 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
1047
16bab95a
SH
10482017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1049
1050 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
1051
9cbc07cc
DS
10522017-07-24 Daniel Santos <daniel.santos@pobox.com>
1053
1054 PR testsuite/80759
1055 * config.host: include i386/t-msabi for darwin and solaris.
1056 * config/i386/i386-asm.h
1057 (ELFFN): Rename to FN_TYPE.
1058 (FN_SIZE): New macro.
1059 (FN_HIDDEN): Likewise.
1060 (ASMNAME): Likewise.
1061 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
1062 .globl.
1063 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
1064 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
1065 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
1066 .macro.
1067 * config/i386/resms64f.S: Likewise.
1068 * config/i386/resms64fx.S: Likewise.
1069 * config/i386/resms64x.S: Likewise.
1070 * config/i386/savms64.S: Likewise.
1071 * config/i386/savms64f.S: Likewise.
1072
de742204
JM
10732017-07-19 John Marino <gnugcc@marino.st>
1074
1075 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
1076
3787ee47
MM
10772017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
1078
1079 PR target/81193
1080 * configure.ac (PowerPC float128 hardware support): Test whether
1081 we can use __builtin_cpu_supports before enabling the ifunc
1082 handler.
1083 * configure: Regenerate.
1084
b1938888
VG
10852017-07-10 Vineet Gupta <vgupta@synopsys.com>
1086
1087 * config.host: Remove uclibc from arc target spec.
1088
bec75e53
KW
10892017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
1090
1091 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
1092
d4391a62
PB
10932017-07-07 Peter Bergner <bergner@vnet.ibm.com>
1094
1095 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
1096 (have_ieee_hw_p): Delete function.
1097 (SW_OR_HW) Use __builtin_cpu_supports().
1098
9296dd9b
TP
10992017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
1100
1101 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
1102
b85a969e
OH
11032017-07-03 Olivier Hainque <hainque@adacore.com>
1104
d4391a62 1105 * config/t-vxworks7: New file, really.
b85a969e 1106
883312dc
JM
11072017-06-28 Joseph Myers <joseph@codesourcery.com>
1108
1109 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
1110 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
1111 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
1112 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
1113 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
1114 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
1115 config/pa/linux-unwind.h (pa32_fallback_frame_state),
1116 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
1117 config/sh/linux-unwind.h (sh_fallback_frame_state),
1118 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
1119 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
1120 ucontext_t instead of struct ucontext.
1121
50567938
JL
11222017-06-27 Jerome Lambourg <lambourg@adacore.com>
1123
1124 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
1125 (x86_64-wrs-vxworks7): Likewise.
1126
e4b0df93
OH
11272017-06-27 Olivier Hainque <hainque@adacore.com>
1128
1129 * config/t-vxworks7: New file.
1130 * config.host (*-*-vxworks7): Use it.
1131
60edf8bb
MT
11322017-06-22 Matt Turner <mattst88@gmail.com>
1133
1134 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
1135 skylake case.
1136
a51a76e5
RB
11372017-06-21 Richard Biener <rguenther@suse.de>
1138
1139 PR gcov-profile/81080
1140 * configure.ac: Add AC_SYS_LARGEFILE.
1141 * libgcov.h: Include auto-target.h before tsystem.h to pick
1142 up _FILE_OFFSET_BITS which might differ for multilibs.
1143 * config.in: Regenerate.
1144 * configure: Likewise.
1145
f0cd49c5
RE
11462017-06-16 Richard Earnshaw <rearnsha@arm.com>
1147
1148 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
1149
4f751c54
ML
11502017-06-09 Martin Liska <mliska@suse.cz>
1151
1152 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
1153 Reset __gcov_indirect_call_callee to NULL.
1154
1ac644c8
OH
11552017-06-08 Olivier Hainque <hainque@adacore.com>
1156
1157 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
1158 the set of -I options, support for direct inclusions of net/uio.h
1159 by VxWorks header files via ioLib.h.
1160
d8b9cd27
TR
11612017-06-07 Tony Reix <tony.reix@atos.net>
1162 Matthieu Sarter <matthieu.sarter.external@atos.net>
1163 David Edelsohn <dje.gcc@gmail.com>
1164
92a285c1
ML
1165 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
1166 unconditionally.
1167 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
1168 AIX 7.2 support.
d8b9cd27 1169
38a75ccc
OH
11702017-06-02 Olivier Hainque <hainque@adacore.com>
1171
1172 * config/vxlib.c (__gthread_once): Add missing value to
1173 return statement.
1174
5b2edf53
OH
11752017-05-30 Olivier Hainque <hainque@adacore.com>
1176
1177 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
1178 dollar sign before $(MULTIDIR).
1179
7d66e265
RH
11802017-05-26 Richard Henderson <rth@redhat.com>
1181
1182 PR libgcc/80037
1183 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
1184
78eca309
AT
11852017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
1186
1187 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
1188 _Unwind_SetIP available as functions for arm*-*-freebsd*.
1189 * config/arm/unwind-arm.c: Implement the above.
1190
c39d309a
AZ
11912017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1192
1193 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
1194 section for a non-executable stack.
1195
eac8c9f2
KW
11962017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
1197
1198 PR target/80600
1199 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
1200
d6d4d770
DS
12012017-05-14 Daniel Santos <daniel.santos@pobox.com>
1202
1203 * config.host: Add i386/t-msabi to i386/t-linux file list.
1204 * config/i386/i386-asm.h: New file.
1205 * config/i386/resms64.S: New file.
1206 * config/i386/resms64f.S: New file.
1207 * config/i386/resms64fx.S: New file.
1208 * config/i386/resms64x.S: New file.
1209 * config/i386/savms64.S: New file.
1210 * config/i386/savms64f.S: New file.
1211 * config/i386/t-msabi: New file.
1212
8ef2b9a7
AT
12132017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
1214
1215 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
1216 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
1217
7ab8766a
JC
12182017-05-05 Joshua Conner <joshconner@google.com>
1219
1220 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
1221 pc-relative indirect handling for fuchsia.
1222 * config/t-slibgcc-fuchsia: New file.
1223 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
d6d4d770 1224 x86_64-*-fuchsia*): Add definitions.
7ab8766a 1225
46928a8f
ML
12262017-04-19 Martin Liska <mliska@suse.cz>
1227
1228 PR gcov-profile/80435
1229 * Makefile.in: Install gcov.h.
1230 * gcov.h: New file.
1231 * libgcov.h: Use the header and make __gcov_flush publicly
1232 visible.
1233
63971184
ML
12342017-04-18 Martin Liska <mliska@suse.cz>
1235
1236 PR gcov-profile/78783
1237 * libgcov-driver.c (gcov_get_filename): New function.
1238
29d8aae6
JL
12392017-04-07 Jeff Law <law@redhat.com>
1240
1241 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
1242 target makefile fragment.
1243 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
1244
2bdf7fc6
AM
12452017-04-07 Alan Modra <amodra@gmail.com>
1246
1247 PR target/45053
1248 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
1249
5764ee3c
JW
12502017-04-03 Jonathan Wakely <jwakely@redhat.com>
1251
1252 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
1253
c4192ad7
CZ
12542017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
1255
1256 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
1257
4ccfdb28
JM
12582017-03-10 John Marino <gnugcc@marino.st>
1259
1260 * config/aarch64/freebsd-unwind.h: New file.
1261 * config.host: Add aarch64-*-freebsd unwinder.
1262
4144e4e3
SB
12632017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1264
1265 * config/rs6000/crtrestvr.s: Use .machine altivec.
1266 * config/rs6000/crtsavevr.s: Ditto.
1267
7502c597
SB
12682017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1269
1270 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
1271 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
1272 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
1273 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
1274 * configure: Regenerate.
1275 * config.in: Regenerate.
1276
db9f7f65
JY
12772017-03-02 Jonathan Yong <10walls@gmail.com>
1278
1279 * config/i386/gthr-win32.h: Define NOGDI before
1280 windows.h include to prevent w32api CC_NONE macro
1281 clash with libgfortran.
1282
126437c5
JY
12832017-03-02 Jonathan Yong <10walls@gmail.com>
1284
1285 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
1286
31927af6
AP
12872017-02-16 Andrew Pinski <apinski@cavium.com>
1288
1289 * config/aarch64/value-unwind.h: New file.
1290 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
1291 to tm_file.
1292
0bd99911
PD
12932017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
1294
1295 * config.host: Add RISC-V tuples.
1296 * config/riscv/atomic.c: New file.
1297 * config/riscv/crti.S: Likewise.
1298 * config/riscv/crtn.S: Likewise.
1299 * config/riscv/div.S: Likewise.
1300 * config/riscv/linux-unwind.h: Likewise.
1301 * config/riscv/muldi3.S: Likewise.
1302 * config/riscv/multi3.S: Likewise.
1303 * config/riscv/save-restore.S: Likewise.
1304 * config/riscv/sfp-machine.h: Likewise.
1305 * config/riscv/t-elf: Likewise.
1306 * config/riscv/t-elf32: Likewise.
1307 * config/riscv/t-elf64: Likewise.
1308 * config/riscv/t-softfp32: Likewise.
1309 * config/riscv/t-softfp64: Likewise.
1310
a8c9ef2a
JJ
13112017-01-24 Jakub Jelinek <jakub@redhat.com>
1312
1313 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
1314 /* FALLTHRU */ comments.
1315
c6c82710
GP
13162017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
1317
1318 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
1319
a876231c
JW
13202017-01-20 Jiong Wang <jiong.wang@arm.com>
1321
1322 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
1323 * unwind-dw2.c (execute_cfa_program): Only multiplexing
1324 DW_CFA_GNU_window_save for AArch64 and LP64.
1325
aa348be2
JW
13262017-01-20 Jiong Wang <jiong.wang@arm.com>
1327
1328 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
1329
5636faf2
JW
13302017-01-19 Jiong Wang <jiong.wang@arm.com>
1331
1332 * config/aarch64/aarch64-unwind.h: New file.
1333 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
1334 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
1335 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
1336 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
1337 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
1338 (aarch64_post_extract_frame_addr): New function.
1339 (aarch64_post_frob_eh_handler_addr): New function.
1340 (aarch64_frob_update_context): New function.
1341 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
1342 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
1343 aarch64*-*-freebsd*):
1344 Initialize md_unwind_header to include aarch64-unwind.h.
1345 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
1346 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
1347 __aarch64__.
1348 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
1349 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
1350 (uw_frob_return_addr): New function.
1351 (uw_install_context): Use uw_frob_return_addr.
1352
3c36aa6b
JJ
13532017-01-17 Jakub Jelinek <jakub@redhat.com>
1354
1355 PR other/79046
1356 * configure.ac: Add GCC_BASE_VER.
1357 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
1358 version from BASE-VER file.
1359 * configure: Regenerated.
1360
829afb8f
JS
13612017-01-13 Joe Seymour <joe.s@somniumtech.com>
1362
1363 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
1364 libmul_f5.a): Filter archived prerequisites.
1365
79fc8ffe
AS
13662017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
1367
1368 * config/i386/cpuinfo.h (processor_features): Add
1369 FEATURE_AVX512VPOPCNTDQ.
1370 * config/i386/cpuinfo.c (get_available_features): Habdle new
1371 feature.
1372
fec5f4e0
JM
13732017-01-04 Joseph Myers <joseph@codesourcery.com>
1374
1375 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
1376 payload if [__mips_nan2008].
1377
8f56cb51
AM
13782017-01-04 Alan Modra <amodra@gmail.com>
1379
1380 * Makefile.in (configure_deps): Update.
1381 * configure: Regenerate.
1382
cbe34bb5
JJ
13832017-01-01 Jakub Jelinek <jakub@redhat.com>
1384
1385 Update copyright years.
1386
ab955692
KW
13872016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
1388
1389 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
1390 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
1391 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
1392
de34320f
MK
13932016-12-17 Matthias Klose <doko@ubuntu.com>
1394
1395 * config/arc/gmon: Remove empty directory.
1396
e04ea1da
CZ
13972016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
1398
1399 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
1400 crtgend.
1401 (arc*-*-elf*): Likewise.
1402 * config/arc/t-arc: Remove old gmon lib targets.
1403 * config/arc/crtg.S: Remove.
1404 * config/arc/crtgend.S: Likewise.
1405 * config/arc/gmon/atomic.h: Likewise.
1406 * config/arc/gmon/auxreg.h: Likewise.
1407 * config/arc/gmon/dcache_linesz.S: Likewise.
1408 * config/arc/gmon/gmon.c: Likewise.
1409 * config/arc/gmon/machine-gmon.h: Likewise.
1410 * config/arc/gmon/mcount.c: Likewise.
1411 * config/arc/gmon/prof-freq-stub.S: Likewise.
1412 * config/arc/gmon/prof-freq.c: Likewise.
1413 * config/arc/gmon/profil.S: Likewise.
1414 * config/arc/gmon/sys/gmon.h: Likewise.
1415 * config/arc/gmon/sys/gmon_out.h: Likewise.
1416 * config/arc/t-arc-newlib: Likewise.
1417 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
1418
8ae1c2c1
GS
14192016-12-12 George Spelvin <linux@sciencehorizons.net>
1420
1421 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
1422
a5b947fa
GS
14232016-12-12 George Spelvin <linux@sciencehorizons.net>
1424
1425 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
1426 R16 instead of push + pop.
1427 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
1428
d6574dd1
KW
14292016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
1430
1431 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
1432 tmake_file.
1433
62440b4f
CM
14342016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
1435
1436 * config.host (arc*-*-linux-uclibc*): Use default extra
1437 objects. Include linux-android header.
1438 * config/arc/crti.S (_init): Declare symbol as function.
1439 (_fini): Likewise.
1440
31cfd832
TK
14412016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
1442
1443 PR fortran/78379
1444 * config/i386/cpuinfo.c: Move denums for processor vendors,
1445 processor type, processor subtypes and declaration of
1446 struct __processor_model into
1447 * config/i386/cpuinfo.h: New header file.
1448
c92e08e3
AV
14492016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1450 Thomas Preud'homme <thomas.preudhomme@arm.com>
1451
1452 * config/arm/cmse_nonsecure_call.S: New.
1453 * config/arm/t-arm: Compile cmse_nonsecure_call.S
1454
de7b5723
AV
14552016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1456 Thomas Preud'homme <thomas.preudhomme@arm.com>
1457
1458 * config/arm/t-arm (HAVE_CMSE): New.
1459 * config/arm/cmse.c: New.
1460
7a0d2bce
TP
14612016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
1462
b3a5bff4
TP
1463 PR gcc/74748
1464 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
1465 use generic linker version information on Blackfin.
1466
7a0d2bce
TP
1467 PR gcc/74748
1468 * libgcc/mkmap-symver.awk: add support for skip_underscore
1469
b410cf1d
IS
14702016-11-27 Iain Sandoe <iain@codesourcery.com>
1471 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1472
1473 PR target/67710
1474 * config/t-darwin: Default builds to 10.5 codegen.
1475
2e5f8203
JG
14762016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
1477
1478 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
1479 (_FP_NANSIGN_H): Likewise.
1480 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
1481 (softfp_truncations): Add tfhf.
1482 (softfp_extras): Add required conversion functions.
1483
bea64ca3
JG
14842016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1485 Matthew Wahab <matthew.wahab@arm.com>
1486
1487 * config/arm/fp16.c (binary64): New.
1488 (__gnu_d2h_internal): New.
1489 (__gnu_d2h_ieee): New.
1490 (__gnu_d2h_alternative): New.
1491
8630cadb
JG
14922016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1493 Matthew Wahab <matthew.wahab@arm.com>
1494
1495 * config/arm/fp16.c (struct format): New.
1496 (binary32): New.
1497 (__gnu_float2h_internal): New. Body moved from
1498 __gnu_f2h_internal and generalize.
1499 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
1500 Call it with binary32.
1501
5823ef23
JG
15022016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1503
1504 * soft-fp/extendhftf2.c: Update from glibc.
1505 * soft-fp/fixhfti.c: Likewise.
1506 * soft-fp/fixunshfti.c: Likewise.
1507 * soft-fp/floattihf.c: Likewise.
1508 * soft-fp/floatuntihf.c: Likewise.
1509 * soft-fp/half.h: Likewise.
1510 * soft-fp/trunctfhf2.c: Likewise.
1511
62a7df9f
MG
15122016-11-20 Marc Glisse <marc.glisse@inria.fr>
1513
1514 PR libgcc/77813
1515 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
1516 __TMC_END__ behind a passthrough asm.
1517
7a384912
WL
15182016-11-18 Walter Lee <walt@tilera.com>
1519
62a7df9f 1520 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
7a384912 1521
9775c1a5
L
15222016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
1523
1524 * config/i386/cpuinfo.c (processor_features): Add
1525 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
1526
48c842ab
CZ
15272016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
1528
1529 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
1530 (__ARC_NORM__): Use instead ARC_OPTFPE.
1531 * config/arc/fp-hack.h: Likewise.
1532 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
1533 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
1534
5012919d
AM
15352016-11-16 Alexander Monakov <amonakov@ispras.ru>
1536
1537 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
1538 * config/nvptx/mgomp.c: New file.
1539 * config/nvptx/t-nvptx: Add mgomp.c
1540
00178b98
WB
15412016-11-16 Waldemar Brodkorb <wbx@openadk.org>
1542
1543 PR libgcc/68468
1544 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
1545
d64af69f
CZ
15462016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
1547
1548 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
1549 of checking for cpus.
1550 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
1551 (__modsi3, __clzsi2): Likewise.
1552
9d8f95de
SN
15532016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
1554
1555 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
1556 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
1557 * config/i386/t-cpuinfo-static: New.
1558
7d29f8e3
ML
15592016-11-03 Martin Liska <mliska@suse.cz>
1560
1561 * libgcov-profiler.c (__gcov_time_profiler): Remove.
1562 (__gcov_time_profiler_atomic): Likewise.
1563
5de3e2d8
BE
15642016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
1565
1566 PR libgcc/78067
1567 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
1568 count_leading_zeros.
1569
18362447
UB
15702016-11-02 Uros Bizjak <ubizjak@gmail.com>
1571
1572 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
1573 * libgcc2.c (__divmoddi4): New function.
1574 * libgcc2.h (__divmoddi4): Declare.
1575 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
1576 and __PFX_divmodti4.
1577
33107571
FW
15782016-10-24 Florian Weimer <fweimer@redhat.com>
1579
1580 PR libgcc/78064
1581 * unwind-c.c: Include auto-target.h.
1582
4c6d7494
JDA
15832016-10-19 John David Anglin <danglin@gcc.gnu.org>
1584
18362447 1585 * config/pa/pa64-hpux-lib.h: New file.
4c6d7494
JDA
1586 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
1587 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
1588 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
1589 hppa*64*-*-hpux11*.
1590
2a26adf1
MF
15912016-10-18 Max Filippov <jcmvbkbc@gmail.com>
1592
1593 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1594 definition.
1595 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1596 definition.
1597 * config/xtensa/t-windowed (LIB2ADDEH): Use
1598 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
1599 or xtensa/t-linux.
1600
66192aa1
DKC
16012016-10-18 Ding-Kai Chen <dkchen@cadence.com>
1602
1603 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
1604 __ieee754_sqrt): New functions.
1605 (__divdf3): Add implementation with new FPU instructions under
1606 #if XCHAL_HAVE_DFP_DIV.
1607 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
1608 __ieee754_sqrtf): New functions.
1609 (__divsf3): Add implementation with new FPU instructions under
1610 #if XCHAL_HAVE_FP_DIV.
1611 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
1612 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
1613
4d0cdd0c
TP
16142016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
1615
1616 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
1617 equivalent.
1618 * config/tilepro/atomic.c: Likewise and stop casting model to
1619 enum memmodel.
1620
73f01cca
JM
16212016-10-10 Joseph Myers <joseph@codesourcery.com>
1622
1623 PR target/77586
1624 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
1625 soft-fp.
1626
b20e7532
AT
16272016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
1628
1629 * config.host: Add support for aarch64-*-freebsd*.
1630
a786cec4
AS
16312016-10-05 Andreas Schwab <schwab@suse.de>
1632
1633 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
1634 (.section .init_array): Don't call __do_jv_register_classes.
1635 (.section .init): Likewise.
1636
5a79befb
JJ
16372016-10-04 Jakub Jelinek <jakub@redhat.com>
1638
1639 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
1640 (__JCR_LIST__): Remove.
1641 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
1642 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
1643 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
1644 * config/ia64/crtend.S (__JCR_END__): Remove.
1645 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
1646 conditionals.
1647 (__JCR_LIST__, __JCR_END__): Remove.
1648 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
1649 (__do_global_ctors_1): Likewise.
1650
e0ab3753
UB
16512015-09-28 Uros Bizjak <ubizjak@gmail.com>
1652
1653 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
1654 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
1655
8c9434c2
ML
16562016-09-27 Martin Liska <mliska@suse.cz>
1657
1658 PR gcov-profile/7970
1659 PR gcov-profile/16855
1660 PR gcov-profile/44779
1661 * libgcov-driver.c (__gcov_init): Do not register a atexit
1662 handler.
1663 (__gcov_exit): Rename from gcov_exit.
1664 * libgcov.h (__gcov_exit): Declare.
1665
56b653f1
ML
16662016-09-27 Martin Liska <mliska@suse.cz>
1667
1668 PR bootstrap/77749
1669 * Makefile.in: Remove _gcov_merge_delta.
1670 * libgcov-merge.c (void __gcov_merge_delta): Remove.
1671 * libgcov-util.c (__gcov_delta_counter_op): Remove.
1672 * libgcov.h: Remove declaration of __gcov_merge_delta.
1673
7e02fd1b
EB
16742016-09-21 Eric Botcazou <ebotcazou@adacore.com>
1675
1676 * configure.ac: Do not create links, only substitute the filenames.
1677 * configure: Regenerate.
1678 * Makefile.in: Assign the substitution results to variables.
1679 (LIBGCC_LINKS): Define.
1680 (enable-execute-stack.c): New rule.
1681 (unwind.h): Likewise.
1682 (md-unwind-support.h): Likewise.
1683 (sfp-machine.h): Likewise.
1684 (gthr-default.h): Likewise.
1685 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
1686 unwind.h as prerequisite of install-unwind_h-forbuild.
1687
29991048
JJ
16882016-09-16 Jakub Jelinek <jakub@redhat.com>
1689
1690 PR libgcc/71744
1691 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
1692 is not the primary registry and atomics are available.
1693 (any_objects_registered): New variable.
1694 (__register_frame_info_bases, __register_frame_info_table_bases):
1695 Atomically store 1 to any_objects_registered after registering first
1696 unwind info.
1697 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
1698
0abcd6cc
JG
16992016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
1700
1701 PR target/63250
1702 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
1703 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
1704 (HFtype): Likewise.
1705 (HCtype): Likewise.
1706 (__divhc3): Likewise.
1707 (__mulhc3): Likewise.
1708 * libgcc2.c: Support _mulhc3 and _divhc3.
1709
d758aeb5
JM
17102016-09-07 Joseph Myers <joseph@codesourcery.com>
1711
1712 PR libgcc/77519
1713 * libgcc2.c (NOTRUNC): Invert settings.
1714
7fe76f6a
ML
17152016-09-06 Martin Liska <mliska@suse.cz>
1716
1717 PR gcov-profile/77378
1718 PR gcov-profile/77466
1719 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
1720 conditionaly enable/disable *_atomic functions.
1721
21184026
JM
17222016-08-26 Joseph Myers <joseph@codesourcery.com>
1723
1724 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
1725 where not already enabled.
1726
726f49c3
SN
17272016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
1728
1729 * config/mips/linux-unwind.h: Use sys/syscall.h.
1730
feeb6268
JM
17312016-08-16 Joseph Myers <joseph@codesourcery.com>
1732
1733 PR libgcc/77265
1734 * soft-fp/adddf3.c: Update from glibc.
1735 * soft-fp/addsf3.c: Likewise.
1736 * soft-fp/addtf3.c: Likewise.
1737 * soft-fp/divdf3.c: Likewise.
1738 * soft-fp/divsf3.c: Likewise.
1739 * soft-fp/divtf3.c: Likewise.
1740 * soft-fp/double.h: Likewise.
1741 * soft-fp/eqdf2.c: Likewise.
1742 * soft-fp/eqsf2.c: Likewise.
1743 * soft-fp/eqtf2.c: Likewise.
1744 * soft-fp/extenddftf2.c: Likewise.
1745 * soft-fp/extended.h: Likewise.
1746 * soft-fp/extendsfdf2.c: Likewise.
1747 * soft-fp/extendsftf2.c: Likewise.
1748 * soft-fp/extendxftf2.c: Likewise.
1749 * soft-fp/fixdfdi.c: Likewise.
1750 * soft-fp/fixdfsi.c: Likewise.
1751 * soft-fp/fixdfti.c: Likewise.
1752 * soft-fp/fixsfdi.c: Likewise.
1753 * soft-fp/fixsfsi.c: Likewise.
1754 * soft-fp/fixsfti.c: Likewise.
1755 * soft-fp/fixtfdi.c: Likewise.
1756 * soft-fp/fixtfsi.c: Likewise.
1757 * soft-fp/fixtfti.c: Likewise.
1758 * soft-fp/fixunsdfdi.c: Likewise.
1759 * soft-fp/fixunsdfsi.c: Likewise.
1760 * soft-fp/fixunsdfti.c: Likewise.
1761 * soft-fp/fixunssfdi.c: Likewise.
1762 * soft-fp/fixunssfsi.c: Likewise.
1763 * soft-fp/fixunssfti.c: Likewise.
1764 * soft-fp/fixunstfdi.c: Likewise.
1765 * soft-fp/fixunstfsi.c: Likewise.
1766 * soft-fp/fixunstfti.c: Likewise.
1767 * soft-fp/floatdidf.c: Likewise.
1768 * soft-fp/floatdisf.c: Likewise.
1769 * soft-fp/floatditf.c: Likewise.
1770 * soft-fp/floatsidf.c: Likewise.
1771 * soft-fp/floatsisf.c: Likewise.
1772 * soft-fp/floatsitf.c: Likewise.
1773 * soft-fp/floattidf.c: Likewise.
1774 * soft-fp/floattisf.c: Likewise.
1775 * soft-fp/floattitf.c: Likewise.
1776 * soft-fp/floatundidf.c: Likewise.
1777 * soft-fp/floatundisf.c: Likewise.
1778 * soft-fp/floatunditf.c: Likewise.
1779 * soft-fp/floatunsidf.c: Likewise.
1780 * soft-fp/floatunsisf.c: Likewise.
1781 * soft-fp/floatunsitf.c: Likewise.
1782 * soft-fp/floatuntidf.c: Likewise.
1783 * soft-fp/floatuntisf.c: Likewise.
1784 * soft-fp/floatuntitf.c: Likewise.
1785 * soft-fp/gedf2.c: Likewise.
1786 * soft-fp/gesf2.c: Likewise.
1787 * soft-fp/getf2.c: Likewise.
1788 * soft-fp/ledf2.c: Likewise.
1789 * soft-fp/lesf2.c: Likewise.
1790 * soft-fp/letf2.c: Likewise.
1791 * soft-fp/muldf3.c: Likewise.
1792 * soft-fp/mulsf3.c: Likewise.
1793 * soft-fp/multf3.c: Likewise.
1794 * soft-fp/negdf2.c: Likewise.
1795 * soft-fp/negsf2.c: Likewise.
1796 * soft-fp/negtf2.c: Likewise.
1797 * soft-fp/op-1.h: Likewise.
1798 * soft-fp/op-2.h: Likewise.
1799 * soft-fp/op-4.h: Likewise.
1800 * soft-fp/op-8.h: Likewise.
1801 * soft-fp/op-common.h: Likewise.
1802 * soft-fp/quad.h: Likewise.
1803 * soft-fp/single.h: Likewise.
1804 * soft-fp/soft-fp.h: Likewise.
1805 * soft-fp/subdf3.c: Likewise.
1806 * soft-fp/subsf3.c: Likewise.
1807 * soft-fp/subtf3.c: Likewise.
1808 * soft-fp/truncdfsf2.c: Likewise.
1809 * soft-fp/trunctfdf2.c: Likewise.
1810 * soft-fp/trunctfsf2.c: Likewise.
1811 * soft-fp/trunctfxf2.c: Likewise.
1812 * soft-fp/unorddf2.c: Likewise.
1813 * soft-fp/unordsf2.c: Likewise.
1814 * soft-fp/unordtf2.c: Likewise.
1815
2e6fc1ac
GG
18162016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
1817
1818 PR gcov-profile/67097
1819 * libgcov-util.c (gcov_profile_merge): Skip missing files.
1820
a266236e
ML
18212016-08-10 Martin Liska <mliska@suse.cz>
1822
1823 PR gcov-profile/58306
1824 * Makefile.in: New functions (modules) are added.
1825 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
1826 function.
1827 (__gcov_pow2_profiler_atomic): New function.
1828 (__gcov_one_value_profiler_body): New argument is instroduced.
1829 (__gcov_one_value_profiler): Call with the new argument.
1830 (__gcov_one_value_profiler_atomic): Likewise.
1831 (__gcov_indirect_call_profiler_v2): Likewise.
1832 (__gcov_time_profiler_atomic): New function.
1833 (__gcov_average_profiler_atomic): Likewise.
1834 (__gcov_ior_profiler_atomic): Likewise.
1835 * libgcov.h: Declare the aforementioned functions.
1836
e0c8eebf
ML
18372016-08-09 Martin Liska <mliska@suse.cz>
1838
1839 * libgcov-util.c: Fix typo and GNU coding style.
1840
6dce6418
ML
18412016-08-09 Martin Liska <mliska@suse.cz>
1842
1843 * Makefile.in: Remove __gcov_indirect_call_profiler.
1844 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
1845 function.
1846 * libgcov.h: And the declaration of the function.
1847
dcb1e137
ML
18482016-08-09 Martin Liska <mliska@suse.cz>
1849
1850 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
1851 power of two.
1852
d6e69705
BS
18532016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1854
1855 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
1856 * config/rs6000/_mulkc3.c: Likewise.
1857
96aa1f95
GJL
18582016-07-29 Georg-Johann Lay <avr@gjlay.de>
1859
1860 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
1861 zero_reg as previous call to __umulhisi3 already cleared it.
1862
a1b01d34
AJ
18632016-07-21 Aurelien Jarno <aurelien@aurel32.net>
1864
1865 PR target/59833
1866 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
1867
985a47b2
NC
18682016-07-19 Nick Clifton <nickc@redhat.com>
1869
1870 * config.host (m32r): Add m32r/t-m32r to tmake_file.
1871 Add crtinit.o and crtfini.o to extra_parts.
1872
f906f5ed
BS
18732016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1874
1875 * config/rs6000/_divkc3.c: New.
1876 * config/rs6000/_mulkc3.c: New.
1877 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
1878 and _divkc3.
1879 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
1880 fp128_ppc_funcs.
1881
82742404
HW
18822016-07-11 Hale Wang <hale.wang@arm.com>
1883 Andre Vieira <andre.simoesdiasvieira@arm.com>
1884
1885 * config/arm/lib1funcs.S: Add new wrapper.
1886
05a437c1
TP
18872016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
1888
1889 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
1890
3d16d9ec
TP
18912016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
1892
1893 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
1894 and ARMv5t* rather than for a fixed list of architectures.
1895
6f493951
TP
18962016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
1897
1898 * config/arm/bpabi-v6m.S: Clarify what architectures is the
1899 implementation suitable for.
1900 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
1901 for all Thumb-1 only targets.
1902 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
1903 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
1904 __ARM_ARCH_6M__.
1905 (EQUIV): Likewise.
1906 (ARM_FUNC_ALIAS): Likewise.
1907 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
1908 version.
1909 (modsi3): Likewise.
1910 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
1911 (clzdi2): Likewise.
1912 (ctzsi2): Likewise.
1913 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
1914 __ARM_ARCH_6M__ in guard for checking whether it is defined.
1915 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
1916 __ARM_ARCH_6M__ and add comment to indicate the connection between
1917 this condition and the one in gcc/config/arm/elf.h.
1918 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
1919 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
1920 * config/arm/t-softfp: Likewise.
1921
1770511a
TS
19222016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1923
1924 * libgcc2.c (SYMBOL__MAIN): Remove checks for
1925 CTOR_LISTS_DEFINED_EXTERNALLY.
1926
ba6be749
WL
19272016-06-28 Walter Lee <walt@tilera.com>
1928
1929 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
1930 asm/unistd.h.
1931 (SPR_CMPEXCH_VALUE): Define for tilegx.
1932 (__NR_FAST_cmpxchg): Define for tilepro.
1933 (__NR_FAST_atomic_update): Define for tilepro.
1934 (__NR_FAST_cmpxchg64): Define for tilepro.
1935
a34c0db5
JS
19362016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
1937
18362447 1938 * config.host: Add suport for arm*-*-phoenix* targets.
a34c0db5 1939
0609abda
TS
19402016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1941
1942 * config.host: Remove support for mep-*.
1943 * config/mep/lib1funcs.S: Remove.
1944 * config/mep/lib2funcs.c: Remove.
1945 * config/mep/t-mep: Remove.
1946 * config/mep/tramp.c: Remove.
1947
3e326935
TS
19482016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1949
1950 * config.host: Remove support for avr-rtems.
1951 * config/avr/t-rtems: Remove.
1952
914b155c
TS
19532016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1954
1955 * config.host: Remove m32r-rtems support.
1956
5ebf89bd
TS
19572016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1958
1959 * config.host: Remove h8300-rtems support.
1960
8466af06
TS
19612016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1962
1963 * config.host: Remove support for knetbsd.
1964
d980e738
TS
19652016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1966
1967 * config.host: Remove support for openbsd 2 and 3.
1968
ee2499b4
TS
19692016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1970
1971 * config.host: Remove interix support.
1972 * config/i386/t-interix: Remove.
1973
9f92937b
JDA
19742016-06-18 John David Anglin <danglin@gcc.gnu.org>
1975
1976 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
1977 least-significant bit in function pointer for fixup.
1978
0a0ec53d
AC
19792016-06-05 Aaron Conole <aconole@redhat.com>
1980 Nathan Sidwell <nathan@acm.org>
1981
1982 PR libgcc/71400
1983 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
1984 (get_gcov_error_file): Check __gcov_error_file before trying to
1985 initialize it.
1986 (gcov_error): Always use get_gcov_error_file.
1987
8aa5bdd6
AC
19882016-06-02 Aaron Conole <aconole@redhat.com>
1989
1990 * libgcov-driver-system.c (__gcov_error_file): New.
1991 (get_gcov_error_file): New.
1992 (gcov_error): Use and set __gcov_error_file.
1993 (gcov_error_exit): New.
1994 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
1995
40774faf
NS
19962016-05-26 Nathan Sidwell <nathan@acm.org>
1997
1998 * config/nvptx/free.asm: Delete.
1999 * config/nvptx/malloc.asm: Delete.
2000 * config/nvptx/realloc.c: Delete.
2001 * t-nvptx: Update.
2002
69a6d5ad
NS
20032016-05-25 Nathan Sidwell <nathan@acm.org>
2004
2005 * config/nvptx/crt0.s: Delete.
2006 * config/nvptx/crt0.c: New.
2007 * t-nvptx: Update.
2008
6befaff6
SL
20092016-05-19 Sandra Loosemore <sandra@codesourcery.com>
2010
385c7747 2011 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
6befaff6
SL
2012 dw2/seh configuration.
2013 [x86_64-*-mingw*]: Likewise.
2014
ad251dfd
JS
20152016-05-10 Joel Sherrill <joel@rtems.org>
2016
2017 PR libgcc/70720
2018 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
2019 targets so the same extra_parts are built. Also have tmake_file add
2020 on to its value rather than override.
2021
bc6d9014
OE
20222016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
2023
2024 * config.host: Remove SH5 support.
2025 * configure: Likewise.
2026
9129c8cf
OE
20272016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
2028
2029 * config/sh/crt1.S: Remove SH5 support.
2030 * config/sh/crti.S: Likewise.
2031 * config/sh/crtn.S: Likewise.
2032 * config/sh/lib1funcs-4-300.S: Likewise.
2033 * config/sh/lib1funcs-Os-4-200.S: Likewise.
2034 * config/sh/lib1funcs.S: Likewise.
2035 * config/sh/linux-unwind.h: Likewise.
2036 * config/sh/t-sh64: Delete.
2037
39d50464
CZ
20382016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
2039
2040 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
2041
8b48923b
CZ
20422016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
2043 Joern Rennecke <joern.rennecke@embecosm.com>
2044
2045 * config/arc/crttls.S: New file.
2046 * config/arc/t-arc: New rule.
2047 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
2048
2de1cf8c
NC
20492016-04-25 Nick Clifton <nickc@redhat.com>
2050
2051 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
2052 (__mspabi_cmpd): Likewise.
2053 * config/msp430/floathidf.c (__floathidf): Likewise.
2054 * config/msp430/floathisf.c (__floathisf): Likewise
2055 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
2056 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
2057 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
2058 second parameter.
2059 (__ashrsi3): Likewise.
2060
b8ce3fe2
WB
20612016-04-21 Waldemar Brodkorb <wbx@openadk.org>
2062
2063 * config/m68k/linux-atomic.c: Do not include unistd.h
2064
4986f823
MG
20652016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
2066
2067 * config/arm/ieee754-df.S: Fix typos in comments.
2068
35fbda43
MM
20692016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
2070
2071 PR target/70381
2072 * configure.ac (powerpc*-*-linux*): Rework tests to build
2073 __float128 emulation routines to not depend on using #pragma GCC
2074 target to enable -mfloat128.
2075 * configure: Regnerate.
2076
72d1a48d
EB
20772016-04-04 Eric Botcazou <ebotcazou@adacore.com>
2078
2079 PR target/67172
2080 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
2081 __MINGW32__ is defined.
2082
dc2e8995
JB
20832016-03-28 James Bowman <james.bowman@ftdichip.com>
2084
385c7747 2085 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
dc2e8995 2086
104cdaf1
MM
20872016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
2088
2089 PR libgcc/70363
2090 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
2091 built with an assembler that does not support ISA 3.0
2092 instructions, rename __extendkftf2_sw to __extendkftf2.
2093
a5046f48
RO
20942016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2095
2096 PR target/38239
2097 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
2098 call-clobbered registers.
2099 (internal_mcount): Remove __i386__ handling.
2100
df674f74
JS
21012016-02-26 Joel Sherrill <joel@rtems.org>
2102
2103 * config.host: Add x86_64-*-rtems*.
2104
7cb065d6
JS
21052016-02-26 Joel Sherrill <joel@rtems.org>
2106
2107 * libgcc/config.host: Add aarch64-*-rtems*.
2108
47dfdc53
PM
21092016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2110 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2111
2112 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
2113 union of u64 and double.
2114 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
2115 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
2116 value.
2117 (FP_ROUNDMODE): Update the usage of _fpscr.
2118
e6861a99
IV
21192016-02-25 Ilya Verbin <ilya.verbin@intel.com>
2120
2121 PR driver/68463
2122 * Makefile.in (crtoffloadtable$(objext)): New rule.
2123 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
2124 enable_offload_targets is not empty.
2125 * configure: Regenerate.
2126 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
2127 crtoffloadtable.
2128
9bfcbdee
MF
21292016-02-17 Max Filippov <jcmvbkbc@gmail.com>
2130
2131 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
2132 .literal_position before the function.
2133 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
2134 Likewise.
2135
4cb4721f
MK
21362016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
2137
2138 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
2139 * config/s390/morestack.S: New file.
2140 * config/s390/t-stack-s390: New file.
2141 * generic-morestack.c (__splitstack_find): Add s390-specific code.
2142
b29d9a29
WL
21432016-02-12 Walter Lee <walt@tilera.com>
2144
2145 * config.host (tilegx*-*-linux*): remove ti from
2146 softfp_int_modes for 32-bit configs.
2147
03a0ae7d
ILT
21482016-02-10 Ian Lance Taylor <iant@google.com>
2149
2150 PR go/68562
2151 * config/i386/morestack.S (__stack_split_initialize): Align
2152 stack.
2153
68750bce
AT
21542016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
2155
2156 PR bootstrap/69611
2157 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
2158 __FLOAT128__ to compile only for __float128 capable targets.
2159
7d296953
JJ
21602016-01-25 Jakub Jelinek <jakub@redhat.com>
2161
2162 PR target/69444
2163 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
2164 instead of ___NO_FPRS__.
2165
a71c0334 21662016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
2167 Steven Munroe <munroesj@linux.vnet.ibm.com>
2168 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
a71c0334
MM
2169
2170 * config/rs6000/float128-sed: New files to convert TF names to KF
2171 names for PowerPC IEEE 128-bit floating point support.
2172 * config/rs6000/float128-sed-hw: Likewise.
2173
2174 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2175 floating point hardware support.
2176
2177 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2178 128-bit floating point software emulation or use ISA 3.0 hardware
2179 support if it is available.
2180
2181 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2182 floating point.
2183
2184 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
2185 floating point to IBM extended double.
2186
2187 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
2188 double to IEEE 128-bit floating point.
2189
2190 * config/rs6000/t-float128: New Makefile fragments to enable
2191 building __float128 emulation support.
2192 * config/rs6000/t-float128-hw: Likewise.
2193
2194 * config/rs6000/sfp-exceptions.c: New file to provide exception
2195 support for IEEE 128-bit floating point.
2196
2197 * config/rs6000/floattikf.c: New files for converting between IEEE
2198 128-bit floating point and signed/unsigned 128-bit integers.
2199 * config/rs6000/fixunskfti.c: Likewise.
2200 * config/rs6000/fixkfti.c: Likewise.
2201 * config/rs6000/floatuntikf.c: Likewise.
2202
2203 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2204 when building on 64-bit systems, or when VSX is enabled.
2205 (_FP_W_TYPE): Likewise.
2206 (_FP_WS_TYPE): Likewise.
2207 (_FP_I_TYPE): Likewise.
2208 (TItype): Define on 64-bit systems.
2209 (UTItype): Likewise.
2210 (TI_BITS): Likewise.
2211 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2212 (_FP_MUL_MEAT_Q): Likewise.
2213 (_FP_DIV_MEAT_D): Likewise.
2214 (_FP_DIV_MEAT_Q): Likewise.
2215 (_FP_NANFRAC_D): Likewise.
2216 (_FP_NANFRAC_Q): Likewise.
2217 (ISA_BIT): Add exception support if we are being compiled on a
2218 machine with hardware floating point support to build the IEEE
2219 128-bit emulation functions.
2220 (FP_EX_INVALID): Likewise.
2221 (FP_EX_OVERFLOW): Likewise.
2222 (FP_EX_UNDERFLOW): Likewise.
2223 (FP_EX_DIVZERO): Likewise.
2224 (FP_EX_INEXACT): Likewise.
2225 (FP_EX_ALL): Likewise.
2226 (__sfp_handle_exceptions): Likewise.
2227 (FP_HANDLE_EXCEPTIONS): Likewise.
2228 (FP_RND_NEAREST): Likewise.
2229 (FP_RND_ZERO): Likewise.
2230 (FP_RND_PINF): Likewise.
2231 (FP_RND_MINF): Likewise.
2232 (FP_RND_MASK): Likewise.
2233 (_FP_DECL_EX): Likewise.
2234 (FP_INIT_ROUNDMODE): Likewise.
2235 (FP_ROUNDMODE): Likewise.
2236
2237 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2238 VSX code, enable IEEE 128-bit floating point. If the compiler can
2239 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
2240 floating point hardware instructions and it supports declaring
2241 functions with the ifunc attribute, enable ifunc functions to
2242 switch between software and hardware support.
2243 * configure.ac (powerpc*-*-linux*): Likewise.
2244 * configure: Regenerate.
2245
bdc27e50
NC
22462016-01-15 Nick Clifton <nickc@redhat.com>
2247
2248 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
2249 dependency as the source file to be compiled.
2250 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
2251 (lib2hw_mul_f5.o): Likewise.
2252
006df05d
MM
22532016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
2254
2255 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
2256 * libgcc/config/rs6000/fixkfti.c: Likewise.
2257 * libgcc/config/rs6000/fixunskfti.c: Likewise.
2258 * libgcc/config/rs6000/float128-hw.c: Likewise.
2259 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
2260 * libgcc/config/rs6000/float128-sed: Likewise.
2261 * libgcc/config/rs6000/floattikf.c: Likewise.
2262 * libgcc/config/rs6000/floatuntikf.c: Likewise.
2263 * libgcc/config/rs6000/quad-float128.h: Likewise.
2264 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
2265 * libgcc/config/rs6000/sfp-machine.h: Likewise.
2266 * libgcc/config/rs6000/t-float128: Likewise.
2267 * libgcc/config/rs6000/t-float128-hw: Likewise.
2268 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
2269 * libgcc/config.host: Likewise.
2270 * libgcc/configure: Likewise.
2271 * libgcc/configure.ac: Likewise.
2272
29176d57 22732016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
2274 Steven Munroe <munroesj@linux.vnet.ibm.com>
2275 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
29176d57
MM
2276
2277 * config/rs6000/sfp-exceptions.c: New file to provide exception
2278 support for IEEE 128-bit floating point.
2279
2280 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2281 floating point hardware support.
2282
2283 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
2284 point conversions.
2285 * config/rs6000/fixunskfti.c: Likewise.
2286 * config/rs6000/fixkfti.c: Likewise.
2287 * config/rs6000/floatuntikf.c: Likewise.
2288 * config/rs6000/extendkftf2-sw.c: Likewise.
2289 * config/rs6000/trunctfkf2-sw.c: Likewise.
2290
2291 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2292 128-bit floating point software emulation or use ISA 3.0 hardware
2293 support if it is available.
2294
2295 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2296 floating point.
2297
2298 * config/rs6000/t-float128: New Makefile fragments to enable
2299 building __float128 emulation support.
2300 * config/rs6000/t-float128-hw: Likewise.
2301
2302 * config/rs6000/float128-sed: New file to convert TF names to KF
2303 names for PowerPC IEEE 128-bit floating point support.
2304
2305 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2306 when building on 64-bit systems, or when VSX is enabled.
2307 (_FP_W_TYPE): Likewise.
2308 (_FP_WS_TYPE): Likewise.
2309 (_FP_I_TYPE): Likewise.
2310 (TItype): Define on 64-bit systems.
2311 (UTItype): Likewise.
2312 (TI_BITS): Likewise.
2313 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2314 (_FP_MUL_MEAT_Q): Likewise.
2315 (_FP_DIV_MEAT_D): Likewise.
2316 (_FP_DIV_MEAT_Q): Likewise.
2317 (_FP_NANFRAC_D): Likewise.
2318 (_FP_NANFRAC_Q): Likewise.
2319 (ISA_BIT): Add exception support if we are being compiled on a
2320 machine with hardware floating point support to build the IEEE
2321 128-bit emulation functions.
2322 (FP_EX_INVALID): Likewise.
2323 (FP_EX_OVERFLOW): Likewise.
2324 (FP_EX_UNDERFLOW): Likewise.
2325 (FP_EX_DIVZERO): Likewise.
2326 (FP_EX_INEXACT): Likewise.
2327 (FP_EX_ALL): Likewise.
2328 (__sfp_handle_exceptions): Likewise.
2329 (FP_HANDLE_EXCEPTIONS): Likewise.
2330 (FP_RND_NEAREST): Likewise.
2331 (FP_RND_ZERO): Likewise.
2332 (FP_RND_PINF): Likewise.
2333 (FP_RND_MINF): Likewise.
2334 (FP_RND_MASK): Likewise.
2335 (_FP_DECL_EX): Likewise.
2336 (FP_INIT_ROUNDMODE): Likewise.
2337 (FP_ROUNDMODE): Likewise.
2338
2339 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
2340 compiler can do __float128.
2341 * configure: Regenerate.
2342
2343 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2344 VSX code, enable IEEE 128-bit floating point.
2345
a2218983
OH
23462016-01-05 Olivier Hainque <hainque@adacore.com>
2347
2348 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
29176d57 2349 specificities.
a2218983 2350
818ab71a
JJ
23512016-01-04 Jakub Jelinek <jakub@redhat.com>
2352
2353 Update copyright years.
2354
5a6c8ffa
AP
23552015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
2356
2357 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
29176d57 2358 soft-fp targets.
5a6c8ffa 2359
077067a5
BE
23602015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
2361
2362 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
2363 instead of abort to avoid dependency on stdlib.h.
2364
787c1027
JDA
23652015-12-09 John David Anglin <danglin@gcc.gnu.org>
2366
2367 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
2368 to initialize call to __dl_fixup once.
2369
04a9ae28
NC
23702015-12-04 Nick Clifton <nickc@redhat.com>
2371
2372 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
2373 Allow for the second argument being negative.
2374 * config.host (extra_parts): Define for MSP430. Create separate
2375 libraries for each of the hardware multiply formats.
2376 * config/msp430/lib2hw_mul.S: Build only the multiply routines
2377 that are needed.
2378 * config/msp430/lib2mul.c: Likewise.
2379 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
2380 Add rules to build hardware multiply libraries.
2381 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
2382 __mspabi_divul function.
2383 (__mspabi_divllu): New stub function.
2384
9a32d437
JDA
23852015-12-01 John David Anglin <danglin@gcc.gnu.org>
2386
2387 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
2388 fixup values if saved GOT address doesn't match runtime address.
2389 (fixup_branch_offset): Reorder list.
2390
e5ef217c
RO
23912015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2392
2393 * Makefile.in (VTV_CFLAGS): New variable.
2394 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
2395 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
2396 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2397 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
2398 to extra_parts if $enable_vtable_verify = yes.
2399
78cc43a2
SN
24002015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
2401
2402 PR target/68059
2403 * config/arm/linux-atomic-64bit.c (__write): Rename to...
2404 (write): ...this and fix the return type.
2405
9afebea2
DD
24062015-11-19 DJ Delorie <dj@redhat.com>
2407
2408 * config/msp430/lib2hw_mul.S: Fix alignment.
2409
33f47f42
NS
24102015-11-18 Nathan Sidwell <nathan@codesourcery.com>
2411
2412 * config/nvptx/reduction.c: New.
2413 * config/nvptx/t-nvptx (LIB2ADD): Add it.
2414
d9adb476
DE
24152015-11-15 David Edelsohn <dje.gcc@gmail.com>
2416
2417 * config/rs6000/on_exit.c: New file.
2418 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
2419 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
2420
c0ab1970
CZ
24212015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
2422
2423 * config/arc/dp-hack.h: Add support for ARCHS.
2424 * config/arc/ieee-754/divdf3.S: Likewise.
2425 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
2426 * config/arc/ieee-754/muldf3.S: Likewise.
2427 * config/arc/ieee-754/mulsf3.S: Likewise
2428 * config/arc/lib1funcs.S: Likewise
2429 * config/arc/gmon/dcache_linesz.S: Don't read the build register
2430 for ARCv2 cores.
2431 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
2432 for ARCv2 cores.
2433 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
2434 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
2435 cores.
2436
e6b6bf09
RO
24372015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2438
2439 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
2440 value.
2441 * config/ia64/crtend.S: Likewise.
2442
a153644f
TS
24432015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2444
2445 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
2446 __CHAR_BIT__ instead of BITS_PER_UNIT.
2447 * fixed-bit.h: Likewise.
2448 * fp-bit.h: Likewise.
2449 * libgcc2.c (__popcountSI2): Likewise.
2450 (__popcountDI2): Likewise.
2451 * libgcc2.h: Likewise.
2452 * libgcov.h: Likewise.
2453
3dee689d
DE
24542015-11-07 David Edelsohn <dje.gcc@gmail.com>
2455
2456 * config/rs6000/atexit.c: New file.
2457 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
2458 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
2459 * config/rs6000/cxa_finalize.c
2460 (catomic_compare_and_exchange_bool_acq): Negate return value.
2461
2ef543e4
VK
24622015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
2463
2464 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
2465 (processor_subtypes): Add znver1.
2466 (get_amd_cpu): Detect znver1.
2467
1300f017
CL
24682015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
2469
2470 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
2471 Include crtfastmath.o.
2472
3e5bb7ee
JR
24732015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
2474
2475 PR libgcc/66883
2476 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1300f017 2477
793aa938
KP
24782015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
2479
2480 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
2481 * config/rl78/divmodsi.S: Update return register to r8.
2482 * config/rl78/divmodhi.S: Update return register to r8,r9.
2483 Branch to main_loop_done_himode to pop registers before return.
2484
7d296953 24852015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
fac812f0
VK
2486
2487 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
2488 (__cpu_indicator_init): Fix model selection for AMD CPUs.
2489
6a192b5a
KY
24902015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
2491
2492 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
2493
4a0a9457
MF
24942015-10-03 Max Filippov <jcmvbkbc@gmail.com>
2495
2496 * config.host (xtensa*-*-uclinux*): New configuration.
2497
ab91c076
KY
24982015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
2499
385c7747 2500 * config/i386/cpuinfo.c (processor_features): Add
ab91c076
KY
2501 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
2502
30954527
JM
25032015-09-28 Joseph Myers <joseph@codesourcery.com>
2504
2505 * soft-fp/adddf3.c: Update from glibc.
2506 * soft-fp/addsf3.c: Likewise.
2507 * soft-fp/addtf3.c: Likewise.
2508 * soft-fp/divdf3.c: Likewise.
2509 * soft-fp/divsf3.c: Likewise.
2510 * soft-fp/divtf3.c: Likewise.
2511 * soft-fp/double.h: Likewise.
2512 * soft-fp/eqdf2.c: Likewise.
2513 * soft-fp/eqsf2.c: Likewise.
2514 * soft-fp/eqtf2.c: Likewise.
2515 * soft-fp/extenddftf2.c: Likewise.
2516 * soft-fp/extended.h: Likewise.
2517 * soft-fp/extendsfdf2.c: Likewise.
2518 * soft-fp/extendsftf2.c: Likewise.
2519 * soft-fp/extendxftf2.c: Likewise.
2520 * soft-fp/fixdfdi.c: Likewise.
2521 * soft-fp/fixdfsi.c: Likewise.
2522 * soft-fp/fixdfti.c: Likewise.
2523 * soft-fp/fixsfdi.c: Likewise.
2524 * soft-fp/fixsfsi.c: Likewise.
2525 * soft-fp/fixsfti.c: Likewise.
2526 * soft-fp/fixtfdi.c: Likewise.
2527 * soft-fp/fixtfsi.c: Likewise.
2528 * soft-fp/fixtfti.c: Likewise.
2529 * soft-fp/fixunsdfdi.c: Likewise.
2530 * soft-fp/fixunsdfsi.c: Likewise.
2531 * soft-fp/fixunsdfti.c: Likewise.
2532 * soft-fp/fixunssfdi.c: Likewise.
2533 * soft-fp/fixunssfsi.c: Likewise.
2534 * soft-fp/fixunssfti.c: Likewise.
2535 * soft-fp/fixunstfdi.c: Likewise.
2536 * soft-fp/fixunstfsi.c: Likewise.
2537 * soft-fp/fixunstfti.c: Likewise.
2538 * soft-fp/floatdidf.c: Likewise.
2539 * soft-fp/floatdisf.c: Likewise.
2540 * soft-fp/floatditf.c: Likewise.
2541 * soft-fp/floatsidf.c: Likewise.
2542 * soft-fp/floatsisf.c: Likewise.
2543 * soft-fp/floatsitf.c: Likewise.
2544 * soft-fp/floattidf.c: Likewise.
2545 * soft-fp/floattisf.c: Likewise.
2546 * soft-fp/floattitf.c: Likewise.
2547 * soft-fp/floatundidf.c: Likewise.
2548 * soft-fp/floatundisf.c: Likewise.
2549 * soft-fp/floatunditf.c: Likewise.
2550 * soft-fp/floatunsidf.c: Likewise.
2551 * soft-fp/floatunsisf.c: Likewise.
2552 * soft-fp/floatunsitf.c: Likewise.
2553 * soft-fp/floatuntidf.c: Likewise.
2554 * soft-fp/floatuntisf.c: Likewise.
2555 * soft-fp/floatuntitf.c: Likewise.
2556 * soft-fp/gedf2.c: Likewise.
2557 * soft-fp/gesf2.c: Likewise.
2558 * soft-fp/getf2.c: Likewise.
2559 * soft-fp/ledf2.c: Likewise.
2560 * soft-fp/lesf2.c: Likewise.
2561 * soft-fp/letf2.c: Likewise.
2562 * soft-fp/muldf3.c: Likewise.
2563 * soft-fp/mulsf3.c: Likewise.
2564 * soft-fp/multf3.c: Likewise.
2565 * soft-fp/negdf2.c: Likewise.
2566 * soft-fp/negsf2.c: Likewise.
2567 * soft-fp/negtf2.c: Likewise.
2568 * soft-fp/op-1.h: Likewise.
2569 * soft-fp/op-2.h: Likewise.
2570 * soft-fp/op-4.h: Likewise.
2571 * soft-fp/op-8.h: Likewise.
2572 * soft-fp/op-common.h: Likewise.
2573 * soft-fp/quad.h: Likewise.
2574 * soft-fp/single.h: Likewise.
2575 * soft-fp/soft-fp.h: Likewise.
2576 * soft-fp/subdf3.c: Likewise.
2577 * soft-fp/subsf3.c: Likewise.
2578 * soft-fp/subtf3.c: Likewise.
2579 * soft-fp/truncdfsf2.c: Likewise.
2580 * soft-fp/trunctfdf2.c: Likewise.
2581 * soft-fp/trunctfsf2.c: Likewise.
2582 * soft-fp/trunctfxf2.c: Likewise.
2583 * soft-fp/unorddf2.c: Likewise.
2584 * soft-fp/unordsf2.c: Likewise.
2585 * soft-fp/unordtf2.c: Likewise.
2586
4dfe21ac
RE
25872015-09-24 Richard Earnshaw <rearnsha@arm.com>
2588
2589 PR libgcc/67624
2590 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
2591
df2a1cc4
RO
25922015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2593
2594 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2595 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
2596 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
2597 messages.
2598 (internal_mcount): Likewise.
2599 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
2600 crt_compile, add CRTSTUFF_T_CFLAGS_S.
2601
2d110442
RO
26022015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2603
2604 * configure.ac (libgcc_cv_solaris_crts): New test.
2605 * configure: Regenerate.
2606 * config.in: Regenerate.
2607 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
2608 * config/gmon-sol2.c: Rename to ...
2609 * config/sol2/gmon.c: ... this.
2610 Include auto-target.h.
2611 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
2612 * config/t-sol2: Rename to ...
2613 * config/sol2/t-sol2: ... this.
2614 (gmon.o): Reflect renaming.
2615 (crtp.o, crtpg.o): New rules.
2616 * config.host (*-*-solaris2*): Reflect renaming.
2617 Use system CRTs if present.
2618 Remove default CRT case.
2619
d572e439
JDA
26202015-09-23 John David Anglin <danglin@gcc.gnu.org>
2621
2622 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
2623 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
2624 __kernel_cmpxchg2.
2625 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
2626 (__sync_val_compare_and_swap_##WIDTH): Likewise.
2627 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
2628 (__sync_lock_test_and_set_##WIDTH): Likewise.
2629 (__sync_lock_release_##WIDTH): Likewise.
2630 (__sync_fetch_and_##OP##_4): Change result to match type of
2631 __kernel_cmpxchg.
2632 (__sync_##OP##_and_fetch_4): Likewise.
2633 (__sync_val_compare_and_swap_4): Likewise.
2634 (__sync_bool_compare_and_swap_4): likewise.
2635 (__sync_lock_test_and_set_4): Likewise.
2636 (__sync_lock_release_4): Likewise.
2637 (FETCH_AND_OP_2): Add long long variants.
2638 (OP_AND_FETCH_2): Likewise.
2639 (COMPARE_AND_SWAP_2 ): Likewise.
2640 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2641 (SYNC_LOCK_RELEASE_2): Likewise.
2642 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
2643
7d296953 26442015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
06caf59d
KY
2645
2646 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
2647 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
2648 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
2649 (get_available_features): Habdle new features.
2650
131314e1
JB
26512015-09-21 James Bowman <james.bowman@ftdichip.com>
2652
2653 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
2654 memory layout. Deal correctly with BSS region larger than 32K.
2655 Handle a watchdog reset like a power-on reset. Clean up unused
2656 code.
2657
04218b35
AD
26582015-09-18 Andrew Dixie <andrewd@gentrack.com>
2659 David Edelsohn <dje.gcc@gmail.com>
2660
2661 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
2662 * config/rs6000/crtdbase.S: New file.
2663 * config/rs6000/t-aix-cxa: Build crtdbase.o.
2664
c8338173
MF
26652015-09-15 Max Filippov <jcmvbkbc@gmail.com>
2666
2667 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
2668 Add support for call0 ABI.
2669
7a84bf71
JDA
26702015-09-13 John David Anglin <danglin@gcc.gnu.org>
2671
2672 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
2673
4efab402
SH
26742015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
2675
2676 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
2677 (__GTHREAD_HAS_COND): Likewise.
2678 (__gthread_t): Likewise.
2679 (__gthread_cond_t): Likewise.
2680 (__gthread_time_t): Likewise.
2681 (__GTHREAD_MUTEX_INIT): Likewise.
2682 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
2683 (__GTHREAD_COND_INIT): Likewise.
2684 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
2685 (__GTHREAD_TIME_INIT): Likewise.
2686 (__gthread_create): Likewise.
2687 (__gthread_join): Likewise.
2688 (__gthread_detach): Likewise.
2689 (__gthread_equal): Likewise.
2690 (__gthread_self): Likewise.
2691 (__gthread_yield): Likewise.
2692 (__gthread_cond_broadcast): Likewise.
2693 (__gthread_cond_signal): Likewise.
2694 (__gthread_cond_wait): Likewise.
2695 (__gthread_cond_timedwait): Likewise.
2696 (__gthread_cond_wait_recursive): Likewise.
2697 (__gthread_cond_destroy): Likewise.
2698 (rtems_gxx_once): Delete.
2699 (rtems_gxx_key_create): Likewise.
2700 (rtems_gxx_key_delete): Likewise.
2701 (rtems_gxx_getspecific): Likewise.
2702 (rtems_gxx_setspecific): Likewise.
2703 (rtems_gxx_mutex_init): Likewise.
2704 (rtems_gxx_mutex_destroy): Likewise.
2705 (rtems_gxx_mutex_lock): Likewise.
2706 (rtems_gxx_mutex_trylock): Likewise.
2707 (rtems_gxx_mutex_unlock): Likewise.
2708 (rtems_gxx_recursive_mutex_init): Likewise.
2709 (rtems_gxx_recursive_mutex_lock): Likewise.
2710 (rtems_gxx_recursive_mutex_trylock): Likewise.
2711 (rtems_gxx_recursive_mutex_unlock): Likewise.
2712 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
2713 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
2714 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
2715 (__gthread_once): Likewise.
2716 (__gthread_key_create): Likewise.
2717 (__gthread_key_delete): Likewise.
2718 (__gthread_getspecific): Likewise.
2719 (__gthread_setspecific): Likewise.
2720 (__gthread_key_t): Use <pthread.h> type.
2721 (__gthread_once_t): Likewise
2722 (__gthread_mutex_t): Use <sys/lock.h> type.
2723 (__gthread_recursive_mutex_t): Likewise
2724 (__gthread_mutex_lock): Use <sys/lock.h> function.
2725 (__gthread_mutex_trylock): Likewise.
2726 (__gthread_mutex_timedlock): Likewise.
2727 (__gthread_mutex_unlock): Likewise.
2728 (__gthread_mutex_destroy): Likewise.
2729 (__gthread_recursive_mutex_lock): Likewise.
2730 (__gthread_recursive_mutex_trylock): Likewise.
2731 (__gthread_recursive_mutex_timedlock): Likewise.
2732 (__gthread_recursive_mutex_unlock): Likewise.
2733 (__gthread_recursive_mutex_destroy): Likewise.
2734
991995c4
MF
27352015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2736
2737 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
2738 context->sp instead of context->cfa.
2739
0e19db59
MF
27402015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2741
2742 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
2743 with unwind-dw2-fde-dip.
2744
b6ac5f62
MF
27452015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2746
2747 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
2748 CALL12 followed by series of ENTRY to spill windowed registers.
2749 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
2750 instead of making linux spill syscall.
2751
3e0f3349
YR
27522015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
2753
2754 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
2755 (get_intel_cpu): Likewise.
2756
51c728b1
L
27572015-08-12 H.J. Lu <hongjiu.lu@intel.com>
2758
2759 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
2760 (get_intel_cpu): Add Knights Landing support.
2761
aff4eeac
UB
27622015-08-11 Uros Bizjak <ubizjak@gmail.com>
2763
2764 PR target/66954
2765 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
2766 (get_available_features): Handle FEATURE_PCLMUL.
2767
736e56da
L
27682015-08-10 H.J. Lu <hongjiu.lu@intel.com>
2769
2770 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
2771 Broadwell.
2772
54d22142
UB
27732015-07-22 Uros Bizjak <ubizjak@gmail.com>
2774
2775 PR target/66954
2776 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
2777 (get_available_features): Handle FEATURE_AES.
2778
20ca17e4
CLT
27792015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
2780
2781 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
2782 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
2783
ebe4a560
NS
27842015-07-17 Nathan Sidwell <nathan@codesourcery.com>
2785
2786 * offloadstuff.c: Constify host data.
2787
180744c0
JB
27882015-07-17 Jan Beulich <jbeulich@suse.com>
2789
2790 * config/t-softfp: Split up "else ifneq".
2791
a03c6ae3
SL
27922015-07-14 Sandra Loosemore <sandra@codesourcery.com>
2793 Cesar Philippidis <cesar@codesourcery.com>
2794 Chung-Lin Tang <cltang@codesourcery.com>
2795
2796 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
2797 for __nios2_arch__ level.
2798
73358db5
JM
27992015-07-13 John Marino <gnugcc@marino.st>
2800
2801 * config/i386/t-dragonfly: New.
2802
f9a12f7b
JDA
28032015-07-01 John David Anglin <danglin@gcc.gnu.org>
2804
2805 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
2806 better match light-weight syscall argument order.
2807 (__kernel_cmpxchg2): Likewise.
2808 Adjust callers.
2809
cb78b51c
L
28102015-06-30 H.J. Lu <hongjiu.lu@intel.com>
2811
2812 * config.host: Support i[34567]86-*-elfiamcu target.
2813 * config/t-softfp-sfdftf: New file.
2814 * config/i386/32/t-iamcu: Likewise.
2815 * configure: Regenerated.
2816
4fa0f9ea
JL
28172015-06-23 James Lemke <jwlemke@codesourcery.com>
2818
2819 libgcc/config/arm/
2820 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
2821
428b3812
L
28222015-05-27 H.J. Lu <hongjiu.lu@intel.com>
2823
2824 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
2825
7d296953 28262015-05-27 John Marino <gnugcc@marino.st>
89c54dd3
JM
2827
2828 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
2829 md_unwind_header
2830 * config/i386/freebsd-unwind.h: New.
2831
9b789cc1
UB
28322015-05-22 Uros Bizjak <ubizjak@gmail.com>
2833
2834 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
2835 i386/t-crtfm to tmake_file.
2836 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
2837 (set_fast_math): Use set_fast_math_sse for SSE targets.
2838 * config/i386/t-crtfm: Remove.
2839
3dafb220
AM
28402015-05-21 Alan Modra <amodra@gmail.com>
2841
2842 PR libgcc/66225
2843 * config/rs6000/morestack.S: Remove ".abiversion 1".
2844
0f0fd745
AM
28452015-05-20 Alan Modra <amodra@gmail.com>
2846
2847 * config/rs6000/morestack.S: New.
2848 * config/rs6000/t-stack-rs6000: New.
2849 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
2850 to tmake_file.
2851 * generic-morestack.c: Don't build for powerpc 32-bit.
2852
515ae71b
EB
28532015-05-19 Eric Botcazou <ebotcazou@adacore.com>
2854
2855 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
2856 Remove useless endif/ifneq ($(enable_shared),yes) pair.
2857
36805406
JL
28582015-05-16 James Bowman <james.bowman@ftdichip.com>
2859
2860 * config.host: FT32 target added.
2861 * config/ft32/*: New files for FT32 target.
2862
ff935d0c
MG
28632015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
2864
385c7747
UB
2865 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
2866 New macros.
2867 * config/arm/ieee754-df.S: Add CFI directives.
2868 * config/arm/ieee754-sf.S: Add CFI directives.
ff935d0c 2869
9b92a9f3
EB
28702015-05-13 Eric Botcazou <ebotcazou@adacore.com>
2871
2872 * configure.ac: Include config/sjlj.m4.
2873 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
2874 * config.in: Regenerate.
2875 * configure: Likewise.
2876 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
2877
98b5dc61
UB
28782015-05-12 Uros Bizjak <ubizjak@gmail.com>
2879
2880 * libgcov-util.c: Add space between string literal and macro name.
2881
5a0ff57c
SL
28822015-05-06 Sandra Loosemore <sandra@codesourcery.com>
2883 Chris Jones <chrisj@nvidia.com>
2884 Joshua Conner <jconner@nvidia.com>
2885
2886 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
2887 (arm*-*-uclinux*): Likewise.
2888 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
2889 * config/arm/crtfastmath.c: New file.
2890
d28ad5d4
BS
28912014-04-29 Bernd Schmidt <bernds@codesourcery.com>
2892
2893 * Makefile.in (real_host_noncanonical): New variable.
2894 (libsubdir): Use it.
2895 * configure.ac (real_host_noncanonical): Compute. Remove special
2896 case for intelmicemul.
2897 * configure: Regenerate.
2898
cc86234f
UB
28992015-04-28 Uros Bizjak <ubizjak@gmail.com>
2900
2901 * config/frv/elf-lib.h: New file.
2902 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
2903 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
2904 to tm_file.
2905
29062015-04-28 Uros Bizjak <ubizjak@gmail.com>
2907
2908 * config/frv/frvbengin.c: Do not include defaults.h
2909 * config/frv/frvend.c: Ditto.
2910
2f6bd6eb
YS
29112015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
2912
2913 * config.host: Add h8300-*-linux
2914 * config/h8300/t-linux: New file.
2915 * config/h8300/lib1funs.s: Change symbol prefix.
2916 * config/h8300/sfp-machine.h: 64bit double support.
2917
15aa7b44
GR
29182015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
2919 Szabolcs Nagy <szabolcs.nagy@arm.com>
2920
2921 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
2922 Linux if target provides dl_iterate_phdr.
2923
abd0cdc9
L
29242015-04-17 H.J. Lu <hongjiu.lu@intel.com>
2925
2926 PR target/65612
2927 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
2928 * config/i386/cpuinfo.c (__cpu_model): Initialize.
2929 (__cpu_indicator_init@GCC_4.8.0): New.
2930 (__cpu_model@GCC_4.8.0): Likewise.
2931 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
2932 -DUSE_ELF_SYMVER.
2933
72ed1126
NC
29342015-04-16 Nick Clifton <nickc@redhat.com>
2935
2936 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
2937 and __modhi3 functions.
2938 * config/rl78/divmodso.S: Add G14 and G13 versions of the
2939 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
2940
d26b2237
CG
29412015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
2942
2943 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
2944 do-while loop as macro body to avoid warnings.
2945
cacf1f59
JJ
29462015-04-10 Jakub Jelinek <jakub@redhat.com>
2947 Iain Sandoe <iain@codesourcery.com>
2948
2949 PR target/65351
2950 * configure: Regenerate.
2951
e8a4ed3b
JJ
29522015-04-07 Jakub Jelinek <jakub@redhat.com>
2953 Iain Sandoe <iain@codesourcery.com>
2954
2955 PR target/65351
2956 * configure: Regenerate.
2957
0341335e
CLT
29582015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
2959
2960 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
2961
590e2636 29622015-03-03 Max Filippov <jcmvbkbc@gmail.com>
0341335e 2963
590e2636
MF
2964 Implement call0 ABI for xtensa
2965 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
2966 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
2967 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
2968 use ret in call0 ABI.
2969 * config/xtensa/t-windowed: New file.
2970 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
2971 * libgcc/configure: Regenerated.
2972 * libgcc/configure.ac: Check if xtensa target is configured for
2973 windowed ABI and thus needs to use custom unwind code.
2974
7727f8f2
JW
29752015-02-12 Jonathan Wakely <jwakely@redhat.com>
2976
2977 PR libgcc/64885
2978 * gthr-single.h: Use __unused__ attribute instead of unused.
2979 * config/gthr-vxworks.h: Likewise.
2980 * config/i386/gthr-win32.h: Likewise.
2981
0e4a0def
KT
29822015-02-27 Kai Tietz <ktietz@redhat.com>
2983
2984 PR target/65038
2985 * config.in: Regenerated.
2986 * configure: Likewise.
2987 * configure.ac (AC_HEADER_STDC): Added explicit.
2988 (AC_CHECK_HEADERS): Check for default headers plus
2989 for ftw.h header.
2990 * libgcov-util.c (gcov_read_profile_dir): Disable use
2991 of ftw-function, if header is not found.
2992 (ftw_read_file): Likewise.
2993
b6530d0a
TS
29942015-02-23 Thomas Schwinge <thomas@codesourcery.com>
2995
2996 PR target/65181
2997 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
2998 -Dinhibit_libc.
2999
53cfb467
SL
30002015-02-17 Sandra Loosemore <sandra@codesourcery.com>
3001
3002 * config/arm/bpabi.S (test_div_by_zero): Make label names
3003 consistent between thumb2 and arm mode cases. Separate the
3004 signed comparison on the high word of the numerator from the
3005 unsigned comparison on the low word.
3006 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
3007 signed comparison.
3008
77d10a1b
JM
30092015-02-17 Joseph Myers <joseph@codesourcery.com>
3010
3011 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
3012 and <string.h>.
3013 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
3014
98174188
RE
30152015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
3016
3017 PR gcov-profile/61889
471274de 3018 * libgcov-driver-system.c: undefine clashing macro for mkdir.
98174188 3019
771bef14
NC
30202015-02-02 Nick Clifton <nickc@redhat.com>
3021
3022 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
3023 rounding up the fraction.
3024
40702893
JDA
30252015-01-31 John David Anglin <danglin@gcc.gnu.org>
3026
3027 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
3028 oldval and newval to const void *. Fix typo.
3029 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
3030 (FETCH_AND_OP_WORD): Likewise.
3031 (OP_AND_FETCH_WORD): Likewise.
3032 (COMPARE_AND_SWAP_2): Likewise.
3033 (__sync_val_compare_and_swap_4): Likewise.
3034 (__sync_lock_test_and_set_4): Likewise.
3035 (SYNC_LOCK_RELEASE_2): Likewise.
3036 Remove support for long long atomic operations.
3037
f7f049fa
CT
30382015-01-27 Caroline Tice <cmtice@google.com>
3039
3040 Committing VTV Cywin/Ming patch for Patrick Wollgast
3041 * Makefile.in: Move rules to build vtv_*.o out of the check
3042 for CUSTOM_CRTSTUFF.
3043 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
3044 i[34567]86-*-mingw*)
3045 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
3046 enable_vtable_verify.
3047
8410904a
NC
30482015-01-27 Nick Clifton <nickc@redhat.com>
3049
3050 * config/rl78/cmpsi2.S: Use function start and end macros.
3051 (__gcc_bcmp): New function.
3052 * config/rl78/lshrsi3.S: Use function start and end macros.
3053 * config/rl78/mulsi3.S: Add support for G10.
3054 (__mulqi3): New function for G10.
3055 * config/rl78/signbit.S: Use function start and end macros.
3056 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
3057 fpmath-sf.S.
3058 (LIB2FUNCS_EXCLUDE): Define.
3059 (LIB2FUNCS_ST): Define.
3060 * config/rl78/trampoline.S: Use function start and end macros.
3061 * config/rl78/vregs.h (START_FUNC): New macro.
3062 (START_ANOTHER_FUNC): New macro.
3063 (END_FUNC): New macro.
3064 (END_ANOTHER_FUNC): New macro.
3065 * config/rl78/bit-count.S: New file. Contains assembler
3066 implementations of the bit counting functions: ___clzhi2,
3067 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
3068 __paritysi2, __popcounthi2 and __popcountsi2.
3069 * config/rl78/fpbit-sf.S: New file. Contains assembler
3070 implementationas of the math functions: __negsf2, __cmpsf2,
3071 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
3072 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
3073 * config/rl78/fpmath-sf.S: New file. Contains assembler
3074 implementations of the math functions: __subsf3, __addsf3,
3075 __mulsf3 and __divsf3
3076
f962fbf1
RO
30772015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3078
3079 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
3080 Add i386/elf-lib.h to tm_file.
3081 * config/i386/elf-lib.h: Fix comment.
3082 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
3083 && __sun__ && __svr4__]: Remove workaround.
3084
939911c5
ASJ
30852015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
3086
3087 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
3088 FEATURE_BMI2.
3089 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
3090
c8f2dff2
L
30912015-01-24 H.J. Lu <hongjiu.lu@intel.com>
3092
3093 * config/i386/cpuinfo.c (processor_subtypes): Add
3094 INTEL_COREI7_BROADWELL.
3095 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
3096 model numbers.
3097
7bbf9734
UB
30982015-01-23 Uros Bizjak <ubizjak@gmail.com>
3099
3100 * config/i386/elf-lib.h: New file.
3101 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
3102 Wrap definition in #ifdef __i386__.
3103 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
3104 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
3105 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
3106 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
3107 to tm_file.
3108
324820f1
CG
31092015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
3110
3111 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
3112 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
3113
a9ce4e4a
CLT
31142015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
3115
3116 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
3117 Update rt_sigframe format and address for current Nios II
3118 Linux conventions.
3119
82a19768
AT
31202015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
3121
3122 * config.host (arm*-*-freebsd*): Add new configuration for
3123 arm*-*-freebsd*.
3124 * config/arm/freebsd-atomic.c: New file.
3125 * config/arm/t-freebsd: Likewise.
3126 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
3127 'PC-relative indirect' OS's.
3128
0969ec7d
EB
31292015-01-06 Eric Botcazou <ebotcazou@adacore.com>
3130
3131 * config.host: Add Visium support.
3132 * config/visium: New directory.
3133
5624e564
JJ
31342015-01-05 Jakub Jelinek <jakub@redhat.com>
3135
3136 Update copyright years.
3137
82f84ecb
MF
31382014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
3139
3140 * config.host: Support mipsisa32r6 and mipsisa64r6.
3141 * config/mips/mips16.S: Do not build for R6.
3142
69044fa9
OE
31432014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
3144
3145 * config/sh/crt.h: New.
3146 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
3147 symbols.
3148 * config/sh/crt1.S: Likewise.
3149
2405e0ea
UB
31502014-12-15 Uros Bizjak <ubizjak@gmail.com>
3151
3152 PR libgcc/63832
3153 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
3154 func_ptr *dtor_list temporary variable to avoid "array subscript
3155 is above array bounds" warnings.
3156
7d296953 31572014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
dd913323
MH
3158
3159 * Makefile.in (with_aix_soname): Define.
3160 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
3161 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
3162 * configure: Recreate.
3163
a66272f6
OH
31642014-12-05 Olivier Hainque <hainque@adacore.com>
3165
3166 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
3167 now provided by defaults.h.
3168
6342b2c5
OE
31692014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
3170
7d0ee249 3171 PR target/55351
6342b2c5
OE
3172 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
3173 whether it's defined.
3174
c17eac85
IT
31752014-11-27 Ilya Tocar <ilya.tocar@intel.com>
3176
3177 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
3178 * config/i386/cpuinfo.c (get_available_features): Detect it.
3179
1025cb6c
TW
31802014-11-27 Tony Wang <tony.wang@arm.com>
3181
3182 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
3183 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
3184 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
3185
d19f2e38
SB
31862014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
3187
3188 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
3189
17f6e9a3
JDA
31902014-11-24 John David Anglin <danglin@gcc.gnu.org>
3191
3192 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
3193 instead.
3194
0cd7c672
GM
31952014-11-21 Guy Martin <gmsoft@tuxicoman.be>
3196 John David Anglin <danglin@gcc.gnu.org>
3197
3198 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
3199 (FETCH_AND_OP_2): New. Use for subword and double word operations.
3200 (OP_AND_FETCH_2): Likewise.
3201 (COMPARE_AND_SWAP_2): Likewise.
3202 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3203 (SYNC_LOCK_RELEASE_2): Likewise.
3204 (SUBWORD_SYNC_OP): Remove.
3205 (SUBWORD_VAL_CAS): Likewise.
3206 (SUBWORD_BOOL_CAS): Likewise.
3207 (FETCH_AND_OP_WORD): Update.
3208 Consistently use signed types.
cc86234f 3209
85c64bbe
BS
32102014-11-13 Bernd Schmidt <bernds@codesourcery.com>
3211 Thomas Schwinge <thomas@codesourcery.com>
3212 Ilya Verbin <ilya.verbin@intel.com>
3213 Andrey Turetskiy <andrey.turetskiy@intel.com>
3214
3215 * Makefile.in (crtoffloadbegin$(objext)): New rule.
3216 (crtoffloadend$(objext)): Likewise.
3217 * configure: Regenerate.
3218 * configure.ac (accel_dir_suffix): Compute new variable.
3219 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
3220 if enable_offload_targets is not empty.
3221 * offloadstuff.c: New file.
3222
52a1ff8b
NC
32232014-11-13 Nick Clifton <nickc@redhat.com>
3224
3225 * config/rl78/divmodhi.S: Add support for the G10 architecture.
3226 Use START_FUNC and END_FUNC macros to enable linker garbage
3227 collection.
3228 * config/rl78/divmodqi.S: Likewise.
3229 * config/rl78/divmodsi.S: Likewise.
3230 * config/rl78/mulsi3.S: Likewise.
3231 * config/rl78/lib2div.c: Remove G10 functions.
3232 * config/rl78/lib2muls.c: Likewise.
3233 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
3234 * config/rl78/vregs.h (START_FUNC): New macro.
3235 (END_FUNC): New macro.
3236
050af144
MF
32372014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
3238
3239 * config/mips/mips16.S: Set .module when supported. Update O32
3240 FP64 calling convention and use for FPXX when possible. Add FPXX
3241 calling convention fallback case.
3242
738f2522
BS
32432014-11-06 Bernd Schmidt <bernds@codesourcery.com>
3244
3245 * config.host: Handle nvptx-*-*.
3246 * shared-object.mk (as-flags-$o): Define.
3247 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
3248 -xassembler-with-cpp.
3249 * static-object.mk: Identical changes.
3250 * config/nvptx/t-nvptx: New file.
3251 * config/nvptx/crt0.s: New file.
3252 * config/nvptx/free.asm: New file.
3253 * config/nvptx/malloc.asm: New file.
3254 * config/nvptx/realloc.c: New file.
3255
e610393c
JM
32562014-10-30 Joseph Myers <joseph@codesourcery.com>
3257
3258 * Makefile.in (libgcc.map.in): New target.
3259 (libgcc.map): Use libgcc.map.in.
3260 * config/t-softfp (softfp_compat): New variable to be set by
3261 users.
3262 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
3263 variables.
3264 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
3265 directory.
3266 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
3267 that use compat symbols and disable all code unless [SHARED].
3268 * config/t-softfp-compat: New file.
3269 * find-symver.awk: New file.
3270 * configure.ac (--with-glibc-version): New configure option.
3271 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
3272 * configure: Regenerate.
3273 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
3274 soft-float and e500.
3275
bc1b3a88
JM
32762014-10-29 Joseph Myers <joseph@codesourcery.com>
3277
3278 * config/t-hardfp (hardfp_exclusions): Document new variable for
3279 user to define.
3280 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
3281 * config/t-softfp (softfp_extras): Document new variable for user
3282 to define.
3283 (softfp_func_list): Add functions from $(softfp_extras).
3284 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
3285 * config.host (powerpc*-*-linux*): For e500v1, use
3286 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
3287 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
3288 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
3289
ef2810c1
JDA
32902014-10-26 John David Anglin <danglin@gcc.gnu.org>
3291
3292 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
3293 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
3294 memory read accesses are ok.
3295
d80c2bea
JM
32962014-10-25 Joseph Myers <joseph@codesourcery.com>
3297
3298 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
3299 * configure: Regenerate.
3300 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
3301 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
3302 of soft-fp for 32-bit classic hard float. Do not use
3303 t-softfp-excl for soft float.
3304
693b297b
JM
33052014-10-22 Joseph Myers <joseph@codesourcery.com>
3306
3307 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
3308 configurations.
3309 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
3310 Remove variables.
3311
18a3415e
GJL
33122014-10-22 Georg-Johann Lay <avr@gjlay.de>
3313
3314 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
3315 introduced with 2014-10-21 trunk r216525.
3316
c1dd9790 33172014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
7d296953
JJ
3318 Vidya Praveen <vidya.praveen@atmel.com>
3319 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
3320 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
3321 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
c1dd9790
JR
3322
3323 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
3324 order.
3325
3326 Updated library functions for AVRTINY arch.
3327 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
3328 Replaced occurrences of r0/r1 with tmp/zero reg macros.
3329 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
3330 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
3331 wsubi/wadi macors.
3332 (__mulsi3_helper): Update stack, preserve callee saved regs and
3333 argument from stack. Restore callee save registers.
3334 (__mulpsi3): Likewise.
3335 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
3336 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
18a3415e 3337 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
c1dd9790
JR
3338 AVRTINY.
3339 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
3340 (__do_copy_data): Added new definition for AVRTINY.
3341 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
3342 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
3343 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
3344 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
3345 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
3346 macors.
18a3415e 3347 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
c1dd9790
JR
3348 AVRTINY.
3349
18a3415e 3350 Fix broken long multiplication on tiny arch.
c1dd9790 3351
5f606431
JM
33522014-10-09 Joseph Myers <joseph@codesourcery.com>
3353
3354 * soft-fp/double.h: Update from glibc.
3355 * soft-fp/eqdf2.c: Likewise.
3356 * soft-fp/eqsf2.c: Likewise.
3357 * soft-fp/eqtf2.c: Likewise.
3358 * soft-fp/extenddftf2.c: Likewise.
3359 * soft-fp/extended.h: Likewise.
3360 * soft-fp/extendsfdf2.c: Likewise.
3361 * soft-fp/extendsftf2.c: Likewise.
3362 * soft-fp/extendxftf2.c: Likewise.
3363 * soft-fp/gedf2.c: Likewise.
3364 * soft-fp/gesf2.c: Likewise.
3365 * soft-fp/getf2.c: Likewise.
3366 * soft-fp/ledf2.c: Likewise.
3367 * soft-fp/lesf2.c: Likewise.
3368 * soft-fp/letf2.c: Likewise.
3369 * soft-fp/op-1.h: Likewise.
3370 * soft-fp/op-2.h: Likewise.
3371 * soft-fp/op-4.h: Likewise.
3372 * soft-fp/op-8.h: Likewise.
3373 * soft-fp/op-common.h: Likewise.
3374 * soft-fp/quad.h: Likewise.
3375 * soft-fp/single.h: Likewise.
3376 * soft-fp/soft-fp.h: Likewise.
3377 * soft-fp/unorddf2.c: Likewise.
3378 * soft-fp/unordsf2.c: Likewise.
3379 * soft-fp/unordtf2.c: Likewise.
3380 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
3381 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
3382 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
3383 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
3384 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
3385 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
3386 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
3387 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
3388 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
3389 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
3390
9b84e7a8
RX
33912014-10-08 Rong Xu <xur@google.com>
3392
3393 * libgcov-util.c (read_gcda_file): Fix format.
3394 (find_match_gcov_info): Ditto.
3395 (calculate_2_entries): New.
3396 (compute_one_gcov): Ditto.
3397 (gcov_info_count_all_cold): Ditto.
3398 (gcov_info_count_all_zero): Ditto.
3399 (extract_file_basename): Ditto.
3400 (get_file_basename): Ditto.
3401 (set_flag): Ditto.
3402 (matched_gcov_info): Ditto.
3403 (calculate_overlap): Ditto.
3404 (gcov_profile_overlap): Ditto.
3405 * libgcov-driver.c (compute_summary): Make
3406 it avavilable for external calls.
3407
fe1090c1
RX
34082014-10-06 Rong Xu <xur@google.com>
3409
3410 * Makefile.in: Ditto.
3411 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
3412 (gcov_sort_icall_topn_counter): Ditto.
3413 (gcov_sort_topn_counter_arrays): Ditto.
3414 (dump_one_gcov): Sort indirect_call topn counters.
3415 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
3416 function.
3417 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
3418 utility function.
3419 (__gcov_indirect_call_topn_profiler): New profiler function.
3420 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
3421 * libgcov.h: New decls.
3422
3daa7bbf
TS
34232014-10-04 Trevor Saunders <tsaunders@mozilla.com>
3424
3425 * config.host: Remove support for score-*.
3426
9a79452d
JM
34272014-09-22 Joseph Myers <joseph@codesourcery.com>
3428
3429 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3430 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
3431 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
3432 __LIBGCC_XF_MANT_DIG__.
3433 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
3434 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
3435 __LIBGCC_TF_MANT_DIG__.
3436 * libgcc2.c (NOTRUNC): Define in terms of
3437 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
3438 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3439
1a849e50
JM
34402014-09-22 Joseph Myers <joseph@codesourcery.com>
3441
3442 PR target/63312
3443 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
3444 New macros.
3445
598a1586
HPN
34462014-09-22 Hans-Peter Nilsson <hp@axis.com>
3447
3448 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
3449 override USE_PT_GNU_EH_FRAME.
3450 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
3451 check USE_EH_FRAME_REGISTRY_ALWAYS against
3452 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
3453 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
3454 variable for substituted force_explicit_eh_registry.
3455 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
3456 * configure.ac (explicit-exception-frame-registration):
3457 New AC_ARG_ENABLE.
3458 * configure: Regenerate.
3459
3a8fe7c6
OH
34602014-09-19 Olivier Hainque <hainque@adacore.com>
3461
3462 * config.host (powerpc-wrs-vxworksmils): New configuration,
3463 same as vxworksae.
3464
dd69f047
JM
34652014-09-18 Joseph Myers <joseph@codesourcery.com>
3466
3467 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
3468
e770bfd9
JM
34692014-09-18 Joseph Myers <joseph@codesourcery.com>
3470
3471 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
3472 bits not set bits as indicating trapping exceptions.
3473
cadb2b96
NS
34742014-09-17 Nathan sidwell <nathan@acm.org>
3475
3476 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
3477 (LIBGCOV_DRIVER): ... here.
3478 * libgcov-driver.c (gcov_master): New.
3479 (gcov_exit): Remove from master chain.
3480 (__gcov_init): Add to master chain if version compatible. Don't
3481 clear the version.
3482 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
3483 (gcov_reset_int): Clear master chain, if compatible.
3484 (gcov_dump_int): New internal interface. Dump master chain, if
3485 compatible.
3486 (gcov_dump): Alias for gcov_dump_int.
3487 * libgcov.h (struct gcov_root): Add next and prev fields.
3488 (struct gcov_master): New struct.
3489 (__gcov_master): New.
3490 (gcov_dump_int): Declare.
3491
580d22a3
OH
34922014-09-17 Olivier Hainque <hainque@adacore.com>
3493
3494 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
3495 and crtbegin.o + crtend.o to extra_parts.
3496
8cc4b7a2
JM
34972014-09-12 Joseph Myers <joseph@codesourcery.com>
3498
3499 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
3500 __LIBGCC_HAS_SF_MODE__.
3501 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3502 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3503 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3504 * config/libbid/bid_gcc_intrinsics.h
3505 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3506 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3507 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3508 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3509 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
3510 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3511
ea3f2b24
GJL
35122014-09-11 Georg-Johann Lay <avr@gjlay.de>
3513
3514 PR target/63223
3515 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
3516 and R24 as needed. Make work for all devices and .text locations.
3517 (__do_global_ctors, __do_global_dtors): Use word addresses.
3518 (__tablejump__, __tablejump_elpm__): Remove functions.
3519 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
3520 Add _tablejump2.
3521 (XICALL, XIJMP): New macros.
3522
b677236a
MS
35232014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
3524 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3525
3526 * config.host (aarch64*): Include crtfastmath.o and
3527 t-crtfm.
3528 * config/aarch64/crtfastmath.c: New file.
3529
157e859f
TS
35302014-09-08 Trevor Saunders <tsaunders@mozilla.com>
3531
3532 * config.host: Remove picochip support.
3533 * config/picochip/adddi3.S: Remove.
3534 * config/picochip/ashlsi3.S: Remove.
3535 * config/picochip/ashlsi3.c: Remove.
3536 * config/picochip/ashrsi3.S: Remove.
3537 * config/picochip/ashrsi3.c: Remove.
3538 * config/picochip/clzsi2.S: Remove.
3539 * config/picochip/cmpsi2.S: Remove.
3540 * config/picochip/divmod15.S: Remove.
3541 * config/picochip/divmodhi4.S: Remove.
3542 * config/picochip/divmodsi4.S: Remove.
3543 * config/picochip/lib1funcs.S: Remove.
3544 * config/picochip/longjmp.S: Remove.
3545 * config/picochip/lshrsi3.S: Remove.
3546 * config/picochip/lshrsi3.c: Remove.
3547 * config/picochip/parityhi2.S: Remove.
3548 * config/picochip/popcounthi2.S: Remove.
3549 * config/picochip/setjmp.S: Remove.
3550 * config/picochip/subdi3.S: Remove.
3551 * config/picochip/t-picochip: Remove.
3552 * config/picochip/ucmpsi2.S: Remove.
3553 * config/picochip/udivmodhi4.S: Remove.
3554 * config/picochip/udivmodsi4.S: Remove.
3555
66bb34c0
JM
35562014-09-08 Joseph Myers <joseph@codesourcery.com>
3557
3558 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
3559 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
3560 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
3561 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
3562 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
3563 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
3564 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
3565 defined and LIBGCC2_HAS_DF_MODE is defined.
3566 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
3567 defined and LIBGCC2_HAS_XF_MODE is defined.
3568 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
3569 defined and LIBGCC2_HAS_TF_MODE is defined.
3570
9686a2e6
JM
35712014-09-08 Joseph Myers <joseph@codesourcery.com>
3572
3573 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
3574 and ROUND_TOWARDS_ZERO conditionals.
3575
71c3e2ef
NS
35762014-09-07 Nathan sidwell <nathan@acm.org>
3577
3578 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
3579 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
3580
53d68b9f
JM
35812014-09-05 Joseph Myers <joseph@codesourcery.com>
3582
3583 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
3584 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3585 uses to __LIBGCC_STACK_POINTER_REGNUM__.
3586 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3587 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3588 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3589 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3590 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
3591 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
3592 (DWARF_FRAME_REGISTERS): Change all uses to
3593 __LIBGCC_DWARF_FRAME_REGISTERS__.
3594 (EH_RETURN_STACKADJ_RTX): Change all uses to
3595 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3596 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
3597 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
3598 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
3599 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
3600 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
3601 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
3602 to __LIBGCC_EH_FRAME_SECTION_NAME__.
3603 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
3604 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
3605 __LIBGCC_STACK_POINTER_REGNUM__.
3606 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3607 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3608 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3609 to __LIBGCC_STACK_POINTER_REGNUM__.
3610 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3611 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3612 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3613 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3614 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3615 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3616 (STACK_POINTER_REGNUM): Change all uses to
3617 __LIBGCC_STACK_POINTER_REGNUM__.
3618 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
3619 use to __LIBGCC_STACK_POINTER_REGNUM__.
3620 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3621 uses to __LIBGCC_STACK_POINTER_REGNUM__.
3622 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
3623 to __LIBGCC_DWARF_FRAME_REGISTERS__.
3624 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
3625 to __LIBGCC_DWARF_FRAME_REGISTERS__.
3626 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3627 to __LIBGCC_STACK_POINTER_REGNUM__.
3628 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
3629 Remove conditional definition.
3630 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
3631 __LIBGCC_TEXT_SECTION_ASM_OP__.
3632 (EH_FRAME_SECTION_NAME): Change all uses to
3633 __LIBGCC_EH_FRAME_SECTION_NAME__.
3634 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
3635 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
3636 (CTORS_SECTION_ASM_OP): Change all uses to
3637 __LIBGCC_CTORS_SECTION_ASM_OP__.
3638 (DTORS_SECTION_ASM_OP): Change all uses to
3639 __LIBGCC_DTORS_SECTION_ASM_OP__.
3640 (JCR_SECTION_NAME): Change all uses to
3641 __LIBGCC_JCR_SECTION_NAME__.
3642 (INIT_SECTION_ASM_OP): Change all uses to
3643 __LIBGCC_INIT_SECTION_ASM_OP__.
3644 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3645 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3646 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
3647 __LIBGCC_STACK_GROWS_DOWNWARD__.
3648 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
3649 __LIBGCC_INIT_SECTION_ASM_OP__.
3650 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3651 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3652 (EH_FRAME_SECTION_NAME): Change all uses to
3653 __LIBGCC_EH_FRAME_SECTION_NAME__.
3654 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
3655 definitions. Change all uses to
3656 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
3657 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
3658 __LIBGCC_STACK_GROWS_DOWNWARD__.
3659 (DWARF_FRAME_REGISTERS): Change all uses to
3660 __LIBGCC_DWARF_FRAME_REGISTERS__.
3661 (EH_RETURN_STACKADJ_RTX): Change all uses to
3662 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3663 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
3664 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
3665 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
3666 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
3667 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
3668
b20ee094
NS
36692014-09-02 Nathan sidwell <nathan@acm.org>
3670
3671 * libgcov-interface.c (STRONG_ALIAS): New.
3672 (__gcov_flush): Call __gcov_reset_int.
3673 (__gcov_reset): Strong alias for ...
3674 (__gcov_reset_ing): ... this renamed hidden version.
3675 * libgcov.h (__gcov_reset_int): New declaration.
3676
1ac83976
YS
36772014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
3678
25efdb9f
YS
3679 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
3680 call from here...
3681 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
3682 (__dso_handle): Define on Cygwin.
3683 * config/i386/t-cygming (crtbeginS.o): New rule.
3684 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
3685
1ac83976
YS
3686 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
3687 declaration syntax.
3688
c6f9ea3b
SE
36892014-08-13 Steve Ellcey <sellcey@mips.com>
3690
3691 * crtstuff.c: Undef caddr_t.
3692
5b1ea7c5
SE
36932014-08-12 Steve Ellcey <sellcey@mips.com>
3694
3695 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
3696
4303c581
NS
36972014-08-07 Nathan Sidwell <nathan@acm.org>
3698
3699 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
3700 (LIBGCOV_DRIVER): ... to here.
3701 * libgcov.h (gcov_do_dump): New #define.
3702 (struct gcov_root): New.
3703 (__gcov_root): New declaration.
3704 (__gcov_dump_one): Declare.
3705 * libgcov-driver.c (gcov_list, gcov_dump_complete,
3706 run_accounted): Delete.
3707 (gcov_compute_histogram): Add LIST argument, adjust.
3708 (compute_summary): Adjust gcov_compute_histogram call.
3709 (gcov_do_dump): Not hidden, static in libgcov.
3710 (gcov_clear): Move to interface.c.
3711 (__gcov_dump_one): New, broken out of ...
3712 (gcov_exit): ... here. Make static.
3713 (__gcov_root): New.
3714 (__gcov_init): Adjust.
3715 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
3716 declarations.
3717 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
3718 (gcov_clear): Moved from driver.c. Add LIST argument.
3719 (__gcov_reset): Adjust for changed interfaces.
3720 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
3721
23742a9e
RAR
37222014-08-04 Rohit <rohitarulraj@freescale.com>
3723
3724 PR target/60102
3725 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
d406ae47 3726 based on change in SPE high register numbers and 3 HTM registers.
23742a9e 3727
b98a872b
NS
37282014-08-01 Nathan Sidwell <nathan@acm.org>
3729
3730 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
3731 LIBGCOV_INTERFACE): Reformat.
3732 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
3733 IN_GCOV_TOOL.
3734 * libgcov-interface.c: Reformat some comments.
3735 (__gcov_flush_mx): Add declaration. Tidy up definition.
3736
6adaaa1d
AM
37372014-07-31 Alan Modra <amodra@gmail.com>
3738 Peter Bergner <bergner@vnet.ibm.com>
3739
3740 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
3741 (pack_ldouble): New function.
3742 (__gcc_qadd): Use it.
3743 (__gcc_qmul): Likewise.
3744 (__gcc_qdiv): Likewise.
3745 (__gcc_qneg): Likewise.
3746 (__gcc_stoq): Likewise.
3747 (__gcc_dtoq): Likewise.
3748
87cb0c0c
UW
37492014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
3750
3751 * config/s390/tpf-unwind.h: Include <stdbool.h>.
3752 (__tpf_eh_return): Add original return address as second parameter.
3753 Handle cases where unwinder routines were called directly, instead
3754 of from within the C++ library.
3755
19926161
NS
37562014-07-29 Nathan Sidwell <nathan@acm.org>
3757
3758 * libgcov.h: Move renaming of entry points to lib gcov specific
3759 portion.
3760 (gcov_do_dump): New rename.
3761 (gcov_rewrite): Remove inline, make HIDDEN.
3762 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
3763 (gcov_exit_compute_summary): Rename to ...
3764 (compute_summary): ... here. Add LIST argument.
3765 (gcov_exit_merge_gcda): Rename to ...
3766 (merge_one_data): ... here.
3767 (gcov_exit_write_gcda): Rename to ...
3768 (write_one_data): ... here.
3769 (gcov_exit_merge_summary): Rename to ...
3770 (merge_summary): Add RUN_COUNTED argument.
3771 (gcov_exit_dump_gcov): Rename to ...
3772 (dump_one_gcov): Add RUN_COUNTED argument.
3773 (gcov_do_dump): New function, broken out of ...
3774 (gcov_exit): ... here. Call it.
3775
17522262
AG
37762014-07-27 Anthony Green <green@moxielogic.com>
3777
3778 * config.host: Add moxiebox configuration suppport.
3779
6dc33097
NS
37802014-07-27 Nathan Sidwell <nathan@acm.org>
3781
3782 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
3783 (struct gcov_filename): ... here. Include buffer and max length
3784 fields.
3785 (gcov_max_filename): Remove.
3786 (gi_filename): Remove.
3787 (gcov_exit_compute_summary): Compute max filename here.
3788 (gcov_exit_merge_gcda): Add filename parm, adjust.
3789 (gcov_exit_merge_summary): Likewise.
3790 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
3791 (gcov_exit): Likewise.
3792 (__gcov_init): Don't calculate max length here.
3793 * libgcov_util.c (max_filename_len): Remove.
3794 (read_gcda_file): Don't calculate max length here.
3795 (gcov_read_profile_dir): Don't propagate here.
3796 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
3797 struct gcov_filename changes.
3798 (gcov_exit_open_gcda_file): Likewise.
3799
770f687d
NS
38002014-07-25 Nathan Sidwell <nathan@acm.org>
3801
3802 * libgcov-driver.c (set_gcov_dump_complete,
3803 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
3804 functions polluting user's namespace.
3805 (gcov_exit): Set variable directly.
3806 (gcov_clear): Reset variable directly.
3807 * libgcov-interface.c (get_gcov_dymp_complete,
3808 reset_gov_dump_complete): Remove declarations.
3809 (__gcov_reset, __gcov_dump): Don't call them.
3810
fabf71ba
DD
38112014-07-24 DJ Delorie <dj@redhat.com>
3812
3813 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
770f687d
NS
3814 (__gcc_deregister_frame): Move logic to detect deregister function
3815 to ...
3816 (__gcc_register_frame): here, so it's consistent with the register
3817 logic.
fabf71ba 3818
d10ee722
NS
38192014-07-23 Nathan Sidwell <nathan@acm.org>
3820
3821 * libgcov-driver.c (set_gcov_list): Remove.
3822 (gcov_list): Make non-static in GCOV_TOOL.
3823 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
3824
a4137090
JDA
38252014-07-17 John David Anglin <danglin@gcc.gnu.org>
3826
3827 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
3828 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
3829 Don't use SYNC_LOCK_RELEASE for int type.
3830
72602c6c
RB
38312014-07-14 Richard Biener <rguenther@suse.de>
3832
3833 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
3834
d5313205
RX
38352014-07-11 Rong Xu <xur@google.com>
3836
3837 * libgcov-util.c (gcov_max_filename): Fix declartion.
3838
c77556a5
RX
38392014-07-10 Rong Xu <xur@google.com>
3840
3841 Add gcov-tool: an offline gcda profile processing tool
3842 Support.
3843 * libgcov-driver.c (gcov_max_filename): Make available
3844 to gcov-tool.
3845 * libgcov-merge.c (__gcov_merge_add): Replace
3846 gcov_read_counter() with a Macro.
3847 (__gcov_merge_ior): Ditto.
3848 (__gcov_merge_time_profile): Ditto.
3849 (__gcov_merge_single): Ditto.
3850 (__gcov_merge_delta): Ditto.
3851 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
3852 in the utility functions.
3853 (set_fn_ctrs): Utility function for reading gcda files to in-memory
3854 gcov_list object link lists.
3855 (tag_function): Ditto.
3856 (tag_blocks): Ditto.
3857 (tag_arcs): Ditto.
3858 (tag_lines): Ditto.
3859 (tag_counters): Ditto.
3860 (tag_summary): Ditto.
3861 (read_gcda_finalize): Ditto.
3862 (read_gcda_file): Ditto.
3863 (ftw_read_file): Ditto.
3864 (read_profile_dir_init): Ditto.
3865 (gcov_read_profile_dir): Ditto.
3866 (gcov_read_counter_mem): Ditto.
3867 (gcov_get_merge_weight): Ditto.
3868 (merge_wrapper): A wrapper function that calls merging handler.
3869 (gcov_merge): Merge two gcov_info objects with weights.
3870 (find_match_gcov_info): Find the matched gcov_info in the list.
3871 (gcov_profile_merge): Merge two gcov_info object lists.
3872 (__gcov_add_counter_op): Process edge profile counter values.
3873 (__gcov_ior_counter_op): Process IOR profile counter values.
3874 (__gcov_delta_counter_op): Process delta profile counter values.
3875 (__gcov_single_counter_op): Process single profile counter values.
3876 (fp_scale): Callback function for float-point scaling.
cc86234f 3877 (int_scale): Callback function for integer fraction scaling.
c77556a5
RX
3878 (gcov_profile_scale): Scaling profile counters.
3879 (gcov_profile_normalize): Normalize profile counters.
3880 * libgcov.h: Add headers and functions for gcov-tool use.
3881 (gcov_get_counter): New.
3882 (gcov_get_counter_target): Ditto.
3883 (struct gcov_info): Make the functions field mutable in gcov-tool
3884 compilation.
3885
5c7dac8a
KT
38862014-06-23 Kai Tietz <ktietz@redhat.com>
3887
3888 PR libgcc/61585
3889 * unwind-seh.c (_Unwind_GetGR): Check for proper
3890 index range.
3891 (_Unwind_SetGR): Likewise.
3892
161c9312
NC
38932014-05-22 Nick Clifton <nickc@redhat.com>
3894
3895 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
3896 -mhwmult=none.
3897
e3f0315f
TJ
38982014-05-22 Teresa Johnson <tejohnson@google.com>
3899
3900 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
3901 include.
3902
dbed5a9b
JM
39032014-05-20 John Marino <gnugcc@marino.st>
3904
3905 * config.host (*-*-dragonfly*): New target.
3906 * crtstuff.c: Make dl_iterate_support generic on *bsd.
3907 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
3908 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
3909 * config/i386/dragonfly-unwind.h: New.
3910
1ec380e5
MR
39112014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
3912
3913 PR libgcc/60166
3914 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
3915 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
3916
54fde020
BE
39172014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
3918
3919 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
3920 implementation.
3921
999db125
GJL
39222014-05-12 Georg-Johann Lay <avr@gjlay.de>
3923
3924 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
3925
cceaf54a
RO
39262014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3927
3928 PR libgcc/61097
3929 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
3930 if --enable-shared.
3931
e3fe9b5b
BE
39322014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
3933
3934 Work around for current cygwin32 build problems.
3935 * config/i386/cygming-crtbegin.c (__register_frame_info,
3936 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
3937 functions only for 64-bit systems.
3938
54cf37e9
RO
39392014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3940
3941 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
3942 (sigill_caught, sigill_hdlr): Remove.
3943
d9f069ab
RO
39442014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3945
3946 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
3947 check.
3948 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
3949 Solaris 9 single-threaded support.
3950 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
3951 Solaris 9 single-threaded support. Add call_user_handler code
3952 sequences.
3953 (sparc_is_sighandler): Likewise.
3954
59976ef8
AK
39552014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3956
3957 * config.host: Append t-floattodi to tmake_file depending on
3958 host_address.
3959
d02bbcf3
JS
39602014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
3961
31466bc0 3962 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
d02bbcf3 3963
c2e7e597
UB
39642014-03-10 Uros Bizjak <ubizjak@gmail.com>
3965
3966 PR libgcc/60472
3967 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2405e0ea 3968 variable to avoid "array subscript is above array bounds" warnings.
c2e7e597
UB
3969 Use __builtin_expect when checking *jcr_list for NULL.
3970
227a7dc8
RO
39712014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3972
3973 PR libgcc/59339
3974 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
3975 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
3976 vtv_*.o to extra_parts if enable_vtable_verify.
3977
df2b279c
NC
39782014-03-06 Nick Clifton <nickc@redhat.com>
3979
3980 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
3981 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
3982
dc11d79b
JY
39832014-02-28 Joey Ye <joey.ye@arm.com>
3984
3985 PR libgcc/60166
3986 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
3987 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
3988 Set to zero.
3989
341c653c
WL
39902014-02-24 Walter Lee <walt@tilera.com>
3991
3992 * config.host: Support "tilegx*" and "tilepro*" triplets.
3993 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
3994 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
3995
95ce7613
CLT
39962014-02-20 Sandra Loosemore <sandra@codesourcery.com>
3997 Chung-Lin Tang <cltang@codesourcery.com>
3998
3999 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
4000 * config/nios2/crti.S: Remove .file directive.
4001 * config/nios2/crtn.S: Likewise.
4002
0bb4fc05
KT
40032014-02-18 Kai Tietz <ktietz@redhat.com>
4004 Jonathan Schleifer <js@webkeks.org>
4005
4006 PR objc/56870
4007 * unwind-seh.c (_GCC_specific_handler): Pass proper
4008 value to unwind-handler.
4009
9acf28f1
JM
40102014-02-12 Joseph Myers <joseph@codesourcery.com>
4011
4012 * soft-fp/adddf3.c: Update from glibc.
4013 * soft-fp/addsf3.c: Likewise.
4014 * soft-fp/addtf3.c: Likewise.
4015 * soft-fp/divdf3.c: Likewise.
4016 * soft-fp/divsf3.c: Likewise.
4017 * soft-fp/divtf3.c: Likewise.
4018 * soft-fp/double.h: Likewise.
4019 * soft-fp/eqdf2.c: Likewise.
4020 * soft-fp/eqsf2.c: Likewise.
4021 * soft-fp/eqtf2.c: Likewise.
4022 * soft-fp/extenddftf2.c: Likewise.
4023 * soft-fp/extended.h: Likewise.
4024 * soft-fp/extendsfdf2.c: Likewise.
4025 * soft-fp/extendsftf2.c: Likewise.
4026 * soft-fp/extendxftf2.c: Likewise.
4027 * soft-fp/fixdfdi.c: Likewise.
4028 * soft-fp/fixdfsi.c: Likewise.
4029 * soft-fp/fixdfti.c: Likewise.
4030 * soft-fp/fixsfdi.c: Likewise.
4031 * soft-fp/fixsfsi.c: Likewise.
4032 * soft-fp/fixsfti.c: Likewise.
4033 * soft-fp/fixtfdi.c: Likewise.
4034 * soft-fp/fixtfsi.c: Likewise.
4035 * soft-fp/fixtfti.c: Likewise.
4036 * soft-fp/fixunsdfdi.c: Likewise.
4037 * soft-fp/fixunsdfsi.c: Likewise.
4038 * soft-fp/fixunsdfti.c: Likewise.
4039 * soft-fp/fixunssfdi.c: Likewise.
4040 * soft-fp/fixunssfsi.c: Likewise.
4041 * soft-fp/fixunssfti.c: Likewise.
4042 * soft-fp/fixunstfdi.c: Likewise.
4043 * soft-fp/fixunstfsi.c: Likewise.
4044 * soft-fp/fixunstfti.c: Likewise.
4045 * soft-fp/floatdidf.c: Likewise.
4046 * soft-fp/floatdisf.c: Likewise.
4047 * soft-fp/floatditf.c: Likewise.
4048 * soft-fp/floatsidf.c: Likewise.
4049 * soft-fp/floatsisf.c: Likewise.
4050 * soft-fp/floatsitf.c: Likewise.
4051 * soft-fp/floattidf.c: Likewise.
4052 * soft-fp/floattisf.c: Likewise.
4053 * soft-fp/floattitf.c: Likewise.
4054 * soft-fp/floatundidf.c: Likewise.
4055 * soft-fp/floatundisf.c: Likewise.
4056 * soft-fp/floatunditf.c: Likewise.
4057 * soft-fp/floatunsidf.c: Likewise.
4058 * soft-fp/floatunsisf.c: Likewise.
4059 * soft-fp/floatunsitf.c: Likewise.
4060 * soft-fp/floatuntidf.c: Likewise.
4061 * soft-fp/floatuntisf.c: Likewise.
4062 * soft-fp/floatuntitf.c: Likewise.
4063 * soft-fp/gedf2.c: Likewise.
4064 * soft-fp/gesf2.c: Likewise.
4065 * soft-fp/getf2.c: Likewise.
4066 * soft-fp/ledf2.c: Likewise.
4067 * soft-fp/lesf2.c: Likewise.
4068 * soft-fp/letf2.c: Likewise.
4069 * soft-fp/muldf3.c: Likewise.
4070 * soft-fp/mulsf3.c: Likewise.
4071 * soft-fp/multf3.c: Likewise.
4072 * soft-fp/negdf2.c: Likewise.
4073 * soft-fp/negsf2.c: Likewise.
4074 * soft-fp/negtf2.c: Likewise.
4075 * soft-fp/op-1.h: Likewise.
4076 * soft-fp/op-2.h: Likewise.
4077 * soft-fp/op-4.h: Likewise.
4078 * soft-fp/op-8.h: Likewise.
4079 * soft-fp/op-common.h: Likewise.
4080 * soft-fp/quad.h: Likewise.
4081 * soft-fp/single.h: Likewise.
4082 * soft-fp/soft-fp.h: Likewise.
4083 * soft-fp/subdf3.c: Likewise.
4084 * soft-fp/subsf3.c: Likewise.
4085 * soft-fp/subtf3.c: Likewise.
4086 * soft-fp/truncdfsf2.c: Likewise.
4087 * soft-fp/trunctfdf2.c: Likewise.
4088 * soft-fp/trunctfsf2.c: Likewise.
4089 * soft-fp/trunctfxf2.c: Likewise.
4090 * soft-fp/unorddf2.c: Likewise.
4091 * soft-fp/unordsf2.c: Likewise.
4092 * soft-fp/unordtf2.c: Likewise.
4093 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
4094 macro.
4095 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4096 Likewise.
4097 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4098 Likewise.
4099 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4100 Likewise.
4101 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4102 Likewise.
4103 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4104 Likewise.
4105 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4106 Likewise.
4107 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4108 Likewise.
4109 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4110 Likewise.
4111 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4112 Likewise.
4113 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4114 Likewise.
4115 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4116 Likewise.
4117 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4118 Likewise.
4119 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
4120 Likewise.
4121 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
4122 Likewise.
4123 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4124 Likewise.
4125
ce245ec6
AK
41262014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4127
4128 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
4129 cannot be represented.
4130 * config/s390/32/_fixsfdi.c: Likewise.
4131 * config/s390/32/_fixtfdi.c: Likewise.
4132 * config/s390/32/_fixunsdfdi.c: Likewise.
4133 * config/s390/32/_fixunssfdi.c: Likewise.
4134 * config/s390/32/_fixunstfdi.c: Likewise.
4135
1c51d688
RS
41362014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
4137
4138 * configure.ac (libgcc_cv_mips_hard_float): New.
4139 * configure: Regenerate.
4140 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
4141 t-softfp-sfdf for hard-float targets.
4142 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
4143 (softfp_float_modes, softfp_int_modes, softfp_extensions)
4144 (softfp_truncations, softfp_exclude_libgcc2): New.
4145 * config/t-hardfp: New file.
4146 * config/t-hardfp-sfdf: Likewise.
4147 * config/hardfp.c: Likewise.
4148
bbf391db
AK
41492014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4150
4151 * config.host: Include t-floattodi also for s390x.
4152 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
4153 * config/s390/32/_fixsfdi.c: Likewise.
4154 * config/s390/32/_fixtfdi.c: Likewise.
4155 * config/s390/32/_fixunsdfdi.c: Likewise.
4156 * config/s390/32/_fixunssfdi.c: Likewise.
4157 * config/s390/32/_fixunstfdi.c: Likewise.
4158
91da0481
RO
41592014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4160
4161 PR target/59788
4162 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
4163 (install-libgcc-unwind-map-forbuild): New target.
4164 (all): Depend on install-libgcc-unwind-map-forbuild.
4165 (install-libgcc-unwind-map): New target.
4166 (install): Depend on install-libgcc-unwind-map.
4167
02b67731
SL
41682014-02-02 Sandra Loosemore <sandra@codesourcery.com>
4169
4170 * config/nios2/crti.S (_init): Initialize GOT pointer from
4171 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
4172
1ea0a651
RS
41732014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
4174
4175 * configure.ac: Check __mips64 when setting host_address.
4176 * configure: Regenerate.
4177 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
4178 mips/t-mips64 and t-softfp.
4179 (mips*-*-linux*): Don't add mips/t-tpbit.
4180 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
4181 (DPBIT, DPBIT_CFLAGS): Delete.
4182 * config/mips/sfp-machine.h: New file.
4183 * config/mips/t-mips64: Likewise.
4184 * config/mips/t-softfp-tf: Likewise.
4185 * config/mips/t-tpbit: Delete.
4186
f32b0061
MS
41872014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
4188
4189 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
4190 as long long.
4191
a5420aa4
WL
41922014-01-25 Walter Lee <walt@tilera.com>
4193
4194 * config/tilepro/atomic.c: Include tconfig.h. Don't include
4195 config.h or system.h.
4196 (bool) Define.
4197
24534912
WL
41982014-01-25 Walter Lee <walt@tilera.com>
4199
4200 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
4201 (post_atomic_barrier): Ditto.
4202 (__fetch_and_do): New macro.
4203 (__atomic_fetch_and_do): Use __fetch_and_do.
4204 (__sync_fetch_and_do): New macro.
4205 (__sync_fetch_and_add_4): New function.
4206 (__sync_fetch_and_sub_4): New function.
4207 (__sync_fetch_and_or_4): New function.
4208 (__sync_fetch_and_and_4): New function.
4209 (__sync_fetch_and_xor_4): New function.
4210 (__sync_fetch_and_nand_4): New function.
4211 (__sync_fetch_and_add_8): New function.
4212 (__sync_fetch_and_sub_8): New function.
4213 (__sync_fetch_and_or_8): New function.
4214 (__sync_fetch_and_and_8): New function.
4215 (__sync_fetch_and_xor_8): New function.
4216 (__sync_fetch_and_nand_8): New function.
4217 (__do_and_fetch): New macro.
4218 (__atomic_do_and_fetch): Use __do_and_fetch.
4219 (__sync_do_and_fetch): New macro.
4220 (__sync_add_and_fetch_4): New function.
4221 (__sync_sub_and_fetch_4): New function.
4222 (__sync_or_and_fetch_4): New function.
4223 (__sync_and_and_fetch_4): New function.
4224 (__sync_xor_and_fetch_4): New function.
4225 (__sync_nand_and_fetch_4): New function.
4226 (__sync_add_and_fetch_8): New function.
4227 (__sync_sub_and_fetch_8): New function.
4228 (__sync_or_and_fetch_8): New function.
4229 (__sync_and_and_fetch_8): New function.
4230 (__sync_xor_and_fetch_8): New function.
4231 (__sync_nand_and_fetch_8): New function.
4232 (__sync_exchange_methods): New macro.
4233 (__sync_val_compare_and_swap_4): New function.
4234 (__sync_bool_compare_and_swap_4): New function.
4235 (__sync_lock_test_and_test_4): New function.
4236 (__sync_val_compare_and_swap_8): New function.
4237 (__sync_bool_compare_and_swap_8): New function.
4238 (__sync_lock_test_and_test_8): New function.
4239 (__subword_cmpxchg_body): New macro.
4240 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
4241 (__atomic_compare_exchange_2): Ditto.
4242 (__sync_subword_cmpxchg): New macro.
4243 (__sync_val_compare_and_swap_1): New function.
4244 (__sync_bool_compare_and_swap_1): New function.
4245 (__sync_val_compare_and_swap_2): New function.
4246 (__sync_bool_compare_and_swap_2): New function.
4247 (__atomic_subword): Rename to ...
4248 (__subword): ... New name.
4249 (__atomic_subword_fetch): Use __subword.
4250 (__sync_subword_fetch): New macro.
4251 (__sync_fetch_and_add_1): New function.
4252 (__sync_fetch_and_sub_1): New function.
4253 (__sync_fetch_and_or_1): New function.
4254 (__sync_fetch_and_and_1): New function.
4255 (__sync_fetch_and_xor_1): New function.
4256 (__sync_fetch_and_nand_1): New function.
4257 (__sync_fetch_and_add_2): New function.
4258 (__sync_fetch_and_sub_2): New function.
4259 (__sync_fetch_and_or_2): New function.
4260 (__sync_fetch_and_and_2): New function.
4261 (__sync_fetch_and_xor_2): New function.
4262 (__sync_fetch_and_nand_2): New function.
4263 (__sync_add_and_fetch_1): New function.
4264 (__sync_sub_and_fetch_1): New function.
4265 (__sync_or_and_fetch_1): New function.
4266 (__sync_and_and_fetch_1): New function.
4267 (__sync_xor_and_fetch_1): New function.
4268 (__sync_nand_and_fetch_1): New function.
4269 (__sync_add_and_fetch_2): New function.
4270 (__sync_sub_and_fetch_2): New function.
4271 (__sync_or_and_fetch_2): New function.
4272 (__sync_and_and_fetch_2): New function.
4273 (__sync_xor_and_fetch_2): New function.
4274 (__sync_nand_and_fetch_2): New function.
4275 (__atomic_subword_lock): Use __subword.
4276 (__sync_subword_lock): New macro.
4277 (__sync_lock_test_and_set_1): New function.
4278 (__sync_lock_test_and_set_2): New function.
4279
4d6d3bc5
WL
42802014-01-25 Walter Lee <walt@tilera.com>
4281
4282 * config/tilepro/atomic.c (BIT_OFFSET): Define.
4283 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
4284 (__atomic_subword): Ditto.
4285
cbd9890e
WL
42862014-01-25 Walter Lee <walt@tilera.com>
4287
4288 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
4289 a prefix op argument.
4290 (__atomic_nand_fetch_4): Add prefix op.
4291 (__atomic_nand_fetch_8): Ditto.
4292
7d296953 42932014-01-21 Baruch Siach <barch@tkos.co.il>
800d8bd5
BS
4294
4295 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
4296
46dd1242
L
42972014-01-09 Rong Xu <xur@google.com>
4298
4299 * libgcov-driver.c (this_prg): make it local to save
4300 bss space.
4301 (gcov_exit_compute_summary): Ditto.
4302 (gcov_exit_merge_gcda): Ditto.
4303 (gcov_exit_merge_summary): Ditto.
4304 (gcov_exit_dump_gcov): Ditto.
4305
cc86234f 43062014-01-08 Rong Xu <xur@google.com>
40d6b753
RX
4307
4308 * libgcov-driver.c: Use libgcov.h.
4309 (buffer_fn_data): Use xmalloc instead of malloc.
4310 (gcov_exit_merge_gcda): Ditto.
4311 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
4312 * libgcov.h: New common header files for libgcov-*.h.
4313 * libgcov-interface.c: Use libgcov.h
4314 * libgcov-merge.c: Ditto.
4315 * libgcov-profiler.c: Ditto.
4316 * Makefile.in: Add dependence to libgcov.h
4317
a02e7bdd
JM
43182014-01-02 Joseph Myers <joseph@codesourcery.com>
4319
4320 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
4321 case of small numerator and finite nonzero result.
4322
ac1dca3c
RS
43232014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4324
4325 Update copyright years
4326
f9030485
RS
43272014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4328
4329 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
4330 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
4331 config/arc/dp-hack.h, config/arc/fp-hack.h,
4332 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
4333 config/arc/ieee-754/arc600-dsp/divdf3.S,
4334 config/arc/ieee-754/arc600-dsp/divsf3.S,
4335 config/arc/ieee-754/arc600-dsp/muldf3.S,
4336 config/arc/ieee-754/arc600-dsp/mulsf3.S,
4337 config/arc/ieee-754/arc600-mul64/divdf3.S,
4338 config/arc/ieee-754/arc600-mul64/divsf3.S,
4339 config/arc/ieee-754/arc600-mul64/muldf3.S,
4340 config/arc/ieee-754/arc600-mul64/mulsf3.S,
4341 config/arc/ieee-754/arc600/divsf3.S,
4342 config/arc/ieee-754/arc600/mulsf3.S,
4343 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
4344 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
4345 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
4346 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
4347 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
4348 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
4349 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
4350 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
4351 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
4352 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
4353 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
4354 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
4355 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
4356 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
4357 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
4358 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
4359 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
4360 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
4361 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
4362 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
4363 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
4364 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
4365 vtv_start_preinit.c: Use the standard form for the copyright notice.
4366
e430824f
CLT
43672013-12-31 Sandra Loosemore <sandra@codesourcery.com>
4368 Chung-Lin Tang <cltang@codesourcery.com>
4369 Based on patches from Altera Corporation
4370
4371 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
4372 * config/nios2/lib2-nios2.h: New file.
4373 * config/nios2/lib2-divmod-hi.c: New file.
4374 * config/nios2/linux-unwind.h: New file.
4375 * config/nios2/lib2-divmod.c: New file.
4376 * config/nios2/linux-atomic.c: New file.
4377 * config/nios2/t-nios2: New file.
4378 * config/nios2/crti.asm: New file.
4379 * config/nios2/t-linux: New file.
4380 * config/nios2/lib2-divtable.c: New file.
4381 * config/nios2/lib2-mul.c: New file.
4382 * config/nios2/tramp.c: New file.
4383 * config/nios2/crtn.asm: New file.
4384
1879e97f
UB
43852013-12-26 Uros Bizjak <ubizjak@gmail.com>
4386
4387 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
4388 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
4389 from cpuid.h to check vendor signatures.
4390
f4a4bdbb
GG
43912013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
4392
c2e7e597 4393 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
f4a4bdbb
GG
4394 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
4395 (get_amd_cpu): Likewise.
4396
8d2ae544
L
43972013-12-25 H.J. Lu <hongjiu.lu@intel.com>
4398
4399 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
4400 Haswell.
4401
74924838
ASJ
44022013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
4403 H.J. Lu <hongjiu.lu@intel.com>
4404
0bb52f25
L
4405 PR target/59422
4406 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
74924838
ASJ
4407 and AMD_JAGUAR.
4408 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
4409 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
4410 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
4411 FEATURE_XOP and FEATURE_FMA.
4412 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
4413 AMDFAM15H_BDVER3.
4414 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
0bb52f25 4415 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
74924838
ASJ
4416 FEATURE_FMA4 and FEATURE_XOP.
4417
d3c11974
L
44182013-12-23 H.J. Lu <hongjiu.lu@intel.com>
4419
4420 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
4421 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
4422 (get_intel_cpu): Updated.
4423
064c4ff2
ZC
44242013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
4425
4426 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
4427
8b02e720
UB
44282013-12-09 Uros Bizjak <ubizjak@gmail.com>
4429
4430 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1f71a3c3 4431 instructions when __SSE_MATH__ is defined.
8b02e720 4432
3fa2ccb4
RC
44332013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
4434
4435 * config.host (microblaze-*-rtems*): New.
4436
ecd78fc9
KV
44372013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
4438
4439 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
4440 architectures that do not have hardware divide instruction.
4441 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
4442
b21fbbd2
RS
44432013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
4444
4445 * longlong.h: Delete (moved to include/).
4446
b03fb8c9
AZ
44472013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4448
4449 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
4450 of normal number and qNaN to not raise an inexact exception.
4451
3c716922
UB
44522013-11-28 Uros Bizjak <ubizjak@gmail.com>
4453
4454 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
4455
44562013-11-28 Matthew Leach <matthew.leach@arm.com>
cceeb9a9
ML
4457
4458 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
4459 for correct opcodes on BE.
4460
a3458d22
UB
44612013-11-27 Uros Bizjak <ubizjak@gmail.com>
4462
4463 * soft-fp/op-4.h: Update from glibc.
4464
30b8f78b
KV
44652013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
4466
4467 * libgcc2.c (__udivmoddi4): Define new implementation when
4468 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
4469 divide instructions.
4470
82552a29
OE
44712013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
4472
4473 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
4474
80e87457
RO
44752013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4476
4477 * config/t-softfp (soft-fp-objects-base): New variable.
4478 (soft-fp-objects): Use it.
4479
44178879
DE
44802013-11-23 David Edelson <dje.gcc@gmail.com>
4481 Andrew Dixie <andrewd@gentrack.com>
4482
4483 PR target/33704
4484 * config/rs6000/aixinitfini.c: New file.
4485 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
4486 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
4487 symbols.
4488
e5287671
YR
44892013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
4490
a3458d22 4491 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
e5287671 4492
867c8b03
JH
44932013-11-18 Jan Hubicka <jh@suse.cz>
4494
7f369373
JH
4495 * libgcov-driver.c (run_accounted): Make global level static.
4496 (gcov_exit_merge_summary): Silence warning; do not clear
4497 run_accounted here.
4498 (gcov_exit): Clear it here.
4499
1d0b3334
JH
4500 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
4501 run_accounted.
4502
867c8b03
JH
4503 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
4504 (all_prg, crc32): Remove static vars.
4505 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
4506 all_prg.
4507 (gcov_exit_merge_gcda): Add crc32 parameter.
4508 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
4509 do not account run if it was already accounted.
4510 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
4511 (gcov_exit): Initialize all_prg; update.
4512
66204992
AS
45132013-11-15 Andreas Schwab <schwab@linux-m68k.org>
4514
4515 * configure: Regenerate.
4516
b54214fe
UW
45172013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4518 Alan Modra <amodra@gmail.com>
4519
4520 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
4521 (frob_update_context): Use it.
4522
45232013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4524 Alan Modra <amodra@gmail.com>
4525
4526 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
4527 (trampoline_initial): Provide ELFv2 variant.
4528 (__trampoline_setup): Likewise.
4529
4530 * config/rs6000/linux-unwind.h (frob_update_context): Do not
4531 check for AIX indirect function call sequence if _CALL_ELF == 2.
4532
45332013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4534 Alan Modra <amodra@gmail.com>
4535
4536 * config/rs6000/linux-unwind.h (get_regs): Do not support
4537 old kernel versions if _CALL_ELF == 2.
4538 (frob_update_context): Do not support PLT stub variants only
4539 generated by old linkers if _CALL_ELF == 2.
4540
13e0981a
UW
45412013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4542 Alan Modra <amodra@gmail.com>
4543
4544 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
4545 location of CR save area for 64-bit little-endian systems.
4546
1a80085d
EB
45472013-11-11 Eric Botcazou <ebotcazou@adacore.com>
4548
4549 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
4550 in tmake_file.
4551 * config/arm/t-vxworks: Delete.
4552
cabeea52
KT
45532013-11-10 Kai Tietz <ktietz@redhat.com>
4554
4555 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
4556 Increment load-count on use of LIBGCC_SONAME DLL.
4557 (hmod_libgcc): New static variable to hold handle of
4558 LIBGCC_SONAME DLL.
4559 (__gcc_deregister_frame): Decrement load-count of
4560 LIBGCC_SONAME DLL.
4561
ac088ba1
BRF
45622013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
4563
4564 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
4565 availability.
4566 * configure: Regenerate
4567
d59a8fcc
UB
45682013-11-07 Uros Bizjak <ubizjak@gmail.com>
4569
4570 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
4571 FP_EX_DENORM. Store result to volatile location after SSE division
4572 to close interrupt window. Remove unneeded fwait after x87
4573 division since interrupt window will be closed by emitted fstp.
9de84e84 4574 Rewrite FP_EX_INEXACT handling.
d59a8fcc 4575
9954c743
JM
45762013-11-06 Joseph Myers <joseph@codesourcery.com>
4577
4578 * soft-fp/README: Update.
4579 * soft-fp/adddf3.c: Update from glibc.
4580 * soft-fp/addsf3.c: Likewise.
4581 * soft-fp/addtf3.c: Likewise.
4582 * soft-fp/divdf3.c: Likewise.
4583 * soft-fp/divsf3.c: Likewise.
4584 * soft-fp/divtf3.c: Likewise.
4585 * soft-fp/double.h: Likewise.
4586 * soft-fp/eqdf2.c: Likewise.
4587 * soft-fp/eqsf2.c: Likewise.
4588 * soft-fp/eqtf2.c: Likewise.
4589 * soft-fp/extenddftf2.c: Likewise.
4590 * soft-fp/extended.h: Likewise.
4591 * soft-fp/extendsfdf2.c: Likewise.
4592 * soft-fp/extendsftf2.c: Likewise.
4593 * soft-fp/extendxftf2.c: Likewise.
4594 * soft-fp/fixdfdi.c: Likewise.
4595 * soft-fp/fixdfsi.c: Likewise.
4596 * soft-fp/fixdfti.c: Likewise.
4597 * soft-fp/fixsfdi.c: Likewise.
4598 * soft-fp/fixsfsi.c: Likewise.
4599 * soft-fp/fixsfti.c: Likewise.
4600 * soft-fp/fixtfdi.c: Likewise.
4601 * soft-fp/fixtfsi.c: Likewise.
4602 * soft-fp/fixtfti.c: Likewise.
4603 * soft-fp/fixunsdfdi.c: Likewise.
4604 * soft-fp/fixunsdfsi.c: Likewise.
4605 * soft-fp/fixunsdfti.c: Likewise.
4606 * soft-fp/fixunssfdi.c: Likewise.
4607 * soft-fp/fixunssfsi.c: Likewise.
4608 * soft-fp/fixunssfti.c: Likewise.
4609 * soft-fp/fixunstfdi.c: Likewise.
4610 * soft-fp/fixunstfsi.c: Likewise.
4611 * soft-fp/fixunstfti.c: Likewise.
4612 * soft-fp/floatdidf.c: Likewise.
4613 * soft-fp/floatdisf.c: Likewise.
4614 * soft-fp/floatditf.c: Likewise.
4615 * soft-fp/floatsidf.c: Likewise.
4616 * soft-fp/floatsisf.c: Likewise.
4617 * soft-fp/floatsitf.c: Likewise.
4618 * soft-fp/floattidf.c: Likewise.
4619 * soft-fp/floattisf.c: Likewise.
4620 * soft-fp/floattitf.c: Likewise.
4621 * soft-fp/floatundidf.c: Likewise.
4622 * soft-fp/floatundisf.c: Likewise.
4623 * soft-fp/floatunditf.c: Likewise.
4624 * soft-fp/floatunsidf.c: Likewise.
4625 * soft-fp/floatunsisf.c: Likewise.
4626 * soft-fp/floatunsitf.c: Likewise.
4627 * soft-fp/floatuntidf.c: Likewise.
4628 * soft-fp/floatuntisf.c: Likewise.
4629 * soft-fp/floatuntitf.c: Likewise.
4630 * soft-fp/gedf2.c: Likewise.
4631 * soft-fp/gesf2.c: Likewise.
4632 * soft-fp/getf2.c: Likewise.
4633 * soft-fp/ledf2.c: Likewise.
4634 * soft-fp/lesf2.c: Likewise.
4635 * soft-fp/letf2.c: Likewise.
4636 * soft-fp/muldf3.c: Likewise.
4637 * soft-fp/mulsf3.c: Likewise.
4638 * soft-fp/multf3.c: Likewise.
4639 * soft-fp/negdf2.c: Likewise.
4640 * soft-fp/negsf2.c: Likewise.
4641 * soft-fp/negtf2.c: Likewise.
4642 * soft-fp/op-1.h: Likewise.
4643 * soft-fp/op-2.h: Likewise.
4644 * soft-fp/op-4.h: Likewise.
4645 * soft-fp/op-8.h: Likewise.
4646 * soft-fp/op-common.h: Likewise.
4647 * soft-fp/quad.h: Likewise.
4648 * soft-fp/single.h: Likewise.
4649 * soft-fp/soft-fp.h: Likewise.
4650 * soft-fp/subdf3.c: Likewise.
4651 * soft-fp/subsf3.c: Likewise.
4652 * soft-fp/subtf3.c: Likewise.
4653 * soft-fp/truncdfsf2.c: Likewise.
4654 * soft-fp/trunctfdf2.c: Likewise.
4655 * soft-fp/trunctfsf2.c: Likewise.
4656 * soft-fp/trunctfxf2.c: Likewise.
4657 * soft-fp/unorddf2.c: Likewise.
4658 * soft-fp/unordsf2.c: Likewise.
4659 * soft-fp/unordtf2.c: Likewise.
4660
02ac9503
UB
46612013-11-05 Uros Bizjak <ubizjak@gmail.com>
4662
4663 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
4664 (_FP_MUL_MEAT_D): Ditto.
4665 (_FP_DIV_MEAT_S): Ditto.
4666 (_FP_DIV_MEAT_D): Ditto.
4667 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
4668 t-softfp-sfdf and t-softfp to tmake_file.
4669
61221141
UB
46702013-11-03 Uros Bizjak <ubizjak@gmail.com>
4671
4672 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
4673 * config/i386/crtprec.c: Ditto.
4674
9304f876
CJW
46752013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
4676 Shiva Chen <shiva0217@gmail.com>
4677
4678 * config.host (nds32*-elf*): Add nds32 target.
4679 * config/nds32 : New directory and files.
4680
0e499e75
HPN
46812013-10-16 Hans-Peter Nilsson <hp@axis.com>
4682
4683 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
4684 * config.host (cpu_type) <Setting default>: Add entry for
4685 crisv32-*-*.
4686 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
4687 <crisv32-*-linux*>: Adjust.
4688 * longlong.h: Wrap the whole CRIS section in a single
4689 defined(__CRIS__) conditional. Add comment about add_ssaaaa
4690 and sub_ddmmss.
4691 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
4692 defined.
4693 [__CRIS__] (__umulsidi3): Define.
4694 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
4695 * config/cris/sfp-machine.h: New file.
4696 * config/cris/umulsidi3.S: New file.
4697 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
4698 * config/cris/arit.c (SIGNMULT): New macro.
4699 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
4700 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
4701 saving 3 out of originally 33 cycles from the fastest
4702 path, 3 out of 54 from the medium path and one from the longest
4703 path. Improve comments.
4704
16022041
RS
47052013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
4706
4707 * sync.c: Remove static aliases and define each function directly
4708 under its real name.
4709
69778659
JDA
47102013-10-02 John David Anglin <danglin@gcc.gnu.org>
4711
4712 * config.host (hppa*64*-*-linux*): Define extra_parts.
4713 (hppa*-*-linux*): Likewise.
4714
2deaf8b0
JR
47152013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
4716
4717 * config/arc/crtgend.S: Add 2013 to Copyright years.
4718 * config/arc/gmon/atomic.h: Likewise.
4719 * config/arc/gmon/auxreg.h: Likewise.
4720 * config/arc/gmon/sys/gmon_out.h: Likewise.
4721 * config/arc/gmon/sys/gmon.h: Likewise.
4722 * config/arc/gmon/prof-freq.c: Likewise.
4723 * config/arc/gmon/mcount.c: Likewise.
4724 * config/arc/gmon/prof-freq-stub.S: Likewise.
4725 * config/arc/gmon/gmon.c: Likewise.
4726 * config/arc/gmon/machine-gmon.h: Likewise.
4727 * config/arc/gmon/profil.S: Likewise.
4728 * config/arc/gmon/dcache_linesz.S: Likewise.
4729 * config/arc/crtg.S: Likewise.
4730 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
4731 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
4732 * config/arc/ieee-754/adddf3.S: Likewise.
4733 * config/arc/ieee-754/truncdfsf2.S: Likewise.
4734 * config/arc/ieee-754/fixsfsi.S: Likewise.
4735 * config/arc/ieee-754/gtsf2.S: Likewise.
4736 * config/arc/ieee-754/floatsisf.S: Likewise.
4737 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
4738 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
4739 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
4740 * config/arc/ieee-754/fixdfsi.S: Likewise.
4741 * config/arc/ieee-754/addsf3.S: Likewise.
4742 * config/arc/ieee-754/gesf2.S: Likewise.
4743 * config/arc/ieee-754/floatsidf.S: Likewise.
4744 * config/arc/ieee-754/extendsfdf2.S: Likewise.
4745 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
4746 * config/arc/ieee-754/gtdf2.S: Likewise.
4747 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
4748 * config/arc/ieee-754/uneqdf2.S: Likewise.
4749 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
4750 * config/arc/ieee-754/uneqsf2.S: Likewise.
4751 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
4752 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
4753 * config/arc/ieee-754/eqdf2.S: Likewise.
4754 * config/arc/ieee-754/ordsf2.S: Likewise.
4755 * config/arc/ieee-754/divsf3.S: Likewise.
4756 * config/arc/ieee-754/divdf3.S: Likewise.
4757 * config/arc/ieee-754/floatunsidf.S: Likewise.
4758 * config/arc/ieee-754/orddf2.S: Likewise.
4759 * config/arc/ieee-754/eqsf2.S: Likewise.
4760 * config/arc/ieee-754/gedf2.S: Likewise.
4761 * config/arc/crtn.S: Likewise.
4762 * config/arc/crti.S: Likewise.
4763 * config/arc/t-arc700-uClibc: Likewise.
4764 * config/arc/asm.h: Likewise.
4765 * config/arc/libgcc-excl.ver: Likewise.
4766 * config/arc/t-arc-newlib: Likewise.
4767 * config/arc/divtab-arc700.c: Likewise.
4768 * config/arc/initfini.c: Likewise.
4769 * config/arc/fp-hack.h: Likewise.
4770
c8e318b0
JR
47712013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
4772 Diego Novillo <dnovillo@google.com>
4773
4774 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
a07c5b47
JR
4775 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
4776 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
4777 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
c8e318b0 4778
d38a64b4
JR
47792013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
4780 Brendan Kehoe <brendan@zen.org>
4781 Simon Cook <simon.cook@embecosm.com>
4782
4783 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
4784 * config/arc: New directory.
4785 * longlong.h [__arc__] (umul_ppmm): Remove.
4786 [__arc__] (__umulsidi3): Define.
4787 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
4788 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
4789
dff717d2
JC
47902013-09-17 Jacek Caban <jacek@codeweavers.com>
4791
4792 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
4793 CreateSemaphoreA.
4794 * config/i386/gthr-win32.h: Likewise.
4795
5c0029de
DD
47962013-09-16 DJ Delorie <dj@redhat.com>
4797
844ad6c6 4798 * config/rl78/vregs.h: Add G10 register definitions.
5c0029de
DD
4799 * config/rl78/lib2mul.c: Enable for RL78/G10.
4800 * config/rl78/lib2div.c: Likewise.
4801 * config/rl78/lshrsi3.S: Use vregs.h.
4802 * config/rl78/cmpsi2.S: Likewise.
4803 * config/rl78/trampoline.S: Likewise.
4804 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
4805
ceb2fc49
DD
48062013-09-14 DJ Delorie <dj@redhat.com>
4807 Nick Clifton <nickc@redhat.com>
4808
4809 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
4810 * config/rl78/vregs.h: New.
4811 * config/rl78/signbit.S: New file. Implements signbit function.
4812 * config/rl78/divmodsi.S: New.
4813 * config/rl78/divmodhi.S: New.
4814 * config/rl78/divmodqi.S: New.
4815 * config/rl78/t-rl78: Build them here...
4816 * config/rl78/lib2div.c: ...but not here.
4817
f6a83b4a
DD
48182013-09-12 DJ Delorie <dj@redhat.com>
4819
4820 * config.host (msp*-*-elf): New.
4821 * config/msp430/: New port.
4822
9107b096
IS
48232013-08-18 Iain Sandoe <iain@codesourcery.com>
4824
4825 PR gcov-profile/58127
4826 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
4827 __thread var for emulated TLS.
4828 (__gcov_indirect_call_counters): Likewise.
4829
0f9bde1f 48302013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
61221141 4831 Catherine Moore <clm@codesourcery.com>
7d296953 4832 Richard Sandiford <rdsandiford@googlemail.com>
0f9bde1f
MR
4833
4834 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
4835 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
4836 (CALL_STUB_NO_RET): Likewise.
4837 (CALL_STUB_RET): Likewise.
4838 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
4839 __mips16_ret call/return stub symbols.
4840 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
4841 to tmake_file.
4842
2dc14aac
MR
48432013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
4844
4845 * config.host <mips*-*-linux*>: Remove a stray comment.
4846
748d71f3
JH
48472013-08-10 Jan Hubicka <jh@suse.cz>
4848
4849 Work around binutils PR14342
4850 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
4851 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
4852 (L_gcov_indirect_call_profiler_v2): New.
4853
2fa3d31b
JH
48542013-08-06 Jan Hubicka <jh@suse.cz>
4855
4856 * libgcov.c (__gcov_indirect_call_callee,
4857 __gcov_indirect_call_counters): New global vars.
4858 (__gcov_indirect_call_profiler): replace by ...
4859 (__gcov_indirect_call_profiler_v2) ... this one.
4860
2077db1b
CT
48612013-08-06 Caroline Tice <cmtice@google.com>
4862
d0595b65 4863 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
2077db1b 4864 vtv_start_preinit.o and vtv_end_preinit.o.
d0595b65
CT
4865 * configure.ac: Add code to check/set enable_vtable_verify.
4866 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
2077db1b 4867 true.
d0595b65
CT
4868 * vtv_start_preinit.c: New file.
4869 * vtv_end_preinit.c: New file.
4870 * vtv_start.c: New file.
4871 * vtv_end.c: New file.
4872 * configure: Regenerated.
2077db1b 4873
46549c20
MK
48742013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
4875
4876 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
4877 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
4878 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
4879 GPL-3.0-with-GCC-exception.
4880
72be589b
MR
48812013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
4882
4883 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
4884 ISA and up.
4885
902a3faf
AK
48862013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4887
4888 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
4889 mapping for FPRs when creating the fallback framestate.
4890
02371798
GJL
48912013-07-19 Georg-Johann Lay <avr@gjlay.de>
4892
4893 PR target/57516
4894 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
4895 (__round_s2_const, __round_u2_const)
4896 (__round_s4_const, __round_u4_const, __round_x8):
4897 Saturate result if addition result cannot be represented.
4898
ab0e8379
MK
48992013-07-15 Matthias Klose <doko@ubuntu.com>
4900
4901 * libgcc2.c: Don't include <limits.h>.
4902
7da38058
JJ
49032013-07-09 Janis Johnson <janisjo@codesourcery.com>
4904
4905 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
4906
1f6eac90
JJ
49072013-07-06 Jakub Jelinek <jakub@redhat.com>
4908
4909 PR target/29776
4910 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
4911
4ea3d774
JJ
49122013-06-28 Jakub Jelinek <jakub@redhat.com>
4913
4914 PR middle-end/36041
4915 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
4916 Define.
4917 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
4918 instead of table lookups.
4919 (__popcountDI2): Likewise.
4920
9d2cdf25
CJW
49212013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
4922
4923 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
4924 correctly.
4925
fa1e55b0
JM
49262013-06-21 Joseph Myers <joseph@codesourcery.com>
4927
4928 PR other/53317
4929 * soft-fp/adddf3.c: Update from glibc.
4930 * soft-fp/addsf3.c: Likewise.
4931 * soft-fp/addtf3.c: Likewise.
4932 * soft-fp/divdf3.c: Likewise.
4933 * soft-fp/divsf3.c: Likewise.
4934 * soft-fp/divtf3.c: Likewise.
4935 * soft-fp/double.h: Likewise.
4936 * soft-fp/eqdf2.c: Likewise.
4937 * soft-fp/eqsf2.c: Likewise.
4938 * soft-fp/eqtf2.c: Likewise.
4939 * soft-fp/extenddftf2.c: Likewise.
4940 * soft-fp/extended.h: Likewise.
4941 * soft-fp/extendsfdf2.c: Likewise.
4942 * soft-fp/extendsftf2.c: Likewise.
4943 * soft-fp/fixdfdi.c: Likewise.
4944 * soft-fp/fixdfsi.c: Likewise.
4945 * soft-fp/fixsfdi.c: Likewise.
4946 * soft-fp/fixsfsi.c: Likewise.
4947 * soft-fp/fixtfdi.c: Likewise.
4948 * soft-fp/fixtfsi.c: Likewise.
4949 * soft-fp/fixunsdfdi.c: Likewise.
4950 * soft-fp/fixunsdfsi.c: Likewise.
4951 * soft-fp/fixunssfdi.c: Likewise.
4952 * soft-fp/fixunssfsi.c: Likewise.
4953 * soft-fp/fixunstfdi.c: Likewise.
4954 * soft-fp/fixunstfsi.c: Likewise.
4955 * soft-fp/floatdidf.c: Likewise.
4956 * soft-fp/floatdisf.c: Likewise.
4957 * soft-fp/floatditf.c: Likewise.
4958 * soft-fp/floatsidf.c: Likewise.
4959 * soft-fp/floatsisf.c: Likewise.
4960 * soft-fp/floatsitf.c: Likewise.
4961 * soft-fp/floatundidf.c: Likewise.
4962 * soft-fp/floatundisf.c: Likewise.
4963 * soft-fp/floatunditf.c: Likewise.
4964 * soft-fp/floatunsidf.c: Likewise.
4965 * soft-fp/floatunsisf.c: Likewise.
4966 * soft-fp/floatunsitf.c: Likewise.
4967 * soft-fp/gedf2.c: Likewise.
4968 * soft-fp/gesf2.c: Likewise.
4969 * soft-fp/getf2.c: Likewise.
4970 * soft-fp/ledf2.c: Likewise.
4971 * soft-fp/lesf2.c: Likewise.
4972 * soft-fp/letf2.c: Likewise.
4973 * soft-fp/muldf3.c: Likewise.
4974 * soft-fp/mulsf3.c: Likewise.
4975 * soft-fp/multf3.c: Likewise.
4976 * soft-fp/negdf2.c: Likewise.
4977 * soft-fp/negsf2.c: Likewise.
4978 * soft-fp/negtf2.c: Likewise.
4979 * soft-fp/op-1.h: Likewise.
4980 * soft-fp/op-2.h: Likewise.
4981 * soft-fp/op-4.h: Likewise.
4982 * soft-fp/op-8.h: Likewise.
4983 * soft-fp/op-common.h: Likewise.
4984 * soft-fp/quad.h: Likewise.
4985 * soft-fp/single.h: Likewise.
4986 * soft-fp/soft-fp.h: Likewise.
4987 * soft-fp/subdf3.c: Likewise.
4988 * soft-fp/subsf3.c: Likewise.
4989 * soft-fp/subtf3.c: Likewise.
4990 * soft-fp/truncdfsf2.c: Likewise.
4991 * soft-fp/trunctfdf2.c: Likewise.
4992 * soft-fp/trunctfsf2.c: Likewise.
4993 * soft-fp/unorddf2.c: Likewise.
4994 * soft-fp/unordsf2.c: Likewise.
4995 * soft-fp/unordtf2.c: Likewise.
4996 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
4997 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4998 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4999 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5000 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5001 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5002 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5003 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5004 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5005 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
5006 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
5007 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5008
0de86a92
JU
50092013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
5010
5011 * config/mips/lib2funcs.c: New file.
5012 * config/mips/t-mips (LIB2ADD_ST): Add it.
5013
0d008882
OE
50142013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
5015
5016 PR target/6526
5017 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
5018 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
5019
776434d1
WL
50202013-06-08 Walter Lee <walt@tilera.com>
5021
5022 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
5023 Replace int64_t with long long. Add __extension__ where
5024 appropriate.
5025 * config/tilepro/atomic.c: Include config.h.
5026
6ab3ebb4
DR
50272013-06-06 Douglas B Rupp <rupp@adacore.com>
5028
5029 * config.host (arm-wrs-vxworks): Configure with other soft float.
5030
107eea2c
JU
50312013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
5032
5033 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
5034 (mips64r5900el-*-elf*): New configurations.
5035
5cc19c62
AM
50362013-06-04 Alan Modra <amodra@gmail.com>
5037
5038 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
5039
0f1d3965
YR
50402013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
5041
5042 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
5043
0ba045df
EB
50442013-05-28 Eric Botcazou <ebotcazou@adacore.com>
5045
5046 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
5047 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
5048 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
5049
49dcafd4
EB
50502013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5051
5052 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
5053 (powerpc-wrs-vxworks): Likewise.
5054
4fcb5d87
EB
50552013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5056
5057 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
5058 signal frames as well.
5059 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
5060 STACK_BIAS to the CFA offset.
5061
0ec33224
RH
50622013-05-17 Richard Henderson <rth@redhat.com>
5063
5064 PR target/49146
5065 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
5066 (execute_cfa_program): Use it when storing to fs->regs.
5067
492a8029
KT
50682013-05-08 Kai Tietz <ktietz@redhat.com>
5069
5070 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
5071 (__deregister_frame_info): Likewise.
5072
701e2f0a
TS
50732013-05-06 Thomas Schwinge <thomas@codesourcery.com>
5074
e5123d08
TS
5075 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
5076 NaN's payload.
5077
701e2f0a
TS
5078 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
5079
b9a7eb5d
AM
50802013-04-25 Alan Modra <amodra@gmail.com>
5081
5082 * config.host: Match little-endian powerpc-linux.
5083
dfe192f5
YZ
50842013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
5085
5086 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
5087 as 'unsigned long long' instead of 'unsigned long'.
5088 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
5089 'signed long'.
5090
b6b9af2f
JB
50912013-04-10 Julian Brown <julian@codesourcery.com>
5092
5093 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
5094 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
5095 unsigned char/unsigned short.
5096 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
5097
ecabdd00
JDA
50982013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5099
5100 PR other/55274
5101 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
5102
34652576
MI
51032013-04-04 Meador Inge <meadori@codesourcery.com>
5104
5105 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
5106 computing the location of the link register.
5107 (aeabi_uldivmod): Ditto.
5108
e9fd8c19
KT
51092013-03-27 Kai Tietz <ktietz@redhat.com>
5110
5111 * config.host: Add support for cygwin x64 target.
5112 * configure: Regenerated.
5113
a6406324
WL
51142013-03-26 Walter Lee <walt@tilera.com>
5115
5116 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
5117 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
5118
55446c7e
KT
51192013-03-25 Kai Tietz <ktietz@redhat.com>
5120
5121 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
5122
d2ae19d9
RM
51232013-03-20 Robert Mason <rbmj@verizon.net>
5124
5125 * config/vxlib-tls.c (__gthread_get_tsd_data,)
5126 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
5127 (__gthread_leave_tsd_dtor_context): Add prototypes.
5128 (tls_delete_hook): Update.
5129
22c4c869
CM
51302013-03-20 Catherine Moore <clm@codesourcery.com>
5131 Joseph Myers <joseph@codesourcery.com>
5132 Chao-ying Fu <fu@mips.com>
5133
5134 * config/mips/mips16.S: Don't build for microMIPS.
5135 * config/mips/linux-unwind.h: Handle microMIPS frame.
5136 * config/mips/crtn.S (fini, init): New labels.
5137
fbd28bc3
JJ
51382013-03-14 Jakub Jelinek <jakub@redhat.com>
5139
5140 PR tree-optimization/53265
5141 * unwind-dw2.c (execute_cfa_program): Avoid
5142 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
5143 on targets with DWARF_FRAME_REGISTERS < 32.
5144
decc676e
OE
51452013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
5146
5147 PR target/49880
5148 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
5149 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
5150
84ea618a
ST
51512013-03-07 Sriraman Tallam <tmsriram@google.com>
5152
5153 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
5154 sandybridge processors.
5155
8f6d1c86
OE
51562013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
5157
5158 PR target/56529
5159 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
5160 inclusion list.
5161
ecdbd01a 51622013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
409b1de4
EI
5163
5164 * config/microblaze/crti.S: Setup stack protection at entry
5165
0b4ce21b
GJL
51662013-03-04 Georg-Johann Lay <avr@gjlay.de>
5167
5168 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
5169 (__rotldi3): Shift bytewise if applicable.
5170
b7c3f1ca
JG
51712013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
5172
5173 * config/aarch64/sync-cache.c
5174 (__aarch64_sync_cache_range): Silence warnings.
5175
6d65e8f1
CM
51762013-02-25 Catherine Moore <clm@codesourcery.com>
5177
5178 Revert:
5179 2013-02-24 Catherine Moore <clm@codesourcery.com>
5180 Joseph Myers <joseph@codesourcery.com>
5181 Chao-ying Fu <fu@mips.com>
5182
5183 * config/mips/mips16.S: Don't build for microMIPS.
5184 * config/mips/linux-unwind.h: Handle microMIPS frame.
5185 * config/mips/crtn.S (fini, init): New labels.
5186
6941b508
CM
51872013-02-24 Catherine Moore <clm@codesourcery.com>
5188 Joseph Myers <joseph@codesourcery.com>
5189 Chao-ying Fu <fu@mips.com>
5190
5191 * config/mips/mips16.S: Don't build for microMIPS.
5192 * config/mips/linux-unwind.h: Handle microMIPS frame.
5193 * config/mips/crtn.S (fini, init): New labels.
5194
7c422dbb 51952012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
cc86234f 5196 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7c422dbb
EI
5197 as dividend.
5198
110207ad
AM
51992013-02-16 Alan Modra <amodra@gmail.com>
5200
5201 PR target/55431
5202 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
5203 (ppc_fallback_frame_state): Always set up save locations for fp
5204 and altivec. Don't bother with non-callee-saved regs, r0-r13
5205 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
5206
e68a4ef6
GJL
52072013-02-12 Georg-Johann Lay <avr@gjlay.de>
5208
5209 PR target/54222
5210 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
5211 _ssmulHA, _ssmulSA.
5212 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
5213 _ssmulha3, _usmulusa3, _ssmulsa3.
5214 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
5215 (__muldi3): XCALL __muldi3_6 instead of rcall.
5216 (__umulsidi3, __mulsidi3): New functions.
5217 (do_prologue_saves, do_epilogue_restores): New .macros.
5218 (__divdi3_moddi3): Use them.
5219 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
5220 (__usmulusa3, __ssmulsa3): New functions.
5221
6c59ffd1
IS
52222013-02-11 Iain Sandoe <iain@codesourcery.com>
5223 Jack Howarth <howarth@bromo.med.uc.edu>
5224 Patrick Marlier <patrick.marlier@gmail.com>
5225
5226 PR libitm/55693
5227 * config/darwin-crt-tm.c: Remove dummy functions hack.
5228
85d768f3
GJL
52292013-02-08 Georg-Johann Lay <avr@gjlay.de>
5230
5231 PR target/54222
5232 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
5233 * config/avr/lib2-object.mk: New iterator to build objects from it.
5234 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
5235 lib2funcs.c.
5236 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
5237 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
5238 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
5239 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
5240 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
5241 * config/avr/lib1funcs-fixed.S: Implement them.
5242
5d5bf775
RS
52432013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
5244
5245 Update copyright years.
5246
99113dff
DE
52472013-02-01 David Edelsohn <dje.gcc@gmail.com>
5248
5249 PR target/54601
5250 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
5251 Add crtcxa to extra_parts.
5252 * config/rs6000/exit.h: New file.
5253 * config/rs6000/cxa_atexit.c: New file.
5254 * config/rs6000/cxa_finalize.c: New file.
5255 * config/rs6000/crtcxa.c: New file.
5256 * config/rs6000/t-aix-cxa: New file.
5257 * config/rs6000/libgcc-aix-cxa.ver: New file.
5258
dbdbd982
NC
52592013-01-31 Nick Clifton <nickc@redhat.com>
5260
5261 * config/v850/lib1funcs.S: Add support for e3v5 architecture
5262 variant.
5263
5893f158
GJL
52642013-01-29 Georg-Johann Lay <avr@gjlay.de>
5265
5266 PR target/54222
5267 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
5268 _mulQQ, _mulHQ, _mulHA, _mulSA,
5269 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
5270 _divQQ, _divHQ, _divHA, _divSA,
5271 _divUQQ, _divUHQ, _divUHA, _divUSA.
5272
ecdbd01a 52732013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
fbf0cf90 5274
dbdbd982 5275 * config.host(microblaze*-linux*): tmake_file: Remove
fbf0cf90
DH
5276 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
5277 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
5278 to exclude functions from being built with libgcc.c and use
5279 the microblaze assembly.
5280
ecdbd01a 52812013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6f14eef2
EI
5282
5283 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
5284 extra_parts.
5285
922c57d1
YZ
52862013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
5287
5288 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
5289 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
5290 __UINTPTR_TYPE__; also cast 'base' to the same type before the
5291 alignment operation.
5292
e0f8b6a0
SN
52932013-01-15 Sofiane Naci <sofiane.naci@arm.com>
5294
5295 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
5296 loop start address for cache clearing.
5297
00892272
GJL
52982013-01-14 Georg-Johann Lay <avr@gjlay.de>
5299
5300 * config/avr/lib1funcs.S: Remove trailing blanks.
5301 * config/avr/lib1funcs-fixed.S: Ditto.
5302
e59ec5fd
GJL
53032013-01-14 Georg-Johann Lay <avr@gjlay.de>
5304
5305 * config/avr/avr-lib.h: Add GPL copyright notice.
5306
3ffc1958
GJL
53072013-01-14 Georg-Johann Lay <avr@gjlay.de>
5308
5309 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
5310 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
5311 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
5312 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
5313
25c210f9
MK
53142013-01-07 Mark Kettenis <kettenis@openbsd.org>
5315
5316 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
5317 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
2bc15360 5318
db59befb
NC
53192013-01-04 Nick Clifton <nickc@redhat.com>
5320
5321 * config/v850/lib1funcs.S: Only provide CALLT support functions if
5322 the CALLT instruction is supported.
5323
5aa12dbf
JW
53242012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
5325
5326 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
5327 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
5328
65f14117
JT
53292012-12-13 John Tytgat <John@bass-software.com>
5330
5331 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
5332 is 25.
5333
ee3ae4f7
JJ
53342012-12-12 Jakub Jelinek <jakub@redhat.com>
5335
5336 PR libgcc/55451
5337 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
5338 undefined signed overflows.
5339
2fcfba3d
UB
53402012-12-09 Uros Bizjak <ubizjak@gmail.com>
5341
5342 PR target/55344
5343 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
5344
4f2b3dc2
UB
53452012-12-06 Uros Bizjak <ubizjak@gmail.com>
5346
5347 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
5348 (FP_TRAPPING_EXCEPTIONS): Define.
5349 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
5350 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
5351
066161a2
RH
53522012-12-04 Richard Henderson <rth@redhat.com>
5353
5354 PR bootstrap/55571
5355 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
5356
7d296953 53572012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
25626181 5358
4f2b3dc2 5359 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
25626181
MS
5360 (FP_EX_SHIFT): Define.
5361 (FP_TRAPPING_EXCEPTIONS): Define.
5362
7d296953 53632012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
868395e8
MS
5364
5365 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
5366 (FP_ROUNDMODE): Use FP_RND_MASK.
5367 * config/aarch64/sfp-exceptions.c: New.
5368 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5369 Use __sfp_handle_exceptions.
5370
5005fe22
RE
53712012-12-04 Richard Earnshaw <rearnsha@arm.com>
5372
5373 * config.host: (arm*-*-freebsd*): Remove.
5374 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
5375 (arm*-*-elf*): Remove.
5376 (arm*-*-wince-pe*): Remove.
5377 * arm/unwind-arm.c (struct fpa_reg): Delete.
5378 (struct fpa_regs): Delete.
5379 (phase1_vrs): Remove fpa element.
5380 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
5381 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
5382 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
5383 * ieee754-sf.S (floatundisf): Remove FPA support.
5384 (floatdisf): Likewise.
5385 * ieee75f-df.S (floatundidf): Likewise.
5386 (floatdidf): Likewise.
5387
e5a81c8e
KT
53882012-11-29 Kai Tietz <ktietz@redhat.com>
5389
5390 PR target/55445
5391 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
5392 * unwind-generic.h: Likewise.
5393 * unwind-seh.c: Likewise.
5394
f4919e4a
RH
53952012-11-28 Richard Henderson <rth@redhat.com>
5396
5397 PR libgcc/48076
5398 * emutls.c (__emutls_get_address): Avoid race condition between
5399 obj->loc.offset read and emutls_key initialization.
4f2b3dc2 5400
e13d9d5a
GJL
54012012-11-22 Georg-Johann Lay <avr@gjlay.de>
5402
5403 Adjust decimal point of signed accum mode to GCC default.
5404
5405 PR target/54222
5406 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
5407 _divqq_helper.
5408 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
5409 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
5410 (__mulha3, __mulsa3)
5411 (__divqq3, __divha3, __divsa3): Adjust to new position of
4f2b3dc2
UB
5412 decimal point of signed accum types.
5413
e13d9d5a
GJL
5414 (__mulusa3_round): New function.
5415 (__mulusa3): Use it.
5416 (__divqq_helper): New function.
5417 (__udivuqq3): Use it.
5418
1b845c6e
JJ
54192012-11-20 Jakub Jelinek <jakub@redhat.com>
5420
5421 PR bootstrap/55370
5422 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
5423
822a258a
TJ
54242012-11-18 Teresa Johnson <tejohnson@google.com>
5425
5426 PR bootstrap/55051
5427 * libgcov.c (gcov_exit): Remove merged program summary
5428 comparison unless !GCOV_LOCKED.
5429
7d296953 54302012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
54f4eaf0
MS
5431
5432 * soft-fp: Updated from glibc upstream.
5433
e808687a
ILT
54342012-11-06 Ian Lance Taylor <iant@google.com>
5435
5436 * generic-morestack.c (__generic_morestack): Align the returned
5437 stack pointer to a 32 byte boundary.
5438 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
5439 increment the return address until we have decided that we don't
5440 have a varargs function.
5441 (__morestack) [32-bit]: Align stack correctly when calling C
5442 functions.
5443 (__morestack) [64-bit]: Likewise.
5444
460277e0
TS
54452012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5446
5447 * configure: Regenerate.
5448
73edb277
UB
54492012-11-02 Uros Bizjak <ubizjak@gmail.com>
5450
5451 PR target/55175
5452 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
5453 * config/i386/sfp-machine.h: Guard exception handling
5454 code with _SOFT_FLOAT.
5455 * config/i386/32/sfp-machine.h: Guard rounding handling
5456 code with _SOFT_FLOAT.
5457 * config/i386/64/sfp-machine.h: Ditto.
5458
c1d4fa04
JS
54592012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
5460
5461 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
5462 as extra_parts.
5463
eff6ca85
UB
54642012-10-26 Uros Bizjak <ubizjak@gmail.com>
5465
5466 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
5467 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
5468 when appropriate. Correct structure element types.
5469 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
5470 -minline-all-stringops from compile flags.
5471
7d296953 54722012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
43a8f1a1
RC
5473
5474 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
5475
7d296953 54762012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
76c78361 5477
eff6ca85 5478 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
76c78361 5479
6f288860
SH
54802012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
5481
5482 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
5483 tmake_file.
5484
1e3d5096
IB
54852012-10-23 Ian Bolton <ian.bolton@arm.com>
5486 Jim MacArthur <jim.macarthur@arm.com>
5487 Marcus Shawcroft <marcus.shawcroft@arm.com>
5488 Nigel Stephens <nigel.stephens@arm.com>
5489 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
5490 Richard Earnshaw <rearnsha@arm.com>
5491 Sofiane Naci <sofiane.naci@arm.com>
5492 Stephen Thomas <stephen.thomas@arm.com>
5493 Tejas Belagod <tejas.belagod@arm.com>
5494 Yufeng Zhang <yufeng.zhang@arm.com>
5495
5496 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
5497 * config/aarch64/crti.S: New file.
5498 * config/aarch64/crtn.S: New file.
5499 * config/aarch64/linux-unwind.h: New file.
5500 * config/aarch64/sfp-machine.h: New file.
5501 * config/aarch64/sync-cache.c: New file.
5502 * config/aarch64/t-aarch64: New file.
5503 * config/aarch64/t-softfp: New file.
5504
8a740f07
HPN
55052012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
5506
5507 * config/mmix/crti.S: Mark program and data addresses using PRELD.
5508 Remove typo'd and unnecessary alignment-LOC for .data. Remove
5509 no-longer-needed LDBU insns.
5510
7d296953 55112012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
153c8397
SH
5512
5513 * config.host
5514 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
5515 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
5516
595fefee
MGD
55172012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
5518
5519 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
5520
9945a876
MK
55212012-10-15 Matthias Klose <doko@ubuntu.com>
5522
5523 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
5524
1183dc2c
PC
55252012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
5526
5527 * configure: Regenerate.
5528 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
5529
945a9c1f
UB
55302012-10-10 Uros Bizjak <ubizjak@gmail.com>
5531
5532 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
5533 instructions for 64bit targets only.
5534
fb8bf47a
UB
55352012-10-10 Uros Bizjak <ubizjak@gmail.com>
5536
5537 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5538 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
5539 * config/i386/32/sfp-machine.h: ... here.
5540 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
5541 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
5542 New defines.
5543
acb72498
MK
55442012-10-07 Matthias Klose <doko@ubuntu.com>
5545
5546 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
5547 as unused.
5548 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
5549
8eaee0f0
MK
55502012-10-06 Mark Kettenis <kettenis@openbsd.org>
5551
5552 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
5553 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
5554 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
5555 (ElfW): Likewise.
5556
5e3e4fe8
JW
55572012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
5558
5559 PR other/53889
5560 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5561 Fix parameter names.
5562
86086376
OE
55632012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
5564
5565 PR target/33135
5566 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
5567 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
5568 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
5569
9597375a
OE
55702012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
5571
5572 PR target/50457
5573 * config/sh/linux-atomic.S: Delete.
5574 * config/sh/linux-atomic.c: New.
5575 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
5576 linux-atomic.c. Add cflags to disable warnings.
5577
1504e3e1
JW
55782012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
5579
5580 PR other/53889
5581 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
5582 function.
5583 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
5584 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
5585 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
5586 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5e3e4fe8
JW
5587 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
5588 Likewise.
1504e3e1
JW
5589 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5590 Likewise.
5591 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
5592 Likewise.
5593 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
5594 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
5595
17f293b0
MK
55962012-09-19 Mark Kettenis <kettenis@openbsd.org>
5597
9597375a
OE
5598 * config.host (hppa-*-openbsd*): New target.
5599 * config/pa/t-openbsd: New file.
17f293b0 5600
51526856
GJL
56012012-09-15 Georg-Johann Lay <avr@gjlay.de>
5602
5603 PR target/54222
5604 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
5605 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
5606 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
5607 (__divsa3): Use __negsi2 to negate r_quoL.
5608 * config/avr/lib1funcs.S (FALIAS): New macro.
5609 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
5610 (__negsi2): ...this new function.
5611 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
5612 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
5613 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
5614 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
5615 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
5616 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
5617
aadb5b43
OE
56182012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
5619
5620 PR target/54089
5621 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
5622 (lshrsi3): Reimplement as lshrsi3_r0.
5623
d5d66749
AS
56242012-09-10 Andreas Schwab <schwab@linux-m68k.org>
5625
5626 PR target/46191
5627 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
5628 of libgcc.a.
5629
c6c36e73
TJ
56302012-09-07 Teresa Johnson <tejohnson@google.com>
5631
9597375a 5632 PR gcov-profile/54487
c6c36e73 5633 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9597375a 5634 differences.
c6c36e73 5635
b588ae30
GJL
56362012-09-05 Georg-Johann Lay <avr@gjlay.de>
5637
5638 PR target/54461
5639 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
5640 not configured --with-avrlibc=no.
5641 * config/avr/t-avrlibc: New file.
5642 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
5643 (DPBIT_FUNCS): Ditto.
5644 (TPBIT_FUNCS): Ditto.
5645
abd16fb1
TJ
56462012-09-04 Teresa Johnson <tejohnson@google.com>
5647
5648 * libgcov.c (struct gcov_summary_buffer): New structure.
5649 (gcov_histogram_insert): New function.
5650 (gcov_compute_histogram): Ditto.
5651 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
5652 histograms during summary merging.
5653
613061fd
MK
56542012-09-01 Mark Kettenis <kettenis@openbsd.org>
5655
5656 * config.host (x86_64-*-openbsd*): New target.
73edb277 5657
867a8345
CLT
56582012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
5659
5660 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
5661 attribute.
5662
4aeaaca3
GJL
56632012-08-24 Georg-Johann Lay <avr@gjlay.de>
5664
5665 PR target/54222
5666 * config/avr/t-avr (conv_X): Rename to func_X.
5667
e55e4056
GJL
56682012-08-24 Georg-Johann Lay <avr@gjlay.de>
5669
5670 PR target/54222
5671 * config/avr/lib1funcs-fixed.S: New file.
5672 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
5673 after they are used.
5674 (neg2, neg4): New macros.
5675 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
5676 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
5677 (__umulhisi3): Speed up MUL variant if there is enough flash.
5678 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
5679 avr-modes.def.
5680 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
5681 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
5682 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
5683 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
5684 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
5685 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
5686 (LIB2FUNCS_EXCLUDE): Add supported functions.
5687
a147b6d2
GJL
56882012-08-22 Georg-Johann Lay <avr@gjlay.de>
5689
5690 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
5691 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
5692 libgcc-s-objects.
5693 * fixed-obj.mk: Only expand dependency if $o is not in
5694 LIB2FUNCS_EXCLUDE.
5695
c637141a
L
56962012-08-22 H.J. Lu <hongjiu.lu@intel.com>
5697
5698 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
5699
130e00bd
JM
57002012-08-22 Joseph Myers <joseph@codesourcery.com>
5701
5702 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
5703 depend on --enable-shared.
5704 ($(lib1asmfuncs-o)): Use %.vis files independent of
5705 --enable-shared.
5706 * static-object.mk ($(base)$(objext), $(base).vis)
5707 ($(base)_s$(objext)): Use same rules for visibility handling as in
5708 shared-object.mk.
5709
4b1b3788
ILT
57102012-08-21 Ian Lance Taylor <iant@google.com>
5711
5712 * config/i386/morestack.S (__morestack_non_split): Increase amount
5713 of space allocated for non-split code stack.
5714
d2468141
JM
57152012-08-19 Joseph Myers <joseph@codesourcery.com>
5716
5717 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
5718 even if inhibit_libc.
5719
a508e1a8
JB
57202012-08-17 Julian Brown <julian@codesourcery.com>
5721
5722 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
5723 -fexceptions -fnon-call-exceptions if not defined.
5724 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
5725 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
5726
5615a07d
AS
57272012-08-17 Andreas Schwab <schwab@linux-m68k.org>
5728
5729 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
5730 type.
5731
138f5acd
DE
57322012-08-16 David Edelsohn <dje.gcc@gmail.com>
5733
5734 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
5735 rs6000/t-slibgcc-aix.
5736
18efc0dd
SB
57372012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
5738
5739 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
5740
6b39bc38
SB
57412012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
5742
5743 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
5744
cd25dea0
L
57452012-08-03 H.J. Lu <hongjiu.lu@intel.com>
5746
5747 PR driver/54171
5748 * Makefile.in (version): Replace top_srcdir with srcdir.
5749
a3dda30b
JY
57502012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
5751
5752 * Makefile.in (version): set to BASE-VER file from gcc directory.
5753
d04aacfc
NC
57542012-08-01 Nick Clifton <nickc@redhat.com>
5755
5756 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
5757 Implements __clrsb for an HImode argument.
5758
0d13c974
NC
57592012-07-31 Nick Clifton <nickc@redhat.com>
5760
5761 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
5762 Implements __clrsb for an HImode argument.
5763 * config/stormy16/clrsbhi2.c: New file:
5764 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
5765
efbb59b2
SB
57662012-07-22 Steven Bosscher <steven@gcc.gnu.org>
5767
5768 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
5769
bf1431e3
TG
57702012-07-19 Tristan Gingold <gingold@adacore.com>
5771 Richard Henderson <rth@redhat.com>
5772
5773 * unwind-seh.c: New file.
5774 * unwind-generic.h: Include windows.h for SEH.
5775 (_Unwind_Exception): Use 6 private fields for SEH.
5776 (_GCC_specific_handler): Declare.
5777 * unwind-c.c (__gcc_personality_seh0): New function.
5778 Adjust for SEH.
5779 * config/i386/libgcc-cygming.ver: New file.
5780 * config/i386/t-seh-eh: New file.
5781 * config.host (x86_64-*-mingw*): Default to seh.
5782
659140c8
SB
57832012-07-14 Steven Bosscher <steven@gcc.gnu.org>
5784
5785 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
5786
a20d08fd
UB
57872012-06-17 Uros Bizjak <ubizjak@gmail.com>
5788
5789 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
5790 __builtin_expect when checking for exceptions.
5791 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
5792
79261115
UB
57932012-06-13 Uros Bizjak <ubizjak@gmail.com>
5794
4a172156
UB
5795 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
5796 function declaration.
5797 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
5798 (FP_RND_MASK): New.
5799 * config/ia64/sfp-exceptions.c: New.
5800 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
79261115 5801
bb5c97d4
UB
58022012-06-13 Uros Bizjak <ubizjak@gmail.com>
5803
5804 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
5805 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
5806 * config/i386/64/sfp-machine: ... (delete here) ...
5807 * config/i386/sfp-machine.h: ... to here.
5808 (FP_EX_MASK): Remove.
5809 (FP_RND_MASK): New.
5810 (FP_INIT_ROUNDMODE): Declare asm as volatile.
5811
91fe5efb
ST
58122012-06-11 Sriraman Tallam <tmsriram@google.com>
5813
5814 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
5815 * config/i386/libgcc-sol2.ver: Ditto.
5816 * config/i386/libgcc-glibc.ver: Ditto.
5817
67a218c5
RM
58182012-06-11 Roland McGrath <mcgrathr@google.com>
5819
5820 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
5821 If __GLIBC__ is defined, refer to __pthread_key_create instead of
5822 pthread_cancel.
5823
492fbea1
UB
58242012-06-09 Uros Bizjak <ubizjak@gmail.com>
5825
5826 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
5827 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
5828 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
5829 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5830 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
5831 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
5832 * config/i386/64/sfp-machine: ... (delete here) ...
5833 * config/i386/sfp-machine.h: ... to here.
5834 (FP_EX_MASK): New.
5835 (__sfp_handle_exceptions): New function declaration.
5836 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
5837 * config/i386/sfp-exceptions.c: New.
5838 * config/i386/t-softfp: New.
5839 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
5840 i386/t-softfp to tmake_file.
5841
7b4cf266
DM
58422012-06-03 David S. Miller <davem@davemloft.net>
5843
5844 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
5845 change.
5846
0de0d5c6
DM
58472012-05-31 David S. Miller <davem@davemloft.net>
5848
5849 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
5850 multiply and divide instructions on 32-bit when V9.
5851 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
5852
d8c9d391
JM
58532012-05-29 Joseph Myers <joseph@codesourcery.com>
5854
5855 * config/arm/ieee754-df.S: Fix typos.
5856 * config/arm/ieee754-sf.S: Fix typos.
5857 * config/c6x/libunwind.S: Fix typos.
5858 * config/epiphany/udivsi3-float.c: Fix typos.
5859 * config/microblaze/muldi3_hard.S: Fix typos.
5860 * config/picochip/adddi3.S: Fix typos.
5861 * config/picochip/ashlsi3.S: Fix typos.
5862 * config/picochip/ashrsi3.S: Fix typos.
5863 * config/picochip/clzsi2.S: Fix typos.
5864 * config/picochip/cmpsi2.S: Fix typos.
5865 * config/picochip/divmod15.S: Fix typos.
5866 * config/picochip/divmodhi4.S: Fix typos.
5867 * config/picochip/divmodsi4.S: Fix typos.
5868 * config/picochip/longjmp.S: Fix typos.
5869 * config/picochip/lshrsi3.S: Fix typos.
5870 * config/picochip/parityhi2.S: Fix typos.
5871 * config/picochip/popcounthi2.S: Fix typos.
5872 * config/picochip/setjmp.S: Fix typos.
5873 * config/picochip/subdi3.S: Fix typos.
5874 * config/picochip/ucmpsi2.S: Fix typos.
5875 * config/picochip/udivmodhi4.S: Fix typos.
5876 * config/picochip/udivmodsi4.S: Fix typos.
5877 * config/spu/divv2df3.c: Fix typos.
5878 * config/spu/mfc_multi_tag_release.c: Fix typos.
5879 * config/spu/mfc_tag_release.c: Fix typos.
5880 * configure.ac: Fix typos.
5881 * configure: Regenerate.
5882
31a18a7e
ILT
58832012-05-25 Ian Lance Taylor <iant@google.com>
5884
5885 * config/i386/morestack.S (__morestack_non_split): Check whether
5886 caller is varargs and needs %bp to hold the stack frame on return.
5887
c5768510
OH
58882012-05-25 Olivier Hainque <hainque@adacore.com>
5889
5890 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
5891 sequence in the non pic case on VxWorks.
5892
7c7c339b
OH
58932012-05-24 Olivier Hainque <hainque@adacore.com>
5894
73fb7630 5895 * Makefile.in: Move dependency on install-unwind_h from
7c7c339b
OH
5896 "install-leaf" to "install".
5897
fdc1b7d3
OH
58982012-05-24 Olivier Hainque <hainque@adacore.com>
5899
5900 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
5901 Use a separate command for stamp removals.
5902
07ba94b9
AP
59032012-05-21 Andrew Pinski <apinski@cavium.com>
5904
5905 PR bootstrap/53183
5906 * configure.ac: Define the default includes to being none.
5907 * configure: Regenerate.
5908
4677d2eb
OH
59092012-05-16 Olivier Hainque <hainque@adacore.com>
5910
5911 * Makefile.in (install-unwind_h): Rename into ...
5912 (install-unwind_h-forbuild): New target.
5913 (all): Use it instead of the former install-unwind_h.
5914 (install-unwind_h): Reinstate, copy to user install destination
5915 for include files, not to the internal gcc object directory one.
5916 (install-leaf): Depend on it.
5917
7d67c380
OH
59182012-05-15 Olivier Hainque <hainque@adacore.com>
5919
5920 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
5921 register numbers. LR_REGNO replaces R_LR.
5922 (ucontext_for): New, helper for ...
5923 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
5924 and 5.3 of ...
5925 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
5926
aca06c90
RO
59272012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5928
5929 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
5930 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
5931 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
5932 i386/t-cpuinfo ...
5933 (i[34567]86-*-*, x86_64-*-*): ... here.
5934
5935 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
5936 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
5937
5938 * config/i386/i386-cpuinfo.c: Rename to ...
5939 * config/i386/cpuinfo.c: ... this.
5940 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
5941
5942 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
5943 (libgcc_cv_init_priority): New test.
5944 * configure: Regenerate.
5945 * config.in: New file.
5946 * Makefile.in (clean): Rename config.h to auto-target.h.
5947 (config.h): Likewise.
5948 (stamp-h): Likewise.
5949
5950 * config/i386/cpuinfo.c (auto-target.h): Include.
5951 (CONSTRUCTOR_PRIORITY): Define.
5952 (__cpu_indicator_init): Use it.
5953
0d03ac1b
L
59542012-05-09 H.J. Lu <hongjiu.lu@intel.com>
5955
5956 * longlong.h: Use a URL instead of an FSF postal address.
5957 Replace spaces with tab.
5958
4a172156 59592012-05-08 Teresa Johnson <tejohnson@google.com>
4e8ee9cb
TJ
5960
5961 * libgcov.c (gcov_clear, __gcov_reset): New functions.
5962 (__gcov_dump): Ditto.
5963 (gcov_dump_complete): New global variable.
5964 (gcov_exit): Export hidden to enable use in L_gcov_dump.
5965 (__gcov_flush): Outline functionality now in gcov_clear.
5966 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
5967
e4bb767e
AJ
59682012-04-28 Aurelien Jarno <aurelien@aurel32.net>
5969
31a18a7e
ILT
5970 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
5971 (mips*-*-linux*): Include mips/t-tpbit when long double is
5972 16 bytes long.
e4bb767e 5973
5ddecff9
ST
59742012-04-25 Sriraman Tallam <tmsriram@google.com>
5975
5976 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
5977 (get_available_features): New argument. Check for AVX2.
5978 (__cpu_indicator_init): Modify call to get_available_features.
5979
b427dd7a
AM
59802012-04-25 Alan Modra <amodra@gmail.com>
5981
5982 * config/rs6000/crtsavevr.S: New file.
5983 * config/rs6000/crtrestvr.S: New file.
5984 * config/rs6000/t-savresfgpr: Build the above.
5985 * config/rs6000/t-netbsd: Likewise.
5986
ad491329
ST
59872012-04-24 Sriraman Tallam <tmsriram@google.com>
5988
5989 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
5990
792317cc
ST
59912012-04-24 Sriraman Tallam <tmsriram@google.com>
5992
5993 * libgcc/config/i386/i386-cpuinfo.c: New file.
5994 * libgcc/config/i386/t-cpuinfo: New file.
5995 * libgcc/config.host: Include t-cpuinfo.
5996 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
5997
e1be98a4
CF
59982012-04-24 Chao-ying Fu <fu@mips.com>
5999
6000 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
6001
1bde7dab
TS
60022012-04-20 Thomas Schwinge <thomas@codesourcery.com>
6003
6004 struct siginfo vs. siginfo_t
6005
6006 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
6007 siginfo_t instead of struct siginfo.
6008 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
6009 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
6010 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
6011 (ia64_handle_unwabi): Likewise.
6012 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
6013 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
6014 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
6015 (sh_fallback_frame_state): Likewise.
6016 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
6017 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
6018
24590f66
L
60192012-04-02 H.J. Lu <hongjiu.lu@intel.com>
6020
6021 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
6022 system call number.
6023
9a9dcce8
EB
60242012-03-31 Eric Botcazou <ebotcazou@adacore.com>
6025
6026 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
6027 if it hasn't been previously saved.
6028
6401aaf5
L
60292012-03-29 H.J. Lu <hongjiu.lu@intel.com>
6030
6031 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
6032 only for glibc.
6033
7fd6378e
GJL
60342012-03-28 Georg-Johann Lay <avr@gjlay.de>
6035
6036 PR target/52737
6037 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
6038 instead of __AVR_HAVE_8BIT_SP__.
6039
9e916de7
TG
60402012-03-26 Tristan Gingold <gingold@adacore.com>
6041
6042 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
6043 (unw_table_entry): Use unw_word instead of unsigned long.
6044 (_Unwind_FindTableEntry): Likewise.
6045 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
6046 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
6047 (_Unwind_FindTableEntry): Likewise.
6048 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
6049 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
6050 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
6051 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
6052 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
6053 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
6054 (uw_init_context_1, uw_install_context): Likewise.
6055 (unw_word): Move to unwind-ia64.h
6056
4b12e93d
TG
60572012-03-26 Tristan Gingold <gingold@adacore.com>
6058
6059 * config/vms/vms-ucrt0.c: Update copyright years.
6060 Add a sanity check.
6061 (___gcc_main_flags): Declare.
6062 (__main): Check flags to remap argv and exit code.
6063 * config.host (*-*-*vms*): Adjust extra_parts.
6064 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
6065 (crt0.o): Add.
6066
06ea7371
RE
60672012-03-22 Richard Earnshaw <rearnsha@arm.com>
6068
6069 * arm/lib1funcs.asm (ctzsi2): New function.
6070 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
6071 * arm/t-linux (LIB1ASMFUNCS): Likewise.
6072 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
6073 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
6074 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
6075 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
6076
d82ad50d
AT
60772012-03-21 Andreas Tobler <andreast@fgznet.ch>
6078
6079 * config.host: Add bits to support powerpc64-*-freebsd*.
6080 * config/rs6000/freebsd-unwind.h: New file.
6081 * config/rs6000/t-freebsd64: New file.
6082
b260a8c0
RG
60832012-03-20 Richard Guenther <rguenther@suse.de>
6084
6085 PR gcov-profile/52627
6086 * libgcov.c (init_mx): Fix mutex name.
6087
86286a8a
TG
60882012-03-16 Tristan Gingold <gingold@adacore.com>
6089
6090 * config/ia64/vms-unwind.h: Remove ulong (and replace
6091 it by unw_reg where used). Define unw_reg with __int64.
6092
7888f266
RO
60932012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6094
6095 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
6096 Solaris 8 handling.
6097 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
6098 Solaris 8 handling.
6099 (sparc_is_sighandler): Likewise.
6100
f155bc64
L
61012012-03-13 H.J. Lu <hongjiu.lu@intel.com>
6102
6103 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
6104 <= saved reg size.
6105
d47657bd
RO
61062012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6107
6108 * config/arm/crtn.S: Fix typo.
6109
5bef73a1
RG
61102012-03-13 Richard Guenther <rguenther@suse.de>
6111
6112 * libgcov.c: Remove stdio.h include and NULL un-define.
6113
9c4271f3
RG
61142012-03-13 Richard Guenther <rguenther@suse.de>
6115
6116 PR target/52569
6117 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
6118
c6d10e7c
RG
61192012-03-13 Richard Guenther <rguenther@suse.de>
6120
6121 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
6122
074a385f
RG
61232012-03-13 Richard Guenther <rguenther@suse.de>
6124
6125 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
6126 and __gthread_mutex_init_function definitions.
6127
c4bc5c25
RO
61282012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6129
6130 * config.host (mips*-*-openbsd*): Remove.
6131
5c30094f
RO
61322012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6133
6134 * config.host: Remove alpha*-dec-osf5.1* handling.
6135 * config/alpha/gthr-posix.c: Remove.
6136 * config/alpha/libgcc-osf5.ver: Remove.
6137 * config/alpha/osf5-unwind.h: Remove.
6138 * config/alpha/t-osf-pthread: Remove.
6139 * config/alpha/t-slibgcc-osf: Remove.
6140 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
6141 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
6142 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
6143 * mkmap-flat.awk: Remove osf_export handling.
6144
33e3e24d
RG
61452012-03-12 Richard Guenther <rguenther@suse.de>
6146
6147 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
6148 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6149 (__gthread_mutex_init_function): New function.
6150 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6151
6152 PR gcov/49484
6153 * libgcov.c: Include gthr.h.
6154 (__gcov_flush_mx): New global variable.
6155 (init_mx, init_mx_once): New functions.
6156 (__gcov_flush): Protect self with a mutex.
6157 (__gcov_fork): Re-initialize mutex after forking.
6158 * unwind-dw2-fde.c: Change condition under which to use
6159 __GTHREAD_MUTEX_INIT_FUNCTION.
6160
d8aba32a
TG
61612012-03-12 Tristan Gingold <gingold@adacore.com>
6162
6163 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
6164 * config/ia64/t-vms: Likewise.
6165
75ffafdc
MH
61662012-03-11 Michael Hope <michael.hope@linaro.org>
6167
4a172156
UB
6168 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
6169 for Thumb-2.
75ffafdc 6170
ef6c2c53
WL
61712012-03-07 Walter Lee <walt@tilera.com>
6172
6173 * config/tilepro/atomic.c: Rename "atomic_" prefix to
6174 "arch_atomic_".
6175 (atomic_xor): Rename and move definition to
6176 config/tilepro/atomic.h.
6177 (atomic_nand): Ditto.
6178 * config/tilepro/atomic.h: Rename "atomic_" prefix to
6179 "arch_atomic_".
6180 (arch_atomic_xor): Move from config/tilepro/atomic.c.
6181 (arch_atomic_nand): Ditto.
6182
4e30d980
GJL
61832012-03-07 Georg-Johann Lay <avr@gjlay.de>
6184
6185 PR target/52507
6186 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
6187
61108225
GJL
61882012-03-07 Georg-Johann Lay <avr@gjlay.de>
6189
6190 PR target/52505
6191 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
6192 from RAM.
6193
b30e10ab
GJL
61942012-03-07 Georg-Johann Lay <avr@gjlay.de>
6195
6196 PR target/52461
6197 PR target/52508
6198 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
6199 if RAMPZ affects reading from RAM.
6200 (__tablejump_elpm__): Ditto.
6201 (.xload): Ditto.
6202 (__movmemx_hi): Ditto.
6203 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
6204 (__do_global_dtors): Ditto.
6205 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
6206 (__movmemx_hi): Ditto.
6207
8993fde4
RH
62082012-03-05 Richard Henderson <rth@redhat.com>
6209
6210 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
6211 [ARM] (count_trailing_zeros): Use the builtin.
6212
b7633ee3
KT
62132012-03-01 Kai Tietz <ktietz@redhat.com>
6214
6215 * soft-fp: Imported from glibc upstream.
6216
fbd3340c
KT
62172012-02-28 Kai Tietz <ktietz@redhat.com>
6218
6219 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
6220 for mingw-targets as attribute gcc_struct.
6221
e9e053eb
ILT
62222012-02-28 Ian Lance Taylor <iant@google.com>
6223
6224 * generic-morestack.c (__splitstack_releasecontext): Correct call
6225 to __morestack_release_segments.
6226
d80c632e
ST
62272012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6228
6229 PR target/52390
6230 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
6231 for __linux__ when removing signals from __morestack_fullmask.
6232
0253a8b1
GJL
62332012-02-23 Georg-Johann Lay <avr@gjlay.de>
6234
6235 PR target/52261
6236 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
6237
e10e461e
UW
62382012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6239
6240 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
6241 instead of HAVE_INITFINI_ARRAY.
6242 * config/ia64/crtend.S: Likewise.
6243
0c0c6398
KT
62442012-02-20 Kai Tietz <ktietz@redhat.com>
6245
d7470374
KT
6246 PR libstdc++/52300
6247 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
6248
0c0c6398
KT
6249 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
6250 to w32-unwind.h header.
6251
78c27266
RS
62522012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6253
6254 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
6255 (mips*-*-linux*): Remove t-slibgcc-libgcc.
6256 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
6257 * config/mips/mips16.S (__mips16_rdhwr): Delete.
6258
5adeb246
RS
62592012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6260
6261 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
6262
672ed313
IS
62632012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6264
6265 PR libitm/52220
6266 * config/darwin-crt-tm.c: Correct typo.
e9e053eb 6267
e948a1fb
IS
62682012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6269 Patrick Marlier <patrick.marlier@gmail.com>
6270
6271 PR libitm/52220
6272 * config/darwin-crt-tm.c: Generate dummy functions.
6273
6017aed3
IS
62742012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6275 Patrick Marlier <patrick.marlier@gmail.com>
6276
6277 PR libitm/52042
6278 * config/darwin-crt-tm.c (getTMCloneTable): New function.
6279 (__doTMRegistrations): Call it.
e9e053eb 6280 (__doTMdeRegistrations): Likewise.
6017aed3 6281
2da8c1ad 62822012-01-15 Georg-Johann Lay <avr@gjlay.de>
7d296953
JJ
6283 Anatoly Sokolov <aesok@post.ru>
6284 Eric Weddington <eric.weddington@atmel.com>
2da8c1ad
GJL
6285
6286 PR target/52261
6287 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
6288 (__epilogue_restores__): Ditto.
6289
0f952eb4
EB
62902012-02-15 Eric Botcazou <ebotcazou@adacore.com>
6291
6292 PR target/51921
6293 PR target/52205
6294 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
6295 Solaris 11 and slightly reformat.
6296 (sparc_is_sighandler): Likewise.
6297
dd552284
WL
62982012-02-14 Walter Lee <walt@tilera.com>
6299
6300 * config.host: Handle tilegx and tilepro.
6301 * config/tilegx/sfp-machine.h: New file.
6302 * config/tilegx/sfp-machine32.h: New file.
6303 * config/tilegx/sfp-machine64.h: New file.
6304 * config/tilegx/t-crtstuff: New file.
6305 * config/tilegx/t-softfp: New file.
6306 * config/tilegx/t-tilegx: New file.
6307 * config/tilepro/atomic.c: New file.
6308 * config/tilepro/atomic.h: New file.
6309 * config/tilepro/linux-unwind.h: New file.
6310 * config/tilepro/sfp-machine.h: New file.
6311 * config/tilepro/softdivide.c: New file.
6312 * config/tilepro/softmpy.S: New file.
6313 * config/tilepro/t-crtstuff: New file.
6314 * config/tilepro/t-tilepro: New file.
6315
b59cbd50
JW
63162012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
6317
6318 PR libstdc++/51296
6319 PR libstdc++/51906
6320 * gthr-posix.h: Allow static initializer macros to be disabled.
6321 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
6322
6caf807f
CLT
63232012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
6324
6325 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
6326 Add t-slibgcc-libgcc to tmake_file.
6327 * config/mips/libgcc-mips16.ver: Revert previous patch.
6328 * config/mips/mips16.S (__mips16_rdhwr): Hide.
6329
7d296953
JJ
63302012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
6331 Jayant R Sonar <jayant.sonar@kpitcummins.com>
b25364a0
S
6332
6333 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
6334 * config/cr16/crti.S: New file.
6335 * config/cr16/crtlibid.S: New file.
6336 * config/cr16/crtn.S: New file.
6337 * config/cr16/lib1funcs.S: New file.
6338 * config/cr16/t-cr16: New file.
6339 * config/cr16/t-crtlibid: New file.
6340 * config/cr16/unwind-dw2.h: New file.
6341 * config/cr16/unwind-cr16.c: New file.
6342 * config/cr16/divmodhi3.c: New file.
6343
8ef03aa7
AM
63442012-01-25 Alan Modra <amodra@gmail.com>
6345
6346 * config/rs6000/t-linux64: Delete. Move..
6347 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
6348 * config/rs6000/t-linux: ..and libgcc flags to here.
6349
daecebc8
DR
63502012-01-22 Douglas B Rupp <rupp@gnat.com>
6351
6352 * config.host (i[34567]86-*-interix3*):
8ef03aa7 6353 Change triplet to i[34567]86-*-interix[3-9]*.
daecebc8
DR
6354 * configure: Regenerate.
6355
ddaf8125
RS
63562012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
6357 Richard Sandiford <rdsandiford@googlemail.com>
6358
6359 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
6360 * config/mips/mips16.S (__mips16_rdhwr): New function.
6361 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
6362
2cd8b32c
NS
63632012-01-11 Nathan Sidwell <nathan@acm.org>
6364
6365 * libgcov.c (__gcov_init): Ignore objects with no functions.
6366
cba300dd
GJL
63672012-01-10 Georg-Johann Lay <avr@gjlay.de>
6368
6369 PR target/49868
6370 Extend __pgmx semantics to linearize memory.
6371 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
6372 * config/avr/lib1funcs.S (__xload_1): New function.
6373 (__movmemx_qi, __movmemx_hi): New functions.
6374 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
6375 semantics.
9ffaf4bc 6376
3d137660
EB
63772012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6378
6379 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
6380 purported sigacthandler address isn't null before dereferencing it.
6381 (sparc_is_sighandler): Likewise.
6382
bf4db96c
EB
63832012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6384
6385 PR ada/41929
6386 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
6387 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
6388 (sparc_is_sighandler): Likewise.
6389 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
6390
1ab3568b
TG
63912012-01-06 Tristan Gingold <gingold@adacore.com>
6392
6393 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
6394 compatibility thunks...
6395 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
6396 (crtbeginS.o, crtendS.o): ... and these to ...
6397 * config/ia64/t-ia64-elf: ... this new file.
6398 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
6399 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
6400
925b0ed8
AK
64012012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6402
6403 * configure: Regenerate.
6404 * config/s390/t-crtstuff: Remove -fPIC.
6405
a99ad737
JW
64062012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
6407
6408 PR bootstrap/51006
6409 * enable-execute-stack-mprotect.c (getpagesize): Do not define
6410 for NetBSD.
6411
884f56d1
GJL
64122012-01-02 Georg-Johann Lay <avr@gjlay.de>
6413
6414 PR target/51345
6415 * config/avr/lib1funcs.S: Remove FIXME comments.
6416 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
6417
8c57e547
GJL
64182012-01-02 Georg-Johann Lay <avr@gjlay.de>
6419
6420 Implement light-weight DImode support.
6421 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
6422 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
6423 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
6424 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
6425
04dbc287
NS
64262011-12-30 Nathan Sidwell <nathan@acm.org>
6427
6428 * libgcov.c (gcov_crc32): Remove global var.
6429 (free_fn_data): New function.
6430 (buffer_fn_data): Pass in filename, more robust error recovery.
6431 (crc32_unsigned): New function.
6432 (gcov_exit): More robust detection of new program. More robust
6433 error recovery.
6434 (__gcov_init): Do not update program's crc here.
6435
8e1d97d4
TG
64362011-12-21 Tristan Gingold <gingold@adacore.com>
6437
6438 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
6439
9ffaf4bc
ILT
64402011-12-21 Ian Lance Taylor <iant@google.com>
6441
6442 * config/i386/morestack.S: Simplify CFI opcodes throughout.
6443
a0c8d0c1
ILT
64442011-12-20 Ian Lance Taylor <iant@google.com>
6445
6446 * config/i386/morestack.S (__morestack_non_split): If there is
6447 enough stack space already, don't split. Ask for more stack space
6448 than we required.
6449
69048898
SDJ
64502011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
6451
6452 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
6453 `sys/sdt.h'.
6454 (_Unwind_DebugHook): New function.
6455 (uw_restore_core_regs): New define.
6456 (unwind_phase2): Use uw_restore_core_regs instead of
6457 restore_core_regs.
6458 (unwind_phase2_forced): Likewise.
6459 (__gnu_Unwind_Resume): Likewise.
6460
1bb4b6a3
UB
64612011-12-20 Uros Bizjak <ubizjak@gmail.com>
6462
6463 * config/alpha/linux-unwind.h: Update copyright years.
6464 (MD_FROB_UPDATE_CONTEXT): New define.
6465 (alpha_frob_update_context): New function.
6466
eb028768
RS
64672011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
6468
6469 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
6470 tmake_file rather replacing it.
6471
6a2045bf
IS
64722011-12-15 Iain Sandoe <iains@gcc.gnu.org>
6473
6474 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1bb4b6a3 6475 function is not used for PPC64.
6a2045bf
IS
6476 (save_world): Amend comments. Update the VRsave mask to reflect the
6477 saved regs.
6478 (rest_world): Update comments, do not clobber r10, do not use r8.
6479 (eh_rest_world_r10): Amend comments, do not use r8.
6480 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
6481 no longer used, move restore of CR and target address to the end of
6482 the routine.
6483
a13780a6
L
64842011-12-14 H.J. Lu <hongjiu.lu@intel.com>
6485
6486 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
6487 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
6488
d7288dfb
GJL
64892011-12-14 Georg-Johann Lay <avr@gjlay.de>
6490
6491 PR target/49313
6492 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
6493 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
6494
8d2c862d
EB
64952011-12-11 Eric Botcazou <ebotcazou@adacore.com>
6496
6497 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
6498
3447cae6
GJL
64992011-12-09 Georg-Johann Lay <avr@gjlay.de>
6500
6501 PR target/49313
6502 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
6503 * config/avr/lib1funcs.S (__muldi3): New function.
6504
806fc6aa
AP
65052011-12-06 Andrew Pinski <apinski@cavium.com>
6506
6507 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
6508 size of func_ptr.
6509 (__frame_dummy_init_array_entry): Likewise.
6510
28c5e6b5
GJL
65112011-12-06 Georg-Johann Lay <avr@gjlay.de>
6512
6513 Forward-port from gcc-4_6-branch r181936 2011-12-02.
6514
6515 PR target/51345
6516 PR target/51002
6517 * config/avr/lib1funcs.S (__prologue_saves__,
6518 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
6519 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
6520
8f90394a
IS
65212011-12-04 Iain Sandoe <iains@gcc.gnu.org>
6522
6523 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
6524
06dd33ac
JDA
65252011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6526
6527 PR other/51272
6528 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
6529 (_ITM_deregisterTMCloneTable): Likewise.
6530 (__register_frame_info): Fix unused warning.
6531 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
6532 pthread_default_stacksize_np): Likewise.
6533 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1bb4b6a3 6534
85b8555e
DD
65352011-11-29 DJ Delorie <dj@redhat.com>
6536
6537 * config.host (rl78-*-elf): New case.
6538 * config/rl78: New directory for the Renesas RL78.
6539
4d5ae4ea
BS
65402011-11-29 Bernd Schmidt <bernds@codesourcery.com>
6541
6542 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
6543 formatting.
6544
f9c55897
RO
65452011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6546
6547 PR other/51022
6548 * config/rs6000/t-savresfgpr: New file.
6549 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
6550 $(srcdir)/config/rs6000/eabi.S.
6551 * config/rs6000/t-ppccomm-ldbl: Remove.
6552 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
6553 tmake_file.
6554 (powerpc-*-eabispe*): Likewise.
6555 (powerpc-*-eabi*): Likewise.
6556 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
6557 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
6558 to tmake_file, remove rs6000/t-ppccomm-ldbl.
6559 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
6560 tmake_file.
6561 (powerpc-*-eabisim*): Likewise.
6562 (powerpc-*-elf*): Likewise.
6563 (powerpc-*-eabialtivec*): Likewise.
6564 (powerpc-xilinx-eabi*): Likewise.
6565 (powerpc-*-rtems*): Likewise.
6566 (powerpcle-*-elf*): Likewise.
6567 (powerpcle-*-eabisim*): Likewise.
6568 (powerpcle-*-eabi*): Likewise.
6569
a01207c4
ILT
65702011-11-27 Ian Lance Taylor <iant@google.com>
6571
6572 * generic-morestack.c (__splitstack_find): Check for NULL old
6573 stack value.
6574 (__splitstack_resetcontext): New function.
6575 (__splitstack_releasecontext): New function.
6576 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6577
2b0b8ab2
IS
65782011-11-27 Iain Sandoe <iains@gcc.gnu.org>
6579
6580 * config/darwin-crt-tm.c: Correct comments, use correct licence.
6581
c1d8101c
IS
65822011-11-27 Iain Sandoe <iains@gcc.gnu.org>
6583
6584 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
6585
8b281334
RH
65862011-11-26 Richard Henderson <rth@redhat.com>
6587
6588 * config/m68k/linux-atomic.c: New file.
6589 * config/m68k/t-linux: New file.
6590 * config.host (m68k-uclinux, m68k-linux): Use it.
6591
7546aa9d
RH
65922011-11-26 Richard Henderson <rth@redhat.com>
6593
6594 * crtstuff.c (__TMC_LIST__): Mark used not unused.
6595 (__TMC_END__): Only declare if hidden is available; in the definition,
6596 if hidden is unavailable add a null record.
6597 (deregister_tm_clones, register_tm_clones): New.
6598 (__do_global_dtors_aux, frame_dummy): Use them.
6599 (__do_global_dtors, __do_global_ctors_1): Likewise.
6600
e2362f5d
IS
66012011-11-22 Iain Sandoe <iains@gcc.gnu.org>
6602
6603 * config/darwin-crt-tm.c: New file.
6604 * config.host (darwin): Build crttms.o crttme.o to provide
6605 startup and shutdown for tm clones.
6606 * config/t-darwin (crttms.o): New build rule.
6607 (crttme.o): Likewise.
6608
6685dd96
HPN
66092011-11-21 Hans-Peter Nilsson <hp@axis.com>
6610
6611 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
6612 et al.
6613
b0dc7e4c
RH
66142011-11-21 Richard Henderson <rth@redhat.com>
6615
6616 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
6617 (__TMC_LIST__, __TMC_END__): New.
6618 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
6619 (__do_global_dtors): Likewise.
6620 (frame_dummy): Call _ITM_registerTMCloneTable.
6621 (__do_global_ctors_1): Likewise.
6622
d4b4b542
RO
66232011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6624
6625 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
6626 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
6627 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
6628 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
6629 * config/i386/t-darwin64: Remove.
6630 * config/sh/t-netbsd (LIB2ADD): Remove.
6631
989bdb74
GJL
66322011-11-21 Georg-Johann Lay <avr@gjlay.de>
6633
6634 PR target/49313
6635 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
6636 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
6637 * config/avr/lib1funcs.S (wmov): New assembler macro.
6638 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
6639 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
6640 (__udivmod64): New function.
6641 (__negdi2): New function.
6642
515a0cfc
GP
66432011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
6644
6645 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
6646 *-*-freebsd*aout*): Remove.
6647
0115d17f
HPN
66482011-11-20 Hans-Peter Nilsson <hp@axis.com>
6649
6650 * static-object.mk (c_flags-$o): Save c_flags.
6651 ($(base)$(objext)): Use it.
6652
93aeb62b
SE
66532011-11-18 Steve Ellcey <sje@cup.hp.com>
6654
6655 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
6656
7bc6df2c
GJL
66572011-11-18 Georg-Johann Lay <avr@gjlay.de>
6658
6659 PR target/49868
6660 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
6661 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
6662 New functions.
6663
425d737b
MGD
66642011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
6665
6666 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
6667 functions.
1bb4b6a3 6668 (aeabi_uidivmod): Likewise.
425d737b
MGD
6669 (umodsi3): Likewise.
6670 (divsi3): Likewise.
6671 (aeabi_idivmod): Likewise.
6672 (modsi3): Likewise.
6673
f2a176dc
TG
66742011-11-16 Tristan Gingold <gingold@adacore.com>
6675
6676 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
6677
7c209481
GJL
66782011-11-15 Georg-Johann Lay <avr@gjlay.de>
6679
6680 PR target/49868
6681 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
6682 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
6683
9dfd5832
JDA
66842011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6685
6686 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
6687 tmake_file list.
6688 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
6689 * config/pa/t-stublib64: Delete.
6690
f77dca5d
RH
66912011-11-12 Richard Henderson <rth@redhat.com>
6692
6693 * config/rs6000/linux-unwind.h (frob_update_context): Properly
6694 cast the pointer argument to _Unwind_SetGRPtr.
6695
902828f0
RO
66962011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6697
6698 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
6699
e14304ef
ILT
67002011-11-09 Ian Lance Taylor <iant@google.com>
6701
6702 * generic-morestack.c: Include <string.h>.
6703 (uintptr_type): Define.
6704 (struct initial_sp): Add dont_block_signals field. Reduce size of
6705 extra array by 1.
6706 (allocate_segment): Set prev field to NULL. Don't set
6707 __morestack_current_segment or __morestack_segments.
6708 (__generic_morestack): Update current->prev and *pp after calling
6709 allocate_segment.
6710 (__morestack_block_signals): Don't do anything if
6711 dont_block_signals is set.
6712 (__morestack_unblock_signals): Likewise.
6713 (__generic_findstack): Check for initial_sp == NULL. Add casts to
6714 uintptr_type.
6715 (__splitstack_block_signals): New function.
6716 (enum __splitstack_content_offsets): Define.
6717 (__splitstack_getcontext, __splitstack_setcontext): New functions.
6718 (__splitstack_makecontext): New function.
6719 (__splitstack_block_signals_context): New function.
6720 (__splitstack_find_context): New function.
6721 * config/i386/morestack.S (__morestack_get_guard): New function.
6722 (__morestack_set_guard, __morestack_make_guard): New functions.
6723 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6724
e3d871e4
RO
67252011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6726
6727 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
6728 (i[34567]86-*-mingw*): ... here.
6729 (x86_64-*-mingw*): ... here.
6730
e55cef40
RO
67312011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6732
6733 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
6734
5366b186
NS
67352011-11-07 Nathan Sidwell <nathan@acm.org>
6736
6737 * libgcov.c (struct gcov_fn_buffer): New struct.
6738 (buffer_fn_data): New helper.
6739 (gcov_exit): Rework for new gcov data structures.
6740
74155a6f
GJL
67412011-11-07 Georg-Johann Lay <avr@gjlay.de>
6742
6743 PR target/49313
6744 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
6745
200feb07
RO
67462011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6747
6748 * config.host (tmake_file): Correct comment.
6749 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
6750 t-libgcc-pic.
6751 (bfin*-uclinux*): Likewise.
6752 (bfin*-linux-uclibc*): Likewise.
6753 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
6754
6755 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
6756 assigning.
6757 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6758 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
6759 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6760 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
6761 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6762 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
6763 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
6764 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6765 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
6766 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
6767 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
6768 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
6769 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
6770
6771 * config/bfin/t-elf: Remove.
6772 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
6773
c9cd1a07
RO
67742011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6775
6776 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
6777 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
6778 (lm32-*-elf*, lm32-*-rtems*): Split into ...
6779 (lm32-*-elf*): ... this.
6780 (lm32-*-rtems*): ... and this.
6781 Add to tmake_file.
6782 (m32r-*-rtems*): Add to tmake_file.
6783 (moxie-*-rtems*): Likewise.
6784 (sparc-*-rtems*): Likewise.
6785 Remove t-rtems from tmake_file.
6786 (sparc64-*-rtems*): Likewise.
6787 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
6788 instead.
6789
9fbcc75d
RO
67902011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6791
6792 PR bootstrap/50982
6793 * config/gthr-posix.h: Move ...
6794 * gthr-posix.h: ... here.
6795 * config/gthr-lynx.h: Reflect this.
6796 * config/gthr-vxworks.h: Likewise.
6797 * config/rs6000/gthr-aix.h: Likewise.
6798 * configure.ac (target_thread_file): Likewise.
6799 * configure: Regenerate.
6800
76644b68
SH
68012011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
6802
6803 * config.host (arm*-*-rtemseabi*): New target.
6804
5e490f2a
JDA
68052011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6806
6807 PR other/50991
6808 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
6809 extra-parts.
6810
feeeff5c
JR
68112011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
6812
6813 * config.host (epiphany-*-elf*): New configuration.
6814 * config/epiphany: New Directory.
6815
d618bb2c
RC
68162011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
6817
6818 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
6819 * config/avr/t-rtems: New.
6820 Filter out _exit from LIB1ASMFUNCS.
6821
1bb6f778
DM
68222011-11-04 David S. Miller <davem@davemloft.net>
6823
6824 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
6825 * configure: Rebuild.
6826
9a7f7422
AK
68272011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6828
6829 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
6830 variable.
6831
e4fe948a
GJL
68322011-11-04 Georg-Johann Lay <avr@gjlay.de>
6833
6834 PR target/50931
6835 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
6836 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
6837
7084e037
JS
68382011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
6839
6840 PR target/50989
6841 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
6842
1a032034
RO
68432011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6844
6845 * config/c6x/t-elf (LIB2ADDEH): Set.
6846 * config/c6x/t-c6x-elf: Remove.
6847
d385f772
RO
68482011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6849
6850 * config/i386/sol2-ci.S: Rename to ...
6851 * config/i386/crti.S: ... this.
6852 * config/i386/sol2-cn.S: Rename to ...
6853 * config/i386/crtn.S: ... this.
6854 * config/sparc/sol2-ci.S: Rename to ...
6855 * config/sparc/crti.S: ... this.
6856 * config/sparc/sol2-cn.S: Rename to ...
6857 * config/sparc/crtn.S: ... this.
6858 * config/t-sol2 (CUSTOM_CRTIN): Remove.
6859 (crti.o, crtn.o): Remove.
6860
1ba878a9
TG
68612011-11-04 Tristan Gingold <gingold@adacore.com>
6862
6863 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
6864
02750c15
KK
68652011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
6866
6867 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
6868
bf86b067
HPN
68692011-11-03 Hans-Peter Nilsson <hp@axis.com>
6870
6871 * config.host (crisv32-*-none, cris-*-none): Remove.
6872 (crisv32-*-elf): Append to tmake_file, don't just set it.
6873 (cris-*-elf): Add missing t-fdpbit to tmake_file.
6874
d0bc53bd
RO
68752011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6876
6877 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
6878 (ecrtn$(objext)): Likewise.
6879 (ncrti$(objext)): Likewise.
6880 (ncrtn$(objext)): Likewise.
6881
036da830
AS
68822011-11-03 Andreas Schwab <schwab@redhat.com>
6883
6884 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
6885
d2a7d041
DM
68862011-11-02 David S. Miller <davem@davemloft.net>
6887
6888 * configure.ac: Set host_address on sparc too.
6889 * configure: Regenerate.
6890 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
6891 based upon host_address.
6892 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
6893
af8ed618
JM
68942011-11-02 Jason Merrill <jason@redhat.com>
6895
6896 * config/rs6000/t-ppccomm: Add missing \.
6897
5d1c8e77
RO
68982011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6899
6900 * gthr-single.h, gthr.h: New files.
6901 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
6902 config/gthr-vxworks.h, config/i386/gthr-win32.h,
6903 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
6904 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
6905 * config/i386/gthr-win32.c: Include "gthr-win32.h".
6906 * configure.ac (thread_header): New variable.
6907 Set it depending on target_thread_file.
6908 (gthr-default.h): Link from $thread_header.
6909 * configure: Regenerate.
6910 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
6911
852b75ed
RO
69122011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6913
6914 * configure.ac (tm_file_): New variable.
6915 Determine from tm_file.
6916 (tm_file, tm_defines): Substitute.
6917 * configure: Regenerate.
6918 * mkheader.sh: New file.
6919 * Makefile.in (clean): Remove libgcc_tm.h.
6920 ($(objects)): Depend on libgcc_tm.h.
6921 (libgcc_tm_defines, libgcc_tm_file): New variables.
6922 (libgcc_tm.h, libgcc_tm.stamp): New targets.
6923 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
6924 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
6925 ($(extra-parts)): Depend on libgcc_tm.h.
6926 * config.host (tm_defines, tm_file): New variable.
6927 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
6928 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
6929 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
6930 (avr-*-rtems*): Likewise.
6931 (avr-*-*): Likewise.
6932 (frv-*-elf): Likewise.
6933 (frv-*-*linux*): Likewise.
6934 (h8300-*-rtems*): Likewise.
6935 (h8300-*-elf*): Likewise.
6936 (i[34567]86-*-darwin*): Likewise.
6937 (x86_64-*-darwin*): Likewise.
6938 (rx-*-elf): Likewise.
6939 (tic6x-*-uclinux): Likewise.
6940 (tic6x-*-elf): Likewise.
6941 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
6942 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
6943 * config/i386/cygming-crtbegin.c: Likewise.
6944 * config/i386/cygming-crtend.c: Likewise.
6945 * config/ia64/fde-vms.c: Likewise.
6946 * config/ia64/unwind-ia64.c: Likewise.
6947 * config/libbid/bid_gcc_intrinsics.h: Likewise.
6948 * config/rs6000/darwin-fallback.c: Likewise.
6949 * config/stormy16/lib2funcs.c: Likewise.
6950 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
6951 * crtstuff.c: Likewise.
6952 * dfp-bit.h: Likewise.
6953 * emutls.c: Likewise.
6954 * fixed-bit.c: Likewise.
6955 * fp-bit.c: Likewise.
6956 * generic-morestack-thread.c: Likewise.
6957 * generic-morestack.c: Likewise.
6958 * libgcc2.c: Likewise.
6959 * libgcov.c: Likewise.
6960 * unwind-dw2-fde-dip.c: Likewise.
6961 * unwind-dw2-fde.c: Likewise.
6962 * unwind-dw2.c: Likewise.
6963 * unwind-sjlj.c: Likewise.
6964
f9989b51
RO
69652011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6966
6967 * configure.ac: Include ../config/picflag.m4.
6968 (GCC_PICFLAG): Call it.
6969 Substitute.
6970 * configure: Regenerate.
6971 * Makefile.in (gcc_srcdir): Remove.
6972 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
6973 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
6974 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
6975 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
6976 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
6977 Use $<.
6978 Remove comment.
6979 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
6980 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
6981 to refer to libgcc2.c.
6982 Use $<.
6983 * config/darwin-64.c: New file.
6984 * config/darwin-crt3.c: Remove comment.
6985 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
6986 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
6987 config/udivmodsi4.c: New files.
6988 * config/memcmp.c, config/memcpy.c, config/memmove.c,
6989 config/memset.c: New files.
6990 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
6991 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
6992 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
6993 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
6994 * config/t-openbsd-thread: New file.
6995 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
6996 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
6997 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
6998 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
6999 qrnnd.S.
7000 Adapt filename.
7001 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
7002 to refer to gthr-posix.c.
7003 * config/alpha/t-vms (LIB2ADD): Set.
7004 * config/alpha/vms-gcc_shell_handler.c: New file.
7005 * config/arm/bpabi.c, config/arm/fp16.c,
7006 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
7007 config/arm/unaligned-funcs.c: New files.
7008 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
7009 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7010 * config/arm/t-linux: Likewise.
7011 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
7012 * config/arm/t-netbsd: New file.
7013 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
7014 * config/arm/t-symbian (LIB2ADD_ST): Set.
7015 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
7016 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7017 * config/bfin/t-elf: New file.
7018 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
7019 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
7020 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
7021 config/c6x/ltf.c: New files.
7022 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
7023 (HOST_LIBGCC2_CFLAGS): Set.
7024 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
7025 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7026 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
7027 New files.
7028 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
7029 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
7030 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
7031 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
7032 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
7033 files.
7034 * config/frv/t-frv (LIB2ADD): Set.
7035 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7036 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
7037 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
7038 config/h8300/popcounthi2.c: New files.
7039 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7040 * config/i386/gthr-win32.c: New file.
7041 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
7042 * config/i386/t-cygwin: Likewise.
7043 * config/i386/t-darwin, config/i386/t-darwin64,
7044 config/i386/t-gthr-win32, config/i386/t-interix: New files.
7045 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
7046 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7047 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7048 * config/ia64/quadlib.c: New file.
7049 * config/ia64/t-hpux (LIB2ADD): Set.
7050 * config/ia64/t-ia64: Add comment.
7051 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
7052 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7053 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
7054 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
7055 * config/m32c/t-m32c (LIB2ADD): Set.
7056 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7057 * config/m32r/t-m32r: Likewise.
7058 * config/m68k/fpgnulib.c: New file.
7059 * config/m68k/t-floatlib (LIB2ADD): Set.
7060 (xfgnulib.c): New target.
7061 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
7062 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
7063 * config/mep/t-mep (LIB2ADD): Set.
7064 * config/microblaze/divsi3.asm: Rename to divsi3.S.
7065 * config/microblaze/moddi3.asm: Rename to moddi3.S.
7066 * config/microblaze/modsi3.asm: Rename to modsi3.S.
7067 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
7068 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
7069 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
7070 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
7071 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
7072 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
7073 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
7074 New files.
7075 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
7076 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
7077 * config/pa/fptr.c, config/pa/lib2funcs.S,
7078 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
7079 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7080 (LIB2ADD, LIB2ADD_ST): Set.
7081 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
7082 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
7083 Set.
7084 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
7085 * config/pdp11/t-pdp11: New file.
7086 * config/picochip/libgccExtras/adddi3.S,
7087 config/picochip/libgccExtras/ashlsi3.S,
7088 config/picochip/libgccExtras/ashrsi3.S,
7089 config/picochip/libgccExtras/clzsi2.S,
7090 config/picochip/libgccExtras/cmpsi2.S,
7091 config/picochip/libgccExtras/divmod15.S,
7092 config/picochip/libgccExtras/divmodhi4.S,
7093 config/picochip/libgccExtras/divmodsi4.S,
7094 config/picochip/libgccExtras/lshrsi3.S,
7095 config/picochip/libgccExtras/parityhi2.S,
7096 config/picochip/libgccExtras/popcounthi2.S,
7097 config/picochip/libgccExtras/subdi3.S,
7098 config/picochip/libgccExtras/ucmpsi2.S,
7099 config/picochip/libgccExtras/udivmodhi4.S,
7100 config/picochip/libgccExtras/udivmodsi4.S: New files.
7101 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
7102 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
7103 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
7104 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
7105 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
7106 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
7107 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
7108 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
7109 files.
7110 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
7111 (HOST_LIBGCC2_CFLAGS): Set.
7112 * config/rs6000/t-darwin64: New file.
7113 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
7114 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
7115 * config/rs6000/t-ppccomm (LIB2ADD): Add
7116 $(srcdir)/config/rs6000/tramp.S.
7117 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
7118 Add $(srcdir)/config/rs6000/eabi.S.
7119 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
7120 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
7121 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
7122 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
7123 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
7124 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
7125 * config/rs6000/tramp.S: New file.
7126 * config/s390/t-tpf: Remove.
7127 * config/sh/linux-atomic.S: New file.
7128 * config/sh/t-linux (LIB2ADD): Set.
7129 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
7130 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7131 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
7132 to unwind-dw2.c.
7133 (HOST_LIBGCC2_CFLAGS): Set.
7134 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7135 * config/spu/divmodti4.c, config/spu/divv2df3.c,
7136 config/spu/float_disf.c, config/spu/float_unsdidf.c,
7137 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
7138 config/spu/mfc_multi_tag_release.c,
7139 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
7140 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
7141 config/spu/multi3.c: New files.
7142 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
7143 (HOST_LIBGCC2_CFLAGS): Set.
7144 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
7145 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
7146 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
7147 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
7148 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
7149 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
7150 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
7151 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
7152 config/stormy16/umodsi3.c: New files.
7153 * config/xtensa/lib2funcs.S: New file.
7154 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7155 * config/xtensa/t-xtensa (LIB2ADD): Set.
7156 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
7157 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
7158 Add t-freebsd-thread to tmake_file for posix threads.
7159 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
7160 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
7161 (*-*-lynxos*): Likewise.
7162 (*-*-netbsd*): Likewise.
7163 (*-*-openbsd*): Likewise.
7164 Add t-openbsd-thread to tmake_file for posix threads.
7165 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
7166 (*-*-vxworks*): Set tmake_file.
7167 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7168 (alpha*-*-freebsd*): Likewise.
7169 (alpha*-*-netbsd*): Likewise.
7170 (alpha*-*-openbsd*): Likewise.
7171 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
7172 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7173 (alpha*-dec-*vms*): Likewise.
7174 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
7175 (bfin*-elf*): Add bfin/t-elf to tmake_file.
7176 (bfin*-uclinux*): Likewise.
7177 (bfin*-linux-uclibc*): Likewise.
7178 (crisv32-*-elf): Add cris/t-cris to tmake_file.
7179 (crisv32-*-none): Likewise.
7180 (cris-*-elf): Likewise.
7181 (cris-*-none): Likewise.
7182 (cris-*-linux*, crisv32-*-linux*): Likewise.
7183 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
7184 tmake_file.
7185 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
7186 tmake_file.
7187 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
7188 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
7189 (x86_64-*-elf*): Likewise.
7190 (i[34567]86-*-nto-qnx*): Likewise.
7191 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
7192 win32 threads.
7193 (x86_64-*-mingw*): Likewise.
7194 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
7195 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
7196 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7197 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7198 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
7199 tmake_file.
7200 (mipsisa64sr71k-*-elf*): Likewise.
7201 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7202 (mips-*-elf*, mipsel-*-elf*): Likewise.
7203 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7204 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7205 (mips*-*-rtems*): Likewise.
7206 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
7207 to tmake_file.
7208 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
7209 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
7210 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
7211 (spu-*-elf*): Likewise.
7212 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
7213
45b86625
RO
72142011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7215
7216 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
7217 $(srcdir) to refer to $(LIB1ASMSRC).
7218 Use $<.
7219 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
7220 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
7221 config/arm/lib1funcs.S: New files.
7222 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
7223 * config/arm/t-arm: New file.
7224 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
7225 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
7226 config/arm/t-strongarm-elf: New files.
7227 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
7228 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
7229 * config/avr/lib1funcs.S: New file.
7230 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7231 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
7232 * config/c6x/lib1funcs.S: New file.
7233 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7234 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
7235 * config/frv/lib1funcs.S: New file.
7236 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7237 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
7238 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
7239 * config/ia64/__divxf3.asm: Rename to ...
7240 * config/ia64/__divxf3.S: ... this.
7241 Adapt lib1funcs.asm filename.
7242 * config/ia64/_fixtfdi.asm: Rename to ...
7243 * config/ia64/_fixtfdi.S: ... this.
7244 Adapt lib1funcs.asm filename.
7245 * config/ia64/_fixunstfdi.asm: Rename to ...
7246 * config/ia64/_fixunstfdi.S: ... this.
7247 Adapt lib1funcs.asm filename.
7248 * config/ia64/_floatditf.asm: Rename to ...
7249 * config/ia64/_floatditf.S: ... this.
7250 Adapt lib1funcs.asm filename.
7251 * config/ia64/lib1funcs.S: New file.
7252 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
7253 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7254 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
7255 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
7256 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
7257 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
7258 * config/mep/lib1funcs.S: New file.
7259 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7260 * config/mips/mips16.S: New file.
7261 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7262 * config/pa/milli64.S: New file.
7263 * config/pa/t-linux, config/pa/t-linux64: New files.
7264 * config/picochip/lib1funcs.S: New file.
7265 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7266 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
7267 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
7268 * config/sh/t-netbsd: New file.
7269 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
7270 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
7271 * config/sh/t-sh64: New file.
7272 * config/sparc/lb1spc.S: New file.
7273 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
7274 filename.
7275 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
7276 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
7277 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
7278 config/xtensa/lib1funcs.S: New files.
7279 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7280 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
7281 tmake_file.
7282 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
7283 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
7284 (arm*-*-linux*): Likewise.
7285 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
7286 arm*-*-linux-*eabi, add arm/t-linux otherwise.
7287 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
7288 (arm*-*-ecos-elf): Likewise.
7289 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7290 (arm*-*-rtems*): Likewise.
7291 (arm*-*-elf): Likewise.
7292 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
7293 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
7294 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
7295 (bfin*-uclinux*): Likewise.
7296 (bfin*-linux-uclibc*): Likewise.
7297 (bfin*-rtems*): Likewise.
7298 (bfin*-*): Likewise.
7299 (fido-*-elf): Merge into m68k-*-elf*.
7300 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
7301 (frv-*-*linux*): Add frv/t-frv to tmake_file.
7302 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
7303 (h8300-*-elf*): Likewise.
7304 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
7305 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
7306 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
7307 (i[34567]86-*-mingw*): Likewise.
7308 (x86_64-*-mingw*): Likewise.
7309 (i[34567]86-*-interix3*): Likewise.
7310 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
7311 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
7312 (m68k-*-elf*): Also handle fido-*-elf.
7313 Add m68k/t-floatlib to tmake_file.
7314 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
7315 (m68k-*-linux*): Likewise.
7316 (m68k-*-rtems*): Likewise.
7317 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
7318 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
7319 sh64*-*-*.
7320 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
7321 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
7322 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
7323 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
7324 sh/t-netbsd to tmake_file.
7325 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
7326 (sh-*-rtems*): Add sh/t-sh to tmake_file.
7327 (sh-wrs-vxworks): Likewise.
7328 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
7329 *-leon[3-9]*.
7330 (v850*-*-*): Add v850/t-v850 to tmake_file.
7331 (vax-*-linux*): Add vax/t-linux to tmake_file.
7332 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
7333
5f73c6cc
RO
73342011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7335
7336 * crtstuff.c: New file.
7337 * Makefile.in (CRTSTUFF_CFLAGS): Define.
7338 (CRTSTUFF_T_CFLAGS): Define.
7339 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
7340 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
7341 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
7342 crtstuff.c.
7343 Use $<.
7344 (crtbeginT.o): Use $(objext).
7345 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
7346 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
7347 (gcc-extra-parts): Remove.
7348 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
7349 Set extra_parts.
7350 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7351 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
7352 Add t-crtstuff-pic to tmake_file.
7353 (*-*-lynxos*): New case.
7354 Set tmake_file, extra_parts.
7355 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
7356 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
7357 *-*-netbsdelf[2-9]*.
7358 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
7359 (*-*-rtems*): Set extra_parts.
7360 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
7361 (*-*-uclinux*): New case.
7362 Set extra_parts.
7363 (*-*-vms*): New case.
7364 Set tmake_file, extra_parts.
7365 (*-*-elf): Set extra_parts.
7366 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
7367 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
7368 vms/t-vms64.
7369 Set extra_parts.
7370 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
7371 Set extra_parts.
7372 (arm*-*-freebsd*): Add t-crtin to tmake_file.
7373 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
7374 (arm-wrs-vxworks): Append to tmake_file.
7375 Set extra_parts.
7376 (arm*-*-uclinux*): Set extra_parts.
7377 (arm*-*-ecos-elf): Likewise.
7378 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
7379 arm*-*-eabi*.
7380 (arm*-*-rtems*): Set extra_parts.
7381 (arm*-*-elf): Likewise.
7382 (avr-*-rtems*): Clear extra_parts.
7383 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
7384 Set extra_parts.
7385 (bfin*-uclinux*): Likewise.
7386 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
7387 (bfin*-rtems*): Append to tmake_file.
7388 Set extra_parts.
7389 (bfin*-*): Likewise.
7390 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
7391 (crisv32-*-elf): ... this.
7392 (crisv32-*-none): ... this.
7393 (cris-*-elf, cris-*-none): New cases.
7394 Add cris/t-elfmulti to tmake_file.
7395 (fr30-*-elf): Append to tmake_file.
7396 Set extra_parts.
7397 (frv-*-elf): Append to tmake_file, add frv/t-frv.
7398 Set extra_parts.
7399 (h8300-*-rtems*): Append to tmake_file.
7400 Set extra_parts.
7401 (h8300-*-elf*): Likewise.
7402 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
7403 Set extra_parts.
7404 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
7405 Set extra_parts.
7406 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
7407 (x86_64-*-elf*): Likewise.
7408 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
7409 (x86_64-*-freebsd*): Likewise.
7410 (x86_64-*-netbsd*): Likewise.
7411 (i[34567]86-*-linux*): Likewise.
7412 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
7413 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
7414 (x86_64-*-linux*): Likewise.
7415 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
7416 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
7417 tmake_file.
7418 Set extra_parts.
7419 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
7420 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
7421 Append to extra_parts, remove crtbegin.o, crtend.o.
7422 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
7423 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
7424 crtend.o, crtbeginS.o, crtendS.o.
7425 (ia64*-*-linux*): Comment extra_parts.
7426 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
7427 Set extra_parts.
7428 (iq2000*-*-elf*): Clear extra_parts.
7429 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
7430 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
7431 (m32r-*-elf*, m32r-*-rtems*): Split off ...
7432 (m32r-*-rtems*): ... this.
7433 Add m32r/t-m32r to tmake_file.
7434 (m68k-*-elf*): Add t-crtin to tmake_file.
7435 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
7436 (mcore-*-elf): Likewise.
7437 (microblaze*-*-*): Set extra_parts.
7438 (mips*-sde-elf*): New case.
7439 Set tmake_file, extra_parts.
7440 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7441 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7442 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
7443 tmake_file.
7444 Set extra_parts.
7445 (mipsisa64sr71k-*-elf*): Likewise.
7446 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7447 (mips-*-elf*, mipsel-*-elf*): Likewise.
7448 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7449 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
7450 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7451 (mips*-*-rtems*): Likewise.
7452 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
7453 (moxie-*-*): Split into ...
7454 (moxie-*-elf, moxie-*-uclinux*): ... this.
7455 Add to extra_parts, remove crtbegin.o, crtend.o.
7456 (moxie-*-rtems*): New case.
7457 Set tmake_file.
7458 Clear extra_parts.
7459 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
7460 Set extra_parts.
7461 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7462 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
7463 tmake_file.
7464 Set extra_parts.
7465 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
7466 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
7467 Set extra_parts.
7468 (powerpc-*-eabisim*): Likewise.
7469 (powerpc-*-elf*): Likewise.
7470 (powerpc-*-eabialtivec*): Likewise.
7471 (powerpc-xilinx-eabi*): Likewise.
7472 (powerpc-*-eabi*): Likewise.
7473 (powerpc-*-rtems*): Likewise.
7474 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
7475 tmake_file.
7476 Set extra_parts.
7477 (powerpc-*-lynxos*): Add to tmake_file.
7478 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
7479 rs6000/t-crtstuff, t-crtstuff-pic.
7480 Set extra_parts.
7481 (powerpcle-*-eabisim*): Likewise.
7482 (powerpcle-*-eabi*): Likewise.
7483 (rx-*-elf): Remove extra_parts.
7484 (s390x-ibm-tpf*): Set extra_parts.
7485 (score-*-elf): Set extra_parts.
7486 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7487 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7488 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7489 (sh64l*-*-netbsd*): Split into ...
7490 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
7491 Add t-crtstuff-pic to tmake_file.
7492 Set extra_parts.
7493 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
7494 Set extra_parts.
7495 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
7496 (sparc-*-elf*): Remove t-crtin from tmake_file.
7497 Add to extra_parts, remove crtbegin.o, crtend.o.
7498 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
7499 (sparc64-*-linux*): Likewise.
7500 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
7501 Add to extra_parts, remove crtbegin.o, crtend.o.
7502 (sparc64-*-elf*): Remove t-crtin from tmake_file.
7503 Add to extra_parts, remove crtbegin.o, crtend.o.
7504 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
7505 Add to extra_parts, remove crtbegin.o, crtend.o.
7506 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
7507 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
7508 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
7509 Set extra_parts.
7510 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
7511 Set extra_parts.
7512 (tic6x-*-*): Change to ...
7513 (tic6x-*-elf): ... this.
7514 Set extra_parts.
7515 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
7516 Set extra_parts.
7517 (am33_2.0-*-linux*): Add comment.
7518 (mep*-*-*): Add mep/t-mep to tmake_file.
7519 Set extra_parts.
7520 * config/alpha/t-vms: New file.
7521 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
7522 * config/arm/crti.S, config/arm/crtn.S: New files.
7523 * config/bfin/crti.S, config/bfin/crtn.S: New files.
7524 * config/bfin/crtlibid.S: New file.
7525 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
7526 * config/c6x/crti.S, config/c6x/crtn.S: New files.
7527 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
7528 (crti.o, crtin.o): New rules.
7529 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7530 * config/c6x/t-uclinux: New file.
7531 * config/cris/t-elfmulti: New file.
7532 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
7533 * config/fr30/crti.S, config/fr30/crtn.S: New files.
7534 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
7535 * config/frv/t-frv: New file.
7536 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
7537 * config/h8300/crti.S, config/h8300/crtn.S: New files.
7538 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
7539 New files.
7540 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
7541 refer to cygming-crtbegin.c, cygming-crtend.c.
7542 Use $<.
7543 * config/i386/t-nto: New file.
7544 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
7545 * config/ia64/crti.S, config/ia64/crtn.S: New files.
7546 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
7547 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
7548 Use .S extension.
7549 Use $<.
7550 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7551 (crtinitS.o): New rule.
7552 * config/ia64/vms-crtinit.S: New file.
7553 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
7554 * config/m32r/initfini.c: New file.
7555 * config/m32r/t-linux, config/m32r/t-m32r: New files.
7556 * config/m68k/crti.S, config/m68k/crtn.S: New files.
7557 * config/mcore/crti.S, config/mcore/crtn.S: New files.
7558 * config/mep/t-mep: New file.
7559 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
7560 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
7561 * config/mips/crti.S, config/mips/crtn.S: New files.
7562 * config/mips/t-crtstuff: New file.
7563 * config/mmix/crti.S, config/mmix/crtn.S: New files.
7564 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
7565 (CUSTOM_CRTIN): Set.
7566 ($(T)crti.o, $(T)crtn.o): Remove $(T),
7567 dependencies.
7568 Use $(srcdir) to refer to crti.S, crtn.S.
7569 Use .S extension, $<.
7570 * config/moxie/crti.asm: Rename to ...
7571 * config/moxie/crti.S: ... this.
7572 * config/moxie/crtn.asm: Rename to ...
7573 * config/moxie/crtn.S: ... this.
7574 * config/moxie/t-moxie: Remove.
7575 * config/pa/stublib.c: New file.
7576 * config/pa/t-stublib, config/pa/t-stublib64: New files.
7577 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
7578 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
7579 * config/rs6000/t-crtstuff: New file.
7580 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
7581 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
7582 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
7583 Make output file explicit.
7584 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
7585 Make output file explicit.
7586 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
7587 Make output file explicit.
7588 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
7589 Make output file explicit.
7590 * config/score/crti.S, config/score/crtn.S: New files.
7591 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
7592 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
7593 files.
7594 * config/sh/t-sh, config/sh/t-superh: New files.
7595 * config/sparc/t-linux64: New file.
7596 * config/spu/cache.S, config/spu/cachemgr.c: New files.
7597 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
7598 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
7599 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
7600 * config/t-crtin: Remove.
7601 * config/t-crtstuff-pic: New file.
7602 * config/t-sol2 (CUSTOM_CRTIN): Set.
7603 (crti.o, crtn.o): New rules.
7604 * config/vms/t-vms: New file.
7605 * config/vms/vms-ucrt0.c: New file.
7606 * config/xtensa/t-elf: New file.
7607
b040f2be
RO
76082011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7609
7610 * Makefile.in (SHLIB_NM_FLAGS): Set.
7611 * mkmap-flat.awk, mkmap-symver.awk: New files.
7612 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
7613 exceptions.
7614 * configure: Regenerate.
7615 * config/libgcc-glibc.ver: New file.
7616 * config/libgcc-libsystem.ver: New file.
7617 * config/t-libunwind (SHLIB_LC): Set.
7618 * config/t-linux: New file.
7619 * config/t-slibgcc (INSTALL_SHLIB): New.
7620 (SHLIB_INSTALL): Use it.
7621 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
7622 to mkmap-symver.awk.
7623 (SHLIB_MAPFILES): Don't append, adapt pathname.
7624 (SHLIB_VERPFX): Set.
7625 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
7626 to mkmap-symver.awk.
7627 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
7628 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
7629 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
7630 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
7631 to mkmap-flat.awk.
7632 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
7633 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
7634 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
7635 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
7636 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
7637 * config/i386/libgcc-darwin.10.4.ver,
7638 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
7639 New files.
7640 * config/i386/t-darwin: Remove.
7641 * config/i386/t-darwin64: Likewise.
7642 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
7643 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
7644 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
7645 * config/i386/t-linux: New file.
7646 * config/i386/t-mingw32: New file.
7647 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
7648 * config/ia64/t-glibc: Rename to ...
7649 * config/ia64/t-linux: ... this.
7650 (SHLIB_MAPFILES): Set.
7651 * config/ia64/t-glibc-libunwind: Rename to ...
7652 * config/ia64/t-linux-libunwind: ... this.
7653 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
7654 * config/ia64/t-slibgcc-hpux: New file.
7655 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
7656 * config/m68k/t-slibgcc-elf-ver: New file.
7657 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
7658 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
7659 to mkmap-flat.awk.
7660 * config/pa/t-slibgcc-hpux: New file.
7661 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
7662 files.
7663 * config/rs6000/libgcc-darwin.10.4.ver,
7664 config/rs6000/libgcc-darwin.10.5.ver: New files.
7665 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
7666 config/rs6000/libgcc-glibc.ver.
7667 * config/rs6000/libgcc-ppc64.ver: Rename to
7668 config/rs6000/libgcc-ibm-ldouble.ver.
7669 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
7670 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
7671 * config/rs6000/t-ldbl128: Rename to ...
7672 * config/rs6000/t-linux: ... this.
7673 (SHLIB_MAPFILES): Adapt filename.
7674 * config/rs6000/t-slibgcc-aix: New file.
7675 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
7676 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
7677 libgcc-excl.ver, libgcc-glibc.ver.
7678 (SHLIB_LINK, SHLIB_INSTALL): Remove.
7679 * config/sparc/libgcc-glibc.ver: New file.
7680 * config/sparc/t-linux: New file.
7681 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
7682 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
7683 t-slibgcc-elf-ver to tmake_file.
7684 Add t-slibgcc-nolc-override to tmake_file for posix threads on
7685 *-*-freebsd[34].
7686 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7687 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
7688 t-slibgcc-elf-ver, t-linux to tmake_file.
7689 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
7690 tmake_file.
7691 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
7692 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
7693 (alpha*-dec-*vms*): Likewise.
7694 (arm*-*-freebsd*): Append to tmake_file.
7695 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
7696 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
7697 arm*-*-linux-*eabi.
7698 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
7699 tmake_file for arm*-*-symbianelf*.
7700 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
7701 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
7702 cris/t-linux.
7703 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
7704 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
7705 pa/t-slibgcc-dwarf-ver to tmake_file.
7706 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
7707 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
7708 (hppa*64*-*-hpux11*): Likewise.
7709 (hppa[12]*-*-hpux11*): Likewise.
7710 (x86_64-*-darwin*): Don't override tmake_file, but only keep
7711 i386/t-crtpc, i386/t-crtfm.
7712 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
7713 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7714 to tmake_file.
7715 Add i386/t-cygwin to tmake_file.
7716 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
7717 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
7718 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7719 to tmake_file.
7720 Add i386/t-mingw32 to tmake_file.
7721 (x86_64-*-mingw*): Likewise.
7722 (ia64*-*-freebsd*): Append to tmake_file.
7723 (ia64*-*-linux*): Append to tmake_file.
7724 Replace ia64/t-glibc by ia64/t-linux.
7725 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
7726 system libunwind.
7727 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
7728 t-slibgcc-hpux to tmake_file.
7729 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
7730 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
7731 (m32rle-*-linux*): Likewise.
7732 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
7733 sjlj exceptions.
7734 (microblaze*-linux*): New case.
7735 Append to tmake_file, add t-slibgcc-nolc-override.
7736 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
7737 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7738 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
7739 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7740 rs6000/t-slibgcc-aix to tmake_file.
7741 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7742 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7743 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7744 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7745 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7746 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
7747 sh*-*-linux*.
7748 (sparc-*-linux*): Append to tmake_file for *-leon*.
7749 Add sparc/t-linux to tmake_file for non-Leon targets.
7750 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
7751 (tic6x-*-uclinux): New case.
7752 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
7753 (tic6x-*-*): Add c6x/t-elf to tmake_file.
7754 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
7755 (am33_2.0-*-linux*): Append to tmake_file.
7756 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
7757 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
7758 x86_64-*-kfreebsd*-gnu.
7759 Add i386/t-linux to tmake_file.
7760
18b4bd7b
ILT
77612011-10-28 Ian Lance Taylor <iant@google.com>
7762
7763 * config/i386/morestack.S: Correct CFI information to do proper
7764 returns throughout function. In 32-bit mode, save %ebx so that it
7765 is restored on unwind.
7766
5b2d9d90
BS
77672011-10-25 Bernd Schmidt <bernds@codesourcery.com>
7768
7769 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
7770 case where B3 isn't the return register.
7771
0d53e346
BS
7772 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
7773 logic for doubleword pops.
7774
cbffbd59
AT
77752011-10-25 Andreas Tobler <andreast@fgznet.ch>
7776
7777 * config/rs6000/t-freebsd: Add wildcard.
7778
56dc349e
PB
77792011-10-21 Paul Brook <paul@codesourcery.com>
7780
7781 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
7782
1e06b07d
UB
77832011-10-16 Uros Bizjak <ubizjak@gmail.com>
7784 Eric Botcazou <ebotcazou@adacore.com>
7785
7786 PR target/50737
7787 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
7788 fs->signal_frame to 1.
7789
b5204884
ILT
77902011-10-07 Ian Lance Taylor <iant@google.com>
7791
7792 * generic-morestack-thread.c: #include <errno.h>.
7793
91a639a1
ILT
77942011-10-07 Ian Lance Taylor <iant@google.com>
7795
7796 PR target/46093
7797 * generic-morestack.c (__generic_morestack): Make sure the segment
7798 is large enough for both the stack frame and the copied
7799 parameters.
7800
cc49116d
RO
78012011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7802
7803 PR bootstrap/49804
7804 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
7805 extra_parts.
7806
2996d8c3
NC
78072011-09-28 Nick Clifton <nickc@redhat.com>
7808
7809 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
7810 64-bit doubles are not enabled.
7811 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
7812 and floatunsisf functions.
7813
1e874273 78142011-09-13 Paul Brook <paul@codesourcery.com>
2996d8c3 7815
1e874273
PB
7816 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
7817 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
7818 * unwind-arm-common.inc: New file.
7819 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
7820 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
7821 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
7822 * config/c6x/libunwind.S: New file.
7823 * config/c6x/pr-support.c: New file.
7824 * config/c6x/unwind-c6x.c: New file.
7825 * config/c6x/unwind-c6x.h: New file.
7826 * config/c6x/t-c6x-elf: New file.
7827
f70c879a
UB
78282011-08-23 Uros Bizjak <ubizjak@gmail.com>
7829
7830 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
7831 (ASM_DIVZERO): Ditto.
7832 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
7833
c55b374b
RS
78342011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
7835
7836 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
7837
1e138510
RS
78382011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
7839
7840 PR target/50090
7841 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
7842 instead of an assembly one.
7843
1563503d
PB
78442011-08-12 Paolo Bonzini <bonzini@gnu.org>
7845
7846 PR bootstrap/50047
7847 * Makefile.in (install-unwind_h): Create
7848 $(gcc_objdir)/include/unwind.h atomically.
7849
3627ac1a
RO
78502011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7851
7852 * Makefile.in (install-unwind_h): Remove destination file first.
7853
c6412d86
RO
78542011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7855
7856 * sync.c: New file.
7857 * config/mips/t-mips16: New file.
7858 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
7859 (mips*-*-linux*): Likewise.
7860 (mips*-sde-elf*): Likewise.
7861 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
7862 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
7863 Add mips/t-mips16 to tmake_file.
7864 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
7865 (mips-*-elf*): Likewise.
7866 (mips64-*-elf*): Likewise.
7867 (mips64orion-*-elf*): Likewise.
7868 (mips*-*-rtems*): Likewise.
7869 (mipstx39-*-elf*): Likewise.
7870 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
7871 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
7872 LIBGCC_SYNC_CFLAGS.
7873 Use $(srcdir) to refer to sync.c.
7874 Use $<.
7875 ($(libgcc-sync-funcs-o)): Likewise.
7876 ($(libgcc-sync-size-funcs-s-o)): Likewise.
7877 ($(libgcc-sync-funcs-s-o)): Likewise.
7878
3cb6e5bd
AS
78792011-08-09 Andreas Schwab <schwab@linux-m68k.org>
7880
7881 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
7882 t-libunwind.
7883
cca2207a
L
78842011-08-08 H.J. Lu <hongjiu.lu@intel.com>
7885
7886 PR other/48007
7887 * config/i386/value-unwind.h: New.
7888
ed39fbad
RS
78892011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
7890
7891 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
7892 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
7893 Add to tmake_file rather than overriding it.
7894
aca0b0b3
RO
78952011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7896
7897 * config/t-softfp: Remove.
7898 * soft-fp: Moved from ../gcc/config.
7899 * soft-fp/README: Remove t-softfp reference.
7900 * soft-fp/t-softfp: Move to config/t-softfp.
7901 (softfp_machine_header): Remove.
7902 (softfp_file_list): Remove config subdir.
7903 (soft-fp-objects): New variable.
7904 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
7905 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
7906 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
7907 * config/t-softfp-excl: New file.
7908 * config/t-softfp-sfdf: New file.
7909 * config/t-softfp-tf: New file.
7910 * config/no-sfp-machine.h: New file.
7911 * config/arm/sfp-machine.h: New file.
7912 * config/arm/t-softfp: New file.
7913 * config/c6x/sfp-machine.h: New file.
7914 * config/i386/32/t-fprules-softfp: Rename to ...
7915 * config/i386/32/t-softfp: ... this.
7916 (tifunctions, LIB2ADD): Remove.
7917 (softfp_int_modes): Override.
7918 * config/i386/64/t-softfp-compat (tf-functions): Remove config
7919 subdir.
7920 * config/i386/64/eqtf2.c: Likewise.
7921 * config/i386/64/getf2.c: Likewise.
7922 * config/i386/64/letf2.c: Likewise.
7923 * config/ia64/sft-machine.h: New file.
7924 * config/ia64/t-fprules-softfp: Rename to ...
7925 * config/ia64/t-softfp: ... this.
7926 * config/lm32/sfp-machine.h: New file.
7927 * config/moxie/t-moxie-softfp: Remove.
7928 * config/rs6000/ibm-ldouble-format: New file.
7929 * config/rs6000/ibm-ldouble.c: New file.
7930 * config/rs6000/libgcc-ppc-glibc.ver: New file
7931 * config/rs6000/libgcc-ppc64.ver: New file
7932 * config/rs6000/sfp-machine.h: New file.
7933 * config/rs6000/t-freebsd: New file.
7934 * config/rs6000/t-ibm-ldouble: New file.
7935 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
7936 libgcc-ppc-glibc.ver.
7937 * config/rs6000/t-linux64: New file.
7938 * config/rs6000/t-ppccomm (LIB2ADD): Add
7939 $(srcdir)/config/rs6000/ibm-ldouble.c.
7940 * config/rs6000/t-ppccomm-ldbl: New file.
7941 * config/score/sfp-machine.h: New file.
7942 * config.host (sfp_machine_header): Explain.
7943 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
7944 t-softfp to tmake_file.
7945 (arm*-*-uclinux*): Likewise.
7946 (arm*-*-ecos-elf): Likewise.
7947 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7948 (arm*-*-rtems*): Likewise.
7949 (arm*-*-elf): Likewise.
7950 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
7951 in tmake_file.
7952 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
7953 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
7954 (lm32-*-uclinux*): Likewise.
7955 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
7956 t-softfp-excl, t-softfp.
7957 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
7958 (powerpc64-*-darwin*): Likewise.
7959 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
7960 to tmake_file.
7961 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
7962 tmake_file.
7963 (powerpc-*-eabisim*): Likewise.
7964 (powerpc-*-elf*): Likewise.
7965 (powerpc-*-eabialtivec*): Likewise.
7966 (powerpc-xilinx-eabi*): Likewise.
7967 (powerpc-*-rtems*): Likewise.
7968 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
7969 t-softfp-excl, t-softfp to tmake_file.
7970 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
7971 rs6000/t-ppccomm-ldbl to tmake_file.
7972 (powerpcle-*-elf*): Likewise.
7973 (powerpcle-*-eabisim*): Likewise.
7974 (powerpcle-*-eabi*): Likewise.
7975 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7976 rs6000/t-ibm-ldouble to tmake_file.
7977 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7978 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7979 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
7980 (tic6x-*-*): Likewise.
7981 (i[34567]86-*-darwin*, x86_64-*-darwin*,
7982 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
7983 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
7984 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
7985 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
7986 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
7987 t-softfp to tmake_file.
7988 * configure.ac (sfp_machine_header): Provide default if unset.
7989 Substitute.
7990 Link sfp-machine.h to config/$sfp_machine_header.
7991 * configure: Regenerate.
7992
569dc494
RO
79932011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7994
7995 * Makefile.in (double_type_size, long_double_type_size): Set.
7996 Remove $(fpbit-in-libgcc) support.
7997 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
7998 (fpbit-src): New variable.
7999 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
8000 Compile with -DFLOAT $(FPBIT_CFLAGS).
8001 Use $<.
8002 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
8003 Compile with $(FPBIT_CFLAGS).
8004 Use $<.
8005 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
8006 Compile with -DFLOAT $(TPBIT_CFLAGS).
8007 Use $<.
8008 * configure.ac (double_type_size, long_double_type_size):
8009 Determine and substitute.
8010 * configure: Regenerate.
8011 * fp-bit.c, fp-bit.h: New files.
8012 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
8013 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
8014 * config/mips/t-mips: New file.
8015 * config/mips/t-sdemtk: New file.
8016 * config/rs6000/ppc64-fp.c: New file.
8017 * config/rs6000/t-darwin (LIB2ADD): Add
8018 $(srcdir)/config/rs6000/ppc64-fp.c.
8019 * config/rs6000/t-ppc64-fp: New file.
8020 * config/rx/rx-lib.h: New file.
8021 * config/rx/t-rx (FPBIT): Set to true.
8022 ($(gcc_objdir)/fp-bit.c): Remove.
8023 (DPBIT): Set to true only with -m64bit-doubles.
8024 ($(gcc_objdir)/dp-bit.c): Remove.
8025 * config/sparc/t-softfp: Remove.
8026 * config/spu/t-elf: New file.
8027 * config/t-fdpbit, config/t-fpbit: New files.
8028 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
8029 (mips*-*-*): Likewise.
8030 (arm-wrs-vxworks): Likewise.
8031 (arm*-*-freebsd*): Likewise.
8032 (avr-*-rtems*): Add t-fpbit to tmake_file.
8033 (avr-*-*): Likewise.
8034 (bfin*-elf*): Add t-fdpbit to tmake_file.
8035 (bfin*-uclinux*): Likewise.
8036 (bfin*-linux-uclibc*): Likewise.
8037 (bfin*-rtems*): New case.
8038 Add t-fdpbit to tmake_file.
8039 (bfin*-*): Add t-fdpbit to tmake_file.
8040 (crisv32-*-elf): Likewise.
8041 (cris-*-linux*): Likewise.
8042 (fr30-*-elf): Likewise.
8043 (frv-*-elf, frv-*-*linux*): Likewise.
8044 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
8045 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
8046 (m32r-*-elf*): Likewise.
8047 (m32rle-*-elf*): Likewise.
8048 (m32r-*-linux*): Likewise.
8049 (m32rle-*-linux*): Likewise.
8050 (mcore-*-elf): Add t-fdpbit to tmake_file.
8051 (microblaze*-*-*): Likewise.
8052 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
8053 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
8054 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
8055 Fix typo.
8056 Add mips/t-tpbit to tmake-file.
8057 (mips*-*-linux*): Fix typo.
8058 (mips*-sde-elf*): New case
8059 Add mips/t-sdemtk unless using newlib.
8060 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
8061 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
8062 (mn10300-*-*): Likewise.
8063 (pdp11-*-*): Likewise.
8064 (picochip-*-*): Add t-fpbit to tmake_file.
8065 (powerpc-*-eabisimaltivec*): Likewise.
8066 (powerpc-*-eabisim*): Likewise.
8067 (powerpc-*-elf*): Likewise.
8068 (powerpc-*-eabialtivec*): Likewise.
8069 (powerpc-xilinx-eabi*): New case.
8070 Add t-fdpbit to tmake_file.
8071 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
8072 (powerpc-*-rtems*): Likewise.
8073 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
8074 tmake_file.
8075 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
8076 tmake_file.
8077 (powerpc-*-lynxos*): Likewise.
8078 (powerpcle-*-elf*): Likewise.
8079 (powerpcle-*-eabisim*): Likewise.
8080 (powerpcle-*-eabi*): Likewise.
8081 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8082 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
8083 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8084 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8085 (rx-*-elf): Add t-fdpbit to tmake_file.
8086 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8087 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8088 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8089 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
8090 sh*-*-netbsd*.
8091 (sh-*-rtems*): Add t-fdpbit to tmake_file.
8092 (sh-wrs-vxworks): Likewise.
8093 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
8094 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
8095 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
8096 (sparc64-*-rtems*): ... new case.
8097 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
8098 (spu-*-elf*): Likewise.
8099 Add spu/t-elf to tmake_file.
8100 (v850*-*-*): Add t-fdpbit to tmake_file.
8101 (xstormy16-*-elf): Likewise.
8102 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
8103 (mep*-*-*): Likewise.
8104
201cdb74
RO
81052011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8106
8107 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
8108 variables.
8109 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
8110 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
8111 (install-unwind_h): New target.
8112 (all): Depend on it.
8113 * config.host (unwind_header): New variable.
8114 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
8115 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8116 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
8117 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
8118 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
8119 Set unwind_header.
8120 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
8121 Set unwind_header.
8122 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
8123 arm*-*-eabi*.
8124 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
8125 Set unwind_header.
8126 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
8127 (ia64*-*-freebsd*): Likewise.
8128 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
8129 tmake_file.
8130 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
8131 $with_system_libunwind.
8132 (ia64*-*-hpux*): Set tmake_file.
8133 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
8134 (picochip-*-*): Set tmake_file.
8135 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
8136 md_unwind_header.
8137 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8138 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8139 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
8140 (xtensa*-*-elf*): Set tmake_file.
8141 (xtensa*-*-linux*): Likewise.
8142 * configure.ac: Include ../config/unwind_ipinfo.m4.
8143 Call GCC_CHECK_UNWIND_GETIPINFO.
8144 Link unwind.h to $unwind_header.
8145 * configure: Regenerate.
8146 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
8147 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
8148 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
8149 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
8150 * config/unwind-dw2-fde-darwin.c: New file.
8151 * config/arm/libunwind.S, config/arm/pr-support.c,
8152 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
8153 config/arm/unwind-arm.h,: New files.
8154 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
8155 config/ia64/t-eh-ia64, config/ia64/t-glibc,
8156 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
8157 config/ia64/t-vms, config/ia64/unwind-ia64.c,
8158 config/ia64/unwind-ia64.h: New files.
8159 * config/picochip/t-picochip: New file.
8160 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
8161 files.
8162 * config/rs6000/t-darwin (LIB2ADDEH): Set.
8163 * config/s390/t-tpf (LIB2ADDEH): Remove.
8164 * config/t-darwin (LIB2ADDEH): Set.
8165 * config/t-eh-dw2-dip: New file.
8166 * config/t-libunwind, config/t-libunwind-elf: New files.
8167 * config/t-sol2 (LIB2ADDEH): Remove.
8168 * config/xtensa/t-xtensa: New file.
8169
40f2f11f
L
81702011-08-02 H.J. Lu <hongjiu.lu@intel.com>
8171
8172 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
8173 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
8174 long long to check rt_sigreturn syscall.
8175
bd15e32c
AM
81762011-08-02 Alan Modra <amodra@gmail.com>
8177
8178 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8179 Restore for indirect call bcrtl from correct stack slot, and only
8180 if cfa+40 isn't valid.
8181
655b30bf
JB
81822011-08-01 Julian Brown <julian@codesourcery.com>
8183
8184 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
8185 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
8186 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
8187
247eb06f
JB
81882011-08-01 Julian Brown <julian@codesourcery.com>
8189
8190 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
8191 (libgcc-std.ver.in): Use above.
8192 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
8193 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
8194 throughout file.
8195 * config/t-fixedpoint-gnu-prefix: New file.
8196 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
8197 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
8198 instead of __PFX__.
8199
02a8fe00
L
82002011-07-28 H.J. Lu <hongjiu.lu@intel.com>
8201
8202 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
8203 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
8204 for x86-64. Properly check __x86_64__ and __LP64__.
8205
5fce9126
L
82062010-07-28 H.J. Lu <hongjiu.lu@intel.com>
8207
8208 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
8209 version.
8210 (_FP_WS_TYPE): Likewise.
8211 (_FP_I_TYPE): Likewise.
8212
2374a88a
AM
82132011-07-28 Alan Modra <amodra@gmail.com>
8214
8215 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8216 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
8217 in a plt call stub. Do restore r2 if stopped on bctrl.
8218
e44dbbe1
RO
82192011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8220
8221 * config.host (i[3456x]86-*-netware*): Remove.
8222 * config/i386/netware-crt0.c, config/i386/t-nwld,
8223 config/i386/t-slibgcc-nwld: Remove.
8224
bcead286
BS
82252011-07-15 Bernd Schmidt <bernds@codesourcery.com>
8226
8227 * config.host: Handle tic6x-*-*.
8228 * config/c6x/c6x-abi.h: New file.
8229
b3fe1584
RO
82302011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8231
8232 * config/i386/crtprec.c: New file.
8233 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
8234 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
8235 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
8236 (x86_64-*-darwin*): Likewise.
8237 (i[34567]86-*-solaris2*: Likewise.
8238
35d8090d
RO
82392011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8240
8241 * config/alpha/crtfastmath.c: New file.
8242 * config/i386/crtfastmath.c: New file.
8243 * config/ia64/crtfastmath.c: New file.
8244 * config/mips/crtfastmath.c: New file.
8245 * config/sparc/crtfastmath.c: New file.
8246
8247 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
8248 crtfastmath.c.
8249 Add -frandom-seed=gcc-crtfastmath.
8250 * config/alpha/t-crtfm: Remove.
8251 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
8252 * config/ia64/t-ia64 (crtfastmath.o): Remove.
8253
8254 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
8255 (alpha*-dec-osf5.1*): Likewise.
8256 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
8257 Add crtfastmath.o to extra_parts.
8258 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
8259 Add crtfastmath.o to extra_parts.
8260 (x86_64-*-darwin*): Likewise.
8261 (x86_64-*-mingw*): Likewise.
8262 (ia64*-*-elf*): Add t-crtfm to tmake_file.
8263 (ia64*-*-freebsd*): Likewise.
8264 (ia64*-*-linux*): Likewise.
8265 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
8266 Add crtfastmath.o to extra_parts.
8267
e141542e
RO
82682011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8269
8270 * config/darwin-crt3.o: New file.
8271 * config/rs6000/darwin-crt2.c: New file.
8272 * config/t-darwin: New file.
8273 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
8274 (crt2.o): New rule.
8275 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
8276 (powerpc-*-darwin*): Add crt2.o to extra_parts.
8277 (powerpc64-*-darwin*): Likewise.
8278
2d1efe2d
RO
82792011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8280
8281 * config/i386/netware-crt0.c: New file.
8282 * config/i386/t-nwld: Rename to ...
8283 * config/i386/t-slibgcc-nwld: ... this.
8284 * config/i386/t-nwld: New file.
8285 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
8286 tmake_file.
8287 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
8288 extra_parts.
8289
4a8bb046
RO
82902011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8291
8292 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
8293 i386/t-crtstuff.
8294 * configure: Regenerate.
8295
2d8d5935
RO
82962011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8297
8298 * dfp-bit.c, dfp-bit.h: New files.
8299 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
8300 variables.
8301 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
8302 ($(d64pbit-o)): Likewise.
8303 ($(d128pbit-o)): Likewise.
8304 * config/t-dfprules: New file.
8305 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
8306 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
8307 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8308 (x86_64-*-linux*): Likewise.
8309 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8310 (i[34567]86-*-cygwin*): Likewise.
8311 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
8312 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8313
2c50b2c3
RO
83142011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8315
8316 * Makfile.in (LIBGCOV): New variable.
8317 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
8318 * libgcov.c: New file.
8319
a039d7c2
RO
83202011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8321
8322 * fixed-bit.c, fixed-bit.h: New files.
8323 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
8324 refer to fixed-bit.c.
8325
1e4b2746
JM
83262011-07-07 Joseph Myers <joseph@codesourcery.com>
8327
8328 * config.host (*local*): Remove.
8329
fbdd5d87
RO
83302011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8331
8332 PR target/39150
8333 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
8334 like i?86-*-solaris2.1[0-9]*.
8335 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
8336 * configure.ac (i?86-*-solaris2*): Likewise.
8337 * configure: Regenerate.
8338
9e7714f4
TS
83392011-07-06 Thomas Schwinge <thomas@schwinge.name>
8340
8341 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8342 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
8343 md_unwind_header by splitting out of...
8344 (i[34567]86-*-linux*): ... this.
8345 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
8346 Remove md_unwind_header by splitting out of...
8347 (x86_64-*-linux*): ... this.
8348
6dab9931
GJL
83492011-07-04 Georg-Johann Lay <avr@gjlay.de>
8350
8351 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
8352
4be46d19
NC
83532011-06-28 Nick Clifton <nickc@redhat.com>
8354
8355 * config.host: Recognize all V850 variants.
8356
1da9434b
UB
83572011-06-22 Uros Bizjak <ubizjak@gmail.com>
8358
8359 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
8360
e4d48a4d
RO
83612011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8362
8363 * shared-object.mk (c_flags-$o): Save c_flags.
8364 ($(base)$(objext)): Use it.
8365 ($(base)_s$(objext)): Likewise.
8366
3801c801
BS
83672011-06-21 Bernd Schmidt <bernds@codesourcery.com>
8368
8369 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
8370 * libgcc-std.ver.in (GCC_4.7.0): New section.
8371
0ad8bb3b 83722011-06-16 Georg-Johann Lay <avr@gjlay.de>
1da9434b 8373
0ad8bb3b
GJL
8374 PR target/49313
8375 PR target/29524
8376 * config/avr/t-avr: Fix line endings.
8377 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
8378 _parityXX2.
8379
ea963999
OH
83802011-06-14 Olivier Hainque <hainque@adacore.com>
8381 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8382
8383 * config/mips/irix6-unwind.h: New file.
8384 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
8385
b11b0904
EB
83862011-06-10 Eric Botcazou <ebotcazou@adacore.com>
8387
8388 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
8389 (sparc64_fallback_frame_state): Use it.
8390 (sparc64_frob_update_context): Further adjust context.
8391 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
8392 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
8393 * config/sparc/sol2-cn.S: Likewise.
8394
10e48e39
RO
83952011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8396
8397 * enable-execute-stack-empty.c: New file.
8398 * enable-execute-stack-mprotect.c: New file.
8399 * config/i386/enable-execute-stack-mingw32.c: New file.
8400 * config.host (enable_execute_stack): New variable.
8401 Select appropriate variants.
8402 * configure.ac: Link enable-execute-stack.c to
8403 $enable_execute_stack.
8404 * configure: Regenerate.
8405 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
8406 (lib2funcs): Remove _enable_execute_stack.
8407
10c4cabc
DM
84082011-06-09 David S. Miller <davem@davemloft.net>
8409 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8410
8411 * config.host (sparc-*-linux*): Correct md_unwind_header
8412 filename.
8413 (s390x-ibm-tpf*): Fix typo.
8414
aa4203e7
RO
84152011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8416
8417 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
8418 Add crtfastmath.o to extra_parts.
8419 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
8420 mips/t-crtfm.
8421 * config/mips/t-crtfm: Remove.
8422
0defd786
JDA
84232011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8424
8425 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
8426
82f247af
KK
84272011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
8428
8429 * config.host (sh*-*-linux*): Fix typo.
8430
58cd1d70
RO
84312011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8432
8433 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
8434 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
8435 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
8436 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
8437 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
8438 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
8439 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
8440 Wrap in !__MINGW64__.
8441 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
8442 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
8443 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
8444 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
8445 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
8446 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
8447 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
8448 Wrap in !__LP64__.
8449 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
8450 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
8451 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
8452 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
8453 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
8454 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
8455 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
8456 * config/no-unwind.h: New file.
8457 * config.host (md_unwind_header): Document.
8458 Define.
8459 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
8460 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
8461 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
8462 hppa[12]*-*-hpux11*): Set md_unwind_header.
8463 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
8464 Set md_unwind_header.
8465 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
8466 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
8467 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
8468 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
8469 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
8470 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
8471 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
8472 md_unwind_header.
8473 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
8474 * configure: Regenerate.
8475
737346fa
RO
84762011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8477
8478 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
8479 Set tmake_file, extra_parts.
8480 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
8481 Remove O32 support.
8482 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
8483 Remove O32 support.
8484 * config/mips/t-irix6: New file.
8485 * config/mips/t-slibgcc-irix: New file.
8486
c192cee6
RO
84872011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8488
8489 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
8490 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
8491
ee33b5f0
RO
84922011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8493
8494 * configure.ac (target_thread_file): Determine thread model.
8495 * configure: Regenerate.
8496 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
8497 * config/alpha/t-alpha: New file.
8498 * config/alpha/t-crtfm: Use $<.
8499 * config/alpha/t-ieee: New file.
8500 * config/alpha/t-osf-pthread: New file.
8501 * config/alpha/t-slibgcc-osf: New file.
8502 * config/alpha/libgcc-osf5.ver: New file.
8503
0699e415
RO
85042011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8505
8506 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
8507 tmake_file.
8508 Add crtfastmath.o to extra_parts.
8509
a3fab9c2
RO
85102011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8511
8512 * config/gmon-sol2.c: Reindent.
8513 Cleanup comments.
8514 Remove, correct casts.
8515 Use STDERR_FILENO, NULL.
8516 (BASEADDRESS): Remove.
8517 (minbrk): Remove.
8518 (errno, sbrk): Remove declarations.
8519 (monstartup) [hp300]: Remove.
8520 (mcount): Remove.
8521
ca24c5ad
RO
85222011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8523
8524 * Makefile.in (cpu_type): Define.
8525 * config.host (i[34567]86-*-rtems*): Handle it.
8526 (i[34567]86-*-solaris2*): Move body ...
8527 (*-*-solaris2*): ... here.
8528 New case, generalize.
8529 (sparc-*-elf*): Handle it.
8530 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
8531 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
8532 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
8533 Fold into ...
8534 (sparc*-*-solaris2*): ... this.
8535 New case.
8536 (sparc64-*-elf*): Handle it.
8537 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
8538 Merge ../gcc/config/i386/gmon-sol2.c.
8539 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
8540 Use C comments.
8541 Merge ../gcc/config/i386/sol2-gc1.asm.
8542 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
8543 Use C comments.
8544 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
8545 Use C comments.
8546 * config/i386/t-crtfm (crtfastmath.o): Use $<.
8547 * config/i386/t-crtstuff: New file.
8548 * config/i386/t-softfp: New file.
8549 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
8550 $(T)crti.o, $(T)crtn.o): Remove.
8551 (gcrt1.o): New rule.
8552 (TARGET_LIBGCC2_CFLAGS): Remove.
8553 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
8554 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
8555 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
8556 * config/sparc/t-sol2: New file.
8557 * config/sparc/t-crtfm: Move to ...
8558 * config/t-crtfm: ... this.
8559 Use $(cpu_type), $<.
8560 * config/t-crtin: New file.
8561 * config/sparc/t-softfp: New file.
8562 * config/sparc/t-softmul: New file.
8563 * config/t-rtems: New file.
8564 * config/t-slibgcc: New file.
8565 * config/t-slibgcc-elf-ver: New file.
8566 * config/t-slibgcc-gld: New file.
8567 * config/t-slibgcc-sld: New file.
8568 * config/t-sol2: New file.
8569 * configure.ac: Include ../config/lib-ld.m4.
8570 Call AC_LIB_PROG_LD_GNU.
8571 Substitute cpu_type.
8572 * configure: Regenerate.
8573
ad5f3d7b
BS
85742011-05-27 Bernd Schmidt <bernds@codesourcery.com>
8575
8576 PR bootstrap/49173
8577 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
8578 libgcc-std.ver in the build directory.
8579 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
8580 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
8581
cdbf4541
BS
85822011-05-25 Bernd Schmidt <bernds@codesourcery.com>
8583
8584 * libgcc-std.ver.in: New file.
8585 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
8586 variables.
8587 (libgcc-std.ver): New rule.
8588 * config/t-gnu-prefix: New file.
8589
c8028650
RO
85902011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8591
8592 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
8593
4a68b4ca
JM
85942011-05-10 Joseph Myers <joseph@codesourcery.com>
8595
8596 * config/i386/darwin-lib.h: New file.
8597
80cf2e08
JM
85982011-05-10 Joseph Myers <joseph@codesourcery.com>
8599
8600 * config/arm/symbian-lib.h: New.
8601
a3330c9d
CD
86022011-05-04 Chris Demetriou <cgd@google.com>
8603
8604 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
8605 (__x86.get_pc_thunk.bx): ...this.
8606 (__morestack): Adjust for rename, remove undef of __i686.
8607
6ace0756
CD
86082011-05-03 Chris Demetriou <cgd@google.com>
8609
8610 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
8611
ebb9f8b0
JM
86122011-03-22 Joseph Myers <joseph@codesourcery.com>
8613
8614 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
8615 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
8616 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
8617 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
8618 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
8619 Remove cases.
8620
9cfa1499
AT
86212011-03-14 Andreas Tobler <andreast@fgznet.ch>
8622
8623 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
8624 Adjust copyright year.
8625
457186f6
ILT
86262011-03-07 Ian Lance Taylor <iant@google.com>
8627
8628 * generic-morestack.c (__splitstack_find): Adjust returned stack
8629 pointer to include all registers pushed by __morestack.
8630
58c741a6
DK
86312011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
8632
8633 PR target/40125
8634 * configure.ac: Call ACX_NONCANONICAL_TARGET.
8635 (toolexecdir): Calculate and AC_SUBST.
8636 (toolexeclibdir): Likewise.
8637 * Makefile.in (target_noncanonical): Import.
8638 (toolexecdir): Likewise.
8639 (toolexeclibdir): Likewise.
8640 * configure: Regenerate.
8641
26716c44
NF
86422010-12-13 Nathan Froyd <froydnj@codesourcery.com>
8643
8644 PR target/46040
8645 * config/arm/bpabi.h: Rename to...
8646 * config/arm/bpabi-lib.h: ...this.
8647
b595b1a1
RO
86482010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8649
8650 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
8651 appropriate.
8652 * configure: Regenerate.
8653
a3abe41c
NF
86542010-11-24 Nathan Froyd <froydnj@codesourcery.com>
8655
8656 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
8657 __FLOAT_WORD_ORDER__.
8658 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
8659 Delete.
8660
455c8f48
RW
86612010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8662
8663 PR other/46202
8664 * Makefile.in (install-strip): New phony target.
8665
f3824a8b
ILT
86662010-11-07 Ian Lance Taylor <iant@google.com>
8667
8668 PR target/46089
8669 * config/i386/morestack.S (__morestack_large_model): New
8670 function.
8671
18ed6ee4
NF
86722010-10-23 Nathan Froyd <froydnj@codesourcery.com>
8673
8674 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
8675 Delete.
8676 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
8677
8ac7fdcb
NF
86782010-10-14 Nathan Froyd <froydnj@codesourcery.com>
8679
8680 * config/arm/bpabi.h: New file.
8681 * config/frv/frv-abi.h: New file.
8682
cdb388c2
ILT
86832010-10-01 Ian Lance Taylor <iant@google.com>
8684
8685 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
8686 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
8687
ef7c141c
L
86882010-10-01 H.J. Lu <hongjiu.lu@intel.com>
8689
8690 PR target/45858
8691 * config.host: Add the missing `$'.
8692
80920132
ME
86932010-09-30 Michael Eager <eager@eagercon.com>
8694
8695 * config.host: Add microblaze*-*-*.
8696 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
8697 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
8698 udivsi3.asm,umodsi3.asm}: New.
8699
6dace308
ILT
87002010-09-28 Ian Lance Taylor <iant@google.com>
8701
8702 * configure.ac: Adjust CFI test to test assembler directly rather
8703 than checking gcc preprocessor macro.
8704 * configure: Rebuild.
8705
b6110d6d
ILT
87062010-09-27 Ian Lance Taylor <iant@google.com>
8707
8708 * configure.ac: Test whether assembler supports CFI directives.
8709 * config.host: Only add t-stack and i386/t-stack-i386 to
8710 tmake_file if libgcc_cv_cfi is "yes".
8711 * configure: Rebuild.
8712
7458026b
ILT
87132010-09-27 Ian Lance Taylor <iant@google.com>
8714
8715 * generic-morestack.h: New file.
8716 * generic-morestack.c: New file.
8717 * generic-morestack-thread.c: New file.
8718 * config/i386/morestack.S: New file.
8719 * config/t-stack: New file.
8720 * config/i386/t-stack-i386: New file.
8721 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
8722 i386/t-stack-i386 to tmake_file.
8723
5b50fc0c
IS
87242010-09-21 Iain Sandoe <iains@gcc.gnu.org>
8725
8726 * Makefile.in (libgcc-extra-parts): Check for static archives and
8727 invoke ranlib after installing them.
8728 (gcc-extra-parts): Likewise.
8729 (install-leaf): Likewise.
8730
b93cf342
L
87312010-09-14 H.J. Lu <hongjiu.lu@intel.com>
8732
8733 * configure: Regenerated.
8734
996b42ef
KT
87352010-09-10 Kai Tietz <kai.tietz@onevision.com>
8736
b93cf342 8737 * configure: Regenerated.
996b42ef 8738
be1c764e
GP
87392010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
8740 Andrew Pinski <pinskia@gmail.com>
8741
1da9434b 8742 PR target/40959
be1c764e
GP
8743 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
8744
cc0ae0ca
L
87452010-09-06 H.J. Lu <hongjiu.lu@intel.com>
8746
8747 PR target/45524
8748 * configure: Regenerated.
8749
84f47d20
AS
87502010-09-06 Andreas Schwab <schwab@redhat.com>
8751
8752 * configure: Regenerate.
8753
4159fb8d
UB
87542010-09-03 Uros Bizjak <ubizjak@gmail.com>
8755
8756 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
8757 64bit targets.
8758 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
8759 for 64bit targets.
8760
0df8fcc8
UB
87612010-09-03 Uros Bizjak <ubizjak@gmail.com>
8762 Iain Sandoe <iains@gcc.gnu.org>
8763
8764 PR target/45476
8765 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
8766 LIB2FUNCS_EXCLUDE functions.
8767
3c39bca6
AK
87682010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8769
8770 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
8771 Include dfp.m4.
8772 * configure: Regenerate.
8773
d78552bd
UB
87742010-09-01 Uros Bizjak <ubizjak@gmail.com>
8775
8776 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
8777 i386/t-freebsd to tmake_file.
8778 * config/i386/t-freebsd: New file.
8779 * config/i386/libgcc-bsd.ver: New file.
8780
c5b79d4e
NF
87812010-07-23 Nathan Froyd <froydnj@codesourcery.com>
8782
8783 * config.host (powerpc*-eabispe*): Set tmake_file.
8784 (powerpc*-eabi*): Likewise.
8785 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
8786 crtbeginS, crtendS, crtbeginT.
8787
48b09a92
KH
87882010-06-12 Kazu Hirata <kazu@codesourcery.com>
8789
8790 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
8791 to tmake_file. Add crtfastmath.o to extra_parts.
8792 * config/mips/t-crtfm: New.
8793
7d296953 87942010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
a4389204
JS
8795
8796 * config.host (sparc64-*-rtems*): New target.
8797
ed104137
RO
87982010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8799
8800 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
8801 assembler syntax.
8802
3f56ef8b
TS
88032010-04-15 Thomas Schwinge <tschwinge@gnu.org>
8804
8805 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
8806
8c200350
RO
88072010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8808
8809 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
8810 alpha-dec-osf5.0* support.
8811
7d296953 88122010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
c1b14424
RC
8813
8814 * config.host: Add lm32-*-rtems*.
8815
f128db92 88162010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7d296953 8817 Uros Bizjak <ubizjak@gmail.com>
f128db92
RO
8818
8819 PR target/39048
8820 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
8821 like other remaining 32-bit x86 OSes.
8822 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
8823 assembler syntax.
8824 * config/i386/libgcc-sol2.ver: New file.
8825 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
8826
7d296953 88272010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
368fabd5
JH
8828
8829 PR c/43553
8830 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
8831 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
8832 is used and substitute set_use_emutls.
8833 * configure: Regenerated.
8834
15baf7f8
TG
88352010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
8836
8837 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
8838
7f5441df
RO
88392010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8840
8841 PR target/38085
8842 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
8843 MULTILIB_CFLAGS.
8844 ($(T)gcrt1.o): Likewise.
8845 ($(T)crt1.o): Likewise.
8846 ($(T)crti.o): Likewise.
8847 ($(T)crtn.o): Likewise.
8848
ef74edbd
RW
88492010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8850
8851 PR other/42980
8852 * Makefile.in (install): Use $(MAKE) string in rule, for
8853 parallel make.
8854
e7c914db
HPN
88552010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
8856
8857 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
8858 * config/mmix/t-mmix: New file.
8859 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
8860
1bcb71c4
JH
88612010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
8862
8863 PR java/41991
8864 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
8865 SHLIB_MAPFILES.
8866
e6e50811
AG
88672010-01-04 Anthony Green <green@moxielogic.com>
8868
8869 * config/moxie/crti.asm, config/moxie/crtn.asm,
8870 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
8871 config/moxie/t-moxie: New files.
8872 * config.host: Add t-moxie-softfp reference.
8873
7d296953 88742009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
ca8520ad
IS
8875
8876 PR other/39888
8877 * config/t-slibgcc-darwin: Fix embedded rpaths for
8878 --enable-version-specific-runtime-libs, build extension stub
8879 libs exposing features available from current libgcc_s.
8880
7d296953 88812009-11-11 Jon Beniston <jon@beniston.com>
aa4945c1 8882
d78552bd
UB
8883 * config.host: Add lm32 targets.
8884 * config/lm32: New directory.
8885 * config/lm32/libgcc_lm32.h: New file.
8886 * config/lm32/_mulsi3.c: New file.
8887 * config/lm32/_udivmodsi4.c: New file.
8888 * config/lm32/_divsi3.c: New file.
8889 * config/lm32/_modsi3.c: New file.
8890 * config/lm32/_udivsi3.c: New file.
8891 * config/lm32/_umodsi3.c: New file.
8892 * config/lm32/_lshrsi3.S: New file.
8893 * config/lm32/_ashrsi3.S: New file.
8894 * config/lm32/_ashlsi3.S: New file.
8895 * config/lm32/crti.S: New file.
8896 * config/lm32/crtn.S: New file.
8897 * config/lm32/t-lm32: New file.
8898 * config/lm32/t-elf: New file.
8899 * config/lm32/t-uclinux: New file.
aa4945c1 8900
65a324b4
NC
89012009-10-26 Nick Clifton <nickc@redhat.com>
8902
8903 * config.host: Add support for RX target.
8904 * config/rx: New directory.
8905 * config/rx/rx-abi-functions.c: New file. Supplementary
8906 functions for libgcc to support the RX ABI.
8907 * config/rx/rx-abi.h: New file. Supplementary header file for
8908 libgcc RX ABI functions.
8909 * config/rx/t-rx: New file: Makefile fragment for building
8910 libgcc for the RX.
8911
dfb3b0e3
UB
89122009-10-09 Uros Bizjak <ubizjak@gmail.com>
8913
8914 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
8915 constraint of y0 to "g".
8916
81dd9fd7
AK
89172009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8918
8919 * config.host: Include the s390 makefile fragments.
8920 * config/s390/32/_fixdfdi.c: New file.
8921 * config/s390/32/_fixsfdi.c: New file.
8922 * config/s390/32/_fixtfdi.c: New file.
8923 * config/s390/32/_fixunsdfdi.c: New file.
8924 * config/s390/32/_fixunssfdi.c: New file.
8925 * config/s390/32/_fixunstfdi.c: New file.
8926 * config/s390/32/t-floattodi: New file.
8927 * config/s390/libgcc-glibc.ver: New file.
8928 * config/s390/t-crtstuff: New file.
8929 * config/s390/t-linux: New file.
8930 * config/s390/t-tpf: New file.
8931
df58e648
RW
89322009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8933
8934 * configure.ac (AC_PREREQ): Bump to 2.64.
8935
79052be3
KK
89362009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
8937
8938 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
8939
5213506e
RW
89402009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8941
8942 * configure: Regenerate.
8943
a9a25daa
DR
89442009-08-09 Douglas B Rupp <rupp@gnat.com>
8945
8946 * config.host (ia64-hp-*vms*): New target.
8947 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
8948 with ia64-hp-*vms*.
8949
6efbd53f
RW
89502009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8951
8952 * configure.ac: Add snippet for maintainer-mode.
8953 * configure: Regenerate.
8954 * Makefile.in (AUTOCONF, configure_deps): New variables.
8955 ($(srcdir)/configure)): New rule, active only with maintainer
8956 mode turned on.
8957
7acf4da6
DD
89582009-06-23 DJ Delorie <dj@redhat.com>
8959
8960 Add MeP port.
8961 * config.host: Add mep support.
8962
54f549af
KT
89632009-06-22 Kai Tietz <kai.tietz@onevision.com>
8964
34481f28 8965 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 8966 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
34481f28
UB
8967
8968 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
8969 for mingw targets.
54f549af
KT
8970 * config/i386/64/_multc3.c: Likewise.
8971 * config/i386/64/_powitf2.c: Likewise.
8972 * config/i386/64/eqtf2.c: Likewise.
8973 * config/i386/64/getf2.c: Likewise.
8974 * config/i386/64/letf2.c: Likewise.
8975 * config/i386/64/letf2.c: Likewise.
34481f28
UB
8976 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
8977 unsigned long long for x64 mingw targets.
8978 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
8979 (_FP_I_TYPE): Define as long long for x64 mingw target.
54f549af 8980
fea96e25
MR
89812009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
8982
8983 * config.host (vax-*-linux*): New.
8984
cceb575c
AG
89852009-05-31 Anthony Green <green@moxielogic.com>
8986
8987 * config.host: Add moxie support.
8988 * config/moxie/t-moxie: New file.
8989
7d296953 89902009-05-29 David Billinghurst <billingd@gcc.gnu.org>
e997fb9c
DB
8991
8992 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 8993 t-softfp to tmake_file for i[34567]86-*-cygwin*.
e997fb9c 8994
532bfb0a
AJ
89952009-04-17 Aurelien Jarno <aurelien@aurel32.net>
8996
8997 * config.host: Add i386/${host_address}/t-fprules-softfp to
8998 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
8999
748086b7
JJ
90002009-04-09 Nick Clifton <nickc@redhat.com>
9001
9002 * config/ia64/tf-signs.c: Change copyright header to refer to
9003 version 3 of the GNU General Public License with version 3.1
9004 of the GCC Runtime Library Exception and to point readers at
9005 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
9006 web page.
9007 * config/i386/32/tf-signs.c: Likewise.
9008 * config/libbid/_addsub_dd.c: Likewise.
9009 * config/libbid/_addsub_sd.c: Likewise.
9010 * config/libbid/_addsub_td.c: Likewise.
9011 * config/libbid/_dd_to_df.c: Likewise.
9012 * config/libbid/_dd_to_di.c: Likewise.
9013 * config/libbid/_dd_to_sd.c: Likewise.
9014 * config/libbid/_dd_to_sf.c: Likewise.
9015 * config/libbid/_dd_to_si.c: Likewise.
9016 * config/libbid/_dd_to_td.c: Likewise.
9017 * config/libbid/_dd_to_tf.c: Likewise.
9018 * config/libbid/_dd_to_udi.c: Likewise.
9019 * config/libbid/_dd_to_usi.c: Likewise.
9020 * config/libbid/_dd_to_xf.c: Likewise.
9021 * config/libbid/_df_to_dd.c: Likewise.
9022 * config/libbid/_df_to_sd.c: Likewise.
9023 * config/libbid/_df_to_td.c: Likewise.
9024 * config/libbid/_di_to_dd.c: Likewise.
9025 * config/libbid/_di_to_sd.c: Likewise.
9026 * config/libbid/_di_to_td.c: Likewise.
9027 * config/libbid/_div_dd.c: Likewise.
9028 * config/libbid/_div_sd.c: Likewise.
9029 * config/libbid/_div_td.c: Likewise.
9030 * config/libbid/_eq_dd.c: Likewise.
9031 * config/libbid/_eq_sd.c: Likewise.
9032 * config/libbid/_eq_td.c: Likewise.
9033 * config/libbid/_ge_dd.c: Likewise.
9034 * config/libbid/_ge_sd.c: Likewise.
9035 * config/libbid/_ge_td.c: Likewise.
9036 * config/libbid/_gt_dd.c: Likewise.
9037 * config/libbid/_gt_sd.c: Likewise.
9038 * config/libbid/_gt_td.c: Likewise.
9039 * config/libbid/_isinfd128.c: Likewise.
9040 * config/libbid/_isinfd32.c: Likewise.
9041 * config/libbid/_isinfd64.c: Likewise.
9042 * config/libbid/_le_dd.c: Likewise.
9043 * config/libbid/_le_sd.c: Likewise.
9044 * config/libbid/_le_td.c: Likewise.
9045 * config/libbid/_lt_dd.c: Likewise.
9046 * config/libbid/_lt_sd.c: Likewise.
9047 * config/libbid/_lt_td.c: Likewise.
9048 * config/libbid/_mul_dd.c: Likewise.
9049 * config/libbid/_mul_sd.c: Likewise.
9050 * config/libbid/_mul_td.c: Likewise.
9051 * config/libbid/_ne_dd.c: Likewise.
9052 * config/libbid/_ne_sd.c: Likewise.
9053 * config/libbid/_ne_td.c: Likewise.
9054 * config/libbid/_sd_to_dd.c: Likewise.
9055 * config/libbid/_sd_to_df.c: Likewise.
9056 * config/libbid/_sd_to_di.c: Likewise.
9057 * config/libbid/_sd_to_sf.c: Likewise.
9058 * config/libbid/_sd_to_si.c: Likewise.
9059 * config/libbid/_sd_to_td.c: Likewise.
9060 * config/libbid/_sd_to_tf.c: Likewise.
9061 * config/libbid/_sd_to_udi.c: Likewise.
9062 * config/libbid/_sd_to_usi.c: Likewise.
9063 * config/libbid/_sd_to_xf.c: Likewise.
9064 * config/libbid/_sf_to_dd.c: Likewise.
9065 * config/libbid/_sf_to_sd.c: Likewise.
9066 * config/libbid/_sf_to_td.c: Likewise.
9067 * config/libbid/_si_to_dd.c: Likewise.
9068 * config/libbid/_si_to_sd.c: Likewise.
9069 * config/libbid/_si_to_td.c: Likewise.
9070 * config/libbid/_td_to_dd.c: Likewise.
9071 * config/libbid/_td_to_df.c: Likewise.
9072 * config/libbid/_td_to_di.c: Likewise.
9073 * config/libbid/_td_to_sd.c: Likewise.
9074 * config/libbid/_td_to_sf.c: Likewise.
9075 * config/libbid/_td_to_si.c: Likewise.
9076 * config/libbid/_td_to_tf.c: Likewise.
9077 * config/libbid/_td_to_udi.c: Likewise.
9078 * config/libbid/_td_to_usi.c: Likewise.
9079 * config/libbid/_td_to_xf.c: Likewise.
9080 * config/libbid/_tf_to_dd.c: Likewise.
9081 * config/libbid/_tf_to_sd.c: Likewise.
9082 * config/libbid/_tf_to_td.c: Likewise.
9083 * config/libbid/_udi_to_dd.c: Likewise.
9084 * config/libbid/_udi_to_sd.c: Likewise.
9085 * config/libbid/_udi_to_td.c: Likewise.
9086 * config/libbid/_unord_dd.c: Likewise.
9087 * config/libbid/_unord_sd.c: Likewise.
9088 * config/libbid/_unord_td.c: Likewise.
9089 * config/libbid/_usi_to_dd.c: Likewise.
9090 * config/libbid/_usi_to_sd.c: Likewise.
9091 * config/libbid/_usi_to_td.c: Likewise.
9092 * config/libbid/_xf_to_dd.c: Likewise.
9093 * config/libbid/_xf_to_sd.c: Likewise.
9094 * config/libbid/_xf_to_td.c: Likewise.
9095 * config/libbid/bid128.c: Likewise.
9096 * config/libbid/bid128_2_str.h: Likewise.
9097 * config/libbid/bid128_2_str_macros.h: Likewise.
9098 * config/libbid/bid128_2_str_tables.c: Likewise.
9099 * config/libbid/bid128_add.c: Likewise.
9100 * config/libbid/bid128_compare.c: Likewise.
9101 * config/libbid/bid128_div.c: Likewise.
9102 * config/libbid/bid128_fma.c: Likewise.
9103 * config/libbid/bid128_logb.c: Likewise.
9104 * config/libbid/bid128_minmax.c: Likewise.
9105 * config/libbid/bid128_mul.c: Likewise.
9106 * config/libbid/bid128_next.c: Likewise.
9107 * config/libbid/bid128_noncomp.c: Likewise.
9108 * config/libbid/bid128_quantize.c: Likewise.
9109 * config/libbid/bid128_rem.c: Likewise.
9110 * config/libbid/bid128_round_integral.c: Likewise.
9111 * config/libbid/bid128_scalb.c: Likewise.
9112 * config/libbid/bid128_sqrt.c: Likewise.
9113 * config/libbid/bid128_string.c: Likewise.
9114 * config/libbid/bid128_to_int16.c: Likewise.
9115 * config/libbid/bid128_to_int32.c: Likewise.
9116 * config/libbid/bid128_to_int64.c: Likewise.
9117 * config/libbid/bid128_to_int8.c: Likewise.
9118 * config/libbid/bid128_to_uint16.c: Likewise.
9119 * config/libbid/bid128_to_uint32.c: Likewise.
9120 * config/libbid/bid128_to_uint64.c: Likewise.
9121 * config/libbid/bid128_to_uint8.c: Likewise.
9122 * config/libbid/bid32_to_bid128.c: Likewise.
9123 * config/libbid/bid32_to_bid64.c: Likewise.
9124 * config/libbid/bid64_add.c: Likewise.
9125 * config/libbid/bid64_compare.c: Likewise.
9126 * config/libbid/bid64_div.c: Likewise.
9127 * config/libbid/bid64_fma.c: Likewise.
9128 * config/libbid/bid64_logb.c: Likewise.
9129 * config/libbid/bid64_minmax.c: Likewise.
9130 * config/libbid/bid64_mul.c: Likewise.
9131 * config/libbid/bid64_next.c: Likewise.
9132 * config/libbid/bid64_noncomp.c: Likewise.
9133 * config/libbid/bid64_quantize.c: Likewise.
9134 * config/libbid/bid64_rem.c: Likewise.
9135 * config/libbid/bid64_round_integral.c: Likewise.
9136 * config/libbid/bid64_scalb.c: Likewise.
9137 * config/libbid/bid64_sqrt.c: Likewise.
9138 * config/libbid/bid64_string.c: Likewise.
9139 * config/libbid/bid64_to_bid128.c: Likewise.
9140 * config/libbid/bid64_to_int16.c: Likewise.
9141 * config/libbid/bid64_to_int32.c: Likewise.
9142 * config/libbid/bid64_to_int64.c: Likewise.
9143 * config/libbid/bid64_to_int8.c: Likewise.
9144 * config/libbid/bid64_to_uint16.c: Likewise.
9145 * config/libbid/bid64_to_uint32.c: Likewise.
9146 * config/libbid/bid64_to_uint64.c: Likewise.
9147 * config/libbid/bid64_to_uint8.c: Likewise.
9148 * config/libbid/bid_b2d.h: Likewise.
9149 * config/libbid/bid_binarydecimal.c: Likewise.
9150 * config/libbid/bid_conf.h: Likewise.
9151 * config/libbid/bid_convert_data.c: Likewise.
9152 * config/libbid/bid_decimal_data.c: Likewise.
9153 * config/libbid/bid_decimal_globals.c: Likewise.
9154 * config/libbid/bid_div_macros.h: Likewise.
9155 * config/libbid/bid_dpd.c: Likewise.
9156 * config/libbid/bid_flag_operations.c: Likewise.
9157 * config/libbid/bid_from_int.c: Likewise.
9158 * config/libbid/bid_functions.h: Likewise.
9159 * config/libbid/bid_gcc_intrinsics.h: Likewise.
9160 * config/libbid/bid_inline_add.h: Likewise.
9161 * config/libbid/bid_internal.h: Likewise.
9162 * config/libbid/bid_round.c: Likewise.
9163 * config/libbid/bid_sqrt_macros.h: Likewise.
9164
91652009-04-09 Jakub Jelinek <jakub@redhat.com>
9166
9167 * Makefile.in: Change copyright header to refer to version
9168 3 of the GNU General Public License and to point readers at the
9169 COPYING3 file and the FSF's license web page.
9170 * config.host: Likewise.
9171
633dd061
AM
91722009-04-07 Alan Modra <amodra@bigpond.net.au>
9173
9174 * config.host: Reorder and merge to match config.gcc change.
9175
457d1d00
AM
91762009-04-03 Alan Modra <amodra@bigpond.net.au>
9177
9178 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
9179
52c0e446
JM
91802009-03-28 Joseph Myers <joseph@codesourcery.com>
9181
9182 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
9183 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
9184 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
9185 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
9186
ba181049
UB
91872009-02-12 Uros Bizjak <ubizjak@gmail.com>
9188
9189 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
9190 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9191
c252db20
L
91922009-02-12 H.J. Lu <hongjiu.lu@intel.com>
9193
ba181049
UB
9194 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
9195 ia64/t-softfp-compat to tmake_file.
c252db20
L
9196
9197 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
9198
9199 * config/ia64/__divxf3.asm: New.
9200 * config/ia64/_fixtfdi.asm: Likewise.
9201 * config/ia64/_fixunstfdi.asm: Likewise.
9202 * config/ia64/_floatditf.asm: Likewise.
9203 * config/ia64/t-fprules-softfp: Likewise.
9204 * config/ia64/t-softfp-compat: Likewise.
9205 * config/ia64/tf-signs.c: Likewise.
9206
c60535f9
BE
92072009-01-18 Ben Elliston <bje@au.ibm.com>
9208
9209 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9210
ce16861e
BE
92112009-01-16 Ben Elliston <bje@au.ibm.com>
9212
9213 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
9214 to tmake_file.
9215
bcf4713b
BE
92162009-01-13 Ben Elliston <bje@au.ibm.com>
9217
9218 * config/t-softfp: New file.
9219 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
9220 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
9221
7d296953 92222009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
2042cb04
JS
9223
9224 * config.host: Add m32r*-*-rtems*.
9225
7d296953 92262008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
541ed00e
JS
9227
9228 * config.host: Add m32c*-*-rtems*.
9229
19523300
RO
92302008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9231
9232 PR bootstrap/33100
9233 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
9234 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
9235 * configure: Regenerate.
9236 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
9237 tmake_file here from gcc/config.gcc.
9238 Move extra_parts here from gcc/config.gcc.
9239 * config/i386/t-sol2: Move here from gcc/config/i386.
9240 Use gcc_srcdir instead of srcdir.
9241
0a4a51c7
AN
92422008-11-18 Adam Nemet <anemet@caviumnetworks.com>
9243
9244 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
9245 case.
9246
2a761e46
TS
92472008-11-09 Thomas Schwinge <tschwinge@gnu.org>
9248
9249 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
9250
c0451df7
TS
92512008-10-08 Thomas Schwinge <tschwinge@gnu.org>
9252
9253 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
9254
358da97e
HS
92552008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
9256
9257 Add picoChip port.
9258 * config.host: Add picochip-*-*.
9259
c660f132
BW
92602008-08-06 Bob Wilson <bob.wilson@acm.org>
9261
9262 * config.host: Match more processor names for Xtensa.
9263
d1349557
L
92642008-07-08 H.J. Lu <hongjiu.lu@intel.com>
9265
9266 * config/i386/64/t-softfp-compat: Update comments.
9267
dd7b73c0
L
92682008-07-07 H.J. Lu <hongjiu.lu@intel.com>
9269
9270 * config/i386/64/_divtc3-compat.c: Moved to ...
9271 * config/i386/64/_divtc3.c: Here.
9272
9273 * config/i386/64/_multc3-compat.c: Moved to ...
9274 * config/i386/64/_multc3.c: Here.
9275
9276 * config/i386/64/_powitf2-compat.c: Moved to ...
9277 * config/i386/64/_powitf2.c: Here.
9278
9279 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
9280 .c suffix instead of -compat.c.
9281
6e1fab3d
UB
92822008-07-05 Uros Bizjak <ubizjak@gmail.com>
9283
9284 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
9285 (_FP_MUL_MEAT_D): Ditto.
9286 (_FP_DIV_MEAT_S): Ditto.
9287 (_FP_DIV_MEAT_D): Ditto.
9288
f92518d7
RS
92892008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
9290
9291 * Makefile.in: Add support for __sync_* libgcc functions.
9292
d0aede14
L
92932008-07-03 H.J. Lu <hongjiu.lu@intel.com>
9294
9295 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
9296
c174f11c
L
92972008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9298
9299 PR boostrap/36702
9300 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
9301 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
9302
9303 * config/i386/64/t-fprules-softfp: Moved to ...
9304 * config/i386/64/t-softfp-compat: This. New.
9305
5f464fa2
UB
93062008-07-02 Uros Bizjak <ubizjak@gmail.com>
9307
9308 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
9309 Initialize f with 0.0.
9310
ff473280
L
93112008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9312
9313 PR target/36669
9314 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
9315
9316 * config/i386/64/_divtc3-compat.c: New.
9317 * config/i386/64/_multc3-compat.c: Likewise.
9318 * config/i386/64/_powitf2-compat.c: Likewise.
9319 * config/i386/64/eqtf2.c: Likewise.
9320 * config/i386/64/getf2.c: Likewise.
9321 * config/i386/64/letf2.c: Likewise.
9322 * config/i386/64/t-fprules-softfp: Likewise.
9323
93242008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9325
9326 * config.host: Add i386/${host_address}/t-fprules-softfp to
9327 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
dfb3b0e3 9328 i[34567]86-*-linux*, x86_64-*-linux*.
ff473280
L
9329
9330 * configure.ac: Set host_address to 64 or 32 for x86.
9331 * configure: Regenerated.
9332
9333 * Makefile.in (config.status): Also depend on
9334 $(srcdir)/config.host.
9335
9336 * config/i386/32/t-fprules-softfp: New.
9337 * config/i386/32/tf-signs.c: Likewise.
9338
9339 * config/i386/64/sfp-machine.h: New. Moved from gcc.
9340
93412008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9342 Uros Bizjak <ubizjak@gmail.com>
9343
9344 * config/i386/32/sfp-machine.h: New.
9345
30551d99
NF
93462008-06-26 Nathan Froyd <froydnj@codesourcery.com>
9347
9348 * config/rs6000/t-ppccomm: Remove rules that conflict with
9349 auto-generated rules.
9350
18c04407
RW
93512008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9352
9353 * configure.ac: sinclude override.m4.
9354 * configure: Regenerate.
9355
10fbe77a
BRF
93562008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
9357
9358 * configure: Regenerate.
9359
bc6d4c3f
JM
93602008-06-10 Joseph Myers <joseph@codesourcery.com>
9361
9362 * Makefile.in (DECNUMINC): Remove
9363 -I$(MULTIBUILDTOP)../../libdecnumber.
9364 * gstdint.h: New.
9365
cd985f66
JM
93662008-06-07 Joseph Myers <joseph@codesourcery.com>
9367
9368 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
9369 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
9370 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
9371 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
9372 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
9373 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
9374 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
9375 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
9376 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
9377 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
9378 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
9379 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
9380 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
9381 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
9382
93fea8d3
AL
93832008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
9384
9385 * config.host (sh2[lbe]*-*-linux*): Allow target.
9386
18724e30
NF
93872008-04-30 Nathan Froyd <froydnj@codesourcery.com>
9388
9389 * config/rs6000/t-ppccomm: Add build rules for new files.
9390 (LIB2ADD_ST): New variable.
9391
47583040
AH
93922008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
9393
9394 PR target/34210
9395 PR target/35508
9396 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
9397 * config/t-avr: New file. Build 16bit libgcc functions.
9398
cf8e67fe
JJ
93992008-03-02 Jakub Jelinek <jakub@redhat.com>
9400
9401 PR target/35401
9402 * config/t-slibgcc-darwin: Make install-leaf dependent on
9403 install-darwin-libgcc-stubs instead of install.
9404
8d8da227
JM
94052008-01-25 Joseph Myers <joseph@codesourcery.com>
9406
9407 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
9408 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
9409 sh-*-rtemscoff*): Remove cases.
9410
edbf8b16
RS
94112007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
9412
9413 * Makefile.in (all): Use install-leaf rather than install.
9414 (install): Split most of the rule into...
9415 (install-leaf): ...this new one.
9416
89deeaff
EK
94172007-12-19 Etsushi Kato <ek.kato@gmail.com>
9418 Paolo Bonzini <bonzini@gnu.org>
9419
9420 PR target/30572
5f464fa2
UB
9421 * Makefile.in: Use @shlib_slibdir@ substitution to get
9422 correct install name on darwin.
89deeaff 9423 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
dfb3b0e3 9424
4081d704
HPN
94252007-12-15 Hans-Peter Nilsson <hp@axis.com>
9426
9427 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
9428 cris-*-elf and cris-*-none.
9429 (crisv32-*-linux*): Similar, as cris-*-linux*.
9430
f43e89a3
RIL
94312007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
9432
9433 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
9434
b4e9c2c6
L
94352007-10-27 H.J. Lu <hongjiu.lu@intel.com>
9436
9437 PR regression/33926
9438 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
9439 * configure: Regenerated.
9440
b2a00c89
L
94412007-09-27 H.J. Lu <hongjiu.lu@intel.com>
9442
9443 * Makefile.in (dfp-filenames): Replace decimal_globals,
9444 decimal_data, binarydecimal and convert_data with
9445 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
9446 and bid_convert_data, respectively.
9447
8d2a9e0e
CF
94482007-09-17 Chao-ying Fu <fu@mips.com>
9449 Nigel Stephens <nigel@mips.com>
9450
9451 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
9452 * Makefile.in (fixed_point): Define.
9453 Check if fixed_point is yes to build support functions.
9454 * configure.ac: Check for fixed_point support.
9455 * configure: Regenerated.
9456 * gen-fixed.sh: New file to generate lists of fixed-point labels,
9457 funcs, modes, from, to.
9458
2b53935d
JJ
94592007-09-11 Janis Johnson <janis187@us.ibm.com
9460
9461 * Makefile.in (dfp-filenames): Add bid128_noncomp.
9462
2533577f
JJ
94632007-09-10 Janis Johnson <janis187@us.ibm.com>
9464
9465 * Makefile.in (dfp-filenames): Remove decUtility, add
9466 decDouble, decPacked, decQuad, decSingle.
9467
3ae3dbd6
HK
94682007-08-27 Hans Kester <hans.kester@ellips.nl>
9469
9470 * config.host : Add x86_64-elf target.
9471
22867d02
L
94722007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9473
9474 * configure.ac (set_have_cc_tls): Add a missing =.
9475 * configure: Regenerated.
9476
6f461e76
L
94772007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9478
9479 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
9480 and x86_64-*-linux*.
9481
9482 * config/t-tls: New file.
9483
dfb3b0e3 9484 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6f461e76
L
9485
9486 * configure.ac: Include ../config/enable.m4 and
9487 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
9488 supports TLS and substitute set_have_cc_tls.
9489 * configure: Regenerated.
9490
200359e8
L
94912007-07-04 H.J. Lu <hongjiu.lu@intel.com>
9492
9493 * Makefile.in: Use libbid for DFP when BID is enabled.
9494
76f5e200
DS
94952007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
9496
9497 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
dfb3b0e3 9498 extra_parts. Add config/i386/t-cygming to tmake_file.
76f5e200
DS
9499 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
9500
9bd196f0 95012007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
200359e8 9502 Danny Smith <dannysmith@users.sourceforge.net>
9bd196f0
ZM
9503
9504 PR target/29498
9505 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
9506 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
9507 * config/i386/t-crtfm: Compile crtfastmath.o with
9508 -minline-all-stringops.
9509
1910440e
RS
95102007-05-10 Richard Sandiford <richard@codesourcery.com>
9511
9512 * config.host (sparc-wrs-vxworks): New target.
9513
7d33c31d
KH
95142007-04-14 Kazu Hirata <kazu@codesourcery.com>
9515
9516 * config.host: Recognize fido.
9517
96fccd0d
JJ
95182007-04-04 Janis Johnson <janis187@us.ibm.com>
9519
9520 * configure: Check host, not target, for decimal float support.
9521
577565f9
UB
95222007-04-03 Uros Bizjak <ubizjak@gmail.com>
9523
9524 * config/i386/t-crtpc: New file.
9525 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5f464fa2 9526 (x86_64-*-linux*): Ditto.
577565f9 9527
ccf8e764
RH
95282007-02-30 Kai Tietz <kai.tietz@onevision.com>
9529
9530 * config.host (x86_64-*-mingw*): New target.
9531
79b87c74
MM
95322007-03-23 Michael Meissner <michael.meissner@amd.com>
9533 H.J. Lu <hongjiu.lu@intel.com>
9534
9535 * Makefile.in (enable_decimal_float): New.
9536 (DECNUMINC): Add
9537 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
9538 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
9539 (decbits-filenames): This.
9540 (decbits-objects): New.
9541 (libgcc-objects): Add $(decbits-objects).
9542
9543 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
9544 Substitute enable_decimal_float.
9545 * configure: Regenerated.
9546
8fce4e31
HPN
95472007-03-19 Hans-Peter Nilsson <hp@axis.com>
9548
9549 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
9550
e8bb4597
BM
95512007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
9552
9553 * Makefile.in (install-info): New dummy target.
9554
344189f9
BS
95552007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
9556
9557 * config.host (bfin*-linux-uclibc*): Set extra_parts.
9558
ac84c172
BM
95592007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
9560
9561 * Makefile.in: Add install-html and install-pdf dummy
9562 targets.
9563
cd5c2357
RS
95642007-02-05 Roger Sayle <roger@eyesopen.com>
9565 Daniel Jacobowitz <dan@codesourcery.com>
9566
9567 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
9568 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
9569 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
9570
d9a66f98
JJ
95712007-01-29 Janis Johnson <janis187@us.ibm.com>
9572
9573 * Makefile.in (dec-filenames): Add decExcept.
9574
9891ec5f
DJ
95752007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
9576
9577 PR bootstrap/30469
9578 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
9579 -fprofile-use.
9580
d6efbf5a
DJ
95812007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
9582
9583 * configure.ac: Add --enable-version-specific-runtime-libs.
9584 Correct $slibdir default.
9585 * configure: Regenerated.
9586
17caeff2
JM
95872007-01-23 Joseph Myers <joseph@codesourcery.com>
9588
9589 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
9590
5ea41e3a
AP
95912007-01-21 Andrew Pinski <pinskia@gmail.com>
9592
9593 PR target/30519
9594 * config.host (alpha*-*-linux*): Set extra_parts.
9595
26900826
KK
95962007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
9597
9598 * config/sh/t-linux: New.
9599 * config.host (sh*-*-linux*): Set tmake_file.
9600
97af925b
DJ
96012007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
9602
9603 * Makefile.in (install): Handle multilibs.
9604
b0088af7
BM
96052007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
9606
9607 * Makefile.in: Added .PHONY entry for documentation targets.
9608
e0a9456a
BM
96092007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
9610
9611 * Makefile.in: Add empty info, html, dvi, pdf targets.
9612
7fd453b4
MS
96132007-01-04 Mike Stump <mrs@apple.com>
9614
9615 * Makefile.in (MAKEINFO): Remove.
9616 (PERL): Likewise.
9617
14e8fc8b
PB
96182007-01-04 Paolo Bonzini <bonzini@gnu.org>
9619
9620 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
9621 * configure: Regenerate.
9622 * Makefile.in (host_subdir): Substitute it.
dfb3b0e3 9623 (gcc_objdir): Use it.
14e8fc8b 9624
1555beba
DJ
96252007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9626
9627 * config.host (ia64*-*-linux*): Set tmake_file.
9628
79e6eaeb
DJ
96292007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9630
9631 * Makefile.in (version): Define.
9632
fa958513
DJ
96332007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
9634 Paolo Bonzini <bonzini@gnu.org>
9635
9636 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
9637 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
9638 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
9639 config/sparc/t-crtfm, config/t-slibgcc-darwin,
9640 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
9641 shared-object.mk, siditi-object.mk, static-object.mk: New files.
9642 * configure: Generated.
818ab71a 9643\f
85ec4feb 9644Copyright (C) 2007-2018 Free Software Foundation, Inc.
818ab71a
JJ
9645
9646Copying and distribution of this file, with or without modification,
9647are permitted in any medium without royalty provided the copyright
9648notice and this notice are preserved.