]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
c++: fix ICE on invalid attributes [PR96637]
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
57f2ce6a
GA
12022-05-20 Christophe Lyon <christophe.lyon@arm.com>
2
3 * Makefile.in (D32PBIT_FUNCS): Add _hf_to_sd and _sd_to_hf.
4 (D64PBIT_FUNCS): Add _hf_to_dd and _dd_to_hf.
5 (D128PBIT_FUNCS): Add _hf_to_td _td_to_hf.
6
72022-05-20 Christophe Lyon <christophe.lyon@arm.com>
8
9 * config.host: Add t-dfprules to AArch64 targets.
10
112022-05-20 Christophe Lyon <christophe.lyon@arm.com>
12
13 * configure: Regenerate.
14
9df4ffe4
GA
152022-05-13 Sebastian Pop <spop@amazon.com>
16
17 PR target/105162
18 * config/aarch64/lse.S: Define BARRIER and handle memory MODEL 5.
19 * config/aarch64/t-lse: Add a 5th memory model for _sync functions.
20
e8778989
GA
212022-05-10 Martin Liska <mliska@suse.cz>
22 Hans-Peter Helfert <peter-helfert@t-online.de>
23
24 PR gcov-profile/105535
25 * libgcov.h (struct gcov_info): Use gcov_unsigned_t for
26 n_functions.
27
6259d8aa
GA
282022-05-02 Martin Liska <mliska@suse.cz>
29
30 * libgcov-driver.c: Add ATTRIBUTE_UNUSED.
31
6b6f53d8
GA
322022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
33
34 * libgcov-util.c (ftw_read_file): Improve notice using xstrerror().
35 (gcov_profile_merge_stream): Likewise.
36
372022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
38
39 * libgcov-util.c (consume_stream): New.
40 (get_target_profiles_for_merge): Likewise.
41 (gcov_profile_merge_stream): Likewise.
42
432022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
44
45 * libgcov-util.c (ftw_read_file): Use size_t for strlen() variables.
46
472022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
48
49 * libgcov-util.c (read_gcda_file): Do not open file.
50 (ftw_read_file): Open file here.
51
522022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
53
54 * libgcov-util.c (read_gcda_file): Prepend new info object to global
55 list.
56 (ftw_read_file): Remove list append here.
57
582022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
59
60 * libgcov-util.c (read_gcda_file): Do not duplicate filename.
61 (ftw_read_file): Duplicate filename for read_gcda_file().
62
632022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
64
65 * gcov.h (__gcov_info_to_gcda): Mention __gcov_filename_to_gcfn().
66 (__gcov_filename_to_gcfn): Declare and document.
67 * libgcov-driver.c (dump_string): New.
68 (__gcov_filename_to_gcfn): Likewise.
69 (__gcov_info_to_gcda): Adjust comment to match C11 standard language.
70
712022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
72
73 * libgcov.h (gcov_seek): Remove define and declaration.
74
752022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
76
77 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Add mode
78 parameter. Pass mode to gcov_open() calls.
79 * libgcov-driver.c (dump_one_gcov): Add mode parameter. Pass mode to
80 gcov_exit_open_gcda_file() call.
81 (gcov_do_dump): Add mode parameter. Pass mode to dump_one_gcov()
82 calls.
83 (__gcov_dump_one): Open file for reading and writing.
84
852022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
86
87 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Open file for
88 reading and writing.
89 * libgcov-util.c (read_gcda_file): Open file for reading.
90 * libgcov.h (gcov_open): Delete declaration.
91
922022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
93
94 * libgcov-util.c (gcov_profile_merge): Return the list of merged
95 profiles. Accept empty target and source profile lists.
96
405eda0d
GA
972022-04-08 Sergei Trofimovich <siarheit@google.com>
98
99 * config/ia64/fde-glibc.c: Make a no-op in inhibit_libc mode.
100
9f774626
GA
1012022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
102 Lulu Cheng <chenglulu@loongson.cn>
103
104 * configure: Regenerate file.
105
1062022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
107 Lulu Cheng <chenglulu@loongson.cn>
108
109 * config/loongarch/crtfastmath.c: New file.
110 * config/loongarch/linux-unwind.h: Like wise.
111 * config/loongarch/sfp-machine.h: Like wise.
112 * config/loongarch/t-crtstuff: Like wise.
113 * config/loongarch/t-loongarch: Like wise.
114 * config/loongarch/t-loongarch64: Like wise.
115 * config/loongarch/t-softfp-tf: Like wise.
116 * config.host: Add LoongArch tuples.
117 * configure.ac: Add LoongArch support.
118
d7f00da1
GA
1192022-03-19 Sergei Trofimovich <slyfox at gentoo dot org>
120
121 PR libgcc/86224
122 * config/m68k/lb1sf68.S (__mulsi3_internal): Internal, hidden alias
123 for __mulsi3.
124 (__udivsi3_internal, __divsi3_internal): Similarly.
125 (__umodsi3, __modsi3): Use the internal function names.
126
8cc4f9cd
GA
1272022-03-09 Tobias Burnus <tobias@codesourcery.com>
128
129 PR target/102215
130 * config/gcn/atomic.c (__sync_val_compare_and_swap_##SIZE): Move
131 a line up to non-arg-dependent value first.
132 (__ATOMIC_COMPARE_EXCHANGE): Define + call to generate
133 __atomic_compare_exchange_{1,2}.
134
8d96e14c
GA
1352022-03-04 Iain Sandoe <iain@sandoe.co.uk>
136
137 * config/rs6000/t-darwin-ehs: Add darwin-fallback.o.
138 * config/t-darwin-ehs: Add dependency on unwind.h.
139
756a6185
GA
1402022-02-24 Xi Ruoyao <xry111@mengyan1223.wang>
141
142 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call find_fde_tail
143 with 0 instead of NULL.
144
1452022-02-24 Jose E. Marchesi <jose.marchesi@oracle.com>
146
147 PR target/104656
148 * configure.ac: --disable-gcov if targetting bpf-*.
149 * configure: Regenerate.
150
e0b8716f
GA
1512022-01-25 Florian Weimer <fweimer@redhat.com>
152
153 PR libgcc/104207
154 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Add NULL check.
155
fc829782
GA
1562022-01-17 Martin Liska <mliska@suse.cz>
157
158 * libgcov-driver.c: Rename .c names to .cc.
159
9248ee41
GA
1602022-01-15 David <gccbugzilla@limegreensocks.com>
161
162 * config/i386/gthr-win32.c (__gthr_i486_lock_cmp_xchg):
163 Remove inlined version, Windows 95 is no longer relevant.
164 * config/i386/gthr-win32.h
165 (__GTHREAD_I486_INLINE_LOCK_PRIMITIVES): unset.
166
617db51d
GA
1672022-01-14 Claudiu Zissulescu <claziss@synopsys.com>
168
169 * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
170 DWARF_ALT_FRAME_RETURN_COLUMN macro.
171
7d11b64b
GA
1722022-01-04 Florian Weimer <fweimer@redhat.com>
173
174 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call _dl_find_object
175 if available.
176
5da23a13
GA
1772022-01-02 John David Anglin <danglin@gcc.gnu.org>
178
179 * config/pa/linux-atomic.c (_ASM_EFAULT): Define.
180 (__kernel_cmpxchg): Nullify illegal iitlbp instruction if error
181 return is not equal _ASM_EFAULT.
182 (__kernel_cmpxchg2): Likewise.
183
2554e2da
GA
1842021-12-17 Iain Sandoe <iain@sandoe.co.uk>
185
186 * config.host: Add shim declaration header to powerpc*-darwin builds.
187 * config/rs6000/t-darwin-ehs: Remove dependency on the powerpc end
188 file.
189 * config/t-darwin-ehs: Add dependencies to the shared unwinder
190 objects.
191 * config/t-slibgcc-darwin: Add extra_parts to the dependencies for
192 the shared EH lib. Add all-multi to the dependencies for the
193 libgcc_s.1.dylib redirections.
194
7f1239cb
GA
1952021-12-13 Olivier Hainque <hainque@adacore.com>
196
197 * config.host (powerpc*-*-vxworks7*): Remove
198 rs6000/t-linux and t-slibgcc-libgcc from tmake_file.
199
2002021-12-13 Olivier Hainque <hainque@adacore.com>
201
202 * config.host (*vxworks*): Remove special case for
203 arm on the use of vxcrtstuff.
204
2052021-12-13 Fred Konrad <konrad@adacore.com>
206 Olivier Hainque <hainque@adacore.com>
207
208 * config/t-vxcrtstuffS: New Makefile fragment.
209 * config/vxcrtstuff.c: Provide __dso_handle. Provide _init/_fini
210 functions for INITFINI_ARRAY support in shared libs and guard
211 the definition of eh table registration functions on conditions
212 indicating they are needed.
213
2142021-12-13 Olivier Hainque <hainque@adacore.com>
215
216 * config.host (powerpc*-wrs-vxworks7*): Place t-crtstuff
217 ahead of the other files in tmake_files.
218 * config/t-vxworks: Add to CRTSTUFF_T_CFLAGS instead of
219 overriding it.
220
2212021-12-13 Olivier Hainque <hainque@adacore.com>
222
223 * config/t-vxworks (LIBGCC2_INCLUDES): Simplify and handle
224 both VxWorks7 and earlier.
225 * config/t-vxworks7: Remove.
226 * config.host: Remove special case for vxworks7.
227
e8decbe7
GA
2282021-12-11 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
229
230 * config/vxcrtstuff.c: Make constructor and destructor
231 functions static when possible.
232
2332021-12-11 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
234
235 * config/vxcrtstuff.c: Remove constructor/destructor
236 declarations.
237
0bceef16
GA
2382021-12-10 Iain Sandoe <iain@sandoe.co.uk>
239
240 * config/t-darwin: Add libgcc_tm.h to the dependencies
241 for darwin10-unwind-find-enc-func.
242
2432021-12-10 Rasmus Villemoes <rv@rasmusvillemoes.dk>
244
245 * config/rs6000/t-vxworks: New file.
246 * config.host (powerpc*-*-vxworks*): Use it instead of
247 t-ppccomm.
248
4b4839e3
GA
2492021-12-09 Fred Konrad <konrad@adacore.com>
250
251 * config.host (powerpc*-wrs-vxworks7*): Fix path to
252 rs6000/t-ppc64-fp, relative to config/ not libgcc/.
253
2542021-12-09 Olivier Hainque <hainque@adacore.com>
255 Rasmus Villemoes <rv@rasmusvillemoes.dk>
256
257 * config/t-vxworks: Set CRTSTUFF_T_CFLAGS to
258 $(LIBGCC2_INCLUDES).
259 * config/t-vxworks7: Likewise.
260
641ff219
GA
2612021-12-08 Iain Sandoe <iain@sandoe.co.uk>
262
263 * config.host (*-*-darwin*): Add logic to build a shared
264 unwinder library for Darwin8-10.
265 * config/i386/t-darwin: Build legacy libgcc_s.1.
266 * config/rs6000/t-darwin: Likewise.
267 * config/t-darwin: Reorganise the EH fragments to place
268 them for inclusion in a shared EH lib.
269 * config/t-slibgcc-darwin: Build a legacy libgcc_s.1 and
270 the supporting pieces (all FAT libs).
271 * config/t-darwin-noeh: Removed.
272 * config/darwin-unwind.ver: New file.
273 * config/rs6000/t-darwin-ehs: New file.
274 * config/t-darwin-ehs: New file.
275
3a580f96
GA
2762021-12-06 Nelson Chu <nelson.chu@sifive.com>
277
278 * config/riscv/div.S: Add the hidden alias symbol for __udivdi3, and
279 then use HIDDEN_JUMPTARGET to target it since it is non-preemptible.
280 * config/riscv/riscv-asm.h: Added new macros HIDDEN_JUMPTARGET and
281 HIDDEN_DEF.
282
c177e806
GA
2832021-11-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
284
285 * config/vxcrtstuff.c: Undefine caddr_t, pid_t, rlim_t,
286 ssize_t and vfork after including auto-host.h.
287
87cd82c8
GA
2882021-11-29 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
289
290 * config.host (powerpc-wrs-vxworks): Do not add crtbegin.o and
291 crtend.o to extra_parts.
292
d62c8c74
GA
2932021-11-27 John David Anglin <danglin@gcc.gnu.org>
294
295 * config/pa/t-dimode (lib2difuncs): Fix typo.
296
091ccc06
GA
2972021-11-25 Florian Weimer <fweimer@redhat.com>
298
299 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Add hdr.
300 Remove func, ret.
301 (find_fde_tail): New function. Split from
302 _Unwind_IteratePhdrCallback. Move the result initialization
303 from _Unwind_Find_FDE.
304 (_Unwind_Find_FDE): Updated to call find_fde_tail.
305
06be28f6
GA
3062021-11-22 Florian Weimer <fweimer@redhat.com>
307
308 * unwind-dw2-fde-dip.c (NEED_DBASE_MEMBER): Define.
309 (struct unw_eh_callback_data): Make dbase member conditional.
310 (unw_eh_callback_data_dbase): New function.
311 (base_from_cb_data): Simplify for the non-dbase case.
312 (_Unwind_IteratePhdrCallback): Adjust.
313 (_Unwind_Find_FDE): Likewise.
314
3152021-11-22 Florian Weimer <fweimer@redhat.com>
316
317 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Remove
318 tbase member.
319 (base_from_cb_data): Adjust.
320 (_Unwind_IteratePhdrCallback): Likewise.
321 (_Unwind_Find_FDE): Likewise.
322
9c077398
GA
3232021-11-19 Iain Sandoe <iain@sandoe.co.uk>
324
325 * config.host: Add weak emutls crt to the extra_parts.
326 * config/i386/darwin-lib.h (DECLARE_LIBRARY_RENAMES): Remove
327 workaround.
328 * config/libgcc-libsystem.ver: Add exclude list for the system-
329 provided unwinder.
330 * config/t-slibgcc-darwin: Bump SO version, remove stubs code.
331 * config/i386/libgcc-darwin.10.4.ver: Removed.
332 * config/i386/libgcc-darwin.10.5.ver: Removed.
333 * config/rs6000/libgcc-darwin.10.4.ver: Removed.
334 * config/rs6000/libgcc-darwin.10.5.ver: Removed.
335 * config/t-darwin-noeh: New file.
336
3372021-11-19 Iain Sandoe <iain@sandoe.co.uk>
338
339 * config/t-darwin: Build weak-defined emutls objects.
340 * emutls.c (__emutls_get_address): Add optional attributes.
341 (__emutls_register_common): Likewise.
342 (EMUTLS_ATTR): New.
343
b39265d4
GA
3442021-11-11 Raphael Moreira Zinsly <rzinsly@linux.ibm.com>
345
346 PR libgcc/103044
347 * config/rs6000/linux-unwind.h (ppc_backchain_fallback): Check if it's
348 called with a null argument or at the end of the backtrace and return.
349 * unwind.inc (_Unwind_ForcedUnwind_Phase2): Treat _URC_NORMAL_STOP.
350
8d36a0d2
GA
3512021-11-10 Jakub Jelinek <jakub@redhat.com>
352
353 * config/rs6000/linux-unwind.h (ppc_back_fallback): Make it static,
354 formatting fix.
355
851dff04
GA
3562021-11-05 Iain Sandoe <iain@sandoe.co.uk>
357
358 * config/darwin10-unwind-find-enc-func.c: Include libgcc_tm.h.
359 * config/i386/darwin-lib.h: Declare Darwin10 crt function.
360
3612021-11-05 John David Anglin <danglin@gcc.gnu.org>
362
363 PR libgomp/96661
364 * config.host (hppa*64*-*-linux*): Revise tmake_file.
365 (hppa*64*-*-hpux11*): Likewise.
366 * config/pa/sfp-exceptions.c: New.
367 * config/pa/sfp-machine.h: New.
368 * config/pa/t-dimode: New.
369 * config/pa/t-softfp-sfdftf: New.
370
04a2cf3f
GA
3712021-10-27 John David Anglin <danglin@gcc.gnu.org>
372
373 * config.host (hppa*64*-*-linux*): Don't add pa/t-linux to
374 tmake_file.
375 * config/pa/linux-atomic.c: Define u8, u16 and u64 types.
376 Use them in FETCH_AND_OP_2, OP_AND_FETCH_2, COMPARE_AND_SWAP_2,
377 SYNC_LOCK_TEST_AND_SET_2 and SYNC_LOCK_RELEASE_1 macros.
378 * config/pa/t-linux64 (LIB1ASMSRC): New define.
379 (LIB1ASMFUNCS): Revise.
380 (HOST_LIBGCC2_CFLAGS): Add "-DLINUX=1".
381
c2bd5d8a
GA
3822021-10-22 Stafford Horne <shorne@gmail.com>
383
384 * config/or1k/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
385 Change to 0.
386
5d5885c9
GA
3872021-10-14 Raphael Moreira Zinsly <rzinsly@linux.ibm.com>
388
389 * config/rs6000/linux-unwind.h (struct rt_sigframe): Move it to
390 outside of get_regs() in order to use it in another function, this
391 is done twice: for __powerpc64__ and for !__powerpc64__.
392 (struct trace_arg): New struct.
393 (struct layout): New struct.
394 (ppc_backchain_fallback): New function.
395 * unwind.inc (_Unwind_Backtrace): Look for _URC_NORMAL_STOP code
396 state and call MD_BACKCHAIN_FALLBACK.
397
9eb28a0f
GA
3982021-10-13 Martin Liska <mliska@suse.cz>
399
400 PR gcov-profile/90364
401 * libgcov-driver.c (merge_one_data): Skip timestamp and verify
402 checksums.
403 (write_one_data): Write also checksum.
404 * libgcov-util.c (read_gcda_file): Read also checksum field.
405 * libgcov.h (struct gcov_info): Add new field.
406
ce6eec39
GA
4072021-10-08 Ian Lance Taylor <iant@golang.org>
408
409 * config/i386/morestack.S: Use .init_array for constructor if
410 available.
411 * config/rs6000/morestack.S: Likewise.
412 * config/s390/morestack.S: Likewise.
413
154fd089
GA
4142021-10-03 Patrick McGehearty <patrick.mcgehearty@oracle.com>
415
416 PR target/101104
417 * libgcc2.c (RMIN2, RMINSCAL, RMAX2):
418 Use more correct values for native IBM 128-bit.
419
fd133479
GA
4202021-09-28 Iain Sandoe <iain@sandoe.co.uk>
421
422 * config/i386/libgcc-darwin.ver: Add Symbols for
423 __cpu_model, __cpu_indicator_init.
424
e4777439
GA
4252021-09-22 Iain Sandoe <iain@sandoe.co.uk>
426
427 * config/i386/sfp-machine.h: Guard Mach-O-specific code
428 using __APPLE__.
429
34fac9ef
GA
4302021-09-19 Iain Sandoe <iain@sandoe.co.uk>
431
432 * config/t-slibgcc-darwin: Delete unused code.
433
4342021-09-19 Iain Sandoe <iain@sandoe.co.uk>
435
436 * config/i386/t-darwin: Add in a vers file for X86-specific
437 symbols.
438 * config/t-darwin: Add the generic symbol maps here...
439 * config/t-slibgcc-darwin: ... removing from here.
440 * config/i386/libgcc-darwin.ver: New file.
441
4422021-09-19 Iain Sandoe <iain@sandoe.co.uk>
443
444 * config/i386/t-softfp: Exclude libgcc2 versions of __divhc3
445 and __mulhc3.
446
4472021-09-19 Iain Sandoe <iain@sandoe.co.uk>
448
449 * config.host: Use convenience library for Darwin10
450 unwinder shim.
451 * config/t-darwin: Build Darwin10 unwinder shim as a
452 convenience library.
453
07985c47
GA
4542021-09-13 Andrew Pinski <apinski@marvell.com>
455
456 * config.host: Remove m32r-*-linux* and m32rle-*-linux*.
457 * config/m32r/libgcc-glibc.ver: Removed.
458 * config/m32r/t-linux: Removed.
459
b6db7cd4
GA
4602021-09-08 liuhongt <hongtao.liu@intel.com>
461
462 * config/i386/t-softfp: Compile __{mul,div}hc3 into
463 libgcc_s.so.1.
464
4652021-09-08 Jakub Jelinek <jakub@redhat.com>
466 Iain Sandoe <iain@sandoe.co.uk>
467
468 * config/i386/libgcc-glibc.ver: Add %inherit GCC_12.0.0 GCC_7.0.0
469 and export *hf* and *hc* functions at GCC_12.0.0.
470
9f99555f
GA
4712021-09-06 liuhongt <hongtao.liu@intel.com>
472
473 * Makefile.in: Adjust to support specific CFLAGS for each
474 libgcc source file.
475 * config/i386/64/t-softfp: Explicitly add -msse2 for HF
476 related libgcc source files.
477 * config/i386/t-softfp: Ditto.
478 * config/i386/_divhc3.c: New file.
479 * config/i386/_mulhc3.c: New file.
480
7b739540
GA
4812021-09-03 Iain Sandoe <iain@sandoe.co.uk>
482
483 * config/i386/sfp-machine.h (alias_HFtype, alias_SFtype
484 alias_DFtype, alias_TFtype): New.
485 (ALIAS_SELECTOR): New.
486 (strong_alias): Use __typeof and a _Generic selector to
487 provide the type to the synthesized function.
488
9f7c2bad
GA
4892021-09-02 liuhongt <hongtao.liu@intel.com>
490
491 * config/i386/32/sfp-machine.h (_FP_NANFRAC_H): New macro.
492 * config/i386/64/sfp-machine.h (_FP_NANFRAC_H): Ditto.
493 * config/i386/sfp-machine.h (_FP_NANSIGN_H): Ditto.
494 * config/i386/t-softfp: Add hf soft-fp.
495 * config.host: Add i386/64/t-softfp.
496 * config/i386/64/t-softfp: New file.
497
4982021-09-02 liuhongt <hongtao.liu@intel.com>
499
500 * soft-fp/eqhf2.c: New file.
501 * soft-fp/extendhfdf2.c: New file.
502 * soft-fp/extendhfsf2.c: New file.
503 * soft-fp/half.h (FP_CMP_EQ_H): New marco.
504 * soft-fp/truncdfhf2.c: New file
505 * soft-fp/truncsfhf2.c: New file
506
e11c6046
GA
5072021-09-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
508
509 * unwind-arm-common.inc (abort): Remove.
510
6d51ee43
GA
5112021-08-31 Richard Sandiford <richard.sandiford@arm.com>
512
513 * config/aarch64/value-unwind.h: Add missing runtime exception
514 paragraph.
515 * config/frv/frv-abi.h: Likewise.
516 * config/i386/value-unwind.h: Likewise.
517 * config/pa/pa64-hpux-lib.h: Likewise.
518
ccc19145
GA
5192021-08-26 David Edelsohn <dje.gcc@gmail.com>
520
521 * config/rs6000/ibm-ldouble.c (ldouble_qadd_internal): Rename from
522 __gcc_qadd.
523 (__gcc_qadd): Call ldouble_qadd_internal.
524 (__gcc_qsub): Call ldouble_qadd_internal with second long double
525 argument negated.
526
5272021-08-26 Jonathan Yong <10walls@gmail.com>
528
529 * config/i386/cygming-crtend.c: Fix register_frame_ctor
530 and register_frame_dtor warnings.
531
05ace294
GA
5322021-08-24 Richard Earnshaw <rearnsha@arm.com>
533
534 PR target/102035
535 * config/arm/cmse_nonsecure_call.S (__gnu_cmse_nonsecure_call):
536 Add vlldm erratum work-around.
537
4be4fa4e
GA
5382021-08-21 John David Anglin <danglin@gcc.gnu.org>
539
540 * config.host: Remove extra_parts from hppa[12]*-*-hpux11* case.
541
9d1d9fc8
GA
5422021-08-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
543
544 * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
545 (gcov_type_unsigned): Likewise.
546
7dd8f198
GA
5472021-08-14 Stafford Horne <shorne@gmail.com>
548
549 PR target/99783
550 * config.host (or1k-*, tmake_file): Add or1k/t-crtstuff.
551 * config/or1k/t-crtstuff: New file.
552
f92f4778
GA
5532021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
554
555 * libgcov-driver.c (#include <stdint.h>): Remove.
556 (write_topn_counters): Use __INTPTR_TYPE__ instead of intptr_t.
557
5582021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
559
560 * Makefile.in (LIBGCOV_DRIVER): Add _gcov_info_to_gcda.
561 * gcov.h (gcov_info): Declare.
562 (__gcov_info_to_gdca): Likewise.
563 * libgcov.h (gcov_write_counter): Remove.
564 (gcov_write_tag_length): Likewise.
565 * libgcov-driver.c (#include <stdint.h>): New.
566 (#include <string.h>): Remove.
567 (NEED_L_GCOV): Conditionally define.
568 (NEED_L_GCOV_INFO_TO_GCDA): Likewise.
569 (are_all_counters_zero): New.
570 (gcov_dump_handler): Likewise.
571 (gcov_allocate_handler): Likewise.
572 (dump_unsigned): Likewise.
573 (dump_counter): Likewise.
574 (write_topn_counters): Add dump_fn, allocate_fn, and arg parameters.
575 Use dump_unsigned() and dump_counter().
576 (write_one_data): Add dump_fn, allocate_fn, and arg parameters. Use
577 dump_unsigned(), dump_counter(), and are_all_counters_zero().
578 (__gcov_info_to_gcda): New.
579
8ebf4fb5
GA
5802021-08-05 Jakub Jelinek <jakub@redhat.com>
581
582 * config/t-slibgcc (SHLIB_LINK): Add $(LDFLAGS).
583 * config/t-slibgcc-darwin (SHLIB_LINK): Likewise.
584 * config/t-slibgcc-vms (SHLIB_LINK): Likewise.
585 * config/t-slibgcc-fuchsia (SHLIB_LDFLAGS): Remove $(LDFLAGS).
586
2697f832
GA
5872021-08-04 Jakub Jelinek <jakub@redhat.com>
588
589 * config/t-slibgcc-fuchsia: Undo doubly applied patch.
590
d97d71a1
GA
5912021-07-15 Alan Modra <amodra@gmail.com>
592
593 * config/rs6000/morestack.S (R2_SAVE): Define.
594 (__morestack): Save and restore r2. Set up r2 for called
595 functions.
596
bea7c16a
GA
5972021-07-01 H.J. Lu <hjl.tools@gmail.com>
598
599 * soft-fp/extendhfxf2.c: New file.
600 * soft-fp/truncxfhf2.c: Likewise.
601
6bc18203
GA
6022021-06-29 Julian Brown <julian@codesourcery.com>
603
604 * config/gcn/lib2-bswapti2.c: New file.
605 * config/gcn/lib2-divmod-di.c: New file.
606 * config/gcn/lib2-gcn.h (DItype, UDItype, TItype, UTItype): Add
607 typedefs.
608 (__divdi3, __moddi3, __udivdi3, __umoddi3): Add prototypes.
609 * config/gcn/t-amdgcn (LIB2ADD): Add lib2-divmod-di.c and
610 lib2-bswapti2.c.
611
6122021-06-29 Julian Brown <julian@codesourcery.com>
613
614 * config/gcn/lib2-divmod.c (__udivsi3, __umodsi3): Change argument and
615 return types to USItype.
616 * config/gcn/lib2-gcn.h (__udivsi3, __umodsi3): Update prototypes.
617
fcf617f0
GA
6182021-06-23 Kewen Lin <linkw@linux.ibm.com>
619
620 * configure: Regenerate.
621 * configure.ac (test for libgcc_cv_powerpc_3_1_float128_hw): Fix
622 typos among the name, CFLAGS and the test.
623 * config/rs6000/t-float128-hw (fp128_3_1_hw_funcs, fp128_3_1_hw_src,
624 fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj, fp128_3_1_hw_obj):
625 Remove.
626 * config/rs6000/t-float128-p10-hw (FLOAT128_HW_INSNS): Append
627 macro FLOAT128_HW_INSNS_ISA3_1.
628 (FP128_3_1_CFLAGS_HW): Fix option typo.
629 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): Guard this with
630 FLOAT128_HW_INSNS_ISA3_1.
631 (__floattikf_resolve): Likewise.
632 (__floatuntikf_resolve): Likewise.
633 (__fixkfti_resolve): Likewise.
634 (__fixunskfti_resolve): Likewise.
635 (__floattikf): Likewise.
636 (__floatuntikf): Likewise.
637 (__fixkfti): Likewise.
638 (__fixunskfti): Likewise.
639
f16f65f8
GA
6402021-06-11 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
641
642 PR target/99939
643 * config/arm/cmse_nonsecure_call.S: Add __ARM_FEATURE_MVE
644 macro.
645 * config/arm/t-arm: To link cmse.o and cmse_nonsecure_call.o
646 on passing -mcmse option.
647
43c35d0d
GA
6482021-06-10 Segher Boessenkool <segher@kernel.crashing.org>
649
650 * config/rs6000/quad-float128.h: Guard all uses of [U]TItype_ppc by
651 _ARCH_PPC64 .
652
4f625f47
GA
6532021-06-09 Carl Love <cel@us.ibm.com>
654
655 * config.host: Add if test and set for
656 libgcc_cv_powerpc_3_1_float128_hw.
657 * config/rs6000/fixkfti.c: Renamed to fixkfti-sw.c.
658 Change calls of __fixkfti to __fixkfti_sw.
659 * config/rs6000/fixunskfti.c: Renamed to fixunskfti-sw.c.
660 Change calls of __fixunskfti to __fixunskfti_sw.
661 * config/rs6000/float128-p10.c (__floattikf_hw,
662 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw): New file.
663 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): New macro.
664 (__floattikf_resolve, __floatuntikf_resolve, __fixkfti_resolve,
665 __fixunskfti_resolve): Add resolve functions.
666 (__floattikf, __floatuntikf, __fixkfti, __fixunskfti): New functions.
667 * config/rs6000/float128-sed (floattitf, __floatuntitf,
668 __fixtfti, __fixunstfti): Add editor commands to change names.
669 * config/rs6000/float128-sed-hw (__floattitf,
670 __floatuntitf, __fixtfti, __fixunstfti): Add editor commands to
671 change names.
672 * config/rs6000/floattikf.c: Renamed to floattikf-sw.c.
673 * config/rs6000/floatuntikf.c: Renamed to floatuntikf-sw.c.
674 * config/rs6000/quad-float128.h (__floattikf_sw,
675 __floatuntikf_sw, __fixkfti_sw, __fixunskfti_sw, __floattikf_hw,
676 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw, __floattikf,
677 __floatuntikf, __fixkfti, __fixunskfti): New extern declarations.
678 * config/rs6000/t-float128 (floattikf, floatuntikf,
679 fixkfti, fixunskfti): Remove file names from fp128_ppc_funcs.
680 (floattikf-sw, floatuntikf-sw, fixkfti-sw, fixunskfti-sw): Add
681 file names to fp128_ppc_funcs.
682 * config/rs6000/t-float128-hw(fp128_3_1_hw_funcs,
683 fp128_3_1_hw_src, fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj,
684 fp128_3_1_hw_obj): Add variables for ISA 3.1 support.
685 * config/rs6000/t-float128-p10-hw: New file.
686 * configure: Update script for isa 3.1 128-bit float support.
687 * configure.ac: Add check for 128-bit float hardware support.
688 * config/rs6000/fixkfti-sw.c: New file.
689 * config/rs6000/fixunskfti-sw.c: New file.
690 * config/rs6000/floattikf-sw.c: New file.
691 * config/rs6000/floatuntikf-sw.c: New file.
692
f9af11c7
GA
6932021-05-13 Dimitar Dimitrov <dimitar@dinux.eu>
694
695 * config/pru/mpyll.S (__pruabi_mpyll): Place into own section.
696
4d0385df 6972021-05-13 Martin Liska <mliska@suse.cz>
f9af11c7
GA
698
699 * libgcov-driver.c: Fix GNU coding style.
700
aa891c56
GA
7012021-05-10 Martin Liska <mliska@suse.cz>
702
703 * libgcov-driver.c (gcov_version): Use different name that does
704 not clash with newly introduced macro.
705
3c8e539d
GA
7062021-04-29 Eric Botcazou <ebotcazou@adacore.com>
707
708 * libgcov.h: For the target, define GCOV_LOCKED_WITH_LOCKING
709 if __MSVCRT__ and, for the host, define it if HOST_HAS_LK_LOCK.
710 * libgcov-driver.c: Add directives if GCOV_LOCKED_WITH_LOCKING.
711
e4ff4ffb
GA
7122021-04-28 Patrick McGehearty <patrick.mcgehearty@oracle.com>
713
714 * libgcc2.c (XMTYPE, XCTYPE, RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
715 Define.
716 (__divsc3, __divdc3, __divxc3, __divtc3): Improve complex divide.
717 * config/rs6000/_divkc3.c (RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
718 Define.
719 (__divkc3): Improve complex divide.
720
05ec629f
GA
7212021-04-23 Michael Meissner <meissner@linux.ibm.com>
722
723 PR target/98952
724 * config/rs6000/tramp.S (__trampoline_setup, elfv1 #ifdef): Fix
725 trampoline size comparison in 32-bit by reversing test and
726 combining load immediate with compare.
727 (__trampoline_setup, elfv2 #ifdef): Fix trampoline size comparison
728 in 32-bit by reversing test and combining load immediate with
729 compare.
730
b1da9916
GA
7312021-04-05 Florian Weimer <fweimer@redhat.com>
732 Michael Meissner <meissner@linux.ibm.com>
733
734 * config/rs6000/t-float128 (fp128_ppc_funcs): Add decimal floating
735 point functions for $(decimal_float) only.
736
c0756c4e
GA
7372021-04-03 Jakub Jelinek <jakub@redhat.com>
738
739 PR target/97653
740 * config/rs6000/t-linux (IBM128_STATIC_OBJS): Fix spelling, use
741 $(objext) instead of $(object). Use _floatunditf instead of
742 _floatunsditf. Add tf <-> ti conversion objects.
743 (IBM128_SHARED_OBJS): Use proper substitution reference syntax.
744
65374af2
GA
7452021-03-29 Michael Meissner <meissner@linux.ibm.com>
746
747 * config/rs6000/t-float128 (fp128_decstr_funcs): Delete.
748 (fp128_ppc_funcs): Do not add $(fp128_decstr_funcs).
749 (fp128_decstr_objs): Delete.
750 * dfp-bit.h: Call __sprintfieee128 to do conversions from
751 _Float128 to a Decimal type. Call __strtoieee128 to do
752 conversions from a Decimal type to _Float128.
753 * config/rs6000/_sprintfkf.c: Delete file.
754 * config/rs6000/_sprintfkf.h: Delete file.
755 * config/rs6000/_strtokf.c: Delete file.
756 * config/rs6000/_strtokf.h: Delete file.
757
bf1f3168
GA
7582021-03-23 Marcus Comstedt <marcus@mc.pp.se>
759
760 * config/riscv/sfp-machine.h (__BYTE_ORDER): Set according
761 to __BYTE_ORDER__.
762
0ad6a2e2
GA
7632021-03-06 Jakub Jelinek <jakub@redhat.com>
764
765 PR gcov-profile/99406
766 * libgcov.h (MAP_FAILED, MAP_ANONYMOUS): If HAVE_SYS_MMAN_H is
767 defined, define these macros if not defined already.
768
67f10d28
GA
7692021-03-04 Martin Liska <mliska@suse.cz>
770
771 PR gcov-profile/99105
772 * libgcov-driver.c (write_top_counters): Rename to ...
773 (write_topn_counters): ... this.
774 (write_one_data): Pre-allocate buffer for number of items
775 in the corresponding linked lists.
776 * libgcov.h (malloc_mmap): New function.
777 (allocate_gcov_kvp): Use it.
778
7792021-03-04 Martin Liska <mliska@suse.cz>
780
781 PR gcov-profile/99385
782 * libgcov.h (allocate_gcov_kvp): Call mmap with fd equal to -1.
783
f3641ac7
GA
7842021-03-03 Martin Liska <mliska@suse.cz>
785
786 PR gcov-profile/97461
787 * config.in: Regenerate.
788 * configure: Likewise.
789 * configure.ac: Check sys/mman.h header file
790 * libgcov-driver.c (struct gcov_kvp): Remove static
791 pre-allocated pool and use a dynamic one.
792 * libgcov.h (MMAP_CHUNK_SIZE): New.
793 (gcov_counter_add): Use mmap to allocate pool for struct
794 gcov_kvp.
795
d97a92dc
GA
7962021-03-02 Michael Meissner <meissner@linux.ibm.com>
797
798 * config/rs6000/_sprintfkf.h (__sprintfkf): Fix prototype to match
799 the function.
800 * config/rs6000/_sprintfkf.c: Include _sprintfkf.h.
801
4028d01a
GA
8022021-02-24 Jakub Jelinek <jakub@redhat.com>
803
804 PR libgcc/99236
805 * libgcc2.c (__powisf2, __powidf2, __powitf2, __powixf2): Perform
806 negation of m in unsigned type.
807
8082021-02-24 Christophe Lyon <christophe.lyon@linaro.org>
809 Hau Hsu <hsuhau617@gmail.com>
810
811 PR target/99157
812 * config/arm/t-arm: Fix cmse support detection.
813
2f5765cf
GA
8142021-02-22 Michael Meissner <meissner@linux.ibm.com>
815
816 * dfp-bit.c (BFP_TO_DFP): Fix a comment line that was too long.
817
8182021-02-22 Michael Meissner <meissner@linux.ibm.com>
819
820 * config/rs6000/_dd_to_kf.c: New file.
821 * config/rs6000/_kf_to_dd.c: New file.
822 * config/rs6000/_kf_to_sd.c: New file.
823 * config/rs6000/_kf_to_td.c: New file.
824 * config/rs6000/_sd_to_kf.c: New file.
825 * config/rs6000/_sprintfkf.c: New file.
826 * config/rs6000/_sprintfkf.h: New file.
827 * config/rs6000/_strtokf.h: New file.
828 * config/rs6000/_strtokf.c: New file.
829 * config/rs6000/_td_to_kf.c: New file.
830 * config/rs6000/quad-float128.h: Add new declarations.
831 * config/rs6000/t-float128 (fp128_dec_funcs): New macro.
832 (fp128_decstr_funcs): New macro.
833 (ibm128_dec_funcs): New macro.
834 (fp128_ppc_funcs): Add the new conversions.
835 (fp128_dec_objs): Force Decimal <-> __float128 conversions to be
836 compiled with -mabi=ieeelongdouble.
837 (fp128_decstr_objs): Force __float128 <-> string conversions to be
838 compiled with -mabi=ibmlongdouble.
839 (ibm128_dec_objs): Force Decimal <-> __float128 conversions to be
840 compiled with -mabi=ieeelongdouble.
841 (FP128_CFLAGS_DECIMAL): New macro.
842 (IBM128_CFLAGS_DECIMAL): New macro.
843 * dfp-bit.c (DFP_TO_BFP): Add PowerPC _Float128 support.
844 (BFP_TO_DFP): Add PowerPC _Float128 support.
845 * dfp-bit.h (BFP_KIND): Add new binary floating point kind for
846 IEEE 128-bit floating point.
847 (DFP_TO_BFP): Add PowerPC _Float128 support.
848 (BFP_TO_DFP): Add PowerPC _Float128 support.
849 (BFP_SPRINTF): New macro.
850
aa69f0a8
GA
8512021-01-27 Jakub Jelinek <jakub@redhat.com>
852
853 * config/i386/savms64.h: Add .note.GNU-stack section on Linux.
854 * config/i386/savms64f.h: Likewise.
855 * config/i386/resms64.h: Likewise.
856 * config/i386/resms64f.h: Likewise.
857 * config/i386/resms64x.h: Likewise.
858 * config/i386/resms64fx.h: Likewise.
859
e62bb7f0
GA
8602021-01-26 Martin Liska <mliska@suse.cz>
861
862 PR gcov-profile/98739
863 * libgcov.h (gcov_topn_add_value): Do not train when
864 we have a merged profile with a negative number of total
865 value.
866
161e4c08
GA
8672021-01-25 Martin Liska <mliska@suse.cz>
868
869 PR gcov-profile/98739
870 * libgcov-merge.c (__gcov_merge_topn): Mark when merging
871 ends with a dropped counter.
872 * libgcov.h (gcov_topn_add_value): Add return value.
873
be0851b8
GA
8742021-01-13 Stafford Horne <shorne@gmail.com>
875
876 * config/or1k/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
877 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_EX_OVERFLOW,
878 FP_EX_UNDERFLOW, FP_EX_INEXACT, FP_EX_INVALID, FP_EX_DIVZERO,
879 FP_EX_ALL): New constant macros.
880 (_FP_DECL_EX, FP_ROUNDMODE, FP_INIT_ROUNDMODE,
881 FP_HANDLE_EXCEPTIONS): New macros.
882 (_FP_TININESS_AFTER_ROUNDING): Change to 1.
883
8842021-01-13 Samuel Thibault <samuel.thibault@gnu.org>
885
886 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Add the
887 posix siginfo case to struct handler_args. Detect between legacy
888 and siginfo from the second parameter, which is a small sigcode in
889 the legacy case, and a pointer in the siginfo case.
890
108beb75
GA
8912020-12-20 Max Filippov <jcmvbkbc@gmail.com>
892
893 * config/xtensa/lib1funcs.S (__bswapsi2, __bswapdi2): New
894 functions.
895 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _bswapsi2 and
896 _bswapdi2.
897
f6e8e279
GA
8982020-12-08 Ian Lance Taylor <iant@golang.org>
899
900 * generic-morestack-thread.c (free_segments): Block signals during
901 thread exit.
902
b8dd0ef7
GA
9032020-12-03 Michael Meissner <meissner@linux.ibm.com>
904
905 PR libgcc/97543
906 PR libgcc/97643
907 * config/rs6000/t-linux (IBM128_STATIC_OBJS): New make variable.
908 (IBM128_SHARED_OBJS): New make variable.
909 (IBM128_OBJS): New make variable. Set all objects to use the
910 explicit IBM format, and disable gnu attributes.
911 (IBM128_CFLAGS): New make variable.
912 (gcc_s_compile): Add -mno-gnu-attribute to all shared library
913 modules.
914
9152020-12-03 Alexandre Oliva <oliva@adacore.com>
916
917 * config/t-vxworks (LIB2ADD): Drop.
918 * config/t-vxworks7 (LIB2ADD): Likewise.
919 * config/vxcache.c: Remove.
920
94358e47
GA
9212020-11-30 Stefan Kanthak <stefan.kanthak@nexgo.de>
922
923 * libgcc2.c (bswapsi2): Make constants unsigned.
924
360258da
GA
9252020-11-25 Stefan Kanthak <stefan.kanthak@nexgo.de>
926
927 * libgcc2.c (absvSI2): Simplify/improve implementation by using
928 builtin_add_overflow.
929 (absvsi2, absvDI2): Likewise.
930
82e5048e
GA
9312020-11-20 Maciej W. Rozycki <macro@linux-mips.org>
932
933 * unwind-dw2-fde-dip.c [__OpenBSD__ || __NetBSD__]
934 (USE_PT_GNU_EH_FRAME): Do not define if !TARGET_DL_ITERATE_PHDR.
935
25bb75f8
GA
9362020-11-18 Jozef Lawrynowicz <jozef.l@mittosystems.com>
937
938 * config/msp430/lib2hw_mul.S (mult64_hw): New.
939 (if MUL_32): Use mult64_hw for __muldi3.
940 (if MUL_F5): Use mult64_hw for __muldi3.
941 * config/msp430/lib2mul.c (__muldi3): New.
942 * config/msp430/t-msp430 (LIB2FUNCS_EXCLUDE): Define.
943
29c5d9ce
GA
9442020-11-17 Alan Modra <amodra@gmail.com>
945
946 * config/rs6000/t-ppc64-fp (LIB2ADD): Delete.
947 (LIB2_SIDITI_CONV_FUNCS): Define.
948 * config/rs6000/ppc64-fp.c: Delete file.
949
cba30651
GA
9502020-11-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
951
952 * config/msp430/lib2hw_mul.S: Omit _hw* suffix from GCC names for
953 hwmult library functions.
954
bb622641
GA
9552020-11-10 Jeff Law <law@redhat.com>
956
957 * libgcc2.c: Fix whitespace issues in most recent change.
958
9592020-11-10 Stefan Kanthak <stefan.kanthak@nexgo.de>
960
961 * libgcc2.c (__addvSI3): Use overflow builtins.
962 (__addvsi3, __addvDI3 ,__subvSI3, __subvsi3): Likewise.
963 (__subvDI3 __mulvSI3, __mulvsi3, __negvSI2): Likewise.
964 (__negvsi2, __negvDI2): Likewise.
965 (__cmpdi2, __ucmpdi2): Adjust implementation to improve
966 generated code.
967 * libgcc2.h (__ucmpdi2): Adjust prototype.
968
fd2325ea
GA
9692020-11-03 Pat Bernardi <bernardi@adacore.com>
970 Olivier Hainque <hainque@adacore.com>
971
972 * config.host (aarch64-vxworks7*, tmake_file): Add
973 ${cpu_type}/t-lse and t-slibgcc-libgcc.
974
9752020-11-03 Martin Storsjö <martin@martin.st>
976
977 * unwind-seh.c (_Unwind_Backtrace): Set the ra and cfa pointers
978 before calling the callback.
979
88ce3d5f
GA
9802020-10-30 Olivier Hainque <hainque@adacore.com>
981 Douglas Rupp <rupp@adacore.com>
982 Pat Bernardi <bernardi@adacore.com>
983
984 * config.host: Adjust the ix86/x86_64-wrs-vxworks filters
985 to apply to VxWorks 7 as well.
986
4f0606fe
GA
9872020-10-29 Olivier Hainque <hainque@adacore.com>
988
989 * config/gthr-vxworks-tls.c: Fix preprocessor logic
990 controlling the definition of VX_ENTER_TLS_DTOR and
991 VX_LEAVE_TLS_DTOR based on a version major check.
992
9932020-10-29 Olivier Hainque <hainque@adacore.com>
994
995 * config/gthr-vxworks-thread.c: Fix name of macro used
996 to condition the inclusion of an actual implementation.
997
89bb01e7
GA
9982020-10-27 Martin Liska <mliska@suse.cz>
999
1000 PR gcov-profile/97461
1001 * libgcov.h (gcov_counter_add): Use first static counters
1002 as it should help to have malloc wrappers set up.
1003
efe71fcc
GA
10042020-10-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1005
1006 * config/gthr-vxworks-thread.c: #include gthr.h before
1007 testing the guard defined there.
1008 * config/gthr-vxworks-cond.c: Likewise.
1009
56ddd5e2
GA
10102020-10-21 Douglas Rupp <rupp@adacore.com>
1011 Olivier Hainque <hainque@adacore.com>
1012
1013 * config.host (powerpc*-wrs-vxworks7*): New case.
1014 * configure.ac: Handle powerpc*-*-vxworks7* as
1015 powerpc*-*-linux* for ppc-fp_type.
1016 * configure: Regenerate.
1017
56e4eee9
GA
10182020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1019
1020 * config/gthr-vxworks.h: Condition the ___GTHREADS_CXX0X
1021 section on VxWorks >= 6.
1022 * config/gthr-vxworks-thread.c: Condition the entire
1023 implementation on __GTHREAD_CXX0X.
1024
10252020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1026
1027 * config/gthr-vxworks.h: Condition the __GTHREAD_HAS_COND
1028 section on VxWorks >= 6.
1029 * config/gthr-vxworks-cond.c: Condition the entire
1030 implementation on __GTHREAD_HAS_COND.
1031
10322020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1033
1034 * config/gthr-vxworks.c: #include <taskLib.h>.
1035
10362020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1037
1038 * config/gthr-vxworks.h: Rewrite remaining occurrence
1039 of _VXW_PRE_69 as _VXWORKS_PRE(6,9).
1040
10412020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1042 Olivier Hainque <hainque@adacore.com>
1043
1044 * config/gthr-vxworks-tls.c (VX_ENTER_TLS_DTOR): Nil
1045 except on VxWorks 6.
1046
10472020-10-16 Olivier Hainque <hainque@adacore.com>
1048
1049 * config/t-vxcrtstuff: Remove the -kernel/-rtp specialization.
1050
b2698c21
GA
10512020-10-14 Alexandre Oliva <oliva@adacore.com>
1052
1053 * config/gthr-vxworks-thread.c: Include stdlib.h.
1054 (tls_delete_hook): Prototype it.
1055 (__gthread_cond_signal): Return early if no waiters. Consume
1056 signal in case the semaphore got full. Use semInfoGet instead
1057 of kernel-mode-only semInfo.
1058 (__gthread_cond_timedwait): Use semExchange. Always take the
1059 mutex again before returning.
1060 * config/gthr-vxworks-cond.c (__ghtread_cond_wait): Likewise.
1061
10622020-10-14 Olivier Hainque <hainque@adacore.com>
1063
1064 * config/t-vxworks (LIBGCC2_INCLUDES): Append
1065 $(MULTISUBDIR) to the -I path for fixed headers, as we
1066 arrange to have different sets of such headers for different
1067 multilibs when they are activated.
1068 * config/t-vxworks7: Likewise.
1069
10702020-10-14 Olivier Hainque <hainque@adacore.com>
1071
1072 * config/t-vxworks: Add include-fixed to include search
1073 paths for libgcc on VxWorks.
1074 * config/t-vxworks7: Likewise.
1075
c74a0e82
GA
10762020-10-09 H.J. Lu <hjl.tools@gmail.com>
1077
1078 PR target/97148
1079 * config/i386/shadow-stack-unwind.h: Include <x86gprintrin.h>
1080 instead of <cetintrin.h>.
1081
6c2675fa
GA
10822020-10-01 Alan Modra <amodra@gmail.com>
1083
1084 * config/rs6000/morestack.S,
1085 * config/rs6000/tramp.S: Support __PCREL__ code.
1086
10872020-10-01 Alan Modra <amodra@gmail.com>
1088
1089 * config/rs6000/t-linux: Document purpose of -mno-minimal-toc.
1090
93bca37c
GA
10912020-09-29 Maciej W. Rozycki <macro@wdc.com>
1092
1093 * config/riscv/t-elf (LIB2_DIVMOD_EXCEPTION_FLAGS): New
1094 variable.
1095
e84761c6
GA
10962020-09-28 Richard Sandiford <richard.sandiford@arm.com>
1097
1098 * config/aarch64/libgcc-softfp.ver: New file.
1099 * config/aarch64/t-softfp (SHLIB_MAPFILES): Add it.
1100
4383c595
GA
11012020-09-27 Clement Chigot <clement.chigot@atos.net>
1102
1103 * config/rs6000/t-slibgcc-aix: Use $(AR) without -X32_64.
1104
521d2711
GA
11052020-09-22 Sergei Trofimovich <siarheit@google.com>
1106
1107 PR gcov-profile/96913
1108 * libgcov-driver.c (write_one_data): Avoid function pointer
1109 comparison in TOP streaming decision.
1110
2aad20c0
GA
11112020-09-17 Torbjörn SVENSSON <torbjorn.svensson@st.com>
1112 Christophe Lyon <christophe.lyon@linaro.org>
1113
1114 * config/arm/fp16.c (__gnu_h2f_internal): Add 'static inline'
1115 qualifier.
1116 (__gnu_f2h_ieee, __gnu_h2f_ieee, __gnu_f2h_alternative)
1117 (__gnu_h2f_alternative,__gnu_d2h_ieee, __gnu_d2h_alternative): Add
1118 missing prototypes.
1119
11202020-09-17 Wei Wentao <weiwt.fnst@cn.fujitsu.com>
1121
1122 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr): Fix
1123 unused variable warning.
1124
ecde1b0a
GA
11252020-09-16 Jojo R <jiejie_rong@c-sky.com>
1126
1127 * config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf target.
1128
80f86e78
GA
11292020-09-09 Tom de Vries <tdevries@suse.de>
1130
1131 * config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
1132 Wbuiltin-declaration-mismatch.
1133
57ea0894
GA
11342020-08-26 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1135
1136 * config/msp430/slli.S (__gnu_mspabi_sllp): New.
1137 * config/msp430/srai.S (__gnu_mspabi_srap): New.
1138 * config/msp430/srli.S (__gnu_mspabi_srlp): New.
1139
b3cb5606
GA
11402020-08-13 Kwok Cheung Yeung <kcy@codesourcery.com>
1141
1142 * config/nvptx/atomic.c: New.
1143 * config/nvptx/t-nvptx (LIB2ADD): Add atomic.c.
1144
6a1ad710
GA
11452020-08-03 Ian Lance Taylor <iant@golang.org>
1146
1147 * config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
1148
11492020-08-03 Jakub Jelinek <jakub@redhat.com>
1150
1151 PR target/96402
1152 * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
1153 of x(tmp0), x(tmp1) in STXP arguments.
1154
48cc2e46
GA
11552020-07-31 Maciej W. Rozycki <macro@wdc.com>
1156
1157 * config/riscv/save-restore.S [__riscv_xlen == 64]
1158 (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
1159 (__riscv_save_2): Replace negative immediates used for the final
1160 stack pointer adjustment with positive ones, right-shifted by 4.
1161
11622020-07-31 Martin Liska <mliska@suse.cz>
1163
1164 * libgcov-driver.c: Add __gcov_kvp_pool
1165 and __gcov_kvp_pool_index variables.
1166 * libgcov.h (allocate_gcov_kvp): New.
1167 (gcov_topn_add_value): Use it.
1168
53256ee3
GA
11692020-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
1170
1171 * config/aarch64/lse.S: Add PAC property note.
1172
9bb403dc
GA
11732020-07-23 Martin Liska <mliska@suse.cz>
1174
1175 PR gcov-profile/96035
1176 * libgcov-driver-system.c: Create gcov folders with 0777
1177 so that it respects a system umask.
1178
8ca07a30
GA
11792020-07-14 David Edelsohn <dje.gcc@gmail.com>
1180
1181 * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
1182
ea69fcf9
GA
11832020-07-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
1184
1185 PR target/94891
1186 * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
1187 (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
1188 (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
1189 (MD_DEMANGLE_RETURN_ADDR): This.
1190 (aarch64_post_extract_frame_addr): Rename to ...
1191 (aarch64_demangle_return_addr): This.
1192 (aarch64_post_frob_eh_handler_addr): Remove.
1193 * unwind-dw2.c (uw_update_context): Demangle return address.
1194 (uw_frob_return_addr): Remove.
1195
3f8ca9cb
GA
11962020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
1197
1198 PR target/96001
1199 * config/aarch64/lse.S: Add BTI marking and related definitions,
1200 and add BTI c to function entries.
1201
12022020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
1203
1204 * config/aarch64/lse.S: Add stack note.
1205
b5f24739
GA
12062020-07-02 Martin Liska <mliska@suse.cz>
1207
1208 PR gcov-profile/95348
1209 * libgcov-driver.c (merge_one_data): Merge only profiles
1210 that are not of non-zero type.
1211 (write_one_data): Write counters only if there's one non-zero
1212 value.
1213 * libgcov-util.c (tag_function): Change signature from unsigned
1214 to int.
1215 (tag_blocks): Likewise.
1216 (tag_arcs): Likewise.
1217 (tag_counters): Likewise.
1218 (tag_summary): Likewise.
1219 (tag_lines): Read only if COUNTERS is non-zero.
1220 (read_gcda_file): Handle negative length for COUNTERS type.
1221
d61ffe12
GA
12222020-06-25 Martin Liska <mliska@suse.cz>
1223
1224 * libgcov-driver.c (merge_summary): Remove function as its name
1225 is misleading and doing something different.
1226 (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
1227 in gcov-tool.
1228 * libgcov-util.c (curr_object_summary): Remove.
1229 (read_gcda_file): Remove unused curr_object_summary.
1230 (gcov_merge): Merge summaries.
1231 * libgcov.h: Add summary argument for gcov_info struct.
1232
2e546c26
GA
12332020-06-24 H.J. Lu <hjl.tools@gmail.com>
1234
1235 PR target/95259
1236 * config/i386/cpuinfo.c: Don't include "cpuinfo.h". Include
1237 "common/config/i386/i386-cpuinfo.h" and
1238 "common/config/i386/cpuinfo.h".
1239 (__cpu_features2): Changed to array.
1240 (get_amd_cpu): Removed.
1241 (get_intel_cpu): Likewise.
1242 (get_available_features): Likewise.
1243 (__cpu_indicator_init): Call cpu_indicator_init.
1244 * config/i386/cpuinfo.h: Removed.
1245
4543acc8
GA
12462020-06-23 David Edelsohn <dje.gcc@gmail.com>
1247
1248 * Makefile.in: Remove uses of empty.mk. Use -include.
1249 * config/avr/t-avr: Use -include.
1250 * empty.mk: Delete.
1251
f86e11a2
GA
12522020-06-21 David Edelsohn <dje.gcc@gmail.com>
1253
1254 * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
1255 * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
1256 and 64 bit with -maix64.
1257 * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
1258 Build and install AIX-style FAT libraries.
1259
aff95ee7
GA
12602020-06-17 Samuel Thibault <samuel.thibault@gnu.org>
1261
1262 * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
1263 'i386/gnu-unwind.h'
1264 * config/i386/gnu-unwind.h: New file.
1265
12662020-06-17 Martin Liska <mliska@suse.cz>
1267
1268 * libgcov-util.c (read_gcda_finalize): Remove const operator.
1269 (merge_wrapper): Add both counts and use them properly.
1270 (topn_to_memory_representation): New function.
1271 (gcov_merge): Covert on disk representation to in memory
1272 representation.
1273 * libgcov.h: Remove const operator.
1274
6fb94d67
GA
12752020-06-15 Max Filippov <jcmvbkbc@gmail.com>
1276
1277 * configure: Regenerate.
1278 * configure.ac: Use AC_COMPILE_IFELSE instead of manual
1279 preprocessor invocation to check for __XTENSA_CALL0_ABI__.
1280
b952c2cf
GA
12812020-06-09 Martin Liska <mliska@suse.cz>
1282
1283 PR gcov-profile/95494
1284 * libgcov-driver.c (write_top_counters): Cast first to
1285 intptr_t as sizeof(*) != sizeof(gcov_type).
1286 * libgcov.h (gcov_counter_set_if_null): Remove.
1287 (gcov_topn_add_value): Cast first to intptr_t and update
1288 linked list directly.
1289
12902020-06-09 Max Filippov <jcmvbkbc@gmail.com>
1291
1292 * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
1293 with uw_install_context_1.
1294
3add3425
GA
12952020-06-04 Andreas Schwab <schwab@suse.de>
1296
1297 PR target/59230
1298 PR libfortran/59227
1299 * config/ia64/t-softfp-compat (softfp_file_list): Filter out
1300 soft-fp/divtf3.c.
1301 (LIB2ADD): Add config/ia64/divtf3.c.
1302 * config/ia64/divtf3.c: New file.
1303
9a5b7438
GA
13042020-06-03 Martin Liska <mliska@suse.cz>
1305
1306 PR gcov-profile/95480
1307 * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
1308 * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
1309 (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
1310 (gcov_counter_set_if_null): Likewise.
1311
a9312a79
GA
13122020-06-02 Jim Wilson <jimw@sifive.com>
1313
1314 * config/riscv/div.S (__divdi3): For negative arguments, change bgez
1315 to bgtz.
1316
13172020-06-02 Martin Liska <mliska@suse.cz>
1318
1319 * libgcov.h (gcov_topn_add_value): Use xcalloc instead
1320 of xmalloc.
1321
13222020-06-02 Martin Liska <mliska@suse.cz>
1323
1324 * libgcov-driver.c (prune_topn_counter): Remove.
1325 (prune_counters): Likewise.
1326 (merge_one_data): Special case TOP N counters
1327 as they have variable length.
1328 (write_top_counters): New.
1329 (write_one_data): Special case TOP N.
1330 (dump_one_gcov): Do not prune TOP N counters.
1331 * libgcov-merge.c (merge_topn_values_set): Remove.
1332 (__gcov_merge_topn): Use gcov_topn_add_value.
1333 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
1334 Likewise here.
1335 * libgcov.h (gcov_counter_add): New.
1336 (gcov_counter_set_if_null): Likewise.
1337 (gcov_topn_add_value): New.
1338
4a9aa9de
GA
13392020-06-01 Uroš Bizjak <ubizjak@gmail.com>
1340
1341 * config/i386/sfp-exceptions.c (struct fenv):
1342 Add __attribute__ ((gcc_struct)).
1343
885ef72f
GA
13442020-05-29 H.J. Lu <hjl.tools@gmail.com>
1345
1346 PR bootstrap/95413
1347 * configure: Regenerated.
1348
53ffb43a
GA
13492020-05-28 Dong JianQiang <dongjianqiang2@huawei.com>
1350
1351 PR gcov-profile/95332
1352 * libgcov-util.c (read_gcda_file): Call gcov_magic.
1353 * libgcov.h (gcov_magic): Disable GCC poison.
1354
5855bdfa
L
13552020-05-21 H.J. Lu <hongjiu.lu@intel.com>
1356
1357 PR target/95212
1358 * config/i386/cpuinfo.h (processor_features): Move
1359 FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
1360
35b98036
L
13612020-05-20 H.J. Lu <hongjiu.lu@intel.com>
1362
1363 PR target/91695
1364 * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
1365 check.
1366
45395445
L
13672020-05-19 H.J. Lu <hongjiu.lu@intel.com>
1368
1369 PR target/95212
1370 PR target/95220
1371 * config/i386/cpuinfo.c (get_available_features): Fix
1372 FEATURE_GFNI check. Also check FEATURE_AVX512VP2INTERSECT.
1373 * config/i386/cpuinfo.h (processor_features): Add
1374 FEATURE_AVX512VP2INTERSECT.
1375
4c1a5d8b
L
13762020-05-15 H.J. Lu <hongjiu.lu@intel.com>
1377
1378 PR bootstrap/95147
1379 * configure: Regenerated.
1380
8d286dd1
L
13812020-05-14 H.J. Lu <hongjiu.lu@intel.com>
1382
1383 * configure: Regenerated.
1384
39748a89
HPN
13852020-05-09 Hans-Peter Nilsson <hp@axis.com>
1386
1387 * config.host: Remove support for crisv32-*-* and cris*-*-linux.
1388 * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
1389
d3a1459c
UB
13902020-05-06 Uroš Bizjak <ubizjak@gmail.com>
1391
1392 * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
1393 (__math_force_eval_div): New define.
1394 (__sfp_handle_exceptions): Use __math_force_eval_div to use
1395 generic division to generate INVALID, DIVZERO and INEXACT
1396 exceptions.
1397
12667785
KT
13982020-05-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1399
1400 * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
1401 instead of getauxval.
1402 (AT_HWCAP): Define.
1403 (HWCAP_ATOMICS): Define.
1404 Guard detection on __gnu_linux__.
1405
ef836167
MM
14062020-05-05 Michael Meissner <meissner@linux.ibm.com>
1407
1408 * config.host: Delete changes meant for a private branch.
1409 * config/rs6000/t-float128: Likewise.
1410 * configure.ac: Likewise.
1411 * configure: Likewise.
1412
811b7636
ML
14132020-05-05 Martin Liska <mliska@suse.cz>
1414
1415 PR gcov-profile/93623
1416 * Makefile.in: Remove __gcov_flush.
1417 * gcov.h (__gcov_flush): Remove.
1418 * libgcov-interface.c (__gcov_flush): Remove.
1419 (init_mx): Use renamed mutex.
1420 (__gcov_lock): Likewise.
1421 (__gcov_unlock): Likewise.
1422 (__gcov_fork): Likewise.
1423 (__gcov_flush): Remove.
1424
c0532db4
ML
14252020-05-05 Martin Liska <mliska@suse.cz>
1426
1427 PR gcov-profile/93623
1428 * libgcov-interface.c (__gcov_fork): Do not flush
1429 and reset only in child process.
1430 (__gcov_execl): Dump counters only and reset them
1431 only if exec* fails.
1432 (__gcov_execlp): Likewise.
1433 (__gcov_execle): Likewise.
1434 (__gcov_execv): Likewise.
1435 (__gcov_execvp): Likewise.
1436 (__gcov_execve): Likewise.
1437
d39f7dc8
ML
14382020-05-05 Martin Liska <mliska@suse.cz>
1439
1440 PR gcov-profile/93623
1441 * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
1442 * libgcov-interface.c (ALIAS_void_fn): Remove.
1443 (__gcov_lock): New.
1444 (__gcov_unlock): New.
1445 (__gcov_flush): Use __gcov_lock and __gcov_unlock.
1446 (__gcov_reset): Likewise.
1447 (__gcov_dump): Likewise.
1448 * libgcov.h (__gcov_lock): New declaration.
1449 (__gcov_unlock): Likewise.
1450
afb9b710
UB
14512020-05-01 Uroš Bizjak <ubizjak@gmail.com>
1452
1453 * config/i386/sfp-exceptions.c (__math_force_eval): New define.
d3a1459c 1454 (__sfp_handle_exceptions): Use __math_force_eval to evaluate
afb9b710
UB
1455 generic division to generate INVALID and DIVZERO exceptions.
1456
66711279
SH
14572020-04-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
1458
1459 * config/rs6000/crtresfpr.S: Use .machine ppc.
1460 * config/rs6000/crtresxfpr.S: Likewise.
1461 * config/rs6000/crtsavfpr.S: Likewise.
1462
fb22faf4
SN
14632020-04-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
1464
1465 PR target/94514
1466 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
1467 Update context->flags accroding to the frame state.
1468
df73e584
UB
14692020-04-19 Uroš Bizjak <ubizjak@gmail.com>
1470
1471 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
1472 Remove unneeded assignments to volatile memory.
1473
5b2f76e3
JJ
14742020-04-15 Jakub Jelinek <jakub@redhat.com>
1475
1476 PR target/93053
1477 * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
1478 * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
1479 is not defined, use just .arch armv8-a.
1480 (B, M, N, OPN): Define.
1481 (COMMENT): New .macro.
1482 (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
1483 defined. Otherwise, move the operands right after the glue? and
1484 comment out operands where the macros are used.
1485 * configure: Regenerated.
1486 * config.in: Regenerated.
1487
50c78532
ILT
14882020-04-07 Ian Lance Taylor <iant@golang.org>
1489
1490 PR libgcc/94513
1491 * generic-morestack.c: Give up trying to use __mmap/__munmap, use
1492 syscall instead.
1493
458ca332
ILT
14942020-04-04 Ian Lance Taylor <iant@golang.org>
1495
1496 * generic-morestack.c: Only use __mmap on glibc >= 2.26.
1497
710d54ed
ILT
14982020-04-03 Ian Lance Taylor <iant@golang.org>
1499
1500 * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
1501 than mmap/munmap, to avoid hooks.
1502
b749b5ec
JJ
15032020-04-03 Jim Johnston <jjohnst@us.ibm.com>
1504
1505 * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
1506 (TPFRA_OFFSET): Macros removed.
1507 (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
1508 (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
1509 (PG3_SKIPPING_OFFSET): New macros.
1510 (__isPATrange): Use cinfc_fast for the check.
1511 (__isSkipResetAddr): New function.
1512 (s390_fallback_frame_state): Check for skip trace addresses. Use
1513 either ICST_CRET or ICST_SRET to calculate return address
1514 location.
1515 (__tpf_eh_return): Handle skip trace addresses.
1516
a9cd2d78
RE
15172020-03-26 Richard Earnshaw <rearnsha@arm.com>
1518
1519 PR target/94220
1520 * config/arm/lib1funcs.asm (COND): Use a single definition for
1521 unified syntax.
1522 (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
1523 (aeabi_idivmod): Likewise.
1524 (divsi3_skip_div0_test): Likewise.
1525
f582ca0f
MI
15262020-03-17 Mihail Ionescu <mihail.ionescu@arm.com>
1527
1528 * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
1529
068fe0a9
AK
15302020-03-04 Andreas Krebbel <krebbel@linux.ibm.com>
1531
1532 * config.host: Include the new makefile fragment.
1533 * config/s390/t-tpf: New file.
1534
6b9ce2b4
RE
15352020-03-03 Richard Earnshaw <rearnsha@arm.com>
1536
1537 * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
1538 syntax.
1539 (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
1540 (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
1541 (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
1542 (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
1543 * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
1544 syntax.
1545 (divsi3, modsi3): Likewise.
1546 (clzdi2, ctzsi2): Likewise.
1547 * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
1548 unified syntax.
1549 (UNWIND_WRAPPER): Likewise.
1550
8dd5d8f3
ML
15512020-03-02 Martin Liska <mliska@suse.cz>
1552
1553 * libgcov-interface.c: Remove duplicate
1554 declaration of __gcov_flush_mx.
1555
ea0b1252
ML
15562020-02-18 Martin Liska <mliska@suse.cz>
1557
1558 PR ipa/92924
1559 * libgcov-merge.c (merge_topn_values_set): Record
1560 when a TOP N counter becomes invalid. When merging
1561 remove a smallest value if the space is needed.
1562
02ce382c
SL
15632020-02-12 Sandra Loosemore <sandra@codesourcery.com>
1564
1565 PR libstdc++/79193
1566 PR libstdc++/88999
1567
1568 * configure: Regenerated.
1569
7214fce3
JL
15702020-02-10 Jeff Law <law@redhat.com>
1571
1572 * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
1573 sections.
1574 * config/frv/frvend.c: Similarly.
1575
cf0f07ef
L
15762020-02-10 H.J. Lu <hongjiu.lu@intel.com>
1577
1578 PR libgcc/85334
1579 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1580 New.
1581
5602b48b
CL
15822020-02-10 Christophe Lyon <christophe.lyon@linaro.org>
1583
1584 PR target/93615
1585 * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
1586 _Unwind_gnu_Find_got.
1587 * unwind-pe.h: Likewise.
1588
811a475e
JJ
15892020-02-07 Jakub Jelinek <jakub@redhat.com>
1590
1591 PR target/93615
1592 * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
1593 (_Unwind_gnu_Find_got): ... this. Use __asm instead of asm. Remove
1594 trailing :s in asm. Formatting fixes.
1595 (_Unwind_decode_typeinfo_ptr): Adjust caller.
1596
2d33dcfe
SL
15972020-01-31 Sandra Loosemore <sandra@codesourcery.com>
1598
1599 nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
1600
1601 * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
1602 * config/nios2-elf-lib.h: New.
1603 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
1604 code for finding GOT base for nios2.
1605
3ae37f92
ML
16062020-01-27 Martin Liska <mliska@suse.cz>
1607
1608 PR gcov-profile/93403
1609 * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
1610 Call __gcov_indirect_call_profiler_body.
1611 (__gcov_indirect_call_profiler_body): New.
1612 (__gcov_indirect_call_profiler_v4_atomic): New.
1613 * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
1614 New declaration.
1615
2744b8b2
CZ
16162020-01-27 Claudiu Zissulescu <claziss@synopsys.com>
1617
1618 * config/arc/crti.S: Add RF16 object attribute.
1619 * config/arc/crtn.S: Likewise.
1620 * config/arc/crttls.S: Likewise.
1621 * config/arc/lib1funcs.S: Likewise.
1622 * config/arc/fp-hack.h (ARC_OPTFPE): Define.
1623 * config/arc/lib2funcs.c: New file.
1624 * config/arc/t-arc: Add lib2funcs to LIB2ADD.
1625
e8e66971
MR
16262020-01-24 Maciej W. Rozycki <macro@wdc.com>
1627
1628 * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
1629 * configure.ac: Handle `--with-toolexeclibdir='.
1630 * configure: Regenerate.
1631
54b3d52c
DM
16322020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
1633
1634 * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
1635
a3c1e1f2
DM
16362020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
1637
1638 * config/mips/gnustack.h: New file.
1639 * config/mips/crti.S: Include gnustack.h.
1640 * config/mips/crtn.S: Likewise.
1641 * config/mips/mips16.S: Likewise.
1642 * config/mips/vr4120-div.S: Likewise.
1643
e9ee848d
ML
16442020-01-23 Martin Liska <mliska@suse.cz>
1645
1646 * libgcov-driver.c (prune_topn_counter): Remove
1647 check for -1 as we only prune run-time counters
1648 that do not generate an invalid state.
1649
7491c17f
ML
16502020-01-22 Martin Liska <mliska@suse.cz>
1651
1652 PR tree-optimization/92924
1653 * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
1654 try to find an existing value, then find an empty slot
1655 if not found.
1656
5f32f9cf
ML
16572020-01-22 Martin Liska <mliska@suse.cz>
1658
1659 PR tree-optimization/92924
1660 * libgcov-driver.c (prune_topn_counter): New.
1661 (prune_counters): Likewise.
1662 (dump_one_gcov): Prune a run-time counter.
1663 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
1664 For a known value, add GCOV_TOPN_VALUES to value.
1665 Otherwise, decrement all counters by one.
1666
463f6499
HPN
16672020-01-18 Hans-Peter Nilsson <hp@axis.com>
1668
1669 * config/cris/arit.c (DS): Apply attribute __fallthrough__.
1670
84479e3a
JDA
16712020-01-18 John David Anglin <danglin@gcc.gnu.org>
1672
1673 PR libgcc/92988
1674 * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
1675 DEFAULT_USE_CXA_ATEXIT is true.
1676
e953433f 16772020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
674dcc3f 1678 Thomas Preud'homme <thomas.preudhomme@arm.com>
e953433f
MI
1679
1680 * config/arm/t-arm: Check return value of gcc rather than lack of
1681 output.
1682
03e87724
GJL
16832020-01-14 Georg-Johann Lay <avr@gjlay.de>
1684
1685 * config/avr/lib1funcs.S (skip): Simplify.
1686
af9bd920
KCY
16872020-01-10 Kwok Cheung Yeung <kcy@codesourcery.com>
1688
1689 * config/gcn/atomic.c: Remove include of stdint.h.
1690 (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
1691 __UINTPTR_TYPE__.
1692
d6491d15
KCY
16932020-01-09 Kwok Cheung Yeung <kcy@codesourcery.com>
1694
1695 * config/gcn/atomic.c: New.
1696 * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
1697
f30dd607
GJL
16982020-01-08 Georg-Johann Lay <avr@gjlay.de>
1699
1700 Implement 64-bit double functions.
1701
1702 PR target/92055
1703 * config.host (tmake_file) [target=avr]: Add t-libf7,
1704 t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
1705 * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
1706 depending on sizeof (double) or sizeof (long double).
1707 * config/avr/libf7: New folder.
1708
5205a445
OH
17092020-01-05 Olivier Hainque <hainque@adacore.com>
1710
1711 * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
1712 by IN_LIBGCC2.
1713
8d9254fc
JJ
17142020-01-01 Jakub Jelinek <jakub@redhat.com>
1715
1716 Update copyright years.
1717
abb6c3ee
OH
17182019-12-30 Olivier Hainque <hainque@adacore.com>
1719
1720 * config/gthr-vxworks.h: Use _vxworks-versions.h.
1721 * config/gthr-vxworks-tls.c: Likewise.
1722
d7f5094a
OH
17232019-12-30 Olivier Hainque <hainque@adacore.com>
1724
1725 * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
1726 standard zero-initializer syntax.
1727
49cfaa2a
OH
17282019-12-30 Olivier Hainque <hainque@adacore.com>
1729
1730 * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
1731 reference to the internal VX_GET_TLS_DATA interface.
1732
89b9a554
OH
17332019-12-30 Olivier Hainque <hainque@adacore.com>
1734
1735 * config/vxcrtstuff.c: Fix incorrect spelling of
1736 USE_INITFINI_ARRAY in guard.
1737
e8aa9f55
JL
17382019-12-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1739
1740 * config.host: s/msp430*-*-elf/msp430-*-elf*.
1741 Override default "extra_parts" variable.
1742 * configure: Regenerate.
1743 * configure.ac: Disable TM clone registry by default for
1744 msp430-elfbare.
1745
a9046e98
JL
17462019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1747
1748 * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
1749 "extra_parts".
1750 * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
1751
34a53788
JL
17522019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1753
1754 * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
1755 true.
1756
21a098f4
JL
17572019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1758
1759 * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
1760 defined instead of its value.
1761
ad8b7783
JL
17622019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1763
1764 * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
1765 if it will have contents.
1766
08d7ff78
GJL
17672019-12-05 Georg-Johann Lay <avr@gjlay.de>
1768
1769 PR target/92055
1770 * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
1771
3d3a96a2
SN
17722019-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
1773
34b4d99d 1774 PR libgcc/91737
3d3a96a2
SN
1775 * config.host: Add t-gthr-noweak on *-*-musl*.
1776 * config/t-gthr-noweak: New file.
1777
632b5e3d
JDA
17782019-11-17 John David Anglin <danglin@gcc.gnu.org>
1779
1780 * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
1781 volatile void *. Remove trap check.
1782 (__kernel_cmpxchg2): Likewise.
1783 (FETCH_AND_OP_2): Adjust operand types.
1784 (OP_AND_FETCH_2): Likewise.
1785 (FETCH_AND_OP_WORD): Likewise.
1786 (OP_AND_FETCH_WORD): Likewise.
1787 (COMPARE_AND_SWAP_2): Likewise.
1788 (__sync_val_compare_and_swap_4): Likewise.
1789 (__sync_bool_compare_and_swap_4): Likewise.
1790 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
1791 (__sync_lock_test_and_set_4): Likewise.
1792 (SYNC_LOCK_RELEASE_1): Likewise. Use __kernel_cmpxchg2 for release.
1793 (__sync_lock_release_4): Adjust operand types. Use __kernel_cmpxchg
1794 for release.
1795 (__sync_lock_release_8): Remove.
1796
838fd641
SN
17972019-11-15 Szabolcs Nagy <szabolcs.nagy@arm.com>
1798
1799 * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
1800 of __sigset_t.
1801
27204060
JL
18022019-11-14 Jerome Lambourg <lambourg@adacore.com>
1803 Doug Rupp <rupp@adacore.com>
1804 Olivier Hainque <hainque@adacore.com>
1805
1806 * config.host: Collapse the arm-vxworks entries into
1807 a single arm-wrs-vxworks7* one.
1808 * config/arm/unwind-arm-vxworks.c: Update comments. Provide
1809 __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
1810 kernel modules, to be overriden by libstdc++ when we link with
1811 it. Rely on externally provided __exidx_start/end.
1812
3004f893
DR
18132019-11-14 Doug Rupp <rupp@adacore.com>
1814 Olivier Hainque <hainque@adacore.com>
1815
1816 * config.host: Handle aarch64*-wrs-vxworks7*.
1817
36e5f4d4
OH
18182019-11-12 Olivier Hainque <hainque@adacore.com>
1819
1820 * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
1821 sources except the cxx0x support to LIB2ADDEH. We don't support
1822 cxx0x on AE/653.
1823 * config/t-vxworksae: New file.
1824 * config.host: Handle *-*-vxworksae: Add the two aforementioned
1825 Makefile fragment files at their expected position in the tmake_file
1826 list, in accordance with what is done for other VxWorks variants.
1827
806dd047
CG
18282019-11-12 Corentin Gay <gay@adacore.com>
1829 Jerome Lambourg <lambourg@adacore.com>
1830 Olivier Hainque <hainque@adacore.com>
1831
1832 * config/t-gthr-vxworks: New file, add all the gthr-vxworks
1833 sources to LIB2ADDEH.
1834 * config/t-vxworks: Remove adjustments to LIB2ADDEH.
1835 * config/t-vxworks7: Likewise.
1836
1837 * config.host: Append a block at the end of the file to add the
1838 t-gthr files to the tmake_file list for VxWorks after everything
1839 else.
1840
1841 * config/vxlib.c: Rename as gthr-vxworks.c.
1842 * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
1843
1844 * config/gthr-vxworks.h: Simplify a few comments. Expose a TAS
1845 API and a basic error checking API, both internal. Simplify the
1846 __gthread_once_t type definition and initializers. Add sections
1847 for condition variables support and for the C++0x thread support,
1848 conditioned against Vx653 for the latter.
1849
1850 * config/gthr-vxworks.c (__gthread_once): Simplify comments and
1851 implementation, leveraging the TAS internal API.
1852 * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
1853 API, leveraging the general availability of TLS services in VxWorks7
1854 post SR6xxx.
1855 (__gthread_setspecific, __gthread_setspecific): Use it.
1856 (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
1857 * config/gthr-vxworks-cond.c: New file. GTHREAD_COND variable
1858 support based on VxWorks primitives.
1859 * config/gthr-vxworks-thread.c: New file. GTHREAD_CXX0X support
1860 based on VxWorks primitives.
1861
78e49fb1
JL
18622019-11-06 Jerome Lambourg <lambourg@adacore.com>
1863 Olivier Hainque <hainque@adacore.com>
1864
1865 * config/vxcrtstuff.c: New file.
1866 * config/t-vxcrtstuff: New Makefile fragment.
1867 * config.host: Append t-vxcrtstuff to the tmake_file list
1868 on all VxWorks ports using dwarf for table based EH.
1869
29f3def3
GJL
18702019-11-07 Georg-Johann Lay <avr@gjlay.de>
1871
1872 Support 64-bit double and 64-bit long double configurations.
1873
1874 PR target/92055
1875 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
1876 long double is a 32-bit type.
1877 * config/avr/t-avrlibc: Copy double64 and long-double64
1878 multilib(s) from the vanilla one.
1879 * config/avr/t-copy-libgcc: New Makefile snip.
1880
62ec242e
JL
18812019-11-04 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1882
1883 * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
1884 the target output object format is not ELF.
1885 s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
1886
da5c1bbe
OE
18872019-11-03 Oleg Endo <olegendo@gcc.gnu.org>
1888
1889 PR libgcc/78804
1890 * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
1891 * fp-bit.c (pack_d, unpack_d): Remove special cases for
1892 FLOAT_BIT_ORDER_MISMATCH.
1893 * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
1894
8dc56a22
JW
18952019-11-01 Jim Wilson <jimw@sifive.com>
1896
1897 * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
1898
91c64455
JL
18992019-10-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1900
1901 * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
1902 s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
1903 s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
1904 Define symbols for 32-bit and f5series hardware multiply
1905 register addresses.
1906 Replace hard-coded register addresses with symbols.
1907 Fix "_mspabi*" typo.
1908 Fix whitespace.
1909 * config/msp430/lib2mul.c: Add comment.
1910
85093ac6
JDA
19112019-10-15 John David Anglin <danglin@gcc.gnu.org>
1912
1913 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
1914 unsigned int. Adjust callers.
1915 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
1916 unsigned int *. Load relocation offset before function pointer.
1917 Add barrier to ensure ordering.
1918
1aea083d
JDA
19192019-10-12 John David Anglin <danglin@gcc.gnu.org>
1920
1921 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
1922 Load PIC register after branch target. Fix white space.
1923 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
1924 implementations. Load PIC register after branch target. Don't
1925 clobber function pointer when it points to function descriptor.
1926 Use nullification instead of branch in LINUX implementation.
1927
c49af82c
JDA
19282019-10-03 John David Anglin <danglin@gcc.gnu.org>
1929
1930 * config/pa/fptr.c: Disable -Warray-bounds warning.
1931
88a51d68
RH
19322019-09-25 Richard Henderson <richard.henderson@linaro.org>
1933
9e46fd07
RH
1934 * config.in, configure: Re-rebuild with stock autoconf 2.69,
1935 not the ubuntu modified 2.69.
1936
58d169ba
RH
1937 PR target/91833
1938 * config/aarch64/lse-init.c: Include auto-target.h. Disable
1939 initialization if !HAVE_SYS_AUXV_H.
1940 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
1941 * config.in, configure: Rebuild.
1942
88a51d68
RH
1943 PR target/91834
1944 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
1945 overlap the inputs.
1946
761e6bb9
SZ
19472019-09-25 Shaokun Zhang <zhangshaokun@hisilicon.com>
1948
1949 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
1950 CTR_EL0.IDC and CTR_EL0.DIC.
1951
76c93295
CL
19522019-09-20 Christophe Lyon <christophe.lyon@st.com>
1953
1954 Revert:
1955 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1956 Mickaël Guêné <mickael.guene@st.com>
1957
1958 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
1959 architecture.
1960
33befddc
RH
19612019-09-19 Richard Henderson <richard.henderson@linaro.org>
1962
1963 * config/aarch64/lse-init.c: New file.
1964 * config/aarch64/lse.S: New file.
1965 * config/aarch64/t-lse: New file.
1966 * config.host: Add t-lse to all aarch64 tuples.
1967
ae1152e5
CL
19682019-09-10 Christophe Lyon <christophe.lyon@st.com>
1969 Mickaël Guêné <mickael.guene@st.com>
1970
84818dbb
CL
1971 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
1972 architecture.
1973
19742019-09-10 Christophe Lyon <christophe.lyon@st.com>
1975 Mickaël Guêné <mickael.guene@st.com>
1976
ae1152e5
CL
1977 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
1978 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
1979 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
1980 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
1981 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
1982 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
1983 (__gnu_personality_sigframe_fdpic): New.
1984 (get_eit_entry): Add FDPIC signal frame support.
1985
5d727a4b
CL
19862019-09-10 Christophe Lyon <christophe.lyon@st.com>
1987 Mickaël Guêné <mickael.guene@st.com>
1988
1989 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
1990 (__kernel_dmb): Likewise.
1991 (__fdpic_cmpxchg): New function.
1992 (__fdpic_dmb): New function.
1993 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
1994 (gnu_Unwind_Find_got): New function.
1995 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
1996 * unwind-arm-common.inc (UCB_PR_GOT): New.
1997 (funcdesc_t): New struct.
1998 (get_eit_entry): Add FDPIC support.
1999 (unwind_phase2): Likewise.
2000 (unwind_phase2_forced): Likewise.
2001 (__gnu_Unwind_RaiseException): Likewise.
2002 (__gnu_Unwind_Resume): Likewise.
2003 (__gnu_Unwind_Backtrace): Likewise.
2004 * unwind-pe.h (read_encoded_value_with_base): Likewise.
2005
b1e21e5a 20062019-09-10 Christophe Lyon <christophe.lyon@st.com>
11189793 2007 Mickaël Guêné <mickael.guene@st.com>
b1e21e5a 2008
11189793
CL
2009 * libgcc/crtstuff.c: Add support for FDPIC.
2010
20112019-09-10 Christophe Lyon <christophe.lyon@st.com>
2012
2013 * config.host: Handle *-*-uclinuxfdpiceabi.
b1e21e5a 2014
91dfef96
JM
20152019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
2016
2017 * config.host: Set cpu_type for bpf-*-* targets.
2018 * config/bpf/t-bpf: Likewise.
2019 * config/bpf/crtn.S: Likewise.
2020 * config/bpf/crti.S: New file.
2021
2f4d8951
JW
20222019-09-06 Jim Wilson <jimw@sifive.com>
2023
2024 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
2025 (riscv*-*-freebsd*): Likewise.
2026
2f2aeda9
UW
20272019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
2028
2029 * config.host: Remove references to spu.
2030 * config/spu/: Remove directory.
2031
d16017da
JL
20322019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2033
2034 PR target/91306
2035 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
2036 element type, instead of "sizeof" the element type.
2037 (__DTOR_LIST__): Likewise.
2038 (__TMC_LIST__): Likewise.
2039 (__do_global_dtors_aux_fini_array_entry): Likewise.
2040 (__frame_dummy_init_array_entry): Likewise.
2041 (__CTOR_END__): Likewise.
2042 (__DTOR_END__): Likweise.
2043 (__FRAME_END__): Likewise.
2044 (__TMC_END__): Likewise.
2045
a9fcfec3
HL
20462019-08-20 Lili Cui <lilicui@intel.com>
2047
2048 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
2049 INTEL_COREI7_COOPERLAKE.
2050
428642b1
MT
20512019-07-31 Matt Thomas <matt@3am-software.com>
2052 Nick Hudson <nick@nthcliff.demon.co.uk>
2053 Matthew Green <mrg@eterna.com.au>
2054 Maya Rashish <coypu@sdf.org>
2055
2056 * config.host (hppa*-*-netbsd*): New case.
2057 * config/pa/t-netbsd: New file.
2058
f0efd925
JH
20592019-07-31 Joel Hutton <Joel.Hutton@arm.com>
2060
2061 * config/arm/cmse.c (cmse_check_address_range): Add
2062 warn_unused_result attribute.
2063
a861990d
ML
20642019-07-22 Martin Liska <mliska@suse.cz>
2065
2066 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
2067 * config/pa/t-stublib: Likewise.
2068
9c0dba7c
SH
20692019-07-22 Stafford Horne <shorne@gmail.com>
2070
2071 PR target/90362
2072 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
2073 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
2074 instructions are not available on every processor. Change a
2075 l.bnf to l.bf to fix logic issue.
2076
61afc8f8
IS
20772019-07-04 Iain Sandoe <iain@sandoe.co.uk>
2078
2079 * config.host: Remove reference to t-darwin8.
2080
179c7ef5
IS
20812019-07-03 Iain Sandoe <iain@sandoe.co.uk>
2082
2083 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
2084 list.
2085 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
2086 mmacosx-version-min for crts to run across all system versions.
2087 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
2088 * config/t-darwin: Revise mmacosx-version-min for crts to run across
2089 system versions >= 10.4.
2090
596341c7
ML
20912019-07-03 Martin Liska <mliska@suse.cz>
2092
2093 * Makefile.in: Use topn_values instead of one_value names.
2094 * libgcov-merge.c (__gcov_merge_single): Move to ...
2095 (__gcov_merge_topn): ... this.
2096 (merge_single_value_set): Move to ...
2097 (merge_topn_values_set): ... this.
2098 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
2099 ...
2100 (__gcov_topn_values_profiler_body): ... this.
2101 (__gcov_one_value_profiler_v2): Move to ...
2102 (__gcov_topn_values_profiler): ... this.
2103 (__gcov_one_value_profiler_v2_atomic): Move to ...
2104 (__gcov_topn_values_profiler_atomic): ... this.
2105 (__gcov_indirect_call_profiler_v4): Remove.
2106 * libgcov-util.c (__gcov_single_counter_op): Move to ...
2107 (__gcov_topn_counter_op): ... this.
2108 * libgcov.h (L_gcov_merge_single): Remove.
2109 (L_gcov_merge_topn): New.
2110 (__gcov_merge_single): Remove.
2111 (__gcov_merge_topn): New.
2112 (__gcov_one_value_profiler_v2): Move to ..
2113 (__gcov_topn_values_profiler): ... this.
2114 (__gcov_one_value_profiler_v2_atomic): Move to ...
2115 (__gcov_topn_values_profiler_atomic): ... this.
2116
1b309ca5
ML
21172019-07-03 Martin Liska <mliska@suse.cz>
2118
2119 * libgcov-merge.c (merge_single_value_set): Support N values.
2120 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
2121
5a460280
ID
21222019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
2123
2124 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
2125 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
2126 * configure.ac: Add --disable-tm-clone-registry option.
2127 * configure: Regenerate.
2128
45309d28
ML
21292019-06-27 Martin Liska <mliska@suse.cz>
2130
2131 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
2132 dead assignments.
2133 * libgcov-util.c: Likewise.
2134
c2f7a665
ML
21352019-06-27 Martin Liska <mliska@suse.cz>
2136
2137 * libgcov-util.c (gcov_profile_merge): Release allocated
2138 memory.
2139 (calculate_overlap): Likewise.
2140
a8e55c61
IS
21412019-06-25 Iain Sandoe <iain@sandoe.co.uk>
2142
2143 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
2144 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
2145 Build objects for the out of line save/restore register functions
2146 so that they can be used for any supported Darwin version.
2147 * config/t-darwin: Default the build Darwin version to Darwin8
2148 (MacOS 10.4).
2149
e5ce4cbc
ML
21502019-06-25 Martin Liska <mliska@suse.cz>
2151
2152 * libgcov-driver-system.c (replace_filename_variables): Do not
2153 call strlen with NULL argument.
2154
52a47d28
AS
21552019-06-25 Andrew Stubbs <ams@codesourcery.com>
2156
2157 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
2158 * config/gcn/unwind-gcn.c: New file.
2159
76d46331
KCY
21602019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
2161 Andrew Stubbs <ams@codesourcery.com>
2162
2163 * configure: Regenerate.
2164 * config/gcn/gthr-gcn.h: New.
2165
787783a0
TV
21662019-06-18 Tom de Vries <tdevries@suse.de>
2167
2168 * config/nvptx/crt0.c (__main): Declare.
2169
f32f7585
MG
21702019-06-17 Matthew Green <mrg@eterna.com.au>
2171 Maya Rashish <coypu@sdf.org>
2172
2173 * config.host (aarch64*-*-netbsd*): New case.
2174
0fcc78f7
JL
21752019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2176
2177 * config/msp430/slli.S (__mspabi_sllll): New library function for
2178 performing a logical left shift of a 64-bit value.
2179 * config/msp430/srai.S (__mspabi_srall): New library function for
2180 performing a arithmetic right shift of a 64-bit value.
2181 * config/msp430/srll.S (__mspabi_srlll): New library function for
2182 performing a logical right shift of a 64-bit value.
2183
b27c1082
MT
21842019-06-14 Matt Thomas <matt@3am-software.com>
2185 Matthew Green <mrg@eterna.com.au>
2186 Nick Hudson <skrll@netbsd.org>
2187 Maya Rashish <coypu@sdf.org>
2188
2189 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
2190 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
2191 functions to build.
2192 * config/arm/t-netbsd-eabi: New file.
2193
ae7deb4b
DD
21942019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
2195
2196 * config.host: Add PRU target.
2197 * config/pru/asri.c: New file.
2198 * config/pru/eqd.c: New file.
2199 * config/pru/eqf.c: New file.
2200 * config/pru/ged.c: New file.
2201 * config/pru/gef.c: New file.
2202 * config/pru/gtd.c: New file.
2203 * config/pru/gtf.c: New file.
2204 * config/pru/led.c: New file.
2205 * config/pru/lef.c: New file.
2206 * config/pru/lib2bitcountHI.c: New file.
2207 * config/pru/lib2divHI.c: New file.
2208 * config/pru/lib2divQI.c: New file.
2209 * config/pru/lib2divSI.c: New file.
2210 * config/pru/libgcc-eabi.ver: New file.
2211 * config/pru/ltd.c: New file.
2212 * config/pru/ltf.c: New file.
2213 * config/pru/mpyll.S: New file.
2214 * config/pru/pru-abi.h: New file.
2215 * config/pru/pru-asm.h: New file.
2216 * config/pru/pru-divmod.h: New file.
2217 * config/pru/sfp-machine.h: New file.
2218 * config/pru/t-pru: New file.
2219
0d7b3e47
JJ
22202019-06-11 Jakub Jelinek <jakub@redhat.com>
2221
2222 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
2223
54e2d83c
ML
22242019-06-10 Martin Liska <mliska@suse.cz>
2225
2226 PR bootstrap/90808
2227 * libgcov.h: Add ATTRIBUTE_UNUSED.
2228
92d41717
ML
22292019-06-10 Martin Liska <mliska@suse.cz>
2230
2231 * Makefile.in: Add __gcov_one_value_profiler_v2,
2232 __gcov_one_value_profiler_v2_atomic and
2233 __gcov_indirect_call_profiler_v4.
2234 * libgcov-merge.c (__gcov_merge_single): Change
2235 function signature.
2236 (merge_single_value_set): New.
2237 * libgcov-profiler.c (__gcov_one_value_profiler_body):
2238 Update functionality.
2239 (__gcov_one_value_profiler): Remove.
2240 (__gcov_one_value_profiler_v2): ... this.
2241 (__gcov_one_value_profiler_atomic): Rename to ...
2242 (__gcov_one_value_profiler_v2_atomic): this.
2243 (__gcov_indirect_call_profiler_v3): Rename to ...
2244 (__gcov_indirect_call_profiler_v4): ... this.
2245 * libgcov.h (__gcov_one_value_profiler): Remove.
2246 (__gcov_one_value_profiler_atomic): Remove.
2247 (__gcov_one_value_profiler_v2_atomic): New.
2248 (__gcov_indirect_call_profiler_v3): Remove.
2249 (__gcov_one_value_profiler_v2): New.
2250 (__gcov_indirect_call_profiler_v4): New.
2251 (gcov_get_counter_ignore_scaling): New function.
2252
e37333ba
ML
22532019-06-07 Martin Liska <mliska@suse.cz>
2254
2255 * Makefile.in: Remove usage of
2256 _gcov_merge_icall_topn.
2257 * libgcov-driver.c (gcov_sort_n_vals): Remove.
2258 (gcov_sort_icall_topn_counter): Likewise.
2259 (gcov_sort_topn_counter_arrays): Likewise.
2260 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
2261 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
2262 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
2263 Likewise.
2264 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
2265 (struct indirect_call_tuple): Remove.
2266 (__gcov_indirect_call_topn_profiler): Remove.
2267 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
2268 * libgcov.h (gcov_sort_n_vals): Remove.
2269 (L_gcov_merge_icall_topn): Likewise.
2270 (__gcov_merge_icall_topn): Likewise.
2271 (__gcov_indirect_call_topn_profiler): Likewise.
2272
34a4a9c2
IS
22732019-06-06 Iain Sandoe <iain@sandoe.co.uk>
2274
2275 * config/rs6000/t-darwin: Ensure that the unwinder is built with
2276 altivec enabled.
2277
d1b2f85f
JL
22782019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2279
2280 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
2281 section.
2282 (__mspabi_slli): Likewise.
2283 (__mspabi_slll_n): Likewise.
2284 (__mspabi_slll): Likewise.
2285 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
2286 (__mspabi_srai): Likewise.
2287 (__mspabi_sral_n): Likewise.
2288 (__mspabi_sral): Likewise.
2289 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
2290 (__mspabi_srli): Likewise.
2291 (__mspabi_srll_n): Likewise.
2292 (__mspabi_srll): Likewise.
2293
e69a13d1
YS
22942019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
2295
2296 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
2297 Add appropriate tm_file clause as well.
2298 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
2299
b009eac1
JC
23002019-06-05 James Clarke <jrtc27@jrtc27.com>
2301
2302 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
2303 rather than .data/.bss so it can be accessed via gp-relative
2304 addressing.
2305
781d39f2
DE
23062019-06-05 David Edelsohn <dje.gcc@gmail.com>
2307
2308 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
2309 (CR2_REGNO): Rename to R_CR2.
2310 (XER_REGNO): Rename to R_XER.
2311 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
2312 (VRSAVE_REGNO): Rename to R_VRSAVE.
2313 (VSCR_REGNO): R_VSCR.
2314
76aaa9cd
YS
23152019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
2316
2317 * config.host (rx-*-linux*): Add new case.
2318 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
2319
8fc16d72
ST
23202019-05-29 Sam Tebbs <sam.tebbs@arm.com>
2321
2322 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
2323 function.
2324 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
2325 aarch64_post_frob_eh_handler_addr): Add check for b-key.
2326 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
2327 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
2328 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
2329 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
2330 string.
2331 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
2332 string.
2333 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
2334
e54b1a92
RO
23352019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2336
2337 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
2338 Remove Solaris 9 and 10 support.
2339 (sparc_is_sighandler): Likewise.
2340
abbb8307
JDA
23412019-05-26 John David Anglin <danglin@gcc.gnu.org>
2342
2343 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
2344
2581344d
L
23452019-05-17 H.J. Lu <hongjiu.lu@intel.com>
2346
2347 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
2348 4_FP_W_TYPEs are used for IEEE quad precision.
2349 * soft-fp/extendhftf2.c: Likewise.
2350 * soft-fp/extendsftf2.c: Likewise.
2351 * soft-fp/extendxftf2.c: Likewise.
2352 * soft-fp/trunctfdf2.c: Likewise.
2353 * soft-fp/trunctfhf2.c: Likewise.
2354 * soft-fp/trunctfsf2.c: Likewise.
2355 * soft-fp/trunctfxf2.c: Likewise.
2356 * config/rs6000/ibm-ldouble.c: Likewise.
2357
ccd1242e
RO
23582019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2359
2360 * config.host: Simplify various *-*-solaris2.1[0-9]* to
2361 *-*-solaris2*.
2362 * configure.ac: Likewise.
2363 * configure: Regenerate.
2364
2365 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
2366 Solaris 10 and Solaris 11 < snv_125 handling.
2367
ef5eb79d
IS
23682019-05-12 Iain Sandoe <iain@sandoe.co.uk>
2369
2370 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
2371
4f0e90fa
HL
23722019-05-07 Hongtao Liu <hongtao.liu@intel.com>
2373
2374 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
2375 * config/i386/cpuinfo.h (enum processor_features): Add
2376 FEATURE_AVX512BF16.
2377
48528842
RR
23782019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
2379 Bernd Edlinger <bernd.edlinger@hotmail.de>
2380 Jakub Jelinek <jakub@redhat.com>
2381
2382 PR target/89093
2383 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
2384 * config/arm/unwind-arm.c: Likewise.
2385 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
2386 attribute for ARM.
2387
887e182f
MC
23882019-04-15 Monk Chiang <sh.chiang04@gmail.com>
2389
2390 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
2391 (RT_SIGRETURN): Update.
2392 (nds32_fallback_frame_state): Update.
2393
a90b0cdd
MS
23942019-02-21 Martin Sebor <msebor@redhat.com>
2395
2396 * libgcc2.h (__clear_cache): Correct signature.
2397 * libgcc2.c (__clear_cache): Same.
2398
1ed28eda
UB
23992019-02-20 Uroš Bizjak <ubizjak@gmail.com>
2400
2401 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
2402 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
2403
fe95aee9
UB
24042019-02-19 Uroš Bizjak <ubizjak@gmail.com>
2405
2406 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
2407 regno instead of index to DWARF_ZERO_REG.
2408
bf7988f1
EB
24092019-02-15 Eric Botcazou <ebotcazou@adacore.com>
2410
2411 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
2412 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
2413
ba2c1ca8
UB
24142019-01-31 Uroš Bizjak <ubizjak@gmail.com>
2415
2416 * config/alpha/t-linux: Add -mfp-rounding-mode=d
2417 to HOST_LIBGCC2_CFLAGS.
2418
6395ba73
L
24192019-01-23 Joseph Myers <joseph@codesourcery.com>
2420
2421 PR libgcc/88931
ba2c1ca8 2422 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
6395ba73 2423
756721ba
ML
24242019-01-18 Martin Liska <mliska@suse.cz>
2425
2426 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
2427 to ...
2428 (__gcov_indirect_call_profiler_v3): ... this.
2429 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
2430 (__gcov_indirect_call_profiler_v3): Likewise.
2431 * Makefile.in: Bump function name.
2432
d273c40a
ML
24332019-01-18 Martin Liska <mliska@suse.cz>
2434
2435 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
2436 (gcov_version): Use in gcov_error.
2437 (merge_one_data): Likewise.
2438 (dump_one_gcov): Likewise.
2439
be9d9fdb
ML
24402019-01-18 Martin Liska <mliska@suse.cz>
2441
2442 * libgcov-driver.c (gcov_version_string): New function.
2443 (gcov_version): Convert version integer into string.
2444
91d7b7fe
AS
24452019-01-17 Andrew Stubbs <ams@codesourcery.com>
2446 Kwok Cheung Yeung <kcy@codesourcery.com>
2447 Julian Brown <julian@codesourcery.com>
2448 Tom de Vries <tom@codesourcery.com>
2449
2450 * config.host: Recognize amdgcn*-*-amdhsa.
2451 * config/gcn/crt0.c: New file.
2452 * config/gcn/lib2-divmod-hi.c: New file.
2453 * config/gcn/lib2-divmod.c: New file.
2454 * config/gcn/lib2-gcn.h: New file.
2455 * config/gcn/sfp-machine.h: New file.
2456 * config/gcn/t-amdgcn: New file.
2457
67914693
SL
24582019-01-09 Sandra Loosemore <sandra@codesourcery.com>
2459
2460 PR other/16615
2461
2462 * config/c6x/libunwind.S: Mechanically replace "can not" with
2463 "cannot".
2464 * config/tilepro/atomic.h: Likewise.
2465 * config/vxlib-tls.c: Likewise.
2466 * generic-morestack-thread.c: Likewise.
2467 * generic-morestack.c: Likewise.
2468 * mkmap-symver.awk: Likewise.
2469
a5544970
JJ
24702019-01-01 Jakub Jelinek <jakub@redhat.com>
2471
2472 Update copyright years.
2473
da77eace
L
24742018-12-20 H.J. Lu <hongjiu.lu@intel.com>
2475
2476 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
2477 to ignore -Waddress-of-packed-member.
2478
72e3a529
TP
24792018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
2480
2481 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
2482 parameter and corresponding code.
2483 (ARM_FUNC_START): Likewise in both definitions.
2484 Also update footer comment about condition that need to match with
2485 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
2486 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
2487 defined. Weakly define it in this case.
2488 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
2489 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
2490 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
2491 comment to keep condition in sync with the one in
2492 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
2493
5d54c798
WX
24942018-12-18 Wei Xiao <wei3.xiao@intel.com>
2495
2496 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
2497 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
2498
5a2580b6
RV
24992018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2500
2501 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
2502 and .cfi_endproc directives for VxWorks targets.
2503
c0c5112b
PK
25042018-12-05 Paul Koning <ni1d@arrl.net>
2505
2506 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
2507
1ea7ea18
AM
25082018-11-27 Alan Modra <amodra@gmail.com>
2509
2510 * config/rs6000/morestack.S (__stack_split_initialize),
2511 (__morestack_get_guard, __morestack_set_guard),
2512 (__morestack_make_guard): Provide CFI covering these functions.
2513 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
2514
ff641ae1
XQ
25152018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
2516
1ea7ea18 2517 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
ff641ae1
XQ
2518 (sc_pt_regs_lr): Update for kernel.
2519 (sc_pt_regs_tls): Update for kernel.
2520
28209372
XQ
25212018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
2522
2523 * config/csky/linux-unwind.h: Fix coding style.
2524
b2a71af6
XQ
25252018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
2526
2527 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
1ea7ea18 2528 (csky_fallback_frame_state): Modify the check of the
b2a71af6
XQ
2529 instructions to adapt to changes in the kernel
2530
d929e137
SH
25312018-11-09 Stafford Horne <shorne@gmail.com>
2532 Richard Henderson <rth@twiddle.net>
2533
2534 * config.host: Add OpenRISC support.
2535 * config/or1k/*: New.
2536
222cfefa
KC
25372018-11-08 Kito Cheng <kito@andestech.com>
2538
2539 * soft-fp/adddf3.c: Update from glibc.
2540 * soft-fp/addsf3.c: Likewise.
2541 * soft-fp/addtf3.c: Likewise.
2542 * soft-fp/divdf3.c: Likewise.
2543 * soft-fp/divsf3.c: Likewise.
2544 * soft-fp/divtf3.c: Likewise.
2545 * soft-fp/double.h: Likewise.
2546 * soft-fp/eqdf2.c: Likewise.
2547 * soft-fp/eqsf2.c: Likewise.
2548 * soft-fp/eqtf2.c: Likewise.
2549 * soft-fp/extenddftf2.c: Likewise.
2550 * soft-fp/extended.h: Likewise.
2551 * soft-fp/extendhftf2.c: Likewise.
2552 * soft-fp/extendsfdf2.c: Likewise.
2553 * soft-fp/extendsftf2.c: Likewise.
2554 * soft-fp/extendxftf2.c: Likewise.
2555 * soft-fp/fixdfdi.c: Likewise.
2556 * soft-fp/fixdfsi.c: Likewise.
2557 * soft-fp/fixdfti.c: Likewise.
2558 * soft-fp/fixhfti.c: Likewise.
2559 * soft-fp/fixsfdi.c: Likewise.
2560 * soft-fp/fixsfsi.c: Likewise.
2561 * soft-fp/fixsfti.c: Likewise.
2562 * soft-fp/fixtfdi.c: Likewise.
2563 * soft-fp/fixtfsi.c: Likewise.
2564 * soft-fp/fixtfti.c: Likewise.
2565 * soft-fp/fixunsdfdi.c: Likewise.
2566 * soft-fp/fixunsdfsi.c: Likewise.
2567 * soft-fp/fixunsdfti.c: Likewise.
2568 * soft-fp/fixunshfti.c: Likewise.
2569 * soft-fp/fixunssfdi.c: Likewise.
2570 * soft-fp/fixunssfsi.c: Likewise.
2571 * soft-fp/fixunssfti.c: Likewise.
2572 * soft-fp/fixunstfdi.c: Likewise.
2573 * soft-fp/fixunstfsi.c: Likewise.
2574 * soft-fp/fixunstfti.c: Likewise.
2575 * soft-fp/floatdidf.c: Likewise.
2576 * soft-fp/floatdisf.c: Likewise.
2577 * soft-fp/floatditf.c: Likewise.
2578 * soft-fp/floatsidf.c: Likewise.
2579 * soft-fp/floatsisf.c: Likewise.
2580 * soft-fp/floatsitf.c: Likewise.
2581 * soft-fp/floattidf.c: Likewise.
2582 * soft-fp/floattihf.c: Likewise.
2583 * soft-fp/floattisf.c: Likewise.
2584 * soft-fp/floattitf.c: Likewise.
2585 * soft-fp/floatundidf.c: Likewise.
2586 * soft-fp/floatundisf.c: Likewise.
2587 * soft-fp/floatunditf.c: Likewise.
2588 * soft-fp/floatunsidf.c: Likewise.
2589 * soft-fp/floatunsisf.c: Likewise.
2590 * soft-fp/floatunsitf.c: Likewise.
2591 * soft-fp/floatuntidf.c: Likewise.
2592 * soft-fp/floatuntihf.c: Likewise.
2593 * soft-fp/floatuntisf.c: Likewise.
2594 * soft-fp/floatuntitf.c: Likewise.
2595 * soft-fp/gedf2.c: Likewise.
2596 * soft-fp/gesf2.c: Likewise.
2597 * soft-fp/getf2.c: Likewise.
2598 * soft-fp/half.h: Likewise.
2599 * soft-fp/ledf2.c: Likewise.
2600 * soft-fp/lesf2.c: Likewise.
2601 * soft-fp/letf2.c: Likewise.
2602 * soft-fp/muldf3.c: Likewise.
2603 * soft-fp/mulsf3.c: Likewise.
2604 * soft-fp/multf3.c: Likewise.
2605 * soft-fp/negdf2.c: Likewise.
2606 * soft-fp/negsf2.c: Likewise.
2607 * soft-fp/negtf2.c: Likewise.
2608 * soft-fp/op-1.h: Likewise.
2609 * soft-fp/op-2.h: Likewise.
2610 * soft-fp/op-4.h: Likewise.
2611 * soft-fp/op-8.h: Likewise.
2612 * soft-fp/op-common.h: Likewise.
2613 * soft-fp/quad.h: Likewise.
2614 * soft-fp/single.h: Likewise.
2615 * soft-fp/soft-fp.h: Likewise.
2616 * soft-fp/subdf3.c: Likewise.
2617 * soft-fp/subsf3.c: Likewise.
2618 * soft-fp/subtf3.c: Likewise.
2619 * soft-fp/truncdfsf2.c: Likewise.
2620 * soft-fp/trunctfdf2.c: Likewise.
2621 * soft-fp/trunctfhf2.c: Likewise.
2622 * soft-fp/trunctfsf2.c: Likewise.
2623 * soft-fp/trunctfxf2.c: Likewise.
2624 * soft-fp/unorddf2.c: Likewise.
2625 * soft-fp/unordsf2.c: Likewise.
2626 * soft-fp/unordtf2.c: Likewise.
2627
2901f42f
VK
26282018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
2629
2630 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
2631 * config/i386/cpuinfo.h (processor_types): Add znver2.
2632
4310ca66
PK
26332018-11-01 Paul Koning <ni1d@arrl.net>
2634
2635 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
2636 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
2637
22e05272
JM
26382018-10-31 Joseph Myers <joseph@codesourcery.com>
2639
2640 PR bootstrap/82856
2641 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
2642 * configure: Regenerate.
2643
8180cde0
CZ
26442018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
2645
2646 * config/arc/lib1funcs.S (_muldi3): New function.
2647 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
2648
be7b071e
RV
26492018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2650
2651 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
2652
3239d726
ML
26532018-10-25 Martin Liska <mliska@suse.cz>
2654
2655 PR other/87735
2656 * libgcov-profiler.c: Revert.
2657
19b55958
ML
26582018-10-24 Martin Liska <mliska@suse.cz>
2659
2660 * libgcov-profiler.c: Start from 1 in order to distinguish
2661 functions which were seen and these that were not.
2662
a9a2fddb
PK
26632018-10-18 Paul Koning <ni1d@arrl.net>
2664
2665 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
2666 standard.
2667 * divmod.c: Update references to __udivmodsi4.
2668 * udivmod.c: Ditto.
2669 * udivhi3.c: New file.
2670 * udivmodhi4.c: New file.
2671 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
2672
fc8abc46
RV
26732018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2674
2675 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
2676
87f918e3
OH
26772018-10-12 Olivier Hainque <hainque@adacore.com>
2678
2679 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
2680 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
2681
be86efa7
PK
26822018-10-08 Paul Koning <ni1d@arrl.net>
2683
2684 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
2685
3edbcdbe
ML
26862018-10-04 Martin Liska <mliska@suse.cz>
2687
2688 PR gcov-profile/84107
2689 * libgcov-profiler.c (__gcov_indirect_call):
2690 Change type to indirect_call_tuple.
2691 (struct indirect_call_tuple): New struct.
2692 (__gcov_indirect_call_topn_profiler): Change type.
2693 (__gcov_indirect_call_profiler_v2): Use the new
2694 variables.
2695 * libgcov.h (struct indirect_call_tuple): New struct
2696 definition.
2697
af8096fc
UB
26982018-10-03 Uros Bizjak <ubizjak@gmail.com>
2699
2700 * libgcc2.c (isnan): Use __builtin_isnan.
2701 (isfinite): Use __builtin_isfinite.
2702 (isinf): Use __builtin_isinf.
2703
0a76bba4
UB
27042018-09-26 Uros Bizjak <ubizjak@gmail.com>
2705
2706 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
2707
5244089f
OH
27082018-09-21 Alexandre Oliva <oliva@adacore.com>
2709
2710 * config/vxcache.c: New file. Provide __clear_cache, based on
2711 the cacheTextUpdate VxWorks service.
2712 * config/t-vxworks (LIB2ADD): Add vxcache.c.
2713 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
2714 * config/t-vxwoks7: Likewise.
2715
512cc015
ML
27162018-09-21 Martin Liska <mliska@suse.cz>
2717
2718 * libgcov-driver.c (crc32_unsigned): Remove.
2719 (gcov_histogram_insert): Likewise.
2720 (gcov_compute_histogram): Likewise.
2721 (compute_summary): Simplify rapidly.
2722 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
2723 (merge_summary): Rapidly simplify.
2724 (dump_one_gcov): Ignore gcov_summary.
2725 (gcov_do_dump): Do not handle program summary, it's not
2726 used.
2727 * libgcov-util.c (tag_summary): Remove.
2728 (read_gcda_finalize): Fix coding style.
2729 (read_gcda_file): Initialize curr_object_summary.
2730 (compute_summary): Remove.
2731 (calculate_overlap): Remove settings of run_max.
2732
36ff254b
MC
27332018-09-21 Monk Chiang <sh.chiang04@gmail.com>
2734
2735 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
2736 ucontext_t type instead.
2737 (nds32_fallback_frame_state): Remove struct _sigframe statement.
2738
229a033d
KC
27392018-09-21 Kito Cheng <kito.cheng@gmail.com>
2740
2741 * config/nds32/t-nds32-glibc: New file.
2742
53c6feb2
RO
27432018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2744
2745 * configure.ac (solaris_ld_v2_maps): New test.
2746 * configure: Regenerate.
2747 * Makefile.in (solaris_ld_v2_maps): New variable.
2748 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
2749 if supported.
2750
ebdb6f23
RE
27512018-08-23 Richard Earnshaw <rearnsha@arm.com>
2752
2753 PR target/86951
2754 * config/arm/lib1funcs.asm (speculation_barrier): New function.
2755 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
2756 to build.
2757
a49c064e
IS
27582018-08-22 Iain Sandoe <iain@sandoe.co.uk>
2759
1ea7ea18 2760 * config/unwind-dw2-fde-darwin.c
a49c064e
IS
2761 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
2762 * config/darwin10-unwind-find-enc-func.c: … to here.
2763 * config/t-darwin: Build Darwin10 unwinder shim crt.
2764 * libgcc/config.host: Add the Darwin10 unwinder shim.
2765
9a5b8df7
RV
27662018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2767
2768 * config.host: Add crtbegin.o and crtend.o for
2769 powerpc-wrs-vxworks target.
2770
4cd0bc3b
J
27712018-08-17 Jojo <jijie_rong@c-sky.com>
2772 Huibin Wang <huibin_wang@c-sky.com>
2773 Sandra Loosemore <sandra@codesourcery.com>
2774 Chung-Lin Tang <cltang@codesourcery.com>
2775
2776 C-SKY port: libgcc
2777
2778 * config.host: Add C-SKY support.
2779 * config/csky/*: New.
2780
a4931745
CJW
27812018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
2782
2783 * config/nds32/t-nds32-isr: Rearrange object dependency.
2784 * config/nds32/initfini.c: Add dwarf2 unwinding support.
2785 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
2786 and registers usage.
2787 * config/nds32/isr-library/excp_isr.S: Ditto.
2788 * config/nds32/isr-library/intr_isr.S: Ditto.
2789 * config/nds32/isr-library/reset.S: Ditto.
2790 * config/nds32/isr-library/restore_all.inc: Ditto.
2791 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
2792 * config/nds32/isr-library/restore_partial.inc: Ditto.
2793 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
2794 * config/nds32/isr-library/save_all.inc: Ditto.
2795 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
2796 * config/nds32/isr-library/save_partial.inc: Ditto.
2797 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
2798 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
2799
2b1969f6
JDA
28002018-08-11 John David Anglin <danglin@gcc.gnu.org>
2801
2802 * config/pa/linux-atomic.c: Update comment.
2803 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
2804 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
2805 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
2806 __ATOMIC_RELAXED for atomic loads.
2807 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
2808 unordered store to release lock.
2809 (__sync_lock_release_8): Likewise.
2810 (SYNC_LOCK_RELEASE_2): Remove define.
af8096fc 2811
89fff9cc
NP
28122018-08-02 Nicolas Pitre <nico@fluxnic.net>
2813
2814 PR libgcc/86512
2815 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
2816 exponent goes negative. Update my email address.
2817 * config/arm/ieee754-sf.S: Likewise.
2818
fd2e1dcd
ML
28192018-08-01 Martin Liska <mliska@suse.cz>
2820
2821 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
92a285c1 2822 check that __gcov_indirect_call_callee is non-null.
fd2e1dcd 2823
b7415975
CL
28242018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
2825
2826 * config/arm/ieee754-df.S: Fix comment for code working on
2827 architectures >= 4.
2828 * config/arm/ieee754-sf.S: Likewise.
2829
b72e71a3
L
28302018-07-27 H.J. Lu <hongjiu.lu@intel.com>
2831
2832 PR libgcc/85334
2833 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2834 Removed.
2835
1c686aa4
JC
28362018-07-05 James Clarke <jrtc27@jrtc27.com>
2837
2838 * configure: Regenerated.
2839
b61c9b99
RO
28402018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2841
2842 * Makefile.in (install_leaf): Use enable_gcov instead of
2843 enable_libgcov.
2844
1765b023
RV
28452018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2846
2847 * configure.ac: Add --disable-gcov option.
2848 * configure: Regenerate.
2849 * Makefile.in: Honour @enable_gcov@.
2850
9b2e34ef
CL
28512018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
2852
2853 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
2854 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
2855 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
2856 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
2857 __ARM_ARCH__.
2858 * config/arm/ieee754-sf.S: Likewise.
2859 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
2860
d1b0dd54
CL
28612018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
2862
2863 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
2864 longer supported.
2865 * config/arm/ieee754-sf.S: Likewise.
2866
1f3fa525
TM
28672018-06-20 Than McIntosh <thanm@google.com>
2868
2869 PR libgcc/86213
2870 * generic-morestack.c (allocate_segment): Move calls to getenv and
2871 getpagesize to __morestack_load_mmap.
2872 (__morestack_load_mmap) Initialize static_pagesize and
2873 use_guard_page here so as to avoid clobbering SSE regs during a
2874 __morestack call.
2875
6a8886e4
MM
28762018-06-18 Michael Meissner <meissner@linux.ibm.com>
2877
2878 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
2879 support modules with -mno-gnu-attribute.
2880 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
2881
fb997097
OH
28822018-06-07 Olivier Hainque <hainque@adacore.com>
2883
2884 * config/t-vxworks (LIBGCC_INCLUDES): Add
2885 -I$(MULTIBUILDTOP)../../gcc/include.
2886 * config/t-vxworks7: Likewise. Reformat a bit to match
2887 the t-vxworks layout.
2888
a548a5a1
OM
28892018-06-07 Olga Makhotina <olga.makhotina@intel.com>
2890
2891 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
2892
244aebfd
ML
28932018-06-07 Martin Liska <mliska@suse.cz>
2894
2895 * libgcov-driver.c: Rename cs_all to all and assign it from
92a285c1 2896 all_prg.
244aebfd 2897
6c086e8c
ML
28982018-06-07 Martin Liska <mliska@suse.cz>
2899
92a285c1 2900 PR bootstrap/86057
6c086e8c 2901 * libgcov-driver-system.c (replace_filename_variables): Use
92a285c1 2902 memcpy instead of mempcpy.
6c086e8c 2903 (allocate_filename_struct): Do not allocate filename, allocate
92a285c1 2904 prefix and set it.
6c086e8c 2905 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
92a285c1 2906 here and properly copy content into it.
6c086e8c 2907 * libgcov-driver.c (struct gcov_filename): Remove max_length
92a285c1 2908 field, change prefix from size_t into char *.
6c086e8c
ML
2909 (compute_summary): Do not calculate longest filename.
2910 (gcov_do_dump): Release memory of gf.filename after each file.
2911 * libgcov-util.c (compute_summary): Use new signature of
92a285c1 2912 compute_summary.
6c086e8c
ML
2913 (calculate_overlap): Likewise.
2914
97a53d1d
ML
29152018-06-05 Martin Liska <mliska@suse.cz>
2916
2917 PR gcov-profile/47618
2918 * libgcov-driver-system.c (replace_filename_variables): New
92a285c1 2919 function.
97a53d1d
ML
2920 (gcov_exit_open_gcda_file): Use it.
2921
7f3577f5
ML
29222018-06-05 Martin Liska <mliska@suse.cz>
2923
2924 * libgcov-driver.c (gcov_compute_histogram): Remove usage
2925 of gcov_ctr_summary.
2926 (compute_summary): Do it just for a single summary.
2927 (merge_one_data): Likewise.
2928 (merge_summary): Simplify as we read just single summary.
2929 (dump_one_gcov): Pass proper argument.
2930 * libgcov-util.c (compute_one_gcov): Simplify as we have just
2931 single summary.
2932 (gcov_info_count_all_cold): Likewise.
2933 (calculate_overlap): Likewise.
2934
cf3cd43d
CJW
29352018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
2936 Monk Chiang <sh.chiang04@gmail.com>
2937
2938 * config.host (nds32*-linux*): New.
2939 * config/nds32/linux-atomic.c: New file.
2940 * config/nds32/linux-unwind.h: New file.
2941
8b8003ed
UB
29422018-05-31 Uros Bizjak <ubizjak@gmail.com>
2943
2944 PR target/85591
2945 * config/i386/cpuinfo.c (get_amd_cpu): Return
2946 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
2947
bbdf026f
RV
29482018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
2949
92a285c1 2950 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
bbdf026f 2951
0e8f29da
ML
29522018-05-29 Martin Liska <mliska@suse.cz>
2953
92a285c1 2954 PR gcov-profile/85759
0e8f29da 2955 * libgcov-driver-system.c (gcov_error): Introduce usage of
92a285c1 2956 GCOV_EXIT_AT_ERROR env. variable.
0e8f29da 2957 * libgcov-driver.c (merge_one_data): Print error that we
92a285c1 2958 overwrite a gcov file with a different timestamp.
0e8f29da 2959
54fd1590
K
29602018-05-23 Kalamatee <kalamatee@gmail.com>
2961
2962 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
2963 path to Lf$finfty.
2964
09baee1a
KC
29652018-05-18 Kito Cheng <kito.cheng@gmail.com>
2966 Monk Chiang <sh.chiang04@gmail.com>
2967 Jim Wilson <jimw@sifive.com>
2968
2969 * config/riscv/save-restore.S: Add support for rv32e.
2970
c3f808d3
KT
29712018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2972
2973 * config/arm/libunwind.S: Update comment relating to armv5.
2974
fcf4f831
JL
29752018-05-17 Jerome Lambourg <lambourg@adacore.com>
2976
2977 * config/arm/cmse.c (cmse_check_address_range): Replace
2978 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
2979
74b2bb19
OM
29802018-05-17 Olga Makhotina <olga.makhotina@intel.com>
2981
2982 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
2983 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
2984
50e461df
OM
29852018-05-08 Olga Makhotina <olga.makhotina@intel.com>
2986
2987 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
2988 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
2989
e5f1cdb1
AC
29902018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
2991
2992 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
2993
8f479d7a
AT
29942018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
2995 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
2996
2997 PR libgcc/84292
2998 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
2999 op_and_fetch to return the right result.
3000
ae043291
AM
30012018-04-27 Alan Modra <amodra@gmail.com>
3002
3003 PR libgcc/85532
3004 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
3005 -fno-asynchronous-unwind-tables.
3006
ba169b74
CJW
30072018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
3008
3009 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
3010 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
3011
ffc2fc06
L
30122018-04-24 H.J. Lu <hongjiu.lu@intel.com>
3013
3014 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
3015 when including "config/i386/shadow-stack-unwind.h".
3016
7b47ecf2
L
30172018-04-24 H.J. Lu <hongjiu.lu@intel.com>
3018
3019 * configure: Regenerated.
3020
661eb8f9
MM
30212018-04-20 Michael Meissner <meissner@linux.ibm.com>
3022
3023 PR target/85456
3024 * config/rs6000/_powikf2.c: New file. Add support for the
3025 __builtin_powil function when long double is IEEE 128-bit floating
3026 point.
3027 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
3028 __powikf2 support.
3029 (__powikf2): Likewise.
3030 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
3031 (__powikf2_hw): Likewise.
3032 (__powikf2): Likewise.
3033 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
3034 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
3035 (_powikf2-hw.c): Likewise.
3036
5707be3c
L
30372018-04-19 H.J. Lu <hongjiu.lu@intel.com>
3038
3039 PR libgcc/85334
3040 * unwind-generic.h (_Unwind_Frames_Increment): New.
3041 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
3042 Likewise.
3043 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
3044 count with _Unwind_Frames_Increment.
3045 (_Unwind_ForcedUnwind_Phase2): Likewise.
3046
5f9ca0b8
L
30472018-04-19 H.J. Lu <hongjiu.lu@intel.com>
3048
3049 PR libgcc/85379
3050 * config/i386/morestack.S (__stack_split_initialize): Add
3051 _CET_ENDBR.
3052
a0e1df88
JJ
30532018-04-19 Jakub Jelinek <jakub@redhat.com>
3054
3055 * configure: Regenerated.
3056
001ddaa8
DM
30572018-04-18 David Malcolm <dmalcolm@redhat.com>
3058
3059 PR jit/85384
3060 * configure: Regenerate.
3061
a57f99ba
JJ
30622018-04-16 Jakub Jelinek <jakub@redhat.com>
3063
3064 PR target/84945
3065 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
3066 -Wdangling-else warnings. Mask shift counts to avoid
3067 -Wshift-count-negative and -Wshift-count-overflow false positives.
3068
4d47fe5a
RB
30692018-04-06 Ruslan Bukin <br@bsdpad.com>
3070
3071 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
3072
059cc8ac
L
30732018-03-29 H.J. Lu <hongjiu.lu@intel.com>
3074
3075 PR target/85100
3076 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
3077 (XSTATE_FP): Likewise.
3078 (XSTATE_SSE): Likewise.
3079 (XSTATE_YMM): Likewise.
3080 (XSTATE_OPMASK): Likewise.
3081 (XSTATE_ZMM): Likewise.
3082 (XSTATE_HI_ZMM): Likewise.
3083 (XCR_AVX_ENABLED_MASK): Likewise.
3084 (XCR_AVX512F_ENABLED_MASK): Likewise.
3085 (get_available_features): Enable AVX and AVX512 features only
3086 if their states are supported by OSXSAVE.
3087
f2620385
IT
30882018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3089
3090 PR target/85025
3091 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
3092 Fix a typo, tmp => 255.
3093
ae6dca8c
JJ
30942018-03-20 Jakub Jelinek <jakub@redhat.com>
3095
3096 PR target/84945
3097 * config/i386/cpuinfo.h (__cpu_features2): Declare.
3098 * config/i386/cpuinfo.c (__cpu_features2): New variable for
3099 ifndef SHARED only.
3100 (set_feature): Define.
3101 (get_available_features): Use set_feature macro. Set __cpu_features2
3102 to the second word of features ifndef SHARED.
3103
c36b04c1
JK
31042018-03-15 Julia Koval <julia.koval@intel.com>
3105
3106 * config/i386/cpuinfo.c (get_available_features): Add
3107 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
3108 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
3109 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
3110 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
3111 FEATURE_AVX512BITALG.
3112
79ab5364
JK
31132018-03-14 Julia Koval <julia.koval@intel.com>
3114
3115 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
3116 icelake client and icelake server.
3117
66a00b11
JDA
31182018-03-06 John David Anglin <danglin@gcc.gnu.org>
3119
3120 * config/pa/fptr.c (_dl_read_access_allowed): New.
3121 (__canonicalize_funcptr_for_compare): Use it.
af8096fc 3122
ce579a4f
JJ
31232018-02-28 Jakub Jelinek <jakub@redhat.com>
3124
3125 PR debug/83917
3126 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
3127 $asm_hidden_op if visibility ("hidden") attribute works.
3128 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
3129 * config/i386/i386-asm.h: Don't include auto-host.h.
3130 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
3131 PACKAGE_URL): Don't undefine.
3132 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
3133 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
3134 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
3135 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
3136 definition instead of hardcoded .hidden.
3137 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
3138 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
3139 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
3140 (USE_GAS_CFI_DIRECTIVES): Don't define.
3141 * configure: Regenerated.
3142 * config.in: Likewise.
3143
e5868319
JJ
31442018-02-26 Jakub Jelinek <jakub@redhat.com>
3145
3146 PR debug/83917
3147 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
3148 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
3149 inclusion of auto-target.h and auto-host.h.
3150 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
3151 __GCC_HAVE_DWARF2_CFI_ASM.
3152 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
3153 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
3154 cfi_pop): Define.
3155 * config/i386/cygwin.S: Don't include auto-host.h here, just
3156 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
3157 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
3158 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
3159 * config/i386/resms64fx.h: Add cfi_* directives.
3160 * config/i386/resms64x.h: Likewise.
3161
faef260e
MF
31622018-02-20 Max Filippov <jcmvbkbc@gmail.com>
3163
3164 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
3165 .literal_position directive.
3166 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
3167
14e335ed
IT
31682018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3169
3170 PR target/84148
3171 * configure: Regenerate.
3172
95df0433
IT
31732018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3174
3175 PR target/84239
3176 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
3177 Include cetintrin.h not x86intrin.h.
3178
f8de876d
IT
31792018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3180
3181 PR target/84239
95df0433 3182 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
f8de876d
IT
3183 Use new _get_ssp and _inc_ssp intrinsics.
3184
02da1e9c
JK
31852018-02-02 Julia Koval <julia.koval@intel.com>
3186
3187 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
3188
048c6a9a
CZ
31892018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
3190
3191 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
3192 option.
3193 (__divsi3): Use RF16 safe registers.
3194 (__modsi3): Likewise.
3195
0889f168
MF
31962018-01-23 Max Filippov <jcmvbkbc@gmail.com>
3197
3198 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
3199 (__divsf3): Make NaN return value quiet.
3200 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
3201 (__divdf3): Make NaN return value quiet.
3202
bc8b0d04
SP
32032018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
3204
3205 * config/rl78/anddi3.S: New assembly file.
3206 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
3207
99cc06ea
SP
32082018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
3209
3210 * config/rl78/umindi3.S: New assembly file.
3211 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
3212
6e9007a0
SP
32132018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
3214
3215 * config/rl78/smindi3.S: New assembly file.
3216 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
3217
d975e494 32182018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 3219
d975e494
SP
3220 * config/rl78/smaxdi3.S: New assembly file.
3221 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
3222
6a18c146 32232018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 3224
5dd16013
SP
3225 * config/rl78/umaxdi3.S: New assembly file.
3226 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
af8096fc 3227
07baf4a5
JDA
32282018-01-21 John David Anglin <danglin@gcc.gnu.org>
3229
3230 PR lto/83452
3231 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
3232 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
af8096fc 3233
dbc3af4f
RS
32342018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
3235
3236 * config/aarch64/value-unwind.h (aarch64_vg): New function.
3237 (DWARF_LAZY_REGISTER_VALUE): Define.
3238 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
3239 to provide a fallback register value.
3240
68df9882
MM
32412018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
3242
3243 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
3244 __ibm128, instead of trying to use long double.
3245 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
3246 accomidate -mabi=ieeelongdouble multilibs.
3247 (CVT_IBM128_TO_FLOAT128): Likewise.
3248 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
3249 the appropriate IBM extended double type.
3250 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
3251 (__gcc_qsub): Likewise.
3252 (__gcc_qmul): Likewise.
3253 (__gcc_qdiv): Likewise.
3254 (pack_ldouble): Likewise.
3255 (__gcc_qneg): Likewise.
3256 (__gcc_qeq): Likewise.
3257 (__gcc_qne): Likewise.
3258 (__gcc_qge): Likewise.
3259 (__gcc_qle): Likewise.
3260 (__gcc_stoq): Likewise.
3261 (__gcc_dtoq): Likewise.
3262 (__gcc_itoq): Likewise.
3263 (__gcc_utoq): Likewise.
3264 (__gcc_qunord): Likewise.
3265 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
3266 quad-float128.h for the definitions.
3267 (COPYSIGN): Use the f128 version instead of the q version.
3268 (INFINITY): Likewise.
3269 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
3270 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
3271 quad-float128.h for the definitions.
3272 (COPYSIGN): Use the f128 version instead of the q version.
3273 (INFINITY): Likewise.
3274 (FABS): Likewise.
3275 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
3276 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
3277 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
3278
64b371b1
SH
32792018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
3280
3281 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
3282 configuration.
3283
85ec4feb
JJ
32842018-01-03 Jakub Jelinek <jakub@redhat.com>
3285
3286 Update copyright years.
3287
32882017-12-12 Kito Cheng <kito.cheng@gmail.com>
b8d7e076
KC
3289
3290 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
3291 * config/riscv/multi3.c: New file.
3292 * config/riscv/multi3.S: Remove.
3293
3a4c600f
JW
32942017-12-08 Jim Wilson <jimw@sifive.com>
3295
3296 * config/riscv/div.S: Use FUNC_* macros.
3297 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
3298 * config/riscv/save-restore.S: Likewise.
3299 * config/riscv/riscv-asm.h: New.
3300
75ad35b5
MM
33012017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
3302
6ae3512c
MM
3303 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
3304 * config/rs6000/_divkc3.c (__divkc3): Likewise.
3305
75ad35b5
MM
3306 PR libgcc/83112
3307 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
3308 correct type for all ifunc resolvers to silence -Wattribute-alias
3309 warnings. Eliminate the forward declaration of the resolver
3310 functions which is no longer needed.
3311 (__subkf3_resolve): Likewise.
3312 (__mulkf3_resolve): Likewise.
3313 (__divkf3_resolve): Likewise.
3314 (__negkf2_resolve): Likewise.
3315 (__eqkf2_resolve): Likewise.
3316 (__nekf2_resolve): Likewise.
3317 (__gekf2_resolve): Likewise.
3318 (__gtkf2_resolve): Likewise.
3319 (__lekf2_resolve): Likewise.
3320 (__ltkf2_resolve): Likewise.
3321 (__unordkf2_resolve): Likewise.
3322 (__extendsfkf2_resolve): Likewise.
3323 (__extenddfkf2_resolve): Likewise.
3324 (__trunckfsf2_resolve): Likewise.
3325 (__trunckfdf2_resolve): Likewise.
3326 (__fixkfsi_resolve): Likewise.
3327 (__fixkfdi_resolve): Likewise.
3328 (__fixunskfsi_resolve): Likewise.
3329 (__fixunskfdi_resolve): Likewise.
3330 (__floatsikf_resolve): Likewise.
3331 (__floatdikf_resolve): Likewise.
3332 (__floatunsikf_resolve): Likewise.
3333 (__floatundikf_resolve): Likewise.
3334 (__extendkftf2_resolve): Likewise.
3335 (__trunctfkf2_resolve): Likewise.
3336
3337 PR libgcc/83103
3338 * config/rs6000/quad-float128.h (TF): Don't define if long double
3339 is IEEE 128-bit floating point.
3340 (TCtype): Define as either TCmode or KCmode, depending on whether
3341 long double is IEEE 128-bit floating point.
3342 (__mulkc3_sw): Add declarations for software/hardware versions of
3343 complex multiply/divide.
3344 (__divkc3_sw): Likewise.
3345 (__mulkc3_hw): Likewise.
3346 (__divkc3_hw): Likewise.
3347 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
3348 handlers to switch between using software emulation and hardware
3349 float128 instructions, build the complex multiply/divide functions
3350 for both software and hardware support.
3351 * config/rs6000/_divkc3.c (_divkc3): Likewise.
3352 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
3353 (__divkc3_resolve): Likewise.
3354 (__mulkc3): Likewise.
3355 (__divkc3): Likewise.
3356 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
3357 (fp128_hw_src): Likewise.
3358 (fp128_hw_static_obj): Likewise.
3359 (fp128_hw_shared_obj): Likewise.
3360 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
3361 _mulkc3.c and _divkc3.c, changing the function name.
3362 (_divkc3-hw.c): Likewise.
3363 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
3364 and _divkc3-hw.c.
3365
c234d831
UB
33662017-11-26 Julia Koval <julia.koval@intel.com>
3367
3368 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
3369 * config/i386/cpuinfo.h (processor_subtypes): Add
3370 INTEL_COREI7_CANNONLAKE.
3371
1ebafce0
IT
33722017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3373
3374 PR bootstrap/83015
3375 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
3376 parameter.
3377 * config/xtensa/unwind-dw2-xtensa.c: Likewise
3378 * config/ia64/unwind-ia64.c: Add frames parameter.
3379 * unwind-sjlj.c: Likewise.
3380
6a10fff4
IT
33812017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3382
3383 * config/i386/linux-unwind.h: Include
3384 config/i386/shadow-stack-unwind.h.
3385 * config/i386/shadow-stack-unwind.h: New file.
3386 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
3387 pass it to _Unwind_Frames_Extra.
3388 * unwind-generic.h (_Unwind_Frames_Extra): New.
3389 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
3390 parameter. Add local variable frames to count number of frames.
3391 (_Unwind_ForcedUnwind_Phase2): Likewise.
3392 (_Unwind_RaiseException): Add local variable frames to count
3393 number of frames, pass it to _Unwind_RaiseException_Phase2 and
3394 uw_install_context.
3395 (_Unwind_ForcedUnwind): Likewise.
3396 (_Unwind_Resume): Likewise.
3397 (_Unwind_Resume_or_Rethrow): Likewise.
3398
1ecae1fc
IT
33992017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3400
3401 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
3402 (CET_FLAGS): New.
3403 * config/i386/morestack.S: Include <cet.h>.
3404 (__morestack_large_model): Add _CET_ENDBR at function entrance.
3405 * config/i386/resms64.h: Include <cet.h>.
3406 * config/i386/resms64f.h: Likewise.
3407 * config/i386/resms64fx.h: Likewise.
3408 * config/i386/resms64x.h: Likewise.
3409 * config/i386/savms64.h: Likewise.
3410 * config/i386/savms64f.h: Likewise.
3411 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
3412 (CRTSTUFF_T_CFLAGS): Likewise.
3413 * configure.ac: Include ../config/cet.m4.
3414 Set and substitute CET_FLAGS.
3415 * configure: Regenerated.
3416
f021f1d3
RO
34172017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3418
3419 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
3420 renaming.
3421 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
3422 * configure.ac (libgcc_cv_solaris_crts): Likewise.
3423 * configure: Regenerate.
3424
65f480c7
TV
34252017-11-07 Tom de Vries <tom@codesourcery.com>
3426
3427 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
3428 after "do {} while (0)".
3429
2a321acb
TV
34302017-11-07 Tom de Vries <tom@codesourcery.com>
3431
3432 PR other/82784
3433 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
3434 semicolon after "do {} while (0)".
3435 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3436 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3437 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3438 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3439
59fcf6c3
AT
34402017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
3441
3442 PR libgcc/82635
3443 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
3444 sysctl to determine whether we're in a trampoline.
3445 Keep the pattern matching method for systems without
3446 KERN_PROC_SIGTRAMP sysctl.
3447
b0c7ddf8
CM
34482017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
3449 Vineet Gupta <vgupta@synopsys.com>
3450
3451 * config.host (arc*-*-linux*): Set md_unwind_header variable.
3452 * config/arc/linux-unwind-reg.def: New file.
3453 * config/arc/linux-unwind-reg.h: Likewise.
3454
5feee954
SP
34552017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
3456
3457 * config/rl78/subdi3.S: New assembly file.
3458 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
3459
a0bf6cf7
SP
34602017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
3461
3462 * config/rl78/adddi3.S: New assembly file.
3463 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
3464
e7176f75
JJ
34652017-10-13 Jakub Jelinek <jakub@redhat.com>
3466
3467 PR target/82274
3468 * libgcc2.c (__mulvDI3): If both operands have
3469 the same highpart of -1 and the topmost bit of lowpart is 0,
3470 multiplication overflows even if both lowparts are 0.
3471
db6601d2
JB
34722017-09-28 James Bowman <james.bowman@ftdichip.com>
3473
3474 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
3475
938b6f1e
JM
34762017-09-26 Joseph Myers <joseph@codesourcery.com>
3477
3478 * config/microblaze/crti.S, config/microblaze/crtn.S,
3479 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
3480 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
3481 config/microblaze/mulsi3.S,
3482 config/microblaze/stack_overflow_exit.S,
3483 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
3484 config/pa/milli64.S: Add .note.GNU-stack section.
3485
89762a83
DS
34862017-09-23 Daniel Santos <daniel.santos@pobox.com>
3487
3488 * configure.ac: Add Check for HAVE_AS_AVX.
3489 * config.in: Regenerate.
3490 * configure: Likewise.
3491 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
3492 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
3493 Correct out-of-date comments.
3494
cace2309
SP
34952017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
3496
3497 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
3498 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
3499
3cb626e4
DS
35002017-09-17 Daniel Santos <daniel.santos@pobox.com>
3501
cace2309 3502 * config/i386/i386-asm.h (PASTE2): New macro.
3cb626e4
DS
3503 (ASMNAME): Modify to use PASTE2.
3504 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
3505 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
cace2309 3506 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
3cb626e4 3507 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
cace2309
SP
3508 * config/i386/resms64f.S: Likewise.
3509 * config/i386/resms64fx.S: Likewise.
3510 * config/i386/resms64x.S: Likewise.
3511 * config/i386/savms64.S: Likewise.
3512 * config/i386/savms64f.S: Likewise.
3513 * config/i386/avx_resms64.S: New file that only defines a macro and
3cb626e4 3514 includes it's corresponding header file.
cace2309
SP
3515 * config/i386/avx_resms64f.S: Likewise.
3516 * config/i386/avx_resms64fx.S: Likewise.
3517 * config/i386/avx_resms64x.S: Likewise.
3518 * config/i386/avx_savms64.S: Likewise.
3519 * config/i386/avx_savms64f.S: Likewise.
3520 * config/i386/sse_resms64.S: Likewise.
3521 * config/i386/sse_resms64f.S: Likewise.
3522 * config/i386/sse_resms64fx.S: Likewise.
3523 * config/i386/sse_resms64x.S: Likewise.
3524 * config/i386/sse_savms64.S: Likewise.
3525 * config/i386/sse_savms64f.S: Likewise.
3526 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3cb626e4 3527
2f19c491 35282017-09-01 Olivier Hainque <hainque@adacore.com>
2f19c491
OH
3529 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
3530
611e7036
OH
35312017-08-31 Olivier Hainque <hainque@adacore.com>
3532
3533 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
3534 match as powerpc-wrs-vxworks*.
3535
c8f34527
JY
35362017-08-07 Jonathan Yong <10walls@gmail.com>
3537
3538 * config.host (*-cygwin): Include file from mingw
3539 config/i386/enable-execute-stack-mingw32.c
3540
0b458d2b 35412017-08-01 Jerome Lambourg <lambourg@adacore.com>
92a285c1
ML
3542 Doug Rupp <rupp@adacore.com>
3543 Olivier Hainque <hainque@adacore.com>
0b458d2b
JL
3544
3545 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
3546 as well as arm-wrs-vxworks.
3547 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
3548 LIB2ADDEH.
3549 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
3550 __exidx_start and __exidx_end for downloadable modules.
3551
4df612fa
OH
35522017-08-01 Olivier Hainque <hainque@adacore.com>
3553
3554 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
3555 * config/t-vxworks7: Likewise.
3556
5560e8c0
OH
35572017-08-01 Olivier Hainque <hainque@adacore.com>
3558
3559 * config/t-vxworks: Instead of redefining LIB2ADD,
3560 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
3561
16bab95a
SH
35622017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
3563
3564 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
3565
9cbc07cc
DS
35662017-07-24 Daniel Santos <daniel.santos@pobox.com>
3567
3568 PR testsuite/80759
3569 * config.host: include i386/t-msabi for darwin and solaris.
3570 * config/i386/i386-asm.h
3571 (ELFFN): Rename to FN_TYPE.
3572 (FN_SIZE): New macro.
3573 (FN_HIDDEN): Likewise.
3574 (ASMNAME): Likewise.
3575 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
3576 .globl.
3577 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
3578 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
3579 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
3580 .macro.
3581 * config/i386/resms64f.S: Likewise.
3582 * config/i386/resms64fx.S: Likewise.
3583 * config/i386/resms64x.S: Likewise.
3584 * config/i386/savms64.S: Likewise.
3585 * config/i386/savms64f.S: Likewise.
3586
de742204
JM
35872017-07-19 John Marino <gnugcc@marino.st>
3588
3589 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
3590
3787ee47
MM
35912017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
3592
3593 PR target/81193
3594 * configure.ac (PowerPC float128 hardware support): Test whether
3595 we can use __builtin_cpu_supports before enabling the ifunc
3596 handler.
3597 * configure: Regenerate.
3598
b1938888
VG
35992017-07-10 Vineet Gupta <vgupta@synopsys.com>
3600
3601 * config.host: Remove uclibc from arc target spec.
3602
bec75e53
KW
36032017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
3604
3605 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
3606
d4391a62
PB
36072017-07-07 Peter Bergner <bergner@vnet.ibm.com>
3608
3609 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
3610 (have_ieee_hw_p): Delete function.
3611 (SW_OR_HW) Use __builtin_cpu_supports().
3612
9296dd9b
TP
36132017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
3614
3615 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
3616
b85a969e
OH
36172017-07-03 Olivier Hainque <hainque@adacore.com>
3618
d4391a62 3619 * config/t-vxworks7: New file, really.
b85a969e 3620
883312dc
JM
36212017-06-28 Joseph Myers <joseph@codesourcery.com>
3622
3623 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
3624 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
3625 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
3626 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
3627 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
3628 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
3629 config/pa/linux-unwind.h (pa32_fallback_frame_state),
3630 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
3631 config/sh/linux-unwind.h (sh_fallback_frame_state),
3632 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
3633 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
3634 ucontext_t instead of struct ucontext.
3635
50567938
JL
36362017-06-27 Jerome Lambourg <lambourg@adacore.com>
3637
3638 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
3639 (x86_64-wrs-vxworks7): Likewise.
3640
e4b0df93
OH
36412017-06-27 Olivier Hainque <hainque@adacore.com>
3642
3643 * config/t-vxworks7: New file.
3644 * config.host (*-*-vxworks7): Use it.
3645
60edf8bb
MT
36462017-06-22 Matt Turner <mattst88@gmail.com>
3647
3648 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
3649 skylake case.
3650
a51a76e5
RB
36512017-06-21 Richard Biener <rguenther@suse.de>
3652
3653 PR gcov-profile/81080
3654 * configure.ac: Add AC_SYS_LARGEFILE.
3655 * libgcov.h: Include auto-target.h before tsystem.h to pick
3656 up _FILE_OFFSET_BITS which might differ for multilibs.
3657 * config.in: Regenerate.
3658 * configure: Likewise.
3659
f0cd49c5
RE
36602017-06-16 Richard Earnshaw <rearnsha@arm.com>
3661
3662 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
3663
4f751c54
ML
36642017-06-09 Martin Liska <mliska@suse.cz>
3665
3666 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
3667 Reset __gcov_indirect_call_callee to NULL.
3668
1ac644c8
OH
36692017-06-08 Olivier Hainque <hainque@adacore.com>
3670
3671 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
3672 the set of -I options, support for direct inclusions of net/uio.h
3673 by VxWorks header files via ioLib.h.
3674
d8b9cd27
TR
36752017-06-07 Tony Reix <tony.reix@atos.net>
3676 Matthieu Sarter <matthieu.sarter.external@atos.net>
3677 David Edelsohn <dje.gcc@gmail.com>
3678
92a285c1
ML
3679 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
3680 unconditionally.
3681 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
3682 AIX 7.2 support.
d8b9cd27 3683
38a75ccc
OH
36842017-06-02 Olivier Hainque <hainque@adacore.com>
3685
3686 * config/vxlib.c (__gthread_once): Add missing value to
3687 return statement.
3688
5b2edf53
OH
36892017-05-30 Olivier Hainque <hainque@adacore.com>
3690
3691 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
3692 dollar sign before $(MULTIDIR).
3693
7d66e265
RH
36942017-05-26 Richard Henderson <rth@redhat.com>
3695
3696 PR libgcc/80037
3697 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
3698
78eca309
AT
36992017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
3700
3701 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
3702 _Unwind_SetIP available as functions for arm*-*-freebsd*.
3703 * config/arm/unwind-arm.c: Implement the above.
3704
c39d309a
AZ
37052017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3706
3707 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
3708 section for a non-executable stack.
3709
eac8c9f2
KW
37102017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
3711
3712 PR target/80600
3713 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
3714
d6d4d770
DS
37152017-05-14 Daniel Santos <daniel.santos@pobox.com>
3716
3717 * config.host: Add i386/t-msabi to i386/t-linux file list.
3718 * config/i386/i386-asm.h: New file.
3719 * config/i386/resms64.S: New file.
3720 * config/i386/resms64f.S: New file.
3721 * config/i386/resms64fx.S: New file.
3722 * config/i386/resms64x.S: New file.
3723 * config/i386/savms64.S: New file.
3724 * config/i386/savms64f.S: New file.
3725 * config/i386/t-msabi: New file.
3726
8ef2b9a7
AT
37272017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
3728
3729 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
3730 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
3731
7ab8766a
JC
37322017-05-05 Joshua Conner <joshconner@google.com>
3733
3734 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
3735 pc-relative indirect handling for fuchsia.
3736 * config/t-slibgcc-fuchsia: New file.
3737 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
d6d4d770 3738 x86_64-*-fuchsia*): Add definitions.
7ab8766a 3739
46928a8f
ML
37402017-04-19 Martin Liska <mliska@suse.cz>
3741
3742 PR gcov-profile/80435
3743 * Makefile.in: Install gcov.h.
3744 * gcov.h: New file.
3745 * libgcov.h: Use the header and make __gcov_flush publicly
3746 visible.
3747
63971184
ML
37482017-04-18 Martin Liska <mliska@suse.cz>
3749
3750 PR gcov-profile/78783
3751 * libgcov-driver.c (gcov_get_filename): New function.
3752
29d8aae6
JL
37532017-04-07 Jeff Law <law@redhat.com>
3754
3755 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
3756 target makefile fragment.
3757 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
3758
2bdf7fc6
AM
37592017-04-07 Alan Modra <amodra@gmail.com>
3760
3761 PR target/45053
3762 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
3763
5764ee3c
JW
37642017-04-03 Jonathan Wakely <jwakely@redhat.com>
3765
3766 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
3767
c4192ad7
CZ
37682017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
3769
3770 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
3771
4ccfdb28
JM
37722017-03-10 John Marino <gnugcc@marino.st>
3773
3774 * config/aarch64/freebsd-unwind.h: New file.
3775 * config.host: Add aarch64-*-freebsd unwinder.
3776
4144e4e3
SB
37772017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
3778
3779 * config/rs6000/crtrestvr.s: Use .machine altivec.
3780 * config/rs6000/crtsavevr.s: Ditto.
3781
7502c597
SB
37822017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
3783
3784 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
3785 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
3786 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
3787 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
3788 * configure: Regenerate.
3789 * config.in: Regenerate.
3790
db9f7f65
JY
37912017-03-02 Jonathan Yong <10walls@gmail.com>
3792
3793 * config/i386/gthr-win32.h: Define NOGDI before
3794 windows.h include to prevent w32api CC_NONE macro
3795 clash with libgfortran.
3796
126437c5
JY
37972017-03-02 Jonathan Yong <10walls@gmail.com>
3798
3799 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
3800
31927af6
AP
38012017-02-16 Andrew Pinski <apinski@cavium.com>
3802
3803 * config/aarch64/value-unwind.h: New file.
3804 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
3805 to tm_file.
3806
0bd99911
PD
38072017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
3808
3809 * config.host: Add RISC-V tuples.
3810 * config/riscv/atomic.c: New file.
3811 * config/riscv/crti.S: Likewise.
3812 * config/riscv/crtn.S: Likewise.
3813 * config/riscv/div.S: Likewise.
3814 * config/riscv/linux-unwind.h: Likewise.
3815 * config/riscv/muldi3.S: Likewise.
3816 * config/riscv/multi3.S: Likewise.
3817 * config/riscv/save-restore.S: Likewise.
3818 * config/riscv/sfp-machine.h: Likewise.
3819 * config/riscv/t-elf: Likewise.
3820 * config/riscv/t-elf32: Likewise.
3821 * config/riscv/t-elf64: Likewise.
3822 * config/riscv/t-softfp32: Likewise.
3823 * config/riscv/t-softfp64: Likewise.
3824
a8c9ef2a
JJ
38252017-01-24 Jakub Jelinek <jakub@redhat.com>
3826
3827 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
3828 /* FALLTHRU */ comments.
3829
c6c82710
GP
38302017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
3831
3832 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
3833
a876231c
JW
38342017-01-20 Jiong Wang <jiong.wang@arm.com>
3835
3836 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
3837 * unwind-dw2.c (execute_cfa_program): Only multiplexing
3838 DW_CFA_GNU_window_save for AArch64 and LP64.
3839
aa348be2
JW
38402017-01-20 Jiong Wang <jiong.wang@arm.com>
3841
3842 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
3843
5636faf2
JW
38442017-01-19 Jiong Wang <jiong.wang@arm.com>
3845
3846 * config/aarch64/aarch64-unwind.h: New file.
3847 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
3848 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
3849 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
3850 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
3851 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
3852 (aarch64_post_extract_frame_addr): New function.
3853 (aarch64_post_frob_eh_handler_addr): New function.
3854 (aarch64_frob_update_context): New function.
3855 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
3856 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
3857 aarch64*-*-freebsd*):
3858 Initialize md_unwind_header to include aarch64-unwind.h.
3859 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
3860 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
3861 __aarch64__.
3862 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
3863 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
3864 (uw_frob_return_addr): New function.
3865 (uw_install_context): Use uw_frob_return_addr.
3866
3c36aa6b
JJ
38672017-01-17 Jakub Jelinek <jakub@redhat.com>
3868
3869 PR other/79046
3870 * configure.ac: Add GCC_BASE_VER.
3871 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
3872 version from BASE-VER file.
3873 * configure: Regenerated.
3874
829afb8f
JS
38752017-01-13 Joe Seymour <joe.s@somniumtech.com>
3876
3877 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
3878 libmul_f5.a): Filter archived prerequisites.
3879
79fc8ffe
AS
38802017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
3881
3882 * config/i386/cpuinfo.h (processor_features): Add
3883 FEATURE_AVX512VPOPCNTDQ.
3884 * config/i386/cpuinfo.c (get_available_features): Habdle new
3885 feature.
3886
fec5f4e0
JM
38872017-01-04 Joseph Myers <joseph@codesourcery.com>
3888
3889 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
3890 payload if [__mips_nan2008].
3891
8f56cb51
AM
38922017-01-04 Alan Modra <amodra@gmail.com>
3893
3894 * Makefile.in (configure_deps): Update.
3895 * configure: Regenerate.
3896
cbe34bb5
JJ
38972017-01-01 Jakub Jelinek <jakub@redhat.com>
3898
3899 Update copyright years.
3900
ab955692
KW
39012016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
3902
3903 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
3904 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
3905 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
3906
de34320f
MK
39072016-12-17 Matthias Klose <doko@ubuntu.com>
3908
3909 * config/arc/gmon: Remove empty directory.
3910
e04ea1da
CZ
39112016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
3912
3913 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
3914 crtgend.
3915 (arc*-*-elf*): Likewise.
3916 * config/arc/t-arc: Remove old gmon lib targets.
3917 * config/arc/crtg.S: Remove.
3918 * config/arc/crtgend.S: Likewise.
3919 * config/arc/gmon/atomic.h: Likewise.
3920 * config/arc/gmon/auxreg.h: Likewise.
3921 * config/arc/gmon/dcache_linesz.S: Likewise.
3922 * config/arc/gmon/gmon.c: Likewise.
3923 * config/arc/gmon/machine-gmon.h: Likewise.
3924 * config/arc/gmon/mcount.c: Likewise.
3925 * config/arc/gmon/prof-freq-stub.S: Likewise.
3926 * config/arc/gmon/prof-freq.c: Likewise.
3927 * config/arc/gmon/profil.S: Likewise.
3928 * config/arc/gmon/sys/gmon.h: Likewise.
3929 * config/arc/gmon/sys/gmon_out.h: Likewise.
3930 * config/arc/t-arc-newlib: Likewise.
3931 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
3932
8ae1c2c1
GS
39332016-12-12 George Spelvin <linux@sciencehorizons.net>
3934
3935 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
3936
a5b947fa
GS
39372016-12-12 George Spelvin <linux@sciencehorizons.net>
3938
3939 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
3940 R16 instead of push + pop.
3941 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
3942
d6574dd1
KW
39432016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
3944
3945 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
3946 tmake_file.
3947
62440b4f
CM
39482016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
3949
3950 * config.host (arc*-*-linux-uclibc*): Use default extra
3951 objects. Include linux-android header.
3952 * config/arc/crti.S (_init): Declare symbol as function.
3953 (_fini): Likewise.
3954
31cfd832
TK
39552016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
3956
3957 PR fortran/78379
3958 * config/i386/cpuinfo.c: Move denums for processor vendors,
3959 processor type, processor subtypes and declaration of
3960 struct __processor_model into
3961 * config/i386/cpuinfo.h: New header file.
3962
c92e08e3
AV
39632016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
3964 Thomas Preud'homme <thomas.preudhomme@arm.com>
3965
3966 * config/arm/cmse_nonsecure_call.S: New.
3967 * config/arm/t-arm: Compile cmse_nonsecure_call.S
3968
de7b5723
AV
39692016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
3970 Thomas Preud'homme <thomas.preudhomme@arm.com>
3971
3972 * config/arm/t-arm (HAVE_CMSE): New.
3973 * config/arm/cmse.c: New.
3974
7a0d2bce
TP
39752016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3976
b3a5bff4
TP
3977 PR gcc/74748
3978 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
3979 use generic linker version information on Blackfin.
3980
7a0d2bce
TP
3981 PR gcc/74748
3982 * libgcc/mkmap-symver.awk: add support for skip_underscore
3983
b410cf1d
IS
39842016-11-27 Iain Sandoe <iain@codesourcery.com>
3985 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3986
3987 PR target/67710
3988 * config/t-darwin: Default builds to 10.5 codegen.
3989
2e5f8203
JG
39902016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
3991
3992 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
3993 (_FP_NANSIGN_H): Likewise.
3994 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
3995 (softfp_truncations): Add tfhf.
3996 (softfp_extras): Add required conversion functions.
3997
bea64ca3
JG
39982016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
3999 Matthew Wahab <matthew.wahab@arm.com>
4000
4001 * config/arm/fp16.c (binary64): New.
4002 (__gnu_d2h_internal): New.
4003 (__gnu_d2h_ieee): New.
4004 (__gnu_d2h_alternative): New.
4005
8630cadb
JG
40062016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
4007 Matthew Wahab <matthew.wahab@arm.com>
4008
4009 * config/arm/fp16.c (struct format): New.
4010 (binary32): New.
4011 (__gnu_float2h_internal): New. Body moved from
4012 __gnu_f2h_internal and generalize.
4013 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
4014 Call it with binary32.
4015
5823ef23
JG
40162016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
4017
4018 * soft-fp/extendhftf2.c: Update from glibc.
4019 * soft-fp/fixhfti.c: Likewise.
4020 * soft-fp/fixunshfti.c: Likewise.
4021 * soft-fp/floattihf.c: Likewise.
4022 * soft-fp/floatuntihf.c: Likewise.
4023 * soft-fp/half.h: Likewise.
4024 * soft-fp/trunctfhf2.c: Likewise.
4025
62a7df9f
MG
40262016-11-20 Marc Glisse <marc.glisse@inria.fr>
4027
4028 PR libgcc/77813
4029 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
4030 __TMC_END__ behind a passthrough asm.
4031
7a384912
WL
40322016-11-18 Walter Lee <walt@tilera.com>
4033
62a7df9f 4034 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
7a384912 4035
9775c1a5
L
40362016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
4037
4038 * config/i386/cpuinfo.c (processor_features): Add
4039 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
4040
48c842ab
CZ
40412016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
4042
4043 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
4044 (__ARC_NORM__): Use instead ARC_OPTFPE.
4045 * config/arc/fp-hack.h: Likewise.
4046 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
4047 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
4048
5012919d
AM
40492016-11-16 Alexander Monakov <amonakov@ispras.ru>
4050
4051 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
4052 * config/nvptx/mgomp.c: New file.
4053 * config/nvptx/t-nvptx: Add mgomp.c
4054
00178b98
WB
40552016-11-16 Waldemar Brodkorb <wbx@openadk.org>
4056
4057 PR libgcc/68468
4058 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
4059
d64af69f
CZ
40602016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
4061
4062 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
4063 of checking for cpus.
4064 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
4065 (__modsi3, __clzsi2): Likewise.
4066
9d8f95de
SN
40672016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
4068
4069 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
4070 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
4071 * config/i386/t-cpuinfo-static: New.
4072
7d29f8e3
ML
40732016-11-03 Martin Liska <mliska@suse.cz>
4074
4075 * libgcov-profiler.c (__gcov_time_profiler): Remove.
4076 (__gcov_time_profiler_atomic): Likewise.
4077
5de3e2d8
BE
40782016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
4079
4080 PR libgcc/78067
4081 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
4082 count_leading_zeros.
4083
18362447
UB
40842016-11-02 Uros Bizjak <ubizjak@gmail.com>
4085
4086 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
4087 * libgcc2.c (__divmoddi4): New function.
4088 * libgcc2.h (__divmoddi4): Declare.
4089 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
4090 and __PFX_divmodti4.
4091
33107571
FW
40922016-10-24 Florian Weimer <fweimer@redhat.com>
4093
4094 PR libgcc/78064
4095 * unwind-c.c: Include auto-target.h.
4096
4c6d7494
JDA
40972016-10-19 John David Anglin <danglin@gcc.gnu.org>
4098
18362447 4099 * config/pa/pa64-hpux-lib.h: New file.
4c6d7494
JDA
4100 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
4101 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
4102 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
4103 hppa*64*-*-hpux11*.
4104
2a26adf1
MF
41052016-10-18 Max Filippov <jcmvbkbc@gmail.com>
4106
4107 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
4108 definition.
4109 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
4110 definition.
4111 * config/xtensa/t-windowed (LIB2ADDEH): Use
4112 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
4113 or xtensa/t-linux.
4114
66192aa1
DKC
41152016-10-18 Ding-Kai Chen <dkchen@cadence.com>
4116
4117 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
4118 __ieee754_sqrt): New functions.
4119 (__divdf3): Add implementation with new FPU instructions under
4120 #if XCHAL_HAVE_DFP_DIV.
4121 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
4122 __ieee754_sqrtf): New functions.
4123 (__divsf3): Add implementation with new FPU instructions under
4124 #if XCHAL_HAVE_FP_DIV.
4125 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
4126 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
4127
4d0cdd0c
TP
41282016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
4129
4130 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
4131 equivalent.
4132 * config/tilepro/atomic.c: Likewise and stop casting model to
4133 enum memmodel.
4134
73f01cca
JM
41352016-10-10 Joseph Myers <joseph@codesourcery.com>
4136
4137 PR target/77586
4138 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
4139 soft-fp.
4140
b20e7532
AT
41412016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
4142
4143 * config.host: Add support for aarch64-*-freebsd*.
4144
a786cec4
AS
41452016-10-05 Andreas Schwab <schwab@suse.de>
4146
4147 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
4148 (.section .init_array): Don't call __do_jv_register_classes.
4149 (.section .init): Likewise.
4150
5a79befb
JJ
41512016-10-04 Jakub Jelinek <jakub@redhat.com>
4152
4153 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
4154 (__JCR_LIST__): Remove.
4155 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
4156 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
4157 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
4158 * config/ia64/crtend.S (__JCR_END__): Remove.
4159 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
4160 conditionals.
4161 (__JCR_LIST__, __JCR_END__): Remove.
4162 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
4163 (__do_global_ctors_1): Likewise.
4164
e0ab3753
UB
41652015-09-28 Uros Bizjak <ubizjak@gmail.com>
4166
4167 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
4168 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
4169
8c9434c2
ML
41702016-09-27 Martin Liska <mliska@suse.cz>
4171
4172 PR gcov-profile/7970
4173 PR gcov-profile/16855
4174 PR gcov-profile/44779
4175 * libgcov-driver.c (__gcov_init): Do not register a atexit
4176 handler.
4177 (__gcov_exit): Rename from gcov_exit.
4178 * libgcov.h (__gcov_exit): Declare.
4179
56b653f1
ML
41802016-09-27 Martin Liska <mliska@suse.cz>
4181
4182 PR bootstrap/77749
4183 * Makefile.in: Remove _gcov_merge_delta.
4184 * libgcov-merge.c (void __gcov_merge_delta): Remove.
4185 * libgcov-util.c (__gcov_delta_counter_op): Remove.
4186 * libgcov.h: Remove declaration of __gcov_merge_delta.
4187
7e02fd1b
EB
41882016-09-21 Eric Botcazou <ebotcazou@adacore.com>
4189
4190 * configure.ac: Do not create links, only substitute the filenames.
4191 * configure: Regenerate.
4192 * Makefile.in: Assign the substitution results to variables.
4193 (LIBGCC_LINKS): Define.
4194 (enable-execute-stack.c): New rule.
4195 (unwind.h): Likewise.
4196 (md-unwind-support.h): Likewise.
4197 (sfp-machine.h): Likewise.
4198 (gthr-default.h): Likewise.
4199 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
4200 unwind.h as prerequisite of install-unwind_h-forbuild.
4201
29991048
JJ
42022016-09-16 Jakub Jelinek <jakub@redhat.com>
4203
4204 PR libgcc/71744
4205 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
4206 is not the primary registry and atomics are available.
4207 (any_objects_registered): New variable.
4208 (__register_frame_info_bases, __register_frame_info_table_bases):
4209 Atomically store 1 to any_objects_registered after registering first
4210 unwind info.
4211 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
4212
0abcd6cc
JG
42132016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
4214
4215 PR target/63250
4216 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
4217 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
4218 (HFtype): Likewise.
4219 (HCtype): Likewise.
4220 (__divhc3): Likewise.
4221 (__mulhc3): Likewise.
4222 * libgcc2.c: Support _mulhc3 and _divhc3.
4223
d758aeb5
JM
42242016-09-07 Joseph Myers <joseph@codesourcery.com>
4225
4226 PR libgcc/77519
4227 * libgcc2.c (NOTRUNC): Invert settings.
4228
7fe76f6a
ML
42292016-09-06 Martin Liska <mliska@suse.cz>
4230
4231 PR gcov-profile/77378
4232 PR gcov-profile/77466
4233 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
4234 conditionaly enable/disable *_atomic functions.
4235
21184026
JM
42362016-08-26 Joseph Myers <joseph@codesourcery.com>
4237
4238 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
4239 where not already enabled.
4240
726f49c3
SN
42412016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
4242
4243 * config/mips/linux-unwind.h: Use sys/syscall.h.
4244
feeb6268
JM
42452016-08-16 Joseph Myers <joseph@codesourcery.com>
4246
4247 PR libgcc/77265
4248 * soft-fp/adddf3.c: Update from glibc.
4249 * soft-fp/addsf3.c: Likewise.
4250 * soft-fp/addtf3.c: Likewise.
4251 * soft-fp/divdf3.c: Likewise.
4252 * soft-fp/divsf3.c: Likewise.
4253 * soft-fp/divtf3.c: Likewise.
4254 * soft-fp/double.h: Likewise.
4255 * soft-fp/eqdf2.c: Likewise.
4256 * soft-fp/eqsf2.c: Likewise.
4257 * soft-fp/eqtf2.c: Likewise.
4258 * soft-fp/extenddftf2.c: Likewise.
4259 * soft-fp/extended.h: Likewise.
4260 * soft-fp/extendsfdf2.c: Likewise.
4261 * soft-fp/extendsftf2.c: Likewise.
4262 * soft-fp/extendxftf2.c: Likewise.
4263 * soft-fp/fixdfdi.c: Likewise.
4264 * soft-fp/fixdfsi.c: Likewise.
4265 * soft-fp/fixdfti.c: Likewise.
4266 * soft-fp/fixsfdi.c: Likewise.
4267 * soft-fp/fixsfsi.c: Likewise.
4268 * soft-fp/fixsfti.c: Likewise.
4269 * soft-fp/fixtfdi.c: Likewise.
4270 * soft-fp/fixtfsi.c: Likewise.
4271 * soft-fp/fixtfti.c: Likewise.
4272 * soft-fp/fixunsdfdi.c: Likewise.
4273 * soft-fp/fixunsdfsi.c: Likewise.
4274 * soft-fp/fixunsdfti.c: Likewise.
4275 * soft-fp/fixunssfdi.c: Likewise.
4276 * soft-fp/fixunssfsi.c: Likewise.
4277 * soft-fp/fixunssfti.c: Likewise.
4278 * soft-fp/fixunstfdi.c: Likewise.
4279 * soft-fp/fixunstfsi.c: Likewise.
4280 * soft-fp/fixunstfti.c: Likewise.
4281 * soft-fp/floatdidf.c: Likewise.
4282 * soft-fp/floatdisf.c: Likewise.
4283 * soft-fp/floatditf.c: Likewise.
4284 * soft-fp/floatsidf.c: Likewise.
4285 * soft-fp/floatsisf.c: Likewise.
4286 * soft-fp/floatsitf.c: Likewise.
4287 * soft-fp/floattidf.c: Likewise.
4288 * soft-fp/floattisf.c: Likewise.
4289 * soft-fp/floattitf.c: Likewise.
4290 * soft-fp/floatundidf.c: Likewise.
4291 * soft-fp/floatundisf.c: Likewise.
4292 * soft-fp/floatunditf.c: Likewise.
4293 * soft-fp/floatunsidf.c: Likewise.
4294 * soft-fp/floatunsisf.c: Likewise.
4295 * soft-fp/floatunsitf.c: Likewise.
4296 * soft-fp/floatuntidf.c: Likewise.
4297 * soft-fp/floatuntisf.c: Likewise.
4298 * soft-fp/floatuntitf.c: Likewise.
4299 * soft-fp/gedf2.c: Likewise.
4300 * soft-fp/gesf2.c: Likewise.
4301 * soft-fp/getf2.c: Likewise.
4302 * soft-fp/ledf2.c: Likewise.
4303 * soft-fp/lesf2.c: Likewise.
4304 * soft-fp/letf2.c: Likewise.
4305 * soft-fp/muldf3.c: Likewise.
4306 * soft-fp/mulsf3.c: Likewise.
4307 * soft-fp/multf3.c: Likewise.
4308 * soft-fp/negdf2.c: Likewise.
4309 * soft-fp/negsf2.c: Likewise.
4310 * soft-fp/negtf2.c: Likewise.
4311 * soft-fp/op-1.h: Likewise.
4312 * soft-fp/op-2.h: Likewise.
4313 * soft-fp/op-4.h: Likewise.
4314 * soft-fp/op-8.h: Likewise.
4315 * soft-fp/op-common.h: Likewise.
4316 * soft-fp/quad.h: Likewise.
4317 * soft-fp/single.h: Likewise.
4318 * soft-fp/soft-fp.h: Likewise.
4319 * soft-fp/subdf3.c: Likewise.
4320 * soft-fp/subsf3.c: Likewise.
4321 * soft-fp/subtf3.c: Likewise.
4322 * soft-fp/truncdfsf2.c: Likewise.
4323 * soft-fp/trunctfdf2.c: Likewise.
4324 * soft-fp/trunctfsf2.c: Likewise.
4325 * soft-fp/trunctfxf2.c: Likewise.
4326 * soft-fp/unorddf2.c: Likewise.
4327 * soft-fp/unordsf2.c: Likewise.
4328 * soft-fp/unordtf2.c: Likewise.
4329
2e6fc1ac
GG
43302016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
4331
4332 PR gcov-profile/67097
4333 * libgcov-util.c (gcov_profile_merge): Skip missing files.
4334
a266236e
ML
43352016-08-10 Martin Liska <mliska@suse.cz>
4336
4337 PR gcov-profile/58306
4338 * Makefile.in: New functions (modules) are added.
4339 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
4340 function.
4341 (__gcov_pow2_profiler_atomic): New function.
4342 (__gcov_one_value_profiler_body): New argument is instroduced.
4343 (__gcov_one_value_profiler): Call with the new argument.
4344 (__gcov_one_value_profiler_atomic): Likewise.
4345 (__gcov_indirect_call_profiler_v2): Likewise.
4346 (__gcov_time_profiler_atomic): New function.
4347 (__gcov_average_profiler_atomic): Likewise.
4348 (__gcov_ior_profiler_atomic): Likewise.
4349 * libgcov.h: Declare the aforementioned functions.
4350
e0c8eebf
ML
43512016-08-09 Martin Liska <mliska@suse.cz>
4352
4353 * libgcov-util.c: Fix typo and GNU coding style.
4354
6dce6418
ML
43552016-08-09 Martin Liska <mliska@suse.cz>
4356
4357 * Makefile.in: Remove __gcov_indirect_call_profiler.
4358 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
4359 function.
4360 * libgcov.h: And the declaration of the function.
4361
dcb1e137
ML
43622016-08-09 Martin Liska <mliska@suse.cz>
4363
4364 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
4365 power of two.
4366
d6e69705
BS
43672016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
4368
4369 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
4370 * config/rs6000/_mulkc3.c: Likewise.
4371
96aa1f95
GJL
43722016-07-29 Georg-Johann Lay <avr@gjlay.de>
4373
4374 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
4375 zero_reg as previous call to __umulhisi3 already cleared it.
4376
a1b01d34
AJ
43772016-07-21 Aurelien Jarno <aurelien@aurel32.net>
4378
4379 PR target/59833
4380 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
4381
985a47b2
NC
43822016-07-19 Nick Clifton <nickc@redhat.com>
4383
4384 * config.host (m32r): Add m32r/t-m32r to tmake_file.
4385 Add crtinit.o and crtfini.o to extra_parts.
4386
f906f5ed
BS
43872016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
4388
4389 * config/rs6000/_divkc3.c: New.
4390 * config/rs6000/_mulkc3.c: New.
4391 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
4392 and _divkc3.
4393 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
4394 fp128_ppc_funcs.
4395
82742404
HW
43962016-07-11 Hale Wang <hale.wang@arm.com>
4397 Andre Vieira <andre.simoesdiasvieira@arm.com>
4398
4399 * config/arm/lib1funcs.S: Add new wrapper.
4400
05a437c1
TP
44012016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
4402
4403 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
4404
3d16d9ec
TP
44052016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
4406
4407 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
4408 and ARMv5t* rather than for a fixed list of architectures.
4409
6f493951
TP
44102016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
4411
4412 * config/arm/bpabi-v6m.S: Clarify what architectures is the
4413 implementation suitable for.
4414 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
4415 for all Thumb-1 only targets.
4416 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
4417 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
4418 __ARM_ARCH_6M__.
4419 (EQUIV): Likewise.
4420 (ARM_FUNC_ALIAS): Likewise.
4421 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
4422 version.
4423 (modsi3): Likewise.
4424 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
4425 (clzdi2): Likewise.
4426 (ctzsi2): Likewise.
4427 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
4428 __ARM_ARCH_6M__ in guard for checking whether it is defined.
4429 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
4430 __ARM_ARCH_6M__ and add comment to indicate the connection between
4431 this condition and the one in gcc/config/arm/elf.h.
4432 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
4433 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
4434 * config/arm/t-softfp: Likewise.
4435
1770511a
TS
44362016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4437
4438 * libgcc2.c (SYMBOL__MAIN): Remove checks for
4439 CTOR_LISTS_DEFINED_EXTERNALLY.
4440
ba6be749
WL
44412016-06-28 Walter Lee <walt@tilera.com>
4442
4443 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
4444 asm/unistd.h.
4445 (SPR_CMPEXCH_VALUE): Define for tilegx.
4446 (__NR_FAST_cmpxchg): Define for tilepro.
4447 (__NR_FAST_atomic_update): Define for tilepro.
4448 (__NR_FAST_cmpxchg64): Define for tilepro.
4449
a34c0db5
JS
44502016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
4451
18362447 4452 * config.host: Add suport for arm*-*-phoenix* targets.
a34c0db5 4453
0609abda
TS
44542016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4455
4456 * config.host: Remove support for mep-*.
4457 * config/mep/lib1funcs.S: Remove.
4458 * config/mep/lib2funcs.c: Remove.
4459 * config/mep/t-mep: Remove.
4460 * config/mep/tramp.c: Remove.
4461
3e326935
TS
44622016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4463
4464 * config.host: Remove support for avr-rtems.
4465 * config/avr/t-rtems: Remove.
4466
914b155c
TS
44672016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4468
4469 * config.host: Remove m32r-rtems support.
4470
5ebf89bd
TS
44712016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4472
4473 * config.host: Remove h8300-rtems support.
4474
8466af06
TS
44752016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4476
4477 * config.host: Remove support for knetbsd.
4478
d980e738
TS
44792016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4480
4481 * config.host: Remove support for openbsd 2 and 3.
4482
ee2499b4
TS
44832016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4484
4485 * config.host: Remove interix support.
4486 * config/i386/t-interix: Remove.
4487
9f92937b
JDA
44882016-06-18 John David Anglin <danglin@gcc.gnu.org>
4489
4490 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
4491 least-significant bit in function pointer for fixup.
4492
0a0ec53d
AC
44932016-06-05 Aaron Conole <aconole@redhat.com>
4494 Nathan Sidwell <nathan@acm.org>
4495
4496 PR libgcc/71400
4497 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
4498 (get_gcov_error_file): Check __gcov_error_file before trying to
4499 initialize it.
4500 (gcov_error): Always use get_gcov_error_file.
4501
8aa5bdd6
AC
45022016-06-02 Aaron Conole <aconole@redhat.com>
4503
4504 * libgcov-driver-system.c (__gcov_error_file): New.
4505 (get_gcov_error_file): New.
4506 (gcov_error): Use and set __gcov_error_file.
4507 (gcov_error_exit): New.
4508 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
4509
40774faf
NS
45102016-05-26 Nathan Sidwell <nathan@acm.org>
4511
4512 * config/nvptx/free.asm: Delete.
4513 * config/nvptx/malloc.asm: Delete.
4514 * config/nvptx/realloc.c: Delete.
4515 * t-nvptx: Update.
4516
69a6d5ad
NS
45172016-05-25 Nathan Sidwell <nathan@acm.org>
4518
4519 * config/nvptx/crt0.s: Delete.
4520 * config/nvptx/crt0.c: New.
4521 * t-nvptx: Update.
4522
6befaff6
SL
45232016-05-19 Sandra Loosemore <sandra@codesourcery.com>
4524
385c7747 4525 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
6befaff6
SL
4526 dw2/seh configuration.
4527 [x86_64-*-mingw*]: Likewise.
4528
ad251dfd
JS
45292016-05-10 Joel Sherrill <joel@rtems.org>
4530
4531 PR libgcc/70720
4532 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
4533 targets so the same extra_parts are built. Also have tmake_file add
4534 on to its value rather than override.
4535
bc6d9014
OE
45362016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
4537
4538 * config.host: Remove SH5 support.
4539 * configure: Likewise.
4540
9129c8cf
OE
45412016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
4542
4543 * config/sh/crt1.S: Remove SH5 support.
4544 * config/sh/crti.S: Likewise.
4545 * config/sh/crtn.S: Likewise.
4546 * config/sh/lib1funcs-4-300.S: Likewise.
4547 * config/sh/lib1funcs-Os-4-200.S: Likewise.
4548 * config/sh/lib1funcs.S: Likewise.
4549 * config/sh/linux-unwind.h: Likewise.
4550 * config/sh/t-sh64: Delete.
4551
39d50464
CZ
45522016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
4553
4554 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
4555
8b48923b
CZ
45562016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
4557 Joern Rennecke <joern.rennecke@embecosm.com>
4558
4559 * config/arc/crttls.S: New file.
4560 * config/arc/t-arc: New rule.
4561 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
4562
2de1cf8c
NC
45632016-04-25 Nick Clifton <nickc@redhat.com>
4564
4565 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
4566 (__mspabi_cmpd): Likewise.
4567 * config/msp430/floathidf.c (__floathidf): Likewise.
4568 * config/msp430/floathisf.c (__floathisf): Likewise
4569 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
4570 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
4571 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
4572 second parameter.
4573 (__ashrsi3): Likewise.
4574
b8ce3fe2
WB
45752016-04-21 Waldemar Brodkorb <wbx@openadk.org>
4576
4577 * config/m68k/linux-atomic.c: Do not include unistd.h
4578
4986f823
MG
45792016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
4580
4581 * config/arm/ieee754-df.S: Fix typos in comments.
4582
35fbda43
MM
45832016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
4584
4585 PR target/70381
4586 * configure.ac (powerpc*-*-linux*): Rework tests to build
4587 __float128 emulation routines to not depend on using #pragma GCC
4588 target to enable -mfloat128.
4589 * configure: Regnerate.
4590
72d1a48d
EB
45912016-04-04 Eric Botcazou <ebotcazou@adacore.com>
4592
4593 PR target/67172
4594 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
4595 __MINGW32__ is defined.
4596
dc2e8995
JB
45972016-03-28 James Bowman <james.bowman@ftdichip.com>
4598
385c7747 4599 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
dc2e8995 4600
104cdaf1
MM
46012016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
4602
4603 PR libgcc/70363
4604 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
4605 built with an assembler that does not support ISA 3.0
4606 instructions, rename __extendkftf2_sw to __extendkftf2.
4607
a5046f48
RO
46082016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4609
4610 PR target/38239
4611 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
4612 call-clobbered registers.
4613 (internal_mcount): Remove __i386__ handling.
4614
df674f74
JS
46152016-02-26 Joel Sherrill <joel@rtems.org>
4616
4617 * config.host: Add x86_64-*-rtems*.
4618
7cb065d6
JS
46192016-02-26 Joel Sherrill <joel@rtems.org>
4620
4621 * libgcc/config.host: Add aarch64-*-rtems*.
4622
47dfdc53
PM
46232016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4624 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
4625
4626 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
4627 union of u64 and double.
4628 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
4629 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
4630 value.
4631 (FP_ROUNDMODE): Update the usage of _fpscr.
4632
e6861a99
IV
46332016-02-25 Ilya Verbin <ilya.verbin@intel.com>
4634
4635 PR driver/68463
4636 * Makefile.in (crtoffloadtable$(objext)): New rule.
4637 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
4638 enable_offload_targets is not empty.
4639 * configure: Regenerate.
4640 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
4641 crtoffloadtable.
4642
9bfcbdee
MF
46432016-02-17 Max Filippov <jcmvbkbc@gmail.com>
4644
4645 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
4646 .literal_position before the function.
4647 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
4648 Likewise.
4649
4cb4721f
MK
46502016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
4651
4652 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
4653 * config/s390/morestack.S: New file.
4654 * config/s390/t-stack-s390: New file.
4655 * generic-morestack.c (__splitstack_find): Add s390-specific code.
4656
b29d9a29
WL
46572016-02-12 Walter Lee <walt@tilera.com>
4658
4659 * config.host (tilegx*-*-linux*): remove ti from
4660 softfp_int_modes for 32-bit configs.
4661
03a0ae7d
ILT
46622016-02-10 Ian Lance Taylor <iant@google.com>
4663
4664 PR go/68562
4665 * config/i386/morestack.S (__stack_split_initialize): Align
4666 stack.
4667
68750bce
AT
46682016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
4669
4670 PR bootstrap/69611
4671 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
4672 __FLOAT128__ to compile only for __float128 capable targets.
4673
7d296953
JJ
46742016-01-25 Jakub Jelinek <jakub@redhat.com>
4675
4676 PR target/69444
4677 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
4678 instead of ___NO_FPRS__.
4679
a71c0334 46802016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
4681 Steven Munroe <munroesj@linux.vnet.ibm.com>
4682 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
a71c0334
MM
4683
4684 * config/rs6000/float128-sed: New files to convert TF names to KF
4685 names for PowerPC IEEE 128-bit floating point support.
4686 * config/rs6000/float128-sed-hw: Likewise.
4687
4688 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
4689 floating point hardware support.
4690
4691 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
4692 128-bit floating point software emulation or use ISA 3.0 hardware
4693 support if it is available.
4694
4695 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
4696 floating point.
4697
4698 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
4699 floating point to IBM extended double.
4700
4701 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
4702 double to IEEE 128-bit floating point.
4703
4704 * config/rs6000/t-float128: New Makefile fragments to enable
4705 building __float128 emulation support.
4706 * config/rs6000/t-float128-hw: Likewise.
4707
4708 * config/rs6000/sfp-exceptions.c: New file to provide exception
4709 support for IEEE 128-bit floating point.
4710
4711 * config/rs6000/floattikf.c: New files for converting between IEEE
4712 128-bit floating point and signed/unsigned 128-bit integers.
4713 * config/rs6000/fixunskfti.c: Likewise.
4714 * config/rs6000/fixkfti.c: Likewise.
4715 * config/rs6000/floatuntikf.c: Likewise.
4716
4717 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
4718 when building on 64-bit systems, or when VSX is enabled.
4719 (_FP_W_TYPE): Likewise.
4720 (_FP_WS_TYPE): Likewise.
4721 (_FP_I_TYPE): Likewise.
4722 (TItype): Define on 64-bit systems.
4723 (UTItype): Likewise.
4724 (TI_BITS): Likewise.
4725 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
4726 (_FP_MUL_MEAT_Q): Likewise.
4727 (_FP_DIV_MEAT_D): Likewise.
4728 (_FP_DIV_MEAT_Q): Likewise.
4729 (_FP_NANFRAC_D): Likewise.
4730 (_FP_NANFRAC_Q): Likewise.
4731 (ISA_BIT): Add exception support if we are being compiled on a
4732 machine with hardware floating point support to build the IEEE
4733 128-bit emulation functions.
4734 (FP_EX_INVALID): Likewise.
4735 (FP_EX_OVERFLOW): Likewise.
4736 (FP_EX_UNDERFLOW): Likewise.
4737 (FP_EX_DIVZERO): Likewise.
4738 (FP_EX_INEXACT): Likewise.
4739 (FP_EX_ALL): Likewise.
4740 (__sfp_handle_exceptions): Likewise.
4741 (FP_HANDLE_EXCEPTIONS): Likewise.
4742 (FP_RND_NEAREST): Likewise.
4743 (FP_RND_ZERO): Likewise.
4744 (FP_RND_PINF): Likewise.
4745 (FP_RND_MINF): Likewise.
4746 (FP_RND_MASK): Likewise.
4747 (_FP_DECL_EX): Likewise.
4748 (FP_INIT_ROUNDMODE): Likewise.
4749 (FP_ROUNDMODE): Likewise.
4750
4751 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
4752 VSX code, enable IEEE 128-bit floating point. If the compiler can
4753 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
4754 floating point hardware instructions and it supports declaring
4755 functions with the ifunc attribute, enable ifunc functions to
4756 switch between software and hardware support.
4757 * configure.ac (powerpc*-*-linux*): Likewise.
4758 * configure: Regenerate.
4759
bdc27e50
NC
47602016-01-15 Nick Clifton <nickc@redhat.com>
4761
4762 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
4763 dependency as the source file to be compiled.
4764 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
4765 (lib2hw_mul_f5.o): Likewise.
4766
006df05d
MM
47672016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
4768
4769 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
4770 * libgcc/config/rs6000/fixkfti.c: Likewise.
4771 * libgcc/config/rs6000/fixunskfti.c: Likewise.
4772 * libgcc/config/rs6000/float128-hw.c: Likewise.
4773 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
4774 * libgcc/config/rs6000/float128-sed: Likewise.
4775 * libgcc/config/rs6000/floattikf.c: Likewise.
4776 * libgcc/config/rs6000/floatuntikf.c: Likewise.
4777 * libgcc/config/rs6000/quad-float128.h: Likewise.
4778 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
4779 * libgcc/config/rs6000/sfp-machine.h: Likewise.
4780 * libgcc/config/rs6000/t-float128: Likewise.
4781 * libgcc/config/rs6000/t-float128-hw: Likewise.
4782 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
4783 * libgcc/config.host: Likewise.
4784 * libgcc/configure: Likewise.
4785 * libgcc/configure.ac: Likewise.
4786
29176d57 47872016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
4788 Steven Munroe <munroesj@linux.vnet.ibm.com>
4789 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
29176d57
MM
4790
4791 * config/rs6000/sfp-exceptions.c: New file to provide exception
4792 support for IEEE 128-bit floating point.
4793
4794 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
4795 floating point hardware support.
4796
4797 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
4798 point conversions.
4799 * config/rs6000/fixunskfti.c: Likewise.
4800 * config/rs6000/fixkfti.c: Likewise.
4801 * config/rs6000/floatuntikf.c: Likewise.
4802 * config/rs6000/extendkftf2-sw.c: Likewise.
4803 * config/rs6000/trunctfkf2-sw.c: Likewise.
4804
4805 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
4806 128-bit floating point software emulation or use ISA 3.0 hardware
4807 support if it is available.
4808
4809 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
4810 floating point.
4811
4812 * config/rs6000/t-float128: New Makefile fragments to enable
4813 building __float128 emulation support.
4814 * config/rs6000/t-float128-hw: Likewise.
4815
4816 * config/rs6000/float128-sed: New file to convert TF names to KF
4817 names for PowerPC IEEE 128-bit floating point support.
4818
4819 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
4820 when building on 64-bit systems, or when VSX is enabled.
4821 (_FP_W_TYPE): Likewise.
4822 (_FP_WS_TYPE): Likewise.
4823 (_FP_I_TYPE): Likewise.
4824 (TItype): Define on 64-bit systems.
4825 (UTItype): Likewise.
4826 (TI_BITS): Likewise.
4827 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
4828 (_FP_MUL_MEAT_Q): Likewise.
4829 (_FP_DIV_MEAT_D): Likewise.
4830 (_FP_DIV_MEAT_Q): Likewise.
4831 (_FP_NANFRAC_D): Likewise.
4832 (_FP_NANFRAC_Q): Likewise.
4833 (ISA_BIT): Add exception support if we are being compiled on a
4834 machine with hardware floating point support to build the IEEE
4835 128-bit emulation functions.
4836 (FP_EX_INVALID): Likewise.
4837 (FP_EX_OVERFLOW): Likewise.
4838 (FP_EX_UNDERFLOW): Likewise.
4839 (FP_EX_DIVZERO): Likewise.
4840 (FP_EX_INEXACT): Likewise.
4841 (FP_EX_ALL): Likewise.
4842 (__sfp_handle_exceptions): Likewise.
4843 (FP_HANDLE_EXCEPTIONS): Likewise.
4844 (FP_RND_NEAREST): Likewise.
4845 (FP_RND_ZERO): Likewise.
4846 (FP_RND_PINF): Likewise.
4847 (FP_RND_MINF): Likewise.
4848 (FP_RND_MASK): Likewise.
4849 (_FP_DECL_EX): Likewise.
4850 (FP_INIT_ROUNDMODE): Likewise.
4851 (FP_ROUNDMODE): Likewise.
4852
4853 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
4854 compiler can do __float128.
4855 * configure: Regenerate.
4856
4857 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
4858 VSX code, enable IEEE 128-bit floating point.
4859
a2218983
OH
48602016-01-05 Olivier Hainque <hainque@adacore.com>
4861
4862 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
29176d57 4863 specificities.
a2218983 4864
818ab71a
JJ
48652016-01-04 Jakub Jelinek <jakub@redhat.com>
4866
4867 Update copyright years.
4868
5a6c8ffa
AP
48692015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
4870
4871 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
29176d57 4872 soft-fp targets.
5a6c8ffa 4873
077067a5
BE
48742015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
4875
4876 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
4877 instead of abort to avoid dependency on stdlib.h.
4878
787c1027
JDA
48792015-12-09 John David Anglin <danglin@gcc.gnu.org>
4880
4881 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
4882 to initialize call to __dl_fixup once.
4883
04a9ae28
NC
48842015-12-04 Nick Clifton <nickc@redhat.com>
4885
4886 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
4887 Allow for the second argument being negative.
4888 * config.host (extra_parts): Define for MSP430. Create separate
4889 libraries for each of the hardware multiply formats.
4890 * config/msp430/lib2hw_mul.S: Build only the multiply routines
4891 that are needed.
4892 * config/msp430/lib2mul.c: Likewise.
4893 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
4894 Add rules to build hardware multiply libraries.
4895 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
4896 __mspabi_divul function.
4897 (__mspabi_divllu): New stub function.
4898
9a32d437
JDA
48992015-12-01 John David Anglin <danglin@gcc.gnu.org>
4900
4901 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
4902 fixup values if saved GOT address doesn't match runtime address.
4903 (fixup_branch_offset): Reorder list.
4904
e5ef217c
RO
49052015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4906
4907 * Makefile.in (VTV_CFLAGS): New variable.
4908 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
4909 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
4910 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
4911 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
4912 to extra_parts if $enable_vtable_verify = yes.
4913
78cc43a2
SN
49142015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
4915
4916 PR target/68059
4917 * config/arm/linux-atomic-64bit.c (__write): Rename to...
4918 (write): ...this and fix the return type.
4919
9afebea2
DD
49202015-11-19 DJ Delorie <dj@redhat.com>
4921
4922 * config/msp430/lib2hw_mul.S: Fix alignment.
4923
33f47f42
NS
49242015-11-18 Nathan Sidwell <nathan@codesourcery.com>
4925
4926 * config/nvptx/reduction.c: New.
4927 * config/nvptx/t-nvptx (LIB2ADD): Add it.
4928
d9adb476
DE
49292015-11-15 David Edelsohn <dje.gcc@gmail.com>
4930
4931 * config/rs6000/on_exit.c: New file.
4932 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
4933 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
4934
c0ab1970
CZ
49352015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
4936
4937 * config/arc/dp-hack.h: Add support for ARCHS.
4938 * config/arc/ieee-754/divdf3.S: Likewise.
4939 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
4940 * config/arc/ieee-754/muldf3.S: Likewise.
4941 * config/arc/ieee-754/mulsf3.S: Likewise
4942 * config/arc/lib1funcs.S: Likewise
4943 * config/arc/gmon/dcache_linesz.S: Don't read the build register
4944 for ARCv2 cores.
4945 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
4946 for ARCv2 cores.
4947 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
4948 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
4949 cores.
4950
e6b6bf09
RO
49512015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4952
4953 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
4954 value.
4955 * config/ia64/crtend.S: Likewise.
4956
a153644f
TS
49572015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4958
4959 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
4960 __CHAR_BIT__ instead of BITS_PER_UNIT.
4961 * fixed-bit.h: Likewise.
4962 * fp-bit.h: Likewise.
4963 * libgcc2.c (__popcountSI2): Likewise.
4964 (__popcountDI2): Likewise.
4965 * libgcc2.h: Likewise.
4966 * libgcov.h: Likewise.
4967
3dee689d
DE
49682015-11-07 David Edelsohn <dje.gcc@gmail.com>
4969
4970 * config/rs6000/atexit.c: New file.
4971 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
4972 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
4973 * config/rs6000/cxa_finalize.c
4974 (catomic_compare_and_exchange_bool_acq): Negate return value.
4975
2ef543e4
VK
49762015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
4977
4978 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
4979 (processor_subtypes): Add znver1.
4980 (get_amd_cpu): Detect znver1.
4981
1300f017
CL
49822015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
4983
4984 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
4985 Include crtfastmath.o.
4986
3e5bb7ee
JR
49872015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
4988
4989 PR libgcc/66883
4990 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1300f017 4991
793aa938
KP
49922015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
4993
4994 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
4995 * config/rl78/divmodsi.S: Update return register to r8.
4996 * config/rl78/divmodhi.S: Update return register to r8,r9.
4997 Branch to main_loop_done_himode to pop registers before return.
4998
7d296953 49992015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
fac812f0
VK
5000
5001 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
5002 (__cpu_indicator_init): Fix model selection for AMD CPUs.
5003
6a192b5a
KY
50042015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
5005
5006 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
5007
4a0a9457
MF
50082015-10-03 Max Filippov <jcmvbkbc@gmail.com>
5009
5010 * config.host (xtensa*-*-uclinux*): New configuration.
5011
ab91c076
KY
50122015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
5013
385c7747 5014 * config/i386/cpuinfo.c (processor_features): Add
ab91c076
KY
5015 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
5016
30954527
JM
50172015-09-28 Joseph Myers <joseph@codesourcery.com>
5018
5019 * soft-fp/adddf3.c: Update from glibc.
5020 * soft-fp/addsf3.c: Likewise.
5021 * soft-fp/addtf3.c: Likewise.
5022 * soft-fp/divdf3.c: Likewise.
5023 * soft-fp/divsf3.c: Likewise.
5024 * soft-fp/divtf3.c: Likewise.
5025 * soft-fp/double.h: Likewise.
5026 * soft-fp/eqdf2.c: Likewise.
5027 * soft-fp/eqsf2.c: Likewise.
5028 * soft-fp/eqtf2.c: Likewise.
5029 * soft-fp/extenddftf2.c: Likewise.
5030 * soft-fp/extended.h: Likewise.
5031 * soft-fp/extendsfdf2.c: Likewise.
5032 * soft-fp/extendsftf2.c: Likewise.
5033 * soft-fp/extendxftf2.c: Likewise.
5034 * soft-fp/fixdfdi.c: Likewise.
5035 * soft-fp/fixdfsi.c: Likewise.
5036 * soft-fp/fixdfti.c: Likewise.
5037 * soft-fp/fixsfdi.c: Likewise.
5038 * soft-fp/fixsfsi.c: Likewise.
5039 * soft-fp/fixsfti.c: Likewise.
5040 * soft-fp/fixtfdi.c: Likewise.
5041 * soft-fp/fixtfsi.c: Likewise.
5042 * soft-fp/fixtfti.c: Likewise.
5043 * soft-fp/fixunsdfdi.c: Likewise.
5044 * soft-fp/fixunsdfsi.c: Likewise.
5045 * soft-fp/fixunsdfti.c: Likewise.
5046 * soft-fp/fixunssfdi.c: Likewise.
5047 * soft-fp/fixunssfsi.c: Likewise.
5048 * soft-fp/fixunssfti.c: Likewise.
5049 * soft-fp/fixunstfdi.c: Likewise.
5050 * soft-fp/fixunstfsi.c: Likewise.
5051 * soft-fp/fixunstfti.c: Likewise.
5052 * soft-fp/floatdidf.c: Likewise.
5053 * soft-fp/floatdisf.c: Likewise.
5054 * soft-fp/floatditf.c: Likewise.
5055 * soft-fp/floatsidf.c: Likewise.
5056 * soft-fp/floatsisf.c: Likewise.
5057 * soft-fp/floatsitf.c: Likewise.
5058 * soft-fp/floattidf.c: Likewise.
5059 * soft-fp/floattisf.c: Likewise.
5060 * soft-fp/floattitf.c: Likewise.
5061 * soft-fp/floatundidf.c: Likewise.
5062 * soft-fp/floatundisf.c: Likewise.
5063 * soft-fp/floatunditf.c: Likewise.
5064 * soft-fp/floatunsidf.c: Likewise.
5065 * soft-fp/floatunsisf.c: Likewise.
5066 * soft-fp/floatunsitf.c: Likewise.
5067 * soft-fp/floatuntidf.c: Likewise.
5068 * soft-fp/floatuntisf.c: Likewise.
5069 * soft-fp/floatuntitf.c: Likewise.
5070 * soft-fp/gedf2.c: Likewise.
5071 * soft-fp/gesf2.c: Likewise.
5072 * soft-fp/getf2.c: Likewise.
5073 * soft-fp/ledf2.c: Likewise.
5074 * soft-fp/lesf2.c: Likewise.
5075 * soft-fp/letf2.c: Likewise.
5076 * soft-fp/muldf3.c: Likewise.
5077 * soft-fp/mulsf3.c: Likewise.
5078 * soft-fp/multf3.c: Likewise.
5079 * soft-fp/negdf2.c: Likewise.
5080 * soft-fp/negsf2.c: Likewise.
5081 * soft-fp/negtf2.c: Likewise.
5082 * soft-fp/op-1.h: Likewise.
5083 * soft-fp/op-2.h: Likewise.
5084 * soft-fp/op-4.h: Likewise.
5085 * soft-fp/op-8.h: Likewise.
5086 * soft-fp/op-common.h: Likewise.
5087 * soft-fp/quad.h: Likewise.
5088 * soft-fp/single.h: Likewise.
5089 * soft-fp/soft-fp.h: Likewise.
5090 * soft-fp/subdf3.c: Likewise.
5091 * soft-fp/subsf3.c: Likewise.
5092 * soft-fp/subtf3.c: Likewise.
5093 * soft-fp/truncdfsf2.c: Likewise.
5094 * soft-fp/trunctfdf2.c: Likewise.
5095 * soft-fp/trunctfsf2.c: Likewise.
5096 * soft-fp/trunctfxf2.c: Likewise.
5097 * soft-fp/unorddf2.c: Likewise.
5098 * soft-fp/unordsf2.c: Likewise.
5099 * soft-fp/unordtf2.c: Likewise.
5100
4dfe21ac
RE
51012015-09-24 Richard Earnshaw <rearnsha@arm.com>
5102
5103 PR libgcc/67624
5104 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
5105
df2a1cc4
RO
51062015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5107
5108 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
5109 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
5110 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
5111 messages.
5112 (internal_mcount): Likewise.
5113 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
5114 crt_compile, add CRTSTUFF_T_CFLAGS_S.
5115
2d110442
RO
51162015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5117
5118 * configure.ac (libgcc_cv_solaris_crts): New test.
5119 * configure: Regenerate.
5120 * config.in: Regenerate.
5121 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
5122 * config/gmon-sol2.c: Rename to ...
5123 * config/sol2/gmon.c: ... this.
5124 Include auto-target.h.
5125 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
5126 * config/t-sol2: Rename to ...
5127 * config/sol2/t-sol2: ... this.
5128 (gmon.o): Reflect renaming.
5129 (crtp.o, crtpg.o): New rules.
5130 * config.host (*-*-solaris2*): Reflect renaming.
5131 Use system CRTs if present.
5132 Remove default CRT case.
5133
d572e439
JDA
51342015-09-23 John David Anglin <danglin@gcc.gnu.org>
5135
5136 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
5137 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
5138 __kernel_cmpxchg2.
5139 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
5140 (__sync_val_compare_and_swap_##WIDTH): Likewise.
5141 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
5142 (__sync_lock_test_and_set_##WIDTH): Likewise.
5143 (__sync_lock_release_##WIDTH): Likewise.
5144 (__sync_fetch_and_##OP##_4): Change result to match type of
5145 __kernel_cmpxchg.
5146 (__sync_##OP##_and_fetch_4): Likewise.
5147 (__sync_val_compare_and_swap_4): Likewise.
5148 (__sync_bool_compare_and_swap_4): likewise.
5149 (__sync_lock_test_and_set_4): Likewise.
5150 (__sync_lock_release_4): Likewise.
5151 (FETCH_AND_OP_2): Add long long variants.
5152 (OP_AND_FETCH_2): Likewise.
5153 (COMPARE_AND_SWAP_2 ): Likewise.
5154 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
5155 (SYNC_LOCK_RELEASE_2): Likewise.
5156 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
5157
7d296953 51582015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
06caf59d
KY
5159
5160 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
5161 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
5162 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
5163 (get_available_features): Habdle new features.
5164
131314e1
JB
51652015-09-21 James Bowman <james.bowman@ftdichip.com>
5166
5167 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
5168 memory layout. Deal correctly with BSS region larger than 32K.
5169 Handle a watchdog reset like a power-on reset. Clean up unused
5170 code.
5171
04218b35
AD
51722015-09-18 Andrew Dixie <andrewd@gentrack.com>
5173 David Edelsohn <dje.gcc@gmail.com>
5174
5175 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
5176 * config/rs6000/crtdbase.S: New file.
5177 * config/rs6000/t-aix-cxa: Build crtdbase.o.
5178
c8338173
MF
51792015-09-15 Max Filippov <jcmvbkbc@gmail.com>
5180
5181 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
5182 Add support for call0 ABI.
5183
7a84bf71
JDA
51842015-09-13 John David Anglin <danglin@gcc.gnu.org>
5185
5186 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
5187
4efab402
SH
51882015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
5189
5190 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
5191 (__GTHREAD_HAS_COND): Likewise.
5192 (__gthread_t): Likewise.
5193 (__gthread_cond_t): Likewise.
5194 (__gthread_time_t): Likewise.
5195 (__GTHREAD_MUTEX_INIT): Likewise.
5196 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
5197 (__GTHREAD_COND_INIT): Likewise.
5198 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
5199 (__GTHREAD_TIME_INIT): Likewise.
5200 (__gthread_create): Likewise.
5201 (__gthread_join): Likewise.
5202 (__gthread_detach): Likewise.
5203 (__gthread_equal): Likewise.
5204 (__gthread_self): Likewise.
5205 (__gthread_yield): Likewise.
5206 (__gthread_cond_broadcast): Likewise.
5207 (__gthread_cond_signal): Likewise.
5208 (__gthread_cond_wait): Likewise.
5209 (__gthread_cond_timedwait): Likewise.
5210 (__gthread_cond_wait_recursive): Likewise.
5211 (__gthread_cond_destroy): Likewise.
5212 (rtems_gxx_once): Delete.
5213 (rtems_gxx_key_create): Likewise.
5214 (rtems_gxx_key_delete): Likewise.
5215 (rtems_gxx_getspecific): Likewise.
5216 (rtems_gxx_setspecific): Likewise.
5217 (rtems_gxx_mutex_init): Likewise.
5218 (rtems_gxx_mutex_destroy): Likewise.
5219 (rtems_gxx_mutex_lock): Likewise.
5220 (rtems_gxx_mutex_trylock): Likewise.
5221 (rtems_gxx_mutex_unlock): Likewise.
5222 (rtems_gxx_recursive_mutex_init): Likewise.
5223 (rtems_gxx_recursive_mutex_lock): Likewise.
5224 (rtems_gxx_recursive_mutex_trylock): Likewise.
5225 (rtems_gxx_recursive_mutex_unlock): Likewise.
5226 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
5227 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
5228 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
5229 (__gthread_once): Likewise.
5230 (__gthread_key_create): Likewise.
5231 (__gthread_key_delete): Likewise.
5232 (__gthread_getspecific): Likewise.
5233 (__gthread_setspecific): Likewise.
5234 (__gthread_key_t): Use <pthread.h> type.
5235 (__gthread_once_t): Likewise
5236 (__gthread_mutex_t): Use <sys/lock.h> type.
5237 (__gthread_recursive_mutex_t): Likewise
5238 (__gthread_mutex_lock): Use <sys/lock.h> function.
5239 (__gthread_mutex_trylock): Likewise.
5240 (__gthread_mutex_timedlock): Likewise.
5241 (__gthread_mutex_unlock): Likewise.
5242 (__gthread_mutex_destroy): Likewise.
5243 (__gthread_recursive_mutex_lock): Likewise.
5244 (__gthread_recursive_mutex_trylock): Likewise.
5245 (__gthread_recursive_mutex_timedlock): Likewise.
5246 (__gthread_recursive_mutex_unlock): Likewise.
5247 (__gthread_recursive_mutex_destroy): Likewise.
5248
991995c4
MF
52492015-08-18 Max Filippov <jcmvbkbc@gmail.com>
5250
5251 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
5252 context->sp instead of context->cfa.
5253
0e19db59
MF
52542015-08-18 Max Filippov <jcmvbkbc@gmail.com>
5255
5256 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
5257 with unwind-dw2-fde-dip.
5258
b6ac5f62
MF
52592015-08-18 Max Filippov <jcmvbkbc@gmail.com>
5260
5261 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
5262 CALL12 followed by series of ENTRY to spill windowed registers.
5263 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
5264 instead of making linux spill syscall.
5265
3e0f3349
YR
52662015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
5267
5268 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
5269 (get_intel_cpu): Likewise.
5270
51c728b1
L
52712015-08-12 H.J. Lu <hongjiu.lu@intel.com>
5272
5273 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
5274 (get_intel_cpu): Add Knights Landing support.
5275
aff4eeac
UB
52762015-08-11 Uros Bizjak <ubizjak@gmail.com>
5277
5278 PR target/66954
5279 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
5280 (get_available_features): Handle FEATURE_PCLMUL.
5281
736e56da
L
52822015-08-10 H.J. Lu <hongjiu.lu@intel.com>
5283
5284 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
5285 Broadwell.
5286
54d22142
UB
52872015-07-22 Uros Bizjak <ubizjak@gmail.com>
5288
5289 PR target/66954
5290 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
5291 (get_available_features): Handle FEATURE_AES.
5292
20ca17e4
CLT
52932015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
5294
5295 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
5296 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
5297
ebe4a560
NS
52982015-07-17 Nathan Sidwell <nathan@codesourcery.com>
5299
5300 * offloadstuff.c: Constify host data.
5301
180744c0
JB
53022015-07-17 Jan Beulich <jbeulich@suse.com>
5303
5304 * config/t-softfp: Split up "else ifneq".
5305
a03c6ae3
SL
53062015-07-14 Sandra Loosemore <sandra@codesourcery.com>
5307 Cesar Philippidis <cesar@codesourcery.com>
5308 Chung-Lin Tang <cltang@codesourcery.com>
5309
5310 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
5311 for __nios2_arch__ level.
5312
73358db5
JM
53132015-07-13 John Marino <gnugcc@marino.st>
5314
5315 * config/i386/t-dragonfly: New.
5316
f9a12f7b
JDA
53172015-07-01 John David Anglin <danglin@gcc.gnu.org>
5318
5319 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
5320 better match light-weight syscall argument order.
5321 (__kernel_cmpxchg2): Likewise.
5322 Adjust callers.
5323
cb78b51c
L
53242015-06-30 H.J. Lu <hongjiu.lu@intel.com>
5325
5326 * config.host: Support i[34567]86-*-elfiamcu target.
5327 * config/t-softfp-sfdftf: New file.
5328 * config/i386/32/t-iamcu: Likewise.
5329 * configure: Regenerated.
5330
4fa0f9ea
JL
53312015-06-23 James Lemke <jwlemke@codesourcery.com>
5332
5333 libgcc/config/arm/
5334 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
5335
428b3812
L
53362015-05-27 H.J. Lu <hongjiu.lu@intel.com>
5337
5338 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
5339
7d296953 53402015-05-27 John Marino <gnugcc@marino.st>
89c54dd3
JM
5341
5342 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
5343 md_unwind_header
5344 * config/i386/freebsd-unwind.h: New.
5345
9b789cc1
UB
53462015-05-22 Uros Bizjak <ubizjak@gmail.com>
5347
5348 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
5349 i386/t-crtfm to tmake_file.
5350 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
5351 (set_fast_math): Use set_fast_math_sse for SSE targets.
5352 * config/i386/t-crtfm: Remove.
5353
3dafb220
AM
53542015-05-21 Alan Modra <amodra@gmail.com>
5355
5356 PR libgcc/66225
5357 * config/rs6000/morestack.S: Remove ".abiversion 1".
5358
0f0fd745
AM
53592015-05-20 Alan Modra <amodra@gmail.com>
5360
5361 * config/rs6000/morestack.S: New.
5362 * config/rs6000/t-stack-rs6000: New.
5363 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
5364 to tmake_file.
5365 * generic-morestack.c: Don't build for powerpc 32-bit.
5366
515ae71b
EB
53672015-05-19 Eric Botcazou <ebotcazou@adacore.com>
5368
5369 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
5370 Remove useless endif/ifneq ($(enable_shared),yes) pair.
5371
36805406
JL
53722015-05-16 James Bowman <james.bowman@ftdichip.com>
5373
5374 * config.host: FT32 target added.
5375 * config/ft32/*: New files for FT32 target.
5376
ff935d0c
MG
53772015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
5378
385c7747
UB
5379 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
5380 New macros.
5381 * config/arm/ieee754-df.S: Add CFI directives.
5382 * config/arm/ieee754-sf.S: Add CFI directives.
ff935d0c 5383
9b92a9f3
EB
53842015-05-13 Eric Botcazou <ebotcazou@adacore.com>
5385
5386 * configure.ac: Include config/sjlj.m4.
5387 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
5388 * config.in: Regenerate.
5389 * configure: Likewise.
5390 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
5391
98b5dc61
UB
53922015-05-12 Uros Bizjak <ubizjak@gmail.com>
5393
5394 * libgcov-util.c: Add space between string literal and macro name.
5395
5a0ff57c
SL
53962015-05-06 Sandra Loosemore <sandra@codesourcery.com>
5397 Chris Jones <chrisj@nvidia.com>
5398 Joshua Conner <jconner@nvidia.com>
5399
5400 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
5401 (arm*-*-uclinux*): Likewise.
5402 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
5403 * config/arm/crtfastmath.c: New file.
5404
d28ad5d4
BS
54052014-04-29 Bernd Schmidt <bernds@codesourcery.com>
5406
5407 * Makefile.in (real_host_noncanonical): New variable.
5408 (libsubdir): Use it.
5409 * configure.ac (real_host_noncanonical): Compute. Remove special
5410 case for intelmicemul.
5411 * configure: Regenerate.
5412
cc86234f
UB
54132015-04-28 Uros Bizjak <ubizjak@gmail.com>
5414
5415 * config/frv/elf-lib.h: New file.
5416 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
5417 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
5418 to tm_file.
5419
54202015-04-28 Uros Bizjak <ubizjak@gmail.com>
5421
5422 * config/frv/frvbengin.c: Do not include defaults.h
5423 * config/frv/frvend.c: Ditto.
5424
2f6bd6eb
YS
54252015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
5426
5427 * config.host: Add h8300-*-linux
5428 * config/h8300/t-linux: New file.
5429 * config/h8300/lib1funs.s: Change symbol prefix.
5430 * config/h8300/sfp-machine.h: 64bit double support.
5431
15aa7b44
GR
54322015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
5433 Szabolcs Nagy <szabolcs.nagy@arm.com>
5434
5435 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
5436 Linux if target provides dl_iterate_phdr.
5437
abd0cdc9
L
54382015-04-17 H.J. Lu <hongjiu.lu@intel.com>
5439
5440 PR target/65612
5441 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
5442 * config/i386/cpuinfo.c (__cpu_model): Initialize.
5443 (__cpu_indicator_init@GCC_4.8.0): New.
5444 (__cpu_model@GCC_4.8.0): Likewise.
5445 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
5446 -DUSE_ELF_SYMVER.
5447
72ed1126
NC
54482015-04-16 Nick Clifton <nickc@redhat.com>
5449
5450 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
5451 and __modhi3 functions.
5452 * config/rl78/divmodso.S: Add G14 and G13 versions of the
5453 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
5454
d26b2237
CG
54552015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
5456
5457 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
5458 do-while loop as macro body to avoid warnings.
5459
cacf1f59
JJ
54602015-04-10 Jakub Jelinek <jakub@redhat.com>
5461 Iain Sandoe <iain@codesourcery.com>
5462
5463 PR target/65351
5464 * configure: Regenerate.
5465
e8a4ed3b
JJ
54662015-04-07 Jakub Jelinek <jakub@redhat.com>
5467 Iain Sandoe <iain@codesourcery.com>
5468
5469 PR target/65351
5470 * configure: Regenerate.
5471
0341335e
CLT
54722015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
5473
5474 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
5475
590e2636 54762015-03-03 Max Filippov <jcmvbkbc@gmail.com>
0341335e 5477
590e2636
MF
5478 Implement call0 ABI for xtensa
5479 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
5480 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
5481 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
5482 use ret in call0 ABI.
5483 * config/xtensa/t-windowed: New file.
5484 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
5485 * libgcc/configure: Regenerated.
5486 * libgcc/configure.ac: Check if xtensa target is configured for
5487 windowed ABI and thus needs to use custom unwind code.
5488
7727f8f2
JW
54892015-02-12 Jonathan Wakely <jwakely@redhat.com>
5490
5491 PR libgcc/64885
5492 * gthr-single.h: Use __unused__ attribute instead of unused.
5493 * config/gthr-vxworks.h: Likewise.
5494 * config/i386/gthr-win32.h: Likewise.
5495
0e4a0def
KT
54962015-02-27 Kai Tietz <ktietz@redhat.com>
5497
5498 PR target/65038
5499 * config.in: Regenerated.
5500 * configure: Likewise.
5501 * configure.ac (AC_HEADER_STDC): Added explicit.
5502 (AC_CHECK_HEADERS): Check for default headers plus
5503 for ftw.h header.
5504 * libgcov-util.c (gcov_read_profile_dir): Disable use
5505 of ftw-function, if header is not found.
5506 (ftw_read_file): Likewise.
5507
b6530d0a
TS
55082015-02-23 Thomas Schwinge <thomas@codesourcery.com>
5509
5510 PR target/65181
5511 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
5512 -Dinhibit_libc.
5513
53cfb467
SL
55142015-02-17 Sandra Loosemore <sandra@codesourcery.com>
5515
5516 * config/arm/bpabi.S (test_div_by_zero): Make label names
5517 consistent between thumb2 and arm mode cases. Separate the
5518 signed comparison on the high word of the numerator from the
5519 unsigned comparison on the low word.
5520 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
5521 signed comparison.
5522
77d10a1b
JM
55232015-02-17 Joseph Myers <joseph@codesourcery.com>
5524
5525 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
5526 and <string.h>.
5527 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
5528
98174188
RE
55292015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
5530
5531 PR gcov-profile/61889
471274de 5532 * libgcov-driver-system.c: undefine clashing macro for mkdir.
98174188 5533
771bef14
NC
55342015-02-02 Nick Clifton <nickc@redhat.com>
5535
5536 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
5537 rounding up the fraction.
5538
40702893
JDA
55392015-01-31 John David Anglin <danglin@gcc.gnu.org>
5540
5541 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
5542 oldval and newval to const void *. Fix typo.
5543 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
5544 (FETCH_AND_OP_WORD): Likewise.
5545 (OP_AND_FETCH_WORD): Likewise.
5546 (COMPARE_AND_SWAP_2): Likewise.
5547 (__sync_val_compare_and_swap_4): Likewise.
5548 (__sync_lock_test_and_set_4): Likewise.
5549 (SYNC_LOCK_RELEASE_2): Likewise.
5550 Remove support for long long atomic operations.
5551
f7f049fa
CT
55522015-01-27 Caroline Tice <cmtice@google.com>
5553
5554 Committing VTV Cywin/Ming patch for Patrick Wollgast
5555 * Makefile.in: Move rules to build vtv_*.o out of the check
5556 for CUSTOM_CRTSTUFF.
5557 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
5558 i[34567]86-*-mingw*)
5559 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
5560 enable_vtable_verify.
5561
8410904a
NC
55622015-01-27 Nick Clifton <nickc@redhat.com>
5563
5564 * config/rl78/cmpsi2.S: Use function start and end macros.
5565 (__gcc_bcmp): New function.
5566 * config/rl78/lshrsi3.S: Use function start and end macros.
5567 * config/rl78/mulsi3.S: Add support for G10.
5568 (__mulqi3): New function for G10.
5569 * config/rl78/signbit.S: Use function start and end macros.
5570 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
5571 fpmath-sf.S.
5572 (LIB2FUNCS_EXCLUDE): Define.
5573 (LIB2FUNCS_ST): Define.
5574 * config/rl78/trampoline.S: Use function start and end macros.
5575 * config/rl78/vregs.h (START_FUNC): New macro.
5576 (START_ANOTHER_FUNC): New macro.
5577 (END_FUNC): New macro.
5578 (END_ANOTHER_FUNC): New macro.
5579 * config/rl78/bit-count.S: New file. Contains assembler
5580 implementations of the bit counting functions: ___clzhi2,
5581 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
5582 __paritysi2, __popcounthi2 and __popcountsi2.
5583 * config/rl78/fpbit-sf.S: New file. Contains assembler
5584 implementationas of the math functions: __negsf2, __cmpsf2,
5585 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
5586 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
5587 * config/rl78/fpmath-sf.S: New file. Contains assembler
5588 implementations of the math functions: __subsf3, __addsf3,
5589 __mulsf3 and __divsf3
5590
f962fbf1
RO
55912015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5592
5593 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
5594 Add i386/elf-lib.h to tm_file.
5595 * config/i386/elf-lib.h: Fix comment.
5596 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
5597 && __sun__ && __svr4__]: Remove workaround.
5598
939911c5
ASJ
55992015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
5600
5601 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
5602 FEATURE_BMI2.
5603 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
5604
c8f2dff2
L
56052015-01-24 H.J. Lu <hongjiu.lu@intel.com>
5606
5607 * config/i386/cpuinfo.c (processor_subtypes): Add
5608 INTEL_COREI7_BROADWELL.
5609 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
5610 model numbers.
5611
7bbf9734
UB
56122015-01-23 Uros Bizjak <ubizjak@gmail.com>
5613
5614 * config/i386/elf-lib.h: New file.
5615 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
5616 Wrap definition in #ifdef __i386__.
5617 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
5618 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
5619 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
5620 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
5621 to tm_file.
5622
324820f1
CG
56232015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
5624
5625 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
5626 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
5627
a9ce4e4a
CLT
56282015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
5629
5630 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
5631 Update rt_sigframe format and address for current Nios II
5632 Linux conventions.
5633
82a19768
AT
56342015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
5635
5636 * config.host (arm*-*-freebsd*): Add new configuration for
5637 arm*-*-freebsd*.
5638 * config/arm/freebsd-atomic.c: New file.
5639 * config/arm/t-freebsd: Likewise.
5640 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
5641 'PC-relative indirect' OS's.
5642
0969ec7d
EB
56432015-01-06 Eric Botcazou <ebotcazou@adacore.com>
5644
5645 * config.host: Add Visium support.
5646 * config/visium: New directory.
5647
5624e564
JJ
56482015-01-05 Jakub Jelinek <jakub@redhat.com>
5649
5650 Update copyright years.
5651
82f84ecb
MF
56522014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
5653
5654 * config.host: Support mipsisa32r6 and mipsisa64r6.
5655 * config/mips/mips16.S: Do not build for R6.
5656
69044fa9
OE
56572014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
5658
5659 * config/sh/crt.h: New.
5660 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
5661 symbols.
5662 * config/sh/crt1.S: Likewise.
5663
2405e0ea
UB
56642014-12-15 Uros Bizjak <ubizjak@gmail.com>
5665
5666 PR libgcc/63832
5667 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
5668 func_ptr *dtor_list temporary variable to avoid "array subscript
5669 is above array bounds" warnings.
5670
7d296953 56712014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
dd913323
MH
5672
5673 * Makefile.in (with_aix_soname): Define.
5674 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
5675 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
5676 * configure: Recreate.
5677
a66272f6
OH
56782014-12-05 Olivier Hainque <hainque@adacore.com>
5679
5680 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
5681 now provided by defaults.h.
5682
6342b2c5
OE
56832014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
5684
7d0ee249 5685 PR target/55351
6342b2c5
OE
5686 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
5687 whether it's defined.
5688
c17eac85
IT
56892014-11-27 Ilya Tocar <ilya.tocar@intel.com>
5690
5691 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
5692 * config/i386/cpuinfo.c (get_available_features): Detect it.
5693
1025cb6c
TW
56942014-11-27 Tony Wang <tony.wang@arm.com>
5695
5696 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
5697 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
5698 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
5699
d19f2e38
SB
57002014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
5701
5702 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
5703
17f6e9a3
JDA
57042014-11-24 John David Anglin <danglin@gcc.gnu.org>
5705
5706 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
5707 instead.
5708
0cd7c672
GM
57092014-11-21 Guy Martin <gmsoft@tuxicoman.be>
5710 John David Anglin <danglin@gcc.gnu.org>
5711
5712 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
5713 (FETCH_AND_OP_2): New. Use for subword and double word operations.
5714 (OP_AND_FETCH_2): Likewise.
5715 (COMPARE_AND_SWAP_2): Likewise.
5716 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
5717 (SYNC_LOCK_RELEASE_2): Likewise.
5718 (SUBWORD_SYNC_OP): Remove.
5719 (SUBWORD_VAL_CAS): Likewise.
5720 (SUBWORD_BOOL_CAS): Likewise.
5721 (FETCH_AND_OP_WORD): Update.
5722 Consistently use signed types.
cc86234f 5723
85c64bbe
BS
57242014-11-13 Bernd Schmidt <bernds@codesourcery.com>
5725 Thomas Schwinge <thomas@codesourcery.com>
5726 Ilya Verbin <ilya.verbin@intel.com>
5727 Andrey Turetskiy <andrey.turetskiy@intel.com>
5728
5729 * Makefile.in (crtoffloadbegin$(objext)): New rule.
5730 (crtoffloadend$(objext)): Likewise.
5731 * configure: Regenerate.
5732 * configure.ac (accel_dir_suffix): Compute new variable.
5733 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
5734 if enable_offload_targets is not empty.
5735 * offloadstuff.c: New file.
5736
52a1ff8b
NC
57372014-11-13 Nick Clifton <nickc@redhat.com>
5738
5739 * config/rl78/divmodhi.S: Add support for the G10 architecture.
5740 Use START_FUNC and END_FUNC macros to enable linker garbage
5741 collection.
5742 * config/rl78/divmodqi.S: Likewise.
5743 * config/rl78/divmodsi.S: Likewise.
5744 * config/rl78/mulsi3.S: Likewise.
5745 * config/rl78/lib2div.c: Remove G10 functions.
5746 * config/rl78/lib2muls.c: Likewise.
5747 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
5748 * config/rl78/vregs.h (START_FUNC): New macro.
5749 (END_FUNC): New macro.
5750
050af144
MF
57512014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
5752
5753 * config/mips/mips16.S: Set .module when supported. Update O32
5754 FP64 calling convention and use for FPXX when possible. Add FPXX
5755 calling convention fallback case.
5756
738f2522
BS
57572014-11-06 Bernd Schmidt <bernds@codesourcery.com>
5758
5759 * config.host: Handle nvptx-*-*.
5760 * shared-object.mk (as-flags-$o): Define.
5761 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
5762 -xassembler-with-cpp.
5763 * static-object.mk: Identical changes.
5764 * config/nvptx/t-nvptx: New file.
5765 * config/nvptx/crt0.s: New file.
5766 * config/nvptx/free.asm: New file.
5767 * config/nvptx/malloc.asm: New file.
5768 * config/nvptx/realloc.c: New file.
5769
e610393c
JM
57702014-10-30 Joseph Myers <joseph@codesourcery.com>
5771
5772 * Makefile.in (libgcc.map.in): New target.
5773 (libgcc.map): Use libgcc.map.in.
5774 * config/t-softfp (softfp_compat): New variable to be set by
5775 users.
5776 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
5777 variables.
5778 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
5779 directory.
5780 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
5781 that use compat symbols and disable all code unless [SHARED].
5782 * config/t-softfp-compat: New file.
5783 * find-symver.awk: New file.
5784 * configure.ac (--with-glibc-version): New configure option.
5785 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
5786 * configure: Regenerate.
5787 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
5788 soft-float and e500.
5789
bc1b3a88
JM
57902014-10-29 Joseph Myers <joseph@codesourcery.com>
5791
5792 * config/t-hardfp (hardfp_exclusions): Document new variable for
5793 user to define.
5794 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
5795 * config/t-softfp (softfp_extras): Document new variable for user
5796 to define.
5797 (softfp_func_list): Add functions from $(softfp_extras).
5798 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
5799 * config.host (powerpc*-*-linux*): For e500v1, use
5800 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
5801 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
5802 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
5803
ef2810c1
JDA
58042014-10-26 John David Anglin <danglin@gcc.gnu.org>
5805
5806 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
5807 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
5808 memory read accesses are ok.
5809
d80c2bea
JM
58102014-10-25 Joseph Myers <joseph@codesourcery.com>
5811
5812 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
5813 * configure: Regenerate.
5814 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
5815 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
5816 of soft-fp for 32-bit classic hard float. Do not use
5817 t-softfp-excl for soft float.
5818
693b297b
JM
58192014-10-22 Joseph Myers <joseph@codesourcery.com>
5820
5821 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
5822 configurations.
5823 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
5824 Remove variables.
5825
18a3415e
GJL
58262014-10-22 Georg-Johann Lay <avr@gjlay.de>
5827
5828 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
5829 introduced with 2014-10-21 trunk r216525.
5830
c1dd9790 58312014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
7d296953
JJ
5832 Vidya Praveen <vidya.praveen@atmel.com>
5833 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
5834 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
5835 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
c1dd9790
JR
5836
5837 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
5838 order.
5839
5840 Updated library functions for AVRTINY arch.
5841 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
5842 Replaced occurrences of r0/r1 with tmp/zero reg macros.
5843 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
5844 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
5845 wsubi/wadi macors.
5846 (__mulsi3_helper): Update stack, preserve callee saved regs and
5847 argument from stack. Restore callee save registers.
5848 (__mulpsi3): Likewise.
5849 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
5850 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
18a3415e 5851 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
c1dd9790
JR
5852 AVRTINY.
5853 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
5854 (__do_copy_data): Added new definition for AVRTINY.
5855 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
5856 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
5857 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
5858 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
5859 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
5860 macors.
18a3415e 5861 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
c1dd9790
JR
5862 AVRTINY.
5863
18a3415e 5864 Fix broken long multiplication on tiny arch.
c1dd9790 5865
5f606431
JM
58662014-10-09 Joseph Myers <joseph@codesourcery.com>
5867
5868 * soft-fp/double.h: Update from glibc.
5869 * soft-fp/eqdf2.c: Likewise.
5870 * soft-fp/eqsf2.c: Likewise.
5871 * soft-fp/eqtf2.c: Likewise.
5872 * soft-fp/extenddftf2.c: Likewise.
5873 * soft-fp/extended.h: Likewise.
5874 * soft-fp/extendsfdf2.c: Likewise.
5875 * soft-fp/extendsftf2.c: Likewise.
5876 * soft-fp/extendxftf2.c: Likewise.
5877 * soft-fp/gedf2.c: Likewise.
5878 * soft-fp/gesf2.c: Likewise.
5879 * soft-fp/getf2.c: Likewise.
5880 * soft-fp/ledf2.c: Likewise.
5881 * soft-fp/lesf2.c: Likewise.
5882 * soft-fp/letf2.c: Likewise.
5883 * soft-fp/op-1.h: Likewise.
5884 * soft-fp/op-2.h: Likewise.
5885 * soft-fp/op-4.h: Likewise.
5886 * soft-fp/op-8.h: Likewise.
5887 * soft-fp/op-common.h: Likewise.
5888 * soft-fp/quad.h: Likewise.
5889 * soft-fp/single.h: Likewise.
5890 * soft-fp/soft-fp.h: Likewise.
5891 * soft-fp/unorddf2.c: Likewise.
5892 * soft-fp/unordsf2.c: Likewise.
5893 * soft-fp/unordtf2.c: Likewise.
5894 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
5895 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
5896 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
5897 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
5898 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
5899 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
5900 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
5901 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
5902 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
5903 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
5904
9b84e7a8
RX
59052014-10-08 Rong Xu <xur@google.com>
5906
5907 * libgcov-util.c (read_gcda_file): Fix format.
5908 (find_match_gcov_info): Ditto.
5909 (calculate_2_entries): New.
5910 (compute_one_gcov): Ditto.
5911 (gcov_info_count_all_cold): Ditto.
5912 (gcov_info_count_all_zero): Ditto.
5913 (extract_file_basename): Ditto.
5914 (get_file_basename): Ditto.
5915 (set_flag): Ditto.
5916 (matched_gcov_info): Ditto.
5917 (calculate_overlap): Ditto.
5918 (gcov_profile_overlap): Ditto.
5919 * libgcov-driver.c (compute_summary): Make
5920 it avavilable for external calls.
5921
fe1090c1
RX
59222014-10-06 Rong Xu <xur@google.com>
5923
5924 * Makefile.in: Ditto.
5925 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
5926 (gcov_sort_icall_topn_counter): Ditto.
5927 (gcov_sort_topn_counter_arrays): Ditto.
5928 (dump_one_gcov): Sort indirect_call topn counters.
5929 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
5930 function.
5931 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
5932 utility function.
5933 (__gcov_indirect_call_topn_profiler): New profiler function.
5934 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
5935 * libgcov.h: New decls.
5936
3daa7bbf
TS
59372014-10-04 Trevor Saunders <tsaunders@mozilla.com>
5938
5939 * config.host: Remove support for score-*.
5940
9a79452d
JM
59412014-09-22 Joseph Myers <joseph@codesourcery.com>
5942
5943 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
5944 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
5945 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
5946 __LIBGCC_XF_MANT_DIG__.
5947 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
5948 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
5949 __LIBGCC_TF_MANT_DIG__.
5950 * libgcc2.c (NOTRUNC): Define in terms of
5951 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
5952 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
5953
1a849e50
JM
59542014-09-22 Joseph Myers <joseph@codesourcery.com>
5955
5956 PR target/63312
5957 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
5958 New macros.
5959
598a1586
HPN
59602014-09-22 Hans-Peter Nilsson <hp@axis.com>
5961
5962 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
5963 override USE_PT_GNU_EH_FRAME.
5964 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
5965 check USE_EH_FRAME_REGISTRY_ALWAYS against
5966 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
5967 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
5968 variable for substituted force_explicit_eh_registry.
5969 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
5970 * configure.ac (explicit-exception-frame-registration):
5971 New AC_ARG_ENABLE.
5972 * configure: Regenerate.
5973
3a8fe7c6
OH
59742014-09-19 Olivier Hainque <hainque@adacore.com>
5975
5976 * config.host (powerpc-wrs-vxworksmils): New configuration,
5977 same as vxworksae.
5978
dd69f047
JM
59792014-09-18 Joseph Myers <joseph@codesourcery.com>
5980
5981 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
5982
e770bfd9
JM
59832014-09-18 Joseph Myers <joseph@codesourcery.com>
5984
5985 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
5986 bits not set bits as indicating trapping exceptions.
5987
cadb2b96
NS
59882014-09-17 Nathan sidwell <nathan@acm.org>
5989
5990 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
5991 (LIBGCOV_DRIVER): ... here.
5992 * libgcov-driver.c (gcov_master): New.
5993 (gcov_exit): Remove from master chain.
5994 (__gcov_init): Add to master chain if version compatible. Don't
5995 clear the version.
5996 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
5997 (gcov_reset_int): Clear master chain, if compatible.
5998 (gcov_dump_int): New internal interface. Dump master chain, if
5999 compatible.
6000 (gcov_dump): Alias for gcov_dump_int.
6001 * libgcov.h (struct gcov_root): Add next and prev fields.
6002 (struct gcov_master): New struct.
6003 (__gcov_master): New.
6004 (gcov_dump_int): Declare.
6005
580d22a3
OH
60062014-09-17 Olivier Hainque <hainque@adacore.com>
6007
6008 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
6009 and crtbegin.o + crtend.o to extra_parts.
6010
8cc4b7a2
JM
60112014-09-12 Joseph Myers <joseph@codesourcery.com>
6012
6013 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
6014 __LIBGCC_HAS_SF_MODE__.
6015 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
6016 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
6017 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
6018 * config/libbid/bid_gcc_intrinsics.h
6019 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
6020 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
6021 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
6022 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
6023 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
6024 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
6025
ea3f2b24
GJL
60262014-09-11 Georg-Johann Lay <avr@gjlay.de>
6027
6028 PR target/63223
6029 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
6030 and R24 as needed. Make work for all devices and .text locations.
6031 (__do_global_ctors, __do_global_dtors): Use word addresses.
6032 (__tablejump__, __tablejump_elpm__): Remove functions.
6033 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
6034 Add _tablejump2.
6035 (XICALL, XIJMP): New macros.
6036
b677236a
MS
60372014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
6038 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
6039
6040 * config.host (aarch64*): Include crtfastmath.o and
6041 t-crtfm.
6042 * config/aarch64/crtfastmath.c: New file.
6043
157e859f
TS
60442014-09-08 Trevor Saunders <tsaunders@mozilla.com>
6045
6046 * config.host: Remove picochip support.
6047 * config/picochip/adddi3.S: Remove.
6048 * config/picochip/ashlsi3.S: Remove.
6049 * config/picochip/ashlsi3.c: Remove.
6050 * config/picochip/ashrsi3.S: Remove.
6051 * config/picochip/ashrsi3.c: Remove.
6052 * config/picochip/clzsi2.S: Remove.
6053 * config/picochip/cmpsi2.S: Remove.
6054 * config/picochip/divmod15.S: Remove.
6055 * config/picochip/divmodhi4.S: Remove.
6056 * config/picochip/divmodsi4.S: Remove.
6057 * config/picochip/lib1funcs.S: Remove.
6058 * config/picochip/longjmp.S: Remove.
6059 * config/picochip/lshrsi3.S: Remove.
6060 * config/picochip/lshrsi3.c: Remove.
6061 * config/picochip/parityhi2.S: Remove.
6062 * config/picochip/popcounthi2.S: Remove.
6063 * config/picochip/setjmp.S: Remove.
6064 * config/picochip/subdi3.S: Remove.
6065 * config/picochip/t-picochip: Remove.
6066 * config/picochip/ucmpsi2.S: Remove.
6067 * config/picochip/udivmodhi4.S: Remove.
6068 * config/picochip/udivmodsi4.S: Remove.
6069
66bb34c0
JM
60702014-09-08 Joseph Myers <joseph@codesourcery.com>
6071
6072 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
6073 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
6074 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
6075 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
6076 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
6077 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
6078 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
6079 defined and LIBGCC2_HAS_DF_MODE is defined.
6080 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
6081 defined and LIBGCC2_HAS_XF_MODE is defined.
6082 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
6083 defined and LIBGCC2_HAS_TF_MODE is defined.
6084
9686a2e6
JM
60852014-09-08 Joseph Myers <joseph@codesourcery.com>
6086
6087 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
6088 and ROUND_TOWARDS_ZERO conditionals.
6089
71c3e2ef
NS
60902014-09-07 Nathan sidwell <nathan@acm.org>
6091
6092 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
6093 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
6094
53d68b9f
JM
60952014-09-05 Joseph Myers <joseph@codesourcery.com>
6096
6097 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
6098 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
6099 uses to __LIBGCC_STACK_POINTER_REGNUM__.
6100 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
6101 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6102 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
6103 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6104 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
6105 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
6106 (DWARF_FRAME_REGISTERS): Change all uses to
6107 __LIBGCC_DWARF_FRAME_REGISTERS__.
6108 (EH_RETURN_STACKADJ_RTX): Change all uses to
6109 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
6110 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
6111 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
6112 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
6113 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
6114 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
6115 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
6116 to __LIBGCC_EH_FRAME_SECTION_NAME__.
6117 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
6118 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
6119 __LIBGCC_STACK_POINTER_REGNUM__.
6120 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
6121 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6122 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
6123 to __LIBGCC_STACK_POINTER_REGNUM__.
6124 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
6125 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6126 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
6127 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6128 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
6129 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6130 (STACK_POINTER_REGNUM): Change all uses to
6131 __LIBGCC_STACK_POINTER_REGNUM__.
6132 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
6133 use to __LIBGCC_STACK_POINTER_REGNUM__.
6134 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
6135 uses to __LIBGCC_STACK_POINTER_REGNUM__.
6136 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
6137 to __LIBGCC_DWARF_FRAME_REGISTERS__.
6138 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
6139 to __LIBGCC_DWARF_FRAME_REGISTERS__.
6140 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
6141 to __LIBGCC_STACK_POINTER_REGNUM__.
6142 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
6143 Remove conditional definition.
6144 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
6145 __LIBGCC_TEXT_SECTION_ASM_OP__.
6146 (EH_FRAME_SECTION_NAME): Change all uses to
6147 __LIBGCC_EH_FRAME_SECTION_NAME__.
6148 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
6149 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
6150 (CTORS_SECTION_ASM_OP): Change all uses to
6151 __LIBGCC_CTORS_SECTION_ASM_OP__.
6152 (DTORS_SECTION_ASM_OP): Change all uses to
6153 __LIBGCC_DTORS_SECTION_ASM_OP__.
6154 (JCR_SECTION_NAME): Change all uses to
6155 __LIBGCC_JCR_SECTION_NAME__.
6156 (INIT_SECTION_ASM_OP): Change all uses to
6157 __LIBGCC_INIT_SECTION_ASM_OP__.
6158 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
6159 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
6160 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
6161 __LIBGCC_STACK_GROWS_DOWNWARD__.
6162 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
6163 __LIBGCC_INIT_SECTION_ASM_OP__.
6164 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
6165 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
6166 (EH_FRAME_SECTION_NAME): Change all uses to
6167 __LIBGCC_EH_FRAME_SECTION_NAME__.
6168 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
6169 definitions. Change all uses to
6170 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
6171 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
6172 __LIBGCC_STACK_GROWS_DOWNWARD__.
6173 (DWARF_FRAME_REGISTERS): Change all uses to
6174 __LIBGCC_DWARF_FRAME_REGISTERS__.
6175 (EH_RETURN_STACKADJ_RTX): Change all uses to
6176 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
6177 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
6178 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
6179 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
6180 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
6181 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
6182
b20ee094
NS
61832014-09-02 Nathan sidwell <nathan@acm.org>
6184
6185 * libgcov-interface.c (STRONG_ALIAS): New.
6186 (__gcov_flush): Call __gcov_reset_int.
6187 (__gcov_reset): Strong alias for ...
6188 (__gcov_reset_ing): ... this renamed hidden version.
6189 * libgcov.h (__gcov_reset_int): New declaration.
6190
1ac83976
YS
61912014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
6192
25efdb9f
YS
6193 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
6194 call from here...
6195 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
6196 (__dso_handle): Define on Cygwin.
6197 * config/i386/t-cygming (crtbeginS.o): New rule.
6198 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
6199
1ac83976
YS
6200 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
6201 declaration syntax.
6202
c6f9ea3b
SE
62032014-08-13 Steve Ellcey <sellcey@mips.com>
6204
6205 * crtstuff.c: Undef caddr_t.
6206
5b1ea7c5
SE
62072014-08-12 Steve Ellcey <sellcey@mips.com>
6208
6209 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
6210
4303c581
NS
62112014-08-07 Nathan Sidwell <nathan@acm.org>
6212
6213 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
6214 (LIBGCOV_DRIVER): ... to here.
6215 * libgcov.h (gcov_do_dump): New #define.
6216 (struct gcov_root): New.
6217 (__gcov_root): New declaration.
6218 (__gcov_dump_one): Declare.
6219 * libgcov-driver.c (gcov_list, gcov_dump_complete,
6220 run_accounted): Delete.
6221 (gcov_compute_histogram): Add LIST argument, adjust.
6222 (compute_summary): Adjust gcov_compute_histogram call.
6223 (gcov_do_dump): Not hidden, static in libgcov.
6224 (gcov_clear): Move to interface.c.
6225 (__gcov_dump_one): New, broken out of ...
6226 (gcov_exit): ... here. Make static.
6227 (__gcov_root): New.
6228 (__gcov_init): Adjust.
6229 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
6230 declarations.
6231 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
6232 (gcov_clear): Moved from driver.c. Add LIST argument.
6233 (__gcov_reset): Adjust for changed interfaces.
6234 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
6235
23742a9e
RAR
62362014-08-04 Rohit <rohitarulraj@freescale.com>
6237
6238 PR target/60102
6239 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
d406ae47 6240 based on change in SPE high register numbers and 3 HTM registers.
23742a9e 6241
b98a872b
NS
62422014-08-01 Nathan Sidwell <nathan@acm.org>
6243
6244 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
6245 LIBGCOV_INTERFACE): Reformat.
6246 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
6247 IN_GCOV_TOOL.
6248 * libgcov-interface.c: Reformat some comments.
6249 (__gcov_flush_mx): Add declaration. Tidy up definition.
6250
6adaaa1d
AM
62512014-07-31 Alan Modra <amodra@gmail.com>
6252 Peter Bergner <bergner@vnet.ibm.com>
6253
6254 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
6255 (pack_ldouble): New function.
6256 (__gcc_qadd): Use it.
6257 (__gcc_qmul): Likewise.
6258 (__gcc_qdiv): Likewise.
6259 (__gcc_qneg): Likewise.
6260 (__gcc_stoq): Likewise.
6261 (__gcc_dtoq): Likewise.
6262
87cb0c0c
UW
62632014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
6264
6265 * config/s390/tpf-unwind.h: Include <stdbool.h>.
6266 (__tpf_eh_return): Add original return address as second parameter.
6267 Handle cases where unwinder routines were called directly, instead
6268 of from within the C++ library.
6269
19926161
NS
62702014-07-29 Nathan Sidwell <nathan@acm.org>
6271
6272 * libgcov.h: Move renaming of entry points to lib gcov specific
6273 portion.
6274 (gcov_do_dump): New rename.
6275 (gcov_rewrite): Remove inline, make HIDDEN.
6276 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
6277 (gcov_exit_compute_summary): Rename to ...
6278 (compute_summary): ... here. Add LIST argument.
6279 (gcov_exit_merge_gcda): Rename to ...
6280 (merge_one_data): ... here.
6281 (gcov_exit_write_gcda): Rename to ...
6282 (write_one_data): ... here.
6283 (gcov_exit_merge_summary): Rename to ...
6284 (merge_summary): Add RUN_COUNTED argument.
6285 (gcov_exit_dump_gcov): Rename to ...
6286 (dump_one_gcov): Add RUN_COUNTED argument.
6287 (gcov_do_dump): New function, broken out of ...
6288 (gcov_exit): ... here. Call it.
6289
17522262
AG
62902014-07-27 Anthony Green <green@moxielogic.com>
6291
6292 * config.host: Add moxiebox configuration suppport.
6293
6dc33097
NS
62942014-07-27 Nathan Sidwell <nathan@acm.org>
6295
6296 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
6297 (struct gcov_filename): ... here. Include buffer and max length
6298 fields.
6299 (gcov_max_filename): Remove.
6300 (gi_filename): Remove.
6301 (gcov_exit_compute_summary): Compute max filename here.
6302 (gcov_exit_merge_gcda): Add filename parm, adjust.
6303 (gcov_exit_merge_summary): Likewise.
6304 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
6305 (gcov_exit): Likewise.
6306 (__gcov_init): Don't calculate max length here.
6307 * libgcov_util.c (max_filename_len): Remove.
6308 (read_gcda_file): Don't calculate max length here.
6309 (gcov_read_profile_dir): Don't propagate here.
6310 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
6311 struct gcov_filename changes.
6312 (gcov_exit_open_gcda_file): Likewise.
6313
770f687d
NS
63142014-07-25 Nathan Sidwell <nathan@acm.org>
6315
6316 * libgcov-driver.c (set_gcov_dump_complete,
6317 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
6318 functions polluting user's namespace.
6319 (gcov_exit): Set variable directly.
6320 (gcov_clear): Reset variable directly.
6321 * libgcov-interface.c (get_gcov_dymp_complete,
6322 reset_gov_dump_complete): Remove declarations.
6323 (__gcov_reset, __gcov_dump): Don't call them.
6324
fabf71ba
DD
63252014-07-24 DJ Delorie <dj@redhat.com>
6326
6327 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
770f687d
NS
6328 (__gcc_deregister_frame): Move logic to detect deregister function
6329 to ...
6330 (__gcc_register_frame): here, so it's consistent with the register
6331 logic.
fabf71ba 6332
d10ee722
NS
63332014-07-23 Nathan Sidwell <nathan@acm.org>
6334
6335 * libgcov-driver.c (set_gcov_list): Remove.
6336 (gcov_list): Make non-static in GCOV_TOOL.
6337 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
6338
a4137090
JDA
63392014-07-17 John David Anglin <danglin@gcc.gnu.org>
6340
6341 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
6342 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
6343 Don't use SYNC_LOCK_RELEASE for int type.
6344
72602c6c
RB
63452014-07-14 Richard Biener <rguenther@suse.de>
6346
6347 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
6348
d5313205
RX
63492014-07-11 Rong Xu <xur@google.com>
6350
6351 * libgcov-util.c (gcov_max_filename): Fix declartion.
6352
c77556a5
RX
63532014-07-10 Rong Xu <xur@google.com>
6354
6355 Add gcov-tool: an offline gcda profile processing tool
6356 Support.
6357 * libgcov-driver.c (gcov_max_filename): Make available
6358 to gcov-tool.
6359 * libgcov-merge.c (__gcov_merge_add): Replace
6360 gcov_read_counter() with a Macro.
6361 (__gcov_merge_ior): Ditto.
6362 (__gcov_merge_time_profile): Ditto.
6363 (__gcov_merge_single): Ditto.
6364 (__gcov_merge_delta): Ditto.
6365 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
6366 in the utility functions.
6367 (set_fn_ctrs): Utility function for reading gcda files to in-memory
6368 gcov_list object link lists.
6369 (tag_function): Ditto.
6370 (tag_blocks): Ditto.
6371 (tag_arcs): Ditto.
6372 (tag_lines): Ditto.
6373 (tag_counters): Ditto.
6374 (tag_summary): Ditto.
6375 (read_gcda_finalize): Ditto.
6376 (read_gcda_file): Ditto.
6377 (ftw_read_file): Ditto.
6378 (read_profile_dir_init): Ditto.
6379 (gcov_read_profile_dir): Ditto.
6380 (gcov_read_counter_mem): Ditto.
6381 (gcov_get_merge_weight): Ditto.
6382 (merge_wrapper): A wrapper function that calls merging handler.
6383 (gcov_merge): Merge two gcov_info objects with weights.
6384 (find_match_gcov_info): Find the matched gcov_info in the list.
6385 (gcov_profile_merge): Merge two gcov_info object lists.
6386 (__gcov_add_counter_op): Process edge profile counter values.
6387 (__gcov_ior_counter_op): Process IOR profile counter values.
6388 (__gcov_delta_counter_op): Process delta profile counter values.
6389 (__gcov_single_counter_op): Process single profile counter values.
6390 (fp_scale): Callback function for float-point scaling.
cc86234f 6391 (int_scale): Callback function for integer fraction scaling.
c77556a5
RX
6392 (gcov_profile_scale): Scaling profile counters.
6393 (gcov_profile_normalize): Normalize profile counters.
6394 * libgcov.h: Add headers and functions for gcov-tool use.
6395 (gcov_get_counter): New.
6396 (gcov_get_counter_target): Ditto.
6397 (struct gcov_info): Make the functions field mutable in gcov-tool
6398 compilation.
6399
5c7dac8a
KT
64002014-06-23 Kai Tietz <ktietz@redhat.com>
6401
6402 PR libgcc/61585
6403 * unwind-seh.c (_Unwind_GetGR): Check for proper
6404 index range.
6405 (_Unwind_SetGR): Likewise.
6406
161c9312
NC
64072014-05-22 Nick Clifton <nickc@redhat.com>
6408
6409 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
6410 -mhwmult=none.
6411
e3f0315f
TJ
64122014-05-22 Teresa Johnson <tejohnson@google.com>
6413
6414 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
6415 include.
6416
dbed5a9b
JM
64172014-05-20 John Marino <gnugcc@marino.st>
6418
6419 * config.host (*-*-dragonfly*): New target.
6420 * crtstuff.c: Make dl_iterate_support generic on *bsd.
6421 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
6422 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
6423 * config/i386/dragonfly-unwind.h: New.
6424
1ec380e5
MR
64252014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
6426
6427 PR libgcc/60166
6428 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
6429 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
6430
54fde020
BE
64312014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
6432
6433 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
6434 implementation.
6435
999db125
GJL
64362014-05-12 Georg-Johann Lay <avr@gjlay.de>
6437
6438 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
6439
cceaf54a
RO
64402014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6441
6442 PR libgcc/61097
6443 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
6444 if --enable-shared.
6445
e3fe9b5b
BE
64462014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
6447
6448 Work around for current cygwin32 build problems.
6449 * config/i386/cygming-crtbegin.c (__register_frame_info,
6450 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
6451 functions only for 64-bit systems.
6452
54cf37e9
RO
64532014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6454
6455 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
6456 (sigill_caught, sigill_hdlr): Remove.
6457
d9f069ab
RO
64582014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6459
6460 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
6461 check.
6462 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
6463 Solaris 9 single-threaded support.
6464 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
6465 Solaris 9 single-threaded support. Add call_user_handler code
6466 sequences.
6467 (sparc_is_sighandler): Likewise.
6468
59976ef8
AK
64692014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6470
6471 * config.host: Append t-floattodi to tmake_file depending on
6472 host_address.
6473
d02bbcf3
JS
64742014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
6475
31466bc0 6476 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
d02bbcf3 6477
c2e7e597
UB
64782014-03-10 Uros Bizjak <ubizjak@gmail.com>
6479
6480 PR libgcc/60472
6481 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2405e0ea 6482 variable to avoid "array subscript is above array bounds" warnings.
c2e7e597
UB
6483 Use __builtin_expect when checking *jcr_list for NULL.
6484
227a7dc8
RO
64852014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6486
6487 PR libgcc/59339
6488 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
6489 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
6490 vtv_*.o to extra_parts if enable_vtable_verify.
6491
df2b279c
NC
64922014-03-06 Nick Clifton <nickc@redhat.com>
6493
6494 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
6495 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
6496
dc11d79b
JY
64972014-02-28 Joey Ye <joey.ye@arm.com>
6498
6499 PR libgcc/60166
6500 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
6501 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
6502 Set to zero.
6503
341c653c
WL
65042014-02-24 Walter Lee <walt@tilera.com>
6505
6506 * config.host: Support "tilegx*" and "tilepro*" triplets.
6507 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
6508 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
6509
95ce7613
CLT
65102014-02-20 Sandra Loosemore <sandra@codesourcery.com>
6511 Chung-Lin Tang <cltang@codesourcery.com>
6512
6513 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
6514 * config/nios2/crti.S: Remove .file directive.
6515 * config/nios2/crtn.S: Likewise.
6516
0bb4fc05
KT
65172014-02-18 Kai Tietz <ktietz@redhat.com>
6518 Jonathan Schleifer <js@webkeks.org>
6519
6520 PR objc/56870
6521 * unwind-seh.c (_GCC_specific_handler): Pass proper
6522 value to unwind-handler.
6523
9acf28f1
JM
65242014-02-12 Joseph Myers <joseph@codesourcery.com>
6525
6526 * soft-fp/adddf3.c: Update from glibc.
6527 * soft-fp/addsf3.c: Likewise.
6528 * soft-fp/addtf3.c: Likewise.
6529 * soft-fp/divdf3.c: Likewise.
6530 * soft-fp/divsf3.c: Likewise.
6531 * soft-fp/divtf3.c: Likewise.
6532 * soft-fp/double.h: Likewise.
6533 * soft-fp/eqdf2.c: Likewise.
6534 * soft-fp/eqsf2.c: Likewise.
6535 * soft-fp/eqtf2.c: Likewise.
6536 * soft-fp/extenddftf2.c: Likewise.
6537 * soft-fp/extended.h: Likewise.
6538 * soft-fp/extendsfdf2.c: Likewise.
6539 * soft-fp/extendsftf2.c: Likewise.
6540 * soft-fp/extendxftf2.c: Likewise.
6541 * soft-fp/fixdfdi.c: Likewise.
6542 * soft-fp/fixdfsi.c: Likewise.
6543 * soft-fp/fixdfti.c: Likewise.
6544 * soft-fp/fixsfdi.c: Likewise.
6545 * soft-fp/fixsfsi.c: Likewise.
6546 * soft-fp/fixsfti.c: Likewise.
6547 * soft-fp/fixtfdi.c: Likewise.
6548 * soft-fp/fixtfsi.c: Likewise.
6549 * soft-fp/fixtfti.c: Likewise.
6550 * soft-fp/fixunsdfdi.c: Likewise.
6551 * soft-fp/fixunsdfsi.c: Likewise.
6552 * soft-fp/fixunsdfti.c: Likewise.
6553 * soft-fp/fixunssfdi.c: Likewise.
6554 * soft-fp/fixunssfsi.c: Likewise.
6555 * soft-fp/fixunssfti.c: Likewise.
6556 * soft-fp/fixunstfdi.c: Likewise.
6557 * soft-fp/fixunstfsi.c: Likewise.
6558 * soft-fp/fixunstfti.c: Likewise.
6559 * soft-fp/floatdidf.c: Likewise.
6560 * soft-fp/floatdisf.c: Likewise.
6561 * soft-fp/floatditf.c: Likewise.
6562 * soft-fp/floatsidf.c: Likewise.
6563 * soft-fp/floatsisf.c: Likewise.
6564 * soft-fp/floatsitf.c: Likewise.
6565 * soft-fp/floattidf.c: Likewise.
6566 * soft-fp/floattisf.c: Likewise.
6567 * soft-fp/floattitf.c: Likewise.
6568 * soft-fp/floatundidf.c: Likewise.
6569 * soft-fp/floatundisf.c: Likewise.
6570 * soft-fp/floatunditf.c: Likewise.
6571 * soft-fp/floatunsidf.c: Likewise.
6572 * soft-fp/floatunsisf.c: Likewise.
6573 * soft-fp/floatunsitf.c: Likewise.
6574 * soft-fp/floatuntidf.c: Likewise.
6575 * soft-fp/floatuntisf.c: Likewise.
6576 * soft-fp/floatuntitf.c: Likewise.
6577 * soft-fp/gedf2.c: Likewise.
6578 * soft-fp/gesf2.c: Likewise.
6579 * soft-fp/getf2.c: Likewise.
6580 * soft-fp/ledf2.c: Likewise.
6581 * soft-fp/lesf2.c: Likewise.
6582 * soft-fp/letf2.c: Likewise.
6583 * soft-fp/muldf3.c: Likewise.
6584 * soft-fp/mulsf3.c: Likewise.
6585 * soft-fp/multf3.c: Likewise.
6586 * soft-fp/negdf2.c: Likewise.
6587 * soft-fp/negsf2.c: Likewise.
6588 * soft-fp/negtf2.c: Likewise.
6589 * soft-fp/op-1.h: Likewise.
6590 * soft-fp/op-2.h: Likewise.
6591 * soft-fp/op-4.h: Likewise.
6592 * soft-fp/op-8.h: Likewise.
6593 * soft-fp/op-common.h: Likewise.
6594 * soft-fp/quad.h: Likewise.
6595 * soft-fp/single.h: Likewise.
6596 * soft-fp/soft-fp.h: Likewise.
6597 * soft-fp/subdf3.c: Likewise.
6598 * soft-fp/subsf3.c: Likewise.
6599 * soft-fp/subtf3.c: Likewise.
6600 * soft-fp/truncdfsf2.c: Likewise.
6601 * soft-fp/trunctfdf2.c: Likewise.
6602 * soft-fp/trunctfsf2.c: Likewise.
6603 * soft-fp/trunctfxf2.c: Likewise.
6604 * soft-fp/unorddf2.c: Likewise.
6605 * soft-fp/unordsf2.c: Likewise.
6606 * soft-fp/unordtf2.c: Likewise.
6607 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
6608 macro.
6609 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6610 Likewise.
6611 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6612 Likewise.
6613 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6614 Likewise.
6615 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6616 Likewise.
6617 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6618 Likewise.
6619 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6620 Likewise.
6621 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6622 Likewise.
6623 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6624 Likewise.
6625 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6626 Likewise.
6627 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6628 Likewise.
6629 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6630 Likewise.
6631 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6632 Likewise.
6633 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
6634 Likewise.
6635 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
6636 Likewise.
6637 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6638 Likewise.
6639
ce245ec6
AK
66402014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6641
6642 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
6643 cannot be represented.
6644 * config/s390/32/_fixsfdi.c: Likewise.
6645 * config/s390/32/_fixtfdi.c: Likewise.
6646 * config/s390/32/_fixunsdfdi.c: Likewise.
6647 * config/s390/32/_fixunssfdi.c: Likewise.
6648 * config/s390/32/_fixunstfdi.c: Likewise.
6649
1c51d688
RS
66502014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
6651
6652 * configure.ac (libgcc_cv_mips_hard_float): New.
6653 * configure: Regenerate.
6654 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
6655 t-softfp-sfdf for hard-float targets.
6656 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
6657 (softfp_float_modes, softfp_int_modes, softfp_extensions)
6658 (softfp_truncations, softfp_exclude_libgcc2): New.
6659 * config/t-hardfp: New file.
6660 * config/t-hardfp-sfdf: Likewise.
6661 * config/hardfp.c: Likewise.
6662
bbf391db
AK
66632014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6664
6665 * config.host: Include t-floattodi also for s390x.
6666 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
6667 * config/s390/32/_fixsfdi.c: Likewise.
6668 * config/s390/32/_fixtfdi.c: Likewise.
6669 * config/s390/32/_fixunsdfdi.c: Likewise.
6670 * config/s390/32/_fixunssfdi.c: Likewise.
6671 * config/s390/32/_fixunstfdi.c: Likewise.
6672
91da0481
RO
66732014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6674
6675 PR target/59788
6676 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
6677 (install-libgcc-unwind-map-forbuild): New target.
6678 (all): Depend on install-libgcc-unwind-map-forbuild.
6679 (install-libgcc-unwind-map): New target.
6680 (install): Depend on install-libgcc-unwind-map.
6681
02b67731
SL
66822014-02-02 Sandra Loosemore <sandra@codesourcery.com>
6683
6684 * config/nios2/crti.S (_init): Initialize GOT pointer from
6685 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
6686
1ea0a651
RS
66872014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
6688
6689 * configure.ac: Check __mips64 when setting host_address.
6690 * configure: Regenerate.
6691 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
6692 mips/t-mips64 and t-softfp.
6693 (mips*-*-linux*): Don't add mips/t-tpbit.
6694 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
6695 (DPBIT, DPBIT_CFLAGS): Delete.
6696 * config/mips/sfp-machine.h: New file.
6697 * config/mips/t-mips64: Likewise.
6698 * config/mips/t-softfp-tf: Likewise.
6699 * config/mips/t-tpbit: Delete.
6700
f32b0061
MS
67012014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
6702
6703 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
6704 as long long.
6705
a5420aa4
WL
67062014-01-25 Walter Lee <walt@tilera.com>
6707
6708 * config/tilepro/atomic.c: Include tconfig.h. Don't include
6709 config.h or system.h.
6710 (bool) Define.
6711
24534912
WL
67122014-01-25 Walter Lee <walt@tilera.com>
6713
6714 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
6715 (post_atomic_barrier): Ditto.
6716 (__fetch_and_do): New macro.
6717 (__atomic_fetch_and_do): Use __fetch_and_do.
6718 (__sync_fetch_and_do): New macro.
6719 (__sync_fetch_and_add_4): New function.
6720 (__sync_fetch_and_sub_4): New function.
6721 (__sync_fetch_and_or_4): New function.
6722 (__sync_fetch_and_and_4): New function.
6723 (__sync_fetch_and_xor_4): New function.
6724 (__sync_fetch_and_nand_4): New function.
6725 (__sync_fetch_and_add_8): New function.
6726 (__sync_fetch_and_sub_8): New function.
6727 (__sync_fetch_and_or_8): New function.
6728 (__sync_fetch_and_and_8): New function.
6729 (__sync_fetch_and_xor_8): New function.
6730 (__sync_fetch_and_nand_8): New function.
6731 (__do_and_fetch): New macro.
6732 (__atomic_do_and_fetch): Use __do_and_fetch.
6733 (__sync_do_and_fetch): New macro.
6734 (__sync_add_and_fetch_4): New function.
6735 (__sync_sub_and_fetch_4): New function.
6736 (__sync_or_and_fetch_4): New function.
6737 (__sync_and_and_fetch_4): New function.
6738 (__sync_xor_and_fetch_4): New function.
6739 (__sync_nand_and_fetch_4): New function.
6740 (__sync_add_and_fetch_8): New function.
6741 (__sync_sub_and_fetch_8): New function.
6742 (__sync_or_and_fetch_8): New function.
6743 (__sync_and_and_fetch_8): New function.
6744 (__sync_xor_and_fetch_8): New function.
6745 (__sync_nand_and_fetch_8): New function.
6746 (__sync_exchange_methods): New macro.
6747 (__sync_val_compare_and_swap_4): New function.
6748 (__sync_bool_compare_and_swap_4): New function.
6749 (__sync_lock_test_and_test_4): New function.
6750 (__sync_val_compare_and_swap_8): New function.
6751 (__sync_bool_compare_and_swap_8): New function.
6752 (__sync_lock_test_and_test_8): New function.
6753 (__subword_cmpxchg_body): New macro.
6754 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
6755 (__atomic_compare_exchange_2): Ditto.
6756 (__sync_subword_cmpxchg): New macro.
6757 (__sync_val_compare_and_swap_1): New function.
6758 (__sync_bool_compare_and_swap_1): New function.
6759 (__sync_val_compare_and_swap_2): New function.
6760 (__sync_bool_compare_and_swap_2): New function.
6761 (__atomic_subword): Rename to ...
6762 (__subword): ... New name.
6763 (__atomic_subword_fetch): Use __subword.
6764 (__sync_subword_fetch): New macro.
6765 (__sync_fetch_and_add_1): New function.
6766 (__sync_fetch_and_sub_1): New function.
6767 (__sync_fetch_and_or_1): New function.
6768 (__sync_fetch_and_and_1): New function.
6769 (__sync_fetch_and_xor_1): New function.
6770 (__sync_fetch_and_nand_1): New function.
6771 (__sync_fetch_and_add_2): New function.
6772 (__sync_fetch_and_sub_2): New function.
6773 (__sync_fetch_and_or_2): New function.
6774 (__sync_fetch_and_and_2): New function.
6775 (__sync_fetch_and_xor_2): New function.
6776 (__sync_fetch_and_nand_2): New function.
6777 (__sync_add_and_fetch_1): New function.
6778 (__sync_sub_and_fetch_1): New function.
6779 (__sync_or_and_fetch_1): New function.
6780 (__sync_and_and_fetch_1): New function.
6781 (__sync_xor_and_fetch_1): New function.
6782 (__sync_nand_and_fetch_1): New function.
6783 (__sync_add_and_fetch_2): New function.
6784 (__sync_sub_and_fetch_2): New function.
6785 (__sync_or_and_fetch_2): New function.
6786 (__sync_and_and_fetch_2): New function.
6787 (__sync_xor_and_fetch_2): New function.
6788 (__sync_nand_and_fetch_2): New function.
6789 (__atomic_subword_lock): Use __subword.
6790 (__sync_subword_lock): New macro.
6791 (__sync_lock_test_and_set_1): New function.
6792 (__sync_lock_test_and_set_2): New function.
6793
4d6d3bc5
WL
67942014-01-25 Walter Lee <walt@tilera.com>
6795
6796 * config/tilepro/atomic.c (BIT_OFFSET): Define.
6797 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
6798 (__atomic_subword): Ditto.
6799
cbd9890e
WL
68002014-01-25 Walter Lee <walt@tilera.com>
6801
6802 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
6803 a prefix op argument.
6804 (__atomic_nand_fetch_4): Add prefix op.
6805 (__atomic_nand_fetch_8): Ditto.
6806
7d296953 68072014-01-21 Baruch Siach <barch@tkos.co.il>
800d8bd5
BS
6808
6809 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
6810
46dd1242
L
68112014-01-09 Rong Xu <xur@google.com>
6812
6813 * libgcov-driver.c (this_prg): make it local to save
6814 bss space.
6815 (gcov_exit_compute_summary): Ditto.
6816 (gcov_exit_merge_gcda): Ditto.
6817 (gcov_exit_merge_summary): Ditto.
6818 (gcov_exit_dump_gcov): Ditto.
6819
cc86234f 68202014-01-08 Rong Xu <xur@google.com>
40d6b753
RX
6821
6822 * libgcov-driver.c: Use libgcov.h.
6823 (buffer_fn_data): Use xmalloc instead of malloc.
6824 (gcov_exit_merge_gcda): Ditto.
6825 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
6826 * libgcov.h: New common header files for libgcov-*.h.
6827 * libgcov-interface.c: Use libgcov.h
6828 * libgcov-merge.c: Ditto.
6829 * libgcov-profiler.c: Ditto.
6830 * Makefile.in: Add dependence to libgcov.h
6831
a02e7bdd
JM
68322014-01-02 Joseph Myers <joseph@codesourcery.com>
6833
6834 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
6835 case of small numerator and finite nonzero result.
6836
ac1dca3c
RS
68372014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
6838
6839 Update copyright years
6840
f9030485
RS
68412014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
6842
6843 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
6844 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
6845 config/arc/dp-hack.h, config/arc/fp-hack.h,
6846 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
6847 config/arc/ieee-754/arc600-dsp/divdf3.S,
6848 config/arc/ieee-754/arc600-dsp/divsf3.S,
6849 config/arc/ieee-754/arc600-dsp/muldf3.S,
6850 config/arc/ieee-754/arc600-dsp/mulsf3.S,
6851 config/arc/ieee-754/arc600-mul64/divdf3.S,
6852 config/arc/ieee-754/arc600-mul64/divsf3.S,
6853 config/arc/ieee-754/arc600-mul64/muldf3.S,
6854 config/arc/ieee-754/arc600-mul64/mulsf3.S,
6855 config/arc/ieee-754/arc600/divsf3.S,
6856 config/arc/ieee-754/arc600/mulsf3.S,
6857 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
6858 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
6859 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
6860 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
6861 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
6862 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
6863 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
6864 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
6865 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
6866 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
6867 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
6868 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
6869 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
6870 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
6871 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
6872 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
6873 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
6874 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
6875 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
6876 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
6877 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
6878 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
6879 vtv_start_preinit.c: Use the standard form for the copyright notice.
6880
e430824f
CLT
68812013-12-31 Sandra Loosemore <sandra@codesourcery.com>
6882 Chung-Lin Tang <cltang@codesourcery.com>
6883 Based on patches from Altera Corporation
6884
6885 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
6886 * config/nios2/lib2-nios2.h: New file.
6887 * config/nios2/lib2-divmod-hi.c: New file.
6888 * config/nios2/linux-unwind.h: New file.
6889 * config/nios2/lib2-divmod.c: New file.
6890 * config/nios2/linux-atomic.c: New file.
6891 * config/nios2/t-nios2: New file.
6892 * config/nios2/crti.asm: New file.
6893 * config/nios2/t-linux: New file.
6894 * config/nios2/lib2-divtable.c: New file.
6895 * config/nios2/lib2-mul.c: New file.
6896 * config/nios2/tramp.c: New file.
6897 * config/nios2/crtn.asm: New file.
6898
1879e97f
UB
68992013-12-26 Uros Bizjak <ubizjak@gmail.com>
6900
6901 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
6902 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
6903 from cpuid.h to check vendor signatures.
6904
f4a4bdbb
GG
69052013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
6906
c2e7e597 6907 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
f4a4bdbb
GG
6908 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
6909 (get_amd_cpu): Likewise.
6910
8d2ae544
L
69112013-12-25 H.J. Lu <hongjiu.lu@intel.com>
6912
6913 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
6914 Haswell.
6915
74924838
ASJ
69162013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
6917 H.J. Lu <hongjiu.lu@intel.com>
6918
0bb52f25
L
6919 PR target/59422
6920 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
74924838
ASJ
6921 and AMD_JAGUAR.
6922 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
6923 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
6924 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
6925 FEATURE_XOP and FEATURE_FMA.
6926 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
6927 AMDFAM15H_BDVER3.
6928 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
0bb52f25 6929 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
74924838
ASJ
6930 FEATURE_FMA4 and FEATURE_XOP.
6931
d3c11974
L
69322013-12-23 H.J. Lu <hongjiu.lu@intel.com>
6933
6934 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
6935 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
6936 (get_intel_cpu): Updated.
6937
064c4ff2
ZC
69382013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
6939
6940 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
6941
8b02e720
UB
69422013-12-09 Uros Bizjak <ubizjak@gmail.com>
6943
6944 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1f71a3c3 6945 instructions when __SSE_MATH__ is defined.
8b02e720 6946
3fa2ccb4
RC
69472013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
6948
6949 * config.host (microblaze-*-rtems*): New.
6950
ecd78fc9
KV
69512013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
6952
6953 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
6954 architectures that do not have hardware divide instruction.
6955 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
6956
b21fbbd2
RS
69572013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
6958
6959 * longlong.h: Delete (moved to include/).
6960
b03fb8c9
AZ
69612013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6962
6963 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
6964 of normal number and qNaN to not raise an inexact exception.
6965
3c716922
UB
69662013-11-28 Uros Bizjak <ubizjak@gmail.com>
6967
6968 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
6969
69702013-11-28 Matthew Leach <matthew.leach@arm.com>
cceeb9a9
ML
6971
6972 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
6973 for correct opcodes on BE.
6974
a3458d22
UB
69752013-11-27 Uros Bizjak <ubizjak@gmail.com>
6976
6977 * soft-fp/op-4.h: Update from glibc.
6978
30b8f78b
KV
69792013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
6980
6981 * libgcc2.c (__udivmoddi4): Define new implementation when
6982 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
6983 divide instructions.
6984
82552a29
OE
69852013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
6986
6987 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
6988
80e87457
RO
69892013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6990
6991 * config/t-softfp (soft-fp-objects-base): New variable.
6992 (soft-fp-objects): Use it.
6993
44178879
DE
69942013-11-23 David Edelson <dje.gcc@gmail.com>
6995 Andrew Dixie <andrewd@gentrack.com>
6996
6997 PR target/33704
6998 * config/rs6000/aixinitfini.c: New file.
6999 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
7000 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
7001 symbols.
7002
e5287671
YR
70032013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
7004
a3458d22 7005 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
e5287671 7006
867c8b03
JH
70072013-11-18 Jan Hubicka <jh@suse.cz>
7008
7f369373
JH
7009 * libgcov-driver.c (run_accounted): Make global level static.
7010 (gcov_exit_merge_summary): Silence warning; do not clear
7011 run_accounted here.
7012 (gcov_exit): Clear it here.
7013
1d0b3334
JH
7014 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
7015 run_accounted.
7016
867c8b03
JH
7017 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
7018 (all_prg, crc32): Remove static vars.
7019 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
7020 all_prg.
7021 (gcov_exit_merge_gcda): Add crc32 parameter.
7022 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
7023 do not account run if it was already accounted.
7024 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
7025 (gcov_exit): Initialize all_prg; update.
7026
66204992
AS
70272013-11-15 Andreas Schwab <schwab@linux-m68k.org>
7028
7029 * configure: Regenerate.
7030
b54214fe
UW
70312013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7032 Alan Modra <amodra@gmail.com>
7033
7034 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
7035 (frob_update_context): Use it.
7036
70372013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7038 Alan Modra <amodra@gmail.com>
7039
7040 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
7041 (trampoline_initial): Provide ELFv2 variant.
7042 (__trampoline_setup): Likewise.
7043
7044 * config/rs6000/linux-unwind.h (frob_update_context): Do not
7045 check for AIX indirect function call sequence if _CALL_ELF == 2.
7046
70472013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7048 Alan Modra <amodra@gmail.com>
7049
7050 * config/rs6000/linux-unwind.h (get_regs): Do not support
7051 old kernel versions if _CALL_ELF == 2.
7052 (frob_update_context): Do not support PLT stub variants only
7053 generated by old linkers if _CALL_ELF == 2.
7054
13e0981a
UW
70552013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7056 Alan Modra <amodra@gmail.com>
7057
7058 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
7059 location of CR save area for 64-bit little-endian systems.
7060
1a80085d
EB
70612013-11-11 Eric Botcazou <ebotcazou@adacore.com>
7062
7063 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
7064 in tmake_file.
7065 * config/arm/t-vxworks: Delete.
7066
cabeea52
KT
70672013-11-10 Kai Tietz <ktietz@redhat.com>
7068
7069 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
7070 Increment load-count on use of LIBGCC_SONAME DLL.
7071 (hmod_libgcc): New static variable to hold handle of
7072 LIBGCC_SONAME DLL.
7073 (__gcc_deregister_frame): Decrement load-count of
7074 LIBGCC_SONAME DLL.
7075
ac088ba1
BRF
70762013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
7077
7078 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
7079 availability.
7080 * configure: Regenerate
7081
d59a8fcc
UB
70822013-11-07 Uros Bizjak <ubizjak@gmail.com>
7083
7084 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
7085 FP_EX_DENORM. Store result to volatile location after SSE division
7086 to close interrupt window. Remove unneeded fwait after x87
7087 division since interrupt window will be closed by emitted fstp.
9de84e84 7088 Rewrite FP_EX_INEXACT handling.
d59a8fcc 7089
9954c743
JM
70902013-11-06 Joseph Myers <joseph@codesourcery.com>
7091
7092 * soft-fp/README: Update.
7093 * soft-fp/adddf3.c: Update from glibc.
7094 * soft-fp/addsf3.c: Likewise.
7095 * soft-fp/addtf3.c: Likewise.
7096 * soft-fp/divdf3.c: Likewise.
7097 * soft-fp/divsf3.c: Likewise.
7098 * soft-fp/divtf3.c: Likewise.
7099 * soft-fp/double.h: Likewise.
7100 * soft-fp/eqdf2.c: Likewise.
7101 * soft-fp/eqsf2.c: Likewise.
7102 * soft-fp/eqtf2.c: Likewise.
7103 * soft-fp/extenddftf2.c: Likewise.
7104 * soft-fp/extended.h: Likewise.
7105 * soft-fp/extendsfdf2.c: Likewise.
7106 * soft-fp/extendsftf2.c: Likewise.
7107 * soft-fp/extendxftf2.c: Likewise.
7108 * soft-fp/fixdfdi.c: Likewise.
7109 * soft-fp/fixdfsi.c: Likewise.
7110 * soft-fp/fixdfti.c: Likewise.
7111 * soft-fp/fixsfdi.c: Likewise.
7112 * soft-fp/fixsfsi.c: Likewise.
7113 * soft-fp/fixsfti.c: Likewise.
7114 * soft-fp/fixtfdi.c: Likewise.
7115 * soft-fp/fixtfsi.c: Likewise.
7116 * soft-fp/fixtfti.c: Likewise.
7117 * soft-fp/fixunsdfdi.c: Likewise.
7118 * soft-fp/fixunsdfsi.c: Likewise.
7119 * soft-fp/fixunsdfti.c: Likewise.
7120 * soft-fp/fixunssfdi.c: Likewise.
7121 * soft-fp/fixunssfsi.c: Likewise.
7122 * soft-fp/fixunssfti.c: Likewise.
7123 * soft-fp/fixunstfdi.c: Likewise.
7124 * soft-fp/fixunstfsi.c: Likewise.
7125 * soft-fp/fixunstfti.c: Likewise.
7126 * soft-fp/floatdidf.c: Likewise.
7127 * soft-fp/floatdisf.c: Likewise.
7128 * soft-fp/floatditf.c: Likewise.
7129 * soft-fp/floatsidf.c: Likewise.
7130 * soft-fp/floatsisf.c: Likewise.
7131 * soft-fp/floatsitf.c: Likewise.
7132 * soft-fp/floattidf.c: Likewise.
7133 * soft-fp/floattisf.c: Likewise.
7134 * soft-fp/floattitf.c: Likewise.
7135 * soft-fp/floatundidf.c: Likewise.
7136 * soft-fp/floatundisf.c: Likewise.
7137 * soft-fp/floatunditf.c: Likewise.
7138 * soft-fp/floatunsidf.c: Likewise.
7139 * soft-fp/floatunsisf.c: Likewise.
7140 * soft-fp/floatunsitf.c: Likewise.
7141 * soft-fp/floatuntidf.c: Likewise.
7142 * soft-fp/floatuntisf.c: Likewise.
7143 * soft-fp/floatuntitf.c: Likewise.
7144 * soft-fp/gedf2.c: Likewise.
7145 * soft-fp/gesf2.c: Likewise.
7146 * soft-fp/getf2.c: Likewise.
7147 * soft-fp/ledf2.c: Likewise.
7148 * soft-fp/lesf2.c: Likewise.
7149 * soft-fp/letf2.c: Likewise.
7150 * soft-fp/muldf3.c: Likewise.
7151 * soft-fp/mulsf3.c: Likewise.
7152 * soft-fp/multf3.c: Likewise.
7153 * soft-fp/negdf2.c: Likewise.
7154 * soft-fp/negsf2.c: Likewise.
7155 * soft-fp/negtf2.c: Likewise.
7156 * soft-fp/op-1.h: Likewise.
7157 * soft-fp/op-2.h: Likewise.
7158 * soft-fp/op-4.h: Likewise.
7159 * soft-fp/op-8.h: Likewise.
7160 * soft-fp/op-common.h: Likewise.
7161 * soft-fp/quad.h: Likewise.
7162 * soft-fp/single.h: Likewise.
7163 * soft-fp/soft-fp.h: Likewise.
7164 * soft-fp/subdf3.c: Likewise.
7165 * soft-fp/subsf3.c: Likewise.
7166 * soft-fp/subtf3.c: Likewise.
7167 * soft-fp/truncdfsf2.c: Likewise.
7168 * soft-fp/trunctfdf2.c: Likewise.
7169 * soft-fp/trunctfsf2.c: Likewise.
7170 * soft-fp/trunctfxf2.c: Likewise.
7171 * soft-fp/unorddf2.c: Likewise.
7172 * soft-fp/unordsf2.c: Likewise.
7173 * soft-fp/unordtf2.c: Likewise.
7174
02ac9503
UB
71752013-11-05 Uros Bizjak <ubizjak@gmail.com>
7176
7177 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
7178 (_FP_MUL_MEAT_D): Ditto.
7179 (_FP_DIV_MEAT_S): Ditto.
7180 (_FP_DIV_MEAT_D): Ditto.
7181 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
7182 t-softfp-sfdf and t-softfp to tmake_file.
7183
61221141
UB
71842013-11-03 Uros Bizjak <ubizjak@gmail.com>
7185
7186 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
7187 * config/i386/crtprec.c: Ditto.
7188
9304f876
CJW
71892013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
7190 Shiva Chen <shiva0217@gmail.com>
7191
7192 * config.host (nds32*-elf*): Add nds32 target.
7193 * config/nds32 : New directory and files.
7194
0e499e75
HPN
71952013-10-16 Hans-Peter Nilsson <hp@axis.com>
7196
7197 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
7198 * config.host (cpu_type) <Setting default>: Add entry for
7199 crisv32-*-*.
7200 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
7201 <crisv32-*-linux*>: Adjust.
7202 * longlong.h: Wrap the whole CRIS section in a single
7203 defined(__CRIS__) conditional. Add comment about add_ssaaaa
7204 and sub_ddmmss.
7205 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
7206 defined.
7207 [__CRIS__] (__umulsidi3): Define.
7208 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
7209 * config/cris/sfp-machine.h: New file.
7210 * config/cris/umulsidi3.S: New file.
7211 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
7212 * config/cris/arit.c (SIGNMULT): New macro.
7213 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
7214 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
7215 saving 3 out of originally 33 cycles from the fastest
7216 path, 3 out of 54 from the medium path and one from the longest
7217 path. Improve comments.
7218
16022041
RS
72192013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
7220
7221 * sync.c: Remove static aliases and define each function directly
7222 under its real name.
7223
69778659
JDA
72242013-10-02 John David Anglin <danglin@gcc.gnu.org>
7225
7226 * config.host (hppa*64*-*-linux*): Define extra_parts.
7227 (hppa*-*-linux*): Likewise.
7228
2deaf8b0
JR
72292013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
7230
7231 * config/arc/crtgend.S: Add 2013 to Copyright years.
7232 * config/arc/gmon/atomic.h: Likewise.
7233 * config/arc/gmon/auxreg.h: Likewise.
7234 * config/arc/gmon/sys/gmon_out.h: Likewise.
7235 * config/arc/gmon/sys/gmon.h: Likewise.
7236 * config/arc/gmon/prof-freq.c: Likewise.
7237 * config/arc/gmon/mcount.c: Likewise.
7238 * config/arc/gmon/prof-freq-stub.S: Likewise.
7239 * config/arc/gmon/gmon.c: Likewise.
7240 * config/arc/gmon/machine-gmon.h: Likewise.
7241 * config/arc/gmon/profil.S: Likewise.
7242 * config/arc/gmon/dcache_linesz.S: Likewise.
7243 * config/arc/crtg.S: Likewise.
7244 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
7245 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
7246 * config/arc/ieee-754/adddf3.S: Likewise.
7247 * config/arc/ieee-754/truncdfsf2.S: Likewise.
7248 * config/arc/ieee-754/fixsfsi.S: Likewise.
7249 * config/arc/ieee-754/gtsf2.S: Likewise.
7250 * config/arc/ieee-754/floatsisf.S: Likewise.
7251 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
7252 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
7253 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
7254 * config/arc/ieee-754/fixdfsi.S: Likewise.
7255 * config/arc/ieee-754/addsf3.S: Likewise.
7256 * config/arc/ieee-754/gesf2.S: Likewise.
7257 * config/arc/ieee-754/floatsidf.S: Likewise.
7258 * config/arc/ieee-754/extendsfdf2.S: Likewise.
7259 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
7260 * config/arc/ieee-754/gtdf2.S: Likewise.
7261 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
7262 * config/arc/ieee-754/uneqdf2.S: Likewise.
7263 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
7264 * config/arc/ieee-754/uneqsf2.S: Likewise.
7265 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
7266 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
7267 * config/arc/ieee-754/eqdf2.S: Likewise.
7268 * config/arc/ieee-754/ordsf2.S: Likewise.
7269 * config/arc/ieee-754/divsf3.S: Likewise.
7270 * config/arc/ieee-754/divdf3.S: Likewise.
7271 * config/arc/ieee-754/floatunsidf.S: Likewise.
7272 * config/arc/ieee-754/orddf2.S: Likewise.
7273 * config/arc/ieee-754/eqsf2.S: Likewise.
7274 * config/arc/ieee-754/gedf2.S: Likewise.
7275 * config/arc/crtn.S: Likewise.
7276 * config/arc/crti.S: Likewise.
7277 * config/arc/t-arc700-uClibc: Likewise.
7278 * config/arc/asm.h: Likewise.
7279 * config/arc/libgcc-excl.ver: Likewise.
7280 * config/arc/t-arc-newlib: Likewise.
7281 * config/arc/divtab-arc700.c: Likewise.
7282 * config/arc/initfini.c: Likewise.
7283 * config/arc/fp-hack.h: Likewise.
7284
c8e318b0
JR
72852013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
7286 Diego Novillo <dnovillo@google.com>
7287
7288 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
a07c5b47
JR
7289 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
7290 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
7291 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
c8e318b0 7292
d38a64b4
JR
72932013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
7294 Brendan Kehoe <brendan@zen.org>
7295 Simon Cook <simon.cook@embecosm.com>
7296
7297 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
7298 * config/arc: New directory.
7299 * longlong.h [__arc__] (umul_ppmm): Remove.
7300 [__arc__] (__umulsidi3): Define.
7301 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
7302 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
7303
dff717d2
JC
73042013-09-17 Jacek Caban <jacek@codeweavers.com>
7305
7306 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
7307 CreateSemaphoreA.
7308 * config/i386/gthr-win32.h: Likewise.
7309
5c0029de
DD
73102013-09-16 DJ Delorie <dj@redhat.com>
7311
844ad6c6 7312 * config/rl78/vregs.h: Add G10 register definitions.
5c0029de
DD
7313 * config/rl78/lib2mul.c: Enable for RL78/G10.
7314 * config/rl78/lib2div.c: Likewise.
7315 * config/rl78/lshrsi3.S: Use vregs.h.
7316 * config/rl78/cmpsi2.S: Likewise.
7317 * config/rl78/trampoline.S: Likewise.
7318 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
7319
ceb2fc49
DD
73202013-09-14 DJ Delorie <dj@redhat.com>
7321 Nick Clifton <nickc@redhat.com>
7322
7323 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
7324 * config/rl78/vregs.h: New.
7325 * config/rl78/signbit.S: New file. Implements signbit function.
7326 * config/rl78/divmodsi.S: New.
7327 * config/rl78/divmodhi.S: New.
7328 * config/rl78/divmodqi.S: New.
7329 * config/rl78/t-rl78: Build them here...
7330 * config/rl78/lib2div.c: ...but not here.
7331
f6a83b4a
DD
73322013-09-12 DJ Delorie <dj@redhat.com>
7333
7334 * config.host (msp*-*-elf): New.
7335 * config/msp430/: New port.
7336
9107b096
IS
73372013-08-18 Iain Sandoe <iain@codesourcery.com>
7338
7339 PR gcov-profile/58127
7340 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
7341 __thread var for emulated TLS.
7342 (__gcov_indirect_call_counters): Likewise.
7343
0f9bde1f 73442013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
61221141 7345 Catherine Moore <clm@codesourcery.com>
7d296953 7346 Richard Sandiford <rdsandiford@googlemail.com>
0f9bde1f
MR
7347
7348 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
7349 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
7350 (CALL_STUB_NO_RET): Likewise.
7351 (CALL_STUB_RET): Likewise.
7352 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
7353 __mips16_ret call/return stub symbols.
7354 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
7355 to tmake_file.
7356
2dc14aac
MR
73572013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
7358
7359 * config.host <mips*-*-linux*>: Remove a stray comment.
7360
748d71f3
JH
73612013-08-10 Jan Hubicka <jh@suse.cz>
7362
7363 Work around binutils PR14342
7364 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
7365 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
7366 (L_gcov_indirect_call_profiler_v2): New.
7367
2fa3d31b
JH
73682013-08-06 Jan Hubicka <jh@suse.cz>
7369
7370 * libgcov.c (__gcov_indirect_call_callee,
7371 __gcov_indirect_call_counters): New global vars.
7372 (__gcov_indirect_call_profiler): replace by ...
7373 (__gcov_indirect_call_profiler_v2) ... this one.
7374
2077db1b
CT
73752013-08-06 Caroline Tice <cmtice@google.com>
7376
d0595b65 7377 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
2077db1b 7378 vtv_start_preinit.o and vtv_end_preinit.o.
d0595b65
CT
7379 * configure.ac: Add code to check/set enable_vtable_verify.
7380 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
2077db1b 7381 true.
d0595b65
CT
7382 * vtv_start_preinit.c: New file.
7383 * vtv_end_preinit.c: New file.
7384 * vtv_start.c: New file.
7385 * vtv_end.c: New file.
7386 * configure: Regenerated.
2077db1b 7387
46549c20
MK
73882013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
7389
7390 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
7391 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
7392 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
7393 GPL-3.0-with-GCC-exception.
7394
72be589b
MR
73952013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
7396
7397 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
7398 ISA and up.
7399
902a3faf
AK
74002013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7401
7402 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
7403 mapping for FPRs when creating the fallback framestate.
7404
02371798
GJL
74052013-07-19 Georg-Johann Lay <avr@gjlay.de>
7406
7407 PR target/57516
7408 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
7409 (__round_s2_const, __round_u2_const)
7410 (__round_s4_const, __round_u4_const, __round_x8):
7411 Saturate result if addition result cannot be represented.
7412
ab0e8379
MK
74132013-07-15 Matthias Klose <doko@ubuntu.com>
7414
7415 * libgcc2.c: Don't include <limits.h>.
7416
7da38058
JJ
74172013-07-09 Janis Johnson <janisjo@codesourcery.com>
7418
7419 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
7420
1f6eac90
JJ
74212013-07-06 Jakub Jelinek <jakub@redhat.com>
7422
7423 PR target/29776
7424 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
7425
4ea3d774
JJ
74262013-06-28 Jakub Jelinek <jakub@redhat.com>
7427
7428 PR middle-end/36041
7429 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
7430 Define.
7431 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
7432 instead of table lookups.
7433 (__popcountDI2): Likewise.
7434
9d2cdf25
CJW
74352013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
7436
7437 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
7438 correctly.
7439
fa1e55b0
JM
74402013-06-21 Joseph Myers <joseph@codesourcery.com>
7441
7442 PR other/53317
7443 * soft-fp/adddf3.c: Update from glibc.
7444 * soft-fp/addsf3.c: Likewise.
7445 * soft-fp/addtf3.c: Likewise.
7446 * soft-fp/divdf3.c: Likewise.
7447 * soft-fp/divsf3.c: Likewise.
7448 * soft-fp/divtf3.c: Likewise.
7449 * soft-fp/double.h: Likewise.
7450 * soft-fp/eqdf2.c: Likewise.
7451 * soft-fp/eqsf2.c: Likewise.
7452 * soft-fp/eqtf2.c: Likewise.
7453 * soft-fp/extenddftf2.c: Likewise.
7454 * soft-fp/extended.h: Likewise.
7455 * soft-fp/extendsfdf2.c: Likewise.
7456 * soft-fp/extendsftf2.c: Likewise.
7457 * soft-fp/fixdfdi.c: Likewise.
7458 * soft-fp/fixdfsi.c: Likewise.
7459 * soft-fp/fixsfdi.c: Likewise.
7460 * soft-fp/fixsfsi.c: Likewise.
7461 * soft-fp/fixtfdi.c: Likewise.
7462 * soft-fp/fixtfsi.c: Likewise.
7463 * soft-fp/fixunsdfdi.c: Likewise.
7464 * soft-fp/fixunsdfsi.c: Likewise.
7465 * soft-fp/fixunssfdi.c: Likewise.
7466 * soft-fp/fixunssfsi.c: Likewise.
7467 * soft-fp/fixunstfdi.c: Likewise.
7468 * soft-fp/fixunstfsi.c: Likewise.
7469 * soft-fp/floatdidf.c: Likewise.
7470 * soft-fp/floatdisf.c: Likewise.
7471 * soft-fp/floatditf.c: Likewise.
7472 * soft-fp/floatsidf.c: Likewise.
7473 * soft-fp/floatsisf.c: Likewise.
7474 * soft-fp/floatsitf.c: Likewise.
7475 * soft-fp/floatundidf.c: Likewise.
7476 * soft-fp/floatundisf.c: Likewise.
7477 * soft-fp/floatunditf.c: Likewise.
7478 * soft-fp/floatunsidf.c: Likewise.
7479 * soft-fp/floatunsisf.c: Likewise.
7480 * soft-fp/floatunsitf.c: Likewise.
7481 * soft-fp/gedf2.c: Likewise.
7482 * soft-fp/gesf2.c: Likewise.
7483 * soft-fp/getf2.c: Likewise.
7484 * soft-fp/ledf2.c: Likewise.
7485 * soft-fp/lesf2.c: Likewise.
7486 * soft-fp/letf2.c: Likewise.
7487 * soft-fp/muldf3.c: Likewise.
7488 * soft-fp/mulsf3.c: Likewise.
7489 * soft-fp/multf3.c: Likewise.
7490 * soft-fp/negdf2.c: Likewise.
7491 * soft-fp/negsf2.c: Likewise.
7492 * soft-fp/negtf2.c: Likewise.
7493 * soft-fp/op-1.h: Likewise.
7494 * soft-fp/op-2.h: Likewise.
7495 * soft-fp/op-4.h: Likewise.
7496 * soft-fp/op-8.h: Likewise.
7497 * soft-fp/op-common.h: Likewise.
7498 * soft-fp/quad.h: Likewise.
7499 * soft-fp/single.h: Likewise.
7500 * soft-fp/soft-fp.h: Likewise.
7501 * soft-fp/subdf3.c: Likewise.
7502 * soft-fp/subsf3.c: Likewise.
7503 * soft-fp/subtf3.c: Likewise.
7504 * soft-fp/truncdfsf2.c: Likewise.
7505 * soft-fp/trunctfdf2.c: Likewise.
7506 * soft-fp/trunctfsf2.c: Likewise.
7507 * soft-fp/unorddf2.c: Likewise.
7508 * soft-fp/unordsf2.c: Likewise.
7509 * soft-fp/unordtf2.c: Likewise.
7510 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
7511 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7512 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7513 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7514 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7515 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7516 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7517 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7518 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7519 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
7520 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
7521 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7522
0de86a92
JU
75232013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
7524
7525 * config/mips/lib2funcs.c: New file.
7526 * config/mips/t-mips (LIB2ADD_ST): Add it.
7527
0d008882
OE
75282013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
7529
7530 PR target/6526
7531 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
7532 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
7533
776434d1
WL
75342013-06-08 Walter Lee <walt@tilera.com>
7535
7536 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
7537 Replace int64_t with long long. Add __extension__ where
7538 appropriate.
7539 * config/tilepro/atomic.c: Include config.h.
7540
6ab3ebb4
DR
75412013-06-06 Douglas B Rupp <rupp@adacore.com>
7542
7543 * config.host (arm-wrs-vxworks): Configure with other soft float.
7544
107eea2c
JU
75452013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
7546
7547 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
7548 (mips64r5900el-*-elf*): New configurations.
7549
5cc19c62
AM
75502013-06-04 Alan Modra <amodra@gmail.com>
7551
7552 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
7553
0f1d3965
YR
75542013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
7555
7556 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
7557
0ba045df
EB
75582013-05-28 Eric Botcazou <ebotcazou@adacore.com>
7559
7560 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
7561 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
7562 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
7563
49dcafd4
EB
75642013-05-22 Eric Botcazou <ebotcazou@adacore.com>
7565
7566 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
7567 (powerpc-wrs-vxworks): Likewise.
7568
4fcb5d87
EB
75692013-05-22 Eric Botcazou <ebotcazou@adacore.com>
7570
7571 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
7572 signal frames as well.
7573 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
7574 STACK_BIAS to the CFA offset.
7575
0ec33224
RH
75762013-05-17 Richard Henderson <rth@redhat.com>
7577
7578 PR target/49146
7579 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
7580 (execute_cfa_program): Use it when storing to fs->regs.
7581
492a8029
KT
75822013-05-08 Kai Tietz <ktietz@redhat.com>
7583
7584 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
7585 (__deregister_frame_info): Likewise.
7586
701e2f0a
TS
75872013-05-06 Thomas Schwinge <thomas@codesourcery.com>
7588
e5123d08
TS
7589 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
7590 NaN's payload.
7591
701e2f0a
TS
7592 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
7593
b9a7eb5d
AM
75942013-04-25 Alan Modra <amodra@gmail.com>
7595
7596 * config.host: Match little-endian powerpc-linux.
7597
dfe192f5
YZ
75982013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
7599
7600 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
7601 as 'unsigned long long' instead of 'unsigned long'.
7602 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
7603 'signed long'.
7604
b6b9af2f
JB
76052013-04-10 Julian Brown <julian@codesourcery.com>
7606
7607 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
7608 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
7609 unsigned char/unsigned short.
7610 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
7611
ecabdd00
JDA
76122013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7613
7614 PR other/55274
7615 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
7616
34652576
MI
76172013-04-04 Meador Inge <meadori@codesourcery.com>
7618
7619 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
7620 computing the location of the link register.
7621 (aeabi_uldivmod): Ditto.
7622
e9fd8c19
KT
76232013-03-27 Kai Tietz <ktietz@redhat.com>
7624
7625 * config.host: Add support for cygwin x64 target.
7626 * configure: Regenerated.
7627
a6406324
WL
76282013-03-26 Walter Lee <walt@tilera.com>
7629
7630 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
7631 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
7632
55446c7e
KT
76332013-03-25 Kai Tietz <ktietz@redhat.com>
7634
7635 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
7636
d2ae19d9
RM
76372013-03-20 Robert Mason <rbmj@verizon.net>
7638
7639 * config/vxlib-tls.c (__gthread_get_tsd_data,)
7640 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
7641 (__gthread_leave_tsd_dtor_context): Add prototypes.
7642 (tls_delete_hook): Update.
7643
22c4c869
CM
76442013-03-20 Catherine Moore <clm@codesourcery.com>
7645 Joseph Myers <joseph@codesourcery.com>
7646 Chao-ying Fu <fu@mips.com>
7647
7648 * config/mips/mips16.S: Don't build for microMIPS.
7649 * config/mips/linux-unwind.h: Handle microMIPS frame.
7650 * config/mips/crtn.S (fini, init): New labels.
7651
fbd28bc3
JJ
76522013-03-14 Jakub Jelinek <jakub@redhat.com>
7653
7654 PR tree-optimization/53265
7655 * unwind-dw2.c (execute_cfa_program): Avoid
7656 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
7657 on targets with DWARF_FRAME_REGISTERS < 32.
7658
decc676e
OE
76592013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
7660
7661 PR target/49880
7662 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
7663 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
7664
84ea618a
ST
76652013-03-07 Sriraman Tallam <tmsriram@google.com>
7666
7667 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
7668 sandybridge processors.
7669
8f6d1c86
OE
76702013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
7671
7672 PR target/56529
7673 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
7674 inclusion list.
7675
ecdbd01a 76762013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
409b1de4
EI
7677
7678 * config/microblaze/crti.S: Setup stack protection at entry
7679
0b4ce21b
GJL
76802013-03-04 Georg-Johann Lay <avr@gjlay.de>
7681
7682 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
7683 (__rotldi3): Shift bytewise if applicable.
7684
b7c3f1ca
JG
76852013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
7686
7687 * config/aarch64/sync-cache.c
7688 (__aarch64_sync_cache_range): Silence warnings.
7689
6d65e8f1
CM
76902013-02-25 Catherine Moore <clm@codesourcery.com>
7691
7692 Revert:
7693 2013-02-24 Catherine Moore <clm@codesourcery.com>
7694 Joseph Myers <joseph@codesourcery.com>
7695 Chao-ying Fu <fu@mips.com>
7696
7697 * config/mips/mips16.S: Don't build for microMIPS.
7698 * config/mips/linux-unwind.h: Handle microMIPS frame.
7699 * config/mips/crtn.S (fini, init): New labels.
7700
6941b508
CM
77012013-02-24 Catherine Moore <clm@codesourcery.com>
7702 Joseph Myers <joseph@codesourcery.com>
7703 Chao-ying Fu <fu@mips.com>
7704
7705 * config/mips/mips16.S: Don't build for microMIPS.
7706 * config/mips/linux-unwind.h: Handle microMIPS frame.
7707 * config/mips/crtn.S (fini, init): New labels.
7708
7c422dbb 77092012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
cc86234f 7710 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7c422dbb
EI
7711 as dividend.
7712
110207ad
AM
77132013-02-16 Alan Modra <amodra@gmail.com>
7714
7715 PR target/55431
7716 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
7717 (ppc_fallback_frame_state): Always set up save locations for fp
7718 and altivec. Don't bother with non-callee-saved regs, r0-r13
7719 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
7720
e68a4ef6
GJL
77212013-02-12 Georg-Johann Lay <avr@gjlay.de>
7722
7723 PR target/54222
7724 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
7725 _ssmulHA, _ssmulSA.
7726 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
7727 _ssmulha3, _usmulusa3, _ssmulsa3.
7728 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
7729 (__muldi3): XCALL __muldi3_6 instead of rcall.
7730 (__umulsidi3, __mulsidi3): New functions.
7731 (do_prologue_saves, do_epilogue_restores): New .macros.
7732 (__divdi3_moddi3): Use them.
7733 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
7734 (__usmulusa3, __ssmulsa3): New functions.
7735
6c59ffd1
IS
77362013-02-11 Iain Sandoe <iain@codesourcery.com>
7737 Jack Howarth <howarth@bromo.med.uc.edu>
7738 Patrick Marlier <patrick.marlier@gmail.com>
7739
7740 PR libitm/55693
7741 * config/darwin-crt-tm.c: Remove dummy functions hack.
7742
85d768f3
GJL
77432013-02-08 Georg-Johann Lay <avr@gjlay.de>
7744
7745 PR target/54222
7746 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
7747 * config/avr/lib2-object.mk: New iterator to build objects from it.
7748 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
7749 lib2funcs.c.
7750 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
7751 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
7752 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
7753 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
7754 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
7755 * config/avr/lib1funcs-fixed.S: Implement them.
7756
5d5bf775
RS
77572013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
7758
7759 Update copyright years.
7760
99113dff
DE
77612013-02-01 David Edelsohn <dje.gcc@gmail.com>
7762
7763 PR target/54601
7764 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
7765 Add crtcxa to extra_parts.
7766 * config/rs6000/exit.h: New file.
7767 * config/rs6000/cxa_atexit.c: New file.
7768 * config/rs6000/cxa_finalize.c: New file.
7769 * config/rs6000/crtcxa.c: New file.
7770 * config/rs6000/t-aix-cxa: New file.
7771 * config/rs6000/libgcc-aix-cxa.ver: New file.
7772
dbdbd982
NC
77732013-01-31 Nick Clifton <nickc@redhat.com>
7774
7775 * config/v850/lib1funcs.S: Add support for e3v5 architecture
7776 variant.
7777
5893f158
GJL
77782013-01-29 Georg-Johann Lay <avr@gjlay.de>
7779
7780 PR target/54222
7781 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
7782 _mulQQ, _mulHQ, _mulHA, _mulSA,
7783 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
7784 _divQQ, _divHQ, _divHA, _divSA,
7785 _divUQQ, _divUHQ, _divUHA, _divUSA.
7786
ecdbd01a 77872013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
fbf0cf90 7788
dbdbd982 7789 * config.host(microblaze*-linux*): tmake_file: Remove
fbf0cf90
DH
7790 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
7791 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
7792 to exclude functions from being built with libgcc.c and use
7793 the microblaze assembly.
7794
ecdbd01a 77952013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6f14eef2
EI
7796
7797 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
7798 extra_parts.
7799
922c57d1
YZ
78002013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
7801
7802 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
7803 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
7804 __UINTPTR_TYPE__; also cast 'base' to the same type before the
7805 alignment operation.
7806
e0f8b6a0
SN
78072013-01-15 Sofiane Naci <sofiane.naci@arm.com>
7808
7809 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
7810 loop start address for cache clearing.
7811
00892272
GJL
78122013-01-14 Georg-Johann Lay <avr@gjlay.de>
7813
7814 * config/avr/lib1funcs.S: Remove trailing blanks.
7815 * config/avr/lib1funcs-fixed.S: Ditto.
7816
e59ec5fd
GJL
78172013-01-14 Georg-Johann Lay <avr@gjlay.de>
7818
7819 * config/avr/avr-lib.h: Add GPL copyright notice.
7820
3ffc1958
GJL
78212013-01-14 Georg-Johann Lay <avr@gjlay.de>
7822
7823 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
7824 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
7825 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
7826 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
7827
25c210f9
MK
78282013-01-07 Mark Kettenis <kettenis@openbsd.org>
7829
7830 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
7831 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
2bc15360 7832
db59befb
NC
78332013-01-04 Nick Clifton <nickc@redhat.com>
7834
7835 * config/v850/lib1funcs.S: Only provide CALLT support functions if
7836 the CALLT instruction is supported.
7837
5aa12dbf
JW
78382012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
7839
7840 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
7841 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
7842
65f14117
JT
78432012-12-13 John Tytgat <John@bass-software.com>
7844
7845 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
7846 is 25.
7847
ee3ae4f7
JJ
78482012-12-12 Jakub Jelinek <jakub@redhat.com>
7849
7850 PR libgcc/55451
7851 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
7852 undefined signed overflows.
7853
2fcfba3d
UB
78542012-12-09 Uros Bizjak <ubizjak@gmail.com>
7855
7856 PR target/55344
7857 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
7858
4f2b3dc2
UB
78592012-12-06 Uros Bizjak <ubizjak@gmail.com>
7860
7861 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
7862 (FP_TRAPPING_EXCEPTIONS): Define.
7863 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
7864 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
7865
066161a2
RH
78662012-12-04 Richard Henderson <rth@redhat.com>
7867
7868 PR bootstrap/55571
7869 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
7870
7d296953 78712012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
25626181 7872
4f2b3dc2 7873 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
25626181
MS
7874 (FP_EX_SHIFT): Define.
7875 (FP_TRAPPING_EXCEPTIONS): Define.
7876
7d296953 78772012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
868395e8
MS
7878
7879 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
7880 (FP_ROUNDMODE): Use FP_RND_MASK.
7881 * config/aarch64/sfp-exceptions.c: New.
7882 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
7883 Use __sfp_handle_exceptions.
7884
5005fe22
RE
78852012-12-04 Richard Earnshaw <rearnsha@arm.com>
7886
7887 * config.host: (arm*-*-freebsd*): Remove.
7888 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
7889 (arm*-*-elf*): Remove.
7890 (arm*-*-wince-pe*): Remove.
7891 * arm/unwind-arm.c (struct fpa_reg): Delete.
7892 (struct fpa_regs): Delete.
7893 (phase1_vrs): Remove fpa element.
7894 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
7895 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
7896 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
7897 * ieee754-sf.S (floatundisf): Remove FPA support.
7898 (floatdisf): Likewise.
7899 * ieee75f-df.S (floatundidf): Likewise.
7900 (floatdidf): Likewise.
7901
e5a81c8e
KT
79022012-11-29 Kai Tietz <ktietz@redhat.com>
7903
7904 PR target/55445
7905 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
7906 * unwind-generic.h: Likewise.
7907 * unwind-seh.c: Likewise.
7908
f4919e4a
RH
79092012-11-28 Richard Henderson <rth@redhat.com>
7910
7911 PR libgcc/48076
7912 * emutls.c (__emutls_get_address): Avoid race condition between
7913 obj->loc.offset read and emutls_key initialization.
4f2b3dc2 7914
e13d9d5a
GJL
79152012-11-22 Georg-Johann Lay <avr@gjlay.de>
7916
7917 Adjust decimal point of signed accum mode to GCC default.
7918
7919 PR target/54222
7920 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
7921 _divqq_helper.
7922 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
7923 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
7924 (__mulha3, __mulsa3)
7925 (__divqq3, __divha3, __divsa3): Adjust to new position of
4f2b3dc2
UB
7926 decimal point of signed accum types.
7927
e13d9d5a
GJL
7928 (__mulusa3_round): New function.
7929 (__mulusa3): Use it.
7930 (__divqq_helper): New function.
7931 (__udivuqq3): Use it.
7932
1b845c6e
JJ
79332012-11-20 Jakub Jelinek <jakub@redhat.com>
7934
7935 PR bootstrap/55370
7936 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
7937
822a258a
TJ
79382012-11-18 Teresa Johnson <tejohnson@google.com>
7939
7940 PR bootstrap/55051
7941 * libgcov.c (gcov_exit): Remove merged program summary
7942 comparison unless !GCOV_LOCKED.
7943
7d296953 79442012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
54f4eaf0
MS
7945
7946 * soft-fp: Updated from glibc upstream.
7947
e808687a
ILT
79482012-11-06 Ian Lance Taylor <iant@google.com>
7949
7950 * generic-morestack.c (__generic_morestack): Align the returned
7951 stack pointer to a 32 byte boundary.
7952 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
7953 increment the return address until we have decided that we don't
7954 have a varargs function.
7955 (__morestack) [32-bit]: Align stack correctly when calling C
7956 functions.
7957 (__morestack) [64-bit]: Likewise.
7958
460277e0
TS
79592012-11-04 Thomas Schwinge <thomas@codesourcery.com>
7960
7961 * configure: Regenerate.
7962
73edb277
UB
79632012-11-02 Uros Bizjak <ubizjak@gmail.com>
7964
7965 PR target/55175
7966 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
7967 * config/i386/sfp-machine.h: Guard exception handling
7968 code with _SOFT_FLOAT.
7969 * config/i386/32/sfp-machine.h: Guard rounding handling
7970 code with _SOFT_FLOAT.
7971 * config/i386/64/sfp-machine.h: Ditto.
7972
c1d4fa04
JS
79732012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
7974
7975 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
7976 as extra_parts.
7977
eff6ca85
UB
79782012-10-26 Uros Bizjak <ubizjak@gmail.com>
7979
7980 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
7981 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
7982 when appropriate. Correct structure element types.
7983 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
7984 -minline-all-stringops from compile flags.
7985
7d296953 79862012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
43a8f1a1
RC
7987
7988 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
7989
7d296953 79902012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
76c78361 7991
eff6ca85 7992 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
76c78361 7993
6f288860
SH
79942012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
7995
7996 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
7997 tmake_file.
7998
1e3d5096
IB
79992012-10-23 Ian Bolton <ian.bolton@arm.com>
8000 Jim MacArthur <jim.macarthur@arm.com>
8001 Marcus Shawcroft <marcus.shawcroft@arm.com>
8002 Nigel Stephens <nigel.stephens@arm.com>
8003 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
8004 Richard Earnshaw <rearnsha@arm.com>
8005 Sofiane Naci <sofiane.naci@arm.com>
8006 Stephen Thomas <stephen.thomas@arm.com>
8007 Tejas Belagod <tejas.belagod@arm.com>
8008 Yufeng Zhang <yufeng.zhang@arm.com>
8009
8010 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
8011 * config/aarch64/crti.S: New file.
8012 * config/aarch64/crtn.S: New file.
8013 * config/aarch64/linux-unwind.h: New file.
8014 * config/aarch64/sfp-machine.h: New file.
8015 * config/aarch64/sync-cache.c: New file.
8016 * config/aarch64/t-aarch64: New file.
8017 * config/aarch64/t-softfp: New file.
8018
8a740f07
HPN
80192012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
8020
8021 * config/mmix/crti.S: Mark program and data addresses using PRELD.
8022 Remove typo'd and unnecessary alignment-LOC for .data. Remove
8023 no-longer-needed LDBU insns.
8024
7d296953 80252012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
153c8397
SH
8026
8027 * config.host
8028 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
8029 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
8030
595fefee
MGD
80312012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
8032
8033 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
8034
9945a876
MK
80352012-10-15 Matthias Klose <doko@ubuntu.com>
8036
8037 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
8038
1183dc2c
PC
80392012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
8040
8041 * configure: Regenerate.
8042 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
8043
945a9c1f
UB
80442012-10-10 Uros Bizjak <ubizjak@gmail.com>
8045
8046 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
8047 instructions for 64bit targets only.
8048
fb8bf47a
UB
80492012-10-10 Uros Bizjak <ubizjak@gmail.com>
8050
8051 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
8052 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
8053 * config/i386/32/sfp-machine.h: ... here.
8054 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
8055 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
8056 New defines.
8057
acb72498
MK
80582012-10-07 Matthias Klose <doko@ubuntu.com>
8059
8060 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
8061 as unused.
8062 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
8063
8eaee0f0
MK
80642012-10-06 Mark Kettenis <kettenis@openbsd.org>
8065
8066 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
8067 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
8068 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
8069 (ElfW): Likewise.
8070
5e3e4fe8
JW
80712012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
8072
8073 PR other/53889
8074 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
8075 Fix parameter names.
8076
86086376
OE
80772012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
8078
8079 PR target/33135
8080 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
8081 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
8082 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
8083
9597375a
OE
80842012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
8085
8086 PR target/50457
8087 * config/sh/linux-atomic.S: Delete.
8088 * config/sh/linux-atomic.c: New.
8089 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
8090 linux-atomic.c. Add cflags to disable warnings.
8091
1504e3e1
JW
80922012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
8093
8094 PR other/53889
8095 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
8096 function.
8097 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
8098 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
8099 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
8100 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5e3e4fe8
JW
8101 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
8102 Likewise.
1504e3e1
JW
8103 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
8104 Likewise.
8105 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
8106 Likewise.
8107 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
8108 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
8109
17f293b0
MK
81102012-09-19 Mark Kettenis <kettenis@openbsd.org>
8111
9597375a
OE
8112 * config.host (hppa-*-openbsd*): New target.
8113 * config/pa/t-openbsd: New file.
17f293b0 8114
51526856
GJL
81152012-09-15 Georg-Johann Lay <avr@gjlay.de>
8116
8117 PR target/54222
8118 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
8119 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
8120 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
8121 (__divsa3): Use __negsi2 to negate r_quoL.
8122 * config/avr/lib1funcs.S (FALIAS): New macro.
8123 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
8124 (__negsi2): ...this new function.
8125 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
8126 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
8127 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
8128 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
8129 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
8130 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
8131
aadb5b43
OE
81322012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
8133
8134 PR target/54089
8135 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
8136 (lshrsi3): Reimplement as lshrsi3_r0.
8137
d5d66749
AS
81382012-09-10 Andreas Schwab <schwab@linux-m68k.org>
8139
8140 PR target/46191
8141 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
8142 of libgcc.a.
8143
c6c36e73
TJ
81442012-09-07 Teresa Johnson <tejohnson@google.com>
8145
9597375a 8146 PR gcov-profile/54487
c6c36e73 8147 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9597375a 8148 differences.
c6c36e73 8149
b588ae30
GJL
81502012-09-05 Georg-Johann Lay <avr@gjlay.de>
8151
8152 PR target/54461
8153 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
8154 not configured --with-avrlibc=no.
8155 * config/avr/t-avrlibc: New file.
8156 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
8157 (DPBIT_FUNCS): Ditto.
8158 (TPBIT_FUNCS): Ditto.
8159
abd16fb1
TJ
81602012-09-04 Teresa Johnson <tejohnson@google.com>
8161
8162 * libgcov.c (struct gcov_summary_buffer): New structure.
8163 (gcov_histogram_insert): New function.
8164 (gcov_compute_histogram): Ditto.
8165 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
8166 histograms during summary merging.
8167
613061fd
MK
81682012-09-01 Mark Kettenis <kettenis@openbsd.org>
8169
8170 * config.host (x86_64-*-openbsd*): New target.
73edb277 8171
867a8345
CLT
81722012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
8173
8174 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
8175 attribute.
8176
4aeaaca3
GJL
81772012-08-24 Georg-Johann Lay <avr@gjlay.de>
8178
8179 PR target/54222
8180 * config/avr/t-avr (conv_X): Rename to func_X.
8181
e55e4056
GJL
81822012-08-24 Georg-Johann Lay <avr@gjlay.de>
8183
8184 PR target/54222
8185 * config/avr/lib1funcs-fixed.S: New file.
8186 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
8187 after they are used.
8188 (neg2, neg4): New macros.
8189 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
8190 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
8191 (__umulhisi3): Speed up MUL variant if there is enough flash.
8192 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
8193 avr-modes.def.
8194 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
8195 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
8196 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
8197 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
8198 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
8199 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
8200 (LIB2FUNCS_EXCLUDE): Add supported functions.
8201
a147b6d2
GJL
82022012-08-22 Georg-Johann Lay <avr@gjlay.de>
8203
8204 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
8205 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
8206 libgcc-s-objects.
8207 * fixed-obj.mk: Only expand dependency if $o is not in
8208 LIB2FUNCS_EXCLUDE.
8209
c637141a
L
82102012-08-22 H.J. Lu <hongjiu.lu@intel.com>
8211
8212 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
8213
130e00bd
JM
82142012-08-22 Joseph Myers <joseph@codesourcery.com>
8215
8216 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
8217 depend on --enable-shared.
8218 ($(lib1asmfuncs-o)): Use %.vis files independent of
8219 --enable-shared.
8220 * static-object.mk ($(base)$(objext), $(base).vis)
8221 ($(base)_s$(objext)): Use same rules for visibility handling as in
8222 shared-object.mk.
8223
4b1b3788
ILT
82242012-08-21 Ian Lance Taylor <iant@google.com>
8225
8226 * config/i386/morestack.S (__morestack_non_split): Increase amount
8227 of space allocated for non-split code stack.
8228
d2468141
JM
82292012-08-19 Joseph Myers <joseph@codesourcery.com>
8230
8231 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
8232 even if inhibit_libc.
8233
a508e1a8
JB
82342012-08-17 Julian Brown <julian@codesourcery.com>
8235
8236 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
8237 -fexceptions -fnon-call-exceptions if not defined.
8238 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
8239 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
8240
5615a07d
AS
82412012-08-17 Andreas Schwab <schwab@linux-m68k.org>
8242
8243 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
8244 type.
8245
138f5acd
DE
82462012-08-16 David Edelsohn <dje.gcc@gmail.com>
8247
8248 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
8249 rs6000/t-slibgcc-aix.
8250
18efc0dd
SB
82512012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
8252
8253 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
8254
6b39bc38
SB
82552012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
8256
8257 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
8258
cd25dea0
L
82592012-08-03 H.J. Lu <hongjiu.lu@intel.com>
8260
8261 PR driver/54171
8262 * Makefile.in (version): Replace top_srcdir with srcdir.
8263
a3dda30b
JY
82642012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
8265
8266 * Makefile.in (version): set to BASE-VER file from gcc directory.
8267
d04aacfc
NC
82682012-08-01 Nick Clifton <nickc@redhat.com>
8269
8270 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
8271 Implements __clrsb for an HImode argument.
8272
0d13c974
NC
82732012-07-31 Nick Clifton <nickc@redhat.com>
8274
8275 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
8276 Implements __clrsb for an HImode argument.
8277 * config/stormy16/clrsbhi2.c: New file:
8278 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
8279
efbb59b2
SB
82802012-07-22 Steven Bosscher <steven@gcc.gnu.org>
8281
8282 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
8283
bf1431e3
TG
82842012-07-19 Tristan Gingold <gingold@adacore.com>
8285 Richard Henderson <rth@redhat.com>
8286
8287 * unwind-seh.c: New file.
8288 * unwind-generic.h: Include windows.h for SEH.
8289 (_Unwind_Exception): Use 6 private fields for SEH.
8290 (_GCC_specific_handler): Declare.
8291 * unwind-c.c (__gcc_personality_seh0): New function.
8292 Adjust for SEH.
8293 * config/i386/libgcc-cygming.ver: New file.
8294 * config/i386/t-seh-eh: New file.
8295 * config.host (x86_64-*-mingw*): Default to seh.
8296
659140c8
SB
82972012-07-14 Steven Bosscher <steven@gcc.gnu.org>
8298
8299 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
8300
a20d08fd
UB
83012012-06-17 Uros Bizjak <ubizjak@gmail.com>
8302
8303 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
8304 __builtin_expect when checking for exceptions.
8305 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
8306
79261115
UB
83072012-06-13 Uros Bizjak <ubizjak@gmail.com>
8308
4a172156
UB
8309 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
8310 function declaration.
8311 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
8312 (FP_RND_MASK): New.
8313 * config/ia64/sfp-exceptions.c: New.
8314 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
79261115 8315
bb5c97d4
UB
83162012-06-13 Uros Bizjak <ubizjak@gmail.com>
8317
8318 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
8319 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
8320 * config/i386/64/sfp-machine: ... (delete here) ...
8321 * config/i386/sfp-machine.h: ... to here.
8322 (FP_EX_MASK): Remove.
8323 (FP_RND_MASK): New.
8324 (FP_INIT_ROUNDMODE): Declare asm as volatile.
8325
91fe5efb
ST
83262012-06-11 Sriraman Tallam <tmsriram@google.com>
8327
8328 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
8329 * config/i386/libgcc-sol2.ver: Ditto.
8330 * config/i386/libgcc-glibc.ver: Ditto.
8331
67a218c5
RM
83322012-06-11 Roland McGrath <mcgrathr@google.com>
8333
8334 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
8335 If __GLIBC__ is defined, refer to __pthread_key_create instead of
8336 pthread_cancel.
8337
492fbea1
UB
83382012-06-09 Uros Bizjak <ubizjak@gmail.com>
8339
8340 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
8341 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
8342 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
8343 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
8344 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
8345 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
8346 * config/i386/64/sfp-machine: ... (delete here) ...
8347 * config/i386/sfp-machine.h: ... to here.
8348 (FP_EX_MASK): New.
8349 (__sfp_handle_exceptions): New function declaration.
8350 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
8351 * config/i386/sfp-exceptions.c: New.
8352 * config/i386/t-softfp: New.
8353 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
8354 i386/t-softfp to tmake_file.
8355
7b4cf266
DM
83562012-06-03 David S. Miller <davem@davemloft.net>
8357
8358 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
8359 change.
8360
0de0d5c6
DM
83612012-05-31 David S. Miller <davem@davemloft.net>
8362
8363 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
8364 multiply and divide instructions on 32-bit when V9.
8365 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
8366
d8c9d391
JM
83672012-05-29 Joseph Myers <joseph@codesourcery.com>
8368
8369 * config/arm/ieee754-df.S: Fix typos.
8370 * config/arm/ieee754-sf.S: Fix typos.
8371 * config/c6x/libunwind.S: Fix typos.
8372 * config/epiphany/udivsi3-float.c: Fix typos.
8373 * config/microblaze/muldi3_hard.S: Fix typos.
8374 * config/picochip/adddi3.S: Fix typos.
8375 * config/picochip/ashlsi3.S: Fix typos.
8376 * config/picochip/ashrsi3.S: Fix typos.
8377 * config/picochip/clzsi2.S: Fix typos.
8378 * config/picochip/cmpsi2.S: Fix typos.
8379 * config/picochip/divmod15.S: Fix typos.
8380 * config/picochip/divmodhi4.S: Fix typos.
8381 * config/picochip/divmodsi4.S: Fix typos.
8382 * config/picochip/longjmp.S: Fix typos.
8383 * config/picochip/lshrsi3.S: Fix typos.
8384 * config/picochip/parityhi2.S: Fix typos.
8385 * config/picochip/popcounthi2.S: Fix typos.
8386 * config/picochip/setjmp.S: Fix typos.
8387 * config/picochip/subdi3.S: Fix typos.
8388 * config/picochip/ucmpsi2.S: Fix typos.
8389 * config/picochip/udivmodhi4.S: Fix typos.
8390 * config/picochip/udivmodsi4.S: Fix typos.
8391 * config/spu/divv2df3.c: Fix typos.
8392 * config/spu/mfc_multi_tag_release.c: Fix typos.
8393 * config/spu/mfc_tag_release.c: Fix typos.
8394 * configure.ac: Fix typos.
8395 * configure: Regenerate.
8396
31a18a7e
ILT
83972012-05-25 Ian Lance Taylor <iant@google.com>
8398
8399 * config/i386/morestack.S (__morestack_non_split): Check whether
8400 caller is varargs and needs %bp to hold the stack frame on return.
8401
c5768510
OH
84022012-05-25 Olivier Hainque <hainque@adacore.com>
8403
8404 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
8405 sequence in the non pic case on VxWorks.
8406
7c7c339b
OH
84072012-05-24 Olivier Hainque <hainque@adacore.com>
8408
73fb7630 8409 * Makefile.in: Move dependency on install-unwind_h from
7c7c339b
OH
8410 "install-leaf" to "install".
8411
fdc1b7d3
OH
84122012-05-24 Olivier Hainque <hainque@adacore.com>
8413
8414 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
8415 Use a separate command for stamp removals.
8416
07ba94b9
AP
84172012-05-21 Andrew Pinski <apinski@cavium.com>
8418
8419 PR bootstrap/53183
8420 * configure.ac: Define the default includes to being none.
8421 * configure: Regenerate.
8422
4677d2eb
OH
84232012-05-16 Olivier Hainque <hainque@adacore.com>
8424
8425 * Makefile.in (install-unwind_h): Rename into ...
8426 (install-unwind_h-forbuild): New target.
8427 (all): Use it instead of the former install-unwind_h.
8428 (install-unwind_h): Reinstate, copy to user install destination
8429 for include files, not to the internal gcc object directory one.
8430 (install-leaf): Depend on it.
8431
7d67c380
OH
84322012-05-15 Olivier Hainque <hainque@adacore.com>
8433
8434 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
8435 register numbers. LR_REGNO replaces R_LR.
8436 (ucontext_for): New, helper for ...
8437 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
8438 and 5.3 of ...
8439 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
8440
aca06c90
RO
84412012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8442
8443 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
8444 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
8445 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
8446 i386/t-cpuinfo ...
8447 (i[34567]86-*-*, x86_64-*-*): ... here.
8448
8449 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
8450 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
8451
8452 * config/i386/i386-cpuinfo.c: Rename to ...
8453 * config/i386/cpuinfo.c: ... this.
8454 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
8455
8456 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
8457 (libgcc_cv_init_priority): New test.
8458 * configure: Regenerate.
8459 * config.in: New file.
8460 * Makefile.in (clean): Rename config.h to auto-target.h.
8461 (config.h): Likewise.
8462 (stamp-h): Likewise.
8463
8464 * config/i386/cpuinfo.c (auto-target.h): Include.
8465 (CONSTRUCTOR_PRIORITY): Define.
8466 (__cpu_indicator_init): Use it.
8467
0d03ac1b
L
84682012-05-09 H.J. Lu <hongjiu.lu@intel.com>
8469
8470 * longlong.h: Use a URL instead of an FSF postal address.
8471 Replace spaces with tab.
8472
4a172156 84732012-05-08 Teresa Johnson <tejohnson@google.com>
4e8ee9cb
TJ
8474
8475 * libgcov.c (gcov_clear, __gcov_reset): New functions.
8476 (__gcov_dump): Ditto.
8477 (gcov_dump_complete): New global variable.
8478 (gcov_exit): Export hidden to enable use in L_gcov_dump.
8479 (__gcov_flush): Outline functionality now in gcov_clear.
8480 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
8481
e4bb767e
AJ
84822012-04-28 Aurelien Jarno <aurelien@aurel32.net>
8483
31a18a7e
ILT
8484 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
8485 (mips*-*-linux*): Include mips/t-tpbit when long double is
8486 16 bytes long.
e4bb767e 8487
5ddecff9
ST
84882012-04-25 Sriraman Tallam <tmsriram@google.com>
8489
8490 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
8491 (get_available_features): New argument. Check for AVX2.
8492 (__cpu_indicator_init): Modify call to get_available_features.
8493
b427dd7a
AM
84942012-04-25 Alan Modra <amodra@gmail.com>
8495
8496 * config/rs6000/crtsavevr.S: New file.
8497 * config/rs6000/crtrestvr.S: New file.
8498 * config/rs6000/t-savresfgpr: Build the above.
8499 * config/rs6000/t-netbsd: Likewise.
8500
ad491329
ST
85012012-04-24 Sriraman Tallam <tmsriram@google.com>
8502
8503 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
8504
792317cc
ST
85052012-04-24 Sriraman Tallam <tmsriram@google.com>
8506
8507 * libgcc/config/i386/i386-cpuinfo.c: New file.
8508 * libgcc/config/i386/t-cpuinfo: New file.
8509 * libgcc/config.host: Include t-cpuinfo.
8510 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
8511
e1be98a4
CF
85122012-04-24 Chao-ying Fu <fu@mips.com>
8513
8514 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
8515
1bde7dab
TS
85162012-04-20 Thomas Schwinge <thomas@codesourcery.com>
8517
8518 struct siginfo vs. siginfo_t
8519
8520 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
8521 siginfo_t instead of struct siginfo.
8522 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
8523 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
8524 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
8525 (ia64_handle_unwabi): Likewise.
8526 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
8527 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
8528 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
8529 (sh_fallback_frame_state): Likewise.
8530 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
8531 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
8532
24590f66
L
85332012-04-02 H.J. Lu <hongjiu.lu@intel.com>
8534
8535 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
8536 system call number.
8537
9a9dcce8
EB
85382012-03-31 Eric Botcazou <ebotcazou@adacore.com>
8539
8540 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
8541 if it hasn't been previously saved.
8542
6401aaf5
L
85432012-03-29 H.J. Lu <hongjiu.lu@intel.com>
8544
8545 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
8546 only for glibc.
8547
7fd6378e
GJL
85482012-03-28 Georg-Johann Lay <avr@gjlay.de>
8549
8550 PR target/52737
8551 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
8552 instead of __AVR_HAVE_8BIT_SP__.
8553
9e916de7
TG
85542012-03-26 Tristan Gingold <gingold@adacore.com>
8555
8556 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
8557 (unw_table_entry): Use unw_word instead of unsigned long.
8558 (_Unwind_FindTableEntry): Likewise.
8559 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
8560 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
8561 (_Unwind_FindTableEntry): Likewise.
8562 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
8563 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
8564 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
8565 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
8566 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
8567 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
8568 (uw_init_context_1, uw_install_context): Likewise.
8569 (unw_word): Move to unwind-ia64.h
8570
4b12e93d
TG
85712012-03-26 Tristan Gingold <gingold@adacore.com>
8572
8573 * config/vms/vms-ucrt0.c: Update copyright years.
8574 Add a sanity check.
8575 (___gcc_main_flags): Declare.
8576 (__main): Check flags to remap argv and exit code.
8577 * config.host (*-*-*vms*): Adjust extra_parts.
8578 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
8579 (crt0.o): Add.
8580
06ea7371
RE
85812012-03-22 Richard Earnshaw <rearnsha@arm.com>
8582
8583 * arm/lib1funcs.asm (ctzsi2): New function.
8584 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
8585 * arm/t-linux (LIB1ASMFUNCS): Likewise.
8586 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
8587 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
8588 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
8589 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
8590
d82ad50d
AT
85912012-03-21 Andreas Tobler <andreast@fgznet.ch>
8592
8593 * config.host: Add bits to support powerpc64-*-freebsd*.
8594 * config/rs6000/freebsd-unwind.h: New file.
8595 * config/rs6000/t-freebsd64: New file.
8596
b260a8c0
RG
85972012-03-20 Richard Guenther <rguenther@suse.de>
8598
8599 PR gcov-profile/52627
8600 * libgcov.c (init_mx): Fix mutex name.
8601
86286a8a
TG
86022012-03-16 Tristan Gingold <gingold@adacore.com>
8603
8604 * config/ia64/vms-unwind.h: Remove ulong (and replace
8605 it by unw_reg where used). Define unw_reg with __int64.
8606
7888f266
RO
86072012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8608
8609 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
8610 Solaris 8 handling.
8611 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
8612 Solaris 8 handling.
8613 (sparc_is_sighandler): Likewise.
8614
f155bc64
L
86152012-03-13 H.J. Lu <hongjiu.lu@intel.com>
8616
8617 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
8618 <= saved reg size.
8619
d47657bd
RO
86202012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8621
8622 * config/arm/crtn.S: Fix typo.
8623
5bef73a1
RG
86242012-03-13 Richard Guenther <rguenther@suse.de>
8625
8626 * libgcov.c: Remove stdio.h include and NULL un-define.
8627
9c4271f3
RG
86282012-03-13 Richard Guenther <rguenther@suse.de>
8629
8630 PR target/52569
8631 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
8632
c6d10e7c
RG
86332012-03-13 Richard Guenther <rguenther@suse.de>
8634
8635 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
8636
074a385f
RG
86372012-03-13 Richard Guenther <rguenther@suse.de>
8638
8639 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
8640 and __gthread_mutex_init_function definitions.
8641
c4bc5c25
RO
86422012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8643
8644 * config.host (mips*-*-openbsd*): Remove.
8645
5c30094f
RO
86462012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8647
8648 * config.host: Remove alpha*-dec-osf5.1* handling.
8649 * config/alpha/gthr-posix.c: Remove.
8650 * config/alpha/libgcc-osf5.ver: Remove.
8651 * config/alpha/osf5-unwind.h: Remove.
8652 * config/alpha/t-osf-pthread: Remove.
8653 * config/alpha/t-slibgcc-osf: Remove.
8654 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
8655 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
8656 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
8657 * mkmap-flat.awk: Remove osf_export handling.
8658
33e3e24d
RG
86592012-03-12 Richard Guenther <rguenther@suse.de>
8660
8661 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
8662 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
8663 (__gthread_mutex_init_function): New function.
8664 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
8665
8666 PR gcov/49484
8667 * libgcov.c: Include gthr.h.
8668 (__gcov_flush_mx): New global variable.
8669 (init_mx, init_mx_once): New functions.
8670 (__gcov_flush): Protect self with a mutex.
8671 (__gcov_fork): Re-initialize mutex after forking.
8672 * unwind-dw2-fde.c: Change condition under which to use
8673 __GTHREAD_MUTEX_INIT_FUNCTION.
8674
d8aba32a
TG
86752012-03-12 Tristan Gingold <gingold@adacore.com>
8676
8677 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
8678 * config/ia64/t-vms: Likewise.
8679
75ffafdc
MH
86802012-03-11 Michael Hope <michael.hope@linaro.org>
8681
4a172156
UB
8682 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
8683 for Thumb-2.
75ffafdc 8684
ef6c2c53
WL
86852012-03-07 Walter Lee <walt@tilera.com>
8686
8687 * config/tilepro/atomic.c: Rename "atomic_" prefix to
8688 "arch_atomic_".
8689 (atomic_xor): Rename and move definition to
8690 config/tilepro/atomic.h.
8691 (atomic_nand): Ditto.
8692 * config/tilepro/atomic.h: Rename "atomic_" prefix to
8693 "arch_atomic_".
8694 (arch_atomic_xor): Move from config/tilepro/atomic.c.
8695 (arch_atomic_nand): Ditto.
8696
4e30d980
GJL
86972012-03-07 Georg-Johann Lay <avr@gjlay.de>
8698
8699 PR target/52507
8700 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
8701
61108225
GJL
87022012-03-07 Georg-Johann Lay <avr@gjlay.de>
8703
8704 PR target/52505
8705 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
8706 from RAM.
8707
b30e10ab
GJL
87082012-03-07 Georg-Johann Lay <avr@gjlay.de>
8709
8710 PR target/52461
8711 PR target/52508
8712 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
8713 if RAMPZ affects reading from RAM.
8714 (__tablejump_elpm__): Ditto.
8715 (.xload): Ditto.
8716 (__movmemx_hi): Ditto.
8717 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
8718 (__do_global_dtors): Ditto.
8719 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
8720 (__movmemx_hi): Ditto.
8721
8993fde4
RH
87222012-03-05 Richard Henderson <rth@redhat.com>
8723
8724 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
8725 [ARM] (count_trailing_zeros): Use the builtin.
8726
b7633ee3
KT
87272012-03-01 Kai Tietz <ktietz@redhat.com>
8728
8729 * soft-fp: Imported from glibc upstream.
8730
fbd3340c
KT
87312012-02-28 Kai Tietz <ktietz@redhat.com>
8732
8733 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
8734 for mingw-targets as attribute gcc_struct.
8735
e9e053eb
ILT
87362012-02-28 Ian Lance Taylor <iant@google.com>
8737
8738 * generic-morestack.c (__splitstack_releasecontext): Correct call
8739 to __morestack_release_segments.
8740
d80c632e
ST
87412012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
8742
8743 PR target/52390
8744 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
8745 for __linux__ when removing signals from __morestack_fullmask.
8746
0253a8b1
GJL
87472012-02-23 Georg-Johann Lay <avr@gjlay.de>
8748
8749 PR target/52261
8750 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
8751
e10e461e
UW
87522012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8753
8754 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
8755 instead of HAVE_INITFINI_ARRAY.
8756 * config/ia64/crtend.S: Likewise.
8757
0c0c6398
KT
87582012-02-20 Kai Tietz <ktietz@redhat.com>
8759
d7470374
KT
8760 PR libstdc++/52300
8761 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
8762
0c0c6398
KT
8763 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
8764 to w32-unwind.h header.
8765
78c27266
RS
87662012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
8767
8768 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
8769 (mips*-*-linux*): Remove t-slibgcc-libgcc.
8770 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
8771 * config/mips/mips16.S (__mips16_rdhwr): Delete.
8772
5adeb246
RS
87732012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
8774
8775 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
8776
672ed313
IS
87772012-02-15 Iain Sandoe <iains@gcc.gnu.org>
8778
8779 PR libitm/52220
8780 * config/darwin-crt-tm.c: Correct typo.
e9e053eb 8781
e948a1fb
IS
87822012-02-15 Iain Sandoe <iains@gcc.gnu.org>
8783 Patrick Marlier <patrick.marlier@gmail.com>
8784
8785 PR libitm/52220
8786 * config/darwin-crt-tm.c: Generate dummy functions.
8787
6017aed3
IS
87882012-02-15 Iain Sandoe <iains@gcc.gnu.org>
8789 Patrick Marlier <patrick.marlier@gmail.com>
8790
8791 PR libitm/52042
8792 * config/darwin-crt-tm.c (getTMCloneTable): New function.
8793 (__doTMRegistrations): Call it.
e9e053eb 8794 (__doTMdeRegistrations): Likewise.
6017aed3 8795
2da8c1ad 87962012-01-15 Georg-Johann Lay <avr@gjlay.de>
7d296953
JJ
8797 Anatoly Sokolov <aesok@post.ru>
8798 Eric Weddington <eric.weddington@atmel.com>
2da8c1ad
GJL
8799
8800 PR target/52261
8801 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
8802 (__epilogue_restores__): Ditto.
8803
0f952eb4
EB
88042012-02-15 Eric Botcazou <ebotcazou@adacore.com>
8805
8806 PR target/51921
8807 PR target/52205
8808 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
8809 Solaris 11 and slightly reformat.
8810 (sparc_is_sighandler): Likewise.
8811
dd552284
WL
88122012-02-14 Walter Lee <walt@tilera.com>
8813
8814 * config.host: Handle tilegx and tilepro.
8815 * config/tilegx/sfp-machine.h: New file.
8816 * config/tilegx/sfp-machine32.h: New file.
8817 * config/tilegx/sfp-machine64.h: New file.
8818 * config/tilegx/t-crtstuff: New file.
8819 * config/tilegx/t-softfp: New file.
8820 * config/tilegx/t-tilegx: New file.
8821 * config/tilepro/atomic.c: New file.
8822 * config/tilepro/atomic.h: New file.
8823 * config/tilepro/linux-unwind.h: New file.
8824 * config/tilepro/sfp-machine.h: New file.
8825 * config/tilepro/softdivide.c: New file.
8826 * config/tilepro/softmpy.S: New file.
8827 * config/tilepro/t-crtstuff: New file.
8828 * config/tilepro/t-tilepro: New file.
8829
b59cbd50
JW
88302012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
8831
8832 PR libstdc++/51296
8833 PR libstdc++/51906
8834 * gthr-posix.h: Allow static initializer macros to be disabled.
8835 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
8836
6caf807f
CLT
88372012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
8838
8839 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
8840 Add t-slibgcc-libgcc to tmake_file.
8841 * config/mips/libgcc-mips16.ver: Revert previous patch.
8842 * config/mips/mips16.S (__mips16_rdhwr): Hide.
8843
7d296953
JJ
88442012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
8845 Jayant R Sonar <jayant.sonar@kpitcummins.com>
b25364a0
S
8846
8847 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
8848 * config/cr16/crti.S: New file.
8849 * config/cr16/crtlibid.S: New file.
8850 * config/cr16/crtn.S: New file.
8851 * config/cr16/lib1funcs.S: New file.
8852 * config/cr16/t-cr16: New file.
8853 * config/cr16/t-crtlibid: New file.
8854 * config/cr16/unwind-dw2.h: New file.
8855 * config/cr16/unwind-cr16.c: New file.
8856 * config/cr16/divmodhi3.c: New file.
8857
8ef03aa7
AM
88582012-01-25 Alan Modra <amodra@gmail.com>
8859
8860 * config/rs6000/t-linux64: Delete. Move..
8861 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
8862 * config/rs6000/t-linux: ..and libgcc flags to here.
8863
daecebc8
DR
88642012-01-22 Douglas B Rupp <rupp@gnat.com>
8865
8866 * config.host (i[34567]86-*-interix3*):
8ef03aa7 8867 Change triplet to i[34567]86-*-interix[3-9]*.
daecebc8
DR
8868 * configure: Regenerate.
8869
ddaf8125
RS
88702012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
8871 Richard Sandiford <rdsandiford@googlemail.com>
8872
8873 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
8874 * config/mips/mips16.S (__mips16_rdhwr): New function.
8875 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
8876
2cd8b32c
NS
88772012-01-11 Nathan Sidwell <nathan@acm.org>
8878
8879 * libgcov.c (__gcov_init): Ignore objects with no functions.
8880
cba300dd
GJL
88812012-01-10 Georg-Johann Lay <avr@gjlay.de>
8882
8883 PR target/49868
8884 Extend __pgmx semantics to linearize memory.
8885 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
8886 * config/avr/lib1funcs.S (__xload_1): New function.
8887 (__movmemx_qi, __movmemx_hi): New functions.
8888 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
8889 semantics.
9ffaf4bc 8890
3d137660
EB
88912012-01-09 Eric Botcazou <ebotcazou@adacore.com>
8892
8893 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
8894 purported sigacthandler address isn't null before dereferencing it.
8895 (sparc_is_sighandler): Likewise.
8896
bf4db96c
EB
88972012-01-09 Eric Botcazou <ebotcazou@adacore.com>
8898
8899 PR ada/41929
8900 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
8901 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
8902 (sparc_is_sighandler): Likewise.
8903 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
8904
1ab3568b
TG
89052012-01-06 Tristan Gingold <gingold@adacore.com>
8906
8907 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
8908 compatibility thunks...
8909 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
8910 (crtbeginS.o, crtendS.o): ... and these to ...
8911 * config/ia64/t-ia64-elf: ... this new file.
8912 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
8913 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
8914
925b0ed8
AK
89152012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8916
8917 * configure: Regenerate.
8918 * config/s390/t-crtstuff: Remove -fPIC.
8919
a99ad737
JW
89202012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
8921
8922 PR bootstrap/51006
8923 * enable-execute-stack-mprotect.c (getpagesize): Do not define
8924 for NetBSD.
8925
884f56d1
GJL
89262012-01-02 Georg-Johann Lay <avr@gjlay.de>
8927
8928 PR target/51345
8929 * config/avr/lib1funcs.S: Remove FIXME comments.
8930 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
8931
8c57e547
GJL
89322012-01-02 Georg-Johann Lay <avr@gjlay.de>
8933
8934 Implement light-weight DImode support.
8935 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
8936 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
8937 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
8938 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
8939
04dbc287
NS
89402011-12-30 Nathan Sidwell <nathan@acm.org>
8941
8942 * libgcov.c (gcov_crc32): Remove global var.
8943 (free_fn_data): New function.
8944 (buffer_fn_data): Pass in filename, more robust error recovery.
8945 (crc32_unsigned): New function.
8946 (gcov_exit): More robust detection of new program. More robust
8947 error recovery.
8948 (__gcov_init): Do not update program's crc here.
8949
8e1d97d4
TG
89502011-12-21 Tristan Gingold <gingold@adacore.com>
8951
8952 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
8953
9ffaf4bc
ILT
89542011-12-21 Ian Lance Taylor <iant@google.com>
8955
8956 * config/i386/morestack.S: Simplify CFI opcodes throughout.
8957
a0c8d0c1
ILT
89582011-12-20 Ian Lance Taylor <iant@google.com>
8959
8960 * config/i386/morestack.S (__morestack_non_split): If there is
8961 enough stack space already, don't split. Ask for more stack space
8962 than we required.
8963
69048898
SDJ
89642011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
8965
8966 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
8967 `sys/sdt.h'.
8968 (_Unwind_DebugHook): New function.
8969 (uw_restore_core_regs): New define.
8970 (unwind_phase2): Use uw_restore_core_regs instead of
8971 restore_core_regs.
8972 (unwind_phase2_forced): Likewise.
8973 (__gnu_Unwind_Resume): Likewise.
8974
1bb4b6a3
UB
89752011-12-20 Uros Bizjak <ubizjak@gmail.com>
8976
8977 * config/alpha/linux-unwind.h: Update copyright years.
8978 (MD_FROB_UPDATE_CONTEXT): New define.
8979 (alpha_frob_update_context): New function.
8980
eb028768
RS
89812011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
8982
8983 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
8984 tmake_file rather replacing it.
8985
6a2045bf
IS
89862011-12-15 Iain Sandoe <iains@gcc.gnu.org>
8987
8988 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1bb4b6a3 8989 function is not used for PPC64.
6a2045bf
IS
8990 (save_world): Amend comments. Update the VRsave mask to reflect the
8991 saved regs.
8992 (rest_world): Update comments, do not clobber r10, do not use r8.
8993 (eh_rest_world_r10): Amend comments, do not use r8.
8994 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
8995 no longer used, move restore of CR and target address to the end of
8996 the routine.
8997
a13780a6
L
89982011-12-14 H.J. Lu <hongjiu.lu@intel.com>
8999
9000 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
9001 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
9002
d7288dfb
GJL
90032011-12-14 Georg-Johann Lay <avr@gjlay.de>
9004
9005 PR target/49313
9006 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
9007 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
9008
8d2c862d
EB
90092011-12-11 Eric Botcazou <ebotcazou@adacore.com>
9010
9011 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
9012
3447cae6
GJL
90132011-12-09 Georg-Johann Lay <avr@gjlay.de>
9014
9015 PR target/49313
9016 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
9017 * config/avr/lib1funcs.S (__muldi3): New function.
9018
806fc6aa
AP
90192011-12-06 Andrew Pinski <apinski@cavium.com>
9020
9021 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
9022 size of func_ptr.
9023 (__frame_dummy_init_array_entry): Likewise.
9024
28c5e6b5
GJL
90252011-12-06 Georg-Johann Lay <avr@gjlay.de>
9026
9027 Forward-port from gcc-4_6-branch r181936 2011-12-02.
9028
9029 PR target/51345
9030 PR target/51002
9031 * config/avr/lib1funcs.S (__prologue_saves__,
9032 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
9033 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
9034
8f90394a
IS
90352011-12-04 Iain Sandoe <iains@gcc.gnu.org>
9036
9037 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
9038
06dd33ac
JDA
90392011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9040
9041 PR other/51272
9042 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
9043 (_ITM_deregisterTMCloneTable): Likewise.
9044 (__register_frame_info): Fix unused warning.
9045 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
9046 pthread_default_stacksize_np): Likewise.
9047 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1bb4b6a3 9048
85b8555e
DD
90492011-11-29 DJ Delorie <dj@redhat.com>
9050
9051 * config.host (rl78-*-elf): New case.
9052 * config/rl78: New directory for the Renesas RL78.
9053
4d5ae4ea
BS
90542011-11-29 Bernd Schmidt <bernds@codesourcery.com>
9055
9056 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
9057 formatting.
9058
f9c55897
RO
90592011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9060
9061 PR other/51022
9062 * config/rs6000/t-savresfgpr: New file.
9063 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
9064 $(srcdir)/config/rs6000/eabi.S.
9065 * config/rs6000/t-ppccomm-ldbl: Remove.
9066 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
9067 tmake_file.
9068 (powerpc-*-eabispe*): Likewise.
9069 (powerpc-*-eabi*): Likewise.
9070 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9071 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
9072 to tmake_file, remove rs6000/t-ppccomm-ldbl.
9073 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
9074 tmake_file.
9075 (powerpc-*-eabisim*): Likewise.
9076 (powerpc-*-elf*): Likewise.
9077 (powerpc-*-eabialtivec*): Likewise.
9078 (powerpc-xilinx-eabi*): Likewise.
9079 (powerpc-*-rtems*): Likewise.
9080 (powerpcle-*-elf*): Likewise.
9081 (powerpcle-*-eabisim*): Likewise.
9082 (powerpcle-*-eabi*): Likewise.
9083
a01207c4
ILT
90842011-11-27 Ian Lance Taylor <iant@google.com>
9085
9086 * generic-morestack.c (__splitstack_find): Check for NULL old
9087 stack value.
9088 (__splitstack_resetcontext): New function.
9089 (__splitstack_releasecontext): New function.
9090 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
9091
2b0b8ab2
IS
90922011-11-27 Iain Sandoe <iains@gcc.gnu.org>
9093
9094 * config/darwin-crt-tm.c: Correct comments, use correct licence.
9095
c1d8101c
IS
90962011-11-27 Iain Sandoe <iains@gcc.gnu.org>
9097
9098 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
9099
8b281334
RH
91002011-11-26 Richard Henderson <rth@redhat.com>
9101
9102 * config/m68k/linux-atomic.c: New file.
9103 * config/m68k/t-linux: New file.
9104 * config.host (m68k-uclinux, m68k-linux): Use it.
9105
7546aa9d
RH
91062011-11-26 Richard Henderson <rth@redhat.com>
9107
9108 * crtstuff.c (__TMC_LIST__): Mark used not unused.
9109 (__TMC_END__): Only declare if hidden is available; in the definition,
9110 if hidden is unavailable add a null record.
9111 (deregister_tm_clones, register_tm_clones): New.
9112 (__do_global_dtors_aux, frame_dummy): Use them.
9113 (__do_global_dtors, __do_global_ctors_1): Likewise.
9114
e2362f5d
IS
91152011-11-22 Iain Sandoe <iains@gcc.gnu.org>
9116
9117 * config/darwin-crt-tm.c: New file.
9118 * config.host (darwin): Build crttms.o crttme.o to provide
9119 startup and shutdown for tm clones.
9120 * config/t-darwin (crttms.o): New build rule.
9121 (crttme.o): Likewise.
9122
6685dd96
HPN
91232011-11-21 Hans-Peter Nilsson <hp@axis.com>
9124
9125 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
9126 et al.
9127
b0dc7e4c
RH
91282011-11-21 Richard Henderson <rth@redhat.com>
9129
9130 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
9131 (__TMC_LIST__, __TMC_END__): New.
9132 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
9133 (__do_global_dtors): Likewise.
9134 (frame_dummy): Call _ITM_registerTMCloneTable.
9135 (__do_global_ctors_1): Likewise.
9136
d4b4b542
RO
91372011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9138
9139 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
9140 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
9141 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
9142 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
9143 * config/i386/t-darwin64: Remove.
9144 * config/sh/t-netbsd (LIB2ADD): Remove.
9145
989bdb74
GJL
91462011-11-21 Georg-Johann Lay <avr@gjlay.de>
9147
9148 PR target/49313
9149 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
9150 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
9151 * config/avr/lib1funcs.S (wmov): New assembler macro.
9152 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
9153 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
9154 (__udivmod64): New function.
9155 (__negdi2): New function.
9156
515a0cfc
GP
91572011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
9158
9159 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
9160 *-*-freebsd*aout*): Remove.
9161
0115d17f
HPN
91622011-11-20 Hans-Peter Nilsson <hp@axis.com>
9163
9164 * static-object.mk (c_flags-$o): Save c_flags.
9165 ($(base)$(objext)): Use it.
9166
93aeb62b
SE
91672011-11-18 Steve Ellcey <sje@cup.hp.com>
9168
9169 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
9170
7bc6df2c
GJL
91712011-11-18 Georg-Johann Lay <avr@gjlay.de>
9172
9173 PR target/49868
9174 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
9175 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
9176 New functions.
9177
425d737b
MGD
91782011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
9179
9180 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
9181 functions.
1bb4b6a3 9182 (aeabi_uidivmod): Likewise.
425d737b
MGD
9183 (umodsi3): Likewise.
9184 (divsi3): Likewise.
9185 (aeabi_idivmod): Likewise.
9186 (modsi3): Likewise.
9187
f2a176dc
TG
91882011-11-16 Tristan Gingold <gingold@adacore.com>
9189
9190 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
9191
7c209481
GJL
91922011-11-15 Georg-Johann Lay <avr@gjlay.de>
9193
9194 PR target/49868
9195 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
9196 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
9197
9dfd5832
JDA
91982011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9199
9200 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
9201 tmake_file list.
9202 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
9203 * config/pa/t-stublib64: Delete.
9204
f77dca5d
RH
92052011-11-12 Richard Henderson <rth@redhat.com>
9206
9207 * config/rs6000/linux-unwind.h (frob_update_context): Properly
9208 cast the pointer argument to _Unwind_SetGRPtr.
9209
902828f0
RO
92102011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9211
9212 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
9213
e14304ef
ILT
92142011-11-09 Ian Lance Taylor <iant@google.com>
9215
9216 * generic-morestack.c: Include <string.h>.
9217 (uintptr_type): Define.
9218 (struct initial_sp): Add dont_block_signals field. Reduce size of
9219 extra array by 1.
9220 (allocate_segment): Set prev field to NULL. Don't set
9221 __morestack_current_segment or __morestack_segments.
9222 (__generic_morestack): Update current->prev and *pp after calling
9223 allocate_segment.
9224 (__morestack_block_signals): Don't do anything if
9225 dont_block_signals is set.
9226 (__morestack_unblock_signals): Likewise.
9227 (__generic_findstack): Check for initial_sp == NULL. Add casts to
9228 uintptr_type.
9229 (__splitstack_block_signals): New function.
9230 (enum __splitstack_content_offsets): Define.
9231 (__splitstack_getcontext, __splitstack_setcontext): New functions.
9232 (__splitstack_makecontext): New function.
9233 (__splitstack_block_signals_context): New function.
9234 (__splitstack_find_context): New function.
9235 * config/i386/morestack.S (__morestack_get_guard): New function.
9236 (__morestack_set_guard, __morestack_make_guard): New functions.
9237 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
9238
e3d871e4
RO
92392011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9240
9241 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
9242 (i[34567]86-*-mingw*): ... here.
9243 (x86_64-*-mingw*): ... here.
9244
e55cef40
RO
92452011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9246
9247 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
9248
5366b186
NS
92492011-11-07 Nathan Sidwell <nathan@acm.org>
9250
9251 * libgcov.c (struct gcov_fn_buffer): New struct.
9252 (buffer_fn_data): New helper.
9253 (gcov_exit): Rework for new gcov data structures.
9254
74155a6f
GJL
92552011-11-07 Georg-Johann Lay <avr@gjlay.de>
9256
9257 PR target/49313
9258 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
9259
200feb07
RO
92602011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9261
9262 * config.host (tmake_file): Correct comment.
9263 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
9264 t-libgcc-pic.
9265 (bfin*-uclinux*): Likewise.
9266 (bfin*-linux-uclibc*): Likewise.
9267 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
9268
9269 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
9270 assigning.
9271 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9272 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
9273 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9274 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
9275 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9276 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
9277 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
9278 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9279 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
9280 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
9281 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
9282 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
9283 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
9284
9285 * config/bfin/t-elf: Remove.
9286 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
9287
c9cd1a07
RO
92882011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9289
9290 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
9291 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
9292 (lm32-*-elf*, lm32-*-rtems*): Split into ...
9293 (lm32-*-elf*): ... this.
9294 (lm32-*-rtems*): ... and this.
9295 Add to tmake_file.
9296 (m32r-*-rtems*): Add to tmake_file.
9297 (moxie-*-rtems*): Likewise.
9298 (sparc-*-rtems*): Likewise.
9299 Remove t-rtems from tmake_file.
9300 (sparc64-*-rtems*): Likewise.
9301 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
9302 instead.
9303
9fbcc75d
RO
93042011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9305
9306 PR bootstrap/50982
9307 * config/gthr-posix.h: Move ...
9308 * gthr-posix.h: ... here.
9309 * config/gthr-lynx.h: Reflect this.
9310 * config/gthr-vxworks.h: Likewise.
9311 * config/rs6000/gthr-aix.h: Likewise.
9312 * configure.ac (target_thread_file): Likewise.
9313 * configure: Regenerate.
9314
76644b68
SH
93152011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
9316
9317 * config.host (arm*-*-rtemseabi*): New target.
9318
5e490f2a
JDA
93192011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9320
9321 PR other/50991
9322 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
9323 extra-parts.
9324
feeeff5c
JR
93252011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
9326
9327 * config.host (epiphany-*-elf*): New configuration.
9328 * config/epiphany: New Directory.
9329
d618bb2c
RC
93302011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
9331
9332 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
9333 * config/avr/t-rtems: New.
9334 Filter out _exit from LIB1ASMFUNCS.
9335
1bb6f778
DM
93362011-11-04 David S. Miller <davem@davemloft.net>
9337
9338 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
9339 * configure: Rebuild.
9340
9a7f7422
AK
93412011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9342
9343 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
9344 variable.
9345
e4fe948a
GJL
93462011-11-04 Georg-Johann Lay <avr@gjlay.de>
9347
9348 PR target/50931
9349 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
9350 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
9351
7084e037
JS
93522011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
9353
9354 PR target/50989
9355 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
9356
1a032034
RO
93572011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9358
9359 * config/c6x/t-elf (LIB2ADDEH): Set.
9360 * config/c6x/t-c6x-elf: Remove.
9361
d385f772
RO
93622011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9363
9364 * config/i386/sol2-ci.S: Rename to ...
9365 * config/i386/crti.S: ... this.
9366 * config/i386/sol2-cn.S: Rename to ...
9367 * config/i386/crtn.S: ... this.
9368 * config/sparc/sol2-ci.S: Rename to ...
9369 * config/sparc/crti.S: ... this.
9370 * config/sparc/sol2-cn.S: Rename to ...
9371 * config/sparc/crtn.S: ... this.
9372 * config/t-sol2 (CUSTOM_CRTIN): Remove.
9373 (crti.o, crtn.o): Remove.
9374
1ba878a9
TG
93752011-11-04 Tristan Gingold <gingold@adacore.com>
9376
9377 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
9378
02750c15
KK
93792011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
9380
9381 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
9382
bf86b067
HPN
93832011-11-03 Hans-Peter Nilsson <hp@axis.com>
9384
9385 * config.host (crisv32-*-none, cris-*-none): Remove.
9386 (crisv32-*-elf): Append to tmake_file, don't just set it.
9387 (cris-*-elf): Add missing t-fdpbit to tmake_file.
9388
d0bc53bd
RO
93892011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9390
9391 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
9392 (ecrtn$(objext)): Likewise.
9393 (ncrti$(objext)): Likewise.
9394 (ncrtn$(objext)): Likewise.
9395
036da830
AS
93962011-11-03 Andreas Schwab <schwab@redhat.com>
9397
9398 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
9399
d2a7d041
DM
94002011-11-02 David S. Miller <davem@davemloft.net>
9401
9402 * configure.ac: Set host_address on sparc too.
9403 * configure: Regenerate.
9404 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
9405 based upon host_address.
9406 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
9407
af8ed618
JM
94082011-11-02 Jason Merrill <jason@redhat.com>
9409
9410 * config/rs6000/t-ppccomm: Add missing \.
9411
5d1c8e77
RO
94122011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9413
9414 * gthr-single.h, gthr.h: New files.
9415 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
9416 config/gthr-vxworks.h, config/i386/gthr-win32.h,
9417 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
9418 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
9419 * config/i386/gthr-win32.c: Include "gthr-win32.h".
9420 * configure.ac (thread_header): New variable.
9421 Set it depending on target_thread_file.
9422 (gthr-default.h): Link from $thread_header.
9423 * configure: Regenerate.
9424 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
9425
852b75ed
RO
94262011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9427
9428 * configure.ac (tm_file_): New variable.
9429 Determine from tm_file.
9430 (tm_file, tm_defines): Substitute.
9431 * configure: Regenerate.
9432 * mkheader.sh: New file.
9433 * Makefile.in (clean): Remove libgcc_tm.h.
9434 ($(objects)): Depend on libgcc_tm.h.
9435 (libgcc_tm_defines, libgcc_tm_file): New variables.
9436 (libgcc_tm.h, libgcc_tm.stamp): New targets.
9437 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
9438 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
9439 ($(extra-parts)): Depend on libgcc_tm.h.
9440 * config.host (tm_defines, tm_file): New variable.
9441 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
9442 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
9443 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
9444 (avr-*-rtems*): Likewise.
9445 (avr-*-*): Likewise.
9446 (frv-*-elf): Likewise.
9447 (frv-*-*linux*): Likewise.
9448 (h8300-*-rtems*): Likewise.
9449 (h8300-*-elf*): Likewise.
9450 (i[34567]86-*-darwin*): Likewise.
9451 (x86_64-*-darwin*): Likewise.
9452 (rx-*-elf): Likewise.
9453 (tic6x-*-uclinux): Likewise.
9454 (tic6x-*-elf): Likewise.
9455 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
9456 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
9457 * config/i386/cygming-crtbegin.c: Likewise.
9458 * config/i386/cygming-crtend.c: Likewise.
9459 * config/ia64/fde-vms.c: Likewise.
9460 * config/ia64/unwind-ia64.c: Likewise.
9461 * config/libbid/bid_gcc_intrinsics.h: Likewise.
9462 * config/rs6000/darwin-fallback.c: Likewise.
9463 * config/stormy16/lib2funcs.c: Likewise.
9464 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
9465 * crtstuff.c: Likewise.
9466 * dfp-bit.h: Likewise.
9467 * emutls.c: Likewise.
9468 * fixed-bit.c: Likewise.
9469 * fp-bit.c: Likewise.
9470 * generic-morestack-thread.c: Likewise.
9471 * generic-morestack.c: Likewise.
9472 * libgcc2.c: Likewise.
9473 * libgcov.c: Likewise.
9474 * unwind-dw2-fde-dip.c: Likewise.
9475 * unwind-dw2-fde.c: Likewise.
9476 * unwind-dw2.c: Likewise.
9477 * unwind-sjlj.c: Likewise.
9478
f9989b51
RO
94792011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9480
9481 * configure.ac: Include ../config/picflag.m4.
9482 (GCC_PICFLAG): Call it.
9483 Substitute.
9484 * configure: Regenerate.
9485 * Makefile.in (gcc_srcdir): Remove.
9486 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
9487 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
9488 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
9489 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
9490 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
9491 Use $<.
9492 Remove comment.
9493 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
9494 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
9495 to refer to libgcc2.c.
9496 Use $<.
9497 * config/darwin-64.c: New file.
9498 * config/darwin-crt3.c: Remove comment.
9499 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
9500 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
9501 config/udivmodsi4.c: New files.
9502 * config/memcmp.c, config/memcpy.c, config/memmove.c,
9503 config/memset.c: New files.
9504 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
9505 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
9506 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
9507 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
9508 * config/t-openbsd-thread: New file.
9509 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
9510 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
9511 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
9512 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
9513 qrnnd.S.
9514 Adapt filename.
9515 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
9516 to refer to gthr-posix.c.
9517 * config/alpha/t-vms (LIB2ADD): Set.
9518 * config/alpha/vms-gcc_shell_handler.c: New file.
9519 * config/arm/bpabi.c, config/arm/fp16.c,
9520 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
9521 config/arm/unaligned-funcs.c: New files.
9522 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
9523 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
9524 * config/arm/t-linux: Likewise.
9525 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
9526 * config/arm/t-netbsd: New file.
9527 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
9528 * config/arm/t-symbian (LIB2ADD_ST): Set.
9529 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
9530 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9531 * config/bfin/t-elf: New file.
9532 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
9533 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
9534 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
9535 config/c6x/ltf.c: New files.
9536 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
9537 (HOST_LIBGCC2_CFLAGS): Set.
9538 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
9539 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9540 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
9541 New files.
9542 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
9543 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
9544 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
9545 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
9546 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
9547 files.
9548 * config/frv/t-frv (LIB2ADD): Set.
9549 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9550 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
9551 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
9552 config/h8300/popcounthi2.c: New files.
9553 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
9554 * config/i386/gthr-win32.c: New file.
9555 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
9556 * config/i386/t-cygwin: Likewise.
9557 * config/i386/t-darwin, config/i386/t-darwin64,
9558 config/i386/t-gthr-win32, config/i386/t-interix: New files.
9559 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
9560 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9561 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9562 * config/ia64/quadlib.c: New file.
9563 * config/ia64/t-hpux (LIB2ADD): Set.
9564 * config/ia64/t-ia64: Add comment.
9565 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
9566 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9567 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
9568 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
9569 * config/m32c/t-m32c (LIB2ADD): Set.
9570 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
9571 * config/m32r/t-m32r: Likewise.
9572 * config/m68k/fpgnulib.c: New file.
9573 * config/m68k/t-floatlib (LIB2ADD): Set.
9574 (xfgnulib.c): New target.
9575 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
9576 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
9577 * config/mep/t-mep (LIB2ADD): Set.
9578 * config/microblaze/divsi3.asm: Rename to divsi3.S.
9579 * config/microblaze/moddi3.asm: Rename to moddi3.S.
9580 * config/microblaze/modsi3.asm: Rename to modsi3.S.
9581 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
9582 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
9583 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
9584 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
9585 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
9586 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
9587 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
9588 New files.
9589 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
9590 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
9591 * config/pa/fptr.c, config/pa/lib2funcs.S,
9592 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
9593 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
9594 (LIB2ADD, LIB2ADD_ST): Set.
9595 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
9596 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
9597 Set.
9598 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
9599 * config/pdp11/t-pdp11: New file.
9600 * config/picochip/libgccExtras/adddi3.S,
9601 config/picochip/libgccExtras/ashlsi3.S,
9602 config/picochip/libgccExtras/ashrsi3.S,
9603 config/picochip/libgccExtras/clzsi2.S,
9604 config/picochip/libgccExtras/cmpsi2.S,
9605 config/picochip/libgccExtras/divmod15.S,
9606 config/picochip/libgccExtras/divmodhi4.S,
9607 config/picochip/libgccExtras/divmodsi4.S,
9608 config/picochip/libgccExtras/lshrsi3.S,
9609 config/picochip/libgccExtras/parityhi2.S,
9610 config/picochip/libgccExtras/popcounthi2.S,
9611 config/picochip/libgccExtras/subdi3.S,
9612 config/picochip/libgccExtras/ucmpsi2.S,
9613 config/picochip/libgccExtras/udivmodhi4.S,
9614 config/picochip/libgccExtras/udivmodsi4.S: New files.
9615 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
9616 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
9617 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
9618 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
9619 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
9620 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
9621 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
9622 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
9623 files.
9624 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
9625 (HOST_LIBGCC2_CFLAGS): Set.
9626 * config/rs6000/t-darwin64: New file.
9627 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
9628 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
9629 * config/rs6000/t-ppccomm (LIB2ADD): Add
9630 $(srcdir)/config/rs6000/tramp.S.
9631 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
9632 Add $(srcdir)/config/rs6000/eabi.S.
9633 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
9634 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
9635 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
9636 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
9637 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
9638 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
9639 * config/rs6000/tramp.S: New file.
9640 * config/s390/t-tpf: Remove.
9641 * config/sh/linux-atomic.S: New file.
9642 * config/sh/t-linux (LIB2ADD): Set.
9643 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
9644 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
9645 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
9646 to unwind-dw2.c.
9647 (HOST_LIBGCC2_CFLAGS): Set.
9648 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9649 * config/spu/divmodti4.c, config/spu/divv2df3.c,
9650 config/spu/float_disf.c, config/spu/float_unsdidf.c,
9651 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
9652 config/spu/mfc_multi_tag_release.c,
9653 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
9654 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
9655 config/spu/multi3.c: New files.
9656 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
9657 (HOST_LIBGCC2_CFLAGS): Set.
9658 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
9659 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
9660 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
9661 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
9662 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
9663 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
9664 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
9665 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
9666 config/stormy16/umodsi3.c: New files.
9667 * config/xtensa/lib2funcs.S: New file.
9668 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
9669 * config/xtensa/t-xtensa (LIB2ADD): Set.
9670 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
9671 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
9672 Add t-freebsd-thread to tmake_file for posix threads.
9673 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
9674 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
9675 (*-*-lynxos*): Likewise.
9676 (*-*-netbsd*): Likewise.
9677 (*-*-openbsd*): Likewise.
9678 Add t-openbsd-thread to tmake_file for posix threads.
9679 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
9680 (*-*-vxworks*): Set tmake_file.
9681 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
9682 (alpha*-*-freebsd*): Likewise.
9683 (alpha*-*-netbsd*): Likewise.
9684 (alpha*-*-openbsd*): Likewise.
9685 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
9686 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
9687 (alpha*-dec-*vms*): Likewise.
9688 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
9689 (bfin*-elf*): Add bfin/t-elf to tmake_file.
9690 (bfin*-uclinux*): Likewise.
9691 (bfin*-linux-uclibc*): Likewise.
9692 (crisv32-*-elf): Add cris/t-cris to tmake_file.
9693 (crisv32-*-none): Likewise.
9694 (cris-*-elf): Likewise.
9695 (cris-*-none): Likewise.
9696 (cris-*-linux*, crisv32-*-linux*): Likewise.
9697 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
9698 tmake_file.
9699 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
9700 tmake_file.
9701 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
9702 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
9703 (x86_64-*-elf*): Likewise.
9704 (i[34567]86-*-nto-qnx*): Likewise.
9705 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
9706 win32 threads.
9707 (x86_64-*-mingw*): Likewise.
9708 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
9709 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
9710 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
9711 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
9712 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
9713 tmake_file.
9714 (mipsisa64sr71k-*-elf*): Likewise.
9715 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
9716 (mips-*-elf*, mipsel-*-elf*): Likewise.
9717 (mips64-*-elf*, mips64el-*-elf*): Likewise.
9718 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
9719 (mips*-*-rtems*): Likewise.
9720 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
9721 to tmake_file.
9722 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
9723 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
9724 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
9725 (spu-*-elf*): Likewise.
9726 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
9727
45b86625
RO
97282011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9729
9730 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
9731 $(srcdir) to refer to $(LIB1ASMSRC).
9732 Use $<.
9733 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
9734 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
9735 config/arm/lib1funcs.S: New files.
9736 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
9737 * config/arm/t-arm: New file.
9738 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
9739 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
9740 config/arm/t-strongarm-elf: New files.
9741 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
9742 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
9743 * config/avr/lib1funcs.S: New file.
9744 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9745 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
9746 * config/c6x/lib1funcs.S: New file.
9747 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9748 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
9749 * config/frv/lib1funcs.S: New file.
9750 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9751 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
9752 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
9753 * config/ia64/__divxf3.asm: Rename to ...
9754 * config/ia64/__divxf3.S: ... this.
9755 Adapt lib1funcs.asm filename.
9756 * config/ia64/_fixtfdi.asm: Rename to ...
9757 * config/ia64/_fixtfdi.S: ... this.
9758 Adapt lib1funcs.asm filename.
9759 * config/ia64/_fixunstfdi.asm: Rename to ...
9760 * config/ia64/_fixunstfdi.S: ... this.
9761 Adapt lib1funcs.asm filename.
9762 * config/ia64/_floatditf.asm: Rename to ...
9763 * config/ia64/_floatditf.S: ... this.
9764 Adapt lib1funcs.asm filename.
9765 * config/ia64/lib1funcs.S: New file.
9766 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
9767 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9768 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
9769 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
9770 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
9771 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
9772 * config/mep/lib1funcs.S: New file.
9773 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9774 * config/mips/mips16.S: New file.
9775 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9776 * config/pa/milli64.S: New file.
9777 * config/pa/t-linux, config/pa/t-linux64: New files.
9778 * config/picochip/lib1funcs.S: New file.
9779 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9780 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
9781 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
9782 * config/sh/t-netbsd: New file.
9783 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
9784 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
9785 * config/sh/t-sh64: New file.
9786 * config/sparc/lb1spc.S: New file.
9787 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
9788 filename.
9789 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
9790 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
9791 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
9792 config/xtensa/lib1funcs.S: New files.
9793 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9794 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
9795 tmake_file.
9796 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
9797 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
9798 (arm*-*-linux*): Likewise.
9799 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
9800 arm*-*-linux-*eabi, add arm/t-linux otherwise.
9801 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
9802 (arm*-*-ecos-elf): Likewise.
9803 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
9804 (arm*-*-rtems*): Likewise.
9805 (arm*-*-elf): Likewise.
9806 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
9807 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
9808 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
9809 (bfin*-uclinux*): Likewise.
9810 (bfin*-linux-uclibc*): Likewise.
9811 (bfin*-rtems*): Likewise.
9812 (bfin*-*): Likewise.
9813 (fido-*-elf): Merge into m68k-*-elf*.
9814 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
9815 (frv-*-*linux*): Add frv/t-frv to tmake_file.
9816 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
9817 (h8300-*-elf*): Likewise.
9818 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
9819 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
9820 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
9821 (i[34567]86-*-mingw*): Likewise.
9822 (x86_64-*-mingw*): Likewise.
9823 (i[34567]86-*-interix3*): Likewise.
9824 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
9825 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
9826 (m68k-*-elf*): Also handle fido-*-elf.
9827 Add m68k/t-floatlib to tmake_file.
9828 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
9829 (m68k-*-linux*): Likewise.
9830 (m68k-*-rtems*): Likewise.
9831 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
9832 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
9833 sh64*-*-*.
9834 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
9835 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
9836 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
9837 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
9838 sh/t-netbsd to tmake_file.
9839 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
9840 (sh-*-rtems*): Add sh/t-sh to tmake_file.
9841 (sh-wrs-vxworks): Likewise.
9842 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
9843 *-leon[3-9]*.
9844 (v850*-*-*): Add v850/t-v850 to tmake_file.
9845 (vax-*-linux*): Add vax/t-linux to tmake_file.
9846 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
9847
5f73c6cc
RO
98482011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9849
9850 * crtstuff.c: New file.
9851 * Makefile.in (CRTSTUFF_CFLAGS): Define.
9852 (CRTSTUFF_T_CFLAGS): Define.
9853 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
9854 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
9855 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
9856 crtstuff.c.
9857 Use $<.
9858 (crtbeginT.o): Use $(objext).
9859 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
9860 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
9861 (gcc-extra-parts): Remove.
9862 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
9863 Set extra_parts.
9864 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9865 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
9866 Add t-crtstuff-pic to tmake_file.
9867 (*-*-lynxos*): New case.
9868 Set tmake_file, extra_parts.
9869 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
9870 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
9871 *-*-netbsdelf[2-9]*.
9872 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
9873 (*-*-rtems*): Set extra_parts.
9874 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
9875 (*-*-uclinux*): New case.
9876 Set extra_parts.
9877 (*-*-vms*): New case.
9878 Set tmake_file, extra_parts.
9879 (*-*-elf): Set extra_parts.
9880 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
9881 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
9882 vms/t-vms64.
9883 Set extra_parts.
9884 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
9885 Set extra_parts.
9886 (arm*-*-freebsd*): Add t-crtin to tmake_file.
9887 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
9888 (arm-wrs-vxworks): Append to tmake_file.
9889 Set extra_parts.
9890 (arm*-*-uclinux*): Set extra_parts.
9891 (arm*-*-ecos-elf): Likewise.
9892 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
9893 arm*-*-eabi*.
9894 (arm*-*-rtems*): Set extra_parts.
9895 (arm*-*-elf): Likewise.
9896 (avr-*-rtems*): Clear extra_parts.
9897 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
9898 Set extra_parts.
9899 (bfin*-uclinux*): Likewise.
9900 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
9901 (bfin*-rtems*): Append to tmake_file.
9902 Set extra_parts.
9903 (bfin*-*): Likewise.
9904 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
9905 (crisv32-*-elf): ... this.
9906 (crisv32-*-none): ... this.
9907 (cris-*-elf, cris-*-none): New cases.
9908 Add cris/t-elfmulti to tmake_file.
9909 (fr30-*-elf): Append to tmake_file.
9910 Set extra_parts.
9911 (frv-*-elf): Append to tmake_file, add frv/t-frv.
9912 Set extra_parts.
9913 (h8300-*-rtems*): Append to tmake_file.
9914 Set extra_parts.
9915 (h8300-*-elf*): Likewise.
9916 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
9917 Set extra_parts.
9918 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
9919 Set extra_parts.
9920 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
9921 (x86_64-*-elf*): Likewise.
9922 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
9923 (x86_64-*-freebsd*): Likewise.
9924 (x86_64-*-netbsd*): Likewise.
9925 (i[34567]86-*-linux*): Likewise.
9926 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
9927 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
9928 (x86_64-*-linux*): Likewise.
9929 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
9930 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
9931 tmake_file.
9932 Set extra_parts.
9933 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
9934 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
9935 Append to extra_parts, remove crtbegin.o, crtend.o.
9936 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
9937 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
9938 crtend.o, crtbeginS.o, crtendS.o.
9939 (ia64*-*-linux*): Comment extra_parts.
9940 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
9941 Set extra_parts.
9942 (iq2000*-*-elf*): Clear extra_parts.
9943 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
9944 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
9945 (m32r-*-elf*, m32r-*-rtems*): Split off ...
9946 (m32r-*-rtems*): ... this.
9947 Add m32r/t-m32r to tmake_file.
9948 (m68k-*-elf*): Add t-crtin to tmake_file.
9949 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
9950 (mcore-*-elf): Likewise.
9951 (microblaze*-*-*): Set extra_parts.
9952 (mips*-sde-elf*): New case.
9953 Set tmake_file, extra_parts.
9954 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
9955 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
9956 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
9957 tmake_file.
9958 Set extra_parts.
9959 (mipsisa64sr71k-*-elf*): Likewise.
9960 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
9961 (mips-*-elf*, mipsel-*-elf*): Likewise.
9962 (mips64-*-elf*, mips64el-*-elf*): Likewise.
9963 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
9964 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
9965 (mips*-*-rtems*): Likewise.
9966 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
9967 (moxie-*-*): Split into ...
9968 (moxie-*-elf, moxie-*-uclinux*): ... this.
9969 Add to extra_parts, remove crtbegin.o, crtend.o.
9970 (moxie-*-rtems*): New case.
9971 Set tmake_file.
9972 Clear extra_parts.
9973 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
9974 Set extra_parts.
9975 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
9976 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
9977 tmake_file.
9978 Set extra_parts.
9979 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
9980 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
9981 Set extra_parts.
9982 (powerpc-*-eabisim*): Likewise.
9983 (powerpc-*-elf*): Likewise.
9984 (powerpc-*-eabialtivec*): Likewise.
9985 (powerpc-xilinx-eabi*): Likewise.
9986 (powerpc-*-eabi*): Likewise.
9987 (powerpc-*-rtems*): Likewise.
9988 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
9989 tmake_file.
9990 Set extra_parts.
9991 (powerpc-*-lynxos*): Add to tmake_file.
9992 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
9993 rs6000/t-crtstuff, t-crtstuff-pic.
9994 Set extra_parts.
9995 (powerpcle-*-eabisim*): Likewise.
9996 (powerpcle-*-eabi*): Likewise.
9997 (rx-*-elf): Remove extra_parts.
9998 (s390x-ibm-tpf*): Set extra_parts.
9999 (score-*-elf): Set extra_parts.
10000 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10001 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10002 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10003 (sh64l*-*-netbsd*): Split into ...
10004 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
10005 Add t-crtstuff-pic to tmake_file.
10006 Set extra_parts.
10007 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
10008 Set extra_parts.
10009 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
10010 (sparc-*-elf*): Remove t-crtin from tmake_file.
10011 Add to extra_parts, remove crtbegin.o, crtend.o.
10012 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
10013 (sparc64-*-linux*): Likewise.
10014 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
10015 Add to extra_parts, remove crtbegin.o, crtend.o.
10016 (sparc64-*-elf*): Remove t-crtin from tmake_file.
10017 Add to extra_parts, remove crtbegin.o, crtend.o.
10018 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
10019 Add to extra_parts, remove crtbegin.o, crtend.o.
10020 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
10021 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
10022 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
10023 Set extra_parts.
10024 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
10025 Set extra_parts.
10026 (tic6x-*-*): Change to ...
10027 (tic6x-*-elf): ... this.
10028 Set extra_parts.
10029 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
10030 Set extra_parts.
10031 (am33_2.0-*-linux*): Add comment.
10032 (mep*-*-*): Add mep/t-mep to tmake_file.
10033 Set extra_parts.
10034 * config/alpha/t-vms: New file.
10035 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
10036 * config/arm/crti.S, config/arm/crtn.S: New files.
10037 * config/bfin/crti.S, config/bfin/crtn.S: New files.
10038 * config/bfin/crtlibid.S: New file.
10039 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
10040 * config/c6x/crti.S, config/c6x/crtn.S: New files.
10041 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
10042 (crti.o, crtin.o): New rules.
10043 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
10044 * config/c6x/t-uclinux: New file.
10045 * config/cris/t-elfmulti: New file.
10046 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
10047 * config/fr30/crti.S, config/fr30/crtn.S: New files.
10048 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
10049 * config/frv/t-frv: New file.
10050 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
10051 * config/h8300/crti.S, config/h8300/crtn.S: New files.
10052 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
10053 New files.
10054 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
10055 refer to cygming-crtbegin.c, cygming-crtend.c.
10056 Use $<.
10057 * config/i386/t-nto: New file.
10058 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
10059 * config/ia64/crti.S, config/ia64/crtn.S: New files.
10060 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
10061 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
10062 Use .S extension.
10063 Use $<.
10064 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
10065 (crtinitS.o): New rule.
10066 * config/ia64/vms-crtinit.S: New file.
10067 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
10068 * config/m32r/initfini.c: New file.
10069 * config/m32r/t-linux, config/m32r/t-m32r: New files.
10070 * config/m68k/crti.S, config/m68k/crtn.S: New files.
10071 * config/mcore/crti.S, config/mcore/crtn.S: New files.
10072 * config/mep/t-mep: New file.
10073 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
10074 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
10075 * config/mips/crti.S, config/mips/crtn.S: New files.
10076 * config/mips/t-crtstuff: New file.
10077 * config/mmix/crti.S, config/mmix/crtn.S: New files.
10078 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
10079 (CUSTOM_CRTIN): Set.
10080 ($(T)crti.o, $(T)crtn.o): Remove $(T),
10081 dependencies.
10082 Use $(srcdir) to refer to crti.S, crtn.S.
10083 Use .S extension, $<.
10084 * config/moxie/crti.asm: Rename to ...
10085 * config/moxie/crti.S: ... this.
10086 * config/moxie/crtn.asm: Rename to ...
10087 * config/moxie/crtn.S: ... this.
10088 * config/moxie/t-moxie: Remove.
10089 * config/pa/stublib.c: New file.
10090 * config/pa/t-stublib, config/pa/t-stublib64: New files.
10091 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
10092 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
10093 * config/rs6000/t-crtstuff: New file.
10094 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
10095 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
10096 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
10097 Make output file explicit.
10098 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
10099 Make output file explicit.
10100 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
10101 Make output file explicit.
10102 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
10103 Make output file explicit.
10104 * config/score/crti.S, config/score/crtn.S: New files.
10105 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
10106 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
10107 files.
10108 * config/sh/t-sh, config/sh/t-superh: New files.
10109 * config/sparc/t-linux64: New file.
10110 * config/spu/cache.S, config/spu/cachemgr.c: New files.
10111 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
10112 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
10113 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
10114 * config/t-crtin: Remove.
10115 * config/t-crtstuff-pic: New file.
10116 * config/t-sol2 (CUSTOM_CRTIN): Set.
10117 (crti.o, crtn.o): New rules.
10118 * config/vms/t-vms: New file.
10119 * config/vms/vms-ucrt0.c: New file.
10120 * config/xtensa/t-elf: New file.
10121
b040f2be
RO
101222011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10123
10124 * Makefile.in (SHLIB_NM_FLAGS): Set.
10125 * mkmap-flat.awk, mkmap-symver.awk: New files.
10126 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
10127 exceptions.
10128 * configure: Regenerate.
10129 * config/libgcc-glibc.ver: New file.
10130 * config/libgcc-libsystem.ver: New file.
10131 * config/t-libunwind (SHLIB_LC): Set.
10132 * config/t-linux: New file.
10133 * config/t-slibgcc (INSTALL_SHLIB): New.
10134 (SHLIB_INSTALL): Use it.
10135 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
10136 to mkmap-symver.awk.
10137 (SHLIB_MAPFILES): Don't append, adapt pathname.
10138 (SHLIB_VERPFX): Set.
10139 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
10140 to mkmap-symver.awk.
10141 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
10142 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
10143 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
10144 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
10145 to mkmap-flat.awk.
10146 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
10147 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
10148 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
10149 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
10150 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
10151 * config/i386/libgcc-darwin.10.4.ver,
10152 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
10153 New files.
10154 * config/i386/t-darwin: Remove.
10155 * config/i386/t-darwin64: Likewise.
10156 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
10157 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
10158 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
10159 * config/i386/t-linux: New file.
10160 * config/i386/t-mingw32: New file.
10161 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
10162 * config/ia64/t-glibc: Rename to ...
10163 * config/ia64/t-linux: ... this.
10164 (SHLIB_MAPFILES): Set.
10165 * config/ia64/t-glibc-libunwind: Rename to ...
10166 * config/ia64/t-linux-libunwind: ... this.
10167 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
10168 * config/ia64/t-slibgcc-hpux: New file.
10169 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
10170 * config/m68k/t-slibgcc-elf-ver: New file.
10171 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
10172 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
10173 to mkmap-flat.awk.
10174 * config/pa/t-slibgcc-hpux: New file.
10175 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
10176 files.
10177 * config/rs6000/libgcc-darwin.10.4.ver,
10178 config/rs6000/libgcc-darwin.10.5.ver: New files.
10179 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
10180 config/rs6000/libgcc-glibc.ver.
10181 * config/rs6000/libgcc-ppc64.ver: Rename to
10182 config/rs6000/libgcc-ibm-ldouble.ver.
10183 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
10184 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
10185 * config/rs6000/t-ldbl128: Rename to ...
10186 * config/rs6000/t-linux: ... this.
10187 (SHLIB_MAPFILES): Adapt filename.
10188 * config/rs6000/t-slibgcc-aix: New file.
10189 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
10190 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
10191 libgcc-excl.ver, libgcc-glibc.ver.
10192 (SHLIB_LINK, SHLIB_INSTALL): Remove.
10193 * config/sparc/libgcc-glibc.ver: New file.
10194 * config/sparc/t-linux: New file.
10195 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
10196 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
10197 t-slibgcc-elf-ver to tmake_file.
10198 Add t-slibgcc-nolc-override to tmake_file for posix threads on
10199 *-*-freebsd[34].
10200 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10201 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
10202 t-slibgcc-elf-ver, t-linux to tmake_file.
10203 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
10204 tmake_file.
10205 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
10206 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
10207 (alpha*-dec-*vms*): Likewise.
10208 (arm*-*-freebsd*): Append to tmake_file.
10209 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
10210 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
10211 arm*-*-linux-*eabi.
10212 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
10213 tmake_file for arm*-*-symbianelf*.
10214 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
10215 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
10216 cris/t-linux.
10217 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
10218 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
10219 pa/t-slibgcc-dwarf-ver to tmake_file.
10220 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
10221 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
10222 (hppa*64*-*-hpux11*): Likewise.
10223 (hppa[12]*-*-hpux11*): Likewise.
10224 (x86_64-*-darwin*): Don't override tmake_file, but only keep
10225 i386/t-crtpc, i386/t-crtfm.
10226 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
10227 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
10228 to tmake_file.
10229 Add i386/t-cygwin to tmake_file.
10230 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
10231 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
10232 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
10233 to tmake_file.
10234 Add i386/t-mingw32 to tmake_file.
10235 (x86_64-*-mingw*): Likewise.
10236 (ia64*-*-freebsd*): Append to tmake_file.
10237 (ia64*-*-linux*): Append to tmake_file.
10238 Replace ia64/t-glibc by ia64/t-linux.
10239 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
10240 system libunwind.
10241 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
10242 t-slibgcc-hpux to tmake_file.
10243 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
10244 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
10245 (m32rle-*-linux*): Likewise.
10246 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
10247 sjlj exceptions.
10248 (microblaze*-linux*): New case.
10249 Append to tmake_file, add t-slibgcc-nolc-override.
10250 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
10251 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
10252 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
10253 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10254 rs6000/t-slibgcc-aix to tmake_file.
10255 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10256 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10257 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10258 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10259 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10260 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
10261 sh*-*-linux*.
10262 (sparc-*-linux*): Append to tmake_file for *-leon*.
10263 Add sparc/t-linux to tmake_file for non-Leon targets.
10264 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
10265 (tic6x-*-uclinux): New case.
10266 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
10267 (tic6x-*-*): Add c6x/t-elf to tmake_file.
10268 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
10269 (am33_2.0-*-linux*): Append to tmake_file.
10270 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
10271 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
10272 x86_64-*-kfreebsd*-gnu.
10273 Add i386/t-linux to tmake_file.
10274
18b4bd7b
ILT
102752011-10-28 Ian Lance Taylor <iant@google.com>
10276
10277 * config/i386/morestack.S: Correct CFI information to do proper
10278 returns throughout function. In 32-bit mode, save %ebx so that it
10279 is restored on unwind.
10280
5b2d9d90
BS
102812011-10-25 Bernd Schmidt <bernds@codesourcery.com>
10282
10283 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
10284 case where B3 isn't the return register.
10285
0d53e346
BS
10286 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
10287 logic for doubleword pops.
10288
cbffbd59
AT
102892011-10-25 Andreas Tobler <andreast@fgznet.ch>
10290
10291 * config/rs6000/t-freebsd: Add wildcard.
10292
56dc349e
PB
102932011-10-21 Paul Brook <paul@codesourcery.com>
10294
10295 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
10296
1e06b07d
UB
102972011-10-16 Uros Bizjak <ubizjak@gmail.com>
10298 Eric Botcazou <ebotcazou@adacore.com>
10299
10300 PR target/50737
10301 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
10302 fs->signal_frame to 1.
10303
b5204884
ILT
103042011-10-07 Ian Lance Taylor <iant@google.com>
10305
10306 * generic-morestack-thread.c: #include <errno.h>.
10307
91a639a1
ILT
103082011-10-07 Ian Lance Taylor <iant@google.com>
10309
10310 PR target/46093
10311 * generic-morestack.c (__generic_morestack): Make sure the segment
10312 is large enough for both the stack frame and the copied
10313 parameters.
10314
cc49116d
RO
103152011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10316
10317 PR bootstrap/49804
10318 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
10319 extra_parts.
10320
2996d8c3
NC
103212011-09-28 Nick Clifton <nickc@redhat.com>
10322
10323 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
10324 64-bit doubles are not enabled.
10325 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
10326 and floatunsisf functions.
10327
1e874273 103282011-09-13 Paul Brook <paul@codesourcery.com>
2996d8c3 10329
1e874273
PB
10330 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
10331 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
10332 * unwind-arm-common.inc: New file.
10333 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
10334 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
10335 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
10336 * config/c6x/libunwind.S: New file.
10337 * config/c6x/pr-support.c: New file.
10338 * config/c6x/unwind-c6x.c: New file.
10339 * config/c6x/unwind-c6x.h: New file.
10340 * config/c6x/t-c6x-elf: New file.
10341
f70c879a
UB
103422011-08-23 Uros Bizjak <ubizjak@gmail.com>
10343
10344 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
10345 (ASM_DIVZERO): Ditto.
10346 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
10347
c55b374b
RS
103482011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
10349
10350 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
10351
1e138510
RS
103522011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
10353
10354 PR target/50090
10355 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
10356 instead of an assembly one.
10357
1563503d
PB
103582011-08-12 Paolo Bonzini <bonzini@gnu.org>
10359
10360 PR bootstrap/50047
10361 * Makefile.in (install-unwind_h): Create
10362 $(gcc_objdir)/include/unwind.h atomically.
10363
3627ac1a
RO
103642011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10365
10366 * Makefile.in (install-unwind_h): Remove destination file first.
10367
c6412d86
RO
103682011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10369
10370 * sync.c: New file.
10371 * config/mips/t-mips16: New file.
10372 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
10373 (mips*-*-linux*): Likewise.
10374 (mips*-sde-elf*): Likewise.
10375 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
10376 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
10377 Add mips/t-mips16 to tmake_file.
10378 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
10379 (mips-*-elf*): Likewise.
10380 (mips64-*-elf*): Likewise.
10381 (mips64orion-*-elf*): Likewise.
10382 (mips*-*-rtems*): Likewise.
10383 (mipstx39-*-elf*): Likewise.
10384 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
10385 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
10386 LIBGCC_SYNC_CFLAGS.
10387 Use $(srcdir) to refer to sync.c.
10388 Use $<.
10389 ($(libgcc-sync-funcs-o)): Likewise.
10390 ($(libgcc-sync-size-funcs-s-o)): Likewise.
10391 ($(libgcc-sync-funcs-s-o)): Likewise.
10392
3cb6e5bd
AS
103932011-08-09 Andreas Schwab <schwab@linux-m68k.org>
10394
10395 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
10396 t-libunwind.
10397
cca2207a
L
103982011-08-08 H.J. Lu <hongjiu.lu@intel.com>
10399
10400 PR other/48007
10401 * config/i386/value-unwind.h: New.
10402
ed39fbad
RS
104032011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
10404
10405 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
10406 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
10407 Add to tmake_file rather than overriding it.
10408
aca0b0b3
RO
104092011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10410
10411 * config/t-softfp: Remove.
10412 * soft-fp: Moved from ../gcc/config.
10413 * soft-fp/README: Remove t-softfp reference.
10414 * soft-fp/t-softfp: Move to config/t-softfp.
10415 (softfp_machine_header): Remove.
10416 (softfp_file_list): Remove config subdir.
10417 (soft-fp-objects): New variable.
10418 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
10419 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
10420 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
10421 * config/t-softfp-excl: New file.
10422 * config/t-softfp-sfdf: New file.
10423 * config/t-softfp-tf: New file.
10424 * config/no-sfp-machine.h: New file.
10425 * config/arm/sfp-machine.h: New file.
10426 * config/arm/t-softfp: New file.
10427 * config/c6x/sfp-machine.h: New file.
10428 * config/i386/32/t-fprules-softfp: Rename to ...
10429 * config/i386/32/t-softfp: ... this.
10430 (tifunctions, LIB2ADD): Remove.
10431 (softfp_int_modes): Override.
10432 * config/i386/64/t-softfp-compat (tf-functions): Remove config
10433 subdir.
10434 * config/i386/64/eqtf2.c: Likewise.
10435 * config/i386/64/getf2.c: Likewise.
10436 * config/i386/64/letf2.c: Likewise.
10437 * config/ia64/sft-machine.h: New file.
10438 * config/ia64/t-fprules-softfp: Rename to ...
10439 * config/ia64/t-softfp: ... this.
10440 * config/lm32/sfp-machine.h: New file.
10441 * config/moxie/t-moxie-softfp: Remove.
10442 * config/rs6000/ibm-ldouble-format: New file.
10443 * config/rs6000/ibm-ldouble.c: New file.
10444 * config/rs6000/libgcc-ppc-glibc.ver: New file
10445 * config/rs6000/libgcc-ppc64.ver: New file
10446 * config/rs6000/sfp-machine.h: New file.
10447 * config/rs6000/t-freebsd: New file.
10448 * config/rs6000/t-ibm-ldouble: New file.
10449 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
10450 libgcc-ppc-glibc.ver.
10451 * config/rs6000/t-linux64: New file.
10452 * config/rs6000/t-ppccomm (LIB2ADD): Add
10453 $(srcdir)/config/rs6000/ibm-ldouble.c.
10454 * config/rs6000/t-ppccomm-ldbl: New file.
10455 * config/score/sfp-machine.h: New file.
10456 * config.host (sfp_machine_header): Explain.
10457 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
10458 t-softfp to tmake_file.
10459 (arm*-*-uclinux*): Likewise.
10460 (arm*-*-ecos-elf): Likewise.
10461 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
10462 (arm*-*-rtems*): Likewise.
10463 (arm*-*-elf): Likewise.
10464 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
10465 in tmake_file.
10466 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
10467 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
10468 (lm32-*-uclinux*): Likewise.
10469 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
10470 t-softfp-excl, t-softfp.
10471 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
10472 (powerpc64-*-darwin*): Likewise.
10473 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
10474 to tmake_file.
10475 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
10476 tmake_file.
10477 (powerpc-*-eabisim*): Likewise.
10478 (powerpc-*-elf*): Likewise.
10479 (powerpc-*-eabialtivec*): Likewise.
10480 (powerpc-xilinx-eabi*): Likewise.
10481 (powerpc-*-rtems*): Likewise.
10482 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
10483 t-softfp-excl, t-softfp to tmake_file.
10484 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
10485 rs6000/t-ppccomm-ldbl to tmake_file.
10486 (powerpcle-*-elf*): Likewise.
10487 (powerpcle-*-eabisim*): Likewise.
10488 (powerpcle-*-eabi*): Likewise.
10489 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10490 rs6000/t-ibm-ldouble to tmake_file.
10491 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10492 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10493 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
10494 (tic6x-*-*): Likewise.
10495 (i[34567]86-*-darwin*, x86_64-*-darwin*,
10496 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
10497 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
10498 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
10499 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
10500 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
10501 t-softfp to tmake_file.
10502 * configure.ac (sfp_machine_header): Provide default if unset.
10503 Substitute.
10504 Link sfp-machine.h to config/$sfp_machine_header.
10505 * configure: Regenerate.
10506
569dc494
RO
105072011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10508
10509 * Makefile.in (double_type_size, long_double_type_size): Set.
10510 Remove $(fpbit-in-libgcc) support.
10511 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
10512 (fpbit-src): New variable.
10513 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
10514 Compile with -DFLOAT $(FPBIT_CFLAGS).
10515 Use $<.
10516 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
10517 Compile with $(FPBIT_CFLAGS).
10518 Use $<.
10519 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
10520 Compile with -DFLOAT $(TPBIT_CFLAGS).
10521 Use $<.
10522 * configure.ac (double_type_size, long_double_type_size):
10523 Determine and substitute.
10524 * configure: Regenerate.
10525 * fp-bit.c, fp-bit.h: New files.
10526 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
10527 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
10528 * config/mips/t-mips: New file.
10529 * config/mips/t-sdemtk: New file.
10530 * config/rs6000/ppc64-fp.c: New file.
10531 * config/rs6000/t-darwin (LIB2ADD): Add
10532 $(srcdir)/config/rs6000/ppc64-fp.c.
10533 * config/rs6000/t-ppc64-fp: New file.
10534 * config/rx/rx-lib.h: New file.
10535 * config/rx/t-rx (FPBIT): Set to true.
10536 ($(gcc_objdir)/fp-bit.c): Remove.
10537 (DPBIT): Set to true only with -m64bit-doubles.
10538 ($(gcc_objdir)/dp-bit.c): Remove.
10539 * config/sparc/t-softfp: Remove.
10540 * config/spu/t-elf: New file.
10541 * config/t-fdpbit, config/t-fpbit: New files.
10542 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
10543 (mips*-*-*): Likewise.
10544 (arm-wrs-vxworks): Likewise.
10545 (arm*-*-freebsd*): Likewise.
10546 (avr-*-rtems*): Add t-fpbit to tmake_file.
10547 (avr-*-*): Likewise.
10548 (bfin*-elf*): Add t-fdpbit to tmake_file.
10549 (bfin*-uclinux*): Likewise.
10550 (bfin*-linux-uclibc*): Likewise.
10551 (bfin*-rtems*): New case.
10552 Add t-fdpbit to tmake_file.
10553 (bfin*-*): Add t-fdpbit to tmake_file.
10554 (crisv32-*-elf): Likewise.
10555 (cris-*-linux*): Likewise.
10556 (fr30-*-elf): Likewise.
10557 (frv-*-elf, frv-*-*linux*): Likewise.
10558 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
10559 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
10560 (m32r-*-elf*): Likewise.
10561 (m32rle-*-elf*): Likewise.
10562 (m32r-*-linux*): Likewise.
10563 (m32rle-*-linux*): Likewise.
10564 (mcore-*-elf): Add t-fdpbit to tmake_file.
10565 (microblaze*-*-*): Likewise.
10566 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
10567 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
10568 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
10569 Fix typo.
10570 Add mips/t-tpbit to tmake-file.
10571 (mips*-*-linux*): Fix typo.
10572 (mips*-sde-elf*): New case
10573 Add mips/t-sdemtk unless using newlib.
10574 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
10575 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
10576 (mn10300-*-*): Likewise.
10577 (pdp11-*-*): Likewise.
10578 (picochip-*-*): Add t-fpbit to tmake_file.
10579 (powerpc-*-eabisimaltivec*): Likewise.
10580 (powerpc-*-eabisim*): Likewise.
10581 (powerpc-*-elf*): Likewise.
10582 (powerpc-*-eabialtivec*): Likewise.
10583 (powerpc-xilinx-eabi*): New case.
10584 Add t-fdpbit to tmake_file.
10585 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
10586 (powerpc-*-rtems*): Likewise.
10587 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
10588 tmake_file.
10589 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
10590 tmake_file.
10591 (powerpc-*-lynxos*): Likewise.
10592 (powerpcle-*-elf*): Likewise.
10593 (powerpcle-*-eabisim*): Likewise.
10594 (powerpcle-*-eabi*): Likewise.
10595 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10596 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
10597 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10598 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10599 (rx-*-elf): Add t-fdpbit to tmake_file.
10600 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10601 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10602 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10603 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
10604 sh*-*-netbsd*.
10605 (sh-*-rtems*): Add t-fdpbit to tmake_file.
10606 (sh-wrs-vxworks): Likewise.
10607 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
10608 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
10609 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
10610 (sparc64-*-rtems*): ... new case.
10611 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
10612 (spu-*-elf*): Likewise.
10613 Add spu/t-elf to tmake_file.
10614 (v850*-*-*): Add t-fdpbit to tmake_file.
10615 (xstormy16-*-elf): Likewise.
10616 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
10617 (mep*-*-*): Likewise.
10618
201cdb74
RO
106192011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10620
10621 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
10622 variables.
10623 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
10624 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
10625 (install-unwind_h): New target.
10626 (all): Depend on it.
10627 * config.host (unwind_header): New variable.
10628 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
10629 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10630 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
10631 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
10632 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
10633 Set unwind_header.
10634 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
10635 Set unwind_header.
10636 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
10637 arm*-*-eabi*.
10638 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
10639 Set unwind_header.
10640 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
10641 (ia64*-*-freebsd*): Likewise.
10642 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
10643 tmake_file.
10644 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
10645 $with_system_libunwind.
10646 (ia64*-*-hpux*): Set tmake_file.
10647 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
10648 (picochip-*-*): Set tmake_file.
10649 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
10650 md_unwind_header.
10651 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10652 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10653 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
10654 (xtensa*-*-elf*): Set tmake_file.
10655 (xtensa*-*-linux*): Likewise.
10656 * configure.ac: Include ../config/unwind_ipinfo.m4.
10657 Call GCC_CHECK_UNWIND_GETIPINFO.
10658 Link unwind.h to $unwind_header.
10659 * configure: Regenerate.
10660 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
10661 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
10662 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
10663 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
10664 * config/unwind-dw2-fde-darwin.c: New file.
10665 * config/arm/libunwind.S, config/arm/pr-support.c,
10666 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
10667 config/arm/unwind-arm.h,: New files.
10668 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
10669 config/ia64/t-eh-ia64, config/ia64/t-glibc,
10670 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
10671 config/ia64/t-vms, config/ia64/unwind-ia64.c,
10672 config/ia64/unwind-ia64.h: New files.
10673 * config/picochip/t-picochip: New file.
10674 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
10675 files.
10676 * config/rs6000/t-darwin (LIB2ADDEH): Set.
10677 * config/s390/t-tpf (LIB2ADDEH): Remove.
10678 * config/t-darwin (LIB2ADDEH): Set.
10679 * config/t-eh-dw2-dip: New file.
10680 * config/t-libunwind, config/t-libunwind-elf: New files.
10681 * config/t-sol2 (LIB2ADDEH): Remove.
10682 * config/xtensa/t-xtensa: New file.
10683
40f2f11f
L
106842011-08-02 H.J. Lu <hongjiu.lu@intel.com>
10685
10686 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
10687 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
10688 long long to check rt_sigreturn syscall.
10689
bd15e32c
AM
106902011-08-02 Alan Modra <amodra@gmail.com>
10691
10692 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
10693 Restore for indirect call bcrtl from correct stack slot, and only
10694 if cfa+40 isn't valid.
10695
655b30bf
JB
106962011-08-01 Julian Brown <julian@codesourcery.com>
10697
10698 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
10699 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
10700 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
10701
247eb06f
JB
107022011-08-01 Julian Brown <julian@codesourcery.com>
10703
10704 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
10705 (libgcc-std.ver.in): Use above.
10706 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
10707 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
10708 throughout file.
10709 * config/t-fixedpoint-gnu-prefix: New file.
10710 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
10711 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
10712 instead of __PFX__.
10713
02a8fe00
L
107142011-07-28 H.J. Lu <hongjiu.lu@intel.com>
10715
10716 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
10717 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
10718 for x86-64. Properly check __x86_64__ and __LP64__.
10719
5fce9126
L
107202010-07-28 H.J. Lu <hongjiu.lu@intel.com>
10721
10722 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
10723 version.
10724 (_FP_WS_TYPE): Likewise.
10725 (_FP_I_TYPE): Likewise.
10726
2374a88a
AM
107272011-07-28 Alan Modra <amodra@gmail.com>
10728
10729 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
10730 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
10731 in a plt call stub. Do restore r2 if stopped on bctrl.
10732
e44dbbe1
RO
107332011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10734
10735 * config.host (i[3456x]86-*-netware*): Remove.
10736 * config/i386/netware-crt0.c, config/i386/t-nwld,
10737 config/i386/t-slibgcc-nwld: Remove.
10738
bcead286
BS
107392011-07-15 Bernd Schmidt <bernds@codesourcery.com>
10740
10741 * config.host: Handle tic6x-*-*.
10742 * config/c6x/c6x-abi.h: New file.
10743
b3fe1584
RO
107442011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10745
10746 * config/i386/crtprec.c: New file.
10747 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
10748 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
10749 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
10750 (x86_64-*-darwin*): Likewise.
10751 (i[34567]86-*-solaris2*: Likewise.
10752
35d8090d
RO
107532011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10754
10755 * config/alpha/crtfastmath.c: New file.
10756 * config/i386/crtfastmath.c: New file.
10757 * config/ia64/crtfastmath.c: New file.
10758 * config/mips/crtfastmath.c: New file.
10759 * config/sparc/crtfastmath.c: New file.
10760
10761 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
10762 crtfastmath.c.
10763 Add -frandom-seed=gcc-crtfastmath.
10764 * config/alpha/t-crtfm: Remove.
10765 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
10766 * config/ia64/t-ia64 (crtfastmath.o): Remove.
10767
10768 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
10769 (alpha*-dec-osf5.1*): Likewise.
10770 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
10771 Add crtfastmath.o to extra_parts.
10772 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
10773 Add crtfastmath.o to extra_parts.
10774 (x86_64-*-darwin*): Likewise.
10775 (x86_64-*-mingw*): Likewise.
10776 (ia64*-*-elf*): Add t-crtfm to tmake_file.
10777 (ia64*-*-freebsd*): Likewise.
10778 (ia64*-*-linux*): Likewise.
10779 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
10780 Add crtfastmath.o to extra_parts.
10781
e141542e
RO
107822011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10783
10784 * config/darwin-crt3.o: New file.
10785 * config/rs6000/darwin-crt2.c: New file.
10786 * config/t-darwin: New file.
10787 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
10788 (crt2.o): New rule.
10789 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
10790 (powerpc-*-darwin*): Add crt2.o to extra_parts.
10791 (powerpc64-*-darwin*): Likewise.
10792
2d1efe2d
RO
107932011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10794
10795 * config/i386/netware-crt0.c: New file.
10796 * config/i386/t-nwld: Rename to ...
10797 * config/i386/t-slibgcc-nwld: ... this.
10798 * config/i386/t-nwld: New file.
10799 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
10800 tmake_file.
10801 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
10802 extra_parts.
10803
4a8bb046
RO
108042011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10805
10806 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
10807 i386/t-crtstuff.
10808 * configure: Regenerate.
10809
2d8d5935
RO
108102011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10811
10812 * dfp-bit.c, dfp-bit.h: New files.
10813 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
10814 variables.
10815 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
10816 ($(d64pbit-o)): Likewise.
10817 ($(d128pbit-o)): Likewise.
10818 * config/t-dfprules: New file.
10819 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
10820 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
10821 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
10822 (x86_64-*-linux*): Likewise.
10823 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
10824 (i[34567]86-*-cygwin*): Likewise.
10825 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
10826 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
10827
2c50b2c3
RO
108282011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10829
10830 * Makfile.in (LIBGCOV): New variable.
10831 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
10832 * libgcov.c: New file.
10833
a039d7c2
RO
108342011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10835
10836 * fixed-bit.c, fixed-bit.h: New files.
10837 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
10838 refer to fixed-bit.c.
10839
1e4b2746
JM
108402011-07-07 Joseph Myers <joseph@codesourcery.com>
10841
10842 * config.host (*local*): Remove.
10843
fbdd5d87
RO
108442011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10845
10846 PR target/39150
10847 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
10848 like i?86-*-solaris2.1[0-9]*.
10849 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
10850 * configure.ac (i?86-*-solaris2*): Likewise.
10851 * configure: Regenerate.
10852
9e7714f4
TS
108532011-07-06 Thomas Schwinge <thomas@schwinge.name>
10854
10855 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
10856 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
10857 md_unwind_header by splitting out of...
10858 (i[34567]86-*-linux*): ... this.
10859 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
10860 Remove md_unwind_header by splitting out of...
10861 (x86_64-*-linux*): ... this.
10862
6dab9931
GJL
108632011-07-04 Georg-Johann Lay <avr@gjlay.de>
10864
10865 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
10866
4be46d19
NC
108672011-06-28 Nick Clifton <nickc@redhat.com>
10868
10869 * config.host: Recognize all V850 variants.
10870
1da9434b
UB
108712011-06-22 Uros Bizjak <ubizjak@gmail.com>
10872
10873 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
10874
e4d48a4d
RO
108752011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10876
10877 * shared-object.mk (c_flags-$o): Save c_flags.
10878 ($(base)$(objext)): Use it.
10879 ($(base)_s$(objext)): Likewise.
10880
3801c801
BS
108812011-06-21 Bernd Schmidt <bernds@codesourcery.com>
10882
10883 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
10884 * libgcc-std.ver.in (GCC_4.7.0): New section.
10885
0ad8bb3b 108862011-06-16 Georg-Johann Lay <avr@gjlay.de>
1da9434b 10887
0ad8bb3b
GJL
10888 PR target/49313
10889 PR target/29524
10890 * config/avr/t-avr: Fix line endings.
10891 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
10892 _parityXX2.
10893
ea963999
OH
108942011-06-14 Olivier Hainque <hainque@adacore.com>
10895 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10896
10897 * config/mips/irix6-unwind.h: New file.
10898 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
10899
b11b0904
EB
109002011-06-10 Eric Botcazou <ebotcazou@adacore.com>
10901
10902 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
10903 (sparc64_fallback_frame_state): Use it.
10904 (sparc64_frob_update_context): Further adjust context.
10905 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
10906 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
10907 * config/sparc/sol2-cn.S: Likewise.
10908
10e48e39
RO
109092011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10910
10911 * enable-execute-stack-empty.c: New file.
10912 * enable-execute-stack-mprotect.c: New file.
10913 * config/i386/enable-execute-stack-mingw32.c: New file.
10914 * config.host (enable_execute_stack): New variable.
10915 Select appropriate variants.
10916 * configure.ac: Link enable-execute-stack.c to
10917 $enable_execute_stack.
10918 * configure: Regenerate.
10919 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
10920 (lib2funcs): Remove _enable_execute_stack.
10921
10c4cabc
DM
109222011-06-09 David S. Miller <davem@davemloft.net>
10923 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10924
10925 * config.host (sparc-*-linux*): Correct md_unwind_header
10926 filename.
10927 (s390x-ibm-tpf*): Fix typo.
10928
aa4203e7
RO
109292011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10930
10931 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
10932 Add crtfastmath.o to extra_parts.
10933 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
10934 mips/t-crtfm.
10935 * config/mips/t-crtfm: Remove.
10936
0defd786
JDA
109372011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
10938
10939 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
10940
82f247af
KK
109412011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
10942
10943 * config.host (sh*-*-linux*): Fix typo.
10944
58cd1d70
RO
109452011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10946
10947 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
10948 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
10949 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
10950 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
10951 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
10952 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
10953 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
10954 Wrap in !__MINGW64__.
10955 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
10956 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
10957 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
10958 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
10959 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
10960 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
10961 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
10962 Wrap in !__LP64__.
10963 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
10964 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
10965 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
10966 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
10967 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
10968 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
10969 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
10970 * config/no-unwind.h: New file.
10971 * config.host (md_unwind_header): Document.
10972 Define.
10973 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
10974 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
10975 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
10976 hppa[12]*-*-hpux11*): Set md_unwind_header.
10977 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
10978 Set md_unwind_header.
10979 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
10980 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
10981 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
10982 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
10983 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
10984 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
10985 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
10986 md_unwind_header.
10987 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
10988 * configure: Regenerate.
10989
737346fa
RO
109902011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10991
10992 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
10993 Set tmake_file, extra_parts.
10994 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
10995 Remove O32 support.
10996 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
10997 Remove O32 support.
10998 * config/mips/t-irix6: New file.
10999 * config/mips/t-slibgcc-irix: New file.
11000
c192cee6
RO
110012011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11002
11003 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
11004 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
11005
ee33b5f0
RO
110062011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11007
11008 * configure.ac (target_thread_file): Determine thread model.
11009 * configure: Regenerate.
11010 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
11011 * config/alpha/t-alpha: New file.
11012 * config/alpha/t-crtfm: Use $<.
11013 * config/alpha/t-ieee: New file.
11014 * config/alpha/t-osf-pthread: New file.
11015 * config/alpha/t-slibgcc-osf: New file.
11016 * config/alpha/libgcc-osf5.ver: New file.
11017
0699e415
RO
110182011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11019
11020 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
11021 tmake_file.
11022 Add crtfastmath.o to extra_parts.
11023
a3fab9c2
RO
110242011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11025
11026 * config/gmon-sol2.c: Reindent.
11027 Cleanup comments.
11028 Remove, correct casts.
11029 Use STDERR_FILENO, NULL.
11030 (BASEADDRESS): Remove.
11031 (minbrk): Remove.
11032 (errno, sbrk): Remove declarations.
11033 (monstartup) [hp300]: Remove.
11034 (mcount): Remove.
11035
ca24c5ad
RO
110362011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11037
11038 * Makefile.in (cpu_type): Define.
11039 * config.host (i[34567]86-*-rtems*): Handle it.
11040 (i[34567]86-*-solaris2*): Move body ...
11041 (*-*-solaris2*): ... here.
11042 New case, generalize.
11043 (sparc-*-elf*): Handle it.
11044 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
11045 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
11046 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
11047 Fold into ...
11048 (sparc*-*-solaris2*): ... this.
11049 New case.
11050 (sparc64-*-elf*): Handle it.
11051 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
11052 Merge ../gcc/config/i386/gmon-sol2.c.
11053 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
11054 Use C comments.
11055 Merge ../gcc/config/i386/sol2-gc1.asm.
11056 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
11057 Use C comments.
11058 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
11059 Use C comments.
11060 * config/i386/t-crtfm (crtfastmath.o): Use $<.
11061 * config/i386/t-crtstuff: New file.
11062 * config/i386/t-softfp: New file.
11063 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
11064 $(T)crti.o, $(T)crtn.o): Remove.
11065 (gcrt1.o): New rule.
11066 (TARGET_LIBGCC2_CFLAGS): Remove.
11067 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
11068 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
11069 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
11070 * config/sparc/t-sol2: New file.
11071 * config/sparc/t-crtfm: Move to ...
11072 * config/t-crtfm: ... this.
11073 Use $(cpu_type), $<.
11074 * config/t-crtin: New file.
11075 * config/sparc/t-softfp: New file.
11076 * config/sparc/t-softmul: New file.
11077 * config/t-rtems: New file.
11078 * config/t-slibgcc: New file.
11079 * config/t-slibgcc-elf-ver: New file.
11080 * config/t-slibgcc-gld: New file.
11081 * config/t-slibgcc-sld: New file.
11082 * config/t-sol2: New file.
11083 * configure.ac: Include ../config/lib-ld.m4.
11084 Call AC_LIB_PROG_LD_GNU.
11085 Substitute cpu_type.
11086 * configure: Regenerate.
11087
ad5f3d7b
BS
110882011-05-27 Bernd Schmidt <bernds@codesourcery.com>
11089
11090 PR bootstrap/49173
11091 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
11092 libgcc-std.ver in the build directory.
11093 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
11094 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
11095
cdbf4541
BS
110962011-05-25 Bernd Schmidt <bernds@codesourcery.com>
11097
11098 * libgcc-std.ver.in: New file.
11099 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
11100 variables.
11101 (libgcc-std.ver): New rule.
11102 * config/t-gnu-prefix: New file.
11103
c8028650
RO
111042011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11105
11106 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
11107
4a68b4ca
JM
111082011-05-10 Joseph Myers <joseph@codesourcery.com>
11109
11110 * config/i386/darwin-lib.h: New file.
11111
80cf2e08
JM
111122011-05-10 Joseph Myers <joseph@codesourcery.com>
11113
11114 * config/arm/symbian-lib.h: New.
11115
a3330c9d
CD
111162011-05-04 Chris Demetriou <cgd@google.com>
11117
11118 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
11119 (__x86.get_pc_thunk.bx): ...this.
11120 (__morestack): Adjust for rename, remove undef of __i686.
11121
6ace0756
CD
111222011-05-03 Chris Demetriou <cgd@google.com>
11123
11124 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
11125
ebb9f8b0
JM
111262011-03-22 Joseph Myers <joseph@codesourcery.com>
11127
11128 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
11129 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
11130 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
11131 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
11132 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
11133 Remove cases.
11134
9cfa1499
AT
111352011-03-14 Andreas Tobler <andreast@fgznet.ch>
11136
11137 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
11138 Adjust copyright year.
11139
457186f6
ILT
111402011-03-07 Ian Lance Taylor <iant@google.com>
11141
11142 * generic-morestack.c (__splitstack_find): Adjust returned stack
11143 pointer to include all registers pushed by __morestack.
11144
58c741a6
DK
111452011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
11146
11147 PR target/40125
11148 * configure.ac: Call ACX_NONCANONICAL_TARGET.
11149 (toolexecdir): Calculate and AC_SUBST.
11150 (toolexeclibdir): Likewise.
11151 * Makefile.in (target_noncanonical): Import.
11152 (toolexecdir): Likewise.
11153 (toolexeclibdir): Likewise.
11154 * configure: Regenerate.
11155
26716c44
NF
111562010-12-13 Nathan Froyd <froydnj@codesourcery.com>
11157
11158 PR target/46040
11159 * config/arm/bpabi.h: Rename to...
11160 * config/arm/bpabi-lib.h: ...this.
11161
b595b1a1
RO
111622010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11163
11164 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
11165 appropriate.
11166 * configure: Regenerate.
11167
a3abe41c
NF
111682010-11-24 Nathan Froyd <froydnj@codesourcery.com>
11169
11170 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
11171 __FLOAT_WORD_ORDER__.
11172 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
11173 Delete.
11174
455c8f48
RW
111752010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11176
11177 PR other/46202
11178 * Makefile.in (install-strip): New phony target.
11179
f3824a8b
ILT
111802010-11-07 Ian Lance Taylor <iant@google.com>
11181
11182 PR target/46089
11183 * config/i386/morestack.S (__morestack_large_model): New
11184 function.
11185
18ed6ee4
NF
111862010-10-23 Nathan Froyd <froydnj@codesourcery.com>
11187
11188 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
11189 Delete.
11190 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
11191
8ac7fdcb
NF
111922010-10-14 Nathan Froyd <froydnj@codesourcery.com>
11193
11194 * config/arm/bpabi.h: New file.
11195 * config/frv/frv-abi.h: New file.
11196
cdb388c2
ILT
111972010-10-01 Ian Lance Taylor <iant@google.com>
11198
11199 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
11200 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
11201
ef7c141c
L
112022010-10-01 H.J. Lu <hongjiu.lu@intel.com>
11203
11204 PR target/45858
11205 * config.host: Add the missing `$'.
11206
80920132
ME
112072010-09-30 Michael Eager <eager@eagercon.com>
11208
11209 * config.host: Add microblaze*-*-*.
11210 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
11211 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
11212 udivsi3.asm,umodsi3.asm}: New.
11213
6dace308
ILT
112142010-09-28 Ian Lance Taylor <iant@google.com>
11215
11216 * configure.ac: Adjust CFI test to test assembler directly rather
11217 than checking gcc preprocessor macro.
11218 * configure: Rebuild.
11219
b6110d6d
ILT
112202010-09-27 Ian Lance Taylor <iant@google.com>
11221
11222 * configure.ac: Test whether assembler supports CFI directives.
11223 * config.host: Only add t-stack and i386/t-stack-i386 to
11224 tmake_file if libgcc_cv_cfi is "yes".
11225 * configure: Rebuild.
11226
7458026b
ILT
112272010-09-27 Ian Lance Taylor <iant@google.com>
11228
11229 * generic-morestack.h: New file.
11230 * generic-morestack.c: New file.
11231 * generic-morestack-thread.c: New file.
11232 * config/i386/morestack.S: New file.
11233 * config/t-stack: New file.
11234 * config/i386/t-stack-i386: New file.
11235 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
11236 i386/t-stack-i386 to tmake_file.
11237
5b50fc0c
IS
112382010-09-21 Iain Sandoe <iains@gcc.gnu.org>
11239
11240 * Makefile.in (libgcc-extra-parts): Check for static archives and
11241 invoke ranlib after installing them.
11242 (gcc-extra-parts): Likewise.
11243 (install-leaf): Likewise.
11244
b93cf342
L
112452010-09-14 H.J. Lu <hongjiu.lu@intel.com>
11246
11247 * configure: Regenerated.
11248
996b42ef
KT
112492010-09-10 Kai Tietz <kai.tietz@onevision.com>
11250
b93cf342 11251 * configure: Regenerated.
996b42ef 11252
be1c764e
GP
112532010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
11254 Andrew Pinski <pinskia@gmail.com>
11255
1da9434b 11256 PR target/40959
be1c764e
GP
11257 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
11258
cc0ae0ca
L
112592010-09-06 H.J. Lu <hongjiu.lu@intel.com>
11260
11261 PR target/45524
11262 * configure: Regenerated.
11263
84f47d20
AS
112642010-09-06 Andreas Schwab <schwab@redhat.com>
11265
11266 * configure: Regenerate.
11267
4159fb8d
UB
112682010-09-03 Uros Bizjak <ubizjak@gmail.com>
11269
11270 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
11271 64bit targets.
11272 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
11273 for 64bit targets.
11274
0df8fcc8
UB
112752010-09-03 Uros Bizjak <ubizjak@gmail.com>
11276 Iain Sandoe <iains@gcc.gnu.org>
11277
11278 PR target/45476
11279 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
11280 LIB2FUNCS_EXCLUDE functions.
11281
3c39bca6
AK
112822010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11283
11284 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
11285 Include dfp.m4.
11286 * configure: Regenerate.
11287
d78552bd
UB
112882010-09-01 Uros Bizjak <ubizjak@gmail.com>
11289
11290 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
11291 i386/t-freebsd to tmake_file.
11292 * config/i386/t-freebsd: New file.
11293 * config/i386/libgcc-bsd.ver: New file.
11294
c5b79d4e
NF
112952010-07-23 Nathan Froyd <froydnj@codesourcery.com>
11296
11297 * config.host (powerpc*-eabispe*): Set tmake_file.
11298 (powerpc*-eabi*): Likewise.
11299 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
11300 crtbeginS, crtendS, crtbeginT.
11301
48b09a92
KH
113022010-06-12 Kazu Hirata <kazu@codesourcery.com>
11303
11304 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
11305 to tmake_file. Add crtfastmath.o to extra_parts.
11306 * config/mips/t-crtfm: New.
11307
7d296953 113082010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
a4389204
JS
11309
11310 * config.host (sparc64-*-rtems*): New target.
11311
ed104137
RO
113122010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11313
11314 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
11315 assembler syntax.
11316
3f56ef8b
TS
113172010-04-15 Thomas Schwinge <tschwinge@gnu.org>
11318
11319 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
11320
8c200350
RO
113212010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11322
11323 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
11324 alpha-dec-osf5.0* support.
11325
7d296953 113262010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
c1b14424
RC
11327
11328 * config.host: Add lm32-*-rtems*.
11329
f128db92 113302010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7d296953 11331 Uros Bizjak <ubizjak@gmail.com>
f128db92
RO
11332
11333 PR target/39048
11334 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
11335 like other remaining 32-bit x86 OSes.
11336 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
11337 assembler syntax.
11338 * config/i386/libgcc-sol2.ver: New file.
11339 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
11340
7d296953 113412010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
368fabd5
JH
11342
11343 PR c/43553
11344 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
11345 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
11346 is used and substitute set_use_emutls.
11347 * configure: Regenerated.
11348
15baf7f8
TG
113492010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
11350
11351 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
11352
7f5441df
RO
113532010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11354
11355 PR target/38085
11356 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
11357 MULTILIB_CFLAGS.
11358 ($(T)gcrt1.o): Likewise.
11359 ($(T)crt1.o): Likewise.
11360 ($(T)crti.o): Likewise.
11361 ($(T)crtn.o): Likewise.
11362
ef74edbd
RW
113632010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11364
11365 PR other/42980
11366 * Makefile.in (install): Use $(MAKE) string in rule, for
11367 parallel make.
11368
e7c914db
HPN
113692010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
11370
11371 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
11372 * config/mmix/t-mmix: New file.
11373 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
11374
1bcb71c4
JH
113752010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
11376
11377 PR java/41991
11378 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
11379 SHLIB_MAPFILES.
11380
e6e50811
AG
113812010-01-04 Anthony Green <green@moxielogic.com>
11382
11383 * config/moxie/crti.asm, config/moxie/crtn.asm,
11384 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
11385 config/moxie/t-moxie: New files.
11386 * config.host: Add t-moxie-softfp reference.
11387
7d296953 113882009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
ca8520ad
IS
11389
11390 PR other/39888
11391 * config/t-slibgcc-darwin: Fix embedded rpaths for
11392 --enable-version-specific-runtime-libs, build extension stub
11393 libs exposing features available from current libgcc_s.
11394
7d296953 113952009-11-11 Jon Beniston <jon@beniston.com>
aa4945c1 11396
d78552bd
UB
11397 * config.host: Add lm32 targets.
11398 * config/lm32: New directory.
11399 * config/lm32/libgcc_lm32.h: New file.
11400 * config/lm32/_mulsi3.c: New file.
11401 * config/lm32/_udivmodsi4.c: New file.
11402 * config/lm32/_divsi3.c: New file.
11403 * config/lm32/_modsi3.c: New file.
11404 * config/lm32/_udivsi3.c: New file.
11405 * config/lm32/_umodsi3.c: New file.
11406 * config/lm32/_lshrsi3.S: New file.
11407 * config/lm32/_ashrsi3.S: New file.
11408 * config/lm32/_ashlsi3.S: New file.
11409 * config/lm32/crti.S: New file.
11410 * config/lm32/crtn.S: New file.
11411 * config/lm32/t-lm32: New file.
11412 * config/lm32/t-elf: New file.
11413 * config/lm32/t-uclinux: New file.
aa4945c1 11414
65a324b4
NC
114152009-10-26 Nick Clifton <nickc@redhat.com>
11416
11417 * config.host: Add support for RX target.
11418 * config/rx: New directory.
11419 * config/rx/rx-abi-functions.c: New file. Supplementary
11420 functions for libgcc to support the RX ABI.
11421 * config/rx/rx-abi.h: New file. Supplementary header file for
11422 libgcc RX ABI functions.
11423 * config/rx/t-rx: New file: Makefile fragment for building
11424 libgcc for the RX.
11425
dfb3b0e3
UB
114262009-10-09 Uros Bizjak <ubizjak@gmail.com>
11427
11428 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
11429 constraint of y0 to "g".
11430
81dd9fd7
AK
114312009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11432
11433 * config.host: Include the s390 makefile fragments.
11434 * config/s390/32/_fixdfdi.c: New file.
11435 * config/s390/32/_fixsfdi.c: New file.
11436 * config/s390/32/_fixtfdi.c: New file.
11437 * config/s390/32/_fixunsdfdi.c: New file.
11438 * config/s390/32/_fixunssfdi.c: New file.
11439 * config/s390/32/_fixunstfdi.c: New file.
11440 * config/s390/32/t-floattodi: New file.
11441 * config/s390/libgcc-glibc.ver: New file.
11442 * config/s390/t-crtstuff: New file.
11443 * config/s390/t-linux: New file.
11444 * config/s390/t-tpf: New file.
11445
df58e648
RW
114462009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11447
11448 * configure.ac (AC_PREREQ): Bump to 2.64.
11449
79052be3
KK
114502009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
11451
11452 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
11453
5213506e
RW
114542009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11455
11456 * configure: Regenerate.
11457
a9a25daa
DR
114582009-08-09 Douglas B Rupp <rupp@gnat.com>
11459
11460 * config.host (ia64-hp-*vms*): New target.
11461 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
11462 with ia64-hp-*vms*.
11463
6efbd53f
RW
114642009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11465
11466 * configure.ac: Add snippet for maintainer-mode.
11467 * configure: Regenerate.
11468 * Makefile.in (AUTOCONF, configure_deps): New variables.
11469 ($(srcdir)/configure)): New rule, active only with maintainer
11470 mode turned on.
11471
7acf4da6
DD
114722009-06-23 DJ Delorie <dj@redhat.com>
11473
11474 Add MeP port.
11475 * config.host: Add mep support.
11476
54f549af
KT
114772009-06-22 Kai Tietz <kai.tietz@onevision.com>
11478
34481f28 11479 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 11480 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
34481f28
UB
11481
11482 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
11483 for mingw targets.
54f549af
KT
11484 * config/i386/64/_multc3.c: Likewise.
11485 * config/i386/64/_powitf2.c: Likewise.
11486 * config/i386/64/eqtf2.c: Likewise.
11487 * config/i386/64/getf2.c: Likewise.
11488 * config/i386/64/letf2.c: Likewise.
11489 * config/i386/64/letf2.c: Likewise.
34481f28
UB
11490 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
11491 unsigned long long for x64 mingw targets.
11492 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
11493 (_FP_I_TYPE): Define as long long for x64 mingw target.
54f549af 11494
fea96e25
MR
114952009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
11496
11497 * config.host (vax-*-linux*): New.
11498
cceb575c
AG
114992009-05-31 Anthony Green <green@moxielogic.com>
11500
11501 * config.host: Add moxie support.
11502 * config/moxie/t-moxie: New file.
11503
7d296953 115042009-05-29 David Billinghurst <billingd@gcc.gnu.org>
e997fb9c
DB
11505
11506 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 11507 t-softfp to tmake_file for i[34567]86-*-cygwin*.
e997fb9c 11508
532bfb0a
AJ
115092009-04-17 Aurelien Jarno <aurelien@aurel32.net>
11510
11511 * config.host: Add i386/${host_address}/t-fprules-softfp to
11512 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
11513
748086b7
JJ
115142009-04-09 Nick Clifton <nickc@redhat.com>
11515
11516 * config/ia64/tf-signs.c: Change copyright header to refer to
11517 version 3 of the GNU General Public License with version 3.1
11518 of the GCC Runtime Library Exception and to point readers at
11519 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
11520 web page.
11521 * config/i386/32/tf-signs.c: Likewise.
11522 * config/libbid/_addsub_dd.c: Likewise.
11523 * config/libbid/_addsub_sd.c: Likewise.
11524 * config/libbid/_addsub_td.c: Likewise.
11525 * config/libbid/_dd_to_df.c: Likewise.
11526 * config/libbid/_dd_to_di.c: Likewise.
11527 * config/libbid/_dd_to_sd.c: Likewise.
11528 * config/libbid/_dd_to_sf.c: Likewise.
11529 * config/libbid/_dd_to_si.c: Likewise.
11530 * config/libbid/_dd_to_td.c: Likewise.
11531 * config/libbid/_dd_to_tf.c: Likewise.
11532 * config/libbid/_dd_to_udi.c: Likewise.
11533 * config/libbid/_dd_to_usi.c: Likewise.
11534 * config/libbid/_dd_to_xf.c: Likewise.
11535 * config/libbid/_df_to_dd.c: Likewise.
11536 * config/libbid/_df_to_sd.c: Likewise.
11537 * config/libbid/_df_to_td.c: Likewise.
11538 * config/libbid/_di_to_dd.c: Likewise.
11539 * config/libbid/_di_to_sd.c: Likewise.
11540 * config/libbid/_di_to_td.c: Likewise.
11541 * config/libbid/_div_dd.c: Likewise.
11542 * config/libbid/_div_sd.c: Likewise.
11543 * config/libbid/_div_td.c: Likewise.
11544 * config/libbid/_eq_dd.c: Likewise.
11545 * config/libbid/_eq_sd.c: Likewise.
11546 * config/libbid/_eq_td.c: Likewise.
11547 * config/libbid/_ge_dd.c: Likewise.
11548 * config/libbid/_ge_sd.c: Likewise.
11549 * config/libbid/_ge_td.c: Likewise.
11550 * config/libbid/_gt_dd.c: Likewise.
11551 * config/libbid/_gt_sd.c: Likewise.
11552 * config/libbid/_gt_td.c: Likewise.
11553 * config/libbid/_isinfd128.c: Likewise.
11554 * config/libbid/_isinfd32.c: Likewise.
11555 * config/libbid/_isinfd64.c: Likewise.
11556 * config/libbid/_le_dd.c: Likewise.
11557 * config/libbid/_le_sd.c: Likewise.
11558 * config/libbid/_le_td.c: Likewise.
11559 * config/libbid/_lt_dd.c: Likewise.
11560 * config/libbid/_lt_sd.c: Likewise.
11561 * config/libbid/_lt_td.c: Likewise.
11562 * config/libbid/_mul_dd.c: Likewise.
11563 * config/libbid/_mul_sd.c: Likewise.
11564 * config/libbid/_mul_td.c: Likewise.
11565 * config/libbid/_ne_dd.c: Likewise.
11566 * config/libbid/_ne_sd.c: Likewise.
11567 * config/libbid/_ne_td.c: Likewise.
11568 * config/libbid/_sd_to_dd.c: Likewise.
11569 * config/libbid/_sd_to_df.c: Likewise.
11570 * config/libbid/_sd_to_di.c: Likewise.
11571 * config/libbid/_sd_to_sf.c: Likewise.
11572 * config/libbid/_sd_to_si.c: Likewise.
11573 * config/libbid/_sd_to_td.c: Likewise.
11574 * config/libbid/_sd_to_tf.c: Likewise.
11575 * config/libbid/_sd_to_udi.c: Likewise.
11576 * config/libbid/_sd_to_usi.c: Likewise.
11577 * config/libbid/_sd_to_xf.c: Likewise.
11578 * config/libbid/_sf_to_dd.c: Likewise.
11579 * config/libbid/_sf_to_sd.c: Likewise.
11580 * config/libbid/_sf_to_td.c: Likewise.
11581 * config/libbid/_si_to_dd.c: Likewise.
11582 * config/libbid/_si_to_sd.c: Likewise.
11583 * config/libbid/_si_to_td.c: Likewise.
11584 * config/libbid/_td_to_dd.c: Likewise.
11585 * config/libbid/_td_to_df.c: Likewise.
11586 * config/libbid/_td_to_di.c: Likewise.
11587 * config/libbid/_td_to_sd.c: Likewise.
11588 * config/libbid/_td_to_sf.c: Likewise.
11589 * config/libbid/_td_to_si.c: Likewise.
11590 * config/libbid/_td_to_tf.c: Likewise.
11591 * config/libbid/_td_to_udi.c: Likewise.
11592 * config/libbid/_td_to_usi.c: Likewise.
11593 * config/libbid/_td_to_xf.c: Likewise.
11594 * config/libbid/_tf_to_dd.c: Likewise.
11595 * config/libbid/_tf_to_sd.c: Likewise.
11596 * config/libbid/_tf_to_td.c: Likewise.
11597 * config/libbid/_udi_to_dd.c: Likewise.
11598 * config/libbid/_udi_to_sd.c: Likewise.
11599 * config/libbid/_udi_to_td.c: Likewise.
11600 * config/libbid/_unord_dd.c: Likewise.
11601 * config/libbid/_unord_sd.c: Likewise.
11602 * config/libbid/_unord_td.c: Likewise.
11603 * config/libbid/_usi_to_dd.c: Likewise.
11604 * config/libbid/_usi_to_sd.c: Likewise.
11605 * config/libbid/_usi_to_td.c: Likewise.
11606 * config/libbid/_xf_to_dd.c: Likewise.
11607 * config/libbid/_xf_to_sd.c: Likewise.
11608 * config/libbid/_xf_to_td.c: Likewise.
11609 * config/libbid/bid128.c: Likewise.
11610 * config/libbid/bid128_2_str.h: Likewise.
11611 * config/libbid/bid128_2_str_macros.h: Likewise.
11612 * config/libbid/bid128_2_str_tables.c: Likewise.
11613 * config/libbid/bid128_add.c: Likewise.
11614 * config/libbid/bid128_compare.c: Likewise.
11615 * config/libbid/bid128_div.c: Likewise.
11616 * config/libbid/bid128_fma.c: Likewise.
11617 * config/libbid/bid128_logb.c: Likewise.
11618 * config/libbid/bid128_minmax.c: Likewise.
11619 * config/libbid/bid128_mul.c: Likewise.
11620 * config/libbid/bid128_next.c: Likewise.
11621 * config/libbid/bid128_noncomp.c: Likewise.
11622 * config/libbid/bid128_quantize.c: Likewise.
11623 * config/libbid/bid128_rem.c: Likewise.
11624 * config/libbid/bid128_round_integral.c: Likewise.
11625 * config/libbid/bid128_scalb.c: Likewise.
11626 * config/libbid/bid128_sqrt.c: Likewise.
11627 * config/libbid/bid128_string.c: Likewise.
11628 * config/libbid/bid128_to_int16.c: Likewise.
11629 * config/libbid/bid128_to_int32.c: Likewise.
11630 * config/libbid/bid128_to_int64.c: Likewise.
11631 * config/libbid/bid128_to_int8.c: Likewise.
11632 * config/libbid/bid128_to_uint16.c: Likewise.
11633 * config/libbid/bid128_to_uint32.c: Likewise.
11634 * config/libbid/bid128_to_uint64.c: Likewise.
11635 * config/libbid/bid128_to_uint8.c: Likewise.
11636 * config/libbid/bid32_to_bid128.c: Likewise.
11637 * config/libbid/bid32_to_bid64.c: Likewise.
11638 * config/libbid/bid64_add.c: Likewise.
11639 * config/libbid/bid64_compare.c: Likewise.
11640 * config/libbid/bid64_div.c: Likewise.
11641 * config/libbid/bid64_fma.c: Likewise.
11642 * config/libbid/bid64_logb.c: Likewise.
11643 * config/libbid/bid64_minmax.c: Likewise.
11644 * config/libbid/bid64_mul.c: Likewise.
11645 * config/libbid/bid64_next.c: Likewise.
11646 * config/libbid/bid64_noncomp.c: Likewise.
11647 * config/libbid/bid64_quantize.c: Likewise.
11648 * config/libbid/bid64_rem.c: Likewise.
11649 * config/libbid/bid64_round_integral.c: Likewise.
11650 * config/libbid/bid64_scalb.c: Likewise.
11651 * config/libbid/bid64_sqrt.c: Likewise.
11652 * config/libbid/bid64_string.c: Likewise.
11653 * config/libbid/bid64_to_bid128.c: Likewise.
11654 * config/libbid/bid64_to_int16.c: Likewise.
11655 * config/libbid/bid64_to_int32.c: Likewise.
11656 * config/libbid/bid64_to_int64.c: Likewise.
11657 * config/libbid/bid64_to_int8.c: Likewise.
11658 * config/libbid/bid64_to_uint16.c: Likewise.
11659 * config/libbid/bid64_to_uint32.c: Likewise.
11660 * config/libbid/bid64_to_uint64.c: Likewise.
11661 * config/libbid/bid64_to_uint8.c: Likewise.
11662 * config/libbid/bid_b2d.h: Likewise.
11663 * config/libbid/bid_binarydecimal.c: Likewise.
11664 * config/libbid/bid_conf.h: Likewise.
11665 * config/libbid/bid_convert_data.c: Likewise.
11666 * config/libbid/bid_decimal_data.c: Likewise.
11667 * config/libbid/bid_decimal_globals.c: Likewise.
11668 * config/libbid/bid_div_macros.h: Likewise.
11669 * config/libbid/bid_dpd.c: Likewise.
11670 * config/libbid/bid_flag_operations.c: Likewise.
11671 * config/libbid/bid_from_int.c: Likewise.
11672 * config/libbid/bid_functions.h: Likewise.
11673 * config/libbid/bid_gcc_intrinsics.h: Likewise.
11674 * config/libbid/bid_inline_add.h: Likewise.
11675 * config/libbid/bid_internal.h: Likewise.
11676 * config/libbid/bid_round.c: Likewise.
11677 * config/libbid/bid_sqrt_macros.h: Likewise.
11678
116792009-04-09 Jakub Jelinek <jakub@redhat.com>
11680
11681 * Makefile.in: Change copyright header to refer to version
11682 3 of the GNU General Public License and to point readers at the
11683 COPYING3 file and the FSF's license web page.
11684 * config.host: Likewise.
11685
633dd061
AM
116862009-04-07 Alan Modra <amodra@bigpond.net.au>
11687
11688 * config.host: Reorder and merge to match config.gcc change.
11689
457d1d00
AM
116902009-04-03 Alan Modra <amodra@bigpond.net.au>
11691
11692 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
11693
52c0e446
JM
116942009-03-28 Joseph Myers <joseph@codesourcery.com>
11695
11696 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
11697 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
11698 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
11699 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
11700
ba181049
UB
117012009-02-12 Uros Bizjak <ubizjak@gmail.com>
11702
11703 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
11704 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
11705
c252db20
L
117062009-02-12 H.J. Lu <hongjiu.lu@intel.com>
11707
ba181049
UB
11708 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
11709 ia64/t-softfp-compat to tmake_file.
c252db20
L
11710
11711 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
11712
11713 * config/ia64/__divxf3.asm: New.
11714 * config/ia64/_fixtfdi.asm: Likewise.
11715 * config/ia64/_fixunstfdi.asm: Likewise.
11716 * config/ia64/_floatditf.asm: Likewise.
11717 * config/ia64/t-fprules-softfp: Likewise.
11718 * config/ia64/t-softfp-compat: Likewise.
11719 * config/ia64/tf-signs.c: Likewise.
11720
c60535f9
BE
117212009-01-18 Ben Elliston <bje@au.ibm.com>
11722
11723 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
11724
ce16861e
BE
117252009-01-16 Ben Elliston <bje@au.ibm.com>
11726
11727 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
11728 to tmake_file.
11729
bcf4713b
BE
117302009-01-13 Ben Elliston <bje@au.ibm.com>
11731
11732 * config/t-softfp: New file.
11733 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
11734 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
11735
7d296953 117362009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
2042cb04
JS
11737
11738 * config.host: Add m32r*-*-rtems*.
11739
7d296953 117402008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
541ed00e
JS
11741
11742 * config.host: Add m32c*-*-rtems*.
11743
19523300
RO
117442008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11745
11746 PR bootstrap/33100
11747 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
11748 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
11749 * configure: Regenerate.
11750 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
11751 tmake_file here from gcc/config.gcc.
11752 Move extra_parts here from gcc/config.gcc.
11753 * config/i386/t-sol2: Move here from gcc/config/i386.
11754 Use gcc_srcdir instead of srcdir.
11755
0a4a51c7
AN
117562008-11-18 Adam Nemet <anemet@caviumnetworks.com>
11757
11758 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
11759 case.
11760
2a761e46
TS
117612008-11-09 Thomas Schwinge <tschwinge@gnu.org>
11762
11763 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
11764
c0451df7
TS
117652008-10-08 Thomas Schwinge <tschwinge@gnu.org>
11766
11767 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
11768
358da97e
HS
117692008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
11770
11771 Add picoChip port.
11772 * config.host: Add picochip-*-*.
11773
c660f132
BW
117742008-08-06 Bob Wilson <bob.wilson@acm.org>
11775
11776 * config.host: Match more processor names for Xtensa.
11777
d1349557
L
117782008-07-08 H.J. Lu <hongjiu.lu@intel.com>
11779
11780 * config/i386/64/t-softfp-compat: Update comments.
11781
dd7b73c0
L
117822008-07-07 H.J. Lu <hongjiu.lu@intel.com>
11783
11784 * config/i386/64/_divtc3-compat.c: Moved to ...
11785 * config/i386/64/_divtc3.c: Here.
11786
11787 * config/i386/64/_multc3-compat.c: Moved to ...
11788 * config/i386/64/_multc3.c: Here.
11789
11790 * config/i386/64/_powitf2-compat.c: Moved to ...
11791 * config/i386/64/_powitf2.c: Here.
11792
11793 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
11794 .c suffix instead of -compat.c.
11795
6e1fab3d
UB
117962008-07-05 Uros Bizjak <ubizjak@gmail.com>
11797
11798 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
11799 (_FP_MUL_MEAT_D): Ditto.
11800 (_FP_DIV_MEAT_S): Ditto.
11801 (_FP_DIV_MEAT_D): Ditto.
11802
f92518d7
RS
118032008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
11804
11805 * Makefile.in: Add support for __sync_* libgcc functions.
11806
d0aede14
L
118072008-07-03 H.J. Lu <hongjiu.lu@intel.com>
11808
11809 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
11810
c174f11c
L
118112008-07-02 H.J. Lu <hongjiu.lu@intel.com>
11812
11813 PR boostrap/36702
11814 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
11815 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
11816
11817 * config/i386/64/t-fprules-softfp: Moved to ...
11818 * config/i386/64/t-softfp-compat: This. New.
11819
5f464fa2
UB
118202008-07-02 Uros Bizjak <ubizjak@gmail.com>
11821
11822 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
11823 Initialize f with 0.0.
11824
ff473280
L
118252008-07-02 H.J. Lu <hongjiu.lu@intel.com>
11826
11827 PR target/36669
11828 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
11829
11830 * config/i386/64/_divtc3-compat.c: New.
11831 * config/i386/64/_multc3-compat.c: Likewise.
11832 * config/i386/64/_powitf2-compat.c: Likewise.
11833 * config/i386/64/eqtf2.c: Likewise.
11834 * config/i386/64/getf2.c: Likewise.
11835 * config/i386/64/letf2.c: Likewise.
11836 * config/i386/64/t-fprules-softfp: Likewise.
11837
118382008-07-02 H.J. Lu <hongjiu.lu@intel.com>
11839
11840 * config.host: Add i386/${host_address}/t-fprules-softfp to
11841 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
dfb3b0e3 11842 i[34567]86-*-linux*, x86_64-*-linux*.
ff473280
L
11843
11844 * configure.ac: Set host_address to 64 or 32 for x86.
11845 * configure: Regenerated.
11846
11847 * Makefile.in (config.status): Also depend on
11848 $(srcdir)/config.host.
11849
11850 * config/i386/32/t-fprules-softfp: New.
11851 * config/i386/32/tf-signs.c: Likewise.
11852
11853 * config/i386/64/sfp-machine.h: New. Moved from gcc.
11854
118552008-07-02 H.J. Lu <hongjiu.lu@intel.com>
11856 Uros Bizjak <ubizjak@gmail.com>
11857
11858 * config/i386/32/sfp-machine.h: New.
11859
30551d99
NF
118602008-06-26 Nathan Froyd <froydnj@codesourcery.com>
11861
11862 * config/rs6000/t-ppccomm: Remove rules that conflict with
11863 auto-generated rules.
11864
18c04407
RW
118652008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11866
11867 * configure.ac: sinclude override.m4.
11868 * configure: Regenerate.
11869
10fbe77a
BRF
118702008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
11871
11872 * configure: Regenerate.
11873
bc6d4c3f
JM
118742008-06-10 Joseph Myers <joseph@codesourcery.com>
11875
11876 * Makefile.in (DECNUMINC): Remove
11877 -I$(MULTIBUILDTOP)../../libdecnumber.
11878 * gstdint.h: New.
11879
cd985f66
JM
118802008-06-07 Joseph Myers <joseph@codesourcery.com>
11881
11882 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
11883 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
11884 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
11885 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
11886 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
11887 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
11888 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
11889 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
11890 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
11891 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
11892 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
11893 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
11894 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
11895 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
11896
93fea8d3
AL
118972008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
11898
11899 * config.host (sh2[lbe]*-*-linux*): Allow target.
11900
18724e30
NF
119012008-04-30 Nathan Froyd <froydnj@codesourcery.com>
11902
11903 * config/rs6000/t-ppccomm: Add build rules for new files.
11904 (LIB2ADD_ST): New variable.
11905
47583040
AH
119062008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
11907
11908 PR target/34210
11909 PR target/35508
11910 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
11911 * config/t-avr: New file. Build 16bit libgcc functions.
11912
cf8e67fe
JJ
119132008-03-02 Jakub Jelinek <jakub@redhat.com>
11914
11915 PR target/35401
11916 * config/t-slibgcc-darwin: Make install-leaf dependent on
11917 install-darwin-libgcc-stubs instead of install.
11918
8d8da227
JM
119192008-01-25 Joseph Myers <joseph@codesourcery.com>
11920
11921 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
11922 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
11923 sh-*-rtemscoff*): Remove cases.
11924
edbf8b16
RS
119252007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
11926
11927 * Makefile.in (all): Use install-leaf rather than install.
11928 (install): Split most of the rule into...
11929 (install-leaf): ...this new one.
11930
89deeaff
EK
119312007-12-19 Etsushi Kato <ek.kato@gmail.com>
11932 Paolo Bonzini <bonzini@gnu.org>
11933
11934 PR target/30572
5f464fa2
UB
11935 * Makefile.in: Use @shlib_slibdir@ substitution to get
11936 correct install name on darwin.
89deeaff 11937 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
dfb3b0e3 11938
4081d704
HPN
119392007-12-15 Hans-Peter Nilsson <hp@axis.com>
11940
11941 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
11942 cris-*-elf and cris-*-none.
11943 (crisv32-*-linux*): Similar, as cris-*-linux*.
11944
f43e89a3
RIL
119452007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
11946
11947 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
11948
b4e9c2c6
L
119492007-10-27 H.J. Lu <hongjiu.lu@intel.com>
11950
11951 PR regression/33926
11952 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
11953 * configure: Regenerated.
11954
b2a00c89
L
119552007-09-27 H.J. Lu <hongjiu.lu@intel.com>
11956
11957 * Makefile.in (dfp-filenames): Replace decimal_globals,
11958 decimal_data, binarydecimal and convert_data with
11959 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
11960 and bid_convert_data, respectively.
11961
8d2a9e0e
CF
119622007-09-17 Chao-ying Fu <fu@mips.com>
11963 Nigel Stephens <nigel@mips.com>
11964
11965 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
11966 * Makefile.in (fixed_point): Define.
11967 Check if fixed_point is yes to build support functions.
11968 * configure.ac: Check for fixed_point support.
11969 * configure: Regenerated.
11970 * gen-fixed.sh: New file to generate lists of fixed-point labels,
11971 funcs, modes, from, to.
11972
2b53935d
JJ
119732007-09-11 Janis Johnson <janis187@us.ibm.com
11974
11975 * Makefile.in (dfp-filenames): Add bid128_noncomp.
11976
2533577f
JJ
119772007-09-10 Janis Johnson <janis187@us.ibm.com>
11978
11979 * Makefile.in (dfp-filenames): Remove decUtility, add
11980 decDouble, decPacked, decQuad, decSingle.
11981
3ae3dbd6
HK
119822007-08-27 Hans Kester <hans.kester@ellips.nl>
11983
11984 * config.host : Add x86_64-elf target.
11985
22867d02
L
119862007-07-06 H.J. Lu <hongjiu.lu@intel.com>
11987
11988 * configure.ac (set_have_cc_tls): Add a missing =.
11989 * configure: Regenerated.
11990
6f461e76
L
119912007-07-06 H.J. Lu <hongjiu.lu@intel.com>
11992
11993 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
11994 and x86_64-*-linux*.
11995
11996 * config/t-tls: New file.
11997
dfb3b0e3 11998 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6f461e76
L
11999
12000 * configure.ac: Include ../config/enable.m4 and
12001 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
12002 supports TLS and substitute set_have_cc_tls.
12003 * configure: Regenerated.
12004
200359e8
L
120052007-07-04 H.J. Lu <hongjiu.lu@intel.com>
12006
12007 * Makefile.in: Use libbid for DFP when BID is enabled.
12008
76f5e200
DS
120092007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
12010
12011 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
dfb3b0e3 12012 extra_parts. Add config/i386/t-cygming to tmake_file.
76f5e200
DS
12013 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
12014
9bd196f0 120152007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
200359e8 12016 Danny Smith <dannysmith@users.sourceforge.net>
9bd196f0
ZM
12017
12018 PR target/29498
12019 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
12020 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
12021 * config/i386/t-crtfm: Compile crtfastmath.o with
12022 -minline-all-stringops.
12023
1910440e
RS
120242007-05-10 Richard Sandiford <richard@codesourcery.com>
12025
12026 * config.host (sparc-wrs-vxworks): New target.
12027
7d33c31d
KH
120282007-04-14 Kazu Hirata <kazu@codesourcery.com>
12029
12030 * config.host: Recognize fido.
12031
96fccd0d
JJ
120322007-04-04 Janis Johnson <janis187@us.ibm.com>
12033
12034 * configure: Check host, not target, for decimal float support.
12035
577565f9
UB
120362007-04-03 Uros Bizjak <ubizjak@gmail.com>
12037
12038 * config/i386/t-crtpc: New file.
12039 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5f464fa2 12040 (x86_64-*-linux*): Ditto.
577565f9 12041
ccf8e764
RH
120422007-02-30 Kai Tietz <kai.tietz@onevision.com>
12043
12044 * config.host (x86_64-*-mingw*): New target.
12045
79b87c74
MM
120462007-03-23 Michael Meissner <michael.meissner@amd.com>
12047 H.J. Lu <hongjiu.lu@intel.com>
12048
12049 * Makefile.in (enable_decimal_float): New.
12050 (DECNUMINC): Add
12051 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
12052 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
12053 (decbits-filenames): This.
12054 (decbits-objects): New.
12055 (libgcc-objects): Add $(decbits-objects).
12056
12057 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
12058 Substitute enable_decimal_float.
12059 * configure: Regenerated.
12060
8fce4e31
HPN
120612007-03-19 Hans-Peter Nilsson <hp@axis.com>
12062
12063 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
12064
e8bb4597
BM
120652007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
12066
12067 * Makefile.in (install-info): New dummy target.
12068
344189f9
BS
120692007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
12070
12071 * config.host (bfin*-linux-uclibc*): Set extra_parts.
12072
ac84c172
BM
120732007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
12074
12075 * Makefile.in: Add install-html and install-pdf dummy
12076 targets.
12077
cd5c2357
RS
120782007-02-05 Roger Sayle <roger@eyesopen.com>
12079 Daniel Jacobowitz <dan@codesourcery.com>
12080
12081 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
12082 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
12083 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
12084
d9a66f98
JJ
120852007-01-29 Janis Johnson <janis187@us.ibm.com>
12086
12087 * Makefile.in (dec-filenames): Add decExcept.
12088
9891ec5f
DJ
120892007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
12090
12091 PR bootstrap/30469
12092 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
12093 -fprofile-use.
12094
d6efbf5a
DJ
120952007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
12096
12097 * configure.ac: Add --enable-version-specific-runtime-libs.
12098 Correct $slibdir default.
12099 * configure: Regenerated.
12100
17caeff2
JM
121012007-01-23 Joseph Myers <joseph@codesourcery.com>
12102
12103 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
12104
5ea41e3a
AP
121052007-01-21 Andrew Pinski <pinskia@gmail.com>
12106
12107 PR target/30519
12108 * config.host (alpha*-*-linux*): Set extra_parts.
12109
26900826
KK
121102007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
12111
12112 * config/sh/t-linux: New.
12113 * config.host (sh*-*-linux*): Set tmake_file.
12114
97af925b
DJ
121152007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
12116
12117 * Makefile.in (install): Handle multilibs.
12118
b0088af7
BM
121192007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
12120
12121 * Makefile.in: Added .PHONY entry for documentation targets.
12122
e0a9456a
BM
121232007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
12124
12125 * Makefile.in: Add empty info, html, dvi, pdf targets.
12126
7fd453b4
MS
121272007-01-04 Mike Stump <mrs@apple.com>
12128
12129 * Makefile.in (MAKEINFO): Remove.
12130 (PERL): Likewise.
12131
14e8fc8b
PB
121322007-01-04 Paolo Bonzini <bonzini@gnu.org>
12133
12134 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
12135 * configure: Regenerate.
12136 * Makefile.in (host_subdir): Substitute it.
dfb3b0e3 12137 (gcc_objdir): Use it.
14e8fc8b 12138
1555beba
DJ
121392007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
12140
12141 * config.host (ia64*-*-linux*): Set tmake_file.
12142
79e6eaeb
DJ
121432007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
12144
12145 * Makefile.in (version): Define.
12146
fa958513
DJ
121472007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
12148 Paolo Bonzini <bonzini@gnu.org>
12149
12150 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
12151 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
12152 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
12153 config/sparc/t-crtfm, config/t-slibgcc-darwin,
12154 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
12155 shared-object.mk, siditi-object.mk, static-object.mk: New files.
12156 * configure: Generated.
818ab71a 12157\f
877e3c2a 12158Copyright (C) 2007-2022 Free Software Foundation, Inc.
818ab71a
JJ
12159
12160Copying and distribution of this file, with or without modification,
12161are permitted in any medium without royalty provided the copyright
12162notice and this notice are preserved.