]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
Daily bump.
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
e8778989
GA
12022-05-10 Martin Liska <mliska@suse.cz>
2 Hans-Peter Helfert <peter-helfert@t-online.de>
3
4 PR gcov-profile/105535
5 * libgcov.h (struct gcov_info): Use gcov_unsigned_t for
6 n_functions.
7
6259d8aa
GA
82022-05-02 Martin Liska <mliska@suse.cz>
9
10 * libgcov-driver.c: Add ATTRIBUTE_UNUSED.
11
6b6f53d8
GA
122022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
13
14 * libgcov-util.c (ftw_read_file): Improve notice using xstrerror().
15 (gcov_profile_merge_stream): Likewise.
16
172022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
18
19 * libgcov-util.c (consume_stream): New.
20 (get_target_profiles_for_merge): Likewise.
21 (gcov_profile_merge_stream): Likewise.
22
232022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
24
25 * libgcov-util.c (ftw_read_file): Use size_t for strlen() variables.
26
272022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
28
29 * libgcov-util.c (read_gcda_file): Do not open file.
30 (ftw_read_file): Open file here.
31
322022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
33
34 * libgcov-util.c (read_gcda_file): Prepend new info object to global
35 list.
36 (ftw_read_file): Remove list append here.
37
382022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
39
40 * libgcov-util.c (read_gcda_file): Do not duplicate filename.
41 (ftw_read_file): Duplicate filename for read_gcda_file().
42
432022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
44
45 * gcov.h (__gcov_info_to_gcda): Mention __gcov_filename_to_gcfn().
46 (__gcov_filename_to_gcfn): Declare and document.
47 * libgcov-driver.c (dump_string): New.
48 (__gcov_filename_to_gcfn): Likewise.
49 (__gcov_info_to_gcda): Adjust comment to match C11 standard language.
50
512022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
52
53 * libgcov.h (gcov_seek): Remove define and declaration.
54
552022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
56
57 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Add mode
58 parameter. Pass mode to gcov_open() calls.
59 * libgcov-driver.c (dump_one_gcov): Add mode parameter. Pass mode to
60 gcov_exit_open_gcda_file() call.
61 (gcov_do_dump): Add mode parameter. Pass mode to dump_one_gcov()
62 calls.
63 (__gcov_dump_one): Open file for reading and writing.
64
652022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
66
67 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Open file for
68 reading and writing.
69 * libgcov-util.c (read_gcda_file): Open file for reading.
70 * libgcov.h (gcov_open): Delete declaration.
71
722022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
73
74 * libgcov-util.c (gcov_profile_merge): Return the list of merged
75 profiles. Accept empty target and source profile lists.
76
405eda0d
GA
772022-04-08 Sergei Trofimovich <siarheit@google.com>
78
79 * config/ia64/fde-glibc.c: Make a no-op in inhibit_libc mode.
80
9f774626
GA
812022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
82 Lulu Cheng <chenglulu@loongson.cn>
83
84 * configure: Regenerate file.
85
862022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
87 Lulu Cheng <chenglulu@loongson.cn>
88
89 * config/loongarch/crtfastmath.c: New file.
90 * config/loongarch/linux-unwind.h: Like wise.
91 * config/loongarch/sfp-machine.h: Like wise.
92 * config/loongarch/t-crtstuff: Like wise.
93 * config/loongarch/t-loongarch: Like wise.
94 * config/loongarch/t-loongarch64: Like wise.
95 * config/loongarch/t-softfp-tf: Like wise.
96 * config.host: Add LoongArch tuples.
97 * configure.ac: Add LoongArch support.
98
d7f00da1
GA
992022-03-19 Sergei Trofimovich <slyfox at gentoo dot org>
100
101 PR libgcc/86224
102 * config/m68k/lb1sf68.S (__mulsi3_internal): Internal, hidden alias
103 for __mulsi3.
104 (__udivsi3_internal, __divsi3_internal): Similarly.
105 (__umodsi3, __modsi3): Use the internal function names.
106
8cc4f9cd
GA
1072022-03-09 Tobias Burnus <tobias@codesourcery.com>
108
109 PR target/102215
110 * config/gcn/atomic.c (__sync_val_compare_and_swap_##SIZE): Move
111 a line up to non-arg-dependent value first.
112 (__ATOMIC_COMPARE_EXCHANGE): Define + call to generate
113 __atomic_compare_exchange_{1,2}.
114
8d96e14c
GA
1152022-03-04 Iain Sandoe <iain@sandoe.co.uk>
116
117 * config/rs6000/t-darwin-ehs: Add darwin-fallback.o.
118 * config/t-darwin-ehs: Add dependency on unwind.h.
119
756a6185
GA
1202022-02-24 Xi Ruoyao <xry111@mengyan1223.wang>
121
122 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call find_fde_tail
123 with 0 instead of NULL.
124
1252022-02-24 Jose E. Marchesi <jose.marchesi@oracle.com>
126
127 PR target/104656
128 * configure.ac: --disable-gcov if targetting bpf-*.
129 * configure: Regenerate.
130
e0b8716f
GA
1312022-01-25 Florian Weimer <fweimer@redhat.com>
132
133 PR libgcc/104207
134 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Add NULL check.
135
fc829782
GA
1362022-01-17 Martin Liska <mliska@suse.cz>
137
138 * libgcov-driver.c: Rename .c names to .cc.
139
9248ee41
GA
1402022-01-15 David <gccbugzilla@limegreensocks.com>
141
142 * config/i386/gthr-win32.c (__gthr_i486_lock_cmp_xchg):
143 Remove inlined version, Windows 95 is no longer relevant.
144 * config/i386/gthr-win32.h
145 (__GTHREAD_I486_INLINE_LOCK_PRIMITIVES): unset.
146
617db51d
GA
1472022-01-14 Claudiu Zissulescu <claziss@synopsys.com>
148
149 * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
150 DWARF_ALT_FRAME_RETURN_COLUMN macro.
151
7d11b64b
GA
1522022-01-04 Florian Weimer <fweimer@redhat.com>
153
154 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call _dl_find_object
155 if available.
156
5da23a13
GA
1572022-01-02 John David Anglin <danglin@gcc.gnu.org>
158
159 * config/pa/linux-atomic.c (_ASM_EFAULT): Define.
160 (__kernel_cmpxchg): Nullify illegal iitlbp instruction if error
161 return is not equal _ASM_EFAULT.
162 (__kernel_cmpxchg2): Likewise.
163
2554e2da
GA
1642021-12-17 Iain Sandoe <iain@sandoe.co.uk>
165
166 * config.host: Add shim declaration header to powerpc*-darwin builds.
167 * config/rs6000/t-darwin-ehs: Remove dependency on the powerpc end
168 file.
169 * config/t-darwin-ehs: Add dependencies to the shared unwinder
170 objects.
171 * config/t-slibgcc-darwin: Add extra_parts to the dependencies for
172 the shared EH lib. Add all-multi to the dependencies for the
173 libgcc_s.1.dylib redirections.
174
7f1239cb
GA
1752021-12-13 Olivier Hainque <hainque@adacore.com>
176
177 * config.host (powerpc*-*-vxworks7*): Remove
178 rs6000/t-linux and t-slibgcc-libgcc from tmake_file.
179
1802021-12-13 Olivier Hainque <hainque@adacore.com>
181
182 * config.host (*vxworks*): Remove special case for
183 arm on the use of vxcrtstuff.
184
1852021-12-13 Fred Konrad <konrad@adacore.com>
186 Olivier Hainque <hainque@adacore.com>
187
188 * config/t-vxcrtstuffS: New Makefile fragment.
189 * config/vxcrtstuff.c: Provide __dso_handle. Provide _init/_fini
190 functions for INITFINI_ARRAY support in shared libs and guard
191 the definition of eh table registration functions on conditions
192 indicating they are needed.
193
1942021-12-13 Olivier Hainque <hainque@adacore.com>
195
196 * config.host (powerpc*-wrs-vxworks7*): Place t-crtstuff
197 ahead of the other files in tmake_files.
198 * config/t-vxworks: Add to CRTSTUFF_T_CFLAGS instead of
199 overriding it.
200
2012021-12-13 Olivier Hainque <hainque@adacore.com>
202
203 * config/t-vxworks (LIBGCC2_INCLUDES): Simplify and handle
204 both VxWorks7 and earlier.
205 * config/t-vxworks7: Remove.
206 * config.host: Remove special case for vxworks7.
207
e8decbe7
GA
2082021-12-11 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
209
210 * config/vxcrtstuff.c: Make constructor and destructor
211 functions static when possible.
212
2132021-12-11 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
214
215 * config/vxcrtstuff.c: Remove constructor/destructor
216 declarations.
217
0bceef16
GA
2182021-12-10 Iain Sandoe <iain@sandoe.co.uk>
219
220 * config/t-darwin: Add libgcc_tm.h to the dependencies
221 for darwin10-unwind-find-enc-func.
222
2232021-12-10 Rasmus Villemoes <rv@rasmusvillemoes.dk>
224
225 * config/rs6000/t-vxworks: New file.
226 * config.host (powerpc*-*-vxworks*): Use it instead of
227 t-ppccomm.
228
4b4839e3
GA
2292021-12-09 Fred Konrad <konrad@adacore.com>
230
231 * config.host (powerpc*-wrs-vxworks7*): Fix path to
232 rs6000/t-ppc64-fp, relative to config/ not libgcc/.
233
2342021-12-09 Olivier Hainque <hainque@adacore.com>
235 Rasmus Villemoes <rv@rasmusvillemoes.dk>
236
237 * config/t-vxworks: Set CRTSTUFF_T_CFLAGS to
238 $(LIBGCC2_INCLUDES).
239 * config/t-vxworks7: Likewise.
240
641ff219
GA
2412021-12-08 Iain Sandoe <iain@sandoe.co.uk>
242
243 * config.host (*-*-darwin*): Add logic to build a shared
244 unwinder library for Darwin8-10.
245 * config/i386/t-darwin: Build legacy libgcc_s.1.
246 * config/rs6000/t-darwin: Likewise.
247 * config/t-darwin: Reorganise the EH fragments to place
248 them for inclusion in a shared EH lib.
249 * config/t-slibgcc-darwin: Build a legacy libgcc_s.1 and
250 the supporting pieces (all FAT libs).
251 * config/t-darwin-noeh: Removed.
252 * config/darwin-unwind.ver: New file.
253 * config/rs6000/t-darwin-ehs: New file.
254 * config/t-darwin-ehs: New file.
255
3a580f96
GA
2562021-12-06 Nelson Chu <nelson.chu@sifive.com>
257
258 * config/riscv/div.S: Add the hidden alias symbol for __udivdi3, and
259 then use HIDDEN_JUMPTARGET to target it since it is non-preemptible.
260 * config/riscv/riscv-asm.h: Added new macros HIDDEN_JUMPTARGET and
261 HIDDEN_DEF.
262
c177e806
GA
2632021-11-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
264
265 * config/vxcrtstuff.c: Undefine caddr_t, pid_t, rlim_t,
266 ssize_t and vfork after including auto-host.h.
267
87cd82c8
GA
2682021-11-29 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
269
270 * config.host (powerpc-wrs-vxworks): Do not add crtbegin.o and
271 crtend.o to extra_parts.
272
d62c8c74
GA
2732021-11-27 John David Anglin <danglin@gcc.gnu.org>
274
275 * config/pa/t-dimode (lib2difuncs): Fix typo.
276
091ccc06
GA
2772021-11-25 Florian Weimer <fweimer@redhat.com>
278
279 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Add hdr.
280 Remove func, ret.
281 (find_fde_tail): New function. Split from
282 _Unwind_IteratePhdrCallback. Move the result initialization
283 from _Unwind_Find_FDE.
284 (_Unwind_Find_FDE): Updated to call find_fde_tail.
285
06be28f6
GA
2862021-11-22 Florian Weimer <fweimer@redhat.com>
287
288 * unwind-dw2-fde-dip.c (NEED_DBASE_MEMBER): Define.
289 (struct unw_eh_callback_data): Make dbase member conditional.
290 (unw_eh_callback_data_dbase): New function.
291 (base_from_cb_data): Simplify for the non-dbase case.
292 (_Unwind_IteratePhdrCallback): Adjust.
293 (_Unwind_Find_FDE): Likewise.
294
2952021-11-22 Florian Weimer <fweimer@redhat.com>
296
297 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Remove
298 tbase member.
299 (base_from_cb_data): Adjust.
300 (_Unwind_IteratePhdrCallback): Likewise.
301 (_Unwind_Find_FDE): Likewise.
302
9c077398
GA
3032021-11-19 Iain Sandoe <iain@sandoe.co.uk>
304
305 * config.host: Add weak emutls crt to the extra_parts.
306 * config/i386/darwin-lib.h (DECLARE_LIBRARY_RENAMES): Remove
307 workaround.
308 * config/libgcc-libsystem.ver: Add exclude list for the system-
309 provided unwinder.
310 * config/t-slibgcc-darwin: Bump SO version, remove stubs code.
311 * config/i386/libgcc-darwin.10.4.ver: Removed.
312 * config/i386/libgcc-darwin.10.5.ver: Removed.
313 * config/rs6000/libgcc-darwin.10.4.ver: Removed.
314 * config/rs6000/libgcc-darwin.10.5.ver: Removed.
315 * config/t-darwin-noeh: New file.
316
3172021-11-19 Iain Sandoe <iain@sandoe.co.uk>
318
319 * config/t-darwin: Build weak-defined emutls objects.
320 * emutls.c (__emutls_get_address): Add optional attributes.
321 (__emutls_register_common): Likewise.
322 (EMUTLS_ATTR): New.
323
b39265d4
GA
3242021-11-11 Raphael Moreira Zinsly <rzinsly@linux.ibm.com>
325
326 PR libgcc/103044
327 * config/rs6000/linux-unwind.h (ppc_backchain_fallback): Check if it's
328 called with a null argument or at the end of the backtrace and return.
329 * unwind.inc (_Unwind_ForcedUnwind_Phase2): Treat _URC_NORMAL_STOP.
330
8d36a0d2
GA
3312021-11-10 Jakub Jelinek <jakub@redhat.com>
332
333 * config/rs6000/linux-unwind.h (ppc_back_fallback): Make it static,
334 formatting fix.
335
851dff04
GA
3362021-11-05 Iain Sandoe <iain@sandoe.co.uk>
337
338 * config/darwin10-unwind-find-enc-func.c: Include libgcc_tm.h.
339 * config/i386/darwin-lib.h: Declare Darwin10 crt function.
340
3412021-11-05 John David Anglin <danglin@gcc.gnu.org>
342
343 PR libgomp/96661
344 * config.host (hppa*64*-*-linux*): Revise tmake_file.
345 (hppa*64*-*-hpux11*): Likewise.
346 * config/pa/sfp-exceptions.c: New.
347 * config/pa/sfp-machine.h: New.
348 * config/pa/t-dimode: New.
349 * config/pa/t-softfp-sfdftf: New.
350
04a2cf3f
GA
3512021-10-27 John David Anglin <danglin@gcc.gnu.org>
352
353 * config.host (hppa*64*-*-linux*): Don't add pa/t-linux to
354 tmake_file.
355 * config/pa/linux-atomic.c: Define u8, u16 and u64 types.
356 Use them in FETCH_AND_OP_2, OP_AND_FETCH_2, COMPARE_AND_SWAP_2,
357 SYNC_LOCK_TEST_AND_SET_2 and SYNC_LOCK_RELEASE_1 macros.
358 * config/pa/t-linux64 (LIB1ASMSRC): New define.
359 (LIB1ASMFUNCS): Revise.
360 (HOST_LIBGCC2_CFLAGS): Add "-DLINUX=1".
361
c2bd5d8a
GA
3622021-10-22 Stafford Horne <shorne@gmail.com>
363
364 * config/or1k/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
365 Change to 0.
366
5d5885c9
GA
3672021-10-14 Raphael Moreira Zinsly <rzinsly@linux.ibm.com>
368
369 * config/rs6000/linux-unwind.h (struct rt_sigframe): Move it to
370 outside of get_regs() in order to use it in another function, this
371 is done twice: for __powerpc64__ and for !__powerpc64__.
372 (struct trace_arg): New struct.
373 (struct layout): New struct.
374 (ppc_backchain_fallback): New function.
375 * unwind.inc (_Unwind_Backtrace): Look for _URC_NORMAL_STOP code
376 state and call MD_BACKCHAIN_FALLBACK.
377
9eb28a0f
GA
3782021-10-13 Martin Liska <mliska@suse.cz>
379
380 PR gcov-profile/90364
381 * libgcov-driver.c (merge_one_data): Skip timestamp and verify
382 checksums.
383 (write_one_data): Write also checksum.
384 * libgcov-util.c (read_gcda_file): Read also checksum field.
385 * libgcov.h (struct gcov_info): Add new field.
386
ce6eec39
GA
3872021-10-08 Ian Lance Taylor <iant@golang.org>
388
389 * config/i386/morestack.S: Use .init_array for constructor if
390 available.
391 * config/rs6000/morestack.S: Likewise.
392 * config/s390/morestack.S: Likewise.
393
154fd089
GA
3942021-10-03 Patrick McGehearty <patrick.mcgehearty@oracle.com>
395
396 PR target/101104
397 * libgcc2.c (RMIN2, RMINSCAL, RMAX2):
398 Use more correct values for native IBM 128-bit.
399
fd133479
GA
4002021-09-28 Iain Sandoe <iain@sandoe.co.uk>
401
402 * config/i386/libgcc-darwin.ver: Add Symbols for
403 __cpu_model, __cpu_indicator_init.
404
e4777439
GA
4052021-09-22 Iain Sandoe <iain@sandoe.co.uk>
406
407 * config/i386/sfp-machine.h: Guard Mach-O-specific code
408 using __APPLE__.
409
34fac9ef
GA
4102021-09-19 Iain Sandoe <iain@sandoe.co.uk>
411
412 * config/t-slibgcc-darwin: Delete unused code.
413
4142021-09-19 Iain Sandoe <iain@sandoe.co.uk>
415
416 * config/i386/t-darwin: Add in a vers file for X86-specific
417 symbols.
418 * config/t-darwin: Add the generic symbol maps here...
419 * config/t-slibgcc-darwin: ... removing from here.
420 * config/i386/libgcc-darwin.ver: New file.
421
4222021-09-19 Iain Sandoe <iain@sandoe.co.uk>
423
424 * config/i386/t-softfp: Exclude libgcc2 versions of __divhc3
425 and __mulhc3.
426
4272021-09-19 Iain Sandoe <iain@sandoe.co.uk>
428
429 * config.host: Use convenience library for Darwin10
430 unwinder shim.
431 * config/t-darwin: Build Darwin10 unwinder shim as a
432 convenience library.
433
07985c47
GA
4342021-09-13 Andrew Pinski <apinski@marvell.com>
435
436 * config.host: Remove m32r-*-linux* and m32rle-*-linux*.
437 * config/m32r/libgcc-glibc.ver: Removed.
438 * config/m32r/t-linux: Removed.
439
b6db7cd4
GA
4402021-09-08 liuhongt <hongtao.liu@intel.com>
441
442 * config/i386/t-softfp: Compile __{mul,div}hc3 into
443 libgcc_s.so.1.
444
4452021-09-08 Jakub Jelinek <jakub@redhat.com>
446 Iain Sandoe <iain@sandoe.co.uk>
447
448 * config/i386/libgcc-glibc.ver: Add %inherit GCC_12.0.0 GCC_7.0.0
449 and export *hf* and *hc* functions at GCC_12.0.0.
450
9f99555f
GA
4512021-09-06 liuhongt <hongtao.liu@intel.com>
452
453 * Makefile.in: Adjust to support specific CFLAGS for each
454 libgcc source file.
455 * config/i386/64/t-softfp: Explicitly add -msse2 for HF
456 related libgcc source files.
457 * config/i386/t-softfp: Ditto.
458 * config/i386/_divhc3.c: New file.
459 * config/i386/_mulhc3.c: New file.
460
7b739540
GA
4612021-09-03 Iain Sandoe <iain@sandoe.co.uk>
462
463 * config/i386/sfp-machine.h (alias_HFtype, alias_SFtype
464 alias_DFtype, alias_TFtype): New.
465 (ALIAS_SELECTOR): New.
466 (strong_alias): Use __typeof and a _Generic selector to
467 provide the type to the synthesized function.
468
9f7c2bad
GA
4692021-09-02 liuhongt <hongtao.liu@intel.com>
470
471 * config/i386/32/sfp-machine.h (_FP_NANFRAC_H): New macro.
472 * config/i386/64/sfp-machine.h (_FP_NANFRAC_H): Ditto.
473 * config/i386/sfp-machine.h (_FP_NANSIGN_H): Ditto.
474 * config/i386/t-softfp: Add hf soft-fp.
475 * config.host: Add i386/64/t-softfp.
476 * config/i386/64/t-softfp: New file.
477
4782021-09-02 liuhongt <hongtao.liu@intel.com>
479
480 * soft-fp/eqhf2.c: New file.
481 * soft-fp/extendhfdf2.c: New file.
482 * soft-fp/extendhfsf2.c: New file.
483 * soft-fp/half.h (FP_CMP_EQ_H): New marco.
484 * soft-fp/truncdfhf2.c: New file
485 * soft-fp/truncsfhf2.c: New file
486
e11c6046
GA
4872021-09-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
488
489 * unwind-arm-common.inc (abort): Remove.
490
6d51ee43
GA
4912021-08-31 Richard Sandiford <richard.sandiford@arm.com>
492
493 * config/aarch64/value-unwind.h: Add missing runtime exception
494 paragraph.
495 * config/frv/frv-abi.h: Likewise.
496 * config/i386/value-unwind.h: Likewise.
497 * config/pa/pa64-hpux-lib.h: Likewise.
498
ccc19145
GA
4992021-08-26 David Edelsohn <dje.gcc@gmail.com>
500
501 * config/rs6000/ibm-ldouble.c (ldouble_qadd_internal): Rename from
502 __gcc_qadd.
503 (__gcc_qadd): Call ldouble_qadd_internal.
504 (__gcc_qsub): Call ldouble_qadd_internal with second long double
505 argument negated.
506
5072021-08-26 Jonathan Yong <10walls@gmail.com>
508
509 * config/i386/cygming-crtend.c: Fix register_frame_ctor
510 and register_frame_dtor warnings.
511
05ace294
GA
5122021-08-24 Richard Earnshaw <rearnsha@arm.com>
513
514 PR target/102035
515 * config/arm/cmse_nonsecure_call.S (__gnu_cmse_nonsecure_call):
516 Add vlldm erratum work-around.
517
4be4fa4e
GA
5182021-08-21 John David Anglin <danglin@gcc.gnu.org>
519
520 * config.host: Remove extra_parts from hppa[12]*-*-hpux11* case.
521
9d1d9fc8
GA
5222021-08-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
523
524 * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
525 (gcov_type_unsigned): Likewise.
526
7dd8f198
GA
5272021-08-14 Stafford Horne <shorne@gmail.com>
528
529 PR target/99783
530 * config.host (or1k-*, tmake_file): Add or1k/t-crtstuff.
531 * config/or1k/t-crtstuff: New file.
532
f92f4778
GA
5332021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
534
535 * libgcov-driver.c (#include <stdint.h>): Remove.
536 (write_topn_counters): Use __INTPTR_TYPE__ instead of intptr_t.
537
5382021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
539
540 * Makefile.in (LIBGCOV_DRIVER): Add _gcov_info_to_gcda.
541 * gcov.h (gcov_info): Declare.
542 (__gcov_info_to_gdca): Likewise.
543 * libgcov.h (gcov_write_counter): Remove.
544 (gcov_write_tag_length): Likewise.
545 * libgcov-driver.c (#include <stdint.h>): New.
546 (#include <string.h>): Remove.
547 (NEED_L_GCOV): Conditionally define.
548 (NEED_L_GCOV_INFO_TO_GCDA): Likewise.
549 (are_all_counters_zero): New.
550 (gcov_dump_handler): Likewise.
551 (gcov_allocate_handler): Likewise.
552 (dump_unsigned): Likewise.
553 (dump_counter): Likewise.
554 (write_topn_counters): Add dump_fn, allocate_fn, and arg parameters.
555 Use dump_unsigned() and dump_counter().
556 (write_one_data): Add dump_fn, allocate_fn, and arg parameters. Use
557 dump_unsigned(), dump_counter(), and are_all_counters_zero().
558 (__gcov_info_to_gcda): New.
559
8ebf4fb5
GA
5602021-08-05 Jakub Jelinek <jakub@redhat.com>
561
562 * config/t-slibgcc (SHLIB_LINK): Add $(LDFLAGS).
563 * config/t-slibgcc-darwin (SHLIB_LINK): Likewise.
564 * config/t-slibgcc-vms (SHLIB_LINK): Likewise.
565 * config/t-slibgcc-fuchsia (SHLIB_LDFLAGS): Remove $(LDFLAGS).
566
2697f832
GA
5672021-08-04 Jakub Jelinek <jakub@redhat.com>
568
569 * config/t-slibgcc-fuchsia: Undo doubly applied patch.
570
d97d71a1
GA
5712021-07-15 Alan Modra <amodra@gmail.com>
572
573 * config/rs6000/morestack.S (R2_SAVE): Define.
574 (__morestack): Save and restore r2. Set up r2 for called
575 functions.
576
bea7c16a
GA
5772021-07-01 H.J. Lu <hjl.tools@gmail.com>
578
579 * soft-fp/extendhfxf2.c: New file.
580 * soft-fp/truncxfhf2.c: Likewise.
581
6bc18203
GA
5822021-06-29 Julian Brown <julian@codesourcery.com>
583
584 * config/gcn/lib2-bswapti2.c: New file.
585 * config/gcn/lib2-divmod-di.c: New file.
586 * config/gcn/lib2-gcn.h (DItype, UDItype, TItype, UTItype): Add
587 typedefs.
588 (__divdi3, __moddi3, __udivdi3, __umoddi3): Add prototypes.
589 * config/gcn/t-amdgcn (LIB2ADD): Add lib2-divmod-di.c and
590 lib2-bswapti2.c.
591
5922021-06-29 Julian Brown <julian@codesourcery.com>
593
594 * config/gcn/lib2-divmod.c (__udivsi3, __umodsi3): Change argument and
595 return types to USItype.
596 * config/gcn/lib2-gcn.h (__udivsi3, __umodsi3): Update prototypes.
597
fcf617f0
GA
5982021-06-23 Kewen Lin <linkw@linux.ibm.com>
599
600 * configure: Regenerate.
601 * configure.ac (test for libgcc_cv_powerpc_3_1_float128_hw): Fix
602 typos among the name, CFLAGS and the test.
603 * config/rs6000/t-float128-hw (fp128_3_1_hw_funcs, fp128_3_1_hw_src,
604 fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj, fp128_3_1_hw_obj):
605 Remove.
606 * config/rs6000/t-float128-p10-hw (FLOAT128_HW_INSNS): Append
607 macro FLOAT128_HW_INSNS_ISA3_1.
608 (FP128_3_1_CFLAGS_HW): Fix option typo.
609 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): Guard this with
610 FLOAT128_HW_INSNS_ISA3_1.
611 (__floattikf_resolve): Likewise.
612 (__floatuntikf_resolve): Likewise.
613 (__fixkfti_resolve): Likewise.
614 (__fixunskfti_resolve): Likewise.
615 (__floattikf): Likewise.
616 (__floatuntikf): Likewise.
617 (__fixkfti): Likewise.
618 (__fixunskfti): Likewise.
619
f16f65f8
GA
6202021-06-11 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
621
622 PR target/99939
623 * config/arm/cmse_nonsecure_call.S: Add __ARM_FEATURE_MVE
624 macro.
625 * config/arm/t-arm: To link cmse.o and cmse_nonsecure_call.o
626 on passing -mcmse option.
627
43c35d0d
GA
6282021-06-10 Segher Boessenkool <segher@kernel.crashing.org>
629
630 * config/rs6000/quad-float128.h: Guard all uses of [U]TItype_ppc by
631 _ARCH_PPC64 .
632
4f625f47
GA
6332021-06-09 Carl Love <cel@us.ibm.com>
634
635 * config.host: Add if test and set for
636 libgcc_cv_powerpc_3_1_float128_hw.
637 * config/rs6000/fixkfti.c: Renamed to fixkfti-sw.c.
638 Change calls of __fixkfti to __fixkfti_sw.
639 * config/rs6000/fixunskfti.c: Renamed to fixunskfti-sw.c.
640 Change calls of __fixunskfti to __fixunskfti_sw.
641 * config/rs6000/float128-p10.c (__floattikf_hw,
642 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw): New file.
643 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): New macro.
644 (__floattikf_resolve, __floatuntikf_resolve, __fixkfti_resolve,
645 __fixunskfti_resolve): Add resolve functions.
646 (__floattikf, __floatuntikf, __fixkfti, __fixunskfti): New functions.
647 * config/rs6000/float128-sed (floattitf, __floatuntitf,
648 __fixtfti, __fixunstfti): Add editor commands to change names.
649 * config/rs6000/float128-sed-hw (__floattitf,
650 __floatuntitf, __fixtfti, __fixunstfti): Add editor commands to
651 change names.
652 * config/rs6000/floattikf.c: Renamed to floattikf-sw.c.
653 * config/rs6000/floatuntikf.c: Renamed to floatuntikf-sw.c.
654 * config/rs6000/quad-float128.h (__floattikf_sw,
655 __floatuntikf_sw, __fixkfti_sw, __fixunskfti_sw, __floattikf_hw,
656 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw, __floattikf,
657 __floatuntikf, __fixkfti, __fixunskfti): New extern declarations.
658 * config/rs6000/t-float128 (floattikf, floatuntikf,
659 fixkfti, fixunskfti): Remove file names from fp128_ppc_funcs.
660 (floattikf-sw, floatuntikf-sw, fixkfti-sw, fixunskfti-sw): Add
661 file names to fp128_ppc_funcs.
662 * config/rs6000/t-float128-hw(fp128_3_1_hw_funcs,
663 fp128_3_1_hw_src, fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj,
664 fp128_3_1_hw_obj): Add variables for ISA 3.1 support.
665 * config/rs6000/t-float128-p10-hw: New file.
666 * configure: Update script for isa 3.1 128-bit float support.
667 * configure.ac: Add check for 128-bit float hardware support.
668 * config/rs6000/fixkfti-sw.c: New file.
669 * config/rs6000/fixunskfti-sw.c: New file.
670 * config/rs6000/floattikf-sw.c: New file.
671 * config/rs6000/floatuntikf-sw.c: New file.
672
f9af11c7
GA
6732021-05-13 Dimitar Dimitrov <dimitar@dinux.eu>
674
675 * config/pru/mpyll.S (__pruabi_mpyll): Place into own section.
676
4d0385df 6772021-05-13 Martin Liska <mliska@suse.cz>
f9af11c7
GA
678
679 * libgcov-driver.c: Fix GNU coding style.
680
aa891c56
GA
6812021-05-10 Martin Liska <mliska@suse.cz>
682
683 * libgcov-driver.c (gcov_version): Use different name that does
684 not clash with newly introduced macro.
685
3c8e539d
GA
6862021-04-29 Eric Botcazou <ebotcazou@adacore.com>
687
688 * libgcov.h: For the target, define GCOV_LOCKED_WITH_LOCKING
689 if __MSVCRT__ and, for the host, define it if HOST_HAS_LK_LOCK.
690 * libgcov-driver.c: Add directives if GCOV_LOCKED_WITH_LOCKING.
691
e4ff4ffb
GA
6922021-04-28 Patrick McGehearty <patrick.mcgehearty@oracle.com>
693
694 * libgcc2.c (XMTYPE, XCTYPE, RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
695 Define.
696 (__divsc3, __divdc3, __divxc3, __divtc3): Improve complex divide.
697 * config/rs6000/_divkc3.c (RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
698 Define.
699 (__divkc3): Improve complex divide.
700
05ec629f
GA
7012021-04-23 Michael Meissner <meissner@linux.ibm.com>
702
703 PR target/98952
704 * config/rs6000/tramp.S (__trampoline_setup, elfv1 #ifdef): Fix
705 trampoline size comparison in 32-bit by reversing test and
706 combining load immediate with compare.
707 (__trampoline_setup, elfv2 #ifdef): Fix trampoline size comparison
708 in 32-bit by reversing test and combining load immediate with
709 compare.
710
b1da9916
GA
7112021-04-05 Florian Weimer <fweimer@redhat.com>
712 Michael Meissner <meissner@linux.ibm.com>
713
714 * config/rs6000/t-float128 (fp128_ppc_funcs): Add decimal floating
715 point functions for $(decimal_float) only.
716
c0756c4e
GA
7172021-04-03 Jakub Jelinek <jakub@redhat.com>
718
719 PR target/97653
720 * config/rs6000/t-linux (IBM128_STATIC_OBJS): Fix spelling, use
721 $(objext) instead of $(object). Use _floatunditf instead of
722 _floatunsditf. Add tf <-> ti conversion objects.
723 (IBM128_SHARED_OBJS): Use proper substitution reference syntax.
724
65374af2
GA
7252021-03-29 Michael Meissner <meissner@linux.ibm.com>
726
727 * config/rs6000/t-float128 (fp128_decstr_funcs): Delete.
728 (fp128_ppc_funcs): Do not add $(fp128_decstr_funcs).
729 (fp128_decstr_objs): Delete.
730 * dfp-bit.h: Call __sprintfieee128 to do conversions from
731 _Float128 to a Decimal type. Call __strtoieee128 to do
732 conversions from a Decimal type to _Float128.
733 * config/rs6000/_sprintfkf.c: Delete file.
734 * config/rs6000/_sprintfkf.h: Delete file.
735 * config/rs6000/_strtokf.c: Delete file.
736 * config/rs6000/_strtokf.h: Delete file.
737
bf1f3168
GA
7382021-03-23 Marcus Comstedt <marcus@mc.pp.se>
739
740 * config/riscv/sfp-machine.h (__BYTE_ORDER): Set according
741 to __BYTE_ORDER__.
742
0ad6a2e2
GA
7432021-03-06 Jakub Jelinek <jakub@redhat.com>
744
745 PR gcov-profile/99406
746 * libgcov.h (MAP_FAILED, MAP_ANONYMOUS): If HAVE_SYS_MMAN_H is
747 defined, define these macros if not defined already.
748
67f10d28
GA
7492021-03-04 Martin Liska <mliska@suse.cz>
750
751 PR gcov-profile/99105
752 * libgcov-driver.c (write_top_counters): Rename to ...
753 (write_topn_counters): ... this.
754 (write_one_data): Pre-allocate buffer for number of items
755 in the corresponding linked lists.
756 * libgcov.h (malloc_mmap): New function.
757 (allocate_gcov_kvp): Use it.
758
7592021-03-04 Martin Liska <mliska@suse.cz>
760
761 PR gcov-profile/99385
762 * libgcov.h (allocate_gcov_kvp): Call mmap with fd equal to -1.
763
f3641ac7
GA
7642021-03-03 Martin Liska <mliska@suse.cz>
765
766 PR gcov-profile/97461
767 * config.in: Regenerate.
768 * configure: Likewise.
769 * configure.ac: Check sys/mman.h header file
770 * libgcov-driver.c (struct gcov_kvp): Remove static
771 pre-allocated pool and use a dynamic one.
772 * libgcov.h (MMAP_CHUNK_SIZE): New.
773 (gcov_counter_add): Use mmap to allocate pool for struct
774 gcov_kvp.
775
d97a92dc
GA
7762021-03-02 Michael Meissner <meissner@linux.ibm.com>
777
778 * config/rs6000/_sprintfkf.h (__sprintfkf): Fix prototype to match
779 the function.
780 * config/rs6000/_sprintfkf.c: Include _sprintfkf.h.
781
4028d01a
GA
7822021-02-24 Jakub Jelinek <jakub@redhat.com>
783
784 PR libgcc/99236
785 * libgcc2.c (__powisf2, __powidf2, __powitf2, __powixf2): Perform
786 negation of m in unsigned type.
787
7882021-02-24 Christophe Lyon <christophe.lyon@linaro.org>
789 Hau Hsu <hsuhau617@gmail.com>
790
791 PR target/99157
792 * config/arm/t-arm: Fix cmse support detection.
793
2f5765cf
GA
7942021-02-22 Michael Meissner <meissner@linux.ibm.com>
795
796 * dfp-bit.c (BFP_TO_DFP): Fix a comment line that was too long.
797
7982021-02-22 Michael Meissner <meissner@linux.ibm.com>
799
800 * config/rs6000/_dd_to_kf.c: New file.
801 * config/rs6000/_kf_to_dd.c: New file.
802 * config/rs6000/_kf_to_sd.c: New file.
803 * config/rs6000/_kf_to_td.c: New file.
804 * config/rs6000/_sd_to_kf.c: New file.
805 * config/rs6000/_sprintfkf.c: New file.
806 * config/rs6000/_sprintfkf.h: New file.
807 * config/rs6000/_strtokf.h: New file.
808 * config/rs6000/_strtokf.c: New file.
809 * config/rs6000/_td_to_kf.c: New file.
810 * config/rs6000/quad-float128.h: Add new declarations.
811 * config/rs6000/t-float128 (fp128_dec_funcs): New macro.
812 (fp128_decstr_funcs): New macro.
813 (ibm128_dec_funcs): New macro.
814 (fp128_ppc_funcs): Add the new conversions.
815 (fp128_dec_objs): Force Decimal <-> __float128 conversions to be
816 compiled with -mabi=ieeelongdouble.
817 (fp128_decstr_objs): Force __float128 <-> string conversions to be
818 compiled with -mabi=ibmlongdouble.
819 (ibm128_dec_objs): Force Decimal <-> __float128 conversions to be
820 compiled with -mabi=ieeelongdouble.
821 (FP128_CFLAGS_DECIMAL): New macro.
822 (IBM128_CFLAGS_DECIMAL): New macro.
823 * dfp-bit.c (DFP_TO_BFP): Add PowerPC _Float128 support.
824 (BFP_TO_DFP): Add PowerPC _Float128 support.
825 * dfp-bit.h (BFP_KIND): Add new binary floating point kind for
826 IEEE 128-bit floating point.
827 (DFP_TO_BFP): Add PowerPC _Float128 support.
828 (BFP_TO_DFP): Add PowerPC _Float128 support.
829 (BFP_SPRINTF): New macro.
830
aa69f0a8
GA
8312021-01-27 Jakub Jelinek <jakub@redhat.com>
832
833 * config/i386/savms64.h: Add .note.GNU-stack section on Linux.
834 * config/i386/savms64f.h: Likewise.
835 * config/i386/resms64.h: Likewise.
836 * config/i386/resms64f.h: Likewise.
837 * config/i386/resms64x.h: Likewise.
838 * config/i386/resms64fx.h: Likewise.
839
e62bb7f0
GA
8402021-01-26 Martin Liska <mliska@suse.cz>
841
842 PR gcov-profile/98739
843 * libgcov.h (gcov_topn_add_value): Do not train when
844 we have a merged profile with a negative number of total
845 value.
846
161e4c08
GA
8472021-01-25 Martin Liska <mliska@suse.cz>
848
849 PR gcov-profile/98739
850 * libgcov-merge.c (__gcov_merge_topn): Mark when merging
851 ends with a dropped counter.
852 * libgcov.h (gcov_topn_add_value): Add return value.
853
be0851b8
GA
8542021-01-13 Stafford Horne <shorne@gmail.com>
855
856 * config/or1k/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
857 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_EX_OVERFLOW,
858 FP_EX_UNDERFLOW, FP_EX_INEXACT, FP_EX_INVALID, FP_EX_DIVZERO,
859 FP_EX_ALL): New constant macros.
860 (_FP_DECL_EX, FP_ROUNDMODE, FP_INIT_ROUNDMODE,
861 FP_HANDLE_EXCEPTIONS): New macros.
862 (_FP_TININESS_AFTER_ROUNDING): Change to 1.
863
8642021-01-13 Samuel Thibault <samuel.thibault@gnu.org>
865
866 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Add the
867 posix siginfo case to struct handler_args. Detect between legacy
868 and siginfo from the second parameter, which is a small sigcode in
869 the legacy case, and a pointer in the siginfo case.
870
108beb75
GA
8712020-12-20 Max Filippov <jcmvbkbc@gmail.com>
872
873 * config/xtensa/lib1funcs.S (__bswapsi2, __bswapdi2): New
874 functions.
875 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _bswapsi2 and
876 _bswapdi2.
877
f6e8e279
GA
8782020-12-08 Ian Lance Taylor <iant@golang.org>
879
880 * generic-morestack-thread.c (free_segments): Block signals during
881 thread exit.
882
b8dd0ef7
GA
8832020-12-03 Michael Meissner <meissner@linux.ibm.com>
884
885 PR libgcc/97543
886 PR libgcc/97643
887 * config/rs6000/t-linux (IBM128_STATIC_OBJS): New make variable.
888 (IBM128_SHARED_OBJS): New make variable.
889 (IBM128_OBJS): New make variable. Set all objects to use the
890 explicit IBM format, and disable gnu attributes.
891 (IBM128_CFLAGS): New make variable.
892 (gcc_s_compile): Add -mno-gnu-attribute to all shared library
893 modules.
894
8952020-12-03 Alexandre Oliva <oliva@adacore.com>
896
897 * config/t-vxworks (LIB2ADD): Drop.
898 * config/t-vxworks7 (LIB2ADD): Likewise.
899 * config/vxcache.c: Remove.
900
94358e47
GA
9012020-11-30 Stefan Kanthak <stefan.kanthak@nexgo.de>
902
903 * libgcc2.c (bswapsi2): Make constants unsigned.
904
360258da
GA
9052020-11-25 Stefan Kanthak <stefan.kanthak@nexgo.de>
906
907 * libgcc2.c (absvSI2): Simplify/improve implementation by using
908 builtin_add_overflow.
909 (absvsi2, absvDI2): Likewise.
910
82e5048e
GA
9112020-11-20 Maciej W. Rozycki <macro@linux-mips.org>
912
913 * unwind-dw2-fde-dip.c [__OpenBSD__ || __NetBSD__]
914 (USE_PT_GNU_EH_FRAME): Do not define if !TARGET_DL_ITERATE_PHDR.
915
25bb75f8
GA
9162020-11-18 Jozef Lawrynowicz <jozef.l@mittosystems.com>
917
918 * config/msp430/lib2hw_mul.S (mult64_hw): New.
919 (if MUL_32): Use mult64_hw for __muldi3.
920 (if MUL_F5): Use mult64_hw for __muldi3.
921 * config/msp430/lib2mul.c (__muldi3): New.
922 * config/msp430/t-msp430 (LIB2FUNCS_EXCLUDE): Define.
923
29c5d9ce
GA
9242020-11-17 Alan Modra <amodra@gmail.com>
925
926 * config/rs6000/t-ppc64-fp (LIB2ADD): Delete.
927 (LIB2_SIDITI_CONV_FUNCS): Define.
928 * config/rs6000/ppc64-fp.c: Delete file.
929
cba30651
GA
9302020-11-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
931
932 * config/msp430/lib2hw_mul.S: Omit _hw* suffix from GCC names for
933 hwmult library functions.
934
bb622641
GA
9352020-11-10 Jeff Law <law@redhat.com>
936
937 * libgcc2.c: Fix whitespace issues in most recent change.
938
9392020-11-10 Stefan Kanthak <stefan.kanthak@nexgo.de>
940
941 * libgcc2.c (__addvSI3): Use overflow builtins.
942 (__addvsi3, __addvDI3 ,__subvSI3, __subvsi3): Likewise.
943 (__subvDI3 __mulvSI3, __mulvsi3, __negvSI2): Likewise.
944 (__negvsi2, __negvDI2): Likewise.
945 (__cmpdi2, __ucmpdi2): Adjust implementation to improve
946 generated code.
947 * libgcc2.h (__ucmpdi2): Adjust prototype.
948
fd2325ea
GA
9492020-11-03 Pat Bernardi <bernardi@adacore.com>
950 Olivier Hainque <hainque@adacore.com>
951
952 * config.host (aarch64-vxworks7*, tmake_file): Add
953 ${cpu_type}/t-lse and t-slibgcc-libgcc.
954
9552020-11-03 Martin Storsjö <martin@martin.st>
956
957 * unwind-seh.c (_Unwind_Backtrace): Set the ra and cfa pointers
958 before calling the callback.
959
88ce3d5f
GA
9602020-10-30 Olivier Hainque <hainque@adacore.com>
961 Douglas Rupp <rupp@adacore.com>
962 Pat Bernardi <bernardi@adacore.com>
963
964 * config.host: Adjust the ix86/x86_64-wrs-vxworks filters
965 to apply to VxWorks 7 as well.
966
4f0606fe
GA
9672020-10-29 Olivier Hainque <hainque@adacore.com>
968
969 * config/gthr-vxworks-tls.c: Fix preprocessor logic
970 controlling the definition of VX_ENTER_TLS_DTOR and
971 VX_LEAVE_TLS_DTOR based on a version major check.
972
9732020-10-29 Olivier Hainque <hainque@adacore.com>
974
975 * config/gthr-vxworks-thread.c: Fix name of macro used
976 to condition the inclusion of an actual implementation.
977
89bb01e7
GA
9782020-10-27 Martin Liska <mliska@suse.cz>
979
980 PR gcov-profile/97461
981 * libgcov.h (gcov_counter_add): Use first static counters
982 as it should help to have malloc wrappers set up.
983
efe71fcc
GA
9842020-10-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
985
986 * config/gthr-vxworks-thread.c: #include gthr.h before
987 testing the guard defined there.
988 * config/gthr-vxworks-cond.c: Likewise.
989
56ddd5e2
GA
9902020-10-21 Douglas Rupp <rupp@adacore.com>
991 Olivier Hainque <hainque@adacore.com>
992
993 * config.host (powerpc*-wrs-vxworks7*): New case.
994 * configure.ac: Handle powerpc*-*-vxworks7* as
995 powerpc*-*-linux* for ppc-fp_type.
996 * configure: Regenerate.
997
56e4eee9
GA
9982020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
999
1000 * config/gthr-vxworks.h: Condition the ___GTHREADS_CXX0X
1001 section on VxWorks >= 6.
1002 * config/gthr-vxworks-thread.c: Condition the entire
1003 implementation on __GTHREAD_CXX0X.
1004
10052020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1006
1007 * config/gthr-vxworks.h: Condition the __GTHREAD_HAS_COND
1008 section on VxWorks >= 6.
1009 * config/gthr-vxworks-cond.c: Condition the entire
1010 implementation on __GTHREAD_HAS_COND.
1011
10122020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1013
1014 * config/gthr-vxworks.c: #include <taskLib.h>.
1015
10162020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1017
1018 * config/gthr-vxworks.h: Rewrite remaining occurrence
1019 of _VXW_PRE_69 as _VXWORKS_PRE(6,9).
1020
10212020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1022 Olivier Hainque <hainque@adacore.com>
1023
1024 * config/gthr-vxworks-tls.c (VX_ENTER_TLS_DTOR): Nil
1025 except on VxWorks 6.
1026
10272020-10-16 Olivier Hainque <hainque@adacore.com>
1028
1029 * config/t-vxcrtstuff: Remove the -kernel/-rtp specialization.
1030
b2698c21
GA
10312020-10-14 Alexandre Oliva <oliva@adacore.com>
1032
1033 * config/gthr-vxworks-thread.c: Include stdlib.h.
1034 (tls_delete_hook): Prototype it.
1035 (__gthread_cond_signal): Return early if no waiters. Consume
1036 signal in case the semaphore got full. Use semInfoGet instead
1037 of kernel-mode-only semInfo.
1038 (__gthread_cond_timedwait): Use semExchange. Always take the
1039 mutex again before returning.
1040 * config/gthr-vxworks-cond.c (__ghtread_cond_wait): Likewise.
1041
10422020-10-14 Olivier Hainque <hainque@adacore.com>
1043
1044 * config/t-vxworks (LIBGCC2_INCLUDES): Append
1045 $(MULTISUBDIR) to the -I path for fixed headers, as we
1046 arrange to have different sets of such headers for different
1047 multilibs when they are activated.
1048 * config/t-vxworks7: Likewise.
1049
10502020-10-14 Olivier Hainque <hainque@adacore.com>
1051
1052 * config/t-vxworks: Add include-fixed to include search
1053 paths for libgcc on VxWorks.
1054 * config/t-vxworks7: Likewise.
1055
c74a0e82
GA
10562020-10-09 H.J. Lu <hjl.tools@gmail.com>
1057
1058 PR target/97148
1059 * config/i386/shadow-stack-unwind.h: Include <x86gprintrin.h>
1060 instead of <cetintrin.h>.
1061
6c2675fa
GA
10622020-10-01 Alan Modra <amodra@gmail.com>
1063
1064 * config/rs6000/morestack.S,
1065 * config/rs6000/tramp.S: Support __PCREL__ code.
1066
10672020-10-01 Alan Modra <amodra@gmail.com>
1068
1069 * config/rs6000/t-linux: Document purpose of -mno-minimal-toc.
1070
93bca37c
GA
10712020-09-29 Maciej W. Rozycki <macro@wdc.com>
1072
1073 * config/riscv/t-elf (LIB2_DIVMOD_EXCEPTION_FLAGS): New
1074 variable.
1075
e84761c6
GA
10762020-09-28 Richard Sandiford <richard.sandiford@arm.com>
1077
1078 * config/aarch64/libgcc-softfp.ver: New file.
1079 * config/aarch64/t-softfp (SHLIB_MAPFILES): Add it.
1080
4383c595
GA
10812020-09-27 Clement Chigot <clement.chigot@atos.net>
1082
1083 * config/rs6000/t-slibgcc-aix: Use $(AR) without -X32_64.
1084
521d2711
GA
10852020-09-22 Sergei Trofimovich <siarheit@google.com>
1086
1087 PR gcov-profile/96913
1088 * libgcov-driver.c (write_one_data): Avoid function pointer
1089 comparison in TOP streaming decision.
1090
2aad20c0
GA
10912020-09-17 Torbjörn SVENSSON <torbjorn.svensson@st.com>
1092 Christophe Lyon <christophe.lyon@linaro.org>
1093
1094 * config/arm/fp16.c (__gnu_h2f_internal): Add 'static inline'
1095 qualifier.
1096 (__gnu_f2h_ieee, __gnu_h2f_ieee, __gnu_f2h_alternative)
1097 (__gnu_h2f_alternative,__gnu_d2h_ieee, __gnu_d2h_alternative): Add
1098 missing prototypes.
1099
11002020-09-17 Wei Wentao <weiwt.fnst@cn.fujitsu.com>
1101
1102 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr): Fix
1103 unused variable warning.
1104
ecde1b0a
GA
11052020-09-16 Jojo R <jiejie_rong@c-sky.com>
1106
1107 * config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf target.
1108
80f86e78
GA
11092020-09-09 Tom de Vries <tdevries@suse.de>
1110
1111 * config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
1112 Wbuiltin-declaration-mismatch.
1113
57ea0894
GA
11142020-08-26 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1115
1116 * config/msp430/slli.S (__gnu_mspabi_sllp): New.
1117 * config/msp430/srai.S (__gnu_mspabi_srap): New.
1118 * config/msp430/srli.S (__gnu_mspabi_srlp): New.
1119
b3cb5606
GA
11202020-08-13 Kwok Cheung Yeung <kcy@codesourcery.com>
1121
1122 * config/nvptx/atomic.c: New.
1123 * config/nvptx/t-nvptx (LIB2ADD): Add atomic.c.
1124
6a1ad710
GA
11252020-08-03 Ian Lance Taylor <iant@golang.org>
1126
1127 * config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
1128
11292020-08-03 Jakub Jelinek <jakub@redhat.com>
1130
1131 PR target/96402
1132 * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
1133 of x(tmp0), x(tmp1) in STXP arguments.
1134
48cc2e46
GA
11352020-07-31 Maciej W. Rozycki <macro@wdc.com>
1136
1137 * config/riscv/save-restore.S [__riscv_xlen == 64]
1138 (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
1139 (__riscv_save_2): Replace negative immediates used for the final
1140 stack pointer adjustment with positive ones, right-shifted by 4.
1141
11422020-07-31 Martin Liska <mliska@suse.cz>
1143
1144 * libgcov-driver.c: Add __gcov_kvp_pool
1145 and __gcov_kvp_pool_index variables.
1146 * libgcov.h (allocate_gcov_kvp): New.
1147 (gcov_topn_add_value): Use it.
1148
53256ee3
GA
11492020-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
1150
1151 * config/aarch64/lse.S: Add PAC property note.
1152
9bb403dc
GA
11532020-07-23 Martin Liska <mliska@suse.cz>
1154
1155 PR gcov-profile/96035
1156 * libgcov-driver-system.c: Create gcov folders with 0777
1157 so that it respects a system umask.
1158
8ca07a30
GA
11592020-07-14 David Edelsohn <dje.gcc@gmail.com>
1160
1161 * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
1162
ea69fcf9
GA
11632020-07-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
1164
1165 PR target/94891
1166 * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
1167 (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
1168 (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
1169 (MD_DEMANGLE_RETURN_ADDR): This.
1170 (aarch64_post_extract_frame_addr): Rename to ...
1171 (aarch64_demangle_return_addr): This.
1172 (aarch64_post_frob_eh_handler_addr): Remove.
1173 * unwind-dw2.c (uw_update_context): Demangle return address.
1174 (uw_frob_return_addr): Remove.
1175
3f8ca9cb
GA
11762020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
1177
1178 PR target/96001
1179 * config/aarch64/lse.S: Add BTI marking and related definitions,
1180 and add BTI c to function entries.
1181
11822020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
1183
1184 * config/aarch64/lse.S: Add stack note.
1185
b5f24739
GA
11862020-07-02 Martin Liska <mliska@suse.cz>
1187
1188 PR gcov-profile/95348
1189 * libgcov-driver.c (merge_one_data): Merge only profiles
1190 that are not of non-zero type.
1191 (write_one_data): Write counters only if there's one non-zero
1192 value.
1193 * libgcov-util.c (tag_function): Change signature from unsigned
1194 to int.
1195 (tag_blocks): Likewise.
1196 (tag_arcs): Likewise.
1197 (tag_counters): Likewise.
1198 (tag_summary): Likewise.
1199 (tag_lines): Read only if COUNTERS is non-zero.
1200 (read_gcda_file): Handle negative length for COUNTERS type.
1201
d61ffe12
GA
12022020-06-25 Martin Liska <mliska@suse.cz>
1203
1204 * libgcov-driver.c (merge_summary): Remove function as its name
1205 is misleading and doing something different.
1206 (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
1207 in gcov-tool.
1208 * libgcov-util.c (curr_object_summary): Remove.
1209 (read_gcda_file): Remove unused curr_object_summary.
1210 (gcov_merge): Merge summaries.
1211 * libgcov.h: Add summary argument for gcov_info struct.
1212
2e546c26
GA
12132020-06-24 H.J. Lu <hjl.tools@gmail.com>
1214
1215 PR target/95259
1216 * config/i386/cpuinfo.c: Don't include "cpuinfo.h". Include
1217 "common/config/i386/i386-cpuinfo.h" and
1218 "common/config/i386/cpuinfo.h".
1219 (__cpu_features2): Changed to array.
1220 (get_amd_cpu): Removed.
1221 (get_intel_cpu): Likewise.
1222 (get_available_features): Likewise.
1223 (__cpu_indicator_init): Call cpu_indicator_init.
1224 * config/i386/cpuinfo.h: Removed.
1225
4543acc8
GA
12262020-06-23 David Edelsohn <dje.gcc@gmail.com>
1227
1228 * Makefile.in: Remove uses of empty.mk. Use -include.
1229 * config/avr/t-avr: Use -include.
1230 * empty.mk: Delete.
1231
f86e11a2
GA
12322020-06-21 David Edelsohn <dje.gcc@gmail.com>
1233
1234 * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
1235 * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
1236 and 64 bit with -maix64.
1237 * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
1238 Build and install AIX-style FAT libraries.
1239
aff95ee7
GA
12402020-06-17 Samuel Thibault <samuel.thibault@gnu.org>
1241
1242 * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
1243 'i386/gnu-unwind.h'
1244 * config/i386/gnu-unwind.h: New file.
1245
12462020-06-17 Martin Liska <mliska@suse.cz>
1247
1248 * libgcov-util.c (read_gcda_finalize): Remove const operator.
1249 (merge_wrapper): Add both counts and use them properly.
1250 (topn_to_memory_representation): New function.
1251 (gcov_merge): Covert on disk representation to in memory
1252 representation.
1253 * libgcov.h: Remove const operator.
1254
6fb94d67
GA
12552020-06-15 Max Filippov <jcmvbkbc@gmail.com>
1256
1257 * configure: Regenerate.
1258 * configure.ac: Use AC_COMPILE_IFELSE instead of manual
1259 preprocessor invocation to check for __XTENSA_CALL0_ABI__.
1260
b952c2cf
GA
12612020-06-09 Martin Liska <mliska@suse.cz>
1262
1263 PR gcov-profile/95494
1264 * libgcov-driver.c (write_top_counters): Cast first to
1265 intptr_t as sizeof(*) != sizeof(gcov_type).
1266 * libgcov.h (gcov_counter_set_if_null): Remove.
1267 (gcov_topn_add_value): Cast first to intptr_t and update
1268 linked list directly.
1269
12702020-06-09 Max Filippov <jcmvbkbc@gmail.com>
1271
1272 * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
1273 with uw_install_context_1.
1274
3add3425
GA
12752020-06-04 Andreas Schwab <schwab@suse.de>
1276
1277 PR target/59230
1278 PR libfortran/59227
1279 * config/ia64/t-softfp-compat (softfp_file_list): Filter out
1280 soft-fp/divtf3.c.
1281 (LIB2ADD): Add config/ia64/divtf3.c.
1282 * config/ia64/divtf3.c: New file.
1283
9a5b7438
GA
12842020-06-03 Martin Liska <mliska@suse.cz>
1285
1286 PR gcov-profile/95480
1287 * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
1288 * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
1289 (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
1290 (gcov_counter_set_if_null): Likewise.
1291
a9312a79
GA
12922020-06-02 Jim Wilson <jimw@sifive.com>
1293
1294 * config/riscv/div.S (__divdi3): For negative arguments, change bgez
1295 to bgtz.
1296
12972020-06-02 Martin Liska <mliska@suse.cz>
1298
1299 * libgcov.h (gcov_topn_add_value): Use xcalloc instead
1300 of xmalloc.
1301
13022020-06-02 Martin Liska <mliska@suse.cz>
1303
1304 * libgcov-driver.c (prune_topn_counter): Remove.
1305 (prune_counters): Likewise.
1306 (merge_one_data): Special case TOP N counters
1307 as they have variable length.
1308 (write_top_counters): New.
1309 (write_one_data): Special case TOP N.
1310 (dump_one_gcov): Do not prune TOP N counters.
1311 * libgcov-merge.c (merge_topn_values_set): Remove.
1312 (__gcov_merge_topn): Use gcov_topn_add_value.
1313 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
1314 Likewise here.
1315 * libgcov.h (gcov_counter_add): New.
1316 (gcov_counter_set_if_null): Likewise.
1317 (gcov_topn_add_value): New.
1318
4a9aa9de
GA
13192020-06-01 Uroš Bizjak <ubizjak@gmail.com>
1320
1321 * config/i386/sfp-exceptions.c (struct fenv):
1322 Add __attribute__ ((gcc_struct)).
1323
885ef72f
GA
13242020-05-29 H.J. Lu <hjl.tools@gmail.com>
1325
1326 PR bootstrap/95413
1327 * configure: Regenerated.
1328
53ffb43a
GA
13292020-05-28 Dong JianQiang <dongjianqiang2@huawei.com>
1330
1331 PR gcov-profile/95332
1332 * libgcov-util.c (read_gcda_file): Call gcov_magic.
1333 * libgcov.h (gcov_magic): Disable GCC poison.
1334
5855bdfa
L
13352020-05-21 H.J. Lu <hongjiu.lu@intel.com>
1336
1337 PR target/95212
1338 * config/i386/cpuinfo.h (processor_features): Move
1339 FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
1340
35b98036
L
13412020-05-20 H.J. Lu <hongjiu.lu@intel.com>
1342
1343 PR target/91695
1344 * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
1345 check.
1346
45395445
L
13472020-05-19 H.J. Lu <hongjiu.lu@intel.com>
1348
1349 PR target/95212
1350 PR target/95220
1351 * config/i386/cpuinfo.c (get_available_features): Fix
1352 FEATURE_GFNI check. Also check FEATURE_AVX512VP2INTERSECT.
1353 * config/i386/cpuinfo.h (processor_features): Add
1354 FEATURE_AVX512VP2INTERSECT.
1355
4c1a5d8b
L
13562020-05-15 H.J. Lu <hongjiu.lu@intel.com>
1357
1358 PR bootstrap/95147
1359 * configure: Regenerated.
1360
8d286dd1
L
13612020-05-14 H.J. Lu <hongjiu.lu@intel.com>
1362
1363 * configure: Regenerated.
1364
39748a89
HPN
13652020-05-09 Hans-Peter Nilsson <hp@axis.com>
1366
1367 * config.host: Remove support for crisv32-*-* and cris*-*-linux.
1368 * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
1369
d3a1459c
UB
13702020-05-06 Uroš Bizjak <ubizjak@gmail.com>
1371
1372 * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
1373 (__math_force_eval_div): New define.
1374 (__sfp_handle_exceptions): Use __math_force_eval_div to use
1375 generic division to generate INVALID, DIVZERO and INEXACT
1376 exceptions.
1377
12667785
KT
13782020-05-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1379
1380 * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
1381 instead of getauxval.
1382 (AT_HWCAP): Define.
1383 (HWCAP_ATOMICS): Define.
1384 Guard detection on __gnu_linux__.
1385
ef836167
MM
13862020-05-05 Michael Meissner <meissner@linux.ibm.com>
1387
1388 * config.host: Delete changes meant for a private branch.
1389 * config/rs6000/t-float128: Likewise.
1390 * configure.ac: Likewise.
1391 * configure: Likewise.
1392
811b7636
ML
13932020-05-05 Martin Liska <mliska@suse.cz>
1394
1395 PR gcov-profile/93623
1396 * Makefile.in: Remove __gcov_flush.
1397 * gcov.h (__gcov_flush): Remove.
1398 * libgcov-interface.c (__gcov_flush): Remove.
1399 (init_mx): Use renamed mutex.
1400 (__gcov_lock): Likewise.
1401 (__gcov_unlock): Likewise.
1402 (__gcov_fork): Likewise.
1403 (__gcov_flush): Remove.
1404
c0532db4
ML
14052020-05-05 Martin Liska <mliska@suse.cz>
1406
1407 PR gcov-profile/93623
1408 * libgcov-interface.c (__gcov_fork): Do not flush
1409 and reset only in child process.
1410 (__gcov_execl): Dump counters only and reset them
1411 only if exec* fails.
1412 (__gcov_execlp): Likewise.
1413 (__gcov_execle): Likewise.
1414 (__gcov_execv): Likewise.
1415 (__gcov_execvp): Likewise.
1416 (__gcov_execve): Likewise.
1417
d39f7dc8
ML
14182020-05-05 Martin Liska <mliska@suse.cz>
1419
1420 PR gcov-profile/93623
1421 * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
1422 * libgcov-interface.c (ALIAS_void_fn): Remove.
1423 (__gcov_lock): New.
1424 (__gcov_unlock): New.
1425 (__gcov_flush): Use __gcov_lock and __gcov_unlock.
1426 (__gcov_reset): Likewise.
1427 (__gcov_dump): Likewise.
1428 * libgcov.h (__gcov_lock): New declaration.
1429 (__gcov_unlock): Likewise.
1430
afb9b710
UB
14312020-05-01 Uroš Bizjak <ubizjak@gmail.com>
1432
1433 * config/i386/sfp-exceptions.c (__math_force_eval): New define.
d3a1459c 1434 (__sfp_handle_exceptions): Use __math_force_eval to evaluate
afb9b710
UB
1435 generic division to generate INVALID and DIVZERO exceptions.
1436
66711279
SH
14372020-04-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
1438
1439 * config/rs6000/crtresfpr.S: Use .machine ppc.
1440 * config/rs6000/crtresxfpr.S: Likewise.
1441 * config/rs6000/crtsavfpr.S: Likewise.
1442
fb22faf4
SN
14432020-04-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
1444
1445 PR target/94514
1446 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
1447 Update context->flags accroding to the frame state.
1448
df73e584
UB
14492020-04-19 Uroš Bizjak <ubizjak@gmail.com>
1450
1451 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
1452 Remove unneeded assignments to volatile memory.
1453
5b2f76e3
JJ
14542020-04-15 Jakub Jelinek <jakub@redhat.com>
1455
1456 PR target/93053
1457 * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
1458 * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
1459 is not defined, use just .arch armv8-a.
1460 (B, M, N, OPN): Define.
1461 (COMMENT): New .macro.
1462 (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
1463 defined. Otherwise, move the operands right after the glue? and
1464 comment out operands where the macros are used.
1465 * configure: Regenerated.
1466 * config.in: Regenerated.
1467
50c78532
ILT
14682020-04-07 Ian Lance Taylor <iant@golang.org>
1469
1470 PR libgcc/94513
1471 * generic-morestack.c: Give up trying to use __mmap/__munmap, use
1472 syscall instead.
1473
458ca332
ILT
14742020-04-04 Ian Lance Taylor <iant@golang.org>
1475
1476 * generic-morestack.c: Only use __mmap on glibc >= 2.26.
1477
710d54ed
ILT
14782020-04-03 Ian Lance Taylor <iant@golang.org>
1479
1480 * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
1481 than mmap/munmap, to avoid hooks.
1482
b749b5ec
JJ
14832020-04-03 Jim Johnston <jjohnst@us.ibm.com>
1484
1485 * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
1486 (TPFRA_OFFSET): Macros removed.
1487 (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
1488 (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
1489 (PG3_SKIPPING_OFFSET): New macros.
1490 (__isPATrange): Use cinfc_fast for the check.
1491 (__isSkipResetAddr): New function.
1492 (s390_fallback_frame_state): Check for skip trace addresses. Use
1493 either ICST_CRET or ICST_SRET to calculate return address
1494 location.
1495 (__tpf_eh_return): Handle skip trace addresses.
1496
a9cd2d78
RE
14972020-03-26 Richard Earnshaw <rearnsha@arm.com>
1498
1499 PR target/94220
1500 * config/arm/lib1funcs.asm (COND): Use a single definition for
1501 unified syntax.
1502 (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
1503 (aeabi_idivmod): Likewise.
1504 (divsi3_skip_div0_test): Likewise.
1505
f582ca0f
MI
15062020-03-17 Mihail Ionescu <mihail.ionescu@arm.com>
1507
1508 * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
1509
068fe0a9
AK
15102020-03-04 Andreas Krebbel <krebbel@linux.ibm.com>
1511
1512 * config.host: Include the new makefile fragment.
1513 * config/s390/t-tpf: New file.
1514
6b9ce2b4
RE
15152020-03-03 Richard Earnshaw <rearnsha@arm.com>
1516
1517 * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
1518 syntax.
1519 (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
1520 (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
1521 (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
1522 (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
1523 * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
1524 syntax.
1525 (divsi3, modsi3): Likewise.
1526 (clzdi2, ctzsi2): Likewise.
1527 * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
1528 unified syntax.
1529 (UNWIND_WRAPPER): Likewise.
1530
8dd5d8f3
ML
15312020-03-02 Martin Liska <mliska@suse.cz>
1532
1533 * libgcov-interface.c: Remove duplicate
1534 declaration of __gcov_flush_mx.
1535
ea0b1252
ML
15362020-02-18 Martin Liska <mliska@suse.cz>
1537
1538 PR ipa/92924
1539 * libgcov-merge.c (merge_topn_values_set): Record
1540 when a TOP N counter becomes invalid. When merging
1541 remove a smallest value if the space is needed.
1542
02ce382c
SL
15432020-02-12 Sandra Loosemore <sandra@codesourcery.com>
1544
1545 PR libstdc++/79193
1546 PR libstdc++/88999
1547
1548 * configure: Regenerated.
1549
7214fce3
JL
15502020-02-10 Jeff Law <law@redhat.com>
1551
1552 * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
1553 sections.
1554 * config/frv/frvend.c: Similarly.
1555
cf0f07ef
L
15562020-02-10 H.J. Lu <hongjiu.lu@intel.com>
1557
1558 PR libgcc/85334
1559 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1560 New.
1561
5602b48b
CL
15622020-02-10 Christophe Lyon <christophe.lyon@linaro.org>
1563
1564 PR target/93615
1565 * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
1566 _Unwind_gnu_Find_got.
1567 * unwind-pe.h: Likewise.
1568
811a475e
JJ
15692020-02-07 Jakub Jelinek <jakub@redhat.com>
1570
1571 PR target/93615
1572 * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
1573 (_Unwind_gnu_Find_got): ... this. Use __asm instead of asm. Remove
1574 trailing :s in asm. Formatting fixes.
1575 (_Unwind_decode_typeinfo_ptr): Adjust caller.
1576
2d33dcfe
SL
15772020-01-31 Sandra Loosemore <sandra@codesourcery.com>
1578
1579 nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
1580
1581 * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
1582 * config/nios2-elf-lib.h: New.
1583 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
1584 code for finding GOT base for nios2.
1585
3ae37f92
ML
15862020-01-27 Martin Liska <mliska@suse.cz>
1587
1588 PR gcov-profile/93403
1589 * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
1590 Call __gcov_indirect_call_profiler_body.
1591 (__gcov_indirect_call_profiler_body): New.
1592 (__gcov_indirect_call_profiler_v4_atomic): New.
1593 * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
1594 New declaration.
1595
2744b8b2
CZ
15962020-01-27 Claudiu Zissulescu <claziss@synopsys.com>
1597
1598 * config/arc/crti.S: Add RF16 object attribute.
1599 * config/arc/crtn.S: Likewise.
1600 * config/arc/crttls.S: Likewise.
1601 * config/arc/lib1funcs.S: Likewise.
1602 * config/arc/fp-hack.h (ARC_OPTFPE): Define.
1603 * config/arc/lib2funcs.c: New file.
1604 * config/arc/t-arc: Add lib2funcs to LIB2ADD.
1605
e8e66971
MR
16062020-01-24 Maciej W. Rozycki <macro@wdc.com>
1607
1608 * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
1609 * configure.ac: Handle `--with-toolexeclibdir='.
1610 * configure: Regenerate.
1611
54b3d52c
DM
16122020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
1613
1614 * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
1615
a3c1e1f2
DM
16162020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
1617
1618 * config/mips/gnustack.h: New file.
1619 * config/mips/crti.S: Include gnustack.h.
1620 * config/mips/crtn.S: Likewise.
1621 * config/mips/mips16.S: Likewise.
1622 * config/mips/vr4120-div.S: Likewise.
1623
e9ee848d
ML
16242020-01-23 Martin Liska <mliska@suse.cz>
1625
1626 * libgcov-driver.c (prune_topn_counter): Remove
1627 check for -1 as we only prune run-time counters
1628 that do not generate an invalid state.
1629
7491c17f
ML
16302020-01-22 Martin Liska <mliska@suse.cz>
1631
1632 PR tree-optimization/92924
1633 * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
1634 try to find an existing value, then find an empty slot
1635 if not found.
1636
5f32f9cf
ML
16372020-01-22 Martin Liska <mliska@suse.cz>
1638
1639 PR tree-optimization/92924
1640 * libgcov-driver.c (prune_topn_counter): New.
1641 (prune_counters): Likewise.
1642 (dump_one_gcov): Prune a run-time counter.
1643 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
1644 For a known value, add GCOV_TOPN_VALUES to value.
1645 Otherwise, decrement all counters by one.
1646
463f6499
HPN
16472020-01-18 Hans-Peter Nilsson <hp@axis.com>
1648
1649 * config/cris/arit.c (DS): Apply attribute __fallthrough__.
1650
84479e3a
JDA
16512020-01-18 John David Anglin <danglin@gcc.gnu.org>
1652
1653 PR libgcc/92988
1654 * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
1655 DEFAULT_USE_CXA_ATEXIT is true.
1656
e953433f 16572020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
674dcc3f 1658 Thomas Preud'homme <thomas.preudhomme@arm.com>
e953433f
MI
1659
1660 * config/arm/t-arm: Check return value of gcc rather than lack of
1661 output.
1662
03e87724
GJL
16632020-01-14 Georg-Johann Lay <avr@gjlay.de>
1664
1665 * config/avr/lib1funcs.S (skip): Simplify.
1666
af9bd920
KCY
16672020-01-10 Kwok Cheung Yeung <kcy@codesourcery.com>
1668
1669 * config/gcn/atomic.c: Remove include of stdint.h.
1670 (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
1671 __UINTPTR_TYPE__.
1672
d6491d15
KCY
16732020-01-09 Kwok Cheung Yeung <kcy@codesourcery.com>
1674
1675 * config/gcn/atomic.c: New.
1676 * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
1677
f30dd607
GJL
16782020-01-08 Georg-Johann Lay <avr@gjlay.de>
1679
1680 Implement 64-bit double functions.
1681
1682 PR target/92055
1683 * config.host (tmake_file) [target=avr]: Add t-libf7,
1684 t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
1685 * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
1686 depending on sizeof (double) or sizeof (long double).
1687 * config/avr/libf7: New folder.
1688
5205a445
OH
16892020-01-05 Olivier Hainque <hainque@adacore.com>
1690
1691 * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
1692 by IN_LIBGCC2.
1693
8d9254fc
JJ
16942020-01-01 Jakub Jelinek <jakub@redhat.com>
1695
1696 Update copyright years.
1697
abb6c3ee
OH
16982019-12-30 Olivier Hainque <hainque@adacore.com>
1699
1700 * config/gthr-vxworks.h: Use _vxworks-versions.h.
1701 * config/gthr-vxworks-tls.c: Likewise.
1702
d7f5094a
OH
17032019-12-30 Olivier Hainque <hainque@adacore.com>
1704
1705 * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
1706 standard zero-initializer syntax.
1707
49cfaa2a
OH
17082019-12-30 Olivier Hainque <hainque@adacore.com>
1709
1710 * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
1711 reference to the internal VX_GET_TLS_DATA interface.
1712
89b9a554
OH
17132019-12-30 Olivier Hainque <hainque@adacore.com>
1714
1715 * config/vxcrtstuff.c: Fix incorrect spelling of
1716 USE_INITFINI_ARRAY in guard.
1717
e8aa9f55
JL
17182019-12-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1719
1720 * config.host: s/msp430*-*-elf/msp430-*-elf*.
1721 Override default "extra_parts" variable.
1722 * configure: Regenerate.
1723 * configure.ac: Disable TM clone registry by default for
1724 msp430-elfbare.
1725
a9046e98
JL
17262019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1727
1728 * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
1729 "extra_parts".
1730 * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
1731
34a53788
JL
17322019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1733
1734 * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
1735 true.
1736
21a098f4
JL
17372019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1738
1739 * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
1740 defined instead of its value.
1741
ad8b7783
JL
17422019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1743
1744 * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
1745 if it will have contents.
1746
08d7ff78
GJL
17472019-12-05 Georg-Johann Lay <avr@gjlay.de>
1748
1749 PR target/92055
1750 * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
1751
3d3a96a2
SN
17522019-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
1753
34b4d99d 1754 PR libgcc/91737
3d3a96a2
SN
1755 * config.host: Add t-gthr-noweak on *-*-musl*.
1756 * config/t-gthr-noweak: New file.
1757
632b5e3d
JDA
17582019-11-17 John David Anglin <danglin@gcc.gnu.org>
1759
1760 * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
1761 volatile void *. Remove trap check.
1762 (__kernel_cmpxchg2): Likewise.
1763 (FETCH_AND_OP_2): Adjust operand types.
1764 (OP_AND_FETCH_2): Likewise.
1765 (FETCH_AND_OP_WORD): Likewise.
1766 (OP_AND_FETCH_WORD): Likewise.
1767 (COMPARE_AND_SWAP_2): Likewise.
1768 (__sync_val_compare_and_swap_4): Likewise.
1769 (__sync_bool_compare_and_swap_4): Likewise.
1770 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
1771 (__sync_lock_test_and_set_4): Likewise.
1772 (SYNC_LOCK_RELEASE_1): Likewise. Use __kernel_cmpxchg2 for release.
1773 (__sync_lock_release_4): Adjust operand types. Use __kernel_cmpxchg
1774 for release.
1775 (__sync_lock_release_8): Remove.
1776
838fd641
SN
17772019-11-15 Szabolcs Nagy <szabolcs.nagy@arm.com>
1778
1779 * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
1780 of __sigset_t.
1781
27204060
JL
17822019-11-14 Jerome Lambourg <lambourg@adacore.com>
1783 Doug Rupp <rupp@adacore.com>
1784 Olivier Hainque <hainque@adacore.com>
1785
1786 * config.host: Collapse the arm-vxworks entries into
1787 a single arm-wrs-vxworks7* one.
1788 * config/arm/unwind-arm-vxworks.c: Update comments. Provide
1789 __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
1790 kernel modules, to be overriden by libstdc++ when we link with
1791 it. Rely on externally provided __exidx_start/end.
1792
3004f893
DR
17932019-11-14 Doug Rupp <rupp@adacore.com>
1794 Olivier Hainque <hainque@adacore.com>
1795
1796 * config.host: Handle aarch64*-wrs-vxworks7*.
1797
36e5f4d4
OH
17982019-11-12 Olivier Hainque <hainque@adacore.com>
1799
1800 * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
1801 sources except the cxx0x support to LIB2ADDEH. We don't support
1802 cxx0x on AE/653.
1803 * config/t-vxworksae: New file.
1804 * config.host: Handle *-*-vxworksae: Add the two aforementioned
1805 Makefile fragment files at their expected position in the tmake_file
1806 list, in accordance with what is done for other VxWorks variants.
1807
806dd047
CG
18082019-11-12 Corentin Gay <gay@adacore.com>
1809 Jerome Lambourg <lambourg@adacore.com>
1810 Olivier Hainque <hainque@adacore.com>
1811
1812 * config/t-gthr-vxworks: New file, add all the gthr-vxworks
1813 sources to LIB2ADDEH.
1814 * config/t-vxworks: Remove adjustments to LIB2ADDEH.
1815 * config/t-vxworks7: Likewise.
1816
1817 * config.host: Append a block at the end of the file to add the
1818 t-gthr files to the tmake_file list for VxWorks after everything
1819 else.
1820
1821 * config/vxlib.c: Rename as gthr-vxworks.c.
1822 * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
1823
1824 * config/gthr-vxworks.h: Simplify a few comments. Expose a TAS
1825 API and a basic error checking API, both internal. Simplify the
1826 __gthread_once_t type definition and initializers. Add sections
1827 for condition variables support and for the C++0x thread support,
1828 conditioned against Vx653 for the latter.
1829
1830 * config/gthr-vxworks.c (__gthread_once): Simplify comments and
1831 implementation, leveraging the TAS internal API.
1832 * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
1833 API, leveraging the general availability of TLS services in VxWorks7
1834 post SR6xxx.
1835 (__gthread_setspecific, __gthread_setspecific): Use it.
1836 (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
1837 * config/gthr-vxworks-cond.c: New file. GTHREAD_COND variable
1838 support based on VxWorks primitives.
1839 * config/gthr-vxworks-thread.c: New file. GTHREAD_CXX0X support
1840 based on VxWorks primitives.
1841
78e49fb1
JL
18422019-11-06 Jerome Lambourg <lambourg@adacore.com>
1843 Olivier Hainque <hainque@adacore.com>
1844
1845 * config/vxcrtstuff.c: New file.
1846 * config/t-vxcrtstuff: New Makefile fragment.
1847 * config.host: Append t-vxcrtstuff to the tmake_file list
1848 on all VxWorks ports using dwarf for table based EH.
1849
29f3def3
GJL
18502019-11-07 Georg-Johann Lay <avr@gjlay.de>
1851
1852 Support 64-bit double and 64-bit long double configurations.
1853
1854 PR target/92055
1855 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
1856 long double is a 32-bit type.
1857 * config/avr/t-avrlibc: Copy double64 and long-double64
1858 multilib(s) from the vanilla one.
1859 * config/avr/t-copy-libgcc: New Makefile snip.
1860
62ec242e
JL
18612019-11-04 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1862
1863 * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
1864 the target output object format is not ELF.
1865 s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
1866
da5c1bbe
OE
18672019-11-03 Oleg Endo <olegendo@gcc.gnu.org>
1868
1869 PR libgcc/78804
1870 * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
1871 * fp-bit.c (pack_d, unpack_d): Remove special cases for
1872 FLOAT_BIT_ORDER_MISMATCH.
1873 * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
1874
8dc56a22
JW
18752019-11-01 Jim Wilson <jimw@sifive.com>
1876
1877 * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
1878
91c64455
JL
18792019-10-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1880
1881 * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
1882 s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
1883 s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
1884 Define symbols for 32-bit and f5series hardware multiply
1885 register addresses.
1886 Replace hard-coded register addresses with symbols.
1887 Fix "_mspabi*" typo.
1888 Fix whitespace.
1889 * config/msp430/lib2mul.c: Add comment.
1890
85093ac6
JDA
18912019-10-15 John David Anglin <danglin@gcc.gnu.org>
1892
1893 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
1894 unsigned int. Adjust callers.
1895 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
1896 unsigned int *. Load relocation offset before function pointer.
1897 Add barrier to ensure ordering.
1898
1aea083d
JDA
18992019-10-12 John David Anglin <danglin@gcc.gnu.org>
1900
1901 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
1902 Load PIC register after branch target. Fix white space.
1903 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
1904 implementations. Load PIC register after branch target. Don't
1905 clobber function pointer when it points to function descriptor.
1906 Use nullification instead of branch in LINUX implementation.
1907
c49af82c
JDA
19082019-10-03 John David Anglin <danglin@gcc.gnu.org>
1909
1910 * config/pa/fptr.c: Disable -Warray-bounds warning.
1911
88a51d68
RH
19122019-09-25 Richard Henderson <richard.henderson@linaro.org>
1913
9e46fd07
RH
1914 * config.in, configure: Re-rebuild with stock autoconf 2.69,
1915 not the ubuntu modified 2.69.
1916
58d169ba
RH
1917 PR target/91833
1918 * config/aarch64/lse-init.c: Include auto-target.h. Disable
1919 initialization if !HAVE_SYS_AUXV_H.
1920 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
1921 * config.in, configure: Rebuild.
1922
88a51d68
RH
1923 PR target/91834
1924 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
1925 overlap the inputs.
1926
761e6bb9
SZ
19272019-09-25 Shaokun Zhang <zhangshaokun@hisilicon.com>
1928
1929 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
1930 CTR_EL0.IDC and CTR_EL0.DIC.
1931
76c93295
CL
19322019-09-20 Christophe Lyon <christophe.lyon@st.com>
1933
1934 Revert:
1935 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1936 Mickaël Guêné <mickael.guene@st.com>
1937
1938 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
1939 architecture.
1940
33befddc
RH
19412019-09-19 Richard Henderson <richard.henderson@linaro.org>
1942
1943 * config/aarch64/lse-init.c: New file.
1944 * config/aarch64/lse.S: New file.
1945 * config/aarch64/t-lse: New file.
1946 * config.host: Add t-lse to all aarch64 tuples.
1947
ae1152e5
CL
19482019-09-10 Christophe Lyon <christophe.lyon@st.com>
1949 Mickaël Guêné <mickael.guene@st.com>
1950
84818dbb
CL
1951 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
1952 architecture.
1953
19542019-09-10 Christophe Lyon <christophe.lyon@st.com>
1955 Mickaël Guêné <mickael.guene@st.com>
1956
ae1152e5
CL
1957 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
1958 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
1959 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
1960 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
1961 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
1962 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
1963 (__gnu_personality_sigframe_fdpic): New.
1964 (get_eit_entry): Add FDPIC signal frame support.
1965
5d727a4b
CL
19662019-09-10 Christophe Lyon <christophe.lyon@st.com>
1967 Mickaël Guêné <mickael.guene@st.com>
1968
1969 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
1970 (__kernel_dmb): Likewise.
1971 (__fdpic_cmpxchg): New function.
1972 (__fdpic_dmb): New function.
1973 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
1974 (gnu_Unwind_Find_got): New function.
1975 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
1976 * unwind-arm-common.inc (UCB_PR_GOT): New.
1977 (funcdesc_t): New struct.
1978 (get_eit_entry): Add FDPIC support.
1979 (unwind_phase2): Likewise.
1980 (unwind_phase2_forced): Likewise.
1981 (__gnu_Unwind_RaiseException): Likewise.
1982 (__gnu_Unwind_Resume): Likewise.
1983 (__gnu_Unwind_Backtrace): Likewise.
1984 * unwind-pe.h (read_encoded_value_with_base): Likewise.
1985
b1e21e5a 19862019-09-10 Christophe Lyon <christophe.lyon@st.com>
11189793 1987 Mickaël Guêné <mickael.guene@st.com>
b1e21e5a 1988
11189793
CL
1989 * libgcc/crtstuff.c: Add support for FDPIC.
1990
19912019-09-10 Christophe Lyon <christophe.lyon@st.com>
1992
1993 * config.host: Handle *-*-uclinuxfdpiceabi.
b1e21e5a 1994
91dfef96
JM
19952019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
1996
1997 * config.host: Set cpu_type for bpf-*-* targets.
1998 * config/bpf/t-bpf: Likewise.
1999 * config/bpf/crtn.S: Likewise.
2000 * config/bpf/crti.S: New file.
2001
2f4d8951
JW
20022019-09-06 Jim Wilson <jimw@sifive.com>
2003
2004 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
2005 (riscv*-*-freebsd*): Likewise.
2006
2f2aeda9
UW
20072019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
2008
2009 * config.host: Remove references to spu.
2010 * config/spu/: Remove directory.
2011
d16017da
JL
20122019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2013
2014 PR target/91306
2015 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
2016 element type, instead of "sizeof" the element type.
2017 (__DTOR_LIST__): Likewise.
2018 (__TMC_LIST__): Likewise.
2019 (__do_global_dtors_aux_fini_array_entry): Likewise.
2020 (__frame_dummy_init_array_entry): Likewise.
2021 (__CTOR_END__): Likewise.
2022 (__DTOR_END__): Likweise.
2023 (__FRAME_END__): Likewise.
2024 (__TMC_END__): Likewise.
2025
a9fcfec3
HL
20262019-08-20 Lili Cui <lilicui@intel.com>
2027
2028 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
2029 INTEL_COREI7_COOPERLAKE.
2030
428642b1
MT
20312019-07-31 Matt Thomas <matt@3am-software.com>
2032 Nick Hudson <nick@nthcliff.demon.co.uk>
2033 Matthew Green <mrg@eterna.com.au>
2034 Maya Rashish <coypu@sdf.org>
2035
2036 * config.host (hppa*-*-netbsd*): New case.
2037 * config/pa/t-netbsd: New file.
2038
f0efd925
JH
20392019-07-31 Joel Hutton <Joel.Hutton@arm.com>
2040
2041 * config/arm/cmse.c (cmse_check_address_range): Add
2042 warn_unused_result attribute.
2043
a861990d
ML
20442019-07-22 Martin Liska <mliska@suse.cz>
2045
2046 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
2047 * config/pa/t-stublib: Likewise.
2048
9c0dba7c
SH
20492019-07-22 Stafford Horne <shorne@gmail.com>
2050
2051 PR target/90362
2052 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
2053 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
2054 instructions are not available on every processor. Change a
2055 l.bnf to l.bf to fix logic issue.
2056
61afc8f8
IS
20572019-07-04 Iain Sandoe <iain@sandoe.co.uk>
2058
2059 * config.host: Remove reference to t-darwin8.
2060
179c7ef5
IS
20612019-07-03 Iain Sandoe <iain@sandoe.co.uk>
2062
2063 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
2064 list.
2065 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
2066 mmacosx-version-min for crts to run across all system versions.
2067 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
2068 * config/t-darwin: Revise mmacosx-version-min for crts to run across
2069 system versions >= 10.4.
2070
596341c7
ML
20712019-07-03 Martin Liska <mliska@suse.cz>
2072
2073 * Makefile.in: Use topn_values instead of one_value names.
2074 * libgcov-merge.c (__gcov_merge_single): Move to ...
2075 (__gcov_merge_topn): ... this.
2076 (merge_single_value_set): Move to ...
2077 (merge_topn_values_set): ... this.
2078 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
2079 ...
2080 (__gcov_topn_values_profiler_body): ... this.
2081 (__gcov_one_value_profiler_v2): Move to ...
2082 (__gcov_topn_values_profiler): ... this.
2083 (__gcov_one_value_profiler_v2_atomic): Move to ...
2084 (__gcov_topn_values_profiler_atomic): ... this.
2085 (__gcov_indirect_call_profiler_v4): Remove.
2086 * libgcov-util.c (__gcov_single_counter_op): Move to ...
2087 (__gcov_topn_counter_op): ... this.
2088 * libgcov.h (L_gcov_merge_single): Remove.
2089 (L_gcov_merge_topn): New.
2090 (__gcov_merge_single): Remove.
2091 (__gcov_merge_topn): New.
2092 (__gcov_one_value_profiler_v2): Move to ..
2093 (__gcov_topn_values_profiler): ... this.
2094 (__gcov_one_value_profiler_v2_atomic): Move to ...
2095 (__gcov_topn_values_profiler_atomic): ... this.
2096
1b309ca5
ML
20972019-07-03 Martin Liska <mliska@suse.cz>
2098
2099 * libgcov-merge.c (merge_single_value_set): Support N values.
2100 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
2101
5a460280
ID
21022019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
2103
2104 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
2105 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
2106 * configure.ac: Add --disable-tm-clone-registry option.
2107 * configure: Regenerate.
2108
45309d28
ML
21092019-06-27 Martin Liska <mliska@suse.cz>
2110
2111 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
2112 dead assignments.
2113 * libgcov-util.c: Likewise.
2114
c2f7a665
ML
21152019-06-27 Martin Liska <mliska@suse.cz>
2116
2117 * libgcov-util.c (gcov_profile_merge): Release allocated
2118 memory.
2119 (calculate_overlap): Likewise.
2120
a8e55c61
IS
21212019-06-25 Iain Sandoe <iain@sandoe.co.uk>
2122
2123 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
2124 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
2125 Build objects for the out of line save/restore register functions
2126 so that they can be used for any supported Darwin version.
2127 * config/t-darwin: Default the build Darwin version to Darwin8
2128 (MacOS 10.4).
2129
e5ce4cbc
ML
21302019-06-25 Martin Liska <mliska@suse.cz>
2131
2132 * libgcov-driver-system.c (replace_filename_variables): Do not
2133 call strlen with NULL argument.
2134
52a47d28
AS
21352019-06-25 Andrew Stubbs <ams@codesourcery.com>
2136
2137 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
2138 * config/gcn/unwind-gcn.c: New file.
2139
76d46331
KCY
21402019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
2141 Andrew Stubbs <ams@codesourcery.com>
2142
2143 * configure: Regenerate.
2144 * config/gcn/gthr-gcn.h: New.
2145
787783a0
TV
21462019-06-18 Tom de Vries <tdevries@suse.de>
2147
2148 * config/nvptx/crt0.c (__main): Declare.
2149
f32f7585
MG
21502019-06-17 Matthew Green <mrg@eterna.com.au>
2151 Maya Rashish <coypu@sdf.org>
2152
2153 * config.host (aarch64*-*-netbsd*): New case.
2154
0fcc78f7
JL
21552019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2156
2157 * config/msp430/slli.S (__mspabi_sllll): New library function for
2158 performing a logical left shift of a 64-bit value.
2159 * config/msp430/srai.S (__mspabi_srall): New library function for
2160 performing a arithmetic right shift of a 64-bit value.
2161 * config/msp430/srll.S (__mspabi_srlll): New library function for
2162 performing a logical right shift of a 64-bit value.
2163
b27c1082
MT
21642019-06-14 Matt Thomas <matt@3am-software.com>
2165 Matthew Green <mrg@eterna.com.au>
2166 Nick Hudson <skrll@netbsd.org>
2167 Maya Rashish <coypu@sdf.org>
2168
2169 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
2170 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
2171 functions to build.
2172 * config/arm/t-netbsd-eabi: New file.
2173
ae7deb4b
DD
21742019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
2175
2176 * config.host: Add PRU target.
2177 * config/pru/asri.c: New file.
2178 * config/pru/eqd.c: New file.
2179 * config/pru/eqf.c: New file.
2180 * config/pru/ged.c: New file.
2181 * config/pru/gef.c: New file.
2182 * config/pru/gtd.c: New file.
2183 * config/pru/gtf.c: New file.
2184 * config/pru/led.c: New file.
2185 * config/pru/lef.c: New file.
2186 * config/pru/lib2bitcountHI.c: New file.
2187 * config/pru/lib2divHI.c: New file.
2188 * config/pru/lib2divQI.c: New file.
2189 * config/pru/lib2divSI.c: New file.
2190 * config/pru/libgcc-eabi.ver: New file.
2191 * config/pru/ltd.c: New file.
2192 * config/pru/ltf.c: New file.
2193 * config/pru/mpyll.S: New file.
2194 * config/pru/pru-abi.h: New file.
2195 * config/pru/pru-asm.h: New file.
2196 * config/pru/pru-divmod.h: New file.
2197 * config/pru/sfp-machine.h: New file.
2198 * config/pru/t-pru: New file.
2199
0d7b3e47
JJ
22002019-06-11 Jakub Jelinek <jakub@redhat.com>
2201
2202 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
2203
54e2d83c
ML
22042019-06-10 Martin Liska <mliska@suse.cz>
2205
2206 PR bootstrap/90808
2207 * libgcov.h: Add ATTRIBUTE_UNUSED.
2208
92d41717
ML
22092019-06-10 Martin Liska <mliska@suse.cz>
2210
2211 * Makefile.in: Add __gcov_one_value_profiler_v2,
2212 __gcov_one_value_profiler_v2_atomic and
2213 __gcov_indirect_call_profiler_v4.
2214 * libgcov-merge.c (__gcov_merge_single): Change
2215 function signature.
2216 (merge_single_value_set): New.
2217 * libgcov-profiler.c (__gcov_one_value_profiler_body):
2218 Update functionality.
2219 (__gcov_one_value_profiler): Remove.
2220 (__gcov_one_value_profiler_v2): ... this.
2221 (__gcov_one_value_profiler_atomic): Rename to ...
2222 (__gcov_one_value_profiler_v2_atomic): this.
2223 (__gcov_indirect_call_profiler_v3): Rename to ...
2224 (__gcov_indirect_call_profiler_v4): ... this.
2225 * libgcov.h (__gcov_one_value_profiler): Remove.
2226 (__gcov_one_value_profiler_atomic): Remove.
2227 (__gcov_one_value_profiler_v2_atomic): New.
2228 (__gcov_indirect_call_profiler_v3): Remove.
2229 (__gcov_one_value_profiler_v2): New.
2230 (__gcov_indirect_call_profiler_v4): New.
2231 (gcov_get_counter_ignore_scaling): New function.
2232
e37333ba
ML
22332019-06-07 Martin Liska <mliska@suse.cz>
2234
2235 * Makefile.in: Remove usage of
2236 _gcov_merge_icall_topn.
2237 * libgcov-driver.c (gcov_sort_n_vals): Remove.
2238 (gcov_sort_icall_topn_counter): Likewise.
2239 (gcov_sort_topn_counter_arrays): Likewise.
2240 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
2241 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
2242 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
2243 Likewise.
2244 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
2245 (struct indirect_call_tuple): Remove.
2246 (__gcov_indirect_call_topn_profiler): Remove.
2247 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
2248 * libgcov.h (gcov_sort_n_vals): Remove.
2249 (L_gcov_merge_icall_topn): Likewise.
2250 (__gcov_merge_icall_topn): Likewise.
2251 (__gcov_indirect_call_topn_profiler): Likewise.
2252
34a4a9c2
IS
22532019-06-06 Iain Sandoe <iain@sandoe.co.uk>
2254
2255 * config/rs6000/t-darwin: Ensure that the unwinder is built with
2256 altivec enabled.
2257
d1b2f85f
JL
22582019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2259
2260 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
2261 section.
2262 (__mspabi_slli): Likewise.
2263 (__mspabi_slll_n): Likewise.
2264 (__mspabi_slll): Likewise.
2265 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
2266 (__mspabi_srai): Likewise.
2267 (__mspabi_sral_n): Likewise.
2268 (__mspabi_sral): Likewise.
2269 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
2270 (__mspabi_srli): Likewise.
2271 (__mspabi_srll_n): Likewise.
2272 (__mspabi_srll): Likewise.
2273
e69a13d1
YS
22742019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
2275
2276 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
2277 Add appropriate tm_file clause as well.
2278 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
2279
b009eac1
JC
22802019-06-05 James Clarke <jrtc27@jrtc27.com>
2281
2282 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
2283 rather than .data/.bss so it can be accessed via gp-relative
2284 addressing.
2285
781d39f2
DE
22862019-06-05 David Edelsohn <dje.gcc@gmail.com>
2287
2288 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
2289 (CR2_REGNO): Rename to R_CR2.
2290 (XER_REGNO): Rename to R_XER.
2291 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
2292 (VRSAVE_REGNO): Rename to R_VRSAVE.
2293 (VSCR_REGNO): R_VSCR.
2294
76aaa9cd
YS
22952019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
2296
2297 * config.host (rx-*-linux*): Add new case.
2298 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
2299
8fc16d72
ST
23002019-05-29 Sam Tebbs <sam.tebbs@arm.com>
2301
2302 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
2303 function.
2304 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
2305 aarch64_post_frob_eh_handler_addr): Add check for b-key.
2306 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
2307 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
2308 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
2309 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
2310 string.
2311 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
2312 string.
2313 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
2314
e54b1a92
RO
23152019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2316
2317 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
2318 Remove Solaris 9 and 10 support.
2319 (sparc_is_sighandler): Likewise.
2320
abbb8307
JDA
23212019-05-26 John David Anglin <danglin@gcc.gnu.org>
2322
2323 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
2324
2581344d
L
23252019-05-17 H.J. Lu <hongjiu.lu@intel.com>
2326
2327 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
2328 4_FP_W_TYPEs are used for IEEE quad precision.
2329 * soft-fp/extendhftf2.c: Likewise.
2330 * soft-fp/extendsftf2.c: Likewise.
2331 * soft-fp/extendxftf2.c: Likewise.
2332 * soft-fp/trunctfdf2.c: Likewise.
2333 * soft-fp/trunctfhf2.c: Likewise.
2334 * soft-fp/trunctfsf2.c: Likewise.
2335 * soft-fp/trunctfxf2.c: Likewise.
2336 * config/rs6000/ibm-ldouble.c: Likewise.
2337
ccd1242e
RO
23382019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2339
2340 * config.host: Simplify various *-*-solaris2.1[0-9]* to
2341 *-*-solaris2*.
2342 * configure.ac: Likewise.
2343 * configure: Regenerate.
2344
2345 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
2346 Solaris 10 and Solaris 11 < snv_125 handling.
2347
ef5eb79d
IS
23482019-05-12 Iain Sandoe <iain@sandoe.co.uk>
2349
2350 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
2351
4f0e90fa
HL
23522019-05-07 Hongtao Liu <hongtao.liu@intel.com>
2353
2354 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
2355 * config/i386/cpuinfo.h (enum processor_features): Add
2356 FEATURE_AVX512BF16.
2357
48528842
RR
23582019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
2359 Bernd Edlinger <bernd.edlinger@hotmail.de>
2360 Jakub Jelinek <jakub@redhat.com>
2361
2362 PR target/89093
2363 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
2364 * config/arm/unwind-arm.c: Likewise.
2365 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
2366 attribute for ARM.
2367
887e182f
MC
23682019-04-15 Monk Chiang <sh.chiang04@gmail.com>
2369
2370 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
2371 (RT_SIGRETURN): Update.
2372 (nds32_fallback_frame_state): Update.
2373
a90b0cdd
MS
23742019-02-21 Martin Sebor <msebor@redhat.com>
2375
2376 * libgcc2.h (__clear_cache): Correct signature.
2377 * libgcc2.c (__clear_cache): Same.
2378
1ed28eda
UB
23792019-02-20 Uroš Bizjak <ubizjak@gmail.com>
2380
2381 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
2382 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
2383
fe95aee9
UB
23842019-02-19 Uroš Bizjak <ubizjak@gmail.com>
2385
2386 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
2387 regno instead of index to DWARF_ZERO_REG.
2388
bf7988f1
EB
23892019-02-15 Eric Botcazou <ebotcazou@adacore.com>
2390
2391 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
2392 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
2393
ba2c1ca8
UB
23942019-01-31 Uroš Bizjak <ubizjak@gmail.com>
2395
2396 * config/alpha/t-linux: Add -mfp-rounding-mode=d
2397 to HOST_LIBGCC2_CFLAGS.
2398
6395ba73
L
23992019-01-23 Joseph Myers <joseph@codesourcery.com>
2400
2401 PR libgcc/88931
ba2c1ca8 2402 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
6395ba73 2403
756721ba
ML
24042019-01-18 Martin Liska <mliska@suse.cz>
2405
2406 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
2407 to ...
2408 (__gcov_indirect_call_profiler_v3): ... this.
2409 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
2410 (__gcov_indirect_call_profiler_v3): Likewise.
2411 * Makefile.in: Bump function name.
2412
d273c40a
ML
24132019-01-18 Martin Liska <mliska@suse.cz>
2414
2415 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
2416 (gcov_version): Use in gcov_error.
2417 (merge_one_data): Likewise.
2418 (dump_one_gcov): Likewise.
2419
be9d9fdb
ML
24202019-01-18 Martin Liska <mliska@suse.cz>
2421
2422 * libgcov-driver.c (gcov_version_string): New function.
2423 (gcov_version): Convert version integer into string.
2424
91d7b7fe
AS
24252019-01-17 Andrew Stubbs <ams@codesourcery.com>
2426 Kwok Cheung Yeung <kcy@codesourcery.com>
2427 Julian Brown <julian@codesourcery.com>
2428 Tom de Vries <tom@codesourcery.com>
2429
2430 * config.host: Recognize amdgcn*-*-amdhsa.
2431 * config/gcn/crt0.c: New file.
2432 * config/gcn/lib2-divmod-hi.c: New file.
2433 * config/gcn/lib2-divmod.c: New file.
2434 * config/gcn/lib2-gcn.h: New file.
2435 * config/gcn/sfp-machine.h: New file.
2436 * config/gcn/t-amdgcn: New file.
2437
67914693
SL
24382019-01-09 Sandra Loosemore <sandra@codesourcery.com>
2439
2440 PR other/16615
2441
2442 * config/c6x/libunwind.S: Mechanically replace "can not" with
2443 "cannot".
2444 * config/tilepro/atomic.h: Likewise.
2445 * config/vxlib-tls.c: Likewise.
2446 * generic-morestack-thread.c: Likewise.
2447 * generic-morestack.c: Likewise.
2448 * mkmap-symver.awk: Likewise.
2449
a5544970
JJ
24502019-01-01 Jakub Jelinek <jakub@redhat.com>
2451
2452 Update copyright years.
2453
da77eace
L
24542018-12-20 H.J. Lu <hongjiu.lu@intel.com>
2455
2456 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
2457 to ignore -Waddress-of-packed-member.
2458
72e3a529
TP
24592018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
2460
2461 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
2462 parameter and corresponding code.
2463 (ARM_FUNC_START): Likewise in both definitions.
2464 Also update footer comment about condition that need to match with
2465 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
2466 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
2467 defined. Weakly define it in this case.
2468 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
2469 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
2470 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
2471 comment to keep condition in sync with the one in
2472 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
2473
5d54c798
WX
24742018-12-18 Wei Xiao <wei3.xiao@intel.com>
2475
2476 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
2477 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
2478
5a2580b6
RV
24792018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2480
2481 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
2482 and .cfi_endproc directives for VxWorks targets.
2483
c0c5112b
PK
24842018-12-05 Paul Koning <ni1d@arrl.net>
2485
2486 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
2487
1ea7ea18
AM
24882018-11-27 Alan Modra <amodra@gmail.com>
2489
2490 * config/rs6000/morestack.S (__stack_split_initialize),
2491 (__morestack_get_guard, __morestack_set_guard),
2492 (__morestack_make_guard): Provide CFI covering these functions.
2493 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
2494
ff641ae1
XQ
24952018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
2496
1ea7ea18 2497 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
ff641ae1
XQ
2498 (sc_pt_regs_lr): Update for kernel.
2499 (sc_pt_regs_tls): Update for kernel.
2500
28209372
XQ
25012018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
2502
2503 * config/csky/linux-unwind.h: Fix coding style.
2504
b2a71af6
XQ
25052018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
2506
2507 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
1ea7ea18 2508 (csky_fallback_frame_state): Modify the check of the
b2a71af6
XQ
2509 instructions to adapt to changes in the kernel
2510
d929e137
SH
25112018-11-09 Stafford Horne <shorne@gmail.com>
2512 Richard Henderson <rth@twiddle.net>
2513
2514 * config.host: Add OpenRISC support.
2515 * config/or1k/*: New.
2516
222cfefa
KC
25172018-11-08 Kito Cheng <kito@andestech.com>
2518
2519 * soft-fp/adddf3.c: Update from glibc.
2520 * soft-fp/addsf3.c: Likewise.
2521 * soft-fp/addtf3.c: Likewise.
2522 * soft-fp/divdf3.c: Likewise.
2523 * soft-fp/divsf3.c: Likewise.
2524 * soft-fp/divtf3.c: Likewise.
2525 * soft-fp/double.h: Likewise.
2526 * soft-fp/eqdf2.c: Likewise.
2527 * soft-fp/eqsf2.c: Likewise.
2528 * soft-fp/eqtf2.c: Likewise.
2529 * soft-fp/extenddftf2.c: Likewise.
2530 * soft-fp/extended.h: Likewise.
2531 * soft-fp/extendhftf2.c: Likewise.
2532 * soft-fp/extendsfdf2.c: Likewise.
2533 * soft-fp/extendsftf2.c: Likewise.
2534 * soft-fp/extendxftf2.c: Likewise.
2535 * soft-fp/fixdfdi.c: Likewise.
2536 * soft-fp/fixdfsi.c: Likewise.
2537 * soft-fp/fixdfti.c: Likewise.
2538 * soft-fp/fixhfti.c: Likewise.
2539 * soft-fp/fixsfdi.c: Likewise.
2540 * soft-fp/fixsfsi.c: Likewise.
2541 * soft-fp/fixsfti.c: Likewise.
2542 * soft-fp/fixtfdi.c: Likewise.
2543 * soft-fp/fixtfsi.c: Likewise.
2544 * soft-fp/fixtfti.c: Likewise.
2545 * soft-fp/fixunsdfdi.c: Likewise.
2546 * soft-fp/fixunsdfsi.c: Likewise.
2547 * soft-fp/fixunsdfti.c: Likewise.
2548 * soft-fp/fixunshfti.c: Likewise.
2549 * soft-fp/fixunssfdi.c: Likewise.
2550 * soft-fp/fixunssfsi.c: Likewise.
2551 * soft-fp/fixunssfti.c: Likewise.
2552 * soft-fp/fixunstfdi.c: Likewise.
2553 * soft-fp/fixunstfsi.c: Likewise.
2554 * soft-fp/fixunstfti.c: Likewise.
2555 * soft-fp/floatdidf.c: Likewise.
2556 * soft-fp/floatdisf.c: Likewise.
2557 * soft-fp/floatditf.c: Likewise.
2558 * soft-fp/floatsidf.c: Likewise.
2559 * soft-fp/floatsisf.c: Likewise.
2560 * soft-fp/floatsitf.c: Likewise.
2561 * soft-fp/floattidf.c: Likewise.
2562 * soft-fp/floattihf.c: Likewise.
2563 * soft-fp/floattisf.c: Likewise.
2564 * soft-fp/floattitf.c: Likewise.
2565 * soft-fp/floatundidf.c: Likewise.
2566 * soft-fp/floatundisf.c: Likewise.
2567 * soft-fp/floatunditf.c: Likewise.
2568 * soft-fp/floatunsidf.c: Likewise.
2569 * soft-fp/floatunsisf.c: Likewise.
2570 * soft-fp/floatunsitf.c: Likewise.
2571 * soft-fp/floatuntidf.c: Likewise.
2572 * soft-fp/floatuntihf.c: Likewise.
2573 * soft-fp/floatuntisf.c: Likewise.
2574 * soft-fp/floatuntitf.c: Likewise.
2575 * soft-fp/gedf2.c: Likewise.
2576 * soft-fp/gesf2.c: Likewise.
2577 * soft-fp/getf2.c: Likewise.
2578 * soft-fp/half.h: Likewise.
2579 * soft-fp/ledf2.c: Likewise.
2580 * soft-fp/lesf2.c: Likewise.
2581 * soft-fp/letf2.c: Likewise.
2582 * soft-fp/muldf3.c: Likewise.
2583 * soft-fp/mulsf3.c: Likewise.
2584 * soft-fp/multf3.c: Likewise.
2585 * soft-fp/negdf2.c: Likewise.
2586 * soft-fp/negsf2.c: Likewise.
2587 * soft-fp/negtf2.c: Likewise.
2588 * soft-fp/op-1.h: Likewise.
2589 * soft-fp/op-2.h: Likewise.
2590 * soft-fp/op-4.h: Likewise.
2591 * soft-fp/op-8.h: Likewise.
2592 * soft-fp/op-common.h: Likewise.
2593 * soft-fp/quad.h: Likewise.
2594 * soft-fp/single.h: Likewise.
2595 * soft-fp/soft-fp.h: Likewise.
2596 * soft-fp/subdf3.c: Likewise.
2597 * soft-fp/subsf3.c: Likewise.
2598 * soft-fp/subtf3.c: Likewise.
2599 * soft-fp/truncdfsf2.c: Likewise.
2600 * soft-fp/trunctfdf2.c: Likewise.
2601 * soft-fp/trunctfhf2.c: Likewise.
2602 * soft-fp/trunctfsf2.c: Likewise.
2603 * soft-fp/trunctfxf2.c: Likewise.
2604 * soft-fp/unorddf2.c: Likewise.
2605 * soft-fp/unordsf2.c: Likewise.
2606 * soft-fp/unordtf2.c: Likewise.
2607
2901f42f
VK
26082018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
2609
2610 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
2611 * config/i386/cpuinfo.h (processor_types): Add znver2.
2612
4310ca66
PK
26132018-11-01 Paul Koning <ni1d@arrl.net>
2614
2615 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
2616 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
2617
22e05272
JM
26182018-10-31 Joseph Myers <joseph@codesourcery.com>
2619
2620 PR bootstrap/82856
2621 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
2622 * configure: Regenerate.
2623
8180cde0
CZ
26242018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
2625
2626 * config/arc/lib1funcs.S (_muldi3): New function.
2627 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
2628
be7b071e
RV
26292018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2630
2631 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
2632
3239d726
ML
26332018-10-25 Martin Liska <mliska@suse.cz>
2634
2635 PR other/87735
2636 * libgcov-profiler.c: Revert.
2637
19b55958
ML
26382018-10-24 Martin Liska <mliska@suse.cz>
2639
2640 * libgcov-profiler.c: Start from 1 in order to distinguish
2641 functions which were seen and these that were not.
2642
a9a2fddb
PK
26432018-10-18 Paul Koning <ni1d@arrl.net>
2644
2645 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
2646 standard.
2647 * divmod.c: Update references to __udivmodsi4.
2648 * udivmod.c: Ditto.
2649 * udivhi3.c: New file.
2650 * udivmodhi4.c: New file.
2651 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
2652
fc8abc46
RV
26532018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2654
2655 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
2656
87f918e3
OH
26572018-10-12 Olivier Hainque <hainque@adacore.com>
2658
2659 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
2660 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
2661
be86efa7
PK
26622018-10-08 Paul Koning <ni1d@arrl.net>
2663
2664 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
2665
3edbcdbe
ML
26662018-10-04 Martin Liska <mliska@suse.cz>
2667
2668 PR gcov-profile/84107
2669 * libgcov-profiler.c (__gcov_indirect_call):
2670 Change type to indirect_call_tuple.
2671 (struct indirect_call_tuple): New struct.
2672 (__gcov_indirect_call_topn_profiler): Change type.
2673 (__gcov_indirect_call_profiler_v2): Use the new
2674 variables.
2675 * libgcov.h (struct indirect_call_tuple): New struct
2676 definition.
2677
af8096fc
UB
26782018-10-03 Uros Bizjak <ubizjak@gmail.com>
2679
2680 * libgcc2.c (isnan): Use __builtin_isnan.
2681 (isfinite): Use __builtin_isfinite.
2682 (isinf): Use __builtin_isinf.
2683
0a76bba4
UB
26842018-09-26 Uros Bizjak <ubizjak@gmail.com>
2685
2686 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
2687
5244089f
OH
26882018-09-21 Alexandre Oliva <oliva@adacore.com>
2689
2690 * config/vxcache.c: New file. Provide __clear_cache, based on
2691 the cacheTextUpdate VxWorks service.
2692 * config/t-vxworks (LIB2ADD): Add vxcache.c.
2693 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
2694 * config/t-vxwoks7: Likewise.
2695
512cc015
ML
26962018-09-21 Martin Liska <mliska@suse.cz>
2697
2698 * libgcov-driver.c (crc32_unsigned): Remove.
2699 (gcov_histogram_insert): Likewise.
2700 (gcov_compute_histogram): Likewise.
2701 (compute_summary): Simplify rapidly.
2702 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
2703 (merge_summary): Rapidly simplify.
2704 (dump_one_gcov): Ignore gcov_summary.
2705 (gcov_do_dump): Do not handle program summary, it's not
2706 used.
2707 * libgcov-util.c (tag_summary): Remove.
2708 (read_gcda_finalize): Fix coding style.
2709 (read_gcda_file): Initialize curr_object_summary.
2710 (compute_summary): Remove.
2711 (calculate_overlap): Remove settings of run_max.
2712
36ff254b
MC
27132018-09-21 Monk Chiang <sh.chiang04@gmail.com>
2714
2715 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
2716 ucontext_t type instead.
2717 (nds32_fallback_frame_state): Remove struct _sigframe statement.
2718
229a033d
KC
27192018-09-21 Kito Cheng <kito.cheng@gmail.com>
2720
2721 * config/nds32/t-nds32-glibc: New file.
2722
53c6feb2
RO
27232018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2724
2725 * configure.ac (solaris_ld_v2_maps): New test.
2726 * configure: Regenerate.
2727 * Makefile.in (solaris_ld_v2_maps): New variable.
2728 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
2729 if supported.
2730
ebdb6f23
RE
27312018-08-23 Richard Earnshaw <rearnsha@arm.com>
2732
2733 PR target/86951
2734 * config/arm/lib1funcs.asm (speculation_barrier): New function.
2735 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
2736 to build.
2737
a49c064e
IS
27382018-08-22 Iain Sandoe <iain@sandoe.co.uk>
2739
1ea7ea18 2740 * config/unwind-dw2-fde-darwin.c
a49c064e
IS
2741 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
2742 * config/darwin10-unwind-find-enc-func.c: … to here.
2743 * config/t-darwin: Build Darwin10 unwinder shim crt.
2744 * libgcc/config.host: Add the Darwin10 unwinder shim.
2745
9a5b8df7
RV
27462018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2747
2748 * config.host: Add crtbegin.o and crtend.o for
2749 powerpc-wrs-vxworks target.
2750
4cd0bc3b
J
27512018-08-17 Jojo <jijie_rong@c-sky.com>
2752 Huibin Wang <huibin_wang@c-sky.com>
2753 Sandra Loosemore <sandra@codesourcery.com>
2754 Chung-Lin Tang <cltang@codesourcery.com>
2755
2756 C-SKY port: libgcc
2757
2758 * config.host: Add C-SKY support.
2759 * config/csky/*: New.
2760
a4931745
CJW
27612018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
2762
2763 * config/nds32/t-nds32-isr: Rearrange object dependency.
2764 * config/nds32/initfini.c: Add dwarf2 unwinding support.
2765 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
2766 and registers usage.
2767 * config/nds32/isr-library/excp_isr.S: Ditto.
2768 * config/nds32/isr-library/intr_isr.S: Ditto.
2769 * config/nds32/isr-library/reset.S: Ditto.
2770 * config/nds32/isr-library/restore_all.inc: Ditto.
2771 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
2772 * config/nds32/isr-library/restore_partial.inc: Ditto.
2773 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
2774 * config/nds32/isr-library/save_all.inc: Ditto.
2775 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
2776 * config/nds32/isr-library/save_partial.inc: Ditto.
2777 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
2778 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
2779
2b1969f6
JDA
27802018-08-11 John David Anglin <danglin@gcc.gnu.org>
2781
2782 * config/pa/linux-atomic.c: Update comment.
2783 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
2784 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
2785 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
2786 __ATOMIC_RELAXED for atomic loads.
2787 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
2788 unordered store to release lock.
2789 (__sync_lock_release_8): Likewise.
2790 (SYNC_LOCK_RELEASE_2): Remove define.
af8096fc 2791
89fff9cc
NP
27922018-08-02 Nicolas Pitre <nico@fluxnic.net>
2793
2794 PR libgcc/86512
2795 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
2796 exponent goes negative. Update my email address.
2797 * config/arm/ieee754-sf.S: Likewise.
2798
fd2e1dcd
ML
27992018-08-01 Martin Liska <mliska@suse.cz>
2800
2801 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
92a285c1 2802 check that __gcov_indirect_call_callee is non-null.
fd2e1dcd 2803
b7415975
CL
28042018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
2805
2806 * config/arm/ieee754-df.S: Fix comment for code working on
2807 architectures >= 4.
2808 * config/arm/ieee754-sf.S: Likewise.
2809
b72e71a3
L
28102018-07-27 H.J. Lu <hongjiu.lu@intel.com>
2811
2812 PR libgcc/85334
2813 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2814 Removed.
2815
1c686aa4
JC
28162018-07-05 James Clarke <jrtc27@jrtc27.com>
2817
2818 * configure: Regenerated.
2819
b61c9b99
RO
28202018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2821
2822 * Makefile.in (install_leaf): Use enable_gcov instead of
2823 enable_libgcov.
2824
1765b023
RV
28252018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2826
2827 * configure.ac: Add --disable-gcov option.
2828 * configure: Regenerate.
2829 * Makefile.in: Honour @enable_gcov@.
2830
9b2e34ef
CL
28312018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
2832
2833 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
2834 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
2835 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
2836 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
2837 __ARM_ARCH__.
2838 * config/arm/ieee754-sf.S: Likewise.
2839 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
2840
d1b0dd54
CL
28412018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
2842
2843 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
2844 longer supported.
2845 * config/arm/ieee754-sf.S: Likewise.
2846
1f3fa525
TM
28472018-06-20 Than McIntosh <thanm@google.com>
2848
2849 PR libgcc/86213
2850 * generic-morestack.c (allocate_segment): Move calls to getenv and
2851 getpagesize to __morestack_load_mmap.
2852 (__morestack_load_mmap) Initialize static_pagesize and
2853 use_guard_page here so as to avoid clobbering SSE regs during a
2854 __morestack call.
2855
6a8886e4
MM
28562018-06-18 Michael Meissner <meissner@linux.ibm.com>
2857
2858 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
2859 support modules with -mno-gnu-attribute.
2860 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
2861
fb997097
OH
28622018-06-07 Olivier Hainque <hainque@adacore.com>
2863
2864 * config/t-vxworks (LIBGCC_INCLUDES): Add
2865 -I$(MULTIBUILDTOP)../../gcc/include.
2866 * config/t-vxworks7: Likewise. Reformat a bit to match
2867 the t-vxworks layout.
2868
a548a5a1
OM
28692018-06-07 Olga Makhotina <olga.makhotina@intel.com>
2870
2871 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
2872
244aebfd
ML
28732018-06-07 Martin Liska <mliska@suse.cz>
2874
2875 * libgcov-driver.c: Rename cs_all to all and assign it from
92a285c1 2876 all_prg.
244aebfd 2877
6c086e8c
ML
28782018-06-07 Martin Liska <mliska@suse.cz>
2879
92a285c1 2880 PR bootstrap/86057
6c086e8c 2881 * libgcov-driver-system.c (replace_filename_variables): Use
92a285c1 2882 memcpy instead of mempcpy.
6c086e8c 2883 (allocate_filename_struct): Do not allocate filename, allocate
92a285c1 2884 prefix and set it.
6c086e8c 2885 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
92a285c1 2886 here and properly copy content into it.
6c086e8c 2887 * libgcov-driver.c (struct gcov_filename): Remove max_length
92a285c1 2888 field, change prefix from size_t into char *.
6c086e8c
ML
2889 (compute_summary): Do not calculate longest filename.
2890 (gcov_do_dump): Release memory of gf.filename after each file.
2891 * libgcov-util.c (compute_summary): Use new signature of
92a285c1 2892 compute_summary.
6c086e8c
ML
2893 (calculate_overlap): Likewise.
2894
97a53d1d
ML
28952018-06-05 Martin Liska <mliska@suse.cz>
2896
2897 PR gcov-profile/47618
2898 * libgcov-driver-system.c (replace_filename_variables): New
92a285c1 2899 function.
97a53d1d
ML
2900 (gcov_exit_open_gcda_file): Use it.
2901
7f3577f5
ML
29022018-06-05 Martin Liska <mliska@suse.cz>
2903
2904 * libgcov-driver.c (gcov_compute_histogram): Remove usage
2905 of gcov_ctr_summary.
2906 (compute_summary): Do it just for a single summary.
2907 (merge_one_data): Likewise.
2908 (merge_summary): Simplify as we read just single summary.
2909 (dump_one_gcov): Pass proper argument.
2910 * libgcov-util.c (compute_one_gcov): Simplify as we have just
2911 single summary.
2912 (gcov_info_count_all_cold): Likewise.
2913 (calculate_overlap): Likewise.
2914
cf3cd43d
CJW
29152018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
2916 Monk Chiang <sh.chiang04@gmail.com>
2917
2918 * config.host (nds32*-linux*): New.
2919 * config/nds32/linux-atomic.c: New file.
2920 * config/nds32/linux-unwind.h: New file.
2921
8b8003ed
UB
29222018-05-31 Uros Bizjak <ubizjak@gmail.com>
2923
2924 PR target/85591
2925 * config/i386/cpuinfo.c (get_amd_cpu): Return
2926 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
2927
bbdf026f
RV
29282018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
2929
92a285c1 2930 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
bbdf026f 2931
0e8f29da
ML
29322018-05-29 Martin Liska <mliska@suse.cz>
2933
92a285c1 2934 PR gcov-profile/85759
0e8f29da 2935 * libgcov-driver-system.c (gcov_error): Introduce usage of
92a285c1 2936 GCOV_EXIT_AT_ERROR env. variable.
0e8f29da 2937 * libgcov-driver.c (merge_one_data): Print error that we
92a285c1 2938 overwrite a gcov file with a different timestamp.
0e8f29da 2939
54fd1590
K
29402018-05-23 Kalamatee <kalamatee@gmail.com>
2941
2942 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
2943 path to Lf$finfty.
2944
09baee1a
KC
29452018-05-18 Kito Cheng <kito.cheng@gmail.com>
2946 Monk Chiang <sh.chiang04@gmail.com>
2947 Jim Wilson <jimw@sifive.com>
2948
2949 * config/riscv/save-restore.S: Add support for rv32e.
2950
c3f808d3
KT
29512018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2952
2953 * config/arm/libunwind.S: Update comment relating to armv5.
2954
fcf4f831
JL
29552018-05-17 Jerome Lambourg <lambourg@adacore.com>
2956
2957 * config/arm/cmse.c (cmse_check_address_range): Replace
2958 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
2959
74b2bb19
OM
29602018-05-17 Olga Makhotina <olga.makhotina@intel.com>
2961
2962 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
2963 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
2964
50e461df
OM
29652018-05-08 Olga Makhotina <olga.makhotina@intel.com>
2966
2967 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
2968 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
2969
e5f1cdb1
AC
29702018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
2971
2972 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
2973
8f479d7a
AT
29742018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
2975 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
2976
2977 PR libgcc/84292
2978 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
2979 op_and_fetch to return the right result.
2980
ae043291
AM
29812018-04-27 Alan Modra <amodra@gmail.com>
2982
2983 PR libgcc/85532
2984 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
2985 -fno-asynchronous-unwind-tables.
2986
ba169b74
CJW
29872018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
2988
2989 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
2990 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
2991
ffc2fc06
L
29922018-04-24 H.J. Lu <hongjiu.lu@intel.com>
2993
2994 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
2995 when including "config/i386/shadow-stack-unwind.h".
2996
7b47ecf2
L
29972018-04-24 H.J. Lu <hongjiu.lu@intel.com>
2998
2999 * configure: Regenerated.
3000
661eb8f9
MM
30012018-04-20 Michael Meissner <meissner@linux.ibm.com>
3002
3003 PR target/85456
3004 * config/rs6000/_powikf2.c: New file. Add support for the
3005 __builtin_powil function when long double is IEEE 128-bit floating
3006 point.
3007 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
3008 __powikf2 support.
3009 (__powikf2): Likewise.
3010 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
3011 (__powikf2_hw): Likewise.
3012 (__powikf2): Likewise.
3013 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
3014 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
3015 (_powikf2-hw.c): Likewise.
3016
5707be3c
L
30172018-04-19 H.J. Lu <hongjiu.lu@intel.com>
3018
3019 PR libgcc/85334
3020 * unwind-generic.h (_Unwind_Frames_Increment): New.
3021 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
3022 Likewise.
3023 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
3024 count with _Unwind_Frames_Increment.
3025 (_Unwind_ForcedUnwind_Phase2): Likewise.
3026
5f9ca0b8
L
30272018-04-19 H.J. Lu <hongjiu.lu@intel.com>
3028
3029 PR libgcc/85379
3030 * config/i386/morestack.S (__stack_split_initialize): Add
3031 _CET_ENDBR.
3032
a0e1df88
JJ
30332018-04-19 Jakub Jelinek <jakub@redhat.com>
3034
3035 * configure: Regenerated.
3036
001ddaa8
DM
30372018-04-18 David Malcolm <dmalcolm@redhat.com>
3038
3039 PR jit/85384
3040 * configure: Regenerate.
3041
a57f99ba
JJ
30422018-04-16 Jakub Jelinek <jakub@redhat.com>
3043
3044 PR target/84945
3045 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
3046 -Wdangling-else warnings. Mask shift counts to avoid
3047 -Wshift-count-negative and -Wshift-count-overflow false positives.
3048
4d47fe5a
RB
30492018-04-06 Ruslan Bukin <br@bsdpad.com>
3050
3051 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
3052
059cc8ac
L
30532018-03-29 H.J. Lu <hongjiu.lu@intel.com>
3054
3055 PR target/85100
3056 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
3057 (XSTATE_FP): Likewise.
3058 (XSTATE_SSE): Likewise.
3059 (XSTATE_YMM): Likewise.
3060 (XSTATE_OPMASK): Likewise.
3061 (XSTATE_ZMM): Likewise.
3062 (XSTATE_HI_ZMM): Likewise.
3063 (XCR_AVX_ENABLED_MASK): Likewise.
3064 (XCR_AVX512F_ENABLED_MASK): Likewise.
3065 (get_available_features): Enable AVX and AVX512 features only
3066 if their states are supported by OSXSAVE.
3067
f2620385
IT
30682018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3069
3070 PR target/85025
3071 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
3072 Fix a typo, tmp => 255.
3073
ae6dca8c
JJ
30742018-03-20 Jakub Jelinek <jakub@redhat.com>
3075
3076 PR target/84945
3077 * config/i386/cpuinfo.h (__cpu_features2): Declare.
3078 * config/i386/cpuinfo.c (__cpu_features2): New variable for
3079 ifndef SHARED only.
3080 (set_feature): Define.
3081 (get_available_features): Use set_feature macro. Set __cpu_features2
3082 to the second word of features ifndef SHARED.
3083
c36b04c1
JK
30842018-03-15 Julia Koval <julia.koval@intel.com>
3085
3086 * config/i386/cpuinfo.c (get_available_features): Add
3087 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
3088 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
3089 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
3090 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
3091 FEATURE_AVX512BITALG.
3092
79ab5364
JK
30932018-03-14 Julia Koval <julia.koval@intel.com>
3094
3095 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
3096 icelake client and icelake server.
3097
66a00b11
JDA
30982018-03-06 John David Anglin <danglin@gcc.gnu.org>
3099
3100 * config/pa/fptr.c (_dl_read_access_allowed): New.
3101 (__canonicalize_funcptr_for_compare): Use it.
af8096fc 3102
ce579a4f
JJ
31032018-02-28 Jakub Jelinek <jakub@redhat.com>
3104
3105 PR debug/83917
3106 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
3107 $asm_hidden_op if visibility ("hidden") attribute works.
3108 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
3109 * config/i386/i386-asm.h: Don't include auto-host.h.
3110 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
3111 PACKAGE_URL): Don't undefine.
3112 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
3113 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
3114 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
3115 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
3116 definition instead of hardcoded .hidden.
3117 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
3118 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
3119 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
3120 (USE_GAS_CFI_DIRECTIVES): Don't define.
3121 * configure: Regenerated.
3122 * config.in: Likewise.
3123
e5868319
JJ
31242018-02-26 Jakub Jelinek <jakub@redhat.com>
3125
3126 PR debug/83917
3127 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
3128 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
3129 inclusion of auto-target.h and auto-host.h.
3130 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
3131 __GCC_HAVE_DWARF2_CFI_ASM.
3132 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
3133 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
3134 cfi_pop): Define.
3135 * config/i386/cygwin.S: Don't include auto-host.h here, just
3136 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
3137 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
3138 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
3139 * config/i386/resms64fx.h: Add cfi_* directives.
3140 * config/i386/resms64x.h: Likewise.
3141
faef260e
MF
31422018-02-20 Max Filippov <jcmvbkbc@gmail.com>
3143
3144 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
3145 .literal_position directive.
3146 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
3147
14e335ed
IT
31482018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3149
3150 PR target/84148
3151 * configure: Regenerate.
3152
95df0433
IT
31532018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3154
3155 PR target/84239
3156 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
3157 Include cetintrin.h not x86intrin.h.
3158
f8de876d
IT
31592018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3160
3161 PR target/84239
95df0433 3162 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
f8de876d
IT
3163 Use new _get_ssp and _inc_ssp intrinsics.
3164
02da1e9c
JK
31652018-02-02 Julia Koval <julia.koval@intel.com>
3166
3167 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
3168
048c6a9a
CZ
31692018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
3170
3171 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
3172 option.
3173 (__divsi3): Use RF16 safe registers.
3174 (__modsi3): Likewise.
3175
0889f168
MF
31762018-01-23 Max Filippov <jcmvbkbc@gmail.com>
3177
3178 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
3179 (__divsf3): Make NaN return value quiet.
3180 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
3181 (__divdf3): Make NaN return value quiet.
3182
bc8b0d04
SP
31832018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
3184
3185 * config/rl78/anddi3.S: New assembly file.
3186 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
3187
99cc06ea
SP
31882018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
3189
3190 * config/rl78/umindi3.S: New assembly file.
3191 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
3192
6e9007a0
SP
31932018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
3194
3195 * config/rl78/smindi3.S: New assembly file.
3196 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
3197
d975e494 31982018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 3199
d975e494
SP
3200 * config/rl78/smaxdi3.S: New assembly file.
3201 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
3202
6a18c146 32032018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 3204
5dd16013
SP
3205 * config/rl78/umaxdi3.S: New assembly file.
3206 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
af8096fc 3207
07baf4a5
JDA
32082018-01-21 John David Anglin <danglin@gcc.gnu.org>
3209
3210 PR lto/83452
3211 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
3212 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
af8096fc 3213
dbc3af4f
RS
32142018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
3215
3216 * config/aarch64/value-unwind.h (aarch64_vg): New function.
3217 (DWARF_LAZY_REGISTER_VALUE): Define.
3218 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
3219 to provide a fallback register value.
3220
68df9882
MM
32212018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
3222
3223 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
3224 __ibm128, instead of trying to use long double.
3225 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
3226 accomidate -mabi=ieeelongdouble multilibs.
3227 (CVT_IBM128_TO_FLOAT128): Likewise.
3228 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
3229 the appropriate IBM extended double type.
3230 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
3231 (__gcc_qsub): Likewise.
3232 (__gcc_qmul): Likewise.
3233 (__gcc_qdiv): Likewise.
3234 (pack_ldouble): Likewise.
3235 (__gcc_qneg): Likewise.
3236 (__gcc_qeq): Likewise.
3237 (__gcc_qne): Likewise.
3238 (__gcc_qge): Likewise.
3239 (__gcc_qle): Likewise.
3240 (__gcc_stoq): Likewise.
3241 (__gcc_dtoq): Likewise.
3242 (__gcc_itoq): Likewise.
3243 (__gcc_utoq): Likewise.
3244 (__gcc_qunord): Likewise.
3245 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
3246 quad-float128.h for the definitions.
3247 (COPYSIGN): Use the f128 version instead of the q version.
3248 (INFINITY): Likewise.
3249 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
3250 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
3251 quad-float128.h for the definitions.
3252 (COPYSIGN): Use the f128 version instead of the q version.
3253 (INFINITY): Likewise.
3254 (FABS): Likewise.
3255 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
3256 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
3257 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
3258
64b371b1
SH
32592018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
3260
3261 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
3262 configuration.
3263
85ec4feb
JJ
32642018-01-03 Jakub Jelinek <jakub@redhat.com>
3265
3266 Update copyright years.
3267
32682017-12-12 Kito Cheng <kito.cheng@gmail.com>
b8d7e076
KC
3269
3270 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
3271 * config/riscv/multi3.c: New file.
3272 * config/riscv/multi3.S: Remove.
3273
3a4c600f
JW
32742017-12-08 Jim Wilson <jimw@sifive.com>
3275
3276 * config/riscv/div.S: Use FUNC_* macros.
3277 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
3278 * config/riscv/save-restore.S: Likewise.
3279 * config/riscv/riscv-asm.h: New.
3280
75ad35b5
MM
32812017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
3282
6ae3512c
MM
3283 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
3284 * config/rs6000/_divkc3.c (__divkc3): Likewise.
3285
75ad35b5
MM
3286 PR libgcc/83112
3287 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
3288 correct type for all ifunc resolvers to silence -Wattribute-alias
3289 warnings. Eliminate the forward declaration of the resolver
3290 functions which is no longer needed.
3291 (__subkf3_resolve): Likewise.
3292 (__mulkf3_resolve): Likewise.
3293 (__divkf3_resolve): Likewise.
3294 (__negkf2_resolve): Likewise.
3295 (__eqkf2_resolve): Likewise.
3296 (__nekf2_resolve): Likewise.
3297 (__gekf2_resolve): Likewise.
3298 (__gtkf2_resolve): Likewise.
3299 (__lekf2_resolve): Likewise.
3300 (__ltkf2_resolve): Likewise.
3301 (__unordkf2_resolve): Likewise.
3302 (__extendsfkf2_resolve): Likewise.
3303 (__extenddfkf2_resolve): Likewise.
3304 (__trunckfsf2_resolve): Likewise.
3305 (__trunckfdf2_resolve): Likewise.
3306 (__fixkfsi_resolve): Likewise.
3307 (__fixkfdi_resolve): Likewise.
3308 (__fixunskfsi_resolve): Likewise.
3309 (__fixunskfdi_resolve): Likewise.
3310 (__floatsikf_resolve): Likewise.
3311 (__floatdikf_resolve): Likewise.
3312 (__floatunsikf_resolve): Likewise.
3313 (__floatundikf_resolve): Likewise.
3314 (__extendkftf2_resolve): Likewise.
3315 (__trunctfkf2_resolve): Likewise.
3316
3317 PR libgcc/83103
3318 * config/rs6000/quad-float128.h (TF): Don't define if long double
3319 is IEEE 128-bit floating point.
3320 (TCtype): Define as either TCmode or KCmode, depending on whether
3321 long double is IEEE 128-bit floating point.
3322 (__mulkc3_sw): Add declarations for software/hardware versions of
3323 complex multiply/divide.
3324 (__divkc3_sw): Likewise.
3325 (__mulkc3_hw): Likewise.
3326 (__divkc3_hw): Likewise.
3327 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
3328 handlers to switch between using software emulation and hardware
3329 float128 instructions, build the complex multiply/divide functions
3330 for both software and hardware support.
3331 * config/rs6000/_divkc3.c (_divkc3): Likewise.
3332 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
3333 (__divkc3_resolve): Likewise.
3334 (__mulkc3): Likewise.
3335 (__divkc3): Likewise.
3336 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
3337 (fp128_hw_src): Likewise.
3338 (fp128_hw_static_obj): Likewise.
3339 (fp128_hw_shared_obj): Likewise.
3340 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
3341 _mulkc3.c and _divkc3.c, changing the function name.
3342 (_divkc3-hw.c): Likewise.
3343 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
3344 and _divkc3-hw.c.
3345
c234d831
UB
33462017-11-26 Julia Koval <julia.koval@intel.com>
3347
3348 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
3349 * config/i386/cpuinfo.h (processor_subtypes): Add
3350 INTEL_COREI7_CANNONLAKE.
3351
1ebafce0
IT
33522017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3353
3354 PR bootstrap/83015
3355 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
3356 parameter.
3357 * config/xtensa/unwind-dw2-xtensa.c: Likewise
3358 * config/ia64/unwind-ia64.c: Add frames parameter.
3359 * unwind-sjlj.c: Likewise.
3360
6a10fff4
IT
33612017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3362
3363 * config/i386/linux-unwind.h: Include
3364 config/i386/shadow-stack-unwind.h.
3365 * config/i386/shadow-stack-unwind.h: New file.
3366 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
3367 pass it to _Unwind_Frames_Extra.
3368 * unwind-generic.h (_Unwind_Frames_Extra): New.
3369 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
3370 parameter. Add local variable frames to count number of frames.
3371 (_Unwind_ForcedUnwind_Phase2): Likewise.
3372 (_Unwind_RaiseException): Add local variable frames to count
3373 number of frames, pass it to _Unwind_RaiseException_Phase2 and
3374 uw_install_context.
3375 (_Unwind_ForcedUnwind): Likewise.
3376 (_Unwind_Resume): Likewise.
3377 (_Unwind_Resume_or_Rethrow): Likewise.
3378
1ecae1fc
IT
33792017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3380
3381 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
3382 (CET_FLAGS): New.
3383 * config/i386/morestack.S: Include <cet.h>.
3384 (__morestack_large_model): Add _CET_ENDBR at function entrance.
3385 * config/i386/resms64.h: Include <cet.h>.
3386 * config/i386/resms64f.h: Likewise.
3387 * config/i386/resms64fx.h: Likewise.
3388 * config/i386/resms64x.h: Likewise.
3389 * config/i386/savms64.h: Likewise.
3390 * config/i386/savms64f.h: Likewise.
3391 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
3392 (CRTSTUFF_T_CFLAGS): Likewise.
3393 * configure.ac: Include ../config/cet.m4.
3394 Set and substitute CET_FLAGS.
3395 * configure: Regenerated.
3396
f021f1d3
RO
33972017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3398
3399 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
3400 renaming.
3401 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
3402 * configure.ac (libgcc_cv_solaris_crts): Likewise.
3403 * configure: Regenerate.
3404
65f480c7
TV
34052017-11-07 Tom de Vries <tom@codesourcery.com>
3406
3407 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
3408 after "do {} while (0)".
3409
2a321acb
TV
34102017-11-07 Tom de Vries <tom@codesourcery.com>
3411
3412 PR other/82784
3413 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
3414 semicolon after "do {} while (0)".
3415 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3416 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3417 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3418 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3419
59fcf6c3
AT
34202017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
3421
3422 PR libgcc/82635
3423 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
3424 sysctl to determine whether we're in a trampoline.
3425 Keep the pattern matching method for systems without
3426 KERN_PROC_SIGTRAMP sysctl.
3427
b0c7ddf8
CM
34282017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
3429 Vineet Gupta <vgupta@synopsys.com>
3430
3431 * config.host (arc*-*-linux*): Set md_unwind_header variable.
3432 * config/arc/linux-unwind-reg.def: New file.
3433 * config/arc/linux-unwind-reg.h: Likewise.
3434
5feee954
SP
34352017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
3436
3437 * config/rl78/subdi3.S: New assembly file.
3438 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
3439
a0bf6cf7
SP
34402017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
3441
3442 * config/rl78/adddi3.S: New assembly file.
3443 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
3444
e7176f75
JJ
34452017-10-13 Jakub Jelinek <jakub@redhat.com>
3446
3447 PR target/82274
3448 * libgcc2.c (__mulvDI3): If both operands have
3449 the same highpart of -1 and the topmost bit of lowpart is 0,
3450 multiplication overflows even if both lowparts are 0.
3451
db6601d2
JB
34522017-09-28 James Bowman <james.bowman@ftdichip.com>
3453
3454 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
3455
938b6f1e
JM
34562017-09-26 Joseph Myers <joseph@codesourcery.com>
3457
3458 * config/microblaze/crti.S, config/microblaze/crtn.S,
3459 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
3460 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
3461 config/microblaze/mulsi3.S,
3462 config/microblaze/stack_overflow_exit.S,
3463 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
3464 config/pa/milli64.S: Add .note.GNU-stack section.
3465
89762a83
DS
34662017-09-23 Daniel Santos <daniel.santos@pobox.com>
3467
3468 * configure.ac: Add Check for HAVE_AS_AVX.
3469 * config.in: Regenerate.
3470 * configure: Likewise.
3471 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
3472 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
3473 Correct out-of-date comments.
3474
cace2309
SP
34752017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
3476
3477 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
3478 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
3479
3cb626e4
DS
34802017-09-17 Daniel Santos <daniel.santos@pobox.com>
3481
cace2309 3482 * config/i386/i386-asm.h (PASTE2): New macro.
3cb626e4
DS
3483 (ASMNAME): Modify to use PASTE2.
3484 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
3485 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
cace2309 3486 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
3cb626e4 3487 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
cace2309
SP
3488 * config/i386/resms64f.S: Likewise.
3489 * config/i386/resms64fx.S: Likewise.
3490 * config/i386/resms64x.S: Likewise.
3491 * config/i386/savms64.S: Likewise.
3492 * config/i386/savms64f.S: Likewise.
3493 * config/i386/avx_resms64.S: New file that only defines a macro and
3cb626e4 3494 includes it's corresponding header file.
cace2309
SP
3495 * config/i386/avx_resms64f.S: Likewise.
3496 * config/i386/avx_resms64fx.S: Likewise.
3497 * config/i386/avx_resms64x.S: Likewise.
3498 * config/i386/avx_savms64.S: Likewise.
3499 * config/i386/avx_savms64f.S: Likewise.
3500 * config/i386/sse_resms64.S: Likewise.
3501 * config/i386/sse_resms64f.S: Likewise.
3502 * config/i386/sse_resms64fx.S: Likewise.
3503 * config/i386/sse_resms64x.S: Likewise.
3504 * config/i386/sse_savms64.S: Likewise.
3505 * config/i386/sse_savms64f.S: Likewise.
3506 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3cb626e4 3507
2f19c491 35082017-09-01 Olivier Hainque <hainque@adacore.com>
2f19c491
OH
3509 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
3510
611e7036
OH
35112017-08-31 Olivier Hainque <hainque@adacore.com>
3512
3513 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
3514 match as powerpc-wrs-vxworks*.
3515
c8f34527
JY
35162017-08-07 Jonathan Yong <10walls@gmail.com>
3517
3518 * config.host (*-cygwin): Include file from mingw
3519 config/i386/enable-execute-stack-mingw32.c
3520
0b458d2b 35212017-08-01 Jerome Lambourg <lambourg@adacore.com>
92a285c1
ML
3522 Doug Rupp <rupp@adacore.com>
3523 Olivier Hainque <hainque@adacore.com>
0b458d2b
JL
3524
3525 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
3526 as well as arm-wrs-vxworks.
3527 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
3528 LIB2ADDEH.
3529 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
3530 __exidx_start and __exidx_end for downloadable modules.
3531
4df612fa
OH
35322017-08-01 Olivier Hainque <hainque@adacore.com>
3533
3534 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
3535 * config/t-vxworks7: Likewise.
3536
5560e8c0
OH
35372017-08-01 Olivier Hainque <hainque@adacore.com>
3538
3539 * config/t-vxworks: Instead of redefining LIB2ADD,
3540 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
3541
16bab95a
SH
35422017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
3543
3544 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
3545
9cbc07cc
DS
35462017-07-24 Daniel Santos <daniel.santos@pobox.com>
3547
3548 PR testsuite/80759
3549 * config.host: include i386/t-msabi for darwin and solaris.
3550 * config/i386/i386-asm.h
3551 (ELFFN): Rename to FN_TYPE.
3552 (FN_SIZE): New macro.
3553 (FN_HIDDEN): Likewise.
3554 (ASMNAME): Likewise.
3555 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
3556 .globl.
3557 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
3558 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
3559 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
3560 .macro.
3561 * config/i386/resms64f.S: Likewise.
3562 * config/i386/resms64fx.S: Likewise.
3563 * config/i386/resms64x.S: Likewise.
3564 * config/i386/savms64.S: Likewise.
3565 * config/i386/savms64f.S: Likewise.
3566
de742204
JM
35672017-07-19 John Marino <gnugcc@marino.st>
3568
3569 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
3570
3787ee47
MM
35712017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
3572
3573 PR target/81193
3574 * configure.ac (PowerPC float128 hardware support): Test whether
3575 we can use __builtin_cpu_supports before enabling the ifunc
3576 handler.
3577 * configure: Regenerate.
3578
b1938888
VG
35792017-07-10 Vineet Gupta <vgupta@synopsys.com>
3580
3581 * config.host: Remove uclibc from arc target spec.
3582
bec75e53
KW
35832017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
3584
3585 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
3586
d4391a62
PB
35872017-07-07 Peter Bergner <bergner@vnet.ibm.com>
3588
3589 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
3590 (have_ieee_hw_p): Delete function.
3591 (SW_OR_HW) Use __builtin_cpu_supports().
3592
9296dd9b
TP
35932017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
3594
3595 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
3596
b85a969e
OH
35972017-07-03 Olivier Hainque <hainque@adacore.com>
3598
d4391a62 3599 * config/t-vxworks7: New file, really.
b85a969e 3600
883312dc
JM
36012017-06-28 Joseph Myers <joseph@codesourcery.com>
3602
3603 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
3604 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
3605 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
3606 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
3607 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
3608 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
3609 config/pa/linux-unwind.h (pa32_fallback_frame_state),
3610 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
3611 config/sh/linux-unwind.h (sh_fallback_frame_state),
3612 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
3613 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
3614 ucontext_t instead of struct ucontext.
3615
50567938
JL
36162017-06-27 Jerome Lambourg <lambourg@adacore.com>
3617
3618 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
3619 (x86_64-wrs-vxworks7): Likewise.
3620
e4b0df93
OH
36212017-06-27 Olivier Hainque <hainque@adacore.com>
3622
3623 * config/t-vxworks7: New file.
3624 * config.host (*-*-vxworks7): Use it.
3625
60edf8bb
MT
36262017-06-22 Matt Turner <mattst88@gmail.com>
3627
3628 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
3629 skylake case.
3630
a51a76e5
RB
36312017-06-21 Richard Biener <rguenther@suse.de>
3632
3633 PR gcov-profile/81080
3634 * configure.ac: Add AC_SYS_LARGEFILE.
3635 * libgcov.h: Include auto-target.h before tsystem.h to pick
3636 up _FILE_OFFSET_BITS which might differ for multilibs.
3637 * config.in: Regenerate.
3638 * configure: Likewise.
3639
f0cd49c5
RE
36402017-06-16 Richard Earnshaw <rearnsha@arm.com>
3641
3642 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
3643
4f751c54
ML
36442017-06-09 Martin Liska <mliska@suse.cz>
3645
3646 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
3647 Reset __gcov_indirect_call_callee to NULL.
3648
1ac644c8
OH
36492017-06-08 Olivier Hainque <hainque@adacore.com>
3650
3651 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
3652 the set of -I options, support for direct inclusions of net/uio.h
3653 by VxWorks header files via ioLib.h.
3654
d8b9cd27
TR
36552017-06-07 Tony Reix <tony.reix@atos.net>
3656 Matthieu Sarter <matthieu.sarter.external@atos.net>
3657 David Edelsohn <dje.gcc@gmail.com>
3658
92a285c1
ML
3659 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
3660 unconditionally.
3661 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
3662 AIX 7.2 support.
d8b9cd27 3663
38a75ccc
OH
36642017-06-02 Olivier Hainque <hainque@adacore.com>
3665
3666 * config/vxlib.c (__gthread_once): Add missing value to
3667 return statement.
3668
5b2edf53
OH
36692017-05-30 Olivier Hainque <hainque@adacore.com>
3670
3671 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
3672 dollar sign before $(MULTIDIR).
3673
7d66e265
RH
36742017-05-26 Richard Henderson <rth@redhat.com>
3675
3676 PR libgcc/80037
3677 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
3678
78eca309
AT
36792017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
3680
3681 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
3682 _Unwind_SetIP available as functions for arm*-*-freebsd*.
3683 * config/arm/unwind-arm.c: Implement the above.
3684
c39d309a
AZ
36852017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3686
3687 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
3688 section for a non-executable stack.
3689
eac8c9f2
KW
36902017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
3691
3692 PR target/80600
3693 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
3694
d6d4d770
DS
36952017-05-14 Daniel Santos <daniel.santos@pobox.com>
3696
3697 * config.host: Add i386/t-msabi to i386/t-linux file list.
3698 * config/i386/i386-asm.h: New file.
3699 * config/i386/resms64.S: New file.
3700 * config/i386/resms64f.S: New file.
3701 * config/i386/resms64fx.S: New file.
3702 * config/i386/resms64x.S: New file.
3703 * config/i386/savms64.S: New file.
3704 * config/i386/savms64f.S: New file.
3705 * config/i386/t-msabi: New file.
3706
8ef2b9a7
AT
37072017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
3708
3709 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
3710 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
3711
7ab8766a
JC
37122017-05-05 Joshua Conner <joshconner@google.com>
3713
3714 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
3715 pc-relative indirect handling for fuchsia.
3716 * config/t-slibgcc-fuchsia: New file.
3717 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
d6d4d770 3718 x86_64-*-fuchsia*): Add definitions.
7ab8766a 3719
46928a8f
ML
37202017-04-19 Martin Liska <mliska@suse.cz>
3721
3722 PR gcov-profile/80435
3723 * Makefile.in: Install gcov.h.
3724 * gcov.h: New file.
3725 * libgcov.h: Use the header and make __gcov_flush publicly
3726 visible.
3727
63971184
ML
37282017-04-18 Martin Liska <mliska@suse.cz>
3729
3730 PR gcov-profile/78783
3731 * libgcov-driver.c (gcov_get_filename): New function.
3732
29d8aae6
JL
37332017-04-07 Jeff Law <law@redhat.com>
3734
3735 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
3736 target makefile fragment.
3737 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
3738
2bdf7fc6
AM
37392017-04-07 Alan Modra <amodra@gmail.com>
3740
3741 PR target/45053
3742 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
3743
5764ee3c
JW
37442017-04-03 Jonathan Wakely <jwakely@redhat.com>
3745
3746 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
3747
c4192ad7
CZ
37482017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
3749
3750 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
3751
4ccfdb28
JM
37522017-03-10 John Marino <gnugcc@marino.st>
3753
3754 * config/aarch64/freebsd-unwind.h: New file.
3755 * config.host: Add aarch64-*-freebsd unwinder.
3756
4144e4e3
SB
37572017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
3758
3759 * config/rs6000/crtrestvr.s: Use .machine altivec.
3760 * config/rs6000/crtsavevr.s: Ditto.
3761
7502c597
SB
37622017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
3763
3764 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
3765 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
3766 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
3767 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
3768 * configure: Regenerate.
3769 * config.in: Regenerate.
3770
db9f7f65
JY
37712017-03-02 Jonathan Yong <10walls@gmail.com>
3772
3773 * config/i386/gthr-win32.h: Define NOGDI before
3774 windows.h include to prevent w32api CC_NONE macro
3775 clash with libgfortran.
3776
126437c5
JY
37772017-03-02 Jonathan Yong <10walls@gmail.com>
3778
3779 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
3780
31927af6
AP
37812017-02-16 Andrew Pinski <apinski@cavium.com>
3782
3783 * config/aarch64/value-unwind.h: New file.
3784 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
3785 to tm_file.
3786
0bd99911
PD
37872017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
3788
3789 * config.host: Add RISC-V tuples.
3790 * config/riscv/atomic.c: New file.
3791 * config/riscv/crti.S: Likewise.
3792 * config/riscv/crtn.S: Likewise.
3793 * config/riscv/div.S: Likewise.
3794 * config/riscv/linux-unwind.h: Likewise.
3795 * config/riscv/muldi3.S: Likewise.
3796 * config/riscv/multi3.S: Likewise.
3797 * config/riscv/save-restore.S: Likewise.
3798 * config/riscv/sfp-machine.h: Likewise.
3799 * config/riscv/t-elf: Likewise.
3800 * config/riscv/t-elf32: Likewise.
3801 * config/riscv/t-elf64: Likewise.
3802 * config/riscv/t-softfp32: Likewise.
3803 * config/riscv/t-softfp64: Likewise.
3804
a8c9ef2a
JJ
38052017-01-24 Jakub Jelinek <jakub@redhat.com>
3806
3807 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
3808 /* FALLTHRU */ comments.
3809
c6c82710
GP
38102017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
3811
3812 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
3813
a876231c
JW
38142017-01-20 Jiong Wang <jiong.wang@arm.com>
3815
3816 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
3817 * unwind-dw2.c (execute_cfa_program): Only multiplexing
3818 DW_CFA_GNU_window_save for AArch64 and LP64.
3819
aa348be2
JW
38202017-01-20 Jiong Wang <jiong.wang@arm.com>
3821
3822 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
3823
5636faf2
JW
38242017-01-19 Jiong Wang <jiong.wang@arm.com>
3825
3826 * config/aarch64/aarch64-unwind.h: New file.
3827 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
3828 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
3829 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
3830 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
3831 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
3832 (aarch64_post_extract_frame_addr): New function.
3833 (aarch64_post_frob_eh_handler_addr): New function.
3834 (aarch64_frob_update_context): New function.
3835 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
3836 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
3837 aarch64*-*-freebsd*):
3838 Initialize md_unwind_header to include aarch64-unwind.h.
3839 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
3840 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
3841 __aarch64__.
3842 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
3843 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
3844 (uw_frob_return_addr): New function.
3845 (uw_install_context): Use uw_frob_return_addr.
3846
3c36aa6b
JJ
38472017-01-17 Jakub Jelinek <jakub@redhat.com>
3848
3849 PR other/79046
3850 * configure.ac: Add GCC_BASE_VER.
3851 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
3852 version from BASE-VER file.
3853 * configure: Regenerated.
3854
829afb8f
JS
38552017-01-13 Joe Seymour <joe.s@somniumtech.com>
3856
3857 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
3858 libmul_f5.a): Filter archived prerequisites.
3859
79fc8ffe
AS
38602017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
3861
3862 * config/i386/cpuinfo.h (processor_features): Add
3863 FEATURE_AVX512VPOPCNTDQ.
3864 * config/i386/cpuinfo.c (get_available_features): Habdle new
3865 feature.
3866
fec5f4e0
JM
38672017-01-04 Joseph Myers <joseph@codesourcery.com>
3868
3869 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
3870 payload if [__mips_nan2008].
3871
8f56cb51
AM
38722017-01-04 Alan Modra <amodra@gmail.com>
3873
3874 * Makefile.in (configure_deps): Update.
3875 * configure: Regenerate.
3876
cbe34bb5
JJ
38772017-01-01 Jakub Jelinek <jakub@redhat.com>
3878
3879 Update copyright years.
3880
ab955692
KW
38812016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
3882
3883 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
3884 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
3885 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
3886
de34320f
MK
38872016-12-17 Matthias Klose <doko@ubuntu.com>
3888
3889 * config/arc/gmon: Remove empty directory.
3890
e04ea1da
CZ
38912016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
3892
3893 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
3894 crtgend.
3895 (arc*-*-elf*): Likewise.
3896 * config/arc/t-arc: Remove old gmon lib targets.
3897 * config/arc/crtg.S: Remove.
3898 * config/arc/crtgend.S: Likewise.
3899 * config/arc/gmon/atomic.h: Likewise.
3900 * config/arc/gmon/auxreg.h: Likewise.
3901 * config/arc/gmon/dcache_linesz.S: Likewise.
3902 * config/arc/gmon/gmon.c: Likewise.
3903 * config/arc/gmon/machine-gmon.h: Likewise.
3904 * config/arc/gmon/mcount.c: Likewise.
3905 * config/arc/gmon/prof-freq-stub.S: Likewise.
3906 * config/arc/gmon/prof-freq.c: Likewise.
3907 * config/arc/gmon/profil.S: Likewise.
3908 * config/arc/gmon/sys/gmon.h: Likewise.
3909 * config/arc/gmon/sys/gmon_out.h: Likewise.
3910 * config/arc/t-arc-newlib: Likewise.
3911 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
3912
8ae1c2c1
GS
39132016-12-12 George Spelvin <linux@sciencehorizons.net>
3914
3915 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
3916
a5b947fa
GS
39172016-12-12 George Spelvin <linux@sciencehorizons.net>
3918
3919 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
3920 R16 instead of push + pop.
3921 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
3922
d6574dd1
KW
39232016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
3924
3925 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
3926 tmake_file.
3927
62440b4f
CM
39282016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
3929
3930 * config.host (arc*-*-linux-uclibc*): Use default extra
3931 objects. Include linux-android header.
3932 * config/arc/crti.S (_init): Declare symbol as function.
3933 (_fini): Likewise.
3934
31cfd832
TK
39352016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
3936
3937 PR fortran/78379
3938 * config/i386/cpuinfo.c: Move denums for processor vendors,
3939 processor type, processor subtypes and declaration of
3940 struct __processor_model into
3941 * config/i386/cpuinfo.h: New header file.
3942
c92e08e3
AV
39432016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
3944 Thomas Preud'homme <thomas.preudhomme@arm.com>
3945
3946 * config/arm/cmse_nonsecure_call.S: New.
3947 * config/arm/t-arm: Compile cmse_nonsecure_call.S
3948
de7b5723
AV
39492016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
3950 Thomas Preud'homme <thomas.preudhomme@arm.com>
3951
3952 * config/arm/t-arm (HAVE_CMSE): New.
3953 * config/arm/cmse.c: New.
3954
7a0d2bce
TP
39552016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3956
b3a5bff4
TP
3957 PR gcc/74748
3958 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
3959 use generic linker version information on Blackfin.
3960
7a0d2bce
TP
3961 PR gcc/74748
3962 * libgcc/mkmap-symver.awk: add support for skip_underscore
3963
b410cf1d
IS
39642016-11-27 Iain Sandoe <iain@codesourcery.com>
3965 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3966
3967 PR target/67710
3968 * config/t-darwin: Default builds to 10.5 codegen.
3969
2e5f8203
JG
39702016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
3971
3972 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
3973 (_FP_NANSIGN_H): Likewise.
3974 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
3975 (softfp_truncations): Add tfhf.
3976 (softfp_extras): Add required conversion functions.
3977
bea64ca3
JG
39782016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
3979 Matthew Wahab <matthew.wahab@arm.com>
3980
3981 * config/arm/fp16.c (binary64): New.
3982 (__gnu_d2h_internal): New.
3983 (__gnu_d2h_ieee): New.
3984 (__gnu_d2h_alternative): New.
3985
8630cadb
JG
39862016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
3987 Matthew Wahab <matthew.wahab@arm.com>
3988
3989 * config/arm/fp16.c (struct format): New.
3990 (binary32): New.
3991 (__gnu_float2h_internal): New. Body moved from
3992 __gnu_f2h_internal and generalize.
3993 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
3994 Call it with binary32.
3995
5823ef23
JG
39962016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
3997
3998 * soft-fp/extendhftf2.c: Update from glibc.
3999 * soft-fp/fixhfti.c: Likewise.
4000 * soft-fp/fixunshfti.c: Likewise.
4001 * soft-fp/floattihf.c: Likewise.
4002 * soft-fp/floatuntihf.c: Likewise.
4003 * soft-fp/half.h: Likewise.
4004 * soft-fp/trunctfhf2.c: Likewise.
4005
62a7df9f
MG
40062016-11-20 Marc Glisse <marc.glisse@inria.fr>
4007
4008 PR libgcc/77813
4009 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
4010 __TMC_END__ behind a passthrough asm.
4011
7a384912
WL
40122016-11-18 Walter Lee <walt@tilera.com>
4013
62a7df9f 4014 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
7a384912 4015
9775c1a5
L
40162016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
4017
4018 * config/i386/cpuinfo.c (processor_features): Add
4019 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
4020
48c842ab
CZ
40212016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
4022
4023 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
4024 (__ARC_NORM__): Use instead ARC_OPTFPE.
4025 * config/arc/fp-hack.h: Likewise.
4026 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
4027 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
4028
5012919d
AM
40292016-11-16 Alexander Monakov <amonakov@ispras.ru>
4030
4031 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
4032 * config/nvptx/mgomp.c: New file.
4033 * config/nvptx/t-nvptx: Add mgomp.c
4034
00178b98
WB
40352016-11-16 Waldemar Brodkorb <wbx@openadk.org>
4036
4037 PR libgcc/68468
4038 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
4039
d64af69f
CZ
40402016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
4041
4042 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
4043 of checking for cpus.
4044 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
4045 (__modsi3, __clzsi2): Likewise.
4046
9d8f95de
SN
40472016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
4048
4049 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
4050 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
4051 * config/i386/t-cpuinfo-static: New.
4052
7d29f8e3
ML
40532016-11-03 Martin Liska <mliska@suse.cz>
4054
4055 * libgcov-profiler.c (__gcov_time_profiler): Remove.
4056 (__gcov_time_profiler_atomic): Likewise.
4057
5de3e2d8
BE
40582016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
4059
4060 PR libgcc/78067
4061 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
4062 count_leading_zeros.
4063
18362447
UB
40642016-11-02 Uros Bizjak <ubizjak@gmail.com>
4065
4066 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
4067 * libgcc2.c (__divmoddi4): New function.
4068 * libgcc2.h (__divmoddi4): Declare.
4069 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
4070 and __PFX_divmodti4.
4071
33107571
FW
40722016-10-24 Florian Weimer <fweimer@redhat.com>
4073
4074 PR libgcc/78064
4075 * unwind-c.c: Include auto-target.h.
4076
4c6d7494
JDA
40772016-10-19 John David Anglin <danglin@gcc.gnu.org>
4078
18362447 4079 * config/pa/pa64-hpux-lib.h: New file.
4c6d7494
JDA
4080 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
4081 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
4082 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
4083 hppa*64*-*-hpux11*.
4084
2a26adf1
MF
40852016-10-18 Max Filippov <jcmvbkbc@gmail.com>
4086
4087 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
4088 definition.
4089 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
4090 definition.
4091 * config/xtensa/t-windowed (LIB2ADDEH): Use
4092 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
4093 or xtensa/t-linux.
4094
66192aa1
DKC
40952016-10-18 Ding-Kai Chen <dkchen@cadence.com>
4096
4097 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
4098 __ieee754_sqrt): New functions.
4099 (__divdf3): Add implementation with new FPU instructions under
4100 #if XCHAL_HAVE_DFP_DIV.
4101 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
4102 __ieee754_sqrtf): New functions.
4103 (__divsf3): Add implementation with new FPU instructions under
4104 #if XCHAL_HAVE_FP_DIV.
4105 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
4106 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
4107
4d0cdd0c
TP
41082016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
4109
4110 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
4111 equivalent.
4112 * config/tilepro/atomic.c: Likewise and stop casting model to
4113 enum memmodel.
4114
73f01cca
JM
41152016-10-10 Joseph Myers <joseph@codesourcery.com>
4116
4117 PR target/77586
4118 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
4119 soft-fp.
4120
b20e7532
AT
41212016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
4122
4123 * config.host: Add support for aarch64-*-freebsd*.
4124
a786cec4
AS
41252016-10-05 Andreas Schwab <schwab@suse.de>
4126
4127 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
4128 (.section .init_array): Don't call __do_jv_register_classes.
4129 (.section .init): Likewise.
4130
5a79befb
JJ
41312016-10-04 Jakub Jelinek <jakub@redhat.com>
4132
4133 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
4134 (__JCR_LIST__): Remove.
4135 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
4136 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
4137 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
4138 * config/ia64/crtend.S (__JCR_END__): Remove.
4139 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
4140 conditionals.
4141 (__JCR_LIST__, __JCR_END__): Remove.
4142 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
4143 (__do_global_ctors_1): Likewise.
4144
e0ab3753
UB
41452015-09-28 Uros Bizjak <ubizjak@gmail.com>
4146
4147 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
4148 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
4149
8c9434c2
ML
41502016-09-27 Martin Liska <mliska@suse.cz>
4151
4152 PR gcov-profile/7970
4153 PR gcov-profile/16855
4154 PR gcov-profile/44779
4155 * libgcov-driver.c (__gcov_init): Do not register a atexit
4156 handler.
4157 (__gcov_exit): Rename from gcov_exit.
4158 * libgcov.h (__gcov_exit): Declare.
4159
56b653f1
ML
41602016-09-27 Martin Liska <mliska@suse.cz>
4161
4162 PR bootstrap/77749
4163 * Makefile.in: Remove _gcov_merge_delta.
4164 * libgcov-merge.c (void __gcov_merge_delta): Remove.
4165 * libgcov-util.c (__gcov_delta_counter_op): Remove.
4166 * libgcov.h: Remove declaration of __gcov_merge_delta.
4167
7e02fd1b
EB
41682016-09-21 Eric Botcazou <ebotcazou@adacore.com>
4169
4170 * configure.ac: Do not create links, only substitute the filenames.
4171 * configure: Regenerate.
4172 * Makefile.in: Assign the substitution results to variables.
4173 (LIBGCC_LINKS): Define.
4174 (enable-execute-stack.c): New rule.
4175 (unwind.h): Likewise.
4176 (md-unwind-support.h): Likewise.
4177 (sfp-machine.h): Likewise.
4178 (gthr-default.h): Likewise.
4179 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
4180 unwind.h as prerequisite of install-unwind_h-forbuild.
4181
29991048
JJ
41822016-09-16 Jakub Jelinek <jakub@redhat.com>
4183
4184 PR libgcc/71744
4185 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
4186 is not the primary registry and atomics are available.
4187 (any_objects_registered): New variable.
4188 (__register_frame_info_bases, __register_frame_info_table_bases):
4189 Atomically store 1 to any_objects_registered after registering first
4190 unwind info.
4191 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
4192
0abcd6cc
JG
41932016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
4194
4195 PR target/63250
4196 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
4197 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
4198 (HFtype): Likewise.
4199 (HCtype): Likewise.
4200 (__divhc3): Likewise.
4201 (__mulhc3): Likewise.
4202 * libgcc2.c: Support _mulhc3 and _divhc3.
4203
d758aeb5
JM
42042016-09-07 Joseph Myers <joseph@codesourcery.com>
4205
4206 PR libgcc/77519
4207 * libgcc2.c (NOTRUNC): Invert settings.
4208
7fe76f6a
ML
42092016-09-06 Martin Liska <mliska@suse.cz>
4210
4211 PR gcov-profile/77378
4212 PR gcov-profile/77466
4213 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
4214 conditionaly enable/disable *_atomic functions.
4215
21184026
JM
42162016-08-26 Joseph Myers <joseph@codesourcery.com>
4217
4218 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
4219 where not already enabled.
4220
726f49c3
SN
42212016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
4222
4223 * config/mips/linux-unwind.h: Use sys/syscall.h.
4224
feeb6268
JM
42252016-08-16 Joseph Myers <joseph@codesourcery.com>
4226
4227 PR libgcc/77265
4228 * soft-fp/adddf3.c: Update from glibc.
4229 * soft-fp/addsf3.c: Likewise.
4230 * soft-fp/addtf3.c: Likewise.
4231 * soft-fp/divdf3.c: Likewise.
4232 * soft-fp/divsf3.c: Likewise.
4233 * soft-fp/divtf3.c: Likewise.
4234 * soft-fp/double.h: Likewise.
4235 * soft-fp/eqdf2.c: Likewise.
4236 * soft-fp/eqsf2.c: Likewise.
4237 * soft-fp/eqtf2.c: Likewise.
4238 * soft-fp/extenddftf2.c: Likewise.
4239 * soft-fp/extended.h: Likewise.
4240 * soft-fp/extendsfdf2.c: Likewise.
4241 * soft-fp/extendsftf2.c: Likewise.
4242 * soft-fp/extendxftf2.c: Likewise.
4243 * soft-fp/fixdfdi.c: Likewise.
4244 * soft-fp/fixdfsi.c: Likewise.
4245 * soft-fp/fixdfti.c: Likewise.
4246 * soft-fp/fixsfdi.c: Likewise.
4247 * soft-fp/fixsfsi.c: Likewise.
4248 * soft-fp/fixsfti.c: Likewise.
4249 * soft-fp/fixtfdi.c: Likewise.
4250 * soft-fp/fixtfsi.c: Likewise.
4251 * soft-fp/fixtfti.c: Likewise.
4252 * soft-fp/fixunsdfdi.c: Likewise.
4253 * soft-fp/fixunsdfsi.c: Likewise.
4254 * soft-fp/fixunsdfti.c: Likewise.
4255 * soft-fp/fixunssfdi.c: Likewise.
4256 * soft-fp/fixunssfsi.c: Likewise.
4257 * soft-fp/fixunssfti.c: Likewise.
4258 * soft-fp/fixunstfdi.c: Likewise.
4259 * soft-fp/fixunstfsi.c: Likewise.
4260 * soft-fp/fixunstfti.c: Likewise.
4261 * soft-fp/floatdidf.c: Likewise.
4262 * soft-fp/floatdisf.c: Likewise.
4263 * soft-fp/floatditf.c: Likewise.
4264 * soft-fp/floatsidf.c: Likewise.
4265 * soft-fp/floatsisf.c: Likewise.
4266 * soft-fp/floatsitf.c: Likewise.
4267 * soft-fp/floattidf.c: Likewise.
4268 * soft-fp/floattisf.c: Likewise.
4269 * soft-fp/floattitf.c: Likewise.
4270 * soft-fp/floatundidf.c: Likewise.
4271 * soft-fp/floatundisf.c: Likewise.
4272 * soft-fp/floatunditf.c: Likewise.
4273 * soft-fp/floatunsidf.c: Likewise.
4274 * soft-fp/floatunsisf.c: Likewise.
4275 * soft-fp/floatunsitf.c: Likewise.
4276 * soft-fp/floatuntidf.c: Likewise.
4277 * soft-fp/floatuntisf.c: Likewise.
4278 * soft-fp/floatuntitf.c: Likewise.
4279 * soft-fp/gedf2.c: Likewise.
4280 * soft-fp/gesf2.c: Likewise.
4281 * soft-fp/getf2.c: Likewise.
4282 * soft-fp/ledf2.c: Likewise.
4283 * soft-fp/lesf2.c: Likewise.
4284 * soft-fp/letf2.c: Likewise.
4285 * soft-fp/muldf3.c: Likewise.
4286 * soft-fp/mulsf3.c: Likewise.
4287 * soft-fp/multf3.c: Likewise.
4288 * soft-fp/negdf2.c: Likewise.
4289 * soft-fp/negsf2.c: Likewise.
4290 * soft-fp/negtf2.c: Likewise.
4291 * soft-fp/op-1.h: Likewise.
4292 * soft-fp/op-2.h: Likewise.
4293 * soft-fp/op-4.h: Likewise.
4294 * soft-fp/op-8.h: Likewise.
4295 * soft-fp/op-common.h: Likewise.
4296 * soft-fp/quad.h: Likewise.
4297 * soft-fp/single.h: Likewise.
4298 * soft-fp/soft-fp.h: Likewise.
4299 * soft-fp/subdf3.c: Likewise.
4300 * soft-fp/subsf3.c: Likewise.
4301 * soft-fp/subtf3.c: Likewise.
4302 * soft-fp/truncdfsf2.c: Likewise.
4303 * soft-fp/trunctfdf2.c: Likewise.
4304 * soft-fp/trunctfsf2.c: Likewise.
4305 * soft-fp/trunctfxf2.c: Likewise.
4306 * soft-fp/unorddf2.c: Likewise.
4307 * soft-fp/unordsf2.c: Likewise.
4308 * soft-fp/unordtf2.c: Likewise.
4309
2e6fc1ac
GG
43102016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
4311
4312 PR gcov-profile/67097
4313 * libgcov-util.c (gcov_profile_merge): Skip missing files.
4314
a266236e
ML
43152016-08-10 Martin Liska <mliska@suse.cz>
4316
4317 PR gcov-profile/58306
4318 * Makefile.in: New functions (modules) are added.
4319 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
4320 function.
4321 (__gcov_pow2_profiler_atomic): New function.
4322 (__gcov_one_value_profiler_body): New argument is instroduced.
4323 (__gcov_one_value_profiler): Call with the new argument.
4324 (__gcov_one_value_profiler_atomic): Likewise.
4325 (__gcov_indirect_call_profiler_v2): Likewise.
4326 (__gcov_time_profiler_atomic): New function.
4327 (__gcov_average_profiler_atomic): Likewise.
4328 (__gcov_ior_profiler_atomic): Likewise.
4329 * libgcov.h: Declare the aforementioned functions.
4330
e0c8eebf
ML
43312016-08-09 Martin Liska <mliska@suse.cz>
4332
4333 * libgcov-util.c: Fix typo and GNU coding style.
4334
6dce6418
ML
43352016-08-09 Martin Liska <mliska@suse.cz>
4336
4337 * Makefile.in: Remove __gcov_indirect_call_profiler.
4338 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
4339 function.
4340 * libgcov.h: And the declaration of the function.
4341
dcb1e137
ML
43422016-08-09 Martin Liska <mliska@suse.cz>
4343
4344 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
4345 power of two.
4346
d6e69705
BS
43472016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
4348
4349 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
4350 * config/rs6000/_mulkc3.c: Likewise.
4351
96aa1f95
GJL
43522016-07-29 Georg-Johann Lay <avr@gjlay.de>
4353
4354 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
4355 zero_reg as previous call to __umulhisi3 already cleared it.
4356
a1b01d34
AJ
43572016-07-21 Aurelien Jarno <aurelien@aurel32.net>
4358
4359 PR target/59833
4360 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
4361
985a47b2
NC
43622016-07-19 Nick Clifton <nickc@redhat.com>
4363
4364 * config.host (m32r): Add m32r/t-m32r to tmake_file.
4365 Add crtinit.o and crtfini.o to extra_parts.
4366
f906f5ed
BS
43672016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
4368
4369 * config/rs6000/_divkc3.c: New.
4370 * config/rs6000/_mulkc3.c: New.
4371 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
4372 and _divkc3.
4373 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
4374 fp128_ppc_funcs.
4375
82742404
HW
43762016-07-11 Hale Wang <hale.wang@arm.com>
4377 Andre Vieira <andre.simoesdiasvieira@arm.com>
4378
4379 * config/arm/lib1funcs.S: Add new wrapper.
4380
05a437c1
TP
43812016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
4382
4383 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
4384
3d16d9ec
TP
43852016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
4386
4387 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
4388 and ARMv5t* rather than for a fixed list of architectures.
4389
6f493951
TP
43902016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
4391
4392 * config/arm/bpabi-v6m.S: Clarify what architectures is the
4393 implementation suitable for.
4394 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
4395 for all Thumb-1 only targets.
4396 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
4397 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
4398 __ARM_ARCH_6M__.
4399 (EQUIV): Likewise.
4400 (ARM_FUNC_ALIAS): Likewise.
4401 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
4402 version.
4403 (modsi3): Likewise.
4404 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
4405 (clzdi2): Likewise.
4406 (ctzsi2): Likewise.
4407 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
4408 __ARM_ARCH_6M__ in guard for checking whether it is defined.
4409 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
4410 __ARM_ARCH_6M__ and add comment to indicate the connection between
4411 this condition and the one in gcc/config/arm/elf.h.
4412 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
4413 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
4414 * config/arm/t-softfp: Likewise.
4415
1770511a
TS
44162016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4417
4418 * libgcc2.c (SYMBOL__MAIN): Remove checks for
4419 CTOR_LISTS_DEFINED_EXTERNALLY.
4420
ba6be749
WL
44212016-06-28 Walter Lee <walt@tilera.com>
4422
4423 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
4424 asm/unistd.h.
4425 (SPR_CMPEXCH_VALUE): Define for tilegx.
4426 (__NR_FAST_cmpxchg): Define for tilepro.
4427 (__NR_FAST_atomic_update): Define for tilepro.
4428 (__NR_FAST_cmpxchg64): Define for tilepro.
4429
a34c0db5
JS
44302016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
4431
18362447 4432 * config.host: Add suport for arm*-*-phoenix* targets.
a34c0db5 4433
0609abda
TS
44342016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4435
4436 * config.host: Remove support for mep-*.
4437 * config/mep/lib1funcs.S: Remove.
4438 * config/mep/lib2funcs.c: Remove.
4439 * config/mep/t-mep: Remove.
4440 * config/mep/tramp.c: Remove.
4441
3e326935
TS
44422016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4443
4444 * config.host: Remove support for avr-rtems.
4445 * config/avr/t-rtems: Remove.
4446
914b155c
TS
44472016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4448
4449 * config.host: Remove m32r-rtems support.
4450
5ebf89bd
TS
44512016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4452
4453 * config.host: Remove h8300-rtems support.
4454
8466af06
TS
44552016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4456
4457 * config.host: Remove support for knetbsd.
4458
d980e738
TS
44592016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4460
4461 * config.host: Remove support for openbsd 2 and 3.
4462
ee2499b4
TS
44632016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4464
4465 * config.host: Remove interix support.
4466 * config/i386/t-interix: Remove.
4467
9f92937b
JDA
44682016-06-18 John David Anglin <danglin@gcc.gnu.org>
4469
4470 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
4471 least-significant bit in function pointer for fixup.
4472
0a0ec53d
AC
44732016-06-05 Aaron Conole <aconole@redhat.com>
4474 Nathan Sidwell <nathan@acm.org>
4475
4476 PR libgcc/71400
4477 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
4478 (get_gcov_error_file): Check __gcov_error_file before trying to
4479 initialize it.
4480 (gcov_error): Always use get_gcov_error_file.
4481
8aa5bdd6
AC
44822016-06-02 Aaron Conole <aconole@redhat.com>
4483
4484 * libgcov-driver-system.c (__gcov_error_file): New.
4485 (get_gcov_error_file): New.
4486 (gcov_error): Use and set __gcov_error_file.
4487 (gcov_error_exit): New.
4488 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
4489
40774faf
NS
44902016-05-26 Nathan Sidwell <nathan@acm.org>
4491
4492 * config/nvptx/free.asm: Delete.
4493 * config/nvptx/malloc.asm: Delete.
4494 * config/nvptx/realloc.c: Delete.
4495 * t-nvptx: Update.
4496
69a6d5ad
NS
44972016-05-25 Nathan Sidwell <nathan@acm.org>
4498
4499 * config/nvptx/crt0.s: Delete.
4500 * config/nvptx/crt0.c: New.
4501 * t-nvptx: Update.
4502
6befaff6
SL
45032016-05-19 Sandra Loosemore <sandra@codesourcery.com>
4504
385c7747 4505 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
6befaff6
SL
4506 dw2/seh configuration.
4507 [x86_64-*-mingw*]: Likewise.
4508
ad251dfd
JS
45092016-05-10 Joel Sherrill <joel@rtems.org>
4510
4511 PR libgcc/70720
4512 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
4513 targets so the same extra_parts are built. Also have tmake_file add
4514 on to its value rather than override.
4515
bc6d9014
OE
45162016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
4517
4518 * config.host: Remove SH5 support.
4519 * configure: Likewise.
4520
9129c8cf
OE
45212016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
4522
4523 * config/sh/crt1.S: Remove SH5 support.
4524 * config/sh/crti.S: Likewise.
4525 * config/sh/crtn.S: Likewise.
4526 * config/sh/lib1funcs-4-300.S: Likewise.
4527 * config/sh/lib1funcs-Os-4-200.S: Likewise.
4528 * config/sh/lib1funcs.S: Likewise.
4529 * config/sh/linux-unwind.h: Likewise.
4530 * config/sh/t-sh64: Delete.
4531
39d50464
CZ
45322016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
4533
4534 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
4535
8b48923b
CZ
45362016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
4537 Joern Rennecke <joern.rennecke@embecosm.com>
4538
4539 * config/arc/crttls.S: New file.
4540 * config/arc/t-arc: New rule.
4541 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
4542
2de1cf8c
NC
45432016-04-25 Nick Clifton <nickc@redhat.com>
4544
4545 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
4546 (__mspabi_cmpd): Likewise.
4547 * config/msp430/floathidf.c (__floathidf): Likewise.
4548 * config/msp430/floathisf.c (__floathisf): Likewise
4549 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
4550 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
4551 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
4552 second parameter.
4553 (__ashrsi3): Likewise.
4554
b8ce3fe2
WB
45552016-04-21 Waldemar Brodkorb <wbx@openadk.org>
4556
4557 * config/m68k/linux-atomic.c: Do not include unistd.h
4558
4986f823
MG
45592016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
4560
4561 * config/arm/ieee754-df.S: Fix typos in comments.
4562
35fbda43
MM
45632016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
4564
4565 PR target/70381
4566 * configure.ac (powerpc*-*-linux*): Rework tests to build
4567 __float128 emulation routines to not depend on using #pragma GCC
4568 target to enable -mfloat128.
4569 * configure: Regnerate.
4570
72d1a48d
EB
45712016-04-04 Eric Botcazou <ebotcazou@adacore.com>
4572
4573 PR target/67172
4574 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
4575 __MINGW32__ is defined.
4576
dc2e8995
JB
45772016-03-28 James Bowman <james.bowman@ftdichip.com>
4578
385c7747 4579 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
dc2e8995 4580
104cdaf1
MM
45812016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
4582
4583 PR libgcc/70363
4584 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
4585 built with an assembler that does not support ISA 3.0
4586 instructions, rename __extendkftf2_sw to __extendkftf2.
4587
a5046f48
RO
45882016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4589
4590 PR target/38239
4591 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
4592 call-clobbered registers.
4593 (internal_mcount): Remove __i386__ handling.
4594
df674f74
JS
45952016-02-26 Joel Sherrill <joel@rtems.org>
4596
4597 * config.host: Add x86_64-*-rtems*.
4598
7cb065d6
JS
45992016-02-26 Joel Sherrill <joel@rtems.org>
4600
4601 * libgcc/config.host: Add aarch64-*-rtems*.
4602
47dfdc53
PM
46032016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4604 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
4605
4606 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
4607 union of u64 and double.
4608 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
4609 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
4610 value.
4611 (FP_ROUNDMODE): Update the usage of _fpscr.
4612
e6861a99
IV
46132016-02-25 Ilya Verbin <ilya.verbin@intel.com>
4614
4615 PR driver/68463
4616 * Makefile.in (crtoffloadtable$(objext)): New rule.
4617 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
4618 enable_offload_targets is not empty.
4619 * configure: Regenerate.
4620 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
4621 crtoffloadtable.
4622
9bfcbdee
MF
46232016-02-17 Max Filippov <jcmvbkbc@gmail.com>
4624
4625 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
4626 .literal_position before the function.
4627 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
4628 Likewise.
4629
4cb4721f
MK
46302016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
4631
4632 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
4633 * config/s390/morestack.S: New file.
4634 * config/s390/t-stack-s390: New file.
4635 * generic-morestack.c (__splitstack_find): Add s390-specific code.
4636
b29d9a29
WL
46372016-02-12 Walter Lee <walt@tilera.com>
4638
4639 * config.host (tilegx*-*-linux*): remove ti from
4640 softfp_int_modes for 32-bit configs.
4641
03a0ae7d
ILT
46422016-02-10 Ian Lance Taylor <iant@google.com>
4643
4644 PR go/68562
4645 * config/i386/morestack.S (__stack_split_initialize): Align
4646 stack.
4647
68750bce
AT
46482016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
4649
4650 PR bootstrap/69611
4651 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
4652 __FLOAT128__ to compile only for __float128 capable targets.
4653
7d296953
JJ
46542016-01-25 Jakub Jelinek <jakub@redhat.com>
4655
4656 PR target/69444
4657 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
4658 instead of ___NO_FPRS__.
4659
a71c0334 46602016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
4661 Steven Munroe <munroesj@linux.vnet.ibm.com>
4662 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
a71c0334
MM
4663
4664 * config/rs6000/float128-sed: New files to convert TF names to KF
4665 names for PowerPC IEEE 128-bit floating point support.
4666 * config/rs6000/float128-sed-hw: Likewise.
4667
4668 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
4669 floating point hardware support.
4670
4671 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
4672 128-bit floating point software emulation or use ISA 3.0 hardware
4673 support if it is available.
4674
4675 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
4676 floating point.
4677
4678 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
4679 floating point to IBM extended double.
4680
4681 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
4682 double to IEEE 128-bit floating point.
4683
4684 * config/rs6000/t-float128: New Makefile fragments to enable
4685 building __float128 emulation support.
4686 * config/rs6000/t-float128-hw: Likewise.
4687
4688 * config/rs6000/sfp-exceptions.c: New file to provide exception
4689 support for IEEE 128-bit floating point.
4690
4691 * config/rs6000/floattikf.c: New files for converting between IEEE
4692 128-bit floating point and signed/unsigned 128-bit integers.
4693 * config/rs6000/fixunskfti.c: Likewise.
4694 * config/rs6000/fixkfti.c: Likewise.
4695 * config/rs6000/floatuntikf.c: Likewise.
4696
4697 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
4698 when building on 64-bit systems, or when VSX is enabled.
4699 (_FP_W_TYPE): Likewise.
4700 (_FP_WS_TYPE): Likewise.
4701 (_FP_I_TYPE): Likewise.
4702 (TItype): Define on 64-bit systems.
4703 (UTItype): Likewise.
4704 (TI_BITS): Likewise.
4705 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
4706 (_FP_MUL_MEAT_Q): Likewise.
4707 (_FP_DIV_MEAT_D): Likewise.
4708 (_FP_DIV_MEAT_Q): Likewise.
4709 (_FP_NANFRAC_D): Likewise.
4710 (_FP_NANFRAC_Q): Likewise.
4711 (ISA_BIT): Add exception support if we are being compiled on a
4712 machine with hardware floating point support to build the IEEE
4713 128-bit emulation functions.
4714 (FP_EX_INVALID): Likewise.
4715 (FP_EX_OVERFLOW): Likewise.
4716 (FP_EX_UNDERFLOW): Likewise.
4717 (FP_EX_DIVZERO): Likewise.
4718 (FP_EX_INEXACT): Likewise.
4719 (FP_EX_ALL): Likewise.
4720 (__sfp_handle_exceptions): Likewise.
4721 (FP_HANDLE_EXCEPTIONS): Likewise.
4722 (FP_RND_NEAREST): Likewise.
4723 (FP_RND_ZERO): Likewise.
4724 (FP_RND_PINF): Likewise.
4725 (FP_RND_MINF): Likewise.
4726 (FP_RND_MASK): Likewise.
4727 (_FP_DECL_EX): Likewise.
4728 (FP_INIT_ROUNDMODE): Likewise.
4729 (FP_ROUNDMODE): Likewise.
4730
4731 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
4732 VSX code, enable IEEE 128-bit floating point. If the compiler can
4733 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
4734 floating point hardware instructions and it supports declaring
4735 functions with the ifunc attribute, enable ifunc functions to
4736 switch between software and hardware support.
4737 * configure.ac (powerpc*-*-linux*): Likewise.
4738 * configure: Regenerate.
4739
bdc27e50
NC
47402016-01-15 Nick Clifton <nickc@redhat.com>
4741
4742 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
4743 dependency as the source file to be compiled.
4744 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
4745 (lib2hw_mul_f5.o): Likewise.
4746
006df05d
MM
47472016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
4748
4749 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
4750 * libgcc/config/rs6000/fixkfti.c: Likewise.
4751 * libgcc/config/rs6000/fixunskfti.c: Likewise.
4752 * libgcc/config/rs6000/float128-hw.c: Likewise.
4753 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
4754 * libgcc/config/rs6000/float128-sed: Likewise.
4755 * libgcc/config/rs6000/floattikf.c: Likewise.
4756 * libgcc/config/rs6000/floatuntikf.c: Likewise.
4757 * libgcc/config/rs6000/quad-float128.h: Likewise.
4758 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
4759 * libgcc/config/rs6000/sfp-machine.h: Likewise.
4760 * libgcc/config/rs6000/t-float128: Likewise.
4761 * libgcc/config/rs6000/t-float128-hw: Likewise.
4762 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
4763 * libgcc/config.host: Likewise.
4764 * libgcc/configure: Likewise.
4765 * libgcc/configure.ac: Likewise.
4766
29176d57 47672016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
4768 Steven Munroe <munroesj@linux.vnet.ibm.com>
4769 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
29176d57
MM
4770
4771 * config/rs6000/sfp-exceptions.c: New file to provide exception
4772 support for IEEE 128-bit floating point.
4773
4774 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
4775 floating point hardware support.
4776
4777 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
4778 point conversions.
4779 * config/rs6000/fixunskfti.c: Likewise.
4780 * config/rs6000/fixkfti.c: Likewise.
4781 * config/rs6000/floatuntikf.c: Likewise.
4782 * config/rs6000/extendkftf2-sw.c: Likewise.
4783 * config/rs6000/trunctfkf2-sw.c: Likewise.
4784
4785 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
4786 128-bit floating point software emulation or use ISA 3.0 hardware
4787 support if it is available.
4788
4789 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
4790 floating point.
4791
4792 * config/rs6000/t-float128: New Makefile fragments to enable
4793 building __float128 emulation support.
4794 * config/rs6000/t-float128-hw: Likewise.
4795
4796 * config/rs6000/float128-sed: New file to convert TF names to KF
4797 names for PowerPC IEEE 128-bit floating point support.
4798
4799 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
4800 when building on 64-bit systems, or when VSX is enabled.
4801 (_FP_W_TYPE): Likewise.
4802 (_FP_WS_TYPE): Likewise.
4803 (_FP_I_TYPE): Likewise.
4804 (TItype): Define on 64-bit systems.
4805 (UTItype): Likewise.
4806 (TI_BITS): Likewise.
4807 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
4808 (_FP_MUL_MEAT_Q): Likewise.
4809 (_FP_DIV_MEAT_D): Likewise.
4810 (_FP_DIV_MEAT_Q): Likewise.
4811 (_FP_NANFRAC_D): Likewise.
4812 (_FP_NANFRAC_Q): Likewise.
4813 (ISA_BIT): Add exception support if we are being compiled on a
4814 machine with hardware floating point support to build the IEEE
4815 128-bit emulation functions.
4816 (FP_EX_INVALID): Likewise.
4817 (FP_EX_OVERFLOW): Likewise.
4818 (FP_EX_UNDERFLOW): Likewise.
4819 (FP_EX_DIVZERO): Likewise.
4820 (FP_EX_INEXACT): Likewise.
4821 (FP_EX_ALL): Likewise.
4822 (__sfp_handle_exceptions): Likewise.
4823 (FP_HANDLE_EXCEPTIONS): Likewise.
4824 (FP_RND_NEAREST): Likewise.
4825 (FP_RND_ZERO): Likewise.
4826 (FP_RND_PINF): Likewise.
4827 (FP_RND_MINF): Likewise.
4828 (FP_RND_MASK): Likewise.
4829 (_FP_DECL_EX): Likewise.
4830 (FP_INIT_ROUNDMODE): Likewise.
4831 (FP_ROUNDMODE): Likewise.
4832
4833 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
4834 compiler can do __float128.
4835 * configure: Regenerate.
4836
4837 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
4838 VSX code, enable IEEE 128-bit floating point.
4839
a2218983
OH
48402016-01-05 Olivier Hainque <hainque@adacore.com>
4841
4842 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
29176d57 4843 specificities.
a2218983 4844
818ab71a
JJ
48452016-01-04 Jakub Jelinek <jakub@redhat.com>
4846
4847 Update copyright years.
4848
5a6c8ffa
AP
48492015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
4850
4851 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
29176d57 4852 soft-fp targets.
5a6c8ffa 4853
077067a5
BE
48542015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
4855
4856 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
4857 instead of abort to avoid dependency on stdlib.h.
4858
787c1027
JDA
48592015-12-09 John David Anglin <danglin@gcc.gnu.org>
4860
4861 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
4862 to initialize call to __dl_fixup once.
4863
04a9ae28
NC
48642015-12-04 Nick Clifton <nickc@redhat.com>
4865
4866 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
4867 Allow for the second argument being negative.
4868 * config.host (extra_parts): Define for MSP430. Create separate
4869 libraries for each of the hardware multiply formats.
4870 * config/msp430/lib2hw_mul.S: Build only the multiply routines
4871 that are needed.
4872 * config/msp430/lib2mul.c: Likewise.
4873 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
4874 Add rules to build hardware multiply libraries.
4875 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
4876 __mspabi_divul function.
4877 (__mspabi_divllu): New stub function.
4878
9a32d437
JDA
48792015-12-01 John David Anglin <danglin@gcc.gnu.org>
4880
4881 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
4882 fixup values if saved GOT address doesn't match runtime address.
4883 (fixup_branch_offset): Reorder list.
4884
e5ef217c
RO
48852015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4886
4887 * Makefile.in (VTV_CFLAGS): New variable.
4888 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
4889 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
4890 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
4891 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
4892 to extra_parts if $enable_vtable_verify = yes.
4893
78cc43a2
SN
48942015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
4895
4896 PR target/68059
4897 * config/arm/linux-atomic-64bit.c (__write): Rename to...
4898 (write): ...this and fix the return type.
4899
9afebea2
DD
49002015-11-19 DJ Delorie <dj@redhat.com>
4901
4902 * config/msp430/lib2hw_mul.S: Fix alignment.
4903
33f47f42
NS
49042015-11-18 Nathan Sidwell <nathan@codesourcery.com>
4905
4906 * config/nvptx/reduction.c: New.
4907 * config/nvptx/t-nvptx (LIB2ADD): Add it.
4908
d9adb476
DE
49092015-11-15 David Edelsohn <dje.gcc@gmail.com>
4910
4911 * config/rs6000/on_exit.c: New file.
4912 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
4913 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
4914
c0ab1970
CZ
49152015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
4916
4917 * config/arc/dp-hack.h: Add support for ARCHS.
4918 * config/arc/ieee-754/divdf3.S: Likewise.
4919 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
4920 * config/arc/ieee-754/muldf3.S: Likewise.
4921 * config/arc/ieee-754/mulsf3.S: Likewise
4922 * config/arc/lib1funcs.S: Likewise
4923 * config/arc/gmon/dcache_linesz.S: Don't read the build register
4924 for ARCv2 cores.
4925 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
4926 for ARCv2 cores.
4927 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
4928 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
4929 cores.
4930
e6b6bf09
RO
49312015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4932
4933 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
4934 value.
4935 * config/ia64/crtend.S: Likewise.
4936
a153644f
TS
49372015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4938
4939 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
4940 __CHAR_BIT__ instead of BITS_PER_UNIT.
4941 * fixed-bit.h: Likewise.
4942 * fp-bit.h: Likewise.
4943 * libgcc2.c (__popcountSI2): Likewise.
4944 (__popcountDI2): Likewise.
4945 * libgcc2.h: Likewise.
4946 * libgcov.h: Likewise.
4947
3dee689d
DE
49482015-11-07 David Edelsohn <dje.gcc@gmail.com>
4949
4950 * config/rs6000/atexit.c: New file.
4951 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
4952 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
4953 * config/rs6000/cxa_finalize.c
4954 (catomic_compare_and_exchange_bool_acq): Negate return value.
4955
2ef543e4
VK
49562015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
4957
4958 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
4959 (processor_subtypes): Add znver1.
4960 (get_amd_cpu): Detect znver1.
4961
1300f017
CL
49622015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
4963
4964 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
4965 Include crtfastmath.o.
4966
3e5bb7ee
JR
49672015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
4968
4969 PR libgcc/66883
4970 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1300f017 4971
793aa938
KP
49722015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
4973
4974 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
4975 * config/rl78/divmodsi.S: Update return register to r8.
4976 * config/rl78/divmodhi.S: Update return register to r8,r9.
4977 Branch to main_loop_done_himode to pop registers before return.
4978
7d296953 49792015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
fac812f0
VK
4980
4981 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
4982 (__cpu_indicator_init): Fix model selection for AMD CPUs.
4983
6a192b5a
KY
49842015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
4985
4986 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
4987
4a0a9457
MF
49882015-10-03 Max Filippov <jcmvbkbc@gmail.com>
4989
4990 * config.host (xtensa*-*-uclinux*): New configuration.
4991
ab91c076
KY
49922015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
4993
385c7747 4994 * config/i386/cpuinfo.c (processor_features): Add
ab91c076
KY
4995 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
4996
30954527
JM
49972015-09-28 Joseph Myers <joseph@codesourcery.com>
4998
4999 * soft-fp/adddf3.c: Update from glibc.
5000 * soft-fp/addsf3.c: Likewise.
5001 * soft-fp/addtf3.c: Likewise.
5002 * soft-fp/divdf3.c: Likewise.
5003 * soft-fp/divsf3.c: Likewise.
5004 * soft-fp/divtf3.c: Likewise.
5005 * soft-fp/double.h: Likewise.
5006 * soft-fp/eqdf2.c: Likewise.
5007 * soft-fp/eqsf2.c: Likewise.
5008 * soft-fp/eqtf2.c: Likewise.
5009 * soft-fp/extenddftf2.c: Likewise.
5010 * soft-fp/extended.h: Likewise.
5011 * soft-fp/extendsfdf2.c: Likewise.
5012 * soft-fp/extendsftf2.c: Likewise.
5013 * soft-fp/extendxftf2.c: Likewise.
5014 * soft-fp/fixdfdi.c: Likewise.
5015 * soft-fp/fixdfsi.c: Likewise.
5016 * soft-fp/fixdfti.c: Likewise.
5017 * soft-fp/fixsfdi.c: Likewise.
5018 * soft-fp/fixsfsi.c: Likewise.
5019 * soft-fp/fixsfti.c: Likewise.
5020 * soft-fp/fixtfdi.c: Likewise.
5021 * soft-fp/fixtfsi.c: Likewise.
5022 * soft-fp/fixtfti.c: Likewise.
5023 * soft-fp/fixunsdfdi.c: Likewise.
5024 * soft-fp/fixunsdfsi.c: Likewise.
5025 * soft-fp/fixunsdfti.c: Likewise.
5026 * soft-fp/fixunssfdi.c: Likewise.
5027 * soft-fp/fixunssfsi.c: Likewise.
5028 * soft-fp/fixunssfti.c: Likewise.
5029 * soft-fp/fixunstfdi.c: Likewise.
5030 * soft-fp/fixunstfsi.c: Likewise.
5031 * soft-fp/fixunstfti.c: Likewise.
5032 * soft-fp/floatdidf.c: Likewise.
5033 * soft-fp/floatdisf.c: Likewise.
5034 * soft-fp/floatditf.c: Likewise.
5035 * soft-fp/floatsidf.c: Likewise.
5036 * soft-fp/floatsisf.c: Likewise.
5037 * soft-fp/floatsitf.c: Likewise.
5038 * soft-fp/floattidf.c: Likewise.
5039 * soft-fp/floattisf.c: Likewise.
5040 * soft-fp/floattitf.c: Likewise.
5041 * soft-fp/floatundidf.c: Likewise.
5042 * soft-fp/floatundisf.c: Likewise.
5043 * soft-fp/floatunditf.c: Likewise.
5044 * soft-fp/floatunsidf.c: Likewise.
5045 * soft-fp/floatunsisf.c: Likewise.
5046 * soft-fp/floatunsitf.c: Likewise.
5047 * soft-fp/floatuntidf.c: Likewise.
5048 * soft-fp/floatuntisf.c: Likewise.
5049 * soft-fp/floatuntitf.c: Likewise.
5050 * soft-fp/gedf2.c: Likewise.
5051 * soft-fp/gesf2.c: Likewise.
5052 * soft-fp/getf2.c: Likewise.
5053 * soft-fp/ledf2.c: Likewise.
5054 * soft-fp/lesf2.c: Likewise.
5055 * soft-fp/letf2.c: Likewise.
5056 * soft-fp/muldf3.c: Likewise.
5057 * soft-fp/mulsf3.c: Likewise.
5058 * soft-fp/multf3.c: Likewise.
5059 * soft-fp/negdf2.c: Likewise.
5060 * soft-fp/negsf2.c: Likewise.
5061 * soft-fp/negtf2.c: Likewise.
5062 * soft-fp/op-1.h: Likewise.
5063 * soft-fp/op-2.h: Likewise.
5064 * soft-fp/op-4.h: Likewise.
5065 * soft-fp/op-8.h: Likewise.
5066 * soft-fp/op-common.h: Likewise.
5067 * soft-fp/quad.h: Likewise.
5068 * soft-fp/single.h: Likewise.
5069 * soft-fp/soft-fp.h: Likewise.
5070 * soft-fp/subdf3.c: Likewise.
5071 * soft-fp/subsf3.c: Likewise.
5072 * soft-fp/subtf3.c: Likewise.
5073 * soft-fp/truncdfsf2.c: Likewise.
5074 * soft-fp/trunctfdf2.c: Likewise.
5075 * soft-fp/trunctfsf2.c: Likewise.
5076 * soft-fp/trunctfxf2.c: Likewise.
5077 * soft-fp/unorddf2.c: Likewise.
5078 * soft-fp/unordsf2.c: Likewise.
5079 * soft-fp/unordtf2.c: Likewise.
5080
4dfe21ac
RE
50812015-09-24 Richard Earnshaw <rearnsha@arm.com>
5082
5083 PR libgcc/67624
5084 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
5085
df2a1cc4
RO
50862015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5087
5088 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
5089 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
5090 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
5091 messages.
5092 (internal_mcount): Likewise.
5093 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
5094 crt_compile, add CRTSTUFF_T_CFLAGS_S.
5095
2d110442
RO
50962015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5097
5098 * configure.ac (libgcc_cv_solaris_crts): New test.
5099 * configure: Regenerate.
5100 * config.in: Regenerate.
5101 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
5102 * config/gmon-sol2.c: Rename to ...
5103 * config/sol2/gmon.c: ... this.
5104 Include auto-target.h.
5105 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
5106 * config/t-sol2: Rename to ...
5107 * config/sol2/t-sol2: ... this.
5108 (gmon.o): Reflect renaming.
5109 (crtp.o, crtpg.o): New rules.
5110 * config.host (*-*-solaris2*): Reflect renaming.
5111 Use system CRTs if present.
5112 Remove default CRT case.
5113
d572e439
JDA
51142015-09-23 John David Anglin <danglin@gcc.gnu.org>
5115
5116 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
5117 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
5118 __kernel_cmpxchg2.
5119 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
5120 (__sync_val_compare_and_swap_##WIDTH): Likewise.
5121 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
5122 (__sync_lock_test_and_set_##WIDTH): Likewise.
5123 (__sync_lock_release_##WIDTH): Likewise.
5124 (__sync_fetch_and_##OP##_4): Change result to match type of
5125 __kernel_cmpxchg.
5126 (__sync_##OP##_and_fetch_4): Likewise.
5127 (__sync_val_compare_and_swap_4): Likewise.
5128 (__sync_bool_compare_and_swap_4): likewise.
5129 (__sync_lock_test_and_set_4): Likewise.
5130 (__sync_lock_release_4): Likewise.
5131 (FETCH_AND_OP_2): Add long long variants.
5132 (OP_AND_FETCH_2): Likewise.
5133 (COMPARE_AND_SWAP_2 ): Likewise.
5134 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
5135 (SYNC_LOCK_RELEASE_2): Likewise.
5136 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
5137
7d296953 51382015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
06caf59d
KY
5139
5140 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
5141 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
5142 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
5143 (get_available_features): Habdle new features.
5144
131314e1
JB
51452015-09-21 James Bowman <james.bowman@ftdichip.com>
5146
5147 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
5148 memory layout. Deal correctly with BSS region larger than 32K.
5149 Handle a watchdog reset like a power-on reset. Clean up unused
5150 code.
5151
04218b35
AD
51522015-09-18 Andrew Dixie <andrewd@gentrack.com>
5153 David Edelsohn <dje.gcc@gmail.com>
5154
5155 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
5156 * config/rs6000/crtdbase.S: New file.
5157 * config/rs6000/t-aix-cxa: Build crtdbase.o.
5158
c8338173
MF
51592015-09-15 Max Filippov <jcmvbkbc@gmail.com>
5160
5161 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
5162 Add support for call0 ABI.
5163
7a84bf71
JDA
51642015-09-13 John David Anglin <danglin@gcc.gnu.org>
5165
5166 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
5167
4efab402
SH
51682015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
5169
5170 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
5171 (__GTHREAD_HAS_COND): Likewise.
5172 (__gthread_t): Likewise.
5173 (__gthread_cond_t): Likewise.
5174 (__gthread_time_t): Likewise.
5175 (__GTHREAD_MUTEX_INIT): Likewise.
5176 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
5177 (__GTHREAD_COND_INIT): Likewise.
5178 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
5179 (__GTHREAD_TIME_INIT): Likewise.
5180 (__gthread_create): Likewise.
5181 (__gthread_join): Likewise.
5182 (__gthread_detach): Likewise.
5183 (__gthread_equal): Likewise.
5184 (__gthread_self): Likewise.
5185 (__gthread_yield): Likewise.
5186 (__gthread_cond_broadcast): Likewise.
5187 (__gthread_cond_signal): Likewise.
5188 (__gthread_cond_wait): Likewise.
5189 (__gthread_cond_timedwait): Likewise.
5190 (__gthread_cond_wait_recursive): Likewise.
5191 (__gthread_cond_destroy): Likewise.
5192 (rtems_gxx_once): Delete.
5193 (rtems_gxx_key_create): Likewise.
5194 (rtems_gxx_key_delete): Likewise.
5195 (rtems_gxx_getspecific): Likewise.
5196 (rtems_gxx_setspecific): Likewise.
5197 (rtems_gxx_mutex_init): Likewise.
5198 (rtems_gxx_mutex_destroy): Likewise.
5199 (rtems_gxx_mutex_lock): Likewise.
5200 (rtems_gxx_mutex_trylock): Likewise.
5201 (rtems_gxx_mutex_unlock): Likewise.
5202 (rtems_gxx_recursive_mutex_init): Likewise.
5203 (rtems_gxx_recursive_mutex_lock): Likewise.
5204 (rtems_gxx_recursive_mutex_trylock): Likewise.
5205 (rtems_gxx_recursive_mutex_unlock): Likewise.
5206 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
5207 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
5208 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
5209 (__gthread_once): Likewise.
5210 (__gthread_key_create): Likewise.
5211 (__gthread_key_delete): Likewise.
5212 (__gthread_getspecific): Likewise.
5213 (__gthread_setspecific): Likewise.
5214 (__gthread_key_t): Use <pthread.h> type.
5215 (__gthread_once_t): Likewise
5216 (__gthread_mutex_t): Use <sys/lock.h> type.
5217 (__gthread_recursive_mutex_t): Likewise
5218 (__gthread_mutex_lock): Use <sys/lock.h> function.
5219 (__gthread_mutex_trylock): Likewise.
5220 (__gthread_mutex_timedlock): Likewise.
5221 (__gthread_mutex_unlock): Likewise.
5222 (__gthread_mutex_destroy): Likewise.
5223 (__gthread_recursive_mutex_lock): Likewise.
5224 (__gthread_recursive_mutex_trylock): Likewise.
5225 (__gthread_recursive_mutex_timedlock): Likewise.
5226 (__gthread_recursive_mutex_unlock): Likewise.
5227 (__gthread_recursive_mutex_destroy): Likewise.
5228
991995c4
MF
52292015-08-18 Max Filippov <jcmvbkbc@gmail.com>
5230
5231 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
5232 context->sp instead of context->cfa.
5233
0e19db59
MF
52342015-08-18 Max Filippov <jcmvbkbc@gmail.com>
5235
5236 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
5237 with unwind-dw2-fde-dip.
5238
b6ac5f62
MF
52392015-08-18 Max Filippov <jcmvbkbc@gmail.com>
5240
5241 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
5242 CALL12 followed by series of ENTRY to spill windowed registers.
5243 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
5244 instead of making linux spill syscall.
5245
3e0f3349
YR
52462015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
5247
5248 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
5249 (get_intel_cpu): Likewise.
5250
51c728b1
L
52512015-08-12 H.J. Lu <hongjiu.lu@intel.com>
5252
5253 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
5254 (get_intel_cpu): Add Knights Landing support.
5255
aff4eeac
UB
52562015-08-11 Uros Bizjak <ubizjak@gmail.com>
5257
5258 PR target/66954
5259 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
5260 (get_available_features): Handle FEATURE_PCLMUL.
5261
736e56da
L
52622015-08-10 H.J. Lu <hongjiu.lu@intel.com>
5263
5264 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
5265 Broadwell.
5266
54d22142
UB
52672015-07-22 Uros Bizjak <ubizjak@gmail.com>
5268
5269 PR target/66954
5270 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
5271 (get_available_features): Handle FEATURE_AES.
5272
20ca17e4
CLT
52732015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
5274
5275 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
5276 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
5277
ebe4a560
NS
52782015-07-17 Nathan Sidwell <nathan@codesourcery.com>
5279
5280 * offloadstuff.c: Constify host data.
5281
180744c0
JB
52822015-07-17 Jan Beulich <jbeulich@suse.com>
5283
5284 * config/t-softfp: Split up "else ifneq".
5285
a03c6ae3
SL
52862015-07-14 Sandra Loosemore <sandra@codesourcery.com>
5287 Cesar Philippidis <cesar@codesourcery.com>
5288 Chung-Lin Tang <cltang@codesourcery.com>
5289
5290 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
5291 for __nios2_arch__ level.
5292
73358db5
JM
52932015-07-13 John Marino <gnugcc@marino.st>
5294
5295 * config/i386/t-dragonfly: New.
5296
f9a12f7b
JDA
52972015-07-01 John David Anglin <danglin@gcc.gnu.org>
5298
5299 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
5300 better match light-weight syscall argument order.
5301 (__kernel_cmpxchg2): Likewise.
5302 Adjust callers.
5303
cb78b51c
L
53042015-06-30 H.J. Lu <hongjiu.lu@intel.com>
5305
5306 * config.host: Support i[34567]86-*-elfiamcu target.
5307 * config/t-softfp-sfdftf: New file.
5308 * config/i386/32/t-iamcu: Likewise.
5309 * configure: Regenerated.
5310
4fa0f9ea
JL
53112015-06-23 James Lemke <jwlemke@codesourcery.com>
5312
5313 libgcc/config/arm/
5314 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
5315
428b3812
L
53162015-05-27 H.J. Lu <hongjiu.lu@intel.com>
5317
5318 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
5319
7d296953 53202015-05-27 John Marino <gnugcc@marino.st>
89c54dd3
JM
5321
5322 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
5323 md_unwind_header
5324 * config/i386/freebsd-unwind.h: New.
5325
9b789cc1
UB
53262015-05-22 Uros Bizjak <ubizjak@gmail.com>
5327
5328 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
5329 i386/t-crtfm to tmake_file.
5330 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
5331 (set_fast_math): Use set_fast_math_sse for SSE targets.
5332 * config/i386/t-crtfm: Remove.
5333
3dafb220
AM
53342015-05-21 Alan Modra <amodra@gmail.com>
5335
5336 PR libgcc/66225
5337 * config/rs6000/morestack.S: Remove ".abiversion 1".
5338
0f0fd745
AM
53392015-05-20 Alan Modra <amodra@gmail.com>
5340
5341 * config/rs6000/morestack.S: New.
5342 * config/rs6000/t-stack-rs6000: New.
5343 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
5344 to tmake_file.
5345 * generic-morestack.c: Don't build for powerpc 32-bit.
5346
515ae71b
EB
53472015-05-19 Eric Botcazou <ebotcazou@adacore.com>
5348
5349 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
5350 Remove useless endif/ifneq ($(enable_shared),yes) pair.
5351
36805406
JL
53522015-05-16 James Bowman <james.bowman@ftdichip.com>
5353
5354 * config.host: FT32 target added.
5355 * config/ft32/*: New files for FT32 target.
5356
ff935d0c
MG
53572015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
5358
385c7747
UB
5359 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
5360 New macros.
5361 * config/arm/ieee754-df.S: Add CFI directives.
5362 * config/arm/ieee754-sf.S: Add CFI directives.
ff935d0c 5363
9b92a9f3
EB
53642015-05-13 Eric Botcazou <ebotcazou@adacore.com>
5365
5366 * configure.ac: Include config/sjlj.m4.
5367 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
5368 * config.in: Regenerate.
5369 * configure: Likewise.
5370 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
5371
98b5dc61
UB
53722015-05-12 Uros Bizjak <ubizjak@gmail.com>
5373
5374 * libgcov-util.c: Add space between string literal and macro name.
5375
5a0ff57c
SL
53762015-05-06 Sandra Loosemore <sandra@codesourcery.com>
5377 Chris Jones <chrisj@nvidia.com>
5378 Joshua Conner <jconner@nvidia.com>
5379
5380 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
5381 (arm*-*-uclinux*): Likewise.
5382 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
5383 * config/arm/crtfastmath.c: New file.
5384
d28ad5d4
BS
53852014-04-29 Bernd Schmidt <bernds@codesourcery.com>
5386
5387 * Makefile.in (real_host_noncanonical): New variable.
5388 (libsubdir): Use it.
5389 * configure.ac (real_host_noncanonical): Compute. Remove special
5390 case for intelmicemul.
5391 * configure: Regenerate.
5392
cc86234f
UB
53932015-04-28 Uros Bizjak <ubizjak@gmail.com>
5394
5395 * config/frv/elf-lib.h: New file.
5396 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
5397 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
5398 to tm_file.
5399
54002015-04-28 Uros Bizjak <ubizjak@gmail.com>
5401
5402 * config/frv/frvbengin.c: Do not include defaults.h
5403 * config/frv/frvend.c: Ditto.
5404
2f6bd6eb
YS
54052015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
5406
5407 * config.host: Add h8300-*-linux
5408 * config/h8300/t-linux: New file.
5409 * config/h8300/lib1funs.s: Change symbol prefix.
5410 * config/h8300/sfp-machine.h: 64bit double support.
5411
15aa7b44
GR
54122015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
5413 Szabolcs Nagy <szabolcs.nagy@arm.com>
5414
5415 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
5416 Linux if target provides dl_iterate_phdr.
5417
abd0cdc9
L
54182015-04-17 H.J. Lu <hongjiu.lu@intel.com>
5419
5420 PR target/65612
5421 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
5422 * config/i386/cpuinfo.c (__cpu_model): Initialize.
5423 (__cpu_indicator_init@GCC_4.8.0): New.
5424 (__cpu_model@GCC_4.8.0): Likewise.
5425 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
5426 -DUSE_ELF_SYMVER.
5427
72ed1126
NC
54282015-04-16 Nick Clifton <nickc@redhat.com>
5429
5430 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
5431 and __modhi3 functions.
5432 * config/rl78/divmodso.S: Add G14 and G13 versions of the
5433 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
5434
d26b2237
CG
54352015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
5436
5437 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
5438 do-while loop as macro body to avoid warnings.
5439
cacf1f59
JJ
54402015-04-10 Jakub Jelinek <jakub@redhat.com>
5441 Iain Sandoe <iain@codesourcery.com>
5442
5443 PR target/65351
5444 * configure: Regenerate.
5445
e8a4ed3b
JJ
54462015-04-07 Jakub Jelinek <jakub@redhat.com>
5447 Iain Sandoe <iain@codesourcery.com>
5448
5449 PR target/65351
5450 * configure: Regenerate.
5451
0341335e
CLT
54522015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
5453
5454 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
5455
590e2636 54562015-03-03 Max Filippov <jcmvbkbc@gmail.com>
0341335e 5457
590e2636
MF
5458 Implement call0 ABI for xtensa
5459 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
5460 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
5461 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
5462 use ret in call0 ABI.
5463 * config/xtensa/t-windowed: New file.
5464 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
5465 * libgcc/configure: Regenerated.
5466 * libgcc/configure.ac: Check if xtensa target is configured for
5467 windowed ABI and thus needs to use custom unwind code.
5468
7727f8f2
JW
54692015-02-12 Jonathan Wakely <jwakely@redhat.com>
5470
5471 PR libgcc/64885
5472 * gthr-single.h: Use __unused__ attribute instead of unused.
5473 * config/gthr-vxworks.h: Likewise.
5474 * config/i386/gthr-win32.h: Likewise.
5475
0e4a0def
KT
54762015-02-27 Kai Tietz <ktietz@redhat.com>
5477
5478 PR target/65038
5479 * config.in: Regenerated.
5480 * configure: Likewise.
5481 * configure.ac (AC_HEADER_STDC): Added explicit.
5482 (AC_CHECK_HEADERS): Check for default headers plus
5483 for ftw.h header.
5484 * libgcov-util.c (gcov_read_profile_dir): Disable use
5485 of ftw-function, if header is not found.
5486 (ftw_read_file): Likewise.
5487
b6530d0a
TS
54882015-02-23 Thomas Schwinge <thomas@codesourcery.com>
5489
5490 PR target/65181
5491 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
5492 -Dinhibit_libc.
5493
53cfb467
SL
54942015-02-17 Sandra Loosemore <sandra@codesourcery.com>
5495
5496 * config/arm/bpabi.S (test_div_by_zero): Make label names
5497 consistent between thumb2 and arm mode cases. Separate the
5498 signed comparison on the high word of the numerator from the
5499 unsigned comparison on the low word.
5500 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
5501 signed comparison.
5502
77d10a1b
JM
55032015-02-17 Joseph Myers <joseph@codesourcery.com>
5504
5505 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
5506 and <string.h>.
5507 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
5508
98174188
RE
55092015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
5510
5511 PR gcov-profile/61889
471274de 5512 * libgcov-driver-system.c: undefine clashing macro for mkdir.
98174188 5513
771bef14
NC
55142015-02-02 Nick Clifton <nickc@redhat.com>
5515
5516 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
5517 rounding up the fraction.
5518
40702893
JDA
55192015-01-31 John David Anglin <danglin@gcc.gnu.org>
5520
5521 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
5522 oldval and newval to const void *. Fix typo.
5523 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
5524 (FETCH_AND_OP_WORD): Likewise.
5525 (OP_AND_FETCH_WORD): Likewise.
5526 (COMPARE_AND_SWAP_2): Likewise.
5527 (__sync_val_compare_and_swap_4): Likewise.
5528 (__sync_lock_test_and_set_4): Likewise.
5529 (SYNC_LOCK_RELEASE_2): Likewise.
5530 Remove support for long long atomic operations.
5531
f7f049fa
CT
55322015-01-27 Caroline Tice <cmtice@google.com>
5533
5534 Committing VTV Cywin/Ming patch for Patrick Wollgast
5535 * Makefile.in: Move rules to build vtv_*.o out of the check
5536 for CUSTOM_CRTSTUFF.
5537 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
5538 i[34567]86-*-mingw*)
5539 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
5540 enable_vtable_verify.
5541
8410904a
NC
55422015-01-27 Nick Clifton <nickc@redhat.com>
5543
5544 * config/rl78/cmpsi2.S: Use function start and end macros.
5545 (__gcc_bcmp): New function.
5546 * config/rl78/lshrsi3.S: Use function start and end macros.
5547 * config/rl78/mulsi3.S: Add support for G10.
5548 (__mulqi3): New function for G10.
5549 * config/rl78/signbit.S: Use function start and end macros.
5550 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
5551 fpmath-sf.S.
5552 (LIB2FUNCS_EXCLUDE): Define.
5553 (LIB2FUNCS_ST): Define.
5554 * config/rl78/trampoline.S: Use function start and end macros.
5555 * config/rl78/vregs.h (START_FUNC): New macro.
5556 (START_ANOTHER_FUNC): New macro.
5557 (END_FUNC): New macro.
5558 (END_ANOTHER_FUNC): New macro.
5559 * config/rl78/bit-count.S: New file. Contains assembler
5560 implementations of the bit counting functions: ___clzhi2,
5561 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
5562 __paritysi2, __popcounthi2 and __popcountsi2.
5563 * config/rl78/fpbit-sf.S: New file. Contains assembler
5564 implementationas of the math functions: __negsf2, __cmpsf2,
5565 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
5566 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
5567 * config/rl78/fpmath-sf.S: New file. Contains assembler
5568 implementations of the math functions: __subsf3, __addsf3,
5569 __mulsf3 and __divsf3
5570
f962fbf1
RO
55712015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5572
5573 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
5574 Add i386/elf-lib.h to tm_file.
5575 * config/i386/elf-lib.h: Fix comment.
5576 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
5577 && __sun__ && __svr4__]: Remove workaround.
5578
939911c5
ASJ
55792015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
5580
5581 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
5582 FEATURE_BMI2.
5583 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
5584
c8f2dff2
L
55852015-01-24 H.J. Lu <hongjiu.lu@intel.com>
5586
5587 * config/i386/cpuinfo.c (processor_subtypes): Add
5588 INTEL_COREI7_BROADWELL.
5589 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
5590 model numbers.
5591
7bbf9734
UB
55922015-01-23 Uros Bizjak <ubizjak@gmail.com>
5593
5594 * config/i386/elf-lib.h: New file.
5595 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
5596 Wrap definition in #ifdef __i386__.
5597 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
5598 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
5599 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
5600 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
5601 to tm_file.
5602
324820f1
CG
56032015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
5604
5605 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
5606 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
5607
a9ce4e4a
CLT
56082015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
5609
5610 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
5611 Update rt_sigframe format and address for current Nios II
5612 Linux conventions.
5613
82a19768
AT
56142015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
5615
5616 * config.host (arm*-*-freebsd*): Add new configuration for
5617 arm*-*-freebsd*.
5618 * config/arm/freebsd-atomic.c: New file.
5619 * config/arm/t-freebsd: Likewise.
5620 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
5621 'PC-relative indirect' OS's.
5622
0969ec7d
EB
56232015-01-06 Eric Botcazou <ebotcazou@adacore.com>
5624
5625 * config.host: Add Visium support.
5626 * config/visium: New directory.
5627
5624e564
JJ
56282015-01-05 Jakub Jelinek <jakub@redhat.com>
5629
5630 Update copyright years.
5631
82f84ecb
MF
56322014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
5633
5634 * config.host: Support mipsisa32r6 and mipsisa64r6.
5635 * config/mips/mips16.S: Do not build for R6.
5636
69044fa9
OE
56372014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
5638
5639 * config/sh/crt.h: New.
5640 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
5641 symbols.
5642 * config/sh/crt1.S: Likewise.
5643
2405e0ea
UB
56442014-12-15 Uros Bizjak <ubizjak@gmail.com>
5645
5646 PR libgcc/63832
5647 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
5648 func_ptr *dtor_list temporary variable to avoid "array subscript
5649 is above array bounds" warnings.
5650
7d296953 56512014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
dd913323
MH
5652
5653 * Makefile.in (with_aix_soname): Define.
5654 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
5655 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
5656 * configure: Recreate.
5657
a66272f6
OH
56582014-12-05 Olivier Hainque <hainque@adacore.com>
5659
5660 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
5661 now provided by defaults.h.
5662
6342b2c5
OE
56632014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
5664
7d0ee249 5665 PR target/55351
6342b2c5
OE
5666 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
5667 whether it's defined.
5668
c17eac85
IT
56692014-11-27 Ilya Tocar <ilya.tocar@intel.com>
5670
5671 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
5672 * config/i386/cpuinfo.c (get_available_features): Detect it.
5673
1025cb6c
TW
56742014-11-27 Tony Wang <tony.wang@arm.com>
5675
5676 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
5677 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
5678 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
5679
d19f2e38
SB
56802014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
5681
5682 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
5683
17f6e9a3
JDA
56842014-11-24 John David Anglin <danglin@gcc.gnu.org>
5685
5686 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
5687 instead.
5688
0cd7c672
GM
56892014-11-21 Guy Martin <gmsoft@tuxicoman.be>
5690 John David Anglin <danglin@gcc.gnu.org>
5691
5692 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
5693 (FETCH_AND_OP_2): New. Use for subword and double word operations.
5694 (OP_AND_FETCH_2): Likewise.
5695 (COMPARE_AND_SWAP_2): Likewise.
5696 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
5697 (SYNC_LOCK_RELEASE_2): Likewise.
5698 (SUBWORD_SYNC_OP): Remove.
5699 (SUBWORD_VAL_CAS): Likewise.
5700 (SUBWORD_BOOL_CAS): Likewise.
5701 (FETCH_AND_OP_WORD): Update.
5702 Consistently use signed types.
cc86234f 5703
85c64bbe
BS
57042014-11-13 Bernd Schmidt <bernds@codesourcery.com>
5705 Thomas Schwinge <thomas@codesourcery.com>
5706 Ilya Verbin <ilya.verbin@intel.com>
5707 Andrey Turetskiy <andrey.turetskiy@intel.com>
5708
5709 * Makefile.in (crtoffloadbegin$(objext)): New rule.
5710 (crtoffloadend$(objext)): Likewise.
5711 * configure: Regenerate.
5712 * configure.ac (accel_dir_suffix): Compute new variable.
5713 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
5714 if enable_offload_targets is not empty.
5715 * offloadstuff.c: New file.
5716
52a1ff8b
NC
57172014-11-13 Nick Clifton <nickc@redhat.com>
5718
5719 * config/rl78/divmodhi.S: Add support for the G10 architecture.
5720 Use START_FUNC and END_FUNC macros to enable linker garbage
5721 collection.
5722 * config/rl78/divmodqi.S: Likewise.
5723 * config/rl78/divmodsi.S: Likewise.
5724 * config/rl78/mulsi3.S: Likewise.
5725 * config/rl78/lib2div.c: Remove G10 functions.
5726 * config/rl78/lib2muls.c: Likewise.
5727 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
5728 * config/rl78/vregs.h (START_FUNC): New macro.
5729 (END_FUNC): New macro.
5730
050af144
MF
57312014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
5732
5733 * config/mips/mips16.S: Set .module when supported. Update O32
5734 FP64 calling convention and use for FPXX when possible. Add FPXX
5735 calling convention fallback case.
5736
738f2522
BS
57372014-11-06 Bernd Schmidt <bernds@codesourcery.com>
5738
5739 * config.host: Handle nvptx-*-*.
5740 * shared-object.mk (as-flags-$o): Define.
5741 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
5742 -xassembler-with-cpp.
5743 * static-object.mk: Identical changes.
5744 * config/nvptx/t-nvptx: New file.
5745 * config/nvptx/crt0.s: New file.
5746 * config/nvptx/free.asm: New file.
5747 * config/nvptx/malloc.asm: New file.
5748 * config/nvptx/realloc.c: New file.
5749
e610393c
JM
57502014-10-30 Joseph Myers <joseph@codesourcery.com>
5751
5752 * Makefile.in (libgcc.map.in): New target.
5753 (libgcc.map): Use libgcc.map.in.
5754 * config/t-softfp (softfp_compat): New variable to be set by
5755 users.
5756 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
5757 variables.
5758 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
5759 directory.
5760 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
5761 that use compat symbols and disable all code unless [SHARED].
5762 * config/t-softfp-compat: New file.
5763 * find-symver.awk: New file.
5764 * configure.ac (--with-glibc-version): New configure option.
5765 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
5766 * configure: Regenerate.
5767 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
5768 soft-float and e500.
5769
bc1b3a88
JM
57702014-10-29 Joseph Myers <joseph@codesourcery.com>
5771
5772 * config/t-hardfp (hardfp_exclusions): Document new variable for
5773 user to define.
5774 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
5775 * config/t-softfp (softfp_extras): Document new variable for user
5776 to define.
5777 (softfp_func_list): Add functions from $(softfp_extras).
5778 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
5779 * config.host (powerpc*-*-linux*): For e500v1, use
5780 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
5781 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
5782 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
5783
ef2810c1
JDA
57842014-10-26 John David Anglin <danglin@gcc.gnu.org>
5785
5786 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
5787 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
5788 memory read accesses are ok.
5789
d80c2bea
JM
57902014-10-25 Joseph Myers <joseph@codesourcery.com>
5791
5792 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
5793 * configure: Regenerate.
5794 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
5795 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
5796 of soft-fp for 32-bit classic hard float. Do not use
5797 t-softfp-excl for soft float.
5798
693b297b
JM
57992014-10-22 Joseph Myers <joseph@codesourcery.com>
5800
5801 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
5802 configurations.
5803 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
5804 Remove variables.
5805
18a3415e
GJL
58062014-10-22 Georg-Johann Lay <avr@gjlay.de>
5807
5808 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
5809 introduced with 2014-10-21 trunk r216525.
5810
c1dd9790 58112014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
7d296953
JJ
5812 Vidya Praveen <vidya.praveen@atmel.com>
5813 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
5814 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
5815 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
c1dd9790
JR
5816
5817 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
5818 order.
5819
5820 Updated library functions for AVRTINY arch.
5821 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
5822 Replaced occurrences of r0/r1 with tmp/zero reg macros.
5823 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
5824 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
5825 wsubi/wadi macors.
5826 (__mulsi3_helper): Update stack, preserve callee saved regs and
5827 argument from stack. Restore callee save registers.
5828 (__mulpsi3): Likewise.
5829 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
5830 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
18a3415e 5831 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
c1dd9790
JR
5832 AVRTINY.
5833 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
5834 (__do_copy_data): Added new definition for AVRTINY.
5835 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
5836 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
5837 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
5838 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
5839 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
5840 macors.
18a3415e 5841 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
c1dd9790
JR
5842 AVRTINY.
5843
18a3415e 5844 Fix broken long multiplication on tiny arch.
c1dd9790 5845
5f606431
JM
58462014-10-09 Joseph Myers <joseph@codesourcery.com>
5847
5848 * soft-fp/double.h: Update from glibc.
5849 * soft-fp/eqdf2.c: Likewise.
5850 * soft-fp/eqsf2.c: Likewise.
5851 * soft-fp/eqtf2.c: Likewise.
5852 * soft-fp/extenddftf2.c: Likewise.
5853 * soft-fp/extended.h: Likewise.
5854 * soft-fp/extendsfdf2.c: Likewise.
5855 * soft-fp/extendsftf2.c: Likewise.
5856 * soft-fp/extendxftf2.c: Likewise.
5857 * soft-fp/gedf2.c: Likewise.
5858 * soft-fp/gesf2.c: Likewise.
5859 * soft-fp/getf2.c: Likewise.
5860 * soft-fp/ledf2.c: Likewise.
5861 * soft-fp/lesf2.c: Likewise.
5862 * soft-fp/letf2.c: Likewise.
5863 * soft-fp/op-1.h: Likewise.
5864 * soft-fp/op-2.h: Likewise.
5865 * soft-fp/op-4.h: Likewise.
5866 * soft-fp/op-8.h: Likewise.
5867 * soft-fp/op-common.h: Likewise.
5868 * soft-fp/quad.h: Likewise.
5869 * soft-fp/single.h: Likewise.
5870 * soft-fp/soft-fp.h: Likewise.
5871 * soft-fp/unorddf2.c: Likewise.
5872 * soft-fp/unordsf2.c: Likewise.
5873 * soft-fp/unordtf2.c: Likewise.
5874 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
5875 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
5876 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
5877 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
5878 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
5879 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
5880 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
5881 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
5882 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
5883 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
5884
9b84e7a8
RX
58852014-10-08 Rong Xu <xur@google.com>
5886
5887 * libgcov-util.c (read_gcda_file): Fix format.
5888 (find_match_gcov_info): Ditto.
5889 (calculate_2_entries): New.
5890 (compute_one_gcov): Ditto.
5891 (gcov_info_count_all_cold): Ditto.
5892 (gcov_info_count_all_zero): Ditto.
5893 (extract_file_basename): Ditto.
5894 (get_file_basename): Ditto.
5895 (set_flag): Ditto.
5896 (matched_gcov_info): Ditto.
5897 (calculate_overlap): Ditto.
5898 (gcov_profile_overlap): Ditto.
5899 * libgcov-driver.c (compute_summary): Make
5900 it avavilable for external calls.
5901
fe1090c1
RX
59022014-10-06 Rong Xu <xur@google.com>
5903
5904 * Makefile.in: Ditto.
5905 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
5906 (gcov_sort_icall_topn_counter): Ditto.
5907 (gcov_sort_topn_counter_arrays): Ditto.
5908 (dump_one_gcov): Sort indirect_call topn counters.
5909 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
5910 function.
5911 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
5912 utility function.
5913 (__gcov_indirect_call_topn_profiler): New profiler function.
5914 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
5915 * libgcov.h: New decls.
5916
3daa7bbf
TS
59172014-10-04 Trevor Saunders <tsaunders@mozilla.com>
5918
5919 * config.host: Remove support for score-*.
5920
9a79452d
JM
59212014-09-22 Joseph Myers <joseph@codesourcery.com>
5922
5923 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
5924 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
5925 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
5926 __LIBGCC_XF_MANT_DIG__.
5927 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
5928 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
5929 __LIBGCC_TF_MANT_DIG__.
5930 * libgcc2.c (NOTRUNC): Define in terms of
5931 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
5932 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
5933
1a849e50
JM
59342014-09-22 Joseph Myers <joseph@codesourcery.com>
5935
5936 PR target/63312
5937 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
5938 New macros.
5939
598a1586
HPN
59402014-09-22 Hans-Peter Nilsson <hp@axis.com>
5941
5942 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
5943 override USE_PT_GNU_EH_FRAME.
5944 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
5945 check USE_EH_FRAME_REGISTRY_ALWAYS against
5946 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
5947 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
5948 variable for substituted force_explicit_eh_registry.
5949 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
5950 * configure.ac (explicit-exception-frame-registration):
5951 New AC_ARG_ENABLE.
5952 * configure: Regenerate.
5953
3a8fe7c6
OH
59542014-09-19 Olivier Hainque <hainque@adacore.com>
5955
5956 * config.host (powerpc-wrs-vxworksmils): New configuration,
5957 same as vxworksae.
5958
dd69f047
JM
59592014-09-18 Joseph Myers <joseph@codesourcery.com>
5960
5961 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
5962
e770bfd9
JM
59632014-09-18 Joseph Myers <joseph@codesourcery.com>
5964
5965 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
5966 bits not set bits as indicating trapping exceptions.
5967
cadb2b96
NS
59682014-09-17 Nathan sidwell <nathan@acm.org>
5969
5970 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
5971 (LIBGCOV_DRIVER): ... here.
5972 * libgcov-driver.c (gcov_master): New.
5973 (gcov_exit): Remove from master chain.
5974 (__gcov_init): Add to master chain if version compatible. Don't
5975 clear the version.
5976 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
5977 (gcov_reset_int): Clear master chain, if compatible.
5978 (gcov_dump_int): New internal interface. Dump master chain, if
5979 compatible.
5980 (gcov_dump): Alias for gcov_dump_int.
5981 * libgcov.h (struct gcov_root): Add next and prev fields.
5982 (struct gcov_master): New struct.
5983 (__gcov_master): New.
5984 (gcov_dump_int): Declare.
5985
580d22a3
OH
59862014-09-17 Olivier Hainque <hainque@adacore.com>
5987
5988 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
5989 and crtbegin.o + crtend.o to extra_parts.
5990
8cc4b7a2
JM
59912014-09-12 Joseph Myers <joseph@codesourcery.com>
5992
5993 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
5994 __LIBGCC_HAS_SF_MODE__.
5995 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
5996 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
5997 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
5998 * config/libbid/bid_gcc_intrinsics.h
5999 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
6000 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
6001 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
6002 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
6003 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
6004 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
6005
ea3f2b24
GJL
60062014-09-11 Georg-Johann Lay <avr@gjlay.de>
6007
6008 PR target/63223
6009 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
6010 and R24 as needed. Make work for all devices and .text locations.
6011 (__do_global_ctors, __do_global_dtors): Use word addresses.
6012 (__tablejump__, __tablejump_elpm__): Remove functions.
6013 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
6014 Add _tablejump2.
6015 (XICALL, XIJMP): New macros.
6016
b677236a
MS
60172014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
6018 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
6019
6020 * config.host (aarch64*): Include crtfastmath.o and
6021 t-crtfm.
6022 * config/aarch64/crtfastmath.c: New file.
6023
157e859f
TS
60242014-09-08 Trevor Saunders <tsaunders@mozilla.com>
6025
6026 * config.host: Remove picochip support.
6027 * config/picochip/adddi3.S: Remove.
6028 * config/picochip/ashlsi3.S: Remove.
6029 * config/picochip/ashlsi3.c: Remove.
6030 * config/picochip/ashrsi3.S: Remove.
6031 * config/picochip/ashrsi3.c: Remove.
6032 * config/picochip/clzsi2.S: Remove.
6033 * config/picochip/cmpsi2.S: Remove.
6034 * config/picochip/divmod15.S: Remove.
6035 * config/picochip/divmodhi4.S: Remove.
6036 * config/picochip/divmodsi4.S: Remove.
6037 * config/picochip/lib1funcs.S: Remove.
6038 * config/picochip/longjmp.S: Remove.
6039 * config/picochip/lshrsi3.S: Remove.
6040 * config/picochip/lshrsi3.c: Remove.
6041 * config/picochip/parityhi2.S: Remove.
6042 * config/picochip/popcounthi2.S: Remove.
6043 * config/picochip/setjmp.S: Remove.
6044 * config/picochip/subdi3.S: Remove.
6045 * config/picochip/t-picochip: Remove.
6046 * config/picochip/ucmpsi2.S: Remove.
6047 * config/picochip/udivmodhi4.S: Remove.
6048 * config/picochip/udivmodsi4.S: Remove.
6049
66bb34c0
JM
60502014-09-08 Joseph Myers <joseph@codesourcery.com>
6051
6052 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
6053 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
6054 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
6055 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
6056 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
6057 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
6058 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
6059 defined and LIBGCC2_HAS_DF_MODE is defined.
6060 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
6061 defined and LIBGCC2_HAS_XF_MODE is defined.
6062 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
6063 defined and LIBGCC2_HAS_TF_MODE is defined.
6064
9686a2e6
JM
60652014-09-08 Joseph Myers <joseph@codesourcery.com>
6066
6067 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
6068 and ROUND_TOWARDS_ZERO conditionals.
6069
71c3e2ef
NS
60702014-09-07 Nathan sidwell <nathan@acm.org>
6071
6072 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
6073 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
6074
53d68b9f
JM
60752014-09-05 Joseph Myers <joseph@codesourcery.com>
6076
6077 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
6078 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
6079 uses to __LIBGCC_STACK_POINTER_REGNUM__.
6080 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
6081 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6082 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
6083 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6084 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
6085 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
6086 (DWARF_FRAME_REGISTERS): Change all uses to
6087 __LIBGCC_DWARF_FRAME_REGISTERS__.
6088 (EH_RETURN_STACKADJ_RTX): Change all uses to
6089 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
6090 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
6091 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
6092 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
6093 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
6094 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
6095 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
6096 to __LIBGCC_EH_FRAME_SECTION_NAME__.
6097 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
6098 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
6099 __LIBGCC_STACK_POINTER_REGNUM__.
6100 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
6101 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6102 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
6103 to __LIBGCC_STACK_POINTER_REGNUM__.
6104 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
6105 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6106 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
6107 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6108 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
6109 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6110 (STACK_POINTER_REGNUM): Change all uses to
6111 __LIBGCC_STACK_POINTER_REGNUM__.
6112 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
6113 use to __LIBGCC_STACK_POINTER_REGNUM__.
6114 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
6115 uses to __LIBGCC_STACK_POINTER_REGNUM__.
6116 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
6117 to __LIBGCC_DWARF_FRAME_REGISTERS__.
6118 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
6119 to __LIBGCC_DWARF_FRAME_REGISTERS__.
6120 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
6121 to __LIBGCC_STACK_POINTER_REGNUM__.
6122 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
6123 Remove conditional definition.
6124 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
6125 __LIBGCC_TEXT_SECTION_ASM_OP__.
6126 (EH_FRAME_SECTION_NAME): Change all uses to
6127 __LIBGCC_EH_FRAME_SECTION_NAME__.
6128 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
6129 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
6130 (CTORS_SECTION_ASM_OP): Change all uses to
6131 __LIBGCC_CTORS_SECTION_ASM_OP__.
6132 (DTORS_SECTION_ASM_OP): Change all uses to
6133 __LIBGCC_DTORS_SECTION_ASM_OP__.
6134 (JCR_SECTION_NAME): Change all uses to
6135 __LIBGCC_JCR_SECTION_NAME__.
6136 (INIT_SECTION_ASM_OP): Change all uses to
6137 __LIBGCC_INIT_SECTION_ASM_OP__.
6138 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
6139 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
6140 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
6141 __LIBGCC_STACK_GROWS_DOWNWARD__.
6142 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
6143 __LIBGCC_INIT_SECTION_ASM_OP__.
6144 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
6145 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
6146 (EH_FRAME_SECTION_NAME): Change all uses to
6147 __LIBGCC_EH_FRAME_SECTION_NAME__.
6148 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
6149 definitions. Change all uses to
6150 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
6151 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
6152 __LIBGCC_STACK_GROWS_DOWNWARD__.
6153 (DWARF_FRAME_REGISTERS): Change all uses to
6154 __LIBGCC_DWARF_FRAME_REGISTERS__.
6155 (EH_RETURN_STACKADJ_RTX): Change all uses to
6156 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
6157 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
6158 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
6159 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
6160 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
6161 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
6162
b20ee094
NS
61632014-09-02 Nathan sidwell <nathan@acm.org>
6164
6165 * libgcov-interface.c (STRONG_ALIAS): New.
6166 (__gcov_flush): Call __gcov_reset_int.
6167 (__gcov_reset): Strong alias for ...
6168 (__gcov_reset_ing): ... this renamed hidden version.
6169 * libgcov.h (__gcov_reset_int): New declaration.
6170
1ac83976
YS
61712014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
6172
25efdb9f
YS
6173 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
6174 call from here...
6175 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
6176 (__dso_handle): Define on Cygwin.
6177 * config/i386/t-cygming (crtbeginS.o): New rule.
6178 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
6179
1ac83976
YS
6180 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
6181 declaration syntax.
6182
c6f9ea3b
SE
61832014-08-13 Steve Ellcey <sellcey@mips.com>
6184
6185 * crtstuff.c: Undef caddr_t.
6186
5b1ea7c5
SE
61872014-08-12 Steve Ellcey <sellcey@mips.com>
6188
6189 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
6190
4303c581
NS
61912014-08-07 Nathan Sidwell <nathan@acm.org>
6192
6193 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
6194 (LIBGCOV_DRIVER): ... to here.
6195 * libgcov.h (gcov_do_dump): New #define.
6196 (struct gcov_root): New.
6197 (__gcov_root): New declaration.
6198 (__gcov_dump_one): Declare.
6199 * libgcov-driver.c (gcov_list, gcov_dump_complete,
6200 run_accounted): Delete.
6201 (gcov_compute_histogram): Add LIST argument, adjust.
6202 (compute_summary): Adjust gcov_compute_histogram call.
6203 (gcov_do_dump): Not hidden, static in libgcov.
6204 (gcov_clear): Move to interface.c.
6205 (__gcov_dump_one): New, broken out of ...
6206 (gcov_exit): ... here. Make static.
6207 (__gcov_root): New.
6208 (__gcov_init): Adjust.
6209 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
6210 declarations.
6211 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
6212 (gcov_clear): Moved from driver.c. Add LIST argument.
6213 (__gcov_reset): Adjust for changed interfaces.
6214 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
6215
23742a9e
RAR
62162014-08-04 Rohit <rohitarulraj@freescale.com>
6217
6218 PR target/60102
6219 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
d406ae47 6220 based on change in SPE high register numbers and 3 HTM registers.
23742a9e 6221
b98a872b
NS
62222014-08-01 Nathan Sidwell <nathan@acm.org>
6223
6224 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
6225 LIBGCOV_INTERFACE): Reformat.
6226 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
6227 IN_GCOV_TOOL.
6228 * libgcov-interface.c: Reformat some comments.
6229 (__gcov_flush_mx): Add declaration. Tidy up definition.
6230
6adaaa1d
AM
62312014-07-31 Alan Modra <amodra@gmail.com>
6232 Peter Bergner <bergner@vnet.ibm.com>
6233
6234 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
6235 (pack_ldouble): New function.
6236 (__gcc_qadd): Use it.
6237 (__gcc_qmul): Likewise.
6238 (__gcc_qdiv): Likewise.
6239 (__gcc_qneg): Likewise.
6240 (__gcc_stoq): Likewise.
6241 (__gcc_dtoq): Likewise.
6242
87cb0c0c
UW
62432014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
6244
6245 * config/s390/tpf-unwind.h: Include <stdbool.h>.
6246 (__tpf_eh_return): Add original return address as second parameter.
6247 Handle cases where unwinder routines were called directly, instead
6248 of from within the C++ library.
6249
19926161
NS
62502014-07-29 Nathan Sidwell <nathan@acm.org>
6251
6252 * libgcov.h: Move renaming of entry points to lib gcov specific
6253 portion.
6254 (gcov_do_dump): New rename.
6255 (gcov_rewrite): Remove inline, make HIDDEN.
6256 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
6257 (gcov_exit_compute_summary): Rename to ...
6258 (compute_summary): ... here. Add LIST argument.
6259 (gcov_exit_merge_gcda): Rename to ...
6260 (merge_one_data): ... here.
6261 (gcov_exit_write_gcda): Rename to ...
6262 (write_one_data): ... here.
6263 (gcov_exit_merge_summary): Rename to ...
6264 (merge_summary): Add RUN_COUNTED argument.
6265 (gcov_exit_dump_gcov): Rename to ...
6266 (dump_one_gcov): Add RUN_COUNTED argument.
6267 (gcov_do_dump): New function, broken out of ...
6268 (gcov_exit): ... here. Call it.
6269
17522262
AG
62702014-07-27 Anthony Green <green@moxielogic.com>
6271
6272 * config.host: Add moxiebox configuration suppport.
6273
6dc33097
NS
62742014-07-27 Nathan Sidwell <nathan@acm.org>
6275
6276 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
6277 (struct gcov_filename): ... here. Include buffer and max length
6278 fields.
6279 (gcov_max_filename): Remove.
6280 (gi_filename): Remove.
6281 (gcov_exit_compute_summary): Compute max filename here.
6282 (gcov_exit_merge_gcda): Add filename parm, adjust.
6283 (gcov_exit_merge_summary): Likewise.
6284 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
6285 (gcov_exit): Likewise.
6286 (__gcov_init): Don't calculate max length here.
6287 * libgcov_util.c (max_filename_len): Remove.
6288 (read_gcda_file): Don't calculate max length here.
6289 (gcov_read_profile_dir): Don't propagate here.
6290 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
6291 struct gcov_filename changes.
6292 (gcov_exit_open_gcda_file): Likewise.
6293
770f687d
NS
62942014-07-25 Nathan Sidwell <nathan@acm.org>
6295
6296 * libgcov-driver.c (set_gcov_dump_complete,
6297 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
6298 functions polluting user's namespace.
6299 (gcov_exit): Set variable directly.
6300 (gcov_clear): Reset variable directly.
6301 * libgcov-interface.c (get_gcov_dymp_complete,
6302 reset_gov_dump_complete): Remove declarations.
6303 (__gcov_reset, __gcov_dump): Don't call them.
6304
fabf71ba
DD
63052014-07-24 DJ Delorie <dj@redhat.com>
6306
6307 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
770f687d
NS
6308 (__gcc_deregister_frame): Move logic to detect deregister function
6309 to ...
6310 (__gcc_register_frame): here, so it's consistent with the register
6311 logic.
fabf71ba 6312
d10ee722
NS
63132014-07-23 Nathan Sidwell <nathan@acm.org>
6314
6315 * libgcov-driver.c (set_gcov_list): Remove.
6316 (gcov_list): Make non-static in GCOV_TOOL.
6317 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
6318
a4137090
JDA
63192014-07-17 John David Anglin <danglin@gcc.gnu.org>
6320
6321 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
6322 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
6323 Don't use SYNC_LOCK_RELEASE for int type.
6324
72602c6c
RB
63252014-07-14 Richard Biener <rguenther@suse.de>
6326
6327 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
6328
d5313205
RX
63292014-07-11 Rong Xu <xur@google.com>
6330
6331 * libgcov-util.c (gcov_max_filename): Fix declartion.
6332
c77556a5
RX
63332014-07-10 Rong Xu <xur@google.com>
6334
6335 Add gcov-tool: an offline gcda profile processing tool
6336 Support.
6337 * libgcov-driver.c (gcov_max_filename): Make available
6338 to gcov-tool.
6339 * libgcov-merge.c (__gcov_merge_add): Replace
6340 gcov_read_counter() with a Macro.
6341 (__gcov_merge_ior): Ditto.
6342 (__gcov_merge_time_profile): Ditto.
6343 (__gcov_merge_single): Ditto.
6344 (__gcov_merge_delta): Ditto.
6345 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
6346 in the utility functions.
6347 (set_fn_ctrs): Utility function for reading gcda files to in-memory
6348 gcov_list object link lists.
6349 (tag_function): Ditto.
6350 (tag_blocks): Ditto.
6351 (tag_arcs): Ditto.
6352 (tag_lines): Ditto.
6353 (tag_counters): Ditto.
6354 (tag_summary): Ditto.
6355 (read_gcda_finalize): Ditto.
6356 (read_gcda_file): Ditto.
6357 (ftw_read_file): Ditto.
6358 (read_profile_dir_init): Ditto.
6359 (gcov_read_profile_dir): Ditto.
6360 (gcov_read_counter_mem): Ditto.
6361 (gcov_get_merge_weight): Ditto.
6362 (merge_wrapper): A wrapper function that calls merging handler.
6363 (gcov_merge): Merge two gcov_info objects with weights.
6364 (find_match_gcov_info): Find the matched gcov_info in the list.
6365 (gcov_profile_merge): Merge two gcov_info object lists.
6366 (__gcov_add_counter_op): Process edge profile counter values.
6367 (__gcov_ior_counter_op): Process IOR profile counter values.
6368 (__gcov_delta_counter_op): Process delta profile counter values.
6369 (__gcov_single_counter_op): Process single profile counter values.
6370 (fp_scale): Callback function for float-point scaling.
cc86234f 6371 (int_scale): Callback function for integer fraction scaling.
c77556a5
RX
6372 (gcov_profile_scale): Scaling profile counters.
6373 (gcov_profile_normalize): Normalize profile counters.
6374 * libgcov.h: Add headers and functions for gcov-tool use.
6375 (gcov_get_counter): New.
6376 (gcov_get_counter_target): Ditto.
6377 (struct gcov_info): Make the functions field mutable in gcov-tool
6378 compilation.
6379
5c7dac8a
KT
63802014-06-23 Kai Tietz <ktietz@redhat.com>
6381
6382 PR libgcc/61585
6383 * unwind-seh.c (_Unwind_GetGR): Check for proper
6384 index range.
6385 (_Unwind_SetGR): Likewise.
6386
161c9312
NC
63872014-05-22 Nick Clifton <nickc@redhat.com>
6388
6389 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
6390 -mhwmult=none.
6391
e3f0315f
TJ
63922014-05-22 Teresa Johnson <tejohnson@google.com>
6393
6394 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
6395 include.
6396
dbed5a9b
JM
63972014-05-20 John Marino <gnugcc@marino.st>
6398
6399 * config.host (*-*-dragonfly*): New target.
6400 * crtstuff.c: Make dl_iterate_support generic on *bsd.
6401 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
6402 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
6403 * config/i386/dragonfly-unwind.h: New.
6404
1ec380e5
MR
64052014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
6406
6407 PR libgcc/60166
6408 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
6409 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
6410
54fde020
BE
64112014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
6412
6413 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
6414 implementation.
6415
999db125
GJL
64162014-05-12 Georg-Johann Lay <avr@gjlay.de>
6417
6418 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
6419
cceaf54a
RO
64202014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6421
6422 PR libgcc/61097
6423 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
6424 if --enable-shared.
6425
e3fe9b5b
BE
64262014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
6427
6428 Work around for current cygwin32 build problems.
6429 * config/i386/cygming-crtbegin.c (__register_frame_info,
6430 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
6431 functions only for 64-bit systems.
6432
54cf37e9
RO
64332014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6434
6435 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
6436 (sigill_caught, sigill_hdlr): Remove.
6437
d9f069ab
RO
64382014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6439
6440 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
6441 check.
6442 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
6443 Solaris 9 single-threaded support.
6444 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
6445 Solaris 9 single-threaded support. Add call_user_handler code
6446 sequences.
6447 (sparc_is_sighandler): Likewise.
6448
59976ef8
AK
64492014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6450
6451 * config.host: Append t-floattodi to tmake_file depending on
6452 host_address.
6453
d02bbcf3
JS
64542014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
6455
31466bc0 6456 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
d02bbcf3 6457
c2e7e597
UB
64582014-03-10 Uros Bizjak <ubizjak@gmail.com>
6459
6460 PR libgcc/60472
6461 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2405e0ea 6462 variable to avoid "array subscript is above array bounds" warnings.
c2e7e597
UB
6463 Use __builtin_expect when checking *jcr_list for NULL.
6464
227a7dc8
RO
64652014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6466
6467 PR libgcc/59339
6468 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
6469 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
6470 vtv_*.o to extra_parts if enable_vtable_verify.
6471
df2b279c
NC
64722014-03-06 Nick Clifton <nickc@redhat.com>
6473
6474 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
6475 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
6476
dc11d79b
JY
64772014-02-28 Joey Ye <joey.ye@arm.com>
6478
6479 PR libgcc/60166
6480 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
6481 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
6482 Set to zero.
6483
341c653c
WL
64842014-02-24 Walter Lee <walt@tilera.com>
6485
6486 * config.host: Support "tilegx*" and "tilepro*" triplets.
6487 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
6488 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
6489
95ce7613
CLT
64902014-02-20 Sandra Loosemore <sandra@codesourcery.com>
6491 Chung-Lin Tang <cltang@codesourcery.com>
6492
6493 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
6494 * config/nios2/crti.S: Remove .file directive.
6495 * config/nios2/crtn.S: Likewise.
6496
0bb4fc05
KT
64972014-02-18 Kai Tietz <ktietz@redhat.com>
6498 Jonathan Schleifer <js@webkeks.org>
6499
6500 PR objc/56870
6501 * unwind-seh.c (_GCC_specific_handler): Pass proper
6502 value to unwind-handler.
6503
9acf28f1
JM
65042014-02-12 Joseph Myers <joseph@codesourcery.com>
6505
6506 * soft-fp/adddf3.c: Update from glibc.
6507 * soft-fp/addsf3.c: Likewise.
6508 * soft-fp/addtf3.c: Likewise.
6509 * soft-fp/divdf3.c: Likewise.
6510 * soft-fp/divsf3.c: Likewise.
6511 * soft-fp/divtf3.c: Likewise.
6512 * soft-fp/double.h: Likewise.
6513 * soft-fp/eqdf2.c: Likewise.
6514 * soft-fp/eqsf2.c: Likewise.
6515 * soft-fp/eqtf2.c: Likewise.
6516 * soft-fp/extenddftf2.c: Likewise.
6517 * soft-fp/extended.h: Likewise.
6518 * soft-fp/extendsfdf2.c: Likewise.
6519 * soft-fp/extendsftf2.c: Likewise.
6520 * soft-fp/extendxftf2.c: Likewise.
6521 * soft-fp/fixdfdi.c: Likewise.
6522 * soft-fp/fixdfsi.c: Likewise.
6523 * soft-fp/fixdfti.c: Likewise.
6524 * soft-fp/fixsfdi.c: Likewise.
6525 * soft-fp/fixsfsi.c: Likewise.
6526 * soft-fp/fixsfti.c: Likewise.
6527 * soft-fp/fixtfdi.c: Likewise.
6528 * soft-fp/fixtfsi.c: Likewise.
6529 * soft-fp/fixtfti.c: Likewise.
6530 * soft-fp/fixunsdfdi.c: Likewise.
6531 * soft-fp/fixunsdfsi.c: Likewise.
6532 * soft-fp/fixunsdfti.c: Likewise.
6533 * soft-fp/fixunssfdi.c: Likewise.
6534 * soft-fp/fixunssfsi.c: Likewise.
6535 * soft-fp/fixunssfti.c: Likewise.
6536 * soft-fp/fixunstfdi.c: Likewise.
6537 * soft-fp/fixunstfsi.c: Likewise.
6538 * soft-fp/fixunstfti.c: Likewise.
6539 * soft-fp/floatdidf.c: Likewise.
6540 * soft-fp/floatdisf.c: Likewise.
6541 * soft-fp/floatditf.c: Likewise.
6542 * soft-fp/floatsidf.c: Likewise.
6543 * soft-fp/floatsisf.c: Likewise.
6544 * soft-fp/floatsitf.c: Likewise.
6545 * soft-fp/floattidf.c: Likewise.
6546 * soft-fp/floattisf.c: Likewise.
6547 * soft-fp/floattitf.c: Likewise.
6548 * soft-fp/floatundidf.c: Likewise.
6549 * soft-fp/floatundisf.c: Likewise.
6550 * soft-fp/floatunditf.c: Likewise.
6551 * soft-fp/floatunsidf.c: Likewise.
6552 * soft-fp/floatunsisf.c: Likewise.
6553 * soft-fp/floatunsitf.c: Likewise.
6554 * soft-fp/floatuntidf.c: Likewise.
6555 * soft-fp/floatuntisf.c: Likewise.
6556 * soft-fp/floatuntitf.c: Likewise.
6557 * soft-fp/gedf2.c: Likewise.
6558 * soft-fp/gesf2.c: Likewise.
6559 * soft-fp/getf2.c: Likewise.
6560 * soft-fp/ledf2.c: Likewise.
6561 * soft-fp/lesf2.c: Likewise.
6562 * soft-fp/letf2.c: Likewise.
6563 * soft-fp/muldf3.c: Likewise.
6564 * soft-fp/mulsf3.c: Likewise.
6565 * soft-fp/multf3.c: Likewise.
6566 * soft-fp/negdf2.c: Likewise.
6567 * soft-fp/negsf2.c: Likewise.
6568 * soft-fp/negtf2.c: Likewise.
6569 * soft-fp/op-1.h: Likewise.
6570 * soft-fp/op-2.h: Likewise.
6571 * soft-fp/op-4.h: Likewise.
6572 * soft-fp/op-8.h: Likewise.
6573 * soft-fp/op-common.h: Likewise.
6574 * soft-fp/quad.h: Likewise.
6575 * soft-fp/single.h: Likewise.
6576 * soft-fp/soft-fp.h: Likewise.
6577 * soft-fp/subdf3.c: Likewise.
6578 * soft-fp/subsf3.c: Likewise.
6579 * soft-fp/subtf3.c: Likewise.
6580 * soft-fp/truncdfsf2.c: Likewise.
6581 * soft-fp/trunctfdf2.c: Likewise.
6582 * soft-fp/trunctfsf2.c: Likewise.
6583 * soft-fp/trunctfxf2.c: Likewise.
6584 * soft-fp/unorddf2.c: Likewise.
6585 * soft-fp/unordsf2.c: Likewise.
6586 * soft-fp/unordtf2.c: Likewise.
6587 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
6588 macro.
6589 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6590 Likewise.
6591 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6592 Likewise.
6593 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6594 Likewise.
6595 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6596 Likewise.
6597 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6598 Likewise.
6599 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6600 Likewise.
6601 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6602 Likewise.
6603 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6604 Likewise.
6605 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6606 Likewise.
6607 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6608 Likewise.
6609 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6610 Likewise.
6611 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6612 Likewise.
6613 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
6614 Likewise.
6615 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
6616 Likewise.
6617 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6618 Likewise.
6619
ce245ec6
AK
66202014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6621
6622 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
6623 cannot be represented.
6624 * config/s390/32/_fixsfdi.c: Likewise.
6625 * config/s390/32/_fixtfdi.c: Likewise.
6626 * config/s390/32/_fixunsdfdi.c: Likewise.
6627 * config/s390/32/_fixunssfdi.c: Likewise.
6628 * config/s390/32/_fixunstfdi.c: Likewise.
6629
1c51d688
RS
66302014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
6631
6632 * configure.ac (libgcc_cv_mips_hard_float): New.
6633 * configure: Regenerate.
6634 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
6635 t-softfp-sfdf for hard-float targets.
6636 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
6637 (softfp_float_modes, softfp_int_modes, softfp_extensions)
6638 (softfp_truncations, softfp_exclude_libgcc2): New.
6639 * config/t-hardfp: New file.
6640 * config/t-hardfp-sfdf: Likewise.
6641 * config/hardfp.c: Likewise.
6642
bbf391db
AK
66432014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6644
6645 * config.host: Include t-floattodi also for s390x.
6646 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
6647 * config/s390/32/_fixsfdi.c: Likewise.
6648 * config/s390/32/_fixtfdi.c: Likewise.
6649 * config/s390/32/_fixunsdfdi.c: Likewise.
6650 * config/s390/32/_fixunssfdi.c: Likewise.
6651 * config/s390/32/_fixunstfdi.c: Likewise.
6652
91da0481
RO
66532014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6654
6655 PR target/59788
6656 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
6657 (install-libgcc-unwind-map-forbuild): New target.
6658 (all): Depend on install-libgcc-unwind-map-forbuild.
6659 (install-libgcc-unwind-map): New target.
6660 (install): Depend on install-libgcc-unwind-map.
6661
02b67731
SL
66622014-02-02 Sandra Loosemore <sandra@codesourcery.com>
6663
6664 * config/nios2/crti.S (_init): Initialize GOT pointer from
6665 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
6666
1ea0a651
RS
66672014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
6668
6669 * configure.ac: Check __mips64 when setting host_address.
6670 * configure: Regenerate.
6671 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
6672 mips/t-mips64 and t-softfp.
6673 (mips*-*-linux*): Don't add mips/t-tpbit.
6674 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
6675 (DPBIT, DPBIT_CFLAGS): Delete.
6676 * config/mips/sfp-machine.h: New file.
6677 * config/mips/t-mips64: Likewise.
6678 * config/mips/t-softfp-tf: Likewise.
6679 * config/mips/t-tpbit: Delete.
6680
f32b0061
MS
66812014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
6682
6683 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
6684 as long long.
6685
a5420aa4
WL
66862014-01-25 Walter Lee <walt@tilera.com>
6687
6688 * config/tilepro/atomic.c: Include tconfig.h. Don't include
6689 config.h or system.h.
6690 (bool) Define.
6691
24534912
WL
66922014-01-25 Walter Lee <walt@tilera.com>
6693
6694 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
6695 (post_atomic_barrier): Ditto.
6696 (__fetch_and_do): New macro.
6697 (__atomic_fetch_and_do): Use __fetch_and_do.
6698 (__sync_fetch_and_do): New macro.
6699 (__sync_fetch_and_add_4): New function.
6700 (__sync_fetch_and_sub_4): New function.
6701 (__sync_fetch_and_or_4): New function.
6702 (__sync_fetch_and_and_4): New function.
6703 (__sync_fetch_and_xor_4): New function.
6704 (__sync_fetch_and_nand_4): New function.
6705 (__sync_fetch_and_add_8): New function.
6706 (__sync_fetch_and_sub_8): New function.
6707 (__sync_fetch_and_or_8): New function.
6708 (__sync_fetch_and_and_8): New function.
6709 (__sync_fetch_and_xor_8): New function.
6710 (__sync_fetch_and_nand_8): New function.
6711 (__do_and_fetch): New macro.
6712 (__atomic_do_and_fetch): Use __do_and_fetch.
6713 (__sync_do_and_fetch): New macro.
6714 (__sync_add_and_fetch_4): New function.
6715 (__sync_sub_and_fetch_4): New function.
6716 (__sync_or_and_fetch_4): New function.
6717 (__sync_and_and_fetch_4): New function.
6718 (__sync_xor_and_fetch_4): New function.
6719 (__sync_nand_and_fetch_4): New function.
6720 (__sync_add_and_fetch_8): New function.
6721 (__sync_sub_and_fetch_8): New function.
6722 (__sync_or_and_fetch_8): New function.
6723 (__sync_and_and_fetch_8): New function.
6724 (__sync_xor_and_fetch_8): New function.
6725 (__sync_nand_and_fetch_8): New function.
6726 (__sync_exchange_methods): New macro.
6727 (__sync_val_compare_and_swap_4): New function.
6728 (__sync_bool_compare_and_swap_4): New function.
6729 (__sync_lock_test_and_test_4): New function.
6730 (__sync_val_compare_and_swap_8): New function.
6731 (__sync_bool_compare_and_swap_8): New function.
6732 (__sync_lock_test_and_test_8): New function.
6733 (__subword_cmpxchg_body): New macro.
6734 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
6735 (__atomic_compare_exchange_2): Ditto.
6736 (__sync_subword_cmpxchg): New macro.
6737 (__sync_val_compare_and_swap_1): New function.
6738 (__sync_bool_compare_and_swap_1): New function.
6739 (__sync_val_compare_and_swap_2): New function.
6740 (__sync_bool_compare_and_swap_2): New function.
6741 (__atomic_subword): Rename to ...
6742 (__subword): ... New name.
6743 (__atomic_subword_fetch): Use __subword.
6744 (__sync_subword_fetch): New macro.
6745 (__sync_fetch_and_add_1): New function.
6746 (__sync_fetch_and_sub_1): New function.
6747 (__sync_fetch_and_or_1): New function.
6748 (__sync_fetch_and_and_1): New function.
6749 (__sync_fetch_and_xor_1): New function.
6750 (__sync_fetch_and_nand_1): New function.
6751 (__sync_fetch_and_add_2): New function.
6752 (__sync_fetch_and_sub_2): New function.
6753 (__sync_fetch_and_or_2): New function.
6754 (__sync_fetch_and_and_2): New function.
6755 (__sync_fetch_and_xor_2): New function.
6756 (__sync_fetch_and_nand_2): New function.
6757 (__sync_add_and_fetch_1): New function.
6758 (__sync_sub_and_fetch_1): New function.
6759 (__sync_or_and_fetch_1): New function.
6760 (__sync_and_and_fetch_1): New function.
6761 (__sync_xor_and_fetch_1): New function.
6762 (__sync_nand_and_fetch_1): New function.
6763 (__sync_add_and_fetch_2): New function.
6764 (__sync_sub_and_fetch_2): New function.
6765 (__sync_or_and_fetch_2): New function.
6766 (__sync_and_and_fetch_2): New function.
6767 (__sync_xor_and_fetch_2): New function.
6768 (__sync_nand_and_fetch_2): New function.
6769 (__atomic_subword_lock): Use __subword.
6770 (__sync_subword_lock): New macro.
6771 (__sync_lock_test_and_set_1): New function.
6772 (__sync_lock_test_and_set_2): New function.
6773
4d6d3bc5
WL
67742014-01-25 Walter Lee <walt@tilera.com>
6775
6776 * config/tilepro/atomic.c (BIT_OFFSET): Define.
6777 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
6778 (__atomic_subword): Ditto.
6779
cbd9890e
WL
67802014-01-25 Walter Lee <walt@tilera.com>
6781
6782 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
6783 a prefix op argument.
6784 (__atomic_nand_fetch_4): Add prefix op.
6785 (__atomic_nand_fetch_8): Ditto.
6786
7d296953 67872014-01-21 Baruch Siach <barch@tkos.co.il>
800d8bd5
BS
6788
6789 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
6790
46dd1242
L
67912014-01-09 Rong Xu <xur@google.com>
6792
6793 * libgcov-driver.c (this_prg): make it local to save
6794 bss space.
6795 (gcov_exit_compute_summary): Ditto.
6796 (gcov_exit_merge_gcda): Ditto.
6797 (gcov_exit_merge_summary): Ditto.
6798 (gcov_exit_dump_gcov): Ditto.
6799
cc86234f 68002014-01-08 Rong Xu <xur@google.com>
40d6b753
RX
6801
6802 * libgcov-driver.c: Use libgcov.h.
6803 (buffer_fn_data): Use xmalloc instead of malloc.
6804 (gcov_exit_merge_gcda): Ditto.
6805 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
6806 * libgcov.h: New common header files for libgcov-*.h.
6807 * libgcov-interface.c: Use libgcov.h
6808 * libgcov-merge.c: Ditto.
6809 * libgcov-profiler.c: Ditto.
6810 * Makefile.in: Add dependence to libgcov.h
6811
a02e7bdd
JM
68122014-01-02 Joseph Myers <joseph@codesourcery.com>
6813
6814 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
6815 case of small numerator and finite nonzero result.
6816
ac1dca3c
RS
68172014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
6818
6819 Update copyright years
6820
f9030485
RS
68212014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
6822
6823 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
6824 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
6825 config/arc/dp-hack.h, config/arc/fp-hack.h,
6826 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
6827 config/arc/ieee-754/arc600-dsp/divdf3.S,
6828 config/arc/ieee-754/arc600-dsp/divsf3.S,
6829 config/arc/ieee-754/arc600-dsp/muldf3.S,
6830 config/arc/ieee-754/arc600-dsp/mulsf3.S,
6831 config/arc/ieee-754/arc600-mul64/divdf3.S,
6832 config/arc/ieee-754/arc600-mul64/divsf3.S,
6833 config/arc/ieee-754/arc600-mul64/muldf3.S,
6834 config/arc/ieee-754/arc600-mul64/mulsf3.S,
6835 config/arc/ieee-754/arc600/divsf3.S,
6836 config/arc/ieee-754/arc600/mulsf3.S,
6837 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
6838 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
6839 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
6840 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
6841 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
6842 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
6843 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
6844 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
6845 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
6846 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
6847 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
6848 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
6849 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
6850 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
6851 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
6852 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
6853 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
6854 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
6855 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
6856 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
6857 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
6858 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
6859 vtv_start_preinit.c: Use the standard form for the copyright notice.
6860
e430824f
CLT
68612013-12-31 Sandra Loosemore <sandra@codesourcery.com>
6862 Chung-Lin Tang <cltang@codesourcery.com>
6863 Based on patches from Altera Corporation
6864
6865 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
6866 * config/nios2/lib2-nios2.h: New file.
6867 * config/nios2/lib2-divmod-hi.c: New file.
6868 * config/nios2/linux-unwind.h: New file.
6869 * config/nios2/lib2-divmod.c: New file.
6870 * config/nios2/linux-atomic.c: New file.
6871 * config/nios2/t-nios2: New file.
6872 * config/nios2/crti.asm: New file.
6873 * config/nios2/t-linux: New file.
6874 * config/nios2/lib2-divtable.c: New file.
6875 * config/nios2/lib2-mul.c: New file.
6876 * config/nios2/tramp.c: New file.
6877 * config/nios2/crtn.asm: New file.
6878
1879e97f
UB
68792013-12-26 Uros Bizjak <ubizjak@gmail.com>
6880
6881 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
6882 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
6883 from cpuid.h to check vendor signatures.
6884
f4a4bdbb
GG
68852013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
6886
c2e7e597 6887 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
f4a4bdbb
GG
6888 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
6889 (get_amd_cpu): Likewise.
6890
8d2ae544
L
68912013-12-25 H.J. Lu <hongjiu.lu@intel.com>
6892
6893 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
6894 Haswell.
6895
74924838
ASJ
68962013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
6897 H.J. Lu <hongjiu.lu@intel.com>
6898
0bb52f25
L
6899 PR target/59422
6900 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
74924838
ASJ
6901 and AMD_JAGUAR.
6902 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
6903 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
6904 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
6905 FEATURE_XOP and FEATURE_FMA.
6906 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
6907 AMDFAM15H_BDVER3.
6908 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
0bb52f25 6909 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
74924838
ASJ
6910 FEATURE_FMA4 and FEATURE_XOP.
6911
d3c11974
L
69122013-12-23 H.J. Lu <hongjiu.lu@intel.com>
6913
6914 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
6915 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
6916 (get_intel_cpu): Updated.
6917
064c4ff2
ZC
69182013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
6919
6920 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
6921
8b02e720
UB
69222013-12-09 Uros Bizjak <ubizjak@gmail.com>
6923
6924 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1f71a3c3 6925 instructions when __SSE_MATH__ is defined.
8b02e720 6926
3fa2ccb4
RC
69272013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
6928
6929 * config.host (microblaze-*-rtems*): New.
6930
ecd78fc9
KV
69312013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
6932
6933 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
6934 architectures that do not have hardware divide instruction.
6935 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
6936
b21fbbd2
RS
69372013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
6938
6939 * longlong.h: Delete (moved to include/).
6940
b03fb8c9
AZ
69412013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6942
6943 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
6944 of normal number and qNaN to not raise an inexact exception.
6945
3c716922
UB
69462013-11-28 Uros Bizjak <ubizjak@gmail.com>
6947
6948 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
6949
69502013-11-28 Matthew Leach <matthew.leach@arm.com>
cceeb9a9
ML
6951
6952 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
6953 for correct opcodes on BE.
6954
a3458d22
UB
69552013-11-27 Uros Bizjak <ubizjak@gmail.com>
6956
6957 * soft-fp/op-4.h: Update from glibc.
6958
30b8f78b
KV
69592013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
6960
6961 * libgcc2.c (__udivmoddi4): Define new implementation when
6962 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
6963 divide instructions.
6964
82552a29
OE
69652013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
6966
6967 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
6968
80e87457
RO
69692013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6970
6971 * config/t-softfp (soft-fp-objects-base): New variable.
6972 (soft-fp-objects): Use it.
6973
44178879
DE
69742013-11-23 David Edelson <dje.gcc@gmail.com>
6975 Andrew Dixie <andrewd@gentrack.com>
6976
6977 PR target/33704
6978 * config/rs6000/aixinitfini.c: New file.
6979 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
6980 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
6981 symbols.
6982
e5287671
YR
69832013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
6984
a3458d22 6985 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
e5287671 6986
867c8b03
JH
69872013-11-18 Jan Hubicka <jh@suse.cz>
6988
7f369373
JH
6989 * libgcov-driver.c (run_accounted): Make global level static.
6990 (gcov_exit_merge_summary): Silence warning; do not clear
6991 run_accounted here.
6992 (gcov_exit): Clear it here.
6993
1d0b3334
JH
6994 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
6995 run_accounted.
6996
867c8b03
JH
6997 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
6998 (all_prg, crc32): Remove static vars.
6999 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
7000 all_prg.
7001 (gcov_exit_merge_gcda): Add crc32 parameter.
7002 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
7003 do not account run if it was already accounted.
7004 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
7005 (gcov_exit): Initialize all_prg; update.
7006
66204992
AS
70072013-11-15 Andreas Schwab <schwab@linux-m68k.org>
7008
7009 * configure: Regenerate.
7010
b54214fe
UW
70112013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7012 Alan Modra <amodra@gmail.com>
7013
7014 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
7015 (frob_update_context): Use it.
7016
70172013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7018 Alan Modra <amodra@gmail.com>
7019
7020 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
7021 (trampoline_initial): Provide ELFv2 variant.
7022 (__trampoline_setup): Likewise.
7023
7024 * config/rs6000/linux-unwind.h (frob_update_context): Do not
7025 check for AIX indirect function call sequence if _CALL_ELF == 2.
7026
70272013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7028 Alan Modra <amodra@gmail.com>
7029
7030 * config/rs6000/linux-unwind.h (get_regs): Do not support
7031 old kernel versions if _CALL_ELF == 2.
7032 (frob_update_context): Do not support PLT stub variants only
7033 generated by old linkers if _CALL_ELF == 2.
7034
13e0981a
UW
70352013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7036 Alan Modra <amodra@gmail.com>
7037
7038 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
7039 location of CR save area for 64-bit little-endian systems.
7040
1a80085d
EB
70412013-11-11 Eric Botcazou <ebotcazou@adacore.com>
7042
7043 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
7044 in tmake_file.
7045 * config/arm/t-vxworks: Delete.
7046
cabeea52
KT
70472013-11-10 Kai Tietz <ktietz@redhat.com>
7048
7049 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
7050 Increment load-count on use of LIBGCC_SONAME DLL.
7051 (hmod_libgcc): New static variable to hold handle of
7052 LIBGCC_SONAME DLL.
7053 (__gcc_deregister_frame): Decrement load-count of
7054 LIBGCC_SONAME DLL.
7055
ac088ba1
BRF
70562013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
7057
7058 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
7059 availability.
7060 * configure: Regenerate
7061
d59a8fcc
UB
70622013-11-07 Uros Bizjak <ubizjak@gmail.com>
7063
7064 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
7065 FP_EX_DENORM. Store result to volatile location after SSE division
7066 to close interrupt window. Remove unneeded fwait after x87
7067 division since interrupt window will be closed by emitted fstp.
9de84e84 7068 Rewrite FP_EX_INEXACT handling.
d59a8fcc 7069
9954c743
JM
70702013-11-06 Joseph Myers <joseph@codesourcery.com>
7071
7072 * soft-fp/README: Update.
7073 * soft-fp/adddf3.c: Update from glibc.
7074 * soft-fp/addsf3.c: Likewise.
7075 * soft-fp/addtf3.c: Likewise.
7076 * soft-fp/divdf3.c: Likewise.
7077 * soft-fp/divsf3.c: Likewise.
7078 * soft-fp/divtf3.c: Likewise.
7079 * soft-fp/double.h: Likewise.
7080 * soft-fp/eqdf2.c: Likewise.
7081 * soft-fp/eqsf2.c: Likewise.
7082 * soft-fp/eqtf2.c: Likewise.
7083 * soft-fp/extenddftf2.c: Likewise.
7084 * soft-fp/extended.h: Likewise.
7085 * soft-fp/extendsfdf2.c: Likewise.
7086 * soft-fp/extendsftf2.c: Likewise.
7087 * soft-fp/extendxftf2.c: Likewise.
7088 * soft-fp/fixdfdi.c: Likewise.
7089 * soft-fp/fixdfsi.c: Likewise.
7090 * soft-fp/fixdfti.c: Likewise.
7091 * soft-fp/fixsfdi.c: Likewise.
7092 * soft-fp/fixsfsi.c: Likewise.
7093 * soft-fp/fixsfti.c: Likewise.
7094 * soft-fp/fixtfdi.c: Likewise.
7095 * soft-fp/fixtfsi.c: Likewise.
7096 * soft-fp/fixtfti.c: Likewise.
7097 * soft-fp/fixunsdfdi.c: Likewise.
7098 * soft-fp/fixunsdfsi.c: Likewise.
7099 * soft-fp/fixunsdfti.c: Likewise.
7100 * soft-fp/fixunssfdi.c: Likewise.
7101 * soft-fp/fixunssfsi.c: Likewise.
7102 * soft-fp/fixunssfti.c: Likewise.
7103 * soft-fp/fixunstfdi.c: Likewise.
7104 * soft-fp/fixunstfsi.c: Likewise.
7105 * soft-fp/fixunstfti.c: Likewise.
7106 * soft-fp/floatdidf.c: Likewise.
7107 * soft-fp/floatdisf.c: Likewise.
7108 * soft-fp/floatditf.c: Likewise.
7109 * soft-fp/floatsidf.c: Likewise.
7110 * soft-fp/floatsisf.c: Likewise.
7111 * soft-fp/floatsitf.c: Likewise.
7112 * soft-fp/floattidf.c: Likewise.
7113 * soft-fp/floattisf.c: Likewise.
7114 * soft-fp/floattitf.c: Likewise.
7115 * soft-fp/floatundidf.c: Likewise.
7116 * soft-fp/floatundisf.c: Likewise.
7117 * soft-fp/floatunditf.c: Likewise.
7118 * soft-fp/floatunsidf.c: Likewise.
7119 * soft-fp/floatunsisf.c: Likewise.
7120 * soft-fp/floatunsitf.c: Likewise.
7121 * soft-fp/floatuntidf.c: Likewise.
7122 * soft-fp/floatuntisf.c: Likewise.
7123 * soft-fp/floatuntitf.c: Likewise.
7124 * soft-fp/gedf2.c: Likewise.
7125 * soft-fp/gesf2.c: Likewise.
7126 * soft-fp/getf2.c: Likewise.
7127 * soft-fp/ledf2.c: Likewise.
7128 * soft-fp/lesf2.c: Likewise.
7129 * soft-fp/letf2.c: Likewise.
7130 * soft-fp/muldf3.c: Likewise.
7131 * soft-fp/mulsf3.c: Likewise.
7132 * soft-fp/multf3.c: Likewise.
7133 * soft-fp/negdf2.c: Likewise.
7134 * soft-fp/negsf2.c: Likewise.
7135 * soft-fp/negtf2.c: Likewise.
7136 * soft-fp/op-1.h: Likewise.
7137 * soft-fp/op-2.h: Likewise.
7138 * soft-fp/op-4.h: Likewise.
7139 * soft-fp/op-8.h: Likewise.
7140 * soft-fp/op-common.h: Likewise.
7141 * soft-fp/quad.h: Likewise.
7142 * soft-fp/single.h: Likewise.
7143 * soft-fp/soft-fp.h: Likewise.
7144 * soft-fp/subdf3.c: Likewise.
7145 * soft-fp/subsf3.c: Likewise.
7146 * soft-fp/subtf3.c: Likewise.
7147 * soft-fp/truncdfsf2.c: Likewise.
7148 * soft-fp/trunctfdf2.c: Likewise.
7149 * soft-fp/trunctfsf2.c: Likewise.
7150 * soft-fp/trunctfxf2.c: Likewise.
7151 * soft-fp/unorddf2.c: Likewise.
7152 * soft-fp/unordsf2.c: Likewise.
7153 * soft-fp/unordtf2.c: Likewise.
7154
02ac9503
UB
71552013-11-05 Uros Bizjak <ubizjak@gmail.com>
7156
7157 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
7158 (_FP_MUL_MEAT_D): Ditto.
7159 (_FP_DIV_MEAT_S): Ditto.
7160 (_FP_DIV_MEAT_D): Ditto.
7161 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
7162 t-softfp-sfdf and t-softfp to tmake_file.
7163
61221141
UB
71642013-11-03 Uros Bizjak <ubizjak@gmail.com>
7165
7166 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
7167 * config/i386/crtprec.c: Ditto.
7168
9304f876
CJW
71692013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
7170 Shiva Chen <shiva0217@gmail.com>
7171
7172 * config.host (nds32*-elf*): Add nds32 target.
7173 * config/nds32 : New directory and files.
7174
0e499e75
HPN
71752013-10-16 Hans-Peter Nilsson <hp@axis.com>
7176
7177 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
7178 * config.host (cpu_type) <Setting default>: Add entry for
7179 crisv32-*-*.
7180 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
7181 <crisv32-*-linux*>: Adjust.
7182 * longlong.h: Wrap the whole CRIS section in a single
7183 defined(__CRIS__) conditional. Add comment about add_ssaaaa
7184 and sub_ddmmss.
7185 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
7186 defined.
7187 [__CRIS__] (__umulsidi3): Define.
7188 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
7189 * config/cris/sfp-machine.h: New file.
7190 * config/cris/umulsidi3.S: New file.
7191 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
7192 * config/cris/arit.c (SIGNMULT): New macro.
7193 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
7194 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
7195 saving 3 out of originally 33 cycles from the fastest
7196 path, 3 out of 54 from the medium path and one from the longest
7197 path. Improve comments.
7198
16022041
RS
71992013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
7200
7201 * sync.c: Remove static aliases and define each function directly
7202 under its real name.
7203
69778659
JDA
72042013-10-02 John David Anglin <danglin@gcc.gnu.org>
7205
7206 * config.host (hppa*64*-*-linux*): Define extra_parts.
7207 (hppa*-*-linux*): Likewise.
7208
2deaf8b0
JR
72092013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
7210
7211 * config/arc/crtgend.S: Add 2013 to Copyright years.
7212 * config/arc/gmon/atomic.h: Likewise.
7213 * config/arc/gmon/auxreg.h: Likewise.
7214 * config/arc/gmon/sys/gmon_out.h: Likewise.
7215 * config/arc/gmon/sys/gmon.h: Likewise.
7216 * config/arc/gmon/prof-freq.c: Likewise.
7217 * config/arc/gmon/mcount.c: Likewise.
7218 * config/arc/gmon/prof-freq-stub.S: Likewise.
7219 * config/arc/gmon/gmon.c: Likewise.
7220 * config/arc/gmon/machine-gmon.h: Likewise.
7221 * config/arc/gmon/profil.S: Likewise.
7222 * config/arc/gmon/dcache_linesz.S: Likewise.
7223 * config/arc/crtg.S: Likewise.
7224 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
7225 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
7226 * config/arc/ieee-754/adddf3.S: Likewise.
7227 * config/arc/ieee-754/truncdfsf2.S: Likewise.
7228 * config/arc/ieee-754/fixsfsi.S: Likewise.
7229 * config/arc/ieee-754/gtsf2.S: Likewise.
7230 * config/arc/ieee-754/floatsisf.S: Likewise.
7231 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
7232 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
7233 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
7234 * config/arc/ieee-754/fixdfsi.S: Likewise.
7235 * config/arc/ieee-754/addsf3.S: Likewise.
7236 * config/arc/ieee-754/gesf2.S: Likewise.
7237 * config/arc/ieee-754/floatsidf.S: Likewise.
7238 * config/arc/ieee-754/extendsfdf2.S: Likewise.
7239 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
7240 * config/arc/ieee-754/gtdf2.S: Likewise.
7241 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
7242 * config/arc/ieee-754/uneqdf2.S: Likewise.
7243 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
7244 * config/arc/ieee-754/uneqsf2.S: Likewise.
7245 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
7246 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
7247 * config/arc/ieee-754/eqdf2.S: Likewise.
7248 * config/arc/ieee-754/ordsf2.S: Likewise.
7249 * config/arc/ieee-754/divsf3.S: Likewise.
7250 * config/arc/ieee-754/divdf3.S: Likewise.
7251 * config/arc/ieee-754/floatunsidf.S: Likewise.
7252 * config/arc/ieee-754/orddf2.S: Likewise.
7253 * config/arc/ieee-754/eqsf2.S: Likewise.
7254 * config/arc/ieee-754/gedf2.S: Likewise.
7255 * config/arc/crtn.S: Likewise.
7256 * config/arc/crti.S: Likewise.
7257 * config/arc/t-arc700-uClibc: Likewise.
7258 * config/arc/asm.h: Likewise.
7259 * config/arc/libgcc-excl.ver: Likewise.
7260 * config/arc/t-arc-newlib: Likewise.
7261 * config/arc/divtab-arc700.c: Likewise.
7262 * config/arc/initfini.c: Likewise.
7263 * config/arc/fp-hack.h: Likewise.
7264
c8e318b0
JR
72652013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
7266 Diego Novillo <dnovillo@google.com>
7267
7268 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
a07c5b47
JR
7269 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
7270 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
7271 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
c8e318b0 7272
d38a64b4
JR
72732013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
7274 Brendan Kehoe <brendan@zen.org>
7275 Simon Cook <simon.cook@embecosm.com>
7276
7277 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
7278 * config/arc: New directory.
7279 * longlong.h [__arc__] (umul_ppmm): Remove.
7280 [__arc__] (__umulsidi3): Define.
7281 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
7282 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
7283
dff717d2
JC
72842013-09-17 Jacek Caban <jacek@codeweavers.com>
7285
7286 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
7287 CreateSemaphoreA.
7288 * config/i386/gthr-win32.h: Likewise.
7289
5c0029de
DD
72902013-09-16 DJ Delorie <dj@redhat.com>
7291
844ad6c6 7292 * config/rl78/vregs.h: Add G10 register definitions.
5c0029de
DD
7293 * config/rl78/lib2mul.c: Enable for RL78/G10.
7294 * config/rl78/lib2div.c: Likewise.
7295 * config/rl78/lshrsi3.S: Use vregs.h.
7296 * config/rl78/cmpsi2.S: Likewise.
7297 * config/rl78/trampoline.S: Likewise.
7298 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
7299
ceb2fc49
DD
73002013-09-14 DJ Delorie <dj@redhat.com>
7301 Nick Clifton <nickc@redhat.com>
7302
7303 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
7304 * config/rl78/vregs.h: New.
7305 * config/rl78/signbit.S: New file. Implements signbit function.
7306 * config/rl78/divmodsi.S: New.
7307 * config/rl78/divmodhi.S: New.
7308 * config/rl78/divmodqi.S: New.
7309 * config/rl78/t-rl78: Build them here...
7310 * config/rl78/lib2div.c: ...but not here.
7311
f6a83b4a
DD
73122013-09-12 DJ Delorie <dj@redhat.com>
7313
7314 * config.host (msp*-*-elf): New.
7315 * config/msp430/: New port.
7316
9107b096
IS
73172013-08-18 Iain Sandoe <iain@codesourcery.com>
7318
7319 PR gcov-profile/58127
7320 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
7321 __thread var for emulated TLS.
7322 (__gcov_indirect_call_counters): Likewise.
7323
0f9bde1f 73242013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
61221141 7325 Catherine Moore <clm@codesourcery.com>
7d296953 7326 Richard Sandiford <rdsandiford@googlemail.com>
0f9bde1f
MR
7327
7328 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
7329 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
7330 (CALL_STUB_NO_RET): Likewise.
7331 (CALL_STUB_RET): Likewise.
7332 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
7333 __mips16_ret call/return stub symbols.
7334 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
7335 to tmake_file.
7336
2dc14aac
MR
73372013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
7338
7339 * config.host <mips*-*-linux*>: Remove a stray comment.
7340
748d71f3
JH
73412013-08-10 Jan Hubicka <jh@suse.cz>
7342
7343 Work around binutils PR14342
7344 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
7345 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
7346 (L_gcov_indirect_call_profiler_v2): New.
7347
2fa3d31b
JH
73482013-08-06 Jan Hubicka <jh@suse.cz>
7349
7350 * libgcov.c (__gcov_indirect_call_callee,
7351 __gcov_indirect_call_counters): New global vars.
7352 (__gcov_indirect_call_profiler): replace by ...
7353 (__gcov_indirect_call_profiler_v2) ... this one.
7354
2077db1b
CT
73552013-08-06 Caroline Tice <cmtice@google.com>
7356
d0595b65 7357 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
2077db1b 7358 vtv_start_preinit.o and vtv_end_preinit.o.
d0595b65
CT
7359 * configure.ac: Add code to check/set enable_vtable_verify.
7360 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
2077db1b 7361 true.
d0595b65
CT
7362 * vtv_start_preinit.c: New file.
7363 * vtv_end_preinit.c: New file.
7364 * vtv_start.c: New file.
7365 * vtv_end.c: New file.
7366 * configure: Regenerated.
2077db1b 7367
46549c20
MK
73682013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
7369
7370 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
7371 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
7372 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
7373 GPL-3.0-with-GCC-exception.
7374
72be589b
MR
73752013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
7376
7377 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
7378 ISA and up.
7379
902a3faf
AK
73802013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7381
7382 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
7383 mapping for FPRs when creating the fallback framestate.
7384
02371798
GJL
73852013-07-19 Georg-Johann Lay <avr@gjlay.de>
7386
7387 PR target/57516
7388 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
7389 (__round_s2_const, __round_u2_const)
7390 (__round_s4_const, __round_u4_const, __round_x8):
7391 Saturate result if addition result cannot be represented.
7392
ab0e8379
MK
73932013-07-15 Matthias Klose <doko@ubuntu.com>
7394
7395 * libgcc2.c: Don't include <limits.h>.
7396
7da38058
JJ
73972013-07-09 Janis Johnson <janisjo@codesourcery.com>
7398
7399 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
7400
1f6eac90
JJ
74012013-07-06 Jakub Jelinek <jakub@redhat.com>
7402
7403 PR target/29776
7404 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
7405
4ea3d774
JJ
74062013-06-28 Jakub Jelinek <jakub@redhat.com>
7407
7408 PR middle-end/36041
7409 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
7410 Define.
7411 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
7412 instead of table lookups.
7413 (__popcountDI2): Likewise.
7414
9d2cdf25
CJW
74152013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
7416
7417 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
7418 correctly.
7419
fa1e55b0
JM
74202013-06-21 Joseph Myers <joseph@codesourcery.com>
7421
7422 PR other/53317
7423 * soft-fp/adddf3.c: Update from glibc.
7424 * soft-fp/addsf3.c: Likewise.
7425 * soft-fp/addtf3.c: Likewise.
7426 * soft-fp/divdf3.c: Likewise.
7427 * soft-fp/divsf3.c: Likewise.
7428 * soft-fp/divtf3.c: Likewise.
7429 * soft-fp/double.h: Likewise.
7430 * soft-fp/eqdf2.c: Likewise.
7431 * soft-fp/eqsf2.c: Likewise.
7432 * soft-fp/eqtf2.c: Likewise.
7433 * soft-fp/extenddftf2.c: Likewise.
7434 * soft-fp/extended.h: Likewise.
7435 * soft-fp/extendsfdf2.c: Likewise.
7436 * soft-fp/extendsftf2.c: Likewise.
7437 * soft-fp/fixdfdi.c: Likewise.
7438 * soft-fp/fixdfsi.c: Likewise.
7439 * soft-fp/fixsfdi.c: Likewise.
7440 * soft-fp/fixsfsi.c: Likewise.
7441 * soft-fp/fixtfdi.c: Likewise.
7442 * soft-fp/fixtfsi.c: Likewise.
7443 * soft-fp/fixunsdfdi.c: Likewise.
7444 * soft-fp/fixunsdfsi.c: Likewise.
7445 * soft-fp/fixunssfdi.c: Likewise.
7446 * soft-fp/fixunssfsi.c: Likewise.
7447 * soft-fp/fixunstfdi.c: Likewise.
7448 * soft-fp/fixunstfsi.c: Likewise.
7449 * soft-fp/floatdidf.c: Likewise.
7450 * soft-fp/floatdisf.c: Likewise.
7451 * soft-fp/floatditf.c: Likewise.
7452 * soft-fp/floatsidf.c: Likewise.
7453 * soft-fp/floatsisf.c: Likewise.
7454 * soft-fp/floatsitf.c: Likewise.
7455 * soft-fp/floatundidf.c: Likewise.
7456 * soft-fp/floatundisf.c: Likewise.
7457 * soft-fp/floatunditf.c: Likewise.
7458 * soft-fp/floatunsidf.c: Likewise.
7459 * soft-fp/floatunsisf.c: Likewise.
7460 * soft-fp/floatunsitf.c: Likewise.
7461 * soft-fp/gedf2.c: Likewise.
7462 * soft-fp/gesf2.c: Likewise.
7463 * soft-fp/getf2.c: Likewise.
7464 * soft-fp/ledf2.c: Likewise.
7465 * soft-fp/lesf2.c: Likewise.
7466 * soft-fp/letf2.c: Likewise.
7467 * soft-fp/muldf3.c: Likewise.
7468 * soft-fp/mulsf3.c: Likewise.
7469 * soft-fp/multf3.c: Likewise.
7470 * soft-fp/negdf2.c: Likewise.
7471 * soft-fp/negsf2.c: Likewise.
7472 * soft-fp/negtf2.c: Likewise.
7473 * soft-fp/op-1.h: Likewise.
7474 * soft-fp/op-2.h: Likewise.
7475 * soft-fp/op-4.h: Likewise.
7476 * soft-fp/op-8.h: Likewise.
7477 * soft-fp/op-common.h: Likewise.
7478 * soft-fp/quad.h: Likewise.
7479 * soft-fp/single.h: Likewise.
7480 * soft-fp/soft-fp.h: Likewise.
7481 * soft-fp/subdf3.c: Likewise.
7482 * soft-fp/subsf3.c: Likewise.
7483 * soft-fp/subtf3.c: Likewise.
7484 * soft-fp/truncdfsf2.c: Likewise.
7485 * soft-fp/trunctfdf2.c: Likewise.
7486 * soft-fp/trunctfsf2.c: Likewise.
7487 * soft-fp/unorddf2.c: Likewise.
7488 * soft-fp/unordsf2.c: Likewise.
7489 * soft-fp/unordtf2.c: Likewise.
7490 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
7491 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7492 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7493 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7494 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7495 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7496 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7497 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7498 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7499 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
7500 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
7501 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7502
0de86a92
JU
75032013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
7504
7505 * config/mips/lib2funcs.c: New file.
7506 * config/mips/t-mips (LIB2ADD_ST): Add it.
7507
0d008882
OE
75082013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
7509
7510 PR target/6526
7511 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
7512 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
7513
776434d1
WL
75142013-06-08 Walter Lee <walt@tilera.com>
7515
7516 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
7517 Replace int64_t with long long. Add __extension__ where
7518 appropriate.
7519 * config/tilepro/atomic.c: Include config.h.
7520
6ab3ebb4
DR
75212013-06-06 Douglas B Rupp <rupp@adacore.com>
7522
7523 * config.host (arm-wrs-vxworks): Configure with other soft float.
7524
107eea2c
JU
75252013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
7526
7527 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
7528 (mips64r5900el-*-elf*): New configurations.
7529
5cc19c62
AM
75302013-06-04 Alan Modra <amodra@gmail.com>
7531
7532 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
7533
0f1d3965
YR
75342013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
7535
7536 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
7537
0ba045df
EB
75382013-05-28 Eric Botcazou <ebotcazou@adacore.com>
7539
7540 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
7541 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
7542 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
7543
49dcafd4
EB
75442013-05-22 Eric Botcazou <ebotcazou@adacore.com>
7545
7546 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
7547 (powerpc-wrs-vxworks): Likewise.
7548
4fcb5d87
EB
75492013-05-22 Eric Botcazou <ebotcazou@adacore.com>
7550
7551 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
7552 signal frames as well.
7553 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
7554 STACK_BIAS to the CFA offset.
7555
0ec33224
RH
75562013-05-17 Richard Henderson <rth@redhat.com>
7557
7558 PR target/49146
7559 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
7560 (execute_cfa_program): Use it when storing to fs->regs.
7561
492a8029
KT
75622013-05-08 Kai Tietz <ktietz@redhat.com>
7563
7564 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
7565 (__deregister_frame_info): Likewise.
7566
701e2f0a
TS
75672013-05-06 Thomas Schwinge <thomas@codesourcery.com>
7568
e5123d08
TS
7569 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
7570 NaN's payload.
7571
701e2f0a
TS
7572 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
7573
b9a7eb5d
AM
75742013-04-25 Alan Modra <amodra@gmail.com>
7575
7576 * config.host: Match little-endian powerpc-linux.
7577
dfe192f5
YZ
75782013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
7579
7580 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
7581 as 'unsigned long long' instead of 'unsigned long'.
7582 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
7583 'signed long'.
7584
b6b9af2f
JB
75852013-04-10 Julian Brown <julian@codesourcery.com>
7586
7587 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
7588 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
7589 unsigned char/unsigned short.
7590 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
7591
ecabdd00
JDA
75922013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7593
7594 PR other/55274
7595 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
7596
34652576
MI
75972013-04-04 Meador Inge <meadori@codesourcery.com>
7598
7599 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
7600 computing the location of the link register.
7601 (aeabi_uldivmod): Ditto.
7602
e9fd8c19
KT
76032013-03-27 Kai Tietz <ktietz@redhat.com>
7604
7605 * config.host: Add support for cygwin x64 target.
7606 * configure: Regenerated.
7607
a6406324
WL
76082013-03-26 Walter Lee <walt@tilera.com>
7609
7610 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
7611 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
7612
55446c7e
KT
76132013-03-25 Kai Tietz <ktietz@redhat.com>
7614
7615 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
7616
d2ae19d9
RM
76172013-03-20 Robert Mason <rbmj@verizon.net>
7618
7619 * config/vxlib-tls.c (__gthread_get_tsd_data,)
7620 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
7621 (__gthread_leave_tsd_dtor_context): Add prototypes.
7622 (tls_delete_hook): Update.
7623
22c4c869
CM
76242013-03-20 Catherine Moore <clm@codesourcery.com>
7625 Joseph Myers <joseph@codesourcery.com>
7626 Chao-ying Fu <fu@mips.com>
7627
7628 * config/mips/mips16.S: Don't build for microMIPS.
7629 * config/mips/linux-unwind.h: Handle microMIPS frame.
7630 * config/mips/crtn.S (fini, init): New labels.
7631
fbd28bc3
JJ
76322013-03-14 Jakub Jelinek <jakub@redhat.com>
7633
7634 PR tree-optimization/53265
7635 * unwind-dw2.c (execute_cfa_program): Avoid
7636 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
7637 on targets with DWARF_FRAME_REGISTERS < 32.
7638
decc676e
OE
76392013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
7640
7641 PR target/49880
7642 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
7643 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
7644
84ea618a
ST
76452013-03-07 Sriraman Tallam <tmsriram@google.com>
7646
7647 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
7648 sandybridge processors.
7649
8f6d1c86
OE
76502013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
7651
7652 PR target/56529
7653 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
7654 inclusion list.
7655
ecdbd01a 76562013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
409b1de4
EI
7657
7658 * config/microblaze/crti.S: Setup stack protection at entry
7659
0b4ce21b
GJL
76602013-03-04 Georg-Johann Lay <avr@gjlay.de>
7661
7662 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
7663 (__rotldi3): Shift bytewise if applicable.
7664
b7c3f1ca
JG
76652013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
7666
7667 * config/aarch64/sync-cache.c
7668 (__aarch64_sync_cache_range): Silence warnings.
7669
6d65e8f1
CM
76702013-02-25 Catherine Moore <clm@codesourcery.com>
7671
7672 Revert:
7673 2013-02-24 Catherine Moore <clm@codesourcery.com>
7674 Joseph Myers <joseph@codesourcery.com>
7675 Chao-ying Fu <fu@mips.com>
7676
7677 * config/mips/mips16.S: Don't build for microMIPS.
7678 * config/mips/linux-unwind.h: Handle microMIPS frame.
7679 * config/mips/crtn.S (fini, init): New labels.
7680
6941b508
CM
76812013-02-24 Catherine Moore <clm@codesourcery.com>
7682 Joseph Myers <joseph@codesourcery.com>
7683 Chao-ying Fu <fu@mips.com>
7684
7685 * config/mips/mips16.S: Don't build for microMIPS.
7686 * config/mips/linux-unwind.h: Handle microMIPS frame.
7687 * config/mips/crtn.S (fini, init): New labels.
7688
7c422dbb 76892012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
cc86234f 7690 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7c422dbb
EI
7691 as dividend.
7692
110207ad
AM
76932013-02-16 Alan Modra <amodra@gmail.com>
7694
7695 PR target/55431
7696 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
7697 (ppc_fallback_frame_state): Always set up save locations for fp
7698 and altivec. Don't bother with non-callee-saved regs, r0-r13
7699 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
7700
e68a4ef6
GJL
77012013-02-12 Georg-Johann Lay <avr@gjlay.de>
7702
7703 PR target/54222
7704 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
7705 _ssmulHA, _ssmulSA.
7706 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
7707 _ssmulha3, _usmulusa3, _ssmulsa3.
7708 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
7709 (__muldi3): XCALL __muldi3_6 instead of rcall.
7710 (__umulsidi3, __mulsidi3): New functions.
7711 (do_prologue_saves, do_epilogue_restores): New .macros.
7712 (__divdi3_moddi3): Use them.
7713 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
7714 (__usmulusa3, __ssmulsa3): New functions.
7715
6c59ffd1
IS
77162013-02-11 Iain Sandoe <iain@codesourcery.com>
7717 Jack Howarth <howarth@bromo.med.uc.edu>
7718 Patrick Marlier <patrick.marlier@gmail.com>
7719
7720 PR libitm/55693
7721 * config/darwin-crt-tm.c: Remove dummy functions hack.
7722
85d768f3
GJL
77232013-02-08 Georg-Johann Lay <avr@gjlay.de>
7724
7725 PR target/54222
7726 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
7727 * config/avr/lib2-object.mk: New iterator to build objects from it.
7728 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
7729 lib2funcs.c.
7730 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
7731 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
7732 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
7733 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
7734 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
7735 * config/avr/lib1funcs-fixed.S: Implement them.
7736
5d5bf775
RS
77372013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
7738
7739 Update copyright years.
7740
99113dff
DE
77412013-02-01 David Edelsohn <dje.gcc@gmail.com>
7742
7743 PR target/54601
7744 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
7745 Add crtcxa to extra_parts.
7746 * config/rs6000/exit.h: New file.
7747 * config/rs6000/cxa_atexit.c: New file.
7748 * config/rs6000/cxa_finalize.c: New file.
7749 * config/rs6000/crtcxa.c: New file.
7750 * config/rs6000/t-aix-cxa: New file.
7751 * config/rs6000/libgcc-aix-cxa.ver: New file.
7752
dbdbd982
NC
77532013-01-31 Nick Clifton <nickc@redhat.com>
7754
7755 * config/v850/lib1funcs.S: Add support for e3v5 architecture
7756 variant.
7757
5893f158
GJL
77582013-01-29 Georg-Johann Lay <avr@gjlay.de>
7759
7760 PR target/54222
7761 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
7762 _mulQQ, _mulHQ, _mulHA, _mulSA,
7763 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
7764 _divQQ, _divHQ, _divHA, _divSA,
7765 _divUQQ, _divUHQ, _divUHA, _divUSA.
7766
ecdbd01a 77672013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
fbf0cf90 7768
dbdbd982 7769 * config.host(microblaze*-linux*): tmake_file: Remove
fbf0cf90
DH
7770 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
7771 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
7772 to exclude functions from being built with libgcc.c and use
7773 the microblaze assembly.
7774
ecdbd01a 77752013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6f14eef2
EI
7776
7777 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
7778 extra_parts.
7779
922c57d1
YZ
77802013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
7781
7782 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
7783 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
7784 __UINTPTR_TYPE__; also cast 'base' to the same type before the
7785 alignment operation.
7786
e0f8b6a0
SN
77872013-01-15 Sofiane Naci <sofiane.naci@arm.com>
7788
7789 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
7790 loop start address for cache clearing.
7791
00892272
GJL
77922013-01-14 Georg-Johann Lay <avr@gjlay.de>
7793
7794 * config/avr/lib1funcs.S: Remove trailing blanks.
7795 * config/avr/lib1funcs-fixed.S: Ditto.
7796
e59ec5fd
GJL
77972013-01-14 Georg-Johann Lay <avr@gjlay.de>
7798
7799 * config/avr/avr-lib.h: Add GPL copyright notice.
7800
3ffc1958
GJL
78012013-01-14 Georg-Johann Lay <avr@gjlay.de>
7802
7803 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
7804 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
7805 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
7806 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
7807
25c210f9
MK
78082013-01-07 Mark Kettenis <kettenis@openbsd.org>
7809
7810 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
7811 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
2bc15360 7812
db59befb
NC
78132013-01-04 Nick Clifton <nickc@redhat.com>
7814
7815 * config/v850/lib1funcs.S: Only provide CALLT support functions if
7816 the CALLT instruction is supported.
7817
5aa12dbf
JW
78182012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
7819
7820 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
7821 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
7822
65f14117
JT
78232012-12-13 John Tytgat <John@bass-software.com>
7824
7825 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
7826 is 25.
7827
ee3ae4f7
JJ
78282012-12-12 Jakub Jelinek <jakub@redhat.com>
7829
7830 PR libgcc/55451
7831 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
7832 undefined signed overflows.
7833
2fcfba3d
UB
78342012-12-09 Uros Bizjak <ubizjak@gmail.com>
7835
7836 PR target/55344
7837 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
7838
4f2b3dc2
UB
78392012-12-06 Uros Bizjak <ubizjak@gmail.com>
7840
7841 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
7842 (FP_TRAPPING_EXCEPTIONS): Define.
7843 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
7844 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
7845
066161a2
RH
78462012-12-04 Richard Henderson <rth@redhat.com>
7847
7848 PR bootstrap/55571
7849 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
7850
7d296953 78512012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
25626181 7852
4f2b3dc2 7853 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
25626181
MS
7854 (FP_EX_SHIFT): Define.
7855 (FP_TRAPPING_EXCEPTIONS): Define.
7856
7d296953 78572012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
868395e8
MS
7858
7859 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
7860 (FP_ROUNDMODE): Use FP_RND_MASK.
7861 * config/aarch64/sfp-exceptions.c: New.
7862 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
7863 Use __sfp_handle_exceptions.
7864
5005fe22
RE
78652012-12-04 Richard Earnshaw <rearnsha@arm.com>
7866
7867 * config.host: (arm*-*-freebsd*): Remove.
7868 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
7869 (arm*-*-elf*): Remove.
7870 (arm*-*-wince-pe*): Remove.
7871 * arm/unwind-arm.c (struct fpa_reg): Delete.
7872 (struct fpa_regs): Delete.
7873 (phase1_vrs): Remove fpa element.
7874 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
7875 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
7876 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
7877 * ieee754-sf.S (floatundisf): Remove FPA support.
7878 (floatdisf): Likewise.
7879 * ieee75f-df.S (floatundidf): Likewise.
7880 (floatdidf): Likewise.
7881
e5a81c8e
KT
78822012-11-29 Kai Tietz <ktietz@redhat.com>
7883
7884 PR target/55445
7885 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
7886 * unwind-generic.h: Likewise.
7887 * unwind-seh.c: Likewise.
7888
f4919e4a
RH
78892012-11-28 Richard Henderson <rth@redhat.com>
7890
7891 PR libgcc/48076
7892 * emutls.c (__emutls_get_address): Avoid race condition between
7893 obj->loc.offset read and emutls_key initialization.
4f2b3dc2 7894
e13d9d5a
GJL
78952012-11-22 Georg-Johann Lay <avr@gjlay.de>
7896
7897 Adjust decimal point of signed accum mode to GCC default.
7898
7899 PR target/54222
7900 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
7901 _divqq_helper.
7902 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
7903 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
7904 (__mulha3, __mulsa3)
7905 (__divqq3, __divha3, __divsa3): Adjust to new position of
4f2b3dc2
UB
7906 decimal point of signed accum types.
7907
e13d9d5a
GJL
7908 (__mulusa3_round): New function.
7909 (__mulusa3): Use it.
7910 (__divqq_helper): New function.
7911 (__udivuqq3): Use it.
7912
1b845c6e
JJ
79132012-11-20 Jakub Jelinek <jakub@redhat.com>
7914
7915 PR bootstrap/55370
7916 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
7917
822a258a
TJ
79182012-11-18 Teresa Johnson <tejohnson@google.com>
7919
7920 PR bootstrap/55051
7921 * libgcov.c (gcov_exit): Remove merged program summary
7922 comparison unless !GCOV_LOCKED.
7923
7d296953 79242012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
54f4eaf0
MS
7925
7926 * soft-fp: Updated from glibc upstream.
7927
e808687a
ILT
79282012-11-06 Ian Lance Taylor <iant@google.com>
7929
7930 * generic-morestack.c (__generic_morestack): Align the returned
7931 stack pointer to a 32 byte boundary.
7932 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
7933 increment the return address until we have decided that we don't
7934 have a varargs function.
7935 (__morestack) [32-bit]: Align stack correctly when calling C
7936 functions.
7937 (__morestack) [64-bit]: Likewise.
7938
460277e0
TS
79392012-11-04 Thomas Schwinge <thomas@codesourcery.com>
7940
7941 * configure: Regenerate.
7942
73edb277
UB
79432012-11-02 Uros Bizjak <ubizjak@gmail.com>
7944
7945 PR target/55175
7946 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
7947 * config/i386/sfp-machine.h: Guard exception handling
7948 code with _SOFT_FLOAT.
7949 * config/i386/32/sfp-machine.h: Guard rounding handling
7950 code with _SOFT_FLOAT.
7951 * config/i386/64/sfp-machine.h: Ditto.
7952
c1d4fa04
JS
79532012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
7954
7955 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
7956 as extra_parts.
7957
eff6ca85
UB
79582012-10-26 Uros Bizjak <ubizjak@gmail.com>
7959
7960 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
7961 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
7962 when appropriate. Correct structure element types.
7963 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
7964 -minline-all-stringops from compile flags.
7965
7d296953 79662012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
43a8f1a1
RC
7967
7968 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
7969
7d296953 79702012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
76c78361 7971
eff6ca85 7972 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
76c78361 7973
6f288860
SH
79742012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
7975
7976 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
7977 tmake_file.
7978
1e3d5096
IB
79792012-10-23 Ian Bolton <ian.bolton@arm.com>
7980 Jim MacArthur <jim.macarthur@arm.com>
7981 Marcus Shawcroft <marcus.shawcroft@arm.com>
7982 Nigel Stephens <nigel.stephens@arm.com>
7983 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
7984 Richard Earnshaw <rearnsha@arm.com>
7985 Sofiane Naci <sofiane.naci@arm.com>
7986 Stephen Thomas <stephen.thomas@arm.com>
7987 Tejas Belagod <tejas.belagod@arm.com>
7988 Yufeng Zhang <yufeng.zhang@arm.com>
7989
7990 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
7991 * config/aarch64/crti.S: New file.
7992 * config/aarch64/crtn.S: New file.
7993 * config/aarch64/linux-unwind.h: New file.
7994 * config/aarch64/sfp-machine.h: New file.
7995 * config/aarch64/sync-cache.c: New file.
7996 * config/aarch64/t-aarch64: New file.
7997 * config/aarch64/t-softfp: New file.
7998
8a740f07
HPN
79992012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
8000
8001 * config/mmix/crti.S: Mark program and data addresses using PRELD.
8002 Remove typo'd and unnecessary alignment-LOC for .data. Remove
8003 no-longer-needed LDBU insns.
8004
7d296953 80052012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
153c8397
SH
8006
8007 * config.host
8008 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
8009 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
8010
595fefee
MGD
80112012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
8012
8013 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
8014
9945a876
MK
80152012-10-15 Matthias Klose <doko@ubuntu.com>
8016
8017 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
8018
1183dc2c
PC
80192012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
8020
8021 * configure: Regenerate.
8022 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
8023
945a9c1f
UB
80242012-10-10 Uros Bizjak <ubizjak@gmail.com>
8025
8026 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
8027 instructions for 64bit targets only.
8028
fb8bf47a
UB
80292012-10-10 Uros Bizjak <ubizjak@gmail.com>
8030
8031 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
8032 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
8033 * config/i386/32/sfp-machine.h: ... here.
8034 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
8035 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
8036 New defines.
8037
acb72498
MK
80382012-10-07 Matthias Klose <doko@ubuntu.com>
8039
8040 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
8041 as unused.
8042 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
8043
8eaee0f0
MK
80442012-10-06 Mark Kettenis <kettenis@openbsd.org>
8045
8046 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
8047 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
8048 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
8049 (ElfW): Likewise.
8050
5e3e4fe8
JW
80512012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
8052
8053 PR other/53889
8054 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
8055 Fix parameter names.
8056
86086376
OE
80572012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
8058
8059 PR target/33135
8060 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
8061 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
8062 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
8063
9597375a
OE
80642012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
8065
8066 PR target/50457
8067 * config/sh/linux-atomic.S: Delete.
8068 * config/sh/linux-atomic.c: New.
8069 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
8070 linux-atomic.c. Add cflags to disable warnings.
8071
1504e3e1
JW
80722012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
8073
8074 PR other/53889
8075 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
8076 function.
8077 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
8078 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
8079 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
8080 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5e3e4fe8
JW
8081 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
8082 Likewise.
1504e3e1
JW
8083 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
8084 Likewise.
8085 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
8086 Likewise.
8087 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
8088 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
8089
17f293b0
MK
80902012-09-19 Mark Kettenis <kettenis@openbsd.org>
8091
9597375a
OE
8092 * config.host (hppa-*-openbsd*): New target.
8093 * config/pa/t-openbsd: New file.
17f293b0 8094
51526856
GJL
80952012-09-15 Georg-Johann Lay <avr@gjlay.de>
8096
8097 PR target/54222
8098 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
8099 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
8100 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
8101 (__divsa3): Use __negsi2 to negate r_quoL.
8102 * config/avr/lib1funcs.S (FALIAS): New macro.
8103 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
8104 (__negsi2): ...this new function.
8105 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
8106 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
8107 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
8108 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
8109 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
8110 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
8111
aadb5b43
OE
81122012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
8113
8114 PR target/54089
8115 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
8116 (lshrsi3): Reimplement as lshrsi3_r0.
8117
d5d66749
AS
81182012-09-10 Andreas Schwab <schwab@linux-m68k.org>
8119
8120 PR target/46191
8121 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
8122 of libgcc.a.
8123
c6c36e73
TJ
81242012-09-07 Teresa Johnson <tejohnson@google.com>
8125
9597375a 8126 PR gcov-profile/54487
c6c36e73 8127 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9597375a 8128 differences.
c6c36e73 8129
b588ae30
GJL
81302012-09-05 Georg-Johann Lay <avr@gjlay.de>
8131
8132 PR target/54461
8133 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
8134 not configured --with-avrlibc=no.
8135 * config/avr/t-avrlibc: New file.
8136 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
8137 (DPBIT_FUNCS): Ditto.
8138 (TPBIT_FUNCS): Ditto.
8139
abd16fb1
TJ
81402012-09-04 Teresa Johnson <tejohnson@google.com>
8141
8142 * libgcov.c (struct gcov_summary_buffer): New structure.
8143 (gcov_histogram_insert): New function.
8144 (gcov_compute_histogram): Ditto.
8145 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
8146 histograms during summary merging.
8147
613061fd
MK
81482012-09-01 Mark Kettenis <kettenis@openbsd.org>
8149
8150 * config.host (x86_64-*-openbsd*): New target.
73edb277 8151
867a8345
CLT
81522012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
8153
8154 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
8155 attribute.
8156
4aeaaca3
GJL
81572012-08-24 Georg-Johann Lay <avr@gjlay.de>
8158
8159 PR target/54222
8160 * config/avr/t-avr (conv_X): Rename to func_X.
8161
e55e4056
GJL
81622012-08-24 Georg-Johann Lay <avr@gjlay.de>
8163
8164 PR target/54222
8165 * config/avr/lib1funcs-fixed.S: New file.
8166 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
8167 after they are used.
8168 (neg2, neg4): New macros.
8169 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
8170 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
8171 (__umulhisi3): Speed up MUL variant if there is enough flash.
8172 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
8173 avr-modes.def.
8174 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
8175 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
8176 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
8177 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
8178 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
8179 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
8180 (LIB2FUNCS_EXCLUDE): Add supported functions.
8181
a147b6d2
GJL
81822012-08-22 Georg-Johann Lay <avr@gjlay.de>
8183
8184 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
8185 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
8186 libgcc-s-objects.
8187 * fixed-obj.mk: Only expand dependency if $o is not in
8188 LIB2FUNCS_EXCLUDE.
8189
c637141a
L
81902012-08-22 H.J. Lu <hongjiu.lu@intel.com>
8191
8192 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
8193
130e00bd
JM
81942012-08-22 Joseph Myers <joseph@codesourcery.com>
8195
8196 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
8197 depend on --enable-shared.
8198 ($(lib1asmfuncs-o)): Use %.vis files independent of
8199 --enable-shared.
8200 * static-object.mk ($(base)$(objext), $(base).vis)
8201 ($(base)_s$(objext)): Use same rules for visibility handling as in
8202 shared-object.mk.
8203
4b1b3788
ILT
82042012-08-21 Ian Lance Taylor <iant@google.com>
8205
8206 * config/i386/morestack.S (__morestack_non_split): Increase amount
8207 of space allocated for non-split code stack.
8208
d2468141
JM
82092012-08-19 Joseph Myers <joseph@codesourcery.com>
8210
8211 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
8212 even if inhibit_libc.
8213
a508e1a8
JB
82142012-08-17 Julian Brown <julian@codesourcery.com>
8215
8216 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
8217 -fexceptions -fnon-call-exceptions if not defined.
8218 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
8219 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
8220
5615a07d
AS
82212012-08-17 Andreas Schwab <schwab@linux-m68k.org>
8222
8223 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
8224 type.
8225
138f5acd
DE
82262012-08-16 David Edelsohn <dje.gcc@gmail.com>
8227
8228 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
8229 rs6000/t-slibgcc-aix.
8230
18efc0dd
SB
82312012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
8232
8233 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
8234
6b39bc38
SB
82352012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
8236
8237 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
8238
cd25dea0
L
82392012-08-03 H.J. Lu <hongjiu.lu@intel.com>
8240
8241 PR driver/54171
8242 * Makefile.in (version): Replace top_srcdir with srcdir.
8243
a3dda30b
JY
82442012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
8245
8246 * Makefile.in (version): set to BASE-VER file from gcc directory.
8247
d04aacfc
NC
82482012-08-01 Nick Clifton <nickc@redhat.com>
8249
8250 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
8251 Implements __clrsb for an HImode argument.
8252
0d13c974
NC
82532012-07-31 Nick Clifton <nickc@redhat.com>
8254
8255 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
8256 Implements __clrsb for an HImode argument.
8257 * config/stormy16/clrsbhi2.c: New file:
8258 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
8259
efbb59b2
SB
82602012-07-22 Steven Bosscher <steven@gcc.gnu.org>
8261
8262 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
8263
bf1431e3
TG
82642012-07-19 Tristan Gingold <gingold@adacore.com>
8265 Richard Henderson <rth@redhat.com>
8266
8267 * unwind-seh.c: New file.
8268 * unwind-generic.h: Include windows.h for SEH.
8269 (_Unwind_Exception): Use 6 private fields for SEH.
8270 (_GCC_specific_handler): Declare.
8271 * unwind-c.c (__gcc_personality_seh0): New function.
8272 Adjust for SEH.
8273 * config/i386/libgcc-cygming.ver: New file.
8274 * config/i386/t-seh-eh: New file.
8275 * config.host (x86_64-*-mingw*): Default to seh.
8276
659140c8
SB
82772012-07-14 Steven Bosscher <steven@gcc.gnu.org>
8278
8279 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
8280
a20d08fd
UB
82812012-06-17 Uros Bizjak <ubizjak@gmail.com>
8282
8283 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
8284 __builtin_expect when checking for exceptions.
8285 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
8286
79261115
UB
82872012-06-13 Uros Bizjak <ubizjak@gmail.com>
8288
4a172156
UB
8289 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
8290 function declaration.
8291 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
8292 (FP_RND_MASK): New.
8293 * config/ia64/sfp-exceptions.c: New.
8294 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
79261115 8295
bb5c97d4
UB
82962012-06-13 Uros Bizjak <ubizjak@gmail.com>
8297
8298 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
8299 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
8300 * config/i386/64/sfp-machine: ... (delete here) ...
8301 * config/i386/sfp-machine.h: ... to here.
8302 (FP_EX_MASK): Remove.
8303 (FP_RND_MASK): New.
8304 (FP_INIT_ROUNDMODE): Declare asm as volatile.
8305
91fe5efb
ST
83062012-06-11 Sriraman Tallam <tmsriram@google.com>
8307
8308 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
8309 * config/i386/libgcc-sol2.ver: Ditto.
8310 * config/i386/libgcc-glibc.ver: Ditto.
8311
67a218c5
RM
83122012-06-11 Roland McGrath <mcgrathr@google.com>
8313
8314 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
8315 If __GLIBC__ is defined, refer to __pthread_key_create instead of
8316 pthread_cancel.
8317
492fbea1
UB
83182012-06-09 Uros Bizjak <ubizjak@gmail.com>
8319
8320 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
8321 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
8322 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
8323 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
8324 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
8325 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
8326 * config/i386/64/sfp-machine: ... (delete here) ...
8327 * config/i386/sfp-machine.h: ... to here.
8328 (FP_EX_MASK): New.
8329 (__sfp_handle_exceptions): New function declaration.
8330 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
8331 * config/i386/sfp-exceptions.c: New.
8332 * config/i386/t-softfp: New.
8333 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
8334 i386/t-softfp to tmake_file.
8335
7b4cf266
DM
83362012-06-03 David S. Miller <davem@davemloft.net>
8337
8338 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
8339 change.
8340
0de0d5c6
DM
83412012-05-31 David S. Miller <davem@davemloft.net>
8342
8343 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
8344 multiply and divide instructions on 32-bit when V9.
8345 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
8346
d8c9d391
JM
83472012-05-29 Joseph Myers <joseph@codesourcery.com>
8348
8349 * config/arm/ieee754-df.S: Fix typos.
8350 * config/arm/ieee754-sf.S: Fix typos.
8351 * config/c6x/libunwind.S: Fix typos.
8352 * config/epiphany/udivsi3-float.c: Fix typos.
8353 * config/microblaze/muldi3_hard.S: Fix typos.
8354 * config/picochip/adddi3.S: Fix typos.
8355 * config/picochip/ashlsi3.S: Fix typos.
8356 * config/picochip/ashrsi3.S: Fix typos.
8357 * config/picochip/clzsi2.S: Fix typos.
8358 * config/picochip/cmpsi2.S: Fix typos.
8359 * config/picochip/divmod15.S: Fix typos.
8360 * config/picochip/divmodhi4.S: Fix typos.
8361 * config/picochip/divmodsi4.S: Fix typos.
8362 * config/picochip/longjmp.S: Fix typos.
8363 * config/picochip/lshrsi3.S: Fix typos.
8364 * config/picochip/parityhi2.S: Fix typos.
8365 * config/picochip/popcounthi2.S: Fix typos.
8366 * config/picochip/setjmp.S: Fix typos.
8367 * config/picochip/subdi3.S: Fix typos.
8368 * config/picochip/ucmpsi2.S: Fix typos.
8369 * config/picochip/udivmodhi4.S: Fix typos.
8370 * config/picochip/udivmodsi4.S: Fix typos.
8371 * config/spu/divv2df3.c: Fix typos.
8372 * config/spu/mfc_multi_tag_release.c: Fix typos.
8373 * config/spu/mfc_tag_release.c: Fix typos.
8374 * configure.ac: Fix typos.
8375 * configure: Regenerate.
8376
31a18a7e
ILT
83772012-05-25 Ian Lance Taylor <iant@google.com>
8378
8379 * config/i386/morestack.S (__morestack_non_split): Check whether
8380 caller is varargs and needs %bp to hold the stack frame on return.
8381
c5768510
OH
83822012-05-25 Olivier Hainque <hainque@adacore.com>
8383
8384 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
8385 sequence in the non pic case on VxWorks.
8386
7c7c339b
OH
83872012-05-24 Olivier Hainque <hainque@adacore.com>
8388
73fb7630 8389 * Makefile.in: Move dependency on install-unwind_h from
7c7c339b
OH
8390 "install-leaf" to "install".
8391
fdc1b7d3
OH
83922012-05-24 Olivier Hainque <hainque@adacore.com>
8393
8394 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
8395 Use a separate command for stamp removals.
8396
07ba94b9
AP
83972012-05-21 Andrew Pinski <apinski@cavium.com>
8398
8399 PR bootstrap/53183
8400 * configure.ac: Define the default includes to being none.
8401 * configure: Regenerate.
8402
4677d2eb
OH
84032012-05-16 Olivier Hainque <hainque@adacore.com>
8404
8405 * Makefile.in (install-unwind_h): Rename into ...
8406 (install-unwind_h-forbuild): New target.
8407 (all): Use it instead of the former install-unwind_h.
8408 (install-unwind_h): Reinstate, copy to user install destination
8409 for include files, not to the internal gcc object directory one.
8410 (install-leaf): Depend on it.
8411
7d67c380
OH
84122012-05-15 Olivier Hainque <hainque@adacore.com>
8413
8414 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
8415 register numbers. LR_REGNO replaces R_LR.
8416 (ucontext_for): New, helper for ...
8417 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
8418 and 5.3 of ...
8419 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
8420
aca06c90
RO
84212012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8422
8423 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
8424 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
8425 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
8426 i386/t-cpuinfo ...
8427 (i[34567]86-*-*, x86_64-*-*): ... here.
8428
8429 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
8430 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
8431
8432 * config/i386/i386-cpuinfo.c: Rename to ...
8433 * config/i386/cpuinfo.c: ... this.
8434 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
8435
8436 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
8437 (libgcc_cv_init_priority): New test.
8438 * configure: Regenerate.
8439 * config.in: New file.
8440 * Makefile.in (clean): Rename config.h to auto-target.h.
8441 (config.h): Likewise.
8442 (stamp-h): Likewise.
8443
8444 * config/i386/cpuinfo.c (auto-target.h): Include.
8445 (CONSTRUCTOR_PRIORITY): Define.
8446 (__cpu_indicator_init): Use it.
8447
0d03ac1b
L
84482012-05-09 H.J. Lu <hongjiu.lu@intel.com>
8449
8450 * longlong.h: Use a URL instead of an FSF postal address.
8451 Replace spaces with tab.
8452
4a172156 84532012-05-08 Teresa Johnson <tejohnson@google.com>
4e8ee9cb
TJ
8454
8455 * libgcov.c (gcov_clear, __gcov_reset): New functions.
8456 (__gcov_dump): Ditto.
8457 (gcov_dump_complete): New global variable.
8458 (gcov_exit): Export hidden to enable use in L_gcov_dump.
8459 (__gcov_flush): Outline functionality now in gcov_clear.
8460 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
8461
e4bb767e
AJ
84622012-04-28 Aurelien Jarno <aurelien@aurel32.net>
8463
31a18a7e
ILT
8464 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
8465 (mips*-*-linux*): Include mips/t-tpbit when long double is
8466 16 bytes long.
e4bb767e 8467
5ddecff9
ST
84682012-04-25 Sriraman Tallam <tmsriram@google.com>
8469
8470 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
8471 (get_available_features): New argument. Check for AVX2.
8472 (__cpu_indicator_init): Modify call to get_available_features.
8473
b427dd7a
AM
84742012-04-25 Alan Modra <amodra@gmail.com>
8475
8476 * config/rs6000/crtsavevr.S: New file.
8477 * config/rs6000/crtrestvr.S: New file.
8478 * config/rs6000/t-savresfgpr: Build the above.
8479 * config/rs6000/t-netbsd: Likewise.
8480
ad491329
ST
84812012-04-24 Sriraman Tallam <tmsriram@google.com>
8482
8483 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
8484
792317cc
ST
84852012-04-24 Sriraman Tallam <tmsriram@google.com>
8486
8487 * libgcc/config/i386/i386-cpuinfo.c: New file.
8488 * libgcc/config/i386/t-cpuinfo: New file.
8489 * libgcc/config.host: Include t-cpuinfo.
8490 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
8491
e1be98a4
CF
84922012-04-24 Chao-ying Fu <fu@mips.com>
8493
8494 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
8495
1bde7dab
TS
84962012-04-20 Thomas Schwinge <thomas@codesourcery.com>
8497
8498 struct siginfo vs. siginfo_t
8499
8500 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
8501 siginfo_t instead of struct siginfo.
8502 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
8503 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
8504 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
8505 (ia64_handle_unwabi): Likewise.
8506 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
8507 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
8508 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
8509 (sh_fallback_frame_state): Likewise.
8510 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
8511 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
8512
24590f66
L
85132012-04-02 H.J. Lu <hongjiu.lu@intel.com>
8514
8515 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
8516 system call number.
8517
9a9dcce8
EB
85182012-03-31 Eric Botcazou <ebotcazou@adacore.com>
8519
8520 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
8521 if it hasn't been previously saved.
8522
6401aaf5
L
85232012-03-29 H.J. Lu <hongjiu.lu@intel.com>
8524
8525 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
8526 only for glibc.
8527
7fd6378e
GJL
85282012-03-28 Georg-Johann Lay <avr@gjlay.de>
8529
8530 PR target/52737
8531 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
8532 instead of __AVR_HAVE_8BIT_SP__.
8533
9e916de7
TG
85342012-03-26 Tristan Gingold <gingold@adacore.com>
8535
8536 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
8537 (unw_table_entry): Use unw_word instead of unsigned long.
8538 (_Unwind_FindTableEntry): Likewise.
8539 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
8540 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
8541 (_Unwind_FindTableEntry): Likewise.
8542 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
8543 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
8544 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
8545 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
8546 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
8547 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
8548 (uw_init_context_1, uw_install_context): Likewise.
8549 (unw_word): Move to unwind-ia64.h
8550
4b12e93d
TG
85512012-03-26 Tristan Gingold <gingold@adacore.com>
8552
8553 * config/vms/vms-ucrt0.c: Update copyright years.
8554 Add a sanity check.
8555 (___gcc_main_flags): Declare.
8556 (__main): Check flags to remap argv and exit code.
8557 * config.host (*-*-*vms*): Adjust extra_parts.
8558 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
8559 (crt0.o): Add.
8560
06ea7371
RE
85612012-03-22 Richard Earnshaw <rearnsha@arm.com>
8562
8563 * arm/lib1funcs.asm (ctzsi2): New function.
8564 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
8565 * arm/t-linux (LIB1ASMFUNCS): Likewise.
8566 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
8567 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
8568 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
8569 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
8570
d82ad50d
AT
85712012-03-21 Andreas Tobler <andreast@fgznet.ch>
8572
8573 * config.host: Add bits to support powerpc64-*-freebsd*.
8574 * config/rs6000/freebsd-unwind.h: New file.
8575 * config/rs6000/t-freebsd64: New file.
8576
b260a8c0
RG
85772012-03-20 Richard Guenther <rguenther@suse.de>
8578
8579 PR gcov-profile/52627
8580 * libgcov.c (init_mx): Fix mutex name.
8581
86286a8a
TG
85822012-03-16 Tristan Gingold <gingold@adacore.com>
8583
8584 * config/ia64/vms-unwind.h: Remove ulong (and replace
8585 it by unw_reg where used). Define unw_reg with __int64.
8586
7888f266
RO
85872012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8588
8589 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
8590 Solaris 8 handling.
8591 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
8592 Solaris 8 handling.
8593 (sparc_is_sighandler): Likewise.
8594
f155bc64
L
85952012-03-13 H.J. Lu <hongjiu.lu@intel.com>
8596
8597 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
8598 <= saved reg size.
8599
d47657bd
RO
86002012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8601
8602 * config/arm/crtn.S: Fix typo.
8603
5bef73a1
RG
86042012-03-13 Richard Guenther <rguenther@suse.de>
8605
8606 * libgcov.c: Remove stdio.h include and NULL un-define.
8607
9c4271f3
RG
86082012-03-13 Richard Guenther <rguenther@suse.de>
8609
8610 PR target/52569
8611 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
8612
c6d10e7c
RG
86132012-03-13 Richard Guenther <rguenther@suse.de>
8614
8615 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
8616
074a385f
RG
86172012-03-13 Richard Guenther <rguenther@suse.de>
8618
8619 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
8620 and __gthread_mutex_init_function definitions.
8621
c4bc5c25
RO
86222012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8623
8624 * config.host (mips*-*-openbsd*): Remove.
8625
5c30094f
RO
86262012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8627
8628 * config.host: Remove alpha*-dec-osf5.1* handling.
8629 * config/alpha/gthr-posix.c: Remove.
8630 * config/alpha/libgcc-osf5.ver: Remove.
8631 * config/alpha/osf5-unwind.h: Remove.
8632 * config/alpha/t-osf-pthread: Remove.
8633 * config/alpha/t-slibgcc-osf: Remove.
8634 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
8635 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
8636 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
8637 * mkmap-flat.awk: Remove osf_export handling.
8638
33e3e24d
RG
86392012-03-12 Richard Guenther <rguenther@suse.de>
8640
8641 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
8642 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
8643 (__gthread_mutex_init_function): New function.
8644 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
8645
8646 PR gcov/49484
8647 * libgcov.c: Include gthr.h.
8648 (__gcov_flush_mx): New global variable.
8649 (init_mx, init_mx_once): New functions.
8650 (__gcov_flush): Protect self with a mutex.
8651 (__gcov_fork): Re-initialize mutex after forking.
8652 * unwind-dw2-fde.c: Change condition under which to use
8653 __GTHREAD_MUTEX_INIT_FUNCTION.
8654
d8aba32a
TG
86552012-03-12 Tristan Gingold <gingold@adacore.com>
8656
8657 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
8658 * config/ia64/t-vms: Likewise.
8659
75ffafdc
MH
86602012-03-11 Michael Hope <michael.hope@linaro.org>
8661
4a172156
UB
8662 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
8663 for Thumb-2.
75ffafdc 8664
ef6c2c53
WL
86652012-03-07 Walter Lee <walt@tilera.com>
8666
8667 * config/tilepro/atomic.c: Rename "atomic_" prefix to
8668 "arch_atomic_".
8669 (atomic_xor): Rename and move definition to
8670 config/tilepro/atomic.h.
8671 (atomic_nand): Ditto.
8672 * config/tilepro/atomic.h: Rename "atomic_" prefix to
8673 "arch_atomic_".
8674 (arch_atomic_xor): Move from config/tilepro/atomic.c.
8675 (arch_atomic_nand): Ditto.
8676
4e30d980
GJL
86772012-03-07 Georg-Johann Lay <avr@gjlay.de>
8678
8679 PR target/52507
8680 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
8681
61108225
GJL
86822012-03-07 Georg-Johann Lay <avr@gjlay.de>
8683
8684 PR target/52505
8685 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
8686 from RAM.
8687
b30e10ab
GJL
86882012-03-07 Georg-Johann Lay <avr@gjlay.de>
8689
8690 PR target/52461
8691 PR target/52508
8692 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
8693 if RAMPZ affects reading from RAM.
8694 (__tablejump_elpm__): Ditto.
8695 (.xload): Ditto.
8696 (__movmemx_hi): Ditto.
8697 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
8698 (__do_global_dtors): Ditto.
8699 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
8700 (__movmemx_hi): Ditto.
8701
8993fde4
RH
87022012-03-05 Richard Henderson <rth@redhat.com>
8703
8704 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
8705 [ARM] (count_trailing_zeros): Use the builtin.
8706
b7633ee3
KT
87072012-03-01 Kai Tietz <ktietz@redhat.com>
8708
8709 * soft-fp: Imported from glibc upstream.
8710
fbd3340c
KT
87112012-02-28 Kai Tietz <ktietz@redhat.com>
8712
8713 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
8714 for mingw-targets as attribute gcc_struct.
8715
e9e053eb
ILT
87162012-02-28 Ian Lance Taylor <iant@google.com>
8717
8718 * generic-morestack.c (__splitstack_releasecontext): Correct call
8719 to __morestack_release_segments.
8720
d80c632e
ST
87212012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
8722
8723 PR target/52390
8724 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
8725 for __linux__ when removing signals from __morestack_fullmask.
8726
0253a8b1
GJL
87272012-02-23 Georg-Johann Lay <avr@gjlay.de>
8728
8729 PR target/52261
8730 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
8731
e10e461e
UW
87322012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8733
8734 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
8735 instead of HAVE_INITFINI_ARRAY.
8736 * config/ia64/crtend.S: Likewise.
8737
0c0c6398
KT
87382012-02-20 Kai Tietz <ktietz@redhat.com>
8739
d7470374
KT
8740 PR libstdc++/52300
8741 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
8742
0c0c6398
KT
8743 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
8744 to w32-unwind.h header.
8745
78c27266
RS
87462012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
8747
8748 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
8749 (mips*-*-linux*): Remove t-slibgcc-libgcc.
8750 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
8751 * config/mips/mips16.S (__mips16_rdhwr): Delete.
8752
5adeb246
RS
87532012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
8754
8755 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
8756
672ed313
IS
87572012-02-15 Iain Sandoe <iains@gcc.gnu.org>
8758
8759 PR libitm/52220
8760 * config/darwin-crt-tm.c: Correct typo.
e9e053eb 8761
e948a1fb
IS
87622012-02-15 Iain Sandoe <iains@gcc.gnu.org>
8763 Patrick Marlier <patrick.marlier@gmail.com>
8764
8765 PR libitm/52220
8766 * config/darwin-crt-tm.c: Generate dummy functions.
8767
6017aed3
IS
87682012-02-15 Iain Sandoe <iains@gcc.gnu.org>
8769 Patrick Marlier <patrick.marlier@gmail.com>
8770
8771 PR libitm/52042
8772 * config/darwin-crt-tm.c (getTMCloneTable): New function.
8773 (__doTMRegistrations): Call it.
e9e053eb 8774 (__doTMdeRegistrations): Likewise.
6017aed3 8775
2da8c1ad 87762012-01-15 Georg-Johann Lay <avr@gjlay.de>
7d296953
JJ
8777 Anatoly Sokolov <aesok@post.ru>
8778 Eric Weddington <eric.weddington@atmel.com>
2da8c1ad
GJL
8779
8780 PR target/52261
8781 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
8782 (__epilogue_restores__): Ditto.
8783
0f952eb4
EB
87842012-02-15 Eric Botcazou <ebotcazou@adacore.com>
8785
8786 PR target/51921
8787 PR target/52205
8788 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
8789 Solaris 11 and slightly reformat.
8790 (sparc_is_sighandler): Likewise.
8791
dd552284
WL
87922012-02-14 Walter Lee <walt@tilera.com>
8793
8794 * config.host: Handle tilegx and tilepro.
8795 * config/tilegx/sfp-machine.h: New file.
8796 * config/tilegx/sfp-machine32.h: New file.
8797 * config/tilegx/sfp-machine64.h: New file.
8798 * config/tilegx/t-crtstuff: New file.
8799 * config/tilegx/t-softfp: New file.
8800 * config/tilegx/t-tilegx: New file.
8801 * config/tilepro/atomic.c: New file.
8802 * config/tilepro/atomic.h: New file.
8803 * config/tilepro/linux-unwind.h: New file.
8804 * config/tilepro/sfp-machine.h: New file.
8805 * config/tilepro/softdivide.c: New file.
8806 * config/tilepro/softmpy.S: New file.
8807 * config/tilepro/t-crtstuff: New file.
8808 * config/tilepro/t-tilepro: New file.
8809
b59cbd50
JW
88102012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
8811
8812 PR libstdc++/51296
8813 PR libstdc++/51906
8814 * gthr-posix.h: Allow static initializer macros to be disabled.
8815 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
8816
6caf807f
CLT
88172012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
8818
8819 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
8820 Add t-slibgcc-libgcc to tmake_file.
8821 * config/mips/libgcc-mips16.ver: Revert previous patch.
8822 * config/mips/mips16.S (__mips16_rdhwr): Hide.
8823
7d296953
JJ
88242012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
8825 Jayant R Sonar <jayant.sonar@kpitcummins.com>
b25364a0
S
8826
8827 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
8828 * config/cr16/crti.S: New file.
8829 * config/cr16/crtlibid.S: New file.
8830 * config/cr16/crtn.S: New file.
8831 * config/cr16/lib1funcs.S: New file.
8832 * config/cr16/t-cr16: New file.
8833 * config/cr16/t-crtlibid: New file.
8834 * config/cr16/unwind-dw2.h: New file.
8835 * config/cr16/unwind-cr16.c: New file.
8836 * config/cr16/divmodhi3.c: New file.
8837
8ef03aa7
AM
88382012-01-25 Alan Modra <amodra@gmail.com>
8839
8840 * config/rs6000/t-linux64: Delete. Move..
8841 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
8842 * config/rs6000/t-linux: ..and libgcc flags to here.
8843
daecebc8
DR
88442012-01-22 Douglas B Rupp <rupp@gnat.com>
8845
8846 * config.host (i[34567]86-*-interix3*):
8ef03aa7 8847 Change triplet to i[34567]86-*-interix[3-9]*.
daecebc8
DR
8848 * configure: Regenerate.
8849
ddaf8125
RS
88502012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
8851 Richard Sandiford <rdsandiford@googlemail.com>
8852
8853 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
8854 * config/mips/mips16.S (__mips16_rdhwr): New function.
8855 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
8856
2cd8b32c
NS
88572012-01-11 Nathan Sidwell <nathan@acm.org>
8858
8859 * libgcov.c (__gcov_init): Ignore objects with no functions.
8860
cba300dd
GJL
88612012-01-10 Georg-Johann Lay <avr@gjlay.de>
8862
8863 PR target/49868
8864 Extend __pgmx semantics to linearize memory.
8865 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
8866 * config/avr/lib1funcs.S (__xload_1): New function.
8867 (__movmemx_qi, __movmemx_hi): New functions.
8868 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
8869 semantics.
9ffaf4bc 8870
3d137660
EB
88712012-01-09 Eric Botcazou <ebotcazou@adacore.com>
8872
8873 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
8874 purported sigacthandler address isn't null before dereferencing it.
8875 (sparc_is_sighandler): Likewise.
8876
bf4db96c
EB
88772012-01-09 Eric Botcazou <ebotcazou@adacore.com>
8878
8879 PR ada/41929
8880 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
8881 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
8882 (sparc_is_sighandler): Likewise.
8883 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
8884
1ab3568b
TG
88852012-01-06 Tristan Gingold <gingold@adacore.com>
8886
8887 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
8888 compatibility thunks...
8889 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
8890 (crtbeginS.o, crtendS.o): ... and these to ...
8891 * config/ia64/t-ia64-elf: ... this new file.
8892 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
8893 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
8894
925b0ed8
AK
88952012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8896
8897 * configure: Regenerate.
8898 * config/s390/t-crtstuff: Remove -fPIC.
8899
a99ad737
JW
89002012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
8901
8902 PR bootstrap/51006
8903 * enable-execute-stack-mprotect.c (getpagesize): Do not define
8904 for NetBSD.
8905
884f56d1
GJL
89062012-01-02 Georg-Johann Lay <avr@gjlay.de>
8907
8908 PR target/51345
8909 * config/avr/lib1funcs.S: Remove FIXME comments.
8910 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
8911
8c57e547
GJL
89122012-01-02 Georg-Johann Lay <avr@gjlay.de>
8913
8914 Implement light-weight DImode support.
8915 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
8916 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
8917 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
8918 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
8919
04dbc287
NS
89202011-12-30 Nathan Sidwell <nathan@acm.org>
8921
8922 * libgcov.c (gcov_crc32): Remove global var.
8923 (free_fn_data): New function.
8924 (buffer_fn_data): Pass in filename, more robust error recovery.
8925 (crc32_unsigned): New function.
8926 (gcov_exit): More robust detection of new program. More robust
8927 error recovery.
8928 (__gcov_init): Do not update program's crc here.
8929
8e1d97d4
TG
89302011-12-21 Tristan Gingold <gingold@adacore.com>
8931
8932 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
8933
9ffaf4bc
ILT
89342011-12-21 Ian Lance Taylor <iant@google.com>
8935
8936 * config/i386/morestack.S: Simplify CFI opcodes throughout.
8937
a0c8d0c1
ILT
89382011-12-20 Ian Lance Taylor <iant@google.com>
8939
8940 * config/i386/morestack.S (__morestack_non_split): If there is
8941 enough stack space already, don't split. Ask for more stack space
8942 than we required.
8943
69048898
SDJ
89442011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
8945
8946 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
8947 `sys/sdt.h'.
8948 (_Unwind_DebugHook): New function.
8949 (uw_restore_core_regs): New define.
8950 (unwind_phase2): Use uw_restore_core_regs instead of
8951 restore_core_regs.
8952 (unwind_phase2_forced): Likewise.
8953 (__gnu_Unwind_Resume): Likewise.
8954
1bb4b6a3
UB
89552011-12-20 Uros Bizjak <ubizjak@gmail.com>
8956
8957 * config/alpha/linux-unwind.h: Update copyright years.
8958 (MD_FROB_UPDATE_CONTEXT): New define.
8959 (alpha_frob_update_context): New function.
8960
eb028768
RS
89612011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
8962
8963 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
8964 tmake_file rather replacing it.
8965
6a2045bf
IS
89662011-12-15 Iain Sandoe <iains@gcc.gnu.org>
8967
8968 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1bb4b6a3 8969 function is not used for PPC64.
6a2045bf
IS
8970 (save_world): Amend comments. Update the VRsave mask to reflect the
8971 saved regs.
8972 (rest_world): Update comments, do not clobber r10, do not use r8.
8973 (eh_rest_world_r10): Amend comments, do not use r8.
8974 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
8975 no longer used, move restore of CR and target address to the end of
8976 the routine.
8977
a13780a6
L
89782011-12-14 H.J. Lu <hongjiu.lu@intel.com>
8979
8980 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
8981 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
8982
d7288dfb
GJL
89832011-12-14 Georg-Johann Lay <avr@gjlay.de>
8984
8985 PR target/49313
8986 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
8987 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
8988
8d2c862d
EB
89892011-12-11 Eric Botcazou <ebotcazou@adacore.com>
8990
8991 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
8992
3447cae6
GJL
89932011-12-09 Georg-Johann Lay <avr@gjlay.de>
8994
8995 PR target/49313
8996 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
8997 * config/avr/lib1funcs.S (__muldi3): New function.
8998
806fc6aa
AP
89992011-12-06 Andrew Pinski <apinski@cavium.com>
9000
9001 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
9002 size of func_ptr.
9003 (__frame_dummy_init_array_entry): Likewise.
9004
28c5e6b5
GJL
90052011-12-06 Georg-Johann Lay <avr@gjlay.de>
9006
9007 Forward-port from gcc-4_6-branch r181936 2011-12-02.
9008
9009 PR target/51345
9010 PR target/51002
9011 * config/avr/lib1funcs.S (__prologue_saves__,
9012 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
9013 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
9014
8f90394a
IS
90152011-12-04 Iain Sandoe <iains@gcc.gnu.org>
9016
9017 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
9018
06dd33ac
JDA
90192011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9020
9021 PR other/51272
9022 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
9023 (_ITM_deregisterTMCloneTable): Likewise.
9024 (__register_frame_info): Fix unused warning.
9025 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
9026 pthread_default_stacksize_np): Likewise.
9027 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1bb4b6a3 9028
85b8555e
DD
90292011-11-29 DJ Delorie <dj@redhat.com>
9030
9031 * config.host (rl78-*-elf): New case.
9032 * config/rl78: New directory for the Renesas RL78.
9033
4d5ae4ea
BS
90342011-11-29 Bernd Schmidt <bernds@codesourcery.com>
9035
9036 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
9037 formatting.
9038
f9c55897
RO
90392011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9040
9041 PR other/51022
9042 * config/rs6000/t-savresfgpr: New file.
9043 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
9044 $(srcdir)/config/rs6000/eabi.S.
9045 * config/rs6000/t-ppccomm-ldbl: Remove.
9046 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
9047 tmake_file.
9048 (powerpc-*-eabispe*): Likewise.
9049 (powerpc-*-eabi*): Likewise.
9050 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9051 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
9052 to tmake_file, remove rs6000/t-ppccomm-ldbl.
9053 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
9054 tmake_file.
9055 (powerpc-*-eabisim*): Likewise.
9056 (powerpc-*-elf*): Likewise.
9057 (powerpc-*-eabialtivec*): Likewise.
9058 (powerpc-xilinx-eabi*): Likewise.
9059 (powerpc-*-rtems*): Likewise.
9060 (powerpcle-*-elf*): Likewise.
9061 (powerpcle-*-eabisim*): Likewise.
9062 (powerpcle-*-eabi*): Likewise.
9063
a01207c4
ILT
90642011-11-27 Ian Lance Taylor <iant@google.com>
9065
9066 * generic-morestack.c (__splitstack_find): Check for NULL old
9067 stack value.
9068 (__splitstack_resetcontext): New function.
9069 (__splitstack_releasecontext): New function.
9070 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
9071
2b0b8ab2
IS
90722011-11-27 Iain Sandoe <iains@gcc.gnu.org>
9073
9074 * config/darwin-crt-tm.c: Correct comments, use correct licence.
9075
c1d8101c
IS
90762011-11-27 Iain Sandoe <iains@gcc.gnu.org>
9077
9078 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
9079
8b281334
RH
90802011-11-26 Richard Henderson <rth@redhat.com>
9081
9082 * config/m68k/linux-atomic.c: New file.
9083 * config/m68k/t-linux: New file.
9084 * config.host (m68k-uclinux, m68k-linux): Use it.
9085
7546aa9d
RH
90862011-11-26 Richard Henderson <rth@redhat.com>
9087
9088 * crtstuff.c (__TMC_LIST__): Mark used not unused.
9089 (__TMC_END__): Only declare if hidden is available; in the definition,
9090 if hidden is unavailable add a null record.
9091 (deregister_tm_clones, register_tm_clones): New.
9092 (__do_global_dtors_aux, frame_dummy): Use them.
9093 (__do_global_dtors, __do_global_ctors_1): Likewise.
9094
e2362f5d
IS
90952011-11-22 Iain Sandoe <iains@gcc.gnu.org>
9096
9097 * config/darwin-crt-tm.c: New file.
9098 * config.host (darwin): Build crttms.o crttme.o to provide
9099 startup and shutdown for tm clones.
9100 * config/t-darwin (crttms.o): New build rule.
9101 (crttme.o): Likewise.
9102
6685dd96
HPN
91032011-11-21 Hans-Peter Nilsson <hp@axis.com>
9104
9105 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
9106 et al.
9107
b0dc7e4c
RH
91082011-11-21 Richard Henderson <rth@redhat.com>
9109
9110 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
9111 (__TMC_LIST__, __TMC_END__): New.
9112 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
9113 (__do_global_dtors): Likewise.
9114 (frame_dummy): Call _ITM_registerTMCloneTable.
9115 (__do_global_ctors_1): Likewise.
9116
d4b4b542
RO
91172011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9118
9119 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
9120 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
9121 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
9122 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
9123 * config/i386/t-darwin64: Remove.
9124 * config/sh/t-netbsd (LIB2ADD): Remove.
9125
989bdb74
GJL
91262011-11-21 Georg-Johann Lay <avr@gjlay.de>
9127
9128 PR target/49313
9129 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
9130 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
9131 * config/avr/lib1funcs.S (wmov): New assembler macro.
9132 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
9133 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
9134 (__udivmod64): New function.
9135 (__negdi2): New function.
9136
515a0cfc
GP
91372011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
9138
9139 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
9140 *-*-freebsd*aout*): Remove.
9141
0115d17f
HPN
91422011-11-20 Hans-Peter Nilsson <hp@axis.com>
9143
9144 * static-object.mk (c_flags-$o): Save c_flags.
9145 ($(base)$(objext)): Use it.
9146
93aeb62b
SE
91472011-11-18 Steve Ellcey <sje@cup.hp.com>
9148
9149 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
9150
7bc6df2c
GJL
91512011-11-18 Georg-Johann Lay <avr@gjlay.de>
9152
9153 PR target/49868
9154 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
9155 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
9156 New functions.
9157
425d737b
MGD
91582011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
9159
9160 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
9161 functions.
1bb4b6a3 9162 (aeabi_uidivmod): Likewise.
425d737b
MGD
9163 (umodsi3): Likewise.
9164 (divsi3): Likewise.
9165 (aeabi_idivmod): Likewise.
9166 (modsi3): Likewise.
9167
f2a176dc
TG
91682011-11-16 Tristan Gingold <gingold@adacore.com>
9169
9170 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
9171
7c209481
GJL
91722011-11-15 Georg-Johann Lay <avr@gjlay.de>
9173
9174 PR target/49868
9175 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
9176 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
9177
9dfd5832
JDA
91782011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9179
9180 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
9181 tmake_file list.
9182 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
9183 * config/pa/t-stublib64: Delete.
9184
f77dca5d
RH
91852011-11-12 Richard Henderson <rth@redhat.com>
9186
9187 * config/rs6000/linux-unwind.h (frob_update_context): Properly
9188 cast the pointer argument to _Unwind_SetGRPtr.
9189
902828f0
RO
91902011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9191
9192 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
9193
e14304ef
ILT
91942011-11-09 Ian Lance Taylor <iant@google.com>
9195
9196 * generic-morestack.c: Include <string.h>.
9197 (uintptr_type): Define.
9198 (struct initial_sp): Add dont_block_signals field. Reduce size of
9199 extra array by 1.
9200 (allocate_segment): Set prev field to NULL. Don't set
9201 __morestack_current_segment or __morestack_segments.
9202 (__generic_morestack): Update current->prev and *pp after calling
9203 allocate_segment.
9204 (__morestack_block_signals): Don't do anything if
9205 dont_block_signals is set.
9206 (__morestack_unblock_signals): Likewise.
9207 (__generic_findstack): Check for initial_sp == NULL. Add casts to
9208 uintptr_type.
9209 (__splitstack_block_signals): New function.
9210 (enum __splitstack_content_offsets): Define.
9211 (__splitstack_getcontext, __splitstack_setcontext): New functions.
9212 (__splitstack_makecontext): New function.
9213 (__splitstack_block_signals_context): New function.
9214 (__splitstack_find_context): New function.
9215 * config/i386/morestack.S (__morestack_get_guard): New function.
9216 (__morestack_set_guard, __morestack_make_guard): New functions.
9217 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
9218
e3d871e4
RO
92192011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9220
9221 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
9222 (i[34567]86-*-mingw*): ... here.
9223 (x86_64-*-mingw*): ... here.
9224
e55cef40
RO
92252011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9226
9227 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
9228
5366b186
NS
92292011-11-07 Nathan Sidwell <nathan@acm.org>
9230
9231 * libgcov.c (struct gcov_fn_buffer): New struct.
9232 (buffer_fn_data): New helper.
9233 (gcov_exit): Rework for new gcov data structures.
9234
74155a6f
GJL
92352011-11-07 Georg-Johann Lay <avr@gjlay.de>
9236
9237 PR target/49313
9238 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
9239
200feb07
RO
92402011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9241
9242 * config.host (tmake_file): Correct comment.
9243 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
9244 t-libgcc-pic.
9245 (bfin*-uclinux*): Likewise.
9246 (bfin*-linux-uclibc*): Likewise.
9247 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
9248
9249 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
9250 assigning.
9251 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9252 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
9253 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9254 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
9255 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9256 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
9257 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
9258 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9259 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
9260 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
9261 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
9262 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
9263 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
9264
9265 * config/bfin/t-elf: Remove.
9266 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
9267
c9cd1a07
RO
92682011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9269
9270 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
9271 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
9272 (lm32-*-elf*, lm32-*-rtems*): Split into ...
9273 (lm32-*-elf*): ... this.
9274 (lm32-*-rtems*): ... and this.
9275 Add to tmake_file.
9276 (m32r-*-rtems*): Add to tmake_file.
9277 (moxie-*-rtems*): Likewise.
9278 (sparc-*-rtems*): Likewise.
9279 Remove t-rtems from tmake_file.
9280 (sparc64-*-rtems*): Likewise.
9281 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
9282 instead.
9283
9fbcc75d
RO
92842011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9285
9286 PR bootstrap/50982
9287 * config/gthr-posix.h: Move ...
9288 * gthr-posix.h: ... here.
9289 * config/gthr-lynx.h: Reflect this.
9290 * config/gthr-vxworks.h: Likewise.
9291 * config/rs6000/gthr-aix.h: Likewise.
9292 * configure.ac (target_thread_file): Likewise.
9293 * configure: Regenerate.
9294
76644b68
SH
92952011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
9296
9297 * config.host (arm*-*-rtemseabi*): New target.
9298
5e490f2a
JDA
92992011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9300
9301 PR other/50991
9302 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
9303 extra-parts.
9304
feeeff5c
JR
93052011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
9306
9307 * config.host (epiphany-*-elf*): New configuration.
9308 * config/epiphany: New Directory.
9309
d618bb2c
RC
93102011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
9311
9312 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
9313 * config/avr/t-rtems: New.
9314 Filter out _exit from LIB1ASMFUNCS.
9315
1bb6f778
DM
93162011-11-04 David S. Miller <davem@davemloft.net>
9317
9318 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
9319 * configure: Rebuild.
9320
9a7f7422
AK
93212011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9322
9323 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
9324 variable.
9325
e4fe948a
GJL
93262011-11-04 Georg-Johann Lay <avr@gjlay.de>
9327
9328 PR target/50931
9329 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
9330 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
9331
7084e037
JS
93322011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
9333
9334 PR target/50989
9335 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
9336
1a032034
RO
93372011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9338
9339 * config/c6x/t-elf (LIB2ADDEH): Set.
9340 * config/c6x/t-c6x-elf: Remove.
9341
d385f772
RO
93422011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9343
9344 * config/i386/sol2-ci.S: Rename to ...
9345 * config/i386/crti.S: ... this.
9346 * config/i386/sol2-cn.S: Rename to ...
9347 * config/i386/crtn.S: ... this.
9348 * config/sparc/sol2-ci.S: Rename to ...
9349 * config/sparc/crti.S: ... this.
9350 * config/sparc/sol2-cn.S: Rename to ...
9351 * config/sparc/crtn.S: ... this.
9352 * config/t-sol2 (CUSTOM_CRTIN): Remove.
9353 (crti.o, crtn.o): Remove.
9354
1ba878a9
TG
93552011-11-04 Tristan Gingold <gingold@adacore.com>
9356
9357 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
9358
02750c15
KK
93592011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
9360
9361 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
9362
bf86b067
HPN
93632011-11-03 Hans-Peter Nilsson <hp@axis.com>
9364
9365 * config.host (crisv32-*-none, cris-*-none): Remove.
9366 (crisv32-*-elf): Append to tmake_file, don't just set it.
9367 (cris-*-elf): Add missing t-fdpbit to tmake_file.
9368
d0bc53bd
RO
93692011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9370
9371 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
9372 (ecrtn$(objext)): Likewise.
9373 (ncrti$(objext)): Likewise.
9374 (ncrtn$(objext)): Likewise.
9375
036da830
AS
93762011-11-03 Andreas Schwab <schwab@redhat.com>
9377
9378 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
9379
d2a7d041
DM
93802011-11-02 David S. Miller <davem@davemloft.net>
9381
9382 * configure.ac: Set host_address on sparc too.
9383 * configure: Regenerate.
9384 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
9385 based upon host_address.
9386 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
9387
af8ed618
JM
93882011-11-02 Jason Merrill <jason@redhat.com>
9389
9390 * config/rs6000/t-ppccomm: Add missing \.
9391
5d1c8e77
RO
93922011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9393
9394 * gthr-single.h, gthr.h: New files.
9395 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
9396 config/gthr-vxworks.h, config/i386/gthr-win32.h,
9397 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
9398 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
9399 * config/i386/gthr-win32.c: Include "gthr-win32.h".
9400 * configure.ac (thread_header): New variable.
9401 Set it depending on target_thread_file.
9402 (gthr-default.h): Link from $thread_header.
9403 * configure: Regenerate.
9404 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
9405
852b75ed
RO
94062011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9407
9408 * configure.ac (tm_file_): New variable.
9409 Determine from tm_file.
9410 (tm_file, tm_defines): Substitute.
9411 * configure: Regenerate.
9412 * mkheader.sh: New file.
9413 * Makefile.in (clean): Remove libgcc_tm.h.
9414 ($(objects)): Depend on libgcc_tm.h.
9415 (libgcc_tm_defines, libgcc_tm_file): New variables.
9416 (libgcc_tm.h, libgcc_tm.stamp): New targets.
9417 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
9418 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
9419 ($(extra-parts)): Depend on libgcc_tm.h.
9420 * config.host (tm_defines, tm_file): New variable.
9421 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
9422 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
9423 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
9424 (avr-*-rtems*): Likewise.
9425 (avr-*-*): Likewise.
9426 (frv-*-elf): Likewise.
9427 (frv-*-*linux*): Likewise.
9428 (h8300-*-rtems*): Likewise.
9429 (h8300-*-elf*): Likewise.
9430 (i[34567]86-*-darwin*): Likewise.
9431 (x86_64-*-darwin*): Likewise.
9432 (rx-*-elf): Likewise.
9433 (tic6x-*-uclinux): Likewise.
9434 (tic6x-*-elf): Likewise.
9435 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
9436 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
9437 * config/i386/cygming-crtbegin.c: Likewise.
9438 * config/i386/cygming-crtend.c: Likewise.
9439 * config/ia64/fde-vms.c: Likewise.
9440 * config/ia64/unwind-ia64.c: Likewise.
9441 * config/libbid/bid_gcc_intrinsics.h: Likewise.
9442 * config/rs6000/darwin-fallback.c: Likewise.
9443 * config/stormy16/lib2funcs.c: Likewise.
9444 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
9445 * crtstuff.c: Likewise.
9446 * dfp-bit.h: Likewise.
9447 * emutls.c: Likewise.
9448 * fixed-bit.c: Likewise.
9449 * fp-bit.c: Likewise.
9450 * generic-morestack-thread.c: Likewise.
9451 * generic-morestack.c: Likewise.
9452 * libgcc2.c: Likewise.
9453 * libgcov.c: Likewise.
9454 * unwind-dw2-fde-dip.c: Likewise.
9455 * unwind-dw2-fde.c: Likewise.
9456 * unwind-dw2.c: Likewise.
9457 * unwind-sjlj.c: Likewise.
9458
f9989b51
RO
94592011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9460
9461 * configure.ac: Include ../config/picflag.m4.
9462 (GCC_PICFLAG): Call it.
9463 Substitute.
9464 * configure: Regenerate.
9465 * Makefile.in (gcc_srcdir): Remove.
9466 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
9467 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
9468 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
9469 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
9470 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
9471 Use $<.
9472 Remove comment.
9473 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
9474 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
9475 to refer to libgcc2.c.
9476 Use $<.
9477 * config/darwin-64.c: New file.
9478 * config/darwin-crt3.c: Remove comment.
9479 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
9480 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
9481 config/udivmodsi4.c: New files.
9482 * config/memcmp.c, config/memcpy.c, config/memmove.c,
9483 config/memset.c: New files.
9484 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
9485 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
9486 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
9487 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
9488 * config/t-openbsd-thread: New file.
9489 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
9490 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
9491 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
9492 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
9493 qrnnd.S.
9494 Adapt filename.
9495 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
9496 to refer to gthr-posix.c.
9497 * config/alpha/t-vms (LIB2ADD): Set.
9498 * config/alpha/vms-gcc_shell_handler.c: New file.
9499 * config/arm/bpabi.c, config/arm/fp16.c,
9500 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
9501 config/arm/unaligned-funcs.c: New files.
9502 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
9503 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
9504 * config/arm/t-linux: Likewise.
9505 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
9506 * config/arm/t-netbsd: New file.
9507 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
9508 * config/arm/t-symbian (LIB2ADD_ST): Set.
9509 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
9510 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9511 * config/bfin/t-elf: New file.
9512 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
9513 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
9514 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
9515 config/c6x/ltf.c: New files.
9516 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
9517 (HOST_LIBGCC2_CFLAGS): Set.
9518 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
9519 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9520 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
9521 New files.
9522 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
9523 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
9524 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
9525 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
9526 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
9527 files.
9528 * config/frv/t-frv (LIB2ADD): Set.
9529 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9530 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
9531 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
9532 config/h8300/popcounthi2.c: New files.
9533 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
9534 * config/i386/gthr-win32.c: New file.
9535 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
9536 * config/i386/t-cygwin: Likewise.
9537 * config/i386/t-darwin, config/i386/t-darwin64,
9538 config/i386/t-gthr-win32, config/i386/t-interix: New files.
9539 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
9540 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9541 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9542 * config/ia64/quadlib.c: New file.
9543 * config/ia64/t-hpux (LIB2ADD): Set.
9544 * config/ia64/t-ia64: Add comment.
9545 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
9546 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9547 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
9548 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
9549 * config/m32c/t-m32c (LIB2ADD): Set.
9550 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
9551 * config/m32r/t-m32r: Likewise.
9552 * config/m68k/fpgnulib.c: New file.
9553 * config/m68k/t-floatlib (LIB2ADD): Set.
9554 (xfgnulib.c): New target.
9555 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
9556 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
9557 * config/mep/t-mep (LIB2ADD): Set.
9558 * config/microblaze/divsi3.asm: Rename to divsi3.S.
9559 * config/microblaze/moddi3.asm: Rename to moddi3.S.
9560 * config/microblaze/modsi3.asm: Rename to modsi3.S.
9561 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
9562 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
9563 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
9564 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
9565 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
9566 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
9567 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
9568 New files.
9569 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
9570 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
9571 * config/pa/fptr.c, config/pa/lib2funcs.S,
9572 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
9573 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
9574 (LIB2ADD, LIB2ADD_ST): Set.
9575 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
9576 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
9577 Set.
9578 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
9579 * config/pdp11/t-pdp11: New file.
9580 * config/picochip/libgccExtras/adddi3.S,
9581 config/picochip/libgccExtras/ashlsi3.S,
9582 config/picochip/libgccExtras/ashrsi3.S,
9583 config/picochip/libgccExtras/clzsi2.S,
9584 config/picochip/libgccExtras/cmpsi2.S,
9585 config/picochip/libgccExtras/divmod15.S,
9586 config/picochip/libgccExtras/divmodhi4.S,
9587 config/picochip/libgccExtras/divmodsi4.S,
9588 config/picochip/libgccExtras/lshrsi3.S,
9589 config/picochip/libgccExtras/parityhi2.S,
9590 config/picochip/libgccExtras/popcounthi2.S,
9591 config/picochip/libgccExtras/subdi3.S,
9592 config/picochip/libgccExtras/ucmpsi2.S,
9593 config/picochip/libgccExtras/udivmodhi4.S,
9594 config/picochip/libgccExtras/udivmodsi4.S: New files.
9595 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
9596 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
9597 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
9598 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
9599 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
9600 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
9601 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
9602 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
9603 files.
9604 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
9605 (HOST_LIBGCC2_CFLAGS): Set.
9606 * config/rs6000/t-darwin64: New file.
9607 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
9608 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
9609 * config/rs6000/t-ppccomm (LIB2ADD): Add
9610 $(srcdir)/config/rs6000/tramp.S.
9611 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
9612 Add $(srcdir)/config/rs6000/eabi.S.
9613 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
9614 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
9615 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
9616 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
9617 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
9618 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
9619 * config/rs6000/tramp.S: New file.
9620 * config/s390/t-tpf: Remove.
9621 * config/sh/linux-atomic.S: New file.
9622 * config/sh/t-linux (LIB2ADD): Set.
9623 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
9624 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
9625 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
9626 to unwind-dw2.c.
9627 (HOST_LIBGCC2_CFLAGS): Set.
9628 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9629 * config/spu/divmodti4.c, config/spu/divv2df3.c,
9630 config/spu/float_disf.c, config/spu/float_unsdidf.c,
9631 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
9632 config/spu/mfc_multi_tag_release.c,
9633 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
9634 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
9635 config/spu/multi3.c: New files.
9636 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
9637 (HOST_LIBGCC2_CFLAGS): Set.
9638 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
9639 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
9640 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
9641 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
9642 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
9643 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
9644 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
9645 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
9646 config/stormy16/umodsi3.c: New files.
9647 * config/xtensa/lib2funcs.S: New file.
9648 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
9649 * config/xtensa/t-xtensa (LIB2ADD): Set.
9650 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
9651 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
9652 Add t-freebsd-thread to tmake_file for posix threads.
9653 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
9654 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
9655 (*-*-lynxos*): Likewise.
9656 (*-*-netbsd*): Likewise.
9657 (*-*-openbsd*): Likewise.
9658 Add t-openbsd-thread to tmake_file for posix threads.
9659 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
9660 (*-*-vxworks*): Set tmake_file.
9661 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
9662 (alpha*-*-freebsd*): Likewise.
9663 (alpha*-*-netbsd*): Likewise.
9664 (alpha*-*-openbsd*): Likewise.
9665 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
9666 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
9667 (alpha*-dec-*vms*): Likewise.
9668 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
9669 (bfin*-elf*): Add bfin/t-elf to tmake_file.
9670 (bfin*-uclinux*): Likewise.
9671 (bfin*-linux-uclibc*): Likewise.
9672 (crisv32-*-elf): Add cris/t-cris to tmake_file.
9673 (crisv32-*-none): Likewise.
9674 (cris-*-elf): Likewise.
9675 (cris-*-none): Likewise.
9676 (cris-*-linux*, crisv32-*-linux*): Likewise.
9677 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
9678 tmake_file.
9679 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
9680 tmake_file.
9681 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
9682 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
9683 (x86_64-*-elf*): Likewise.
9684 (i[34567]86-*-nto-qnx*): Likewise.
9685 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
9686 win32 threads.
9687 (x86_64-*-mingw*): Likewise.
9688 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
9689 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
9690 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
9691 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
9692 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
9693 tmake_file.
9694 (mipsisa64sr71k-*-elf*): Likewise.
9695 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
9696 (mips-*-elf*, mipsel-*-elf*): Likewise.
9697 (mips64-*-elf*, mips64el-*-elf*): Likewise.
9698 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
9699 (mips*-*-rtems*): Likewise.
9700 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
9701 to tmake_file.
9702 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
9703 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
9704 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
9705 (spu-*-elf*): Likewise.
9706 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
9707
45b86625
RO
97082011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9709
9710 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
9711 $(srcdir) to refer to $(LIB1ASMSRC).
9712 Use $<.
9713 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
9714 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
9715 config/arm/lib1funcs.S: New files.
9716 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
9717 * config/arm/t-arm: New file.
9718 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
9719 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
9720 config/arm/t-strongarm-elf: New files.
9721 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
9722 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
9723 * config/avr/lib1funcs.S: New file.
9724 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9725 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
9726 * config/c6x/lib1funcs.S: New file.
9727 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9728 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
9729 * config/frv/lib1funcs.S: New file.
9730 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9731 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
9732 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
9733 * config/ia64/__divxf3.asm: Rename to ...
9734 * config/ia64/__divxf3.S: ... this.
9735 Adapt lib1funcs.asm filename.
9736 * config/ia64/_fixtfdi.asm: Rename to ...
9737 * config/ia64/_fixtfdi.S: ... this.
9738 Adapt lib1funcs.asm filename.
9739 * config/ia64/_fixunstfdi.asm: Rename to ...
9740 * config/ia64/_fixunstfdi.S: ... this.
9741 Adapt lib1funcs.asm filename.
9742 * config/ia64/_floatditf.asm: Rename to ...
9743 * config/ia64/_floatditf.S: ... this.
9744 Adapt lib1funcs.asm filename.
9745 * config/ia64/lib1funcs.S: New file.
9746 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
9747 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9748 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
9749 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
9750 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
9751 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
9752 * config/mep/lib1funcs.S: New file.
9753 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9754 * config/mips/mips16.S: New file.
9755 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9756 * config/pa/milli64.S: New file.
9757 * config/pa/t-linux, config/pa/t-linux64: New files.
9758 * config/picochip/lib1funcs.S: New file.
9759 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9760 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
9761 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
9762 * config/sh/t-netbsd: New file.
9763 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
9764 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
9765 * config/sh/t-sh64: New file.
9766 * config/sparc/lb1spc.S: New file.
9767 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
9768 filename.
9769 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
9770 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
9771 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
9772 config/xtensa/lib1funcs.S: New files.
9773 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9774 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
9775 tmake_file.
9776 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
9777 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
9778 (arm*-*-linux*): Likewise.
9779 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
9780 arm*-*-linux-*eabi, add arm/t-linux otherwise.
9781 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
9782 (arm*-*-ecos-elf): Likewise.
9783 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
9784 (arm*-*-rtems*): Likewise.
9785 (arm*-*-elf): Likewise.
9786 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
9787 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
9788 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
9789 (bfin*-uclinux*): Likewise.
9790 (bfin*-linux-uclibc*): Likewise.
9791 (bfin*-rtems*): Likewise.
9792 (bfin*-*): Likewise.
9793 (fido-*-elf): Merge into m68k-*-elf*.
9794 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
9795 (frv-*-*linux*): Add frv/t-frv to tmake_file.
9796 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
9797 (h8300-*-elf*): Likewise.
9798 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
9799 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
9800 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
9801 (i[34567]86-*-mingw*): Likewise.
9802 (x86_64-*-mingw*): Likewise.
9803 (i[34567]86-*-interix3*): Likewise.
9804 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
9805 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
9806 (m68k-*-elf*): Also handle fido-*-elf.
9807 Add m68k/t-floatlib to tmake_file.
9808 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
9809 (m68k-*-linux*): Likewise.
9810 (m68k-*-rtems*): Likewise.
9811 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
9812 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
9813 sh64*-*-*.
9814 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
9815 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
9816 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
9817 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
9818 sh/t-netbsd to tmake_file.
9819 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
9820 (sh-*-rtems*): Add sh/t-sh to tmake_file.
9821 (sh-wrs-vxworks): Likewise.
9822 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
9823 *-leon[3-9]*.
9824 (v850*-*-*): Add v850/t-v850 to tmake_file.
9825 (vax-*-linux*): Add vax/t-linux to tmake_file.
9826 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
9827
5f73c6cc
RO
98282011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9829
9830 * crtstuff.c: New file.
9831 * Makefile.in (CRTSTUFF_CFLAGS): Define.
9832 (CRTSTUFF_T_CFLAGS): Define.
9833 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
9834 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
9835 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
9836 crtstuff.c.
9837 Use $<.
9838 (crtbeginT.o): Use $(objext).
9839 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
9840 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
9841 (gcc-extra-parts): Remove.
9842 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
9843 Set extra_parts.
9844 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9845 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
9846 Add t-crtstuff-pic to tmake_file.
9847 (*-*-lynxos*): New case.
9848 Set tmake_file, extra_parts.
9849 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
9850 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
9851 *-*-netbsdelf[2-9]*.
9852 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
9853 (*-*-rtems*): Set extra_parts.
9854 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
9855 (*-*-uclinux*): New case.
9856 Set extra_parts.
9857 (*-*-vms*): New case.
9858 Set tmake_file, extra_parts.
9859 (*-*-elf): Set extra_parts.
9860 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
9861 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
9862 vms/t-vms64.
9863 Set extra_parts.
9864 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
9865 Set extra_parts.
9866 (arm*-*-freebsd*): Add t-crtin to tmake_file.
9867 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
9868 (arm-wrs-vxworks): Append to tmake_file.
9869 Set extra_parts.
9870 (arm*-*-uclinux*): Set extra_parts.
9871 (arm*-*-ecos-elf): Likewise.
9872 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
9873 arm*-*-eabi*.
9874 (arm*-*-rtems*): Set extra_parts.
9875 (arm*-*-elf): Likewise.
9876 (avr-*-rtems*): Clear extra_parts.
9877 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
9878 Set extra_parts.
9879 (bfin*-uclinux*): Likewise.
9880 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
9881 (bfin*-rtems*): Append to tmake_file.
9882 Set extra_parts.
9883 (bfin*-*): Likewise.
9884 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
9885 (crisv32-*-elf): ... this.
9886 (crisv32-*-none): ... this.
9887 (cris-*-elf, cris-*-none): New cases.
9888 Add cris/t-elfmulti to tmake_file.
9889 (fr30-*-elf): Append to tmake_file.
9890 Set extra_parts.
9891 (frv-*-elf): Append to tmake_file, add frv/t-frv.
9892 Set extra_parts.
9893 (h8300-*-rtems*): Append to tmake_file.
9894 Set extra_parts.
9895 (h8300-*-elf*): Likewise.
9896 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
9897 Set extra_parts.
9898 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
9899 Set extra_parts.
9900 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
9901 (x86_64-*-elf*): Likewise.
9902 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
9903 (x86_64-*-freebsd*): Likewise.
9904 (x86_64-*-netbsd*): Likewise.
9905 (i[34567]86-*-linux*): Likewise.
9906 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
9907 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
9908 (x86_64-*-linux*): Likewise.
9909 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
9910 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
9911 tmake_file.
9912 Set extra_parts.
9913 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
9914 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
9915 Append to extra_parts, remove crtbegin.o, crtend.o.
9916 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
9917 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
9918 crtend.o, crtbeginS.o, crtendS.o.
9919 (ia64*-*-linux*): Comment extra_parts.
9920 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
9921 Set extra_parts.
9922 (iq2000*-*-elf*): Clear extra_parts.
9923 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
9924 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
9925 (m32r-*-elf*, m32r-*-rtems*): Split off ...
9926 (m32r-*-rtems*): ... this.
9927 Add m32r/t-m32r to tmake_file.
9928 (m68k-*-elf*): Add t-crtin to tmake_file.
9929 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
9930 (mcore-*-elf): Likewise.
9931 (microblaze*-*-*): Set extra_parts.
9932 (mips*-sde-elf*): New case.
9933 Set tmake_file, extra_parts.
9934 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
9935 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
9936 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
9937 tmake_file.
9938 Set extra_parts.
9939 (mipsisa64sr71k-*-elf*): Likewise.
9940 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
9941 (mips-*-elf*, mipsel-*-elf*): Likewise.
9942 (mips64-*-elf*, mips64el-*-elf*): Likewise.
9943 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
9944 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
9945 (mips*-*-rtems*): Likewise.
9946 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
9947 (moxie-*-*): Split into ...
9948 (moxie-*-elf, moxie-*-uclinux*): ... this.
9949 Add to extra_parts, remove crtbegin.o, crtend.o.
9950 (moxie-*-rtems*): New case.
9951 Set tmake_file.
9952 Clear extra_parts.
9953 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
9954 Set extra_parts.
9955 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
9956 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
9957 tmake_file.
9958 Set extra_parts.
9959 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
9960 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
9961 Set extra_parts.
9962 (powerpc-*-eabisim*): Likewise.
9963 (powerpc-*-elf*): Likewise.
9964 (powerpc-*-eabialtivec*): Likewise.
9965 (powerpc-xilinx-eabi*): Likewise.
9966 (powerpc-*-eabi*): Likewise.
9967 (powerpc-*-rtems*): Likewise.
9968 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
9969 tmake_file.
9970 Set extra_parts.
9971 (powerpc-*-lynxos*): Add to tmake_file.
9972 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
9973 rs6000/t-crtstuff, t-crtstuff-pic.
9974 Set extra_parts.
9975 (powerpcle-*-eabisim*): Likewise.
9976 (powerpcle-*-eabi*): Likewise.
9977 (rx-*-elf): Remove extra_parts.
9978 (s390x-ibm-tpf*): Set extra_parts.
9979 (score-*-elf): Set extra_parts.
9980 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9981 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9982 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9983 (sh64l*-*-netbsd*): Split into ...
9984 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
9985 Add t-crtstuff-pic to tmake_file.
9986 Set extra_parts.
9987 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
9988 Set extra_parts.
9989 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
9990 (sparc-*-elf*): Remove t-crtin from tmake_file.
9991 Add to extra_parts, remove crtbegin.o, crtend.o.
9992 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
9993 (sparc64-*-linux*): Likewise.
9994 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
9995 Add to extra_parts, remove crtbegin.o, crtend.o.
9996 (sparc64-*-elf*): Remove t-crtin from tmake_file.
9997 Add to extra_parts, remove crtbegin.o, crtend.o.
9998 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
9999 Add to extra_parts, remove crtbegin.o, crtend.o.
10000 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
10001 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
10002 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
10003 Set extra_parts.
10004 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
10005 Set extra_parts.
10006 (tic6x-*-*): Change to ...
10007 (tic6x-*-elf): ... this.
10008 Set extra_parts.
10009 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
10010 Set extra_parts.
10011 (am33_2.0-*-linux*): Add comment.
10012 (mep*-*-*): Add mep/t-mep to tmake_file.
10013 Set extra_parts.
10014 * config/alpha/t-vms: New file.
10015 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
10016 * config/arm/crti.S, config/arm/crtn.S: New files.
10017 * config/bfin/crti.S, config/bfin/crtn.S: New files.
10018 * config/bfin/crtlibid.S: New file.
10019 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
10020 * config/c6x/crti.S, config/c6x/crtn.S: New files.
10021 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
10022 (crti.o, crtin.o): New rules.
10023 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
10024 * config/c6x/t-uclinux: New file.
10025 * config/cris/t-elfmulti: New file.
10026 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
10027 * config/fr30/crti.S, config/fr30/crtn.S: New files.
10028 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
10029 * config/frv/t-frv: New file.
10030 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
10031 * config/h8300/crti.S, config/h8300/crtn.S: New files.
10032 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
10033 New files.
10034 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
10035 refer to cygming-crtbegin.c, cygming-crtend.c.
10036 Use $<.
10037 * config/i386/t-nto: New file.
10038 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
10039 * config/ia64/crti.S, config/ia64/crtn.S: New files.
10040 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
10041 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
10042 Use .S extension.
10043 Use $<.
10044 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
10045 (crtinitS.o): New rule.
10046 * config/ia64/vms-crtinit.S: New file.
10047 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
10048 * config/m32r/initfini.c: New file.
10049 * config/m32r/t-linux, config/m32r/t-m32r: New files.
10050 * config/m68k/crti.S, config/m68k/crtn.S: New files.
10051 * config/mcore/crti.S, config/mcore/crtn.S: New files.
10052 * config/mep/t-mep: New file.
10053 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
10054 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
10055 * config/mips/crti.S, config/mips/crtn.S: New files.
10056 * config/mips/t-crtstuff: New file.
10057 * config/mmix/crti.S, config/mmix/crtn.S: New files.
10058 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
10059 (CUSTOM_CRTIN): Set.
10060 ($(T)crti.o, $(T)crtn.o): Remove $(T),
10061 dependencies.
10062 Use $(srcdir) to refer to crti.S, crtn.S.
10063 Use .S extension, $<.
10064 * config/moxie/crti.asm: Rename to ...
10065 * config/moxie/crti.S: ... this.
10066 * config/moxie/crtn.asm: Rename to ...
10067 * config/moxie/crtn.S: ... this.
10068 * config/moxie/t-moxie: Remove.
10069 * config/pa/stublib.c: New file.
10070 * config/pa/t-stublib, config/pa/t-stublib64: New files.
10071 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
10072 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
10073 * config/rs6000/t-crtstuff: New file.
10074 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
10075 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
10076 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
10077 Make output file explicit.
10078 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
10079 Make output file explicit.
10080 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
10081 Make output file explicit.
10082 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
10083 Make output file explicit.
10084 * config/score/crti.S, config/score/crtn.S: New files.
10085 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
10086 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
10087 files.
10088 * config/sh/t-sh, config/sh/t-superh: New files.
10089 * config/sparc/t-linux64: New file.
10090 * config/spu/cache.S, config/spu/cachemgr.c: New files.
10091 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
10092 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
10093 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
10094 * config/t-crtin: Remove.
10095 * config/t-crtstuff-pic: New file.
10096 * config/t-sol2 (CUSTOM_CRTIN): Set.
10097 (crti.o, crtn.o): New rules.
10098 * config/vms/t-vms: New file.
10099 * config/vms/vms-ucrt0.c: New file.
10100 * config/xtensa/t-elf: New file.
10101
b040f2be
RO
101022011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10103
10104 * Makefile.in (SHLIB_NM_FLAGS): Set.
10105 * mkmap-flat.awk, mkmap-symver.awk: New files.
10106 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
10107 exceptions.
10108 * configure: Regenerate.
10109 * config/libgcc-glibc.ver: New file.
10110 * config/libgcc-libsystem.ver: New file.
10111 * config/t-libunwind (SHLIB_LC): Set.
10112 * config/t-linux: New file.
10113 * config/t-slibgcc (INSTALL_SHLIB): New.
10114 (SHLIB_INSTALL): Use it.
10115 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
10116 to mkmap-symver.awk.
10117 (SHLIB_MAPFILES): Don't append, adapt pathname.
10118 (SHLIB_VERPFX): Set.
10119 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
10120 to mkmap-symver.awk.
10121 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
10122 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
10123 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
10124 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
10125 to mkmap-flat.awk.
10126 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
10127 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
10128 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
10129 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
10130 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
10131 * config/i386/libgcc-darwin.10.4.ver,
10132 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
10133 New files.
10134 * config/i386/t-darwin: Remove.
10135 * config/i386/t-darwin64: Likewise.
10136 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
10137 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
10138 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
10139 * config/i386/t-linux: New file.
10140 * config/i386/t-mingw32: New file.
10141 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
10142 * config/ia64/t-glibc: Rename to ...
10143 * config/ia64/t-linux: ... this.
10144 (SHLIB_MAPFILES): Set.
10145 * config/ia64/t-glibc-libunwind: Rename to ...
10146 * config/ia64/t-linux-libunwind: ... this.
10147 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
10148 * config/ia64/t-slibgcc-hpux: New file.
10149 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
10150 * config/m68k/t-slibgcc-elf-ver: New file.
10151 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
10152 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
10153 to mkmap-flat.awk.
10154 * config/pa/t-slibgcc-hpux: New file.
10155 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
10156 files.
10157 * config/rs6000/libgcc-darwin.10.4.ver,
10158 config/rs6000/libgcc-darwin.10.5.ver: New files.
10159 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
10160 config/rs6000/libgcc-glibc.ver.
10161 * config/rs6000/libgcc-ppc64.ver: Rename to
10162 config/rs6000/libgcc-ibm-ldouble.ver.
10163 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
10164 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
10165 * config/rs6000/t-ldbl128: Rename to ...
10166 * config/rs6000/t-linux: ... this.
10167 (SHLIB_MAPFILES): Adapt filename.
10168 * config/rs6000/t-slibgcc-aix: New file.
10169 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
10170 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
10171 libgcc-excl.ver, libgcc-glibc.ver.
10172 (SHLIB_LINK, SHLIB_INSTALL): Remove.
10173 * config/sparc/libgcc-glibc.ver: New file.
10174 * config/sparc/t-linux: New file.
10175 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
10176 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
10177 t-slibgcc-elf-ver to tmake_file.
10178 Add t-slibgcc-nolc-override to tmake_file for posix threads on
10179 *-*-freebsd[34].
10180 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10181 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
10182 t-slibgcc-elf-ver, t-linux to tmake_file.
10183 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
10184 tmake_file.
10185 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
10186 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
10187 (alpha*-dec-*vms*): Likewise.
10188 (arm*-*-freebsd*): Append to tmake_file.
10189 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
10190 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
10191 arm*-*-linux-*eabi.
10192 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
10193 tmake_file for arm*-*-symbianelf*.
10194 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
10195 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
10196 cris/t-linux.
10197 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
10198 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
10199 pa/t-slibgcc-dwarf-ver to tmake_file.
10200 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
10201 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
10202 (hppa*64*-*-hpux11*): Likewise.
10203 (hppa[12]*-*-hpux11*): Likewise.
10204 (x86_64-*-darwin*): Don't override tmake_file, but only keep
10205 i386/t-crtpc, i386/t-crtfm.
10206 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
10207 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
10208 to tmake_file.
10209 Add i386/t-cygwin to tmake_file.
10210 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
10211 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
10212 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
10213 to tmake_file.
10214 Add i386/t-mingw32 to tmake_file.
10215 (x86_64-*-mingw*): Likewise.
10216 (ia64*-*-freebsd*): Append to tmake_file.
10217 (ia64*-*-linux*): Append to tmake_file.
10218 Replace ia64/t-glibc by ia64/t-linux.
10219 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
10220 system libunwind.
10221 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
10222 t-slibgcc-hpux to tmake_file.
10223 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
10224 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
10225 (m32rle-*-linux*): Likewise.
10226 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
10227 sjlj exceptions.
10228 (microblaze*-linux*): New case.
10229 Append to tmake_file, add t-slibgcc-nolc-override.
10230 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
10231 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
10232 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
10233 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10234 rs6000/t-slibgcc-aix to tmake_file.
10235 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10236 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10237 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10238 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10239 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10240 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
10241 sh*-*-linux*.
10242 (sparc-*-linux*): Append to tmake_file for *-leon*.
10243 Add sparc/t-linux to tmake_file for non-Leon targets.
10244 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
10245 (tic6x-*-uclinux): New case.
10246 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
10247 (tic6x-*-*): Add c6x/t-elf to tmake_file.
10248 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
10249 (am33_2.0-*-linux*): Append to tmake_file.
10250 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
10251 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
10252 x86_64-*-kfreebsd*-gnu.
10253 Add i386/t-linux to tmake_file.
10254
18b4bd7b
ILT
102552011-10-28 Ian Lance Taylor <iant@google.com>
10256
10257 * config/i386/morestack.S: Correct CFI information to do proper
10258 returns throughout function. In 32-bit mode, save %ebx so that it
10259 is restored on unwind.
10260
5b2d9d90
BS
102612011-10-25 Bernd Schmidt <bernds@codesourcery.com>
10262
10263 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
10264 case where B3 isn't the return register.
10265
0d53e346
BS
10266 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
10267 logic for doubleword pops.
10268
cbffbd59
AT
102692011-10-25 Andreas Tobler <andreast@fgznet.ch>
10270
10271 * config/rs6000/t-freebsd: Add wildcard.
10272
56dc349e
PB
102732011-10-21 Paul Brook <paul@codesourcery.com>
10274
10275 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
10276
1e06b07d
UB
102772011-10-16 Uros Bizjak <ubizjak@gmail.com>
10278 Eric Botcazou <ebotcazou@adacore.com>
10279
10280 PR target/50737
10281 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
10282 fs->signal_frame to 1.
10283
b5204884
ILT
102842011-10-07 Ian Lance Taylor <iant@google.com>
10285
10286 * generic-morestack-thread.c: #include <errno.h>.
10287
91a639a1
ILT
102882011-10-07 Ian Lance Taylor <iant@google.com>
10289
10290 PR target/46093
10291 * generic-morestack.c (__generic_morestack): Make sure the segment
10292 is large enough for both the stack frame and the copied
10293 parameters.
10294
cc49116d
RO
102952011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10296
10297 PR bootstrap/49804
10298 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
10299 extra_parts.
10300
2996d8c3
NC
103012011-09-28 Nick Clifton <nickc@redhat.com>
10302
10303 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
10304 64-bit doubles are not enabled.
10305 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
10306 and floatunsisf functions.
10307
1e874273 103082011-09-13 Paul Brook <paul@codesourcery.com>
2996d8c3 10309
1e874273
PB
10310 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
10311 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
10312 * unwind-arm-common.inc: New file.
10313 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
10314 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
10315 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
10316 * config/c6x/libunwind.S: New file.
10317 * config/c6x/pr-support.c: New file.
10318 * config/c6x/unwind-c6x.c: New file.
10319 * config/c6x/unwind-c6x.h: New file.
10320 * config/c6x/t-c6x-elf: New file.
10321
f70c879a
UB
103222011-08-23 Uros Bizjak <ubizjak@gmail.com>
10323
10324 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
10325 (ASM_DIVZERO): Ditto.
10326 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
10327
c55b374b
RS
103282011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
10329
10330 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
10331
1e138510
RS
103322011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
10333
10334 PR target/50090
10335 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
10336 instead of an assembly one.
10337
1563503d
PB
103382011-08-12 Paolo Bonzini <bonzini@gnu.org>
10339
10340 PR bootstrap/50047
10341 * Makefile.in (install-unwind_h): Create
10342 $(gcc_objdir)/include/unwind.h atomically.
10343
3627ac1a
RO
103442011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10345
10346 * Makefile.in (install-unwind_h): Remove destination file first.
10347
c6412d86
RO
103482011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10349
10350 * sync.c: New file.
10351 * config/mips/t-mips16: New file.
10352 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
10353 (mips*-*-linux*): Likewise.
10354 (mips*-sde-elf*): Likewise.
10355 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
10356 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
10357 Add mips/t-mips16 to tmake_file.
10358 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
10359 (mips-*-elf*): Likewise.
10360 (mips64-*-elf*): Likewise.
10361 (mips64orion-*-elf*): Likewise.
10362 (mips*-*-rtems*): Likewise.
10363 (mipstx39-*-elf*): Likewise.
10364 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
10365 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
10366 LIBGCC_SYNC_CFLAGS.
10367 Use $(srcdir) to refer to sync.c.
10368 Use $<.
10369 ($(libgcc-sync-funcs-o)): Likewise.
10370 ($(libgcc-sync-size-funcs-s-o)): Likewise.
10371 ($(libgcc-sync-funcs-s-o)): Likewise.
10372
3cb6e5bd
AS
103732011-08-09 Andreas Schwab <schwab@linux-m68k.org>
10374
10375 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
10376 t-libunwind.
10377
cca2207a
L
103782011-08-08 H.J. Lu <hongjiu.lu@intel.com>
10379
10380 PR other/48007
10381 * config/i386/value-unwind.h: New.
10382
ed39fbad
RS
103832011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
10384
10385 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
10386 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
10387 Add to tmake_file rather than overriding it.
10388
aca0b0b3
RO
103892011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10390
10391 * config/t-softfp: Remove.
10392 * soft-fp: Moved from ../gcc/config.
10393 * soft-fp/README: Remove t-softfp reference.
10394 * soft-fp/t-softfp: Move to config/t-softfp.
10395 (softfp_machine_header): Remove.
10396 (softfp_file_list): Remove config subdir.
10397 (soft-fp-objects): New variable.
10398 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
10399 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
10400 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
10401 * config/t-softfp-excl: New file.
10402 * config/t-softfp-sfdf: New file.
10403 * config/t-softfp-tf: New file.
10404 * config/no-sfp-machine.h: New file.
10405 * config/arm/sfp-machine.h: New file.
10406 * config/arm/t-softfp: New file.
10407 * config/c6x/sfp-machine.h: New file.
10408 * config/i386/32/t-fprules-softfp: Rename to ...
10409 * config/i386/32/t-softfp: ... this.
10410 (tifunctions, LIB2ADD): Remove.
10411 (softfp_int_modes): Override.
10412 * config/i386/64/t-softfp-compat (tf-functions): Remove config
10413 subdir.
10414 * config/i386/64/eqtf2.c: Likewise.
10415 * config/i386/64/getf2.c: Likewise.
10416 * config/i386/64/letf2.c: Likewise.
10417 * config/ia64/sft-machine.h: New file.
10418 * config/ia64/t-fprules-softfp: Rename to ...
10419 * config/ia64/t-softfp: ... this.
10420 * config/lm32/sfp-machine.h: New file.
10421 * config/moxie/t-moxie-softfp: Remove.
10422 * config/rs6000/ibm-ldouble-format: New file.
10423 * config/rs6000/ibm-ldouble.c: New file.
10424 * config/rs6000/libgcc-ppc-glibc.ver: New file
10425 * config/rs6000/libgcc-ppc64.ver: New file
10426 * config/rs6000/sfp-machine.h: New file.
10427 * config/rs6000/t-freebsd: New file.
10428 * config/rs6000/t-ibm-ldouble: New file.
10429 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
10430 libgcc-ppc-glibc.ver.
10431 * config/rs6000/t-linux64: New file.
10432 * config/rs6000/t-ppccomm (LIB2ADD): Add
10433 $(srcdir)/config/rs6000/ibm-ldouble.c.
10434 * config/rs6000/t-ppccomm-ldbl: New file.
10435 * config/score/sfp-machine.h: New file.
10436 * config.host (sfp_machine_header): Explain.
10437 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
10438 t-softfp to tmake_file.
10439 (arm*-*-uclinux*): Likewise.
10440 (arm*-*-ecos-elf): Likewise.
10441 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
10442 (arm*-*-rtems*): Likewise.
10443 (arm*-*-elf): Likewise.
10444 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
10445 in tmake_file.
10446 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
10447 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
10448 (lm32-*-uclinux*): Likewise.
10449 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
10450 t-softfp-excl, t-softfp.
10451 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
10452 (powerpc64-*-darwin*): Likewise.
10453 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
10454 to tmake_file.
10455 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
10456 tmake_file.
10457 (powerpc-*-eabisim*): Likewise.
10458 (powerpc-*-elf*): Likewise.
10459 (powerpc-*-eabialtivec*): Likewise.
10460 (powerpc-xilinx-eabi*): Likewise.
10461 (powerpc-*-rtems*): Likewise.
10462 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
10463 t-softfp-excl, t-softfp to tmake_file.
10464 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
10465 rs6000/t-ppccomm-ldbl to tmake_file.
10466 (powerpcle-*-elf*): Likewise.
10467 (powerpcle-*-eabisim*): Likewise.
10468 (powerpcle-*-eabi*): Likewise.
10469 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10470 rs6000/t-ibm-ldouble to tmake_file.
10471 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10472 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10473 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
10474 (tic6x-*-*): Likewise.
10475 (i[34567]86-*-darwin*, x86_64-*-darwin*,
10476 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
10477 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
10478 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
10479 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
10480 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
10481 t-softfp to tmake_file.
10482 * configure.ac (sfp_machine_header): Provide default if unset.
10483 Substitute.
10484 Link sfp-machine.h to config/$sfp_machine_header.
10485 * configure: Regenerate.
10486
569dc494
RO
104872011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10488
10489 * Makefile.in (double_type_size, long_double_type_size): Set.
10490 Remove $(fpbit-in-libgcc) support.
10491 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
10492 (fpbit-src): New variable.
10493 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
10494 Compile with -DFLOAT $(FPBIT_CFLAGS).
10495 Use $<.
10496 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
10497 Compile with $(FPBIT_CFLAGS).
10498 Use $<.
10499 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
10500 Compile with -DFLOAT $(TPBIT_CFLAGS).
10501 Use $<.
10502 * configure.ac (double_type_size, long_double_type_size):
10503 Determine and substitute.
10504 * configure: Regenerate.
10505 * fp-bit.c, fp-bit.h: New files.
10506 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
10507 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
10508 * config/mips/t-mips: New file.
10509 * config/mips/t-sdemtk: New file.
10510 * config/rs6000/ppc64-fp.c: New file.
10511 * config/rs6000/t-darwin (LIB2ADD): Add
10512 $(srcdir)/config/rs6000/ppc64-fp.c.
10513 * config/rs6000/t-ppc64-fp: New file.
10514 * config/rx/rx-lib.h: New file.
10515 * config/rx/t-rx (FPBIT): Set to true.
10516 ($(gcc_objdir)/fp-bit.c): Remove.
10517 (DPBIT): Set to true only with -m64bit-doubles.
10518 ($(gcc_objdir)/dp-bit.c): Remove.
10519 * config/sparc/t-softfp: Remove.
10520 * config/spu/t-elf: New file.
10521 * config/t-fdpbit, config/t-fpbit: New files.
10522 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
10523 (mips*-*-*): Likewise.
10524 (arm-wrs-vxworks): Likewise.
10525 (arm*-*-freebsd*): Likewise.
10526 (avr-*-rtems*): Add t-fpbit to tmake_file.
10527 (avr-*-*): Likewise.
10528 (bfin*-elf*): Add t-fdpbit to tmake_file.
10529 (bfin*-uclinux*): Likewise.
10530 (bfin*-linux-uclibc*): Likewise.
10531 (bfin*-rtems*): New case.
10532 Add t-fdpbit to tmake_file.
10533 (bfin*-*): Add t-fdpbit to tmake_file.
10534 (crisv32-*-elf): Likewise.
10535 (cris-*-linux*): Likewise.
10536 (fr30-*-elf): Likewise.
10537 (frv-*-elf, frv-*-*linux*): Likewise.
10538 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
10539 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
10540 (m32r-*-elf*): Likewise.
10541 (m32rle-*-elf*): Likewise.
10542 (m32r-*-linux*): Likewise.
10543 (m32rle-*-linux*): Likewise.
10544 (mcore-*-elf): Add t-fdpbit to tmake_file.
10545 (microblaze*-*-*): Likewise.
10546 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
10547 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
10548 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
10549 Fix typo.
10550 Add mips/t-tpbit to tmake-file.
10551 (mips*-*-linux*): Fix typo.
10552 (mips*-sde-elf*): New case
10553 Add mips/t-sdemtk unless using newlib.
10554 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
10555 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
10556 (mn10300-*-*): Likewise.
10557 (pdp11-*-*): Likewise.
10558 (picochip-*-*): Add t-fpbit to tmake_file.
10559 (powerpc-*-eabisimaltivec*): Likewise.
10560 (powerpc-*-eabisim*): Likewise.
10561 (powerpc-*-elf*): Likewise.
10562 (powerpc-*-eabialtivec*): Likewise.
10563 (powerpc-xilinx-eabi*): New case.
10564 Add t-fdpbit to tmake_file.
10565 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
10566 (powerpc-*-rtems*): Likewise.
10567 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
10568 tmake_file.
10569 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
10570 tmake_file.
10571 (powerpc-*-lynxos*): Likewise.
10572 (powerpcle-*-elf*): Likewise.
10573 (powerpcle-*-eabisim*): Likewise.
10574 (powerpcle-*-eabi*): Likewise.
10575 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10576 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
10577 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10578 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10579 (rx-*-elf): Add t-fdpbit to tmake_file.
10580 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10581 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10582 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10583 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
10584 sh*-*-netbsd*.
10585 (sh-*-rtems*): Add t-fdpbit to tmake_file.
10586 (sh-wrs-vxworks): Likewise.
10587 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
10588 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
10589 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
10590 (sparc64-*-rtems*): ... new case.
10591 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
10592 (spu-*-elf*): Likewise.
10593 Add spu/t-elf to tmake_file.
10594 (v850*-*-*): Add t-fdpbit to tmake_file.
10595 (xstormy16-*-elf): Likewise.
10596 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
10597 (mep*-*-*): Likewise.
10598
201cdb74
RO
105992011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10600
10601 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
10602 variables.
10603 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
10604 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
10605 (install-unwind_h): New target.
10606 (all): Depend on it.
10607 * config.host (unwind_header): New variable.
10608 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
10609 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10610 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
10611 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
10612 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
10613 Set unwind_header.
10614 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
10615 Set unwind_header.
10616 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
10617 arm*-*-eabi*.
10618 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
10619 Set unwind_header.
10620 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
10621 (ia64*-*-freebsd*): Likewise.
10622 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
10623 tmake_file.
10624 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
10625 $with_system_libunwind.
10626 (ia64*-*-hpux*): Set tmake_file.
10627 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
10628 (picochip-*-*): Set tmake_file.
10629 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
10630 md_unwind_header.
10631 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10632 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10633 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
10634 (xtensa*-*-elf*): Set tmake_file.
10635 (xtensa*-*-linux*): Likewise.
10636 * configure.ac: Include ../config/unwind_ipinfo.m4.
10637 Call GCC_CHECK_UNWIND_GETIPINFO.
10638 Link unwind.h to $unwind_header.
10639 * configure: Regenerate.
10640 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
10641 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
10642 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
10643 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
10644 * config/unwind-dw2-fde-darwin.c: New file.
10645 * config/arm/libunwind.S, config/arm/pr-support.c,
10646 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
10647 config/arm/unwind-arm.h,: New files.
10648 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
10649 config/ia64/t-eh-ia64, config/ia64/t-glibc,
10650 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
10651 config/ia64/t-vms, config/ia64/unwind-ia64.c,
10652 config/ia64/unwind-ia64.h: New files.
10653 * config/picochip/t-picochip: New file.
10654 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
10655 files.
10656 * config/rs6000/t-darwin (LIB2ADDEH): Set.
10657 * config/s390/t-tpf (LIB2ADDEH): Remove.
10658 * config/t-darwin (LIB2ADDEH): Set.
10659 * config/t-eh-dw2-dip: New file.
10660 * config/t-libunwind, config/t-libunwind-elf: New files.
10661 * config/t-sol2 (LIB2ADDEH): Remove.
10662 * config/xtensa/t-xtensa: New file.
10663
40f2f11f
L
106642011-08-02 H.J. Lu <hongjiu.lu@intel.com>
10665
10666 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
10667 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
10668 long long to check rt_sigreturn syscall.
10669
bd15e32c
AM
106702011-08-02 Alan Modra <amodra@gmail.com>
10671
10672 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
10673 Restore for indirect call bcrtl from correct stack slot, and only
10674 if cfa+40 isn't valid.
10675
655b30bf
JB
106762011-08-01 Julian Brown <julian@codesourcery.com>
10677
10678 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
10679 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
10680 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
10681
247eb06f
JB
106822011-08-01 Julian Brown <julian@codesourcery.com>
10683
10684 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
10685 (libgcc-std.ver.in): Use above.
10686 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
10687 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
10688 throughout file.
10689 * config/t-fixedpoint-gnu-prefix: New file.
10690 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
10691 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
10692 instead of __PFX__.
10693
02a8fe00
L
106942011-07-28 H.J. Lu <hongjiu.lu@intel.com>
10695
10696 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
10697 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
10698 for x86-64. Properly check __x86_64__ and __LP64__.
10699
5fce9126
L
107002010-07-28 H.J. Lu <hongjiu.lu@intel.com>
10701
10702 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
10703 version.
10704 (_FP_WS_TYPE): Likewise.
10705 (_FP_I_TYPE): Likewise.
10706
2374a88a
AM
107072011-07-28 Alan Modra <amodra@gmail.com>
10708
10709 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
10710 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
10711 in a plt call stub. Do restore r2 if stopped on bctrl.
10712
e44dbbe1
RO
107132011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10714
10715 * config.host (i[3456x]86-*-netware*): Remove.
10716 * config/i386/netware-crt0.c, config/i386/t-nwld,
10717 config/i386/t-slibgcc-nwld: Remove.
10718
bcead286
BS
107192011-07-15 Bernd Schmidt <bernds@codesourcery.com>
10720
10721 * config.host: Handle tic6x-*-*.
10722 * config/c6x/c6x-abi.h: New file.
10723
b3fe1584
RO
107242011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10725
10726 * config/i386/crtprec.c: New file.
10727 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
10728 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
10729 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
10730 (x86_64-*-darwin*): Likewise.
10731 (i[34567]86-*-solaris2*: Likewise.
10732
35d8090d
RO
107332011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10734
10735 * config/alpha/crtfastmath.c: New file.
10736 * config/i386/crtfastmath.c: New file.
10737 * config/ia64/crtfastmath.c: New file.
10738 * config/mips/crtfastmath.c: New file.
10739 * config/sparc/crtfastmath.c: New file.
10740
10741 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
10742 crtfastmath.c.
10743 Add -frandom-seed=gcc-crtfastmath.
10744 * config/alpha/t-crtfm: Remove.
10745 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
10746 * config/ia64/t-ia64 (crtfastmath.o): Remove.
10747
10748 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
10749 (alpha*-dec-osf5.1*): Likewise.
10750 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
10751 Add crtfastmath.o to extra_parts.
10752 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
10753 Add crtfastmath.o to extra_parts.
10754 (x86_64-*-darwin*): Likewise.
10755 (x86_64-*-mingw*): Likewise.
10756 (ia64*-*-elf*): Add t-crtfm to tmake_file.
10757 (ia64*-*-freebsd*): Likewise.
10758 (ia64*-*-linux*): Likewise.
10759 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
10760 Add crtfastmath.o to extra_parts.
10761
e141542e
RO
107622011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10763
10764 * config/darwin-crt3.o: New file.
10765 * config/rs6000/darwin-crt2.c: New file.
10766 * config/t-darwin: New file.
10767 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
10768 (crt2.o): New rule.
10769 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
10770 (powerpc-*-darwin*): Add crt2.o to extra_parts.
10771 (powerpc64-*-darwin*): Likewise.
10772
2d1efe2d
RO
107732011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10774
10775 * config/i386/netware-crt0.c: New file.
10776 * config/i386/t-nwld: Rename to ...
10777 * config/i386/t-slibgcc-nwld: ... this.
10778 * config/i386/t-nwld: New file.
10779 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
10780 tmake_file.
10781 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
10782 extra_parts.
10783
4a8bb046
RO
107842011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10785
10786 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
10787 i386/t-crtstuff.
10788 * configure: Regenerate.
10789
2d8d5935
RO
107902011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10791
10792 * dfp-bit.c, dfp-bit.h: New files.
10793 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
10794 variables.
10795 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
10796 ($(d64pbit-o)): Likewise.
10797 ($(d128pbit-o)): Likewise.
10798 * config/t-dfprules: New file.
10799 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
10800 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
10801 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
10802 (x86_64-*-linux*): Likewise.
10803 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
10804 (i[34567]86-*-cygwin*): Likewise.
10805 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
10806 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
10807
2c50b2c3
RO
108082011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10809
10810 * Makfile.in (LIBGCOV): New variable.
10811 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
10812 * libgcov.c: New file.
10813
a039d7c2
RO
108142011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10815
10816 * fixed-bit.c, fixed-bit.h: New files.
10817 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
10818 refer to fixed-bit.c.
10819
1e4b2746
JM
108202011-07-07 Joseph Myers <joseph@codesourcery.com>
10821
10822 * config.host (*local*): Remove.
10823
fbdd5d87
RO
108242011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10825
10826 PR target/39150
10827 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
10828 like i?86-*-solaris2.1[0-9]*.
10829 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
10830 * configure.ac (i?86-*-solaris2*): Likewise.
10831 * configure: Regenerate.
10832
9e7714f4
TS
108332011-07-06 Thomas Schwinge <thomas@schwinge.name>
10834
10835 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
10836 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
10837 md_unwind_header by splitting out of...
10838 (i[34567]86-*-linux*): ... this.
10839 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
10840 Remove md_unwind_header by splitting out of...
10841 (x86_64-*-linux*): ... this.
10842
6dab9931
GJL
108432011-07-04 Georg-Johann Lay <avr@gjlay.de>
10844
10845 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
10846
4be46d19
NC
108472011-06-28 Nick Clifton <nickc@redhat.com>
10848
10849 * config.host: Recognize all V850 variants.
10850
1da9434b
UB
108512011-06-22 Uros Bizjak <ubizjak@gmail.com>
10852
10853 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
10854
e4d48a4d
RO
108552011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10856
10857 * shared-object.mk (c_flags-$o): Save c_flags.
10858 ($(base)$(objext)): Use it.
10859 ($(base)_s$(objext)): Likewise.
10860
3801c801
BS
108612011-06-21 Bernd Schmidt <bernds@codesourcery.com>
10862
10863 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
10864 * libgcc-std.ver.in (GCC_4.7.0): New section.
10865
0ad8bb3b 108662011-06-16 Georg-Johann Lay <avr@gjlay.de>
1da9434b 10867
0ad8bb3b
GJL
10868 PR target/49313
10869 PR target/29524
10870 * config/avr/t-avr: Fix line endings.
10871 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
10872 _parityXX2.
10873
ea963999
OH
108742011-06-14 Olivier Hainque <hainque@adacore.com>
10875 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10876
10877 * config/mips/irix6-unwind.h: New file.
10878 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
10879
b11b0904
EB
108802011-06-10 Eric Botcazou <ebotcazou@adacore.com>
10881
10882 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
10883 (sparc64_fallback_frame_state): Use it.
10884 (sparc64_frob_update_context): Further adjust context.
10885 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
10886 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
10887 * config/sparc/sol2-cn.S: Likewise.
10888
10e48e39
RO
108892011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10890
10891 * enable-execute-stack-empty.c: New file.
10892 * enable-execute-stack-mprotect.c: New file.
10893 * config/i386/enable-execute-stack-mingw32.c: New file.
10894 * config.host (enable_execute_stack): New variable.
10895 Select appropriate variants.
10896 * configure.ac: Link enable-execute-stack.c to
10897 $enable_execute_stack.
10898 * configure: Regenerate.
10899 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
10900 (lib2funcs): Remove _enable_execute_stack.
10901
10c4cabc
DM
109022011-06-09 David S. Miller <davem@davemloft.net>
10903 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10904
10905 * config.host (sparc-*-linux*): Correct md_unwind_header
10906 filename.
10907 (s390x-ibm-tpf*): Fix typo.
10908
aa4203e7
RO
109092011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10910
10911 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
10912 Add crtfastmath.o to extra_parts.
10913 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
10914 mips/t-crtfm.
10915 * config/mips/t-crtfm: Remove.
10916
0defd786
JDA
109172011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
10918
10919 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
10920
82f247af
KK
109212011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
10922
10923 * config.host (sh*-*-linux*): Fix typo.
10924
58cd1d70
RO
109252011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10926
10927 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
10928 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
10929 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
10930 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
10931 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
10932 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
10933 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
10934 Wrap in !__MINGW64__.
10935 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
10936 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
10937 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
10938 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
10939 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
10940 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
10941 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
10942 Wrap in !__LP64__.
10943 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
10944 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
10945 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
10946 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
10947 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
10948 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
10949 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
10950 * config/no-unwind.h: New file.
10951 * config.host (md_unwind_header): Document.
10952 Define.
10953 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
10954 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
10955 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
10956 hppa[12]*-*-hpux11*): Set md_unwind_header.
10957 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
10958 Set md_unwind_header.
10959 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
10960 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
10961 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
10962 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
10963 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
10964 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
10965 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
10966 md_unwind_header.
10967 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
10968 * configure: Regenerate.
10969
737346fa
RO
109702011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10971
10972 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
10973 Set tmake_file, extra_parts.
10974 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
10975 Remove O32 support.
10976 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
10977 Remove O32 support.
10978 * config/mips/t-irix6: New file.
10979 * config/mips/t-slibgcc-irix: New file.
10980
c192cee6
RO
109812011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10982
10983 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
10984 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
10985
ee33b5f0
RO
109862011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10987
10988 * configure.ac (target_thread_file): Determine thread model.
10989 * configure: Regenerate.
10990 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
10991 * config/alpha/t-alpha: New file.
10992 * config/alpha/t-crtfm: Use $<.
10993 * config/alpha/t-ieee: New file.
10994 * config/alpha/t-osf-pthread: New file.
10995 * config/alpha/t-slibgcc-osf: New file.
10996 * config/alpha/libgcc-osf5.ver: New file.
10997
0699e415
RO
109982011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10999
11000 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
11001 tmake_file.
11002 Add crtfastmath.o to extra_parts.
11003
a3fab9c2
RO
110042011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11005
11006 * config/gmon-sol2.c: Reindent.
11007 Cleanup comments.
11008 Remove, correct casts.
11009 Use STDERR_FILENO, NULL.
11010 (BASEADDRESS): Remove.
11011 (minbrk): Remove.
11012 (errno, sbrk): Remove declarations.
11013 (monstartup) [hp300]: Remove.
11014 (mcount): Remove.
11015
ca24c5ad
RO
110162011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11017
11018 * Makefile.in (cpu_type): Define.
11019 * config.host (i[34567]86-*-rtems*): Handle it.
11020 (i[34567]86-*-solaris2*): Move body ...
11021 (*-*-solaris2*): ... here.
11022 New case, generalize.
11023 (sparc-*-elf*): Handle it.
11024 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
11025 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
11026 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
11027 Fold into ...
11028 (sparc*-*-solaris2*): ... this.
11029 New case.
11030 (sparc64-*-elf*): Handle it.
11031 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
11032 Merge ../gcc/config/i386/gmon-sol2.c.
11033 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
11034 Use C comments.
11035 Merge ../gcc/config/i386/sol2-gc1.asm.
11036 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
11037 Use C comments.
11038 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
11039 Use C comments.
11040 * config/i386/t-crtfm (crtfastmath.o): Use $<.
11041 * config/i386/t-crtstuff: New file.
11042 * config/i386/t-softfp: New file.
11043 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
11044 $(T)crti.o, $(T)crtn.o): Remove.
11045 (gcrt1.o): New rule.
11046 (TARGET_LIBGCC2_CFLAGS): Remove.
11047 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
11048 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
11049 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
11050 * config/sparc/t-sol2: New file.
11051 * config/sparc/t-crtfm: Move to ...
11052 * config/t-crtfm: ... this.
11053 Use $(cpu_type), $<.
11054 * config/t-crtin: New file.
11055 * config/sparc/t-softfp: New file.
11056 * config/sparc/t-softmul: New file.
11057 * config/t-rtems: New file.
11058 * config/t-slibgcc: New file.
11059 * config/t-slibgcc-elf-ver: New file.
11060 * config/t-slibgcc-gld: New file.
11061 * config/t-slibgcc-sld: New file.
11062 * config/t-sol2: New file.
11063 * configure.ac: Include ../config/lib-ld.m4.
11064 Call AC_LIB_PROG_LD_GNU.
11065 Substitute cpu_type.
11066 * configure: Regenerate.
11067
ad5f3d7b
BS
110682011-05-27 Bernd Schmidt <bernds@codesourcery.com>
11069
11070 PR bootstrap/49173
11071 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
11072 libgcc-std.ver in the build directory.
11073 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
11074 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
11075
cdbf4541
BS
110762011-05-25 Bernd Schmidt <bernds@codesourcery.com>
11077
11078 * libgcc-std.ver.in: New file.
11079 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
11080 variables.
11081 (libgcc-std.ver): New rule.
11082 * config/t-gnu-prefix: New file.
11083
c8028650
RO
110842011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11085
11086 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
11087
4a68b4ca
JM
110882011-05-10 Joseph Myers <joseph@codesourcery.com>
11089
11090 * config/i386/darwin-lib.h: New file.
11091
80cf2e08
JM
110922011-05-10 Joseph Myers <joseph@codesourcery.com>
11093
11094 * config/arm/symbian-lib.h: New.
11095
a3330c9d
CD
110962011-05-04 Chris Demetriou <cgd@google.com>
11097
11098 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
11099 (__x86.get_pc_thunk.bx): ...this.
11100 (__morestack): Adjust for rename, remove undef of __i686.
11101
6ace0756
CD
111022011-05-03 Chris Demetriou <cgd@google.com>
11103
11104 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
11105
ebb9f8b0
JM
111062011-03-22 Joseph Myers <joseph@codesourcery.com>
11107
11108 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
11109 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
11110 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
11111 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
11112 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
11113 Remove cases.
11114
9cfa1499
AT
111152011-03-14 Andreas Tobler <andreast@fgznet.ch>
11116
11117 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
11118 Adjust copyright year.
11119
457186f6
ILT
111202011-03-07 Ian Lance Taylor <iant@google.com>
11121
11122 * generic-morestack.c (__splitstack_find): Adjust returned stack
11123 pointer to include all registers pushed by __morestack.
11124
58c741a6
DK
111252011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
11126
11127 PR target/40125
11128 * configure.ac: Call ACX_NONCANONICAL_TARGET.
11129 (toolexecdir): Calculate and AC_SUBST.
11130 (toolexeclibdir): Likewise.
11131 * Makefile.in (target_noncanonical): Import.
11132 (toolexecdir): Likewise.
11133 (toolexeclibdir): Likewise.
11134 * configure: Regenerate.
11135
26716c44
NF
111362010-12-13 Nathan Froyd <froydnj@codesourcery.com>
11137
11138 PR target/46040
11139 * config/arm/bpabi.h: Rename to...
11140 * config/arm/bpabi-lib.h: ...this.
11141
b595b1a1
RO
111422010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11143
11144 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
11145 appropriate.
11146 * configure: Regenerate.
11147
a3abe41c
NF
111482010-11-24 Nathan Froyd <froydnj@codesourcery.com>
11149
11150 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
11151 __FLOAT_WORD_ORDER__.
11152 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
11153 Delete.
11154
455c8f48
RW
111552010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11156
11157 PR other/46202
11158 * Makefile.in (install-strip): New phony target.
11159
f3824a8b
ILT
111602010-11-07 Ian Lance Taylor <iant@google.com>
11161
11162 PR target/46089
11163 * config/i386/morestack.S (__morestack_large_model): New
11164 function.
11165
18ed6ee4
NF
111662010-10-23 Nathan Froyd <froydnj@codesourcery.com>
11167
11168 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
11169 Delete.
11170 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
11171
8ac7fdcb
NF
111722010-10-14 Nathan Froyd <froydnj@codesourcery.com>
11173
11174 * config/arm/bpabi.h: New file.
11175 * config/frv/frv-abi.h: New file.
11176
cdb388c2
ILT
111772010-10-01 Ian Lance Taylor <iant@google.com>
11178
11179 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
11180 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
11181
ef7c141c
L
111822010-10-01 H.J. Lu <hongjiu.lu@intel.com>
11183
11184 PR target/45858
11185 * config.host: Add the missing `$'.
11186
80920132
ME
111872010-09-30 Michael Eager <eager@eagercon.com>
11188
11189 * config.host: Add microblaze*-*-*.
11190 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
11191 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
11192 udivsi3.asm,umodsi3.asm}: New.
11193
6dace308
ILT
111942010-09-28 Ian Lance Taylor <iant@google.com>
11195
11196 * configure.ac: Adjust CFI test to test assembler directly rather
11197 than checking gcc preprocessor macro.
11198 * configure: Rebuild.
11199
b6110d6d
ILT
112002010-09-27 Ian Lance Taylor <iant@google.com>
11201
11202 * configure.ac: Test whether assembler supports CFI directives.
11203 * config.host: Only add t-stack and i386/t-stack-i386 to
11204 tmake_file if libgcc_cv_cfi is "yes".
11205 * configure: Rebuild.
11206
7458026b
ILT
112072010-09-27 Ian Lance Taylor <iant@google.com>
11208
11209 * generic-morestack.h: New file.
11210 * generic-morestack.c: New file.
11211 * generic-morestack-thread.c: New file.
11212 * config/i386/morestack.S: New file.
11213 * config/t-stack: New file.
11214 * config/i386/t-stack-i386: New file.
11215 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
11216 i386/t-stack-i386 to tmake_file.
11217
5b50fc0c
IS
112182010-09-21 Iain Sandoe <iains@gcc.gnu.org>
11219
11220 * Makefile.in (libgcc-extra-parts): Check for static archives and
11221 invoke ranlib after installing them.
11222 (gcc-extra-parts): Likewise.
11223 (install-leaf): Likewise.
11224
b93cf342
L
112252010-09-14 H.J. Lu <hongjiu.lu@intel.com>
11226
11227 * configure: Regenerated.
11228
996b42ef
KT
112292010-09-10 Kai Tietz <kai.tietz@onevision.com>
11230
b93cf342 11231 * configure: Regenerated.
996b42ef 11232
be1c764e
GP
112332010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
11234 Andrew Pinski <pinskia@gmail.com>
11235
1da9434b 11236 PR target/40959
be1c764e
GP
11237 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
11238
cc0ae0ca
L
112392010-09-06 H.J. Lu <hongjiu.lu@intel.com>
11240
11241 PR target/45524
11242 * configure: Regenerated.
11243
84f47d20
AS
112442010-09-06 Andreas Schwab <schwab@redhat.com>
11245
11246 * configure: Regenerate.
11247
4159fb8d
UB
112482010-09-03 Uros Bizjak <ubizjak@gmail.com>
11249
11250 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
11251 64bit targets.
11252 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
11253 for 64bit targets.
11254
0df8fcc8
UB
112552010-09-03 Uros Bizjak <ubizjak@gmail.com>
11256 Iain Sandoe <iains@gcc.gnu.org>
11257
11258 PR target/45476
11259 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
11260 LIB2FUNCS_EXCLUDE functions.
11261
3c39bca6
AK
112622010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11263
11264 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
11265 Include dfp.m4.
11266 * configure: Regenerate.
11267
d78552bd
UB
112682010-09-01 Uros Bizjak <ubizjak@gmail.com>
11269
11270 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
11271 i386/t-freebsd to tmake_file.
11272 * config/i386/t-freebsd: New file.
11273 * config/i386/libgcc-bsd.ver: New file.
11274
c5b79d4e
NF
112752010-07-23 Nathan Froyd <froydnj@codesourcery.com>
11276
11277 * config.host (powerpc*-eabispe*): Set tmake_file.
11278 (powerpc*-eabi*): Likewise.
11279 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
11280 crtbeginS, crtendS, crtbeginT.
11281
48b09a92
KH
112822010-06-12 Kazu Hirata <kazu@codesourcery.com>
11283
11284 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
11285 to tmake_file. Add crtfastmath.o to extra_parts.
11286 * config/mips/t-crtfm: New.
11287
7d296953 112882010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
a4389204
JS
11289
11290 * config.host (sparc64-*-rtems*): New target.
11291
ed104137
RO
112922010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11293
11294 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
11295 assembler syntax.
11296
3f56ef8b
TS
112972010-04-15 Thomas Schwinge <tschwinge@gnu.org>
11298
11299 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
11300
8c200350
RO
113012010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11302
11303 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
11304 alpha-dec-osf5.0* support.
11305
7d296953 113062010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
c1b14424
RC
11307
11308 * config.host: Add lm32-*-rtems*.
11309
f128db92 113102010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7d296953 11311 Uros Bizjak <ubizjak@gmail.com>
f128db92
RO
11312
11313 PR target/39048
11314 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
11315 like other remaining 32-bit x86 OSes.
11316 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
11317 assembler syntax.
11318 * config/i386/libgcc-sol2.ver: New file.
11319 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
11320
7d296953 113212010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
368fabd5
JH
11322
11323 PR c/43553
11324 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
11325 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
11326 is used and substitute set_use_emutls.
11327 * configure: Regenerated.
11328
15baf7f8
TG
113292010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
11330
11331 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
11332
7f5441df
RO
113332010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11334
11335 PR target/38085
11336 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
11337 MULTILIB_CFLAGS.
11338 ($(T)gcrt1.o): Likewise.
11339 ($(T)crt1.o): Likewise.
11340 ($(T)crti.o): Likewise.
11341 ($(T)crtn.o): Likewise.
11342
ef74edbd
RW
113432010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11344
11345 PR other/42980
11346 * Makefile.in (install): Use $(MAKE) string in rule, for
11347 parallel make.
11348
e7c914db
HPN
113492010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
11350
11351 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
11352 * config/mmix/t-mmix: New file.
11353 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
11354
1bcb71c4
JH
113552010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
11356
11357 PR java/41991
11358 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
11359 SHLIB_MAPFILES.
11360
e6e50811
AG
113612010-01-04 Anthony Green <green@moxielogic.com>
11362
11363 * config/moxie/crti.asm, config/moxie/crtn.asm,
11364 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
11365 config/moxie/t-moxie: New files.
11366 * config.host: Add t-moxie-softfp reference.
11367
7d296953 113682009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
ca8520ad
IS
11369
11370 PR other/39888
11371 * config/t-slibgcc-darwin: Fix embedded rpaths for
11372 --enable-version-specific-runtime-libs, build extension stub
11373 libs exposing features available from current libgcc_s.
11374
7d296953 113752009-11-11 Jon Beniston <jon@beniston.com>
aa4945c1 11376
d78552bd
UB
11377 * config.host: Add lm32 targets.
11378 * config/lm32: New directory.
11379 * config/lm32/libgcc_lm32.h: New file.
11380 * config/lm32/_mulsi3.c: New file.
11381 * config/lm32/_udivmodsi4.c: New file.
11382 * config/lm32/_divsi3.c: New file.
11383 * config/lm32/_modsi3.c: New file.
11384 * config/lm32/_udivsi3.c: New file.
11385 * config/lm32/_umodsi3.c: New file.
11386 * config/lm32/_lshrsi3.S: New file.
11387 * config/lm32/_ashrsi3.S: New file.
11388 * config/lm32/_ashlsi3.S: New file.
11389 * config/lm32/crti.S: New file.
11390 * config/lm32/crtn.S: New file.
11391 * config/lm32/t-lm32: New file.
11392 * config/lm32/t-elf: New file.
11393 * config/lm32/t-uclinux: New file.
aa4945c1 11394
65a324b4
NC
113952009-10-26 Nick Clifton <nickc@redhat.com>
11396
11397 * config.host: Add support for RX target.
11398 * config/rx: New directory.
11399 * config/rx/rx-abi-functions.c: New file. Supplementary
11400 functions for libgcc to support the RX ABI.
11401 * config/rx/rx-abi.h: New file. Supplementary header file for
11402 libgcc RX ABI functions.
11403 * config/rx/t-rx: New file: Makefile fragment for building
11404 libgcc for the RX.
11405
dfb3b0e3
UB
114062009-10-09 Uros Bizjak <ubizjak@gmail.com>
11407
11408 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
11409 constraint of y0 to "g".
11410
81dd9fd7
AK
114112009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11412
11413 * config.host: Include the s390 makefile fragments.
11414 * config/s390/32/_fixdfdi.c: New file.
11415 * config/s390/32/_fixsfdi.c: New file.
11416 * config/s390/32/_fixtfdi.c: New file.
11417 * config/s390/32/_fixunsdfdi.c: New file.
11418 * config/s390/32/_fixunssfdi.c: New file.
11419 * config/s390/32/_fixunstfdi.c: New file.
11420 * config/s390/32/t-floattodi: New file.
11421 * config/s390/libgcc-glibc.ver: New file.
11422 * config/s390/t-crtstuff: New file.
11423 * config/s390/t-linux: New file.
11424 * config/s390/t-tpf: New file.
11425
df58e648
RW
114262009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11427
11428 * configure.ac (AC_PREREQ): Bump to 2.64.
11429
79052be3
KK
114302009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
11431
11432 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
11433
5213506e
RW
114342009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11435
11436 * configure: Regenerate.
11437
a9a25daa
DR
114382009-08-09 Douglas B Rupp <rupp@gnat.com>
11439
11440 * config.host (ia64-hp-*vms*): New target.
11441 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
11442 with ia64-hp-*vms*.
11443
6efbd53f
RW
114442009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11445
11446 * configure.ac: Add snippet for maintainer-mode.
11447 * configure: Regenerate.
11448 * Makefile.in (AUTOCONF, configure_deps): New variables.
11449 ($(srcdir)/configure)): New rule, active only with maintainer
11450 mode turned on.
11451
7acf4da6
DD
114522009-06-23 DJ Delorie <dj@redhat.com>
11453
11454 Add MeP port.
11455 * config.host: Add mep support.
11456
54f549af
KT
114572009-06-22 Kai Tietz <kai.tietz@onevision.com>
11458
34481f28 11459 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 11460 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
34481f28
UB
11461
11462 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
11463 for mingw targets.
54f549af
KT
11464 * config/i386/64/_multc3.c: Likewise.
11465 * config/i386/64/_powitf2.c: Likewise.
11466 * config/i386/64/eqtf2.c: Likewise.
11467 * config/i386/64/getf2.c: Likewise.
11468 * config/i386/64/letf2.c: Likewise.
11469 * config/i386/64/letf2.c: Likewise.
34481f28
UB
11470 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
11471 unsigned long long for x64 mingw targets.
11472 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
11473 (_FP_I_TYPE): Define as long long for x64 mingw target.
54f549af 11474
fea96e25
MR
114752009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
11476
11477 * config.host (vax-*-linux*): New.
11478
cceb575c
AG
114792009-05-31 Anthony Green <green@moxielogic.com>
11480
11481 * config.host: Add moxie support.
11482 * config/moxie/t-moxie: New file.
11483
7d296953 114842009-05-29 David Billinghurst <billingd@gcc.gnu.org>
e997fb9c
DB
11485
11486 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 11487 t-softfp to tmake_file for i[34567]86-*-cygwin*.
e997fb9c 11488
532bfb0a
AJ
114892009-04-17 Aurelien Jarno <aurelien@aurel32.net>
11490
11491 * config.host: Add i386/${host_address}/t-fprules-softfp to
11492 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
11493
748086b7
JJ
114942009-04-09 Nick Clifton <nickc@redhat.com>
11495
11496 * config/ia64/tf-signs.c: Change copyright header to refer to
11497 version 3 of the GNU General Public License with version 3.1
11498 of the GCC Runtime Library Exception and to point readers at
11499 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
11500 web page.
11501 * config/i386/32/tf-signs.c: Likewise.
11502 * config/libbid/_addsub_dd.c: Likewise.
11503 * config/libbid/_addsub_sd.c: Likewise.
11504 * config/libbid/_addsub_td.c: Likewise.
11505 * config/libbid/_dd_to_df.c: Likewise.
11506 * config/libbid/_dd_to_di.c: Likewise.
11507 * config/libbid/_dd_to_sd.c: Likewise.
11508 * config/libbid/_dd_to_sf.c: Likewise.
11509 * config/libbid/_dd_to_si.c: Likewise.
11510 * config/libbid/_dd_to_td.c: Likewise.
11511 * config/libbid/_dd_to_tf.c: Likewise.
11512 * config/libbid/_dd_to_udi.c: Likewise.
11513 * config/libbid/_dd_to_usi.c: Likewise.
11514 * config/libbid/_dd_to_xf.c: Likewise.
11515 * config/libbid/_df_to_dd.c: Likewise.
11516 * config/libbid/_df_to_sd.c: Likewise.
11517 * config/libbid/_df_to_td.c: Likewise.
11518 * config/libbid/_di_to_dd.c: Likewise.
11519 * config/libbid/_di_to_sd.c: Likewise.
11520 * config/libbid/_di_to_td.c: Likewise.
11521 * config/libbid/_div_dd.c: Likewise.
11522 * config/libbid/_div_sd.c: Likewise.
11523 * config/libbid/_div_td.c: Likewise.
11524 * config/libbid/_eq_dd.c: Likewise.
11525 * config/libbid/_eq_sd.c: Likewise.
11526 * config/libbid/_eq_td.c: Likewise.
11527 * config/libbid/_ge_dd.c: Likewise.
11528 * config/libbid/_ge_sd.c: Likewise.
11529 * config/libbid/_ge_td.c: Likewise.
11530 * config/libbid/_gt_dd.c: Likewise.
11531 * config/libbid/_gt_sd.c: Likewise.
11532 * config/libbid/_gt_td.c: Likewise.
11533 * config/libbid/_isinfd128.c: Likewise.
11534 * config/libbid/_isinfd32.c: Likewise.
11535 * config/libbid/_isinfd64.c: Likewise.
11536 * config/libbid/_le_dd.c: Likewise.
11537 * config/libbid/_le_sd.c: Likewise.
11538 * config/libbid/_le_td.c: Likewise.
11539 * config/libbid/_lt_dd.c: Likewise.
11540 * config/libbid/_lt_sd.c: Likewise.
11541 * config/libbid/_lt_td.c: Likewise.
11542 * config/libbid/_mul_dd.c: Likewise.
11543 * config/libbid/_mul_sd.c: Likewise.
11544 * config/libbid/_mul_td.c: Likewise.
11545 * config/libbid/_ne_dd.c: Likewise.
11546 * config/libbid/_ne_sd.c: Likewise.
11547 * config/libbid/_ne_td.c: Likewise.
11548 * config/libbid/_sd_to_dd.c: Likewise.
11549 * config/libbid/_sd_to_df.c: Likewise.
11550 * config/libbid/_sd_to_di.c: Likewise.
11551 * config/libbid/_sd_to_sf.c: Likewise.
11552 * config/libbid/_sd_to_si.c: Likewise.
11553 * config/libbid/_sd_to_td.c: Likewise.
11554 * config/libbid/_sd_to_tf.c: Likewise.
11555 * config/libbid/_sd_to_udi.c: Likewise.
11556 * config/libbid/_sd_to_usi.c: Likewise.
11557 * config/libbid/_sd_to_xf.c: Likewise.
11558 * config/libbid/_sf_to_dd.c: Likewise.
11559 * config/libbid/_sf_to_sd.c: Likewise.
11560 * config/libbid/_sf_to_td.c: Likewise.
11561 * config/libbid/_si_to_dd.c: Likewise.
11562 * config/libbid/_si_to_sd.c: Likewise.
11563 * config/libbid/_si_to_td.c: Likewise.
11564 * config/libbid/_td_to_dd.c: Likewise.
11565 * config/libbid/_td_to_df.c: Likewise.
11566 * config/libbid/_td_to_di.c: Likewise.
11567 * config/libbid/_td_to_sd.c: Likewise.
11568 * config/libbid/_td_to_sf.c: Likewise.
11569 * config/libbid/_td_to_si.c: Likewise.
11570 * config/libbid/_td_to_tf.c: Likewise.
11571 * config/libbid/_td_to_udi.c: Likewise.
11572 * config/libbid/_td_to_usi.c: Likewise.
11573 * config/libbid/_td_to_xf.c: Likewise.
11574 * config/libbid/_tf_to_dd.c: Likewise.
11575 * config/libbid/_tf_to_sd.c: Likewise.
11576 * config/libbid/_tf_to_td.c: Likewise.
11577 * config/libbid/_udi_to_dd.c: Likewise.
11578 * config/libbid/_udi_to_sd.c: Likewise.
11579 * config/libbid/_udi_to_td.c: Likewise.
11580 * config/libbid/_unord_dd.c: Likewise.
11581 * config/libbid/_unord_sd.c: Likewise.
11582 * config/libbid/_unord_td.c: Likewise.
11583 * config/libbid/_usi_to_dd.c: Likewise.
11584 * config/libbid/_usi_to_sd.c: Likewise.
11585 * config/libbid/_usi_to_td.c: Likewise.
11586 * config/libbid/_xf_to_dd.c: Likewise.
11587 * config/libbid/_xf_to_sd.c: Likewise.
11588 * config/libbid/_xf_to_td.c: Likewise.
11589 * config/libbid/bid128.c: Likewise.
11590 * config/libbid/bid128_2_str.h: Likewise.
11591 * config/libbid/bid128_2_str_macros.h: Likewise.
11592 * config/libbid/bid128_2_str_tables.c: Likewise.
11593 * config/libbid/bid128_add.c: Likewise.
11594 * config/libbid/bid128_compare.c: Likewise.
11595 * config/libbid/bid128_div.c: Likewise.
11596 * config/libbid/bid128_fma.c: Likewise.
11597 * config/libbid/bid128_logb.c: Likewise.
11598 * config/libbid/bid128_minmax.c: Likewise.
11599 * config/libbid/bid128_mul.c: Likewise.
11600 * config/libbid/bid128_next.c: Likewise.
11601 * config/libbid/bid128_noncomp.c: Likewise.
11602 * config/libbid/bid128_quantize.c: Likewise.
11603 * config/libbid/bid128_rem.c: Likewise.
11604 * config/libbid/bid128_round_integral.c: Likewise.
11605 * config/libbid/bid128_scalb.c: Likewise.
11606 * config/libbid/bid128_sqrt.c: Likewise.
11607 * config/libbid/bid128_string.c: Likewise.
11608 * config/libbid/bid128_to_int16.c: Likewise.
11609 * config/libbid/bid128_to_int32.c: Likewise.
11610 * config/libbid/bid128_to_int64.c: Likewise.
11611 * config/libbid/bid128_to_int8.c: Likewise.
11612 * config/libbid/bid128_to_uint16.c: Likewise.
11613 * config/libbid/bid128_to_uint32.c: Likewise.
11614 * config/libbid/bid128_to_uint64.c: Likewise.
11615 * config/libbid/bid128_to_uint8.c: Likewise.
11616 * config/libbid/bid32_to_bid128.c: Likewise.
11617 * config/libbid/bid32_to_bid64.c: Likewise.
11618 * config/libbid/bid64_add.c: Likewise.
11619 * config/libbid/bid64_compare.c: Likewise.
11620 * config/libbid/bid64_div.c: Likewise.
11621 * config/libbid/bid64_fma.c: Likewise.
11622 * config/libbid/bid64_logb.c: Likewise.
11623 * config/libbid/bid64_minmax.c: Likewise.
11624 * config/libbid/bid64_mul.c: Likewise.
11625 * config/libbid/bid64_next.c: Likewise.
11626 * config/libbid/bid64_noncomp.c: Likewise.
11627 * config/libbid/bid64_quantize.c: Likewise.
11628 * config/libbid/bid64_rem.c: Likewise.
11629 * config/libbid/bid64_round_integral.c: Likewise.
11630 * config/libbid/bid64_scalb.c: Likewise.
11631 * config/libbid/bid64_sqrt.c: Likewise.
11632 * config/libbid/bid64_string.c: Likewise.
11633 * config/libbid/bid64_to_bid128.c: Likewise.
11634 * config/libbid/bid64_to_int16.c: Likewise.
11635 * config/libbid/bid64_to_int32.c: Likewise.
11636 * config/libbid/bid64_to_int64.c: Likewise.
11637 * config/libbid/bid64_to_int8.c: Likewise.
11638 * config/libbid/bid64_to_uint16.c: Likewise.
11639 * config/libbid/bid64_to_uint32.c: Likewise.
11640 * config/libbid/bid64_to_uint64.c: Likewise.
11641 * config/libbid/bid64_to_uint8.c: Likewise.
11642 * config/libbid/bid_b2d.h: Likewise.
11643 * config/libbid/bid_binarydecimal.c: Likewise.
11644 * config/libbid/bid_conf.h: Likewise.
11645 * config/libbid/bid_convert_data.c: Likewise.
11646 * config/libbid/bid_decimal_data.c: Likewise.
11647 * config/libbid/bid_decimal_globals.c: Likewise.
11648 * config/libbid/bid_div_macros.h: Likewise.
11649 * config/libbid/bid_dpd.c: Likewise.
11650 * config/libbid/bid_flag_operations.c: Likewise.
11651 * config/libbid/bid_from_int.c: Likewise.
11652 * config/libbid/bid_functions.h: Likewise.
11653 * config/libbid/bid_gcc_intrinsics.h: Likewise.
11654 * config/libbid/bid_inline_add.h: Likewise.
11655 * config/libbid/bid_internal.h: Likewise.
11656 * config/libbid/bid_round.c: Likewise.
11657 * config/libbid/bid_sqrt_macros.h: Likewise.
11658
116592009-04-09 Jakub Jelinek <jakub@redhat.com>
11660
11661 * Makefile.in: Change copyright header to refer to version
11662 3 of the GNU General Public License and to point readers at the
11663 COPYING3 file and the FSF's license web page.
11664 * config.host: Likewise.
11665
633dd061
AM
116662009-04-07 Alan Modra <amodra@bigpond.net.au>
11667
11668 * config.host: Reorder and merge to match config.gcc change.
11669
457d1d00
AM
116702009-04-03 Alan Modra <amodra@bigpond.net.au>
11671
11672 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
11673
52c0e446
JM
116742009-03-28 Joseph Myers <joseph@codesourcery.com>
11675
11676 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
11677 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
11678 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
11679 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
11680
ba181049
UB
116812009-02-12 Uros Bizjak <ubizjak@gmail.com>
11682
11683 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
11684 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
11685
c252db20
L
116862009-02-12 H.J. Lu <hongjiu.lu@intel.com>
11687
ba181049
UB
11688 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
11689 ia64/t-softfp-compat to tmake_file.
c252db20
L
11690
11691 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
11692
11693 * config/ia64/__divxf3.asm: New.
11694 * config/ia64/_fixtfdi.asm: Likewise.
11695 * config/ia64/_fixunstfdi.asm: Likewise.
11696 * config/ia64/_floatditf.asm: Likewise.
11697 * config/ia64/t-fprules-softfp: Likewise.
11698 * config/ia64/t-softfp-compat: Likewise.
11699 * config/ia64/tf-signs.c: Likewise.
11700
c60535f9
BE
117012009-01-18 Ben Elliston <bje@au.ibm.com>
11702
11703 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
11704
ce16861e
BE
117052009-01-16 Ben Elliston <bje@au.ibm.com>
11706
11707 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
11708 to tmake_file.
11709
bcf4713b
BE
117102009-01-13 Ben Elliston <bje@au.ibm.com>
11711
11712 * config/t-softfp: New file.
11713 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
11714 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
11715
7d296953 117162009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
2042cb04
JS
11717
11718 * config.host: Add m32r*-*-rtems*.
11719
7d296953 117202008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
541ed00e
JS
11721
11722 * config.host: Add m32c*-*-rtems*.
11723
19523300
RO
117242008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11725
11726 PR bootstrap/33100
11727 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
11728 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
11729 * configure: Regenerate.
11730 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
11731 tmake_file here from gcc/config.gcc.
11732 Move extra_parts here from gcc/config.gcc.
11733 * config/i386/t-sol2: Move here from gcc/config/i386.
11734 Use gcc_srcdir instead of srcdir.
11735
0a4a51c7
AN
117362008-11-18 Adam Nemet <anemet@caviumnetworks.com>
11737
11738 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
11739 case.
11740
2a761e46
TS
117412008-11-09 Thomas Schwinge <tschwinge@gnu.org>
11742
11743 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
11744
c0451df7
TS
117452008-10-08 Thomas Schwinge <tschwinge@gnu.org>
11746
11747 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
11748
358da97e
HS
117492008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
11750
11751 Add picoChip port.
11752 * config.host: Add picochip-*-*.
11753
c660f132
BW
117542008-08-06 Bob Wilson <bob.wilson@acm.org>
11755
11756 * config.host: Match more processor names for Xtensa.
11757
d1349557
L
117582008-07-08 H.J. Lu <hongjiu.lu@intel.com>
11759
11760 * config/i386/64/t-softfp-compat: Update comments.
11761
dd7b73c0
L
117622008-07-07 H.J. Lu <hongjiu.lu@intel.com>
11763
11764 * config/i386/64/_divtc3-compat.c: Moved to ...
11765 * config/i386/64/_divtc3.c: Here.
11766
11767 * config/i386/64/_multc3-compat.c: Moved to ...
11768 * config/i386/64/_multc3.c: Here.
11769
11770 * config/i386/64/_powitf2-compat.c: Moved to ...
11771 * config/i386/64/_powitf2.c: Here.
11772
11773 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
11774 .c suffix instead of -compat.c.
11775
6e1fab3d
UB
117762008-07-05 Uros Bizjak <ubizjak@gmail.com>
11777
11778 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
11779 (_FP_MUL_MEAT_D): Ditto.
11780 (_FP_DIV_MEAT_S): Ditto.
11781 (_FP_DIV_MEAT_D): Ditto.
11782
f92518d7
RS
117832008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
11784
11785 * Makefile.in: Add support for __sync_* libgcc functions.
11786
d0aede14
L
117872008-07-03 H.J. Lu <hongjiu.lu@intel.com>
11788
11789 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
11790
c174f11c
L
117912008-07-02 H.J. Lu <hongjiu.lu@intel.com>
11792
11793 PR boostrap/36702
11794 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
11795 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
11796
11797 * config/i386/64/t-fprules-softfp: Moved to ...
11798 * config/i386/64/t-softfp-compat: This. New.
11799
5f464fa2
UB
118002008-07-02 Uros Bizjak <ubizjak@gmail.com>
11801
11802 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
11803 Initialize f with 0.0.
11804
ff473280
L
118052008-07-02 H.J. Lu <hongjiu.lu@intel.com>
11806
11807 PR target/36669
11808 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
11809
11810 * config/i386/64/_divtc3-compat.c: New.
11811 * config/i386/64/_multc3-compat.c: Likewise.
11812 * config/i386/64/_powitf2-compat.c: Likewise.
11813 * config/i386/64/eqtf2.c: Likewise.
11814 * config/i386/64/getf2.c: Likewise.
11815 * config/i386/64/letf2.c: Likewise.
11816 * config/i386/64/t-fprules-softfp: Likewise.
11817
118182008-07-02 H.J. Lu <hongjiu.lu@intel.com>
11819
11820 * config.host: Add i386/${host_address}/t-fprules-softfp to
11821 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
dfb3b0e3 11822 i[34567]86-*-linux*, x86_64-*-linux*.
ff473280
L
11823
11824 * configure.ac: Set host_address to 64 or 32 for x86.
11825 * configure: Regenerated.
11826
11827 * Makefile.in (config.status): Also depend on
11828 $(srcdir)/config.host.
11829
11830 * config/i386/32/t-fprules-softfp: New.
11831 * config/i386/32/tf-signs.c: Likewise.
11832
11833 * config/i386/64/sfp-machine.h: New. Moved from gcc.
11834
118352008-07-02 H.J. Lu <hongjiu.lu@intel.com>
11836 Uros Bizjak <ubizjak@gmail.com>
11837
11838 * config/i386/32/sfp-machine.h: New.
11839
30551d99
NF
118402008-06-26 Nathan Froyd <froydnj@codesourcery.com>
11841
11842 * config/rs6000/t-ppccomm: Remove rules that conflict with
11843 auto-generated rules.
11844
18c04407
RW
118452008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11846
11847 * configure.ac: sinclude override.m4.
11848 * configure: Regenerate.
11849
10fbe77a
BRF
118502008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
11851
11852 * configure: Regenerate.
11853
bc6d4c3f
JM
118542008-06-10 Joseph Myers <joseph@codesourcery.com>
11855
11856 * Makefile.in (DECNUMINC): Remove
11857 -I$(MULTIBUILDTOP)../../libdecnumber.
11858 * gstdint.h: New.
11859
cd985f66
JM
118602008-06-07 Joseph Myers <joseph@codesourcery.com>
11861
11862 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
11863 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
11864 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
11865 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
11866 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
11867 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
11868 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
11869 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
11870 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
11871 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
11872 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
11873 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
11874 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
11875 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
11876
93fea8d3
AL
118772008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
11878
11879 * config.host (sh2[lbe]*-*-linux*): Allow target.
11880
18724e30
NF
118812008-04-30 Nathan Froyd <froydnj@codesourcery.com>
11882
11883 * config/rs6000/t-ppccomm: Add build rules for new files.
11884 (LIB2ADD_ST): New variable.
11885
47583040
AH
118862008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
11887
11888 PR target/34210
11889 PR target/35508
11890 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
11891 * config/t-avr: New file. Build 16bit libgcc functions.
11892
cf8e67fe
JJ
118932008-03-02 Jakub Jelinek <jakub@redhat.com>
11894
11895 PR target/35401
11896 * config/t-slibgcc-darwin: Make install-leaf dependent on
11897 install-darwin-libgcc-stubs instead of install.
11898
8d8da227
JM
118992008-01-25 Joseph Myers <joseph@codesourcery.com>
11900
11901 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
11902 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
11903 sh-*-rtemscoff*): Remove cases.
11904
edbf8b16
RS
119052007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
11906
11907 * Makefile.in (all): Use install-leaf rather than install.
11908 (install): Split most of the rule into...
11909 (install-leaf): ...this new one.
11910
89deeaff
EK
119112007-12-19 Etsushi Kato <ek.kato@gmail.com>
11912 Paolo Bonzini <bonzini@gnu.org>
11913
11914 PR target/30572
5f464fa2
UB
11915 * Makefile.in: Use @shlib_slibdir@ substitution to get
11916 correct install name on darwin.
89deeaff 11917 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
dfb3b0e3 11918
4081d704
HPN
119192007-12-15 Hans-Peter Nilsson <hp@axis.com>
11920
11921 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
11922 cris-*-elf and cris-*-none.
11923 (crisv32-*-linux*): Similar, as cris-*-linux*.
11924
f43e89a3
RIL
119252007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
11926
11927 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
11928
b4e9c2c6
L
119292007-10-27 H.J. Lu <hongjiu.lu@intel.com>
11930
11931 PR regression/33926
11932 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
11933 * configure: Regenerated.
11934
b2a00c89
L
119352007-09-27 H.J. Lu <hongjiu.lu@intel.com>
11936
11937 * Makefile.in (dfp-filenames): Replace decimal_globals,
11938 decimal_data, binarydecimal and convert_data with
11939 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
11940 and bid_convert_data, respectively.
11941
8d2a9e0e
CF
119422007-09-17 Chao-ying Fu <fu@mips.com>
11943 Nigel Stephens <nigel@mips.com>
11944
11945 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
11946 * Makefile.in (fixed_point): Define.
11947 Check if fixed_point is yes to build support functions.
11948 * configure.ac: Check for fixed_point support.
11949 * configure: Regenerated.
11950 * gen-fixed.sh: New file to generate lists of fixed-point labels,
11951 funcs, modes, from, to.
11952
2b53935d
JJ
119532007-09-11 Janis Johnson <janis187@us.ibm.com
11954
11955 * Makefile.in (dfp-filenames): Add bid128_noncomp.
11956
2533577f
JJ
119572007-09-10 Janis Johnson <janis187@us.ibm.com>
11958
11959 * Makefile.in (dfp-filenames): Remove decUtility, add
11960 decDouble, decPacked, decQuad, decSingle.
11961
3ae3dbd6
HK
119622007-08-27 Hans Kester <hans.kester@ellips.nl>
11963
11964 * config.host : Add x86_64-elf target.
11965
22867d02
L
119662007-07-06 H.J. Lu <hongjiu.lu@intel.com>
11967
11968 * configure.ac (set_have_cc_tls): Add a missing =.
11969 * configure: Regenerated.
11970
6f461e76
L
119712007-07-06 H.J. Lu <hongjiu.lu@intel.com>
11972
11973 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
11974 and x86_64-*-linux*.
11975
11976 * config/t-tls: New file.
11977
dfb3b0e3 11978 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6f461e76
L
11979
11980 * configure.ac: Include ../config/enable.m4 and
11981 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
11982 supports TLS and substitute set_have_cc_tls.
11983 * configure: Regenerated.
11984
200359e8
L
119852007-07-04 H.J. Lu <hongjiu.lu@intel.com>
11986
11987 * Makefile.in: Use libbid for DFP when BID is enabled.
11988
76f5e200
DS
119892007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
11990
11991 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
dfb3b0e3 11992 extra_parts. Add config/i386/t-cygming to tmake_file.
76f5e200
DS
11993 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
11994
9bd196f0 119952007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
200359e8 11996 Danny Smith <dannysmith@users.sourceforge.net>
9bd196f0
ZM
11997
11998 PR target/29498
11999 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
12000 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
12001 * config/i386/t-crtfm: Compile crtfastmath.o with
12002 -minline-all-stringops.
12003
1910440e
RS
120042007-05-10 Richard Sandiford <richard@codesourcery.com>
12005
12006 * config.host (sparc-wrs-vxworks): New target.
12007
7d33c31d
KH
120082007-04-14 Kazu Hirata <kazu@codesourcery.com>
12009
12010 * config.host: Recognize fido.
12011
96fccd0d
JJ
120122007-04-04 Janis Johnson <janis187@us.ibm.com>
12013
12014 * configure: Check host, not target, for decimal float support.
12015
577565f9
UB
120162007-04-03 Uros Bizjak <ubizjak@gmail.com>
12017
12018 * config/i386/t-crtpc: New file.
12019 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5f464fa2 12020 (x86_64-*-linux*): Ditto.
577565f9 12021
ccf8e764
RH
120222007-02-30 Kai Tietz <kai.tietz@onevision.com>
12023
12024 * config.host (x86_64-*-mingw*): New target.
12025
79b87c74
MM
120262007-03-23 Michael Meissner <michael.meissner@amd.com>
12027 H.J. Lu <hongjiu.lu@intel.com>
12028
12029 * Makefile.in (enable_decimal_float): New.
12030 (DECNUMINC): Add
12031 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
12032 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
12033 (decbits-filenames): This.
12034 (decbits-objects): New.
12035 (libgcc-objects): Add $(decbits-objects).
12036
12037 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
12038 Substitute enable_decimal_float.
12039 * configure: Regenerated.
12040
8fce4e31
HPN
120412007-03-19 Hans-Peter Nilsson <hp@axis.com>
12042
12043 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
12044
e8bb4597
BM
120452007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
12046
12047 * Makefile.in (install-info): New dummy target.
12048
344189f9
BS
120492007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
12050
12051 * config.host (bfin*-linux-uclibc*): Set extra_parts.
12052
ac84c172
BM
120532007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
12054
12055 * Makefile.in: Add install-html and install-pdf dummy
12056 targets.
12057
cd5c2357
RS
120582007-02-05 Roger Sayle <roger@eyesopen.com>
12059 Daniel Jacobowitz <dan@codesourcery.com>
12060
12061 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
12062 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
12063 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
12064
d9a66f98
JJ
120652007-01-29 Janis Johnson <janis187@us.ibm.com>
12066
12067 * Makefile.in (dec-filenames): Add decExcept.
12068
9891ec5f
DJ
120692007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
12070
12071 PR bootstrap/30469
12072 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
12073 -fprofile-use.
12074
d6efbf5a
DJ
120752007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
12076
12077 * configure.ac: Add --enable-version-specific-runtime-libs.
12078 Correct $slibdir default.
12079 * configure: Regenerated.
12080
17caeff2
JM
120812007-01-23 Joseph Myers <joseph@codesourcery.com>
12082
12083 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
12084
5ea41e3a
AP
120852007-01-21 Andrew Pinski <pinskia@gmail.com>
12086
12087 PR target/30519
12088 * config.host (alpha*-*-linux*): Set extra_parts.
12089
26900826
KK
120902007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
12091
12092 * config/sh/t-linux: New.
12093 * config.host (sh*-*-linux*): Set tmake_file.
12094
97af925b
DJ
120952007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
12096
12097 * Makefile.in (install): Handle multilibs.
12098
b0088af7
BM
120992007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
12100
12101 * Makefile.in: Added .PHONY entry for documentation targets.
12102
e0a9456a
BM
121032007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
12104
12105 * Makefile.in: Add empty info, html, dvi, pdf targets.
12106
7fd453b4
MS
121072007-01-04 Mike Stump <mrs@apple.com>
12108
12109 * Makefile.in (MAKEINFO): Remove.
12110 (PERL): Likewise.
12111
14e8fc8b
PB
121122007-01-04 Paolo Bonzini <bonzini@gnu.org>
12113
12114 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
12115 * configure: Regenerate.
12116 * Makefile.in (host_subdir): Substitute it.
dfb3b0e3 12117 (gcc_objdir): Use it.
14e8fc8b 12118
1555beba
DJ
121192007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
12120
12121 * config.host (ia64*-*-linux*): Set tmake_file.
12122
79e6eaeb
DJ
121232007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
12124
12125 * Makefile.in (version): Define.
12126
fa958513
DJ
121272007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
12128 Paolo Bonzini <bonzini@gnu.org>
12129
12130 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
12131 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
12132 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
12133 config/sparc/t-crtfm, config/t-slibgcc-darwin,
12134 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
12135 shared-object.mk, siditi-object.mk, static-object.mk: New files.
12136 * configure: Generated.
818ab71a 12137\f
877e3c2a 12138Copyright (C) 2007-2022 Free Software Foundation, Inc.
818ab71a
JJ
12139
12140Copying and distribution of this file, with or without modification,
12141are permitted in any medium without royalty provided the copyright
12142notice and this notice are preserved.