]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
arm - use the new CPU alias option to simplify the list of CPUs.
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
222cfefa
KC
12018-11-08 Kito Cheng <kito@andestech.com>
2
3 * soft-fp/adddf3.c: Update from glibc.
4 * soft-fp/addsf3.c: Likewise.
5 * soft-fp/addtf3.c: Likewise.
6 * soft-fp/divdf3.c: Likewise.
7 * soft-fp/divsf3.c: Likewise.
8 * soft-fp/divtf3.c: Likewise.
9 * soft-fp/double.h: Likewise.
10 * soft-fp/eqdf2.c: Likewise.
11 * soft-fp/eqsf2.c: Likewise.
12 * soft-fp/eqtf2.c: Likewise.
13 * soft-fp/extenddftf2.c: Likewise.
14 * soft-fp/extended.h: Likewise.
15 * soft-fp/extendhftf2.c: Likewise.
16 * soft-fp/extendsfdf2.c: Likewise.
17 * soft-fp/extendsftf2.c: Likewise.
18 * soft-fp/extendxftf2.c: Likewise.
19 * soft-fp/fixdfdi.c: Likewise.
20 * soft-fp/fixdfsi.c: Likewise.
21 * soft-fp/fixdfti.c: Likewise.
22 * soft-fp/fixhfti.c: Likewise.
23 * soft-fp/fixsfdi.c: Likewise.
24 * soft-fp/fixsfsi.c: Likewise.
25 * soft-fp/fixsfti.c: Likewise.
26 * soft-fp/fixtfdi.c: Likewise.
27 * soft-fp/fixtfsi.c: Likewise.
28 * soft-fp/fixtfti.c: Likewise.
29 * soft-fp/fixunsdfdi.c: Likewise.
30 * soft-fp/fixunsdfsi.c: Likewise.
31 * soft-fp/fixunsdfti.c: Likewise.
32 * soft-fp/fixunshfti.c: Likewise.
33 * soft-fp/fixunssfdi.c: Likewise.
34 * soft-fp/fixunssfsi.c: Likewise.
35 * soft-fp/fixunssfti.c: Likewise.
36 * soft-fp/fixunstfdi.c: Likewise.
37 * soft-fp/fixunstfsi.c: Likewise.
38 * soft-fp/fixunstfti.c: Likewise.
39 * soft-fp/floatdidf.c: Likewise.
40 * soft-fp/floatdisf.c: Likewise.
41 * soft-fp/floatditf.c: Likewise.
42 * soft-fp/floatsidf.c: Likewise.
43 * soft-fp/floatsisf.c: Likewise.
44 * soft-fp/floatsitf.c: Likewise.
45 * soft-fp/floattidf.c: Likewise.
46 * soft-fp/floattihf.c: Likewise.
47 * soft-fp/floattisf.c: Likewise.
48 * soft-fp/floattitf.c: Likewise.
49 * soft-fp/floatundidf.c: Likewise.
50 * soft-fp/floatundisf.c: Likewise.
51 * soft-fp/floatunditf.c: Likewise.
52 * soft-fp/floatunsidf.c: Likewise.
53 * soft-fp/floatunsisf.c: Likewise.
54 * soft-fp/floatunsitf.c: Likewise.
55 * soft-fp/floatuntidf.c: Likewise.
56 * soft-fp/floatuntihf.c: Likewise.
57 * soft-fp/floatuntisf.c: Likewise.
58 * soft-fp/floatuntitf.c: Likewise.
59 * soft-fp/gedf2.c: Likewise.
60 * soft-fp/gesf2.c: Likewise.
61 * soft-fp/getf2.c: Likewise.
62 * soft-fp/half.h: Likewise.
63 * soft-fp/ledf2.c: Likewise.
64 * soft-fp/lesf2.c: Likewise.
65 * soft-fp/letf2.c: Likewise.
66 * soft-fp/muldf3.c: Likewise.
67 * soft-fp/mulsf3.c: Likewise.
68 * soft-fp/multf3.c: Likewise.
69 * soft-fp/negdf2.c: Likewise.
70 * soft-fp/negsf2.c: Likewise.
71 * soft-fp/negtf2.c: Likewise.
72 * soft-fp/op-1.h: Likewise.
73 * soft-fp/op-2.h: Likewise.
74 * soft-fp/op-4.h: Likewise.
75 * soft-fp/op-8.h: Likewise.
76 * soft-fp/op-common.h: Likewise.
77 * soft-fp/quad.h: Likewise.
78 * soft-fp/single.h: Likewise.
79 * soft-fp/soft-fp.h: Likewise.
80 * soft-fp/subdf3.c: Likewise.
81 * soft-fp/subsf3.c: Likewise.
82 * soft-fp/subtf3.c: Likewise.
83 * soft-fp/truncdfsf2.c: Likewise.
84 * soft-fp/trunctfdf2.c: Likewise.
85 * soft-fp/trunctfhf2.c: Likewise.
86 * soft-fp/trunctfsf2.c: Likewise.
87 * soft-fp/trunctfxf2.c: Likewise.
88 * soft-fp/unorddf2.c: Likewise.
89 * soft-fp/unordsf2.c: Likewise.
90 * soft-fp/unordtf2.c: Likewise.
91
2901f42f
VK
922018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
93
94 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
95 * config/i386/cpuinfo.h (processor_types): Add znver2.
96
4310ca66
PK
972018-11-01 Paul Koning <ni1d@arrl.net>
98
99 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
100 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
101
22e05272
JM
1022018-10-31 Joseph Myers <joseph@codesourcery.com>
103
104 PR bootstrap/82856
105 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
106 * configure: Regenerate.
107
8180cde0
CZ
1082018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
109
110 * config/arc/lib1funcs.S (_muldi3): New function.
111 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
112
be7b071e
RV
1132018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
114
115 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
116
3239d726
ML
1172018-10-25 Martin Liska <mliska@suse.cz>
118
119 PR other/87735
120 * libgcov-profiler.c: Revert.
121
19b55958
ML
1222018-10-24 Martin Liska <mliska@suse.cz>
123
124 * libgcov-profiler.c: Start from 1 in order to distinguish
125 functions which were seen and these that were not.
126
a9a2fddb
PK
1272018-10-18 Paul Koning <ni1d@arrl.net>
128
129 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
130 standard.
131 * divmod.c: Update references to __udivmodsi4.
132 * udivmod.c: Ditto.
133 * udivhi3.c: New file.
134 * udivmodhi4.c: New file.
135 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
136
fc8abc46
RV
1372018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
138
139 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
140
87f918e3
OH
1412018-10-12 Olivier Hainque <hainque@adacore.com>
142
143 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
144 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
145
be86efa7
PK
1462018-10-08 Paul Koning <ni1d@arrl.net>
147
148 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
149
3edbcdbe
ML
1502018-10-04 Martin Liska <mliska@suse.cz>
151
152 PR gcov-profile/84107
153 * libgcov-profiler.c (__gcov_indirect_call):
154 Change type to indirect_call_tuple.
155 (struct indirect_call_tuple): New struct.
156 (__gcov_indirect_call_topn_profiler): Change type.
157 (__gcov_indirect_call_profiler_v2): Use the new
158 variables.
159 * libgcov.h (struct indirect_call_tuple): New struct
160 definition.
161
af8096fc
UB
1622018-10-03 Uros Bizjak <ubizjak@gmail.com>
163
164 * libgcc2.c (isnan): Use __builtin_isnan.
165 (isfinite): Use __builtin_isfinite.
166 (isinf): Use __builtin_isinf.
167
0a76bba4
UB
1682018-09-26 Uros Bizjak <ubizjak@gmail.com>
169
170 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
171
5244089f
OH
1722018-09-21 Alexandre Oliva <oliva@adacore.com>
173
174 * config/vxcache.c: New file. Provide __clear_cache, based on
175 the cacheTextUpdate VxWorks service.
176 * config/t-vxworks (LIB2ADD): Add vxcache.c.
177 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
178 * config/t-vxwoks7: Likewise.
179
512cc015
ML
1802018-09-21 Martin Liska <mliska@suse.cz>
181
182 * libgcov-driver.c (crc32_unsigned): Remove.
183 (gcov_histogram_insert): Likewise.
184 (gcov_compute_histogram): Likewise.
185 (compute_summary): Simplify rapidly.
186 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
187 (merge_summary): Rapidly simplify.
188 (dump_one_gcov): Ignore gcov_summary.
189 (gcov_do_dump): Do not handle program summary, it's not
190 used.
191 * libgcov-util.c (tag_summary): Remove.
192 (read_gcda_finalize): Fix coding style.
193 (read_gcda_file): Initialize curr_object_summary.
194 (compute_summary): Remove.
195 (calculate_overlap): Remove settings of run_max.
196
36ff254b
MC
1972018-09-21 Monk Chiang <sh.chiang04@gmail.com>
198
199 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
200 ucontext_t type instead.
201 (nds32_fallback_frame_state): Remove struct _sigframe statement.
202
229a033d
KC
2032018-09-21 Kito Cheng <kito.cheng@gmail.com>
204
205 * config/nds32/t-nds32-glibc: New file.
206
53c6feb2
RO
2072018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
208
209 * configure.ac (solaris_ld_v2_maps): New test.
210 * configure: Regenerate.
211 * Makefile.in (solaris_ld_v2_maps): New variable.
212 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
213 if supported.
214
ebdb6f23
RE
2152018-08-23 Richard Earnshaw <rearnsha@arm.com>
216
217 PR target/86951
218 * config/arm/lib1funcs.asm (speculation_barrier): New function.
219 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
220 to build.
221
a49c064e
IS
2222018-08-22 Iain Sandoe <iain@sandoe.co.uk>
223
224 * config/unwind-dw2-fde-darwin.c
225 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
226 * config/darwin10-unwind-find-enc-func.c: … to here.
227 * config/t-darwin: Build Darwin10 unwinder shim crt.
228 * libgcc/config.host: Add the Darwin10 unwinder shim.
229
9a5b8df7
RV
2302018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
231
232 * config.host: Add crtbegin.o and crtend.o for
233 powerpc-wrs-vxworks target.
234
4cd0bc3b
J
2352018-08-17 Jojo <jijie_rong@c-sky.com>
236 Huibin Wang <huibin_wang@c-sky.com>
237 Sandra Loosemore <sandra@codesourcery.com>
238 Chung-Lin Tang <cltang@codesourcery.com>
239
240 C-SKY port: libgcc
241
242 * config.host: Add C-SKY support.
243 * config/csky/*: New.
244
a4931745
CJW
2452018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
246
247 * config/nds32/t-nds32-isr: Rearrange object dependency.
248 * config/nds32/initfini.c: Add dwarf2 unwinding support.
249 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
250 and registers usage.
251 * config/nds32/isr-library/excp_isr.S: Ditto.
252 * config/nds32/isr-library/intr_isr.S: Ditto.
253 * config/nds32/isr-library/reset.S: Ditto.
254 * config/nds32/isr-library/restore_all.inc: Ditto.
255 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
256 * config/nds32/isr-library/restore_partial.inc: Ditto.
257 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
258 * config/nds32/isr-library/save_all.inc: Ditto.
259 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
260 * config/nds32/isr-library/save_partial.inc: Ditto.
261 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
262 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
263
2b1969f6
JDA
2642018-08-11 John David Anglin <danglin@gcc.gnu.org>
265
266 * config/pa/linux-atomic.c: Update comment.
267 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
268 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
269 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
270 __ATOMIC_RELAXED for atomic loads.
271 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
272 unordered store to release lock.
273 (__sync_lock_release_8): Likewise.
274 (SYNC_LOCK_RELEASE_2): Remove define.
af8096fc 275
89fff9cc
NP
2762018-08-02 Nicolas Pitre <nico@fluxnic.net>
277
278 PR libgcc/86512
279 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
280 exponent goes negative. Update my email address.
281 * config/arm/ieee754-sf.S: Likewise.
282
fd2e1dcd
ML
2832018-08-01 Martin Liska <mliska@suse.cz>
284
285 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
92a285c1 286 check that __gcov_indirect_call_callee is non-null.
fd2e1dcd 287
b7415975
CL
2882018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
289
290 * config/arm/ieee754-df.S: Fix comment for code working on
291 architectures >= 4.
292 * config/arm/ieee754-sf.S: Likewise.
293
b72e71a3
L
2942018-07-27 H.J. Lu <hongjiu.lu@intel.com>
295
296 PR libgcc/85334
297 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
298 Removed.
299
1c686aa4
JC
3002018-07-05 James Clarke <jrtc27@jrtc27.com>
301
302 * configure: Regenerated.
303
b61c9b99
RO
3042018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
305
306 * Makefile.in (install_leaf): Use enable_gcov instead of
307 enable_libgcov.
308
1765b023
RV
3092018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
310
311 * configure.ac: Add --disable-gcov option.
312 * configure: Regenerate.
313 * Makefile.in: Honour @enable_gcov@.
314
9b2e34ef
CL
3152018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
316
317 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
318 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
319 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
320 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
321 __ARM_ARCH__.
322 * config/arm/ieee754-sf.S: Likewise.
323 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
324
d1b0dd54
CL
3252018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
326
327 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
328 longer supported.
329 * config/arm/ieee754-sf.S: Likewise.
330
1f3fa525
TM
3312018-06-20 Than McIntosh <thanm@google.com>
332
333 PR libgcc/86213
334 * generic-morestack.c (allocate_segment): Move calls to getenv and
335 getpagesize to __morestack_load_mmap.
336 (__morestack_load_mmap) Initialize static_pagesize and
337 use_guard_page here so as to avoid clobbering SSE regs during a
338 __morestack call.
339
6a8886e4
MM
3402018-06-18 Michael Meissner <meissner@linux.ibm.com>
341
342 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
343 support modules with -mno-gnu-attribute.
344 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
345
fb997097
OH
3462018-06-07 Olivier Hainque <hainque@adacore.com>
347
348 * config/t-vxworks (LIBGCC_INCLUDES): Add
349 -I$(MULTIBUILDTOP)../../gcc/include.
350 * config/t-vxworks7: Likewise. Reformat a bit to match
351 the t-vxworks layout.
352
a548a5a1
OM
3532018-06-07 Olga Makhotina <olga.makhotina@intel.com>
354
355 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
356
244aebfd
ML
3572018-06-07 Martin Liska <mliska@suse.cz>
358
359 * libgcov-driver.c: Rename cs_all to all and assign it from
92a285c1 360 all_prg.
244aebfd 361
6c086e8c
ML
3622018-06-07 Martin Liska <mliska@suse.cz>
363
92a285c1 364 PR bootstrap/86057
6c086e8c 365 * libgcov-driver-system.c (replace_filename_variables): Use
92a285c1 366 memcpy instead of mempcpy.
6c086e8c 367 (allocate_filename_struct): Do not allocate filename, allocate
92a285c1 368 prefix and set it.
6c086e8c 369 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
92a285c1 370 here and properly copy content into it.
6c086e8c 371 * libgcov-driver.c (struct gcov_filename): Remove max_length
92a285c1 372 field, change prefix from size_t into char *.
6c086e8c
ML
373 (compute_summary): Do not calculate longest filename.
374 (gcov_do_dump): Release memory of gf.filename after each file.
375 * libgcov-util.c (compute_summary): Use new signature of
92a285c1 376 compute_summary.
6c086e8c
ML
377 (calculate_overlap): Likewise.
378
97a53d1d
ML
3792018-06-05 Martin Liska <mliska@suse.cz>
380
381 PR gcov-profile/47618
382 * libgcov-driver-system.c (replace_filename_variables): New
92a285c1 383 function.
97a53d1d
ML
384 (gcov_exit_open_gcda_file): Use it.
385
7f3577f5
ML
3862018-06-05 Martin Liska <mliska@suse.cz>
387
388 * libgcov-driver.c (gcov_compute_histogram): Remove usage
389 of gcov_ctr_summary.
390 (compute_summary): Do it just for a single summary.
391 (merge_one_data): Likewise.
392 (merge_summary): Simplify as we read just single summary.
393 (dump_one_gcov): Pass proper argument.
394 * libgcov-util.c (compute_one_gcov): Simplify as we have just
395 single summary.
396 (gcov_info_count_all_cold): Likewise.
397 (calculate_overlap): Likewise.
398
cf3cd43d
CJW
3992018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
400 Monk Chiang <sh.chiang04@gmail.com>
401
402 * config.host (nds32*-linux*): New.
403 * config/nds32/linux-atomic.c: New file.
404 * config/nds32/linux-unwind.h: New file.
405
8b8003ed
UB
4062018-05-31 Uros Bizjak <ubizjak@gmail.com>
407
408 PR target/85591
409 * config/i386/cpuinfo.c (get_amd_cpu): Return
410 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
411
bbdf026f
RV
4122018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
413
92a285c1 414 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
bbdf026f 415
0e8f29da
ML
4162018-05-29 Martin Liska <mliska@suse.cz>
417
92a285c1 418 PR gcov-profile/85759
0e8f29da 419 * libgcov-driver-system.c (gcov_error): Introduce usage of
92a285c1 420 GCOV_EXIT_AT_ERROR env. variable.
0e8f29da 421 * libgcov-driver.c (merge_one_data): Print error that we
92a285c1 422 overwrite a gcov file with a different timestamp.
0e8f29da 423
54fd1590
K
4242018-05-23 Kalamatee <kalamatee@gmail.com>
425
426 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
427 path to Lf$finfty.
428
09baee1a
KC
4292018-05-18 Kito Cheng <kito.cheng@gmail.com>
430 Monk Chiang <sh.chiang04@gmail.com>
431 Jim Wilson <jimw@sifive.com>
432
433 * config/riscv/save-restore.S: Add support for rv32e.
434
c3f808d3
KT
4352018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
436
437 * config/arm/libunwind.S: Update comment relating to armv5.
438
fcf4f831
JL
4392018-05-17 Jerome Lambourg <lambourg@adacore.com>
440
441 * config/arm/cmse.c (cmse_check_address_range): Replace
442 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
443
74b2bb19
OM
4442018-05-17 Olga Makhotina <olga.makhotina@intel.com>
445
446 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
447 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
448
50e461df
OM
4492018-05-08 Olga Makhotina <olga.makhotina@intel.com>
450
451 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
452 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
453
e5f1cdb1
AC
4542018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
455
456 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
457
8f479d7a
AT
4582018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
459 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
460
461 PR libgcc/84292
462 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
463 op_and_fetch to return the right result.
464
ae043291
AM
4652018-04-27 Alan Modra <amodra@gmail.com>
466
467 PR libgcc/85532
468 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
469 -fno-asynchronous-unwind-tables.
470
ba169b74
CJW
4712018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
472
473 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
474 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
475
ffc2fc06
L
4762018-04-24 H.J. Lu <hongjiu.lu@intel.com>
477
478 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
479 when including "config/i386/shadow-stack-unwind.h".
480
7b47ecf2
L
4812018-04-24 H.J. Lu <hongjiu.lu@intel.com>
482
483 * configure: Regenerated.
484
661eb8f9
MM
4852018-04-20 Michael Meissner <meissner@linux.ibm.com>
486
487 PR target/85456
488 * config/rs6000/_powikf2.c: New file. Add support for the
489 __builtin_powil function when long double is IEEE 128-bit floating
490 point.
491 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
492 __powikf2 support.
493 (__powikf2): Likewise.
494 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
495 (__powikf2_hw): Likewise.
496 (__powikf2): Likewise.
497 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
498 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
499 (_powikf2-hw.c): Likewise.
500
5707be3c
L
5012018-04-19 H.J. Lu <hongjiu.lu@intel.com>
502
503 PR libgcc/85334
504 * unwind-generic.h (_Unwind_Frames_Increment): New.
505 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
506 Likewise.
507 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
508 count with _Unwind_Frames_Increment.
509 (_Unwind_ForcedUnwind_Phase2): Likewise.
510
5f9ca0b8
L
5112018-04-19 H.J. Lu <hongjiu.lu@intel.com>
512
513 PR libgcc/85379
514 * config/i386/morestack.S (__stack_split_initialize): Add
515 _CET_ENDBR.
516
a0e1df88
JJ
5172018-04-19 Jakub Jelinek <jakub@redhat.com>
518
519 * configure: Regenerated.
520
001ddaa8
DM
5212018-04-18 David Malcolm <dmalcolm@redhat.com>
522
523 PR jit/85384
524 * configure: Regenerate.
525
a57f99ba
JJ
5262018-04-16 Jakub Jelinek <jakub@redhat.com>
527
528 PR target/84945
529 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
530 -Wdangling-else warnings. Mask shift counts to avoid
531 -Wshift-count-negative and -Wshift-count-overflow false positives.
532
4d47fe5a
RB
5332018-04-06 Ruslan Bukin <br@bsdpad.com>
534
535 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
536
059cc8ac
L
5372018-03-29 H.J. Lu <hongjiu.lu@intel.com>
538
539 PR target/85100
540 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
541 (XSTATE_FP): Likewise.
542 (XSTATE_SSE): Likewise.
543 (XSTATE_YMM): Likewise.
544 (XSTATE_OPMASK): Likewise.
545 (XSTATE_ZMM): Likewise.
546 (XSTATE_HI_ZMM): Likewise.
547 (XCR_AVX_ENABLED_MASK): Likewise.
548 (XCR_AVX512F_ENABLED_MASK): Likewise.
549 (get_available_features): Enable AVX and AVX512 features only
550 if their states are supported by OSXSAVE.
551
f2620385
IT
5522018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
553
554 PR target/85025
555 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
556 Fix a typo, tmp => 255.
557
ae6dca8c
JJ
5582018-03-20 Jakub Jelinek <jakub@redhat.com>
559
560 PR target/84945
561 * config/i386/cpuinfo.h (__cpu_features2): Declare.
562 * config/i386/cpuinfo.c (__cpu_features2): New variable for
563 ifndef SHARED only.
564 (set_feature): Define.
565 (get_available_features): Use set_feature macro. Set __cpu_features2
566 to the second word of features ifndef SHARED.
567
c36b04c1
JK
5682018-03-15 Julia Koval <julia.koval@intel.com>
569
570 * config/i386/cpuinfo.c (get_available_features): Add
571 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
572 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
573 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
574 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
575 FEATURE_AVX512BITALG.
576
79ab5364
JK
5772018-03-14 Julia Koval <julia.koval@intel.com>
578
579 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
580 icelake client and icelake server.
581
66a00b11
JDA
5822018-03-06 John David Anglin <danglin@gcc.gnu.org>
583
584 * config/pa/fptr.c (_dl_read_access_allowed): New.
585 (__canonicalize_funcptr_for_compare): Use it.
af8096fc 586
ce579a4f
JJ
5872018-02-28 Jakub Jelinek <jakub@redhat.com>
588
589 PR debug/83917
590 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
591 $asm_hidden_op if visibility ("hidden") attribute works.
592 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
593 * config/i386/i386-asm.h: Don't include auto-host.h.
594 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
595 PACKAGE_URL): Don't undefine.
596 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
597 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
598 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
599 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
600 definition instead of hardcoded .hidden.
601 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
602 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
603 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
604 (USE_GAS_CFI_DIRECTIVES): Don't define.
605 * configure: Regenerated.
606 * config.in: Likewise.
607
e5868319
JJ
6082018-02-26 Jakub Jelinek <jakub@redhat.com>
609
610 PR debug/83917
611 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
612 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
613 inclusion of auto-target.h and auto-host.h.
614 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
615 __GCC_HAVE_DWARF2_CFI_ASM.
616 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
617 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
618 cfi_pop): Define.
619 * config/i386/cygwin.S: Don't include auto-host.h here, just
620 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
621 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
622 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
623 * config/i386/resms64fx.h: Add cfi_* directives.
624 * config/i386/resms64x.h: Likewise.
625
faef260e
MF
6262018-02-20 Max Filippov <jcmvbkbc@gmail.com>
627
628 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
629 .literal_position directive.
630 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
631
14e335ed
IT
6322018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
633
634 PR target/84148
635 * configure: Regenerate.
636
95df0433
IT
6372018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
638
639 PR target/84239
640 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
641 Include cetintrin.h not x86intrin.h.
642
f8de876d
IT
6432018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
644
645 PR target/84239
95df0433 646 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
f8de876d
IT
647 Use new _get_ssp and _inc_ssp intrinsics.
648
02da1e9c
JK
6492018-02-02 Julia Koval <julia.koval@intel.com>
650
651 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
652
048c6a9a
CZ
6532018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
654
655 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
656 option.
657 (__divsi3): Use RF16 safe registers.
658 (__modsi3): Likewise.
659
0889f168
MF
6602018-01-23 Max Filippov <jcmvbkbc@gmail.com>
661
662 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
663 (__divsf3): Make NaN return value quiet.
664 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
665 (__divdf3): Make NaN return value quiet.
666
bc8b0d04
SP
6672018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
668
669 * config/rl78/anddi3.S: New assembly file.
670 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
671
99cc06ea
SP
6722018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
673
674 * config/rl78/umindi3.S: New assembly file.
675 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
676
6e9007a0
SP
6772018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
678
679 * config/rl78/smindi3.S: New assembly file.
680 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
681
d975e494 6822018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 683
d975e494
SP
684 * config/rl78/smaxdi3.S: New assembly file.
685 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
686
6a18c146 6872018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 688
5dd16013
SP
689 * config/rl78/umaxdi3.S: New assembly file.
690 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
af8096fc 691
07baf4a5
JDA
6922018-01-21 John David Anglin <danglin@gcc.gnu.org>
693
694 PR lto/83452
695 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
696 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
af8096fc 697
dbc3af4f
RS
6982018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
699
700 * config/aarch64/value-unwind.h (aarch64_vg): New function.
701 (DWARF_LAZY_REGISTER_VALUE): Define.
702 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
703 to provide a fallback register value.
704
68df9882
MM
7052018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
706
707 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
708 __ibm128, instead of trying to use long double.
709 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
710 accomidate -mabi=ieeelongdouble multilibs.
711 (CVT_IBM128_TO_FLOAT128): Likewise.
712 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
713 the appropriate IBM extended double type.
714 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
715 (__gcc_qsub): Likewise.
716 (__gcc_qmul): Likewise.
717 (__gcc_qdiv): Likewise.
718 (pack_ldouble): Likewise.
719 (__gcc_qneg): Likewise.
720 (__gcc_qeq): Likewise.
721 (__gcc_qne): Likewise.
722 (__gcc_qge): Likewise.
723 (__gcc_qle): Likewise.
724 (__gcc_stoq): Likewise.
725 (__gcc_dtoq): Likewise.
726 (__gcc_itoq): Likewise.
727 (__gcc_utoq): Likewise.
728 (__gcc_qunord): Likewise.
729 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
730 quad-float128.h for the definitions.
731 (COPYSIGN): Use the f128 version instead of the q version.
732 (INFINITY): Likewise.
733 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
734 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
735 quad-float128.h for the definitions.
736 (COPYSIGN): Use the f128 version instead of the q version.
737 (INFINITY): Likewise.
738 (FABS): Likewise.
739 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
740 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
741 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
742
64b371b1
SH
7432018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
744
745 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
746 configuration.
747
85ec4feb
JJ
7482018-01-03 Jakub Jelinek <jakub@redhat.com>
749
750 Update copyright years.
751
7522017-12-12 Kito Cheng <kito.cheng@gmail.com>
b8d7e076
KC
753
754 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
755 * config/riscv/multi3.c: New file.
756 * config/riscv/multi3.S: Remove.
757
3a4c600f
JW
7582017-12-08 Jim Wilson <jimw@sifive.com>
759
760 * config/riscv/div.S: Use FUNC_* macros.
761 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
762 * config/riscv/save-restore.S: Likewise.
763 * config/riscv/riscv-asm.h: New.
764
75ad35b5
MM
7652017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
766
6ae3512c
MM
767 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
768 * config/rs6000/_divkc3.c (__divkc3): Likewise.
769
75ad35b5
MM
770 PR libgcc/83112
771 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
772 correct type for all ifunc resolvers to silence -Wattribute-alias
773 warnings. Eliminate the forward declaration of the resolver
774 functions which is no longer needed.
775 (__subkf3_resolve): Likewise.
776 (__mulkf3_resolve): Likewise.
777 (__divkf3_resolve): Likewise.
778 (__negkf2_resolve): Likewise.
779 (__eqkf2_resolve): Likewise.
780 (__nekf2_resolve): Likewise.
781 (__gekf2_resolve): Likewise.
782 (__gtkf2_resolve): Likewise.
783 (__lekf2_resolve): Likewise.
784 (__ltkf2_resolve): Likewise.
785 (__unordkf2_resolve): Likewise.
786 (__extendsfkf2_resolve): Likewise.
787 (__extenddfkf2_resolve): Likewise.
788 (__trunckfsf2_resolve): Likewise.
789 (__trunckfdf2_resolve): Likewise.
790 (__fixkfsi_resolve): Likewise.
791 (__fixkfdi_resolve): Likewise.
792 (__fixunskfsi_resolve): Likewise.
793 (__fixunskfdi_resolve): Likewise.
794 (__floatsikf_resolve): Likewise.
795 (__floatdikf_resolve): Likewise.
796 (__floatunsikf_resolve): Likewise.
797 (__floatundikf_resolve): Likewise.
798 (__extendkftf2_resolve): Likewise.
799 (__trunctfkf2_resolve): Likewise.
800
801 PR libgcc/83103
802 * config/rs6000/quad-float128.h (TF): Don't define if long double
803 is IEEE 128-bit floating point.
804 (TCtype): Define as either TCmode or KCmode, depending on whether
805 long double is IEEE 128-bit floating point.
806 (__mulkc3_sw): Add declarations for software/hardware versions of
807 complex multiply/divide.
808 (__divkc3_sw): Likewise.
809 (__mulkc3_hw): Likewise.
810 (__divkc3_hw): Likewise.
811 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
812 handlers to switch between using software emulation and hardware
813 float128 instructions, build the complex multiply/divide functions
814 for both software and hardware support.
815 * config/rs6000/_divkc3.c (_divkc3): Likewise.
816 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
817 (__divkc3_resolve): Likewise.
818 (__mulkc3): Likewise.
819 (__divkc3): Likewise.
820 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
821 (fp128_hw_src): Likewise.
822 (fp128_hw_static_obj): Likewise.
823 (fp128_hw_shared_obj): Likewise.
824 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
825 _mulkc3.c and _divkc3.c, changing the function name.
826 (_divkc3-hw.c): Likewise.
827 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
828 and _divkc3-hw.c.
829
c234d831
UB
8302017-11-26 Julia Koval <julia.koval@intel.com>
831
832 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
833 * config/i386/cpuinfo.h (processor_subtypes): Add
834 INTEL_COREI7_CANNONLAKE.
835
1ebafce0
IT
8362017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
837
838 PR bootstrap/83015
839 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
840 parameter.
841 * config/xtensa/unwind-dw2-xtensa.c: Likewise
842 * config/ia64/unwind-ia64.c: Add frames parameter.
843 * unwind-sjlj.c: Likewise.
844
6a10fff4
IT
8452017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
846
847 * config/i386/linux-unwind.h: Include
848 config/i386/shadow-stack-unwind.h.
849 * config/i386/shadow-stack-unwind.h: New file.
850 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
851 pass it to _Unwind_Frames_Extra.
852 * unwind-generic.h (_Unwind_Frames_Extra): New.
853 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
854 parameter. Add local variable frames to count number of frames.
855 (_Unwind_ForcedUnwind_Phase2): Likewise.
856 (_Unwind_RaiseException): Add local variable frames to count
857 number of frames, pass it to _Unwind_RaiseException_Phase2 and
858 uw_install_context.
859 (_Unwind_ForcedUnwind): Likewise.
860 (_Unwind_Resume): Likewise.
861 (_Unwind_Resume_or_Rethrow): Likewise.
862
1ecae1fc
IT
8632017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
864
865 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
866 (CET_FLAGS): New.
867 * config/i386/morestack.S: Include <cet.h>.
868 (__morestack_large_model): Add _CET_ENDBR at function entrance.
869 * config/i386/resms64.h: Include <cet.h>.
870 * config/i386/resms64f.h: Likewise.
871 * config/i386/resms64fx.h: Likewise.
872 * config/i386/resms64x.h: Likewise.
873 * config/i386/savms64.h: Likewise.
874 * config/i386/savms64f.h: Likewise.
875 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
876 (CRTSTUFF_T_CFLAGS): Likewise.
877 * configure.ac: Include ../config/cet.m4.
878 Set and substitute CET_FLAGS.
879 * configure: Regenerated.
880
f021f1d3
RO
8812017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
882
883 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
884 renaming.
885 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
886 * configure.ac (libgcc_cv_solaris_crts): Likewise.
887 * configure: Regenerate.
888
65f480c7
TV
8892017-11-07 Tom de Vries <tom@codesourcery.com>
890
891 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
892 after "do {} while (0)".
893
2a321acb
TV
8942017-11-07 Tom de Vries <tom@codesourcery.com>
895
896 PR other/82784
897 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
898 semicolon after "do {} while (0)".
899 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
900 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
901 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
902 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
903
59fcf6c3
AT
9042017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
905
906 PR libgcc/82635
907 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
908 sysctl to determine whether we're in a trampoline.
909 Keep the pattern matching method for systems without
910 KERN_PROC_SIGTRAMP sysctl.
911
b0c7ddf8
CM
9122017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
913 Vineet Gupta <vgupta@synopsys.com>
914
915 * config.host (arc*-*-linux*): Set md_unwind_header variable.
916 * config/arc/linux-unwind-reg.def: New file.
917 * config/arc/linux-unwind-reg.h: Likewise.
918
5feee954
SP
9192017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
920
921 * config/rl78/subdi3.S: New assembly file.
922 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
923
a0bf6cf7
SP
9242017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
925
926 * config/rl78/adddi3.S: New assembly file.
927 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
928
e7176f75
JJ
9292017-10-13 Jakub Jelinek <jakub@redhat.com>
930
931 PR target/82274
932 * libgcc2.c (__mulvDI3): If both operands have
933 the same highpart of -1 and the topmost bit of lowpart is 0,
934 multiplication overflows even if both lowparts are 0.
935
db6601d2
JB
9362017-09-28 James Bowman <james.bowman@ftdichip.com>
937
938 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
939
938b6f1e
JM
9402017-09-26 Joseph Myers <joseph@codesourcery.com>
941
942 * config/microblaze/crti.S, config/microblaze/crtn.S,
943 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
944 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
945 config/microblaze/mulsi3.S,
946 config/microblaze/stack_overflow_exit.S,
947 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
948 config/pa/milli64.S: Add .note.GNU-stack section.
949
89762a83
DS
9502017-09-23 Daniel Santos <daniel.santos@pobox.com>
951
952 * configure.ac: Add Check for HAVE_AS_AVX.
953 * config.in: Regenerate.
954 * configure: Likewise.
955 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
956 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
957 Correct out-of-date comments.
958
cace2309
SP
9592017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
960
961 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
962 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
963
3cb626e4
DS
9642017-09-17 Daniel Santos <daniel.santos@pobox.com>
965
cace2309 966 * config/i386/i386-asm.h (PASTE2): New macro.
3cb626e4
DS
967 (ASMNAME): Modify to use PASTE2.
968 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
969 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
cace2309 970 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
3cb626e4 971 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
cace2309
SP
972 * config/i386/resms64f.S: Likewise.
973 * config/i386/resms64fx.S: Likewise.
974 * config/i386/resms64x.S: Likewise.
975 * config/i386/savms64.S: Likewise.
976 * config/i386/savms64f.S: Likewise.
977 * config/i386/avx_resms64.S: New file that only defines a macro and
3cb626e4 978 includes it's corresponding header file.
cace2309
SP
979 * config/i386/avx_resms64f.S: Likewise.
980 * config/i386/avx_resms64fx.S: Likewise.
981 * config/i386/avx_resms64x.S: Likewise.
982 * config/i386/avx_savms64.S: Likewise.
983 * config/i386/avx_savms64f.S: Likewise.
984 * config/i386/sse_resms64.S: Likewise.
985 * config/i386/sse_resms64f.S: Likewise.
986 * config/i386/sse_resms64fx.S: Likewise.
987 * config/i386/sse_resms64x.S: Likewise.
988 * config/i386/sse_savms64.S: Likewise.
989 * config/i386/sse_savms64f.S: Likewise.
990 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3cb626e4 991
2f19c491 9922017-09-01 Olivier Hainque <hainque@adacore.com>
2f19c491
OH
993 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
994
611e7036
OH
9952017-08-31 Olivier Hainque <hainque@adacore.com>
996
997 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
998 match as powerpc-wrs-vxworks*.
999
c8f34527
JY
10002017-08-07 Jonathan Yong <10walls@gmail.com>
1001
1002 * config.host (*-cygwin): Include file from mingw
1003 config/i386/enable-execute-stack-mingw32.c
1004
0b458d2b 10052017-08-01 Jerome Lambourg <lambourg@adacore.com>
92a285c1
ML
1006 Doug Rupp <rupp@adacore.com>
1007 Olivier Hainque <hainque@adacore.com>
0b458d2b
JL
1008
1009 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
1010 as well as arm-wrs-vxworks.
1011 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
1012 LIB2ADDEH.
1013 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
1014 __exidx_start and __exidx_end for downloadable modules.
1015
4df612fa
OH
10162017-08-01 Olivier Hainque <hainque@adacore.com>
1017
1018 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
1019 * config/t-vxworks7: Likewise.
1020
5560e8c0
OH
10212017-08-01 Olivier Hainque <hainque@adacore.com>
1022
1023 * config/t-vxworks: Instead of redefining LIB2ADD,
1024 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
1025
16bab95a
SH
10262017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1027
1028 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
1029
9cbc07cc
DS
10302017-07-24 Daniel Santos <daniel.santos@pobox.com>
1031
1032 PR testsuite/80759
1033 * config.host: include i386/t-msabi for darwin and solaris.
1034 * config/i386/i386-asm.h
1035 (ELFFN): Rename to FN_TYPE.
1036 (FN_SIZE): New macro.
1037 (FN_HIDDEN): Likewise.
1038 (ASMNAME): Likewise.
1039 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
1040 .globl.
1041 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
1042 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
1043 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
1044 .macro.
1045 * config/i386/resms64f.S: Likewise.
1046 * config/i386/resms64fx.S: Likewise.
1047 * config/i386/resms64x.S: Likewise.
1048 * config/i386/savms64.S: Likewise.
1049 * config/i386/savms64f.S: Likewise.
1050
de742204
JM
10512017-07-19 John Marino <gnugcc@marino.st>
1052
1053 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
1054
3787ee47
MM
10552017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
1056
1057 PR target/81193
1058 * configure.ac (PowerPC float128 hardware support): Test whether
1059 we can use __builtin_cpu_supports before enabling the ifunc
1060 handler.
1061 * configure: Regenerate.
1062
b1938888
VG
10632017-07-10 Vineet Gupta <vgupta@synopsys.com>
1064
1065 * config.host: Remove uclibc from arc target spec.
1066
bec75e53
KW
10672017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
1068
1069 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
1070
d4391a62
PB
10712017-07-07 Peter Bergner <bergner@vnet.ibm.com>
1072
1073 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
1074 (have_ieee_hw_p): Delete function.
1075 (SW_OR_HW) Use __builtin_cpu_supports().
1076
9296dd9b
TP
10772017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
1078
1079 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
1080
b85a969e
OH
10812017-07-03 Olivier Hainque <hainque@adacore.com>
1082
d4391a62 1083 * config/t-vxworks7: New file, really.
b85a969e 1084
883312dc
JM
10852017-06-28 Joseph Myers <joseph@codesourcery.com>
1086
1087 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
1088 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
1089 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
1090 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
1091 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
1092 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
1093 config/pa/linux-unwind.h (pa32_fallback_frame_state),
1094 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
1095 config/sh/linux-unwind.h (sh_fallback_frame_state),
1096 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
1097 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
1098 ucontext_t instead of struct ucontext.
1099
50567938
JL
11002017-06-27 Jerome Lambourg <lambourg@adacore.com>
1101
1102 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
1103 (x86_64-wrs-vxworks7): Likewise.
1104
e4b0df93
OH
11052017-06-27 Olivier Hainque <hainque@adacore.com>
1106
1107 * config/t-vxworks7: New file.
1108 * config.host (*-*-vxworks7): Use it.
1109
60edf8bb
MT
11102017-06-22 Matt Turner <mattst88@gmail.com>
1111
1112 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
1113 skylake case.
1114
a51a76e5
RB
11152017-06-21 Richard Biener <rguenther@suse.de>
1116
1117 PR gcov-profile/81080
1118 * configure.ac: Add AC_SYS_LARGEFILE.
1119 * libgcov.h: Include auto-target.h before tsystem.h to pick
1120 up _FILE_OFFSET_BITS which might differ for multilibs.
1121 * config.in: Regenerate.
1122 * configure: Likewise.
1123
f0cd49c5
RE
11242017-06-16 Richard Earnshaw <rearnsha@arm.com>
1125
1126 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
1127
4f751c54
ML
11282017-06-09 Martin Liska <mliska@suse.cz>
1129
1130 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
1131 Reset __gcov_indirect_call_callee to NULL.
1132
1ac644c8
OH
11332017-06-08 Olivier Hainque <hainque@adacore.com>
1134
1135 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
1136 the set of -I options, support for direct inclusions of net/uio.h
1137 by VxWorks header files via ioLib.h.
1138
d8b9cd27
TR
11392017-06-07 Tony Reix <tony.reix@atos.net>
1140 Matthieu Sarter <matthieu.sarter.external@atos.net>
1141 David Edelsohn <dje.gcc@gmail.com>
1142
92a285c1
ML
1143 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
1144 unconditionally.
1145 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
1146 AIX 7.2 support.
d8b9cd27 1147
38a75ccc
OH
11482017-06-02 Olivier Hainque <hainque@adacore.com>
1149
1150 * config/vxlib.c (__gthread_once): Add missing value to
1151 return statement.
1152
5b2edf53
OH
11532017-05-30 Olivier Hainque <hainque@adacore.com>
1154
1155 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
1156 dollar sign before $(MULTIDIR).
1157
7d66e265
RH
11582017-05-26 Richard Henderson <rth@redhat.com>
1159
1160 PR libgcc/80037
1161 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
1162
78eca309
AT
11632017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
1164
1165 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
1166 _Unwind_SetIP available as functions for arm*-*-freebsd*.
1167 * config/arm/unwind-arm.c: Implement the above.
1168
c39d309a
AZ
11692017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1170
1171 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
1172 section for a non-executable stack.
1173
eac8c9f2
KW
11742017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
1175
1176 PR target/80600
1177 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
1178
d6d4d770
DS
11792017-05-14 Daniel Santos <daniel.santos@pobox.com>
1180
1181 * config.host: Add i386/t-msabi to i386/t-linux file list.
1182 * config/i386/i386-asm.h: New file.
1183 * config/i386/resms64.S: New file.
1184 * config/i386/resms64f.S: New file.
1185 * config/i386/resms64fx.S: New file.
1186 * config/i386/resms64x.S: New file.
1187 * config/i386/savms64.S: New file.
1188 * config/i386/savms64f.S: New file.
1189 * config/i386/t-msabi: New file.
1190
8ef2b9a7
AT
11912017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
1192
1193 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
1194 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
1195
7ab8766a
JC
11962017-05-05 Joshua Conner <joshconner@google.com>
1197
1198 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
1199 pc-relative indirect handling for fuchsia.
1200 * config/t-slibgcc-fuchsia: New file.
1201 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
d6d4d770 1202 x86_64-*-fuchsia*): Add definitions.
7ab8766a 1203
46928a8f
ML
12042017-04-19 Martin Liska <mliska@suse.cz>
1205
1206 PR gcov-profile/80435
1207 * Makefile.in: Install gcov.h.
1208 * gcov.h: New file.
1209 * libgcov.h: Use the header and make __gcov_flush publicly
1210 visible.
1211
63971184
ML
12122017-04-18 Martin Liska <mliska@suse.cz>
1213
1214 PR gcov-profile/78783
1215 * libgcov-driver.c (gcov_get_filename): New function.
1216
29d8aae6
JL
12172017-04-07 Jeff Law <law@redhat.com>
1218
1219 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
1220 target makefile fragment.
1221 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
1222
2bdf7fc6
AM
12232017-04-07 Alan Modra <amodra@gmail.com>
1224
1225 PR target/45053
1226 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
1227
5764ee3c
JW
12282017-04-03 Jonathan Wakely <jwakely@redhat.com>
1229
1230 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
1231
c4192ad7
CZ
12322017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
1233
1234 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
1235
4ccfdb28
JM
12362017-03-10 John Marino <gnugcc@marino.st>
1237
1238 * config/aarch64/freebsd-unwind.h: New file.
1239 * config.host: Add aarch64-*-freebsd unwinder.
1240
4144e4e3
SB
12412017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1242
1243 * config/rs6000/crtrestvr.s: Use .machine altivec.
1244 * config/rs6000/crtsavevr.s: Ditto.
1245
7502c597
SB
12462017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1247
1248 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
1249 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
1250 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
1251 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
1252 * configure: Regenerate.
1253 * config.in: Regenerate.
1254
db9f7f65
JY
12552017-03-02 Jonathan Yong <10walls@gmail.com>
1256
1257 * config/i386/gthr-win32.h: Define NOGDI before
1258 windows.h include to prevent w32api CC_NONE macro
1259 clash with libgfortran.
1260
126437c5
JY
12612017-03-02 Jonathan Yong <10walls@gmail.com>
1262
1263 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
1264
31927af6
AP
12652017-02-16 Andrew Pinski <apinski@cavium.com>
1266
1267 * config/aarch64/value-unwind.h: New file.
1268 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
1269 to tm_file.
1270
0bd99911
PD
12712017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
1272
1273 * config.host: Add RISC-V tuples.
1274 * config/riscv/atomic.c: New file.
1275 * config/riscv/crti.S: Likewise.
1276 * config/riscv/crtn.S: Likewise.
1277 * config/riscv/div.S: Likewise.
1278 * config/riscv/linux-unwind.h: Likewise.
1279 * config/riscv/muldi3.S: Likewise.
1280 * config/riscv/multi3.S: Likewise.
1281 * config/riscv/save-restore.S: Likewise.
1282 * config/riscv/sfp-machine.h: Likewise.
1283 * config/riscv/t-elf: Likewise.
1284 * config/riscv/t-elf32: Likewise.
1285 * config/riscv/t-elf64: Likewise.
1286 * config/riscv/t-softfp32: Likewise.
1287 * config/riscv/t-softfp64: Likewise.
1288
a8c9ef2a
JJ
12892017-01-24 Jakub Jelinek <jakub@redhat.com>
1290
1291 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
1292 /* FALLTHRU */ comments.
1293
c6c82710
GP
12942017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
1295
1296 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
1297
a876231c
JW
12982017-01-20 Jiong Wang <jiong.wang@arm.com>
1299
1300 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
1301 * unwind-dw2.c (execute_cfa_program): Only multiplexing
1302 DW_CFA_GNU_window_save for AArch64 and LP64.
1303
aa348be2
JW
13042017-01-20 Jiong Wang <jiong.wang@arm.com>
1305
1306 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
1307
5636faf2
JW
13082017-01-19 Jiong Wang <jiong.wang@arm.com>
1309
1310 * config/aarch64/aarch64-unwind.h: New file.
1311 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
1312 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
1313 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
1314 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
1315 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
1316 (aarch64_post_extract_frame_addr): New function.
1317 (aarch64_post_frob_eh_handler_addr): New function.
1318 (aarch64_frob_update_context): New function.
1319 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
1320 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
1321 aarch64*-*-freebsd*):
1322 Initialize md_unwind_header to include aarch64-unwind.h.
1323 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
1324 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
1325 __aarch64__.
1326 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
1327 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
1328 (uw_frob_return_addr): New function.
1329 (uw_install_context): Use uw_frob_return_addr.
1330
3c36aa6b
JJ
13312017-01-17 Jakub Jelinek <jakub@redhat.com>
1332
1333 PR other/79046
1334 * configure.ac: Add GCC_BASE_VER.
1335 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
1336 version from BASE-VER file.
1337 * configure: Regenerated.
1338
829afb8f
JS
13392017-01-13 Joe Seymour <joe.s@somniumtech.com>
1340
1341 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
1342 libmul_f5.a): Filter archived prerequisites.
1343
79fc8ffe
AS
13442017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
1345
1346 * config/i386/cpuinfo.h (processor_features): Add
1347 FEATURE_AVX512VPOPCNTDQ.
1348 * config/i386/cpuinfo.c (get_available_features): Habdle new
1349 feature.
1350
fec5f4e0
JM
13512017-01-04 Joseph Myers <joseph@codesourcery.com>
1352
1353 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
1354 payload if [__mips_nan2008].
1355
8f56cb51
AM
13562017-01-04 Alan Modra <amodra@gmail.com>
1357
1358 * Makefile.in (configure_deps): Update.
1359 * configure: Regenerate.
1360
cbe34bb5
JJ
13612017-01-01 Jakub Jelinek <jakub@redhat.com>
1362
1363 Update copyright years.
1364
ab955692
KW
13652016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
1366
1367 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
1368 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
1369 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
1370
de34320f
MK
13712016-12-17 Matthias Klose <doko@ubuntu.com>
1372
1373 * config/arc/gmon: Remove empty directory.
1374
e04ea1da
CZ
13752016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
1376
1377 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
1378 crtgend.
1379 (arc*-*-elf*): Likewise.
1380 * config/arc/t-arc: Remove old gmon lib targets.
1381 * config/arc/crtg.S: Remove.
1382 * config/arc/crtgend.S: Likewise.
1383 * config/arc/gmon/atomic.h: Likewise.
1384 * config/arc/gmon/auxreg.h: Likewise.
1385 * config/arc/gmon/dcache_linesz.S: Likewise.
1386 * config/arc/gmon/gmon.c: Likewise.
1387 * config/arc/gmon/machine-gmon.h: Likewise.
1388 * config/arc/gmon/mcount.c: Likewise.
1389 * config/arc/gmon/prof-freq-stub.S: Likewise.
1390 * config/arc/gmon/prof-freq.c: Likewise.
1391 * config/arc/gmon/profil.S: Likewise.
1392 * config/arc/gmon/sys/gmon.h: Likewise.
1393 * config/arc/gmon/sys/gmon_out.h: Likewise.
1394 * config/arc/t-arc-newlib: Likewise.
1395 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
1396
8ae1c2c1
GS
13972016-12-12 George Spelvin <linux@sciencehorizons.net>
1398
1399 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
1400
a5b947fa
GS
14012016-12-12 George Spelvin <linux@sciencehorizons.net>
1402
1403 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
1404 R16 instead of push + pop.
1405 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
1406
d6574dd1
KW
14072016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
1408
1409 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
1410 tmake_file.
1411
62440b4f
CM
14122016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
1413
1414 * config.host (arc*-*-linux-uclibc*): Use default extra
1415 objects. Include linux-android header.
1416 * config/arc/crti.S (_init): Declare symbol as function.
1417 (_fini): Likewise.
1418
31cfd832
TK
14192016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
1420
1421 PR fortran/78379
1422 * config/i386/cpuinfo.c: Move denums for processor vendors,
1423 processor type, processor subtypes and declaration of
1424 struct __processor_model into
1425 * config/i386/cpuinfo.h: New header file.
1426
c92e08e3
AV
14272016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1428 Thomas Preud'homme <thomas.preudhomme@arm.com>
1429
1430 * config/arm/cmse_nonsecure_call.S: New.
1431 * config/arm/t-arm: Compile cmse_nonsecure_call.S
1432
de7b5723
AV
14332016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1434 Thomas Preud'homme <thomas.preudhomme@arm.com>
1435
1436 * config/arm/t-arm (HAVE_CMSE): New.
1437 * config/arm/cmse.c: New.
1438
7a0d2bce
TP
14392016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
1440
b3a5bff4
TP
1441 PR gcc/74748
1442 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
1443 use generic linker version information on Blackfin.
1444
7a0d2bce
TP
1445 PR gcc/74748
1446 * libgcc/mkmap-symver.awk: add support for skip_underscore
1447
b410cf1d
IS
14482016-11-27 Iain Sandoe <iain@codesourcery.com>
1449 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1450
1451 PR target/67710
1452 * config/t-darwin: Default builds to 10.5 codegen.
1453
2e5f8203
JG
14542016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
1455
1456 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
1457 (_FP_NANSIGN_H): Likewise.
1458 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
1459 (softfp_truncations): Add tfhf.
1460 (softfp_extras): Add required conversion functions.
1461
bea64ca3
JG
14622016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1463 Matthew Wahab <matthew.wahab@arm.com>
1464
1465 * config/arm/fp16.c (binary64): New.
1466 (__gnu_d2h_internal): New.
1467 (__gnu_d2h_ieee): New.
1468 (__gnu_d2h_alternative): New.
1469
8630cadb
JG
14702016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1471 Matthew Wahab <matthew.wahab@arm.com>
1472
1473 * config/arm/fp16.c (struct format): New.
1474 (binary32): New.
1475 (__gnu_float2h_internal): New. Body moved from
1476 __gnu_f2h_internal and generalize.
1477 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
1478 Call it with binary32.
1479
5823ef23
JG
14802016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1481
1482 * soft-fp/extendhftf2.c: Update from glibc.
1483 * soft-fp/fixhfti.c: Likewise.
1484 * soft-fp/fixunshfti.c: Likewise.
1485 * soft-fp/floattihf.c: Likewise.
1486 * soft-fp/floatuntihf.c: Likewise.
1487 * soft-fp/half.h: Likewise.
1488 * soft-fp/trunctfhf2.c: Likewise.
1489
62a7df9f
MG
14902016-11-20 Marc Glisse <marc.glisse@inria.fr>
1491
1492 PR libgcc/77813
1493 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
1494 __TMC_END__ behind a passthrough asm.
1495
7a384912
WL
14962016-11-18 Walter Lee <walt@tilera.com>
1497
62a7df9f 1498 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
7a384912 1499
9775c1a5
L
15002016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
1501
1502 * config/i386/cpuinfo.c (processor_features): Add
1503 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
1504
48c842ab
CZ
15052016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
1506
1507 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
1508 (__ARC_NORM__): Use instead ARC_OPTFPE.
1509 * config/arc/fp-hack.h: Likewise.
1510 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
1511 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
1512
5012919d
AM
15132016-11-16 Alexander Monakov <amonakov@ispras.ru>
1514
1515 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
1516 * config/nvptx/mgomp.c: New file.
1517 * config/nvptx/t-nvptx: Add mgomp.c
1518
00178b98
WB
15192016-11-16 Waldemar Brodkorb <wbx@openadk.org>
1520
1521 PR libgcc/68468
1522 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
1523
d64af69f
CZ
15242016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
1525
1526 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
1527 of checking for cpus.
1528 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
1529 (__modsi3, __clzsi2): Likewise.
1530
9d8f95de
SN
15312016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
1532
1533 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
1534 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
1535 * config/i386/t-cpuinfo-static: New.
1536
7d29f8e3
ML
15372016-11-03 Martin Liska <mliska@suse.cz>
1538
1539 * libgcov-profiler.c (__gcov_time_profiler): Remove.
1540 (__gcov_time_profiler_atomic): Likewise.
1541
5de3e2d8
BE
15422016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
1543
1544 PR libgcc/78067
1545 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
1546 count_leading_zeros.
1547
18362447
UB
15482016-11-02 Uros Bizjak <ubizjak@gmail.com>
1549
1550 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
1551 * libgcc2.c (__divmoddi4): New function.
1552 * libgcc2.h (__divmoddi4): Declare.
1553 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
1554 and __PFX_divmodti4.
1555
33107571
FW
15562016-10-24 Florian Weimer <fweimer@redhat.com>
1557
1558 PR libgcc/78064
1559 * unwind-c.c: Include auto-target.h.
1560
4c6d7494
JDA
15612016-10-19 John David Anglin <danglin@gcc.gnu.org>
1562
18362447 1563 * config/pa/pa64-hpux-lib.h: New file.
4c6d7494
JDA
1564 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
1565 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
1566 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
1567 hppa*64*-*-hpux11*.
1568
2a26adf1
MF
15692016-10-18 Max Filippov <jcmvbkbc@gmail.com>
1570
1571 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1572 definition.
1573 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1574 definition.
1575 * config/xtensa/t-windowed (LIB2ADDEH): Use
1576 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
1577 or xtensa/t-linux.
1578
66192aa1
DKC
15792016-10-18 Ding-Kai Chen <dkchen@cadence.com>
1580
1581 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
1582 __ieee754_sqrt): New functions.
1583 (__divdf3): Add implementation with new FPU instructions under
1584 #if XCHAL_HAVE_DFP_DIV.
1585 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
1586 __ieee754_sqrtf): New functions.
1587 (__divsf3): Add implementation with new FPU instructions under
1588 #if XCHAL_HAVE_FP_DIV.
1589 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
1590 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
1591
4d0cdd0c
TP
15922016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
1593
1594 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
1595 equivalent.
1596 * config/tilepro/atomic.c: Likewise and stop casting model to
1597 enum memmodel.
1598
73f01cca
JM
15992016-10-10 Joseph Myers <joseph@codesourcery.com>
1600
1601 PR target/77586
1602 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
1603 soft-fp.
1604
b20e7532
AT
16052016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
1606
1607 * config.host: Add support for aarch64-*-freebsd*.
1608
a786cec4
AS
16092016-10-05 Andreas Schwab <schwab@suse.de>
1610
1611 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
1612 (.section .init_array): Don't call __do_jv_register_classes.
1613 (.section .init): Likewise.
1614
5a79befb
JJ
16152016-10-04 Jakub Jelinek <jakub@redhat.com>
1616
1617 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
1618 (__JCR_LIST__): Remove.
1619 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
1620 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
1621 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
1622 * config/ia64/crtend.S (__JCR_END__): Remove.
1623 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
1624 conditionals.
1625 (__JCR_LIST__, __JCR_END__): Remove.
1626 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
1627 (__do_global_ctors_1): Likewise.
1628
e0ab3753
UB
16292015-09-28 Uros Bizjak <ubizjak@gmail.com>
1630
1631 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
1632 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
1633
8c9434c2
ML
16342016-09-27 Martin Liska <mliska@suse.cz>
1635
1636 PR gcov-profile/7970
1637 PR gcov-profile/16855
1638 PR gcov-profile/44779
1639 * libgcov-driver.c (__gcov_init): Do not register a atexit
1640 handler.
1641 (__gcov_exit): Rename from gcov_exit.
1642 * libgcov.h (__gcov_exit): Declare.
1643
56b653f1
ML
16442016-09-27 Martin Liska <mliska@suse.cz>
1645
1646 PR bootstrap/77749
1647 * Makefile.in: Remove _gcov_merge_delta.
1648 * libgcov-merge.c (void __gcov_merge_delta): Remove.
1649 * libgcov-util.c (__gcov_delta_counter_op): Remove.
1650 * libgcov.h: Remove declaration of __gcov_merge_delta.
1651
7e02fd1b
EB
16522016-09-21 Eric Botcazou <ebotcazou@adacore.com>
1653
1654 * configure.ac: Do not create links, only substitute the filenames.
1655 * configure: Regenerate.
1656 * Makefile.in: Assign the substitution results to variables.
1657 (LIBGCC_LINKS): Define.
1658 (enable-execute-stack.c): New rule.
1659 (unwind.h): Likewise.
1660 (md-unwind-support.h): Likewise.
1661 (sfp-machine.h): Likewise.
1662 (gthr-default.h): Likewise.
1663 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
1664 unwind.h as prerequisite of install-unwind_h-forbuild.
1665
29991048
JJ
16662016-09-16 Jakub Jelinek <jakub@redhat.com>
1667
1668 PR libgcc/71744
1669 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
1670 is not the primary registry and atomics are available.
1671 (any_objects_registered): New variable.
1672 (__register_frame_info_bases, __register_frame_info_table_bases):
1673 Atomically store 1 to any_objects_registered after registering first
1674 unwind info.
1675 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
1676
0abcd6cc
JG
16772016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
1678
1679 PR target/63250
1680 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
1681 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
1682 (HFtype): Likewise.
1683 (HCtype): Likewise.
1684 (__divhc3): Likewise.
1685 (__mulhc3): Likewise.
1686 * libgcc2.c: Support _mulhc3 and _divhc3.
1687
d758aeb5
JM
16882016-09-07 Joseph Myers <joseph@codesourcery.com>
1689
1690 PR libgcc/77519
1691 * libgcc2.c (NOTRUNC): Invert settings.
1692
7fe76f6a
ML
16932016-09-06 Martin Liska <mliska@suse.cz>
1694
1695 PR gcov-profile/77378
1696 PR gcov-profile/77466
1697 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
1698 conditionaly enable/disable *_atomic functions.
1699
21184026
JM
17002016-08-26 Joseph Myers <joseph@codesourcery.com>
1701
1702 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
1703 where not already enabled.
1704
726f49c3
SN
17052016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
1706
1707 * config/mips/linux-unwind.h: Use sys/syscall.h.
1708
feeb6268
JM
17092016-08-16 Joseph Myers <joseph@codesourcery.com>
1710
1711 PR libgcc/77265
1712 * soft-fp/adddf3.c: Update from glibc.
1713 * soft-fp/addsf3.c: Likewise.
1714 * soft-fp/addtf3.c: Likewise.
1715 * soft-fp/divdf3.c: Likewise.
1716 * soft-fp/divsf3.c: Likewise.
1717 * soft-fp/divtf3.c: Likewise.
1718 * soft-fp/double.h: Likewise.
1719 * soft-fp/eqdf2.c: Likewise.
1720 * soft-fp/eqsf2.c: Likewise.
1721 * soft-fp/eqtf2.c: Likewise.
1722 * soft-fp/extenddftf2.c: Likewise.
1723 * soft-fp/extended.h: Likewise.
1724 * soft-fp/extendsfdf2.c: Likewise.
1725 * soft-fp/extendsftf2.c: Likewise.
1726 * soft-fp/extendxftf2.c: Likewise.
1727 * soft-fp/fixdfdi.c: Likewise.
1728 * soft-fp/fixdfsi.c: Likewise.
1729 * soft-fp/fixdfti.c: Likewise.
1730 * soft-fp/fixsfdi.c: Likewise.
1731 * soft-fp/fixsfsi.c: Likewise.
1732 * soft-fp/fixsfti.c: Likewise.
1733 * soft-fp/fixtfdi.c: Likewise.
1734 * soft-fp/fixtfsi.c: Likewise.
1735 * soft-fp/fixtfti.c: Likewise.
1736 * soft-fp/fixunsdfdi.c: Likewise.
1737 * soft-fp/fixunsdfsi.c: Likewise.
1738 * soft-fp/fixunsdfti.c: Likewise.
1739 * soft-fp/fixunssfdi.c: Likewise.
1740 * soft-fp/fixunssfsi.c: Likewise.
1741 * soft-fp/fixunssfti.c: Likewise.
1742 * soft-fp/fixunstfdi.c: Likewise.
1743 * soft-fp/fixunstfsi.c: Likewise.
1744 * soft-fp/fixunstfti.c: Likewise.
1745 * soft-fp/floatdidf.c: Likewise.
1746 * soft-fp/floatdisf.c: Likewise.
1747 * soft-fp/floatditf.c: Likewise.
1748 * soft-fp/floatsidf.c: Likewise.
1749 * soft-fp/floatsisf.c: Likewise.
1750 * soft-fp/floatsitf.c: Likewise.
1751 * soft-fp/floattidf.c: Likewise.
1752 * soft-fp/floattisf.c: Likewise.
1753 * soft-fp/floattitf.c: Likewise.
1754 * soft-fp/floatundidf.c: Likewise.
1755 * soft-fp/floatundisf.c: Likewise.
1756 * soft-fp/floatunditf.c: Likewise.
1757 * soft-fp/floatunsidf.c: Likewise.
1758 * soft-fp/floatunsisf.c: Likewise.
1759 * soft-fp/floatunsitf.c: Likewise.
1760 * soft-fp/floatuntidf.c: Likewise.
1761 * soft-fp/floatuntisf.c: Likewise.
1762 * soft-fp/floatuntitf.c: Likewise.
1763 * soft-fp/gedf2.c: Likewise.
1764 * soft-fp/gesf2.c: Likewise.
1765 * soft-fp/getf2.c: Likewise.
1766 * soft-fp/ledf2.c: Likewise.
1767 * soft-fp/lesf2.c: Likewise.
1768 * soft-fp/letf2.c: Likewise.
1769 * soft-fp/muldf3.c: Likewise.
1770 * soft-fp/mulsf3.c: Likewise.
1771 * soft-fp/multf3.c: Likewise.
1772 * soft-fp/negdf2.c: Likewise.
1773 * soft-fp/negsf2.c: Likewise.
1774 * soft-fp/negtf2.c: Likewise.
1775 * soft-fp/op-1.h: Likewise.
1776 * soft-fp/op-2.h: Likewise.
1777 * soft-fp/op-4.h: Likewise.
1778 * soft-fp/op-8.h: Likewise.
1779 * soft-fp/op-common.h: Likewise.
1780 * soft-fp/quad.h: Likewise.
1781 * soft-fp/single.h: Likewise.
1782 * soft-fp/soft-fp.h: Likewise.
1783 * soft-fp/subdf3.c: Likewise.
1784 * soft-fp/subsf3.c: Likewise.
1785 * soft-fp/subtf3.c: Likewise.
1786 * soft-fp/truncdfsf2.c: Likewise.
1787 * soft-fp/trunctfdf2.c: Likewise.
1788 * soft-fp/trunctfsf2.c: Likewise.
1789 * soft-fp/trunctfxf2.c: Likewise.
1790 * soft-fp/unorddf2.c: Likewise.
1791 * soft-fp/unordsf2.c: Likewise.
1792 * soft-fp/unordtf2.c: Likewise.
1793
2e6fc1ac
GG
17942016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
1795
1796 PR gcov-profile/67097
1797 * libgcov-util.c (gcov_profile_merge): Skip missing files.
1798
a266236e
ML
17992016-08-10 Martin Liska <mliska@suse.cz>
1800
1801 PR gcov-profile/58306
1802 * Makefile.in: New functions (modules) are added.
1803 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
1804 function.
1805 (__gcov_pow2_profiler_atomic): New function.
1806 (__gcov_one_value_profiler_body): New argument is instroduced.
1807 (__gcov_one_value_profiler): Call with the new argument.
1808 (__gcov_one_value_profiler_atomic): Likewise.
1809 (__gcov_indirect_call_profiler_v2): Likewise.
1810 (__gcov_time_profiler_atomic): New function.
1811 (__gcov_average_profiler_atomic): Likewise.
1812 (__gcov_ior_profiler_atomic): Likewise.
1813 * libgcov.h: Declare the aforementioned functions.
1814
e0c8eebf
ML
18152016-08-09 Martin Liska <mliska@suse.cz>
1816
1817 * libgcov-util.c: Fix typo and GNU coding style.
1818
6dce6418
ML
18192016-08-09 Martin Liska <mliska@suse.cz>
1820
1821 * Makefile.in: Remove __gcov_indirect_call_profiler.
1822 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
1823 function.
1824 * libgcov.h: And the declaration of the function.
1825
dcb1e137
ML
18262016-08-09 Martin Liska <mliska@suse.cz>
1827
1828 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
1829 power of two.
1830
d6e69705
BS
18312016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1832
1833 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
1834 * config/rs6000/_mulkc3.c: Likewise.
1835
96aa1f95
GJL
18362016-07-29 Georg-Johann Lay <avr@gjlay.de>
1837
1838 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
1839 zero_reg as previous call to __umulhisi3 already cleared it.
1840
a1b01d34
AJ
18412016-07-21 Aurelien Jarno <aurelien@aurel32.net>
1842
1843 PR target/59833
1844 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
1845
985a47b2
NC
18462016-07-19 Nick Clifton <nickc@redhat.com>
1847
1848 * config.host (m32r): Add m32r/t-m32r to tmake_file.
1849 Add crtinit.o and crtfini.o to extra_parts.
1850
f906f5ed
BS
18512016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1852
1853 * config/rs6000/_divkc3.c: New.
1854 * config/rs6000/_mulkc3.c: New.
1855 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
1856 and _divkc3.
1857 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
1858 fp128_ppc_funcs.
1859
82742404
HW
18602016-07-11 Hale Wang <hale.wang@arm.com>
1861 Andre Vieira <andre.simoesdiasvieira@arm.com>
1862
1863 * config/arm/lib1funcs.S: Add new wrapper.
1864
05a437c1
TP
18652016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
1866
1867 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
1868
3d16d9ec
TP
18692016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
1870
1871 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
1872 and ARMv5t* rather than for a fixed list of architectures.
1873
6f493951
TP
18742016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
1875
1876 * config/arm/bpabi-v6m.S: Clarify what architectures is the
1877 implementation suitable for.
1878 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
1879 for all Thumb-1 only targets.
1880 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
1881 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
1882 __ARM_ARCH_6M__.
1883 (EQUIV): Likewise.
1884 (ARM_FUNC_ALIAS): Likewise.
1885 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
1886 version.
1887 (modsi3): Likewise.
1888 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
1889 (clzdi2): Likewise.
1890 (ctzsi2): Likewise.
1891 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
1892 __ARM_ARCH_6M__ in guard for checking whether it is defined.
1893 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
1894 __ARM_ARCH_6M__ and add comment to indicate the connection between
1895 this condition and the one in gcc/config/arm/elf.h.
1896 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
1897 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
1898 * config/arm/t-softfp: Likewise.
1899
1770511a
TS
19002016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1901
1902 * libgcc2.c (SYMBOL__MAIN): Remove checks for
1903 CTOR_LISTS_DEFINED_EXTERNALLY.
1904
ba6be749
WL
19052016-06-28 Walter Lee <walt@tilera.com>
1906
1907 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
1908 asm/unistd.h.
1909 (SPR_CMPEXCH_VALUE): Define for tilegx.
1910 (__NR_FAST_cmpxchg): Define for tilepro.
1911 (__NR_FAST_atomic_update): Define for tilepro.
1912 (__NR_FAST_cmpxchg64): Define for tilepro.
1913
a34c0db5
JS
19142016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
1915
18362447 1916 * config.host: Add suport for arm*-*-phoenix* targets.
a34c0db5 1917
0609abda
TS
19182016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1919
1920 * config.host: Remove support for mep-*.
1921 * config/mep/lib1funcs.S: Remove.
1922 * config/mep/lib2funcs.c: Remove.
1923 * config/mep/t-mep: Remove.
1924 * config/mep/tramp.c: Remove.
1925
3e326935
TS
19262016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1927
1928 * config.host: Remove support for avr-rtems.
1929 * config/avr/t-rtems: Remove.
1930
914b155c
TS
19312016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1932
1933 * config.host: Remove m32r-rtems support.
1934
5ebf89bd
TS
19352016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1936
1937 * config.host: Remove h8300-rtems support.
1938
8466af06
TS
19392016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1940
1941 * config.host: Remove support for knetbsd.
1942
d980e738
TS
19432016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1944
1945 * config.host: Remove support for openbsd 2 and 3.
1946
ee2499b4
TS
19472016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1948
1949 * config.host: Remove interix support.
1950 * config/i386/t-interix: Remove.
1951
9f92937b
JDA
19522016-06-18 John David Anglin <danglin@gcc.gnu.org>
1953
1954 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
1955 least-significant bit in function pointer for fixup.
1956
0a0ec53d
AC
19572016-06-05 Aaron Conole <aconole@redhat.com>
1958 Nathan Sidwell <nathan@acm.org>
1959
1960 PR libgcc/71400
1961 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
1962 (get_gcov_error_file): Check __gcov_error_file before trying to
1963 initialize it.
1964 (gcov_error): Always use get_gcov_error_file.
1965
8aa5bdd6
AC
19662016-06-02 Aaron Conole <aconole@redhat.com>
1967
1968 * libgcov-driver-system.c (__gcov_error_file): New.
1969 (get_gcov_error_file): New.
1970 (gcov_error): Use and set __gcov_error_file.
1971 (gcov_error_exit): New.
1972 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
1973
40774faf
NS
19742016-05-26 Nathan Sidwell <nathan@acm.org>
1975
1976 * config/nvptx/free.asm: Delete.
1977 * config/nvptx/malloc.asm: Delete.
1978 * config/nvptx/realloc.c: Delete.
1979 * t-nvptx: Update.
1980
69a6d5ad
NS
19812016-05-25 Nathan Sidwell <nathan@acm.org>
1982
1983 * config/nvptx/crt0.s: Delete.
1984 * config/nvptx/crt0.c: New.
1985 * t-nvptx: Update.
1986
6befaff6
SL
19872016-05-19 Sandra Loosemore <sandra@codesourcery.com>
1988
385c7747 1989 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
6befaff6
SL
1990 dw2/seh configuration.
1991 [x86_64-*-mingw*]: Likewise.
1992
ad251dfd
JS
19932016-05-10 Joel Sherrill <joel@rtems.org>
1994
1995 PR libgcc/70720
1996 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
1997 targets so the same extra_parts are built. Also have tmake_file add
1998 on to its value rather than override.
1999
bc6d9014
OE
20002016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
2001
2002 * config.host: Remove SH5 support.
2003 * configure: Likewise.
2004
9129c8cf
OE
20052016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
2006
2007 * config/sh/crt1.S: Remove SH5 support.
2008 * config/sh/crti.S: Likewise.
2009 * config/sh/crtn.S: Likewise.
2010 * config/sh/lib1funcs-4-300.S: Likewise.
2011 * config/sh/lib1funcs-Os-4-200.S: Likewise.
2012 * config/sh/lib1funcs.S: Likewise.
2013 * config/sh/linux-unwind.h: Likewise.
2014 * config/sh/t-sh64: Delete.
2015
39d50464
CZ
20162016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
2017
2018 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
2019
8b48923b
CZ
20202016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
2021 Joern Rennecke <joern.rennecke@embecosm.com>
2022
2023 * config/arc/crttls.S: New file.
2024 * config/arc/t-arc: New rule.
2025 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
2026
2de1cf8c
NC
20272016-04-25 Nick Clifton <nickc@redhat.com>
2028
2029 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
2030 (__mspabi_cmpd): Likewise.
2031 * config/msp430/floathidf.c (__floathidf): Likewise.
2032 * config/msp430/floathisf.c (__floathisf): Likewise
2033 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
2034 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
2035 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
2036 second parameter.
2037 (__ashrsi3): Likewise.
2038
b8ce3fe2
WB
20392016-04-21 Waldemar Brodkorb <wbx@openadk.org>
2040
2041 * config/m68k/linux-atomic.c: Do not include unistd.h
2042
4986f823
MG
20432016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
2044
2045 * config/arm/ieee754-df.S: Fix typos in comments.
2046
35fbda43
MM
20472016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
2048
2049 PR target/70381
2050 * configure.ac (powerpc*-*-linux*): Rework tests to build
2051 __float128 emulation routines to not depend on using #pragma GCC
2052 target to enable -mfloat128.
2053 * configure: Regnerate.
2054
72d1a48d
EB
20552016-04-04 Eric Botcazou <ebotcazou@adacore.com>
2056
2057 PR target/67172
2058 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
2059 __MINGW32__ is defined.
2060
dc2e8995
JB
20612016-03-28 James Bowman <james.bowman@ftdichip.com>
2062
385c7747 2063 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
dc2e8995 2064
104cdaf1
MM
20652016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
2066
2067 PR libgcc/70363
2068 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
2069 built with an assembler that does not support ISA 3.0
2070 instructions, rename __extendkftf2_sw to __extendkftf2.
2071
a5046f48
RO
20722016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2073
2074 PR target/38239
2075 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
2076 call-clobbered registers.
2077 (internal_mcount): Remove __i386__ handling.
2078
df674f74
JS
20792016-02-26 Joel Sherrill <joel@rtems.org>
2080
2081 * config.host: Add x86_64-*-rtems*.
2082
7cb065d6
JS
20832016-02-26 Joel Sherrill <joel@rtems.org>
2084
2085 * libgcc/config.host: Add aarch64-*-rtems*.
2086
47dfdc53
PM
20872016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2088 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2089
2090 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
2091 union of u64 and double.
2092 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
2093 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
2094 value.
2095 (FP_ROUNDMODE): Update the usage of _fpscr.
2096
e6861a99
IV
20972016-02-25 Ilya Verbin <ilya.verbin@intel.com>
2098
2099 PR driver/68463
2100 * Makefile.in (crtoffloadtable$(objext)): New rule.
2101 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
2102 enable_offload_targets is not empty.
2103 * configure: Regenerate.
2104 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
2105 crtoffloadtable.
2106
9bfcbdee
MF
21072016-02-17 Max Filippov <jcmvbkbc@gmail.com>
2108
2109 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
2110 .literal_position before the function.
2111 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
2112 Likewise.
2113
4cb4721f
MK
21142016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
2115
2116 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
2117 * config/s390/morestack.S: New file.
2118 * config/s390/t-stack-s390: New file.
2119 * generic-morestack.c (__splitstack_find): Add s390-specific code.
2120
b29d9a29
WL
21212016-02-12 Walter Lee <walt@tilera.com>
2122
2123 * config.host (tilegx*-*-linux*): remove ti from
2124 softfp_int_modes for 32-bit configs.
2125
03a0ae7d
ILT
21262016-02-10 Ian Lance Taylor <iant@google.com>
2127
2128 PR go/68562
2129 * config/i386/morestack.S (__stack_split_initialize): Align
2130 stack.
2131
68750bce
AT
21322016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
2133
2134 PR bootstrap/69611
2135 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
2136 __FLOAT128__ to compile only for __float128 capable targets.
2137
7d296953
JJ
21382016-01-25 Jakub Jelinek <jakub@redhat.com>
2139
2140 PR target/69444
2141 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
2142 instead of ___NO_FPRS__.
2143
a71c0334 21442016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
2145 Steven Munroe <munroesj@linux.vnet.ibm.com>
2146 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
a71c0334
MM
2147
2148 * config/rs6000/float128-sed: New files to convert TF names to KF
2149 names for PowerPC IEEE 128-bit floating point support.
2150 * config/rs6000/float128-sed-hw: Likewise.
2151
2152 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2153 floating point hardware support.
2154
2155 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2156 128-bit floating point software emulation or use ISA 3.0 hardware
2157 support if it is available.
2158
2159 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2160 floating point.
2161
2162 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
2163 floating point to IBM extended double.
2164
2165 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
2166 double to IEEE 128-bit floating point.
2167
2168 * config/rs6000/t-float128: New Makefile fragments to enable
2169 building __float128 emulation support.
2170 * config/rs6000/t-float128-hw: Likewise.
2171
2172 * config/rs6000/sfp-exceptions.c: New file to provide exception
2173 support for IEEE 128-bit floating point.
2174
2175 * config/rs6000/floattikf.c: New files for converting between IEEE
2176 128-bit floating point and signed/unsigned 128-bit integers.
2177 * config/rs6000/fixunskfti.c: Likewise.
2178 * config/rs6000/fixkfti.c: Likewise.
2179 * config/rs6000/floatuntikf.c: Likewise.
2180
2181 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2182 when building on 64-bit systems, or when VSX is enabled.
2183 (_FP_W_TYPE): Likewise.
2184 (_FP_WS_TYPE): Likewise.
2185 (_FP_I_TYPE): Likewise.
2186 (TItype): Define on 64-bit systems.
2187 (UTItype): Likewise.
2188 (TI_BITS): Likewise.
2189 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2190 (_FP_MUL_MEAT_Q): Likewise.
2191 (_FP_DIV_MEAT_D): Likewise.
2192 (_FP_DIV_MEAT_Q): Likewise.
2193 (_FP_NANFRAC_D): Likewise.
2194 (_FP_NANFRAC_Q): Likewise.
2195 (ISA_BIT): Add exception support if we are being compiled on a
2196 machine with hardware floating point support to build the IEEE
2197 128-bit emulation functions.
2198 (FP_EX_INVALID): Likewise.
2199 (FP_EX_OVERFLOW): Likewise.
2200 (FP_EX_UNDERFLOW): Likewise.
2201 (FP_EX_DIVZERO): Likewise.
2202 (FP_EX_INEXACT): Likewise.
2203 (FP_EX_ALL): Likewise.
2204 (__sfp_handle_exceptions): Likewise.
2205 (FP_HANDLE_EXCEPTIONS): Likewise.
2206 (FP_RND_NEAREST): Likewise.
2207 (FP_RND_ZERO): Likewise.
2208 (FP_RND_PINF): Likewise.
2209 (FP_RND_MINF): Likewise.
2210 (FP_RND_MASK): Likewise.
2211 (_FP_DECL_EX): Likewise.
2212 (FP_INIT_ROUNDMODE): Likewise.
2213 (FP_ROUNDMODE): Likewise.
2214
2215 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2216 VSX code, enable IEEE 128-bit floating point. If the compiler can
2217 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
2218 floating point hardware instructions and it supports declaring
2219 functions with the ifunc attribute, enable ifunc functions to
2220 switch between software and hardware support.
2221 * configure.ac (powerpc*-*-linux*): Likewise.
2222 * configure: Regenerate.
2223
bdc27e50
NC
22242016-01-15 Nick Clifton <nickc@redhat.com>
2225
2226 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
2227 dependency as the source file to be compiled.
2228 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
2229 (lib2hw_mul_f5.o): Likewise.
2230
006df05d
MM
22312016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
2232
2233 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
2234 * libgcc/config/rs6000/fixkfti.c: Likewise.
2235 * libgcc/config/rs6000/fixunskfti.c: Likewise.
2236 * libgcc/config/rs6000/float128-hw.c: Likewise.
2237 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
2238 * libgcc/config/rs6000/float128-sed: Likewise.
2239 * libgcc/config/rs6000/floattikf.c: Likewise.
2240 * libgcc/config/rs6000/floatuntikf.c: Likewise.
2241 * libgcc/config/rs6000/quad-float128.h: Likewise.
2242 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
2243 * libgcc/config/rs6000/sfp-machine.h: Likewise.
2244 * libgcc/config/rs6000/t-float128: Likewise.
2245 * libgcc/config/rs6000/t-float128-hw: Likewise.
2246 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
2247 * libgcc/config.host: Likewise.
2248 * libgcc/configure: Likewise.
2249 * libgcc/configure.ac: Likewise.
2250
29176d57 22512016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
2252 Steven Munroe <munroesj@linux.vnet.ibm.com>
2253 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
29176d57
MM
2254
2255 * config/rs6000/sfp-exceptions.c: New file to provide exception
2256 support for IEEE 128-bit floating point.
2257
2258 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2259 floating point hardware support.
2260
2261 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
2262 point conversions.
2263 * config/rs6000/fixunskfti.c: Likewise.
2264 * config/rs6000/fixkfti.c: Likewise.
2265 * config/rs6000/floatuntikf.c: Likewise.
2266 * config/rs6000/extendkftf2-sw.c: Likewise.
2267 * config/rs6000/trunctfkf2-sw.c: Likewise.
2268
2269 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2270 128-bit floating point software emulation or use ISA 3.0 hardware
2271 support if it is available.
2272
2273 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2274 floating point.
2275
2276 * config/rs6000/t-float128: New Makefile fragments to enable
2277 building __float128 emulation support.
2278 * config/rs6000/t-float128-hw: Likewise.
2279
2280 * config/rs6000/float128-sed: New file to convert TF names to KF
2281 names for PowerPC IEEE 128-bit floating point support.
2282
2283 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2284 when building on 64-bit systems, or when VSX is enabled.
2285 (_FP_W_TYPE): Likewise.
2286 (_FP_WS_TYPE): Likewise.
2287 (_FP_I_TYPE): Likewise.
2288 (TItype): Define on 64-bit systems.
2289 (UTItype): Likewise.
2290 (TI_BITS): Likewise.
2291 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2292 (_FP_MUL_MEAT_Q): Likewise.
2293 (_FP_DIV_MEAT_D): Likewise.
2294 (_FP_DIV_MEAT_Q): Likewise.
2295 (_FP_NANFRAC_D): Likewise.
2296 (_FP_NANFRAC_Q): Likewise.
2297 (ISA_BIT): Add exception support if we are being compiled on a
2298 machine with hardware floating point support to build the IEEE
2299 128-bit emulation functions.
2300 (FP_EX_INVALID): Likewise.
2301 (FP_EX_OVERFLOW): Likewise.
2302 (FP_EX_UNDERFLOW): Likewise.
2303 (FP_EX_DIVZERO): Likewise.
2304 (FP_EX_INEXACT): Likewise.
2305 (FP_EX_ALL): Likewise.
2306 (__sfp_handle_exceptions): Likewise.
2307 (FP_HANDLE_EXCEPTIONS): Likewise.
2308 (FP_RND_NEAREST): Likewise.
2309 (FP_RND_ZERO): Likewise.
2310 (FP_RND_PINF): Likewise.
2311 (FP_RND_MINF): Likewise.
2312 (FP_RND_MASK): Likewise.
2313 (_FP_DECL_EX): Likewise.
2314 (FP_INIT_ROUNDMODE): Likewise.
2315 (FP_ROUNDMODE): Likewise.
2316
2317 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
2318 compiler can do __float128.
2319 * configure: Regenerate.
2320
2321 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2322 VSX code, enable IEEE 128-bit floating point.
2323
a2218983
OH
23242016-01-05 Olivier Hainque <hainque@adacore.com>
2325
2326 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
29176d57 2327 specificities.
a2218983 2328
818ab71a
JJ
23292016-01-04 Jakub Jelinek <jakub@redhat.com>
2330
2331 Update copyright years.
2332
5a6c8ffa
AP
23332015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
2334
2335 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
29176d57 2336 soft-fp targets.
5a6c8ffa 2337
077067a5
BE
23382015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
2339
2340 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
2341 instead of abort to avoid dependency on stdlib.h.
2342
787c1027
JDA
23432015-12-09 John David Anglin <danglin@gcc.gnu.org>
2344
2345 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
2346 to initialize call to __dl_fixup once.
2347
04a9ae28
NC
23482015-12-04 Nick Clifton <nickc@redhat.com>
2349
2350 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
2351 Allow for the second argument being negative.
2352 * config.host (extra_parts): Define for MSP430. Create separate
2353 libraries for each of the hardware multiply formats.
2354 * config/msp430/lib2hw_mul.S: Build only the multiply routines
2355 that are needed.
2356 * config/msp430/lib2mul.c: Likewise.
2357 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
2358 Add rules to build hardware multiply libraries.
2359 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
2360 __mspabi_divul function.
2361 (__mspabi_divllu): New stub function.
2362
9a32d437
JDA
23632015-12-01 John David Anglin <danglin@gcc.gnu.org>
2364
2365 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
2366 fixup values if saved GOT address doesn't match runtime address.
2367 (fixup_branch_offset): Reorder list.
2368
e5ef217c
RO
23692015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2370
2371 * Makefile.in (VTV_CFLAGS): New variable.
2372 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
2373 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
2374 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2375 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
2376 to extra_parts if $enable_vtable_verify = yes.
2377
78cc43a2
SN
23782015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
2379
2380 PR target/68059
2381 * config/arm/linux-atomic-64bit.c (__write): Rename to...
2382 (write): ...this and fix the return type.
2383
9afebea2
DD
23842015-11-19 DJ Delorie <dj@redhat.com>
2385
2386 * config/msp430/lib2hw_mul.S: Fix alignment.
2387
33f47f42
NS
23882015-11-18 Nathan Sidwell <nathan@codesourcery.com>
2389
2390 * config/nvptx/reduction.c: New.
2391 * config/nvptx/t-nvptx (LIB2ADD): Add it.
2392
d9adb476
DE
23932015-11-15 David Edelsohn <dje.gcc@gmail.com>
2394
2395 * config/rs6000/on_exit.c: New file.
2396 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
2397 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
2398
c0ab1970
CZ
23992015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
2400
2401 * config/arc/dp-hack.h: Add support for ARCHS.
2402 * config/arc/ieee-754/divdf3.S: Likewise.
2403 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
2404 * config/arc/ieee-754/muldf3.S: Likewise.
2405 * config/arc/ieee-754/mulsf3.S: Likewise
2406 * config/arc/lib1funcs.S: Likewise
2407 * config/arc/gmon/dcache_linesz.S: Don't read the build register
2408 for ARCv2 cores.
2409 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
2410 for ARCv2 cores.
2411 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
2412 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
2413 cores.
2414
e6b6bf09
RO
24152015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2416
2417 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
2418 value.
2419 * config/ia64/crtend.S: Likewise.
2420
a153644f
TS
24212015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2422
2423 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
2424 __CHAR_BIT__ instead of BITS_PER_UNIT.
2425 * fixed-bit.h: Likewise.
2426 * fp-bit.h: Likewise.
2427 * libgcc2.c (__popcountSI2): Likewise.
2428 (__popcountDI2): Likewise.
2429 * libgcc2.h: Likewise.
2430 * libgcov.h: Likewise.
2431
3dee689d
DE
24322015-11-07 David Edelsohn <dje.gcc@gmail.com>
2433
2434 * config/rs6000/atexit.c: New file.
2435 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
2436 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
2437 * config/rs6000/cxa_finalize.c
2438 (catomic_compare_and_exchange_bool_acq): Negate return value.
2439
2ef543e4
VK
24402015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
2441
2442 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
2443 (processor_subtypes): Add znver1.
2444 (get_amd_cpu): Detect znver1.
2445
1300f017
CL
24462015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
2447
2448 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
2449 Include crtfastmath.o.
2450
3e5bb7ee
JR
24512015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
2452
2453 PR libgcc/66883
2454 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1300f017 2455
793aa938
KP
24562015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
2457
2458 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
2459 * config/rl78/divmodsi.S: Update return register to r8.
2460 * config/rl78/divmodhi.S: Update return register to r8,r9.
2461 Branch to main_loop_done_himode to pop registers before return.
2462
7d296953 24632015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
fac812f0
VK
2464
2465 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
2466 (__cpu_indicator_init): Fix model selection for AMD CPUs.
2467
6a192b5a
KY
24682015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
2469
2470 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
2471
4a0a9457
MF
24722015-10-03 Max Filippov <jcmvbkbc@gmail.com>
2473
2474 * config.host (xtensa*-*-uclinux*): New configuration.
2475
ab91c076
KY
24762015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
2477
385c7747 2478 * config/i386/cpuinfo.c (processor_features): Add
ab91c076
KY
2479 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
2480
30954527
JM
24812015-09-28 Joseph Myers <joseph@codesourcery.com>
2482
2483 * soft-fp/adddf3.c: Update from glibc.
2484 * soft-fp/addsf3.c: Likewise.
2485 * soft-fp/addtf3.c: Likewise.
2486 * soft-fp/divdf3.c: Likewise.
2487 * soft-fp/divsf3.c: Likewise.
2488 * soft-fp/divtf3.c: Likewise.
2489 * soft-fp/double.h: Likewise.
2490 * soft-fp/eqdf2.c: Likewise.
2491 * soft-fp/eqsf2.c: Likewise.
2492 * soft-fp/eqtf2.c: Likewise.
2493 * soft-fp/extenddftf2.c: Likewise.
2494 * soft-fp/extended.h: Likewise.
2495 * soft-fp/extendsfdf2.c: Likewise.
2496 * soft-fp/extendsftf2.c: Likewise.
2497 * soft-fp/extendxftf2.c: Likewise.
2498 * soft-fp/fixdfdi.c: Likewise.
2499 * soft-fp/fixdfsi.c: Likewise.
2500 * soft-fp/fixdfti.c: Likewise.
2501 * soft-fp/fixsfdi.c: Likewise.
2502 * soft-fp/fixsfsi.c: Likewise.
2503 * soft-fp/fixsfti.c: Likewise.
2504 * soft-fp/fixtfdi.c: Likewise.
2505 * soft-fp/fixtfsi.c: Likewise.
2506 * soft-fp/fixtfti.c: Likewise.
2507 * soft-fp/fixunsdfdi.c: Likewise.
2508 * soft-fp/fixunsdfsi.c: Likewise.
2509 * soft-fp/fixunsdfti.c: Likewise.
2510 * soft-fp/fixunssfdi.c: Likewise.
2511 * soft-fp/fixunssfsi.c: Likewise.
2512 * soft-fp/fixunssfti.c: Likewise.
2513 * soft-fp/fixunstfdi.c: Likewise.
2514 * soft-fp/fixunstfsi.c: Likewise.
2515 * soft-fp/fixunstfti.c: Likewise.
2516 * soft-fp/floatdidf.c: Likewise.
2517 * soft-fp/floatdisf.c: Likewise.
2518 * soft-fp/floatditf.c: Likewise.
2519 * soft-fp/floatsidf.c: Likewise.
2520 * soft-fp/floatsisf.c: Likewise.
2521 * soft-fp/floatsitf.c: Likewise.
2522 * soft-fp/floattidf.c: Likewise.
2523 * soft-fp/floattisf.c: Likewise.
2524 * soft-fp/floattitf.c: Likewise.
2525 * soft-fp/floatundidf.c: Likewise.
2526 * soft-fp/floatundisf.c: Likewise.
2527 * soft-fp/floatunditf.c: Likewise.
2528 * soft-fp/floatunsidf.c: Likewise.
2529 * soft-fp/floatunsisf.c: Likewise.
2530 * soft-fp/floatunsitf.c: Likewise.
2531 * soft-fp/floatuntidf.c: Likewise.
2532 * soft-fp/floatuntisf.c: Likewise.
2533 * soft-fp/floatuntitf.c: Likewise.
2534 * soft-fp/gedf2.c: Likewise.
2535 * soft-fp/gesf2.c: Likewise.
2536 * soft-fp/getf2.c: Likewise.
2537 * soft-fp/ledf2.c: Likewise.
2538 * soft-fp/lesf2.c: Likewise.
2539 * soft-fp/letf2.c: Likewise.
2540 * soft-fp/muldf3.c: Likewise.
2541 * soft-fp/mulsf3.c: Likewise.
2542 * soft-fp/multf3.c: Likewise.
2543 * soft-fp/negdf2.c: Likewise.
2544 * soft-fp/negsf2.c: Likewise.
2545 * soft-fp/negtf2.c: Likewise.
2546 * soft-fp/op-1.h: Likewise.
2547 * soft-fp/op-2.h: Likewise.
2548 * soft-fp/op-4.h: Likewise.
2549 * soft-fp/op-8.h: Likewise.
2550 * soft-fp/op-common.h: Likewise.
2551 * soft-fp/quad.h: Likewise.
2552 * soft-fp/single.h: Likewise.
2553 * soft-fp/soft-fp.h: Likewise.
2554 * soft-fp/subdf3.c: Likewise.
2555 * soft-fp/subsf3.c: Likewise.
2556 * soft-fp/subtf3.c: Likewise.
2557 * soft-fp/truncdfsf2.c: Likewise.
2558 * soft-fp/trunctfdf2.c: Likewise.
2559 * soft-fp/trunctfsf2.c: Likewise.
2560 * soft-fp/trunctfxf2.c: Likewise.
2561 * soft-fp/unorddf2.c: Likewise.
2562 * soft-fp/unordsf2.c: Likewise.
2563 * soft-fp/unordtf2.c: Likewise.
2564
4dfe21ac
RE
25652015-09-24 Richard Earnshaw <rearnsha@arm.com>
2566
2567 PR libgcc/67624
2568 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
2569
df2a1cc4
RO
25702015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2571
2572 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2573 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
2574 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
2575 messages.
2576 (internal_mcount): Likewise.
2577 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
2578 crt_compile, add CRTSTUFF_T_CFLAGS_S.
2579
2d110442
RO
25802015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2581
2582 * configure.ac (libgcc_cv_solaris_crts): New test.
2583 * configure: Regenerate.
2584 * config.in: Regenerate.
2585 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
2586 * config/gmon-sol2.c: Rename to ...
2587 * config/sol2/gmon.c: ... this.
2588 Include auto-target.h.
2589 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
2590 * config/t-sol2: Rename to ...
2591 * config/sol2/t-sol2: ... this.
2592 (gmon.o): Reflect renaming.
2593 (crtp.o, crtpg.o): New rules.
2594 * config.host (*-*-solaris2*): Reflect renaming.
2595 Use system CRTs if present.
2596 Remove default CRT case.
2597
d572e439
JDA
25982015-09-23 John David Anglin <danglin@gcc.gnu.org>
2599
2600 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
2601 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
2602 __kernel_cmpxchg2.
2603 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
2604 (__sync_val_compare_and_swap_##WIDTH): Likewise.
2605 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
2606 (__sync_lock_test_and_set_##WIDTH): Likewise.
2607 (__sync_lock_release_##WIDTH): Likewise.
2608 (__sync_fetch_and_##OP##_4): Change result to match type of
2609 __kernel_cmpxchg.
2610 (__sync_##OP##_and_fetch_4): Likewise.
2611 (__sync_val_compare_and_swap_4): Likewise.
2612 (__sync_bool_compare_and_swap_4): likewise.
2613 (__sync_lock_test_and_set_4): Likewise.
2614 (__sync_lock_release_4): Likewise.
2615 (FETCH_AND_OP_2): Add long long variants.
2616 (OP_AND_FETCH_2): Likewise.
2617 (COMPARE_AND_SWAP_2 ): Likewise.
2618 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2619 (SYNC_LOCK_RELEASE_2): Likewise.
2620 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
2621
7d296953 26222015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
06caf59d
KY
2623
2624 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
2625 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
2626 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
2627 (get_available_features): Habdle new features.
2628
131314e1
JB
26292015-09-21 James Bowman <james.bowman@ftdichip.com>
2630
2631 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
2632 memory layout. Deal correctly with BSS region larger than 32K.
2633 Handle a watchdog reset like a power-on reset. Clean up unused
2634 code.
2635
04218b35
AD
26362015-09-18 Andrew Dixie <andrewd@gentrack.com>
2637 David Edelsohn <dje.gcc@gmail.com>
2638
2639 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
2640 * config/rs6000/crtdbase.S: New file.
2641 * config/rs6000/t-aix-cxa: Build crtdbase.o.
2642
c8338173
MF
26432015-09-15 Max Filippov <jcmvbkbc@gmail.com>
2644
2645 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
2646 Add support for call0 ABI.
2647
7a84bf71
JDA
26482015-09-13 John David Anglin <danglin@gcc.gnu.org>
2649
2650 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
2651
4efab402
SH
26522015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
2653
2654 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
2655 (__GTHREAD_HAS_COND): Likewise.
2656 (__gthread_t): Likewise.
2657 (__gthread_cond_t): Likewise.
2658 (__gthread_time_t): Likewise.
2659 (__GTHREAD_MUTEX_INIT): Likewise.
2660 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
2661 (__GTHREAD_COND_INIT): Likewise.
2662 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
2663 (__GTHREAD_TIME_INIT): Likewise.
2664 (__gthread_create): Likewise.
2665 (__gthread_join): Likewise.
2666 (__gthread_detach): Likewise.
2667 (__gthread_equal): Likewise.
2668 (__gthread_self): Likewise.
2669 (__gthread_yield): Likewise.
2670 (__gthread_cond_broadcast): Likewise.
2671 (__gthread_cond_signal): Likewise.
2672 (__gthread_cond_wait): Likewise.
2673 (__gthread_cond_timedwait): Likewise.
2674 (__gthread_cond_wait_recursive): Likewise.
2675 (__gthread_cond_destroy): Likewise.
2676 (rtems_gxx_once): Delete.
2677 (rtems_gxx_key_create): Likewise.
2678 (rtems_gxx_key_delete): Likewise.
2679 (rtems_gxx_getspecific): Likewise.
2680 (rtems_gxx_setspecific): Likewise.
2681 (rtems_gxx_mutex_init): Likewise.
2682 (rtems_gxx_mutex_destroy): Likewise.
2683 (rtems_gxx_mutex_lock): Likewise.
2684 (rtems_gxx_mutex_trylock): Likewise.
2685 (rtems_gxx_mutex_unlock): Likewise.
2686 (rtems_gxx_recursive_mutex_init): Likewise.
2687 (rtems_gxx_recursive_mutex_lock): Likewise.
2688 (rtems_gxx_recursive_mutex_trylock): Likewise.
2689 (rtems_gxx_recursive_mutex_unlock): Likewise.
2690 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
2691 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
2692 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
2693 (__gthread_once): Likewise.
2694 (__gthread_key_create): Likewise.
2695 (__gthread_key_delete): Likewise.
2696 (__gthread_getspecific): Likewise.
2697 (__gthread_setspecific): Likewise.
2698 (__gthread_key_t): Use <pthread.h> type.
2699 (__gthread_once_t): Likewise
2700 (__gthread_mutex_t): Use <sys/lock.h> type.
2701 (__gthread_recursive_mutex_t): Likewise
2702 (__gthread_mutex_lock): Use <sys/lock.h> function.
2703 (__gthread_mutex_trylock): Likewise.
2704 (__gthread_mutex_timedlock): Likewise.
2705 (__gthread_mutex_unlock): Likewise.
2706 (__gthread_mutex_destroy): Likewise.
2707 (__gthread_recursive_mutex_lock): Likewise.
2708 (__gthread_recursive_mutex_trylock): Likewise.
2709 (__gthread_recursive_mutex_timedlock): Likewise.
2710 (__gthread_recursive_mutex_unlock): Likewise.
2711 (__gthread_recursive_mutex_destroy): Likewise.
2712
991995c4
MF
27132015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2714
2715 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
2716 context->sp instead of context->cfa.
2717
0e19db59
MF
27182015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2719
2720 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
2721 with unwind-dw2-fde-dip.
2722
b6ac5f62
MF
27232015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2724
2725 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
2726 CALL12 followed by series of ENTRY to spill windowed registers.
2727 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
2728 instead of making linux spill syscall.
2729
3e0f3349
YR
27302015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
2731
2732 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
2733 (get_intel_cpu): Likewise.
2734
51c728b1
L
27352015-08-12 H.J. Lu <hongjiu.lu@intel.com>
2736
2737 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
2738 (get_intel_cpu): Add Knights Landing support.
2739
aff4eeac
UB
27402015-08-11 Uros Bizjak <ubizjak@gmail.com>
2741
2742 PR target/66954
2743 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
2744 (get_available_features): Handle FEATURE_PCLMUL.
2745
736e56da
L
27462015-08-10 H.J. Lu <hongjiu.lu@intel.com>
2747
2748 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
2749 Broadwell.
2750
54d22142
UB
27512015-07-22 Uros Bizjak <ubizjak@gmail.com>
2752
2753 PR target/66954
2754 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
2755 (get_available_features): Handle FEATURE_AES.
2756
20ca17e4
CLT
27572015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
2758
2759 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
2760 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
2761
ebe4a560
NS
27622015-07-17 Nathan Sidwell <nathan@codesourcery.com>
2763
2764 * offloadstuff.c: Constify host data.
2765
180744c0
JB
27662015-07-17 Jan Beulich <jbeulich@suse.com>
2767
2768 * config/t-softfp: Split up "else ifneq".
2769
a03c6ae3
SL
27702015-07-14 Sandra Loosemore <sandra@codesourcery.com>
2771 Cesar Philippidis <cesar@codesourcery.com>
2772 Chung-Lin Tang <cltang@codesourcery.com>
2773
2774 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
2775 for __nios2_arch__ level.
2776
73358db5
JM
27772015-07-13 John Marino <gnugcc@marino.st>
2778
2779 * config/i386/t-dragonfly: New.
2780
f9a12f7b
JDA
27812015-07-01 John David Anglin <danglin@gcc.gnu.org>
2782
2783 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
2784 better match light-weight syscall argument order.
2785 (__kernel_cmpxchg2): Likewise.
2786 Adjust callers.
2787
cb78b51c
L
27882015-06-30 H.J. Lu <hongjiu.lu@intel.com>
2789
2790 * config.host: Support i[34567]86-*-elfiamcu target.
2791 * config/t-softfp-sfdftf: New file.
2792 * config/i386/32/t-iamcu: Likewise.
2793 * configure: Regenerated.
2794
4fa0f9ea
JL
27952015-06-23 James Lemke <jwlemke@codesourcery.com>
2796
2797 libgcc/config/arm/
2798 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
2799
428b3812
L
28002015-05-27 H.J. Lu <hongjiu.lu@intel.com>
2801
2802 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
2803
7d296953 28042015-05-27 John Marino <gnugcc@marino.st>
89c54dd3
JM
2805
2806 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
2807 md_unwind_header
2808 * config/i386/freebsd-unwind.h: New.
2809
9b789cc1
UB
28102015-05-22 Uros Bizjak <ubizjak@gmail.com>
2811
2812 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
2813 i386/t-crtfm to tmake_file.
2814 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
2815 (set_fast_math): Use set_fast_math_sse for SSE targets.
2816 * config/i386/t-crtfm: Remove.
2817
3dafb220
AM
28182015-05-21 Alan Modra <amodra@gmail.com>
2819
2820 PR libgcc/66225
2821 * config/rs6000/morestack.S: Remove ".abiversion 1".
2822
0f0fd745
AM
28232015-05-20 Alan Modra <amodra@gmail.com>
2824
2825 * config/rs6000/morestack.S: New.
2826 * config/rs6000/t-stack-rs6000: New.
2827 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
2828 to tmake_file.
2829 * generic-morestack.c: Don't build for powerpc 32-bit.
2830
515ae71b
EB
28312015-05-19 Eric Botcazou <ebotcazou@adacore.com>
2832
2833 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
2834 Remove useless endif/ifneq ($(enable_shared),yes) pair.
2835
36805406
JL
28362015-05-16 James Bowman <james.bowman@ftdichip.com>
2837
2838 * config.host: FT32 target added.
2839 * config/ft32/*: New files for FT32 target.
2840
ff935d0c
MG
28412015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
2842
385c7747
UB
2843 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
2844 New macros.
2845 * config/arm/ieee754-df.S: Add CFI directives.
2846 * config/arm/ieee754-sf.S: Add CFI directives.
ff935d0c 2847
9b92a9f3
EB
28482015-05-13 Eric Botcazou <ebotcazou@adacore.com>
2849
2850 * configure.ac: Include config/sjlj.m4.
2851 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
2852 * config.in: Regenerate.
2853 * configure: Likewise.
2854 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
2855
98b5dc61
UB
28562015-05-12 Uros Bizjak <ubizjak@gmail.com>
2857
2858 * libgcov-util.c: Add space between string literal and macro name.
2859
5a0ff57c
SL
28602015-05-06 Sandra Loosemore <sandra@codesourcery.com>
2861 Chris Jones <chrisj@nvidia.com>
2862 Joshua Conner <jconner@nvidia.com>
2863
2864 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
2865 (arm*-*-uclinux*): Likewise.
2866 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
2867 * config/arm/crtfastmath.c: New file.
2868
d28ad5d4
BS
28692014-04-29 Bernd Schmidt <bernds@codesourcery.com>
2870
2871 * Makefile.in (real_host_noncanonical): New variable.
2872 (libsubdir): Use it.
2873 * configure.ac (real_host_noncanonical): Compute. Remove special
2874 case for intelmicemul.
2875 * configure: Regenerate.
2876
cc86234f
UB
28772015-04-28 Uros Bizjak <ubizjak@gmail.com>
2878
2879 * config/frv/elf-lib.h: New file.
2880 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
2881 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
2882 to tm_file.
2883
28842015-04-28 Uros Bizjak <ubizjak@gmail.com>
2885
2886 * config/frv/frvbengin.c: Do not include defaults.h
2887 * config/frv/frvend.c: Ditto.
2888
2f6bd6eb
YS
28892015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
2890
2891 * config.host: Add h8300-*-linux
2892 * config/h8300/t-linux: New file.
2893 * config/h8300/lib1funs.s: Change symbol prefix.
2894 * config/h8300/sfp-machine.h: 64bit double support.
2895
15aa7b44
GR
28962015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
2897 Szabolcs Nagy <szabolcs.nagy@arm.com>
2898
2899 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
2900 Linux if target provides dl_iterate_phdr.
2901
abd0cdc9
L
29022015-04-17 H.J. Lu <hongjiu.lu@intel.com>
2903
2904 PR target/65612
2905 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
2906 * config/i386/cpuinfo.c (__cpu_model): Initialize.
2907 (__cpu_indicator_init@GCC_4.8.0): New.
2908 (__cpu_model@GCC_4.8.0): Likewise.
2909 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
2910 -DUSE_ELF_SYMVER.
2911
72ed1126
NC
29122015-04-16 Nick Clifton <nickc@redhat.com>
2913
2914 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
2915 and __modhi3 functions.
2916 * config/rl78/divmodso.S: Add G14 and G13 versions of the
2917 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
2918
d26b2237
CG
29192015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
2920
2921 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
2922 do-while loop as macro body to avoid warnings.
2923
cacf1f59
JJ
29242015-04-10 Jakub Jelinek <jakub@redhat.com>
2925 Iain Sandoe <iain@codesourcery.com>
2926
2927 PR target/65351
2928 * configure: Regenerate.
2929
e8a4ed3b
JJ
29302015-04-07 Jakub Jelinek <jakub@redhat.com>
2931 Iain Sandoe <iain@codesourcery.com>
2932
2933 PR target/65351
2934 * configure: Regenerate.
2935
0341335e
CLT
29362015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
2937
2938 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
2939
590e2636 29402015-03-03 Max Filippov <jcmvbkbc@gmail.com>
0341335e 2941
590e2636
MF
2942 Implement call0 ABI for xtensa
2943 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
2944 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
2945 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
2946 use ret in call0 ABI.
2947 * config/xtensa/t-windowed: New file.
2948 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
2949 * libgcc/configure: Regenerated.
2950 * libgcc/configure.ac: Check if xtensa target is configured for
2951 windowed ABI and thus needs to use custom unwind code.
2952
7727f8f2
JW
29532015-02-12 Jonathan Wakely <jwakely@redhat.com>
2954
2955 PR libgcc/64885
2956 * gthr-single.h: Use __unused__ attribute instead of unused.
2957 * config/gthr-vxworks.h: Likewise.
2958 * config/i386/gthr-win32.h: Likewise.
2959
0e4a0def
KT
29602015-02-27 Kai Tietz <ktietz@redhat.com>
2961
2962 PR target/65038
2963 * config.in: Regenerated.
2964 * configure: Likewise.
2965 * configure.ac (AC_HEADER_STDC): Added explicit.
2966 (AC_CHECK_HEADERS): Check for default headers plus
2967 for ftw.h header.
2968 * libgcov-util.c (gcov_read_profile_dir): Disable use
2969 of ftw-function, if header is not found.
2970 (ftw_read_file): Likewise.
2971
b6530d0a
TS
29722015-02-23 Thomas Schwinge <thomas@codesourcery.com>
2973
2974 PR target/65181
2975 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
2976 -Dinhibit_libc.
2977
53cfb467
SL
29782015-02-17 Sandra Loosemore <sandra@codesourcery.com>
2979
2980 * config/arm/bpabi.S (test_div_by_zero): Make label names
2981 consistent between thumb2 and arm mode cases. Separate the
2982 signed comparison on the high word of the numerator from the
2983 unsigned comparison on the low word.
2984 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
2985 signed comparison.
2986
77d10a1b
JM
29872015-02-17 Joseph Myers <joseph@codesourcery.com>
2988
2989 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
2990 and <string.h>.
2991 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
2992
98174188
RE
29932015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
2994
2995 PR gcov-profile/61889
471274de 2996 * libgcov-driver-system.c: undefine clashing macro for mkdir.
98174188 2997
771bef14
NC
29982015-02-02 Nick Clifton <nickc@redhat.com>
2999
3000 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
3001 rounding up the fraction.
3002
40702893
JDA
30032015-01-31 John David Anglin <danglin@gcc.gnu.org>
3004
3005 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
3006 oldval and newval to const void *. Fix typo.
3007 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
3008 (FETCH_AND_OP_WORD): Likewise.
3009 (OP_AND_FETCH_WORD): Likewise.
3010 (COMPARE_AND_SWAP_2): Likewise.
3011 (__sync_val_compare_and_swap_4): Likewise.
3012 (__sync_lock_test_and_set_4): Likewise.
3013 (SYNC_LOCK_RELEASE_2): Likewise.
3014 Remove support for long long atomic operations.
3015
f7f049fa
CT
30162015-01-27 Caroline Tice <cmtice@google.com>
3017
3018 Committing VTV Cywin/Ming patch for Patrick Wollgast
3019 * Makefile.in: Move rules to build vtv_*.o out of the check
3020 for CUSTOM_CRTSTUFF.
3021 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
3022 i[34567]86-*-mingw*)
3023 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
3024 enable_vtable_verify.
3025
8410904a
NC
30262015-01-27 Nick Clifton <nickc@redhat.com>
3027
3028 * config/rl78/cmpsi2.S: Use function start and end macros.
3029 (__gcc_bcmp): New function.
3030 * config/rl78/lshrsi3.S: Use function start and end macros.
3031 * config/rl78/mulsi3.S: Add support for G10.
3032 (__mulqi3): New function for G10.
3033 * config/rl78/signbit.S: Use function start and end macros.
3034 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
3035 fpmath-sf.S.
3036 (LIB2FUNCS_EXCLUDE): Define.
3037 (LIB2FUNCS_ST): Define.
3038 * config/rl78/trampoline.S: Use function start and end macros.
3039 * config/rl78/vregs.h (START_FUNC): New macro.
3040 (START_ANOTHER_FUNC): New macro.
3041 (END_FUNC): New macro.
3042 (END_ANOTHER_FUNC): New macro.
3043 * config/rl78/bit-count.S: New file. Contains assembler
3044 implementations of the bit counting functions: ___clzhi2,
3045 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
3046 __paritysi2, __popcounthi2 and __popcountsi2.
3047 * config/rl78/fpbit-sf.S: New file. Contains assembler
3048 implementationas of the math functions: __negsf2, __cmpsf2,
3049 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
3050 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
3051 * config/rl78/fpmath-sf.S: New file. Contains assembler
3052 implementations of the math functions: __subsf3, __addsf3,
3053 __mulsf3 and __divsf3
3054
f962fbf1
RO
30552015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3056
3057 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
3058 Add i386/elf-lib.h to tm_file.
3059 * config/i386/elf-lib.h: Fix comment.
3060 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
3061 && __sun__ && __svr4__]: Remove workaround.
3062
939911c5
ASJ
30632015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
3064
3065 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
3066 FEATURE_BMI2.
3067 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
3068
c8f2dff2
L
30692015-01-24 H.J. Lu <hongjiu.lu@intel.com>
3070
3071 * config/i386/cpuinfo.c (processor_subtypes): Add
3072 INTEL_COREI7_BROADWELL.
3073 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
3074 model numbers.
3075
7bbf9734
UB
30762015-01-23 Uros Bizjak <ubizjak@gmail.com>
3077
3078 * config/i386/elf-lib.h: New file.
3079 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
3080 Wrap definition in #ifdef __i386__.
3081 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
3082 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
3083 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
3084 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
3085 to tm_file.
3086
324820f1
CG
30872015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
3088
3089 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
3090 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
3091
a9ce4e4a
CLT
30922015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
3093
3094 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
3095 Update rt_sigframe format and address for current Nios II
3096 Linux conventions.
3097
82a19768
AT
30982015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
3099
3100 * config.host (arm*-*-freebsd*): Add new configuration for
3101 arm*-*-freebsd*.
3102 * config/arm/freebsd-atomic.c: New file.
3103 * config/arm/t-freebsd: Likewise.
3104 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
3105 'PC-relative indirect' OS's.
3106
0969ec7d
EB
31072015-01-06 Eric Botcazou <ebotcazou@adacore.com>
3108
3109 * config.host: Add Visium support.
3110 * config/visium: New directory.
3111
5624e564
JJ
31122015-01-05 Jakub Jelinek <jakub@redhat.com>
3113
3114 Update copyright years.
3115
82f84ecb
MF
31162014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
3117
3118 * config.host: Support mipsisa32r6 and mipsisa64r6.
3119 * config/mips/mips16.S: Do not build for R6.
3120
69044fa9
OE
31212014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
3122
3123 * config/sh/crt.h: New.
3124 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
3125 symbols.
3126 * config/sh/crt1.S: Likewise.
3127
2405e0ea
UB
31282014-12-15 Uros Bizjak <ubizjak@gmail.com>
3129
3130 PR libgcc/63832
3131 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
3132 func_ptr *dtor_list temporary variable to avoid "array subscript
3133 is above array bounds" warnings.
3134
7d296953 31352014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
dd913323
MH
3136
3137 * Makefile.in (with_aix_soname): Define.
3138 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
3139 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
3140 * configure: Recreate.
3141
a66272f6
OH
31422014-12-05 Olivier Hainque <hainque@adacore.com>
3143
3144 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
3145 now provided by defaults.h.
3146
6342b2c5
OE
31472014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
3148
7d0ee249 3149 PR target/55351
6342b2c5
OE
3150 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
3151 whether it's defined.
3152
c17eac85
IT
31532014-11-27 Ilya Tocar <ilya.tocar@intel.com>
3154
3155 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
3156 * config/i386/cpuinfo.c (get_available_features): Detect it.
3157
1025cb6c
TW
31582014-11-27 Tony Wang <tony.wang@arm.com>
3159
3160 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
3161 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
3162 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
3163
d19f2e38
SB
31642014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
3165
3166 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
3167
17f6e9a3
JDA
31682014-11-24 John David Anglin <danglin@gcc.gnu.org>
3169
3170 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
3171 instead.
3172
0cd7c672
GM
31732014-11-21 Guy Martin <gmsoft@tuxicoman.be>
3174 John David Anglin <danglin@gcc.gnu.org>
3175
3176 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
3177 (FETCH_AND_OP_2): New. Use for subword and double word operations.
3178 (OP_AND_FETCH_2): Likewise.
3179 (COMPARE_AND_SWAP_2): Likewise.
3180 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3181 (SYNC_LOCK_RELEASE_2): Likewise.
3182 (SUBWORD_SYNC_OP): Remove.
3183 (SUBWORD_VAL_CAS): Likewise.
3184 (SUBWORD_BOOL_CAS): Likewise.
3185 (FETCH_AND_OP_WORD): Update.
3186 Consistently use signed types.
cc86234f 3187
85c64bbe
BS
31882014-11-13 Bernd Schmidt <bernds@codesourcery.com>
3189 Thomas Schwinge <thomas@codesourcery.com>
3190 Ilya Verbin <ilya.verbin@intel.com>
3191 Andrey Turetskiy <andrey.turetskiy@intel.com>
3192
3193 * Makefile.in (crtoffloadbegin$(objext)): New rule.
3194 (crtoffloadend$(objext)): Likewise.
3195 * configure: Regenerate.
3196 * configure.ac (accel_dir_suffix): Compute new variable.
3197 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
3198 if enable_offload_targets is not empty.
3199 * offloadstuff.c: New file.
3200
52a1ff8b
NC
32012014-11-13 Nick Clifton <nickc@redhat.com>
3202
3203 * config/rl78/divmodhi.S: Add support for the G10 architecture.
3204 Use START_FUNC and END_FUNC macros to enable linker garbage
3205 collection.
3206 * config/rl78/divmodqi.S: Likewise.
3207 * config/rl78/divmodsi.S: Likewise.
3208 * config/rl78/mulsi3.S: Likewise.
3209 * config/rl78/lib2div.c: Remove G10 functions.
3210 * config/rl78/lib2muls.c: Likewise.
3211 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
3212 * config/rl78/vregs.h (START_FUNC): New macro.
3213 (END_FUNC): New macro.
3214
050af144
MF
32152014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
3216
3217 * config/mips/mips16.S: Set .module when supported. Update O32
3218 FP64 calling convention and use for FPXX when possible. Add FPXX
3219 calling convention fallback case.
3220
738f2522
BS
32212014-11-06 Bernd Schmidt <bernds@codesourcery.com>
3222
3223 * config.host: Handle nvptx-*-*.
3224 * shared-object.mk (as-flags-$o): Define.
3225 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
3226 -xassembler-with-cpp.
3227 * static-object.mk: Identical changes.
3228 * config/nvptx/t-nvptx: New file.
3229 * config/nvptx/crt0.s: New file.
3230 * config/nvptx/free.asm: New file.
3231 * config/nvptx/malloc.asm: New file.
3232 * config/nvptx/realloc.c: New file.
3233
e610393c
JM
32342014-10-30 Joseph Myers <joseph@codesourcery.com>
3235
3236 * Makefile.in (libgcc.map.in): New target.
3237 (libgcc.map): Use libgcc.map.in.
3238 * config/t-softfp (softfp_compat): New variable to be set by
3239 users.
3240 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
3241 variables.
3242 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
3243 directory.
3244 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
3245 that use compat symbols and disable all code unless [SHARED].
3246 * config/t-softfp-compat: New file.
3247 * find-symver.awk: New file.
3248 * configure.ac (--with-glibc-version): New configure option.
3249 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
3250 * configure: Regenerate.
3251 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
3252 soft-float and e500.
3253
bc1b3a88
JM
32542014-10-29 Joseph Myers <joseph@codesourcery.com>
3255
3256 * config/t-hardfp (hardfp_exclusions): Document new variable for
3257 user to define.
3258 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
3259 * config/t-softfp (softfp_extras): Document new variable for user
3260 to define.
3261 (softfp_func_list): Add functions from $(softfp_extras).
3262 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
3263 * config.host (powerpc*-*-linux*): For e500v1, use
3264 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
3265 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
3266 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
3267
ef2810c1
JDA
32682014-10-26 John David Anglin <danglin@gcc.gnu.org>
3269
3270 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
3271 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
3272 memory read accesses are ok.
3273
d80c2bea
JM
32742014-10-25 Joseph Myers <joseph@codesourcery.com>
3275
3276 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
3277 * configure: Regenerate.
3278 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
3279 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
3280 of soft-fp for 32-bit classic hard float. Do not use
3281 t-softfp-excl for soft float.
3282
693b297b
JM
32832014-10-22 Joseph Myers <joseph@codesourcery.com>
3284
3285 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
3286 configurations.
3287 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
3288 Remove variables.
3289
18a3415e
GJL
32902014-10-22 Georg-Johann Lay <avr@gjlay.de>
3291
3292 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
3293 introduced with 2014-10-21 trunk r216525.
3294
c1dd9790 32952014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
7d296953
JJ
3296 Vidya Praveen <vidya.praveen@atmel.com>
3297 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
3298 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
3299 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
c1dd9790
JR
3300
3301 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
3302 order.
3303
3304 Updated library functions for AVRTINY arch.
3305 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
3306 Replaced occurrences of r0/r1 with tmp/zero reg macros.
3307 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
3308 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
3309 wsubi/wadi macors.
3310 (__mulsi3_helper): Update stack, preserve callee saved regs and
3311 argument from stack. Restore callee save registers.
3312 (__mulpsi3): Likewise.
3313 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
3314 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
18a3415e 3315 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
c1dd9790
JR
3316 AVRTINY.
3317 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
3318 (__do_copy_data): Added new definition for AVRTINY.
3319 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
3320 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
3321 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
3322 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
3323 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
3324 macors.
18a3415e 3325 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
c1dd9790
JR
3326 AVRTINY.
3327
18a3415e 3328 Fix broken long multiplication on tiny arch.
c1dd9790 3329
5f606431
JM
33302014-10-09 Joseph Myers <joseph@codesourcery.com>
3331
3332 * soft-fp/double.h: Update from glibc.
3333 * soft-fp/eqdf2.c: Likewise.
3334 * soft-fp/eqsf2.c: Likewise.
3335 * soft-fp/eqtf2.c: Likewise.
3336 * soft-fp/extenddftf2.c: Likewise.
3337 * soft-fp/extended.h: Likewise.
3338 * soft-fp/extendsfdf2.c: Likewise.
3339 * soft-fp/extendsftf2.c: Likewise.
3340 * soft-fp/extendxftf2.c: Likewise.
3341 * soft-fp/gedf2.c: Likewise.
3342 * soft-fp/gesf2.c: Likewise.
3343 * soft-fp/getf2.c: Likewise.
3344 * soft-fp/ledf2.c: Likewise.
3345 * soft-fp/lesf2.c: Likewise.
3346 * soft-fp/letf2.c: Likewise.
3347 * soft-fp/op-1.h: Likewise.
3348 * soft-fp/op-2.h: Likewise.
3349 * soft-fp/op-4.h: Likewise.
3350 * soft-fp/op-8.h: Likewise.
3351 * soft-fp/op-common.h: Likewise.
3352 * soft-fp/quad.h: Likewise.
3353 * soft-fp/single.h: Likewise.
3354 * soft-fp/soft-fp.h: Likewise.
3355 * soft-fp/unorddf2.c: Likewise.
3356 * soft-fp/unordsf2.c: Likewise.
3357 * soft-fp/unordtf2.c: Likewise.
3358 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
3359 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
3360 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
3361 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
3362 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
3363 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
3364 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
3365 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
3366 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
3367 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
3368
9b84e7a8
RX
33692014-10-08 Rong Xu <xur@google.com>
3370
3371 * libgcov-util.c (read_gcda_file): Fix format.
3372 (find_match_gcov_info): Ditto.
3373 (calculate_2_entries): New.
3374 (compute_one_gcov): Ditto.
3375 (gcov_info_count_all_cold): Ditto.
3376 (gcov_info_count_all_zero): Ditto.
3377 (extract_file_basename): Ditto.
3378 (get_file_basename): Ditto.
3379 (set_flag): Ditto.
3380 (matched_gcov_info): Ditto.
3381 (calculate_overlap): Ditto.
3382 (gcov_profile_overlap): Ditto.
3383 * libgcov-driver.c (compute_summary): Make
3384 it avavilable for external calls.
3385
fe1090c1
RX
33862014-10-06 Rong Xu <xur@google.com>
3387
3388 * Makefile.in: Ditto.
3389 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
3390 (gcov_sort_icall_topn_counter): Ditto.
3391 (gcov_sort_topn_counter_arrays): Ditto.
3392 (dump_one_gcov): Sort indirect_call topn counters.
3393 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
3394 function.
3395 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
3396 utility function.
3397 (__gcov_indirect_call_topn_profiler): New profiler function.
3398 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
3399 * libgcov.h: New decls.
3400
3daa7bbf
TS
34012014-10-04 Trevor Saunders <tsaunders@mozilla.com>
3402
3403 * config.host: Remove support for score-*.
3404
9a79452d
JM
34052014-09-22 Joseph Myers <joseph@codesourcery.com>
3406
3407 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3408 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
3409 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
3410 __LIBGCC_XF_MANT_DIG__.
3411 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
3412 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
3413 __LIBGCC_TF_MANT_DIG__.
3414 * libgcc2.c (NOTRUNC): Define in terms of
3415 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
3416 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3417
1a849e50
JM
34182014-09-22 Joseph Myers <joseph@codesourcery.com>
3419
3420 PR target/63312
3421 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
3422 New macros.
3423
598a1586
HPN
34242014-09-22 Hans-Peter Nilsson <hp@axis.com>
3425
3426 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
3427 override USE_PT_GNU_EH_FRAME.
3428 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
3429 check USE_EH_FRAME_REGISTRY_ALWAYS against
3430 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
3431 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
3432 variable for substituted force_explicit_eh_registry.
3433 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
3434 * configure.ac (explicit-exception-frame-registration):
3435 New AC_ARG_ENABLE.
3436 * configure: Regenerate.
3437
3a8fe7c6
OH
34382014-09-19 Olivier Hainque <hainque@adacore.com>
3439
3440 * config.host (powerpc-wrs-vxworksmils): New configuration,
3441 same as vxworksae.
3442
dd69f047
JM
34432014-09-18 Joseph Myers <joseph@codesourcery.com>
3444
3445 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
3446
e770bfd9
JM
34472014-09-18 Joseph Myers <joseph@codesourcery.com>
3448
3449 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
3450 bits not set bits as indicating trapping exceptions.
3451
cadb2b96
NS
34522014-09-17 Nathan sidwell <nathan@acm.org>
3453
3454 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
3455 (LIBGCOV_DRIVER): ... here.
3456 * libgcov-driver.c (gcov_master): New.
3457 (gcov_exit): Remove from master chain.
3458 (__gcov_init): Add to master chain if version compatible. Don't
3459 clear the version.
3460 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
3461 (gcov_reset_int): Clear master chain, if compatible.
3462 (gcov_dump_int): New internal interface. Dump master chain, if
3463 compatible.
3464 (gcov_dump): Alias for gcov_dump_int.
3465 * libgcov.h (struct gcov_root): Add next and prev fields.
3466 (struct gcov_master): New struct.
3467 (__gcov_master): New.
3468 (gcov_dump_int): Declare.
3469
580d22a3
OH
34702014-09-17 Olivier Hainque <hainque@adacore.com>
3471
3472 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
3473 and crtbegin.o + crtend.o to extra_parts.
3474
8cc4b7a2
JM
34752014-09-12 Joseph Myers <joseph@codesourcery.com>
3476
3477 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
3478 __LIBGCC_HAS_SF_MODE__.
3479 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3480 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3481 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3482 * config/libbid/bid_gcc_intrinsics.h
3483 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3484 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3485 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3486 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3487 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
3488 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3489
ea3f2b24
GJL
34902014-09-11 Georg-Johann Lay <avr@gjlay.de>
3491
3492 PR target/63223
3493 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
3494 and R24 as needed. Make work for all devices and .text locations.
3495 (__do_global_ctors, __do_global_dtors): Use word addresses.
3496 (__tablejump__, __tablejump_elpm__): Remove functions.
3497 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
3498 Add _tablejump2.
3499 (XICALL, XIJMP): New macros.
3500
b677236a
MS
35012014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
3502 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3503
3504 * config.host (aarch64*): Include crtfastmath.o and
3505 t-crtfm.
3506 * config/aarch64/crtfastmath.c: New file.
3507
157e859f
TS
35082014-09-08 Trevor Saunders <tsaunders@mozilla.com>
3509
3510 * config.host: Remove picochip support.
3511 * config/picochip/adddi3.S: Remove.
3512 * config/picochip/ashlsi3.S: Remove.
3513 * config/picochip/ashlsi3.c: Remove.
3514 * config/picochip/ashrsi3.S: Remove.
3515 * config/picochip/ashrsi3.c: Remove.
3516 * config/picochip/clzsi2.S: Remove.
3517 * config/picochip/cmpsi2.S: Remove.
3518 * config/picochip/divmod15.S: Remove.
3519 * config/picochip/divmodhi4.S: Remove.
3520 * config/picochip/divmodsi4.S: Remove.
3521 * config/picochip/lib1funcs.S: Remove.
3522 * config/picochip/longjmp.S: Remove.
3523 * config/picochip/lshrsi3.S: Remove.
3524 * config/picochip/lshrsi3.c: Remove.
3525 * config/picochip/parityhi2.S: Remove.
3526 * config/picochip/popcounthi2.S: Remove.
3527 * config/picochip/setjmp.S: Remove.
3528 * config/picochip/subdi3.S: Remove.
3529 * config/picochip/t-picochip: Remove.
3530 * config/picochip/ucmpsi2.S: Remove.
3531 * config/picochip/udivmodhi4.S: Remove.
3532 * config/picochip/udivmodsi4.S: Remove.
3533
66bb34c0
JM
35342014-09-08 Joseph Myers <joseph@codesourcery.com>
3535
3536 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
3537 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
3538 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
3539 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
3540 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
3541 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
3542 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
3543 defined and LIBGCC2_HAS_DF_MODE is defined.
3544 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
3545 defined and LIBGCC2_HAS_XF_MODE is defined.
3546 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
3547 defined and LIBGCC2_HAS_TF_MODE is defined.
3548
9686a2e6
JM
35492014-09-08 Joseph Myers <joseph@codesourcery.com>
3550
3551 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
3552 and ROUND_TOWARDS_ZERO conditionals.
3553
71c3e2ef
NS
35542014-09-07 Nathan sidwell <nathan@acm.org>
3555
3556 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
3557 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
3558
53d68b9f
JM
35592014-09-05 Joseph Myers <joseph@codesourcery.com>
3560
3561 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
3562 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3563 uses to __LIBGCC_STACK_POINTER_REGNUM__.
3564 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3565 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3566 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3567 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3568 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
3569 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
3570 (DWARF_FRAME_REGISTERS): Change all uses to
3571 __LIBGCC_DWARF_FRAME_REGISTERS__.
3572 (EH_RETURN_STACKADJ_RTX): Change all uses to
3573 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3574 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
3575 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
3576 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
3577 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
3578 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
3579 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
3580 to __LIBGCC_EH_FRAME_SECTION_NAME__.
3581 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
3582 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
3583 __LIBGCC_STACK_POINTER_REGNUM__.
3584 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3585 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3586 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3587 to __LIBGCC_STACK_POINTER_REGNUM__.
3588 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3589 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3590 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3591 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3592 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3593 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3594 (STACK_POINTER_REGNUM): Change all uses to
3595 __LIBGCC_STACK_POINTER_REGNUM__.
3596 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
3597 use to __LIBGCC_STACK_POINTER_REGNUM__.
3598 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3599 uses to __LIBGCC_STACK_POINTER_REGNUM__.
3600 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
3601 to __LIBGCC_DWARF_FRAME_REGISTERS__.
3602 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
3603 to __LIBGCC_DWARF_FRAME_REGISTERS__.
3604 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3605 to __LIBGCC_STACK_POINTER_REGNUM__.
3606 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
3607 Remove conditional definition.
3608 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
3609 __LIBGCC_TEXT_SECTION_ASM_OP__.
3610 (EH_FRAME_SECTION_NAME): Change all uses to
3611 __LIBGCC_EH_FRAME_SECTION_NAME__.
3612 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
3613 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
3614 (CTORS_SECTION_ASM_OP): Change all uses to
3615 __LIBGCC_CTORS_SECTION_ASM_OP__.
3616 (DTORS_SECTION_ASM_OP): Change all uses to
3617 __LIBGCC_DTORS_SECTION_ASM_OP__.
3618 (JCR_SECTION_NAME): Change all uses to
3619 __LIBGCC_JCR_SECTION_NAME__.
3620 (INIT_SECTION_ASM_OP): Change all uses to
3621 __LIBGCC_INIT_SECTION_ASM_OP__.
3622 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3623 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3624 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
3625 __LIBGCC_STACK_GROWS_DOWNWARD__.
3626 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
3627 __LIBGCC_INIT_SECTION_ASM_OP__.
3628 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3629 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3630 (EH_FRAME_SECTION_NAME): Change all uses to
3631 __LIBGCC_EH_FRAME_SECTION_NAME__.
3632 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
3633 definitions. Change all uses to
3634 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
3635 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
3636 __LIBGCC_STACK_GROWS_DOWNWARD__.
3637 (DWARF_FRAME_REGISTERS): Change all uses to
3638 __LIBGCC_DWARF_FRAME_REGISTERS__.
3639 (EH_RETURN_STACKADJ_RTX): Change all uses to
3640 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3641 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
3642 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
3643 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
3644 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
3645 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
3646
b20ee094
NS
36472014-09-02 Nathan sidwell <nathan@acm.org>
3648
3649 * libgcov-interface.c (STRONG_ALIAS): New.
3650 (__gcov_flush): Call __gcov_reset_int.
3651 (__gcov_reset): Strong alias for ...
3652 (__gcov_reset_ing): ... this renamed hidden version.
3653 * libgcov.h (__gcov_reset_int): New declaration.
3654
1ac83976
YS
36552014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
3656
25efdb9f
YS
3657 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
3658 call from here...
3659 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
3660 (__dso_handle): Define on Cygwin.
3661 * config/i386/t-cygming (crtbeginS.o): New rule.
3662 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
3663
1ac83976
YS
3664 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
3665 declaration syntax.
3666
c6f9ea3b
SE
36672014-08-13 Steve Ellcey <sellcey@mips.com>
3668
3669 * crtstuff.c: Undef caddr_t.
3670
5b1ea7c5
SE
36712014-08-12 Steve Ellcey <sellcey@mips.com>
3672
3673 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
3674
4303c581
NS
36752014-08-07 Nathan Sidwell <nathan@acm.org>
3676
3677 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
3678 (LIBGCOV_DRIVER): ... to here.
3679 * libgcov.h (gcov_do_dump): New #define.
3680 (struct gcov_root): New.
3681 (__gcov_root): New declaration.
3682 (__gcov_dump_one): Declare.
3683 * libgcov-driver.c (gcov_list, gcov_dump_complete,
3684 run_accounted): Delete.
3685 (gcov_compute_histogram): Add LIST argument, adjust.
3686 (compute_summary): Adjust gcov_compute_histogram call.
3687 (gcov_do_dump): Not hidden, static in libgcov.
3688 (gcov_clear): Move to interface.c.
3689 (__gcov_dump_one): New, broken out of ...
3690 (gcov_exit): ... here. Make static.
3691 (__gcov_root): New.
3692 (__gcov_init): Adjust.
3693 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
3694 declarations.
3695 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
3696 (gcov_clear): Moved from driver.c. Add LIST argument.
3697 (__gcov_reset): Adjust for changed interfaces.
3698 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
3699
23742a9e
RAR
37002014-08-04 Rohit <rohitarulraj@freescale.com>
3701
3702 PR target/60102
3703 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
d406ae47 3704 based on change in SPE high register numbers and 3 HTM registers.
23742a9e 3705
b98a872b
NS
37062014-08-01 Nathan Sidwell <nathan@acm.org>
3707
3708 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
3709 LIBGCOV_INTERFACE): Reformat.
3710 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
3711 IN_GCOV_TOOL.
3712 * libgcov-interface.c: Reformat some comments.
3713 (__gcov_flush_mx): Add declaration. Tidy up definition.
3714
6adaaa1d
AM
37152014-07-31 Alan Modra <amodra@gmail.com>
3716 Peter Bergner <bergner@vnet.ibm.com>
3717
3718 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
3719 (pack_ldouble): New function.
3720 (__gcc_qadd): Use it.
3721 (__gcc_qmul): Likewise.
3722 (__gcc_qdiv): Likewise.
3723 (__gcc_qneg): Likewise.
3724 (__gcc_stoq): Likewise.
3725 (__gcc_dtoq): Likewise.
3726
87cb0c0c
UW
37272014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
3728
3729 * config/s390/tpf-unwind.h: Include <stdbool.h>.
3730 (__tpf_eh_return): Add original return address as second parameter.
3731 Handle cases where unwinder routines were called directly, instead
3732 of from within the C++ library.
3733
19926161
NS
37342014-07-29 Nathan Sidwell <nathan@acm.org>
3735
3736 * libgcov.h: Move renaming of entry points to lib gcov specific
3737 portion.
3738 (gcov_do_dump): New rename.
3739 (gcov_rewrite): Remove inline, make HIDDEN.
3740 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
3741 (gcov_exit_compute_summary): Rename to ...
3742 (compute_summary): ... here. Add LIST argument.
3743 (gcov_exit_merge_gcda): Rename to ...
3744 (merge_one_data): ... here.
3745 (gcov_exit_write_gcda): Rename to ...
3746 (write_one_data): ... here.
3747 (gcov_exit_merge_summary): Rename to ...
3748 (merge_summary): Add RUN_COUNTED argument.
3749 (gcov_exit_dump_gcov): Rename to ...
3750 (dump_one_gcov): Add RUN_COUNTED argument.
3751 (gcov_do_dump): New function, broken out of ...
3752 (gcov_exit): ... here. Call it.
3753
17522262
AG
37542014-07-27 Anthony Green <green@moxielogic.com>
3755
3756 * config.host: Add moxiebox configuration suppport.
3757
6dc33097
NS
37582014-07-27 Nathan Sidwell <nathan@acm.org>
3759
3760 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
3761 (struct gcov_filename): ... here. Include buffer and max length
3762 fields.
3763 (gcov_max_filename): Remove.
3764 (gi_filename): Remove.
3765 (gcov_exit_compute_summary): Compute max filename here.
3766 (gcov_exit_merge_gcda): Add filename parm, adjust.
3767 (gcov_exit_merge_summary): Likewise.
3768 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
3769 (gcov_exit): Likewise.
3770 (__gcov_init): Don't calculate max length here.
3771 * libgcov_util.c (max_filename_len): Remove.
3772 (read_gcda_file): Don't calculate max length here.
3773 (gcov_read_profile_dir): Don't propagate here.
3774 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
3775 struct gcov_filename changes.
3776 (gcov_exit_open_gcda_file): Likewise.
3777
770f687d
NS
37782014-07-25 Nathan Sidwell <nathan@acm.org>
3779
3780 * libgcov-driver.c (set_gcov_dump_complete,
3781 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
3782 functions polluting user's namespace.
3783 (gcov_exit): Set variable directly.
3784 (gcov_clear): Reset variable directly.
3785 * libgcov-interface.c (get_gcov_dymp_complete,
3786 reset_gov_dump_complete): Remove declarations.
3787 (__gcov_reset, __gcov_dump): Don't call them.
3788
fabf71ba
DD
37892014-07-24 DJ Delorie <dj@redhat.com>
3790
3791 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
770f687d
NS
3792 (__gcc_deregister_frame): Move logic to detect deregister function
3793 to ...
3794 (__gcc_register_frame): here, so it's consistent with the register
3795 logic.
fabf71ba 3796
d10ee722
NS
37972014-07-23 Nathan Sidwell <nathan@acm.org>
3798
3799 * libgcov-driver.c (set_gcov_list): Remove.
3800 (gcov_list): Make non-static in GCOV_TOOL.
3801 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
3802
a4137090
JDA
38032014-07-17 John David Anglin <danglin@gcc.gnu.org>
3804
3805 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
3806 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
3807 Don't use SYNC_LOCK_RELEASE for int type.
3808
72602c6c
RB
38092014-07-14 Richard Biener <rguenther@suse.de>
3810
3811 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
3812
d5313205
RX
38132014-07-11 Rong Xu <xur@google.com>
3814
3815 * libgcov-util.c (gcov_max_filename): Fix declartion.
3816
c77556a5
RX
38172014-07-10 Rong Xu <xur@google.com>
3818
3819 Add gcov-tool: an offline gcda profile processing tool
3820 Support.
3821 * libgcov-driver.c (gcov_max_filename): Make available
3822 to gcov-tool.
3823 * libgcov-merge.c (__gcov_merge_add): Replace
3824 gcov_read_counter() with a Macro.
3825 (__gcov_merge_ior): Ditto.
3826 (__gcov_merge_time_profile): Ditto.
3827 (__gcov_merge_single): Ditto.
3828 (__gcov_merge_delta): Ditto.
3829 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
3830 in the utility functions.
3831 (set_fn_ctrs): Utility function for reading gcda files to in-memory
3832 gcov_list object link lists.
3833 (tag_function): Ditto.
3834 (tag_blocks): Ditto.
3835 (tag_arcs): Ditto.
3836 (tag_lines): Ditto.
3837 (tag_counters): Ditto.
3838 (tag_summary): Ditto.
3839 (read_gcda_finalize): Ditto.
3840 (read_gcda_file): Ditto.
3841 (ftw_read_file): Ditto.
3842 (read_profile_dir_init): Ditto.
3843 (gcov_read_profile_dir): Ditto.
3844 (gcov_read_counter_mem): Ditto.
3845 (gcov_get_merge_weight): Ditto.
3846 (merge_wrapper): A wrapper function that calls merging handler.
3847 (gcov_merge): Merge two gcov_info objects with weights.
3848 (find_match_gcov_info): Find the matched gcov_info in the list.
3849 (gcov_profile_merge): Merge two gcov_info object lists.
3850 (__gcov_add_counter_op): Process edge profile counter values.
3851 (__gcov_ior_counter_op): Process IOR profile counter values.
3852 (__gcov_delta_counter_op): Process delta profile counter values.
3853 (__gcov_single_counter_op): Process single profile counter values.
3854 (fp_scale): Callback function for float-point scaling.
cc86234f 3855 (int_scale): Callback function for integer fraction scaling.
c77556a5
RX
3856 (gcov_profile_scale): Scaling profile counters.
3857 (gcov_profile_normalize): Normalize profile counters.
3858 * libgcov.h: Add headers and functions for gcov-tool use.
3859 (gcov_get_counter): New.
3860 (gcov_get_counter_target): Ditto.
3861 (struct gcov_info): Make the functions field mutable in gcov-tool
3862 compilation.
3863
5c7dac8a
KT
38642014-06-23 Kai Tietz <ktietz@redhat.com>
3865
3866 PR libgcc/61585
3867 * unwind-seh.c (_Unwind_GetGR): Check for proper
3868 index range.
3869 (_Unwind_SetGR): Likewise.
3870
161c9312
NC
38712014-05-22 Nick Clifton <nickc@redhat.com>
3872
3873 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
3874 -mhwmult=none.
3875
e3f0315f
TJ
38762014-05-22 Teresa Johnson <tejohnson@google.com>
3877
3878 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
3879 include.
3880
dbed5a9b
JM
38812014-05-20 John Marino <gnugcc@marino.st>
3882
3883 * config.host (*-*-dragonfly*): New target.
3884 * crtstuff.c: Make dl_iterate_support generic on *bsd.
3885 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
3886 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
3887 * config/i386/dragonfly-unwind.h: New.
3888
1ec380e5
MR
38892014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
3890
3891 PR libgcc/60166
3892 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
3893 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
3894
54fde020
BE
38952014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
3896
3897 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
3898 implementation.
3899
999db125
GJL
39002014-05-12 Georg-Johann Lay <avr@gjlay.de>
3901
3902 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
3903
cceaf54a
RO
39042014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3905
3906 PR libgcc/61097
3907 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
3908 if --enable-shared.
3909
e3fe9b5b
BE
39102014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
3911
3912 Work around for current cygwin32 build problems.
3913 * config/i386/cygming-crtbegin.c (__register_frame_info,
3914 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
3915 functions only for 64-bit systems.
3916
54cf37e9
RO
39172014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3918
3919 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
3920 (sigill_caught, sigill_hdlr): Remove.
3921
d9f069ab
RO
39222014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3923
3924 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
3925 check.
3926 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
3927 Solaris 9 single-threaded support.
3928 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
3929 Solaris 9 single-threaded support. Add call_user_handler code
3930 sequences.
3931 (sparc_is_sighandler): Likewise.
3932
59976ef8
AK
39332014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3934
3935 * config.host: Append t-floattodi to tmake_file depending on
3936 host_address.
3937
d02bbcf3
JS
39382014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
3939
31466bc0 3940 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
d02bbcf3 3941
c2e7e597
UB
39422014-03-10 Uros Bizjak <ubizjak@gmail.com>
3943
3944 PR libgcc/60472
3945 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2405e0ea 3946 variable to avoid "array subscript is above array bounds" warnings.
c2e7e597
UB
3947 Use __builtin_expect when checking *jcr_list for NULL.
3948
227a7dc8
RO
39492014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3950
3951 PR libgcc/59339
3952 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
3953 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
3954 vtv_*.o to extra_parts if enable_vtable_verify.
3955
df2b279c
NC
39562014-03-06 Nick Clifton <nickc@redhat.com>
3957
3958 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
3959 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
3960
dc11d79b
JY
39612014-02-28 Joey Ye <joey.ye@arm.com>
3962
3963 PR libgcc/60166
3964 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
3965 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
3966 Set to zero.
3967
341c653c
WL
39682014-02-24 Walter Lee <walt@tilera.com>
3969
3970 * config.host: Support "tilegx*" and "tilepro*" triplets.
3971 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
3972 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
3973
95ce7613
CLT
39742014-02-20 Sandra Loosemore <sandra@codesourcery.com>
3975 Chung-Lin Tang <cltang@codesourcery.com>
3976
3977 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
3978 * config/nios2/crti.S: Remove .file directive.
3979 * config/nios2/crtn.S: Likewise.
3980
0bb4fc05
KT
39812014-02-18 Kai Tietz <ktietz@redhat.com>
3982 Jonathan Schleifer <js@webkeks.org>
3983
3984 PR objc/56870
3985 * unwind-seh.c (_GCC_specific_handler): Pass proper
3986 value to unwind-handler.
3987
9acf28f1
JM
39882014-02-12 Joseph Myers <joseph@codesourcery.com>
3989
3990 * soft-fp/adddf3.c: Update from glibc.
3991 * soft-fp/addsf3.c: Likewise.
3992 * soft-fp/addtf3.c: Likewise.
3993 * soft-fp/divdf3.c: Likewise.
3994 * soft-fp/divsf3.c: Likewise.
3995 * soft-fp/divtf3.c: Likewise.
3996 * soft-fp/double.h: Likewise.
3997 * soft-fp/eqdf2.c: Likewise.
3998 * soft-fp/eqsf2.c: Likewise.
3999 * soft-fp/eqtf2.c: Likewise.
4000 * soft-fp/extenddftf2.c: Likewise.
4001 * soft-fp/extended.h: Likewise.
4002 * soft-fp/extendsfdf2.c: Likewise.
4003 * soft-fp/extendsftf2.c: Likewise.
4004 * soft-fp/extendxftf2.c: Likewise.
4005 * soft-fp/fixdfdi.c: Likewise.
4006 * soft-fp/fixdfsi.c: Likewise.
4007 * soft-fp/fixdfti.c: Likewise.
4008 * soft-fp/fixsfdi.c: Likewise.
4009 * soft-fp/fixsfsi.c: Likewise.
4010 * soft-fp/fixsfti.c: Likewise.
4011 * soft-fp/fixtfdi.c: Likewise.
4012 * soft-fp/fixtfsi.c: Likewise.
4013 * soft-fp/fixtfti.c: Likewise.
4014 * soft-fp/fixunsdfdi.c: Likewise.
4015 * soft-fp/fixunsdfsi.c: Likewise.
4016 * soft-fp/fixunsdfti.c: Likewise.
4017 * soft-fp/fixunssfdi.c: Likewise.
4018 * soft-fp/fixunssfsi.c: Likewise.
4019 * soft-fp/fixunssfti.c: Likewise.
4020 * soft-fp/fixunstfdi.c: Likewise.
4021 * soft-fp/fixunstfsi.c: Likewise.
4022 * soft-fp/fixunstfti.c: Likewise.
4023 * soft-fp/floatdidf.c: Likewise.
4024 * soft-fp/floatdisf.c: Likewise.
4025 * soft-fp/floatditf.c: Likewise.
4026 * soft-fp/floatsidf.c: Likewise.
4027 * soft-fp/floatsisf.c: Likewise.
4028 * soft-fp/floatsitf.c: Likewise.
4029 * soft-fp/floattidf.c: Likewise.
4030 * soft-fp/floattisf.c: Likewise.
4031 * soft-fp/floattitf.c: Likewise.
4032 * soft-fp/floatundidf.c: Likewise.
4033 * soft-fp/floatundisf.c: Likewise.
4034 * soft-fp/floatunditf.c: Likewise.
4035 * soft-fp/floatunsidf.c: Likewise.
4036 * soft-fp/floatunsisf.c: Likewise.
4037 * soft-fp/floatunsitf.c: Likewise.
4038 * soft-fp/floatuntidf.c: Likewise.
4039 * soft-fp/floatuntisf.c: Likewise.
4040 * soft-fp/floatuntitf.c: Likewise.
4041 * soft-fp/gedf2.c: Likewise.
4042 * soft-fp/gesf2.c: Likewise.
4043 * soft-fp/getf2.c: Likewise.
4044 * soft-fp/ledf2.c: Likewise.
4045 * soft-fp/lesf2.c: Likewise.
4046 * soft-fp/letf2.c: Likewise.
4047 * soft-fp/muldf3.c: Likewise.
4048 * soft-fp/mulsf3.c: Likewise.
4049 * soft-fp/multf3.c: Likewise.
4050 * soft-fp/negdf2.c: Likewise.
4051 * soft-fp/negsf2.c: Likewise.
4052 * soft-fp/negtf2.c: Likewise.
4053 * soft-fp/op-1.h: Likewise.
4054 * soft-fp/op-2.h: Likewise.
4055 * soft-fp/op-4.h: Likewise.
4056 * soft-fp/op-8.h: Likewise.
4057 * soft-fp/op-common.h: Likewise.
4058 * soft-fp/quad.h: Likewise.
4059 * soft-fp/single.h: Likewise.
4060 * soft-fp/soft-fp.h: Likewise.
4061 * soft-fp/subdf3.c: Likewise.
4062 * soft-fp/subsf3.c: Likewise.
4063 * soft-fp/subtf3.c: Likewise.
4064 * soft-fp/truncdfsf2.c: Likewise.
4065 * soft-fp/trunctfdf2.c: Likewise.
4066 * soft-fp/trunctfsf2.c: Likewise.
4067 * soft-fp/trunctfxf2.c: Likewise.
4068 * soft-fp/unorddf2.c: Likewise.
4069 * soft-fp/unordsf2.c: Likewise.
4070 * soft-fp/unordtf2.c: Likewise.
4071 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
4072 macro.
4073 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4074 Likewise.
4075 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4076 Likewise.
4077 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4078 Likewise.
4079 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4080 Likewise.
4081 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4082 Likewise.
4083 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4084 Likewise.
4085 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4086 Likewise.
4087 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4088 Likewise.
4089 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4090 Likewise.
4091 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4092 Likewise.
4093 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4094 Likewise.
4095 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4096 Likewise.
4097 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
4098 Likewise.
4099 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
4100 Likewise.
4101 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4102 Likewise.
4103
ce245ec6
AK
41042014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4105
4106 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
4107 cannot be represented.
4108 * config/s390/32/_fixsfdi.c: Likewise.
4109 * config/s390/32/_fixtfdi.c: Likewise.
4110 * config/s390/32/_fixunsdfdi.c: Likewise.
4111 * config/s390/32/_fixunssfdi.c: Likewise.
4112 * config/s390/32/_fixunstfdi.c: Likewise.
4113
1c51d688
RS
41142014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
4115
4116 * configure.ac (libgcc_cv_mips_hard_float): New.
4117 * configure: Regenerate.
4118 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
4119 t-softfp-sfdf for hard-float targets.
4120 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
4121 (softfp_float_modes, softfp_int_modes, softfp_extensions)
4122 (softfp_truncations, softfp_exclude_libgcc2): New.
4123 * config/t-hardfp: New file.
4124 * config/t-hardfp-sfdf: Likewise.
4125 * config/hardfp.c: Likewise.
4126
bbf391db
AK
41272014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4128
4129 * config.host: Include t-floattodi also for s390x.
4130 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
4131 * config/s390/32/_fixsfdi.c: Likewise.
4132 * config/s390/32/_fixtfdi.c: Likewise.
4133 * config/s390/32/_fixunsdfdi.c: Likewise.
4134 * config/s390/32/_fixunssfdi.c: Likewise.
4135 * config/s390/32/_fixunstfdi.c: Likewise.
4136
91da0481
RO
41372014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4138
4139 PR target/59788
4140 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
4141 (install-libgcc-unwind-map-forbuild): New target.
4142 (all): Depend on install-libgcc-unwind-map-forbuild.
4143 (install-libgcc-unwind-map): New target.
4144 (install): Depend on install-libgcc-unwind-map.
4145
02b67731
SL
41462014-02-02 Sandra Loosemore <sandra@codesourcery.com>
4147
4148 * config/nios2/crti.S (_init): Initialize GOT pointer from
4149 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
4150
1ea0a651
RS
41512014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
4152
4153 * configure.ac: Check __mips64 when setting host_address.
4154 * configure: Regenerate.
4155 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
4156 mips/t-mips64 and t-softfp.
4157 (mips*-*-linux*): Don't add mips/t-tpbit.
4158 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
4159 (DPBIT, DPBIT_CFLAGS): Delete.
4160 * config/mips/sfp-machine.h: New file.
4161 * config/mips/t-mips64: Likewise.
4162 * config/mips/t-softfp-tf: Likewise.
4163 * config/mips/t-tpbit: Delete.
4164
f32b0061
MS
41652014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
4166
4167 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
4168 as long long.
4169
a5420aa4
WL
41702014-01-25 Walter Lee <walt@tilera.com>
4171
4172 * config/tilepro/atomic.c: Include tconfig.h. Don't include
4173 config.h or system.h.
4174 (bool) Define.
4175
24534912
WL
41762014-01-25 Walter Lee <walt@tilera.com>
4177
4178 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
4179 (post_atomic_barrier): Ditto.
4180 (__fetch_and_do): New macro.
4181 (__atomic_fetch_and_do): Use __fetch_and_do.
4182 (__sync_fetch_and_do): New macro.
4183 (__sync_fetch_and_add_4): New function.
4184 (__sync_fetch_and_sub_4): New function.
4185 (__sync_fetch_and_or_4): New function.
4186 (__sync_fetch_and_and_4): New function.
4187 (__sync_fetch_and_xor_4): New function.
4188 (__sync_fetch_and_nand_4): New function.
4189 (__sync_fetch_and_add_8): New function.
4190 (__sync_fetch_and_sub_8): New function.
4191 (__sync_fetch_and_or_8): New function.
4192 (__sync_fetch_and_and_8): New function.
4193 (__sync_fetch_and_xor_8): New function.
4194 (__sync_fetch_and_nand_8): New function.
4195 (__do_and_fetch): New macro.
4196 (__atomic_do_and_fetch): Use __do_and_fetch.
4197 (__sync_do_and_fetch): New macro.
4198 (__sync_add_and_fetch_4): New function.
4199 (__sync_sub_and_fetch_4): New function.
4200 (__sync_or_and_fetch_4): New function.
4201 (__sync_and_and_fetch_4): New function.
4202 (__sync_xor_and_fetch_4): New function.
4203 (__sync_nand_and_fetch_4): New function.
4204 (__sync_add_and_fetch_8): New function.
4205 (__sync_sub_and_fetch_8): New function.
4206 (__sync_or_and_fetch_8): New function.
4207 (__sync_and_and_fetch_8): New function.
4208 (__sync_xor_and_fetch_8): New function.
4209 (__sync_nand_and_fetch_8): New function.
4210 (__sync_exchange_methods): New macro.
4211 (__sync_val_compare_and_swap_4): New function.
4212 (__sync_bool_compare_and_swap_4): New function.
4213 (__sync_lock_test_and_test_4): New function.
4214 (__sync_val_compare_and_swap_8): New function.
4215 (__sync_bool_compare_and_swap_8): New function.
4216 (__sync_lock_test_and_test_8): New function.
4217 (__subword_cmpxchg_body): New macro.
4218 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
4219 (__atomic_compare_exchange_2): Ditto.
4220 (__sync_subword_cmpxchg): New macro.
4221 (__sync_val_compare_and_swap_1): New function.
4222 (__sync_bool_compare_and_swap_1): New function.
4223 (__sync_val_compare_and_swap_2): New function.
4224 (__sync_bool_compare_and_swap_2): New function.
4225 (__atomic_subword): Rename to ...
4226 (__subword): ... New name.
4227 (__atomic_subword_fetch): Use __subword.
4228 (__sync_subword_fetch): New macro.
4229 (__sync_fetch_and_add_1): New function.
4230 (__sync_fetch_and_sub_1): New function.
4231 (__sync_fetch_and_or_1): New function.
4232 (__sync_fetch_and_and_1): New function.
4233 (__sync_fetch_and_xor_1): New function.
4234 (__sync_fetch_and_nand_1): New function.
4235 (__sync_fetch_and_add_2): New function.
4236 (__sync_fetch_and_sub_2): New function.
4237 (__sync_fetch_and_or_2): New function.
4238 (__sync_fetch_and_and_2): New function.
4239 (__sync_fetch_and_xor_2): New function.
4240 (__sync_fetch_and_nand_2): New function.
4241 (__sync_add_and_fetch_1): New function.
4242 (__sync_sub_and_fetch_1): New function.
4243 (__sync_or_and_fetch_1): New function.
4244 (__sync_and_and_fetch_1): New function.
4245 (__sync_xor_and_fetch_1): New function.
4246 (__sync_nand_and_fetch_1): New function.
4247 (__sync_add_and_fetch_2): New function.
4248 (__sync_sub_and_fetch_2): New function.
4249 (__sync_or_and_fetch_2): New function.
4250 (__sync_and_and_fetch_2): New function.
4251 (__sync_xor_and_fetch_2): New function.
4252 (__sync_nand_and_fetch_2): New function.
4253 (__atomic_subword_lock): Use __subword.
4254 (__sync_subword_lock): New macro.
4255 (__sync_lock_test_and_set_1): New function.
4256 (__sync_lock_test_and_set_2): New function.
4257
4d6d3bc5
WL
42582014-01-25 Walter Lee <walt@tilera.com>
4259
4260 * config/tilepro/atomic.c (BIT_OFFSET): Define.
4261 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
4262 (__atomic_subword): Ditto.
4263
cbd9890e
WL
42642014-01-25 Walter Lee <walt@tilera.com>
4265
4266 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
4267 a prefix op argument.
4268 (__atomic_nand_fetch_4): Add prefix op.
4269 (__atomic_nand_fetch_8): Ditto.
4270
7d296953 42712014-01-21 Baruch Siach <barch@tkos.co.il>
800d8bd5
BS
4272
4273 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
4274
46dd1242
L
42752014-01-09 Rong Xu <xur@google.com>
4276
4277 * libgcov-driver.c (this_prg): make it local to save
4278 bss space.
4279 (gcov_exit_compute_summary): Ditto.
4280 (gcov_exit_merge_gcda): Ditto.
4281 (gcov_exit_merge_summary): Ditto.
4282 (gcov_exit_dump_gcov): Ditto.
4283
cc86234f 42842014-01-08 Rong Xu <xur@google.com>
40d6b753
RX
4285
4286 * libgcov-driver.c: Use libgcov.h.
4287 (buffer_fn_data): Use xmalloc instead of malloc.
4288 (gcov_exit_merge_gcda): Ditto.
4289 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
4290 * libgcov.h: New common header files for libgcov-*.h.
4291 * libgcov-interface.c: Use libgcov.h
4292 * libgcov-merge.c: Ditto.
4293 * libgcov-profiler.c: Ditto.
4294 * Makefile.in: Add dependence to libgcov.h
4295
a02e7bdd
JM
42962014-01-02 Joseph Myers <joseph@codesourcery.com>
4297
4298 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
4299 case of small numerator and finite nonzero result.
4300
ac1dca3c
RS
43012014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4302
4303 Update copyright years
4304
f9030485
RS
43052014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4306
4307 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
4308 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
4309 config/arc/dp-hack.h, config/arc/fp-hack.h,
4310 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
4311 config/arc/ieee-754/arc600-dsp/divdf3.S,
4312 config/arc/ieee-754/arc600-dsp/divsf3.S,
4313 config/arc/ieee-754/arc600-dsp/muldf3.S,
4314 config/arc/ieee-754/arc600-dsp/mulsf3.S,
4315 config/arc/ieee-754/arc600-mul64/divdf3.S,
4316 config/arc/ieee-754/arc600-mul64/divsf3.S,
4317 config/arc/ieee-754/arc600-mul64/muldf3.S,
4318 config/arc/ieee-754/arc600-mul64/mulsf3.S,
4319 config/arc/ieee-754/arc600/divsf3.S,
4320 config/arc/ieee-754/arc600/mulsf3.S,
4321 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
4322 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
4323 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
4324 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
4325 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
4326 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
4327 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
4328 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
4329 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
4330 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
4331 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
4332 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
4333 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
4334 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
4335 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
4336 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
4337 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
4338 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
4339 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
4340 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
4341 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
4342 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
4343 vtv_start_preinit.c: Use the standard form for the copyright notice.
4344
e430824f
CLT
43452013-12-31 Sandra Loosemore <sandra@codesourcery.com>
4346 Chung-Lin Tang <cltang@codesourcery.com>
4347 Based on patches from Altera Corporation
4348
4349 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
4350 * config/nios2/lib2-nios2.h: New file.
4351 * config/nios2/lib2-divmod-hi.c: New file.
4352 * config/nios2/linux-unwind.h: New file.
4353 * config/nios2/lib2-divmod.c: New file.
4354 * config/nios2/linux-atomic.c: New file.
4355 * config/nios2/t-nios2: New file.
4356 * config/nios2/crti.asm: New file.
4357 * config/nios2/t-linux: New file.
4358 * config/nios2/lib2-divtable.c: New file.
4359 * config/nios2/lib2-mul.c: New file.
4360 * config/nios2/tramp.c: New file.
4361 * config/nios2/crtn.asm: New file.
4362
1879e97f
UB
43632013-12-26 Uros Bizjak <ubizjak@gmail.com>
4364
4365 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
4366 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
4367 from cpuid.h to check vendor signatures.
4368
f4a4bdbb
GG
43692013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
4370
c2e7e597 4371 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
f4a4bdbb
GG
4372 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
4373 (get_amd_cpu): Likewise.
4374
8d2ae544
L
43752013-12-25 H.J. Lu <hongjiu.lu@intel.com>
4376
4377 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
4378 Haswell.
4379
74924838
ASJ
43802013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
4381 H.J. Lu <hongjiu.lu@intel.com>
4382
0bb52f25
L
4383 PR target/59422
4384 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
74924838
ASJ
4385 and AMD_JAGUAR.
4386 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
4387 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
4388 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
4389 FEATURE_XOP and FEATURE_FMA.
4390 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
4391 AMDFAM15H_BDVER3.
4392 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
0bb52f25 4393 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
74924838
ASJ
4394 FEATURE_FMA4 and FEATURE_XOP.
4395
d3c11974
L
43962013-12-23 H.J. Lu <hongjiu.lu@intel.com>
4397
4398 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
4399 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
4400 (get_intel_cpu): Updated.
4401
064c4ff2
ZC
44022013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
4403
4404 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
4405
8b02e720
UB
44062013-12-09 Uros Bizjak <ubizjak@gmail.com>
4407
4408 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1f71a3c3 4409 instructions when __SSE_MATH__ is defined.
8b02e720 4410
3fa2ccb4
RC
44112013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
4412
4413 * config.host (microblaze-*-rtems*): New.
4414
ecd78fc9
KV
44152013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
4416
4417 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
4418 architectures that do not have hardware divide instruction.
4419 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
4420
b21fbbd2
RS
44212013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
4422
4423 * longlong.h: Delete (moved to include/).
4424
b03fb8c9
AZ
44252013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4426
4427 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
4428 of normal number and qNaN to not raise an inexact exception.
4429
3c716922
UB
44302013-11-28 Uros Bizjak <ubizjak@gmail.com>
4431
4432 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
4433
44342013-11-28 Matthew Leach <matthew.leach@arm.com>
cceeb9a9
ML
4435
4436 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
4437 for correct opcodes on BE.
4438
a3458d22
UB
44392013-11-27 Uros Bizjak <ubizjak@gmail.com>
4440
4441 * soft-fp/op-4.h: Update from glibc.
4442
30b8f78b
KV
44432013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
4444
4445 * libgcc2.c (__udivmoddi4): Define new implementation when
4446 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
4447 divide instructions.
4448
82552a29
OE
44492013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
4450
4451 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
4452
80e87457
RO
44532013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4454
4455 * config/t-softfp (soft-fp-objects-base): New variable.
4456 (soft-fp-objects): Use it.
4457
44178879
DE
44582013-11-23 David Edelson <dje.gcc@gmail.com>
4459 Andrew Dixie <andrewd@gentrack.com>
4460
4461 PR target/33704
4462 * config/rs6000/aixinitfini.c: New file.
4463 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
4464 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
4465 symbols.
4466
e5287671
YR
44672013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
4468
a3458d22 4469 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
e5287671 4470
867c8b03
JH
44712013-11-18 Jan Hubicka <jh@suse.cz>
4472
7f369373
JH
4473 * libgcov-driver.c (run_accounted): Make global level static.
4474 (gcov_exit_merge_summary): Silence warning; do not clear
4475 run_accounted here.
4476 (gcov_exit): Clear it here.
4477
1d0b3334
JH
4478 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
4479 run_accounted.
4480
867c8b03
JH
4481 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
4482 (all_prg, crc32): Remove static vars.
4483 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
4484 all_prg.
4485 (gcov_exit_merge_gcda): Add crc32 parameter.
4486 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
4487 do not account run if it was already accounted.
4488 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
4489 (gcov_exit): Initialize all_prg; update.
4490
66204992
AS
44912013-11-15 Andreas Schwab <schwab@linux-m68k.org>
4492
4493 * configure: Regenerate.
4494
b54214fe
UW
44952013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4496 Alan Modra <amodra@gmail.com>
4497
4498 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
4499 (frob_update_context): Use it.
4500
45012013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4502 Alan Modra <amodra@gmail.com>
4503
4504 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
4505 (trampoline_initial): Provide ELFv2 variant.
4506 (__trampoline_setup): Likewise.
4507
4508 * config/rs6000/linux-unwind.h (frob_update_context): Do not
4509 check for AIX indirect function call sequence if _CALL_ELF == 2.
4510
45112013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4512 Alan Modra <amodra@gmail.com>
4513
4514 * config/rs6000/linux-unwind.h (get_regs): Do not support
4515 old kernel versions if _CALL_ELF == 2.
4516 (frob_update_context): Do not support PLT stub variants only
4517 generated by old linkers if _CALL_ELF == 2.
4518
13e0981a
UW
45192013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4520 Alan Modra <amodra@gmail.com>
4521
4522 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
4523 location of CR save area for 64-bit little-endian systems.
4524
1a80085d
EB
45252013-11-11 Eric Botcazou <ebotcazou@adacore.com>
4526
4527 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
4528 in tmake_file.
4529 * config/arm/t-vxworks: Delete.
4530
cabeea52
KT
45312013-11-10 Kai Tietz <ktietz@redhat.com>
4532
4533 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
4534 Increment load-count on use of LIBGCC_SONAME DLL.
4535 (hmod_libgcc): New static variable to hold handle of
4536 LIBGCC_SONAME DLL.
4537 (__gcc_deregister_frame): Decrement load-count of
4538 LIBGCC_SONAME DLL.
4539
ac088ba1
BRF
45402013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
4541
4542 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
4543 availability.
4544 * configure: Regenerate
4545
d59a8fcc
UB
45462013-11-07 Uros Bizjak <ubizjak@gmail.com>
4547
4548 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
4549 FP_EX_DENORM. Store result to volatile location after SSE division
4550 to close interrupt window. Remove unneeded fwait after x87
4551 division since interrupt window will be closed by emitted fstp.
9de84e84 4552 Rewrite FP_EX_INEXACT handling.
d59a8fcc 4553
9954c743
JM
45542013-11-06 Joseph Myers <joseph@codesourcery.com>
4555
4556 * soft-fp/README: Update.
4557 * soft-fp/adddf3.c: Update from glibc.
4558 * soft-fp/addsf3.c: Likewise.
4559 * soft-fp/addtf3.c: Likewise.
4560 * soft-fp/divdf3.c: Likewise.
4561 * soft-fp/divsf3.c: Likewise.
4562 * soft-fp/divtf3.c: Likewise.
4563 * soft-fp/double.h: Likewise.
4564 * soft-fp/eqdf2.c: Likewise.
4565 * soft-fp/eqsf2.c: Likewise.
4566 * soft-fp/eqtf2.c: Likewise.
4567 * soft-fp/extenddftf2.c: Likewise.
4568 * soft-fp/extended.h: Likewise.
4569 * soft-fp/extendsfdf2.c: Likewise.
4570 * soft-fp/extendsftf2.c: Likewise.
4571 * soft-fp/extendxftf2.c: Likewise.
4572 * soft-fp/fixdfdi.c: Likewise.
4573 * soft-fp/fixdfsi.c: Likewise.
4574 * soft-fp/fixdfti.c: Likewise.
4575 * soft-fp/fixsfdi.c: Likewise.
4576 * soft-fp/fixsfsi.c: Likewise.
4577 * soft-fp/fixsfti.c: Likewise.
4578 * soft-fp/fixtfdi.c: Likewise.
4579 * soft-fp/fixtfsi.c: Likewise.
4580 * soft-fp/fixtfti.c: Likewise.
4581 * soft-fp/fixunsdfdi.c: Likewise.
4582 * soft-fp/fixunsdfsi.c: Likewise.
4583 * soft-fp/fixunsdfti.c: Likewise.
4584 * soft-fp/fixunssfdi.c: Likewise.
4585 * soft-fp/fixunssfsi.c: Likewise.
4586 * soft-fp/fixunssfti.c: Likewise.
4587 * soft-fp/fixunstfdi.c: Likewise.
4588 * soft-fp/fixunstfsi.c: Likewise.
4589 * soft-fp/fixunstfti.c: Likewise.
4590 * soft-fp/floatdidf.c: Likewise.
4591 * soft-fp/floatdisf.c: Likewise.
4592 * soft-fp/floatditf.c: Likewise.
4593 * soft-fp/floatsidf.c: Likewise.
4594 * soft-fp/floatsisf.c: Likewise.
4595 * soft-fp/floatsitf.c: Likewise.
4596 * soft-fp/floattidf.c: Likewise.
4597 * soft-fp/floattisf.c: Likewise.
4598 * soft-fp/floattitf.c: Likewise.
4599 * soft-fp/floatundidf.c: Likewise.
4600 * soft-fp/floatundisf.c: Likewise.
4601 * soft-fp/floatunditf.c: Likewise.
4602 * soft-fp/floatunsidf.c: Likewise.
4603 * soft-fp/floatunsisf.c: Likewise.
4604 * soft-fp/floatunsitf.c: Likewise.
4605 * soft-fp/floatuntidf.c: Likewise.
4606 * soft-fp/floatuntisf.c: Likewise.
4607 * soft-fp/floatuntitf.c: Likewise.
4608 * soft-fp/gedf2.c: Likewise.
4609 * soft-fp/gesf2.c: Likewise.
4610 * soft-fp/getf2.c: Likewise.
4611 * soft-fp/ledf2.c: Likewise.
4612 * soft-fp/lesf2.c: Likewise.
4613 * soft-fp/letf2.c: Likewise.
4614 * soft-fp/muldf3.c: Likewise.
4615 * soft-fp/mulsf3.c: Likewise.
4616 * soft-fp/multf3.c: Likewise.
4617 * soft-fp/negdf2.c: Likewise.
4618 * soft-fp/negsf2.c: Likewise.
4619 * soft-fp/negtf2.c: Likewise.
4620 * soft-fp/op-1.h: Likewise.
4621 * soft-fp/op-2.h: Likewise.
4622 * soft-fp/op-4.h: Likewise.
4623 * soft-fp/op-8.h: Likewise.
4624 * soft-fp/op-common.h: Likewise.
4625 * soft-fp/quad.h: Likewise.
4626 * soft-fp/single.h: Likewise.
4627 * soft-fp/soft-fp.h: Likewise.
4628 * soft-fp/subdf3.c: Likewise.
4629 * soft-fp/subsf3.c: Likewise.
4630 * soft-fp/subtf3.c: Likewise.
4631 * soft-fp/truncdfsf2.c: Likewise.
4632 * soft-fp/trunctfdf2.c: Likewise.
4633 * soft-fp/trunctfsf2.c: Likewise.
4634 * soft-fp/trunctfxf2.c: Likewise.
4635 * soft-fp/unorddf2.c: Likewise.
4636 * soft-fp/unordsf2.c: Likewise.
4637 * soft-fp/unordtf2.c: Likewise.
4638
02ac9503
UB
46392013-11-05 Uros Bizjak <ubizjak@gmail.com>
4640
4641 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
4642 (_FP_MUL_MEAT_D): Ditto.
4643 (_FP_DIV_MEAT_S): Ditto.
4644 (_FP_DIV_MEAT_D): Ditto.
4645 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
4646 t-softfp-sfdf and t-softfp to tmake_file.
4647
61221141
UB
46482013-11-03 Uros Bizjak <ubizjak@gmail.com>
4649
4650 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
4651 * config/i386/crtprec.c: Ditto.
4652
9304f876
CJW
46532013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
4654 Shiva Chen <shiva0217@gmail.com>
4655
4656 * config.host (nds32*-elf*): Add nds32 target.
4657 * config/nds32 : New directory and files.
4658
0e499e75
HPN
46592013-10-16 Hans-Peter Nilsson <hp@axis.com>
4660
4661 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
4662 * config.host (cpu_type) <Setting default>: Add entry for
4663 crisv32-*-*.
4664 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
4665 <crisv32-*-linux*>: Adjust.
4666 * longlong.h: Wrap the whole CRIS section in a single
4667 defined(__CRIS__) conditional. Add comment about add_ssaaaa
4668 and sub_ddmmss.
4669 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
4670 defined.
4671 [__CRIS__] (__umulsidi3): Define.
4672 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
4673 * config/cris/sfp-machine.h: New file.
4674 * config/cris/umulsidi3.S: New file.
4675 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
4676 * config/cris/arit.c (SIGNMULT): New macro.
4677 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
4678 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
4679 saving 3 out of originally 33 cycles from the fastest
4680 path, 3 out of 54 from the medium path and one from the longest
4681 path. Improve comments.
4682
16022041
RS
46832013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
4684
4685 * sync.c: Remove static aliases and define each function directly
4686 under its real name.
4687
69778659
JDA
46882013-10-02 John David Anglin <danglin@gcc.gnu.org>
4689
4690 * config.host (hppa*64*-*-linux*): Define extra_parts.
4691 (hppa*-*-linux*): Likewise.
4692
2deaf8b0
JR
46932013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
4694
4695 * config/arc/crtgend.S: Add 2013 to Copyright years.
4696 * config/arc/gmon/atomic.h: Likewise.
4697 * config/arc/gmon/auxreg.h: Likewise.
4698 * config/arc/gmon/sys/gmon_out.h: Likewise.
4699 * config/arc/gmon/sys/gmon.h: Likewise.
4700 * config/arc/gmon/prof-freq.c: Likewise.
4701 * config/arc/gmon/mcount.c: Likewise.
4702 * config/arc/gmon/prof-freq-stub.S: Likewise.
4703 * config/arc/gmon/gmon.c: Likewise.
4704 * config/arc/gmon/machine-gmon.h: Likewise.
4705 * config/arc/gmon/profil.S: Likewise.
4706 * config/arc/gmon/dcache_linesz.S: Likewise.
4707 * config/arc/crtg.S: Likewise.
4708 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
4709 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
4710 * config/arc/ieee-754/adddf3.S: Likewise.
4711 * config/arc/ieee-754/truncdfsf2.S: Likewise.
4712 * config/arc/ieee-754/fixsfsi.S: Likewise.
4713 * config/arc/ieee-754/gtsf2.S: Likewise.
4714 * config/arc/ieee-754/floatsisf.S: Likewise.
4715 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
4716 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
4717 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
4718 * config/arc/ieee-754/fixdfsi.S: Likewise.
4719 * config/arc/ieee-754/addsf3.S: Likewise.
4720 * config/arc/ieee-754/gesf2.S: Likewise.
4721 * config/arc/ieee-754/floatsidf.S: Likewise.
4722 * config/arc/ieee-754/extendsfdf2.S: Likewise.
4723 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
4724 * config/arc/ieee-754/gtdf2.S: Likewise.
4725 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
4726 * config/arc/ieee-754/uneqdf2.S: Likewise.
4727 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
4728 * config/arc/ieee-754/uneqsf2.S: Likewise.
4729 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
4730 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
4731 * config/arc/ieee-754/eqdf2.S: Likewise.
4732 * config/arc/ieee-754/ordsf2.S: Likewise.
4733 * config/arc/ieee-754/divsf3.S: Likewise.
4734 * config/arc/ieee-754/divdf3.S: Likewise.
4735 * config/arc/ieee-754/floatunsidf.S: Likewise.
4736 * config/arc/ieee-754/orddf2.S: Likewise.
4737 * config/arc/ieee-754/eqsf2.S: Likewise.
4738 * config/arc/ieee-754/gedf2.S: Likewise.
4739 * config/arc/crtn.S: Likewise.
4740 * config/arc/crti.S: Likewise.
4741 * config/arc/t-arc700-uClibc: Likewise.
4742 * config/arc/asm.h: Likewise.
4743 * config/arc/libgcc-excl.ver: Likewise.
4744 * config/arc/t-arc-newlib: Likewise.
4745 * config/arc/divtab-arc700.c: Likewise.
4746 * config/arc/initfini.c: Likewise.
4747 * config/arc/fp-hack.h: Likewise.
4748
c8e318b0
JR
47492013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
4750 Diego Novillo <dnovillo@google.com>
4751
4752 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
a07c5b47
JR
4753 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
4754 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
4755 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
c8e318b0 4756
d38a64b4
JR
47572013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
4758 Brendan Kehoe <brendan@zen.org>
4759 Simon Cook <simon.cook@embecosm.com>
4760
4761 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
4762 * config/arc: New directory.
4763 * longlong.h [__arc__] (umul_ppmm): Remove.
4764 [__arc__] (__umulsidi3): Define.
4765 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
4766 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
4767
dff717d2
JC
47682013-09-17 Jacek Caban <jacek@codeweavers.com>
4769
4770 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
4771 CreateSemaphoreA.
4772 * config/i386/gthr-win32.h: Likewise.
4773
5c0029de
DD
47742013-09-16 DJ Delorie <dj@redhat.com>
4775
844ad6c6 4776 * config/rl78/vregs.h: Add G10 register definitions.
5c0029de
DD
4777 * config/rl78/lib2mul.c: Enable for RL78/G10.
4778 * config/rl78/lib2div.c: Likewise.
4779 * config/rl78/lshrsi3.S: Use vregs.h.
4780 * config/rl78/cmpsi2.S: Likewise.
4781 * config/rl78/trampoline.S: Likewise.
4782 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
4783
ceb2fc49
DD
47842013-09-14 DJ Delorie <dj@redhat.com>
4785 Nick Clifton <nickc@redhat.com>
4786
4787 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
4788 * config/rl78/vregs.h: New.
4789 * config/rl78/signbit.S: New file. Implements signbit function.
4790 * config/rl78/divmodsi.S: New.
4791 * config/rl78/divmodhi.S: New.
4792 * config/rl78/divmodqi.S: New.
4793 * config/rl78/t-rl78: Build them here...
4794 * config/rl78/lib2div.c: ...but not here.
4795
f6a83b4a
DD
47962013-09-12 DJ Delorie <dj@redhat.com>
4797
4798 * config.host (msp*-*-elf): New.
4799 * config/msp430/: New port.
4800
9107b096
IS
48012013-08-18 Iain Sandoe <iain@codesourcery.com>
4802
4803 PR gcov-profile/58127
4804 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
4805 __thread var for emulated TLS.
4806 (__gcov_indirect_call_counters): Likewise.
4807
0f9bde1f 48082013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
61221141 4809 Catherine Moore <clm@codesourcery.com>
7d296953 4810 Richard Sandiford <rdsandiford@googlemail.com>
0f9bde1f
MR
4811
4812 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
4813 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
4814 (CALL_STUB_NO_RET): Likewise.
4815 (CALL_STUB_RET): Likewise.
4816 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
4817 __mips16_ret call/return stub symbols.
4818 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
4819 to tmake_file.
4820
2dc14aac
MR
48212013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
4822
4823 * config.host <mips*-*-linux*>: Remove a stray comment.
4824
748d71f3
JH
48252013-08-10 Jan Hubicka <jh@suse.cz>
4826
4827 Work around binutils PR14342
4828 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
4829 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
4830 (L_gcov_indirect_call_profiler_v2): New.
4831
2fa3d31b
JH
48322013-08-06 Jan Hubicka <jh@suse.cz>
4833
4834 * libgcov.c (__gcov_indirect_call_callee,
4835 __gcov_indirect_call_counters): New global vars.
4836 (__gcov_indirect_call_profiler): replace by ...
4837 (__gcov_indirect_call_profiler_v2) ... this one.
4838
2077db1b
CT
48392013-08-06 Caroline Tice <cmtice@google.com>
4840
d0595b65 4841 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
2077db1b 4842 vtv_start_preinit.o and vtv_end_preinit.o.
d0595b65
CT
4843 * configure.ac: Add code to check/set enable_vtable_verify.
4844 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
2077db1b 4845 true.
d0595b65
CT
4846 * vtv_start_preinit.c: New file.
4847 * vtv_end_preinit.c: New file.
4848 * vtv_start.c: New file.
4849 * vtv_end.c: New file.
4850 * configure: Regenerated.
2077db1b 4851
46549c20
MK
48522013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
4853
4854 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
4855 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
4856 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
4857 GPL-3.0-with-GCC-exception.
4858
72be589b
MR
48592013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
4860
4861 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
4862 ISA and up.
4863
902a3faf
AK
48642013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4865
4866 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
4867 mapping for FPRs when creating the fallback framestate.
4868
02371798
GJL
48692013-07-19 Georg-Johann Lay <avr@gjlay.de>
4870
4871 PR target/57516
4872 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
4873 (__round_s2_const, __round_u2_const)
4874 (__round_s4_const, __round_u4_const, __round_x8):
4875 Saturate result if addition result cannot be represented.
4876
ab0e8379
MK
48772013-07-15 Matthias Klose <doko@ubuntu.com>
4878
4879 * libgcc2.c: Don't include <limits.h>.
4880
7da38058
JJ
48812013-07-09 Janis Johnson <janisjo@codesourcery.com>
4882
4883 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
4884
1f6eac90
JJ
48852013-07-06 Jakub Jelinek <jakub@redhat.com>
4886
4887 PR target/29776
4888 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
4889
4ea3d774
JJ
48902013-06-28 Jakub Jelinek <jakub@redhat.com>
4891
4892 PR middle-end/36041
4893 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
4894 Define.
4895 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
4896 instead of table lookups.
4897 (__popcountDI2): Likewise.
4898
9d2cdf25
CJW
48992013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
4900
4901 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
4902 correctly.
4903
fa1e55b0
JM
49042013-06-21 Joseph Myers <joseph@codesourcery.com>
4905
4906 PR other/53317
4907 * soft-fp/adddf3.c: Update from glibc.
4908 * soft-fp/addsf3.c: Likewise.
4909 * soft-fp/addtf3.c: Likewise.
4910 * soft-fp/divdf3.c: Likewise.
4911 * soft-fp/divsf3.c: Likewise.
4912 * soft-fp/divtf3.c: Likewise.
4913 * soft-fp/double.h: Likewise.
4914 * soft-fp/eqdf2.c: Likewise.
4915 * soft-fp/eqsf2.c: Likewise.
4916 * soft-fp/eqtf2.c: Likewise.
4917 * soft-fp/extenddftf2.c: Likewise.
4918 * soft-fp/extended.h: Likewise.
4919 * soft-fp/extendsfdf2.c: Likewise.
4920 * soft-fp/extendsftf2.c: Likewise.
4921 * soft-fp/fixdfdi.c: Likewise.
4922 * soft-fp/fixdfsi.c: Likewise.
4923 * soft-fp/fixsfdi.c: Likewise.
4924 * soft-fp/fixsfsi.c: Likewise.
4925 * soft-fp/fixtfdi.c: Likewise.
4926 * soft-fp/fixtfsi.c: Likewise.
4927 * soft-fp/fixunsdfdi.c: Likewise.
4928 * soft-fp/fixunsdfsi.c: Likewise.
4929 * soft-fp/fixunssfdi.c: Likewise.
4930 * soft-fp/fixunssfsi.c: Likewise.
4931 * soft-fp/fixunstfdi.c: Likewise.
4932 * soft-fp/fixunstfsi.c: Likewise.
4933 * soft-fp/floatdidf.c: Likewise.
4934 * soft-fp/floatdisf.c: Likewise.
4935 * soft-fp/floatditf.c: Likewise.
4936 * soft-fp/floatsidf.c: Likewise.
4937 * soft-fp/floatsisf.c: Likewise.
4938 * soft-fp/floatsitf.c: Likewise.
4939 * soft-fp/floatundidf.c: Likewise.
4940 * soft-fp/floatundisf.c: Likewise.
4941 * soft-fp/floatunditf.c: Likewise.
4942 * soft-fp/floatunsidf.c: Likewise.
4943 * soft-fp/floatunsisf.c: Likewise.
4944 * soft-fp/floatunsitf.c: Likewise.
4945 * soft-fp/gedf2.c: Likewise.
4946 * soft-fp/gesf2.c: Likewise.
4947 * soft-fp/getf2.c: Likewise.
4948 * soft-fp/ledf2.c: Likewise.
4949 * soft-fp/lesf2.c: Likewise.
4950 * soft-fp/letf2.c: Likewise.
4951 * soft-fp/muldf3.c: Likewise.
4952 * soft-fp/mulsf3.c: Likewise.
4953 * soft-fp/multf3.c: Likewise.
4954 * soft-fp/negdf2.c: Likewise.
4955 * soft-fp/negsf2.c: Likewise.
4956 * soft-fp/negtf2.c: Likewise.
4957 * soft-fp/op-1.h: Likewise.
4958 * soft-fp/op-2.h: Likewise.
4959 * soft-fp/op-4.h: Likewise.
4960 * soft-fp/op-8.h: Likewise.
4961 * soft-fp/op-common.h: Likewise.
4962 * soft-fp/quad.h: Likewise.
4963 * soft-fp/single.h: Likewise.
4964 * soft-fp/soft-fp.h: Likewise.
4965 * soft-fp/subdf3.c: Likewise.
4966 * soft-fp/subsf3.c: Likewise.
4967 * soft-fp/subtf3.c: Likewise.
4968 * soft-fp/truncdfsf2.c: Likewise.
4969 * soft-fp/trunctfdf2.c: Likewise.
4970 * soft-fp/trunctfsf2.c: Likewise.
4971 * soft-fp/unorddf2.c: Likewise.
4972 * soft-fp/unordsf2.c: Likewise.
4973 * soft-fp/unordtf2.c: Likewise.
4974 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
4975 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4976 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4977 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4978 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4979 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4980 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4981 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4982 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4983 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
4984 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
4985 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4986
0de86a92
JU
49872013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
4988
4989 * config/mips/lib2funcs.c: New file.
4990 * config/mips/t-mips (LIB2ADD_ST): Add it.
4991
0d008882
OE
49922013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
4993
4994 PR target/6526
4995 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
4996 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
4997
776434d1
WL
49982013-06-08 Walter Lee <walt@tilera.com>
4999
5000 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
5001 Replace int64_t with long long. Add __extension__ where
5002 appropriate.
5003 * config/tilepro/atomic.c: Include config.h.
5004
6ab3ebb4
DR
50052013-06-06 Douglas B Rupp <rupp@adacore.com>
5006
5007 * config.host (arm-wrs-vxworks): Configure with other soft float.
5008
107eea2c
JU
50092013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
5010
5011 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
5012 (mips64r5900el-*-elf*): New configurations.
5013
5cc19c62
AM
50142013-06-04 Alan Modra <amodra@gmail.com>
5015
5016 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
5017
0f1d3965
YR
50182013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
5019
5020 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
5021
0ba045df
EB
50222013-05-28 Eric Botcazou <ebotcazou@adacore.com>
5023
5024 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
5025 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
5026 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
5027
49dcafd4
EB
50282013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5029
5030 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
5031 (powerpc-wrs-vxworks): Likewise.
5032
4fcb5d87
EB
50332013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5034
5035 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
5036 signal frames as well.
5037 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
5038 STACK_BIAS to the CFA offset.
5039
0ec33224
RH
50402013-05-17 Richard Henderson <rth@redhat.com>
5041
5042 PR target/49146
5043 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
5044 (execute_cfa_program): Use it when storing to fs->regs.
5045
492a8029
KT
50462013-05-08 Kai Tietz <ktietz@redhat.com>
5047
5048 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
5049 (__deregister_frame_info): Likewise.
5050
701e2f0a
TS
50512013-05-06 Thomas Schwinge <thomas@codesourcery.com>
5052
e5123d08
TS
5053 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
5054 NaN's payload.
5055
701e2f0a
TS
5056 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
5057
b9a7eb5d
AM
50582013-04-25 Alan Modra <amodra@gmail.com>
5059
5060 * config.host: Match little-endian powerpc-linux.
5061
dfe192f5
YZ
50622013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
5063
5064 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
5065 as 'unsigned long long' instead of 'unsigned long'.
5066 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
5067 'signed long'.
5068
b6b9af2f
JB
50692013-04-10 Julian Brown <julian@codesourcery.com>
5070
5071 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
5072 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
5073 unsigned char/unsigned short.
5074 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
5075
ecabdd00
JDA
50762013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5077
5078 PR other/55274
5079 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
5080
34652576
MI
50812013-04-04 Meador Inge <meadori@codesourcery.com>
5082
5083 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
5084 computing the location of the link register.
5085 (aeabi_uldivmod): Ditto.
5086
e9fd8c19
KT
50872013-03-27 Kai Tietz <ktietz@redhat.com>
5088
5089 * config.host: Add support for cygwin x64 target.
5090 * configure: Regenerated.
5091
a6406324
WL
50922013-03-26 Walter Lee <walt@tilera.com>
5093
5094 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
5095 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
5096
55446c7e
KT
50972013-03-25 Kai Tietz <ktietz@redhat.com>
5098
5099 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
5100
d2ae19d9
RM
51012013-03-20 Robert Mason <rbmj@verizon.net>
5102
5103 * config/vxlib-tls.c (__gthread_get_tsd_data,)
5104 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
5105 (__gthread_leave_tsd_dtor_context): Add prototypes.
5106 (tls_delete_hook): Update.
5107
22c4c869
CM
51082013-03-20 Catherine Moore <clm@codesourcery.com>
5109 Joseph Myers <joseph@codesourcery.com>
5110 Chao-ying Fu <fu@mips.com>
5111
5112 * config/mips/mips16.S: Don't build for microMIPS.
5113 * config/mips/linux-unwind.h: Handle microMIPS frame.
5114 * config/mips/crtn.S (fini, init): New labels.
5115
fbd28bc3
JJ
51162013-03-14 Jakub Jelinek <jakub@redhat.com>
5117
5118 PR tree-optimization/53265
5119 * unwind-dw2.c (execute_cfa_program): Avoid
5120 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
5121 on targets with DWARF_FRAME_REGISTERS < 32.
5122
decc676e
OE
51232013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
5124
5125 PR target/49880
5126 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
5127 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
5128
84ea618a
ST
51292013-03-07 Sriraman Tallam <tmsriram@google.com>
5130
5131 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
5132 sandybridge processors.
5133
8f6d1c86
OE
51342013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
5135
5136 PR target/56529
5137 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
5138 inclusion list.
5139
ecdbd01a 51402013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
409b1de4
EI
5141
5142 * config/microblaze/crti.S: Setup stack protection at entry
5143
0b4ce21b
GJL
51442013-03-04 Georg-Johann Lay <avr@gjlay.de>
5145
5146 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
5147 (__rotldi3): Shift bytewise if applicable.
5148
b7c3f1ca
JG
51492013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
5150
5151 * config/aarch64/sync-cache.c
5152 (__aarch64_sync_cache_range): Silence warnings.
5153
6d65e8f1
CM
51542013-02-25 Catherine Moore <clm@codesourcery.com>
5155
5156 Revert:
5157 2013-02-24 Catherine Moore <clm@codesourcery.com>
5158 Joseph Myers <joseph@codesourcery.com>
5159 Chao-ying Fu <fu@mips.com>
5160
5161 * config/mips/mips16.S: Don't build for microMIPS.
5162 * config/mips/linux-unwind.h: Handle microMIPS frame.
5163 * config/mips/crtn.S (fini, init): New labels.
5164
6941b508
CM
51652013-02-24 Catherine Moore <clm@codesourcery.com>
5166 Joseph Myers <joseph@codesourcery.com>
5167 Chao-ying Fu <fu@mips.com>
5168
5169 * config/mips/mips16.S: Don't build for microMIPS.
5170 * config/mips/linux-unwind.h: Handle microMIPS frame.
5171 * config/mips/crtn.S (fini, init): New labels.
5172
7c422dbb 51732012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
cc86234f 5174 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7c422dbb
EI
5175 as dividend.
5176
110207ad
AM
51772013-02-16 Alan Modra <amodra@gmail.com>
5178
5179 PR target/55431
5180 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
5181 (ppc_fallback_frame_state): Always set up save locations for fp
5182 and altivec. Don't bother with non-callee-saved regs, r0-r13
5183 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
5184
e68a4ef6
GJL
51852013-02-12 Georg-Johann Lay <avr@gjlay.de>
5186
5187 PR target/54222
5188 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
5189 _ssmulHA, _ssmulSA.
5190 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
5191 _ssmulha3, _usmulusa3, _ssmulsa3.
5192 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
5193 (__muldi3): XCALL __muldi3_6 instead of rcall.
5194 (__umulsidi3, __mulsidi3): New functions.
5195 (do_prologue_saves, do_epilogue_restores): New .macros.
5196 (__divdi3_moddi3): Use them.
5197 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
5198 (__usmulusa3, __ssmulsa3): New functions.
5199
6c59ffd1
IS
52002013-02-11 Iain Sandoe <iain@codesourcery.com>
5201 Jack Howarth <howarth@bromo.med.uc.edu>
5202 Patrick Marlier <patrick.marlier@gmail.com>
5203
5204 PR libitm/55693
5205 * config/darwin-crt-tm.c: Remove dummy functions hack.
5206
85d768f3
GJL
52072013-02-08 Georg-Johann Lay <avr@gjlay.de>
5208
5209 PR target/54222
5210 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
5211 * config/avr/lib2-object.mk: New iterator to build objects from it.
5212 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
5213 lib2funcs.c.
5214 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
5215 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
5216 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
5217 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
5218 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
5219 * config/avr/lib1funcs-fixed.S: Implement them.
5220
5d5bf775
RS
52212013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
5222
5223 Update copyright years.
5224
99113dff
DE
52252013-02-01 David Edelsohn <dje.gcc@gmail.com>
5226
5227 PR target/54601
5228 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
5229 Add crtcxa to extra_parts.
5230 * config/rs6000/exit.h: New file.
5231 * config/rs6000/cxa_atexit.c: New file.
5232 * config/rs6000/cxa_finalize.c: New file.
5233 * config/rs6000/crtcxa.c: New file.
5234 * config/rs6000/t-aix-cxa: New file.
5235 * config/rs6000/libgcc-aix-cxa.ver: New file.
5236
dbdbd982
NC
52372013-01-31 Nick Clifton <nickc@redhat.com>
5238
5239 * config/v850/lib1funcs.S: Add support for e3v5 architecture
5240 variant.
5241
5893f158
GJL
52422013-01-29 Georg-Johann Lay <avr@gjlay.de>
5243
5244 PR target/54222
5245 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
5246 _mulQQ, _mulHQ, _mulHA, _mulSA,
5247 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
5248 _divQQ, _divHQ, _divHA, _divSA,
5249 _divUQQ, _divUHQ, _divUHA, _divUSA.
5250
ecdbd01a 52512013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
fbf0cf90 5252
dbdbd982 5253 * config.host(microblaze*-linux*): tmake_file: Remove
fbf0cf90
DH
5254 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
5255 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
5256 to exclude functions from being built with libgcc.c and use
5257 the microblaze assembly.
5258
ecdbd01a 52592013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6f14eef2
EI
5260
5261 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
5262 extra_parts.
5263
922c57d1
YZ
52642013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
5265
5266 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
5267 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
5268 __UINTPTR_TYPE__; also cast 'base' to the same type before the
5269 alignment operation.
5270
e0f8b6a0
SN
52712013-01-15 Sofiane Naci <sofiane.naci@arm.com>
5272
5273 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
5274 loop start address for cache clearing.
5275
00892272
GJL
52762013-01-14 Georg-Johann Lay <avr@gjlay.de>
5277
5278 * config/avr/lib1funcs.S: Remove trailing blanks.
5279 * config/avr/lib1funcs-fixed.S: Ditto.
5280
e59ec5fd
GJL
52812013-01-14 Georg-Johann Lay <avr@gjlay.de>
5282
5283 * config/avr/avr-lib.h: Add GPL copyright notice.
5284
3ffc1958
GJL
52852013-01-14 Georg-Johann Lay <avr@gjlay.de>
5286
5287 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
5288 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
5289 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
5290 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
5291
25c210f9
MK
52922013-01-07 Mark Kettenis <kettenis@openbsd.org>
5293
5294 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
5295 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
2bc15360 5296
db59befb
NC
52972013-01-04 Nick Clifton <nickc@redhat.com>
5298
5299 * config/v850/lib1funcs.S: Only provide CALLT support functions if
5300 the CALLT instruction is supported.
5301
5aa12dbf
JW
53022012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
5303
5304 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
5305 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
5306
65f14117
JT
53072012-12-13 John Tytgat <John@bass-software.com>
5308
5309 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
5310 is 25.
5311
ee3ae4f7
JJ
53122012-12-12 Jakub Jelinek <jakub@redhat.com>
5313
5314 PR libgcc/55451
5315 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
5316 undefined signed overflows.
5317
2fcfba3d
UB
53182012-12-09 Uros Bizjak <ubizjak@gmail.com>
5319
5320 PR target/55344
5321 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
5322
4f2b3dc2
UB
53232012-12-06 Uros Bizjak <ubizjak@gmail.com>
5324
5325 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
5326 (FP_TRAPPING_EXCEPTIONS): Define.
5327 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
5328 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
5329
066161a2
RH
53302012-12-04 Richard Henderson <rth@redhat.com>
5331
5332 PR bootstrap/55571
5333 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
5334
7d296953 53352012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
25626181 5336
4f2b3dc2 5337 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
25626181
MS
5338 (FP_EX_SHIFT): Define.
5339 (FP_TRAPPING_EXCEPTIONS): Define.
5340
7d296953 53412012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
868395e8
MS
5342
5343 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
5344 (FP_ROUNDMODE): Use FP_RND_MASK.
5345 * config/aarch64/sfp-exceptions.c: New.
5346 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5347 Use __sfp_handle_exceptions.
5348
5005fe22
RE
53492012-12-04 Richard Earnshaw <rearnsha@arm.com>
5350
5351 * config.host: (arm*-*-freebsd*): Remove.
5352 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
5353 (arm*-*-elf*): Remove.
5354 (arm*-*-wince-pe*): Remove.
5355 * arm/unwind-arm.c (struct fpa_reg): Delete.
5356 (struct fpa_regs): Delete.
5357 (phase1_vrs): Remove fpa element.
5358 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
5359 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
5360 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
5361 * ieee754-sf.S (floatundisf): Remove FPA support.
5362 (floatdisf): Likewise.
5363 * ieee75f-df.S (floatundidf): Likewise.
5364 (floatdidf): Likewise.
5365
e5a81c8e
KT
53662012-11-29 Kai Tietz <ktietz@redhat.com>
5367
5368 PR target/55445
5369 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
5370 * unwind-generic.h: Likewise.
5371 * unwind-seh.c: Likewise.
5372
f4919e4a
RH
53732012-11-28 Richard Henderson <rth@redhat.com>
5374
5375 PR libgcc/48076
5376 * emutls.c (__emutls_get_address): Avoid race condition between
5377 obj->loc.offset read and emutls_key initialization.
4f2b3dc2 5378
e13d9d5a
GJL
53792012-11-22 Georg-Johann Lay <avr@gjlay.de>
5380
5381 Adjust decimal point of signed accum mode to GCC default.
5382
5383 PR target/54222
5384 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
5385 _divqq_helper.
5386 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
5387 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
5388 (__mulha3, __mulsa3)
5389 (__divqq3, __divha3, __divsa3): Adjust to new position of
4f2b3dc2
UB
5390 decimal point of signed accum types.
5391
e13d9d5a
GJL
5392 (__mulusa3_round): New function.
5393 (__mulusa3): Use it.
5394 (__divqq_helper): New function.
5395 (__udivuqq3): Use it.
5396
1b845c6e
JJ
53972012-11-20 Jakub Jelinek <jakub@redhat.com>
5398
5399 PR bootstrap/55370
5400 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
5401
822a258a
TJ
54022012-11-18 Teresa Johnson <tejohnson@google.com>
5403
5404 PR bootstrap/55051
5405 * libgcov.c (gcov_exit): Remove merged program summary
5406 comparison unless !GCOV_LOCKED.
5407
7d296953 54082012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
54f4eaf0
MS
5409
5410 * soft-fp: Updated from glibc upstream.
5411
e808687a
ILT
54122012-11-06 Ian Lance Taylor <iant@google.com>
5413
5414 * generic-morestack.c (__generic_morestack): Align the returned
5415 stack pointer to a 32 byte boundary.
5416 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
5417 increment the return address until we have decided that we don't
5418 have a varargs function.
5419 (__morestack) [32-bit]: Align stack correctly when calling C
5420 functions.
5421 (__morestack) [64-bit]: Likewise.
5422
460277e0
TS
54232012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5424
5425 * configure: Regenerate.
5426
73edb277
UB
54272012-11-02 Uros Bizjak <ubizjak@gmail.com>
5428
5429 PR target/55175
5430 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
5431 * config/i386/sfp-machine.h: Guard exception handling
5432 code with _SOFT_FLOAT.
5433 * config/i386/32/sfp-machine.h: Guard rounding handling
5434 code with _SOFT_FLOAT.
5435 * config/i386/64/sfp-machine.h: Ditto.
5436
c1d4fa04
JS
54372012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
5438
5439 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
5440 as extra_parts.
5441
eff6ca85
UB
54422012-10-26 Uros Bizjak <ubizjak@gmail.com>
5443
5444 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
5445 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
5446 when appropriate. Correct structure element types.
5447 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
5448 -minline-all-stringops from compile flags.
5449
7d296953 54502012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
43a8f1a1
RC
5451
5452 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
5453
7d296953 54542012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
76c78361 5455
eff6ca85 5456 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
76c78361 5457
6f288860
SH
54582012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
5459
5460 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
5461 tmake_file.
5462
1e3d5096
IB
54632012-10-23 Ian Bolton <ian.bolton@arm.com>
5464 Jim MacArthur <jim.macarthur@arm.com>
5465 Marcus Shawcroft <marcus.shawcroft@arm.com>
5466 Nigel Stephens <nigel.stephens@arm.com>
5467 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
5468 Richard Earnshaw <rearnsha@arm.com>
5469 Sofiane Naci <sofiane.naci@arm.com>
5470 Stephen Thomas <stephen.thomas@arm.com>
5471 Tejas Belagod <tejas.belagod@arm.com>
5472 Yufeng Zhang <yufeng.zhang@arm.com>
5473
5474 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
5475 * config/aarch64/crti.S: New file.
5476 * config/aarch64/crtn.S: New file.
5477 * config/aarch64/linux-unwind.h: New file.
5478 * config/aarch64/sfp-machine.h: New file.
5479 * config/aarch64/sync-cache.c: New file.
5480 * config/aarch64/t-aarch64: New file.
5481 * config/aarch64/t-softfp: New file.
5482
8a740f07
HPN
54832012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
5484
5485 * config/mmix/crti.S: Mark program and data addresses using PRELD.
5486 Remove typo'd and unnecessary alignment-LOC for .data. Remove
5487 no-longer-needed LDBU insns.
5488
7d296953 54892012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
153c8397
SH
5490
5491 * config.host
5492 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
5493 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
5494
595fefee
MGD
54952012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
5496
5497 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
5498
9945a876
MK
54992012-10-15 Matthias Klose <doko@ubuntu.com>
5500
5501 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
5502
1183dc2c
PC
55032012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
5504
5505 * configure: Regenerate.
5506 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
5507
945a9c1f
UB
55082012-10-10 Uros Bizjak <ubizjak@gmail.com>
5509
5510 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
5511 instructions for 64bit targets only.
5512
fb8bf47a
UB
55132012-10-10 Uros Bizjak <ubizjak@gmail.com>
5514
5515 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5516 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
5517 * config/i386/32/sfp-machine.h: ... here.
5518 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
5519 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
5520 New defines.
5521
acb72498
MK
55222012-10-07 Matthias Klose <doko@ubuntu.com>
5523
5524 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
5525 as unused.
5526 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
5527
8eaee0f0
MK
55282012-10-06 Mark Kettenis <kettenis@openbsd.org>
5529
5530 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
5531 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
5532 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
5533 (ElfW): Likewise.
5534
5e3e4fe8
JW
55352012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
5536
5537 PR other/53889
5538 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5539 Fix parameter names.
5540
86086376
OE
55412012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
5542
5543 PR target/33135
5544 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
5545 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
5546 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
5547
9597375a
OE
55482012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
5549
5550 PR target/50457
5551 * config/sh/linux-atomic.S: Delete.
5552 * config/sh/linux-atomic.c: New.
5553 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
5554 linux-atomic.c. Add cflags to disable warnings.
5555
1504e3e1
JW
55562012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
5557
5558 PR other/53889
5559 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
5560 function.
5561 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
5562 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
5563 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
5564 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5e3e4fe8
JW
5565 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
5566 Likewise.
1504e3e1
JW
5567 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5568 Likewise.
5569 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
5570 Likewise.
5571 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
5572 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
5573
17f293b0
MK
55742012-09-19 Mark Kettenis <kettenis@openbsd.org>
5575
9597375a
OE
5576 * config.host (hppa-*-openbsd*): New target.
5577 * config/pa/t-openbsd: New file.
17f293b0 5578
51526856
GJL
55792012-09-15 Georg-Johann Lay <avr@gjlay.de>
5580
5581 PR target/54222
5582 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
5583 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
5584 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
5585 (__divsa3): Use __negsi2 to negate r_quoL.
5586 * config/avr/lib1funcs.S (FALIAS): New macro.
5587 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
5588 (__negsi2): ...this new function.
5589 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
5590 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
5591 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
5592 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
5593 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
5594 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
5595
aadb5b43
OE
55962012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
5597
5598 PR target/54089
5599 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
5600 (lshrsi3): Reimplement as lshrsi3_r0.
5601
d5d66749
AS
56022012-09-10 Andreas Schwab <schwab@linux-m68k.org>
5603
5604 PR target/46191
5605 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
5606 of libgcc.a.
5607
c6c36e73
TJ
56082012-09-07 Teresa Johnson <tejohnson@google.com>
5609
9597375a 5610 PR gcov-profile/54487
c6c36e73 5611 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9597375a 5612 differences.
c6c36e73 5613
b588ae30
GJL
56142012-09-05 Georg-Johann Lay <avr@gjlay.de>
5615
5616 PR target/54461
5617 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
5618 not configured --with-avrlibc=no.
5619 * config/avr/t-avrlibc: New file.
5620 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
5621 (DPBIT_FUNCS): Ditto.
5622 (TPBIT_FUNCS): Ditto.
5623
abd16fb1
TJ
56242012-09-04 Teresa Johnson <tejohnson@google.com>
5625
5626 * libgcov.c (struct gcov_summary_buffer): New structure.
5627 (gcov_histogram_insert): New function.
5628 (gcov_compute_histogram): Ditto.
5629 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
5630 histograms during summary merging.
5631
613061fd
MK
56322012-09-01 Mark Kettenis <kettenis@openbsd.org>
5633
5634 * config.host (x86_64-*-openbsd*): New target.
73edb277 5635
867a8345
CLT
56362012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
5637
5638 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
5639 attribute.
5640
4aeaaca3
GJL
56412012-08-24 Georg-Johann Lay <avr@gjlay.de>
5642
5643 PR target/54222
5644 * config/avr/t-avr (conv_X): Rename to func_X.
5645
e55e4056
GJL
56462012-08-24 Georg-Johann Lay <avr@gjlay.de>
5647
5648 PR target/54222
5649 * config/avr/lib1funcs-fixed.S: New file.
5650 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
5651 after they are used.
5652 (neg2, neg4): New macros.
5653 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
5654 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
5655 (__umulhisi3): Speed up MUL variant if there is enough flash.
5656 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
5657 avr-modes.def.
5658 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
5659 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
5660 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
5661 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
5662 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
5663 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
5664 (LIB2FUNCS_EXCLUDE): Add supported functions.
5665
a147b6d2
GJL
56662012-08-22 Georg-Johann Lay <avr@gjlay.de>
5667
5668 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
5669 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
5670 libgcc-s-objects.
5671 * fixed-obj.mk: Only expand dependency if $o is not in
5672 LIB2FUNCS_EXCLUDE.
5673
c637141a
L
56742012-08-22 H.J. Lu <hongjiu.lu@intel.com>
5675
5676 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
5677
130e00bd
JM
56782012-08-22 Joseph Myers <joseph@codesourcery.com>
5679
5680 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
5681 depend on --enable-shared.
5682 ($(lib1asmfuncs-o)): Use %.vis files independent of
5683 --enable-shared.
5684 * static-object.mk ($(base)$(objext), $(base).vis)
5685 ($(base)_s$(objext)): Use same rules for visibility handling as in
5686 shared-object.mk.
5687
4b1b3788
ILT
56882012-08-21 Ian Lance Taylor <iant@google.com>
5689
5690 * config/i386/morestack.S (__morestack_non_split): Increase amount
5691 of space allocated for non-split code stack.
5692
d2468141
JM
56932012-08-19 Joseph Myers <joseph@codesourcery.com>
5694
5695 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
5696 even if inhibit_libc.
5697
a508e1a8
JB
56982012-08-17 Julian Brown <julian@codesourcery.com>
5699
5700 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
5701 -fexceptions -fnon-call-exceptions if not defined.
5702 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
5703 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
5704
5615a07d
AS
57052012-08-17 Andreas Schwab <schwab@linux-m68k.org>
5706
5707 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
5708 type.
5709
138f5acd
DE
57102012-08-16 David Edelsohn <dje.gcc@gmail.com>
5711
5712 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
5713 rs6000/t-slibgcc-aix.
5714
18efc0dd
SB
57152012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
5716
5717 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
5718
6b39bc38
SB
57192012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
5720
5721 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
5722
cd25dea0
L
57232012-08-03 H.J. Lu <hongjiu.lu@intel.com>
5724
5725 PR driver/54171
5726 * Makefile.in (version): Replace top_srcdir with srcdir.
5727
a3dda30b
JY
57282012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
5729
5730 * Makefile.in (version): set to BASE-VER file from gcc directory.
5731
d04aacfc
NC
57322012-08-01 Nick Clifton <nickc@redhat.com>
5733
5734 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
5735 Implements __clrsb for an HImode argument.
5736
0d13c974
NC
57372012-07-31 Nick Clifton <nickc@redhat.com>
5738
5739 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
5740 Implements __clrsb for an HImode argument.
5741 * config/stormy16/clrsbhi2.c: New file:
5742 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
5743
efbb59b2
SB
57442012-07-22 Steven Bosscher <steven@gcc.gnu.org>
5745
5746 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
5747
bf1431e3
TG
57482012-07-19 Tristan Gingold <gingold@adacore.com>
5749 Richard Henderson <rth@redhat.com>
5750
5751 * unwind-seh.c: New file.
5752 * unwind-generic.h: Include windows.h for SEH.
5753 (_Unwind_Exception): Use 6 private fields for SEH.
5754 (_GCC_specific_handler): Declare.
5755 * unwind-c.c (__gcc_personality_seh0): New function.
5756 Adjust for SEH.
5757 * config/i386/libgcc-cygming.ver: New file.
5758 * config/i386/t-seh-eh: New file.
5759 * config.host (x86_64-*-mingw*): Default to seh.
5760
659140c8
SB
57612012-07-14 Steven Bosscher <steven@gcc.gnu.org>
5762
5763 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
5764
a20d08fd
UB
57652012-06-17 Uros Bizjak <ubizjak@gmail.com>
5766
5767 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
5768 __builtin_expect when checking for exceptions.
5769 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
5770
79261115
UB
57712012-06-13 Uros Bizjak <ubizjak@gmail.com>
5772
4a172156
UB
5773 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
5774 function declaration.
5775 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
5776 (FP_RND_MASK): New.
5777 * config/ia64/sfp-exceptions.c: New.
5778 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
79261115 5779
bb5c97d4
UB
57802012-06-13 Uros Bizjak <ubizjak@gmail.com>
5781
5782 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
5783 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
5784 * config/i386/64/sfp-machine: ... (delete here) ...
5785 * config/i386/sfp-machine.h: ... to here.
5786 (FP_EX_MASK): Remove.
5787 (FP_RND_MASK): New.
5788 (FP_INIT_ROUNDMODE): Declare asm as volatile.
5789
91fe5efb
ST
57902012-06-11 Sriraman Tallam <tmsriram@google.com>
5791
5792 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
5793 * config/i386/libgcc-sol2.ver: Ditto.
5794 * config/i386/libgcc-glibc.ver: Ditto.
5795
67a218c5
RM
57962012-06-11 Roland McGrath <mcgrathr@google.com>
5797
5798 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
5799 If __GLIBC__ is defined, refer to __pthread_key_create instead of
5800 pthread_cancel.
5801
492fbea1
UB
58022012-06-09 Uros Bizjak <ubizjak@gmail.com>
5803
5804 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
5805 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
5806 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
5807 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5808 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
5809 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
5810 * config/i386/64/sfp-machine: ... (delete here) ...
5811 * config/i386/sfp-machine.h: ... to here.
5812 (FP_EX_MASK): New.
5813 (__sfp_handle_exceptions): New function declaration.
5814 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
5815 * config/i386/sfp-exceptions.c: New.
5816 * config/i386/t-softfp: New.
5817 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
5818 i386/t-softfp to tmake_file.
5819
7b4cf266
DM
58202012-06-03 David S. Miller <davem@davemloft.net>
5821
5822 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
5823 change.
5824
0de0d5c6
DM
58252012-05-31 David S. Miller <davem@davemloft.net>
5826
5827 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
5828 multiply and divide instructions on 32-bit when V9.
5829 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
5830
d8c9d391
JM
58312012-05-29 Joseph Myers <joseph@codesourcery.com>
5832
5833 * config/arm/ieee754-df.S: Fix typos.
5834 * config/arm/ieee754-sf.S: Fix typos.
5835 * config/c6x/libunwind.S: Fix typos.
5836 * config/epiphany/udivsi3-float.c: Fix typos.
5837 * config/microblaze/muldi3_hard.S: Fix typos.
5838 * config/picochip/adddi3.S: Fix typos.
5839 * config/picochip/ashlsi3.S: Fix typos.
5840 * config/picochip/ashrsi3.S: Fix typos.
5841 * config/picochip/clzsi2.S: Fix typos.
5842 * config/picochip/cmpsi2.S: Fix typos.
5843 * config/picochip/divmod15.S: Fix typos.
5844 * config/picochip/divmodhi4.S: Fix typos.
5845 * config/picochip/divmodsi4.S: Fix typos.
5846 * config/picochip/longjmp.S: Fix typos.
5847 * config/picochip/lshrsi3.S: Fix typos.
5848 * config/picochip/parityhi2.S: Fix typos.
5849 * config/picochip/popcounthi2.S: Fix typos.
5850 * config/picochip/setjmp.S: Fix typos.
5851 * config/picochip/subdi3.S: Fix typos.
5852 * config/picochip/ucmpsi2.S: Fix typos.
5853 * config/picochip/udivmodhi4.S: Fix typos.
5854 * config/picochip/udivmodsi4.S: Fix typos.
5855 * config/spu/divv2df3.c: Fix typos.
5856 * config/spu/mfc_multi_tag_release.c: Fix typos.
5857 * config/spu/mfc_tag_release.c: Fix typos.
5858 * configure.ac: Fix typos.
5859 * configure: Regenerate.
5860
31a18a7e
ILT
58612012-05-25 Ian Lance Taylor <iant@google.com>
5862
5863 * config/i386/morestack.S (__morestack_non_split): Check whether
5864 caller is varargs and needs %bp to hold the stack frame on return.
5865
c5768510
OH
58662012-05-25 Olivier Hainque <hainque@adacore.com>
5867
5868 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
5869 sequence in the non pic case on VxWorks.
5870
7c7c339b
OH
58712012-05-24 Olivier Hainque <hainque@adacore.com>
5872
73fb7630 5873 * Makefile.in: Move dependency on install-unwind_h from
7c7c339b
OH
5874 "install-leaf" to "install".
5875
fdc1b7d3
OH
58762012-05-24 Olivier Hainque <hainque@adacore.com>
5877
5878 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
5879 Use a separate command for stamp removals.
5880
07ba94b9
AP
58812012-05-21 Andrew Pinski <apinski@cavium.com>
5882
5883 PR bootstrap/53183
5884 * configure.ac: Define the default includes to being none.
5885 * configure: Regenerate.
5886
4677d2eb
OH
58872012-05-16 Olivier Hainque <hainque@adacore.com>
5888
5889 * Makefile.in (install-unwind_h): Rename into ...
5890 (install-unwind_h-forbuild): New target.
5891 (all): Use it instead of the former install-unwind_h.
5892 (install-unwind_h): Reinstate, copy to user install destination
5893 for include files, not to the internal gcc object directory one.
5894 (install-leaf): Depend on it.
5895
7d67c380
OH
58962012-05-15 Olivier Hainque <hainque@adacore.com>
5897
5898 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
5899 register numbers. LR_REGNO replaces R_LR.
5900 (ucontext_for): New, helper for ...
5901 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
5902 and 5.3 of ...
5903 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
5904
aca06c90
RO
59052012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5906
5907 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
5908 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
5909 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
5910 i386/t-cpuinfo ...
5911 (i[34567]86-*-*, x86_64-*-*): ... here.
5912
5913 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
5914 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
5915
5916 * config/i386/i386-cpuinfo.c: Rename to ...
5917 * config/i386/cpuinfo.c: ... this.
5918 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
5919
5920 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
5921 (libgcc_cv_init_priority): New test.
5922 * configure: Regenerate.
5923 * config.in: New file.
5924 * Makefile.in (clean): Rename config.h to auto-target.h.
5925 (config.h): Likewise.
5926 (stamp-h): Likewise.
5927
5928 * config/i386/cpuinfo.c (auto-target.h): Include.
5929 (CONSTRUCTOR_PRIORITY): Define.
5930 (__cpu_indicator_init): Use it.
5931
0d03ac1b
L
59322012-05-09 H.J. Lu <hongjiu.lu@intel.com>
5933
5934 * longlong.h: Use a URL instead of an FSF postal address.
5935 Replace spaces with tab.
5936
4a172156 59372012-05-08 Teresa Johnson <tejohnson@google.com>
4e8ee9cb
TJ
5938
5939 * libgcov.c (gcov_clear, __gcov_reset): New functions.
5940 (__gcov_dump): Ditto.
5941 (gcov_dump_complete): New global variable.
5942 (gcov_exit): Export hidden to enable use in L_gcov_dump.
5943 (__gcov_flush): Outline functionality now in gcov_clear.
5944 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
5945
e4bb767e
AJ
59462012-04-28 Aurelien Jarno <aurelien@aurel32.net>
5947
31a18a7e
ILT
5948 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
5949 (mips*-*-linux*): Include mips/t-tpbit when long double is
5950 16 bytes long.
e4bb767e 5951
5ddecff9
ST
59522012-04-25 Sriraman Tallam <tmsriram@google.com>
5953
5954 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
5955 (get_available_features): New argument. Check for AVX2.
5956 (__cpu_indicator_init): Modify call to get_available_features.
5957
b427dd7a
AM
59582012-04-25 Alan Modra <amodra@gmail.com>
5959
5960 * config/rs6000/crtsavevr.S: New file.
5961 * config/rs6000/crtrestvr.S: New file.
5962 * config/rs6000/t-savresfgpr: Build the above.
5963 * config/rs6000/t-netbsd: Likewise.
5964
ad491329
ST
59652012-04-24 Sriraman Tallam <tmsriram@google.com>
5966
5967 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
5968
792317cc
ST
59692012-04-24 Sriraman Tallam <tmsriram@google.com>
5970
5971 * libgcc/config/i386/i386-cpuinfo.c: New file.
5972 * libgcc/config/i386/t-cpuinfo: New file.
5973 * libgcc/config.host: Include t-cpuinfo.
5974 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
5975
e1be98a4
CF
59762012-04-24 Chao-ying Fu <fu@mips.com>
5977
5978 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
5979
1bde7dab
TS
59802012-04-20 Thomas Schwinge <thomas@codesourcery.com>
5981
5982 struct siginfo vs. siginfo_t
5983
5984 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
5985 siginfo_t instead of struct siginfo.
5986 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
5987 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
5988 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
5989 (ia64_handle_unwabi): Likewise.
5990 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
5991 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
5992 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
5993 (sh_fallback_frame_state): Likewise.
5994 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
5995 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
5996
24590f66
L
59972012-04-02 H.J. Lu <hongjiu.lu@intel.com>
5998
5999 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
6000 system call number.
6001
9a9dcce8
EB
60022012-03-31 Eric Botcazou <ebotcazou@adacore.com>
6003
6004 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
6005 if it hasn't been previously saved.
6006
6401aaf5
L
60072012-03-29 H.J. Lu <hongjiu.lu@intel.com>
6008
6009 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
6010 only for glibc.
6011
7fd6378e
GJL
60122012-03-28 Georg-Johann Lay <avr@gjlay.de>
6013
6014 PR target/52737
6015 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
6016 instead of __AVR_HAVE_8BIT_SP__.
6017
9e916de7
TG
60182012-03-26 Tristan Gingold <gingold@adacore.com>
6019
6020 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
6021 (unw_table_entry): Use unw_word instead of unsigned long.
6022 (_Unwind_FindTableEntry): Likewise.
6023 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
6024 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
6025 (_Unwind_FindTableEntry): Likewise.
6026 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
6027 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
6028 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
6029 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
6030 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
6031 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
6032 (uw_init_context_1, uw_install_context): Likewise.
6033 (unw_word): Move to unwind-ia64.h
6034
4b12e93d
TG
60352012-03-26 Tristan Gingold <gingold@adacore.com>
6036
6037 * config/vms/vms-ucrt0.c: Update copyright years.
6038 Add a sanity check.
6039 (___gcc_main_flags): Declare.
6040 (__main): Check flags to remap argv and exit code.
6041 * config.host (*-*-*vms*): Adjust extra_parts.
6042 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
6043 (crt0.o): Add.
6044
06ea7371
RE
60452012-03-22 Richard Earnshaw <rearnsha@arm.com>
6046
6047 * arm/lib1funcs.asm (ctzsi2): New function.
6048 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
6049 * arm/t-linux (LIB1ASMFUNCS): Likewise.
6050 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
6051 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
6052 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
6053 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
6054
d82ad50d
AT
60552012-03-21 Andreas Tobler <andreast@fgznet.ch>
6056
6057 * config.host: Add bits to support powerpc64-*-freebsd*.
6058 * config/rs6000/freebsd-unwind.h: New file.
6059 * config/rs6000/t-freebsd64: New file.
6060
b260a8c0
RG
60612012-03-20 Richard Guenther <rguenther@suse.de>
6062
6063 PR gcov-profile/52627
6064 * libgcov.c (init_mx): Fix mutex name.
6065
86286a8a
TG
60662012-03-16 Tristan Gingold <gingold@adacore.com>
6067
6068 * config/ia64/vms-unwind.h: Remove ulong (and replace
6069 it by unw_reg where used). Define unw_reg with __int64.
6070
7888f266
RO
60712012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6072
6073 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
6074 Solaris 8 handling.
6075 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
6076 Solaris 8 handling.
6077 (sparc_is_sighandler): Likewise.
6078
f155bc64
L
60792012-03-13 H.J. Lu <hongjiu.lu@intel.com>
6080
6081 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
6082 <= saved reg size.
6083
d47657bd
RO
60842012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6085
6086 * config/arm/crtn.S: Fix typo.
6087
5bef73a1
RG
60882012-03-13 Richard Guenther <rguenther@suse.de>
6089
6090 * libgcov.c: Remove stdio.h include and NULL un-define.
6091
9c4271f3
RG
60922012-03-13 Richard Guenther <rguenther@suse.de>
6093
6094 PR target/52569
6095 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
6096
c6d10e7c
RG
60972012-03-13 Richard Guenther <rguenther@suse.de>
6098
6099 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
6100
074a385f
RG
61012012-03-13 Richard Guenther <rguenther@suse.de>
6102
6103 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
6104 and __gthread_mutex_init_function definitions.
6105
c4bc5c25
RO
61062012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6107
6108 * config.host (mips*-*-openbsd*): Remove.
6109
5c30094f
RO
61102012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6111
6112 * config.host: Remove alpha*-dec-osf5.1* handling.
6113 * config/alpha/gthr-posix.c: Remove.
6114 * config/alpha/libgcc-osf5.ver: Remove.
6115 * config/alpha/osf5-unwind.h: Remove.
6116 * config/alpha/t-osf-pthread: Remove.
6117 * config/alpha/t-slibgcc-osf: Remove.
6118 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
6119 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
6120 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
6121 * mkmap-flat.awk: Remove osf_export handling.
6122
33e3e24d
RG
61232012-03-12 Richard Guenther <rguenther@suse.de>
6124
6125 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
6126 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6127 (__gthread_mutex_init_function): New function.
6128 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6129
6130 PR gcov/49484
6131 * libgcov.c: Include gthr.h.
6132 (__gcov_flush_mx): New global variable.
6133 (init_mx, init_mx_once): New functions.
6134 (__gcov_flush): Protect self with a mutex.
6135 (__gcov_fork): Re-initialize mutex after forking.
6136 * unwind-dw2-fde.c: Change condition under which to use
6137 __GTHREAD_MUTEX_INIT_FUNCTION.
6138
d8aba32a
TG
61392012-03-12 Tristan Gingold <gingold@adacore.com>
6140
6141 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
6142 * config/ia64/t-vms: Likewise.
6143
75ffafdc
MH
61442012-03-11 Michael Hope <michael.hope@linaro.org>
6145
4a172156
UB
6146 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
6147 for Thumb-2.
75ffafdc 6148
ef6c2c53
WL
61492012-03-07 Walter Lee <walt@tilera.com>
6150
6151 * config/tilepro/atomic.c: Rename "atomic_" prefix to
6152 "arch_atomic_".
6153 (atomic_xor): Rename and move definition to
6154 config/tilepro/atomic.h.
6155 (atomic_nand): Ditto.
6156 * config/tilepro/atomic.h: Rename "atomic_" prefix to
6157 "arch_atomic_".
6158 (arch_atomic_xor): Move from config/tilepro/atomic.c.
6159 (arch_atomic_nand): Ditto.
6160
4e30d980
GJL
61612012-03-07 Georg-Johann Lay <avr@gjlay.de>
6162
6163 PR target/52507
6164 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
6165
61108225
GJL
61662012-03-07 Georg-Johann Lay <avr@gjlay.de>
6167
6168 PR target/52505
6169 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
6170 from RAM.
6171
b30e10ab
GJL
61722012-03-07 Georg-Johann Lay <avr@gjlay.de>
6173
6174 PR target/52461
6175 PR target/52508
6176 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
6177 if RAMPZ affects reading from RAM.
6178 (__tablejump_elpm__): Ditto.
6179 (.xload): Ditto.
6180 (__movmemx_hi): Ditto.
6181 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
6182 (__do_global_dtors): Ditto.
6183 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
6184 (__movmemx_hi): Ditto.
6185
8993fde4
RH
61862012-03-05 Richard Henderson <rth@redhat.com>
6187
6188 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
6189 [ARM] (count_trailing_zeros): Use the builtin.
6190
b7633ee3
KT
61912012-03-01 Kai Tietz <ktietz@redhat.com>
6192
6193 * soft-fp: Imported from glibc upstream.
6194
fbd3340c
KT
61952012-02-28 Kai Tietz <ktietz@redhat.com>
6196
6197 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
6198 for mingw-targets as attribute gcc_struct.
6199
e9e053eb
ILT
62002012-02-28 Ian Lance Taylor <iant@google.com>
6201
6202 * generic-morestack.c (__splitstack_releasecontext): Correct call
6203 to __morestack_release_segments.
6204
d80c632e
ST
62052012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6206
6207 PR target/52390
6208 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
6209 for __linux__ when removing signals from __morestack_fullmask.
6210
0253a8b1
GJL
62112012-02-23 Georg-Johann Lay <avr@gjlay.de>
6212
6213 PR target/52261
6214 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
6215
e10e461e
UW
62162012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6217
6218 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
6219 instead of HAVE_INITFINI_ARRAY.
6220 * config/ia64/crtend.S: Likewise.
6221
0c0c6398
KT
62222012-02-20 Kai Tietz <ktietz@redhat.com>
6223
d7470374
KT
6224 PR libstdc++/52300
6225 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
6226
0c0c6398
KT
6227 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
6228 to w32-unwind.h header.
6229
78c27266
RS
62302012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6231
6232 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
6233 (mips*-*-linux*): Remove t-slibgcc-libgcc.
6234 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
6235 * config/mips/mips16.S (__mips16_rdhwr): Delete.
6236
5adeb246
RS
62372012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6238
6239 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
6240
672ed313
IS
62412012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6242
6243 PR libitm/52220
6244 * config/darwin-crt-tm.c: Correct typo.
e9e053eb 6245
e948a1fb
IS
62462012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6247 Patrick Marlier <patrick.marlier@gmail.com>
6248
6249 PR libitm/52220
6250 * config/darwin-crt-tm.c: Generate dummy functions.
6251
6017aed3
IS
62522012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6253 Patrick Marlier <patrick.marlier@gmail.com>
6254
6255 PR libitm/52042
6256 * config/darwin-crt-tm.c (getTMCloneTable): New function.
6257 (__doTMRegistrations): Call it.
e9e053eb 6258 (__doTMdeRegistrations): Likewise.
6017aed3 6259
2da8c1ad 62602012-01-15 Georg-Johann Lay <avr@gjlay.de>
7d296953
JJ
6261 Anatoly Sokolov <aesok@post.ru>
6262 Eric Weddington <eric.weddington@atmel.com>
2da8c1ad
GJL
6263
6264 PR target/52261
6265 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
6266 (__epilogue_restores__): Ditto.
6267
0f952eb4
EB
62682012-02-15 Eric Botcazou <ebotcazou@adacore.com>
6269
6270 PR target/51921
6271 PR target/52205
6272 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
6273 Solaris 11 and slightly reformat.
6274 (sparc_is_sighandler): Likewise.
6275
dd552284
WL
62762012-02-14 Walter Lee <walt@tilera.com>
6277
6278 * config.host: Handle tilegx and tilepro.
6279 * config/tilegx/sfp-machine.h: New file.
6280 * config/tilegx/sfp-machine32.h: New file.
6281 * config/tilegx/sfp-machine64.h: New file.
6282 * config/tilegx/t-crtstuff: New file.
6283 * config/tilegx/t-softfp: New file.
6284 * config/tilegx/t-tilegx: New file.
6285 * config/tilepro/atomic.c: New file.
6286 * config/tilepro/atomic.h: New file.
6287 * config/tilepro/linux-unwind.h: New file.
6288 * config/tilepro/sfp-machine.h: New file.
6289 * config/tilepro/softdivide.c: New file.
6290 * config/tilepro/softmpy.S: New file.
6291 * config/tilepro/t-crtstuff: New file.
6292 * config/tilepro/t-tilepro: New file.
6293
b59cbd50
JW
62942012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
6295
6296 PR libstdc++/51296
6297 PR libstdc++/51906
6298 * gthr-posix.h: Allow static initializer macros to be disabled.
6299 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
6300
6caf807f
CLT
63012012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
6302
6303 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
6304 Add t-slibgcc-libgcc to tmake_file.
6305 * config/mips/libgcc-mips16.ver: Revert previous patch.
6306 * config/mips/mips16.S (__mips16_rdhwr): Hide.
6307
7d296953
JJ
63082012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
6309 Jayant R Sonar <jayant.sonar@kpitcummins.com>
b25364a0
S
6310
6311 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
6312 * config/cr16/crti.S: New file.
6313 * config/cr16/crtlibid.S: New file.
6314 * config/cr16/crtn.S: New file.
6315 * config/cr16/lib1funcs.S: New file.
6316 * config/cr16/t-cr16: New file.
6317 * config/cr16/t-crtlibid: New file.
6318 * config/cr16/unwind-dw2.h: New file.
6319 * config/cr16/unwind-cr16.c: New file.
6320 * config/cr16/divmodhi3.c: New file.
6321
8ef03aa7
AM
63222012-01-25 Alan Modra <amodra@gmail.com>
6323
6324 * config/rs6000/t-linux64: Delete. Move..
6325 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
6326 * config/rs6000/t-linux: ..and libgcc flags to here.
6327
daecebc8
DR
63282012-01-22 Douglas B Rupp <rupp@gnat.com>
6329
6330 * config.host (i[34567]86-*-interix3*):
8ef03aa7 6331 Change triplet to i[34567]86-*-interix[3-9]*.
daecebc8
DR
6332 * configure: Regenerate.
6333
ddaf8125
RS
63342012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
6335 Richard Sandiford <rdsandiford@googlemail.com>
6336
6337 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
6338 * config/mips/mips16.S (__mips16_rdhwr): New function.
6339 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
6340
2cd8b32c
NS
63412012-01-11 Nathan Sidwell <nathan@acm.org>
6342
6343 * libgcov.c (__gcov_init): Ignore objects with no functions.
6344
cba300dd
GJL
63452012-01-10 Georg-Johann Lay <avr@gjlay.de>
6346
6347 PR target/49868
6348 Extend __pgmx semantics to linearize memory.
6349 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
6350 * config/avr/lib1funcs.S (__xload_1): New function.
6351 (__movmemx_qi, __movmemx_hi): New functions.
6352 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
6353 semantics.
9ffaf4bc 6354
3d137660
EB
63552012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6356
6357 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
6358 purported sigacthandler address isn't null before dereferencing it.
6359 (sparc_is_sighandler): Likewise.
6360
bf4db96c
EB
63612012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6362
6363 PR ada/41929
6364 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
6365 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
6366 (sparc_is_sighandler): Likewise.
6367 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
6368
1ab3568b
TG
63692012-01-06 Tristan Gingold <gingold@adacore.com>
6370
6371 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
6372 compatibility thunks...
6373 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
6374 (crtbeginS.o, crtendS.o): ... and these to ...
6375 * config/ia64/t-ia64-elf: ... this new file.
6376 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
6377 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
6378
925b0ed8
AK
63792012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6380
6381 * configure: Regenerate.
6382 * config/s390/t-crtstuff: Remove -fPIC.
6383
a99ad737
JW
63842012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
6385
6386 PR bootstrap/51006
6387 * enable-execute-stack-mprotect.c (getpagesize): Do not define
6388 for NetBSD.
6389
884f56d1
GJL
63902012-01-02 Georg-Johann Lay <avr@gjlay.de>
6391
6392 PR target/51345
6393 * config/avr/lib1funcs.S: Remove FIXME comments.
6394 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
6395
8c57e547
GJL
63962012-01-02 Georg-Johann Lay <avr@gjlay.de>
6397
6398 Implement light-weight DImode support.
6399 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
6400 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
6401 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
6402 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
6403
04dbc287
NS
64042011-12-30 Nathan Sidwell <nathan@acm.org>
6405
6406 * libgcov.c (gcov_crc32): Remove global var.
6407 (free_fn_data): New function.
6408 (buffer_fn_data): Pass in filename, more robust error recovery.
6409 (crc32_unsigned): New function.
6410 (gcov_exit): More robust detection of new program. More robust
6411 error recovery.
6412 (__gcov_init): Do not update program's crc here.
6413
8e1d97d4
TG
64142011-12-21 Tristan Gingold <gingold@adacore.com>
6415
6416 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
6417
9ffaf4bc
ILT
64182011-12-21 Ian Lance Taylor <iant@google.com>
6419
6420 * config/i386/morestack.S: Simplify CFI opcodes throughout.
6421
a0c8d0c1
ILT
64222011-12-20 Ian Lance Taylor <iant@google.com>
6423
6424 * config/i386/morestack.S (__morestack_non_split): If there is
6425 enough stack space already, don't split. Ask for more stack space
6426 than we required.
6427
69048898
SDJ
64282011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
6429
6430 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
6431 `sys/sdt.h'.
6432 (_Unwind_DebugHook): New function.
6433 (uw_restore_core_regs): New define.
6434 (unwind_phase2): Use uw_restore_core_regs instead of
6435 restore_core_regs.
6436 (unwind_phase2_forced): Likewise.
6437 (__gnu_Unwind_Resume): Likewise.
6438
1bb4b6a3
UB
64392011-12-20 Uros Bizjak <ubizjak@gmail.com>
6440
6441 * config/alpha/linux-unwind.h: Update copyright years.
6442 (MD_FROB_UPDATE_CONTEXT): New define.
6443 (alpha_frob_update_context): New function.
6444
eb028768
RS
64452011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
6446
6447 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
6448 tmake_file rather replacing it.
6449
6a2045bf
IS
64502011-12-15 Iain Sandoe <iains@gcc.gnu.org>
6451
6452 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1bb4b6a3 6453 function is not used for PPC64.
6a2045bf
IS
6454 (save_world): Amend comments. Update the VRsave mask to reflect the
6455 saved regs.
6456 (rest_world): Update comments, do not clobber r10, do not use r8.
6457 (eh_rest_world_r10): Amend comments, do not use r8.
6458 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
6459 no longer used, move restore of CR and target address to the end of
6460 the routine.
6461
a13780a6
L
64622011-12-14 H.J. Lu <hongjiu.lu@intel.com>
6463
6464 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
6465 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
6466
d7288dfb
GJL
64672011-12-14 Georg-Johann Lay <avr@gjlay.de>
6468
6469 PR target/49313
6470 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
6471 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
6472
8d2c862d
EB
64732011-12-11 Eric Botcazou <ebotcazou@adacore.com>
6474
6475 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
6476
3447cae6
GJL
64772011-12-09 Georg-Johann Lay <avr@gjlay.de>
6478
6479 PR target/49313
6480 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
6481 * config/avr/lib1funcs.S (__muldi3): New function.
6482
806fc6aa
AP
64832011-12-06 Andrew Pinski <apinski@cavium.com>
6484
6485 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
6486 size of func_ptr.
6487 (__frame_dummy_init_array_entry): Likewise.
6488
28c5e6b5
GJL
64892011-12-06 Georg-Johann Lay <avr@gjlay.de>
6490
6491 Forward-port from gcc-4_6-branch r181936 2011-12-02.
6492
6493 PR target/51345
6494 PR target/51002
6495 * config/avr/lib1funcs.S (__prologue_saves__,
6496 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
6497 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
6498
8f90394a
IS
64992011-12-04 Iain Sandoe <iains@gcc.gnu.org>
6500
6501 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
6502
06dd33ac
JDA
65032011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6504
6505 PR other/51272
6506 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
6507 (_ITM_deregisterTMCloneTable): Likewise.
6508 (__register_frame_info): Fix unused warning.
6509 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
6510 pthread_default_stacksize_np): Likewise.
6511 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1bb4b6a3 6512
85b8555e
DD
65132011-11-29 DJ Delorie <dj@redhat.com>
6514
6515 * config.host (rl78-*-elf): New case.
6516 * config/rl78: New directory for the Renesas RL78.
6517
4d5ae4ea
BS
65182011-11-29 Bernd Schmidt <bernds@codesourcery.com>
6519
6520 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
6521 formatting.
6522
f9c55897
RO
65232011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6524
6525 PR other/51022
6526 * config/rs6000/t-savresfgpr: New file.
6527 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
6528 $(srcdir)/config/rs6000/eabi.S.
6529 * config/rs6000/t-ppccomm-ldbl: Remove.
6530 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
6531 tmake_file.
6532 (powerpc-*-eabispe*): Likewise.
6533 (powerpc-*-eabi*): Likewise.
6534 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
6535 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
6536 to tmake_file, remove rs6000/t-ppccomm-ldbl.
6537 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
6538 tmake_file.
6539 (powerpc-*-eabisim*): Likewise.
6540 (powerpc-*-elf*): Likewise.
6541 (powerpc-*-eabialtivec*): Likewise.
6542 (powerpc-xilinx-eabi*): Likewise.
6543 (powerpc-*-rtems*): Likewise.
6544 (powerpcle-*-elf*): Likewise.
6545 (powerpcle-*-eabisim*): Likewise.
6546 (powerpcle-*-eabi*): Likewise.
6547
a01207c4
ILT
65482011-11-27 Ian Lance Taylor <iant@google.com>
6549
6550 * generic-morestack.c (__splitstack_find): Check for NULL old
6551 stack value.
6552 (__splitstack_resetcontext): New function.
6553 (__splitstack_releasecontext): New function.
6554 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6555
2b0b8ab2
IS
65562011-11-27 Iain Sandoe <iains@gcc.gnu.org>
6557
6558 * config/darwin-crt-tm.c: Correct comments, use correct licence.
6559
c1d8101c
IS
65602011-11-27 Iain Sandoe <iains@gcc.gnu.org>
6561
6562 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
6563
8b281334
RH
65642011-11-26 Richard Henderson <rth@redhat.com>
6565
6566 * config/m68k/linux-atomic.c: New file.
6567 * config/m68k/t-linux: New file.
6568 * config.host (m68k-uclinux, m68k-linux): Use it.
6569
7546aa9d
RH
65702011-11-26 Richard Henderson <rth@redhat.com>
6571
6572 * crtstuff.c (__TMC_LIST__): Mark used not unused.
6573 (__TMC_END__): Only declare if hidden is available; in the definition,
6574 if hidden is unavailable add a null record.
6575 (deregister_tm_clones, register_tm_clones): New.
6576 (__do_global_dtors_aux, frame_dummy): Use them.
6577 (__do_global_dtors, __do_global_ctors_1): Likewise.
6578
e2362f5d
IS
65792011-11-22 Iain Sandoe <iains@gcc.gnu.org>
6580
6581 * config/darwin-crt-tm.c: New file.
6582 * config.host (darwin): Build crttms.o crttme.o to provide
6583 startup and shutdown for tm clones.
6584 * config/t-darwin (crttms.o): New build rule.
6585 (crttme.o): Likewise.
6586
6685dd96
HPN
65872011-11-21 Hans-Peter Nilsson <hp@axis.com>
6588
6589 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
6590 et al.
6591
b0dc7e4c
RH
65922011-11-21 Richard Henderson <rth@redhat.com>
6593
6594 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
6595 (__TMC_LIST__, __TMC_END__): New.
6596 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
6597 (__do_global_dtors): Likewise.
6598 (frame_dummy): Call _ITM_registerTMCloneTable.
6599 (__do_global_ctors_1): Likewise.
6600
d4b4b542
RO
66012011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6602
6603 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
6604 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
6605 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
6606 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
6607 * config/i386/t-darwin64: Remove.
6608 * config/sh/t-netbsd (LIB2ADD): Remove.
6609
989bdb74
GJL
66102011-11-21 Georg-Johann Lay <avr@gjlay.de>
6611
6612 PR target/49313
6613 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
6614 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
6615 * config/avr/lib1funcs.S (wmov): New assembler macro.
6616 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
6617 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
6618 (__udivmod64): New function.
6619 (__negdi2): New function.
6620
515a0cfc
GP
66212011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
6622
6623 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
6624 *-*-freebsd*aout*): Remove.
6625
0115d17f
HPN
66262011-11-20 Hans-Peter Nilsson <hp@axis.com>
6627
6628 * static-object.mk (c_flags-$o): Save c_flags.
6629 ($(base)$(objext)): Use it.
6630
93aeb62b
SE
66312011-11-18 Steve Ellcey <sje@cup.hp.com>
6632
6633 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
6634
7bc6df2c
GJL
66352011-11-18 Georg-Johann Lay <avr@gjlay.de>
6636
6637 PR target/49868
6638 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
6639 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
6640 New functions.
6641
425d737b
MGD
66422011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
6643
6644 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
6645 functions.
1bb4b6a3 6646 (aeabi_uidivmod): Likewise.
425d737b
MGD
6647 (umodsi3): Likewise.
6648 (divsi3): Likewise.
6649 (aeabi_idivmod): Likewise.
6650 (modsi3): Likewise.
6651
f2a176dc
TG
66522011-11-16 Tristan Gingold <gingold@adacore.com>
6653
6654 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
6655
7c209481
GJL
66562011-11-15 Georg-Johann Lay <avr@gjlay.de>
6657
6658 PR target/49868
6659 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
6660 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
6661
9dfd5832
JDA
66622011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6663
6664 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
6665 tmake_file list.
6666 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
6667 * config/pa/t-stublib64: Delete.
6668
f77dca5d
RH
66692011-11-12 Richard Henderson <rth@redhat.com>
6670
6671 * config/rs6000/linux-unwind.h (frob_update_context): Properly
6672 cast the pointer argument to _Unwind_SetGRPtr.
6673
902828f0
RO
66742011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6675
6676 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
6677
e14304ef
ILT
66782011-11-09 Ian Lance Taylor <iant@google.com>
6679
6680 * generic-morestack.c: Include <string.h>.
6681 (uintptr_type): Define.
6682 (struct initial_sp): Add dont_block_signals field. Reduce size of
6683 extra array by 1.
6684 (allocate_segment): Set prev field to NULL. Don't set
6685 __morestack_current_segment or __morestack_segments.
6686 (__generic_morestack): Update current->prev and *pp after calling
6687 allocate_segment.
6688 (__morestack_block_signals): Don't do anything if
6689 dont_block_signals is set.
6690 (__morestack_unblock_signals): Likewise.
6691 (__generic_findstack): Check for initial_sp == NULL. Add casts to
6692 uintptr_type.
6693 (__splitstack_block_signals): New function.
6694 (enum __splitstack_content_offsets): Define.
6695 (__splitstack_getcontext, __splitstack_setcontext): New functions.
6696 (__splitstack_makecontext): New function.
6697 (__splitstack_block_signals_context): New function.
6698 (__splitstack_find_context): New function.
6699 * config/i386/morestack.S (__morestack_get_guard): New function.
6700 (__morestack_set_guard, __morestack_make_guard): New functions.
6701 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6702
e3d871e4
RO
67032011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6704
6705 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
6706 (i[34567]86-*-mingw*): ... here.
6707 (x86_64-*-mingw*): ... here.
6708
e55cef40
RO
67092011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6710
6711 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
6712
5366b186
NS
67132011-11-07 Nathan Sidwell <nathan@acm.org>
6714
6715 * libgcov.c (struct gcov_fn_buffer): New struct.
6716 (buffer_fn_data): New helper.
6717 (gcov_exit): Rework for new gcov data structures.
6718
74155a6f
GJL
67192011-11-07 Georg-Johann Lay <avr@gjlay.de>
6720
6721 PR target/49313
6722 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
6723
200feb07
RO
67242011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6725
6726 * config.host (tmake_file): Correct comment.
6727 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
6728 t-libgcc-pic.
6729 (bfin*-uclinux*): Likewise.
6730 (bfin*-linux-uclibc*): Likewise.
6731 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
6732
6733 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
6734 assigning.
6735 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6736 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
6737 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6738 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
6739 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6740 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
6741 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
6742 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6743 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
6744 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
6745 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
6746 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
6747 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
6748
6749 * config/bfin/t-elf: Remove.
6750 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
6751
c9cd1a07
RO
67522011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6753
6754 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
6755 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
6756 (lm32-*-elf*, lm32-*-rtems*): Split into ...
6757 (lm32-*-elf*): ... this.
6758 (lm32-*-rtems*): ... and this.
6759 Add to tmake_file.
6760 (m32r-*-rtems*): Add to tmake_file.
6761 (moxie-*-rtems*): Likewise.
6762 (sparc-*-rtems*): Likewise.
6763 Remove t-rtems from tmake_file.
6764 (sparc64-*-rtems*): Likewise.
6765 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
6766 instead.
6767
9fbcc75d
RO
67682011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6769
6770 PR bootstrap/50982
6771 * config/gthr-posix.h: Move ...
6772 * gthr-posix.h: ... here.
6773 * config/gthr-lynx.h: Reflect this.
6774 * config/gthr-vxworks.h: Likewise.
6775 * config/rs6000/gthr-aix.h: Likewise.
6776 * configure.ac (target_thread_file): Likewise.
6777 * configure: Regenerate.
6778
76644b68
SH
67792011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
6780
6781 * config.host (arm*-*-rtemseabi*): New target.
6782
5e490f2a
JDA
67832011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6784
6785 PR other/50991
6786 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
6787 extra-parts.
6788
feeeff5c
JR
67892011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
6790
6791 * config.host (epiphany-*-elf*): New configuration.
6792 * config/epiphany: New Directory.
6793
d618bb2c
RC
67942011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
6795
6796 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
6797 * config/avr/t-rtems: New.
6798 Filter out _exit from LIB1ASMFUNCS.
6799
1bb6f778
DM
68002011-11-04 David S. Miller <davem@davemloft.net>
6801
6802 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
6803 * configure: Rebuild.
6804
9a7f7422
AK
68052011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6806
6807 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
6808 variable.
6809
e4fe948a
GJL
68102011-11-04 Georg-Johann Lay <avr@gjlay.de>
6811
6812 PR target/50931
6813 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
6814 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
6815
7084e037
JS
68162011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
6817
6818 PR target/50989
6819 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
6820
1a032034
RO
68212011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6822
6823 * config/c6x/t-elf (LIB2ADDEH): Set.
6824 * config/c6x/t-c6x-elf: Remove.
6825
d385f772
RO
68262011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6827
6828 * config/i386/sol2-ci.S: Rename to ...
6829 * config/i386/crti.S: ... this.
6830 * config/i386/sol2-cn.S: Rename to ...
6831 * config/i386/crtn.S: ... this.
6832 * config/sparc/sol2-ci.S: Rename to ...
6833 * config/sparc/crti.S: ... this.
6834 * config/sparc/sol2-cn.S: Rename to ...
6835 * config/sparc/crtn.S: ... this.
6836 * config/t-sol2 (CUSTOM_CRTIN): Remove.
6837 (crti.o, crtn.o): Remove.
6838
1ba878a9
TG
68392011-11-04 Tristan Gingold <gingold@adacore.com>
6840
6841 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
6842
02750c15
KK
68432011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
6844
6845 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
6846
bf86b067
HPN
68472011-11-03 Hans-Peter Nilsson <hp@axis.com>
6848
6849 * config.host (crisv32-*-none, cris-*-none): Remove.
6850 (crisv32-*-elf): Append to tmake_file, don't just set it.
6851 (cris-*-elf): Add missing t-fdpbit to tmake_file.
6852
d0bc53bd
RO
68532011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6854
6855 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
6856 (ecrtn$(objext)): Likewise.
6857 (ncrti$(objext)): Likewise.
6858 (ncrtn$(objext)): Likewise.
6859
036da830
AS
68602011-11-03 Andreas Schwab <schwab@redhat.com>
6861
6862 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
6863
d2a7d041
DM
68642011-11-02 David S. Miller <davem@davemloft.net>
6865
6866 * configure.ac: Set host_address on sparc too.
6867 * configure: Regenerate.
6868 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
6869 based upon host_address.
6870 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
6871
af8ed618
JM
68722011-11-02 Jason Merrill <jason@redhat.com>
6873
6874 * config/rs6000/t-ppccomm: Add missing \.
6875
5d1c8e77
RO
68762011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6877
6878 * gthr-single.h, gthr.h: New files.
6879 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
6880 config/gthr-vxworks.h, config/i386/gthr-win32.h,
6881 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
6882 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
6883 * config/i386/gthr-win32.c: Include "gthr-win32.h".
6884 * configure.ac (thread_header): New variable.
6885 Set it depending on target_thread_file.
6886 (gthr-default.h): Link from $thread_header.
6887 * configure: Regenerate.
6888 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
6889
852b75ed
RO
68902011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6891
6892 * configure.ac (tm_file_): New variable.
6893 Determine from tm_file.
6894 (tm_file, tm_defines): Substitute.
6895 * configure: Regenerate.
6896 * mkheader.sh: New file.
6897 * Makefile.in (clean): Remove libgcc_tm.h.
6898 ($(objects)): Depend on libgcc_tm.h.
6899 (libgcc_tm_defines, libgcc_tm_file): New variables.
6900 (libgcc_tm.h, libgcc_tm.stamp): New targets.
6901 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
6902 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
6903 ($(extra-parts)): Depend on libgcc_tm.h.
6904 * config.host (tm_defines, tm_file): New variable.
6905 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
6906 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
6907 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
6908 (avr-*-rtems*): Likewise.
6909 (avr-*-*): Likewise.
6910 (frv-*-elf): Likewise.
6911 (frv-*-*linux*): Likewise.
6912 (h8300-*-rtems*): Likewise.
6913 (h8300-*-elf*): Likewise.
6914 (i[34567]86-*-darwin*): Likewise.
6915 (x86_64-*-darwin*): Likewise.
6916 (rx-*-elf): Likewise.
6917 (tic6x-*-uclinux): Likewise.
6918 (tic6x-*-elf): Likewise.
6919 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
6920 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
6921 * config/i386/cygming-crtbegin.c: Likewise.
6922 * config/i386/cygming-crtend.c: Likewise.
6923 * config/ia64/fde-vms.c: Likewise.
6924 * config/ia64/unwind-ia64.c: Likewise.
6925 * config/libbid/bid_gcc_intrinsics.h: Likewise.
6926 * config/rs6000/darwin-fallback.c: Likewise.
6927 * config/stormy16/lib2funcs.c: Likewise.
6928 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
6929 * crtstuff.c: Likewise.
6930 * dfp-bit.h: Likewise.
6931 * emutls.c: Likewise.
6932 * fixed-bit.c: Likewise.
6933 * fp-bit.c: Likewise.
6934 * generic-morestack-thread.c: Likewise.
6935 * generic-morestack.c: Likewise.
6936 * libgcc2.c: Likewise.
6937 * libgcov.c: Likewise.
6938 * unwind-dw2-fde-dip.c: Likewise.
6939 * unwind-dw2-fde.c: Likewise.
6940 * unwind-dw2.c: Likewise.
6941 * unwind-sjlj.c: Likewise.
6942
f9989b51
RO
69432011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6944
6945 * configure.ac: Include ../config/picflag.m4.
6946 (GCC_PICFLAG): Call it.
6947 Substitute.
6948 * configure: Regenerate.
6949 * Makefile.in (gcc_srcdir): Remove.
6950 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
6951 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
6952 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
6953 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
6954 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
6955 Use $<.
6956 Remove comment.
6957 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
6958 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
6959 to refer to libgcc2.c.
6960 Use $<.
6961 * config/darwin-64.c: New file.
6962 * config/darwin-crt3.c: Remove comment.
6963 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
6964 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
6965 config/udivmodsi4.c: New files.
6966 * config/memcmp.c, config/memcpy.c, config/memmove.c,
6967 config/memset.c: New files.
6968 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
6969 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
6970 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
6971 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
6972 * config/t-openbsd-thread: New file.
6973 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
6974 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
6975 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
6976 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
6977 qrnnd.S.
6978 Adapt filename.
6979 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
6980 to refer to gthr-posix.c.
6981 * config/alpha/t-vms (LIB2ADD): Set.
6982 * config/alpha/vms-gcc_shell_handler.c: New file.
6983 * config/arm/bpabi.c, config/arm/fp16.c,
6984 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
6985 config/arm/unaligned-funcs.c: New files.
6986 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
6987 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
6988 * config/arm/t-linux: Likewise.
6989 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
6990 * config/arm/t-netbsd: New file.
6991 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
6992 * config/arm/t-symbian (LIB2ADD_ST): Set.
6993 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
6994 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6995 * config/bfin/t-elf: New file.
6996 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
6997 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
6998 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
6999 config/c6x/ltf.c: New files.
7000 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
7001 (HOST_LIBGCC2_CFLAGS): Set.
7002 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
7003 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7004 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
7005 New files.
7006 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
7007 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
7008 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
7009 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
7010 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
7011 files.
7012 * config/frv/t-frv (LIB2ADD): Set.
7013 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7014 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
7015 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
7016 config/h8300/popcounthi2.c: New files.
7017 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7018 * config/i386/gthr-win32.c: New file.
7019 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
7020 * config/i386/t-cygwin: Likewise.
7021 * config/i386/t-darwin, config/i386/t-darwin64,
7022 config/i386/t-gthr-win32, config/i386/t-interix: New files.
7023 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
7024 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7025 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7026 * config/ia64/quadlib.c: New file.
7027 * config/ia64/t-hpux (LIB2ADD): Set.
7028 * config/ia64/t-ia64: Add comment.
7029 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
7030 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7031 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
7032 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
7033 * config/m32c/t-m32c (LIB2ADD): Set.
7034 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7035 * config/m32r/t-m32r: Likewise.
7036 * config/m68k/fpgnulib.c: New file.
7037 * config/m68k/t-floatlib (LIB2ADD): Set.
7038 (xfgnulib.c): New target.
7039 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
7040 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
7041 * config/mep/t-mep (LIB2ADD): Set.
7042 * config/microblaze/divsi3.asm: Rename to divsi3.S.
7043 * config/microblaze/moddi3.asm: Rename to moddi3.S.
7044 * config/microblaze/modsi3.asm: Rename to modsi3.S.
7045 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
7046 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
7047 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
7048 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
7049 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
7050 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
7051 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
7052 New files.
7053 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
7054 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
7055 * config/pa/fptr.c, config/pa/lib2funcs.S,
7056 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
7057 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7058 (LIB2ADD, LIB2ADD_ST): Set.
7059 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
7060 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
7061 Set.
7062 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
7063 * config/pdp11/t-pdp11: New file.
7064 * config/picochip/libgccExtras/adddi3.S,
7065 config/picochip/libgccExtras/ashlsi3.S,
7066 config/picochip/libgccExtras/ashrsi3.S,
7067 config/picochip/libgccExtras/clzsi2.S,
7068 config/picochip/libgccExtras/cmpsi2.S,
7069 config/picochip/libgccExtras/divmod15.S,
7070 config/picochip/libgccExtras/divmodhi4.S,
7071 config/picochip/libgccExtras/divmodsi4.S,
7072 config/picochip/libgccExtras/lshrsi3.S,
7073 config/picochip/libgccExtras/parityhi2.S,
7074 config/picochip/libgccExtras/popcounthi2.S,
7075 config/picochip/libgccExtras/subdi3.S,
7076 config/picochip/libgccExtras/ucmpsi2.S,
7077 config/picochip/libgccExtras/udivmodhi4.S,
7078 config/picochip/libgccExtras/udivmodsi4.S: New files.
7079 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
7080 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
7081 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
7082 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
7083 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
7084 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
7085 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
7086 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
7087 files.
7088 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
7089 (HOST_LIBGCC2_CFLAGS): Set.
7090 * config/rs6000/t-darwin64: New file.
7091 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
7092 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
7093 * config/rs6000/t-ppccomm (LIB2ADD): Add
7094 $(srcdir)/config/rs6000/tramp.S.
7095 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
7096 Add $(srcdir)/config/rs6000/eabi.S.
7097 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
7098 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
7099 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
7100 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
7101 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
7102 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
7103 * config/rs6000/tramp.S: New file.
7104 * config/s390/t-tpf: Remove.
7105 * config/sh/linux-atomic.S: New file.
7106 * config/sh/t-linux (LIB2ADD): Set.
7107 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
7108 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7109 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
7110 to unwind-dw2.c.
7111 (HOST_LIBGCC2_CFLAGS): Set.
7112 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7113 * config/spu/divmodti4.c, config/spu/divv2df3.c,
7114 config/spu/float_disf.c, config/spu/float_unsdidf.c,
7115 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
7116 config/spu/mfc_multi_tag_release.c,
7117 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
7118 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
7119 config/spu/multi3.c: New files.
7120 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
7121 (HOST_LIBGCC2_CFLAGS): Set.
7122 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
7123 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
7124 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
7125 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
7126 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
7127 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
7128 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
7129 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
7130 config/stormy16/umodsi3.c: New files.
7131 * config/xtensa/lib2funcs.S: New file.
7132 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7133 * config/xtensa/t-xtensa (LIB2ADD): Set.
7134 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
7135 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
7136 Add t-freebsd-thread to tmake_file for posix threads.
7137 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
7138 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
7139 (*-*-lynxos*): Likewise.
7140 (*-*-netbsd*): Likewise.
7141 (*-*-openbsd*): Likewise.
7142 Add t-openbsd-thread to tmake_file for posix threads.
7143 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
7144 (*-*-vxworks*): Set tmake_file.
7145 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7146 (alpha*-*-freebsd*): Likewise.
7147 (alpha*-*-netbsd*): Likewise.
7148 (alpha*-*-openbsd*): Likewise.
7149 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
7150 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7151 (alpha*-dec-*vms*): Likewise.
7152 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
7153 (bfin*-elf*): Add bfin/t-elf to tmake_file.
7154 (bfin*-uclinux*): Likewise.
7155 (bfin*-linux-uclibc*): Likewise.
7156 (crisv32-*-elf): Add cris/t-cris to tmake_file.
7157 (crisv32-*-none): Likewise.
7158 (cris-*-elf): Likewise.
7159 (cris-*-none): Likewise.
7160 (cris-*-linux*, crisv32-*-linux*): Likewise.
7161 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
7162 tmake_file.
7163 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
7164 tmake_file.
7165 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
7166 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
7167 (x86_64-*-elf*): Likewise.
7168 (i[34567]86-*-nto-qnx*): Likewise.
7169 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
7170 win32 threads.
7171 (x86_64-*-mingw*): Likewise.
7172 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
7173 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
7174 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7175 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7176 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
7177 tmake_file.
7178 (mipsisa64sr71k-*-elf*): Likewise.
7179 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7180 (mips-*-elf*, mipsel-*-elf*): Likewise.
7181 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7182 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7183 (mips*-*-rtems*): Likewise.
7184 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
7185 to tmake_file.
7186 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
7187 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
7188 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
7189 (spu-*-elf*): Likewise.
7190 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
7191
45b86625
RO
71922011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7193
7194 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
7195 $(srcdir) to refer to $(LIB1ASMSRC).
7196 Use $<.
7197 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
7198 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
7199 config/arm/lib1funcs.S: New files.
7200 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
7201 * config/arm/t-arm: New file.
7202 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
7203 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
7204 config/arm/t-strongarm-elf: New files.
7205 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
7206 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
7207 * config/avr/lib1funcs.S: New file.
7208 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7209 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
7210 * config/c6x/lib1funcs.S: New file.
7211 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7212 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
7213 * config/frv/lib1funcs.S: New file.
7214 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7215 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
7216 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
7217 * config/ia64/__divxf3.asm: Rename to ...
7218 * config/ia64/__divxf3.S: ... this.
7219 Adapt lib1funcs.asm filename.
7220 * config/ia64/_fixtfdi.asm: Rename to ...
7221 * config/ia64/_fixtfdi.S: ... this.
7222 Adapt lib1funcs.asm filename.
7223 * config/ia64/_fixunstfdi.asm: Rename to ...
7224 * config/ia64/_fixunstfdi.S: ... this.
7225 Adapt lib1funcs.asm filename.
7226 * config/ia64/_floatditf.asm: Rename to ...
7227 * config/ia64/_floatditf.S: ... this.
7228 Adapt lib1funcs.asm filename.
7229 * config/ia64/lib1funcs.S: New file.
7230 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
7231 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7232 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
7233 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
7234 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
7235 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
7236 * config/mep/lib1funcs.S: New file.
7237 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7238 * config/mips/mips16.S: New file.
7239 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7240 * config/pa/milli64.S: New file.
7241 * config/pa/t-linux, config/pa/t-linux64: New files.
7242 * config/picochip/lib1funcs.S: New file.
7243 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7244 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
7245 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
7246 * config/sh/t-netbsd: New file.
7247 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
7248 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
7249 * config/sh/t-sh64: New file.
7250 * config/sparc/lb1spc.S: New file.
7251 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
7252 filename.
7253 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
7254 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
7255 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
7256 config/xtensa/lib1funcs.S: New files.
7257 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7258 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
7259 tmake_file.
7260 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
7261 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
7262 (arm*-*-linux*): Likewise.
7263 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
7264 arm*-*-linux-*eabi, add arm/t-linux otherwise.
7265 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
7266 (arm*-*-ecos-elf): Likewise.
7267 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7268 (arm*-*-rtems*): Likewise.
7269 (arm*-*-elf): Likewise.
7270 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
7271 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
7272 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
7273 (bfin*-uclinux*): Likewise.
7274 (bfin*-linux-uclibc*): Likewise.
7275 (bfin*-rtems*): Likewise.
7276 (bfin*-*): Likewise.
7277 (fido-*-elf): Merge into m68k-*-elf*.
7278 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
7279 (frv-*-*linux*): Add frv/t-frv to tmake_file.
7280 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
7281 (h8300-*-elf*): Likewise.
7282 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
7283 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
7284 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
7285 (i[34567]86-*-mingw*): Likewise.
7286 (x86_64-*-mingw*): Likewise.
7287 (i[34567]86-*-interix3*): Likewise.
7288 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
7289 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
7290 (m68k-*-elf*): Also handle fido-*-elf.
7291 Add m68k/t-floatlib to tmake_file.
7292 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
7293 (m68k-*-linux*): Likewise.
7294 (m68k-*-rtems*): Likewise.
7295 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
7296 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
7297 sh64*-*-*.
7298 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
7299 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
7300 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
7301 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
7302 sh/t-netbsd to tmake_file.
7303 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
7304 (sh-*-rtems*): Add sh/t-sh to tmake_file.
7305 (sh-wrs-vxworks): Likewise.
7306 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
7307 *-leon[3-9]*.
7308 (v850*-*-*): Add v850/t-v850 to tmake_file.
7309 (vax-*-linux*): Add vax/t-linux to tmake_file.
7310 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
7311
5f73c6cc
RO
73122011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7313
7314 * crtstuff.c: New file.
7315 * Makefile.in (CRTSTUFF_CFLAGS): Define.
7316 (CRTSTUFF_T_CFLAGS): Define.
7317 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
7318 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
7319 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
7320 crtstuff.c.
7321 Use $<.
7322 (crtbeginT.o): Use $(objext).
7323 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
7324 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
7325 (gcc-extra-parts): Remove.
7326 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
7327 Set extra_parts.
7328 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7329 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
7330 Add t-crtstuff-pic to tmake_file.
7331 (*-*-lynxos*): New case.
7332 Set tmake_file, extra_parts.
7333 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
7334 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
7335 *-*-netbsdelf[2-9]*.
7336 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
7337 (*-*-rtems*): Set extra_parts.
7338 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
7339 (*-*-uclinux*): New case.
7340 Set extra_parts.
7341 (*-*-vms*): New case.
7342 Set tmake_file, extra_parts.
7343 (*-*-elf): Set extra_parts.
7344 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
7345 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
7346 vms/t-vms64.
7347 Set extra_parts.
7348 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
7349 Set extra_parts.
7350 (arm*-*-freebsd*): Add t-crtin to tmake_file.
7351 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
7352 (arm-wrs-vxworks): Append to tmake_file.
7353 Set extra_parts.
7354 (arm*-*-uclinux*): Set extra_parts.
7355 (arm*-*-ecos-elf): Likewise.
7356 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
7357 arm*-*-eabi*.
7358 (arm*-*-rtems*): Set extra_parts.
7359 (arm*-*-elf): Likewise.
7360 (avr-*-rtems*): Clear extra_parts.
7361 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
7362 Set extra_parts.
7363 (bfin*-uclinux*): Likewise.
7364 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
7365 (bfin*-rtems*): Append to tmake_file.
7366 Set extra_parts.
7367 (bfin*-*): Likewise.
7368 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
7369 (crisv32-*-elf): ... this.
7370 (crisv32-*-none): ... this.
7371 (cris-*-elf, cris-*-none): New cases.
7372 Add cris/t-elfmulti to tmake_file.
7373 (fr30-*-elf): Append to tmake_file.
7374 Set extra_parts.
7375 (frv-*-elf): Append to tmake_file, add frv/t-frv.
7376 Set extra_parts.
7377 (h8300-*-rtems*): Append to tmake_file.
7378 Set extra_parts.
7379 (h8300-*-elf*): Likewise.
7380 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
7381 Set extra_parts.
7382 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
7383 Set extra_parts.
7384 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
7385 (x86_64-*-elf*): Likewise.
7386 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
7387 (x86_64-*-freebsd*): Likewise.
7388 (x86_64-*-netbsd*): Likewise.
7389 (i[34567]86-*-linux*): Likewise.
7390 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
7391 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
7392 (x86_64-*-linux*): Likewise.
7393 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
7394 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
7395 tmake_file.
7396 Set extra_parts.
7397 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
7398 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
7399 Append to extra_parts, remove crtbegin.o, crtend.o.
7400 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
7401 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
7402 crtend.o, crtbeginS.o, crtendS.o.
7403 (ia64*-*-linux*): Comment extra_parts.
7404 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
7405 Set extra_parts.
7406 (iq2000*-*-elf*): Clear extra_parts.
7407 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
7408 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
7409 (m32r-*-elf*, m32r-*-rtems*): Split off ...
7410 (m32r-*-rtems*): ... this.
7411 Add m32r/t-m32r to tmake_file.
7412 (m68k-*-elf*): Add t-crtin to tmake_file.
7413 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
7414 (mcore-*-elf): Likewise.
7415 (microblaze*-*-*): Set extra_parts.
7416 (mips*-sde-elf*): New case.
7417 Set tmake_file, extra_parts.
7418 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7419 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7420 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
7421 tmake_file.
7422 Set extra_parts.
7423 (mipsisa64sr71k-*-elf*): Likewise.
7424 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7425 (mips-*-elf*, mipsel-*-elf*): Likewise.
7426 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7427 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
7428 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7429 (mips*-*-rtems*): Likewise.
7430 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
7431 (moxie-*-*): Split into ...
7432 (moxie-*-elf, moxie-*-uclinux*): ... this.
7433 Add to extra_parts, remove crtbegin.o, crtend.o.
7434 (moxie-*-rtems*): New case.
7435 Set tmake_file.
7436 Clear extra_parts.
7437 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
7438 Set extra_parts.
7439 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7440 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
7441 tmake_file.
7442 Set extra_parts.
7443 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
7444 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
7445 Set extra_parts.
7446 (powerpc-*-eabisim*): Likewise.
7447 (powerpc-*-elf*): Likewise.
7448 (powerpc-*-eabialtivec*): Likewise.
7449 (powerpc-xilinx-eabi*): Likewise.
7450 (powerpc-*-eabi*): Likewise.
7451 (powerpc-*-rtems*): Likewise.
7452 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
7453 tmake_file.
7454 Set extra_parts.
7455 (powerpc-*-lynxos*): Add to tmake_file.
7456 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
7457 rs6000/t-crtstuff, t-crtstuff-pic.
7458 Set extra_parts.
7459 (powerpcle-*-eabisim*): Likewise.
7460 (powerpcle-*-eabi*): Likewise.
7461 (rx-*-elf): Remove extra_parts.
7462 (s390x-ibm-tpf*): Set extra_parts.
7463 (score-*-elf): Set extra_parts.
7464 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7465 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7466 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7467 (sh64l*-*-netbsd*): Split into ...
7468 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
7469 Add t-crtstuff-pic to tmake_file.
7470 Set extra_parts.
7471 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
7472 Set extra_parts.
7473 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
7474 (sparc-*-elf*): Remove t-crtin from tmake_file.
7475 Add to extra_parts, remove crtbegin.o, crtend.o.
7476 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
7477 (sparc64-*-linux*): Likewise.
7478 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
7479 Add to extra_parts, remove crtbegin.o, crtend.o.
7480 (sparc64-*-elf*): Remove t-crtin from tmake_file.
7481 Add to extra_parts, remove crtbegin.o, crtend.o.
7482 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
7483 Add to extra_parts, remove crtbegin.o, crtend.o.
7484 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
7485 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
7486 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
7487 Set extra_parts.
7488 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
7489 Set extra_parts.
7490 (tic6x-*-*): Change to ...
7491 (tic6x-*-elf): ... this.
7492 Set extra_parts.
7493 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
7494 Set extra_parts.
7495 (am33_2.0-*-linux*): Add comment.
7496 (mep*-*-*): Add mep/t-mep to tmake_file.
7497 Set extra_parts.
7498 * config/alpha/t-vms: New file.
7499 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
7500 * config/arm/crti.S, config/arm/crtn.S: New files.
7501 * config/bfin/crti.S, config/bfin/crtn.S: New files.
7502 * config/bfin/crtlibid.S: New file.
7503 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
7504 * config/c6x/crti.S, config/c6x/crtn.S: New files.
7505 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
7506 (crti.o, crtin.o): New rules.
7507 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7508 * config/c6x/t-uclinux: New file.
7509 * config/cris/t-elfmulti: New file.
7510 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
7511 * config/fr30/crti.S, config/fr30/crtn.S: New files.
7512 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
7513 * config/frv/t-frv: New file.
7514 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
7515 * config/h8300/crti.S, config/h8300/crtn.S: New files.
7516 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
7517 New files.
7518 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
7519 refer to cygming-crtbegin.c, cygming-crtend.c.
7520 Use $<.
7521 * config/i386/t-nto: New file.
7522 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
7523 * config/ia64/crti.S, config/ia64/crtn.S: New files.
7524 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
7525 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
7526 Use .S extension.
7527 Use $<.
7528 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7529 (crtinitS.o): New rule.
7530 * config/ia64/vms-crtinit.S: New file.
7531 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
7532 * config/m32r/initfini.c: New file.
7533 * config/m32r/t-linux, config/m32r/t-m32r: New files.
7534 * config/m68k/crti.S, config/m68k/crtn.S: New files.
7535 * config/mcore/crti.S, config/mcore/crtn.S: New files.
7536 * config/mep/t-mep: New file.
7537 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
7538 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
7539 * config/mips/crti.S, config/mips/crtn.S: New files.
7540 * config/mips/t-crtstuff: New file.
7541 * config/mmix/crti.S, config/mmix/crtn.S: New files.
7542 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
7543 (CUSTOM_CRTIN): Set.
7544 ($(T)crti.o, $(T)crtn.o): Remove $(T),
7545 dependencies.
7546 Use $(srcdir) to refer to crti.S, crtn.S.
7547 Use .S extension, $<.
7548 * config/moxie/crti.asm: Rename to ...
7549 * config/moxie/crti.S: ... this.
7550 * config/moxie/crtn.asm: Rename to ...
7551 * config/moxie/crtn.S: ... this.
7552 * config/moxie/t-moxie: Remove.
7553 * config/pa/stublib.c: New file.
7554 * config/pa/t-stublib, config/pa/t-stublib64: New files.
7555 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
7556 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
7557 * config/rs6000/t-crtstuff: New file.
7558 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
7559 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
7560 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
7561 Make output file explicit.
7562 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
7563 Make output file explicit.
7564 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
7565 Make output file explicit.
7566 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
7567 Make output file explicit.
7568 * config/score/crti.S, config/score/crtn.S: New files.
7569 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
7570 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
7571 files.
7572 * config/sh/t-sh, config/sh/t-superh: New files.
7573 * config/sparc/t-linux64: New file.
7574 * config/spu/cache.S, config/spu/cachemgr.c: New files.
7575 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
7576 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
7577 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
7578 * config/t-crtin: Remove.
7579 * config/t-crtstuff-pic: New file.
7580 * config/t-sol2 (CUSTOM_CRTIN): Set.
7581 (crti.o, crtn.o): New rules.
7582 * config/vms/t-vms: New file.
7583 * config/vms/vms-ucrt0.c: New file.
7584 * config/xtensa/t-elf: New file.
7585
b040f2be
RO
75862011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7587
7588 * Makefile.in (SHLIB_NM_FLAGS): Set.
7589 * mkmap-flat.awk, mkmap-symver.awk: New files.
7590 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
7591 exceptions.
7592 * configure: Regenerate.
7593 * config/libgcc-glibc.ver: New file.
7594 * config/libgcc-libsystem.ver: New file.
7595 * config/t-libunwind (SHLIB_LC): Set.
7596 * config/t-linux: New file.
7597 * config/t-slibgcc (INSTALL_SHLIB): New.
7598 (SHLIB_INSTALL): Use it.
7599 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
7600 to mkmap-symver.awk.
7601 (SHLIB_MAPFILES): Don't append, adapt pathname.
7602 (SHLIB_VERPFX): Set.
7603 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
7604 to mkmap-symver.awk.
7605 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
7606 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
7607 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
7608 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
7609 to mkmap-flat.awk.
7610 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
7611 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
7612 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
7613 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
7614 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
7615 * config/i386/libgcc-darwin.10.4.ver,
7616 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
7617 New files.
7618 * config/i386/t-darwin: Remove.
7619 * config/i386/t-darwin64: Likewise.
7620 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
7621 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
7622 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
7623 * config/i386/t-linux: New file.
7624 * config/i386/t-mingw32: New file.
7625 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
7626 * config/ia64/t-glibc: Rename to ...
7627 * config/ia64/t-linux: ... this.
7628 (SHLIB_MAPFILES): Set.
7629 * config/ia64/t-glibc-libunwind: Rename to ...
7630 * config/ia64/t-linux-libunwind: ... this.
7631 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
7632 * config/ia64/t-slibgcc-hpux: New file.
7633 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
7634 * config/m68k/t-slibgcc-elf-ver: New file.
7635 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
7636 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
7637 to mkmap-flat.awk.
7638 * config/pa/t-slibgcc-hpux: New file.
7639 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
7640 files.
7641 * config/rs6000/libgcc-darwin.10.4.ver,
7642 config/rs6000/libgcc-darwin.10.5.ver: New files.
7643 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
7644 config/rs6000/libgcc-glibc.ver.
7645 * config/rs6000/libgcc-ppc64.ver: Rename to
7646 config/rs6000/libgcc-ibm-ldouble.ver.
7647 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
7648 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
7649 * config/rs6000/t-ldbl128: Rename to ...
7650 * config/rs6000/t-linux: ... this.
7651 (SHLIB_MAPFILES): Adapt filename.
7652 * config/rs6000/t-slibgcc-aix: New file.
7653 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
7654 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
7655 libgcc-excl.ver, libgcc-glibc.ver.
7656 (SHLIB_LINK, SHLIB_INSTALL): Remove.
7657 * config/sparc/libgcc-glibc.ver: New file.
7658 * config/sparc/t-linux: New file.
7659 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
7660 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
7661 t-slibgcc-elf-ver to tmake_file.
7662 Add t-slibgcc-nolc-override to tmake_file for posix threads on
7663 *-*-freebsd[34].
7664 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7665 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
7666 t-slibgcc-elf-ver, t-linux to tmake_file.
7667 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
7668 tmake_file.
7669 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
7670 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
7671 (alpha*-dec-*vms*): Likewise.
7672 (arm*-*-freebsd*): Append to tmake_file.
7673 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
7674 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
7675 arm*-*-linux-*eabi.
7676 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
7677 tmake_file for arm*-*-symbianelf*.
7678 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
7679 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
7680 cris/t-linux.
7681 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
7682 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
7683 pa/t-slibgcc-dwarf-ver to tmake_file.
7684 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
7685 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
7686 (hppa*64*-*-hpux11*): Likewise.
7687 (hppa[12]*-*-hpux11*): Likewise.
7688 (x86_64-*-darwin*): Don't override tmake_file, but only keep
7689 i386/t-crtpc, i386/t-crtfm.
7690 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
7691 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7692 to tmake_file.
7693 Add i386/t-cygwin to tmake_file.
7694 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
7695 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
7696 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7697 to tmake_file.
7698 Add i386/t-mingw32 to tmake_file.
7699 (x86_64-*-mingw*): Likewise.
7700 (ia64*-*-freebsd*): Append to tmake_file.
7701 (ia64*-*-linux*): Append to tmake_file.
7702 Replace ia64/t-glibc by ia64/t-linux.
7703 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
7704 system libunwind.
7705 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
7706 t-slibgcc-hpux to tmake_file.
7707 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
7708 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
7709 (m32rle-*-linux*): Likewise.
7710 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
7711 sjlj exceptions.
7712 (microblaze*-linux*): New case.
7713 Append to tmake_file, add t-slibgcc-nolc-override.
7714 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
7715 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7716 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
7717 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7718 rs6000/t-slibgcc-aix to tmake_file.
7719 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7720 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7721 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7722 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7723 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7724 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
7725 sh*-*-linux*.
7726 (sparc-*-linux*): Append to tmake_file for *-leon*.
7727 Add sparc/t-linux to tmake_file for non-Leon targets.
7728 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
7729 (tic6x-*-uclinux): New case.
7730 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
7731 (tic6x-*-*): Add c6x/t-elf to tmake_file.
7732 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
7733 (am33_2.0-*-linux*): Append to tmake_file.
7734 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
7735 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
7736 x86_64-*-kfreebsd*-gnu.
7737 Add i386/t-linux to tmake_file.
7738
18b4bd7b
ILT
77392011-10-28 Ian Lance Taylor <iant@google.com>
7740
7741 * config/i386/morestack.S: Correct CFI information to do proper
7742 returns throughout function. In 32-bit mode, save %ebx so that it
7743 is restored on unwind.
7744
5b2d9d90
BS
77452011-10-25 Bernd Schmidt <bernds@codesourcery.com>
7746
7747 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
7748 case where B3 isn't the return register.
7749
0d53e346
BS
7750 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
7751 logic for doubleword pops.
7752
cbffbd59
AT
77532011-10-25 Andreas Tobler <andreast@fgznet.ch>
7754
7755 * config/rs6000/t-freebsd: Add wildcard.
7756
56dc349e
PB
77572011-10-21 Paul Brook <paul@codesourcery.com>
7758
7759 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
7760
1e06b07d
UB
77612011-10-16 Uros Bizjak <ubizjak@gmail.com>
7762 Eric Botcazou <ebotcazou@adacore.com>
7763
7764 PR target/50737
7765 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
7766 fs->signal_frame to 1.
7767
b5204884
ILT
77682011-10-07 Ian Lance Taylor <iant@google.com>
7769
7770 * generic-morestack-thread.c: #include <errno.h>.
7771
91a639a1
ILT
77722011-10-07 Ian Lance Taylor <iant@google.com>
7773
7774 PR target/46093
7775 * generic-morestack.c (__generic_morestack): Make sure the segment
7776 is large enough for both the stack frame and the copied
7777 parameters.
7778
cc49116d
RO
77792011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7780
7781 PR bootstrap/49804
7782 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
7783 extra_parts.
7784
2996d8c3
NC
77852011-09-28 Nick Clifton <nickc@redhat.com>
7786
7787 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
7788 64-bit doubles are not enabled.
7789 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
7790 and floatunsisf functions.
7791
1e874273 77922011-09-13 Paul Brook <paul@codesourcery.com>
2996d8c3 7793
1e874273
PB
7794 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
7795 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
7796 * unwind-arm-common.inc: New file.
7797 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
7798 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
7799 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
7800 * config/c6x/libunwind.S: New file.
7801 * config/c6x/pr-support.c: New file.
7802 * config/c6x/unwind-c6x.c: New file.
7803 * config/c6x/unwind-c6x.h: New file.
7804 * config/c6x/t-c6x-elf: New file.
7805
f70c879a
UB
78062011-08-23 Uros Bizjak <ubizjak@gmail.com>
7807
7808 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
7809 (ASM_DIVZERO): Ditto.
7810 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
7811
c55b374b
RS
78122011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
7813
7814 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
7815
1e138510
RS
78162011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
7817
7818 PR target/50090
7819 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
7820 instead of an assembly one.
7821
1563503d
PB
78222011-08-12 Paolo Bonzini <bonzini@gnu.org>
7823
7824 PR bootstrap/50047
7825 * Makefile.in (install-unwind_h): Create
7826 $(gcc_objdir)/include/unwind.h atomically.
7827
3627ac1a
RO
78282011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7829
7830 * Makefile.in (install-unwind_h): Remove destination file first.
7831
c6412d86
RO
78322011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7833
7834 * sync.c: New file.
7835 * config/mips/t-mips16: New file.
7836 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
7837 (mips*-*-linux*): Likewise.
7838 (mips*-sde-elf*): Likewise.
7839 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
7840 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
7841 Add mips/t-mips16 to tmake_file.
7842 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
7843 (mips-*-elf*): Likewise.
7844 (mips64-*-elf*): Likewise.
7845 (mips64orion-*-elf*): Likewise.
7846 (mips*-*-rtems*): Likewise.
7847 (mipstx39-*-elf*): Likewise.
7848 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
7849 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
7850 LIBGCC_SYNC_CFLAGS.
7851 Use $(srcdir) to refer to sync.c.
7852 Use $<.
7853 ($(libgcc-sync-funcs-o)): Likewise.
7854 ($(libgcc-sync-size-funcs-s-o)): Likewise.
7855 ($(libgcc-sync-funcs-s-o)): Likewise.
7856
3cb6e5bd
AS
78572011-08-09 Andreas Schwab <schwab@linux-m68k.org>
7858
7859 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
7860 t-libunwind.
7861
cca2207a
L
78622011-08-08 H.J. Lu <hongjiu.lu@intel.com>
7863
7864 PR other/48007
7865 * config/i386/value-unwind.h: New.
7866
ed39fbad
RS
78672011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
7868
7869 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
7870 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
7871 Add to tmake_file rather than overriding it.
7872
aca0b0b3
RO
78732011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7874
7875 * config/t-softfp: Remove.
7876 * soft-fp: Moved from ../gcc/config.
7877 * soft-fp/README: Remove t-softfp reference.
7878 * soft-fp/t-softfp: Move to config/t-softfp.
7879 (softfp_machine_header): Remove.
7880 (softfp_file_list): Remove config subdir.
7881 (soft-fp-objects): New variable.
7882 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
7883 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
7884 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
7885 * config/t-softfp-excl: New file.
7886 * config/t-softfp-sfdf: New file.
7887 * config/t-softfp-tf: New file.
7888 * config/no-sfp-machine.h: New file.
7889 * config/arm/sfp-machine.h: New file.
7890 * config/arm/t-softfp: New file.
7891 * config/c6x/sfp-machine.h: New file.
7892 * config/i386/32/t-fprules-softfp: Rename to ...
7893 * config/i386/32/t-softfp: ... this.
7894 (tifunctions, LIB2ADD): Remove.
7895 (softfp_int_modes): Override.
7896 * config/i386/64/t-softfp-compat (tf-functions): Remove config
7897 subdir.
7898 * config/i386/64/eqtf2.c: Likewise.
7899 * config/i386/64/getf2.c: Likewise.
7900 * config/i386/64/letf2.c: Likewise.
7901 * config/ia64/sft-machine.h: New file.
7902 * config/ia64/t-fprules-softfp: Rename to ...
7903 * config/ia64/t-softfp: ... this.
7904 * config/lm32/sfp-machine.h: New file.
7905 * config/moxie/t-moxie-softfp: Remove.
7906 * config/rs6000/ibm-ldouble-format: New file.
7907 * config/rs6000/ibm-ldouble.c: New file.
7908 * config/rs6000/libgcc-ppc-glibc.ver: New file
7909 * config/rs6000/libgcc-ppc64.ver: New file
7910 * config/rs6000/sfp-machine.h: New file.
7911 * config/rs6000/t-freebsd: New file.
7912 * config/rs6000/t-ibm-ldouble: New file.
7913 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
7914 libgcc-ppc-glibc.ver.
7915 * config/rs6000/t-linux64: New file.
7916 * config/rs6000/t-ppccomm (LIB2ADD): Add
7917 $(srcdir)/config/rs6000/ibm-ldouble.c.
7918 * config/rs6000/t-ppccomm-ldbl: New file.
7919 * config/score/sfp-machine.h: New file.
7920 * config.host (sfp_machine_header): Explain.
7921 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
7922 t-softfp to tmake_file.
7923 (arm*-*-uclinux*): Likewise.
7924 (arm*-*-ecos-elf): Likewise.
7925 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7926 (arm*-*-rtems*): Likewise.
7927 (arm*-*-elf): Likewise.
7928 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
7929 in tmake_file.
7930 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
7931 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
7932 (lm32-*-uclinux*): Likewise.
7933 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
7934 t-softfp-excl, t-softfp.
7935 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
7936 (powerpc64-*-darwin*): Likewise.
7937 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
7938 to tmake_file.
7939 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
7940 tmake_file.
7941 (powerpc-*-eabisim*): Likewise.
7942 (powerpc-*-elf*): Likewise.
7943 (powerpc-*-eabialtivec*): Likewise.
7944 (powerpc-xilinx-eabi*): Likewise.
7945 (powerpc-*-rtems*): Likewise.
7946 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
7947 t-softfp-excl, t-softfp to tmake_file.
7948 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
7949 rs6000/t-ppccomm-ldbl to tmake_file.
7950 (powerpcle-*-elf*): Likewise.
7951 (powerpcle-*-eabisim*): Likewise.
7952 (powerpcle-*-eabi*): Likewise.
7953 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7954 rs6000/t-ibm-ldouble to tmake_file.
7955 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7956 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7957 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
7958 (tic6x-*-*): Likewise.
7959 (i[34567]86-*-darwin*, x86_64-*-darwin*,
7960 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
7961 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
7962 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
7963 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
7964 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
7965 t-softfp to tmake_file.
7966 * configure.ac (sfp_machine_header): Provide default if unset.
7967 Substitute.
7968 Link sfp-machine.h to config/$sfp_machine_header.
7969 * configure: Regenerate.
7970
569dc494
RO
79712011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7972
7973 * Makefile.in (double_type_size, long_double_type_size): Set.
7974 Remove $(fpbit-in-libgcc) support.
7975 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
7976 (fpbit-src): New variable.
7977 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
7978 Compile with -DFLOAT $(FPBIT_CFLAGS).
7979 Use $<.
7980 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
7981 Compile with $(FPBIT_CFLAGS).
7982 Use $<.
7983 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
7984 Compile with -DFLOAT $(TPBIT_CFLAGS).
7985 Use $<.
7986 * configure.ac (double_type_size, long_double_type_size):
7987 Determine and substitute.
7988 * configure: Regenerate.
7989 * fp-bit.c, fp-bit.h: New files.
7990 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
7991 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
7992 * config/mips/t-mips: New file.
7993 * config/mips/t-sdemtk: New file.
7994 * config/rs6000/ppc64-fp.c: New file.
7995 * config/rs6000/t-darwin (LIB2ADD): Add
7996 $(srcdir)/config/rs6000/ppc64-fp.c.
7997 * config/rs6000/t-ppc64-fp: New file.
7998 * config/rx/rx-lib.h: New file.
7999 * config/rx/t-rx (FPBIT): Set to true.
8000 ($(gcc_objdir)/fp-bit.c): Remove.
8001 (DPBIT): Set to true only with -m64bit-doubles.
8002 ($(gcc_objdir)/dp-bit.c): Remove.
8003 * config/sparc/t-softfp: Remove.
8004 * config/spu/t-elf: New file.
8005 * config/t-fdpbit, config/t-fpbit: New files.
8006 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
8007 (mips*-*-*): Likewise.
8008 (arm-wrs-vxworks): Likewise.
8009 (arm*-*-freebsd*): Likewise.
8010 (avr-*-rtems*): Add t-fpbit to tmake_file.
8011 (avr-*-*): Likewise.
8012 (bfin*-elf*): Add t-fdpbit to tmake_file.
8013 (bfin*-uclinux*): Likewise.
8014 (bfin*-linux-uclibc*): Likewise.
8015 (bfin*-rtems*): New case.
8016 Add t-fdpbit to tmake_file.
8017 (bfin*-*): Add t-fdpbit to tmake_file.
8018 (crisv32-*-elf): Likewise.
8019 (cris-*-linux*): Likewise.
8020 (fr30-*-elf): Likewise.
8021 (frv-*-elf, frv-*-*linux*): Likewise.
8022 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
8023 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
8024 (m32r-*-elf*): Likewise.
8025 (m32rle-*-elf*): Likewise.
8026 (m32r-*-linux*): Likewise.
8027 (m32rle-*-linux*): Likewise.
8028 (mcore-*-elf): Add t-fdpbit to tmake_file.
8029 (microblaze*-*-*): Likewise.
8030 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
8031 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
8032 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
8033 Fix typo.
8034 Add mips/t-tpbit to tmake-file.
8035 (mips*-*-linux*): Fix typo.
8036 (mips*-sde-elf*): New case
8037 Add mips/t-sdemtk unless using newlib.
8038 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
8039 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
8040 (mn10300-*-*): Likewise.
8041 (pdp11-*-*): Likewise.
8042 (picochip-*-*): Add t-fpbit to tmake_file.
8043 (powerpc-*-eabisimaltivec*): Likewise.
8044 (powerpc-*-eabisim*): Likewise.
8045 (powerpc-*-elf*): Likewise.
8046 (powerpc-*-eabialtivec*): Likewise.
8047 (powerpc-xilinx-eabi*): New case.
8048 Add t-fdpbit to tmake_file.
8049 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
8050 (powerpc-*-rtems*): Likewise.
8051 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
8052 tmake_file.
8053 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
8054 tmake_file.
8055 (powerpc-*-lynxos*): Likewise.
8056 (powerpcle-*-elf*): Likewise.
8057 (powerpcle-*-eabisim*): Likewise.
8058 (powerpcle-*-eabi*): Likewise.
8059 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8060 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
8061 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8062 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8063 (rx-*-elf): Add t-fdpbit to tmake_file.
8064 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8065 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8066 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8067 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
8068 sh*-*-netbsd*.
8069 (sh-*-rtems*): Add t-fdpbit to tmake_file.
8070 (sh-wrs-vxworks): Likewise.
8071 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
8072 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
8073 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
8074 (sparc64-*-rtems*): ... new case.
8075 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
8076 (spu-*-elf*): Likewise.
8077 Add spu/t-elf to tmake_file.
8078 (v850*-*-*): Add t-fdpbit to tmake_file.
8079 (xstormy16-*-elf): Likewise.
8080 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
8081 (mep*-*-*): Likewise.
8082
201cdb74
RO
80832011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8084
8085 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
8086 variables.
8087 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
8088 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
8089 (install-unwind_h): New target.
8090 (all): Depend on it.
8091 * config.host (unwind_header): New variable.
8092 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
8093 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8094 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
8095 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
8096 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
8097 Set unwind_header.
8098 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
8099 Set unwind_header.
8100 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
8101 arm*-*-eabi*.
8102 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
8103 Set unwind_header.
8104 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
8105 (ia64*-*-freebsd*): Likewise.
8106 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
8107 tmake_file.
8108 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
8109 $with_system_libunwind.
8110 (ia64*-*-hpux*): Set tmake_file.
8111 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
8112 (picochip-*-*): Set tmake_file.
8113 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
8114 md_unwind_header.
8115 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8116 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8117 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
8118 (xtensa*-*-elf*): Set tmake_file.
8119 (xtensa*-*-linux*): Likewise.
8120 * configure.ac: Include ../config/unwind_ipinfo.m4.
8121 Call GCC_CHECK_UNWIND_GETIPINFO.
8122 Link unwind.h to $unwind_header.
8123 * configure: Regenerate.
8124 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
8125 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
8126 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
8127 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
8128 * config/unwind-dw2-fde-darwin.c: New file.
8129 * config/arm/libunwind.S, config/arm/pr-support.c,
8130 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
8131 config/arm/unwind-arm.h,: New files.
8132 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
8133 config/ia64/t-eh-ia64, config/ia64/t-glibc,
8134 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
8135 config/ia64/t-vms, config/ia64/unwind-ia64.c,
8136 config/ia64/unwind-ia64.h: New files.
8137 * config/picochip/t-picochip: New file.
8138 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
8139 files.
8140 * config/rs6000/t-darwin (LIB2ADDEH): Set.
8141 * config/s390/t-tpf (LIB2ADDEH): Remove.
8142 * config/t-darwin (LIB2ADDEH): Set.
8143 * config/t-eh-dw2-dip: New file.
8144 * config/t-libunwind, config/t-libunwind-elf: New files.
8145 * config/t-sol2 (LIB2ADDEH): Remove.
8146 * config/xtensa/t-xtensa: New file.
8147
40f2f11f
L
81482011-08-02 H.J. Lu <hongjiu.lu@intel.com>
8149
8150 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
8151 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
8152 long long to check rt_sigreturn syscall.
8153
bd15e32c
AM
81542011-08-02 Alan Modra <amodra@gmail.com>
8155
8156 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8157 Restore for indirect call bcrtl from correct stack slot, and only
8158 if cfa+40 isn't valid.
8159
655b30bf
JB
81602011-08-01 Julian Brown <julian@codesourcery.com>
8161
8162 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
8163 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
8164 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
8165
247eb06f
JB
81662011-08-01 Julian Brown <julian@codesourcery.com>
8167
8168 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
8169 (libgcc-std.ver.in): Use above.
8170 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
8171 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
8172 throughout file.
8173 * config/t-fixedpoint-gnu-prefix: New file.
8174 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
8175 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
8176 instead of __PFX__.
8177
02a8fe00
L
81782011-07-28 H.J. Lu <hongjiu.lu@intel.com>
8179
8180 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
8181 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
8182 for x86-64. Properly check __x86_64__ and __LP64__.
8183
5fce9126
L
81842010-07-28 H.J. Lu <hongjiu.lu@intel.com>
8185
8186 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
8187 version.
8188 (_FP_WS_TYPE): Likewise.
8189 (_FP_I_TYPE): Likewise.
8190
2374a88a
AM
81912011-07-28 Alan Modra <amodra@gmail.com>
8192
8193 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8194 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
8195 in a plt call stub. Do restore r2 if stopped on bctrl.
8196
e44dbbe1
RO
81972011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8198
8199 * config.host (i[3456x]86-*-netware*): Remove.
8200 * config/i386/netware-crt0.c, config/i386/t-nwld,
8201 config/i386/t-slibgcc-nwld: Remove.
8202
bcead286
BS
82032011-07-15 Bernd Schmidt <bernds@codesourcery.com>
8204
8205 * config.host: Handle tic6x-*-*.
8206 * config/c6x/c6x-abi.h: New file.
8207
b3fe1584
RO
82082011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8209
8210 * config/i386/crtprec.c: New file.
8211 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
8212 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
8213 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
8214 (x86_64-*-darwin*): Likewise.
8215 (i[34567]86-*-solaris2*: Likewise.
8216
35d8090d
RO
82172011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8218
8219 * config/alpha/crtfastmath.c: New file.
8220 * config/i386/crtfastmath.c: New file.
8221 * config/ia64/crtfastmath.c: New file.
8222 * config/mips/crtfastmath.c: New file.
8223 * config/sparc/crtfastmath.c: New file.
8224
8225 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
8226 crtfastmath.c.
8227 Add -frandom-seed=gcc-crtfastmath.
8228 * config/alpha/t-crtfm: Remove.
8229 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
8230 * config/ia64/t-ia64 (crtfastmath.o): Remove.
8231
8232 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
8233 (alpha*-dec-osf5.1*): Likewise.
8234 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
8235 Add crtfastmath.o to extra_parts.
8236 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
8237 Add crtfastmath.o to extra_parts.
8238 (x86_64-*-darwin*): Likewise.
8239 (x86_64-*-mingw*): Likewise.
8240 (ia64*-*-elf*): Add t-crtfm to tmake_file.
8241 (ia64*-*-freebsd*): Likewise.
8242 (ia64*-*-linux*): Likewise.
8243 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
8244 Add crtfastmath.o to extra_parts.
8245
e141542e
RO
82462011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8247
8248 * config/darwin-crt3.o: New file.
8249 * config/rs6000/darwin-crt2.c: New file.
8250 * config/t-darwin: New file.
8251 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
8252 (crt2.o): New rule.
8253 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
8254 (powerpc-*-darwin*): Add crt2.o to extra_parts.
8255 (powerpc64-*-darwin*): Likewise.
8256
2d1efe2d
RO
82572011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8258
8259 * config/i386/netware-crt0.c: New file.
8260 * config/i386/t-nwld: Rename to ...
8261 * config/i386/t-slibgcc-nwld: ... this.
8262 * config/i386/t-nwld: New file.
8263 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
8264 tmake_file.
8265 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
8266 extra_parts.
8267
4a8bb046
RO
82682011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8269
8270 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
8271 i386/t-crtstuff.
8272 * configure: Regenerate.
8273
2d8d5935
RO
82742011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8275
8276 * dfp-bit.c, dfp-bit.h: New files.
8277 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
8278 variables.
8279 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
8280 ($(d64pbit-o)): Likewise.
8281 ($(d128pbit-o)): Likewise.
8282 * config/t-dfprules: New file.
8283 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
8284 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
8285 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8286 (x86_64-*-linux*): Likewise.
8287 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8288 (i[34567]86-*-cygwin*): Likewise.
8289 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
8290 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8291
2c50b2c3
RO
82922011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8293
8294 * Makfile.in (LIBGCOV): New variable.
8295 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
8296 * libgcov.c: New file.
8297
a039d7c2
RO
82982011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8299
8300 * fixed-bit.c, fixed-bit.h: New files.
8301 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
8302 refer to fixed-bit.c.
8303
1e4b2746
JM
83042011-07-07 Joseph Myers <joseph@codesourcery.com>
8305
8306 * config.host (*local*): Remove.
8307
fbdd5d87
RO
83082011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8309
8310 PR target/39150
8311 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
8312 like i?86-*-solaris2.1[0-9]*.
8313 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
8314 * configure.ac (i?86-*-solaris2*): Likewise.
8315 * configure: Regenerate.
8316
9e7714f4
TS
83172011-07-06 Thomas Schwinge <thomas@schwinge.name>
8318
8319 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8320 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
8321 md_unwind_header by splitting out of...
8322 (i[34567]86-*-linux*): ... this.
8323 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
8324 Remove md_unwind_header by splitting out of...
8325 (x86_64-*-linux*): ... this.
8326
6dab9931
GJL
83272011-07-04 Georg-Johann Lay <avr@gjlay.de>
8328
8329 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
8330
4be46d19
NC
83312011-06-28 Nick Clifton <nickc@redhat.com>
8332
8333 * config.host: Recognize all V850 variants.
8334
1da9434b
UB
83352011-06-22 Uros Bizjak <ubizjak@gmail.com>
8336
8337 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
8338
e4d48a4d
RO
83392011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8340
8341 * shared-object.mk (c_flags-$o): Save c_flags.
8342 ($(base)$(objext)): Use it.
8343 ($(base)_s$(objext)): Likewise.
8344
3801c801
BS
83452011-06-21 Bernd Schmidt <bernds@codesourcery.com>
8346
8347 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
8348 * libgcc-std.ver.in (GCC_4.7.0): New section.
8349
0ad8bb3b 83502011-06-16 Georg-Johann Lay <avr@gjlay.de>
1da9434b 8351
0ad8bb3b
GJL
8352 PR target/49313
8353 PR target/29524
8354 * config/avr/t-avr: Fix line endings.
8355 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
8356 _parityXX2.
8357
ea963999
OH
83582011-06-14 Olivier Hainque <hainque@adacore.com>
8359 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8360
8361 * config/mips/irix6-unwind.h: New file.
8362 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
8363
b11b0904
EB
83642011-06-10 Eric Botcazou <ebotcazou@adacore.com>
8365
8366 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
8367 (sparc64_fallback_frame_state): Use it.
8368 (sparc64_frob_update_context): Further adjust context.
8369 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
8370 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
8371 * config/sparc/sol2-cn.S: Likewise.
8372
10e48e39
RO
83732011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8374
8375 * enable-execute-stack-empty.c: New file.
8376 * enable-execute-stack-mprotect.c: New file.
8377 * config/i386/enable-execute-stack-mingw32.c: New file.
8378 * config.host (enable_execute_stack): New variable.
8379 Select appropriate variants.
8380 * configure.ac: Link enable-execute-stack.c to
8381 $enable_execute_stack.
8382 * configure: Regenerate.
8383 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
8384 (lib2funcs): Remove _enable_execute_stack.
8385
10c4cabc
DM
83862011-06-09 David S. Miller <davem@davemloft.net>
8387 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8388
8389 * config.host (sparc-*-linux*): Correct md_unwind_header
8390 filename.
8391 (s390x-ibm-tpf*): Fix typo.
8392
aa4203e7
RO
83932011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8394
8395 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
8396 Add crtfastmath.o to extra_parts.
8397 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
8398 mips/t-crtfm.
8399 * config/mips/t-crtfm: Remove.
8400
0defd786
JDA
84012011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8402
8403 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
8404
82f247af
KK
84052011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
8406
8407 * config.host (sh*-*-linux*): Fix typo.
8408
58cd1d70
RO
84092011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8410
8411 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
8412 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
8413 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
8414 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
8415 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
8416 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
8417 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
8418 Wrap in !__MINGW64__.
8419 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
8420 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
8421 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
8422 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
8423 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
8424 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
8425 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
8426 Wrap in !__LP64__.
8427 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
8428 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
8429 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
8430 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
8431 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
8432 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
8433 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
8434 * config/no-unwind.h: New file.
8435 * config.host (md_unwind_header): Document.
8436 Define.
8437 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
8438 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
8439 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
8440 hppa[12]*-*-hpux11*): Set md_unwind_header.
8441 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
8442 Set md_unwind_header.
8443 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
8444 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
8445 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
8446 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
8447 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
8448 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
8449 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
8450 md_unwind_header.
8451 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
8452 * configure: Regenerate.
8453
737346fa
RO
84542011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8455
8456 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
8457 Set tmake_file, extra_parts.
8458 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
8459 Remove O32 support.
8460 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
8461 Remove O32 support.
8462 * config/mips/t-irix6: New file.
8463 * config/mips/t-slibgcc-irix: New file.
8464
c192cee6
RO
84652011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8466
8467 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
8468 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
8469
ee33b5f0
RO
84702011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8471
8472 * configure.ac (target_thread_file): Determine thread model.
8473 * configure: Regenerate.
8474 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
8475 * config/alpha/t-alpha: New file.
8476 * config/alpha/t-crtfm: Use $<.
8477 * config/alpha/t-ieee: New file.
8478 * config/alpha/t-osf-pthread: New file.
8479 * config/alpha/t-slibgcc-osf: New file.
8480 * config/alpha/libgcc-osf5.ver: New file.
8481
0699e415
RO
84822011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8483
8484 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
8485 tmake_file.
8486 Add crtfastmath.o to extra_parts.
8487
a3fab9c2
RO
84882011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8489
8490 * config/gmon-sol2.c: Reindent.
8491 Cleanup comments.
8492 Remove, correct casts.
8493 Use STDERR_FILENO, NULL.
8494 (BASEADDRESS): Remove.
8495 (minbrk): Remove.
8496 (errno, sbrk): Remove declarations.
8497 (monstartup) [hp300]: Remove.
8498 (mcount): Remove.
8499
ca24c5ad
RO
85002011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8501
8502 * Makefile.in (cpu_type): Define.
8503 * config.host (i[34567]86-*-rtems*): Handle it.
8504 (i[34567]86-*-solaris2*): Move body ...
8505 (*-*-solaris2*): ... here.
8506 New case, generalize.
8507 (sparc-*-elf*): Handle it.
8508 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
8509 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
8510 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
8511 Fold into ...
8512 (sparc*-*-solaris2*): ... this.
8513 New case.
8514 (sparc64-*-elf*): Handle it.
8515 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
8516 Merge ../gcc/config/i386/gmon-sol2.c.
8517 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
8518 Use C comments.
8519 Merge ../gcc/config/i386/sol2-gc1.asm.
8520 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
8521 Use C comments.
8522 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
8523 Use C comments.
8524 * config/i386/t-crtfm (crtfastmath.o): Use $<.
8525 * config/i386/t-crtstuff: New file.
8526 * config/i386/t-softfp: New file.
8527 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
8528 $(T)crti.o, $(T)crtn.o): Remove.
8529 (gcrt1.o): New rule.
8530 (TARGET_LIBGCC2_CFLAGS): Remove.
8531 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
8532 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
8533 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
8534 * config/sparc/t-sol2: New file.
8535 * config/sparc/t-crtfm: Move to ...
8536 * config/t-crtfm: ... this.
8537 Use $(cpu_type), $<.
8538 * config/t-crtin: New file.
8539 * config/sparc/t-softfp: New file.
8540 * config/sparc/t-softmul: New file.
8541 * config/t-rtems: New file.
8542 * config/t-slibgcc: New file.
8543 * config/t-slibgcc-elf-ver: New file.
8544 * config/t-slibgcc-gld: New file.
8545 * config/t-slibgcc-sld: New file.
8546 * config/t-sol2: New file.
8547 * configure.ac: Include ../config/lib-ld.m4.
8548 Call AC_LIB_PROG_LD_GNU.
8549 Substitute cpu_type.
8550 * configure: Regenerate.
8551
ad5f3d7b
BS
85522011-05-27 Bernd Schmidt <bernds@codesourcery.com>
8553
8554 PR bootstrap/49173
8555 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
8556 libgcc-std.ver in the build directory.
8557 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
8558 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
8559
cdbf4541
BS
85602011-05-25 Bernd Schmidt <bernds@codesourcery.com>
8561
8562 * libgcc-std.ver.in: New file.
8563 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
8564 variables.
8565 (libgcc-std.ver): New rule.
8566 * config/t-gnu-prefix: New file.
8567
c8028650
RO
85682011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8569
8570 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
8571
4a68b4ca
JM
85722011-05-10 Joseph Myers <joseph@codesourcery.com>
8573
8574 * config/i386/darwin-lib.h: New file.
8575
80cf2e08
JM
85762011-05-10 Joseph Myers <joseph@codesourcery.com>
8577
8578 * config/arm/symbian-lib.h: New.
8579
a3330c9d
CD
85802011-05-04 Chris Demetriou <cgd@google.com>
8581
8582 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
8583 (__x86.get_pc_thunk.bx): ...this.
8584 (__morestack): Adjust for rename, remove undef of __i686.
8585
6ace0756
CD
85862011-05-03 Chris Demetriou <cgd@google.com>
8587
8588 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
8589
ebb9f8b0
JM
85902011-03-22 Joseph Myers <joseph@codesourcery.com>
8591
8592 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
8593 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
8594 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
8595 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
8596 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
8597 Remove cases.
8598
9cfa1499
AT
85992011-03-14 Andreas Tobler <andreast@fgznet.ch>
8600
8601 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
8602 Adjust copyright year.
8603
457186f6
ILT
86042011-03-07 Ian Lance Taylor <iant@google.com>
8605
8606 * generic-morestack.c (__splitstack_find): Adjust returned stack
8607 pointer to include all registers pushed by __morestack.
8608
58c741a6
DK
86092011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
8610
8611 PR target/40125
8612 * configure.ac: Call ACX_NONCANONICAL_TARGET.
8613 (toolexecdir): Calculate and AC_SUBST.
8614 (toolexeclibdir): Likewise.
8615 * Makefile.in (target_noncanonical): Import.
8616 (toolexecdir): Likewise.
8617 (toolexeclibdir): Likewise.
8618 * configure: Regenerate.
8619
26716c44
NF
86202010-12-13 Nathan Froyd <froydnj@codesourcery.com>
8621
8622 PR target/46040
8623 * config/arm/bpabi.h: Rename to...
8624 * config/arm/bpabi-lib.h: ...this.
8625
b595b1a1
RO
86262010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8627
8628 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
8629 appropriate.
8630 * configure: Regenerate.
8631
a3abe41c
NF
86322010-11-24 Nathan Froyd <froydnj@codesourcery.com>
8633
8634 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
8635 __FLOAT_WORD_ORDER__.
8636 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
8637 Delete.
8638
455c8f48
RW
86392010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8640
8641 PR other/46202
8642 * Makefile.in (install-strip): New phony target.
8643
f3824a8b
ILT
86442010-11-07 Ian Lance Taylor <iant@google.com>
8645
8646 PR target/46089
8647 * config/i386/morestack.S (__morestack_large_model): New
8648 function.
8649
18ed6ee4
NF
86502010-10-23 Nathan Froyd <froydnj@codesourcery.com>
8651
8652 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
8653 Delete.
8654 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
8655
8ac7fdcb
NF
86562010-10-14 Nathan Froyd <froydnj@codesourcery.com>
8657
8658 * config/arm/bpabi.h: New file.
8659 * config/frv/frv-abi.h: New file.
8660
cdb388c2
ILT
86612010-10-01 Ian Lance Taylor <iant@google.com>
8662
8663 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
8664 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
8665
ef7c141c
L
86662010-10-01 H.J. Lu <hongjiu.lu@intel.com>
8667
8668 PR target/45858
8669 * config.host: Add the missing `$'.
8670
80920132
ME
86712010-09-30 Michael Eager <eager@eagercon.com>
8672
8673 * config.host: Add microblaze*-*-*.
8674 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
8675 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
8676 udivsi3.asm,umodsi3.asm}: New.
8677
6dace308
ILT
86782010-09-28 Ian Lance Taylor <iant@google.com>
8679
8680 * configure.ac: Adjust CFI test to test assembler directly rather
8681 than checking gcc preprocessor macro.
8682 * configure: Rebuild.
8683
b6110d6d
ILT
86842010-09-27 Ian Lance Taylor <iant@google.com>
8685
8686 * configure.ac: Test whether assembler supports CFI directives.
8687 * config.host: Only add t-stack and i386/t-stack-i386 to
8688 tmake_file if libgcc_cv_cfi is "yes".
8689 * configure: Rebuild.
8690
7458026b
ILT
86912010-09-27 Ian Lance Taylor <iant@google.com>
8692
8693 * generic-morestack.h: New file.
8694 * generic-morestack.c: New file.
8695 * generic-morestack-thread.c: New file.
8696 * config/i386/morestack.S: New file.
8697 * config/t-stack: New file.
8698 * config/i386/t-stack-i386: New file.
8699 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
8700 i386/t-stack-i386 to tmake_file.
8701
5b50fc0c
IS
87022010-09-21 Iain Sandoe <iains@gcc.gnu.org>
8703
8704 * Makefile.in (libgcc-extra-parts): Check for static archives and
8705 invoke ranlib after installing them.
8706 (gcc-extra-parts): Likewise.
8707 (install-leaf): Likewise.
8708
b93cf342
L
87092010-09-14 H.J. Lu <hongjiu.lu@intel.com>
8710
8711 * configure: Regenerated.
8712
996b42ef
KT
87132010-09-10 Kai Tietz <kai.tietz@onevision.com>
8714
b93cf342 8715 * configure: Regenerated.
996b42ef 8716
be1c764e
GP
87172010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
8718 Andrew Pinski <pinskia@gmail.com>
8719
1da9434b 8720 PR target/40959
be1c764e
GP
8721 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
8722
cc0ae0ca
L
87232010-09-06 H.J. Lu <hongjiu.lu@intel.com>
8724
8725 PR target/45524
8726 * configure: Regenerated.
8727
84f47d20
AS
87282010-09-06 Andreas Schwab <schwab@redhat.com>
8729
8730 * configure: Regenerate.
8731
4159fb8d
UB
87322010-09-03 Uros Bizjak <ubizjak@gmail.com>
8733
8734 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
8735 64bit targets.
8736 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
8737 for 64bit targets.
8738
0df8fcc8
UB
87392010-09-03 Uros Bizjak <ubizjak@gmail.com>
8740 Iain Sandoe <iains@gcc.gnu.org>
8741
8742 PR target/45476
8743 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
8744 LIB2FUNCS_EXCLUDE functions.
8745
3c39bca6
AK
87462010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8747
8748 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
8749 Include dfp.m4.
8750 * configure: Regenerate.
8751
d78552bd
UB
87522010-09-01 Uros Bizjak <ubizjak@gmail.com>
8753
8754 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
8755 i386/t-freebsd to tmake_file.
8756 * config/i386/t-freebsd: New file.
8757 * config/i386/libgcc-bsd.ver: New file.
8758
c5b79d4e
NF
87592010-07-23 Nathan Froyd <froydnj@codesourcery.com>
8760
8761 * config.host (powerpc*-eabispe*): Set tmake_file.
8762 (powerpc*-eabi*): Likewise.
8763 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
8764 crtbeginS, crtendS, crtbeginT.
8765
48b09a92
KH
87662010-06-12 Kazu Hirata <kazu@codesourcery.com>
8767
8768 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
8769 to tmake_file. Add crtfastmath.o to extra_parts.
8770 * config/mips/t-crtfm: New.
8771
7d296953 87722010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
a4389204
JS
8773
8774 * config.host (sparc64-*-rtems*): New target.
8775
ed104137
RO
87762010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8777
8778 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
8779 assembler syntax.
8780
3f56ef8b
TS
87812010-04-15 Thomas Schwinge <tschwinge@gnu.org>
8782
8783 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
8784
8c200350
RO
87852010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8786
8787 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
8788 alpha-dec-osf5.0* support.
8789
7d296953 87902010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
c1b14424
RC
8791
8792 * config.host: Add lm32-*-rtems*.
8793
f128db92 87942010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7d296953 8795 Uros Bizjak <ubizjak@gmail.com>
f128db92
RO
8796
8797 PR target/39048
8798 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
8799 like other remaining 32-bit x86 OSes.
8800 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
8801 assembler syntax.
8802 * config/i386/libgcc-sol2.ver: New file.
8803 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
8804
7d296953 88052010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
368fabd5
JH
8806
8807 PR c/43553
8808 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
8809 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
8810 is used and substitute set_use_emutls.
8811 * configure: Regenerated.
8812
15baf7f8
TG
88132010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
8814
8815 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
8816
7f5441df
RO
88172010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8818
8819 PR target/38085
8820 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
8821 MULTILIB_CFLAGS.
8822 ($(T)gcrt1.o): Likewise.
8823 ($(T)crt1.o): Likewise.
8824 ($(T)crti.o): Likewise.
8825 ($(T)crtn.o): Likewise.
8826
ef74edbd
RW
88272010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8828
8829 PR other/42980
8830 * Makefile.in (install): Use $(MAKE) string in rule, for
8831 parallel make.
8832
e7c914db
HPN
88332010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
8834
8835 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
8836 * config/mmix/t-mmix: New file.
8837 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
8838
1bcb71c4
JH
88392010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
8840
8841 PR java/41991
8842 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
8843 SHLIB_MAPFILES.
8844
e6e50811
AG
88452010-01-04 Anthony Green <green@moxielogic.com>
8846
8847 * config/moxie/crti.asm, config/moxie/crtn.asm,
8848 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
8849 config/moxie/t-moxie: New files.
8850 * config.host: Add t-moxie-softfp reference.
8851
7d296953 88522009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
ca8520ad
IS
8853
8854 PR other/39888
8855 * config/t-slibgcc-darwin: Fix embedded rpaths for
8856 --enable-version-specific-runtime-libs, build extension stub
8857 libs exposing features available from current libgcc_s.
8858
7d296953 88592009-11-11 Jon Beniston <jon@beniston.com>
aa4945c1 8860
d78552bd
UB
8861 * config.host: Add lm32 targets.
8862 * config/lm32: New directory.
8863 * config/lm32/libgcc_lm32.h: New file.
8864 * config/lm32/_mulsi3.c: New file.
8865 * config/lm32/_udivmodsi4.c: New file.
8866 * config/lm32/_divsi3.c: New file.
8867 * config/lm32/_modsi3.c: New file.
8868 * config/lm32/_udivsi3.c: New file.
8869 * config/lm32/_umodsi3.c: New file.
8870 * config/lm32/_lshrsi3.S: New file.
8871 * config/lm32/_ashrsi3.S: New file.
8872 * config/lm32/_ashlsi3.S: New file.
8873 * config/lm32/crti.S: New file.
8874 * config/lm32/crtn.S: New file.
8875 * config/lm32/t-lm32: New file.
8876 * config/lm32/t-elf: New file.
8877 * config/lm32/t-uclinux: New file.
aa4945c1 8878
65a324b4
NC
88792009-10-26 Nick Clifton <nickc@redhat.com>
8880
8881 * config.host: Add support for RX target.
8882 * config/rx: New directory.
8883 * config/rx/rx-abi-functions.c: New file. Supplementary
8884 functions for libgcc to support the RX ABI.
8885 * config/rx/rx-abi.h: New file. Supplementary header file for
8886 libgcc RX ABI functions.
8887 * config/rx/t-rx: New file: Makefile fragment for building
8888 libgcc for the RX.
8889
dfb3b0e3
UB
88902009-10-09 Uros Bizjak <ubizjak@gmail.com>
8891
8892 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
8893 constraint of y0 to "g".
8894
81dd9fd7
AK
88952009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8896
8897 * config.host: Include the s390 makefile fragments.
8898 * config/s390/32/_fixdfdi.c: New file.
8899 * config/s390/32/_fixsfdi.c: New file.
8900 * config/s390/32/_fixtfdi.c: New file.
8901 * config/s390/32/_fixunsdfdi.c: New file.
8902 * config/s390/32/_fixunssfdi.c: New file.
8903 * config/s390/32/_fixunstfdi.c: New file.
8904 * config/s390/32/t-floattodi: New file.
8905 * config/s390/libgcc-glibc.ver: New file.
8906 * config/s390/t-crtstuff: New file.
8907 * config/s390/t-linux: New file.
8908 * config/s390/t-tpf: New file.
8909
df58e648
RW
89102009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8911
8912 * configure.ac (AC_PREREQ): Bump to 2.64.
8913
79052be3
KK
89142009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
8915
8916 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
8917
5213506e
RW
89182009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8919
8920 * configure: Regenerate.
8921
a9a25daa
DR
89222009-08-09 Douglas B Rupp <rupp@gnat.com>
8923
8924 * config.host (ia64-hp-*vms*): New target.
8925 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
8926 with ia64-hp-*vms*.
8927
6efbd53f
RW
89282009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8929
8930 * configure.ac: Add snippet for maintainer-mode.
8931 * configure: Regenerate.
8932 * Makefile.in (AUTOCONF, configure_deps): New variables.
8933 ($(srcdir)/configure)): New rule, active only with maintainer
8934 mode turned on.
8935
7acf4da6
DD
89362009-06-23 DJ Delorie <dj@redhat.com>
8937
8938 Add MeP port.
8939 * config.host: Add mep support.
8940
54f549af
KT
89412009-06-22 Kai Tietz <kai.tietz@onevision.com>
8942
34481f28 8943 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 8944 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
34481f28
UB
8945
8946 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
8947 for mingw targets.
54f549af
KT
8948 * config/i386/64/_multc3.c: Likewise.
8949 * config/i386/64/_powitf2.c: Likewise.
8950 * config/i386/64/eqtf2.c: Likewise.
8951 * config/i386/64/getf2.c: Likewise.
8952 * config/i386/64/letf2.c: Likewise.
8953 * config/i386/64/letf2.c: Likewise.
34481f28
UB
8954 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
8955 unsigned long long for x64 mingw targets.
8956 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
8957 (_FP_I_TYPE): Define as long long for x64 mingw target.
54f549af 8958
fea96e25
MR
89592009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
8960
8961 * config.host (vax-*-linux*): New.
8962
cceb575c
AG
89632009-05-31 Anthony Green <green@moxielogic.com>
8964
8965 * config.host: Add moxie support.
8966 * config/moxie/t-moxie: New file.
8967
7d296953 89682009-05-29 David Billinghurst <billingd@gcc.gnu.org>
e997fb9c
DB
8969
8970 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 8971 t-softfp to tmake_file for i[34567]86-*-cygwin*.
e997fb9c 8972
532bfb0a
AJ
89732009-04-17 Aurelien Jarno <aurelien@aurel32.net>
8974
8975 * config.host: Add i386/${host_address}/t-fprules-softfp to
8976 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
8977
748086b7
JJ
89782009-04-09 Nick Clifton <nickc@redhat.com>
8979
8980 * config/ia64/tf-signs.c: Change copyright header to refer to
8981 version 3 of the GNU General Public License with version 3.1
8982 of the GCC Runtime Library Exception and to point readers at
8983 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
8984 web page.
8985 * config/i386/32/tf-signs.c: Likewise.
8986 * config/libbid/_addsub_dd.c: Likewise.
8987 * config/libbid/_addsub_sd.c: Likewise.
8988 * config/libbid/_addsub_td.c: Likewise.
8989 * config/libbid/_dd_to_df.c: Likewise.
8990 * config/libbid/_dd_to_di.c: Likewise.
8991 * config/libbid/_dd_to_sd.c: Likewise.
8992 * config/libbid/_dd_to_sf.c: Likewise.
8993 * config/libbid/_dd_to_si.c: Likewise.
8994 * config/libbid/_dd_to_td.c: Likewise.
8995 * config/libbid/_dd_to_tf.c: Likewise.
8996 * config/libbid/_dd_to_udi.c: Likewise.
8997 * config/libbid/_dd_to_usi.c: Likewise.
8998 * config/libbid/_dd_to_xf.c: Likewise.
8999 * config/libbid/_df_to_dd.c: Likewise.
9000 * config/libbid/_df_to_sd.c: Likewise.
9001 * config/libbid/_df_to_td.c: Likewise.
9002 * config/libbid/_di_to_dd.c: Likewise.
9003 * config/libbid/_di_to_sd.c: Likewise.
9004 * config/libbid/_di_to_td.c: Likewise.
9005 * config/libbid/_div_dd.c: Likewise.
9006 * config/libbid/_div_sd.c: Likewise.
9007 * config/libbid/_div_td.c: Likewise.
9008 * config/libbid/_eq_dd.c: Likewise.
9009 * config/libbid/_eq_sd.c: Likewise.
9010 * config/libbid/_eq_td.c: Likewise.
9011 * config/libbid/_ge_dd.c: Likewise.
9012 * config/libbid/_ge_sd.c: Likewise.
9013 * config/libbid/_ge_td.c: Likewise.
9014 * config/libbid/_gt_dd.c: Likewise.
9015 * config/libbid/_gt_sd.c: Likewise.
9016 * config/libbid/_gt_td.c: Likewise.
9017 * config/libbid/_isinfd128.c: Likewise.
9018 * config/libbid/_isinfd32.c: Likewise.
9019 * config/libbid/_isinfd64.c: Likewise.
9020 * config/libbid/_le_dd.c: Likewise.
9021 * config/libbid/_le_sd.c: Likewise.
9022 * config/libbid/_le_td.c: Likewise.
9023 * config/libbid/_lt_dd.c: Likewise.
9024 * config/libbid/_lt_sd.c: Likewise.
9025 * config/libbid/_lt_td.c: Likewise.
9026 * config/libbid/_mul_dd.c: Likewise.
9027 * config/libbid/_mul_sd.c: Likewise.
9028 * config/libbid/_mul_td.c: Likewise.
9029 * config/libbid/_ne_dd.c: Likewise.
9030 * config/libbid/_ne_sd.c: Likewise.
9031 * config/libbid/_ne_td.c: Likewise.
9032 * config/libbid/_sd_to_dd.c: Likewise.
9033 * config/libbid/_sd_to_df.c: Likewise.
9034 * config/libbid/_sd_to_di.c: Likewise.
9035 * config/libbid/_sd_to_sf.c: Likewise.
9036 * config/libbid/_sd_to_si.c: Likewise.
9037 * config/libbid/_sd_to_td.c: Likewise.
9038 * config/libbid/_sd_to_tf.c: Likewise.
9039 * config/libbid/_sd_to_udi.c: Likewise.
9040 * config/libbid/_sd_to_usi.c: Likewise.
9041 * config/libbid/_sd_to_xf.c: Likewise.
9042 * config/libbid/_sf_to_dd.c: Likewise.
9043 * config/libbid/_sf_to_sd.c: Likewise.
9044 * config/libbid/_sf_to_td.c: Likewise.
9045 * config/libbid/_si_to_dd.c: Likewise.
9046 * config/libbid/_si_to_sd.c: Likewise.
9047 * config/libbid/_si_to_td.c: Likewise.
9048 * config/libbid/_td_to_dd.c: Likewise.
9049 * config/libbid/_td_to_df.c: Likewise.
9050 * config/libbid/_td_to_di.c: Likewise.
9051 * config/libbid/_td_to_sd.c: Likewise.
9052 * config/libbid/_td_to_sf.c: Likewise.
9053 * config/libbid/_td_to_si.c: Likewise.
9054 * config/libbid/_td_to_tf.c: Likewise.
9055 * config/libbid/_td_to_udi.c: Likewise.
9056 * config/libbid/_td_to_usi.c: Likewise.
9057 * config/libbid/_td_to_xf.c: Likewise.
9058 * config/libbid/_tf_to_dd.c: Likewise.
9059 * config/libbid/_tf_to_sd.c: Likewise.
9060 * config/libbid/_tf_to_td.c: Likewise.
9061 * config/libbid/_udi_to_dd.c: Likewise.
9062 * config/libbid/_udi_to_sd.c: Likewise.
9063 * config/libbid/_udi_to_td.c: Likewise.
9064 * config/libbid/_unord_dd.c: Likewise.
9065 * config/libbid/_unord_sd.c: Likewise.
9066 * config/libbid/_unord_td.c: Likewise.
9067 * config/libbid/_usi_to_dd.c: Likewise.
9068 * config/libbid/_usi_to_sd.c: Likewise.
9069 * config/libbid/_usi_to_td.c: Likewise.
9070 * config/libbid/_xf_to_dd.c: Likewise.
9071 * config/libbid/_xf_to_sd.c: Likewise.
9072 * config/libbid/_xf_to_td.c: Likewise.
9073 * config/libbid/bid128.c: Likewise.
9074 * config/libbid/bid128_2_str.h: Likewise.
9075 * config/libbid/bid128_2_str_macros.h: Likewise.
9076 * config/libbid/bid128_2_str_tables.c: Likewise.
9077 * config/libbid/bid128_add.c: Likewise.
9078 * config/libbid/bid128_compare.c: Likewise.
9079 * config/libbid/bid128_div.c: Likewise.
9080 * config/libbid/bid128_fma.c: Likewise.
9081 * config/libbid/bid128_logb.c: Likewise.
9082 * config/libbid/bid128_minmax.c: Likewise.
9083 * config/libbid/bid128_mul.c: Likewise.
9084 * config/libbid/bid128_next.c: Likewise.
9085 * config/libbid/bid128_noncomp.c: Likewise.
9086 * config/libbid/bid128_quantize.c: Likewise.
9087 * config/libbid/bid128_rem.c: Likewise.
9088 * config/libbid/bid128_round_integral.c: Likewise.
9089 * config/libbid/bid128_scalb.c: Likewise.
9090 * config/libbid/bid128_sqrt.c: Likewise.
9091 * config/libbid/bid128_string.c: Likewise.
9092 * config/libbid/bid128_to_int16.c: Likewise.
9093 * config/libbid/bid128_to_int32.c: Likewise.
9094 * config/libbid/bid128_to_int64.c: Likewise.
9095 * config/libbid/bid128_to_int8.c: Likewise.
9096 * config/libbid/bid128_to_uint16.c: Likewise.
9097 * config/libbid/bid128_to_uint32.c: Likewise.
9098 * config/libbid/bid128_to_uint64.c: Likewise.
9099 * config/libbid/bid128_to_uint8.c: Likewise.
9100 * config/libbid/bid32_to_bid128.c: Likewise.
9101 * config/libbid/bid32_to_bid64.c: Likewise.
9102 * config/libbid/bid64_add.c: Likewise.
9103 * config/libbid/bid64_compare.c: Likewise.
9104 * config/libbid/bid64_div.c: Likewise.
9105 * config/libbid/bid64_fma.c: Likewise.
9106 * config/libbid/bid64_logb.c: Likewise.
9107 * config/libbid/bid64_minmax.c: Likewise.
9108 * config/libbid/bid64_mul.c: Likewise.
9109 * config/libbid/bid64_next.c: Likewise.
9110 * config/libbid/bid64_noncomp.c: Likewise.
9111 * config/libbid/bid64_quantize.c: Likewise.
9112 * config/libbid/bid64_rem.c: Likewise.
9113 * config/libbid/bid64_round_integral.c: Likewise.
9114 * config/libbid/bid64_scalb.c: Likewise.
9115 * config/libbid/bid64_sqrt.c: Likewise.
9116 * config/libbid/bid64_string.c: Likewise.
9117 * config/libbid/bid64_to_bid128.c: Likewise.
9118 * config/libbid/bid64_to_int16.c: Likewise.
9119 * config/libbid/bid64_to_int32.c: Likewise.
9120 * config/libbid/bid64_to_int64.c: Likewise.
9121 * config/libbid/bid64_to_int8.c: Likewise.
9122 * config/libbid/bid64_to_uint16.c: Likewise.
9123 * config/libbid/bid64_to_uint32.c: Likewise.
9124 * config/libbid/bid64_to_uint64.c: Likewise.
9125 * config/libbid/bid64_to_uint8.c: Likewise.
9126 * config/libbid/bid_b2d.h: Likewise.
9127 * config/libbid/bid_binarydecimal.c: Likewise.
9128 * config/libbid/bid_conf.h: Likewise.
9129 * config/libbid/bid_convert_data.c: Likewise.
9130 * config/libbid/bid_decimal_data.c: Likewise.
9131 * config/libbid/bid_decimal_globals.c: Likewise.
9132 * config/libbid/bid_div_macros.h: Likewise.
9133 * config/libbid/bid_dpd.c: Likewise.
9134 * config/libbid/bid_flag_operations.c: Likewise.
9135 * config/libbid/bid_from_int.c: Likewise.
9136 * config/libbid/bid_functions.h: Likewise.
9137 * config/libbid/bid_gcc_intrinsics.h: Likewise.
9138 * config/libbid/bid_inline_add.h: Likewise.
9139 * config/libbid/bid_internal.h: Likewise.
9140 * config/libbid/bid_round.c: Likewise.
9141 * config/libbid/bid_sqrt_macros.h: Likewise.
9142
91432009-04-09 Jakub Jelinek <jakub@redhat.com>
9144
9145 * Makefile.in: Change copyright header to refer to version
9146 3 of the GNU General Public License and to point readers at the
9147 COPYING3 file and the FSF's license web page.
9148 * config.host: Likewise.
9149
633dd061
AM
91502009-04-07 Alan Modra <amodra@bigpond.net.au>
9151
9152 * config.host: Reorder and merge to match config.gcc change.
9153
457d1d00
AM
91542009-04-03 Alan Modra <amodra@bigpond.net.au>
9155
9156 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
9157
52c0e446
JM
91582009-03-28 Joseph Myers <joseph@codesourcery.com>
9159
9160 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
9161 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
9162 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
9163 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
9164
ba181049
UB
91652009-02-12 Uros Bizjak <ubizjak@gmail.com>
9166
9167 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
9168 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9169
c252db20
L
91702009-02-12 H.J. Lu <hongjiu.lu@intel.com>
9171
ba181049
UB
9172 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
9173 ia64/t-softfp-compat to tmake_file.
c252db20
L
9174
9175 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
9176
9177 * config/ia64/__divxf3.asm: New.
9178 * config/ia64/_fixtfdi.asm: Likewise.
9179 * config/ia64/_fixunstfdi.asm: Likewise.
9180 * config/ia64/_floatditf.asm: Likewise.
9181 * config/ia64/t-fprules-softfp: Likewise.
9182 * config/ia64/t-softfp-compat: Likewise.
9183 * config/ia64/tf-signs.c: Likewise.
9184
c60535f9
BE
91852009-01-18 Ben Elliston <bje@au.ibm.com>
9186
9187 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9188
ce16861e
BE
91892009-01-16 Ben Elliston <bje@au.ibm.com>
9190
9191 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
9192 to tmake_file.
9193
bcf4713b
BE
91942009-01-13 Ben Elliston <bje@au.ibm.com>
9195
9196 * config/t-softfp: New file.
9197 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
9198 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
9199
7d296953 92002009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
2042cb04
JS
9201
9202 * config.host: Add m32r*-*-rtems*.
9203
7d296953 92042008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
541ed00e
JS
9205
9206 * config.host: Add m32c*-*-rtems*.
9207
19523300
RO
92082008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9209
9210 PR bootstrap/33100
9211 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
9212 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
9213 * configure: Regenerate.
9214 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
9215 tmake_file here from gcc/config.gcc.
9216 Move extra_parts here from gcc/config.gcc.
9217 * config/i386/t-sol2: Move here from gcc/config/i386.
9218 Use gcc_srcdir instead of srcdir.
9219
0a4a51c7
AN
92202008-11-18 Adam Nemet <anemet@caviumnetworks.com>
9221
9222 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
9223 case.
9224
2a761e46
TS
92252008-11-09 Thomas Schwinge <tschwinge@gnu.org>
9226
9227 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
9228
c0451df7
TS
92292008-10-08 Thomas Schwinge <tschwinge@gnu.org>
9230
9231 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
9232
358da97e
HS
92332008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
9234
9235 Add picoChip port.
9236 * config.host: Add picochip-*-*.
9237
c660f132
BW
92382008-08-06 Bob Wilson <bob.wilson@acm.org>
9239
9240 * config.host: Match more processor names for Xtensa.
9241
d1349557
L
92422008-07-08 H.J. Lu <hongjiu.lu@intel.com>
9243
9244 * config/i386/64/t-softfp-compat: Update comments.
9245
dd7b73c0
L
92462008-07-07 H.J. Lu <hongjiu.lu@intel.com>
9247
9248 * config/i386/64/_divtc3-compat.c: Moved to ...
9249 * config/i386/64/_divtc3.c: Here.
9250
9251 * config/i386/64/_multc3-compat.c: Moved to ...
9252 * config/i386/64/_multc3.c: Here.
9253
9254 * config/i386/64/_powitf2-compat.c: Moved to ...
9255 * config/i386/64/_powitf2.c: Here.
9256
9257 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
9258 .c suffix instead of -compat.c.
9259
6e1fab3d
UB
92602008-07-05 Uros Bizjak <ubizjak@gmail.com>
9261
9262 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
9263 (_FP_MUL_MEAT_D): Ditto.
9264 (_FP_DIV_MEAT_S): Ditto.
9265 (_FP_DIV_MEAT_D): Ditto.
9266
f92518d7
RS
92672008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
9268
9269 * Makefile.in: Add support for __sync_* libgcc functions.
9270
d0aede14
L
92712008-07-03 H.J. Lu <hongjiu.lu@intel.com>
9272
9273 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
9274
c174f11c
L
92752008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9276
9277 PR boostrap/36702
9278 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
9279 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
9280
9281 * config/i386/64/t-fprules-softfp: Moved to ...
9282 * config/i386/64/t-softfp-compat: This. New.
9283
5f464fa2
UB
92842008-07-02 Uros Bizjak <ubizjak@gmail.com>
9285
9286 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
9287 Initialize f with 0.0.
9288
ff473280
L
92892008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9290
9291 PR target/36669
9292 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
9293
9294 * config/i386/64/_divtc3-compat.c: New.
9295 * config/i386/64/_multc3-compat.c: Likewise.
9296 * config/i386/64/_powitf2-compat.c: Likewise.
9297 * config/i386/64/eqtf2.c: Likewise.
9298 * config/i386/64/getf2.c: Likewise.
9299 * config/i386/64/letf2.c: Likewise.
9300 * config/i386/64/t-fprules-softfp: Likewise.
9301
93022008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9303
9304 * config.host: Add i386/${host_address}/t-fprules-softfp to
9305 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
dfb3b0e3 9306 i[34567]86-*-linux*, x86_64-*-linux*.
ff473280
L
9307
9308 * configure.ac: Set host_address to 64 or 32 for x86.
9309 * configure: Regenerated.
9310
9311 * Makefile.in (config.status): Also depend on
9312 $(srcdir)/config.host.
9313
9314 * config/i386/32/t-fprules-softfp: New.
9315 * config/i386/32/tf-signs.c: Likewise.
9316
9317 * config/i386/64/sfp-machine.h: New. Moved from gcc.
9318
93192008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9320 Uros Bizjak <ubizjak@gmail.com>
9321
9322 * config/i386/32/sfp-machine.h: New.
9323
30551d99
NF
93242008-06-26 Nathan Froyd <froydnj@codesourcery.com>
9325
9326 * config/rs6000/t-ppccomm: Remove rules that conflict with
9327 auto-generated rules.
9328
18c04407
RW
93292008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9330
9331 * configure.ac: sinclude override.m4.
9332 * configure: Regenerate.
9333
10fbe77a
BRF
93342008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
9335
9336 * configure: Regenerate.
9337
bc6d4c3f
JM
93382008-06-10 Joseph Myers <joseph@codesourcery.com>
9339
9340 * Makefile.in (DECNUMINC): Remove
9341 -I$(MULTIBUILDTOP)../../libdecnumber.
9342 * gstdint.h: New.
9343
cd985f66
JM
93442008-06-07 Joseph Myers <joseph@codesourcery.com>
9345
9346 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
9347 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
9348 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
9349 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
9350 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
9351 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
9352 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
9353 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
9354 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
9355 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
9356 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
9357 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
9358 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
9359 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
9360
93fea8d3
AL
93612008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
9362
9363 * config.host (sh2[lbe]*-*-linux*): Allow target.
9364
18724e30
NF
93652008-04-30 Nathan Froyd <froydnj@codesourcery.com>
9366
9367 * config/rs6000/t-ppccomm: Add build rules for new files.
9368 (LIB2ADD_ST): New variable.
9369
47583040
AH
93702008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
9371
9372 PR target/34210
9373 PR target/35508
9374 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
9375 * config/t-avr: New file. Build 16bit libgcc functions.
9376
cf8e67fe
JJ
93772008-03-02 Jakub Jelinek <jakub@redhat.com>
9378
9379 PR target/35401
9380 * config/t-slibgcc-darwin: Make install-leaf dependent on
9381 install-darwin-libgcc-stubs instead of install.
9382
8d8da227
JM
93832008-01-25 Joseph Myers <joseph@codesourcery.com>
9384
9385 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
9386 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
9387 sh-*-rtemscoff*): Remove cases.
9388
edbf8b16
RS
93892007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
9390
9391 * Makefile.in (all): Use install-leaf rather than install.
9392 (install): Split most of the rule into...
9393 (install-leaf): ...this new one.
9394
89deeaff
EK
93952007-12-19 Etsushi Kato <ek.kato@gmail.com>
9396 Paolo Bonzini <bonzini@gnu.org>
9397
9398 PR target/30572
5f464fa2
UB
9399 * Makefile.in: Use @shlib_slibdir@ substitution to get
9400 correct install name on darwin.
89deeaff 9401 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
dfb3b0e3 9402
4081d704
HPN
94032007-12-15 Hans-Peter Nilsson <hp@axis.com>
9404
9405 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
9406 cris-*-elf and cris-*-none.
9407 (crisv32-*-linux*): Similar, as cris-*-linux*.
9408
f43e89a3
RIL
94092007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
9410
9411 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
9412
b4e9c2c6
L
94132007-10-27 H.J. Lu <hongjiu.lu@intel.com>
9414
9415 PR regression/33926
9416 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
9417 * configure: Regenerated.
9418
b2a00c89
L
94192007-09-27 H.J. Lu <hongjiu.lu@intel.com>
9420
9421 * Makefile.in (dfp-filenames): Replace decimal_globals,
9422 decimal_data, binarydecimal and convert_data with
9423 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
9424 and bid_convert_data, respectively.
9425
8d2a9e0e
CF
94262007-09-17 Chao-ying Fu <fu@mips.com>
9427 Nigel Stephens <nigel@mips.com>
9428
9429 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
9430 * Makefile.in (fixed_point): Define.
9431 Check if fixed_point is yes to build support functions.
9432 * configure.ac: Check for fixed_point support.
9433 * configure: Regenerated.
9434 * gen-fixed.sh: New file to generate lists of fixed-point labels,
9435 funcs, modes, from, to.
9436
2b53935d
JJ
94372007-09-11 Janis Johnson <janis187@us.ibm.com
9438
9439 * Makefile.in (dfp-filenames): Add bid128_noncomp.
9440
2533577f
JJ
94412007-09-10 Janis Johnson <janis187@us.ibm.com>
9442
9443 * Makefile.in (dfp-filenames): Remove decUtility, add
9444 decDouble, decPacked, decQuad, decSingle.
9445
3ae3dbd6
HK
94462007-08-27 Hans Kester <hans.kester@ellips.nl>
9447
9448 * config.host : Add x86_64-elf target.
9449
22867d02
L
94502007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9451
9452 * configure.ac (set_have_cc_tls): Add a missing =.
9453 * configure: Regenerated.
9454
6f461e76
L
94552007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9456
9457 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
9458 and x86_64-*-linux*.
9459
9460 * config/t-tls: New file.
9461
dfb3b0e3 9462 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6f461e76
L
9463
9464 * configure.ac: Include ../config/enable.m4 and
9465 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
9466 supports TLS and substitute set_have_cc_tls.
9467 * configure: Regenerated.
9468
200359e8
L
94692007-07-04 H.J. Lu <hongjiu.lu@intel.com>
9470
9471 * Makefile.in: Use libbid for DFP when BID is enabled.
9472
76f5e200
DS
94732007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
9474
9475 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
dfb3b0e3 9476 extra_parts. Add config/i386/t-cygming to tmake_file.
76f5e200
DS
9477 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
9478
9bd196f0 94792007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
200359e8 9480 Danny Smith <dannysmith@users.sourceforge.net>
9bd196f0
ZM
9481
9482 PR target/29498
9483 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
9484 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
9485 * config/i386/t-crtfm: Compile crtfastmath.o with
9486 -minline-all-stringops.
9487
1910440e
RS
94882007-05-10 Richard Sandiford <richard@codesourcery.com>
9489
9490 * config.host (sparc-wrs-vxworks): New target.
9491
7d33c31d
KH
94922007-04-14 Kazu Hirata <kazu@codesourcery.com>
9493
9494 * config.host: Recognize fido.
9495
96fccd0d
JJ
94962007-04-04 Janis Johnson <janis187@us.ibm.com>
9497
9498 * configure: Check host, not target, for decimal float support.
9499
577565f9
UB
95002007-04-03 Uros Bizjak <ubizjak@gmail.com>
9501
9502 * config/i386/t-crtpc: New file.
9503 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5f464fa2 9504 (x86_64-*-linux*): Ditto.
577565f9 9505
ccf8e764
RH
95062007-02-30 Kai Tietz <kai.tietz@onevision.com>
9507
9508 * config.host (x86_64-*-mingw*): New target.
9509
79b87c74
MM
95102007-03-23 Michael Meissner <michael.meissner@amd.com>
9511 H.J. Lu <hongjiu.lu@intel.com>
9512
9513 * Makefile.in (enable_decimal_float): New.
9514 (DECNUMINC): Add
9515 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
9516 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
9517 (decbits-filenames): This.
9518 (decbits-objects): New.
9519 (libgcc-objects): Add $(decbits-objects).
9520
9521 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
9522 Substitute enable_decimal_float.
9523 * configure: Regenerated.
9524
8fce4e31
HPN
95252007-03-19 Hans-Peter Nilsson <hp@axis.com>
9526
9527 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
9528
e8bb4597
BM
95292007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
9530
9531 * Makefile.in (install-info): New dummy target.
9532
344189f9
BS
95332007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
9534
9535 * config.host (bfin*-linux-uclibc*): Set extra_parts.
9536
ac84c172
BM
95372007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
9538
9539 * Makefile.in: Add install-html and install-pdf dummy
9540 targets.
9541
cd5c2357
RS
95422007-02-05 Roger Sayle <roger@eyesopen.com>
9543 Daniel Jacobowitz <dan@codesourcery.com>
9544
9545 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
9546 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
9547 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
9548
d9a66f98
JJ
95492007-01-29 Janis Johnson <janis187@us.ibm.com>
9550
9551 * Makefile.in (dec-filenames): Add decExcept.
9552
9891ec5f
DJ
95532007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
9554
9555 PR bootstrap/30469
9556 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
9557 -fprofile-use.
9558
d6efbf5a
DJ
95592007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
9560
9561 * configure.ac: Add --enable-version-specific-runtime-libs.
9562 Correct $slibdir default.
9563 * configure: Regenerated.
9564
17caeff2
JM
95652007-01-23 Joseph Myers <joseph@codesourcery.com>
9566
9567 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
9568
5ea41e3a
AP
95692007-01-21 Andrew Pinski <pinskia@gmail.com>
9570
9571 PR target/30519
9572 * config.host (alpha*-*-linux*): Set extra_parts.
9573
26900826
KK
95742007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
9575
9576 * config/sh/t-linux: New.
9577 * config.host (sh*-*-linux*): Set tmake_file.
9578
97af925b
DJ
95792007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
9580
9581 * Makefile.in (install): Handle multilibs.
9582
b0088af7
BM
95832007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
9584
9585 * Makefile.in: Added .PHONY entry for documentation targets.
9586
e0a9456a
BM
95872007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
9588
9589 * Makefile.in: Add empty info, html, dvi, pdf targets.
9590
7fd453b4
MS
95912007-01-04 Mike Stump <mrs@apple.com>
9592
9593 * Makefile.in (MAKEINFO): Remove.
9594 (PERL): Likewise.
9595
14e8fc8b
PB
95962007-01-04 Paolo Bonzini <bonzini@gnu.org>
9597
9598 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
9599 * configure: Regenerate.
9600 * Makefile.in (host_subdir): Substitute it.
dfb3b0e3 9601 (gcc_objdir): Use it.
14e8fc8b 9602
1555beba
DJ
96032007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9604
9605 * config.host (ia64*-*-linux*): Set tmake_file.
9606
79e6eaeb
DJ
96072007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9608
9609 * Makefile.in (version): Define.
9610
fa958513
DJ
96112007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
9612 Paolo Bonzini <bonzini@gnu.org>
9613
9614 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
9615 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
9616 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
9617 config/sparc/t-crtfm, config/t-slibgcc-darwin,
9618 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
9619 shared-object.mk, siditi-object.mk, static-object.mk: New files.
9620 * configure: Generated.
818ab71a 9621\f
85ec4feb 9622Copyright (C) 2007-2018 Free Software Foundation, Inc.
818ab71a
JJ
9623
9624Copying and distribution of this file, with or without modification,
9625are permitted in any medium without royalty provided the copyright
9626notice and this notice are preserved.