]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
xtensa: Add clrsbsi2 insn pattern
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
3164de6a
GA
12022-06-01 H.J. Lu <hjl.tools@gmail.com>
2
3 PR libgcc/27576
4 * crtstuff.c (__EH_FRAME_BEGIN__): Aligned to pointer size.
5
3dff965c
GA
62022-05-25 Wilco Dijkstra <wilco.dijkstra@arm.com>
7
8 PR libgcc/105708
9 * config/aarch64/lse-init.c: Increase constructor priority.
10
112022-05-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
12
13 PR target/104689
14 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
15 Handle the !REG_UNSAVED case.
16 * unwind-dw2.c (execute_cfa_program): Fail toggle if !REG_UNSAVED.
17
57f2ce6a
GA
182022-05-20 Christophe Lyon <christophe.lyon@arm.com>
19
20 * Makefile.in (D32PBIT_FUNCS): Add _hf_to_sd and _sd_to_hf.
21 (D64PBIT_FUNCS): Add _hf_to_dd and _dd_to_hf.
22 (D128PBIT_FUNCS): Add _hf_to_td _td_to_hf.
23
242022-05-20 Christophe Lyon <christophe.lyon@arm.com>
25
26 * config.host: Add t-dfprules to AArch64 targets.
27
282022-05-20 Christophe Lyon <christophe.lyon@arm.com>
29
30 * configure: Regenerate.
31
9df4ffe4
GA
322022-05-13 Sebastian Pop <spop@amazon.com>
33
34 PR target/105162
35 * config/aarch64/lse.S: Define BARRIER and handle memory MODEL 5.
36 * config/aarch64/t-lse: Add a 5th memory model for _sync functions.
37
e8778989
GA
382022-05-10 Martin Liska <mliska@suse.cz>
39 Hans-Peter Helfert <peter-helfert@t-online.de>
40
41 PR gcov-profile/105535
42 * libgcov.h (struct gcov_info): Use gcov_unsigned_t for
43 n_functions.
44
6259d8aa
GA
452022-05-02 Martin Liska <mliska@suse.cz>
46
47 * libgcov-driver.c: Add ATTRIBUTE_UNUSED.
48
6b6f53d8
GA
492022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
50
51 * libgcov-util.c (ftw_read_file): Improve notice using xstrerror().
52 (gcov_profile_merge_stream): Likewise.
53
542022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
55
56 * libgcov-util.c (consume_stream): New.
57 (get_target_profiles_for_merge): Likewise.
58 (gcov_profile_merge_stream): Likewise.
59
602022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
61
62 * libgcov-util.c (ftw_read_file): Use size_t for strlen() variables.
63
642022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
65
66 * libgcov-util.c (read_gcda_file): Do not open file.
67 (ftw_read_file): Open file here.
68
692022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
70
71 * libgcov-util.c (read_gcda_file): Prepend new info object to global
72 list.
73 (ftw_read_file): Remove list append here.
74
752022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
76
77 * libgcov-util.c (read_gcda_file): Do not duplicate filename.
78 (ftw_read_file): Duplicate filename for read_gcda_file().
79
802022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
81
82 * gcov.h (__gcov_info_to_gcda): Mention __gcov_filename_to_gcfn().
83 (__gcov_filename_to_gcfn): Declare and document.
84 * libgcov-driver.c (dump_string): New.
85 (__gcov_filename_to_gcfn): Likewise.
86 (__gcov_info_to_gcda): Adjust comment to match C11 standard language.
87
882022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
89
90 * libgcov.h (gcov_seek): Remove define and declaration.
91
922022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
93
94 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Add mode
95 parameter. Pass mode to gcov_open() calls.
96 * libgcov-driver.c (dump_one_gcov): Add mode parameter. Pass mode to
97 gcov_exit_open_gcda_file() call.
98 (gcov_do_dump): Add mode parameter. Pass mode to dump_one_gcov()
99 calls.
100 (__gcov_dump_one): Open file for reading and writing.
101
1022022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
103
104 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Open file for
105 reading and writing.
106 * libgcov-util.c (read_gcda_file): Open file for reading.
107 * libgcov.h (gcov_open): Delete declaration.
108
1092022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
110
111 * libgcov-util.c (gcov_profile_merge): Return the list of merged
112 profiles. Accept empty target and source profile lists.
113
405eda0d
GA
1142022-04-08 Sergei Trofimovich <siarheit@google.com>
115
116 * config/ia64/fde-glibc.c: Make a no-op in inhibit_libc mode.
117
9f774626
GA
1182022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
119 Lulu Cheng <chenglulu@loongson.cn>
120
121 * configure: Regenerate file.
122
1232022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
124 Lulu Cheng <chenglulu@loongson.cn>
125
126 * config/loongarch/crtfastmath.c: New file.
127 * config/loongarch/linux-unwind.h: Like wise.
128 * config/loongarch/sfp-machine.h: Like wise.
129 * config/loongarch/t-crtstuff: Like wise.
130 * config/loongarch/t-loongarch: Like wise.
131 * config/loongarch/t-loongarch64: Like wise.
132 * config/loongarch/t-softfp-tf: Like wise.
133 * config.host: Add LoongArch tuples.
134 * configure.ac: Add LoongArch support.
135
d7f00da1
GA
1362022-03-19 Sergei Trofimovich <slyfox at gentoo dot org>
137
138 PR libgcc/86224
139 * config/m68k/lb1sf68.S (__mulsi3_internal): Internal, hidden alias
140 for __mulsi3.
141 (__udivsi3_internal, __divsi3_internal): Similarly.
142 (__umodsi3, __modsi3): Use the internal function names.
143
8cc4f9cd
GA
1442022-03-09 Tobias Burnus <tobias@codesourcery.com>
145
146 PR target/102215
147 * config/gcn/atomic.c (__sync_val_compare_and_swap_##SIZE): Move
148 a line up to non-arg-dependent value first.
149 (__ATOMIC_COMPARE_EXCHANGE): Define + call to generate
150 __atomic_compare_exchange_{1,2}.
151
8d96e14c
GA
1522022-03-04 Iain Sandoe <iain@sandoe.co.uk>
153
154 * config/rs6000/t-darwin-ehs: Add darwin-fallback.o.
155 * config/t-darwin-ehs: Add dependency on unwind.h.
156
756a6185
GA
1572022-02-24 Xi Ruoyao <xry111@mengyan1223.wang>
158
159 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call find_fde_tail
160 with 0 instead of NULL.
161
1622022-02-24 Jose E. Marchesi <jose.marchesi@oracle.com>
163
164 PR target/104656
165 * configure.ac: --disable-gcov if targetting bpf-*.
166 * configure: Regenerate.
167
e0b8716f
GA
1682022-01-25 Florian Weimer <fweimer@redhat.com>
169
170 PR libgcc/104207
171 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Add NULL check.
172
fc829782
GA
1732022-01-17 Martin Liska <mliska@suse.cz>
174
175 * libgcov-driver.c: Rename .c names to .cc.
176
9248ee41
GA
1772022-01-15 David <gccbugzilla@limegreensocks.com>
178
179 * config/i386/gthr-win32.c (__gthr_i486_lock_cmp_xchg):
180 Remove inlined version, Windows 95 is no longer relevant.
181 * config/i386/gthr-win32.h
182 (__GTHREAD_I486_INLINE_LOCK_PRIMITIVES): unset.
183
617db51d
GA
1842022-01-14 Claudiu Zissulescu <claziss@synopsys.com>
185
186 * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
187 DWARF_ALT_FRAME_RETURN_COLUMN macro.
188
7d11b64b
GA
1892022-01-04 Florian Weimer <fweimer@redhat.com>
190
191 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call _dl_find_object
192 if available.
193
5da23a13
GA
1942022-01-02 John David Anglin <danglin@gcc.gnu.org>
195
196 * config/pa/linux-atomic.c (_ASM_EFAULT): Define.
197 (__kernel_cmpxchg): Nullify illegal iitlbp instruction if error
198 return is not equal _ASM_EFAULT.
199 (__kernel_cmpxchg2): Likewise.
200
2554e2da
GA
2012021-12-17 Iain Sandoe <iain@sandoe.co.uk>
202
203 * config.host: Add shim declaration header to powerpc*-darwin builds.
204 * config/rs6000/t-darwin-ehs: Remove dependency on the powerpc end
205 file.
206 * config/t-darwin-ehs: Add dependencies to the shared unwinder
207 objects.
208 * config/t-slibgcc-darwin: Add extra_parts to the dependencies for
209 the shared EH lib. Add all-multi to the dependencies for the
210 libgcc_s.1.dylib redirections.
211
7f1239cb
GA
2122021-12-13 Olivier Hainque <hainque@adacore.com>
213
214 * config.host (powerpc*-*-vxworks7*): Remove
215 rs6000/t-linux and t-slibgcc-libgcc from tmake_file.
216
2172021-12-13 Olivier Hainque <hainque@adacore.com>
218
219 * config.host (*vxworks*): Remove special case for
220 arm on the use of vxcrtstuff.
221
2222021-12-13 Fred Konrad <konrad@adacore.com>
223 Olivier Hainque <hainque@adacore.com>
224
225 * config/t-vxcrtstuffS: New Makefile fragment.
226 * config/vxcrtstuff.c: Provide __dso_handle. Provide _init/_fini
227 functions for INITFINI_ARRAY support in shared libs and guard
228 the definition of eh table registration functions on conditions
229 indicating they are needed.
230
2312021-12-13 Olivier Hainque <hainque@adacore.com>
232
233 * config.host (powerpc*-wrs-vxworks7*): Place t-crtstuff
234 ahead of the other files in tmake_files.
235 * config/t-vxworks: Add to CRTSTUFF_T_CFLAGS instead of
236 overriding it.
237
2382021-12-13 Olivier Hainque <hainque@adacore.com>
239
240 * config/t-vxworks (LIBGCC2_INCLUDES): Simplify and handle
241 both VxWorks7 and earlier.
242 * config/t-vxworks7: Remove.
243 * config.host: Remove special case for vxworks7.
244
e8decbe7
GA
2452021-12-11 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
246
247 * config/vxcrtstuff.c: Make constructor and destructor
248 functions static when possible.
249
2502021-12-11 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
251
252 * config/vxcrtstuff.c: Remove constructor/destructor
253 declarations.
254
0bceef16
GA
2552021-12-10 Iain Sandoe <iain@sandoe.co.uk>
256
257 * config/t-darwin: Add libgcc_tm.h to the dependencies
258 for darwin10-unwind-find-enc-func.
259
2602021-12-10 Rasmus Villemoes <rv@rasmusvillemoes.dk>
261
262 * config/rs6000/t-vxworks: New file.
263 * config.host (powerpc*-*-vxworks*): Use it instead of
264 t-ppccomm.
265
4b4839e3
GA
2662021-12-09 Fred Konrad <konrad@adacore.com>
267
268 * config.host (powerpc*-wrs-vxworks7*): Fix path to
269 rs6000/t-ppc64-fp, relative to config/ not libgcc/.
270
2712021-12-09 Olivier Hainque <hainque@adacore.com>
272 Rasmus Villemoes <rv@rasmusvillemoes.dk>
273
274 * config/t-vxworks: Set CRTSTUFF_T_CFLAGS to
275 $(LIBGCC2_INCLUDES).
276 * config/t-vxworks7: Likewise.
277
641ff219
GA
2782021-12-08 Iain Sandoe <iain@sandoe.co.uk>
279
280 * config.host (*-*-darwin*): Add logic to build a shared
281 unwinder library for Darwin8-10.
282 * config/i386/t-darwin: Build legacy libgcc_s.1.
283 * config/rs6000/t-darwin: Likewise.
284 * config/t-darwin: Reorganise the EH fragments to place
285 them for inclusion in a shared EH lib.
286 * config/t-slibgcc-darwin: Build a legacy libgcc_s.1 and
287 the supporting pieces (all FAT libs).
288 * config/t-darwin-noeh: Removed.
289 * config/darwin-unwind.ver: New file.
290 * config/rs6000/t-darwin-ehs: New file.
291 * config/t-darwin-ehs: New file.
292
3a580f96
GA
2932021-12-06 Nelson Chu <nelson.chu@sifive.com>
294
295 * config/riscv/div.S: Add the hidden alias symbol for __udivdi3, and
296 then use HIDDEN_JUMPTARGET to target it since it is non-preemptible.
297 * config/riscv/riscv-asm.h: Added new macros HIDDEN_JUMPTARGET and
298 HIDDEN_DEF.
299
c177e806
GA
3002021-11-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
301
302 * config/vxcrtstuff.c: Undefine caddr_t, pid_t, rlim_t,
303 ssize_t and vfork after including auto-host.h.
304
87cd82c8
GA
3052021-11-29 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
306
307 * config.host (powerpc-wrs-vxworks): Do not add crtbegin.o and
308 crtend.o to extra_parts.
309
d62c8c74
GA
3102021-11-27 John David Anglin <danglin@gcc.gnu.org>
311
312 * config/pa/t-dimode (lib2difuncs): Fix typo.
313
091ccc06
GA
3142021-11-25 Florian Weimer <fweimer@redhat.com>
315
316 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Add hdr.
317 Remove func, ret.
318 (find_fde_tail): New function. Split from
319 _Unwind_IteratePhdrCallback. Move the result initialization
320 from _Unwind_Find_FDE.
321 (_Unwind_Find_FDE): Updated to call find_fde_tail.
322
06be28f6
GA
3232021-11-22 Florian Weimer <fweimer@redhat.com>
324
325 * unwind-dw2-fde-dip.c (NEED_DBASE_MEMBER): Define.
326 (struct unw_eh_callback_data): Make dbase member conditional.
327 (unw_eh_callback_data_dbase): New function.
328 (base_from_cb_data): Simplify for the non-dbase case.
329 (_Unwind_IteratePhdrCallback): Adjust.
330 (_Unwind_Find_FDE): Likewise.
331
3322021-11-22 Florian Weimer <fweimer@redhat.com>
333
334 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Remove
335 tbase member.
336 (base_from_cb_data): Adjust.
337 (_Unwind_IteratePhdrCallback): Likewise.
338 (_Unwind_Find_FDE): Likewise.
339
9c077398
GA
3402021-11-19 Iain Sandoe <iain@sandoe.co.uk>
341
342 * config.host: Add weak emutls crt to the extra_parts.
343 * config/i386/darwin-lib.h (DECLARE_LIBRARY_RENAMES): Remove
344 workaround.
345 * config/libgcc-libsystem.ver: Add exclude list for the system-
346 provided unwinder.
347 * config/t-slibgcc-darwin: Bump SO version, remove stubs code.
348 * config/i386/libgcc-darwin.10.4.ver: Removed.
349 * config/i386/libgcc-darwin.10.5.ver: Removed.
350 * config/rs6000/libgcc-darwin.10.4.ver: Removed.
351 * config/rs6000/libgcc-darwin.10.5.ver: Removed.
352 * config/t-darwin-noeh: New file.
353
3542021-11-19 Iain Sandoe <iain@sandoe.co.uk>
355
356 * config/t-darwin: Build weak-defined emutls objects.
357 * emutls.c (__emutls_get_address): Add optional attributes.
358 (__emutls_register_common): Likewise.
359 (EMUTLS_ATTR): New.
360
b39265d4
GA
3612021-11-11 Raphael Moreira Zinsly <rzinsly@linux.ibm.com>
362
363 PR libgcc/103044
364 * config/rs6000/linux-unwind.h (ppc_backchain_fallback): Check if it's
365 called with a null argument or at the end of the backtrace and return.
366 * unwind.inc (_Unwind_ForcedUnwind_Phase2): Treat _URC_NORMAL_STOP.
367
8d36a0d2
GA
3682021-11-10 Jakub Jelinek <jakub@redhat.com>
369
370 * config/rs6000/linux-unwind.h (ppc_back_fallback): Make it static,
371 formatting fix.
372
851dff04
GA
3732021-11-05 Iain Sandoe <iain@sandoe.co.uk>
374
375 * config/darwin10-unwind-find-enc-func.c: Include libgcc_tm.h.
376 * config/i386/darwin-lib.h: Declare Darwin10 crt function.
377
3782021-11-05 John David Anglin <danglin@gcc.gnu.org>
379
380 PR libgomp/96661
381 * config.host (hppa*64*-*-linux*): Revise tmake_file.
382 (hppa*64*-*-hpux11*): Likewise.
383 * config/pa/sfp-exceptions.c: New.
384 * config/pa/sfp-machine.h: New.
385 * config/pa/t-dimode: New.
386 * config/pa/t-softfp-sfdftf: New.
387
04a2cf3f
GA
3882021-10-27 John David Anglin <danglin@gcc.gnu.org>
389
390 * config.host (hppa*64*-*-linux*): Don't add pa/t-linux to
391 tmake_file.
392 * config/pa/linux-atomic.c: Define u8, u16 and u64 types.
393 Use them in FETCH_AND_OP_2, OP_AND_FETCH_2, COMPARE_AND_SWAP_2,
394 SYNC_LOCK_TEST_AND_SET_2 and SYNC_LOCK_RELEASE_1 macros.
395 * config/pa/t-linux64 (LIB1ASMSRC): New define.
396 (LIB1ASMFUNCS): Revise.
397 (HOST_LIBGCC2_CFLAGS): Add "-DLINUX=1".
398
c2bd5d8a
GA
3992021-10-22 Stafford Horne <shorne@gmail.com>
400
401 * config/or1k/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
402 Change to 0.
403
5d5885c9
GA
4042021-10-14 Raphael Moreira Zinsly <rzinsly@linux.ibm.com>
405
406 * config/rs6000/linux-unwind.h (struct rt_sigframe): Move it to
407 outside of get_regs() in order to use it in another function, this
408 is done twice: for __powerpc64__ and for !__powerpc64__.
409 (struct trace_arg): New struct.
410 (struct layout): New struct.
411 (ppc_backchain_fallback): New function.
412 * unwind.inc (_Unwind_Backtrace): Look for _URC_NORMAL_STOP code
413 state and call MD_BACKCHAIN_FALLBACK.
414
9eb28a0f
GA
4152021-10-13 Martin Liska <mliska@suse.cz>
416
417 PR gcov-profile/90364
418 * libgcov-driver.c (merge_one_data): Skip timestamp and verify
419 checksums.
420 (write_one_data): Write also checksum.
421 * libgcov-util.c (read_gcda_file): Read also checksum field.
422 * libgcov.h (struct gcov_info): Add new field.
423
ce6eec39
GA
4242021-10-08 Ian Lance Taylor <iant@golang.org>
425
426 * config/i386/morestack.S: Use .init_array for constructor if
427 available.
428 * config/rs6000/morestack.S: Likewise.
429 * config/s390/morestack.S: Likewise.
430
154fd089
GA
4312021-10-03 Patrick McGehearty <patrick.mcgehearty@oracle.com>
432
433 PR target/101104
434 * libgcc2.c (RMIN2, RMINSCAL, RMAX2):
435 Use more correct values for native IBM 128-bit.
436
fd133479
GA
4372021-09-28 Iain Sandoe <iain@sandoe.co.uk>
438
439 * config/i386/libgcc-darwin.ver: Add Symbols for
440 __cpu_model, __cpu_indicator_init.
441
e4777439
GA
4422021-09-22 Iain Sandoe <iain@sandoe.co.uk>
443
444 * config/i386/sfp-machine.h: Guard Mach-O-specific code
445 using __APPLE__.
446
34fac9ef
GA
4472021-09-19 Iain Sandoe <iain@sandoe.co.uk>
448
449 * config/t-slibgcc-darwin: Delete unused code.
450
4512021-09-19 Iain Sandoe <iain@sandoe.co.uk>
452
453 * config/i386/t-darwin: Add in a vers file for X86-specific
454 symbols.
455 * config/t-darwin: Add the generic symbol maps here...
456 * config/t-slibgcc-darwin: ... removing from here.
457 * config/i386/libgcc-darwin.ver: New file.
458
4592021-09-19 Iain Sandoe <iain@sandoe.co.uk>
460
461 * config/i386/t-softfp: Exclude libgcc2 versions of __divhc3
462 and __mulhc3.
463
4642021-09-19 Iain Sandoe <iain@sandoe.co.uk>
465
466 * config.host: Use convenience library for Darwin10
467 unwinder shim.
468 * config/t-darwin: Build Darwin10 unwinder shim as a
469 convenience library.
470
07985c47
GA
4712021-09-13 Andrew Pinski <apinski@marvell.com>
472
473 * config.host: Remove m32r-*-linux* and m32rle-*-linux*.
474 * config/m32r/libgcc-glibc.ver: Removed.
475 * config/m32r/t-linux: Removed.
476
b6db7cd4
GA
4772021-09-08 liuhongt <hongtao.liu@intel.com>
478
479 * config/i386/t-softfp: Compile __{mul,div}hc3 into
480 libgcc_s.so.1.
481
4822021-09-08 Jakub Jelinek <jakub@redhat.com>
483 Iain Sandoe <iain@sandoe.co.uk>
484
485 * config/i386/libgcc-glibc.ver: Add %inherit GCC_12.0.0 GCC_7.0.0
486 and export *hf* and *hc* functions at GCC_12.0.0.
487
9f99555f
GA
4882021-09-06 liuhongt <hongtao.liu@intel.com>
489
490 * Makefile.in: Adjust to support specific CFLAGS for each
491 libgcc source file.
492 * config/i386/64/t-softfp: Explicitly add -msse2 for HF
493 related libgcc source files.
494 * config/i386/t-softfp: Ditto.
495 * config/i386/_divhc3.c: New file.
496 * config/i386/_mulhc3.c: New file.
497
7b739540
GA
4982021-09-03 Iain Sandoe <iain@sandoe.co.uk>
499
500 * config/i386/sfp-machine.h (alias_HFtype, alias_SFtype
501 alias_DFtype, alias_TFtype): New.
502 (ALIAS_SELECTOR): New.
503 (strong_alias): Use __typeof and a _Generic selector to
504 provide the type to the synthesized function.
505
9f7c2bad
GA
5062021-09-02 liuhongt <hongtao.liu@intel.com>
507
508 * config/i386/32/sfp-machine.h (_FP_NANFRAC_H): New macro.
509 * config/i386/64/sfp-machine.h (_FP_NANFRAC_H): Ditto.
510 * config/i386/sfp-machine.h (_FP_NANSIGN_H): Ditto.
511 * config/i386/t-softfp: Add hf soft-fp.
512 * config.host: Add i386/64/t-softfp.
513 * config/i386/64/t-softfp: New file.
514
5152021-09-02 liuhongt <hongtao.liu@intel.com>
516
517 * soft-fp/eqhf2.c: New file.
518 * soft-fp/extendhfdf2.c: New file.
519 * soft-fp/extendhfsf2.c: New file.
520 * soft-fp/half.h (FP_CMP_EQ_H): New marco.
521 * soft-fp/truncdfhf2.c: New file
522 * soft-fp/truncsfhf2.c: New file
523
e11c6046
GA
5242021-09-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
525
526 * unwind-arm-common.inc (abort): Remove.
527
6d51ee43
GA
5282021-08-31 Richard Sandiford <richard.sandiford@arm.com>
529
530 * config/aarch64/value-unwind.h: Add missing runtime exception
531 paragraph.
532 * config/frv/frv-abi.h: Likewise.
533 * config/i386/value-unwind.h: Likewise.
534 * config/pa/pa64-hpux-lib.h: Likewise.
535
ccc19145
GA
5362021-08-26 David Edelsohn <dje.gcc@gmail.com>
537
538 * config/rs6000/ibm-ldouble.c (ldouble_qadd_internal): Rename from
539 __gcc_qadd.
540 (__gcc_qadd): Call ldouble_qadd_internal.
541 (__gcc_qsub): Call ldouble_qadd_internal with second long double
542 argument negated.
543
5442021-08-26 Jonathan Yong <10walls@gmail.com>
545
546 * config/i386/cygming-crtend.c: Fix register_frame_ctor
547 and register_frame_dtor warnings.
548
05ace294
GA
5492021-08-24 Richard Earnshaw <rearnsha@arm.com>
550
551 PR target/102035
552 * config/arm/cmse_nonsecure_call.S (__gnu_cmse_nonsecure_call):
553 Add vlldm erratum work-around.
554
4be4fa4e
GA
5552021-08-21 John David Anglin <danglin@gcc.gnu.org>
556
557 * config.host: Remove extra_parts from hppa[12]*-*-hpux11* case.
558
9d1d9fc8
GA
5592021-08-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
560
561 * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
562 (gcov_type_unsigned): Likewise.
563
7dd8f198
GA
5642021-08-14 Stafford Horne <shorne@gmail.com>
565
566 PR target/99783
567 * config.host (or1k-*, tmake_file): Add or1k/t-crtstuff.
568 * config/or1k/t-crtstuff: New file.
569
f92f4778
GA
5702021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
571
572 * libgcov-driver.c (#include <stdint.h>): Remove.
573 (write_topn_counters): Use __INTPTR_TYPE__ instead of intptr_t.
574
5752021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
576
577 * Makefile.in (LIBGCOV_DRIVER): Add _gcov_info_to_gcda.
578 * gcov.h (gcov_info): Declare.
579 (__gcov_info_to_gdca): Likewise.
580 * libgcov.h (gcov_write_counter): Remove.
581 (gcov_write_tag_length): Likewise.
582 * libgcov-driver.c (#include <stdint.h>): New.
583 (#include <string.h>): Remove.
584 (NEED_L_GCOV): Conditionally define.
585 (NEED_L_GCOV_INFO_TO_GCDA): Likewise.
586 (are_all_counters_zero): New.
587 (gcov_dump_handler): Likewise.
588 (gcov_allocate_handler): Likewise.
589 (dump_unsigned): Likewise.
590 (dump_counter): Likewise.
591 (write_topn_counters): Add dump_fn, allocate_fn, and arg parameters.
592 Use dump_unsigned() and dump_counter().
593 (write_one_data): Add dump_fn, allocate_fn, and arg parameters. Use
594 dump_unsigned(), dump_counter(), and are_all_counters_zero().
595 (__gcov_info_to_gcda): New.
596
8ebf4fb5
GA
5972021-08-05 Jakub Jelinek <jakub@redhat.com>
598
599 * config/t-slibgcc (SHLIB_LINK): Add $(LDFLAGS).
600 * config/t-slibgcc-darwin (SHLIB_LINK): Likewise.
601 * config/t-slibgcc-vms (SHLIB_LINK): Likewise.
602 * config/t-slibgcc-fuchsia (SHLIB_LDFLAGS): Remove $(LDFLAGS).
603
2697f832
GA
6042021-08-04 Jakub Jelinek <jakub@redhat.com>
605
606 * config/t-slibgcc-fuchsia: Undo doubly applied patch.
607
d97d71a1
GA
6082021-07-15 Alan Modra <amodra@gmail.com>
609
610 * config/rs6000/morestack.S (R2_SAVE): Define.
611 (__morestack): Save and restore r2. Set up r2 for called
612 functions.
613
bea7c16a
GA
6142021-07-01 H.J. Lu <hjl.tools@gmail.com>
615
616 * soft-fp/extendhfxf2.c: New file.
617 * soft-fp/truncxfhf2.c: Likewise.
618
6bc18203
GA
6192021-06-29 Julian Brown <julian@codesourcery.com>
620
621 * config/gcn/lib2-bswapti2.c: New file.
622 * config/gcn/lib2-divmod-di.c: New file.
623 * config/gcn/lib2-gcn.h (DItype, UDItype, TItype, UTItype): Add
624 typedefs.
625 (__divdi3, __moddi3, __udivdi3, __umoddi3): Add prototypes.
626 * config/gcn/t-amdgcn (LIB2ADD): Add lib2-divmod-di.c and
627 lib2-bswapti2.c.
628
6292021-06-29 Julian Brown <julian@codesourcery.com>
630
631 * config/gcn/lib2-divmod.c (__udivsi3, __umodsi3): Change argument and
632 return types to USItype.
633 * config/gcn/lib2-gcn.h (__udivsi3, __umodsi3): Update prototypes.
634
fcf617f0
GA
6352021-06-23 Kewen Lin <linkw@linux.ibm.com>
636
637 * configure: Regenerate.
638 * configure.ac (test for libgcc_cv_powerpc_3_1_float128_hw): Fix
639 typos among the name, CFLAGS and the test.
640 * config/rs6000/t-float128-hw (fp128_3_1_hw_funcs, fp128_3_1_hw_src,
641 fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj, fp128_3_1_hw_obj):
642 Remove.
643 * config/rs6000/t-float128-p10-hw (FLOAT128_HW_INSNS): Append
644 macro FLOAT128_HW_INSNS_ISA3_1.
645 (FP128_3_1_CFLAGS_HW): Fix option typo.
646 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): Guard this with
647 FLOAT128_HW_INSNS_ISA3_1.
648 (__floattikf_resolve): Likewise.
649 (__floatuntikf_resolve): Likewise.
650 (__fixkfti_resolve): Likewise.
651 (__fixunskfti_resolve): Likewise.
652 (__floattikf): Likewise.
653 (__floatuntikf): Likewise.
654 (__fixkfti): Likewise.
655 (__fixunskfti): Likewise.
656
f16f65f8
GA
6572021-06-11 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
658
659 PR target/99939
660 * config/arm/cmse_nonsecure_call.S: Add __ARM_FEATURE_MVE
661 macro.
662 * config/arm/t-arm: To link cmse.o and cmse_nonsecure_call.o
663 on passing -mcmse option.
664
43c35d0d
GA
6652021-06-10 Segher Boessenkool <segher@kernel.crashing.org>
666
667 * config/rs6000/quad-float128.h: Guard all uses of [U]TItype_ppc by
668 _ARCH_PPC64 .
669
4f625f47
GA
6702021-06-09 Carl Love <cel@us.ibm.com>
671
672 * config.host: Add if test and set for
673 libgcc_cv_powerpc_3_1_float128_hw.
674 * config/rs6000/fixkfti.c: Renamed to fixkfti-sw.c.
675 Change calls of __fixkfti to __fixkfti_sw.
676 * config/rs6000/fixunskfti.c: Renamed to fixunskfti-sw.c.
677 Change calls of __fixunskfti to __fixunskfti_sw.
678 * config/rs6000/float128-p10.c (__floattikf_hw,
679 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw): New file.
680 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): New macro.
681 (__floattikf_resolve, __floatuntikf_resolve, __fixkfti_resolve,
682 __fixunskfti_resolve): Add resolve functions.
683 (__floattikf, __floatuntikf, __fixkfti, __fixunskfti): New functions.
684 * config/rs6000/float128-sed (floattitf, __floatuntitf,
685 __fixtfti, __fixunstfti): Add editor commands to change names.
686 * config/rs6000/float128-sed-hw (__floattitf,
687 __floatuntitf, __fixtfti, __fixunstfti): Add editor commands to
688 change names.
689 * config/rs6000/floattikf.c: Renamed to floattikf-sw.c.
690 * config/rs6000/floatuntikf.c: Renamed to floatuntikf-sw.c.
691 * config/rs6000/quad-float128.h (__floattikf_sw,
692 __floatuntikf_sw, __fixkfti_sw, __fixunskfti_sw, __floattikf_hw,
693 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw, __floattikf,
694 __floatuntikf, __fixkfti, __fixunskfti): New extern declarations.
695 * config/rs6000/t-float128 (floattikf, floatuntikf,
696 fixkfti, fixunskfti): Remove file names from fp128_ppc_funcs.
697 (floattikf-sw, floatuntikf-sw, fixkfti-sw, fixunskfti-sw): Add
698 file names to fp128_ppc_funcs.
699 * config/rs6000/t-float128-hw(fp128_3_1_hw_funcs,
700 fp128_3_1_hw_src, fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj,
701 fp128_3_1_hw_obj): Add variables for ISA 3.1 support.
702 * config/rs6000/t-float128-p10-hw: New file.
703 * configure: Update script for isa 3.1 128-bit float support.
704 * configure.ac: Add check for 128-bit float hardware support.
705 * config/rs6000/fixkfti-sw.c: New file.
706 * config/rs6000/fixunskfti-sw.c: New file.
707 * config/rs6000/floattikf-sw.c: New file.
708 * config/rs6000/floatuntikf-sw.c: New file.
709
f9af11c7
GA
7102021-05-13 Dimitar Dimitrov <dimitar@dinux.eu>
711
712 * config/pru/mpyll.S (__pruabi_mpyll): Place into own section.
713
4d0385df 7142021-05-13 Martin Liska <mliska@suse.cz>
f9af11c7
GA
715
716 * libgcov-driver.c: Fix GNU coding style.
717
aa891c56
GA
7182021-05-10 Martin Liska <mliska@suse.cz>
719
720 * libgcov-driver.c (gcov_version): Use different name that does
721 not clash with newly introduced macro.
722
3c8e539d
GA
7232021-04-29 Eric Botcazou <ebotcazou@adacore.com>
724
725 * libgcov.h: For the target, define GCOV_LOCKED_WITH_LOCKING
726 if __MSVCRT__ and, for the host, define it if HOST_HAS_LK_LOCK.
727 * libgcov-driver.c: Add directives if GCOV_LOCKED_WITH_LOCKING.
728
e4ff4ffb
GA
7292021-04-28 Patrick McGehearty <patrick.mcgehearty@oracle.com>
730
731 * libgcc2.c (XMTYPE, XCTYPE, RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
732 Define.
733 (__divsc3, __divdc3, __divxc3, __divtc3): Improve complex divide.
734 * config/rs6000/_divkc3.c (RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
735 Define.
736 (__divkc3): Improve complex divide.
737
05ec629f
GA
7382021-04-23 Michael Meissner <meissner@linux.ibm.com>
739
740 PR target/98952
741 * config/rs6000/tramp.S (__trampoline_setup, elfv1 #ifdef): Fix
742 trampoline size comparison in 32-bit by reversing test and
743 combining load immediate with compare.
744 (__trampoline_setup, elfv2 #ifdef): Fix trampoline size comparison
745 in 32-bit by reversing test and combining load immediate with
746 compare.
747
b1da9916
GA
7482021-04-05 Florian Weimer <fweimer@redhat.com>
749 Michael Meissner <meissner@linux.ibm.com>
750
751 * config/rs6000/t-float128 (fp128_ppc_funcs): Add decimal floating
752 point functions for $(decimal_float) only.
753
c0756c4e
GA
7542021-04-03 Jakub Jelinek <jakub@redhat.com>
755
756 PR target/97653
757 * config/rs6000/t-linux (IBM128_STATIC_OBJS): Fix spelling, use
758 $(objext) instead of $(object). Use _floatunditf instead of
759 _floatunsditf. Add tf <-> ti conversion objects.
760 (IBM128_SHARED_OBJS): Use proper substitution reference syntax.
761
65374af2
GA
7622021-03-29 Michael Meissner <meissner@linux.ibm.com>
763
764 * config/rs6000/t-float128 (fp128_decstr_funcs): Delete.
765 (fp128_ppc_funcs): Do not add $(fp128_decstr_funcs).
766 (fp128_decstr_objs): Delete.
767 * dfp-bit.h: Call __sprintfieee128 to do conversions from
768 _Float128 to a Decimal type. Call __strtoieee128 to do
769 conversions from a Decimal type to _Float128.
770 * config/rs6000/_sprintfkf.c: Delete file.
771 * config/rs6000/_sprintfkf.h: Delete file.
772 * config/rs6000/_strtokf.c: Delete file.
773 * config/rs6000/_strtokf.h: Delete file.
774
bf1f3168
GA
7752021-03-23 Marcus Comstedt <marcus@mc.pp.se>
776
777 * config/riscv/sfp-machine.h (__BYTE_ORDER): Set according
778 to __BYTE_ORDER__.
779
0ad6a2e2
GA
7802021-03-06 Jakub Jelinek <jakub@redhat.com>
781
782 PR gcov-profile/99406
783 * libgcov.h (MAP_FAILED, MAP_ANONYMOUS): If HAVE_SYS_MMAN_H is
784 defined, define these macros if not defined already.
785
67f10d28
GA
7862021-03-04 Martin Liska <mliska@suse.cz>
787
788 PR gcov-profile/99105
789 * libgcov-driver.c (write_top_counters): Rename to ...
790 (write_topn_counters): ... this.
791 (write_one_data): Pre-allocate buffer for number of items
792 in the corresponding linked lists.
793 * libgcov.h (malloc_mmap): New function.
794 (allocate_gcov_kvp): Use it.
795
7962021-03-04 Martin Liska <mliska@suse.cz>
797
798 PR gcov-profile/99385
799 * libgcov.h (allocate_gcov_kvp): Call mmap with fd equal to -1.
800
f3641ac7
GA
8012021-03-03 Martin Liska <mliska@suse.cz>
802
803 PR gcov-profile/97461
804 * config.in: Regenerate.
805 * configure: Likewise.
806 * configure.ac: Check sys/mman.h header file
807 * libgcov-driver.c (struct gcov_kvp): Remove static
808 pre-allocated pool and use a dynamic one.
809 * libgcov.h (MMAP_CHUNK_SIZE): New.
810 (gcov_counter_add): Use mmap to allocate pool for struct
811 gcov_kvp.
812
d97a92dc
GA
8132021-03-02 Michael Meissner <meissner@linux.ibm.com>
814
815 * config/rs6000/_sprintfkf.h (__sprintfkf): Fix prototype to match
816 the function.
817 * config/rs6000/_sprintfkf.c: Include _sprintfkf.h.
818
4028d01a
GA
8192021-02-24 Jakub Jelinek <jakub@redhat.com>
820
821 PR libgcc/99236
822 * libgcc2.c (__powisf2, __powidf2, __powitf2, __powixf2): Perform
823 negation of m in unsigned type.
824
8252021-02-24 Christophe Lyon <christophe.lyon@linaro.org>
826 Hau Hsu <hsuhau617@gmail.com>
827
828 PR target/99157
829 * config/arm/t-arm: Fix cmse support detection.
830
2f5765cf
GA
8312021-02-22 Michael Meissner <meissner@linux.ibm.com>
832
833 * dfp-bit.c (BFP_TO_DFP): Fix a comment line that was too long.
834
8352021-02-22 Michael Meissner <meissner@linux.ibm.com>
836
837 * config/rs6000/_dd_to_kf.c: New file.
838 * config/rs6000/_kf_to_dd.c: New file.
839 * config/rs6000/_kf_to_sd.c: New file.
840 * config/rs6000/_kf_to_td.c: New file.
841 * config/rs6000/_sd_to_kf.c: New file.
842 * config/rs6000/_sprintfkf.c: New file.
843 * config/rs6000/_sprintfkf.h: New file.
844 * config/rs6000/_strtokf.h: New file.
845 * config/rs6000/_strtokf.c: New file.
846 * config/rs6000/_td_to_kf.c: New file.
847 * config/rs6000/quad-float128.h: Add new declarations.
848 * config/rs6000/t-float128 (fp128_dec_funcs): New macro.
849 (fp128_decstr_funcs): New macro.
850 (ibm128_dec_funcs): New macro.
851 (fp128_ppc_funcs): Add the new conversions.
852 (fp128_dec_objs): Force Decimal <-> __float128 conversions to be
853 compiled with -mabi=ieeelongdouble.
854 (fp128_decstr_objs): Force __float128 <-> string conversions to be
855 compiled with -mabi=ibmlongdouble.
856 (ibm128_dec_objs): Force Decimal <-> __float128 conversions to be
857 compiled with -mabi=ieeelongdouble.
858 (FP128_CFLAGS_DECIMAL): New macro.
859 (IBM128_CFLAGS_DECIMAL): New macro.
860 * dfp-bit.c (DFP_TO_BFP): Add PowerPC _Float128 support.
861 (BFP_TO_DFP): Add PowerPC _Float128 support.
862 * dfp-bit.h (BFP_KIND): Add new binary floating point kind for
863 IEEE 128-bit floating point.
864 (DFP_TO_BFP): Add PowerPC _Float128 support.
865 (BFP_TO_DFP): Add PowerPC _Float128 support.
866 (BFP_SPRINTF): New macro.
867
aa69f0a8
GA
8682021-01-27 Jakub Jelinek <jakub@redhat.com>
869
870 * config/i386/savms64.h: Add .note.GNU-stack section on Linux.
871 * config/i386/savms64f.h: Likewise.
872 * config/i386/resms64.h: Likewise.
873 * config/i386/resms64f.h: Likewise.
874 * config/i386/resms64x.h: Likewise.
875 * config/i386/resms64fx.h: Likewise.
876
e62bb7f0
GA
8772021-01-26 Martin Liska <mliska@suse.cz>
878
879 PR gcov-profile/98739
880 * libgcov.h (gcov_topn_add_value): Do not train when
881 we have a merged profile with a negative number of total
882 value.
883
161e4c08
GA
8842021-01-25 Martin Liska <mliska@suse.cz>
885
886 PR gcov-profile/98739
887 * libgcov-merge.c (__gcov_merge_topn): Mark when merging
888 ends with a dropped counter.
889 * libgcov.h (gcov_topn_add_value): Add return value.
890
be0851b8
GA
8912021-01-13 Stafford Horne <shorne@gmail.com>
892
893 * config/or1k/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
894 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_EX_OVERFLOW,
895 FP_EX_UNDERFLOW, FP_EX_INEXACT, FP_EX_INVALID, FP_EX_DIVZERO,
896 FP_EX_ALL): New constant macros.
897 (_FP_DECL_EX, FP_ROUNDMODE, FP_INIT_ROUNDMODE,
898 FP_HANDLE_EXCEPTIONS): New macros.
899 (_FP_TININESS_AFTER_ROUNDING): Change to 1.
900
9012021-01-13 Samuel Thibault <samuel.thibault@gnu.org>
902
903 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Add the
904 posix siginfo case to struct handler_args. Detect between legacy
905 and siginfo from the second parameter, which is a small sigcode in
906 the legacy case, and a pointer in the siginfo case.
907
108beb75
GA
9082020-12-20 Max Filippov <jcmvbkbc@gmail.com>
909
910 * config/xtensa/lib1funcs.S (__bswapsi2, __bswapdi2): New
911 functions.
912 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _bswapsi2 and
913 _bswapdi2.
914
f6e8e279
GA
9152020-12-08 Ian Lance Taylor <iant@golang.org>
916
917 * generic-morestack-thread.c (free_segments): Block signals during
918 thread exit.
919
b8dd0ef7
GA
9202020-12-03 Michael Meissner <meissner@linux.ibm.com>
921
922 PR libgcc/97543
923 PR libgcc/97643
924 * config/rs6000/t-linux (IBM128_STATIC_OBJS): New make variable.
925 (IBM128_SHARED_OBJS): New make variable.
926 (IBM128_OBJS): New make variable. Set all objects to use the
927 explicit IBM format, and disable gnu attributes.
928 (IBM128_CFLAGS): New make variable.
929 (gcc_s_compile): Add -mno-gnu-attribute to all shared library
930 modules.
931
9322020-12-03 Alexandre Oliva <oliva@adacore.com>
933
934 * config/t-vxworks (LIB2ADD): Drop.
935 * config/t-vxworks7 (LIB2ADD): Likewise.
936 * config/vxcache.c: Remove.
937
94358e47
GA
9382020-11-30 Stefan Kanthak <stefan.kanthak@nexgo.de>
939
940 * libgcc2.c (bswapsi2): Make constants unsigned.
941
360258da
GA
9422020-11-25 Stefan Kanthak <stefan.kanthak@nexgo.de>
943
944 * libgcc2.c (absvSI2): Simplify/improve implementation by using
945 builtin_add_overflow.
946 (absvsi2, absvDI2): Likewise.
947
82e5048e
GA
9482020-11-20 Maciej W. Rozycki <macro@linux-mips.org>
949
950 * unwind-dw2-fde-dip.c [__OpenBSD__ || __NetBSD__]
951 (USE_PT_GNU_EH_FRAME): Do not define if !TARGET_DL_ITERATE_PHDR.
952
25bb75f8
GA
9532020-11-18 Jozef Lawrynowicz <jozef.l@mittosystems.com>
954
955 * config/msp430/lib2hw_mul.S (mult64_hw): New.
956 (if MUL_32): Use mult64_hw for __muldi3.
957 (if MUL_F5): Use mult64_hw for __muldi3.
958 * config/msp430/lib2mul.c (__muldi3): New.
959 * config/msp430/t-msp430 (LIB2FUNCS_EXCLUDE): Define.
960
29c5d9ce
GA
9612020-11-17 Alan Modra <amodra@gmail.com>
962
963 * config/rs6000/t-ppc64-fp (LIB2ADD): Delete.
964 (LIB2_SIDITI_CONV_FUNCS): Define.
965 * config/rs6000/ppc64-fp.c: Delete file.
966
cba30651
GA
9672020-11-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
968
969 * config/msp430/lib2hw_mul.S: Omit _hw* suffix from GCC names for
970 hwmult library functions.
971
bb622641
GA
9722020-11-10 Jeff Law <law@redhat.com>
973
974 * libgcc2.c: Fix whitespace issues in most recent change.
975
9762020-11-10 Stefan Kanthak <stefan.kanthak@nexgo.de>
977
978 * libgcc2.c (__addvSI3): Use overflow builtins.
979 (__addvsi3, __addvDI3 ,__subvSI3, __subvsi3): Likewise.
980 (__subvDI3 __mulvSI3, __mulvsi3, __negvSI2): Likewise.
981 (__negvsi2, __negvDI2): Likewise.
982 (__cmpdi2, __ucmpdi2): Adjust implementation to improve
983 generated code.
984 * libgcc2.h (__ucmpdi2): Adjust prototype.
985
fd2325ea
GA
9862020-11-03 Pat Bernardi <bernardi@adacore.com>
987 Olivier Hainque <hainque@adacore.com>
988
989 * config.host (aarch64-vxworks7*, tmake_file): Add
990 ${cpu_type}/t-lse and t-slibgcc-libgcc.
991
9922020-11-03 Martin Storsjö <martin@martin.st>
993
994 * unwind-seh.c (_Unwind_Backtrace): Set the ra and cfa pointers
995 before calling the callback.
996
88ce3d5f
GA
9972020-10-30 Olivier Hainque <hainque@adacore.com>
998 Douglas Rupp <rupp@adacore.com>
999 Pat Bernardi <bernardi@adacore.com>
1000
1001 * config.host: Adjust the ix86/x86_64-wrs-vxworks filters
1002 to apply to VxWorks 7 as well.
1003
4f0606fe
GA
10042020-10-29 Olivier Hainque <hainque@adacore.com>
1005
1006 * config/gthr-vxworks-tls.c: Fix preprocessor logic
1007 controlling the definition of VX_ENTER_TLS_DTOR and
1008 VX_LEAVE_TLS_DTOR based on a version major check.
1009
10102020-10-29 Olivier Hainque <hainque@adacore.com>
1011
1012 * config/gthr-vxworks-thread.c: Fix name of macro used
1013 to condition the inclusion of an actual implementation.
1014
89bb01e7
GA
10152020-10-27 Martin Liska <mliska@suse.cz>
1016
1017 PR gcov-profile/97461
1018 * libgcov.h (gcov_counter_add): Use first static counters
1019 as it should help to have malloc wrappers set up.
1020
efe71fcc
GA
10212020-10-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1022
1023 * config/gthr-vxworks-thread.c: #include gthr.h before
1024 testing the guard defined there.
1025 * config/gthr-vxworks-cond.c: Likewise.
1026
56ddd5e2
GA
10272020-10-21 Douglas Rupp <rupp@adacore.com>
1028 Olivier Hainque <hainque@adacore.com>
1029
1030 * config.host (powerpc*-wrs-vxworks7*): New case.
1031 * configure.ac: Handle powerpc*-*-vxworks7* as
1032 powerpc*-*-linux* for ppc-fp_type.
1033 * configure: Regenerate.
1034
56e4eee9
GA
10352020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1036
1037 * config/gthr-vxworks.h: Condition the ___GTHREADS_CXX0X
1038 section on VxWorks >= 6.
1039 * config/gthr-vxworks-thread.c: Condition the entire
1040 implementation on __GTHREAD_CXX0X.
1041
10422020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1043
1044 * config/gthr-vxworks.h: Condition the __GTHREAD_HAS_COND
1045 section on VxWorks >= 6.
1046 * config/gthr-vxworks-cond.c: Condition the entire
1047 implementation on __GTHREAD_HAS_COND.
1048
10492020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1050
1051 * config/gthr-vxworks.c: #include <taskLib.h>.
1052
10532020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1054
1055 * config/gthr-vxworks.h: Rewrite remaining occurrence
1056 of _VXW_PRE_69 as _VXWORKS_PRE(6,9).
1057
10582020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1059 Olivier Hainque <hainque@adacore.com>
1060
1061 * config/gthr-vxworks-tls.c (VX_ENTER_TLS_DTOR): Nil
1062 except on VxWorks 6.
1063
10642020-10-16 Olivier Hainque <hainque@adacore.com>
1065
1066 * config/t-vxcrtstuff: Remove the -kernel/-rtp specialization.
1067
b2698c21
GA
10682020-10-14 Alexandre Oliva <oliva@adacore.com>
1069
1070 * config/gthr-vxworks-thread.c: Include stdlib.h.
1071 (tls_delete_hook): Prototype it.
1072 (__gthread_cond_signal): Return early if no waiters. Consume
1073 signal in case the semaphore got full. Use semInfoGet instead
1074 of kernel-mode-only semInfo.
1075 (__gthread_cond_timedwait): Use semExchange. Always take the
1076 mutex again before returning.
1077 * config/gthr-vxworks-cond.c (__ghtread_cond_wait): Likewise.
1078
10792020-10-14 Olivier Hainque <hainque@adacore.com>
1080
1081 * config/t-vxworks (LIBGCC2_INCLUDES): Append
1082 $(MULTISUBDIR) to the -I path for fixed headers, as we
1083 arrange to have different sets of such headers for different
1084 multilibs when they are activated.
1085 * config/t-vxworks7: Likewise.
1086
10872020-10-14 Olivier Hainque <hainque@adacore.com>
1088
1089 * config/t-vxworks: Add include-fixed to include search
1090 paths for libgcc on VxWorks.
1091 * config/t-vxworks7: Likewise.
1092
c74a0e82
GA
10932020-10-09 H.J. Lu <hjl.tools@gmail.com>
1094
1095 PR target/97148
1096 * config/i386/shadow-stack-unwind.h: Include <x86gprintrin.h>
1097 instead of <cetintrin.h>.
1098
6c2675fa
GA
10992020-10-01 Alan Modra <amodra@gmail.com>
1100
1101 * config/rs6000/morestack.S,
1102 * config/rs6000/tramp.S: Support __PCREL__ code.
1103
11042020-10-01 Alan Modra <amodra@gmail.com>
1105
1106 * config/rs6000/t-linux: Document purpose of -mno-minimal-toc.
1107
93bca37c
GA
11082020-09-29 Maciej W. Rozycki <macro@wdc.com>
1109
1110 * config/riscv/t-elf (LIB2_DIVMOD_EXCEPTION_FLAGS): New
1111 variable.
1112
e84761c6
GA
11132020-09-28 Richard Sandiford <richard.sandiford@arm.com>
1114
1115 * config/aarch64/libgcc-softfp.ver: New file.
1116 * config/aarch64/t-softfp (SHLIB_MAPFILES): Add it.
1117
4383c595
GA
11182020-09-27 Clement Chigot <clement.chigot@atos.net>
1119
1120 * config/rs6000/t-slibgcc-aix: Use $(AR) without -X32_64.
1121
521d2711
GA
11222020-09-22 Sergei Trofimovich <siarheit@google.com>
1123
1124 PR gcov-profile/96913
1125 * libgcov-driver.c (write_one_data): Avoid function pointer
1126 comparison in TOP streaming decision.
1127
2aad20c0
GA
11282020-09-17 Torbjörn SVENSSON <torbjorn.svensson@st.com>
1129 Christophe Lyon <christophe.lyon@linaro.org>
1130
1131 * config/arm/fp16.c (__gnu_h2f_internal): Add 'static inline'
1132 qualifier.
1133 (__gnu_f2h_ieee, __gnu_h2f_ieee, __gnu_f2h_alternative)
1134 (__gnu_h2f_alternative,__gnu_d2h_ieee, __gnu_d2h_alternative): Add
1135 missing prototypes.
1136
11372020-09-17 Wei Wentao <weiwt.fnst@cn.fujitsu.com>
1138
1139 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr): Fix
1140 unused variable warning.
1141
ecde1b0a
GA
11422020-09-16 Jojo R <jiejie_rong@c-sky.com>
1143
1144 * config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf target.
1145
80f86e78
GA
11462020-09-09 Tom de Vries <tdevries@suse.de>
1147
1148 * config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
1149 Wbuiltin-declaration-mismatch.
1150
57ea0894
GA
11512020-08-26 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1152
1153 * config/msp430/slli.S (__gnu_mspabi_sllp): New.
1154 * config/msp430/srai.S (__gnu_mspabi_srap): New.
1155 * config/msp430/srli.S (__gnu_mspabi_srlp): New.
1156
b3cb5606
GA
11572020-08-13 Kwok Cheung Yeung <kcy@codesourcery.com>
1158
1159 * config/nvptx/atomic.c: New.
1160 * config/nvptx/t-nvptx (LIB2ADD): Add atomic.c.
1161
6a1ad710
GA
11622020-08-03 Ian Lance Taylor <iant@golang.org>
1163
1164 * config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
1165
11662020-08-03 Jakub Jelinek <jakub@redhat.com>
1167
1168 PR target/96402
1169 * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
1170 of x(tmp0), x(tmp1) in STXP arguments.
1171
48cc2e46
GA
11722020-07-31 Maciej W. Rozycki <macro@wdc.com>
1173
1174 * config/riscv/save-restore.S [__riscv_xlen == 64]
1175 (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
1176 (__riscv_save_2): Replace negative immediates used for the final
1177 stack pointer adjustment with positive ones, right-shifted by 4.
1178
11792020-07-31 Martin Liska <mliska@suse.cz>
1180
1181 * libgcov-driver.c: Add __gcov_kvp_pool
1182 and __gcov_kvp_pool_index variables.
1183 * libgcov.h (allocate_gcov_kvp): New.
1184 (gcov_topn_add_value): Use it.
1185
53256ee3
GA
11862020-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
1187
1188 * config/aarch64/lse.S: Add PAC property note.
1189
9bb403dc
GA
11902020-07-23 Martin Liska <mliska@suse.cz>
1191
1192 PR gcov-profile/96035
1193 * libgcov-driver-system.c: Create gcov folders with 0777
1194 so that it respects a system umask.
1195
8ca07a30
GA
11962020-07-14 David Edelsohn <dje.gcc@gmail.com>
1197
1198 * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
1199
ea69fcf9
GA
12002020-07-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
1201
1202 PR target/94891
1203 * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
1204 (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
1205 (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
1206 (MD_DEMANGLE_RETURN_ADDR): This.
1207 (aarch64_post_extract_frame_addr): Rename to ...
1208 (aarch64_demangle_return_addr): This.
1209 (aarch64_post_frob_eh_handler_addr): Remove.
1210 * unwind-dw2.c (uw_update_context): Demangle return address.
1211 (uw_frob_return_addr): Remove.
1212
3f8ca9cb
GA
12132020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
1214
1215 PR target/96001
1216 * config/aarch64/lse.S: Add BTI marking and related definitions,
1217 and add BTI c to function entries.
1218
12192020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
1220
1221 * config/aarch64/lse.S: Add stack note.
1222
b5f24739
GA
12232020-07-02 Martin Liska <mliska@suse.cz>
1224
1225 PR gcov-profile/95348
1226 * libgcov-driver.c (merge_one_data): Merge only profiles
1227 that are not of non-zero type.
1228 (write_one_data): Write counters only if there's one non-zero
1229 value.
1230 * libgcov-util.c (tag_function): Change signature from unsigned
1231 to int.
1232 (tag_blocks): Likewise.
1233 (tag_arcs): Likewise.
1234 (tag_counters): Likewise.
1235 (tag_summary): Likewise.
1236 (tag_lines): Read only if COUNTERS is non-zero.
1237 (read_gcda_file): Handle negative length for COUNTERS type.
1238
d61ffe12
GA
12392020-06-25 Martin Liska <mliska@suse.cz>
1240
1241 * libgcov-driver.c (merge_summary): Remove function as its name
1242 is misleading and doing something different.
1243 (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
1244 in gcov-tool.
1245 * libgcov-util.c (curr_object_summary): Remove.
1246 (read_gcda_file): Remove unused curr_object_summary.
1247 (gcov_merge): Merge summaries.
1248 * libgcov.h: Add summary argument for gcov_info struct.
1249
2e546c26
GA
12502020-06-24 H.J. Lu <hjl.tools@gmail.com>
1251
1252 PR target/95259
1253 * config/i386/cpuinfo.c: Don't include "cpuinfo.h". Include
1254 "common/config/i386/i386-cpuinfo.h" and
1255 "common/config/i386/cpuinfo.h".
1256 (__cpu_features2): Changed to array.
1257 (get_amd_cpu): Removed.
1258 (get_intel_cpu): Likewise.
1259 (get_available_features): Likewise.
1260 (__cpu_indicator_init): Call cpu_indicator_init.
1261 * config/i386/cpuinfo.h: Removed.
1262
4543acc8
GA
12632020-06-23 David Edelsohn <dje.gcc@gmail.com>
1264
1265 * Makefile.in: Remove uses of empty.mk. Use -include.
1266 * config/avr/t-avr: Use -include.
1267 * empty.mk: Delete.
1268
f86e11a2
GA
12692020-06-21 David Edelsohn <dje.gcc@gmail.com>
1270
1271 * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
1272 * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
1273 and 64 bit with -maix64.
1274 * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
1275 Build and install AIX-style FAT libraries.
1276
aff95ee7
GA
12772020-06-17 Samuel Thibault <samuel.thibault@gnu.org>
1278
1279 * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
1280 'i386/gnu-unwind.h'
1281 * config/i386/gnu-unwind.h: New file.
1282
12832020-06-17 Martin Liska <mliska@suse.cz>
1284
1285 * libgcov-util.c (read_gcda_finalize): Remove const operator.
1286 (merge_wrapper): Add both counts and use them properly.
1287 (topn_to_memory_representation): New function.
1288 (gcov_merge): Covert on disk representation to in memory
1289 representation.
1290 * libgcov.h: Remove const operator.
1291
6fb94d67
GA
12922020-06-15 Max Filippov <jcmvbkbc@gmail.com>
1293
1294 * configure: Regenerate.
1295 * configure.ac: Use AC_COMPILE_IFELSE instead of manual
1296 preprocessor invocation to check for __XTENSA_CALL0_ABI__.
1297
b952c2cf
GA
12982020-06-09 Martin Liska <mliska@suse.cz>
1299
1300 PR gcov-profile/95494
1301 * libgcov-driver.c (write_top_counters): Cast first to
1302 intptr_t as sizeof(*) != sizeof(gcov_type).
1303 * libgcov.h (gcov_counter_set_if_null): Remove.
1304 (gcov_topn_add_value): Cast first to intptr_t and update
1305 linked list directly.
1306
13072020-06-09 Max Filippov <jcmvbkbc@gmail.com>
1308
1309 * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
1310 with uw_install_context_1.
1311
3add3425
GA
13122020-06-04 Andreas Schwab <schwab@suse.de>
1313
1314 PR target/59230
1315 PR libfortran/59227
1316 * config/ia64/t-softfp-compat (softfp_file_list): Filter out
1317 soft-fp/divtf3.c.
1318 (LIB2ADD): Add config/ia64/divtf3.c.
1319 * config/ia64/divtf3.c: New file.
1320
9a5b7438
GA
13212020-06-03 Martin Liska <mliska@suse.cz>
1322
1323 PR gcov-profile/95480
1324 * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
1325 * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
1326 (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
1327 (gcov_counter_set_if_null): Likewise.
1328
a9312a79
GA
13292020-06-02 Jim Wilson <jimw@sifive.com>
1330
1331 * config/riscv/div.S (__divdi3): For negative arguments, change bgez
1332 to bgtz.
1333
13342020-06-02 Martin Liska <mliska@suse.cz>
1335
1336 * libgcov.h (gcov_topn_add_value): Use xcalloc instead
1337 of xmalloc.
1338
13392020-06-02 Martin Liska <mliska@suse.cz>
1340
1341 * libgcov-driver.c (prune_topn_counter): Remove.
1342 (prune_counters): Likewise.
1343 (merge_one_data): Special case TOP N counters
1344 as they have variable length.
1345 (write_top_counters): New.
1346 (write_one_data): Special case TOP N.
1347 (dump_one_gcov): Do not prune TOP N counters.
1348 * libgcov-merge.c (merge_topn_values_set): Remove.
1349 (__gcov_merge_topn): Use gcov_topn_add_value.
1350 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
1351 Likewise here.
1352 * libgcov.h (gcov_counter_add): New.
1353 (gcov_counter_set_if_null): Likewise.
1354 (gcov_topn_add_value): New.
1355
4a9aa9de
GA
13562020-06-01 Uroš Bizjak <ubizjak@gmail.com>
1357
1358 * config/i386/sfp-exceptions.c (struct fenv):
1359 Add __attribute__ ((gcc_struct)).
1360
885ef72f
GA
13612020-05-29 H.J. Lu <hjl.tools@gmail.com>
1362
1363 PR bootstrap/95413
1364 * configure: Regenerated.
1365
53ffb43a
GA
13662020-05-28 Dong JianQiang <dongjianqiang2@huawei.com>
1367
1368 PR gcov-profile/95332
1369 * libgcov-util.c (read_gcda_file): Call gcov_magic.
1370 * libgcov.h (gcov_magic): Disable GCC poison.
1371
5855bdfa
L
13722020-05-21 H.J. Lu <hongjiu.lu@intel.com>
1373
1374 PR target/95212
1375 * config/i386/cpuinfo.h (processor_features): Move
1376 FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
1377
35b98036
L
13782020-05-20 H.J. Lu <hongjiu.lu@intel.com>
1379
1380 PR target/91695
1381 * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
1382 check.
1383
45395445
L
13842020-05-19 H.J. Lu <hongjiu.lu@intel.com>
1385
1386 PR target/95212
1387 PR target/95220
1388 * config/i386/cpuinfo.c (get_available_features): Fix
1389 FEATURE_GFNI check. Also check FEATURE_AVX512VP2INTERSECT.
1390 * config/i386/cpuinfo.h (processor_features): Add
1391 FEATURE_AVX512VP2INTERSECT.
1392
4c1a5d8b
L
13932020-05-15 H.J. Lu <hongjiu.lu@intel.com>
1394
1395 PR bootstrap/95147
1396 * configure: Regenerated.
1397
8d286dd1
L
13982020-05-14 H.J. Lu <hongjiu.lu@intel.com>
1399
1400 * configure: Regenerated.
1401
39748a89
HPN
14022020-05-09 Hans-Peter Nilsson <hp@axis.com>
1403
1404 * config.host: Remove support for crisv32-*-* and cris*-*-linux.
1405 * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
1406
d3a1459c
UB
14072020-05-06 Uroš Bizjak <ubizjak@gmail.com>
1408
1409 * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
1410 (__math_force_eval_div): New define.
1411 (__sfp_handle_exceptions): Use __math_force_eval_div to use
1412 generic division to generate INVALID, DIVZERO and INEXACT
1413 exceptions.
1414
12667785
KT
14152020-05-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1416
1417 * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
1418 instead of getauxval.
1419 (AT_HWCAP): Define.
1420 (HWCAP_ATOMICS): Define.
1421 Guard detection on __gnu_linux__.
1422
ef836167
MM
14232020-05-05 Michael Meissner <meissner@linux.ibm.com>
1424
1425 * config.host: Delete changes meant for a private branch.
1426 * config/rs6000/t-float128: Likewise.
1427 * configure.ac: Likewise.
1428 * configure: Likewise.
1429
811b7636
ML
14302020-05-05 Martin Liska <mliska@suse.cz>
1431
1432 PR gcov-profile/93623
1433 * Makefile.in: Remove __gcov_flush.
1434 * gcov.h (__gcov_flush): Remove.
1435 * libgcov-interface.c (__gcov_flush): Remove.
1436 (init_mx): Use renamed mutex.
1437 (__gcov_lock): Likewise.
1438 (__gcov_unlock): Likewise.
1439 (__gcov_fork): Likewise.
1440 (__gcov_flush): Remove.
1441
c0532db4
ML
14422020-05-05 Martin Liska <mliska@suse.cz>
1443
1444 PR gcov-profile/93623
1445 * libgcov-interface.c (__gcov_fork): Do not flush
1446 and reset only in child process.
1447 (__gcov_execl): Dump counters only and reset them
1448 only if exec* fails.
1449 (__gcov_execlp): Likewise.
1450 (__gcov_execle): Likewise.
1451 (__gcov_execv): Likewise.
1452 (__gcov_execvp): Likewise.
1453 (__gcov_execve): Likewise.
1454
d39f7dc8
ML
14552020-05-05 Martin Liska <mliska@suse.cz>
1456
1457 PR gcov-profile/93623
1458 * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
1459 * libgcov-interface.c (ALIAS_void_fn): Remove.
1460 (__gcov_lock): New.
1461 (__gcov_unlock): New.
1462 (__gcov_flush): Use __gcov_lock and __gcov_unlock.
1463 (__gcov_reset): Likewise.
1464 (__gcov_dump): Likewise.
1465 * libgcov.h (__gcov_lock): New declaration.
1466 (__gcov_unlock): Likewise.
1467
afb9b710
UB
14682020-05-01 Uroš Bizjak <ubizjak@gmail.com>
1469
1470 * config/i386/sfp-exceptions.c (__math_force_eval): New define.
d3a1459c 1471 (__sfp_handle_exceptions): Use __math_force_eval to evaluate
afb9b710
UB
1472 generic division to generate INVALID and DIVZERO exceptions.
1473
66711279
SH
14742020-04-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
1475
1476 * config/rs6000/crtresfpr.S: Use .machine ppc.
1477 * config/rs6000/crtresxfpr.S: Likewise.
1478 * config/rs6000/crtsavfpr.S: Likewise.
1479
fb22faf4
SN
14802020-04-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
1481
1482 PR target/94514
1483 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
1484 Update context->flags accroding to the frame state.
1485
df73e584
UB
14862020-04-19 Uroš Bizjak <ubizjak@gmail.com>
1487
1488 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
1489 Remove unneeded assignments to volatile memory.
1490
5b2f76e3
JJ
14912020-04-15 Jakub Jelinek <jakub@redhat.com>
1492
1493 PR target/93053
1494 * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
1495 * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
1496 is not defined, use just .arch armv8-a.
1497 (B, M, N, OPN): Define.
1498 (COMMENT): New .macro.
1499 (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
1500 defined. Otherwise, move the operands right after the glue? and
1501 comment out operands where the macros are used.
1502 * configure: Regenerated.
1503 * config.in: Regenerated.
1504
50c78532
ILT
15052020-04-07 Ian Lance Taylor <iant@golang.org>
1506
1507 PR libgcc/94513
1508 * generic-morestack.c: Give up trying to use __mmap/__munmap, use
1509 syscall instead.
1510
458ca332
ILT
15112020-04-04 Ian Lance Taylor <iant@golang.org>
1512
1513 * generic-morestack.c: Only use __mmap on glibc >= 2.26.
1514
710d54ed
ILT
15152020-04-03 Ian Lance Taylor <iant@golang.org>
1516
1517 * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
1518 than mmap/munmap, to avoid hooks.
1519
b749b5ec
JJ
15202020-04-03 Jim Johnston <jjohnst@us.ibm.com>
1521
1522 * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
1523 (TPFRA_OFFSET): Macros removed.
1524 (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
1525 (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
1526 (PG3_SKIPPING_OFFSET): New macros.
1527 (__isPATrange): Use cinfc_fast for the check.
1528 (__isSkipResetAddr): New function.
1529 (s390_fallback_frame_state): Check for skip trace addresses. Use
1530 either ICST_CRET or ICST_SRET to calculate return address
1531 location.
1532 (__tpf_eh_return): Handle skip trace addresses.
1533
a9cd2d78
RE
15342020-03-26 Richard Earnshaw <rearnsha@arm.com>
1535
1536 PR target/94220
1537 * config/arm/lib1funcs.asm (COND): Use a single definition for
1538 unified syntax.
1539 (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
1540 (aeabi_idivmod): Likewise.
1541 (divsi3_skip_div0_test): Likewise.
1542
f582ca0f
MI
15432020-03-17 Mihail Ionescu <mihail.ionescu@arm.com>
1544
1545 * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
1546
068fe0a9
AK
15472020-03-04 Andreas Krebbel <krebbel@linux.ibm.com>
1548
1549 * config.host: Include the new makefile fragment.
1550 * config/s390/t-tpf: New file.
1551
6b9ce2b4
RE
15522020-03-03 Richard Earnshaw <rearnsha@arm.com>
1553
1554 * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
1555 syntax.
1556 (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
1557 (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
1558 (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
1559 (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
1560 * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
1561 syntax.
1562 (divsi3, modsi3): Likewise.
1563 (clzdi2, ctzsi2): Likewise.
1564 * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
1565 unified syntax.
1566 (UNWIND_WRAPPER): Likewise.
1567
8dd5d8f3
ML
15682020-03-02 Martin Liska <mliska@suse.cz>
1569
1570 * libgcov-interface.c: Remove duplicate
1571 declaration of __gcov_flush_mx.
1572
ea0b1252
ML
15732020-02-18 Martin Liska <mliska@suse.cz>
1574
1575 PR ipa/92924
1576 * libgcov-merge.c (merge_topn_values_set): Record
1577 when a TOP N counter becomes invalid. When merging
1578 remove a smallest value if the space is needed.
1579
02ce382c
SL
15802020-02-12 Sandra Loosemore <sandra@codesourcery.com>
1581
1582 PR libstdc++/79193
1583 PR libstdc++/88999
1584
1585 * configure: Regenerated.
1586
7214fce3
JL
15872020-02-10 Jeff Law <law@redhat.com>
1588
1589 * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
1590 sections.
1591 * config/frv/frvend.c: Similarly.
1592
cf0f07ef
L
15932020-02-10 H.J. Lu <hongjiu.lu@intel.com>
1594
1595 PR libgcc/85334
1596 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1597 New.
1598
5602b48b
CL
15992020-02-10 Christophe Lyon <christophe.lyon@linaro.org>
1600
1601 PR target/93615
1602 * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
1603 _Unwind_gnu_Find_got.
1604 * unwind-pe.h: Likewise.
1605
811a475e
JJ
16062020-02-07 Jakub Jelinek <jakub@redhat.com>
1607
1608 PR target/93615
1609 * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
1610 (_Unwind_gnu_Find_got): ... this. Use __asm instead of asm. Remove
1611 trailing :s in asm. Formatting fixes.
1612 (_Unwind_decode_typeinfo_ptr): Adjust caller.
1613
2d33dcfe
SL
16142020-01-31 Sandra Loosemore <sandra@codesourcery.com>
1615
1616 nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
1617
1618 * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
1619 * config/nios2-elf-lib.h: New.
1620 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
1621 code for finding GOT base for nios2.
1622
3ae37f92
ML
16232020-01-27 Martin Liska <mliska@suse.cz>
1624
1625 PR gcov-profile/93403
1626 * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
1627 Call __gcov_indirect_call_profiler_body.
1628 (__gcov_indirect_call_profiler_body): New.
1629 (__gcov_indirect_call_profiler_v4_atomic): New.
1630 * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
1631 New declaration.
1632
2744b8b2
CZ
16332020-01-27 Claudiu Zissulescu <claziss@synopsys.com>
1634
1635 * config/arc/crti.S: Add RF16 object attribute.
1636 * config/arc/crtn.S: Likewise.
1637 * config/arc/crttls.S: Likewise.
1638 * config/arc/lib1funcs.S: Likewise.
1639 * config/arc/fp-hack.h (ARC_OPTFPE): Define.
1640 * config/arc/lib2funcs.c: New file.
1641 * config/arc/t-arc: Add lib2funcs to LIB2ADD.
1642
e8e66971
MR
16432020-01-24 Maciej W. Rozycki <macro@wdc.com>
1644
1645 * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
1646 * configure.ac: Handle `--with-toolexeclibdir='.
1647 * configure: Regenerate.
1648
54b3d52c
DM
16492020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
1650
1651 * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
1652
a3c1e1f2
DM
16532020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
1654
1655 * config/mips/gnustack.h: New file.
1656 * config/mips/crti.S: Include gnustack.h.
1657 * config/mips/crtn.S: Likewise.
1658 * config/mips/mips16.S: Likewise.
1659 * config/mips/vr4120-div.S: Likewise.
1660
e9ee848d
ML
16612020-01-23 Martin Liska <mliska@suse.cz>
1662
1663 * libgcov-driver.c (prune_topn_counter): Remove
1664 check for -1 as we only prune run-time counters
1665 that do not generate an invalid state.
1666
7491c17f
ML
16672020-01-22 Martin Liska <mliska@suse.cz>
1668
1669 PR tree-optimization/92924
1670 * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
1671 try to find an existing value, then find an empty slot
1672 if not found.
1673
5f32f9cf
ML
16742020-01-22 Martin Liska <mliska@suse.cz>
1675
1676 PR tree-optimization/92924
1677 * libgcov-driver.c (prune_topn_counter): New.
1678 (prune_counters): Likewise.
1679 (dump_one_gcov): Prune a run-time counter.
1680 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
1681 For a known value, add GCOV_TOPN_VALUES to value.
1682 Otherwise, decrement all counters by one.
1683
463f6499
HPN
16842020-01-18 Hans-Peter Nilsson <hp@axis.com>
1685
1686 * config/cris/arit.c (DS): Apply attribute __fallthrough__.
1687
84479e3a
JDA
16882020-01-18 John David Anglin <danglin@gcc.gnu.org>
1689
1690 PR libgcc/92988
1691 * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
1692 DEFAULT_USE_CXA_ATEXIT is true.
1693
e953433f 16942020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
674dcc3f 1695 Thomas Preud'homme <thomas.preudhomme@arm.com>
e953433f
MI
1696
1697 * config/arm/t-arm: Check return value of gcc rather than lack of
1698 output.
1699
03e87724
GJL
17002020-01-14 Georg-Johann Lay <avr@gjlay.de>
1701
1702 * config/avr/lib1funcs.S (skip): Simplify.
1703
af9bd920
KCY
17042020-01-10 Kwok Cheung Yeung <kcy@codesourcery.com>
1705
1706 * config/gcn/atomic.c: Remove include of stdint.h.
1707 (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
1708 __UINTPTR_TYPE__.
1709
d6491d15
KCY
17102020-01-09 Kwok Cheung Yeung <kcy@codesourcery.com>
1711
1712 * config/gcn/atomic.c: New.
1713 * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
1714
f30dd607
GJL
17152020-01-08 Georg-Johann Lay <avr@gjlay.de>
1716
1717 Implement 64-bit double functions.
1718
1719 PR target/92055
1720 * config.host (tmake_file) [target=avr]: Add t-libf7,
1721 t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
1722 * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
1723 depending on sizeof (double) or sizeof (long double).
1724 * config/avr/libf7: New folder.
1725
5205a445
OH
17262020-01-05 Olivier Hainque <hainque@adacore.com>
1727
1728 * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
1729 by IN_LIBGCC2.
1730
8d9254fc
JJ
17312020-01-01 Jakub Jelinek <jakub@redhat.com>
1732
1733 Update copyright years.
1734
abb6c3ee
OH
17352019-12-30 Olivier Hainque <hainque@adacore.com>
1736
1737 * config/gthr-vxworks.h: Use _vxworks-versions.h.
1738 * config/gthr-vxworks-tls.c: Likewise.
1739
d7f5094a
OH
17402019-12-30 Olivier Hainque <hainque@adacore.com>
1741
1742 * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
1743 standard zero-initializer syntax.
1744
49cfaa2a
OH
17452019-12-30 Olivier Hainque <hainque@adacore.com>
1746
1747 * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
1748 reference to the internal VX_GET_TLS_DATA interface.
1749
89b9a554
OH
17502019-12-30 Olivier Hainque <hainque@adacore.com>
1751
1752 * config/vxcrtstuff.c: Fix incorrect spelling of
1753 USE_INITFINI_ARRAY in guard.
1754
e8aa9f55
JL
17552019-12-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1756
1757 * config.host: s/msp430*-*-elf/msp430-*-elf*.
1758 Override default "extra_parts" variable.
1759 * configure: Regenerate.
1760 * configure.ac: Disable TM clone registry by default for
1761 msp430-elfbare.
1762
a9046e98
JL
17632019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1764
1765 * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
1766 "extra_parts".
1767 * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
1768
34a53788
JL
17692019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1770
1771 * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
1772 true.
1773
21a098f4
JL
17742019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1775
1776 * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
1777 defined instead of its value.
1778
ad8b7783
JL
17792019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1780
1781 * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
1782 if it will have contents.
1783
08d7ff78
GJL
17842019-12-05 Georg-Johann Lay <avr@gjlay.de>
1785
1786 PR target/92055
1787 * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
1788
3d3a96a2
SN
17892019-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
1790
34b4d99d 1791 PR libgcc/91737
3d3a96a2
SN
1792 * config.host: Add t-gthr-noweak on *-*-musl*.
1793 * config/t-gthr-noweak: New file.
1794
632b5e3d
JDA
17952019-11-17 John David Anglin <danglin@gcc.gnu.org>
1796
1797 * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
1798 volatile void *. Remove trap check.
1799 (__kernel_cmpxchg2): Likewise.
1800 (FETCH_AND_OP_2): Adjust operand types.
1801 (OP_AND_FETCH_2): Likewise.
1802 (FETCH_AND_OP_WORD): Likewise.
1803 (OP_AND_FETCH_WORD): Likewise.
1804 (COMPARE_AND_SWAP_2): Likewise.
1805 (__sync_val_compare_and_swap_4): Likewise.
1806 (__sync_bool_compare_and_swap_4): Likewise.
1807 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
1808 (__sync_lock_test_and_set_4): Likewise.
1809 (SYNC_LOCK_RELEASE_1): Likewise. Use __kernel_cmpxchg2 for release.
1810 (__sync_lock_release_4): Adjust operand types. Use __kernel_cmpxchg
1811 for release.
1812 (__sync_lock_release_8): Remove.
1813
838fd641
SN
18142019-11-15 Szabolcs Nagy <szabolcs.nagy@arm.com>
1815
1816 * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
1817 of __sigset_t.
1818
27204060
JL
18192019-11-14 Jerome Lambourg <lambourg@adacore.com>
1820 Doug Rupp <rupp@adacore.com>
1821 Olivier Hainque <hainque@adacore.com>
1822
1823 * config.host: Collapse the arm-vxworks entries into
1824 a single arm-wrs-vxworks7* one.
1825 * config/arm/unwind-arm-vxworks.c: Update comments. Provide
1826 __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
1827 kernel modules, to be overriden by libstdc++ when we link with
1828 it. Rely on externally provided __exidx_start/end.
1829
3004f893
DR
18302019-11-14 Doug Rupp <rupp@adacore.com>
1831 Olivier Hainque <hainque@adacore.com>
1832
1833 * config.host: Handle aarch64*-wrs-vxworks7*.
1834
36e5f4d4
OH
18352019-11-12 Olivier Hainque <hainque@adacore.com>
1836
1837 * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
1838 sources except the cxx0x support to LIB2ADDEH. We don't support
1839 cxx0x on AE/653.
1840 * config/t-vxworksae: New file.
1841 * config.host: Handle *-*-vxworksae: Add the two aforementioned
1842 Makefile fragment files at their expected position in the tmake_file
1843 list, in accordance with what is done for other VxWorks variants.
1844
806dd047
CG
18452019-11-12 Corentin Gay <gay@adacore.com>
1846 Jerome Lambourg <lambourg@adacore.com>
1847 Olivier Hainque <hainque@adacore.com>
1848
1849 * config/t-gthr-vxworks: New file, add all the gthr-vxworks
1850 sources to LIB2ADDEH.
1851 * config/t-vxworks: Remove adjustments to LIB2ADDEH.
1852 * config/t-vxworks7: Likewise.
1853
1854 * config.host: Append a block at the end of the file to add the
1855 t-gthr files to the tmake_file list for VxWorks after everything
1856 else.
1857
1858 * config/vxlib.c: Rename as gthr-vxworks.c.
1859 * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
1860
1861 * config/gthr-vxworks.h: Simplify a few comments. Expose a TAS
1862 API and a basic error checking API, both internal. Simplify the
1863 __gthread_once_t type definition and initializers. Add sections
1864 for condition variables support and for the C++0x thread support,
1865 conditioned against Vx653 for the latter.
1866
1867 * config/gthr-vxworks.c (__gthread_once): Simplify comments and
1868 implementation, leveraging the TAS internal API.
1869 * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
1870 API, leveraging the general availability of TLS services in VxWorks7
1871 post SR6xxx.
1872 (__gthread_setspecific, __gthread_setspecific): Use it.
1873 (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
1874 * config/gthr-vxworks-cond.c: New file. GTHREAD_COND variable
1875 support based on VxWorks primitives.
1876 * config/gthr-vxworks-thread.c: New file. GTHREAD_CXX0X support
1877 based on VxWorks primitives.
1878
78e49fb1
JL
18792019-11-06 Jerome Lambourg <lambourg@adacore.com>
1880 Olivier Hainque <hainque@adacore.com>
1881
1882 * config/vxcrtstuff.c: New file.
1883 * config/t-vxcrtstuff: New Makefile fragment.
1884 * config.host: Append t-vxcrtstuff to the tmake_file list
1885 on all VxWorks ports using dwarf for table based EH.
1886
29f3def3
GJL
18872019-11-07 Georg-Johann Lay <avr@gjlay.de>
1888
1889 Support 64-bit double and 64-bit long double configurations.
1890
1891 PR target/92055
1892 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
1893 long double is a 32-bit type.
1894 * config/avr/t-avrlibc: Copy double64 and long-double64
1895 multilib(s) from the vanilla one.
1896 * config/avr/t-copy-libgcc: New Makefile snip.
1897
62ec242e
JL
18982019-11-04 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1899
1900 * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
1901 the target output object format is not ELF.
1902 s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
1903
da5c1bbe
OE
19042019-11-03 Oleg Endo <olegendo@gcc.gnu.org>
1905
1906 PR libgcc/78804
1907 * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
1908 * fp-bit.c (pack_d, unpack_d): Remove special cases for
1909 FLOAT_BIT_ORDER_MISMATCH.
1910 * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
1911
8dc56a22
JW
19122019-11-01 Jim Wilson <jimw@sifive.com>
1913
1914 * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
1915
91c64455
JL
19162019-10-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1917
1918 * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
1919 s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
1920 s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
1921 Define symbols for 32-bit and f5series hardware multiply
1922 register addresses.
1923 Replace hard-coded register addresses with symbols.
1924 Fix "_mspabi*" typo.
1925 Fix whitespace.
1926 * config/msp430/lib2mul.c: Add comment.
1927
85093ac6
JDA
19282019-10-15 John David Anglin <danglin@gcc.gnu.org>
1929
1930 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
1931 unsigned int. Adjust callers.
1932 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
1933 unsigned int *. Load relocation offset before function pointer.
1934 Add barrier to ensure ordering.
1935
1aea083d
JDA
19362019-10-12 John David Anglin <danglin@gcc.gnu.org>
1937
1938 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
1939 Load PIC register after branch target. Fix white space.
1940 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
1941 implementations. Load PIC register after branch target. Don't
1942 clobber function pointer when it points to function descriptor.
1943 Use nullification instead of branch in LINUX implementation.
1944
c49af82c
JDA
19452019-10-03 John David Anglin <danglin@gcc.gnu.org>
1946
1947 * config/pa/fptr.c: Disable -Warray-bounds warning.
1948
88a51d68
RH
19492019-09-25 Richard Henderson <richard.henderson@linaro.org>
1950
9e46fd07
RH
1951 * config.in, configure: Re-rebuild with stock autoconf 2.69,
1952 not the ubuntu modified 2.69.
1953
58d169ba
RH
1954 PR target/91833
1955 * config/aarch64/lse-init.c: Include auto-target.h. Disable
1956 initialization if !HAVE_SYS_AUXV_H.
1957 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
1958 * config.in, configure: Rebuild.
1959
88a51d68
RH
1960 PR target/91834
1961 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
1962 overlap the inputs.
1963
761e6bb9
SZ
19642019-09-25 Shaokun Zhang <zhangshaokun@hisilicon.com>
1965
1966 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
1967 CTR_EL0.IDC and CTR_EL0.DIC.
1968
76c93295
CL
19692019-09-20 Christophe Lyon <christophe.lyon@st.com>
1970
1971 Revert:
1972 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1973 Mickaël Guêné <mickael.guene@st.com>
1974
1975 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
1976 architecture.
1977
33befddc
RH
19782019-09-19 Richard Henderson <richard.henderson@linaro.org>
1979
1980 * config/aarch64/lse-init.c: New file.
1981 * config/aarch64/lse.S: New file.
1982 * config/aarch64/t-lse: New file.
1983 * config.host: Add t-lse to all aarch64 tuples.
1984
ae1152e5
CL
19852019-09-10 Christophe Lyon <christophe.lyon@st.com>
1986 Mickaël Guêné <mickael.guene@st.com>
1987
84818dbb
CL
1988 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
1989 architecture.
1990
19912019-09-10 Christophe Lyon <christophe.lyon@st.com>
1992 Mickaël Guêné <mickael.guene@st.com>
1993
ae1152e5
CL
1994 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
1995 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
1996 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
1997 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
1998 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
1999 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
2000 (__gnu_personality_sigframe_fdpic): New.
2001 (get_eit_entry): Add FDPIC signal frame support.
2002
5d727a4b
CL
20032019-09-10 Christophe Lyon <christophe.lyon@st.com>
2004 Mickaël Guêné <mickael.guene@st.com>
2005
2006 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
2007 (__kernel_dmb): Likewise.
2008 (__fdpic_cmpxchg): New function.
2009 (__fdpic_dmb): New function.
2010 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
2011 (gnu_Unwind_Find_got): New function.
2012 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
2013 * unwind-arm-common.inc (UCB_PR_GOT): New.
2014 (funcdesc_t): New struct.
2015 (get_eit_entry): Add FDPIC support.
2016 (unwind_phase2): Likewise.
2017 (unwind_phase2_forced): Likewise.
2018 (__gnu_Unwind_RaiseException): Likewise.
2019 (__gnu_Unwind_Resume): Likewise.
2020 (__gnu_Unwind_Backtrace): Likewise.
2021 * unwind-pe.h (read_encoded_value_with_base): Likewise.
2022
b1e21e5a 20232019-09-10 Christophe Lyon <christophe.lyon@st.com>
11189793 2024 Mickaël Guêné <mickael.guene@st.com>
b1e21e5a 2025
11189793
CL
2026 * libgcc/crtstuff.c: Add support for FDPIC.
2027
20282019-09-10 Christophe Lyon <christophe.lyon@st.com>
2029
2030 * config.host: Handle *-*-uclinuxfdpiceabi.
b1e21e5a 2031
91dfef96
JM
20322019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
2033
2034 * config.host: Set cpu_type for bpf-*-* targets.
2035 * config/bpf/t-bpf: Likewise.
2036 * config/bpf/crtn.S: Likewise.
2037 * config/bpf/crti.S: New file.
2038
2f4d8951
JW
20392019-09-06 Jim Wilson <jimw@sifive.com>
2040
2041 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
2042 (riscv*-*-freebsd*): Likewise.
2043
2f2aeda9
UW
20442019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
2045
2046 * config.host: Remove references to spu.
2047 * config/spu/: Remove directory.
2048
d16017da
JL
20492019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2050
2051 PR target/91306
2052 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
2053 element type, instead of "sizeof" the element type.
2054 (__DTOR_LIST__): Likewise.
2055 (__TMC_LIST__): Likewise.
2056 (__do_global_dtors_aux_fini_array_entry): Likewise.
2057 (__frame_dummy_init_array_entry): Likewise.
2058 (__CTOR_END__): Likewise.
2059 (__DTOR_END__): Likweise.
2060 (__FRAME_END__): Likewise.
2061 (__TMC_END__): Likewise.
2062
a9fcfec3
HL
20632019-08-20 Lili Cui <lilicui@intel.com>
2064
2065 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
2066 INTEL_COREI7_COOPERLAKE.
2067
428642b1
MT
20682019-07-31 Matt Thomas <matt@3am-software.com>
2069 Nick Hudson <nick@nthcliff.demon.co.uk>
2070 Matthew Green <mrg@eterna.com.au>
2071 Maya Rashish <coypu@sdf.org>
2072
2073 * config.host (hppa*-*-netbsd*): New case.
2074 * config/pa/t-netbsd: New file.
2075
f0efd925
JH
20762019-07-31 Joel Hutton <Joel.Hutton@arm.com>
2077
2078 * config/arm/cmse.c (cmse_check_address_range): Add
2079 warn_unused_result attribute.
2080
a861990d
ML
20812019-07-22 Martin Liska <mliska@suse.cz>
2082
2083 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
2084 * config/pa/t-stublib: Likewise.
2085
9c0dba7c
SH
20862019-07-22 Stafford Horne <shorne@gmail.com>
2087
2088 PR target/90362
2089 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
2090 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
2091 instructions are not available on every processor. Change a
2092 l.bnf to l.bf to fix logic issue.
2093
61afc8f8
IS
20942019-07-04 Iain Sandoe <iain@sandoe.co.uk>
2095
2096 * config.host: Remove reference to t-darwin8.
2097
179c7ef5
IS
20982019-07-03 Iain Sandoe <iain@sandoe.co.uk>
2099
2100 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
2101 list.
2102 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
2103 mmacosx-version-min for crts to run across all system versions.
2104 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
2105 * config/t-darwin: Revise mmacosx-version-min for crts to run across
2106 system versions >= 10.4.
2107
596341c7
ML
21082019-07-03 Martin Liska <mliska@suse.cz>
2109
2110 * Makefile.in: Use topn_values instead of one_value names.
2111 * libgcov-merge.c (__gcov_merge_single): Move to ...
2112 (__gcov_merge_topn): ... this.
2113 (merge_single_value_set): Move to ...
2114 (merge_topn_values_set): ... this.
2115 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
2116 ...
2117 (__gcov_topn_values_profiler_body): ... this.
2118 (__gcov_one_value_profiler_v2): Move to ...
2119 (__gcov_topn_values_profiler): ... this.
2120 (__gcov_one_value_profiler_v2_atomic): Move to ...
2121 (__gcov_topn_values_profiler_atomic): ... this.
2122 (__gcov_indirect_call_profiler_v4): Remove.
2123 * libgcov-util.c (__gcov_single_counter_op): Move to ...
2124 (__gcov_topn_counter_op): ... this.
2125 * libgcov.h (L_gcov_merge_single): Remove.
2126 (L_gcov_merge_topn): New.
2127 (__gcov_merge_single): Remove.
2128 (__gcov_merge_topn): New.
2129 (__gcov_one_value_profiler_v2): Move to ..
2130 (__gcov_topn_values_profiler): ... this.
2131 (__gcov_one_value_profiler_v2_atomic): Move to ...
2132 (__gcov_topn_values_profiler_atomic): ... this.
2133
1b309ca5
ML
21342019-07-03 Martin Liska <mliska@suse.cz>
2135
2136 * libgcov-merge.c (merge_single_value_set): Support N values.
2137 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
2138
5a460280
ID
21392019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
2140
2141 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
2142 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
2143 * configure.ac: Add --disable-tm-clone-registry option.
2144 * configure: Regenerate.
2145
45309d28
ML
21462019-06-27 Martin Liska <mliska@suse.cz>
2147
2148 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
2149 dead assignments.
2150 * libgcov-util.c: Likewise.
2151
c2f7a665
ML
21522019-06-27 Martin Liska <mliska@suse.cz>
2153
2154 * libgcov-util.c (gcov_profile_merge): Release allocated
2155 memory.
2156 (calculate_overlap): Likewise.
2157
a8e55c61
IS
21582019-06-25 Iain Sandoe <iain@sandoe.co.uk>
2159
2160 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
2161 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
2162 Build objects for the out of line save/restore register functions
2163 so that they can be used for any supported Darwin version.
2164 * config/t-darwin: Default the build Darwin version to Darwin8
2165 (MacOS 10.4).
2166
e5ce4cbc
ML
21672019-06-25 Martin Liska <mliska@suse.cz>
2168
2169 * libgcov-driver-system.c (replace_filename_variables): Do not
2170 call strlen with NULL argument.
2171
52a47d28
AS
21722019-06-25 Andrew Stubbs <ams@codesourcery.com>
2173
2174 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
2175 * config/gcn/unwind-gcn.c: New file.
2176
76d46331
KCY
21772019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
2178 Andrew Stubbs <ams@codesourcery.com>
2179
2180 * configure: Regenerate.
2181 * config/gcn/gthr-gcn.h: New.
2182
787783a0
TV
21832019-06-18 Tom de Vries <tdevries@suse.de>
2184
2185 * config/nvptx/crt0.c (__main): Declare.
2186
f32f7585
MG
21872019-06-17 Matthew Green <mrg@eterna.com.au>
2188 Maya Rashish <coypu@sdf.org>
2189
2190 * config.host (aarch64*-*-netbsd*): New case.
2191
0fcc78f7
JL
21922019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2193
2194 * config/msp430/slli.S (__mspabi_sllll): New library function for
2195 performing a logical left shift of a 64-bit value.
2196 * config/msp430/srai.S (__mspabi_srall): New library function for
2197 performing a arithmetic right shift of a 64-bit value.
2198 * config/msp430/srll.S (__mspabi_srlll): New library function for
2199 performing a logical right shift of a 64-bit value.
2200
b27c1082
MT
22012019-06-14 Matt Thomas <matt@3am-software.com>
2202 Matthew Green <mrg@eterna.com.au>
2203 Nick Hudson <skrll@netbsd.org>
2204 Maya Rashish <coypu@sdf.org>
2205
2206 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
2207 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
2208 functions to build.
2209 * config/arm/t-netbsd-eabi: New file.
2210
ae7deb4b
DD
22112019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
2212
2213 * config.host: Add PRU target.
2214 * config/pru/asri.c: New file.
2215 * config/pru/eqd.c: New file.
2216 * config/pru/eqf.c: New file.
2217 * config/pru/ged.c: New file.
2218 * config/pru/gef.c: New file.
2219 * config/pru/gtd.c: New file.
2220 * config/pru/gtf.c: New file.
2221 * config/pru/led.c: New file.
2222 * config/pru/lef.c: New file.
2223 * config/pru/lib2bitcountHI.c: New file.
2224 * config/pru/lib2divHI.c: New file.
2225 * config/pru/lib2divQI.c: New file.
2226 * config/pru/lib2divSI.c: New file.
2227 * config/pru/libgcc-eabi.ver: New file.
2228 * config/pru/ltd.c: New file.
2229 * config/pru/ltf.c: New file.
2230 * config/pru/mpyll.S: New file.
2231 * config/pru/pru-abi.h: New file.
2232 * config/pru/pru-asm.h: New file.
2233 * config/pru/pru-divmod.h: New file.
2234 * config/pru/sfp-machine.h: New file.
2235 * config/pru/t-pru: New file.
2236
0d7b3e47
JJ
22372019-06-11 Jakub Jelinek <jakub@redhat.com>
2238
2239 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
2240
54e2d83c
ML
22412019-06-10 Martin Liska <mliska@suse.cz>
2242
2243 PR bootstrap/90808
2244 * libgcov.h: Add ATTRIBUTE_UNUSED.
2245
92d41717
ML
22462019-06-10 Martin Liska <mliska@suse.cz>
2247
2248 * Makefile.in: Add __gcov_one_value_profiler_v2,
2249 __gcov_one_value_profiler_v2_atomic and
2250 __gcov_indirect_call_profiler_v4.
2251 * libgcov-merge.c (__gcov_merge_single): Change
2252 function signature.
2253 (merge_single_value_set): New.
2254 * libgcov-profiler.c (__gcov_one_value_profiler_body):
2255 Update functionality.
2256 (__gcov_one_value_profiler): Remove.
2257 (__gcov_one_value_profiler_v2): ... this.
2258 (__gcov_one_value_profiler_atomic): Rename to ...
2259 (__gcov_one_value_profiler_v2_atomic): this.
2260 (__gcov_indirect_call_profiler_v3): Rename to ...
2261 (__gcov_indirect_call_profiler_v4): ... this.
2262 * libgcov.h (__gcov_one_value_profiler): Remove.
2263 (__gcov_one_value_profiler_atomic): Remove.
2264 (__gcov_one_value_profiler_v2_atomic): New.
2265 (__gcov_indirect_call_profiler_v3): Remove.
2266 (__gcov_one_value_profiler_v2): New.
2267 (__gcov_indirect_call_profiler_v4): New.
2268 (gcov_get_counter_ignore_scaling): New function.
2269
e37333ba
ML
22702019-06-07 Martin Liska <mliska@suse.cz>
2271
2272 * Makefile.in: Remove usage of
2273 _gcov_merge_icall_topn.
2274 * libgcov-driver.c (gcov_sort_n_vals): Remove.
2275 (gcov_sort_icall_topn_counter): Likewise.
2276 (gcov_sort_topn_counter_arrays): Likewise.
2277 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
2278 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
2279 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
2280 Likewise.
2281 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
2282 (struct indirect_call_tuple): Remove.
2283 (__gcov_indirect_call_topn_profiler): Remove.
2284 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
2285 * libgcov.h (gcov_sort_n_vals): Remove.
2286 (L_gcov_merge_icall_topn): Likewise.
2287 (__gcov_merge_icall_topn): Likewise.
2288 (__gcov_indirect_call_topn_profiler): Likewise.
2289
34a4a9c2
IS
22902019-06-06 Iain Sandoe <iain@sandoe.co.uk>
2291
2292 * config/rs6000/t-darwin: Ensure that the unwinder is built with
2293 altivec enabled.
2294
d1b2f85f
JL
22952019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2296
2297 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
2298 section.
2299 (__mspabi_slli): Likewise.
2300 (__mspabi_slll_n): Likewise.
2301 (__mspabi_slll): Likewise.
2302 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
2303 (__mspabi_srai): Likewise.
2304 (__mspabi_sral_n): Likewise.
2305 (__mspabi_sral): Likewise.
2306 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
2307 (__mspabi_srli): Likewise.
2308 (__mspabi_srll_n): Likewise.
2309 (__mspabi_srll): Likewise.
2310
e69a13d1
YS
23112019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
2312
2313 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
2314 Add appropriate tm_file clause as well.
2315 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
2316
b009eac1
JC
23172019-06-05 James Clarke <jrtc27@jrtc27.com>
2318
2319 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
2320 rather than .data/.bss so it can be accessed via gp-relative
2321 addressing.
2322
781d39f2
DE
23232019-06-05 David Edelsohn <dje.gcc@gmail.com>
2324
2325 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
2326 (CR2_REGNO): Rename to R_CR2.
2327 (XER_REGNO): Rename to R_XER.
2328 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
2329 (VRSAVE_REGNO): Rename to R_VRSAVE.
2330 (VSCR_REGNO): R_VSCR.
2331
76aaa9cd
YS
23322019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
2333
2334 * config.host (rx-*-linux*): Add new case.
2335 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
2336
8fc16d72
ST
23372019-05-29 Sam Tebbs <sam.tebbs@arm.com>
2338
2339 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
2340 function.
2341 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
2342 aarch64_post_frob_eh_handler_addr): Add check for b-key.
2343 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
2344 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
2345 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
2346 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
2347 string.
2348 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
2349 string.
2350 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
2351
e54b1a92
RO
23522019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2353
2354 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
2355 Remove Solaris 9 and 10 support.
2356 (sparc_is_sighandler): Likewise.
2357
abbb8307
JDA
23582019-05-26 John David Anglin <danglin@gcc.gnu.org>
2359
2360 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
2361
2581344d
L
23622019-05-17 H.J. Lu <hongjiu.lu@intel.com>
2363
2364 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
2365 4_FP_W_TYPEs are used for IEEE quad precision.
2366 * soft-fp/extendhftf2.c: Likewise.
2367 * soft-fp/extendsftf2.c: Likewise.
2368 * soft-fp/extendxftf2.c: Likewise.
2369 * soft-fp/trunctfdf2.c: Likewise.
2370 * soft-fp/trunctfhf2.c: Likewise.
2371 * soft-fp/trunctfsf2.c: Likewise.
2372 * soft-fp/trunctfxf2.c: Likewise.
2373 * config/rs6000/ibm-ldouble.c: Likewise.
2374
ccd1242e
RO
23752019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2376
2377 * config.host: Simplify various *-*-solaris2.1[0-9]* to
2378 *-*-solaris2*.
2379 * configure.ac: Likewise.
2380 * configure: Regenerate.
2381
2382 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
2383 Solaris 10 and Solaris 11 < snv_125 handling.
2384
ef5eb79d
IS
23852019-05-12 Iain Sandoe <iain@sandoe.co.uk>
2386
2387 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
2388
4f0e90fa
HL
23892019-05-07 Hongtao Liu <hongtao.liu@intel.com>
2390
2391 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
2392 * config/i386/cpuinfo.h (enum processor_features): Add
2393 FEATURE_AVX512BF16.
2394
48528842
RR
23952019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
2396 Bernd Edlinger <bernd.edlinger@hotmail.de>
2397 Jakub Jelinek <jakub@redhat.com>
2398
2399 PR target/89093
2400 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
2401 * config/arm/unwind-arm.c: Likewise.
2402 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
2403 attribute for ARM.
2404
887e182f
MC
24052019-04-15 Monk Chiang <sh.chiang04@gmail.com>
2406
2407 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
2408 (RT_SIGRETURN): Update.
2409 (nds32_fallback_frame_state): Update.
2410
a90b0cdd
MS
24112019-02-21 Martin Sebor <msebor@redhat.com>
2412
2413 * libgcc2.h (__clear_cache): Correct signature.
2414 * libgcc2.c (__clear_cache): Same.
2415
1ed28eda
UB
24162019-02-20 Uroš Bizjak <ubizjak@gmail.com>
2417
2418 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
2419 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
2420
fe95aee9
UB
24212019-02-19 Uroš Bizjak <ubizjak@gmail.com>
2422
2423 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
2424 regno instead of index to DWARF_ZERO_REG.
2425
bf7988f1
EB
24262019-02-15 Eric Botcazou <ebotcazou@adacore.com>
2427
2428 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
2429 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
2430
ba2c1ca8
UB
24312019-01-31 Uroš Bizjak <ubizjak@gmail.com>
2432
2433 * config/alpha/t-linux: Add -mfp-rounding-mode=d
2434 to HOST_LIBGCC2_CFLAGS.
2435
6395ba73
L
24362019-01-23 Joseph Myers <joseph@codesourcery.com>
2437
2438 PR libgcc/88931
ba2c1ca8 2439 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
6395ba73 2440
756721ba
ML
24412019-01-18 Martin Liska <mliska@suse.cz>
2442
2443 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
2444 to ...
2445 (__gcov_indirect_call_profiler_v3): ... this.
2446 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
2447 (__gcov_indirect_call_profiler_v3): Likewise.
2448 * Makefile.in: Bump function name.
2449
d273c40a
ML
24502019-01-18 Martin Liska <mliska@suse.cz>
2451
2452 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
2453 (gcov_version): Use in gcov_error.
2454 (merge_one_data): Likewise.
2455 (dump_one_gcov): Likewise.
2456
be9d9fdb
ML
24572019-01-18 Martin Liska <mliska@suse.cz>
2458
2459 * libgcov-driver.c (gcov_version_string): New function.
2460 (gcov_version): Convert version integer into string.
2461
91d7b7fe
AS
24622019-01-17 Andrew Stubbs <ams@codesourcery.com>
2463 Kwok Cheung Yeung <kcy@codesourcery.com>
2464 Julian Brown <julian@codesourcery.com>
2465 Tom de Vries <tom@codesourcery.com>
2466
2467 * config.host: Recognize amdgcn*-*-amdhsa.
2468 * config/gcn/crt0.c: New file.
2469 * config/gcn/lib2-divmod-hi.c: New file.
2470 * config/gcn/lib2-divmod.c: New file.
2471 * config/gcn/lib2-gcn.h: New file.
2472 * config/gcn/sfp-machine.h: New file.
2473 * config/gcn/t-amdgcn: New file.
2474
67914693
SL
24752019-01-09 Sandra Loosemore <sandra@codesourcery.com>
2476
2477 PR other/16615
2478
2479 * config/c6x/libunwind.S: Mechanically replace "can not" with
2480 "cannot".
2481 * config/tilepro/atomic.h: Likewise.
2482 * config/vxlib-tls.c: Likewise.
2483 * generic-morestack-thread.c: Likewise.
2484 * generic-morestack.c: Likewise.
2485 * mkmap-symver.awk: Likewise.
2486
a5544970
JJ
24872019-01-01 Jakub Jelinek <jakub@redhat.com>
2488
2489 Update copyright years.
2490
da77eace
L
24912018-12-20 H.J. Lu <hongjiu.lu@intel.com>
2492
2493 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
2494 to ignore -Waddress-of-packed-member.
2495
72e3a529
TP
24962018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
2497
2498 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
2499 parameter and corresponding code.
2500 (ARM_FUNC_START): Likewise in both definitions.
2501 Also update footer comment about condition that need to match with
2502 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
2503 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
2504 defined. Weakly define it in this case.
2505 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
2506 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
2507 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
2508 comment to keep condition in sync with the one in
2509 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
2510
5d54c798
WX
25112018-12-18 Wei Xiao <wei3.xiao@intel.com>
2512
2513 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
2514 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
2515
5a2580b6
RV
25162018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2517
2518 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
2519 and .cfi_endproc directives for VxWorks targets.
2520
c0c5112b
PK
25212018-12-05 Paul Koning <ni1d@arrl.net>
2522
2523 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
2524
1ea7ea18
AM
25252018-11-27 Alan Modra <amodra@gmail.com>
2526
2527 * config/rs6000/morestack.S (__stack_split_initialize),
2528 (__morestack_get_guard, __morestack_set_guard),
2529 (__morestack_make_guard): Provide CFI covering these functions.
2530 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
2531
ff641ae1
XQ
25322018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
2533
1ea7ea18 2534 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
ff641ae1
XQ
2535 (sc_pt_regs_lr): Update for kernel.
2536 (sc_pt_regs_tls): Update for kernel.
2537
28209372
XQ
25382018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
2539
2540 * config/csky/linux-unwind.h: Fix coding style.
2541
b2a71af6
XQ
25422018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
2543
2544 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
1ea7ea18 2545 (csky_fallback_frame_state): Modify the check of the
b2a71af6
XQ
2546 instructions to adapt to changes in the kernel
2547
d929e137
SH
25482018-11-09 Stafford Horne <shorne@gmail.com>
2549 Richard Henderson <rth@twiddle.net>
2550
2551 * config.host: Add OpenRISC support.
2552 * config/or1k/*: New.
2553
222cfefa
KC
25542018-11-08 Kito Cheng <kito@andestech.com>
2555
2556 * soft-fp/adddf3.c: Update from glibc.
2557 * soft-fp/addsf3.c: Likewise.
2558 * soft-fp/addtf3.c: Likewise.
2559 * soft-fp/divdf3.c: Likewise.
2560 * soft-fp/divsf3.c: Likewise.
2561 * soft-fp/divtf3.c: Likewise.
2562 * soft-fp/double.h: Likewise.
2563 * soft-fp/eqdf2.c: Likewise.
2564 * soft-fp/eqsf2.c: Likewise.
2565 * soft-fp/eqtf2.c: Likewise.
2566 * soft-fp/extenddftf2.c: Likewise.
2567 * soft-fp/extended.h: Likewise.
2568 * soft-fp/extendhftf2.c: Likewise.
2569 * soft-fp/extendsfdf2.c: Likewise.
2570 * soft-fp/extendsftf2.c: Likewise.
2571 * soft-fp/extendxftf2.c: Likewise.
2572 * soft-fp/fixdfdi.c: Likewise.
2573 * soft-fp/fixdfsi.c: Likewise.
2574 * soft-fp/fixdfti.c: Likewise.
2575 * soft-fp/fixhfti.c: Likewise.
2576 * soft-fp/fixsfdi.c: Likewise.
2577 * soft-fp/fixsfsi.c: Likewise.
2578 * soft-fp/fixsfti.c: Likewise.
2579 * soft-fp/fixtfdi.c: Likewise.
2580 * soft-fp/fixtfsi.c: Likewise.
2581 * soft-fp/fixtfti.c: Likewise.
2582 * soft-fp/fixunsdfdi.c: Likewise.
2583 * soft-fp/fixunsdfsi.c: Likewise.
2584 * soft-fp/fixunsdfti.c: Likewise.
2585 * soft-fp/fixunshfti.c: Likewise.
2586 * soft-fp/fixunssfdi.c: Likewise.
2587 * soft-fp/fixunssfsi.c: Likewise.
2588 * soft-fp/fixunssfti.c: Likewise.
2589 * soft-fp/fixunstfdi.c: Likewise.
2590 * soft-fp/fixunstfsi.c: Likewise.
2591 * soft-fp/fixunstfti.c: Likewise.
2592 * soft-fp/floatdidf.c: Likewise.
2593 * soft-fp/floatdisf.c: Likewise.
2594 * soft-fp/floatditf.c: Likewise.
2595 * soft-fp/floatsidf.c: Likewise.
2596 * soft-fp/floatsisf.c: Likewise.
2597 * soft-fp/floatsitf.c: Likewise.
2598 * soft-fp/floattidf.c: Likewise.
2599 * soft-fp/floattihf.c: Likewise.
2600 * soft-fp/floattisf.c: Likewise.
2601 * soft-fp/floattitf.c: Likewise.
2602 * soft-fp/floatundidf.c: Likewise.
2603 * soft-fp/floatundisf.c: Likewise.
2604 * soft-fp/floatunditf.c: Likewise.
2605 * soft-fp/floatunsidf.c: Likewise.
2606 * soft-fp/floatunsisf.c: Likewise.
2607 * soft-fp/floatunsitf.c: Likewise.
2608 * soft-fp/floatuntidf.c: Likewise.
2609 * soft-fp/floatuntihf.c: Likewise.
2610 * soft-fp/floatuntisf.c: Likewise.
2611 * soft-fp/floatuntitf.c: Likewise.
2612 * soft-fp/gedf2.c: Likewise.
2613 * soft-fp/gesf2.c: Likewise.
2614 * soft-fp/getf2.c: Likewise.
2615 * soft-fp/half.h: Likewise.
2616 * soft-fp/ledf2.c: Likewise.
2617 * soft-fp/lesf2.c: Likewise.
2618 * soft-fp/letf2.c: Likewise.
2619 * soft-fp/muldf3.c: Likewise.
2620 * soft-fp/mulsf3.c: Likewise.
2621 * soft-fp/multf3.c: Likewise.
2622 * soft-fp/negdf2.c: Likewise.
2623 * soft-fp/negsf2.c: Likewise.
2624 * soft-fp/negtf2.c: Likewise.
2625 * soft-fp/op-1.h: Likewise.
2626 * soft-fp/op-2.h: Likewise.
2627 * soft-fp/op-4.h: Likewise.
2628 * soft-fp/op-8.h: Likewise.
2629 * soft-fp/op-common.h: Likewise.
2630 * soft-fp/quad.h: Likewise.
2631 * soft-fp/single.h: Likewise.
2632 * soft-fp/soft-fp.h: Likewise.
2633 * soft-fp/subdf3.c: Likewise.
2634 * soft-fp/subsf3.c: Likewise.
2635 * soft-fp/subtf3.c: Likewise.
2636 * soft-fp/truncdfsf2.c: Likewise.
2637 * soft-fp/trunctfdf2.c: Likewise.
2638 * soft-fp/trunctfhf2.c: Likewise.
2639 * soft-fp/trunctfsf2.c: Likewise.
2640 * soft-fp/trunctfxf2.c: Likewise.
2641 * soft-fp/unorddf2.c: Likewise.
2642 * soft-fp/unordsf2.c: Likewise.
2643 * soft-fp/unordtf2.c: Likewise.
2644
2901f42f
VK
26452018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
2646
2647 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
2648 * config/i386/cpuinfo.h (processor_types): Add znver2.
2649
4310ca66
PK
26502018-11-01 Paul Koning <ni1d@arrl.net>
2651
2652 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
2653 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
2654
22e05272
JM
26552018-10-31 Joseph Myers <joseph@codesourcery.com>
2656
2657 PR bootstrap/82856
2658 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
2659 * configure: Regenerate.
2660
8180cde0
CZ
26612018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
2662
2663 * config/arc/lib1funcs.S (_muldi3): New function.
2664 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
2665
be7b071e
RV
26662018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2667
2668 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
2669
3239d726
ML
26702018-10-25 Martin Liska <mliska@suse.cz>
2671
2672 PR other/87735
2673 * libgcov-profiler.c: Revert.
2674
19b55958
ML
26752018-10-24 Martin Liska <mliska@suse.cz>
2676
2677 * libgcov-profiler.c: Start from 1 in order to distinguish
2678 functions which were seen and these that were not.
2679
a9a2fddb
PK
26802018-10-18 Paul Koning <ni1d@arrl.net>
2681
2682 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
2683 standard.
2684 * divmod.c: Update references to __udivmodsi4.
2685 * udivmod.c: Ditto.
2686 * udivhi3.c: New file.
2687 * udivmodhi4.c: New file.
2688 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
2689
fc8abc46
RV
26902018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2691
2692 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
2693
87f918e3
OH
26942018-10-12 Olivier Hainque <hainque@adacore.com>
2695
2696 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
2697 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
2698
be86efa7
PK
26992018-10-08 Paul Koning <ni1d@arrl.net>
2700
2701 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
2702
3edbcdbe
ML
27032018-10-04 Martin Liska <mliska@suse.cz>
2704
2705 PR gcov-profile/84107
2706 * libgcov-profiler.c (__gcov_indirect_call):
2707 Change type to indirect_call_tuple.
2708 (struct indirect_call_tuple): New struct.
2709 (__gcov_indirect_call_topn_profiler): Change type.
2710 (__gcov_indirect_call_profiler_v2): Use the new
2711 variables.
2712 * libgcov.h (struct indirect_call_tuple): New struct
2713 definition.
2714
af8096fc
UB
27152018-10-03 Uros Bizjak <ubizjak@gmail.com>
2716
2717 * libgcc2.c (isnan): Use __builtin_isnan.
2718 (isfinite): Use __builtin_isfinite.
2719 (isinf): Use __builtin_isinf.
2720
0a76bba4
UB
27212018-09-26 Uros Bizjak <ubizjak@gmail.com>
2722
2723 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
2724
5244089f
OH
27252018-09-21 Alexandre Oliva <oliva@adacore.com>
2726
2727 * config/vxcache.c: New file. Provide __clear_cache, based on
2728 the cacheTextUpdate VxWorks service.
2729 * config/t-vxworks (LIB2ADD): Add vxcache.c.
2730 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
2731 * config/t-vxwoks7: Likewise.
2732
512cc015
ML
27332018-09-21 Martin Liska <mliska@suse.cz>
2734
2735 * libgcov-driver.c (crc32_unsigned): Remove.
2736 (gcov_histogram_insert): Likewise.
2737 (gcov_compute_histogram): Likewise.
2738 (compute_summary): Simplify rapidly.
2739 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
2740 (merge_summary): Rapidly simplify.
2741 (dump_one_gcov): Ignore gcov_summary.
2742 (gcov_do_dump): Do not handle program summary, it's not
2743 used.
2744 * libgcov-util.c (tag_summary): Remove.
2745 (read_gcda_finalize): Fix coding style.
2746 (read_gcda_file): Initialize curr_object_summary.
2747 (compute_summary): Remove.
2748 (calculate_overlap): Remove settings of run_max.
2749
36ff254b
MC
27502018-09-21 Monk Chiang <sh.chiang04@gmail.com>
2751
2752 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
2753 ucontext_t type instead.
2754 (nds32_fallback_frame_state): Remove struct _sigframe statement.
2755
229a033d
KC
27562018-09-21 Kito Cheng <kito.cheng@gmail.com>
2757
2758 * config/nds32/t-nds32-glibc: New file.
2759
53c6feb2
RO
27602018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2761
2762 * configure.ac (solaris_ld_v2_maps): New test.
2763 * configure: Regenerate.
2764 * Makefile.in (solaris_ld_v2_maps): New variable.
2765 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
2766 if supported.
2767
ebdb6f23
RE
27682018-08-23 Richard Earnshaw <rearnsha@arm.com>
2769
2770 PR target/86951
2771 * config/arm/lib1funcs.asm (speculation_barrier): New function.
2772 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
2773 to build.
2774
a49c064e
IS
27752018-08-22 Iain Sandoe <iain@sandoe.co.uk>
2776
1ea7ea18 2777 * config/unwind-dw2-fde-darwin.c
a49c064e
IS
2778 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
2779 * config/darwin10-unwind-find-enc-func.c: … to here.
2780 * config/t-darwin: Build Darwin10 unwinder shim crt.
2781 * libgcc/config.host: Add the Darwin10 unwinder shim.
2782
9a5b8df7
RV
27832018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2784
2785 * config.host: Add crtbegin.o and crtend.o for
2786 powerpc-wrs-vxworks target.
2787
4cd0bc3b
J
27882018-08-17 Jojo <jijie_rong@c-sky.com>
2789 Huibin Wang <huibin_wang@c-sky.com>
2790 Sandra Loosemore <sandra@codesourcery.com>
2791 Chung-Lin Tang <cltang@codesourcery.com>
2792
2793 C-SKY port: libgcc
2794
2795 * config.host: Add C-SKY support.
2796 * config/csky/*: New.
2797
a4931745
CJW
27982018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
2799
2800 * config/nds32/t-nds32-isr: Rearrange object dependency.
2801 * config/nds32/initfini.c: Add dwarf2 unwinding support.
2802 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
2803 and registers usage.
2804 * config/nds32/isr-library/excp_isr.S: Ditto.
2805 * config/nds32/isr-library/intr_isr.S: Ditto.
2806 * config/nds32/isr-library/reset.S: Ditto.
2807 * config/nds32/isr-library/restore_all.inc: Ditto.
2808 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
2809 * config/nds32/isr-library/restore_partial.inc: Ditto.
2810 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
2811 * config/nds32/isr-library/save_all.inc: Ditto.
2812 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
2813 * config/nds32/isr-library/save_partial.inc: Ditto.
2814 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
2815 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
2816
2b1969f6
JDA
28172018-08-11 John David Anglin <danglin@gcc.gnu.org>
2818
2819 * config/pa/linux-atomic.c: Update comment.
2820 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
2821 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
2822 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
2823 __ATOMIC_RELAXED for atomic loads.
2824 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
2825 unordered store to release lock.
2826 (__sync_lock_release_8): Likewise.
2827 (SYNC_LOCK_RELEASE_2): Remove define.
af8096fc 2828
89fff9cc
NP
28292018-08-02 Nicolas Pitre <nico@fluxnic.net>
2830
2831 PR libgcc/86512
2832 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
2833 exponent goes negative. Update my email address.
2834 * config/arm/ieee754-sf.S: Likewise.
2835
fd2e1dcd
ML
28362018-08-01 Martin Liska <mliska@suse.cz>
2837
2838 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
92a285c1 2839 check that __gcov_indirect_call_callee is non-null.
fd2e1dcd 2840
b7415975
CL
28412018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
2842
2843 * config/arm/ieee754-df.S: Fix comment for code working on
2844 architectures >= 4.
2845 * config/arm/ieee754-sf.S: Likewise.
2846
b72e71a3
L
28472018-07-27 H.J. Lu <hongjiu.lu@intel.com>
2848
2849 PR libgcc/85334
2850 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2851 Removed.
2852
1c686aa4
JC
28532018-07-05 James Clarke <jrtc27@jrtc27.com>
2854
2855 * configure: Regenerated.
2856
b61c9b99
RO
28572018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2858
2859 * Makefile.in (install_leaf): Use enable_gcov instead of
2860 enable_libgcov.
2861
1765b023
RV
28622018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2863
2864 * configure.ac: Add --disable-gcov option.
2865 * configure: Regenerate.
2866 * Makefile.in: Honour @enable_gcov@.
2867
9b2e34ef
CL
28682018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
2869
2870 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
2871 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
2872 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
2873 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
2874 __ARM_ARCH__.
2875 * config/arm/ieee754-sf.S: Likewise.
2876 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
2877
d1b0dd54
CL
28782018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
2879
2880 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
2881 longer supported.
2882 * config/arm/ieee754-sf.S: Likewise.
2883
1f3fa525
TM
28842018-06-20 Than McIntosh <thanm@google.com>
2885
2886 PR libgcc/86213
2887 * generic-morestack.c (allocate_segment): Move calls to getenv and
2888 getpagesize to __morestack_load_mmap.
2889 (__morestack_load_mmap) Initialize static_pagesize and
2890 use_guard_page here so as to avoid clobbering SSE regs during a
2891 __morestack call.
2892
6a8886e4
MM
28932018-06-18 Michael Meissner <meissner@linux.ibm.com>
2894
2895 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
2896 support modules with -mno-gnu-attribute.
2897 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
2898
fb997097
OH
28992018-06-07 Olivier Hainque <hainque@adacore.com>
2900
2901 * config/t-vxworks (LIBGCC_INCLUDES): Add
2902 -I$(MULTIBUILDTOP)../../gcc/include.
2903 * config/t-vxworks7: Likewise. Reformat a bit to match
2904 the t-vxworks layout.
2905
a548a5a1
OM
29062018-06-07 Olga Makhotina <olga.makhotina@intel.com>
2907
2908 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
2909
244aebfd
ML
29102018-06-07 Martin Liska <mliska@suse.cz>
2911
2912 * libgcov-driver.c: Rename cs_all to all and assign it from
92a285c1 2913 all_prg.
244aebfd 2914
6c086e8c
ML
29152018-06-07 Martin Liska <mliska@suse.cz>
2916
92a285c1 2917 PR bootstrap/86057
6c086e8c 2918 * libgcov-driver-system.c (replace_filename_variables): Use
92a285c1 2919 memcpy instead of mempcpy.
6c086e8c 2920 (allocate_filename_struct): Do not allocate filename, allocate
92a285c1 2921 prefix and set it.
6c086e8c 2922 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
92a285c1 2923 here and properly copy content into it.
6c086e8c 2924 * libgcov-driver.c (struct gcov_filename): Remove max_length
92a285c1 2925 field, change prefix from size_t into char *.
6c086e8c
ML
2926 (compute_summary): Do not calculate longest filename.
2927 (gcov_do_dump): Release memory of gf.filename after each file.
2928 * libgcov-util.c (compute_summary): Use new signature of
92a285c1 2929 compute_summary.
6c086e8c
ML
2930 (calculate_overlap): Likewise.
2931
97a53d1d
ML
29322018-06-05 Martin Liska <mliska@suse.cz>
2933
2934 PR gcov-profile/47618
2935 * libgcov-driver-system.c (replace_filename_variables): New
92a285c1 2936 function.
97a53d1d
ML
2937 (gcov_exit_open_gcda_file): Use it.
2938
7f3577f5
ML
29392018-06-05 Martin Liska <mliska@suse.cz>
2940
2941 * libgcov-driver.c (gcov_compute_histogram): Remove usage
2942 of gcov_ctr_summary.
2943 (compute_summary): Do it just for a single summary.
2944 (merge_one_data): Likewise.
2945 (merge_summary): Simplify as we read just single summary.
2946 (dump_one_gcov): Pass proper argument.
2947 * libgcov-util.c (compute_one_gcov): Simplify as we have just
2948 single summary.
2949 (gcov_info_count_all_cold): Likewise.
2950 (calculate_overlap): Likewise.
2951
cf3cd43d
CJW
29522018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
2953 Monk Chiang <sh.chiang04@gmail.com>
2954
2955 * config.host (nds32*-linux*): New.
2956 * config/nds32/linux-atomic.c: New file.
2957 * config/nds32/linux-unwind.h: New file.
2958
8b8003ed
UB
29592018-05-31 Uros Bizjak <ubizjak@gmail.com>
2960
2961 PR target/85591
2962 * config/i386/cpuinfo.c (get_amd_cpu): Return
2963 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
2964
bbdf026f
RV
29652018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
2966
92a285c1 2967 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
bbdf026f 2968
0e8f29da
ML
29692018-05-29 Martin Liska <mliska@suse.cz>
2970
92a285c1 2971 PR gcov-profile/85759
0e8f29da 2972 * libgcov-driver-system.c (gcov_error): Introduce usage of
92a285c1 2973 GCOV_EXIT_AT_ERROR env. variable.
0e8f29da 2974 * libgcov-driver.c (merge_one_data): Print error that we
92a285c1 2975 overwrite a gcov file with a different timestamp.
0e8f29da 2976
54fd1590
K
29772018-05-23 Kalamatee <kalamatee@gmail.com>
2978
2979 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
2980 path to Lf$finfty.
2981
09baee1a
KC
29822018-05-18 Kito Cheng <kito.cheng@gmail.com>
2983 Monk Chiang <sh.chiang04@gmail.com>
2984 Jim Wilson <jimw@sifive.com>
2985
2986 * config/riscv/save-restore.S: Add support for rv32e.
2987
c3f808d3
KT
29882018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2989
2990 * config/arm/libunwind.S: Update comment relating to armv5.
2991
fcf4f831
JL
29922018-05-17 Jerome Lambourg <lambourg@adacore.com>
2993
2994 * config/arm/cmse.c (cmse_check_address_range): Replace
2995 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
2996
74b2bb19
OM
29972018-05-17 Olga Makhotina <olga.makhotina@intel.com>
2998
2999 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
3000 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
3001
50e461df
OM
30022018-05-08 Olga Makhotina <olga.makhotina@intel.com>
3003
3004 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
3005 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
3006
e5f1cdb1
AC
30072018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
3008
3009 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
3010
8f479d7a
AT
30112018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
3012 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
3013
3014 PR libgcc/84292
3015 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
3016 op_and_fetch to return the right result.
3017
ae043291
AM
30182018-04-27 Alan Modra <amodra@gmail.com>
3019
3020 PR libgcc/85532
3021 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
3022 -fno-asynchronous-unwind-tables.
3023
ba169b74
CJW
30242018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
3025
3026 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
3027 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
3028
ffc2fc06
L
30292018-04-24 H.J. Lu <hongjiu.lu@intel.com>
3030
3031 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
3032 when including "config/i386/shadow-stack-unwind.h".
3033
7b47ecf2
L
30342018-04-24 H.J. Lu <hongjiu.lu@intel.com>
3035
3036 * configure: Regenerated.
3037
661eb8f9
MM
30382018-04-20 Michael Meissner <meissner@linux.ibm.com>
3039
3040 PR target/85456
3041 * config/rs6000/_powikf2.c: New file. Add support for the
3042 __builtin_powil function when long double is IEEE 128-bit floating
3043 point.
3044 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
3045 __powikf2 support.
3046 (__powikf2): Likewise.
3047 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
3048 (__powikf2_hw): Likewise.
3049 (__powikf2): Likewise.
3050 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
3051 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
3052 (_powikf2-hw.c): Likewise.
3053
5707be3c
L
30542018-04-19 H.J. Lu <hongjiu.lu@intel.com>
3055
3056 PR libgcc/85334
3057 * unwind-generic.h (_Unwind_Frames_Increment): New.
3058 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
3059 Likewise.
3060 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
3061 count with _Unwind_Frames_Increment.
3062 (_Unwind_ForcedUnwind_Phase2): Likewise.
3063
5f9ca0b8
L
30642018-04-19 H.J. Lu <hongjiu.lu@intel.com>
3065
3066 PR libgcc/85379
3067 * config/i386/morestack.S (__stack_split_initialize): Add
3068 _CET_ENDBR.
3069
a0e1df88
JJ
30702018-04-19 Jakub Jelinek <jakub@redhat.com>
3071
3072 * configure: Regenerated.
3073
001ddaa8
DM
30742018-04-18 David Malcolm <dmalcolm@redhat.com>
3075
3076 PR jit/85384
3077 * configure: Regenerate.
3078
a57f99ba
JJ
30792018-04-16 Jakub Jelinek <jakub@redhat.com>
3080
3081 PR target/84945
3082 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
3083 -Wdangling-else warnings. Mask shift counts to avoid
3084 -Wshift-count-negative and -Wshift-count-overflow false positives.
3085
4d47fe5a
RB
30862018-04-06 Ruslan Bukin <br@bsdpad.com>
3087
3088 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
3089
059cc8ac
L
30902018-03-29 H.J. Lu <hongjiu.lu@intel.com>
3091
3092 PR target/85100
3093 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
3094 (XSTATE_FP): Likewise.
3095 (XSTATE_SSE): Likewise.
3096 (XSTATE_YMM): Likewise.
3097 (XSTATE_OPMASK): Likewise.
3098 (XSTATE_ZMM): Likewise.
3099 (XSTATE_HI_ZMM): Likewise.
3100 (XCR_AVX_ENABLED_MASK): Likewise.
3101 (XCR_AVX512F_ENABLED_MASK): Likewise.
3102 (get_available_features): Enable AVX and AVX512 features only
3103 if their states are supported by OSXSAVE.
3104
f2620385
IT
31052018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3106
3107 PR target/85025
3108 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
3109 Fix a typo, tmp => 255.
3110
ae6dca8c
JJ
31112018-03-20 Jakub Jelinek <jakub@redhat.com>
3112
3113 PR target/84945
3114 * config/i386/cpuinfo.h (__cpu_features2): Declare.
3115 * config/i386/cpuinfo.c (__cpu_features2): New variable for
3116 ifndef SHARED only.
3117 (set_feature): Define.
3118 (get_available_features): Use set_feature macro. Set __cpu_features2
3119 to the second word of features ifndef SHARED.
3120
c36b04c1
JK
31212018-03-15 Julia Koval <julia.koval@intel.com>
3122
3123 * config/i386/cpuinfo.c (get_available_features): Add
3124 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
3125 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
3126 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
3127 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
3128 FEATURE_AVX512BITALG.
3129
79ab5364
JK
31302018-03-14 Julia Koval <julia.koval@intel.com>
3131
3132 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
3133 icelake client and icelake server.
3134
66a00b11
JDA
31352018-03-06 John David Anglin <danglin@gcc.gnu.org>
3136
3137 * config/pa/fptr.c (_dl_read_access_allowed): New.
3138 (__canonicalize_funcptr_for_compare): Use it.
af8096fc 3139
ce579a4f
JJ
31402018-02-28 Jakub Jelinek <jakub@redhat.com>
3141
3142 PR debug/83917
3143 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
3144 $asm_hidden_op if visibility ("hidden") attribute works.
3145 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
3146 * config/i386/i386-asm.h: Don't include auto-host.h.
3147 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
3148 PACKAGE_URL): Don't undefine.
3149 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
3150 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
3151 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
3152 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
3153 definition instead of hardcoded .hidden.
3154 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
3155 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
3156 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
3157 (USE_GAS_CFI_DIRECTIVES): Don't define.
3158 * configure: Regenerated.
3159 * config.in: Likewise.
3160
e5868319
JJ
31612018-02-26 Jakub Jelinek <jakub@redhat.com>
3162
3163 PR debug/83917
3164 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
3165 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
3166 inclusion of auto-target.h and auto-host.h.
3167 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
3168 __GCC_HAVE_DWARF2_CFI_ASM.
3169 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
3170 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
3171 cfi_pop): Define.
3172 * config/i386/cygwin.S: Don't include auto-host.h here, just
3173 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
3174 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
3175 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
3176 * config/i386/resms64fx.h: Add cfi_* directives.
3177 * config/i386/resms64x.h: Likewise.
3178
faef260e
MF
31792018-02-20 Max Filippov <jcmvbkbc@gmail.com>
3180
3181 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
3182 .literal_position directive.
3183 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
3184
14e335ed
IT
31852018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3186
3187 PR target/84148
3188 * configure: Regenerate.
3189
95df0433
IT
31902018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3191
3192 PR target/84239
3193 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
3194 Include cetintrin.h not x86intrin.h.
3195
f8de876d
IT
31962018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3197
3198 PR target/84239
95df0433 3199 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
f8de876d
IT
3200 Use new _get_ssp and _inc_ssp intrinsics.
3201
02da1e9c
JK
32022018-02-02 Julia Koval <julia.koval@intel.com>
3203
3204 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
3205
048c6a9a
CZ
32062018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
3207
3208 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
3209 option.
3210 (__divsi3): Use RF16 safe registers.
3211 (__modsi3): Likewise.
3212
0889f168
MF
32132018-01-23 Max Filippov <jcmvbkbc@gmail.com>
3214
3215 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
3216 (__divsf3): Make NaN return value quiet.
3217 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
3218 (__divdf3): Make NaN return value quiet.
3219
bc8b0d04
SP
32202018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
3221
3222 * config/rl78/anddi3.S: New assembly file.
3223 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
3224
99cc06ea
SP
32252018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
3226
3227 * config/rl78/umindi3.S: New assembly file.
3228 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
3229
6e9007a0
SP
32302018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
3231
3232 * config/rl78/smindi3.S: New assembly file.
3233 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
3234
d975e494 32352018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 3236
d975e494
SP
3237 * config/rl78/smaxdi3.S: New assembly file.
3238 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
3239
6a18c146 32402018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 3241
5dd16013
SP
3242 * config/rl78/umaxdi3.S: New assembly file.
3243 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
af8096fc 3244
07baf4a5
JDA
32452018-01-21 John David Anglin <danglin@gcc.gnu.org>
3246
3247 PR lto/83452
3248 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
3249 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
af8096fc 3250
dbc3af4f
RS
32512018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
3252
3253 * config/aarch64/value-unwind.h (aarch64_vg): New function.
3254 (DWARF_LAZY_REGISTER_VALUE): Define.
3255 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
3256 to provide a fallback register value.
3257
68df9882
MM
32582018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
3259
3260 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
3261 __ibm128, instead of trying to use long double.
3262 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
3263 accomidate -mabi=ieeelongdouble multilibs.
3264 (CVT_IBM128_TO_FLOAT128): Likewise.
3265 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
3266 the appropriate IBM extended double type.
3267 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
3268 (__gcc_qsub): Likewise.
3269 (__gcc_qmul): Likewise.
3270 (__gcc_qdiv): Likewise.
3271 (pack_ldouble): Likewise.
3272 (__gcc_qneg): Likewise.
3273 (__gcc_qeq): Likewise.
3274 (__gcc_qne): Likewise.
3275 (__gcc_qge): Likewise.
3276 (__gcc_qle): Likewise.
3277 (__gcc_stoq): Likewise.
3278 (__gcc_dtoq): Likewise.
3279 (__gcc_itoq): Likewise.
3280 (__gcc_utoq): Likewise.
3281 (__gcc_qunord): Likewise.
3282 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
3283 quad-float128.h for the definitions.
3284 (COPYSIGN): Use the f128 version instead of the q version.
3285 (INFINITY): Likewise.
3286 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
3287 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
3288 quad-float128.h for the definitions.
3289 (COPYSIGN): Use the f128 version instead of the q version.
3290 (INFINITY): Likewise.
3291 (FABS): Likewise.
3292 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
3293 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
3294 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
3295
64b371b1
SH
32962018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
3297
3298 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
3299 configuration.
3300
85ec4feb
JJ
33012018-01-03 Jakub Jelinek <jakub@redhat.com>
3302
3303 Update copyright years.
3304
33052017-12-12 Kito Cheng <kito.cheng@gmail.com>
b8d7e076
KC
3306
3307 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
3308 * config/riscv/multi3.c: New file.
3309 * config/riscv/multi3.S: Remove.
3310
3a4c600f
JW
33112017-12-08 Jim Wilson <jimw@sifive.com>
3312
3313 * config/riscv/div.S: Use FUNC_* macros.
3314 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
3315 * config/riscv/save-restore.S: Likewise.
3316 * config/riscv/riscv-asm.h: New.
3317
75ad35b5
MM
33182017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
3319
6ae3512c
MM
3320 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
3321 * config/rs6000/_divkc3.c (__divkc3): Likewise.
3322
75ad35b5
MM
3323 PR libgcc/83112
3324 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
3325 correct type for all ifunc resolvers to silence -Wattribute-alias
3326 warnings. Eliminate the forward declaration of the resolver
3327 functions which is no longer needed.
3328 (__subkf3_resolve): Likewise.
3329 (__mulkf3_resolve): Likewise.
3330 (__divkf3_resolve): Likewise.
3331 (__negkf2_resolve): Likewise.
3332 (__eqkf2_resolve): Likewise.
3333 (__nekf2_resolve): Likewise.
3334 (__gekf2_resolve): Likewise.
3335 (__gtkf2_resolve): Likewise.
3336 (__lekf2_resolve): Likewise.
3337 (__ltkf2_resolve): Likewise.
3338 (__unordkf2_resolve): Likewise.
3339 (__extendsfkf2_resolve): Likewise.
3340 (__extenddfkf2_resolve): Likewise.
3341 (__trunckfsf2_resolve): Likewise.
3342 (__trunckfdf2_resolve): Likewise.
3343 (__fixkfsi_resolve): Likewise.
3344 (__fixkfdi_resolve): Likewise.
3345 (__fixunskfsi_resolve): Likewise.
3346 (__fixunskfdi_resolve): Likewise.
3347 (__floatsikf_resolve): Likewise.
3348 (__floatdikf_resolve): Likewise.
3349 (__floatunsikf_resolve): Likewise.
3350 (__floatundikf_resolve): Likewise.
3351 (__extendkftf2_resolve): Likewise.
3352 (__trunctfkf2_resolve): Likewise.
3353
3354 PR libgcc/83103
3355 * config/rs6000/quad-float128.h (TF): Don't define if long double
3356 is IEEE 128-bit floating point.
3357 (TCtype): Define as either TCmode or KCmode, depending on whether
3358 long double is IEEE 128-bit floating point.
3359 (__mulkc3_sw): Add declarations for software/hardware versions of
3360 complex multiply/divide.
3361 (__divkc3_sw): Likewise.
3362 (__mulkc3_hw): Likewise.
3363 (__divkc3_hw): Likewise.
3364 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
3365 handlers to switch between using software emulation and hardware
3366 float128 instructions, build the complex multiply/divide functions
3367 for both software and hardware support.
3368 * config/rs6000/_divkc3.c (_divkc3): Likewise.
3369 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
3370 (__divkc3_resolve): Likewise.
3371 (__mulkc3): Likewise.
3372 (__divkc3): Likewise.
3373 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
3374 (fp128_hw_src): Likewise.
3375 (fp128_hw_static_obj): Likewise.
3376 (fp128_hw_shared_obj): Likewise.
3377 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
3378 _mulkc3.c and _divkc3.c, changing the function name.
3379 (_divkc3-hw.c): Likewise.
3380 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
3381 and _divkc3-hw.c.
3382
c234d831
UB
33832017-11-26 Julia Koval <julia.koval@intel.com>
3384
3385 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
3386 * config/i386/cpuinfo.h (processor_subtypes): Add
3387 INTEL_COREI7_CANNONLAKE.
3388
1ebafce0
IT
33892017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3390
3391 PR bootstrap/83015
3392 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
3393 parameter.
3394 * config/xtensa/unwind-dw2-xtensa.c: Likewise
3395 * config/ia64/unwind-ia64.c: Add frames parameter.
3396 * unwind-sjlj.c: Likewise.
3397
6a10fff4
IT
33982017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3399
3400 * config/i386/linux-unwind.h: Include
3401 config/i386/shadow-stack-unwind.h.
3402 * config/i386/shadow-stack-unwind.h: New file.
3403 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
3404 pass it to _Unwind_Frames_Extra.
3405 * unwind-generic.h (_Unwind_Frames_Extra): New.
3406 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
3407 parameter. Add local variable frames to count number of frames.
3408 (_Unwind_ForcedUnwind_Phase2): Likewise.
3409 (_Unwind_RaiseException): Add local variable frames to count
3410 number of frames, pass it to _Unwind_RaiseException_Phase2 and
3411 uw_install_context.
3412 (_Unwind_ForcedUnwind): Likewise.
3413 (_Unwind_Resume): Likewise.
3414 (_Unwind_Resume_or_Rethrow): Likewise.
3415
1ecae1fc
IT
34162017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3417
3418 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
3419 (CET_FLAGS): New.
3420 * config/i386/morestack.S: Include <cet.h>.
3421 (__morestack_large_model): Add _CET_ENDBR at function entrance.
3422 * config/i386/resms64.h: Include <cet.h>.
3423 * config/i386/resms64f.h: Likewise.
3424 * config/i386/resms64fx.h: Likewise.
3425 * config/i386/resms64x.h: Likewise.
3426 * config/i386/savms64.h: Likewise.
3427 * config/i386/savms64f.h: Likewise.
3428 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
3429 (CRTSTUFF_T_CFLAGS): Likewise.
3430 * configure.ac: Include ../config/cet.m4.
3431 Set and substitute CET_FLAGS.
3432 * configure: Regenerated.
3433
f021f1d3
RO
34342017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3435
3436 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
3437 renaming.
3438 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
3439 * configure.ac (libgcc_cv_solaris_crts): Likewise.
3440 * configure: Regenerate.
3441
65f480c7
TV
34422017-11-07 Tom de Vries <tom@codesourcery.com>
3443
3444 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
3445 after "do {} while (0)".
3446
2a321acb
TV
34472017-11-07 Tom de Vries <tom@codesourcery.com>
3448
3449 PR other/82784
3450 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
3451 semicolon after "do {} while (0)".
3452 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3453 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3454 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3455 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3456
59fcf6c3
AT
34572017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
3458
3459 PR libgcc/82635
3460 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
3461 sysctl to determine whether we're in a trampoline.
3462 Keep the pattern matching method for systems without
3463 KERN_PROC_SIGTRAMP sysctl.
3464
b0c7ddf8
CM
34652017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
3466 Vineet Gupta <vgupta@synopsys.com>
3467
3468 * config.host (arc*-*-linux*): Set md_unwind_header variable.
3469 * config/arc/linux-unwind-reg.def: New file.
3470 * config/arc/linux-unwind-reg.h: Likewise.
3471
5feee954
SP
34722017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
3473
3474 * config/rl78/subdi3.S: New assembly file.
3475 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
3476
a0bf6cf7
SP
34772017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
3478
3479 * config/rl78/adddi3.S: New assembly file.
3480 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
3481
e7176f75
JJ
34822017-10-13 Jakub Jelinek <jakub@redhat.com>
3483
3484 PR target/82274
3485 * libgcc2.c (__mulvDI3): If both operands have
3486 the same highpart of -1 and the topmost bit of lowpart is 0,
3487 multiplication overflows even if both lowparts are 0.
3488
db6601d2
JB
34892017-09-28 James Bowman <james.bowman@ftdichip.com>
3490
3491 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
3492
938b6f1e
JM
34932017-09-26 Joseph Myers <joseph@codesourcery.com>
3494
3495 * config/microblaze/crti.S, config/microblaze/crtn.S,
3496 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
3497 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
3498 config/microblaze/mulsi3.S,
3499 config/microblaze/stack_overflow_exit.S,
3500 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
3501 config/pa/milli64.S: Add .note.GNU-stack section.
3502
89762a83
DS
35032017-09-23 Daniel Santos <daniel.santos@pobox.com>
3504
3505 * configure.ac: Add Check for HAVE_AS_AVX.
3506 * config.in: Regenerate.
3507 * configure: Likewise.
3508 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
3509 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
3510 Correct out-of-date comments.
3511
cace2309
SP
35122017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
3513
3514 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
3515 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
3516
3cb626e4
DS
35172017-09-17 Daniel Santos <daniel.santos@pobox.com>
3518
cace2309 3519 * config/i386/i386-asm.h (PASTE2): New macro.
3cb626e4
DS
3520 (ASMNAME): Modify to use PASTE2.
3521 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
3522 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
cace2309 3523 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
3cb626e4 3524 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
cace2309
SP
3525 * config/i386/resms64f.S: Likewise.
3526 * config/i386/resms64fx.S: Likewise.
3527 * config/i386/resms64x.S: Likewise.
3528 * config/i386/savms64.S: Likewise.
3529 * config/i386/savms64f.S: Likewise.
3530 * config/i386/avx_resms64.S: New file that only defines a macro and
3cb626e4 3531 includes it's corresponding header file.
cace2309
SP
3532 * config/i386/avx_resms64f.S: Likewise.
3533 * config/i386/avx_resms64fx.S: Likewise.
3534 * config/i386/avx_resms64x.S: Likewise.
3535 * config/i386/avx_savms64.S: Likewise.
3536 * config/i386/avx_savms64f.S: Likewise.
3537 * config/i386/sse_resms64.S: Likewise.
3538 * config/i386/sse_resms64f.S: Likewise.
3539 * config/i386/sse_resms64fx.S: Likewise.
3540 * config/i386/sse_resms64x.S: Likewise.
3541 * config/i386/sse_savms64.S: Likewise.
3542 * config/i386/sse_savms64f.S: Likewise.
3543 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3cb626e4 3544
2f19c491 35452017-09-01 Olivier Hainque <hainque@adacore.com>
2f19c491
OH
3546 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
3547
611e7036
OH
35482017-08-31 Olivier Hainque <hainque@adacore.com>
3549
3550 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
3551 match as powerpc-wrs-vxworks*.
3552
c8f34527
JY
35532017-08-07 Jonathan Yong <10walls@gmail.com>
3554
3555 * config.host (*-cygwin): Include file from mingw
3556 config/i386/enable-execute-stack-mingw32.c
3557
0b458d2b 35582017-08-01 Jerome Lambourg <lambourg@adacore.com>
92a285c1
ML
3559 Doug Rupp <rupp@adacore.com>
3560 Olivier Hainque <hainque@adacore.com>
0b458d2b
JL
3561
3562 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
3563 as well as arm-wrs-vxworks.
3564 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
3565 LIB2ADDEH.
3566 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
3567 __exidx_start and __exidx_end for downloadable modules.
3568
4df612fa
OH
35692017-08-01 Olivier Hainque <hainque@adacore.com>
3570
3571 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
3572 * config/t-vxworks7: Likewise.
3573
5560e8c0
OH
35742017-08-01 Olivier Hainque <hainque@adacore.com>
3575
3576 * config/t-vxworks: Instead of redefining LIB2ADD,
3577 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
3578
16bab95a
SH
35792017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
3580
3581 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
3582
9cbc07cc
DS
35832017-07-24 Daniel Santos <daniel.santos@pobox.com>
3584
3585 PR testsuite/80759
3586 * config.host: include i386/t-msabi for darwin and solaris.
3587 * config/i386/i386-asm.h
3588 (ELFFN): Rename to FN_TYPE.
3589 (FN_SIZE): New macro.
3590 (FN_HIDDEN): Likewise.
3591 (ASMNAME): Likewise.
3592 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
3593 .globl.
3594 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
3595 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
3596 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
3597 .macro.
3598 * config/i386/resms64f.S: Likewise.
3599 * config/i386/resms64fx.S: Likewise.
3600 * config/i386/resms64x.S: Likewise.
3601 * config/i386/savms64.S: Likewise.
3602 * config/i386/savms64f.S: Likewise.
3603
de742204
JM
36042017-07-19 John Marino <gnugcc@marino.st>
3605
3606 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
3607
3787ee47
MM
36082017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
3609
3610 PR target/81193
3611 * configure.ac (PowerPC float128 hardware support): Test whether
3612 we can use __builtin_cpu_supports before enabling the ifunc
3613 handler.
3614 * configure: Regenerate.
3615
b1938888
VG
36162017-07-10 Vineet Gupta <vgupta@synopsys.com>
3617
3618 * config.host: Remove uclibc from arc target spec.
3619
bec75e53
KW
36202017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
3621
3622 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
3623
d4391a62
PB
36242017-07-07 Peter Bergner <bergner@vnet.ibm.com>
3625
3626 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
3627 (have_ieee_hw_p): Delete function.
3628 (SW_OR_HW) Use __builtin_cpu_supports().
3629
9296dd9b
TP
36302017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
3631
3632 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
3633
b85a969e
OH
36342017-07-03 Olivier Hainque <hainque@adacore.com>
3635
d4391a62 3636 * config/t-vxworks7: New file, really.
b85a969e 3637
883312dc
JM
36382017-06-28 Joseph Myers <joseph@codesourcery.com>
3639
3640 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
3641 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
3642 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
3643 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
3644 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
3645 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
3646 config/pa/linux-unwind.h (pa32_fallback_frame_state),
3647 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
3648 config/sh/linux-unwind.h (sh_fallback_frame_state),
3649 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
3650 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
3651 ucontext_t instead of struct ucontext.
3652
50567938
JL
36532017-06-27 Jerome Lambourg <lambourg@adacore.com>
3654
3655 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
3656 (x86_64-wrs-vxworks7): Likewise.
3657
e4b0df93
OH
36582017-06-27 Olivier Hainque <hainque@adacore.com>
3659
3660 * config/t-vxworks7: New file.
3661 * config.host (*-*-vxworks7): Use it.
3662
60edf8bb
MT
36632017-06-22 Matt Turner <mattst88@gmail.com>
3664
3665 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
3666 skylake case.
3667
a51a76e5
RB
36682017-06-21 Richard Biener <rguenther@suse.de>
3669
3670 PR gcov-profile/81080
3671 * configure.ac: Add AC_SYS_LARGEFILE.
3672 * libgcov.h: Include auto-target.h before tsystem.h to pick
3673 up _FILE_OFFSET_BITS which might differ for multilibs.
3674 * config.in: Regenerate.
3675 * configure: Likewise.
3676
f0cd49c5
RE
36772017-06-16 Richard Earnshaw <rearnsha@arm.com>
3678
3679 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
3680
4f751c54
ML
36812017-06-09 Martin Liska <mliska@suse.cz>
3682
3683 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
3684 Reset __gcov_indirect_call_callee to NULL.
3685
1ac644c8
OH
36862017-06-08 Olivier Hainque <hainque@adacore.com>
3687
3688 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
3689 the set of -I options, support for direct inclusions of net/uio.h
3690 by VxWorks header files via ioLib.h.
3691
d8b9cd27
TR
36922017-06-07 Tony Reix <tony.reix@atos.net>
3693 Matthieu Sarter <matthieu.sarter.external@atos.net>
3694 David Edelsohn <dje.gcc@gmail.com>
3695
92a285c1
ML
3696 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
3697 unconditionally.
3698 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
3699 AIX 7.2 support.
d8b9cd27 3700
38a75ccc
OH
37012017-06-02 Olivier Hainque <hainque@adacore.com>
3702
3703 * config/vxlib.c (__gthread_once): Add missing value to
3704 return statement.
3705
5b2edf53
OH
37062017-05-30 Olivier Hainque <hainque@adacore.com>
3707
3708 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
3709 dollar sign before $(MULTIDIR).
3710
7d66e265
RH
37112017-05-26 Richard Henderson <rth@redhat.com>
3712
3713 PR libgcc/80037
3714 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
3715
78eca309
AT
37162017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
3717
3718 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
3719 _Unwind_SetIP available as functions for arm*-*-freebsd*.
3720 * config/arm/unwind-arm.c: Implement the above.
3721
c39d309a
AZ
37222017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3723
3724 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
3725 section for a non-executable stack.
3726
eac8c9f2
KW
37272017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
3728
3729 PR target/80600
3730 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
3731
d6d4d770
DS
37322017-05-14 Daniel Santos <daniel.santos@pobox.com>
3733
3734 * config.host: Add i386/t-msabi to i386/t-linux file list.
3735 * config/i386/i386-asm.h: New file.
3736 * config/i386/resms64.S: New file.
3737 * config/i386/resms64f.S: New file.
3738 * config/i386/resms64fx.S: New file.
3739 * config/i386/resms64x.S: New file.
3740 * config/i386/savms64.S: New file.
3741 * config/i386/savms64f.S: New file.
3742 * config/i386/t-msabi: New file.
3743
8ef2b9a7
AT
37442017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
3745
3746 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
3747 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
3748
7ab8766a
JC
37492017-05-05 Joshua Conner <joshconner@google.com>
3750
3751 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
3752 pc-relative indirect handling for fuchsia.
3753 * config/t-slibgcc-fuchsia: New file.
3754 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
d6d4d770 3755 x86_64-*-fuchsia*): Add definitions.
7ab8766a 3756
46928a8f
ML
37572017-04-19 Martin Liska <mliska@suse.cz>
3758
3759 PR gcov-profile/80435
3760 * Makefile.in: Install gcov.h.
3761 * gcov.h: New file.
3762 * libgcov.h: Use the header and make __gcov_flush publicly
3763 visible.
3764
63971184
ML
37652017-04-18 Martin Liska <mliska@suse.cz>
3766
3767 PR gcov-profile/78783
3768 * libgcov-driver.c (gcov_get_filename): New function.
3769
29d8aae6
JL
37702017-04-07 Jeff Law <law@redhat.com>
3771
3772 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
3773 target makefile fragment.
3774 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
3775
2bdf7fc6
AM
37762017-04-07 Alan Modra <amodra@gmail.com>
3777
3778 PR target/45053
3779 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
3780
5764ee3c
JW
37812017-04-03 Jonathan Wakely <jwakely@redhat.com>
3782
3783 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
3784
c4192ad7
CZ
37852017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
3786
3787 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
3788
4ccfdb28
JM
37892017-03-10 John Marino <gnugcc@marino.st>
3790
3791 * config/aarch64/freebsd-unwind.h: New file.
3792 * config.host: Add aarch64-*-freebsd unwinder.
3793
4144e4e3
SB
37942017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
3795
3796 * config/rs6000/crtrestvr.s: Use .machine altivec.
3797 * config/rs6000/crtsavevr.s: Ditto.
3798
7502c597
SB
37992017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
3800
3801 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
3802 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
3803 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
3804 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
3805 * configure: Regenerate.
3806 * config.in: Regenerate.
3807
db9f7f65
JY
38082017-03-02 Jonathan Yong <10walls@gmail.com>
3809
3810 * config/i386/gthr-win32.h: Define NOGDI before
3811 windows.h include to prevent w32api CC_NONE macro
3812 clash with libgfortran.
3813
126437c5
JY
38142017-03-02 Jonathan Yong <10walls@gmail.com>
3815
3816 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
3817
31927af6
AP
38182017-02-16 Andrew Pinski <apinski@cavium.com>
3819
3820 * config/aarch64/value-unwind.h: New file.
3821 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
3822 to tm_file.
3823
0bd99911
PD
38242017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
3825
3826 * config.host: Add RISC-V tuples.
3827 * config/riscv/atomic.c: New file.
3828 * config/riscv/crti.S: Likewise.
3829 * config/riscv/crtn.S: Likewise.
3830 * config/riscv/div.S: Likewise.
3831 * config/riscv/linux-unwind.h: Likewise.
3832 * config/riscv/muldi3.S: Likewise.
3833 * config/riscv/multi3.S: Likewise.
3834 * config/riscv/save-restore.S: Likewise.
3835 * config/riscv/sfp-machine.h: Likewise.
3836 * config/riscv/t-elf: Likewise.
3837 * config/riscv/t-elf32: Likewise.
3838 * config/riscv/t-elf64: Likewise.
3839 * config/riscv/t-softfp32: Likewise.
3840 * config/riscv/t-softfp64: Likewise.
3841
a8c9ef2a
JJ
38422017-01-24 Jakub Jelinek <jakub@redhat.com>
3843
3844 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
3845 /* FALLTHRU */ comments.
3846
c6c82710
GP
38472017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
3848
3849 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
3850
a876231c
JW
38512017-01-20 Jiong Wang <jiong.wang@arm.com>
3852
3853 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
3854 * unwind-dw2.c (execute_cfa_program): Only multiplexing
3855 DW_CFA_GNU_window_save for AArch64 and LP64.
3856
aa348be2
JW
38572017-01-20 Jiong Wang <jiong.wang@arm.com>
3858
3859 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
3860
5636faf2
JW
38612017-01-19 Jiong Wang <jiong.wang@arm.com>
3862
3863 * config/aarch64/aarch64-unwind.h: New file.
3864 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
3865 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
3866 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
3867 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
3868 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
3869 (aarch64_post_extract_frame_addr): New function.
3870 (aarch64_post_frob_eh_handler_addr): New function.
3871 (aarch64_frob_update_context): New function.
3872 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
3873 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
3874 aarch64*-*-freebsd*):
3875 Initialize md_unwind_header to include aarch64-unwind.h.
3876 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
3877 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
3878 __aarch64__.
3879 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
3880 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
3881 (uw_frob_return_addr): New function.
3882 (uw_install_context): Use uw_frob_return_addr.
3883
3c36aa6b
JJ
38842017-01-17 Jakub Jelinek <jakub@redhat.com>
3885
3886 PR other/79046
3887 * configure.ac: Add GCC_BASE_VER.
3888 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
3889 version from BASE-VER file.
3890 * configure: Regenerated.
3891
829afb8f
JS
38922017-01-13 Joe Seymour <joe.s@somniumtech.com>
3893
3894 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
3895 libmul_f5.a): Filter archived prerequisites.
3896
79fc8ffe
AS
38972017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
3898
3899 * config/i386/cpuinfo.h (processor_features): Add
3900 FEATURE_AVX512VPOPCNTDQ.
3901 * config/i386/cpuinfo.c (get_available_features): Habdle new
3902 feature.
3903
fec5f4e0
JM
39042017-01-04 Joseph Myers <joseph@codesourcery.com>
3905
3906 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
3907 payload if [__mips_nan2008].
3908
8f56cb51
AM
39092017-01-04 Alan Modra <amodra@gmail.com>
3910
3911 * Makefile.in (configure_deps): Update.
3912 * configure: Regenerate.
3913
cbe34bb5
JJ
39142017-01-01 Jakub Jelinek <jakub@redhat.com>
3915
3916 Update copyright years.
3917
ab955692
KW
39182016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
3919
3920 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
3921 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
3922 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
3923
de34320f
MK
39242016-12-17 Matthias Klose <doko@ubuntu.com>
3925
3926 * config/arc/gmon: Remove empty directory.
3927
e04ea1da
CZ
39282016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
3929
3930 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
3931 crtgend.
3932 (arc*-*-elf*): Likewise.
3933 * config/arc/t-arc: Remove old gmon lib targets.
3934 * config/arc/crtg.S: Remove.
3935 * config/arc/crtgend.S: Likewise.
3936 * config/arc/gmon/atomic.h: Likewise.
3937 * config/arc/gmon/auxreg.h: Likewise.
3938 * config/arc/gmon/dcache_linesz.S: Likewise.
3939 * config/arc/gmon/gmon.c: Likewise.
3940 * config/arc/gmon/machine-gmon.h: Likewise.
3941 * config/arc/gmon/mcount.c: Likewise.
3942 * config/arc/gmon/prof-freq-stub.S: Likewise.
3943 * config/arc/gmon/prof-freq.c: Likewise.
3944 * config/arc/gmon/profil.S: Likewise.
3945 * config/arc/gmon/sys/gmon.h: Likewise.
3946 * config/arc/gmon/sys/gmon_out.h: Likewise.
3947 * config/arc/t-arc-newlib: Likewise.
3948 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
3949
8ae1c2c1
GS
39502016-12-12 George Spelvin <linux@sciencehorizons.net>
3951
3952 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
3953
a5b947fa
GS
39542016-12-12 George Spelvin <linux@sciencehorizons.net>
3955
3956 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
3957 R16 instead of push + pop.
3958 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
3959
d6574dd1
KW
39602016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
3961
3962 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
3963 tmake_file.
3964
62440b4f
CM
39652016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
3966
3967 * config.host (arc*-*-linux-uclibc*): Use default extra
3968 objects. Include linux-android header.
3969 * config/arc/crti.S (_init): Declare symbol as function.
3970 (_fini): Likewise.
3971
31cfd832
TK
39722016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
3973
3974 PR fortran/78379
3975 * config/i386/cpuinfo.c: Move denums for processor vendors,
3976 processor type, processor subtypes and declaration of
3977 struct __processor_model into
3978 * config/i386/cpuinfo.h: New header file.
3979
c92e08e3
AV
39802016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
3981 Thomas Preud'homme <thomas.preudhomme@arm.com>
3982
3983 * config/arm/cmse_nonsecure_call.S: New.
3984 * config/arm/t-arm: Compile cmse_nonsecure_call.S
3985
de7b5723
AV
39862016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
3987 Thomas Preud'homme <thomas.preudhomme@arm.com>
3988
3989 * config/arm/t-arm (HAVE_CMSE): New.
3990 * config/arm/cmse.c: New.
3991
7a0d2bce
TP
39922016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3993
b3a5bff4
TP
3994 PR gcc/74748
3995 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
3996 use generic linker version information on Blackfin.
3997
7a0d2bce
TP
3998 PR gcc/74748
3999 * libgcc/mkmap-symver.awk: add support for skip_underscore
4000
b410cf1d
IS
40012016-11-27 Iain Sandoe <iain@codesourcery.com>
4002 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4003
4004 PR target/67710
4005 * config/t-darwin: Default builds to 10.5 codegen.
4006
2e5f8203
JG
40072016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
4008
4009 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
4010 (_FP_NANSIGN_H): Likewise.
4011 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
4012 (softfp_truncations): Add tfhf.
4013 (softfp_extras): Add required conversion functions.
4014
bea64ca3
JG
40152016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
4016 Matthew Wahab <matthew.wahab@arm.com>
4017
4018 * config/arm/fp16.c (binary64): New.
4019 (__gnu_d2h_internal): New.
4020 (__gnu_d2h_ieee): New.
4021 (__gnu_d2h_alternative): New.
4022
8630cadb
JG
40232016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
4024 Matthew Wahab <matthew.wahab@arm.com>
4025
4026 * config/arm/fp16.c (struct format): New.
4027 (binary32): New.
4028 (__gnu_float2h_internal): New. Body moved from
4029 __gnu_f2h_internal and generalize.
4030 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
4031 Call it with binary32.
4032
5823ef23
JG
40332016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
4034
4035 * soft-fp/extendhftf2.c: Update from glibc.
4036 * soft-fp/fixhfti.c: Likewise.
4037 * soft-fp/fixunshfti.c: Likewise.
4038 * soft-fp/floattihf.c: Likewise.
4039 * soft-fp/floatuntihf.c: Likewise.
4040 * soft-fp/half.h: Likewise.
4041 * soft-fp/trunctfhf2.c: Likewise.
4042
62a7df9f
MG
40432016-11-20 Marc Glisse <marc.glisse@inria.fr>
4044
4045 PR libgcc/77813
4046 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
4047 __TMC_END__ behind a passthrough asm.
4048
7a384912
WL
40492016-11-18 Walter Lee <walt@tilera.com>
4050
62a7df9f 4051 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
7a384912 4052
9775c1a5
L
40532016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
4054
4055 * config/i386/cpuinfo.c (processor_features): Add
4056 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
4057
48c842ab
CZ
40582016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
4059
4060 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
4061 (__ARC_NORM__): Use instead ARC_OPTFPE.
4062 * config/arc/fp-hack.h: Likewise.
4063 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
4064 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
4065
5012919d
AM
40662016-11-16 Alexander Monakov <amonakov@ispras.ru>
4067
4068 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
4069 * config/nvptx/mgomp.c: New file.
4070 * config/nvptx/t-nvptx: Add mgomp.c
4071
00178b98
WB
40722016-11-16 Waldemar Brodkorb <wbx@openadk.org>
4073
4074 PR libgcc/68468
4075 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
4076
d64af69f
CZ
40772016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
4078
4079 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
4080 of checking for cpus.
4081 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
4082 (__modsi3, __clzsi2): Likewise.
4083
9d8f95de
SN
40842016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
4085
4086 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
4087 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
4088 * config/i386/t-cpuinfo-static: New.
4089
7d29f8e3
ML
40902016-11-03 Martin Liska <mliska@suse.cz>
4091
4092 * libgcov-profiler.c (__gcov_time_profiler): Remove.
4093 (__gcov_time_profiler_atomic): Likewise.
4094
5de3e2d8
BE
40952016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
4096
4097 PR libgcc/78067
4098 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
4099 count_leading_zeros.
4100
18362447
UB
41012016-11-02 Uros Bizjak <ubizjak@gmail.com>
4102
4103 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
4104 * libgcc2.c (__divmoddi4): New function.
4105 * libgcc2.h (__divmoddi4): Declare.
4106 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
4107 and __PFX_divmodti4.
4108
33107571
FW
41092016-10-24 Florian Weimer <fweimer@redhat.com>
4110
4111 PR libgcc/78064
4112 * unwind-c.c: Include auto-target.h.
4113
4c6d7494
JDA
41142016-10-19 John David Anglin <danglin@gcc.gnu.org>
4115
18362447 4116 * config/pa/pa64-hpux-lib.h: New file.
4c6d7494
JDA
4117 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
4118 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
4119 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
4120 hppa*64*-*-hpux11*.
4121
2a26adf1
MF
41222016-10-18 Max Filippov <jcmvbkbc@gmail.com>
4123
4124 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
4125 definition.
4126 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
4127 definition.
4128 * config/xtensa/t-windowed (LIB2ADDEH): Use
4129 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
4130 or xtensa/t-linux.
4131
66192aa1
DKC
41322016-10-18 Ding-Kai Chen <dkchen@cadence.com>
4133
4134 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
4135 __ieee754_sqrt): New functions.
4136 (__divdf3): Add implementation with new FPU instructions under
4137 #if XCHAL_HAVE_DFP_DIV.
4138 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
4139 __ieee754_sqrtf): New functions.
4140 (__divsf3): Add implementation with new FPU instructions under
4141 #if XCHAL_HAVE_FP_DIV.
4142 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
4143 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
4144
4d0cdd0c
TP
41452016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
4146
4147 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
4148 equivalent.
4149 * config/tilepro/atomic.c: Likewise and stop casting model to
4150 enum memmodel.
4151
73f01cca
JM
41522016-10-10 Joseph Myers <joseph@codesourcery.com>
4153
4154 PR target/77586
4155 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
4156 soft-fp.
4157
b20e7532
AT
41582016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
4159
4160 * config.host: Add support for aarch64-*-freebsd*.
4161
a786cec4
AS
41622016-10-05 Andreas Schwab <schwab@suse.de>
4163
4164 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
4165 (.section .init_array): Don't call __do_jv_register_classes.
4166 (.section .init): Likewise.
4167
5a79befb
JJ
41682016-10-04 Jakub Jelinek <jakub@redhat.com>
4169
4170 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
4171 (__JCR_LIST__): Remove.
4172 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
4173 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
4174 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
4175 * config/ia64/crtend.S (__JCR_END__): Remove.
4176 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
4177 conditionals.
4178 (__JCR_LIST__, __JCR_END__): Remove.
4179 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
4180 (__do_global_ctors_1): Likewise.
4181
e0ab3753
UB
41822015-09-28 Uros Bizjak <ubizjak@gmail.com>
4183
4184 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
4185 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
4186
8c9434c2
ML
41872016-09-27 Martin Liska <mliska@suse.cz>
4188
4189 PR gcov-profile/7970
4190 PR gcov-profile/16855
4191 PR gcov-profile/44779
4192 * libgcov-driver.c (__gcov_init): Do not register a atexit
4193 handler.
4194 (__gcov_exit): Rename from gcov_exit.
4195 * libgcov.h (__gcov_exit): Declare.
4196
56b653f1
ML
41972016-09-27 Martin Liska <mliska@suse.cz>
4198
4199 PR bootstrap/77749
4200 * Makefile.in: Remove _gcov_merge_delta.
4201 * libgcov-merge.c (void __gcov_merge_delta): Remove.
4202 * libgcov-util.c (__gcov_delta_counter_op): Remove.
4203 * libgcov.h: Remove declaration of __gcov_merge_delta.
4204
7e02fd1b
EB
42052016-09-21 Eric Botcazou <ebotcazou@adacore.com>
4206
4207 * configure.ac: Do not create links, only substitute the filenames.
4208 * configure: Regenerate.
4209 * Makefile.in: Assign the substitution results to variables.
4210 (LIBGCC_LINKS): Define.
4211 (enable-execute-stack.c): New rule.
4212 (unwind.h): Likewise.
4213 (md-unwind-support.h): Likewise.
4214 (sfp-machine.h): Likewise.
4215 (gthr-default.h): Likewise.
4216 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
4217 unwind.h as prerequisite of install-unwind_h-forbuild.
4218
29991048
JJ
42192016-09-16 Jakub Jelinek <jakub@redhat.com>
4220
4221 PR libgcc/71744
4222 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
4223 is not the primary registry and atomics are available.
4224 (any_objects_registered): New variable.
4225 (__register_frame_info_bases, __register_frame_info_table_bases):
4226 Atomically store 1 to any_objects_registered after registering first
4227 unwind info.
4228 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
4229
0abcd6cc
JG
42302016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
4231
4232 PR target/63250
4233 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
4234 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
4235 (HFtype): Likewise.
4236 (HCtype): Likewise.
4237 (__divhc3): Likewise.
4238 (__mulhc3): Likewise.
4239 * libgcc2.c: Support _mulhc3 and _divhc3.
4240
d758aeb5
JM
42412016-09-07 Joseph Myers <joseph@codesourcery.com>
4242
4243 PR libgcc/77519
4244 * libgcc2.c (NOTRUNC): Invert settings.
4245
7fe76f6a
ML
42462016-09-06 Martin Liska <mliska@suse.cz>
4247
4248 PR gcov-profile/77378
4249 PR gcov-profile/77466
4250 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
4251 conditionaly enable/disable *_atomic functions.
4252
21184026
JM
42532016-08-26 Joseph Myers <joseph@codesourcery.com>
4254
4255 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
4256 where not already enabled.
4257
726f49c3
SN
42582016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
4259
4260 * config/mips/linux-unwind.h: Use sys/syscall.h.
4261
feeb6268
JM
42622016-08-16 Joseph Myers <joseph@codesourcery.com>
4263
4264 PR libgcc/77265
4265 * soft-fp/adddf3.c: Update from glibc.
4266 * soft-fp/addsf3.c: Likewise.
4267 * soft-fp/addtf3.c: Likewise.
4268 * soft-fp/divdf3.c: Likewise.
4269 * soft-fp/divsf3.c: Likewise.
4270 * soft-fp/divtf3.c: Likewise.
4271 * soft-fp/double.h: Likewise.
4272 * soft-fp/eqdf2.c: Likewise.
4273 * soft-fp/eqsf2.c: Likewise.
4274 * soft-fp/eqtf2.c: Likewise.
4275 * soft-fp/extenddftf2.c: Likewise.
4276 * soft-fp/extended.h: Likewise.
4277 * soft-fp/extendsfdf2.c: Likewise.
4278 * soft-fp/extendsftf2.c: Likewise.
4279 * soft-fp/extendxftf2.c: Likewise.
4280 * soft-fp/fixdfdi.c: Likewise.
4281 * soft-fp/fixdfsi.c: Likewise.
4282 * soft-fp/fixdfti.c: Likewise.
4283 * soft-fp/fixsfdi.c: Likewise.
4284 * soft-fp/fixsfsi.c: Likewise.
4285 * soft-fp/fixsfti.c: Likewise.
4286 * soft-fp/fixtfdi.c: Likewise.
4287 * soft-fp/fixtfsi.c: Likewise.
4288 * soft-fp/fixtfti.c: Likewise.
4289 * soft-fp/fixunsdfdi.c: Likewise.
4290 * soft-fp/fixunsdfsi.c: Likewise.
4291 * soft-fp/fixunsdfti.c: Likewise.
4292 * soft-fp/fixunssfdi.c: Likewise.
4293 * soft-fp/fixunssfsi.c: Likewise.
4294 * soft-fp/fixunssfti.c: Likewise.
4295 * soft-fp/fixunstfdi.c: Likewise.
4296 * soft-fp/fixunstfsi.c: Likewise.
4297 * soft-fp/fixunstfti.c: Likewise.
4298 * soft-fp/floatdidf.c: Likewise.
4299 * soft-fp/floatdisf.c: Likewise.
4300 * soft-fp/floatditf.c: Likewise.
4301 * soft-fp/floatsidf.c: Likewise.
4302 * soft-fp/floatsisf.c: Likewise.
4303 * soft-fp/floatsitf.c: Likewise.
4304 * soft-fp/floattidf.c: Likewise.
4305 * soft-fp/floattisf.c: Likewise.
4306 * soft-fp/floattitf.c: Likewise.
4307 * soft-fp/floatundidf.c: Likewise.
4308 * soft-fp/floatundisf.c: Likewise.
4309 * soft-fp/floatunditf.c: Likewise.
4310 * soft-fp/floatunsidf.c: Likewise.
4311 * soft-fp/floatunsisf.c: Likewise.
4312 * soft-fp/floatunsitf.c: Likewise.
4313 * soft-fp/floatuntidf.c: Likewise.
4314 * soft-fp/floatuntisf.c: Likewise.
4315 * soft-fp/floatuntitf.c: Likewise.
4316 * soft-fp/gedf2.c: Likewise.
4317 * soft-fp/gesf2.c: Likewise.
4318 * soft-fp/getf2.c: Likewise.
4319 * soft-fp/ledf2.c: Likewise.
4320 * soft-fp/lesf2.c: Likewise.
4321 * soft-fp/letf2.c: Likewise.
4322 * soft-fp/muldf3.c: Likewise.
4323 * soft-fp/mulsf3.c: Likewise.
4324 * soft-fp/multf3.c: Likewise.
4325 * soft-fp/negdf2.c: Likewise.
4326 * soft-fp/negsf2.c: Likewise.
4327 * soft-fp/negtf2.c: Likewise.
4328 * soft-fp/op-1.h: Likewise.
4329 * soft-fp/op-2.h: Likewise.
4330 * soft-fp/op-4.h: Likewise.
4331 * soft-fp/op-8.h: Likewise.
4332 * soft-fp/op-common.h: Likewise.
4333 * soft-fp/quad.h: Likewise.
4334 * soft-fp/single.h: Likewise.
4335 * soft-fp/soft-fp.h: Likewise.
4336 * soft-fp/subdf3.c: Likewise.
4337 * soft-fp/subsf3.c: Likewise.
4338 * soft-fp/subtf3.c: Likewise.
4339 * soft-fp/truncdfsf2.c: Likewise.
4340 * soft-fp/trunctfdf2.c: Likewise.
4341 * soft-fp/trunctfsf2.c: Likewise.
4342 * soft-fp/trunctfxf2.c: Likewise.
4343 * soft-fp/unorddf2.c: Likewise.
4344 * soft-fp/unordsf2.c: Likewise.
4345 * soft-fp/unordtf2.c: Likewise.
4346
2e6fc1ac
GG
43472016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
4348
4349 PR gcov-profile/67097
4350 * libgcov-util.c (gcov_profile_merge): Skip missing files.
4351
a266236e
ML
43522016-08-10 Martin Liska <mliska@suse.cz>
4353
4354 PR gcov-profile/58306
4355 * Makefile.in: New functions (modules) are added.
4356 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
4357 function.
4358 (__gcov_pow2_profiler_atomic): New function.
4359 (__gcov_one_value_profiler_body): New argument is instroduced.
4360 (__gcov_one_value_profiler): Call with the new argument.
4361 (__gcov_one_value_profiler_atomic): Likewise.
4362 (__gcov_indirect_call_profiler_v2): Likewise.
4363 (__gcov_time_profiler_atomic): New function.
4364 (__gcov_average_profiler_atomic): Likewise.
4365 (__gcov_ior_profiler_atomic): Likewise.
4366 * libgcov.h: Declare the aforementioned functions.
4367
e0c8eebf
ML
43682016-08-09 Martin Liska <mliska@suse.cz>
4369
4370 * libgcov-util.c: Fix typo and GNU coding style.
4371
6dce6418
ML
43722016-08-09 Martin Liska <mliska@suse.cz>
4373
4374 * Makefile.in: Remove __gcov_indirect_call_profiler.
4375 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
4376 function.
4377 * libgcov.h: And the declaration of the function.
4378
dcb1e137
ML
43792016-08-09 Martin Liska <mliska@suse.cz>
4380
4381 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
4382 power of two.
4383
d6e69705
BS
43842016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
4385
4386 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
4387 * config/rs6000/_mulkc3.c: Likewise.
4388
96aa1f95
GJL
43892016-07-29 Georg-Johann Lay <avr@gjlay.de>
4390
4391 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
4392 zero_reg as previous call to __umulhisi3 already cleared it.
4393
a1b01d34
AJ
43942016-07-21 Aurelien Jarno <aurelien@aurel32.net>
4395
4396 PR target/59833
4397 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
4398
985a47b2
NC
43992016-07-19 Nick Clifton <nickc@redhat.com>
4400
4401 * config.host (m32r): Add m32r/t-m32r to tmake_file.
4402 Add crtinit.o and crtfini.o to extra_parts.
4403
f906f5ed
BS
44042016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
4405
4406 * config/rs6000/_divkc3.c: New.
4407 * config/rs6000/_mulkc3.c: New.
4408 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
4409 and _divkc3.
4410 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
4411 fp128_ppc_funcs.
4412
82742404
HW
44132016-07-11 Hale Wang <hale.wang@arm.com>
4414 Andre Vieira <andre.simoesdiasvieira@arm.com>
4415
4416 * config/arm/lib1funcs.S: Add new wrapper.
4417
05a437c1
TP
44182016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
4419
4420 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
4421
3d16d9ec
TP
44222016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
4423
4424 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
4425 and ARMv5t* rather than for a fixed list of architectures.
4426
6f493951
TP
44272016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
4428
4429 * config/arm/bpabi-v6m.S: Clarify what architectures is the
4430 implementation suitable for.
4431 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
4432 for all Thumb-1 only targets.
4433 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
4434 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
4435 __ARM_ARCH_6M__.
4436 (EQUIV): Likewise.
4437 (ARM_FUNC_ALIAS): Likewise.
4438 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
4439 version.
4440 (modsi3): Likewise.
4441 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
4442 (clzdi2): Likewise.
4443 (ctzsi2): Likewise.
4444 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
4445 __ARM_ARCH_6M__ in guard for checking whether it is defined.
4446 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
4447 __ARM_ARCH_6M__ and add comment to indicate the connection between
4448 this condition and the one in gcc/config/arm/elf.h.
4449 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
4450 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
4451 * config/arm/t-softfp: Likewise.
4452
1770511a
TS
44532016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4454
4455 * libgcc2.c (SYMBOL__MAIN): Remove checks for
4456 CTOR_LISTS_DEFINED_EXTERNALLY.
4457
ba6be749
WL
44582016-06-28 Walter Lee <walt@tilera.com>
4459
4460 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
4461 asm/unistd.h.
4462 (SPR_CMPEXCH_VALUE): Define for tilegx.
4463 (__NR_FAST_cmpxchg): Define for tilepro.
4464 (__NR_FAST_atomic_update): Define for tilepro.
4465 (__NR_FAST_cmpxchg64): Define for tilepro.
4466
a34c0db5
JS
44672016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
4468
18362447 4469 * config.host: Add suport for arm*-*-phoenix* targets.
a34c0db5 4470
0609abda
TS
44712016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4472
4473 * config.host: Remove support for mep-*.
4474 * config/mep/lib1funcs.S: Remove.
4475 * config/mep/lib2funcs.c: Remove.
4476 * config/mep/t-mep: Remove.
4477 * config/mep/tramp.c: Remove.
4478
3e326935
TS
44792016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4480
4481 * config.host: Remove support for avr-rtems.
4482 * config/avr/t-rtems: Remove.
4483
914b155c
TS
44842016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4485
4486 * config.host: Remove m32r-rtems support.
4487
5ebf89bd
TS
44882016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4489
4490 * config.host: Remove h8300-rtems support.
4491
8466af06
TS
44922016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4493
4494 * config.host: Remove support for knetbsd.
4495
d980e738
TS
44962016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4497
4498 * config.host: Remove support for openbsd 2 and 3.
4499
ee2499b4
TS
45002016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4501
4502 * config.host: Remove interix support.
4503 * config/i386/t-interix: Remove.
4504
9f92937b
JDA
45052016-06-18 John David Anglin <danglin@gcc.gnu.org>
4506
4507 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
4508 least-significant bit in function pointer for fixup.
4509
0a0ec53d
AC
45102016-06-05 Aaron Conole <aconole@redhat.com>
4511 Nathan Sidwell <nathan@acm.org>
4512
4513 PR libgcc/71400
4514 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
4515 (get_gcov_error_file): Check __gcov_error_file before trying to
4516 initialize it.
4517 (gcov_error): Always use get_gcov_error_file.
4518
8aa5bdd6
AC
45192016-06-02 Aaron Conole <aconole@redhat.com>
4520
4521 * libgcov-driver-system.c (__gcov_error_file): New.
4522 (get_gcov_error_file): New.
4523 (gcov_error): Use and set __gcov_error_file.
4524 (gcov_error_exit): New.
4525 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
4526
40774faf
NS
45272016-05-26 Nathan Sidwell <nathan@acm.org>
4528
4529 * config/nvptx/free.asm: Delete.
4530 * config/nvptx/malloc.asm: Delete.
4531 * config/nvptx/realloc.c: Delete.
4532 * t-nvptx: Update.
4533
69a6d5ad
NS
45342016-05-25 Nathan Sidwell <nathan@acm.org>
4535
4536 * config/nvptx/crt0.s: Delete.
4537 * config/nvptx/crt0.c: New.
4538 * t-nvptx: Update.
4539
6befaff6
SL
45402016-05-19 Sandra Loosemore <sandra@codesourcery.com>
4541
385c7747 4542 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
6befaff6
SL
4543 dw2/seh configuration.
4544 [x86_64-*-mingw*]: Likewise.
4545
ad251dfd
JS
45462016-05-10 Joel Sherrill <joel@rtems.org>
4547
4548 PR libgcc/70720
4549 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
4550 targets so the same extra_parts are built. Also have tmake_file add
4551 on to its value rather than override.
4552
bc6d9014
OE
45532016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
4554
4555 * config.host: Remove SH5 support.
4556 * configure: Likewise.
4557
9129c8cf
OE
45582016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
4559
4560 * config/sh/crt1.S: Remove SH5 support.
4561 * config/sh/crti.S: Likewise.
4562 * config/sh/crtn.S: Likewise.
4563 * config/sh/lib1funcs-4-300.S: Likewise.
4564 * config/sh/lib1funcs-Os-4-200.S: Likewise.
4565 * config/sh/lib1funcs.S: Likewise.
4566 * config/sh/linux-unwind.h: Likewise.
4567 * config/sh/t-sh64: Delete.
4568
39d50464
CZ
45692016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
4570
4571 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
4572
8b48923b
CZ
45732016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
4574 Joern Rennecke <joern.rennecke@embecosm.com>
4575
4576 * config/arc/crttls.S: New file.
4577 * config/arc/t-arc: New rule.
4578 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
4579
2de1cf8c
NC
45802016-04-25 Nick Clifton <nickc@redhat.com>
4581
4582 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
4583 (__mspabi_cmpd): Likewise.
4584 * config/msp430/floathidf.c (__floathidf): Likewise.
4585 * config/msp430/floathisf.c (__floathisf): Likewise
4586 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
4587 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
4588 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
4589 second parameter.
4590 (__ashrsi3): Likewise.
4591
b8ce3fe2
WB
45922016-04-21 Waldemar Brodkorb <wbx@openadk.org>
4593
4594 * config/m68k/linux-atomic.c: Do not include unistd.h
4595
4986f823
MG
45962016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
4597
4598 * config/arm/ieee754-df.S: Fix typos in comments.
4599
35fbda43
MM
46002016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
4601
4602 PR target/70381
4603 * configure.ac (powerpc*-*-linux*): Rework tests to build
4604 __float128 emulation routines to not depend on using #pragma GCC
4605 target to enable -mfloat128.
4606 * configure: Regnerate.
4607
72d1a48d
EB
46082016-04-04 Eric Botcazou <ebotcazou@adacore.com>
4609
4610 PR target/67172
4611 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
4612 __MINGW32__ is defined.
4613
dc2e8995
JB
46142016-03-28 James Bowman <james.bowman@ftdichip.com>
4615
385c7747 4616 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
dc2e8995 4617
104cdaf1
MM
46182016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
4619
4620 PR libgcc/70363
4621 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
4622 built with an assembler that does not support ISA 3.0
4623 instructions, rename __extendkftf2_sw to __extendkftf2.
4624
a5046f48
RO
46252016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4626
4627 PR target/38239
4628 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
4629 call-clobbered registers.
4630 (internal_mcount): Remove __i386__ handling.
4631
df674f74
JS
46322016-02-26 Joel Sherrill <joel@rtems.org>
4633
4634 * config.host: Add x86_64-*-rtems*.
4635
7cb065d6
JS
46362016-02-26 Joel Sherrill <joel@rtems.org>
4637
4638 * libgcc/config.host: Add aarch64-*-rtems*.
4639
47dfdc53
PM
46402016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4641 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
4642
4643 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
4644 union of u64 and double.
4645 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
4646 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
4647 value.
4648 (FP_ROUNDMODE): Update the usage of _fpscr.
4649
e6861a99
IV
46502016-02-25 Ilya Verbin <ilya.verbin@intel.com>
4651
4652 PR driver/68463
4653 * Makefile.in (crtoffloadtable$(objext)): New rule.
4654 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
4655 enable_offload_targets is not empty.
4656 * configure: Regenerate.
4657 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
4658 crtoffloadtable.
4659
9bfcbdee
MF
46602016-02-17 Max Filippov <jcmvbkbc@gmail.com>
4661
4662 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
4663 .literal_position before the function.
4664 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
4665 Likewise.
4666
4cb4721f
MK
46672016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
4668
4669 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
4670 * config/s390/morestack.S: New file.
4671 * config/s390/t-stack-s390: New file.
4672 * generic-morestack.c (__splitstack_find): Add s390-specific code.
4673
b29d9a29
WL
46742016-02-12 Walter Lee <walt@tilera.com>
4675
4676 * config.host (tilegx*-*-linux*): remove ti from
4677 softfp_int_modes for 32-bit configs.
4678
03a0ae7d
ILT
46792016-02-10 Ian Lance Taylor <iant@google.com>
4680
4681 PR go/68562
4682 * config/i386/morestack.S (__stack_split_initialize): Align
4683 stack.
4684
68750bce
AT
46852016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
4686
4687 PR bootstrap/69611
4688 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
4689 __FLOAT128__ to compile only for __float128 capable targets.
4690
7d296953
JJ
46912016-01-25 Jakub Jelinek <jakub@redhat.com>
4692
4693 PR target/69444
4694 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
4695 instead of ___NO_FPRS__.
4696
a71c0334 46972016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
4698 Steven Munroe <munroesj@linux.vnet.ibm.com>
4699 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
a71c0334
MM
4700
4701 * config/rs6000/float128-sed: New files to convert TF names to KF
4702 names for PowerPC IEEE 128-bit floating point support.
4703 * config/rs6000/float128-sed-hw: Likewise.
4704
4705 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
4706 floating point hardware support.
4707
4708 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
4709 128-bit floating point software emulation or use ISA 3.0 hardware
4710 support if it is available.
4711
4712 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
4713 floating point.
4714
4715 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
4716 floating point to IBM extended double.
4717
4718 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
4719 double to IEEE 128-bit floating point.
4720
4721 * config/rs6000/t-float128: New Makefile fragments to enable
4722 building __float128 emulation support.
4723 * config/rs6000/t-float128-hw: Likewise.
4724
4725 * config/rs6000/sfp-exceptions.c: New file to provide exception
4726 support for IEEE 128-bit floating point.
4727
4728 * config/rs6000/floattikf.c: New files for converting between IEEE
4729 128-bit floating point and signed/unsigned 128-bit integers.
4730 * config/rs6000/fixunskfti.c: Likewise.
4731 * config/rs6000/fixkfti.c: Likewise.
4732 * config/rs6000/floatuntikf.c: Likewise.
4733
4734 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
4735 when building on 64-bit systems, or when VSX is enabled.
4736 (_FP_W_TYPE): Likewise.
4737 (_FP_WS_TYPE): Likewise.
4738 (_FP_I_TYPE): Likewise.
4739 (TItype): Define on 64-bit systems.
4740 (UTItype): Likewise.
4741 (TI_BITS): Likewise.
4742 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
4743 (_FP_MUL_MEAT_Q): Likewise.
4744 (_FP_DIV_MEAT_D): Likewise.
4745 (_FP_DIV_MEAT_Q): Likewise.
4746 (_FP_NANFRAC_D): Likewise.
4747 (_FP_NANFRAC_Q): Likewise.
4748 (ISA_BIT): Add exception support if we are being compiled on a
4749 machine with hardware floating point support to build the IEEE
4750 128-bit emulation functions.
4751 (FP_EX_INVALID): Likewise.
4752 (FP_EX_OVERFLOW): Likewise.
4753 (FP_EX_UNDERFLOW): Likewise.
4754 (FP_EX_DIVZERO): Likewise.
4755 (FP_EX_INEXACT): Likewise.
4756 (FP_EX_ALL): Likewise.
4757 (__sfp_handle_exceptions): Likewise.
4758 (FP_HANDLE_EXCEPTIONS): Likewise.
4759 (FP_RND_NEAREST): Likewise.
4760 (FP_RND_ZERO): Likewise.
4761 (FP_RND_PINF): Likewise.
4762 (FP_RND_MINF): Likewise.
4763 (FP_RND_MASK): Likewise.
4764 (_FP_DECL_EX): Likewise.
4765 (FP_INIT_ROUNDMODE): Likewise.
4766 (FP_ROUNDMODE): Likewise.
4767
4768 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
4769 VSX code, enable IEEE 128-bit floating point. If the compiler can
4770 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
4771 floating point hardware instructions and it supports declaring
4772 functions with the ifunc attribute, enable ifunc functions to
4773 switch between software and hardware support.
4774 * configure.ac (powerpc*-*-linux*): Likewise.
4775 * configure: Regenerate.
4776
bdc27e50
NC
47772016-01-15 Nick Clifton <nickc@redhat.com>
4778
4779 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
4780 dependency as the source file to be compiled.
4781 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
4782 (lib2hw_mul_f5.o): Likewise.
4783
006df05d
MM
47842016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
4785
4786 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
4787 * libgcc/config/rs6000/fixkfti.c: Likewise.
4788 * libgcc/config/rs6000/fixunskfti.c: Likewise.
4789 * libgcc/config/rs6000/float128-hw.c: Likewise.
4790 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
4791 * libgcc/config/rs6000/float128-sed: Likewise.
4792 * libgcc/config/rs6000/floattikf.c: Likewise.
4793 * libgcc/config/rs6000/floatuntikf.c: Likewise.
4794 * libgcc/config/rs6000/quad-float128.h: Likewise.
4795 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
4796 * libgcc/config/rs6000/sfp-machine.h: Likewise.
4797 * libgcc/config/rs6000/t-float128: Likewise.
4798 * libgcc/config/rs6000/t-float128-hw: Likewise.
4799 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
4800 * libgcc/config.host: Likewise.
4801 * libgcc/configure: Likewise.
4802 * libgcc/configure.ac: Likewise.
4803
29176d57 48042016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
4805 Steven Munroe <munroesj@linux.vnet.ibm.com>
4806 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
29176d57
MM
4807
4808 * config/rs6000/sfp-exceptions.c: New file to provide exception
4809 support for IEEE 128-bit floating point.
4810
4811 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
4812 floating point hardware support.
4813
4814 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
4815 point conversions.
4816 * config/rs6000/fixunskfti.c: Likewise.
4817 * config/rs6000/fixkfti.c: Likewise.
4818 * config/rs6000/floatuntikf.c: Likewise.
4819 * config/rs6000/extendkftf2-sw.c: Likewise.
4820 * config/rs6000/trunctfkf2-sw.c: Likewise.
4821
4822 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
4823 128-bit floating point software emulation or use ISA 3.0 hardware
4824 support if it is available.
4825
4826 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
4827 floating point.
4828
4829 * config/rs6000/t-float128: New Makefile fragments to enable
4830 building __float128 emulation support.
4831 * config/rs6000/t-float128-hw: Likewise.
4832
4833 * config/rs6000/float128-sed: New file to convert TF names to KF
4834 names for PowerPC IEEE 128-bit floating point support.
4835
4836 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
4837 when building on 64-bit systems, or when VSX is enabled.
4838 (_FP_W_TYPE): Likewise.
4839 (_FP_WS_TYPE): Likewise.
4840 (_FP_I_TYPE): Likewise.
4841 (TItype): Define on 64-bit systems.
4842 (UTItype): Likewise.
4843 (TI_BITS): Likewise.
4844 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
4845 (_FP_MUL_MEAT_Q): Likewise.
4846 (_FP_DIV_MEAT_D): Likewise.
4847 (_FP_DIV_MEAT_Q): Likewise.
4848 (_FP_NANFRAC_D): Likewise.
4849 (_FP_NANFRAC_Q): Likewise.
4850 (ISA_BIT): Add exception support if we are being compiled on a
4851 machine with hardware floating point support to build the IEEE
4852 128-bit emulation functions.
4853 (FP_EX_INVALID): Likewise.
4854 (FP_EX_OVERFLOW): Likewise.
4855 (FP_EX_UNDERFLOW): Likewise.
4856 (FP_EX_DIVZERO): Likewise.
4857 (FP_EX_INEXACT): Likewise.
4858 (FP_EX_ALL): Likewise.
4859 (__sfp_handle_exceptions): Likewise.
4860 (FP_HANDLE_EXCEPTIONS): Likewise.
4861 (FP_RND_NEAREST): Likewise.
4862 (FP_RND_ZERO): Likewise.
4863 (FP_RND_PINF): Likewise.
4864 (FP_RND_MINF): Likewise.
4865 (FP_RND_MASK): Likewise.
4866 (_FP_DECL_EX): Likewise.
4867 (FP_INIT_ROUNDMODE): Likewise.
4868 (FP_ROUNDMODE): Likewise.
4869
4870 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
4871 compiler can do __float128.
4872 * configure: Regenerate.
4873
4874 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
4875 VSX code, enable IEEE 128-bit floating point.
4876
a2218983
OH
48772016-01-05 Olivier Hainque <hainque@adacore.com>
4878
4879 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
29176d57 4880 specificities.
a2218983 4881
818ab71a
JJ
48822016-01-04 Jakub Jelinek <jakub@redhat.com>
4883
4884 Update copyright years.
4885
5a6c8ffa
AP
48862015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
4887
4888 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
29176d57 4889 soft-fp targets.
5a6c8ffa 4890
077067a5
BE
48912015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
4892
4893 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
4894 instead of abort to avoid dependency on stdlib.h.
4895
787c1027
JDA
48962015-12-09 John David Anglin <danglin@gcc.gnu.org>
4897
4898 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
4899 to initialize call to __dl_fixup once.
4900
04a9ae28
NC
49012015-12-04 Nick Clifton <nickc@redhat.com>
4902
4903 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
4904 Allow for the second argument being negative.
4905 * config.host (extra_parts): Define for MSP430. Create separate
4906 libraries for each of the hardware multiply formats.
4907 * config/msp430/lib2hw_mul.S: Build only the multiply routines
4908 that are needed.
4909 * config/msp430/lib2mul.c: Likewise.
4910 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
4911 Add rules to build hardware multiply libraries.
4912 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
4913 __mspabi_divul function.
4914 (__mspabi_divllu): New stub function.
4915
9a32d437
JDA
49162015-12-01 John David Anglin <danglin@gcc.gnu.org>
4917
4918 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
4919 fixup values if saved GOT address doesn't match runtime address.
4920 (fixup_branch_offset): Reorder list.
4921
e5ef217c
RO
49222015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4923
4924 * Makefile.in (VTV_CFLAGS): New variable.
4925 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
4926 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
4927 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
4928 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
4929 to extra_parts if $enable_vtable_verify = yes.
4930
78cc43a2
SN
49312015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
4932
4933 PR target/68059
4934 * config/arm/linux-atomic-64bit.c (__write): Rename to...
4935 (write): ...this and fix the return type.
4936
9afebea2
DD
49372015-11-19 DJ Delorie <dj@redhat.com>
4938
4939 * config/msp430/lib2hw_mul.S: Fix alignment.
4940
33f47f42
NS
49412015-11-18 Nathan Sidwell <nathan@codesourcery.com>
4942
4943 * config/nvptx/reduction.c: New.
4944 * config/nvptx/t-nvptx (LIB2ADD): Add it.
4945
d9adb476
DE
49462015-11-15 David Edelsohn <dje.gcc@gmail.com>
4947
4948 * config/rs6000/on_exit.c: New file.
4949 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
4950 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
4951
c0ab1970
CZ
49522015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
4953
4954 * config/arc/dp-hack.h: Add support for ARCHS.
4955 * config/arc/ieee-754/divdf3.S: Likewise.
4956 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
4957 * config/arc/ieee-754/muldf3.S: Likewise.
4958 * config/arc/ieee-754/mulsf3.S: Likewise
4959 * config/arc/lib1funcs.S: Likewise
4960 * config/arc/gmon/dcache_linesz.S: Don't read the build register
4961 for ARCv2 cores.
4962 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
4963 for ARCv2 cores.
4964 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
4965 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
4966 cores.
4967
e6b6bf09
RO
49682015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4969
4970 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
4971 value.
4972 * config/ia64/crtend.S: Likewise.
4973
a153644f
TS
49742015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4975
4976 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
4977 __CHAR_BIT__ instead of BITS_PER_UNIT.
4978 * fixed-bit.h: Likewise.
4979 * fp-bit.h: Likewise.
4980 * libgcc2.c (__popcountSI2): Likewise.
4981 (__popcountDI2): Likewise.
4982 * libgcc2.h: Likewise.
4983 * libgcov.h: Likewise.
4984
3dee689d
DE
49852015-11-07 David Edelsohn <dje.gcc@gmail.com>
4986
4987 * config/rs6000/atexit.c: New file.
4988 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
4989 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
4990 * config/rs6000/cxa_finalize.c
4991 (catomic_compare_and_exchange_bool_acq): Negate return value.
4992
2ef543e4
VK
49932015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
4994
4995 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
4996 (processor_subtypes): Add znver1.
4997 (get_amd_cpu): Detect znver1.
4998
1300f017
CL
49992015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
5000
5001 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
5002 Include crtfastmath.o.
5003
3e5bb7ee
JR
50042015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
5005
5006 PR libgcc/66883
5007 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1300f017 5008
793aa938
KP
50092015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
5010
5011 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
5012 * config/rl78/divmodsi.S: Update return register to r8.
5013 * config/rl78/divmodhi.S: Update return register to r8,r9.
5014 Branch to main_loop_done_himode to pop registers before return.
5015
7d296953 50162015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
fac812f0
VK
5017
5018 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
5019 (__cpu_indicator_init): Fix model selection for AMD CPUs.
5020
6a192b5a
KY
50212015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
5022
5023 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
5024
4a0a9457
MF
50252015-10-03 Max Filippov <jcmvbkbc@gmail.com>
5026
5027 * config.host (xtensa*-*-uclinux*): New configuration.
5028
ab91c076
KY
50292015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
5030
385c7747 5031 * config/i386/cpuinfo.c (processor_features): Add
ab91c076
KY
5032 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
5033
30954527
JM
50342015-09-28 Joseph Myers <joseph@codesourcery.com>
5035
5036 * soft-fp/adddf3.c: Update from glibc.
5037 * soft-fp/addsf3.c: Likewise.
5038 * soft-fp/addtf3.c: Likewise.
5039 * soft-fp/divdf3.c: Likewise.
5040 * soft-fp/divsf3.c: Likewise.
5041 * soft-fp/divtf3.c: Likewise.
5042 * soft-fp/double.h: Likewise.
5043 * soft-fp/eqdf2.c: Likewise.
5044 * soft-fp/eqsf2.c: Likewise.
5045 * soft-fp/eqtf2.c: Likewise.
5046 * soft-fp/extenddftf2.c: Likewise.
5047 * soft-fp/extended.h: Likewise.
5048 * soft-fp/extendsfdf2.c: Likewise.
5049 * soft-fp/extendsftf2.c: Likewise.
5050 * soft-fp/extendxftf2.c: Likewise.
5051 * soft-fp/fixdfdi.c: Likewise.
5052 * soft-fp/fixdfsi.c: Likewise.
5053 * soft-fp/fixdfti.c: Likewise.
5054 * soft-fp/fixsfdi.c: Likewise.
5055 * soft-fp/fixsfsi.c: Likewise.
5056 * soft-fp/fixsfti.c: Likewise.
5057 * soft-fp/fixtfdi.c: Likewise.
5058 * soft-fp/fixtfsi.c: Likewise.
5059 * soft-fp/fixtfti.c: Likewise.
5060 * soft-fp/fixunsdfdi.c: Likewise.
5061 * soft-fp/fixunsdfsi.c: Likewise.
5062 * soft-fp/fixunsdfti.c: Likewise.
5063 * soft-fp/fixunssfdi.c: Likewise.
5064 * soft-fp/fixunssfsi.c: Likewise.
5065 * soft-fp/fixunssfti.c: Likewise.
5066 * soft-fp/fixunstfdi.c: Likewise.
5067 * soft-fp/fixunstfsi.c: Likewise.
5068 * soft-fp/fixunstfti.c: Likewise.
5069 * soft-fp/floatdidf.c: Likewise.
5070 * soft-fp/floatdisf.c: Likewise.
5071 * soft-fp/floatditf.c: Likewise.
5072 * soft-fp/floatsidf.c: Likewise.
5073 * soft-fp/floatsisf.c: Likewise.
5074 * soft-fp/floatsitf.c: Likewise.
5075 * soft-fp/floattidf.c: Likewise.
5076 * soft-fp/floattisf.c: Likewise.
5077 * soft-fp/floattitf.c: Likewise.
5078 * soft-fp/floatundidf.c: Likewise.
5079 * soft-fp/floatundisf.c: Likewise.
5080 * soft-fp/floatunditf.c: Likewise.
5081 * soft-fp/floatunsidf.c: Likewise.
5082 * soft-fp/floatunsisf.c: Likewise.
5083 * soft-fp/floatunsitf.c: Likewise.
5084 * soft-fp/floatuntidf.c: Likewise.
5085 * soft-fp/floatuntisf.c: Likewise.
5086 * soft-fp/floatuntitf.c: Likewise.
5087 * soft-fp/gedf2.c: Likewise.
5088 * soft-fp/gesf2.c: Likewise.
5089 * soft-fp/getf2.c: Likewise.
5090 * soft-fp/ledf2.c: Likewise.
5091 * soft-fp/lesf2.c: Likewise.
5092 * soft-fp/letf2.c: Likewise.
5093 * soft-fp/muldf3.c: Likewise.
5094 * soft-fp/mulsf3.c: Likewise.
5095 * soft-fp/multf3.c: Likewise.
5096 * soft-fp/negdf2.c: Likewise.
5097 * soft-fp/negsf2.c: Likewise.
5098 * soft-fp/negtf2.c: Likewise.
5099 * soft-fp/op-1.h: Likewise.
5100 * soft-fp/op-2.h: Likewise.
5101 * soft-fp/op-4.h: Likewise.
5102 * soft-fp/op-8.h: Likewise.
5103 * soft-fp/op-common.h: Likewise.
5104 * soft-fp/quad.h: Likewise.
5105 * soft-fp/single.h: Likewise.
5106 * soft-fp/soft-fp.h: Likewise.
5107 * soft-fp/subdf3.c: Likewise.
5108 * soft-fp/subsf3.c: Likewise.
5109 * soft-fp/subtf3.c: Likewise.
5110 * soft-fp/truncdfsf2.c: Likewise.
5111 * soft-fp/trunctfdf2.c: Likewise.
5112 * soft-fp/trunctfsf2.c: Likewise.
5113 * soft-fp/trunctfxf2.c: Likewise.
5114 * soft-fp/unorddf2.c: Likewise.
5115 * soft-fp/unordsf2.c: Likewise.
5116 * soft-fp/unordtf2.c: Likewise.
5117
4dfe21ac
RE
51182015-09-24 Richard Earnshaw <rearnsha@arm.com>
5119
5120 PR libgcc/67624
5121 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
5122
df2a1cc4
RO
51232015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5124
5125 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
5126 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
5127 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
5128 messages.
5129 (internal_mcount): Likewise.
5130 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
5131 crt_compile, add CRTSTUFF_T_CFLAGS_S.
5132
2d110442
RO
51332015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5134
5135 * configure.ac (libgcc_cv_solaris_crts): New test.
5136 * configure: Regenerate.
5137 * config.in: Regenerate.
5138 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
5139 * config/gmon-sol2.c: Rename to ...
5140 * config/sol2/gmon.c: ... this.
5141 Include auto-target.h.
5142 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
5143 * config/t-sol2: Rename to ...
5144 * config/sol2/t-sol2: ... this.
5145 (gmon.o): Reflect renaming.
5146 (crtp.o, crtpg.o): New rules.
5147 * config.host (*-*-solaris2*): Reflect renaming.
5148 Use system CRTs if present.
5149 Remove default CRT case.
5150
d572e439
JDA
51512015-09-23 John David Anglin <danglin@gcc.gnu.org>
5152
5153 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
5154 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
5155 __kernel_cmpxchg2.
5156 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
5157 (__sync_val_compare_and_swap_##WIDTH): Likewise.
5158 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
5159 (__sync_lock_test_and_set_##WIDTH): Likewise.
5160 (__sync_lock_release_##WIDTH): Likewise.
5161 (__sync_fetch_and_##OP##_4): Change result to match type of
5162 __kernel_cmpxchg.
5163 (__sync_##OP##_and_fetch_4): Likewise.
5164 (__sync_val_compare_and_swap_4): Likewise.
5165 (__sync_bool_compare_and_swap_4): likewise.
5166 (__sync_lock_test_and_set_4): Likewise.
5167 (__sync_lock_release_4): Likewise.
5168 (FETCH_AND_OP_2): Add long long variants.
5169 (OP_AND_FETCH_2): Likewise.
5170 (COMPARE_AND_SWAP_2 ): Likewise.
5171 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
5172 (SYNC_LOCK_RELEASE_2): Likewise.
5173 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
5174
7d296953 51752015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
06caf59d
KY
5176
5177 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
5178 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
5179 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
5180 (get_available_features): Habdle new features.
5181
131314e1
JB
51822015-09-21 James Bowman <james.bowman@ftdichip.com>
5183
5184 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
5185 memory layout. Deal correctly with BSS region larger than 32K.
5186 Handle a watchdog reset like a power-on reset. Clean up unused
5187 code.
5188
04218b35
AD
51892015-09-18 Andrew Dixie <andrewd@gentrack.com>
5190 David Edelsohn <dje.gcc@gmail.com>
5191
5192 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
5193 * config/rs6000/crtdbase.S: New file.
5194 * config/rs6000/t-aix-cxa: Build crtdbase.o.
5195
c8338173
MF
51962015-09-15 Max Filippov <jcmvbkbc@gmail.com>
5197
5198 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
5199 Add support for call0 ABI.
5200
7a84bf71
JDA
52012015-09-13 John David Anglin <danglin@gcc.gnu.org>
5202
5203 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
5204
4efab402
SH
52052015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
5206
5207 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
5208 (__GTHREAD_HAS_COND): Likewise.
5209 (__gthread_t): Likewise.
5210 (__gthread_cond_t): Likewise.
5211 (__gthread_time_t): Likewise.
5212 (__GTHREAD_MUTEX_INIT): Likewise.
5213 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
5214 (__GTHREAD_COND_INIT): Likewise.
5215 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
5216 (__GTHREAD_TIME_INIT): Likewise.
5217 (__gthread_create): Likewise.
5218 (__gthread_join): Likewise.
5219 (__gthread_detach): Likewise.
5220 (__gthread_equal): Likewise.
5221 (__gthread_self): Likewise.
5222 (__gthread_yield): Likewise.
5223 (__gthread_cond_broadcast): Likewise.
5224 (__gthread_cond_signal): Likewise.
5225 (__gthread_cond_wait): Likewise.
5226 (__gthread_cond_timedwait): Likewise.
5227 (__gthread_cond_wait_recursive): Likewise.
5228 (__gthread_cond_destroy): Likewise.
5229 (rtems_gxx_once): Delete.
5230 (rtems_gxx_key_create): Likewise.
5231 (rtems_gxx_key_delete): Likewise.
5232 (rtems_gxx_getspecific): Likewise.
5233 (rtems_gxx_setspecific): Likewise.
5234 (rtems_gxx_mutex_init): Likewise.
5235 (rtems_gxx_mutex_destroy): Likewise.
5236 (rtems_gxx_mutex_lock): Likewise.
5237 (rtems_gxx_mutex_trylock): Likewise.
5238 (rtems_gxx_mutex_unlock): Likewise.
5239 (rtems_gxx_recursive_mutex_init): Likewise.
5240 (rtems_gxx_recursive_mutex_lock): Likewise.
5241 (rtems_gxx_recursive_mutex_trylock): Likewise.
5242 (rtems_gxx_recursive_mutex_unlock): Likewise.
5243 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
5244 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
5245 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
5246 (__gthread_once): Likewise.
5247 (__gthread_key_create): Likewise.
5248 (__gthread_key_delete): Likewise.
5249 (__gthread_getspecific): Likewise.
5250 (__gthread_setspecific): Likewise.
5251 (__gthread_key_t): Use <pthread.h> type.
5252 (__gthread_once_t): Likewise
5253 (__gthread_mutex_t): Use <sys/lock.h> type.
5254 (__gthread_recursive_mutex_t): Likewise
5255 (__gthread_mutex_lock): Use <sys/lock.h> function.
5256 (__gthread_mutex_trylock): Likewise.
5257 (__gthread_mutex_timedlock): Likewise.
5258 (__gthread_mutex_unlock): Likewise.
5259 (__gthread_mutex_destroy): Likewise.
5260 (__gthread_recursive_mutex_lock): Likewise.
5261 (__gthread_recursive_mutex_trylock): Likewise.
5262 (__gthread_recursive_mutex_timedlock): Likewise.
5263 (__gthread_recursive_mutex_unlock): Likewise.
5264 (__gthread_recursive_mutex_destroy): Likewise.
5265
991995c4
MF
52662015-08-18 Max Filippov <jcmvbkbc@gmail.com>
5267
5268 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
5269 context->sp instead of context->cfa.
5270
0e19db59
MF
52712015-08-18 Max Filippov <jcmvbkbc@gmail.com>
5272
5273 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
5274 with unwind-dw2-fde-dip.
5275
b6ac5f62
MF
52762015-08-18 Max Filippov <jcmvbkbc@gmail.com>
5277
5278 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
5279 CALL12 followed by series of ENTRY to spill windowed registers.
5280 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
5281 instead of making linux spill syscall.
5282
3e0f3349
YR
52832015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
5284
5285 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
5286 (get_intel_cpu): Likewise.
5287
51c728b1
L
52882015-08-12 H.J. Lu <hongjiu.lu@intel.com>
5289
5290 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
5291 (get_intel_cpu): Add Knights Landing support.
5292
aff4eeac
UB
52932015-08-11 Uros Bizjak <ubizjak@gmail.com>
5294
5295 PR target/66954
5296 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
5297 (get_available_features): Handle FEATURE_PCLMUL.
5298
736e56da
L
52992015-08-10 H.J. Lu <hongjiu.lu@intel.com>
5300
5301 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
5302 Broadwell.
5303
54d22142
UB
53042015-07-22 Uros Bizjak <ubizjak@gmail.com>
5305
5306 PR target/66954
5307 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
5308 (get_available_features): Handle FEATURE_AES.
5309
20ca17e4
CLT
53102015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
5311
5312 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
5313 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
5314
ebe4a560
NS
53152015-07-17 Nathan Sidwell <nathan@codesourcery.com>
5316
5317 * offloadstuff.c: Constify host data.
5318
180744c0
JB
53192015-07-17 Jan Beulich <jbeulich@suse.com>
5320
5321 * config/t-softfp: Split up "else ifneq".
5322
a03c6ae3
SL
53232015-07-14 Sandra Loosemore <sandra@codesourcery.com>
5324 Cesar Philippidis <cesar@codesourcery.com>
5325 Chung-Lin Tang <cltang@codesourcery.com>
5326
5327 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
5328 for __nios2_arch__ level.
5329
73358db5
JM
53302015-07-13 John Marino <gnugcc@marino.st>
5331
5332 * config/i386/t-dragonfly: New.
5333
f9a12f7b
JDA
53342015-07-01 John David Anglin <danglin@gcc.gnu.org>
5335
5336 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
5337 better match light-weight syscall argument order.
5338 (__kernel_cmpxchg2): Likewise.
5339 Adjust callers.
5340
cb78b51c
L
53412015-06-30 H.J. Lu <hongjiu.lu@intel.com>
5342
5343 * config.host: Support i[34567]86-*-elfiamcu target.
5344 * config/t-softfp-sfdftf: New file.
5345 * config/i386/32/t-iamcu: Likewise.
5346 * configure: Regenerated.
5347
4fa0f9ea
JL
53482015-06-23 James Lemke <jwlemke@codesourcery.com>
5349
5350 libgcc/config/arm/
5351 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
5352
428b3812
L
53532015-05-27 H.J. Lu <hongjiu.lu@intel.com>
5354
5355 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
5356
7d296953 53572015-05-27 John Marino <gnugcc@marino.st>
89c54dd3
JM
5358
5359 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
5360 md_unwind_header
5361 * config/i386/freebsd-unwind.h: New.
5362
9b789cc1
UB
53632015-05-22 Uros Bizjak <ubizjak@gmail.com>
5364
5365 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
5366 i386/t-crtfm to tmake_file.
5367 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
5368 (set_fast_math): Use set_fast_math_sse for SSE targets.
5369 * config/i386/t-crtfm: Remove.
5370
3dafb220
AM
53712015-05-21 Alan Modra <amodra@gmail.com>
5372
5373 PR libgcc/66225
5374 * config/rs6000/morestack.S: Remove ".abiversion 1".
5375
0f0fd745
AM
53762015-05-20 Alan Modra <amodra@gmail.com>
5377
5378 * config/rs6000/morestack.S: New.
5379 * config/rs6000/t-stack-rs6000: New.
5380 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
5381 to tmake_file.
5382 * generic-morestack.c: Don't build for powerpc 32-bit.
5383
515ae71b
EB
53842015-05-19 Eric Botcazou <ebotcazou@adacore.com>
5385
5386 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
5387 Remove useless endif/ifneq ($(enable_shared),yes) pair.
5388
36805406
JL
53892015-05-16 James Bowman <james.bowman@ftdichip.com>
5390
5391 * config.host: FT32 target added.
5392 * config/ft32/*: New files for FT32 target.
5393
ff935d0c
MG
53942015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
5395
385c7747
UB
5396 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
5397 New macros.
5398 * config/arm/ieee754-df.S: Add CFI directives.
5399 * config/arm/ieee754-sf.S: Add CFI directives.
ff935d0c 5400
9b92a9f3
EB
54012015-05-13 Eric Botcazou <ebotcazou@adacore.com>
5402
5403 * configure.ac: Include config/sjlj.m4.
5404 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
5405 * config.in: Regenerate.
5406 * configure: Likewise.
5407 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
5408
98b5dc61
UB
54092015-05-12 Uros Bizjak <ubizjak@gmail.com>
5410
5411 * libgcov-util.c: Add space between string literal and macro name.
5412
5a0ff57c
SL
54132015-05-06 Sandra Loosemore <sandra@codesourcery.com>
5414 Chris Jones <chrisj@nvidia.com>
5415 Joshua Conner <jconner@nvidia.com>
5416
5417 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
5418 (arm*-*-uclinux*): Likewise.
5419 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
5420 * config/arm/crtfastmath.c: New file.
5421
d28ad5d4
BS
54222014-04-29 Bernd Schmidt <bernds@codesourcery.com>
5423
5424 * Makefile.in (real_host_noncanonical): New variable.
5425 (libsubdir): Use it.
5426 * configure.ac (real_host_noncanonical): Compute. Remove special
5427 case for intelmicemul.
5428 * configure: Regenerate.
5429
cc86234f
UB
54302015-04-28 Uros Bizjak <ubizjak@gmail.com>
5431
5432 * config/frv/elf-lib.h: New file.
5433 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
5434 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
5435 to tm_file.
5436
54372015-04-28 Uros Bizjak <ubizjak@gmail.com>
5438
5439 * config/frv/frvbengin.c: Do not include defaults.h
5440 * config/frv/frvend.c: Ditto.
5441
2f6bd6eb
YS
54422015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
5443
5444 * config.host: Add h8300-*-linux
5445 * config/h8300/t-linux: New file.
5446 * config/h8300/lib1funs.s: Change symbol prefix.
5447 * config/h8300/sfp-machine.h: 64bit double support.
5448
15aa7b44
GR
54492015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
5450 Szabolcs Nagy <szabolcs.nagy@arm.com>
5451
5452 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
5453 Linux if target provides dl_iterate_phdr.
5454
abd0cdc9
L
54552015-04-17 H.J. Lu <hongjiu.lu@intel.com>
5456
5457 PR target/65612
5458 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
5459 * config/i386/cpuinfo.c (__cpu_model): Initialize.
5460 (__cpu_indicator_init@GCC_4.8.0): New.
5461 (__cpu_model@GCC_4.8.0): Likewise.
5462 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
5463 -DUSE_ELF_SYMVER.
5464
72ed1126
NC
54652015-04-16 Nick Clifton <nickc@redhat.com>
5466
5467 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
5468 and __modhi3 functions.
5469 * config/rl78/divmodso.S: Add G14 and G13 versions of the
5470 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
5471
d26b2237
CG
54722015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
5473
5474 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
5475 do-while loop as macro body to avoid warnings.
5476
cacf1f59
JJ
54772015-04-10 Jakub Jelinek <jakub@redhat.com>
5478 Iain Sandoe <iain@codesourcery.com>
5479
5480 PR target/65351
5481 * configure: Regenerate.
5482
e8a4ed3b
JJ
54832015-04-07 Jakub Jelinek <jakub@redhat.com>
5484 Iain Sandoe <iain@codesourcery.com>
5485
5486 PR target/65351
5487 * configure: Regenerate.
5488
0341335e
CLT
54892015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
5490
5491 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
5492
590e2636 54932015-03-03 Max Filippov <jcmvbkbc@gmail.com>
0341335e 5494
590e2636
MF
5495 Implement call0 ABI for xtensa
5496 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
5497 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
5498 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
5499 use ret in call0 ABI.
5500 * config/xtensa/t-windowed: New file.
5501 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
5502 * libgcc/configure: Regenerated.
5503 * libgcc/configure.ac: Check if xtensa target is configured for
5504 windowed ABI and thus needs to use custom unwind code.
5505
7727f8f2
JW
55062015-02-12 Jonathan Wakely <jwakely@redhat.com>
5507
5508 PR libgcc/64885
5509 * gthr-single.h: Use __unused__ attribute instead of unused.
5510 * config/gthr-vxworks.h: Likewise.
5511 * config/i386/gthr-win32.h: Likewise.
5512
0e4a0def
KT
55132015-02-27 Kai Tietz <ktietz@redhat.com>
5514
5515 PR target/65038
5516 * config.in: Regenerated.
5517 * configure: Likewise.
5518 * configure.ac (AC_HEADER_STDC): Added explicit.
5519 (AC_CHECK_HEADERS): Check for default headers plus
5520 for ftw.h header.
5521 * libgcov-util.c (gcov_read_profile_dir): Disable use
5522 of ftw-function, if header is not found.
5523 (ftw_read_file): Likewise.
5524
b6530d0a
TS
55252015-02-23 Thomas Schwinge <thomas@codesourcery.com>
5526
5527 PR target/65181
5528 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
5529 -Dinhibit_libc.
5530
53cfb467
SL
55312015-02-17 Sandra Loosemore <sandra@codesourcery.com>
5532
5533 * config/arm/bpabi.S (test_div_by_zero): Make label names
5534 consistent between thumb2 and arm mode cases. Separate the
5535 signed comparison on the high word of the numerator from the
5536 unsigned comparison on the low word.
5537 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
5538 signed comparison.
5539
77d10a1b
JM
55402015-02-17 Joseph Myers <joseph@codesourcery.com>
5541
5542 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
5543 and <string.h>.
5544 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
5545
98174188
RE
55462015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
5547
5548 PR gcov-profile/61889
471274de 5549 * libgcov-driver-system.c: undefine clashing macro for mkdir.
98174188 5550
771bef14
NC
55512015-02-02 Nick Clifton <nickc@redhat.com>
5552
5553 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
5554 rounding up the fraction.
5555
40702893
JDA
55562015-01-31 John David Anglin <danglin@gcc.gnu.org>
5557
5558 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
5559 oldval and newval to const void *. Fix typo.
5560 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
5561 (FETCH_AND_OP_WORD): Likewise.
5562 (OP_AND_FETCH_WORD): Likewise.
5563 (COMPARE_AND_SWAP_2): Likewise.
5564 (__sync_val_compare_and_swap_4): Likewise.
5565 (__sync_lock_test_and_set_4): Likewise.
5566 (SYNC_LOCK_RELEASE_2): Likewise.
5567 Remove support for long long atomic operations.
5568
f7f049fa
CT
55692015-01-27 Caroline Tice <cmtice@google.com>
5570
5571 Committing VTV Cywin/Ming patch for Patrick Wollgast
5572 * Makefile.in: Move rules to build vtv_*.o out of the check
5573 for CUSTOM_CRTSTUFF.
5574 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
5575 i[34567]86-*-mingw*)
5576 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
5577 enable_vtable_verify.
5578
8410904a
NC
55792015-01-27 Nick Clifton <nickc@redhat.com>
5580
5581 * config/rl78/cmpsi2.S: Use function start and end macros.
5582 (__gcc_bcmp): New function.
5583 * config/rl78/lshrsi3.S: Use function start and end macros.
5584 * config/rl78/mulsi3.S: Add support for G10.
5585 (__mulqi3): New function for G10.
5586 * config/rl78/signbit.S: Use function start and end macros.
5587 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
5588 fpmath-sf.S.
5589 (LIB2FUNCS_EXCLUDE): Define.
5590 (LIB2FUNCS_ST): Define.
5591 * config/rl78/trampoline.S: Use function start and end macros.
5592 * config/rl78/vregs.h (START_FUNC): New macro.
5593 (START_ANOTHER_FUNC): New macro.
5594 (END_FUNC): New macro.
5595 (END_ANOTHER_FUNC): New macro.
5596 * config/rl78/bit-count.S: New file. Contains assembler
5597 implementations of the bit counting functions: ___clzhi2,
5598 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
5599 __paritysi2, __popcounthi2 and __popcountsi2.
5600 * config/rl78/fpbit-sf.S: New file. Contains assembler
5601 implementationas of the math functions: __negsf2, __cmpsf2,
5602 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
5603 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
5604 * config/rl78/fpmath-sf.S: New file. Contains assembler
5605 implementations of the math functions: __subsf3, __addsf3,
5606 __mulsf3 and __divsf3
5607
f962fbf1
RO
56082015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5609
5610 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
5611 Add i386/elf-lib.h to tm_file.
5612 * config/i386/elf-lib.h: Fix comment.
5613 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
5614 && __sun__ && __svr4__]: Remove workaround.
5615
939911c5
ASJ
56162015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
5617
5618 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
5619 FEATURE_BMI2.
5620 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
5621
c8f2dff2
L
56222015-01-24 H.J. Lu <hongjiu.lu@intel.com>
5623
5624 * config/i386/cpuinfo.c (processor_subtypes): Add
5625 INTEL_COREI7_BROADWELL.
5626 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
5627 model numbers.
5628
7bbf9734
UB
56292015-01-23 Uros Bizjak <ubizjak@gmail.com>
5630
5631 * config/i386/elf-lib.h: New file.
5632 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
5633 Wrap definition in #ifdef __i386__.
5634 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
5635 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
5636 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
5637 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
5638 to tm_file.
5639
324820f1
CG
56402015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
5641
5642 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
5643 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
5644
a9ce4e4a
CLT
56452015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
5646
5647 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
5648 Update rt_sigframe format and address for current Nios II
5649 Linux conventions.
5650
82a19768
AT
56512015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
5652
5653 * config.host (arm*-*-freebsd*): Add new configuration for
5654 arm*-*-freebsd*.
5655 * config/arm/freebsd-atomic.c: New file.
5656 * config/arm/t-freebsd: Likewise.
5657 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
5658 'PC-relative indirect' OS's.
5659
0969ec7d
EB
56602015-01-06 Eric Botcazou <ebotcazou@adacore.com>
5661
5662 * config.host: Add Visium support.
5663 * config/visium: New directory.
5664
5624e564
JJ
56652015-01-05 Jakub Jelinek <jakub@redhat.com>
5666
5667 Update copyright years.
5668
82f84ecb
MF
56692014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
5670
5671 * config.host: Support mipsisa32r6 and mipsisa64r6.
5672 * config/mips/mips16.S: Do not build for R6.
5673
69044fa9
OE
56742014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
5675
5676 * config/sh/crt.h: New.
5677 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
5678 symbols.
5679 * config/sh/crt1.S: Likewise.
5680
2405e0ea
UB
56812014-12-15 Uros Bizjak <ubizjak@gmail.com>
5682
5683 PR libgcc/63832
5684 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
5685 func_ptr *dtor_list temporary variable to avoid "array subscript
5686 is above array bounds" warnings.
5687
7d296953 56882014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
dd913323
MH
5689
5690 * Makefile.in (with_aix_soname): Define.
5691 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
5692 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
5693 * configure: Recreate.
5694
a66272f6
OH
56952014-12-05 Olivier Hainque <hainque@adacore.com>
5696
5697 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
5698 now provided by defaults.h.
5699
6342b2c5
OE
57002014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
5701
7d0ee249 5702 PR target/55351
6342b2c5
OE
5703 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
5704 whether it's defined.
5705
c17eac85
IT
57062014-11-27 Ilya Tocar <ilya.tocar@intel.com>
5707
5708 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
5709 * config/i386/cpuinfo.c (get_available_features): Detect it.
5710
1025cb6c
TW
57112014-11-27 Tony Wang <tony.wang@arm.com>
5712
5713 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
5714 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
5715 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
5716
d19f2e38
SB
57172014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
5718
5719 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
5720
17f6e9a3
JDA
57212014-11-24 John David Anglin <danglin@gcc.gnu.org>
5722
5723 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
5724 instead.
5725
0cd7c672
GM
57262014-11-21 Guy Martin <gmsoft@tuxicoman.be>
5727 John David Anglin <danglin@gcc.gnu.org>
5728
5729 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
5730 (FETCH_AND_OP_2): New. Use for subword and double word operations.
5731 (OP_AND_FETCH_2): Likewise.
5732 (COMPARE_AND_SWAP_2): Likewise.
5733 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
5734 (SYNC_LOCK_RELEASE_2): Likewise.
5735 (SUBWORD_SYNC_OP): Remove.
5736 (SUBWORD_VAL_CAS): Likewise.
5737 (SUBWORD_BOOL_CAS): Likewise.
5738 (FETCH_AND_OP_WORD): Update.
5739 Consistently use signed types.
cc86234f 5740
85c64bbe
BS
57412014-11-13 Bernd Schmidt <bernds@codesourcery.com>
5742 Thomas Schwinge <thomas@codesourcery.com>
5743 Ilya Verbin <ilya.verbin@intel.com>
5744 Andrey Turetskiy <andrey.turetskiy@intel.com>
5745
5746 * Makefile.in (crtoffloadbegin$(objext)): New rule.
5747 (crtoffloadend$(objext)): Likewise.
5748 * configure: Regenerate.
5749 * configure.ac (accel_dir_suffix): Compute new variable.
5750 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
5751 if enable_offload_targets is not empty.
5752 * offloadstuff.c: New file.
5753
52a1ff8b
NC
57542014-11-13 Nick Clifton <nickc@redhat.com>
5755
5756 * config/rl78/divmodhi.S: Add support for the G10 architecture.
5757 Use START_FUNC and END_FUNC macros to enable linker garbage
5758 collection.
5759 * config/rl78/divmodqi.S: Likewise.
5760 * config/rl78/divmodsi.S: Likewise.
5761 * config/rl78/mulsi3.S: Likewise.
5762 * config/rl78/lib2div.c: Remove G10 functions.
5763 * config/rl78/lib2muls.c: Likewise.
5764 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
5765 * config/rl78/vregs.h (START_FUNC): New macro.
5766 (END_FUNC): New macro.
5767
050af144
MF
57682014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
5769
5770 * config/mips/mips16.S: Set .module when supported. Update O32
5771 FP64 calling convention and use for FPXX when possible. Add FPXX
5772 calling convention fallback case.
5773
738f2522
BS
57742014-11-06 Bernd Schmidt <bernds@codesourcery.com>
5775
5776 * config.host: Handle nvptx-*-*.
5777 * shared-object.mk (as-flags-$o): Define.
5778 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
5779 -xassembler-with-cpp.
5780 * static-object.mk: Identical changes.
5781 * config/nvptx/t-nvptx: New file.
5782 * config/nvptx/crt0.s: New file.
5783 * config/nvptx/free.asm: New file.
5784 * config/nvptx/malloc.asm: New file.
5785 * config/nvptx/realloc.c: New file.
5786
e610393c
JM
57872014-10-30 Joseph Myers <joseph@codesourcery.com>
5788
5789 * Makefile.in (libgcc.map.in): New target.
5790 (libgcc.map): Use libgcc.map.in.
5791 * config/t-softfp (softfp_compat): New variable to be set by
5792 users.
5793 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
5794 variables.
5795 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
5796 directory.
5797 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
5798 that use compat symbols and disable all code unless [SHARED].
5799 * config/t-softfp-compat: New file.
5800 * find-symver.awk: New file.
5801 * configure.ac (--with-glibc-version): New configure option.
5802 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
5803 * configure: Regenerate.
5804 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
5805 soft-float and e500.
5806
bc1b3a88
JM
58072014-10-29 Joseph Myers <joseph@codesourcery.com>
5808
5809 * config/t-hardfp (hardfp_exclusions): Document new variable for
5810 user to define.
5811 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
5812 * config/t-softfp (softfp_extras): Document new variable for user
5813 to define.
5814 (softfp_func_list): Add functions from $(softfp_extras).
5815 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
5816 * config.host (powerpc*-*-linux*): For e500v1, use
5817 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
5818 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
5819 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
5820
ef2810c1
JDA
58212014-10-26 John David Anglin <danglin@gcc.gnu.org>
5822
5823 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
5824 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
5825 memory read accesses are ok.
5826
d80c2bea
JM
58272014-10-25 Joseph Myers <joseph@codesourcery.com>
5828
5829 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
5830 * configure: Regenerate.
5831 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
5832 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
5833 of soft-fp for 32-bit classic hard float. Do not use
5834 t-softfp-excl for soft float.
5835
693b297b
JM
58362014-10-22 Joseph Myers <joseph@codesourcery.com>
5837
5838 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
5839 configurations.
5840 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
5841 Remove variables.
5842
18a3415e
GJL
58432014-10-22 Georg-Johann Lay <avr@gjlay.de>
5844
5845 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
5846 introduced with 2014-10-21 trunk r216525.
5847
c1dd9790 58482014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
7d296953
JJ
5849 Vidya Praveen <vidya.praveen@atmel.com>
5850 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
5851 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
5852 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
c1dd9790
JR
5853
5854 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
5855 order.
5856
5857 Updated library functions for AVRTINY arch.
5858 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
5859 Replaced occurrences of r0/r1 with tmp/zero reg macros.
5860 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
5861 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
5862 wsubi/wadi macors.
5863 (__mulsi3_helper): Update stack, preserve callee saved regs and
5864 argument from stack. Restore callee save registers.
5865 (__mulpsi3): Likewise.
5866 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
5867 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
18a3415e 5868 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
c1dd9790
JR
5869 AVRTINY.
5870 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
5871 (__do_copy_data): Added new definition for AVRTINY.
5872 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
5873 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
5874 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
5875 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
5876 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
5877 macors.
18a3415e 5878 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
c1dd9790
JR
5879 AVRTINY.
5880
18a3415e 5881 Fix broken long multiplication on tiny arch.
c1dd9790 5882
5f606431
JM
58832014-10-09 Joseph Myers <joseph@codesourcery.com>
5884
5885 * soft-fp/double.h: Update from glibc.
5886 * soft-fp/eqdf2.c: Likewise.
5887 * soft-fp/eqsf2.c: Likewise.
5888 * soft-fp/eqtf2.c: Likewise.
5889 * soft-fp/extenddftf2.c: Likewise.
5890 * soft-fp/extended.h: Likewise.
5891 * soft-fp/extendsfdf2.c: Likewise.
5892 * soft-fp/extendsftf2.c: Likewise.
5893 * soft-fp/extendxftf2.c: Likewise.
5894 * soft-fp/gedf2.c: Likewise.
5895 * soft-fp/gesf2.c: Likewise.
5896 * soft-fp/getf2.c: Likewise.
5897 * soft-fp/ledf2.c: Likewise.
5898 * soft-fp/lesf2.c: Likewise.
5899 * soft-fp/letf2.c: Likewise.
5900 * soft-fp/op-1.h: Likewise.
5901 * soft-fp/op-2.h: Likewise.
5902 * soft-fp/op-4.h: Likewise.
5903 * soft-fp/op-8.h: Likewise.
5904 * soft-fp/op-common.h: Likewise.
5905 * soft-fp/quad.h: Likewise.
5906 * soft-fp/single.h: Likewise.
5907 * soft-fp/soft-fp.h: Likewise.
5908 * soft-fp/unorddf2.c: Likewise.
5909 * soft-fp/unordsf2.c: Likewise.
5910 * soft-fp/unordtf2.c: Likewise.
5911 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
5912 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
5913 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
5914 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
5915 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
5916 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
5917 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
5918 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
5919 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
5920 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
5921
9b84e7a8
RX
59222014-10-08 Rong Xu <xur@google.com>
5923
5924 * libgcov-util.c (read_gcda_file): Fix format.
5925 (find_match_gcov_info): Ditto.
5926 (calculate_2_entries): New.
5927 (compute_one_gcov): Ditto.
5928 (gcov_info_count_all_cold): Ditto.
5929 (gcov_info_count_all_zero): Ditto.
5930 (extract_file_basename): Ditto.
5931 (get_file_basename): Ditto.
5932 (set_flag): Ditto.
5933 (matched_gcov_info): Ditto.
5934 (calculate_overlap): Ditto.
5935 (gcov_profile_overlap): Ditto.
5936 * libgcov-driver.c (compute_summary): Make
5937 it avavilable for external calls.
5938
fe1090c1
RX
59392014-10-06 Rong Xu <xur@google.com>
5940
5941 * Makefile.in: Ditto.
5942 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
5943 (gcov_sort_icall_topn_counter): Ditto.
5944 (gcov_sort_topn_counter_arrays): Ditto.
5945 (dump_one_gcov): Sort indirect_call topn counters.
5946 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
5947 function.
5948 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
5949 utility function.
5950 (__gcov_indirect_call_topn_profiler): New profiler function.
5951 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
5952 * libgcov.h: New decls.
5953
3daa7bbf
TS
59542014-10-04 Trevor Saunders <tsaunders@mozilla.com>
5955
5956 * config.host: Remove support for score-*.
5957
9a79452d
JM
59582014-09-22 Joseph Myers <joseph@codesourcery.com>
5959
5960 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
5961 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
5962 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
5963 __LIBGCC_XF_MANT_DIG__.
5964 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
5965 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
5966 __LIBGCC_TF_MANT_DIG__.
5967 * libgcc2.c (NOTRUNC): Define in terms of
5968 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
5969 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
5970
1a849e50
JM
59712014-09-22 Joseph Myers <joseph@codesourcery.com>
5972
5973 PR target/63312
5974 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
5975 New macros.
5976
598a1586
HPN
59772014-09-22 Hans-Peter Nilsson <hp@axis.com>
5978
5979 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
5980 override USE_PT_GNU_EH_FRAME.
5981 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
5982 check USE_EH_FRAME_REGISTRY_ALWAYS against
5983 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
5984 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
5985 variable for substituted force_explicit_eh_registry.
5986 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
5987 * configure.ac (explicit-exception-frame-registration):
5988 New AC_ARG_ENABLE.
5989 * configure: Regenerate.
5990
3a8fe7c6
OH
59912014-09-19 Olivier Hainque <hainque@adacore.com>
5992
5993 * config.host (powerpc-wrs-vxworksmils): New configuration,
5994 same as vxworksae.
5995
dd69f047
JM
59962014-09-18 Joseph Myers <joseph@codesourcery.com>
5997
5998 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
5999
e770bfd9
JM
60002014-09-18 Joseph Myers <joseph@codesourcery.com>
6001
6002 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
6003 bits not set bits as indicating trapping exceptions.
6004
cadb2b96
NS
60052014-09-17 Nathan sidwell <nathan@acm.org>
6006
6007 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
6008 (LIBGCOV_DRIVER): ... here.
6009 * libgcov-driver.c (gcov_master): New.
6010 (gcov_exit): Remove from master chain.
6011 (__gcov_init): Add to master chain if version compatible. Don't
6012 clear the version.
6013 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
6014 (gcov_reset_int): Clear master chain, if compatible.
6015 (gcov_dump_int): New internal interface. Dump master chain, if
6016 compatible.
6017 (gcov_dump): Alias for gcov_dump_int.
6018 * libgcov.h (struct gcov_root): Add next and prev fields.
6019 (struct gcov_master): New struct.
6020 (__gcov_master): New.
6021 (gcov_dump_int): Declare.
6022
580d22a3
OH
60232014-09-17 Olivier Hainque <hainque@adacore.com>
6024
6025 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
6026 and crtbegin.o + crtend.o to extra_parts.
6027
8cc4b7a2
JM
60282014-09-12 Joseph Myers <joseph@codesourcery.com>
6029
6030 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
6031 __LIBGCC_HAS_SF_MODE__.
6032 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
6033 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
6034 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
6035 * config/libbid/bid_gcc_intrinsics.h
6036 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
6037 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
6038 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
6039 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
6040 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
6041 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
6042
ea3f2b24
GJL
60432014-09-11 Georg-Johann Lay <avr@gjlay.de>
6044
6045 PR target/63223
6046 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
6047 and R24 as needed. Make work for all devices and .text locations.
6048 (__do_global_ctors, __do_global_dtors): Use word addresses.
6049 (__tablejump__, __tablejump_elpm__): Remove functions.
6050 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
6051 Add _tablejump2.
6052 (XICALL, XIJMP): New macros.
6053
b677236a
MS
60542014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
6055 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
6056
6057 * config.host (aarch64*): Include crtfastmath.o and
6058 t-crtfm.
6059 * config/aarch64/crtfastmath.c: New file.
6060
157e859f
TS
60612014-09-08 Trevor Saunders <tsaunders@mozilla.com>
6062
6063 * config.host: Remove picochip support.
6064 * config/picochip/adddi3.S: Remove.
6065 * config/picochip/ashlsi3.S: Remove.
6066 * config/picochip/ashlsi3.c: Remove.
6067 * config/picochip/ashrsi3.S: Remove.
6068 * config/picochip/ashrsi3.c: Remove.
6069 * config/picochip/clzsi2.S: Remove.
6070 * config/picochip/cmpsi2.S: Remove.
6071 * config/picochip/divmod15.S: Remove.
6072 * config/picochip/divmodhi4.S: Remove.
6073 * config/picochip/divmodsi4.S: Remove.
6074 * config/picochip/lib1funcs.S: Remove.
6075 * config/picochip/longjmp.S: Remove.
6076 * config/picochip/lshrsi3.S: Remove.
6077 * config/picochip/lshrsi3.c: Remove.
6078 * config/picochip/parityhi2.S: Remove.
6079 * config/picochip/popcounthi2.S: Remove.
6080 * config/picochip/setjmp.S: Remove.
6081 * config/picochip/subdi3.S: Remove.
6082 * config/picochip/t-picochip: Remove.
6083 * config/picochip/ucmpsi2.S: Remove.
6084 * config/picochip/udivmodhi4.S: Remove.
6085 * config/picochip/udivmodsi4.S: Remove.
6086
66bb34c0
JM
60872014-09-08 Joseph Myers <joseph@codesourcery.com>
6088
6089 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
6090 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
6091 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
6092 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
6093 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
6094 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
6095 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
6096 defined and LIBGCC2_HAS_DF_MODE is defined.
6097 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
6098 defined and LIBGCC2_HAS_XF_MODE is defined.
6099 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
6100 defined and LIBGCC2_HAS_TF_MODE is defined.
6101
9686a2e6
JM
61022014-09-08 Joseph Myers <joseph@codesourcery.com>
6103
6104 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
6105 and ROUND_TOWARDS_ZERO conditionals.
6106
71c3e2ef
NS
61072014-09-07 Nathan sidwell <nathan@acm.org>
6108
6109 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
6110 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
6111
53d68b9f
JM
61122014-09-05 Joseph Myers <joseph@codesourcery.com>
6113
6114 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
6115 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
6116 uses to __LIBGCC_STACK_POINTER_REGNUM__.
6117 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
6118 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6119 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
6120 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6121 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
6122 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
6123 (DWARF_FRAME_REGISTERS): Change all uses to
6124 __LIBGCC_DWARF_FRAME_REGISTERS__.
6125 (EH_RETURN_STACKADJ_RTX): Change all uses to
6126 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
6127 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
6128 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
6129 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
6130 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
6131 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
6132 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
6133 to __LIBGCC_EH_FRAME_SECTION_NAME__.
6134 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
6135 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
6136 __LIBGCC_STACK_POINTER_REGNUM__.
6137 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
6138 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6139 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
6140 to __LIBGCC_STACK_POINTER_REGNUM__.
6141 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
6142 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6143 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
6144 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6145 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
6146 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6147 (STACK_POINTER_REGNUM): Change all uses to
6148 __LIBGCC_STACK_POINTER_REGNUM__.
6149 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
6150 use to __LIBGCC_STACK_POINTER_REGNUM__.
6151 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
6152 uses to __LIBGCC_STACK_POINTER_REGNUM__.
6153 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
6154 to __LIBGCC_DWARF_FRAME_REGISTERS__.
6155 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
6156 to __LIBGCC_DWARF_FRAME_REGISTERS__.
6157 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
6158 to __LIBGCC_STACK_POINTER_REGNUM__.
6159 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
6160 Remove conditional definition.
6161 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
6162 __LIBGCC_TEXT_SECTION_ASM_OP__.
6163 (EH_FRAME_SECTION_NAME): Change all uses to
6164 __LIBGCC_EH_FRAME_SECTION_NAME__.
6165 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
6166 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
6167 (CTORS_SECTION_ASM_OP): Change all uses to
6168 __LIBGCC_CTORS_SECTION_ASM_OP__.
6169 (DTORS_SECTION_ASM_OP): Change all uses to
6170 __LIBGCC_DTORS_SECTION_ASM_OP__.
6171 (JCR_SECTION_NAME): Change all uses to
6172 __LIBGCC_JCR_SECTION_NAME__.
6173 (INIT_SECTION_ASM_OP): Change all uses to
6174 __LIBGCC_INIT_SECTION_ASM_OP__.
6175 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
6176 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
6177 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
6178 __LIBGCC_STACK_GROWS_DOWNWARD__.
6179 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
6180 __LIBGCC_INIT_SECTION_ASM_OP__.
6181 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
6182 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
6183 (EH_FRAME_SECTION_NAME): Change all uses to
6184 __LIBGCC_EH_FRAME_SECTION_NAME__.
6185 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
6186 definitions. Change all uses to
6187 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
6188 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
6189 __LIBGCC_STACK_GROWS_DOWNWARD__.
6190 (DWARF_FRAME_REGISTERS): Change all uses to
6191 __LIBGCC_DWARF_FRAME_REGISTERS__.
6192 (EH_RETURN_STACKADJ_RTX): Change all uses to
6193 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
6194 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
6195 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
6196 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
6197 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
6198 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
6199
b20ee094
NS
62002014-09-02 Nathan sidwell <nathan@acm.org>
6201
6202 * libgcov-interface.c (STRONG_ALIAS): New.
6203 (__gcov_flush): Call __gcov_reset_int.
6204 (__gcov_reset): Strong alias for ...
6205 (__gcov_reset_ing): ... this renamed hidden version.
6206 * libgcov.h (__gcov_reset_int): New declaration.
6207
1ac83976
YS
62082014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
6209
25efdb9f
YS
6210 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
6211 call from here...
6212 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
6213 (__dso_handle): Define on Cygwin.
6214 * config/i386/t-cygming (crtbeginS.o): New rule.
6215 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
6216
1ac83976
YS
6217 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
6218 declaration syntax.
6219
c6f9ea3b
SE
62202014-08-13 Steve Ellcey <sellcey@mips.com>
6221
6222 * crtstuff.c: Undef caddr_t.
6223
5b1ea7c5
SE
62242014-08-12 Steve Ellcey <sellcey@mips.com>
6225
6226 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
6227
4303c581
NS
62282014-08-07 Nathan Sidwell <nathan@acm.org>
6229
6230 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
6231 (LIBGCOV_DRIVER): ... to here.
6232 * libgcov.h (gcov_do_dump): New #define.
6233 (struct gcov_root): New.
6234 (__gcov_root): New declaration.
6235 (__gcov_dump_one): Declare.
6236 * libgcov-driver.c (gcov_list, gcov_dump_complete,
6237 run_accounted): Delete.
6238 (gcov_compute_histogram): Add LIST argument, adjust.
6239 (compute_summary): Adjust gcov_compute_histogram call.
6240 (gcov_do_dump): Not hidden, static in libgcov.
6241 (gcov_clear): Move to interface.c.
6242 (__gcov_dump_one): New, broken out of ...
6243 (gcov_exit): ... here. Make static.
6244 (__gcov_root): New.
6245 (__gcov_init): Adjust.
6246 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
6247 declarations.
6248 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
6249 (gcov_clear): Moved from driver.c. Add LIST argument.
6250 (__gcov_reset): Adjust for changed interfaces.
6251 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
6252
23742a9e
RAR
62532014-08-04 Rohit <rohitarulraj@freescale.com>
6254
6255 PR target/60102
6256 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
d406ae47 6257 based on change in SPE high register numbers and 3 HTM registers.
23742a9e 6258
b98a872b
NS
62592014-08-01 Nathan Sidwell <nathan@acm.org>
6260
6261 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
6262 LIBGCOV_INTERFACE): Reformat.
6263 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
6264 IN_GCOV_TOOL.
6265 * libgcov-interface.c: Reformat some comments.
6266 (__gcov_flush_mx): Add declaration. Tidy up definition.
6267
6adaaa1d
AM
62682014-07-31 Alan Modra <amodra@gmail.com>
6269 Peter Bergner <bergner@vnet.ibm.com>
6270
6271 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
6272 (pack_ldouble): New function.
6273 (__gcc_qadd): Use it.
6274 (__gcc_qmul): Likewise.
6275 (__gcc_qdiv): Likewise.
6276 (__gcc_qneg): Likewise.
6277 (__gcc_stoq): Likewise.
6278 (__gcc_dtoq): Likewise.
6279
87cb0c0c
UW
62802014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
6281
6282 * config/s390/tpf-unwind.h: Include <stdbool.h>.
6283 (__tpf_eh_return): Add original return address as second parameter.
6284 Handle cases where unwinder routines were called directly, instead
6285 of from within the C++ library.
6286
19926161
NS
62872014-07-29 Nathan Sidwell <nathan@acm.org>
6288
6289 * libgcov.h: Move renaming of entry points to lib gcov specific
6290 portion.
6291 (gcov_do_dump): New rename.
6292 (gcov_rewrite): Remove inline, make HIDDEN.
6293 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
6294 (gcov_exit_compute_summary): Rename to ...
6295 (compute_summary): ... here. Add LIST argument.
6296 (gcov_exit_merge_gcda): Rename to ...
6297 (merge_one_data): ... here.
6298 (gcov_exit_write_gcda): Rename to ...
6299 (write_one_data): ... here.
6300 (gcov_exit_merge_summary): Rename to ...
6301 (merge_summary): Add RUN_COUNTED argument.
6302 (gcov_exit_dump_gcov): Rename to ...
6303 (dump_one_gcov): Add RUN_COUNTED argument.
6304 (gcov_do_dump): New function, broken out of ...
6305 (gcov_exit): ... here. Call it.
6306
17522262
AG
63072014-07-27 Anthony Green <green@moxielogic.com>
6308
6309 * config.host: Add moxiebox configuration suppport.
6310
6dc33097
NS
63112014-07-27 Nathan Sidwell <nathan@acm.org>
6312
6313 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
6314 (struct gcov_filename): ... here. Include buffer and max length
6315 fields.
6316 (gcov_max_filename): Remove.
6317 (gi_filename): Remove.
6318 (gcov_exit_compute_summary): Compute max filename here.
6319 (gcov_exit_merge_gcda): Add filename parm, adjust.
6320 (gcov_exit_merge_summary): Likewise.
6321 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
6322 (gcov_exit): Likewise.
6323 (__gcov_init): Don't calculate max length here.
6324 * libgcov_util.c (max_filename_len): Remove.
6325 (read_gcda_file): Don't calculate max length here.
6326 (gcov_read_profile_dir): Don't propagate here.
6327 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
6328 struct gcov_filename changes.
6329 (gcov_exit_open_gcda_file): Likewise.
6330
770f687d
NS
63312014-07-25 Nathan Sidwell <nathan@acm.org>
6332
6333 * libgcov-driver.c (set_gcov_dump_complete,
6334 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
6335 functions polluting user's namespace.
6336 (gcov_exit): Set variable directly.
6337 (gcov_clear): Reset variable directly.
6338 * libgcov-interface.c (get_gcov_dymp_complete,
6339 reset_gov_dump_complete): Remove declarations.
6340 (__gcov_reset, __gcov_dump): Don't call them.
6341
fabf71ba
DD
63422014-07-24 DJ Delorie <dj@redhat.com>
6343
6344 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
770f687d
NS
6345 (__gcc_deregister_frame): Move logic to detect deregister function
6346 to ...
6347 (__gcc_register_frame): here, so it's consistent with the register
6348 logic.
fabf71ba 6349
d10ee722
NS
63502014-07-23 Nathan Sidwell <nathan@acm.org>
6351
6352 * libgcov-driver.c (set_gcov_list): Remove.
6353 (gcov_list): Make non-static in GCOV_TOOL.
6354 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
6355
a4137090
JDA
63562014-07-17 John David Anglin <danglin@gcc.gnu.org>
6357
6358 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
6359 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
6360 Don't use SYNC_LOCK_RELEASE for int type.
6361
72602c6c
RB
63622014-07-14 Richard Biener <rguenther@suse.de>
6363
6364 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
6365
d5313205
RX
63662014-07-11 Rong Xu <xur@google.com>
6367
6368 * libgcov-util.c (gcov_max_filename): Fix declartion.
6369
c77556a5
RX
63702014-07-10 Rong Xu <xur@google.com>
6371
6372 Add gcov-tool: an offline gcda profile processing tool
6373 Support.
6374 * libgcov-driver.c (gcov_max_filename): Make available
6375 to gcov-tool.
6376 * libgcov-merge.c (__gcov_merge_add): Replace
6377 gcov_read_counter() with a Macro.
6378 (__gcov_merge_ior): Ditto.
6379 (__gcov_merge_time_profile): Ditto.
6380 (__gcov_merge_single): Ditto.
6381 (__gcov_merge_delta): Ditto.
6382 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
6383 in the utility functions.
6384 (set_fn_ctrs): Utility function for reading gcda files to in-memory
6385 gcov_list object link lists.
6386 (tag_function): Ditto.
6387 (tag_blocks): Ditto.
6388 (tag_arcs): Ditto.
6389 (tag_lines): Ditto.
6390 (tag_counters): Ditto.
6391 (tag_summary): Ditto.
6392 (read_gcda_finalize): Ditto.
6393 (read_gcda_file): Ditto.
6394 (ftw_read_file): Ditto.
6395 (read_profile_dir_init): Ditto.
6396 (gcov_read_profile_dir): Ditto.
6397 (gcov_read_counter_mem): Ditto.
6398 (gcov_get_merge_weight): Ditto.
6399 (merge_wrapper): A wrapper function that calls merging handler.
6400 (gcov_merge): Merge two gcov_info objects with weights.
6401 (find_match_gcov_info): Find the matched gcov_info in the list.
6402 (gcov_profile_merge): Merge two gcov_info object lists.
6403 (__gcov_add_counter_op): Process edge profile counter values.
6404 (__gcov_ior_counter_op): Process IOR profile counter values.
6405 (__gcov_delta_counter_op): Process delta profile counter values.
6406 (__gcov_single_counter_op): Process single profile counter values.
6407 (fp_scale): Callback function for float-point scaling.
cc86234f 6408 (int_scale): Callback function for integer fraction scaling.
c77556a5
RX
6409 (gcov_profile_scale): Scaling profile counters.
6410 (gcov_profile_normalize): Normalize profile counters.
6411 * libgcov.h: Add headers and functions for gcov-tool use.
6412 (gcov_get_counter): New.
6413 (gcov_get_counter_target): Ditto.
6414 (struct gcov_info): Make the functions field mutable in gcov-tool
6415 compilation.
6416
5c7dac8a
KT
64172014-06-23 Kai Tietz <ktietz@redhat.com>
6418
6419 PR libgcc/61585
6420 * unwind-seh.c (_Unwind_GetGR): Check for proper
6421 index range.
6422 (_Unwind_SetGR): Likewise.
6423
161c9312
NC
64242014-05-22 Nick Clifton <nickc@redhat.com>
6425
6426 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
6427 -mhwmult=none.
6428
e3f0315f
TJ
64292014-05-22 Teresa Johnson <tejohnson@google.com>
6430
6431 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
6432 include.
6433
dbed5a9b
JM
64342014-05-20 John Marino <gnugcc@marino.st>
6435
6436 * config.host (*-*-dragonfly*): New target.
6437 * crtstuff.c: Make dl_iterate_support generic on *bsd.
6438 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
6439 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
6440 * config/i386/dragonfly-unwind.h: New.
6441
1ec380e5
MR
64422014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
6443
6444 PR libgcc/60166
6445 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
6446 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
6447
54fde020
BE
64482014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
6449
6450 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
6451 implementation.
6452
999db125
GJL
64532014-05-12 Georg-Johann Lay <avr@gjlay.de>
6454
6455 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
6456
cceaf54a
RO
64572014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6458
6459 PR libgcc/61097
6460 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
6461 if --enable-shared.
6462
e3fe9b5b
BE
64632014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
6464
6465 Work around for current cygwin32 build problems.
6466 * config/i386/cygming-crtbegin.c (__register_frame_info,
6467 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
6468 functions only for 64-bit systems.
6469
54cf37e9
RO
64702014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6471
6472 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
6473 (sigill_caught, sigill_hdlr): Remove.
6474
d9f069ab
RO
64752014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6476
6477 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
6478 check.
6479 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
6480 Solaris 9 single-threaded support.
6481 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
6482 Solaris 9 single-threaded support. Add call_user_handler code
6483 sequences.
6484 (sparc_is_sighandler): Likewise.
6485
59976ef8
AK
64862014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6487
6488 * config.host: Append t-floattodi to tmake_file depending on
6489 host_address.
6490
d02bbcf3
JS
64912014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
6492
31466bc0 6493 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
d02bbcf3 6494
c2e7e597
UB
64952014-03-10 Uros Bizjak <ubizjak@gmail.com>
6496
6497 PR libgcc/60472
6498 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2405e0ea 6499 variable to avoid "array subscript is above array bounds" warnings.
c2e7e597
UB
6500 Use __builtin_expect when checking *jcr_list for NULL.
6501
227a7dc8
RO
65022014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6503
6504 PR libgcc/59339
6505 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
6506 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
6507 vtv_*.o to extra_parts if enable_vtable_verify.
6508
df2b279c
NC
65092014-03-06 Nick Clifton <nickc@redhat.com>
6510
6511 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
6512 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
6513
dc11d79b
JY
65142014-02-28 Joey Ye <joey.ye@arm.com>
6515
6516 PR libgcc/60166
6517 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
6518 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
6519 Set to zero.
6520
341c653c
WL
65212014-02-24 Walter Lee <walt@tilera.com>
6522
6523 * config.host: Support "tilegx*" and "tilepro*" triplets.
6524 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
6525 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
6526
95ce7613
CLT
65272014-02-20 Sandra Loosemore <sandra@codesourcery.com>
6528 Chung-Lin Tang <cltang@codesourcery.com>
6529
6530 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
6531 * config/nios2/crti.S: Remove .file directive.
6532 * config/nios2/crtn.S: Likewise.
6533
0bb4fc05
KT
65342014-02-18 Kai Tietz <ktietz@redhat.com>
6535 Jonathan Schleifer <js@webkeks.org>
6536
6537 PR objc/56870
6538 * unwind-seh.c (_GCC_specific_handler): Pass proper
6539 value to unwind-handler.
6540
9acf28f1
JM
65412014-02-12 Joseph Myers <joseph@codesourcery.com>
6542
6543 * soft-fp/adddf3.c: Update from glibc.
6544 * soft-fp/addsf3.c: Likewise.
6545 * soft-fp/addtf3.c: Likewise.
6546 * soft-fp/divdf3.c: Likewise.
6547 * soft-fp/divsf3.c: Likewise.
6548 * soft-fp/divtf3.c: Likewise.
6549 * soft-fp/double.h: Likewise.
6550 * soft-fp/eqdf2.c: Likewise.
6551 * soft-fp/eqsf2.c: Likewise.
6552 * soft-fp/eqtf2.c: Likewise.
6553 * soft-fp/extenddftf2.c: Likewise.
6554 * soft-fp/extended.h: Likewise.
6555 * soft-fp/extendsfdf2.c: Likewise.
6556 * soft-fp/extendsftf2.c: Likewise.
6557 * soft-fp/extendxftf2.c: Likewise.
6558 * soft-fp/fixdfdi.c: Likewise.
6559 * soft-fp/fixdfsi.c: Likewise.
6560 * soft-fp/fixdfti.c: Likewise.
6561 * soft-fp/fixsfdi.c: Likewise.
6562 * soft-fp/fixsfsi.c: Likewise.
6563 * soft-fp/fixsfti.c: Likewise.
6564 * soft-fp/fixtfdi.c: Likewise.
6565 * soft-fp/fixtfsi.c: Likewise.
6566 * soft-fp/fixtfti.c: Likewise.
6567 * soft-fp/fixunsdfdi.c: Likewise.
6568 * soft-fp/fixunsdfsi.c: Likewise.
6569 * soft-fp/fixunsdfti.c: Likewise.
6570 * soft-fp/fixunssfdi.c: Likewise.
6571 * soft-fp/fixunssfsi.c: Likewise.
6572 * soft-fp/fixunssfti.c: Likewise.
6573 * soft-fp/fixunstfdi.c: Likewise.
6574 * soft-fp/fixunstfsi.c: Likewise.
6575 * soft-fp/fixunstfti.c: Likewise.
6576 * soft-fp/floatdidf.c: Likewise.
6577 * soft-fp/floatdisf.c: Likewise.
6578 * soft-fp/floatditf.c: Likewise.
6579 * soft-fp/floatsidf.c: Likewise.
6580 * soft-fp/floatsisf.c: Likewise.
6581 * soft-fp/floatsitf.c: Likewise.
6582 * soft-fp/floattidf.c: Likewise.
6583 * soft-fp/floattisf.c: Likewise.
6584 * soft-fp/floattitf.c: Likewise.
6585 * soft-fp/floatundidf.c: Likewise.
6586 * soft-fp/floatundisf.c: Likewise.
6587 * soft-fp/floatunditf.c: Likewise.
6588 * soft-fp/floatunsidf.c: Likewise.
6589 * soft-fp/floatunsisf.c: Likewise.
6590 * soft-fp/floatunsitf.c: Likewise.
6591 * soft-fp/floatuntidf.c: Likewise.
6592 * soft-fp/floatuntisf.c: Likewise.
6593 * soft-fp/floatuntitf.c: Likewise.
6594 * soft-fp/gedf2.c: Likewise.
6595 * soft-fp/gesf2.c: Likewise.
6596 * soft-fp/getf2.c: Likewise.
6597 * soft-fp/ledf2.c: Likewise.
6598 * soft-fp/lesf2.c: Likewise.
6599 * soft-fp/letf2.c: Likewise.
6600 * soft-fp/muldf3.c: Likewise.
6601 * soft-fp/mulsf3.c: Likewise.
6602 * soft-fp/multf3.c: Likewise.
6603 * soft-fp/negdf2.c: Likewise.
6604 * soft-fp/negsf2.c: Likewise.
6605 * soft-fp/negtf2.c: Likewise.
6606 * soft-fp/op-1.h: Likewise.
6607 * soft-fp/op-2.h: Likewise.
6608 * soft-fp/op-4.h: Likewise.
6609 * soft-fp/op-8.h: Likewise.
6610 * soft-fp/op-common.h: Likewise.
6611 * soft-fp/quad.h: Likewise.
6612 * soft-fp/single.h: Likewise.
6613 * soft-fp/soft-fp.h: Likewise.
6614 * soft-fp/subdf3.c: Likewise.
6615 * soft-fp/subsf3.c: Likewise.
6616 * soft-fp/subtf3.c: Likewise.
6617 * soft-fp/truncdfsf2.c: Likewise.
6618 * soft-fp/trunctfdf2.c: Likewise.
6619 * soft-fp/trunctfsf2.c: Likewise.
6620 * soft-fp/trunctfxf2.c: Likewise.
6621 * soft-fp/unorddf2.c: Likewise.
6622 * soft-fp/unordsf2.c: Likewise.
6623 * soft-fp/unordtf2.c: Likewise.
6624 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
6625 macro.
6626 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6627 Likewise.
6628 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6629 Likewise.
6630 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6631 Likewise.
6632 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6633 Likewise.
6634 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6635 Likewise.
6636 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6637 Likewise.
6638 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6639 Likewise.
6640 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6641 Likewise.
6642 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6643 Likewise.
6644 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6645 Likewise.
6646 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6647 Likewise.
6648 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6649 Likewise.
6650 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
6651 Likewise.
6652 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
6653 Likewise.
6654 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6655 Likewise.
6656
ce245ec6
AK
66572014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6658
6659 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
6660 cannot be represented.
6661 * config/s390/32/_fixsfdi.c: Likewise.
6662 * config/s390/32/_fixtfdi.c: Likewise.
6663 * config/s390/32/_fixunsdfdi.c: Likewise.
6664 * config/s390/32/_fixunssfdi.c: Likewise.
6665 * config/s390/32/_fixunstfdi.c: Likewise.
6666
1c51d688
RS
66672014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
6668
6669 * configure.ac (libgcc_cv_mips_hard_float): New.
6670 * configure: Regenerate.
6671 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
6672 t-softfp-sfdf for hard-float targets.
6673 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
6674 (softfp_float_modes, softfp_int_modes, softfp_extensions)
6675 (softfp_truncations, softfp_exclude_libgcc2): New.
6676 * config/t-hardfp: New file.
6677 * config/t-hardfp-sfdf: Likewise.
6678 * config/hardfp.c: Likewise.
6679
bbf391db
AK
66802014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6681
6682 * config.host: Include t-floattodi also for s390x.
6683 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
6684 * config/s390/32/_fixsfdi.c: Likewise.
6685 * config/s390/32/_fixtfdi.c: Likewise.
6686 * config/s390/32/_fixunsdfdi.c: Likewise.
6687 * config/s390/32/_fixunssfdi.c: Likewise.
6688 * config/s390/32/_fixunstfdi.c: Likewise.
6689
91da0481
RO
66902014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6691
6692 PR target/59788
6693 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
6694 (install-libgcc-unwind-map-forbuild): New target.
6695 (all): Depend on install-libgcc-unwind-map-forbuild.
6696 (install-libgcc-unwind-map): New target.
6697 (install): Depend on install-libgcc-unwind-map.
6698
02b67731
SL
66992014-02-02 Sandra Loosemore <sandra@codesourcery.com>
6700
6701 * config/nios2/crti.S (_init): Initialize GOT pointer from
6702 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
6703
1ea0a651
RS
67042014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
6705
6706 * configure.ac: Check __mips64 when setting host_address.
6707 * configure: Regenerate.
6708 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
6709 mips/t-mips64 and t-softfp.
6710 (mips*-*-linux*): Don't add mips/t-tpbit.
6711 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
6712 (DPBIT, DPBIT_CFLAGS): Delete.
6713 * config/mips/sfp-machine.h: New file.
6714 * config/mips/t-mips64: Likewise.
6715 * config/mips/t-softfp-tf: Likewise.
6716 * config/mips/t-tpbit: Delete.
6717
f32b0061
MS
67182014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
6719
6720 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
6721 as long long.
6722
a5420aa4
WL
67232014-01-25 Walter Lee <walt@tilera.com>
6724
6725 * config/tilepro/atomic.c: Include tconfig.h. Don't include
6726 config.h or system.h.
6727 (bool) Define.
6728
24534912
WL
67292014-01-25 Walter Lee <walt@tilera.com>
6730
6731 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
6732 (post_atomic_barrier): Ditto.
6733 (__fetch_and_do): New macro.
6734 (__atomic_fetch_and_do): Use __fetch_and_do.
6735 (__sync_fetch_and_do): New macro.
6736 (__sync_fetch_and_add_4): New function.
6737 (__sync_fetch_and_sub_4): New function.
6738 (__sync_fetch_and_or_4): New function.
6739 (__sync_fetch_and_and_4): New function.
6740 (__sync_fetch_and_xor_4): New function.
6741 (__sync_fetch_and_nand_4): New function.
6742 (__sync_fetch_and_add_8): New function.
6743 (__sync_fetch_and_sub_8): New function.
6744 (__sync_fetch_and_or_8): New function.
6745 (__sync_fetch_and_and_8): New function.
6746 (__sync_fetch_and_xor_8): New function.
6747 (__sync_fetch_and_nand_8): New function.
6748 (__do_and_fetch): New macro.
6749 (__atomic_do_and_fetch): Use __do_and_fetch.
6750 (__sync_do_and_fetch): New macro.
6751 (__sync_add_and_fetch_4): New function.
6752 (__sync_sub_and_fetch_4): New function.
6753 (__sync_or_and_fetch_4): New function.
6754 (__sync_and_and_fetch_4): New function.
6755 (__sync_xor_and_fetch_4): New function.
6756 (__sync_nand_and_fetch_4): New function.
6757 (__sync_add_and_fetch_8): New function.
6758 (__sync_sub_and_fetch_8): New function.
6759 (__sync_or_and_fetch_8): New function.
6760 (__sync_and_and_fetch_8): New function.
6761 (__sync_xor_and_fetch_8): New function.
6762 (__sync_nand_and_fetch_8): New function.
6763 (__sync_exchange_methods): New macro.
6764 (__sync_val_compare_and_swap_4): New function.
6765 (__sync_bool_compare_and_swap_4): New function.
6766 (__sync_lock_test_and_test_4): New function.
6767 (__sync_val_compare_and_swap_8): New function.
6768 (__sync_bool_compare_and_swap_8): New function.
6769 (__sync_lock_test_and_test_8): New function.
6770 (__subword_cmpxchg_body): New macro.
6771 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
6772 (__atomic_compare_exchange_2): Ditto.
6773 (__sync_subword_cmpxchg): New macro.
6774 (__sync_val_compare_and_swap_1): New function.
6775 (__sync_bool_compare_and_swap_1): New function.
6776 (__sync_val_compare_and_swap_2): New function.
6777 (__sync_bool_compare_and_swap_2): New function.
6778 (__atomic_subword): Rename to ...
6779 (__subword): ... New name.
6780 (__atomic_subword_fetch): Use __subword.
6781 (__sync_subword_fetch): New macro.
6782 (__sync_fetch_and_add_1): New function.
6783 (__sync_fetch_and_sub_1): New function.
6784 (__sync_fetch_and_or_1): New function.
6785 (__sync_fetch_and_and_1): New function.
6786 (__sync_fetch_and_xor_1): New function.
6787 (__sync_fetch_and_nand_1): New function.
6788 (__sync_fetch_and_add_2): New function.
6789 (__sync_fetch_and_sub_2): New function.
6790 (__sync_fetch_and_or_2): New function.
6791 (__sync_fetch_and_and_2): New function.
6792 (__sync_fetch_and_xor_2): New function.
6793 (__sync_fetch_and_nand_2): New function.
6794 (__sync_add_and_fetch_1): New function.
6795 (__sync_sub_and_fetch_1): New function.
6796 (__sync_or_and_fetch_1): New function.
6797 (__sync_and_and_fetch_1): New function.
6798 (__sync_xor_and_fetch_1): New function.
6799 (__sync_nand_and_fetch_1): New function.
6800 (__sync_add_and_fetch_2): New function.
6801 (__sync_sub_and_fetch_2): New function.
6802 (__sync_or_and_fetch_2): New function.
6803 (__sync_and_and_fetch_2): New function.
6804 (__sync_xor_and_fetch_2): New function.
6805 (__sync_nand_and_fetch_2): New function.
6806 (__atomic_subword_lock): Use __subword.
6807 (__sync_subword_lock): New macro.
6808 (__sync_lock_test_and_set_1): New function.
6809 (__sync_lock_test_and_set_2): New function.
6810
4d6d3bc5
WL
68112014-01-25 Walter Lee <walt@tilera.com>
6812
6813 * config/tilepro/atomic.c (BIT_OFFSET): Define.
6814 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
6815 (__atomic_subword): Ditto.
6816
cbd9890e
WL
68172014-01-25 Walter Lee <walt@tilera.com>
6818
6819 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
6820 a prefix op argument.
6821 (__atomic_nand_fetch_4): Add prefix op.
6822 (__atomic_nand_fetch_8): Ditto.
6823
7d296953 68242014-01-21 Baruch Siach <barch@tkos.co.il>
800d8bd5
BS
6825
6826 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
6827
46dd1242
L
68282014-01-09 Rong Xu <xur@google.com>
6829
6830 * libgcov-driver.c (this_prg): make it local to save
6831 bss space.
6832 (gcov_exit_compute_summary): Ditto.
6833 (gcov_exit_merge_gcda): Ditto.
6834 (gcov_exit_merge_summary): Ditto.
6835 (gcov_exit_dump_gcov): Ditto.
6836
cc86234f 68372014-01-08 Rong Xu <xur@google.com>
40d6b753
RX
6838
6839 * libgcov-driver.c: Use libgcov.h.
6840 (buffer_fn_data): Use xmalloc instead of malloc.
6841 (gcov_exit_merge_gcda): Ditto.
6842 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
6843 * libgcov.h: New common header files for libgcov-*.h.
6844 * libgcov-interface.c: Use libgcov.h
6845 * libgcov-merge.c: Ditto.
6846 * libgcov-profiler.c: Ditto.
6847 * Makefile.in: Add dependence to libgcov.h
6848
a02e7bdd
JM
68492014-01-02 Joseph Myers <joseph@codesourcery.com>
6850
6851 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
6852 case of small numerator and finite nonzero result.
6853
ac1dca3c
RS
68542014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
6855
6856 Update copyright years
6857
f9030485
RS
68582014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
6859
6860 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
6861 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
6862 config/arc/dp-hack.h, config/arc/fp-hack.h,
6863 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
6864 config/arc/ieee-754/arc600-dsp/divdf3.S,
6865 config/arc/ieee-754/arc600-dsp/divsf3.S,
6866 config/arc/ieee-754/arc600-dsp/muldf3.S,
6867 config/arc/ieee-754/arc600-dsp/mulsf3.S,
6868 config/arc/ieee-754/arc600-mul64/divdf3.S,
6869 config/arc/ieee-754/arc600-mul64/divsf3.S,
6870 config/arc/ieee-754/arc600-mul64/muldf3.S,
6871 config/arc/ieee-754/arc600-mul64/mulsf3.S,
6872 config/arc/ieee-754/arc600/divsf3.S,
6873 config/arc/ieee-754/arc600/mulsf3.S,
6874 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
6875 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
6876 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
6877 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
6878 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
6879 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
6880 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
6881 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
6882 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
6883 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
6884 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
6885 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
6886 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
6887 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
6888 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
6889 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
6890 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
6891 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
6892 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
6893 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
6894 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
6895 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
6896 vtv_start_preinit.c: Use the standard form for the copyright notice.
6897
e430824f
CLT
68982013-12-31 Sandra Loosemore <sandra@codesourcery.com>
6899 Chung-Lin Tang <cltang@codesourcery.com>
6900 Based on patches from Altera Corporation
6901
6902 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
6903 * config/nios2/lib2-nios2.h: New file.
6904 * config/nios2/lib2-divmod-hi.c: New file.
6905 * config/nios2/linux-unwind.h: New file.
6906 * config/nios2/lib2-divmod.c: New file.
6907 * config/nios2/linux-atomic.c: New file.
6908 * config/nios2/t-nios2: New file.
6909 * config/nios2/crti.asm: New file.
6910 * config/nios2/t-linux: New file.
6911 * config/nios2/lib2-divtable.c: New file.
6912 * config/nios2/lib2-mul.c: New file.
6913 * config/nios2/tramp.c: New file.
6914 * config/nios2/crtn.asm: New file.
6915
1879e97f
UB
69162013-12-26 Uros Bizjak <ubizjak@gmail.com>
6917
6918 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
6919 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
6920 from cpuid.h to check vendor signatures.
6921
f4a4bdbb
GG
69222013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
6923
c2e7e597 6924 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
f4a4bdbb
GG
6925 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
6926 (get_amd_cpu): Likewise.
6927
8d2ae544
L
69282013-12-25 H.J. Lu <hongjiu.lu@intel.com>
6929
6930 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
6931 Haswell.
6932
74924838
ASJ
69332013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
6934 H.J. Lu <hongjiu.lu@intel.com>
6935
0bb52f25
L
6936 PR target/59422
6937 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
74924838
ASJ
6938 and AMD_JAGUAR.
6939 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
6940 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
6941 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
6942 FEATURE_XOP and FEATURE_FMA.
6943 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
6944 AMDFAM15H_BDVER3.
6945 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
0bb52f25 6946 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
74924838
ASJ
6947 FEATURE_FMA4 and FEATURE_XOP.
6948
d3c11974
L
69492013-12-23 H.J. Lu <hongjiu.lu@intel.com>
6950
6951 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
6952 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
6953 (get_intel_cpu): Updated.
6954
064c4ff2
ZC
69552013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
6956
6957 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
6958
8b02e720
UB
69592013-12-09 Uros Bizjak <ubizjak@gmail.com>
6960
6961 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1f71a3c3 6962 instructions when __SSE_MATH__ is defined.
8b02e720 6963
3fa2ccb4
RC
69642013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
6965
6966 * config.host (microblaze-*-rtems*): New.
6967
ecd78fc9
KV
69682013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
6969
6970 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
6971 architectures that do not have hardware divide instruction.
6972 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
6973
b21fbbd2
RS
69742013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
6975
6976 * longlong.h: Delete (moved to include/).
6977
b03fb8c9
AZ
69782013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6979
6980 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
6981 of normal number and qNaN to not raise an inexact exception.
6982
3c716922
UB
69832013-11-28 Uros Bizjak <ubizjak@gmail.com>
6984
6985 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
6986
69872013-11-28 Matthew Leach <matthew.leach@arm.com>
cceeb9a9
ML
6988
6989 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
6990 for correct opcodes on BE.
6991
a3458d22
UB
69922013-11-27 Uros Bizjak <ubizjak@gmail.com>
6993
6994 * soft-fp/op-4.h: Update from glibc.
6995
30b8f78b
KV
69962013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
6997
6998 * libgcc2.c (__udivmoddi4): Define new implementation when
6999 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
7000 divide instructions.
7001
82552a29
OE
70022013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
7003
7004 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
7005
80e87457
RO
70062013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7007
7008 * config/t-softfp (soft-fp-objects-base): New variable.
7009 (soft-fp-objects): Use it.
7010
44178879
DE
70112013-11-23 David Edelson <dje.gcc@gmail.com>
7012 Andrew Dixie <andrewd@gentrack.com>
7013
7014 PR target/33704
7015 * config/rs6000/aixinitfini.c: New file.
7016 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
7017 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
7018 symbols.
7019
e5287671
YR
70202013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
7021
a3458d22 7022 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
e5287671 7023
867c8b03
JH
70242013-11-18 Jan Hubicka <jh@suse.cz>
7025
7f369373
JH
7026 * libgcov-driver.c (run_accounted): Make global level static.
7027 (gcov_exit_merge_summary): Silence warning; do not clear
7028 run_accounted here.
7029 (gcov_exit): Clear it here.
7030
1d0b3334
JH
7031 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
7032 run_accounted.
7033
867c8b03
JH
7034 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
7035 (all_prg, crc32): Remove static vars.
7036 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
7037 all_prg.
7038 (gcov_exit_merge_gcda): Add crc32 parameter.
7039 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
7040 do not account run if it was already accounted.
7041 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
7042 (gcov_exit): Initialize all_prg; update.
7043
66204992
AS
70442013-11-15 Andreas Schwab <schwab@linux-m68k.org>
7045
7046 * configure: Regenerate.
7047
b54214fe
UW
70482013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7049 Alan Modra <amodra@gmail.com>
7050
7051 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
7052 (frob_update_context): Use it.
7053
70542013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7055 Alan Modra <amodra@gmail.com>
7056
7057 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
7058 (trampoline_initial): Provide ELFv2 variant.
7059 (__trampoline_setup): Likewise.
7060
7061 * config/rs6000/linux-unwind.h (frob_update_context): Do not
7062 check for AIX indirect function call sequence if _CALL_ELF == 2.
7063
70642013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7065 Alan Modra <amodra@gmail.com>
7066
7067 * config/rs6000/linux-unwind.h (get_regs): Do not support
7068 old kernel versions if _CALL_ELF == 2.
7069 (frob_update_context): Do not support PLT stub variants only
7070 generated by old linkers if _CALL_ELF == 2.
7071
13e0981a
UW
70722013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7073 Alan Modra <amodra@gmail.com>
7074
7075 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
7076 location of CR save area for 64-bit little-endian systems.
7077
1a80085d
EB
70782013-11-11 Eric Botcazou <ebotcazou@adacore.com>
7079
7080 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
7081 in tmake_file.
7082 * config/arm/t-vxworks: Delete.
7083
cabeea52
KT
70842013-11-10 Kai Tietz <ktietz@redhat.com>
7085
7086 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
7087 Increment load-count on use of LIBGCC_SONAME DLL.
7088 (hmod_libgcc): New static variable to hold handle of
7089 LIBGCC_SONAME DLL.
7090 (__gcc_deregister_frame): Decrement load-count of
7091 LIBGCC_SONAME DLL.
7092
ac088ba1
BRF
70932013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
7094
7095 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
7096 availability.
7097 * configure: Regenerate
7098
d59a8fcc
UB
70992013-11-07 Uros Bizjak <ubizjak@gmail.com>
7100
7101 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
7102 FP_EX_DENORM. Store result to volatile location after SSE division
7103 to close interrupt window. Remove unneeded fwait after x87
7104 division since interrupt window will be closed by emitted fstp.
9de84e84 7105 Rewrite FP_EX_INEXACT handling.
d59a8fcc 7106
9954c743
JM
71072013-11-06 Joseph Myers <joseph@codesourcery.com>
7108
7109 * soft-fp/README: Update.
7110 * soft-fp/adddf3.c: Update from glibc.
7111 * soft-fp/addsf3.c: Likewise.
7112 * soft-fp/addtf3.c: Likewise.
7113 * soft-fp/divdf3.c: Likewise.
7114 * soft-fp/divsf3.c: Likewise.
7115 * soft-fp/divtf3.c: Likewise.
7116 * soft-fp/double.h: Likewise.
7117 * soft-fp/eqdf2.c: Likewise.
7118 * soft-fp/eqsf2.c: Likewise.
7119 * soft-fp/eqtf2.c: Likewise.
7120 * soft-fp/extenddftf2.c: Likewise.
7121 * soft-fp/extended.h: Likewise.
7122 * soft-fp/extendsfdf2.c: Likewise.
7123 * soft-fp/extendsftf2.c: Likewise.
7124 * soft-fp/extendxftf2.c: Likewise.
7125 * soft-fp/fixdfdi.c: Likewise.
7126 * soft-fp/fixdfsi.c: Likewise.
7127 * soft-fp/fixdfti.c: Likewise.
7128 * soft-fp/fixsfdi.c: Likewise.
7129 * soft-fp/fixsfsi.c: Likewise.
7130 * soft-fp/fixsfti.c: Likewise.
7131 * soft-fp/fixtfdi.c: Likewise.
7132 * soft-fp/fixtfsi.c: Likewise.
7133 * soft-fp/fixtfti.c: Likewise.
7134 * soft-fp/fixunsdfdi.c: Likewise.
7135 * soft-fp/fixunsdfsi.c: Likewise.
7136 * soft-fp/fixunsdfti.c: Likewise.
7137 * soft-fp/fixunssfdi.c: Likewise.
7138 * soft-fp/fixunssfsi.c: Likewise.
7139 * soft-fp/fixunssfti.c: Likewise.
7140 * soft-fp/fixunstfdi.c: Likewise.
7141 * soft-fp/fixunstfsi.c: Likewise.
7142 * soft-fp/fixunstfti.c: Likewise.
7143 * soft-fp/floatdidf.c: Likewise.
7144 * soft-fp/floatdisf.c: Likewise.
7145 * soft-fp/floatditf.c: Likewise.
7146 * soft-fp/floatsidf.c: Likewise.
7147 * soft-fp/floatsisf.c: Likewise.
7148 * soft-fp/floatsitf.c: Likewise.
7149 * soft-fp/floattidf.c: Likewise.
7150 * soft-fp/floattisf.c: Likewise.
7151 * soft-fp/floattitf.c: Likewise.
7152 * soft-fp/floatundidf.c: Likewise.
7153 * soft-fp/floatundisf.c: Likewise.
7154 * soft-fp/floatunditf.c: Likewise.
7155 * soft-fp/floatunsidf.c: Likewise.
7156 * soft-fp/floatunsisf.c: Likewise.
7157 * soft-fp/floatunsitf.c: Likewise.
7158 * soft-fp/floatuntidf.c: Likewise.
7159 * soft-fp/floatuntisf.c: Likewise.
7160 * soft-fp/floatuntitf.c: Likewise.
7161 * soft-fp/gedf2.c: Likewise.
7162 * soft-fp/gesf2.c: Likewise.
7163 * soft-fp/getf2.c: Likewise.
7164 * soft-fp/ledf2.c: Likewise.
7165 * soft-fp/lesf2.c: Likewise.
7166 * soft-fp/letf2.c: Likewise.
7167 * soft-fp/muldf3.c: Likewise.
7168 * soft-fp/mulsf3.c: Likewise.
7169 * soft-fp/multf3.c: Likewise.
7170 * soft-fp/negdf2.c: Likewise.
7171 * soft-fp/negsf2.c: Likewise.
7172 * soft-fp/negtf2.c: Likewise.
7173 * soft-fp/op-1.h: Likewise.
7174 * soft-fp/op-2.h: Likewise.
7175 * soft-fp/op-4.h: Likewise.
7176 * soft-fp/op-8.h: Likewise.
7177 * soft-fp/op-common.h: Likewise.
7178 * soft-fp/quad.h: Likewise.
7179 * soft-fp/single.h: Likewise.
7180 * soft-fp/soft-fp.h: Likewise.
7181 * soft-fp/subdf3.c: Likewise.
7182 * soft-fp/subsf3.c: Likewise.
7183 * soft-fp/subtf3.c: Likewise.
7184 * soft-fp/truncdfsf2.c: Likewise.
7185 * soft-fp/trunctfdf2.c: Likewise.
7186 * soft-fp/trunctfsf2.c: Likewise.
7187 * soft-fp/trunctfxf2.c: Likewise.
7188 * soft-fp/unorddf2.c: Likewise.
7189 * soft-fp/unordsf2.c: Likewise.
7190 * soft-fp/unordtf2.c: Likewise.
7191
02ac9503
UB
71922013-11-05 Uros Bizjak <ubizjak@gmail.com>
7193
7194 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
7195 (_FP_MUL_MEAT_D): Ditto.
7196 (_FP_DIV_MEAT_S): Ditto.
7197 (_FP_DIV_MEAT_D): Ditto.
7198 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
7199 t-softfp-sfdf and t-softfp to tmake_file.
7200
61221141
UB
72012013-11-03 Uros Bizjak <ubizjak@gmail.com>
7202
7203 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
7204 * config/i386/crtprec.c: Ditto.
7205
9304f876
CJW
72062013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
7207 Shiva Chen <shiva0217@gmail.com>
7208
7209 * config.host (nds32*-elf*): Add nds32 target.
7210 * config/nds32 : New directory and files.
7211
0e499e75
HPN
72122013-10-16 Hans-Peter Nilsson <hp@axis.com>
7213
7214 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
7215 * config.host (cpu_type) <Setting default>: Add entry for
7216 crisv32-*-*.
7217 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
7218 <crisv32-*-linux*>: Adjust.
7219 * longlong.h: Wrap the whole CRIS section in a single
7220 defined(__CRIS__) conditional. Add comment about add_ssaaaa
7221 and sub_ddmmss.
7222 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
7223 defined.
7224 [__CRIS__] (__umulsidi3): Define.
7225 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
7226 * config/cris/sfp-machine.h: New file.
7227 * config/cris/umulsidi3.S: New file.
7228 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
7229 * config/cris/arit.c (SIGNMULT): New macro.
7230 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
7231 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
7232 saving 3 out of originally 33 cycles from the fastest
7233 path, 3 out of 54 from the medium path and one from the longest
7234 path. Improve comments.
7235
16022041
RS
72362013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
7237
7238 * sync.c: Remove static aliases and define each function directly
7239 under its real name.
7240
69778659
JDA
72412013-10-02 John David Anglin <danglin@gcc.gnu.org>
7242
7243 * config.host (hppa*64*-*-linux*): Define extra_parts.
7244 (hppa*-*-linux*): Likewise.
7245
2deaf8b0
JR
72462013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
7247
7248 * config/arc/crtgend.S: Add 2013 to Copyright years.
7249 * config/arc/gmon/atomic.h: Likewise.
7250 * config/arc/gmon/auxreg.h: Likewise.
7251 * config/arc/gmon/sys/gmon_out.h: Likewise.
7252 * config/arc/gmon/sys/gmon.h: Likewise.
7253 * config/arc/gmon/prof-freq.c: Likewise.
7254 * config/arc/gmon/mcount.c: Likewise.
7255 * config/arc/gmon/prof-freq-stub.S: Likewise.
7256 * config/arc/gmon/gmon.c: Likewise.
7257 * config/arc/gmon/machine-gmon.h: Likewise.
7258 * config/arc/gmon/profil.S: Likewise.
7259 * config/arc/gmon/dcache_linesz.S: Likewise.
7260 * config/arc/crtg.S: Likewise.
7261 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
7262 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
7263 * config/arc/ieee-754/adddf3.S: Likewise.
7264 * config/arc/ieee-754/truncdfsf2.S: Likewise.
7265 * config/arc/ieee-754/fixsfsi.S: Likewise.
7266 * config/arc/ieee-754/gtsf2.S: Likewise.
7267 * config/arc/ieee-754/floatsisf.S: Likewise.
7268 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
7269 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
7270 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
7271 * config/arc/ieee-754/fixdfsi.S: Likewise.
7272 * config/arc/ieee-754/addsf3.S: Likewise.
7273 * config/arc/ieee-754/gesf2.S: Likewise.
7274 * config/arc/ieee-754/floatsidf.S: Likewise.
7275 * config/arc/ieee-754/extendsfdf2.S: Likewise.
7276 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
7277 * config/arc/ieee-754/gtdf2.S: Likewise.
7278 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
7279 * config/arc/ieee-754/uneqdf2.S: Likewise.
7280 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
7281 * config/arc/ieee-754/uneqsf2.S: Likewise.
7282 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
7283 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
7284 * config/arc/ieee-754/eqdf2.S: Likewise.
7285 * config/arc/ieee-754/ordsf2.S: Likewise.
7286 * config/arc/ieee-754/divsf3.S: Likewise.
7287 * config/arc/ieee-754/divdf3.S: Likewise.
7288 * config/arc/ieee-754/floatunsidf.S: Likewise.
7289 * config/arc/ieee-754/orddf2.S: Likewise.
7290 * config/arc/ieee-754/eqsf2.S: Likewise.
7291 * config/arc/ieee-754/gedf2.S: Likewise.
7292 * config/arc/crtn.S: Likewise.
7293 * config/arc/crti.S: Likewise.
7294 * config/arc/t-arc700-uClibc: Likewise.
7295 * config/arc/asm.h: Likewise.
7296 * config/arc/libgcc-excl.ver: Likewise.
7297 * config/arc/t-arc-newlib: Likewise.
7298 * config/arc/divtab-arc700.c: Likewise.
7299 * config/arc/initfini.c: Likewise.
7300 * config/arc/fp-hack.h: Likewise.
7301
c8e318b0
JR
73022013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
7303 Diego Novillo <dnovillo@google.com>
7304
7305 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
a07c5b47
JR
7306 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
7307 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
7308 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
c8e318b0 7309
d38a64b4
JR
73102013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
7311 Brendan Kehoe <brendan@zen.org>
7312 Simon Cook <simon.cook@embecosm.com>
7313
7314 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
7315 * config/arc: New directory.
7316 * longlong.h [__arc__] (umul_ppmm): Remove.
7317 [__arc__] (__umulsidi3): Define.
7318 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
7319 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
7320
dff717d2
JC
73212013-09-17 Jacek Caban <jacek@codeweavers.com>
7322
7323 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
7324 CreateSemaphoreA.
7325 * config/i386/gthr-win32.h: Likewise.
7326
5c0029de
DD
73272013-09-16 DJ Delorie <dj@redhat.com>
7328
844ad6c6 7329 * config/rl78/vregs.h: Add G10 register definitions.
5c0029de
DD
7330 * config/rl78/lib2mul.c: Enable for RL78/G10.
7331 * config/rl78/lib2div.c: Likewise.
7332 * config/rl78/lshrsi3.S: Use vregs.h.
7333 * config/rl78/cmpsi2.S: Likewise.
7334 * config/rl78/trampoline.S: Likewise.
7335 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
7336
ceb2fc49
DD
73372013-09-14 DJ Delorie <dj@redhat.com>
7338 Nick Clifton <nickc@redhat.com>
7339
7340 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
7341 * config/rl78/vregs.h: New.
7342 * config/rl78/signbit.S: New file. Implements signbit function.
7343 * config/rl78/divmodsi.S: New.
7344 * config/rl78/divmodhi.S: New.
7345 * config/rl78/divmodqi.S: New.
7346 * config/rl78/t-rl78: Build them here...
7347 * config/rl78/lib2div.c: ...but not here.
7348
f6a83b4a
DD
73492013-09-12 DJ Delorie <dj@redhat.com>
7350
7351 * config.host (msp*-*-elf): New.
7352 * config/msp430/: New port.
7353
9107b096
IS
73542013-08-18 Iain Sandoe <iain@codesourcery.com>
7355
7356 PR gcov-profile/58127
7357 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
7358 __thread var for emulated TLS.
7359 (__gcov_indirect_call_counters): Likewise.
7360
0f9bde1f 73612013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
61221141 7362 Catherine Moore <clm@codesourcery.com>
7d296953 7363 Richard Sandiford <rdsandiford@googlemail.com>
0f9bde1f
MR
7364
7365 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
7366 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
7367 (CALL_STUB_NO_RET): Likewise.
7368 (CALL_STUB_RET): Likewise.
7369 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
7370 __mips16_ret call/return stub symbols.
7371 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
7372 to tmake_file.
7373
2dc14aac
MR
73742013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
7375
7376 * config.host <mips*-*-linux*>: Remove a stray comment.
7377
748d71f3
JH
73782013-08-10 Jan Hubicka <jh@suse.cz>
7379
7380 Work around binutils PR14342
7381 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
7382 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
7383 (L_gcov_indirect_call_profiler_v2): New.
7384
2fa3d31b
JH
73852013-08-06 Jan Hubicka <jh@suse.cz>
7386
7387 * libgcov.c (__gcov_indirect_call_callee,
7388 __gcov_indirect_call_counters): New global vars.
7389 (__gcov_indirect_call_profiler): replace by ...
7390 (__gcov_indirect_call_profiler_v2) ... this one.
7391
2077db1b
CT
73922013-08-06 Caroline Tice <cmtice@google.com>
7393
d0595b65 7394 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
2077db1b 7395 vtv_start_preinit.o and vtv_end_preinit.o.
d0595b65
CT
7396 * configure.ac: Add code to check/set enable_vtable_verify.
7397 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
2077db1b 7398 true.
d0595b65
CT
7399 * vtv_start_preinit.c: New file.
7400 * vtv_end_preinit.c: New file.
7401 * vtv_start.c: New file.
7402 * vtv_end.c: New file.
7403 * configure: Regenerated.
2077db1b 7404
46549c20
MK
74052013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
7406
7407 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
7408 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
7409 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
7410 GPL-3.0-with-GCC-exception.
7411
72be589b
MR
74122013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
7413
7414 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
7415 ISA and up.
7416
902a3faf
AK
74172013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7418
7419 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
7420 mapping for FPRs when creating the fallback framestate.
7421
02371798
GJL
74222013-07-19 Georg-Johann Lay <avr@gjlay.de>
7423
7424 PR target/57516
7425 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
7426 (__round_s2_const, __round_u2_const)
7427 (__round_s4_const, __round_u4_const, __round_x8):
7428 Saturate result if addition result cannot be represented.
7429
ab0e8379
MK
74302013-07-15 Matthias Klose <doko@ubuntu.com>
7431
7432 * libgcc2.c: Don't include <limits.h>.
7433
7da38058
JJ
74342013-07-09 Janis Johnson <janisjo@codesourcery.com>
7435
7436 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
7437
1f6eac90
JJ
74382013-07-06 Jakub Jelinek <jakub@redhat.com>
7439
7440 PR target/29776
7441 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
7442
4ea3d774
JJ
74432013-06-28 Jakub Jelinek <jakub@redhat.com>
7444
7445 PR middle-end/36041
7446 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
7447 Define.
7448 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
7449 instead of table lookups.
7450 (__popcountDI2): Likewise.
7451
9d2cdf25
CJW
74522013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
7453
7454 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
7455 correctly.
7456
fa1e55b0
JM
74572013-06-21 Joseph Myers <joseph@codesourcery.com>
7458
7459 PR other/53317
7460 * soft-fp/adddf3.c: Update from glibc.
7461 * soft-fp/addsf3.c: Likewise.
7462 * soft-fp/addtf3.c: Likewise.
7463 * soft-fp/divdf3.c: Likewise.
7464 * soft-fp/divsf3.c: Likewise.
7465 * soft-fp/divtf3.c: Likewise.
7466 * soft-fp/double.h: Likewise.
7467 * soft-fp/eqdf2.c: Likewise.
7468 * soft-fp/eqsf2.c: Likewise.
7469 * soft-fp/eqtf2.c: Likewise.
7470 * soft-fp/extenddftf2.c: Likewise.
7471 * soft-fp/extended.h: Likewise.
7472 * soft-fp/extendsfdf2.c: Likewise.
7473 * soft-fp/extendsftf2.c: Likewise.
7474 * soft-fp/fixdfdi.c: Likewise.
7475 * soft-fp/fixdfsi.c: Likewise.
7476 * soft-fp/fixsfdi.c: Likewise.
7477 * soft-fp/fixsfsi.c: Likewise.
7478 * soft-fp/fixtfdi.c: Likewise.
7479 * soft-fp/fixtfsi.c: Likewise.
7480 * soft-fp/fixunsdfdi.c: Likewise.
7481 * soft-fp/fixunsdfsi.c: Likewise.
7482 * soft-fp/fixunssfdi.c: Likewise.
7483 * soft-fp/fixunssfsi.c: Likewise.
7484 * soft-fp/fixunstfdi.c: Likewise.
7485 * soft-fp/fixunstfsi.c: Likewise.
7486 * soft-fp/floatdidf.c: Likewise.
7487 * soft-fp/floatdisf.c: Likewise.
7488 * soft-fp/floatditf.c: Likewise.
7489 * soft-fp/floatsidf.c: Likewise.
7490 * soft-fp/floatsisf.c: Likewise.
7491 * soft-fp/floatsitf.c: Likewise.
7492 * soft-fp/floatundidf.c: Likewise.
7493 * soft-fp/floatundisf.c: Likewise.
7494 * soft-fp/floatunditf.c: Likewise.
7495 * soft-fp/floatunsidf.c: Likewise.
7496 * soft-fp/floatunsisf.c: Likewise.
7497 * soft-fp/floatunsitf.c: Likewise.
7498 * soft-fp/gedf2.c: Likewise.
7499 * soft-fp/gesf2.c: Likewise.
7500 * soft-fp/getf2.c: Likewise.
7501 * soft-fp/ledf2.c: Likewise.
7502 * soft-fp/lesf2.c: Likewise.
7503 * soft-fp/letf2.c: Likewise.
7504 * soft-fp/muldf3.c: Likewise.
7505 * soft-fp/mulsf3.c: Likewise.
7506 * soft-fp/multf3.c: Likewise.
7507 * soft-fp/negdf2.c: Likewise.
7508 * soft-fp/negsf2.c: Likewise.
7509 * soft-fp/negtf2.c: Likewise.
7510 * soft-fp/op-1.h: Likewise.
7511 * soft-fp/op-2.h: Likewise.
7512 * soft-fp/op-4.h: Likewise.
7513 * soft-fp/op-8.h: Likewise.
7514 * soft-fp/op-common.h: Likewise.
7515 * soft-fp/quad.h: Likewise.
7516 * soft-fp/single.h: Likewise.
7517 * soft-fp/soft-fp.h: Likewise.
7518 * soft-fp/subdf3.c: Likewise.
7519 * soft-fp/subsf3.c: Likewise.
7520 * soft-fp/subtf3.c: Likewise.
7521 * soft-fp/truncdfsf2.c: Likewise.
7522 * soft-fp/trunctfdf2.c: Likewise.
7523 * soft-fp/trunctfsf2.c: Likewise.
7524 * soft-fp/unorddf2.c: Likewise.
7525 * soft-fp/unordsf2.c: Likewise.
7526 * soft-fp/unordtf2.c: Likewise.
7527 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
7528 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7529 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7530 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7531 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7532 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7533 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7534 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7535 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7536 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
7537 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
7538 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7539
0de86a92
JU
75402013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
7541
7542 * config/mips/lib2funcs.c: New file.
7543 * config/mips/t-mips (LIB2ADD_ST): Add it.
7544
0d008882
OE
75452013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
7546
7547 PR target/6526
7548 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
7549 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
7550
776434d1
WL
75512013-06-08 Walter Lee <walt@tilera.com>
7552
7553 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
7554 Replace int64_t with long long. Add __extension__ where
7555 appropriate.
7556 * config/tilepro/atomic.c: Include config.h.
7557
6ab3ebb4
DR
75582013-06-06 Douglas B Rupp <rupp@adacore.com>
7559
7560 * config.host (arm-wrs-vxworks): Configure with other soft float.
7561
107eea2c
JU
75622013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
7563
7564 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
7565 (mips64r5900el-*-elf*): New configurations.
7566
5cc19c62
AM
75672013-06-04 Alan Modra <amodra@gmail.com>
7568
7569 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
7570
0f1d3965
YR
75712013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
7572
7573 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
7574
0ba045df
EB
75752013-05-28 Eric Botcazou <ebotcazou@adacore.com>
7576
7577 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
7578 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
7579 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
7580
49dcafd4
EB
75812013-05-22 Eric Botcazou <ebotcazou@adacore.com>
7582
7583 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
7584 (powerpc-wrs-vxworks): Likewise.
7585
4fcb5d87
EB
75862013-05-22 Eric Botcazou <ebotcazou@adacore.com>
7587
7588 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
7589 signal frames as well.
7590 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
7591 STACK_BIAS to the CFA offset.
7592
0ec33224
RH
75932013-05-17 Richard Henderson <rth@redhat.com>
7594
7595 PR target/49146
7596 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
7597 (execute_cfa_program): Use it when storing to fs->regs.
7598
492a8029
KT
75992013-05-08 Kai Tietz <ktietz@redhat.com>
7600
7601 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
7602 (__deregister_frame_info): Likewise.
7603
701e2f0a
TS
76042013-05-06 Thomas Schwinge <thomas@codesourcery.com>
7605
e5123d08
TS
7606 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
7607 NaN's payload.
7608
701e2f0a
TS
7609 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
7610
b9a7eb5d
AM
76112013-04-25 Alan Modra <amodra@gmail.com>
7612
7613 * config.host: Match little-endian powerpc-linux.
7614
dfe192f5
YZ
76152013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
7616
7617 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
7618 as 'unsigned long long' instead of 'unsigned long'.
7619 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
7620 'signed long'.
7621
b6b9af2f
JB
76222013-04-10 Julian Brown <julian@codesourcery.com>
7623
7624 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
7625 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
7626 unsigned char/unsigned short.
7627 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
7628
ecabdd00
JDA
76292013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7630
7631 PR other/55274
7632 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
7633
34652576
MI
76342013-04-04 Meador Inge <meadori@codesourcery.com>
7635
7636 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
7637 computing the location of the link register.
7638 (aeabi_uldivmod): Ditto.
7639
e9fd8c19
KT
76402013-03-27 Kai Tietz <ktietz@redhat.com>
7641
7642 * config.host: Add support for cygwin x64 target.
7643 * configure: Regenerated.
7644
a6406324
WL
76452013-03-26 Walter Lee <walt@tilera.com>
7646
7647 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
7648 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
7649
55446c7e
KT
76502013-03-25 Kai Tietz <ktietz@redhat.com>
7651
7652 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
7653
d2ae19d9
RM
76542013-03-20 Robert Mason <rbmj@verizon.net>
7655
7656 * config/vxlib-tls.c (__gthread_get_tsd_data,)
7657 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
7658 (__gthread_leave_tsd_dtor_context): Add prototypes.
7659 (tls_delete_hook): Update.
7660
22c4c869
CM
76612013-03-20 Catherine Moore <clm@codesourcery.com>
7662 Joseph Myers <joseph@codesourcery.com>
7663 Chao-ying Fu <fu@mips.com>
7664
7665 * config/mips/mips16.S: Don't build for microMIPS.
7666 * config/mips/linux-unwind.h: Handle microMIPS frame.
7667 * config/mips/crtn.S (fini, init): New labels.
7668
fbd28bc3
JJ
76692013-03-14 Jakub Jelinek <jakub@redhat.com>
7670
7671 PR tree-optimization/53265
7672 * unwind-dw2.c (execute_cfa_program): Avoid
7673 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
7674 on targets with DWARF_FRAME_REGISTERS < 32.
7675
decc676e
OE
76762013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
7677
7678 PR target/49880
7679 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
7680 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
7681
84ea618a
ST
76822013-03-07 Sriraman Tallam <tmsriram@google.com>
7683
7684 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
7685 sandybridge processors.
7686
8f6d1c86
OE
76872013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
7688
7689 PR target/56529
7690 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
7691 inclusion list.
7692
ecdbd01a 76932013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
409b1de4
EI
7694
7695 * config/microblaze/crti.S: Setup stack protection at entry
7696
0b4ce21b
GJL
76972013-03-04 Georg-Johann Lay <avr@gjlay.de>
7698
7699 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
7700 (__rotldi3): Shift bytewise if applicable.
7701
b7c3f1ca
JG
77022013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
7703
7704 * config/aarch64/sync-cache.c
7705 (__aarch64_sync_cache_range): Silence warnings.
7706
6d65e8f1
CM
77072013-02-25 Catherine Moore <clm@codesourcery.com>
7708
7709 Revert:
7710 2013-02-24 Catherine Moore <clm@codesourcery.com>
7711 Joseph Myers <joseph@codesourcery.com>
7712 Chao-ying Fu <fu@mips.com>
7713
7714 * config/mips/mips16.S: Don't build for microMIPS.
7715 * config/mips/linux-unwind.h: Handle microMIPS frame.
7716 * config/mips/crtn.S (fini, init): New labels.
7717
6941b508
CM
77182013-02-24 Catherine Moore <clm@codesourcery.com>
7719 Joseph Myers <joseph@codesourcery.com>
7720 Chao-ying Fu <fu@mips.com>
7721
7722 * config/mips/mips16.S: Don't build for microMIPS.
7723 * config/mips/linux-unwind.h: Handle microMIPS frame.
7724 * config/mips/crtn.S (fini, init): New labels.
7725
7c422dbb 77262012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
cc86234f 7727 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7c422dbb
EI
7728 as dividend.
7729
110207ad
AM
77302013-02-16 Alan Modra <amodra@gmail.com>
7731
7732 PR target/55431
7733 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
7734 (ppc_fallback_frame_state): Always set up save locations for fp
7735 and altivec. Don't bother with non-callee-saved regs, r0-r13
7736 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
7737
e68a4ef6
GJL
77382013-02-12 Georg-Johann Lay <avr@gjlay.de>
7739
7740 PR target/54222
7741 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
7742 _ssmulHA, _ssmulSA.
7743 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
7744 _ssmulha3, _usmulusa3, _ssmulsa3.
7745 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
7746 (__muldi3): XCALL __muldi3_6 instead of rcall.
7747 (__umulsidi3, __mulsidi3): New functions.
7748 (do_prologue_saves, do_epilogue_restores): New .macros.
7749 (__divdi3_moddi3): Use them.
7750 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
7751 (__usmulusa3, __ssmulsa3): New functions.
7752
6c59ffd1
IS
77532013-02-11 Iain Sandoe <iain@codesourcery.com>
7754 Jack Howarth <howarth@bromo.med.uc.edu>
7755 Patrick Marlier <patrick.marlier@gmail.com>
7756
7757 PR libitm/55693
7758 * config/darwin-crt-tm.c: Remove dummy functions hack.
7759
85d768f3
GJL
77602013-02-08 Georg-Johann Lay <avr@gjlay.de>
7761
7762 PR target/54222
7763 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
7764 * config/avr/lib2-object.mk: New iterator to build objects from it.
7765 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
7766 lib2funcs.c.
7767 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
7768 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
7769 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
7770 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
7771 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
7772 * config/avr/lib1funcs-fixed.S: Implement them.
7773
5d5bf775
RS
77742013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
7775
7776 Update copyright years.
7777
99113dff
DE
77782013-02-01 David Edelsohn <dje.gcc@gmail.com>
7779
7780 PR target/54601
7781 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
7782 Add crtcxa to extra_parts.
7783 * config/rs6000/exit.h: New file.
7784 * config/rs6000/cxa_atexit.c: New file.
7785 * config/rs6000/cxa_finalize.c: New file.
7786 * config/rs6000/crtcxa.c: New file.
7787 * config/rs6000/t-aix-cxa: New file.
7788 * config/rs6000/libgcc-aix-cxa.ver: New file.
7789
dbdbd982
NC
77902013-01-31 Nick Clifton <nickc@redhat.com>
7791
7792 * config/v850/lib1funcs.S: Add support for e3v5 architecture
7793 variant.
7794
5893f158
GJL
77952013-01-29 Georg-Johann Lay <avr@gjlay.de>
7796
7797 PR target/54222
7798 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
7799 _mulQQ, _mulHQ, _mulHA, _mulSA,
7800 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
7801 _divQQ, _divHQ, _divHA, _divSA,
7802 _divUQQ, _divUHQ, _divUHA, _divUSA.
7803
ecdbd01a 78042013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
fbf0cf90 7805
dbdbd982 7806 * config.host(microblaze*-linux*): tmake_file: Remove
fbf0cf90
DH
7807 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
7808 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
7809 to exclude functions from being built with libgcc.c and use
7810 the microblaze assembly.
7811
ecdbd01a 78122013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6f14eef2
EI
7813
7814 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
7815 extra_parts.
7816
922c57d1
YZ
78172013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
7818
7819 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
7820 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
7821 __UINTPTR_TYPE__; also cast 'base' to the same type before the
7822 alignment operation.
7823
e0f8b6a0
SN
78242013-01-15 Sofiane Naci <sofiane.naci@arm.com>
7825
7826 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
7827 loop start address for cache clearing.
7828
00892272
GJL
78292013-01-14 Georg-Johann Lay <avr@gjlay.de>
7830
7831 * config/avr/lib1funcs.S: Remove trailing blanks.
7832 * config/avr/lib1funcs-fixed.S: Ditto.
7833
e59ec5fd
GJL
78342013-01-14 Georg-Johann Lay <avr@gjlay.de>
7835
7836 * config/avr/avr-lib.h: Add GPL copyright notice.
7837
3ffc1958
GJL
78382013-01-14 Georg-Johann Lay <avr@gjlay.de>
7839
7840 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
7841 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
7842 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
7843 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
7844
25c210f9
MK
78452013-01-07 Mark Kettenis <kettenis@openbsd.org>
7846
7847 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
7848 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
2bc15360 7849
db59befb
NC
78502013-01-04 Nick Clifton <nickc@redhat.com>
7851
7852 * config/v850/lib1funcs.S: Only provide CALLT support functions if
7853 the CALLT instruction is supported.
7854
5aa12dbf
JW
78552012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
7856
7857 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
7858 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
7859
65f14117
JT
78602012-12-13 John Tytgat <John@bass-software.com>
7861
7862 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
7863 is 25.
7864
ee3ae4f7
JJ
78652012-12-12 Jakub Jelinek <jakub@redhat.com>
7866
7867 PR libgcc/55451
7868 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
7869 undefined signed overflows.
7870
2fcfba3d
UB
78712012-12-09 Uros Bizjak <ubizjak@gmail.com>
7872
7873 PR target/55344
7874 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
7875
4f2b3dc2
UB
78762012-12-06 Uros Bizjak <ubizjak@gmail.com>
7877
7878 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
7879 (FP_TRAPPING_EXCEPTIONS): Define.
7880 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
7881 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
7882
066161a2
RH
78832012-12-04 Richard Henderson <rth@redhat.com>
7884
7885 PR bootstrap/55571
7886 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
7887
7d296953 78882012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
25626181 7889
4f2b3dc2 7890 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
25626181
MS
7891 (FP_EX_SHIFT): Define.
7892 (FP_TRAPPING_EXCEPTIONS): Define.
7893
7d296953 78942012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
868395e8
MS
7895
7896 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
7897 (FP_ROUNDMODE): Use FP_RND_MASK.
7898 * config/aarch64/sfp-exceptions.c: New.
7899 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
7900 Use __sfp_handle_exceptions.
7901
5005fe22
RE
79022012-12-04 Richard Earnshaw <rearnsha@arm.com>
7903
7904 * config.host: (arm*-*-freebsd*): Remove.
7905 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
7906 (arm*-*-elf*): Remove.
7907 (arm*-*-wince-pe*): Remove.
7908 * arm/unwind-arm.c (struct fpa_reg): Delete.
7909 (struct fpa_regs): Delete.
7910 (phase1_vrs): Remove fpa element.
7911 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
7912 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
7913 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
7914 * ieee754-sf.S (floatundisf): Remove FPA support.
7915 (floatdisf): Likewise.
7916 * ieee75f-df.S (floatundidf): Likewise.
7917 (floatdidf): Likewise.
7918
e5a81c8e
KT
79192012-11-29 Kai Tietz <ktietz@redhat.com>
7920
7921 PR target/55445
7922 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
7923 * unwind-generic.h: Likewise.
7924 * unwind-seh.c: Likewise.
7925
f4919e4a
RH
79262012-11-28 Richard Henderson <rth@redhat.com>
7927
7928 PR libgcc/48076
7929 * emutls.c (__emutls_get_address): Avoid race condition between
7930 obj->loc.offset read and emutls_key initialization.
4f2b3dc2 7931
e13d9d5a
GJL
79322012-11-22 Georg-Johann Lay <avr@gjlay.de>
7933
7934 Adjust decimal point of signed accum mode to GCC default.
7935
7936 PR target/54222
7937 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
7938 _divqq_helper.
7939 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
7940 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
7941 (__mulha3, __mulsa3)
7942 (__divqq3, __divha3, __divsa3): Adjust to new position of
4f2b3dc2
UB
7943 decimal point of signed accum types.
7944
e13d9d5a
GJL
7945 (__mulusa3_round): New function.
7946 (__mulusa3): Use it.
7947 (__divqq_helper): New function.
7948 (__udivuqq3): Use it.
7949
1b845c6e
JJ
79502012-11-20 Jakub Jelinek <jakub@redhat.com>
7951
7952 PR bootstrap/55370
7953 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
7954
822a258a
TJ
79552012-11-18 Teresa Johnson <tejohnson@google.com>
7956
7957 PR bootstrap/55051
7958 * libgcov.c (gcov_exit): Remove merged program summary
7959 comparison unless !GCOV_LOCKED.
7960
7d296953 79612012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
54f4eaf0
MS
7962
7963 * soft-fp: Updated from glibc upstream.
7964
e808687a
ILT
79652012-11-06 Ian Lance Taylor <iant@google.com>
7966
7967 * generic-morestack.c (__generic_morestack): Align the returned
7968 stack pointer to a 32 byte boundary.
7969 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
7970 increment the return address until we have decided that we don't
7971 have a varargs function.
7972 (__morestack) [32-bit]: Align stack correctly when calling C
7973 functions.
7974 (__morestack) [64-bit]: Likewise.
7975
460277e0
TS
79762012-11-04 Thomas Schwinge <thomas@codesourcery.com>
7977
7978 * configure: Regenerate.
7979
73edb277
UB
79802012-11-02 Uros Bizjak <ubizjak@gmail.com>
7981
7982 PR target/55175
7983 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
7984 * config/i386/sfp-machine.h: Guard exception handling
7985 code with _SOFT_FLOAT.
7986 * config/i386/32/sfp-machine.h: Guard rounding handling
7987 code with _SOFT_FLOAT.
7988 * config/i386/64/sfp-machine.h: Ditto.
7989
c1d4fa04
JS
79902012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
7991
7992 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
7993 as extra_parts.
7994
eff6ca85
UB
79952012-10-26 Uros Bizjak <ubizjak@gmail.com>
7996
7997 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
7998 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
7999 when appropriate. Correct structure element types.
8000 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
8001 -minline-all-stringops from compile flags.
8002
7d296953 80032012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
43a8f1a1
RC
8004
8005 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
8006
7d296953 80072012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
76c78361 8008
eff6ca85 8009 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
76c78361 8010
6f288860
SH
80112012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
8012
8013 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
8014 tmake_file.
8015
1e3d5096
IB
80162012-10-23 Ian Bolton <ian.bolton@arm.com>
8017 Jim MacArthur <jim.macarthur@arm.com>
8018 Marcus Shawcroft <marcus.shawcroft@arm.com>
8019 Nigel Stephens <nigel.stephens@arm.com>
8020 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
8021 Richard Earnshaw <rearnsha@arm.com>
8022 Sofiane Naci <sofiane.naci@arm.com>
8023 Stephen Thomas <stephen.thomas@arm.com>
8024 Tejas Belagod <tejas.belagod@arm.com>
8025 Yufeng Zhang <yufeng.zhang@arm.com>
8026
8027 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
8028 * config/aarch64/crti.S: New file.
8029 * config/aarch64/crtn.S: New file.
8030 * config/aarch64/linux-unwind.h: New file.
8031 * config/aarch64/sfp-machine.h: New file.
8032 * config/aarch64/sync-cache.c: New file.
8033 * config/aarch64/t-aarch64: New file.
8034 * config/aarch64/t-softfp: New file.
8035
8a740f07
HPN
80362012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
8037
8038 * config/mmix/crti.S: Mark program and data addresses using PRELD.
8039 Remove typo'd and unnecessary alignment-LOC for .data. Remove
8040 no-longer-needed LDBU insns.
8041
7d296953 80422012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
153c8397
SH
8043
8044 * config.host
8045 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
8046 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
8047
595fefee
MGD
80482012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
8049
8050 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
8051
9945a876
MK
80522012-10-15 Matthias Klose <doko@ubuntu.com>
8053
8054 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
8055
1183dc2c
PC
80562012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
8057
8058 * configure: Regenerate.
8059 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
8060
945a9c1f
UB
80612012-10-10 Uros Bizjak <ubizjak@gmail.com>
8062
8063 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
8064 instructions for 64bit targets only.
8065
fb8bf47a
UB
80662012-10-10 Uros Bizjak <ubizjak@gmail.com>
8067
8068 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
8069 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
8070 * config/i386/32/sfp-machine.h: ... here.
8071 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
8072 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
8073 New defines.
8074
acb72498
MK
80752012-10-07 Matthias Klose <doko@ubuntu.com>
8076
8077 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
8078 as unused.
8079 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
8080
8eaee0f0
MK
80812012-10-06 Mark Kettenis <kettenis@openbsd.org>
8082
8083 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
8084 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
8085 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
8086 (ElfW): Likewise.
8087
5e3e4fe8
JW
80882012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
8089
8090 PR other/53889
8091 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
8092 Fix parameter names.
8093
86086376
OE
80942012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
8095
8096 PR target/33135
8097 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
8098 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
8099 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
8100
9597375a
OE
81012012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
8102
8103 PR target/50457
8104 * config/sh/linux-atomic.S: Delete.
8105 * config/sh/linux-atomic.c: New.
8106 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
8107 linux-atomic.c. Add cflags to disable warnings.
8108
1504e3e1
JW
81092012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
8110
8111 PR other/53889
8112 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
8113 function.
8114 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
8115 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
8116 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
8117 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5e3e4fe8
JW
8118 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
8119 Likewise.
1504e3e1
JW
8120 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
8121 Likewise.
8122 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
8123 Likewise.
8124 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
8125 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
8126
17f293b0
MK
81272012-09-19 Mark Kettenis <kettenis@openbsd.org>
8128
9597375a
OE
8129 * config.host (hppa-*-openbsd*): New target.
8130 * config/pa/t-openbsd: New file.
17f293b0 8131
51526856
GJL
81322012-09-15 Georg-Johann Lay <avr@gjlay.de>
8133
8134 PR target/54222
8135 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
8136 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
8137 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
8138 (__divsa3): Use __negsi2 to negate r_quoL.
8139 * config/avr/lib1funcs.S (FALIAS): New macro.
8140 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
8141 (__negsi2): ...this new function.
8142 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
8143 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
8144 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
8145 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
8146 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
8147 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
8148
aadb5b43
OE
81492012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
8150
8151 PR target/54089
8152 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
8153 (lshrsi3): Reimplement as lshrsi3_r0.
8154
d5d66749
AS
81552012-09-10 Andreas Schwab <schwab@linux-m68k.org>
8156
8157 PR target/46191
8158 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
8159 of libgcc.a.
8160
c6c36e73
TJ
81612012-09-07 Teresa Johnson <tejohnson@google.com>
8162
9597375a 8163 PR gcov-profile/54487
c6c36e73 8164 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9597375a 8165 differences.
c6c36e73 8166
b588ae30
GJL
81672012-09-05 Georg-Johann Lay <avr@gjlay.de>
8168
8169 PR target/54461
8170 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
8171 not configured --with-avrlibc=no.
8172 * config/avr/t-avrlibc: New file.
8173 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
8174 (DPBIT_FUNCS): Ditto.
8175 (TPBIT_FUNCS): Ditto.
8176
abd16fb1
TJ
81772012-09-04 Teresa Johnson <tejohnson@google.com>
8178
8179 * libgcov.c (struct gcov_summary_buffer): New structure.
8180 (gcov_histogram_insert): New function.
8181 (gcov_compute_histogram): Ditto.
8182 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
8183 histograms during summary merging.
8184
613061fd
MK
81852012-09-01 Mark Kettenis <kettenis@openbsd.org>
8186
8187 * config.host (x86_64-*-openbsd*): New target.
73edb277 8188
867a8345
CLT
81892012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
8190
8191 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
8192 attribute.
8193
4aeaaca3
GJL
81942012-08-24 Georg-Johann Lay <avr@gjlay.de>
8195
8196 PR target/54222
8197 * config/avr/t-avr (conv_X): Rename to func_X.
8198
e55e4056
GJL
81992012-08-24 Georg-Johann Lay <avr@gjlay.de>
8200
8201 PR target/54222
8202 * config/avr/lib1funcs-fixed.S: New file.
8203 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
8204 after they are used.
8205 (neg2, neg4): New macros.
8206 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
8207 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
8208 (__umulhisi3): Speed up MUL variant if there is enough flash.
8209 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
8210 avr-modes.def.
8211 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
8212 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
8213 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
8214 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
8215 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
8216 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
8217 (LIB2FUNCS_EXCLUDE): Add supported functions.
8218
a147b6d2
GJL
82192012-08-22 Georg-Johann Lay <avr@gjlay.de>
8220
8221 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
8222 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
8223 libgcc-s-objects.
8224 * fixed-obj.mk: Only expand dependency if $o is not in
8225 LIB2FUNCS_EXCLUDE.
8226
c637141a
L
82272012-08-22 H.J. Lu <hongjiu.lu@intel.com>
8228
8229 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
8230
130e00bd
JM
82312012-08-22 Joseph Myers <joseph@codesourcery.com>
8232
8233 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
8234 depend on --enable-shared.
8235 ($(lib1asmfuncs-o)): Use %.vis files independent of
8236 --enable-shared.
8237 * static-object.mk ($(base)$(objext), $(base).vis)
8238 ($(base)_s$(objext)): Use same rules for visibility handling as in
8239 shared-object.mk.
8240
4b1b3788
ILT
82412012-08-21 Ian Lance Taylor <iant@google.com>
8242
8243 * config/i386/morestack.S (__morestack_non_split): Increase amount
8244 of space allocated for non-split code stack.
8245
d2468141
JM
82462012-08-19 Joseph Myers <joseph@codesourcery.com>
8247
8248 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
8249 even if inhibit_libc.
8250
a508e1a8
JB
82512012-08-17 Julian Brown <julian@codesourcery.com>
8252
8253 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
8254 -fexceptions -fnon-call-exceptions if not defined.
8255 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
8256 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
8257
5615a07d
AS
82582012-08-17 Andreas Schwab <schwab@linux-m68k.org>
8259
8260 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
8261 type.
8262
138f5acd
DE
82632012-08-16 David Edelsohn <dje.gcc@gmail.com>
8264
8265 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
8266 rs6000/t-slibgcc-aix.
8267
18efc0dd
SB
82682012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
8269
8270 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
8271
6b39bc38
SB
82722012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
8273
8274 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
8275
cd25dea0
L
82762012-08-03 H.J. Lu <hongjiu.lu@intel.com>
8277
8278 PR driver/54171
8279 * Makefile.in (version): Replace top_srcdir with srcdir.
8280
a3dda30b
JY
82812012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
8282
8283 * Makefile.in (version): set to BASE-VER file from gcc directory.
8284
d04aacfc
NC
82852012-08-01 Nick Clifton <nickc@redhat.com>
8286
8287 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
8288 Implements __clrsb for an HImode argument.
8289
0d13c974
NC
82902012-07-31 Nick Clifton <nickc@redhat.com>
8291
8292 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
8293 Implements __clrsb for an HImode argument.
8294 * config/stormy16/clrsbhi2.c: New file:
8295 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
8296
efbb59b2
SB
82972012-07-22 Steven Bosscher <steven@gcc.gnu.org>
8298
8299 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
8300
bf1431e3
TG
83012012-07-19 Tristan Gingold <gingold@adacore.com>
8302 Richard Henderson <rth@redhat.com>
8303
8304 * unwind-seh.c: New file.
8305 * unwind-generic.h: Include windows.h for SEH.
8306 (_Unwind_Exception): Use 6 private fields for SEH.
8307 (_GCC_specific_handler): Declare.
8308 * unwind-c.c (__gcc_personality_seh0): New function.
8309 Adjust for SEH.
8310 * config/i386/libgcc-cygming.ver: New file.
8311 * config/i386/t-seh-eh: New file.
8312 * config.host (x86_64-*-mingw*): Default to seh.
8313
659140c8
SB
83142012-07-14 Steven Bosscher <steven@gcc.gnu.org>
8315
8316 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
8317
a20d08fd
UB
83182012-06-17 Uros Bizjak <ubizjak@gmail.com>
8319
8320 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
8321 __builtin_expect when checking for exceptions.
8322 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
8323
79261115
UB
83242012-06-13 Uros Bizjak <ubizjak@gmail.com>
8325
4a172156
UB
8326 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
8327 function declaration.
8328 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
8329 (FP_RND_MASK): New.
8330 * config/ia64/sfp-exceptions.c: New.
8331 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
79261115 8332
bb5c97d4
UB
83332012-06-13 Uros Bizjak <ubizjak@gmail.com>
8334
8335 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
8336 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
8337 * config/i386/64/sfp-machine: ... (delete here) ...
8338 * config/i386/sfp-machine.h: ... to here.
8339 (FP_EX_MASK): Remove.
8340 (FP_RND_MASK): New.
8341 (FP_INIT_ROUNDMODE): Declare asm as volatile.
8342
91fe5efb
ST
83432012-06-11 Sriraman Tallam <tmsriram@google.com>
8344
8345 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
8346 * config/i386/libgcc-sol2.ver: Ditto.
8347 * config/i386/libgcc-glibc.ver: Ditto.
8348
67a218c5
RM
83492012-06-11 Roland McGrath <mcgrathr@google.com>
8350
8351 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
8352 If __GLIBC__ is defined, refer to __pthread_key_create instead of
8353 pthread_cancel.
8354
492fbea1
UB
83552012-06-09 Uros Bizjak <ubizjak@gmail.com>
8356
8357 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
8358 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
8359 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
8360 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
8361 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
8362 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
8363 * config/i386/64/sfp-machine: ... (delete here) ...
8364 * config/i386/sfp-machine.h: ... to here.
8365 (FP_EX_MASK): New.
8366 (__sfp_handle_exceptions): New function declaration.
8367 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
8368 * config/i386/sfp-exceptions.c: New.
8369 * config/i386/t-softfp: New.
8370 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
8371 i386/t-softfp to tmake_file.
8372
7b4cf266
DM
83732012-06-03 David S. Miller <davem@davemloft.net>
8374
8375 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
8376 change.
8377
0de0d5c6
DM
83782012-05-31 David S. Miller <davem@davemloft.net>
8379
8380 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
8381 multiply and divide instructions on 32-bit when V9.
8382 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
8383
d8c9d391
JM
83842012-05-29 Joseph Myers <joseph@codesourcery.com>
8385
8386 * config/arm/ieee754-df.S: Fix typos.
8387 * config/arm/ieee754-sf.S: Fix typos.
8388 * config/c6x/libunwind.S: Fix typos.
8389 * config/epiphany/udivsi3-float.c: Fix typos.
8390 * config/microblaze/muldi3_hard.S: Fix typos.
8391 * config/picochip/adddi3.S: Fix typos.
8392 * config/picochip/ashlsi3.S: Fix typos.
8393 * config/picochip/ashrsi3.S: Fix typos.
8394 * config/picochip/clzsi2.S: Fix typos.
8395 * config/picochip/cmpsi2.S: Fix typos.
8396 * config/picochip/divmod15.S: Fix typos.
8397 * config/picochip/divmodhi4.S: Fix typos.
8398 * config/picochip/divmodsi4.S: Fix typos.
8399 * config/picochip/longjmp.S: Fix typos.
8400 * config/picochip/lshrsi3.S: Fix typos.
8401 * config/picochip/parityhi2.S: Fix typos.
8402 * config/picochip/popcounthi2.S: Fix typos.
8403 * config/picochip/setjmp.S: Fix typos.
8404 * config/picochip/subdi3.S: Fix typos.
8405 * config/picochip/ucmpsi2.S: Fix typos.
8406 * config/picochip/udivmodhi4.S: Fix typos.
8407 * config/picochip/udivmodsi4.S: Fix typos.
8408 * config/spu/divv2df3.c: Fix typos.
8409 * config/spu/mfc_multi_tag_release.c: Fix typos.
8410 * config/spu/mfc_tag_release.c: Fix typos.
8411 * configure.ac: Fix typos.
8412 * configure: Regenerate.
8413
31a18a7e
ILT
84142012-05-25 Ian Lance Taylor <iant@google.com>
8415
8416 * config/i386/morestack.S (__morestack_non_split): Check whether
8417 caller is varargs and needs %bp to hold the stack frame on return.
8418
c5768510
OH
84192012-05-25 Olivier Hainque <hainque@adacore.com>
8420
8421 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
8422 sequence in the non pic case on VxWorks.
8423
7c7c339b
OH
84242012-05-24 Olivier Hainque <hainque@adacore.com>
8425
73fb7630 8426 * Makefile.in: Move dependency on install-unwind_h from
7c7c339b
OH
8427 "install-leaf" to "install".
8428
fdc1b7d3
OH
84292012-05-24 Olivier Hainque <hainque@adacore.com>
8430
8431 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
8432 Use a separate command for stamp removals.
8433
07ba94b9
AP
84342012-05-21 Andrew Pinski <apinski@cavium.com>
8435
8436 PR bootstrap/53183
8437 * configure.ac: Define the default includes to being none.
8438 * configure: Regenerate.
8439
4677d2eb
OH
84402012-05-16 Olivier Hainque <hainque@adacore.com>
8441
8442 * Makefile.in (install-unwind_h): Rename into ...
8443 (install-unwind_h-forbuild): New target.
8444 (all): Use it instead of the former install-unwind_h.
8445 (install-unwind_h): Reinstate, copy to user install destination
8446 for include files, not to the internal gcc object directory one.
8447 (install-leaf): Depend on it.
8448
7d67c380
OH
84492012-05-15 Olivier Hainque <hainque@adacore.com>
8450
8451 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
8452 register numbers. LR_REGNO replaces R_LR.
8453 (ucontext_for): New, helper for ...
8454 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
8455 and 5.3 of ...
8456 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
8457
aca06c90
RO
84582012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8459
8460 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
8461 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
8462 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
8463 i386/t-cpuinfo ...
8464 (i[34567]86-*-*, x86_64-*-*): ... here.
8465
8466 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
8467 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
8468
8469 * config/i386/i386-cpuinfo.c: Rename to ...
8470 * config/i386/cpuinfo.c: ... this.
8471 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
8472
8473 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
8474 (libgcc_cv_init_priority): New test.
8475 * configure: Regenerate.
8476 * config.in: New file.
8477 * Makefile.in (clean): Rename config.h to auto-target.h.
8478 (config.h): Likewise.
8479 (stamp-h): Likewise.
8480
8481 * config/i386/cpuinfo.c (auto-target.h): Include.
8482 (CONSTRUCTOR_PRIORITY): Define.
8483 (__cpu_indicator_init): Use it.
8484
0d03ac1b
L
84852012-05-09 H.J. Lu <hongjiu.lu@intel.com>
8486
8487 * longlong.h: Use a URL instead of an FSF postal address.
8488 Replace spaces with tab.
8489
4a172156 84902012-05-08 Teresa Johnson <tejohnson@google.com>
4e8ee9cb
TJ
8491
8492 * libgcov.c (gcov_clear, __gcov_reset): New functions.
8493 (__gcov_dump): Ditto.
8494 (gcov_dump_complete): New global variable.
8495 (gcov_exit): Export hidden to enable use in L_gcov_dump.
8496 (__gcov_flush): Outline functionality now in gcov_clear.
8497 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
8498
e4bb767e
AJ
84992012-04-28 Aurelien Jarno <aurelien@aurel32.net>
8500
31a18a7e
ILT
8501 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
8502 (mips*-*-linux*): Include mips/t-tpbit when long double is
8503 16 bytes long.
e4bb767e 8504
5ddecff9
ST
85052012-04-25 Sriraman Tallam <tmsriram@google.com>
8506
8507 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
8508 (get_available_features): New argument. Check for AVX2.
8509 (__cpu_indicator_init): Modify call to get_available_features.
8510
b427dd7a
AM
85112012-04-25 Alan Modra <amodra@gmail.com>
8512
8513 * config/rs6000/crtsavevr.S: New file.
8514 * config/rs6000/crtrestvr.S: New file.
8515 * config/rs6000/t-savresfgpr: Build the above.
8516 * config/rs6000/t-netbsd: Likewise.
8517
ad491329
ST
85182012-04-24 Sriraman Tallam <tmsriram@google.com>
8519
8520 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
8521
792317cc
ST
85222012-04-24 Sriraman Tallam <tmsriram@google.com>
8523
8524 * libgcc/config/i386/i386-cpuinfo.c: New file.
8525 * libgcc/config/i386/t-cpuinfo: New file.
8526 * libgcc/config.host: Include t-cpuinfo.
8527 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
8528
e1be98a4
CF
85292012-04-24 Chao-ying Fu <fu@mips.com>
8530
8531 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
8532
1bde7dab
TS
85332012-04-20 Thomas Schwinge <thomas@codesourcery.com>
8534
8535 struct siginfo vs. siginfo_t
8536
8537 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
8538 siginfo_t instead of struct siginfo.
8539 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
8540 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
8541 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
8542 (ia64_handle_unwabi): Likewise.
8543 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
8544 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
8545 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
8546 (sh_fallback_frame_state): Likewise.
8547 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
8548 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
8549
24590f66
L
85502012-04-02 H.J. Lu <hongjiu.lu@intel.com>
8551
8552 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
8553 system call number.
8554
9a9dcce8
EB
85552012-03-31 Eric Botcazou <ebotcazou@adacore.com>
8556
8557 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
8558 if it hasn't been previously saved.
8559
6401aaf5
L
85602012-03-29 H.J. Lu <hongjiu.lu@intel.com>
8561
8562 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
8563 only for glibc.
8564
7fd6378e
GJL
85652012-03-28 Georg-Johann Lay <avr@gjlay.de>
8566
8567 PR target/52737
8568 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
8569 instead of __AVR_HAVE_8BIT_SP__.
8570
9e916de7
TG
85712012-03-26 Tristan Gingold <gingold@adacore.com>
8572
8573 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
8574 (unw_table_entry): Use unw_word instead of unsigned long.
8575 (_Unwind_FindTableEntry): Likewise.
8576 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
8577 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
8578 (_Unwind_FindTableEntry): Likewise.
8579 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
8580 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
8581 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
8582 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
8583 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
8584 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
8585 (uw_init_context_1, uw_install_context): Likewise.
8586 (unw_word): Move to unwind-ia64.h
8587
4b12e93d
TG
85882012-03-26 Tristan Gingold <gingold@adacore.com>
8589
8590 * config/vms/vms-ucrt0.c: Update copyright years.
8591 Add a sanity check.
8592 (___gcc_main_flags): Declare.
8593 (__main): Check flags to remap argv and exit code.
8594 * config.host (*-*-*vms*): Adjust extra_parts.
8595 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
8596 (crt0.o): Add.
8597
06ea7371
RE
85982012-03-22 Richard Earnshaw <rearnsha@arm.com>
8599
8600 * arm/lib1funcs.asm (ctzsi2): New function.
8601 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
8602 * arm/t-linux (LIB1ASMFUNCS): Likewise.
8603 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
8604 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
8605 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
8606 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
8607
d82ad50d
AT
86082012-03-21 Andreas Tobler <andreast@fgznet.ch>
8609
8610 * config.host: Add bits to support powerpc64-*-freebsd*.
8611 * config/rs6000/freebsd-unwind.h: New file.
8612 * config/rs6000/t-freebsd64: New file.
8613
b260a8c0
RG
86142012-03-20 Richard Guenther <rguenther@suse.de>
8615
8616 PR gcov-profile/52627
8617 * libgcov.c (init_mx): Fix mutex name.
8618
86286a8a
TG
86192012-03-16 Tristan Gingold <gingold@adacore.com>
8620
8621 * config/ia64/vms-unwind.h: Remove ulong (and replace
8622 it by unw_reg where used). Define unw_reg with __int64.
8623
7888f266
RO
86242012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8625
8626 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
8627 Solaris 8 handling.
8628 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
8629 Solaris 8 handling.
8630 (sparc_is_sighandler): Likewise.
8631
f155bc64
L
86322012-03-13 H.J. Lu <hongjiu.lu@intel.com>
8633
8634 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
8635 <= saved reg size.
8636
d47657bd
RO
86372012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8638
8639 * config/arm/crtn.S: Fix typo.
8640
5bef73a1
RG
86412012-03-13 Richard Guenther <rguenther@suse.de>
8642
8643 * libgcov.c: Remove stdio.h include and NULL un-define.
8644
9c4271f3
RG
86452012-03-13 Richard Guenther <rguenther@suse.de>
8646
8647 PR target/52569
8648 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
8649
c6d10e7c
RG
86502012-03-13 Richard Guenther <rguenther@suse.de>
8651
8652 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
8653
074a385f
RG
86542012-03-13 Richard Guenther <rguenther@suse.de>
8655
8656 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
8657 and __gthread_mutex_init_function definitions.
8658
c4bc5c25
RO
86592012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8660
8661 * config.host (mips*-*-openbsd*): Remove.
8662
5c30094f
RO
86632012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8664
8665 * config.host: Remove alpha*-dec-osf5.1* handling.
8666 * config/alpha/gthr-posix.c: Remove.
8667 * config/alpha/libgcc-osf5.ver: Remove.
8668 * config/alpha/osf5-unwind.h: Remove.
8669 * config/alpha/t-osf-pthread: Remove.
8670 * config/alpha/t-slibgcc-osf: Remove.
8671 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
8672 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
8673 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
8674 * mkmap-flat.awk: Remove osf_export handling.
8675
33e3e24d
RG
86762012-03-12 Richard Guenther <rguenther@suse.de>
8677
8678 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
8679 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
8680 (__gthread_mutex_init_function): New function.
8681 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
8682
8683 PR gcov/49484
8684 * libgcov.c: Include gthr.h.
8685 (__gcov_flush_mx): New global variable.
8686 (init_mx, init_mx_once): New functions.
8687 (__gcov_flush): Protect self with a mutex.
8688 (__gcov_fork): Re-initialize mutex after forking.
8689 * unwind-dw2-fde.c: Change condition under which to use
8690 __GTHREAD_MUTEX_INIT_FUNCTION.
8691
d8aba32a
TG
86922012-03-12 Tristan Gingold <gingold@adacore.com>
8693
8694 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
8695 * config/ia64/t-vms: Likewise.
8696
75ffafdc
MH
86972012-03-11 Michael Hope <michael.hope@linaro.org>
8698
4a172156
UB
8699 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
8700 for Thumb-2.
75ffafdc 8701
ef6c2c53
WL
87022012-03-07 Walter Lee <walt@tilera.com>
8703
8704 * config/tilepro/atomic.c: Rename "atomic_" prefix to
8705 "arch_atomic_".
8706 (atomic_xor): Rename and move definition to
8707 config/tilepro/atomic.h.
8708 (atomic_nand): Ditto.
8709 * config/tilepro/atomic.h: Rename "atomic_" prefix to
8710 "arch_atomic_".
8711 (arch_atomic_xor): Move from config/tilepro/atomic.c.
8712 (arch_atomic_nand): Ditto.
8713
4e30d980
GJL
87142012-03-07 Georg-Johann Lay <avr@gjlay.de>
8715
8716 PR target/52507
8717 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
8718
61108225
GJL
87192012-03-07 Georg-Johann Lay <avr@gjlay.de>
8720
8721 PR target/52505
8722 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
8723 from RAM.
8724
b30e10ab
GJL
87252012-03-07 Georg-Johann Lay <avr@gjlay.de>
8726
8727 PR target/52461
8728 PR target/52508
8729 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
8730 if RAMPZ affects reading from RAM.
8731 (__tablejump_elpm__): Ditto.
8732 (.xload): Ditto.
8733 (__movmemx_hi): Ditto.
8734 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
8735 (__do_global_dtors): Ditto.
8736 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
8737 (__movmemx_hi): Ditto.
8738
8993fde4
RH
87392012-03-05 Richard Henderson <rth@redhat.com>
8740
8741 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
8742 [ARM] (count_trailing_zeros): Use the builtin.
8743
b7633ee3
KT
87442012-03-01 Kai Tietz <ktietz@redhat.com>
8745
8746 * soft-fp: Imported from glibc upstream.
8747
fbd3340c
KT
87482012-02-28 Kai Tietz <ktietz@redhat.com>
8749
8750 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
8751 for mingw-targets as attribute gcc_struct.
8752
e9e053eb
ILT
87532012-02-28 Ian Lance Taylor <iant@google.com>
8754
8755 * generic-morestack.c (__splitstack_releasecontext): Correct call
8756 to __morestack_release_segments.
8757
d80c632e
ST
87582012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
8759
8760 PR target/52390
8761 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
8762 for __linux__ when removing signals from __morestack_fullmask.
8763
0253a8b1
GJL
87642012-02-23 Georg-Johann Lay <avr@gjlay.de>
8765
8766 PR target/52261
8767 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
8768
e10e461e
UW
87692012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8770
8771 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
8772 instead of HAVE_INITFINI_ARRAY.
8773 * config/ia64/crtend.S: Likewise.
8774
0c0c6398
KT
87752012-02-20 Kai Tietz <ktietz@redhat.com>
8776
d7470374
KT
8777 PR libstdc++/52300
8778 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
8779
0c0c6398
KT
8780 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
8781 to w32-unwind.h header.
8782
78c27266
RS
87832012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
8784
8785 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
8786 (mips*-*-linux*): Remove t-slibgcc-libgcc.
8787 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
8788 * config/mips/mips16.S (__mips16_rdhwr): Delete.
8789
5adeb246
RS
87902012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
8791
8792 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
8793
672ed313
IS
87942012-02-15 Iain Sandoe <iains@gcc.gnu.org>
8795
8796 PR libitm/52220
8797 * config/darwin-crt-tm.c: Correct typo.
e9e053eb 8798
e948a1fb
IS
87992012-02-15 Iain Sandoe <iains@gcc.gnu.org>
8800 Patrick Marlier <patrick.marlier@gmail.com>
8801
8802 PR libitm/52220
8803 * config/darwin-crt-tm.c: Generate dummy functions.
8804
6017aed3
IS
88052012-02-15 Iain Sandoe <iains@gcc.gnu.org>
8806 Patrick Marlier <patrick.marlier@gmail.com>
8807
8808 PR libitm/52042
8809 * config/darwin-crt-tm.c (getTMCloneTable): New function.
8810 (__doTMRegistrations): Call it.
e9e053eb 8811 (__doTMdeRegistrations): Likewise.
6017aed3 8812
2da8c1ad 88132012-01-15 Georg-Johann Lay <avr@gjlay.de>
7d296953
JJ
8814 Anatoly Sokolov <aesok@post.ru>
8815 Eric Weddington <eric.weddington@atmel.com>
2da8c1ad
GJL
8816
8817 PR target/52261
8818 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
8819 (__epilogue_restores__): Ditto.
8820
0f952eb4
EB
88212012-02-15 Eric Botcazou <ebotcazou@adacore.com>
8822
8823 PR target/51921
8824 PR target/52205
8825 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
8826 Solaris 11 and slightly reformat.
8827 (sparc_is_sighandler): Likewise.
8828
dd552284
WL
88292012-02-14 Walter Lee <walt@tilera.com>
8830
8831 * config.host: Handle tilegx and tilepro.
8832 * config/tilegx/sfp-machine.h: New file.
8833 * config/tilegx/sfp-machine32.h: New file.
8834 * config/tilegx/sfp-machine64.h: New file.
8835 * config/tilegx/t-crtstuff: New file.
8836 * config/tilegx/t-softfp: New file.
8837 * config/tilegx/t-tilegx: New file.
8838 * config/tilepro/atomic.c: New file.
8839 * config/tilepro/atomic.h: New file.
8840 * config/tilepro/linux-unwind.h: New file.
8841 * config/tilepro/sfp-machine.h: New file.
8842 * config/tilepro/softdivide.c: New file.
8843 * config/tilepro/softmpy.S: New file.
8844 * config/tilepro/t-crtstuff: New file.
8845 * config/tilepro/t-tilepro: New file.
8846
b59cbd50
JW
88472012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
8848
8849 PR libstdc++/51296
8850 PR libstdc++/51906
8851 * gthr-posix.h: Allow static initializer macros to be disabled.
8852 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
8853
6caf807f
CLT
88542012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
8855
8856 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
8857 Add t-slibgcc-libgcc to tmake_file.
8858 * config/mips/libgcc-mips16.ver: Revert previous patch.
8859 * config/mips/mips16.S (__mips16_rdhwr): Hide.
8860
7d296953
JJ
88612012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
8862 Jayant R Sonar <jayant.sonar@kpitcummins.com>
b25364a0
S
8863
8864 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
8865 * config/cr16/crti.S: New file.
8866 * config/cr16/crtlibid.S: New file.
8867 * config/cr16/crtn.S: New file.
8868 * config/cr16/lib1funcs.S: New file.
8869 * config/cr16/t-cr16: New file.
8870 * config/cr16/t-crtlibid: New file.
8871 * config/cr16/unwind-dw2.h: New file.
8872 * config/cr16/unwind-cr16.c: New file.
8873 * config/cr16/divmodhi3.c: New file.
8874
8ef03aa7
AM
88752012-01-25 Alan Modra <amodra@gmail.com>
8876
8877 * config/rs6000/t-linux64: Delete. Move..
8878 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
8879 * config/rs6000/t-linux: ..and libgcc flags to here.
8880
daecebc8
DR
88812012-01-22 Douglas B Rupp <rupp@gnat.com>
8882
8883 * config.host (i[34567]86-*-interix3*):
8ef03aa7 8884 Change triplet to i[34567]86-*-interix[3-9]*.
daecebc8
DR
8885 * configure: Regenerate.
8886
ddaf8125
RS
88872012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
8888 Richard Sandiford <rdsandiford@googlemail.com>
8889
8890 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
8891 * config/mips/mips16.S (__mips16_rdhwr): New function.
8892 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
8893
2cd8b32c
NS
88942012-01-11 Nathan Sidwell <nathan@acm.org>
8895
8896 * libgcov.c (__gcov_init): Ignore objects with no functions.
8897
cba300dd
GJL
88982012-01-10 Georg-Johann Lay <avr@gjlay.de>
8899
8900 PR target/49868
8901 Extend __pgmx semantics to linearize memory.
8902 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
8903 * config/avr/lib1funcs.S (__xload_1): New function.
8904 (__movmemx_qi, __movmemx_hi): New functions.
8905 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
8906 semantics.
9ffaf4bc 8907
3d137660
EB
89082012-01-09 Eric Botcazou <ebotcazou@adacore.com>
8909
8910 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
8911 purported sigacthandler address isn't null before dereferencing it.
8912 (sparc_is_sighandler): Likewise.
8913
bf4db96c
EB
89142012-01-09 Eric Botcazou <ebotcazou@adacore.com>
8915
8916 PR ada/41929
8917 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
8918 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
8919 (sparc_is_sighandler): Likewise.
8920 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
8921
1ab3568b
TG
89222012-01-06 Tristan Gingold <gingold@adacore.com>
8923
8924 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
8925 compatibility thunks...
8926 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
8927 (crtbeginS.o, crtendS.o): ... and these to ...
8928 * config/ia64/t-ia64-elf: ... this new file.
8929 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
8930 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
8931
925b0ed8
AK
89322012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8933
8934 * configure: Regenerate.
8935 * config/s390/t-crtstuff: Remove -fPIC.
8936
a99ad737
JW
89372012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
8938
8939 PR bootstrap/51006
8940 * enable-execute-stack-mprotect.c (getpagesize): Do not define
8941 for NetBSD.
8942
884f56d1
GJL
89432012-01-02 Georg-Johann Lay <avr@gjlay.de>
8944
8945 PR target/51345
8946 * config/avr/lib1funcs.S: Remove FIXME comments.
8947 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
8948
8c57e547
GJL
89492012-01-02 Georg-Johann Lay <avr@gjlay.de>
8950
8951 Implement light-weight DImode support.
8952 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
8953 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
8954 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
8955 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
8956
04dbc287
NS
89572011-12-30 Nathan Sidwell <nathan@acm.org>
8958
8959 * libgcov.c (gcov_crc32): Remove global var.
8960 (free_fn_data): New function.
8961 (buffer_fn_data): Pass in filename, more robust error recovery.
8962 (crc32_unsigned): New function.
8963 (gcov_exit): More robust detection of new program. More robust
8964 error recovery.
8965 (__gcov_init): Do not update program's crc here.
8966
8e1d97d4
TG
89672011-12-21 Tristan Gingold <gingold@adacore.com>
8968
8969 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
8970
9ffaf4bc
ILT
89712011-12-21 Ian Lance Taylor <iant@google.com>
8972
8973 * config/i386/morestack.S: Simplify CFI opcodes throughout.
8974
a0c8d0c1
ILT
89752011-12-20 Ian Lance Taylor <iant@google.com>
8976
8977 * config/i386/morestack.S (__morestack_non_split): If there is
8978 enough stack space already, don't split. Ask for more stack space
8979 than we required.
8980
69048898
SDJ
89812011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
8982
8983 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
8984 `sys/sdt.h'.
8985 (_Unwind_DebugHook): New function.
8986 (uw_restore_core_regs): New define.
8987 (unwind_phase2): Use uw_restore_core_regs instead of
8988 restore_core_regs.
8989 (unwind_phase2_forced): Likewise.
8990 (__gnu_Unwind_Resume): Likewise.
8991
1bb4b6a3
UB
89922011-12-20 Uros Bizjak <ubizjak@gmail.com>
8993
8994 * config/alpha/linux-unwind.h: Update copyright years.
8995 (MD_FROB_UPDATE_CONTEXT): New define.
8996 (alpha_frob_update_context): New function.
8997
eb028768
RS
89982011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
8999
9000 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
9001 tmake_file rather replacing it.
9002
6a2045bf
IS
90032011-12-15 Iain Sandoe <iains@gcc.gnu.org>
9004
9005 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1bb4b6a3 9006 function is not used for PPC64.
6a2045bf
IS
9007 (save_world): Amend comments. Update the VRsave mask to reflect the
9008 saved regs.
9009 (rest_world): Update comments, do not clobber r10, do not use r8.
9010 (eh_rest_world_r10): Amend comments, do not use r8.
9011 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
9012 no longer used, move restore of CR and target address to the end of
9013 the routine.
9014
a13780a6
L
90152011-12-14 H.J. Lu <hongjiu.lu@intel.com>
9016
9017 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
9018 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
9019
d7288dfb
GJL
90202011-12-14 Georg-Johann Lay <avr@gjlay.de>
9021
9022 PR target/49313
9023 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
9024 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
9025
8d2c862d
EB
90262011-12-11 Eric Botcazou <ebotcazou@adacore.com>
9027
9028 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
9029
3447cae6
GJL
90302011-12-09 Georg-Johann Lay <avr@gjlay.de>
9031
9032 PR target/49313
9033 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
9034 * config/avr/lib1funcs.S (__muldi3): New function.
9035
806fc6aa
AP
90362011-12-06 Andrew Pinski <apinski@cavium.com>
9037
9038 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
9039 size of func_ptr.
9040 (__frame_dummy_init_array_entry): Likewise.
9041
28c5e6b5
GJL
90422011-12-06 Georg-Johann Lay <avr@gjlay.de>
9043
9044 Forward-port from gcc-4_6-branch r181936 2011-12-02.
9045
9046 PR target/51345
9047 PR target/51002
9048 * config/avr/lib1funcs.S (__prologue_saves__,
9049 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
9050 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
9051
8f90394a
IS
90522011-12-04 Iain Sandoe <iains@gcc.gnu.org>
9053
9054 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
9055
06dd33ac
JDA
90562011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9057
9058 PR other/51272
9059 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
9060 (_ITM_deregisterTMCloneTable): Likewise.
9061 (__register_frame_info): Fix unused warning.
9062 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
9063 pthread_default_stacksize_np): Likewise.
9064 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1bb4b6a3 9065
85b8555e
DD
90662011-11-29 DJ Delorie <dj@redhat.com>
9067
9068 * config.host (rl78-*-elf): New case.
9069 * config/rl78: New directory for the Renesas RL78.
9070
4d5ae4ea
BS
90712011-11-29 Bernd Schmidt <bernds@codesourcery.com>
9072
9073 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
9074 formatting.
9075
f9c55897
RO
90762011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9077
9078 PR other/51022
9079 * config/rs6000/t-savresfgpr: New file.
9080 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
9081 $(srcdir)/config/rs6000/eabi.S.
9082 * config/rs6000/t-ppccomm-ldbl: Remove.
9083 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
9084 tmake_file.
9085 (powerpc-*-eabispe*): Likewise.
9086 (powerpc-*-eabi*): Likewise.
9087 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9088 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
9089 to tmake_file, remove rs6000/t-ppccomm-ldbl.
9090 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
9091 tmake_file.
9092 (powerpc-*-eabisim*): Likewise.
9093 (powerpc-*-elf*): Likewise.
9094 (powerpc-*-eabialtivec*): Likewise.
9095 (powerpc-xilinx-eabi*): Likewise.
9096 (powerpc-*-rtems*): Likewise.
9097 (powerpcle-*-elf*): Likewise.
9098 (powerpcle-*-eabisim*): Likewise.
9099 (powerpcle-*-eabi*): Likewise.
9100
a01207c4
ILT
91012011-11-27 Ian Lance Taylor <iant@google.com>
9102
9103 * generic-morestack.c (__splitstack_find): Check for NULL old
9104 stack value.
9105 (__splitstack_resetcontext): New function.
9106 (__splitstack_releasecontext): New function.
9107 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
9108
2b0b8ab2
IS
91092011-11-27 Iain Sandoe <iains@gcc.gnu.org>
9110
9111 * config/darwin-crt-tm.c: Correct comments, use correct licence.
9112
c1d8101c
IS
91132011-11-27 Iain Sandoe <iains@gcc.gnu.org>
9114
9115 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
9116
8b281334
RH
91172011-11-26 Richard Henderson <rth@redhat.com>
9118
9119 * config/m68k/linux-atomic.c: New file.
9120 * config/m68k/t-linux: New file.
9121 * config.host (m68k-uclinux, m68k-linux): Use it.
9122
7546aa9d
RH
91232011-11-26 Richard Henderson <rth@redhat.com>
9124
9125 * crtstuff.c (__TMC_LIST__): Mark used not unused.
9126 (__TMC_END__): Only declare if hidden is available; in the definition,
9127 if hidden is unavailable add a null record.
9128 (deregister_tm_clones, register_tm_clones): New.
9129 (__do_global_dtors_aux, frame_dummy): Use them.
9130 (__do_global_dtors, __do_global_ctors_1): Likewise.
9131
e2362f5d
IS
91322011-11-22 Iain Sandoe <iains@gcc.gnu.org>
9133
9134 * config/darwin-crt-tm.c: New file.
9135 * config.host (darwin): Build crttms.o crttme.o to provide
9136 startup and shutdown for tm clones.
9137 * config/t-darwin (crttms.o): New build rule.
9138 (crttme.o): Likewise.
9139
6685dd96
HPN
91402011-11-21 Hans-Peter Nilsson <hp@axis.com>
9141
9142 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
9143 et al.
9144
b0dc7e4c
RH
91452011-11-21 Richard Henderson <rth@redhat.com>
9146
9147 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
9148 (__TMC_LIST__, __TMC_END__): New.
9149 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
9150 (__do_global_dtors): Likewise.
9151 (frame_dummy): Call _ITM_registerTMCloneTable.
9152 (__do_global_ctors_1): Likewise.
9153
d4b4b542
RO
91542011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9155
9156 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
9157 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
9158 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
9159 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
9160 * config/i386/t-darwin64: Remove.
9161 * config/sh/t-netbsd (LIB2ADD): Remove.
9162
989bdb74
GJL
91632011-11-21 Georg-Johann Lay <avr@gjlay.de>
9164
9165 PR target/49313
9166 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
9167 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
9168 * config/avr/lib1funcs.S (wmov): New assembler macro.
9169 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
9170 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
9171 (__udivmod64): New function.
9172 (__negdi2): New function.
9173
515a0cfc
GP
91742011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
9175
9176 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
9177 *-*-freebsd*aout*): Remove.
9178
0115d17f
HPN
91792011-11-20 Hans-Peter Nilsson <hp@axis.com>
9180
9181 * static-object.mk (c_flags-$o): Save c_flags.
9182 ($(base)$(objext)): Use it.
9183
93aeb62b
SE
91842011-11-18 Steve Ellcey <sje@cup.hp.com>
9185
9186 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
9187
7bc6df2c
GJL
91882011-11-18 Georg-Johann Lay <avr@gjlay.de>
9189
9190 PR target/49868
9191 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
9192 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
9193 New functions.
9194
425d737b
MGD
91952011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
9196
9197 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
9198 functions.
1bb4b6a3 9199 (aeabi_uidivmod): Likewise.
425d737b
MGD
9200 (umodsi3): Likewise.
9201 (divsi3): Likewise.
9202 (aeabi_idivmod): Likewise.
9203 (modsi3): Likewise.
9204
f2a176dc
TG
92052011-11-16 Tristan Gingold <gingold@adacore.com>
9206
9207 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
9208
7c209481
GJL
92092011-11-15 Georg-Johann Lay <avr@gjlay.de>
9210
9211 PR target/49868
9212 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
9213 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
9214
9dfd5832
JDA
92152011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9216
9217 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
9218 tmake_file list.
9219 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
9220 * config/pa/t-stublib64: Delete.
9221
f77dca5d
RH
92222011-11-12 Richard Henderson <rth@redhat.com>
9223
9224 * config/rs6000/linux-unwind.h (frob_update_context): Properly
9225 cast the pointer argument to _Unwind_SetGRPtr.
9226
902828f0
RO
92272011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9228
9229 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
9230
e14304ef
ILT
92312011-11-09 Ian Lance Taylor <iant@google.com>
9232
9233 * generic-morestack.c: Include <string.h>.
9234 (uintptr_type): Define.
9235 (struct initial_sp): Add dont_block_signals field. Reduce size of
9236 extra array by 1.
9237 (allocate_segment): Set prev field to NULL. Don't set
9238 __morestack_current_segment or __morestack_segments.
9239 (__generic_morestack): Update current->prev and *pp after calling
9240 allocate_segment.
9241 (__morestack_block_signals): Don't do anything if
9242 dont_block_signals is set.
9243 (__morestack_unblock_signals): Likewise.
9244 (__generic_findstack): Check for initial_sp == NULL. Add casts to
9245 uintptr_type.
9246 (__splitstack_block_signals): New function.
9247 (enum __splitstack_content_offsets): Define.
9248 (__splitstack_getcontext, __splitstack_setcontext): New functions.
9249 (__splitstack_makecontext): New function.
9250 (__splitstack_block_signals_context): New function.
9251 (__splitstack_find_context): New function.
9252 * config/i386/morestack.S (__morestack_get_guard): New function.
9253 (__morestack_set_guard, __morestack_make_guard): New functions.
9254 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
9255
e3d871e4
RO
92562011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9257
9258 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
9259 (i[34567]86-*-mingw*): ... here.
9260 (x86_64-*-mingw*): ... here.
9261
e55cef40
RO
92622011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9263
9264 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
9265
5366b186
NS
92662011-11-07 Nathan Sidwell <nathan@acm.org>
9267
9268 * libgcov.c (struct gcov_fn_buffer): New struct.
9269 (buffer_fn_data): New helper.
9270 (gcov_exit): Rework for new gcov data structures.
9271
74155a6f
GJL
92722011-11-07 Georg-Johann Lay <avr@gjlay.de>
9273
9274 PR target/49313
9275 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
9276
200feb07
RO
92772011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9278
9279 * config.host (tmake_file): Correct comment.
9280 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
9281 t-libgcc-pic.
9282 (bfin*-uclinux*): Likewise.
9283 (bfin*-linux-uclibc*): Likewise.
9284 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
9285
9286 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
9287 assigning.
9288 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9289 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
9290 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9291 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
9292 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9293 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
9294 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
9295 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9296 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
9297 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
9298 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
9299 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
9300 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
9301
9302 * config/bfin/t-elf: Remove.
9303 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
9304
c9cd1a07
RO
93052011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9306
9307 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
9308 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
9309 (lm32-*-elf*, lm32-*-rtems*): Split into ...
9310 (lm32-*-elf*): ... this.
9311 (lm32-*-rtems*): ... and this.
9312 Add to tmake_file.
9313 (m32r-*-rtems*): Add to tmake_file.
9314 (moxie-*-rtems*): Likewise.
9315 (sparc-*-rtems*): Likewise.
9316 Remove t-rtems from tmake_file.
9317 (sparc64-*-rtems*): Likewise.
9318 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
9319 instead.
9320
9fbcc75d
RO
93212011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9322
9323 PR bootstrap/50982
9324 * config/gthr-posix.h: Move ...
9325 * gthr-posix.h: ... here.
9326 * config/gthr-lynx.h: Reflect this.
9327 * config/gthr-vxworks.h: Likewise.
9328 * config/rs6000/gthr-aix.h: Likewise.
9329 * configure.ac (target_thread_file): Likewise.
9330 * configure: Regenerate.
9331
76644b68
SH
93322011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
9333
9334 * config.host (arm*-*-rtemseabi*): New target.
9335
5e490f2a
JDA
93362011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9337
9338 PR other/50991
9339 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
9340 extra-parts.
9341
feeeff5c
JR
93422011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
9343
9344 * config.host (epiphany-*-elf*): New configuration.
9345 * config/epiphany: New Directory.
9346
d618bb2c
RC
93472011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
9348
9349 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
9350 * config/avr/t-rtems: New.
9351 Filter out _exit from LIB1ASMFUNCS.
9352
1bb6f778
DM
93532011-11-04 David S. Miller <davem@davemloft.net>
9354
9355 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
9356 * configure: Rebuild.
9357
9a7f7422
AK
93582011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9359
9360 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
9361 variable.
9362
e4fe948a
GJL
93632011-11-04 Georg-Johann Lay <avr@gjlay.de>
9364
9365 PR target/50931
9366 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
9367 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
9368
7084e037
JS
93692011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
9370
9371 PR target/50989
9372 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
9373
1a032034
RO
93742011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9375
9376 * config/c6x/t-elf (LIB2ADDEH): Set.
9377 * config/c6x/t-c6x-elf: Remove.
9378
d385f772
RO
93792011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9380
9381 * config/i386/sol2-ci.S: Rename to ...
9382 * config/i386/crti.S: ... this.
9383 * config/i386/sol2-cn.S: Rename to ...
9384 * config/i386/crtn.S: ... this.
9385 * config/sparc/sol2-ci.S: Rename to ...
9386 * config/sparc/crti.S: ... this.
9387 * config/sparc/sol2-cn.S: Rename to ...
9388 * config/sparc/crtn.S: ... this.
9389 * config/t-sol2 (CUSTOM_CRTIN): Remove.
9390 (crti.o, crtn.o): Remove.
9391
1ba878a9
TG
93922011-11-04 Tristan Gingold <gingold@adacore.com>
9393
9394 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
9395
02750c15
KK
93962011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
9397
9398 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
9399
bf86b067
HPN
94002011-11-03 Hans-Peter Nilsson <hp@axis.com>
9401
9402 * config.host (crisv32-*-none, cris-*-none): Remove.
9403 (crisv32-*-elf): Append to tmake_file, don't just set it.
9404 (cris-*-elf): Add missing t-fdpbit to tmake_file.
9405
d0bc53bd
RO
94062011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9407
9408 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
9409 (ecrtn$(objext)): Likewise.
9410 (ncrti$(objext)): Likewise.
9411 (ncrtn$(objext)): Likewise.
9412
036da830
AS
94132011-11-03 Andreas Schwab <schwab@redhat.com>
9414
9415 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
9416
d2a7d041
DM
94172011-11-02 David S. Miller <davem@davemloft.net>
9418
9419 * configure.ac: Set host_address on sparc too.
9420 * configure: Regenerate.
9421 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
9422 based upon host_address.
9423 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
9424
af8ed618
JM
94252011-11-02 Jason Merrill <jason@redhat.com>
9426
9427 * config/rs6000/t-ppccomm: Add missing \.
9428
5d1c8e77
RO
94292011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9430
9431 * gthr-single.h, gthr.h: New files.
9432 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
9433 config/gthr-vxworks.h, config/i386/gthr-win32.h,
9434 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
9435 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
9436 * config/i386/gthr-win32.c: Include "gthr-win32.h".
9437 * configure.ac (thread_header): New variable.
9438 Set it depending on target_thread_file.
9439 (gthr-default.h): Link from $thread_header.
9440 * configure: Regenerate.
9441 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
9442
852b75ed
RO
94432011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9444
9445 * configure.ac (tm_file_): New variable.
9446 Determine from tm_file.
9447 (tm_file, tm_defines): Substitute.
9448 * configure: Regenerate.
9449 * mkheader.sh: New file.
9450 * Makefile.in (clean): Remove libgcc_tm.h.
9451 ($(objects)): Depend on libgcc_tm.h.
9452 (libgcc_tm_defines, libgcc_tm_file): New variables.
9453 (libgcc_tm.h, libgcc_tm.stamp): New targets.
9454 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
9455 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
9456 ($(extra-parts)): Depend on libgcc_tm.h.
9457 * config.host (tm_defines, tm_file): New variable.
9458 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
9459 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
9460 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
9461 (avr-*-rtems*): Likewise.
9462 (avr-*-*): Likewise.
9463 (frv-*-elf): Likewise.
9464 (frv-*-*linux*): Likewise.
9465 (h8300-*-rtems*): Likewise.
9466 (h8300-*-elf*): Likewise.
9467 (i[34567]86-*-darwin*): Likewise.
9468 (x86_64-*-darwin*): Likewise.
9469 (rx-*-elf): Likewise.
9470 (tic6x-*-uclinux): Likewise.
9471 (tic6x-*-elf): Likewise.
9472 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
9473 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
9474 * config/i386/cygming-crtbegin.c: Likewise.
9475 * config/i386/cygming-crtend.c: Likewise.
9476 * config/ia64/fde-vms.c: Likewise.
9477 * config/ia64/unwind-ia64.c: Likewise.
9478 * config/libbid/bid_gcc_intrinsics.h: Likewise.
9479 * config/rs6000/darwin-fallback.c: Likewise.
9480 * config/stormy16/lib2funcs.c: Likewise.
9481 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
9482 * crtstuff.c: Likewise.
9483 * dfp-bit.h: Likewise.
9484 * emutls.c: Likewise.
9485 * fixed-bit.c: Likewise.
9486 * fp-bit.c: Likewise.
9487 * generic-morestack-thread.c: Likewise.
9488 * generic-morestack.c: Likewise.
9489 * libgcc2.c: Likewise.
9490 * libgcov.c: Likewise.
9491 * unwind-dw2-fde-dip.c: Likewise.
9492 * unwind-dw2-fde.c: Likewise.
9493 * unwind-dw2.c: Likewise.
9494 * unwind-sjlj.c: Likewise.
9495
f9989b51
RO
94962011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9497
9498 * configure.ac: Include ../config/picflag.m4.
9499 (GCC_PICFLAG): Call it.
9500 Substitute.
9501 * configure: Regenerate.
9502 * Makefile.in (gcc_srcdir): Remove.
9503 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
9504 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
9505 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
9506 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
9507 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
9508 Use $<.
9509 Remove comment.
9510 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
9511 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
9512 to refer to libgcc2.c.
9513 Use $<.
9514 * config/darwin-64.c: New file.
9515 * config/darwin-crt3.c: Remove comment.
9516 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
9517 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
9518 config/udivmodsi4.c: New files.
9519 * config/memcmp.c, config/memcpy.c, config/memmove.c,
9520 config/memset.c: New files.
9521 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
9522 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
9523 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
9524 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
9525 * config/t-openbsd-thread: New file.
9526 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
9527 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
9528 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
9529 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
9530 qrnnd.S.
9531 Adapt filename.
9532 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
9533 to refer to gthr-posix.c.
9534 * config/alpha/t-vms (LIB2ADD): Set.
9535 * config/alpha/vms-gcc_shell_handler.c: New file.
9536 * config/arm/bpabi.c, config/arm/fp16.c,
9537 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
9538 config/arm/unaligned-funcs.c: New files.
9539 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
9540 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
9541 * config/arm/t-linux: Likewise.
9542 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
9543 * config/arm/t-netbsd: New file.
9544 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
9545 * config/arm/t-symbian (LIB2ADD_ST): Set.
9546 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
9547 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9548 * config/bfin/t-elf: New file.
9549 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
9550 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
9551 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
9552 config/c6x/ltf.c: New files.
9553 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
9554 (HOST_LIBGCC2_CFLAGS): Set.
9555 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
9556 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9557 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
9558 New files.
9559 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
9560 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
9561 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
9562 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
9563 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
9564 files.
9565 * config/frv/t-frv (LIB2ADD): Set.
9566 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9567 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
9568 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
9569 config/h8300/popcounthi2.c: New files.
9570 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
9571 * config/i386/gthr-win32.c: New file.
9572 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
9573 * config/i386/t-cygwin: Likewise.
9574 * config/i386/t-darwin, config/i386/t-darwin64,
9575 config/i386/t-gthr-win32, config/i386/t-interix: New files.
9576 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
9577 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9578 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9579 * config/ia64/quadlib.c: New file.
9580 * config/ia64/t-hpux (LIB2ADD): Set.
9581 * config/ia64/t-ia64: Add comment.
9582 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
9583 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9584 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
9585 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
9586 * config/m32c/t-m32c (LIB2ADD): Set.
9587 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
9588 * config/m32r/t-m32r: Likewise.
9589 * config/m68k/fpgnulib.c: New file.
9590 * config/m68k/t-floatlib (LIB2ADD): Set.
9591 (xfgnulib.c): New target.
9592 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
9593 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
9594 * config/mep/t-mep (LIB2ADD): Set.
9595 * config/microblaze/divsi3.asm: Rename to divsi3.S.
9596 * config/microblaze/moddi3.asm: Rename to moddi3.S.
9597 * config/microblaze/modsi3.asm: Rename to modsi3.S.
9598 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
9599 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
9600 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
9601 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
9602 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
9603 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
9604 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
9605 New files.
9606 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
9607 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
9608 * config/pa/fptr.c, config/pa/lib2funcs.S,
9609 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
9610 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
9611 (LIB2ADD, LIB2ADD_ST): Set.
9612 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
9613 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
9614 Set.
9615 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
9616 * config/pdp11/t-pdp11: New file.
9617 * config/picochip/libgccExtras/adddi3.S,
9618 config/picochip/libgccExtras/ashlsi3.S,
9619 config/picochip/libgccExtras/ashrsi3.S,
9620 config/picochip/libgccExtras/clzsi2.S,
9621 config/picochip/libgccExtras/cmpsi2.S,
9622 config/picochip/libgccExtras/divmod15.S,
9623 config/picochip/libgccExtras/divmodhi4.S,
9624 config/picochip/libgccExtras/divmodsi4.S,
9625 config/picochip/libgccExtras/lshrsi3.S,
9626 config/picochip/libgccExtras/parityhi2.S,
9627 config/picochip/libgccExtras/popcounthi2.S,
9628 config/picochip/libgccExtras/subdi3.S,
9629 config/picochip/libgccExtras/ucmpsi2.S,
9630 config/picochip/libgccExtras/udivmodhi4.S,
9631 config/picochip/libgccExtras/udivmodsi4.S: New files.
9632 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
9633 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
9634 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
9635 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
9636 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
9637 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
9638 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
9639 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
9640 files.
9641 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
9642 (HOST_LIBGCC2_CFLAGS): Set.
9643 * config/rs6000/t-darwin64: New file.
9644 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
9645 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
9646 * config/rs6000/t-ppccomm (LIB2ADD): Add
9647 $(srcdir)/config/rs6000/tramp.S.
9648 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
9649 Add $(srcdir)/config/rs6000/eabi.S.
9650 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
9651 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
9652 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
9653 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
9654 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
9655 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
9656 * config/rs6000/tramp.S: New file.
9657 * config/s390/t-tpf: Remove.
9658 * config/sh/linux-atomic.S: New file.
9659 * config/sh/t-linux (LIB2ADD): Set.
9660 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
9661 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
9662 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
9663 to unwind-dw2.c.
9664 (HOST_LIBGCC2_CFLAGS): Set.
9665 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9666 * config/spu/divmodti4.c, config/spu/divv2df3.c,
9667 config/spu/float_disf.c, config/spu/float_unsdidf.c,
9668 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
9669 config/spu/mfc_multi_tag_release.c,
9670 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
9671 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
9672 config/spu/multi3.c: New files.
9673 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
9674 (HOST_LIBGCC2_CFLAGS): Set.
9675 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
9676 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
9677 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
9678 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
9679 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
9680 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
9681 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
9682 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
9683 config/stormy16/umodsi3.c: New files.
9684 * config/xtensa/lib2funcs.S: New file.
9685 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
9686 * config/xtensa/t-xtensa (LIB2ADD): Set.
9687 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
9688 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
9689 Add t-freebsd-thread to tmake_file for posix threads.
9690 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
9691 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
9692 (*-*-lynxos*): Likewise.
9693 (*-*-netbsd*): Likewise.
9694 (*-*-openbsd*): Likewise.
9695 Add t-openbsd-thread to tmake_file for posix threads.
9696 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
9697 (*-*-vxworks*): Set tmake_file.
9698 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
9699 (alpha*-*-freebsd*): Likewise.
9700 (alpha*-*-netbsd*): Likewise.
9701 (alpha*-*-openbsd*): Likewise.
9702 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
9703 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
9704 (alpha*-dec-*vms*): Likewise.
9705 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
9706 (bfin*-elf*): Add bfin/t-elf to tmake_file.
9707 (bfin*-uclinux*): Likewise.
9708 (bfin*-linux-uclibc*): Likewise.
9709 (crisv32-*-elf): Add cris/t-cris to tmake_file.
9710 (crisv32-*-none): Likewise.
9711 (cris-*-elf): Likewise.
9712 (cris-*-none): Likewise.
9713 (cris-*-linux*, crisv32-*-linux*): Likewise.
9714 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
9715 tmake_file.
9716 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
9717 tmake_file.
9718 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
9719 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
9720 (x86_64-*-elf*): Likewise.
9721 (i[34567]86-*-nto-qnx*): Likewise.
9722 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
9723 win32 threads.
9724 (x86_64-*-mingw*): Likewise.
9725 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
9726 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
9727 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
9728 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
9729 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
9730 tmake_file.
9731 (mipsisa64sr71k-*-elf*): Likewise.
9732 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
9733 (mips-*-elf*, mipsel-*-elf*): Likewise.
9734 (mips64-*-elf*, mips64el-*-elf*): Likewise.
9735 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
9736 (mips*-*-rtems*): Likewise.
9737 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
9738 to tmake_file.
9739 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
9740 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
9741 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
9742 (spu-*-elf*): Likewise.
9743 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
9744
45b86625
RO
97452011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9746
9747 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
9748 $(srcdir) to refer to $(LIB1ASMSRC).
9749 Use $<.
9750 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
9751 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
9752 config/arm/lib1funcs.S: New files.
9753 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
9754 * config/arm/t-arm: New file.
9755 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
9756 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
9757 config/arm/t-strongarm-elf: New files.
9758 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
9759 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
9760 * config/avr/lib1funcs.S: New file.
9761 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9762 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
9763 * config/c6x/lib1funcs.S: New file.
9764 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9765 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
9766 * config/frv/lib1funcs.S: New file.
9767 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9768 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
9769 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
9770 * config/ia64/__divxf3.asm: Rename to ...
9771 * config/ia64/__divxf3.S: ... this.
9772 Adapt lib1funcs.asm filename.
9773 * config/ia64/_fixtfdi.asm: Rename to ...
9774 * config/ia64/_fixtfdi.S: ... this.
9775 Adapt lib1funcs.asm filename.
9776 * config/ia64/_fixunstfdi.asm: Rename to ...
9777 * config/ia64/_fixunstfdi.S: ... this.
9778 Adapt lib1funcs.asm filename.
9779 * config/ia64/_floatditf.asm: Rename to ...
9780 * config/ia64/_floatditf.S: ... this.
9781 Adapt lib1funcs.asm filename.
9782 * config/ia64/lib1funcs.S: New file.
9783 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
9784 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9785 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
9786 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
9787 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
9788 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
9789 * config/mep/lib1funcs.S: New file.
9790 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9791 * config/mips/mips16.S: New file.
9792 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9793 * config/pa/milli64.S: New file.
9794 * config/pa/t-linux, config/pa/t-linux64: New files.
9795 * config/picochip/lib1funcs.S: New file.
9796 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9797 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
9798 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
9799 * config/sh/t-netbsd: New file.
9800 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
9801 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
9802 * config/sh/t-sh64: New file.
9803 * config/sparc/lb1spc.S: New file.
9804 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
9805 filename.
9806 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
9807 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
9808 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
9809 config/xtensa/lib1funcs.S: New files.
9810 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9811 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
9812 tmake_file.
9813 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
9814 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
9815 (arm*-*-linux*): Likewise.
9816 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
9817 arm*-*-linux-*eabi, add arm/t-linux otherwise.
9818 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
9819 (arm*-*-ecos-elf): Likewise.
9820 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
9821 (arm*-*-rtems*): Likewise.
9822 (arm*-*-elf): Likewise.
9823 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
9824 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
9825 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
9826 (bfin*-uclinux*): Likewise.
9827 (bfin*-linux-uclibc*): Likewise.
9828 (bfin*-rtems*): Likewise.
9829 (bfin*-*): Likewise.
9830 (fido-*-elf): Merge into m68k-*-elf*.
9831 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
9832 (frv-*-*linux*): Add frv/t-frv to tmake_file.
9833 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
9834 (h8300-*-elf*): Likewise.
9835 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
9836 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
9837 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
9838 (i[34567]86-*-mingw*): Likewise.
9839 (x86_64-*-mingw*): Likewise.
9840 (i[34567]86-*-interix3*): Likewise.
9841 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
9842 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
9843 (m68k-*-elf*): Also handle fido-*-elf.
9844 Add m68k/t-floatlib to tmake_file.
9845 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
9846 (m68k-*-linux*): Likewise.
9847 (m68k-*-rtems*): Likewise.
9848 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
9849 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
9850 sh64*-*-*.
9851 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
9852 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
9853 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
9854 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
9855 sh/t-netbsd to tmake_file.
9856 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
9857 (sh-*-rtems*): Add sh/t-sh to tmake_file.
9858 (sh-wrs-vxworks): Likewise.
9859 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
9860 *-leon[3-9]*.
9861 (v850*-*-*): Add v850/t-v850 to tmake_file.
9862 (vax-*-linux*): Add vax/t-linux to tmake_file.
9863 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
9864
5f73c6cc
RO
98652011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9866
9867 * crtstuff.c: New file.
9868 * Makefile.in (CRTSTUFF_CFLAGS): Define.
9869 (CRTSTUFF_T_CFLAGS): Define.
9870 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
9871 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
9872 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
9873 crtstuff.c.
9874 Use $<.
9875 (crtbeginT.o): Use $(objext).
9876 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
9877 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
9878 (gcc-extra-parts): Remove.
9879 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
9880 Set extra_parts.
9881 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9882 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
9883 Add t-crtstuff-pic to tmake_file.
9884 (*-*-lynxos*): New case.
9885 Set tmake_file, extra_parts.
9886 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
9887 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
9888 *-*-netbsdelf[2-9]*.
9889 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
9890 (*-*-rtems*): Set extra_parts.
9891 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
9892 (*-*-uclinux*): New case.
9893 Set extra_parts.
9894 (*-*-vms*): New case.
9895 Set tmake_file, extra_parts.
9896 (*-*-elf): Set extra_parts.
9897 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
9898 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
9899 vms/t-vms64.
9900 Set extra_parts.
9901 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
9902 Set extra_parts.
9903 (arm*-*-freebsd*): Add t-crtin to tmake_file.
9904 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
9905 (arm-wrs-vxworks): Append to tmake_file.
9906 Set extra_parts.
9907 (arm*-*-uclinux*): Set extra_parts.
9908 (arm*-*-ecos-elf): Likewise.
9909 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
9910 arm*-*-eabi*.
9911 (arm*-*-rtems*): Set extra_parts.
9912 (arm*-*-elf): Likewise.
9913 (avr-*-rtems*): Clear extra_parts.
9914 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
9915 Set extra_parts.
9916 (bfin*-uclinux*): Likewise.
9917 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
9918 (bfin*-rtems*): Append to tmake_file.
9919 Set extra_parts.
9920 (bfin*-*): Likewise.
9921 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
9922 (crisv32-*-elf): ... this.
9923 (crisv32-*-none): ... this.
9924 (cris-*-elf, cris-*-none): New cases.
9925 Add cris/t-elfmulti to tmake_file.
9926 (fr30-*-elf): Append to tmake_file.
9927 Set extra_parts.
9928 (frv-*-elf): Append to tmake_file, add frv/t-frv.
9929 Set extra_parts.
9930 (h8300-*-rtems*): Append to tmake_file.
9931 Set extra_parts.
9932 (h8300-*-elf*): Likewise.
9933 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
9934 Set extra_parts.
9935 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
9936 Set extra_parts.
9937 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
9938 (x86_64-*-elf*): Likewise.
9939 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
9940 (x86_64-*-freebsd*): Likewise.
9941 (x86_64-*-netbsd*): Likewise.
9942 (i[34567]86-*-linux*): Likewise.
9943 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
9944 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
9945 (x86_64-*-linux*): Likewise.
9946 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
9947 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
9948 tmake_file.
9949 Set extra_parts.
9950 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
9951 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
9952 Append to extra_parts, remove crtbegin.o, crtend.o.
9953 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
9954 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
9955 crtend.o, crtbeginS.o, crtendS.o.
9956 (ia64*-*-linux*): Comment extra_parts.
9957 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
9958 Set extra_parts.
9959 (iq2000*-*-elf*): Clear extra_parts.
9960 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
9961 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
9962 (m32r-*-elf*, m32r-*-rtems*): Split off ...
9963 (m32r-*-rtems*): ... this.
9964 Add m32r/t-m32r to tmake_file.
9965 (m68k-*-elf*): Add t-crtin to tmake_file.
9966 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
9967 (mcore-*-elf): Likewise.
9968 (microblaze*-*-*): Set extra_parts.
9969 (mips*-sde-elf*): New case.
9970 Set tmake_file, extra_parts.
9971 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
9972 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
9973 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
9974 tmake_file.
9975 Set extra_parts.
9976 (mipsisa64sr71k-*-elf*): Likewise.
9977 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
9978 (mips-*-elf*, mipsel-*-elf*): Likewise.
9979 (mips64-*-elf*, mips64el-*-elf*): Likewise.
9980 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
9981 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
9982 (mips*-*-rtems*): Likewise.
9983 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
9984 (moxie-*-*): Split into ...
9985 (moxie-*-elf, moxie-*-uclinux*): ... this.
9986 Add to extra_parts, remove crtbegin.o, crtend.o.
9987 (moxie-*-rtems*): New case.
9988 Set tmake_file.
9989 Clear extra_parts.
9990 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
9991 Set extra_parts.
9992 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
9993 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
9994 tmake_file.
9995 Set extra_parts.
9996 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
9997 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
9998 Set extra_parts.
9999 (powerpc-*-eabisim*): Likewise.
10000 (powerpc-*-elf*): Likewise.
10001 (powerpc-*-eabialtivec*): Likewise.
10002 (powerpc-xilinx-eabi*): Likewise.
10003 (powerpc-*-eabi*): Likewise.
10004 (powerpc-*-rtems*): Likewise.
10005 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
10006 tmake_file.
10007 Set extra_parts.
10008 (powerpc-*-lynxos*): Add to tmake_file.
10009 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
10010 rs6000/t-crtstuff, t-crtstuff-pic.
10011 Set extra_parts.
10012 (powerpcle-*-eabisim*): Likewise.
10013 (powerpcle-*-eabi*): Likewise.
10014 (rx-*-elf): Remove extra_parts.
10015 (s390x-ibm-tpf*): Set extra_parts.
10016 (score-*-elf): Set extra_parts.
10017 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10018 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10019 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10020 (sh64l*-*-netbsd*): Split into ...
10021 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
10022 Add t-crtstuff-pic to tmake_file.
10023 Set extra_parts.
10024 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
10025 Set extra_parts.
10026 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
10027 (sparc-*-elf*): Remove t-crtin from tmake_file.
10028 Add to extra_parts, remove crtbegin.o, crtend.o.
10029 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
10030 (sparc64-*-linux*): Likewise.
10031 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
10032 Add to extra_parts, remove crtbegin.o, crtend.o.
10033 (sparc64-*-elf*): Remove t-crtin from tmake_file.
10034 Add to extra_parts, remove crtbegin.o, crtend.o.
10035 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
10036 Add to extra_parts, remove crtbegin.o, crtend.o.
10037 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
10038 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
10039 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
10040 Set extra_parts.
10041 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
10042 Set extra_parts.
10043 (tic6x-*-*): Change to ...
10044 (tic6x-*-elf): ... this.
10045 Set extra_parts.
10046 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
10047 Set extra_parts.
10048 (am33_2.0-*-linux*): Add comment.
10049 (mep*-*-*): Add mep/t-mep to tmake_file.
10050 Set extra_parts.
10051 * config/alpha/t-vms: New file.
10052 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
10053 * config/arm/crti.S, config/arm/crtn.S: New files.
10054 * config/bfin/crti.S, config/bfin/crtn.S: New files.
10055 * config/bfin/crtlibid.S: New file.
10056 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
10057 * config/c6x/crti.S, config/c6x/crtn.S: New files.
10058 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
10059 (crti.o, crtin.o): New rules.
10060 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
10061 * config/c6x/t-uclinux: New file.
10062 * config/cris/t-elfmulti: New file.
10063 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
10064 * config/fr30/crti.S, config/fr30/crtn.S: New files.
10065 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
10066 * config/frv/t-frv: New file.
10067 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
10068 * config/h8300/crti.S, config/h8300/crtn.S: New files.
10069 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
10070 New files.
10071 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
10072 refer to cygming-crtbegin.c, cygming-crtend.c.
10073 Use $<.
10074 * config/i386/t-nto: New file.
10075 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
10076 * config/ia64/crti.S, config/ia64/crtn.S: New files.
10077 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
10078 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
10079 Use .S extension.
10080 Use $<.
10081 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
10082 (crtinitS.o): New rule.
10083 * config/ia64/vms-crtinit.S: New file.
10084 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
10085 * config/m32r/initfini.c: New file.
10086 * config/m32r/t-linux, config/m32r/t-m32r: New files.
10087 * config/m68k/crti.S, config/m68k/crtn.S: New files.
10088 * config/mcore/crti.S, config/mcore/crtn.S: New files.
10089 * config/mep/t-mep: New file.
10090 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
10091 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
10092 * config/mips/crti.S, config/mips/crtn.S: New files.
10093 * config/mips/t-crtstuff: New file.
10094 * config/mmix/crti.S, config/mmix/crtn.S: New files.
10095 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
10096 (CUSTOM_CRTIN): Set.
10097 ($(T)crti.o, $(T)crtn.o): Remove $(T),
10098 dependencies.
10099 Use $(srcdir) to refer to crti.S, crtn.S.
10100 Use .S extension, $<.
10101 * config/moxie/crti.asm: Rename to ...
10102 * config/moxie/crti.S: ... this.
10103 * config/moxie/crtn.asm: Rename to ...
10104 * config/moxie/crtn.S: ... this.
10105 * config/moxie/t-moxie: Remove.
10106 * config/pa/stublib.c: New file.
10107 * config/pa/t-stublib, config/pa/t-stublib64: New files.
10108 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
10109 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
10110 * config/rs6000/t-crtstuff: New file.
10111 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
10112 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
10113 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
10114 Make output file explicit.
10115 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
10116 Make output file explicit.
10117 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
10118 Make output file explicit.
10119 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
10120 Make output file explicit.
10121 * config/score/crti.S, config/score/crtn.S: New files.
10122 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
10123 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
10124 files.
10125 * config/sh/t-sh, config/sh/t-superh: New files.
10126 * config/sparc/t-linux64: New file.
10127 * config/spu/cache.S, config/spu/cachemgr.c: New files.
10128 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
10129 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
10130 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
10131 * config/t-crtin: Remove.
10132 * config/t-crtstuff-pic: New file.
10133 * config/t-sol2 (CUSTOM_CRTIN): Set.
10134 (crti.o, crtn.o): New rules.
10135 * config/vms/t-vms: New file.
10136 * config/vms/vms-ucrt0.c: New file.
10137 * config/xtensa/t-elf: New file.
10138
b040f2be
RO
101392011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10140
10141 * Makefile.in (SHLIB_NM_FLAGS): Set.
10142 * mkmap-flat.awk, mkmap-symver.awk: New files.
10143 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
10144 exceptions.
10145 * configure: Regenerate.
10146 * config/libgcc-glibc.ver: New file.
10147 * config/libgcc-libsystem.ver: New file.
10148 * config/t-libunwind (SHLIB_LC): Set.
10149 * config/t-linux: New file.
10150 * config/t-slibgcc (INSTALL_SHLIB): New.
10151 (SHLIB_INSTALL): Use it.
10152 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
10153 to mkmap-symver.awk.
10154 (SHLIB_MAPFILES): Don't append, adapt pathname.
10155 (SHLIB_VERPFX): Set.
10156 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
10157 to mkmap-symver.awk.
10158 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
10159 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
10160 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
10161 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
10162 to mkmap-flat.awk.
10163 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
10164 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
10165 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
10166 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
10167 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
10168 * config/i386/libgcc-darwin.10.4.ver,
10169 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
10170 New files.
10171 * config/i386/t-darwin: Remove.
10172 * config/i386/t-darwin64: Likewise.
10173 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
10174 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
10175 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
10176 * config/i386/t-linux: New file.
10177 * config/i386/t-mingw32: New file.
10178 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
10179 * config/ia64/t-glibc: Rename to ...
10180 * config/ia64/t-linux: ... this.
10181 (SHLIB_MAPFILES): Set.
10182 * config/ia64/t-glibc-libunwind: Rename to ...
10183 * config/ia64/t-linux-libunwind: ... this.
10184 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
10185 * config/ia64/t-slibgcc-hpux: New file.
10186 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
10187 * config/m68k/t-slibgcc-elf-ver: New file.
10188 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
10189 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
10190 to mkmap-flat.awk.
10191 * config/pa/t-slibgcc-hpux: New file.
10192 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
10193 files.
10194 * config/rs6000/libgcc-darwin.10.4.ver,
10195 config/rs6000/libgcc-darwin.10.5.ver: New files.
10196 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
10197 config/rs6000/libgcc-glibc.ver.
10198 * config/rs6000/libgcc-ppc64.ver: Rename to
10199 config/rs6000/libgcc-ibm-ldouble.ver.
10200 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
10201 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
10202 * config/rs6000/t-ldbl128: Rename to ...
10203 * config/rs6000/t-linux: ... this.
10204 (SHLIB_MAPFILES): Adapt filename.
10205 * config/rs6000/t-slibgcc-aix: New file.
10206 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
10207 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
10208 libgcc-excl.ver, libgcc-glibc.ver.
10209 (SHLIB_LINK, SHLIB_INSTALL): Remove.
10210 * config/sparc/libgcc-glibc.ver: New file.
10211 * config/sparc/t-linux: New file.
10212 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
10213 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
10214 t-slibgcc-elf-ver to tmake_file.
10215 Add t-slibgcc-nolc-override to tmake_file for posix threads on
10216 *-*-freebsd[34].
10217 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10218 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
10219 t-slibgcc-elf-ver, t-linux to tmake_file.
10220 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
10221 tmake_file.
10222 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
10223 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
10224 (alpha*-dec-*vms*): Likewise.
10225 (arm*-*-freebsd*): Append to tmake_file.
10226 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
10227 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
10228 arm*-*-linux-*eabi.
10229 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
10230 tmake_file for arm*-*-symbianelf*.
10231 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
10232 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
10233 cris/t-linux.
10234 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
10235 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
10236 pa/t-slibgcc-dwarf-ver to tmake_file.
10237 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
10238 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
10239 (hppa*64*-*-hpux11*): Likewise.
10240 (hppa[12]*-*-hpux11*): Likewise.
10241 (x86_64-*-darwin*): Don't override tmake_file, but only keep
10242 i386/t-crtpc, i386/t-crtfm.
10243 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
10244 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
10245 to tmake_file.
10246 Add i386/t-cygwin to tmake_file.
10247 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
10248 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
10249 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
10250 to tmake_file.
10251 Add i386/t-mingw32 to tmake_file.
10252 (x86_64-*-mingw*): Likewise.
10253 (ia64*-*-freebsd*): Append to tmake_file.
10254 (ia64*-*-linux*): Append to tmake_file.
10255 Replace ia64/t-glibc by ia64/t-linux.
10256 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
10257 system libunwind.
10258 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
10259 t-slibgcc-hpux to tmake_file.
10260 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
10261 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
10262 (m32rle-*-linux*): Likewise.
10263 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
10264 sjlj exceptions.
10265 (microblaze*-linux*): New case.
10266 Append to tmake_file, add t-slibgcc-nolc-override.
10267 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
10268 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
10269 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
10270 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10271 rs6000/t-slibgcc-aix to tmake_file.
10272 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10273 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10274 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10275 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10276 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10277 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
10278 sh*-*-linux*.
10279 (sparc-*-linux*): Append to tmake_file for *-leon*.
10280 Add sparc/t-linux to tmake_file for non-Leon targets.
10281 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
10282 (tic6x-*-uclinux): New case.
10283 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
10284 (tic6x-*-*): Add c6x/t-elf to tmake_file.
10285 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
10286 (am33_2.0-*-linux*): Append to tmake_file.
10287 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
10288 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
10289 x86_64-*-kfreebsd*-gnu.
10290 Add i386/t-linux to tmake_file.
10291
18b4bd7b
ILT
102922011-10-28 Ian Lance Taylor <iant@google.com>
10293
10294 * config/i386/morestack.S: Correct CFI information to do proper
10295 returns throughout function. In 32-bit mode, save %ebx so that it
10296 is restored on unwind.
10297
5b2d9d90
BS
102982011-10-25 Bernd Schmidt <bernds@codesourcery.com>
10299
10300 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
10301 case where B3 isn't the return register.
10302
0d53e346
BS
10303 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
10304 logic for doubleword pops.
10305
cbffbd59
AT
103062011-10-25 Andreas Tobler <andreast@fgznet.ch>
10307
10308 * config/rs6000/t-freebsd: Add wildcard.
10309
56dc349e
PB
103102011-10-21 Paul Brook <paul@codesourcery.com>
10311
10312 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
10313
1e06b07d
UB
103142011-10-16 Uros Bizjak <ubizjak@gmail.com>
10315 Eric Botcazou <ebotcazou@adacore.com>
10316
10317 PR target/50737
10318 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
10319 fs->signal_frame to 1.
10320
b5204884
ILT
103212011-10-07 Ian Lance Taylor <iant@google.com>
10322
10323 * generic-morestack-thread.c: #include <errno.h>.
10324
91a639a1
ILT
103252011-10-07 Ian Lance Taylor <iant@google.com>
10326
10327 PR target/46093
10328 * generic-morestack.c (__generic_morestack): Make sure the segment
10329 is large enough for both the stack frame and the copied
10330 parameters.
10331
cc49116d
RO
103322011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10333
10334 PR bootstrap/49804
10335 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
10336 extra_parts.
10337
2996d8c3
NC
103382011-09-28 Nick Clifton <nickc@redhat.com>
10339
10340 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
10341 64-bit doubles are not enabled.
10342 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
10343 and floatunsisf functions.
10344
1e874273 103452011-09-13 Paul Brook <paul@codesourcery.com>
2996d8c3 10346
1e874273
PB
10347 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
10348 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
10349 * unwind-arm-common.inc: New file.
10350 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
10351 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
10352 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
10353 * config/c6x/libunwind.S: New file.
10354 * config/c6x/pr-support.c: New file.
10355 * config/c6x/unwind-c6x.c: New file.
10356 * config/c6x/unwind-c6x.h: New file.
10357 * config/c6x/t-c6x-elf: New file.
10358
f70c879a
UB
103592011-08-23 Uros Bizjak <ubizjak@gmail.com>
10360
10361 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
10362 (ASM_DIVZERO): Ditto.
10363 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
10364
c55b374b
RS
103652011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
10366
10367 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
10368
1e138510
RS
103692011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
10370
10371 PR target/50090
10372 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
10373 instead of an assembly one.
10374
1563503d
PB
103752011-08-12 Paolo Bonzini <bonzini@gnu.org>
10376
10377 PR bootstrap/50047
10378 * Makefile.in (install-unwind_h): Create
10379 $(gcc_objdir)/include/unwind.h atomically.
10380
3627ac1a
RO
103812011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10382
10383 * Makefile.in (install-unwind_h): Remove destination file first.
10384
c6412d86
RO
103852011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10386
10387 * sync.c: New file.
10388 * config/mips/t-mips16: New file.
10389 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
10390 (mips*-*-linux*): Likewise.
10391 (mips*-sde-elf*): Likewise.
10392 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
10393 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
10394 Add mips/t-mips16 to tmake_file.
10395 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
10396 (mips-*-elf*): Likewise.
10397 (mips64-*-elf*): Likewise.
10398 (mips64orion-*-elf*): Likewise.
10399 (mips*-*-rtems*): Likewise.
10400 (mipstx39-*-elf*): Likewise.
10401 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
10402 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
10403 LIBGCC_SYNC_CFLAGS.
10404 Use $(srcdir) to refer to sync.c.
10405 Use $<.
10406 ($(libgcc-sync-funcs-o)): Likewise.
10407 ($(libgcc-sync-size-funcs-s-o)): Likewise.
10408 ($(libgcc-sync-funcs-s-o)): Likewise.
10409
3cb6e5bd
AS
104102011-08-09 Andreas Schwab <schwab@linux-m68k.org>
10411
10412 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
10413 t-libunwind.
10414
cca2207a
L
104152011-08-08 H.J. Lu <hongjiu.lu@intel.com>
10416
10417 PR other/48007
10418 * config/i386/value-unwind.h: New.
10419
ed39fbad
RS
104202011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
10421
10422 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
10423 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
10424 Add to tmake_file rather than overriding it.
10425
aca0b0b3
RO
104262011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10427
10428 * config/t-softfp: Remove.
10429 * soft-fp: Moved from ../gcc/config.
10430 * soft-fp/README: Remove t-softfp reference.
10431 * soft-fp/t-softfp: Move to config/t-softfp.
10432 (softfp_machine_header): Remove.
10433 (softfp_file_list): Remove config subdir.
10434 (soft-fp-objects): New variable.
10435 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
10436 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
10437 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
10438 * config/t-softfp-excl: New file.
10439 * config/t-softfp-sfdf: New file.
10440 * config/t-softfp-tf: New file.
10441 * config/no-sfp-machine.h: New file.
10442 * config/arm/sfp-machine.h: New file.
10443 * config/arm/t-softfp: New file.
10444 * config/c6x/sfp-machine.h: New file.
10445 * config/i386/32/t-fprules-softfp: Rename to ...
10446 * config/i386/32/t-softfp: ... this.
10447 (tifunctions, LIB2ADD): Remove.
10448 (softfp_int_modes): Override.
10449 * config/i386/64/t-softfp-compat (tf-functions): Remove config
10450 subdir.
10451 * config/i386/64/eqtf2.c: Likewise.
10452 * config/i386/64/getf2.c: Likewise.
10453 * config/i386/64/letf2.c: Likewise.
10454 * config/ia64/sft-machine.h: New file.
10455 * config/ia64/t-fprules-softfp: Rename to ...
10456 * config/ia64/t-softfp: ... this.
10457 * config/lm32/sfp-machine.h: New file.
10458 * config/moxie/t-moxie-softfp: Remove.
10459 * config/rs6000/ibm-ldouble-format: New file.
10460 * config/rs6000/ibm-ldouble.c: New file.
10461 * config/rs6000/libgcc-ppc-glibc.ver: New file
10462 * config/rs6000/libgcc-ppc64.ver: New file
10463 * config/rs6000/sfp-machine.h: New file.
10464 * config/rs6000/t-freebsd: New file.
10465 * config/rs6000/t-ibm-ldouble: New file.
10466 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
10467 libgcc-ppc-glibc.ver.
10468 * config/rs6000/t-linux64: New file.
10469 * config/rs6000/t-ppccomm (LIB2ADD): Add
10470 $(srcdir)/config/rs6000/ibm-ldouble.c.
10471 * config/rs6000/t-ppccomm-ldbl: New file.
10472 * config/score/sfp-machine.h: New file.
10473 * config.host (sfp_machine_header): Explain.
10474 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
10475 t-softfp to tmake_file.
10476 (arm*-*-uclinux*): Likewise.
10477 (arm*-*-ecos-elf): Likewise.
10478 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
10479 (arm*-*-rtems*): Likewise.
10480 (arm*-*-elf): Likewise.
10481 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
10482 in tmake_file.
10483 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
10484 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
10485 (lm32-*-uclinux*): Likewise.
10486 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
10487 t-softfp-excl, t-softfp.
10488 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
10489 (powerpc64-*-darwin*): Likewise.
10490 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
10491 to tmake_file.
10492 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
10493 tmake_file.
10494 (powerpc-*-eabisim*): Likewise.
10495 (powerpc-*-elf*): Likewise.
10496 (powerpc-*-eabialtivec*): Likewise.
10497 (powerpc-xilinx-eabi*): Likewise.
10498 (powerpc-*-rtems*): Likewise.
10499 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
10500 t-softfp-excl, t-softfp to tmake_file.
10501 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
10502 rs6000/t-ppccomm-ldbl to tmake_file.
10503 (powerpcle-*-elf*): Likewise.
10504 (powerpcle-*-eabisim*): Likewise.
10505 (powerpcle-*-eabi*): Likewise.
10506 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10507 rs6000/t-ibm-ldouble to tmake_file.
10508 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10509 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10510 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
10511 (tic6x-*-*): Likewise.
10512 (i[34567]86-*-darwin*, x86_64-*-darwin*,
10513 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
10514 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
10515 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
10516 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
10517 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
10518 t-softfp to tmake_file.
10519 * configure.ac (sfp_machine_header): Provide default if unset.
10520 Substitute.
10521 Link sfp-machine.h to config/$sfp_machine_header.
10522 * configure: Regenerate.
10523
569dc494
RO
105242011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10525
10526 * Makefile.in (double_type_size, long_double_type_size): Set.
10527 Remove $(fpbit-in-libgcc) support.
10528 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
10529 (fpbit-src): New variable.
10530 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
10531 Compile with -DFLOAT $(FPBIT_CFLAGS).
10532 Use $<.
10533 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
10534 Compile with $(FPBIT_CFLAGS).
10535 Use $<.
10536 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
10537 Compile with -DFLOAT $(TPBIT_CFLAGS).
10538 Use $<.
10539 * configure.ac (double_type_size, long_double_type_size):
10540 Determine and substitute.
10541 * configure: Regenerate.
10542 * fp-bit.c, fp-bit.h: New files.
10543 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
10544 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
10545 * config/mips/t-mips: New file.
10546 * config/mips/t-sdemtk: New file.
10547 * config/rs6000/ppc64-fp.c: New file.
10548 * config/rs6000/t-darwin (LIB2ADD): Add
10549 $(srcdir)/config/rs6000/ppc64-fp.c.
10550 * config/rs6000/t-ppc64-fp: New file.
10551 * config/rx/rx-lib.h: New file.
10552 * config/rx/t-rx (FPBIT): Set to true.
10553 ($(gcc_objdir)/fp-bit.c): Remove.
10554 (DPBIT): Set to true only with -m64bit-doubles.
10555 ($(gcc_objdir)/dp-bit.c): Remove.
10556 * config/sparc/t-softfp: Remove.
10557 * config/spu/t-elf: New file.
10558 * config/t-fdpbit, config/t-fpbit: New files.
10559 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
10560 (mips*-*-*): Likewise.
10561 (arm-wrs-vxworks): Likewise.
10562 (arm*-*-freebsd*): Likewise.
10563 (avr-*-rtems*): Add t-fpbit to tmake_file.
10564 (avr-*-*): Likewise.
10565 (bfin*-elf*): Add t-fdpbit to tmake_file.
10566 (bfin*-uclinux*): Likewise.
10567 (bfin*-linux-uclibc*): Likewise.
10568 (bfin*-rtems*): New case.
10569 Add t-fdpbit to tmake_file.
10570 (bfin*-*): Add t-fdpbit to tmake_file.
10571 (crisv32-*-elf): Likewise.
10572 (cris-*-linux*): Likewise.
10573 (fr30-*-elf): Likewise.
10574 (frv-*-elf, frv-*-*linux*): Likewise.
10575 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
10576 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
10577 (m32r-*-elf*): Likewise.
10578 (m32rle-*-elf*): Likewise.
10579 (m32r-*-linux*): Likewise.
10580 (m32rle-*-linux*): Likewise.
10581 (mcore-*-elf): Add t-fdpbit to tmake_file.
10582 (microblaze*-*-*): Likewise.
10583 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
10584 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
10585 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
10586 Fix typo.
10587 Add mips/t-tpbit to tmake-file.
10588 (mips*-*-linux*): Fix typo.
10589 (mips*-sde-elf*): New case
10590 Add mips/t-sdemtk unless using newlib.
10591 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
10592 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
10593 (mn10300-*-*): Likewise.
10594 (pdp11-*-*): Likewise.
10595 (picochip-*-*): Add t-fpbit to tmake_file.
10596 (powerpc-*-eabisimaltivec*): Likewise.
10597 (powerpc-*-eabisim*): Likewise.
10598 (powerpc-*-elf*): Likewise.
10599 (powerpc-*-eabialtivec*): Likewise.
10600 (powerpc-xilinx-eabi*): New case.
10601 Add t-fdpbit to tmake_file.
10602 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
10603 (powerpc-*-rtems*): Likewise.
10604 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
10605 tmake_file.
10606 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
10607 tmake_file.
10608 (powerpc-*-lynxos*): Likewise.
10609 (powerpcle-*-elf*): Likewise.
10610 (powerpcle-*-eabisim*): Likewise.
10611 (powerpcle-*-eabi*): Likewise.
10612 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10613 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
10614 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10615 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10616 (rx-*-elf): Add t-fdpbit to tmake_file.
10617 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10618 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10619 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10620 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
10621 sh*-*-netbsd*.
10622 (sh-*-rtems*): Add t-fdpbit to tmake_file.
10623 (sh-wrs-vxworks): Likewise.
10624 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
10625 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
10626 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
10627 (sparc64-*-rtems*): ... new case.
10628 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
10629 (spu-*-elf*): Likewise.
10630 Add spu/t-elf to tmake_file.
10631 (v850*-*-*): Add t-fdpbit to tmake_file.
10632 (xstormy16-*-elf): Likewise.
10633 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
10634 (mep*-*-*): Likewise.
10635
201cdb74
RO
106362011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10637
10638 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
10639 variables.
10640 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
10641 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
10642 (install-unwind_h): New target.
10643 (all): Depend on it.
10644 * config.host (unwind_header): New variable.
10645 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
10646 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10647 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
10648 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
10649 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
10650 Set unwind_header.
10651 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
10652 Set unwind_header.
10653 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
10654 arm*-*-eabi*.
10655 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
10656 Set unwind_header.
10657 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
10658 (ia64*-*-freebsd*): Likewise.
10659 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
10660 tmake_file.
10661 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
10662 $with_system_libunwind.
10663 (ia64*-*-hpux*): Set tmake_file.
10664 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
10665 (picochip-*-*): Set tmake_file.
10666 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
10667 md_unwind_header.
10668 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10669 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10670 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
10671 (xtensa*-*-elf*): Set tmake_file.
10672 (xtensa*-*-linux*): Likewise.
10673 * configure.ac: Include ../config/unwind_ipinfo.m4.
10674 Call GCC_CHECK_UNWIND_GETIPINFO.
10675 Link unwind.h to $unwind_header.
10676 * configure: Regenerate.
10677 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
10678 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
10679 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
10680 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
10681 * config/unwind-dw2-fde-darwin.c: New file.
10682 * config/arm/libunwind.S, config/arm/pr-support.c,
10683 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
10684 config/arm/unwind-arm.h,: New files.
10685 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
10686 config/ia64/t-eh-ia64, config/ia64/t-glibc,
10687 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
10688 config/ia64/t-vms, config/ia64/unwind-ia64.c,
10689 config/ia64/unwind-ia64.h: New files.
10690 * config/picochip/t-picochip: New file.
10691 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
10692 files.
10693 * config/rs6000/t-darwin (LIB2ADDEH): Set.
10694 * config/s390/t-tpf (LIB2ADDEH): Remove.
10695 * config/t-darwin (LIB2ADDEH): Set.
10696 * config/t-eh-dw2-dip: New file.
10697 * config/t-libunwind, config/t-libunwind-elf: New files.
10698 * config/t-sol2 (LIB2ADDEH): Remove.
10699 * config/xtensa/t-xtensa: New file.
10700
40f2f11f
L
107012011-08-02 H.J. Lu <hongjiu.lu@intel.com>
10702
10703 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
10704 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
10705 long long to check rt_sigreturn syscall.
10706
bd15e32c
AM
107072011-08-02 Alan Modra <amodra@gmail.com>
10708
10709 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
10710 Restore for indirect call bcrtl from correct stack slot, and only
10711 if cfa+40 isn't valid.
10712
655b30bf
JB
107132011-08-01 Julian Brown <julian@codesourcery.com>
10714
10715 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
10716 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
10717 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
10718
247eb06f
JB
107192011-08-01 Julian Brown <julian@codesourcery.com>
10720
10721 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
10722 (libgcc-std.ver.in): Use above.
10723 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
10724 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
10725 throughout file.
10726 * config/t-fixedpoint-gnu-prefix: New file.
10727 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
10728 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
10729 instead of __PFX__.
10730
02a8fe00
L
107312011-07-28 H.J. Lu <hongjiu.lu@intel.com>
10732
10733 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
10734 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
10735 for x86-64. Properly check __x86_64__ and __LP64__.
10736
5fce9126
L
107372010-07-28 H.J. Lu <hongjiu.lu@intel.com>
10738
10739 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
10740 version.
10741 (_FP_WS_TYPE): Likewise.
10742 (_FP_I_TYPE): Likewise.
10743
2374a88a
AM
107442011-07-28 Alan Modra <amodra@gmail.com>
10745
10746 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
10747 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
10748 in a plt call stub. Do restore r2 if stopped on bctrl.
10749
e44dbbe1
RO
107502011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10751
10752 * config.host (i[3456x]86-*-netware*): Remove.
10753 * config/i386/netware-crt0.c, config/i386/t-nwld,
10754 config/i386/t-slibgcc-nwld: Remove.
10755
bcead286
BS
107562011-07-15 Bernd Schmidt <bernds@codesourcery.com>
10757
10758 * config.host: Handle tic6x-*-*.
10759 * config/c6x/c6x-abi.h: New file.
10760
b3fe1584
RO
107612011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10762
10763 * config/i386/crtprec.c: New file.
10764 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
10765 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
10766 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
10767 (x86_64-*-darwin*): Likewise.
10768 (i[34567]86-*-solaris2*: Likewise.
10769
35d8090d
RO
107702011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10771
10772 * config/alpha/crtfastmath.c: New file.
10773 * config/i386/crtfastmath.c: New file.
10774 * config/ia64/crtfastmath.c: New file.
10775 * config/mips/crtfastmath.c: New file.
10776 * config/sparc/crtfastmath.c: New file.
10777
10778 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
10779 crtfastmath.c.
10780 Add -frandom-seed=gcc-crtfastmath.
10781 * config/alpha/t-crtfm: Remove.
10782 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
10783 * config/ia64/t-ia64 (crtfastmath.o): Remove.
10784
10785 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
10786 (alpha*-dec-osf5.1*): Likewise.
10787 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
10788 Add crtfastmath.o to extra_parts.
10789 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
10790 Add crtfastmath.o to extra_parts.
10791 (x86_64-*-darwin*): Likewise.
10792 (x86_64-*-mingw*): Likewise.
10793 (ia64*-*-elf*): Add t-crtfm to tmake_file.
10794 (ia64*-*-freebsd*): Likewise.
10795 (ia64*-*-linux*): Likewise.
10796 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
10797 Add crtfastmath.o to extra_parts.
10798
e141542e
RO
107992011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10800
10801 * config/darwin-crt3.o: New file.
10802 * config/rs6000/darwin-crt2.c: New file.
10803 * config/t-darwin: New file.
10804 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
10805 (crt2.o): New rule.
10806 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
10807 (powerpc-*-darwin*): Add crt2.o to extra_parts.
10808 (powerpc64-*-darwin*): Likewise.
10809
2d1efe2d
RO
108102011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10811
10812 * config/i386/netware-crt0.c: New file.
10813 * config/i386/t-nwld: Rename to ...
10814 * config/i386/t-slibgcc-nwld: ... this.
10815 * config/i386/t-nwld: New file.
10816 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
10817 tmake_file.
10818 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
10819 extra_parts.
10820
4a8bb046
RO
108212011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10822
10823 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
10824 i386/t-crtstuff.
10825 * configure: Regenerate.
10826
2d8d5935
RO
108272011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10828
10829 * dfp-bit.c, dfp-bit.h: New files.
10830 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
10831 variables.
10832 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
10833 ($(d64pbit-o)): Likewise.
10834 ($(d128pbit-o)): Likewise.
10835 * config/t-dfprules: New file.
10836 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
10837 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
10838 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
10839 (x86_64-*-linux*): Likewise.
10840 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
10841 (i[34567]86-*-cygwin*): Likewise.
10842 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
10843 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
10844
2c50b2c3
RO
108452011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10846
10847 * Makfile.in (LIBGCOV): New variable.
10848 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
10849 * libgcov.c: New file.
10850
a039d7c2
RO
108512011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10852
10853 * fixed-bit.c, fixed-bit.h: New files.
10854 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
10855 refer to fixed-bit.c.
10856
1e4b2746
JM
108572011-07-07 Joseph Myers <joseph@codesourcery.com>
10858
10859 * config.host (*local*): Remove.
10860
fbdd5d87
RO
108612011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10862
10863 PR target/39150
10864 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
10865 like i?86-*-solaris2.1[0-9]*.
10866 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
10867 * configure.ac (i?86-*-solaris2*): Likewise.
10868 * configure: Regenerate.
10869
9e7714f4
TS
108702011-07-06 Thomas Schwinge <thomas@schwinge.name>
10871
10872 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
10873 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
10874 md_unwind_header by splitting out of...
10875 (i[34567]86-*-linux*): ... this.
10876 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
10877 Remove md_unwind_header by splitting out of...
10878 (x86_64-*-linux*): ... this.
10879
6dab9931
GJL
108802011-07-04 Georg-Johann Lay <avr@gjlay.de>
10881
10882 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
10883
4be46d19
NC
108842011-06-28 Nick Clifton <nickc@redhat.com>
10885
10886 * config.host: Recognize all V850 variants.
10887
1da9434b
UB
108882011-06-22 Uros Bizjak <ubizjak@gmail.com>
10889
10890 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
10891
e4d48a4d
RO
108922011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10893
10894 * shared-object.mk (c_flags-$o): Save c_flags.
10895 ($(base)$(objext)): Use it.
10896 ($(base)_s$(objext)): Likewise.
10897
3801c801
BS
108982011-06-21 Bernd Schmidt <bernds@codesourcery.com>
10899
10900 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
10901 * libgcc-std.ver.in (GCC_4.7.0): New section.
10902
0ad8bb3b 109032011-06-16 Georg-Johann Lay <avr@gjlay.de>
1da9434b 10904
0ad8bb3b
GJL
10905 PR target/49313
10906 PR target/29524
10907 * config/avr/t-avr: Fix line endings.
10908 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
10909 _parityXX2.
10910
ea963999
OH
109112011-06-14 Olivier Hainque <hainque@adacore.com>
10912 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10913
10914 * config/mips/irix6-unwind.h: New file.
10915 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
10916
b11b0904
EB
109172011-06-10 Eric Botcazou <ebotcazou@adacore.com>
10918
10919 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
10920 (sparc64_fallback_frame_state): Use it.
10921 (sparc64_frob_update_context): Further adjust context.
10922 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
10923 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
10924 * config/sparc/sol2-cn.S: Likewise.
10925
10e48e39
RO
109262011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10927
10928 * enable-execute-stack-empty.c: New file.
10929 * enable-execute-stack-mprotect.c: New file.
10930 * config/i386/enable-execute-stack-mingw32.c: New file.
10931 * config.host (enable_execute_stack): New variable.
10932 Select appropriate variants.
10933 * configure.ac: Link enable-execute-stack.c to
10934 $enable_execute_stack.
10935 * configure: Regenerate.
10936 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
10937 (lib2funcs): Remove _enable_execute_stack.
10938
10c4cabc
DM
109392011-06-09 David S. Miller <davem@davemloft.net>
10940 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10941
10942 * config.host (sparc-*-linux*): Correct md_unwind_header
10943 filename.
10944 (s390x-ibm-tpf*): Fix typo.
10945
aa4203e7
RO
109462011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10947
10948 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
10949 Add crtfastmath.o to extra_parts.
10950 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
10951 mips/t-crtfm.
10952 * config/mips/t-crtfm: Remove.
10953
0defd786
JDA
109542011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
10955
10956 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
10957
82f247af
KK
109582011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
10959
10960 * config.host (sh*-*-linux*): Fix typo.
10961
58cd1d70
RO
109622011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10963
10964 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
10965 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
10966 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
10967 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
10968 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
10969 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
10970 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
10971 Wrap in !__MINGW64__.
10972 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
10973 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
10974 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
10975 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
10976 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
10977 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
10978 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
10979 Wrap in !__LP64__.
10980 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
10981 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
10982 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
10983 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
10984 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
10985 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
10986 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
10987 * config/no-unwind.h: New file.
10988 * config.host (md_unwind_header): Document.
10989 Define.
10990 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
10991 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
10992 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
10993 hppa[12]*-*-hpux11*): Set md_unwind_header.
10994 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
10995 Set md_unwind_header.
10996 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
10997 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
10998 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
10999 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
11000 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
11001 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
11002 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
11003 md_unwind_header.
11004 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
11005 * configure: Regenerate.
11006
737346fa
RO
110072011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11008
11009 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
11010 Set tmake_file, extra_parts.
11011 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
11012 Remove O32 support.
11013 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
11014 Remove O32 support.
11015 * config/mips/t-irix6: New file.
11016 * config/mips/t-slibgcc-irix: New file.
11017
c192cee6
RO
110182011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11019
11020 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
11021 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
11022
ee33b5f0
RO
110232011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11024
11025 * configure.ac (target_thread_file): Determine thread model.
11026 * configure: Regenerate.
11027 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
11028 * config/alpha/t-alpha: New file.
11029 * config/alpha/t-crtfm: Use $<.
11030 * config/alpha/t-ieee: New file.
11031 * config/alpha/t-osf-pthread: New file.
11032 * config/alpha/t-slibgcc-osf: New file.
11033 * config/alpha/libgcc-osf5.ver: New file.
11034
0699e415
RO
110352011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11036
11037 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
11038 tmake_file.
11039 Add crtfastmath.o to extra_parts.
11040
a3fab9c2
RO
110412011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11042
11043 * config/gmon-sol2.c: Reindent.
11044 Cleanup comments.
11045 Remove, correct casts.
11046 Use STDERR_FILENO, NULL.
11047 (BASEADDRESS): Remove.
11048 (minbrk): Remove.
11049 (errno, sbrk): Remove declarations.
11050 (monstartup) [hp300]: Remove.
11051 (mcount): Remove.
11052
ca24c5ad
RO
110532011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11054
11055 * Makefile.in (cpu_type): Define.
11056 * config.host (i[34567]86-*-rtems*): Handle it.
11057 (i[34567]86-*-solaris2*): Move body ...
11058 (*-*-solaris2*): ... here.
11059 New case, generalize.
11060 (sparc-*-elf*): Handle it.
11061 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
11062 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
11063 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
11064 Fold into ...
11065 (sparc*-*-solaris2*): ... this.
11066 New case.
11067 (sparc64-*-elf*): Handle it.
11068 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
11069 Merge ../gcc/config/i386/gmon-sol2.c.
11070 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
11071 Use C comments.
11072 Merge ../gcc/config/i386/sol2-gc1.asm.
11073 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
11074 Use C comments.
11075 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
11076 Use C comments.
11077 * config/i386/t-crtfm (crtfastmath.o): Use $<.
11078 * config/i386/t-crtstuff: New file.
11079 * config/i386/t-softfp: New file.
11080 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
11081 $(T)crti.o, $(T)crtn.o): Remove.
11082 (gcrt1.o): New rule.
11083 (TARGET_LIBGCC2_CFLAGS): Remove.
11084 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
11085 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
11086 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
11087 * config/sparc/t-sol2: New file.
11088 * config/sparc/t-crtfm: Move to ...
11089 * config/t-crtfm: ... this.
11090 Use $(cpu_type), $<.
11091 * config/t-crtin: New file.
11092 * config/sparc/t-softfp: New file.
11093 * config/sparc/t-softmul: New file.
11094 * config/t-rtems: New file.
11095 * config/t-slibgcc: New file.
11096 * config/t-slibgcc-elf-ver: New file.
11097 * config/t-slibgcc-gld: New file.
11098 * config/t-slibgcc-sld: New file.
11099 * config/t-sol2: New file.
11100 * configure.ac: Include ../config/lib-ld.m4.
11101 Call AC_LIB_PROG_LD_GNU.
11102 Substitute cpu_type.
11103 * configure: Regenerate.
11104
ad5f3d7b
BS
111052011-05-27 Bernd Schmidt <bernds@codesourcery.com>
11106
11107 PR bootstrap/49173
11108 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
11109 libgcc-std.ver in the build directory.
11110 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
11111 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
11112
cdbf4541
BS
111132011-05-25 Bernd Schmidt <bernds@codesourcery.com>
11114
11115 * libgcc-std.ver.in: New file.
11116 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
11117 variables.
11118 (libgcc-std.ver): New rule.
11119 * config/t-gnu-prefix: New file.
11120
c8028650
RO
111212011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11122
11123 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
11124
4a68b4ca
JM
111252011-05-10 Joseph Myers <joseph@codesourcery.com>
11126
11127 * config/i386/darwin-lib.h: New file.
11128
80cf2e08
JM
111292011-05-10 Joseph Myers <joseph@codesourcery.com>
11130
11131 * config/arm/symbian-lib.h: New.
11132
a3330c9d
CD
111332011-05-04 Chris Demetriou <cgd@google.com>
11134
11135 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
11136 (__x86.get_pc_thunk.bx): ...this.
11137 (__morestack): Adjust for rename, remove undef of __i686.
11138
6ace0756
CD
111392011-05-03 Chris Demetriou <cgd@google.com>
11140
11141 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
11142
ebb9f8b0
JM
111432011-03-22 Joseph Myers <joseph@codesourcery.com>
11144
11145 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
11146 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
11147 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
11148 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
11149 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
11150 Remove cases.
11151
9cfa1499
AT
111522011-03-14 Andreas Tobler <andreast@fgznet.ch>
11153
11154 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
11155 Adjust copyright year.
11156
457186f6
ILT
111572011-03-07 Ian Lance Taylor <iant@google.com>
11158
11159 * generic-morestack.c (__splitstack_find): Adjust returned stack
11160 pointer to include all registers pushed by __morestack.
11161
58c741a6
DK
111622011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
11163
11164 PR target/40125
11165 * configure.ac: Call ACX_NONCANONICAL_TARGET.
11166 (toolexecdir): Calculate and AC_SUBST.
11167 (toolexeclibdir): Likewise.
11168 * Makefile.in (target_noncanonical): Import.
11169 (toolexecdir): Likewise.
11170 (toolexeclibdir): Likewise.
11171 * configure: Regenerate.
11172
26716c44
NF
111732010-12-13 Nathan Froyd <froydnj@codesourcery.com>
11174
11175 PR target/46040
11176 * config/arm/bpabi.h: Rename to...
11177 * config/arm/bpabi-lib.h: ...this.
11178
b595b1a1
RO
111792010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11180
11181 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
11182 appropriate.
11183 * configure: Regenerate.
11184
a3abe41c
NF
111852010-11-24 Nathan Froyd <froydnj@codesourcery.com>
11186
11187 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
11188 __FLOAT_WORD_ORDER__.
11189 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
11190 Delete.
11191
455c8f48
RW
111922010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11193
11194 PR other/46202
11195 * Makefile.in (install-strip): New phony target.
11196
f3824a8b
ILT
111972010-11-07 Ian Lance Taylor <iant@google.com>
11198
11199 PR target/46089
11200 * config/i386/morestack.S (__morestack_large_model): New
11201 function.
11202
18ed6ee4
NF
112032010-10-23 Nathan Froyd <froydnj@codesourcery.com>
11204
11205 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
11206 Delete.
11207 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
11208
8ac7fdcb
NF
112092010-10-14 Nathan Froyd <froydnj@codesourcery.com>
11210
11211 * config/arm/bpabi.h: New file.
11212 * config/frv/frv-abi.h: New file.
11213
cdb388c2
ILT
112142010-10-01 Ian Lance Taylor <iant@google.com>
11215
11216 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
11217 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
11218
ef7c141c
L
112192010-10-01 H.J. Lu <hongjiu.lu@intel.com>
11220
11221 PR target/45858
11222 * config.host: Add the missing `$'.
11223
80920132
ME
112242010-09-30 Michael Eager <eager@eagercon.com>
11225
11226 * config.host: Add microblaze*-*-*.
11227 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
11228 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
11229 udivsi3.asm,umodsi3.asm}: New.
11230
6dace308
ILT
112312010-09-28 Ian Lance Taylor <iant@google.com>
11232
11233 * configure.ac: Adjust CFI test to test assembler directly rather
11234 than checking gcc preprocessor macro.
11235 * configure: Rebuild.
11236
b6110d6d
ILT
112372010-09-27 Ian Lance Taylor <iant@google.com>
11238
11239 * configure.ac: Test whether assembler supports CFI directives.
11240 * config.host: Only add t-stack and i386/t-stack-i386 to
11241 tmake_file if libgcc_cv_cfi is "yes".
11242 * configure: Rebuild.
11243
7458026b
ILT
112442010-09-27 Ian Lance Taylor <iant@google.com>
11245
11246 * generic-morestack.h: New file.
11247 * generic-morestack.c: New file.
11248 * generic-morestack-thread.c: New file.
11249 * config/i386/morestack.S: New file.
11250 * config/t-stack: New file.
11251 * config/i386/t-stack-i386: New file.
11252 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
11253 i386/t-stack-i386 to tmake_file.
11254
5b50fc0c
IS
112552010-09-21 Iain Sandoe <iains@gcc.gnu.org>
11256
11257 * Makefile.in (libgcc-extra-parts): Check for static archives and
11258 invoke ranlib after installing them.
11259 (gcc-extra-parts): Likewise.
11260 (install-leaf): Likewise.
11261
b93cf342
L
112622010-09-14 H.J. Lu <hongjiu.lu@intel.com>
11263
11264 * configure: Regenerated.
11265
996b42ef
KT
112662010-09-10 Kai Tietz <kai.tietz@onevision.com>
11267
b93cf342 11268 * configure: Regenerated.
996b42ef 11269
be1c764e
GP
112702010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
11271 Andrew Pinski <pinskia@gmail.com>
11272
1da9434b 11273 PR target/40959
be1c764e
GP
11274 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
11275
cc0ae0ca
L
112762010-09-06 H.J. Lu <hongjiu.lu@intel.com>
11277
11278 PR target/45524
11279 * configure: Regenerated.
11280
84f47d20
AS
112812010-09-06 Andreas Schwab <schwab@redhat.com>
11282
11283 * configure: Regenerate.
11284
4159fb8d
UB
112852010-09-03 Uros Bizjak <ubizjak@gmail.com>
11286
11287 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
11288 64bit targets.
11289 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
11290 for 64bit targets.
11291
0df8fcc8
UB
112922010-09-03 Uros Bizjak <ubizjak@gmail.com>
11293 Iain Sandoe <iains@gcc.gnu.org>
11294
11295 PR target/45476
11296 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
11297 LIB2FUNCS_EXCLUDE functions.
11298
3c39bca6
AK
112992010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11300
11301 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
11302 Include dfp.m4.
11303 * configure: Regenerate.
11304
d78552bd
UB
113052010-09-01 Uros Bizjak <ubizjak@gmail.com>
11306
11307 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
11308 i386/t-freebsd to tmake_file.
11309 * config/i386/t-freebsd: New file.
11310 * config/i386/libgcc-bsd.ver: New file.
11311
c5b79d4e
NF
113122010-07-23 Nathan Froyd <froydnj@codesourcery.com>
11313
11314 * config.host (powerpc*-eabispe*): Set tmake_file.
11315 (powerpc*-eabi*): Likewise.
11316 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
11317 crtbeginS, crtendS, crtbeginT.
11318
48b09a92
KH
113192010-06-12 Kazu Hirata <kazu@codesourcery.com>
11320
11321 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
11322 to tmake_file. Add crtfastmath.o to extra_parts.
11323 * config/mips/t-crtfm: New.
11324
7d296953 113252010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
a4389204
JS
11326
11327 * config.host (sparc64-*-rtems*): New target.
11328
ed104137
RO
113292010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11330
11331 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
11332 assembler syntax.
11333
3f56ef8b
TS
113342010-04-15 Thomas Schwinge <tschwinge@gnu.org>
11335
11336 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
11337
8c200350
RO
113382010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11339
11340 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
11341 alpha-dec-osf5.0* support.
11342
7d296953 113432010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
c1b14424
RC
11344
11345 * config.host: Add lm32-*-rtems*.
11346
f128db92 113472010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7d296953 11348 Uros Bizjak <ubizjak@gmail.com>
f128db92
RO
11349
11350 PR target/39048
11351 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
11352 like other remaining 32-bit x86 OSes.
11353 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
11354 assembler syntax.
11355 * config/i386/libgcc-sol2.ver: New file.
11356 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
11357
7d296953 113582010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
368fabd5
JH
11359
11360 PR c/43553
11361 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
11362 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
11363 is used and substitute set_use_emutls.
11364 * configure: Regenerated.
11365
15baf7f8
TG
113662010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
11367
11368 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
11369
7f5441df
RO
113702010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11371
11372 PR target/38085
11373 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
11374 MULTILIB_CFLAGS.
11375 ($(T)gcrt1.o): Likewise.
11376 ($(T)crt1.o): Likewise.
11377 ($(T)crti.o): Likewise.
11378 ($(T)crtn.o): Likewise.
11379
ef74edbd
RW
113802010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11381
11382 PR other/42980
11383 * Makefile.in (install): Use $(MAKE) string in rule, for
11384 parallel make.
11385
e7c914db
HPN
113862010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
11387
11388 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
11389 * config/mmix/t-mmix: New file.
11390 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
11391
1bcb71c4
JH
113922010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
11393
11394 PR java/41991
11395 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
11396 SHLIB_MAPFILES.
11397
e6e50811
AG
113982010-01-04 Anthony Green <green@moxielogic.com>
11399
11400 * config/moxie/crti.asm, config/moxie/crtn.asm,
11401 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
11402 config/moxie/t-moxie: New files.
11403 * config.host: Add t-moxie-softfp reference.
11404
7d296953 114052009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
ca8520ad
IS
11406
11407 PR other/39888
11408 * config/t-slibgcc-darwin: Fix embedded rpaths for
11409 --enable-version-specific-runtime-libs, build extension stub
11410 libs exposing features available from current libgcc_s.
11411
7d296953 114122009-11-11 Jon Beniston <jon@beniston.com>
aa4945c1 11413
d78552bd
UB
11414 * config.host: Add lm32 targets.
11415 * config/lm32: New directory.
11416 * config/lm32/libgcc_lm32.h: New file.
11417 * config/lm32/_mulsi3.c: New file.
11418 * config/lm32/_udivmodsi4.c: New file.
11419 * config/lm32/_divsi3.c: New file.
11420 * config/lm32/_modsi3.c: New file.
11421 * config/lm32/_udivsi3.c: New file.
11422 * config/lm32/_umodsi3.c: New file.
11423 * config/lm32/_lshrsi3.S: New file.
11424 * config/lm32/_ashrsi3.S: New file.
11425 * config/lm32/_ashlsi3.S: New file.
11426 * config/lm32/crti.S: New file.
11427 * config/lm32/crtn.S: New file.
11428 * config/lm32/t-lm32: New file.
11429 * config/lm32/t-elf: New file.
11430 * config/lm32/t-uclinux: New file.
aa4945c1 11431
65a324b4
NC
114322009-10-26 Nick Clifton <nickc@redhat.com>
11433
11434 * config.host: Add support for RX target.
11435 * config/rx: New directory.
11436 * config/rx/rx-abi-functions.c: New file. Supplementary
11437 functions for libgcc to support the RX ABI.
11438 * config/rx/rx-abi.h: New file. Supplementary header file for
11439 libgcc RX ABI functions.
11440 * config/rx/t-rx: New file: Makefile fragment for building
11441 libgcc for the RX.
11442
dfb3b0e3
UB
114432009-10-09 Uros Bizjak <ubizjak@gmail.com>
11444
11445 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
11446 constraint of y0 to "g".
11447
81dd9fd7
AK
114482009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11449
11450 * config.host: Include the s390 makefile fragments.
11451 * config/s390/32/_fixdfdi.c: New file.
11452 * config/s390/32/_fixsfdi.c: New file.
11453 * config/s390/32/_fixtfdi.c: New file.
11454 * config/s390/32/_fixunsdfdi.c: New file.
11455 * config/s390/32/_fixunssfdi.c: New file.
11456 * config/s390/32/_fixunstfdi.c: New file.
11457 * config/s390/32/t-floattodi: New file.
11458 * config/s390/libgcc-glibc.ver: New file.
11459 * config/s390/t-crtstuff: New file.
11460 * config/s390/t-linux: New file.
11461 * config/s390/t-tpf: New file.
11462
df58e648
RW
114632009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11464
11465 * configure.ac (AC_PREREQ): Bump to 2.64.
11466
79052be3
KK
114672009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
11468
11469 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
11470
5213506e
RW
114712009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11472
11473 * configure: Regenerate.
11474
a9a25daa
DR
114752009-08-09 Douglas B Rupp <rupp@gnat.com>
11476
11477 * config.host (ia64-hp-*vms*): New target.
11478 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
11479 with ia64-hp-*vms*.
11480
6efbd53f
RW
114812009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11482
11483 * configure.ac: Add snippet for maintainer-mode.
11484 * configure: Regenerate.
11485 * Makefile.in (AUTOCONF, configure_deps): New variables.
11486 ($(srcdir)/configure)): New rule, active only with maintainer
11487 mode turned on.
11488
7acf4da6
DD
114892009-06-23 DJ Delorie <dj@redhat.com>
11490
11491 Add MeP port.
11492 * config.host: Add mep support.
11493
54f549af
KT
114942009-06-22 Kai Tietz <kai.tietz@onevision.com>
11495
34481f28 11496 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 11497 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
34481f28
UB
11498
11499 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
11500 for mingw targets.
54f549af
KT
11501 * config/i386/64/_multc3.c: Likewise.
11502 * config/i386/64/_powitf2.c: Likewise.
11503 * config/i386/64/eqtf2.c: Likewise.
11504 * config/i386/64/getf2.c: Likewise.
11505 * config/i386/64/letf2.c: Likewise.
11506 * config/i386/64/letf2.c: Likewise.
34481f28
UB
11507 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
11508 unsigned long long for x64 mingw targets.
11509 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
11510 (_FP_I_TYPE): Define as long long for x64 mingw target.
54f549af 11511
fea96e25
MR
115122009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
11513
11514 * config.host (vax-*-linux*): New.
11515
cceb575c
AG
115162009-05-31 Anthony Green <green@moxielogic.com>
11517
11518 * config.host: Add moxie support.
11519 * config/moxie/t-moxie: New file.
11520
7d296953 115212009-05-29 David Billinghurst <billingd@gcc.gnu.org>
e997fb9c
DB
11522
11523 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 11524 t-softfp to tmake_file for i[34567]86-*-cygwin*.
e997fb9c 11525
532bfb0a
AJ
115262009-04-17 Aurelien Jarno <aurelien@aurel32.net>
11527
11528 * config.host: Add i386/${host_address}/t-fprules-softfp to
11529 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
11530
748086b7
JJ
115312009-04-09 Nick Clifton <nickc@redhat.com>
11532
11533 * config/ia64/tf-signs.c: Change copyright header to refer to
11534 version 3 of the GNU General Public License with version 3.1
11535 of the GCC Runtime Library Exception and to point readers at
11536 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
11537 web page.
11538 * config/i386/32/tf-signs.c: Likewise.
11539 * config/libbid/_addsub_dd.c: Likewise.
11540 * config/libbid/_addsub_sd.c: Likewise.
11541 * config/libbid/_addsub_td.c: Likewise.
11542 * config/libbid/_dd_to_df.c: Likewise.
11543 * config/libbid/_dd_to_di.c: Likewise.
11544 * config/libbid/_dd_to_sd.c: Likewise.
11545 * config/libbid/_dd_to_sf.c: Likewise.
11546 * config/libbid/_dd_to_si.c: Likewise.
11547 * config/libbid/_dd_to_td.c: Likewise.
11548 * config/libbid/_dd_to_tf.c: Likewise.
11549 * config/libbid/_dd_to_udi.c: Likewise.
11550 * config/libbid/_dd_to_usi.c: Likewise.
11551 * config/libbid/_dd_to_xf.c: Likewise.
11552 * config/libbid/_df_to_dd.c: Likewise.
11553 * config/libbid/_df_to_sd.c: Likewise.
11554 * config/libbid/_df_to_td.c: Likewise.
11555 * config/libbid/_di_to_dd.c: Likewise.
11556 * config/libbid/_di_to_sd.c: Likewise.
11557 * config/libbid/_di_to_td.c: Likewise.
11558 * config/libbid/_div_dd.c: Likewise.
11559 * config/libbid/_div_sd.c: Likewise.
11560 * config/libbid/_div_td.c: Likewise.
11561 * config/libbid/_eq_dd.c: Likewise.
11562 * config/libbid/_eq_sd.c: Likewise.
11563 * config/libbid/_eq_td.c: Likewise.
11564 * config/libbid/_ge_dd.c: Likewise.
11565 * config/libbid/_ge_sd.c: Likewise.
11566 * config/libbid/_ge_td.c: Likewise.
11567 * config/libbid/_gt_dd.c: Likewise.
11568 * config/libbid/_gt_sd.c: Likewise.
11569 * config/libbid/_gt_td.c: Likewise.
11570 * config/libbid/_isinfd128.c: Likewise.
11571 * config/libbid/_isinfd32.c: Likewise.
11572 * config/libbid/_isinfd64.c: Likewise.
11573 * config/libbid/_le_dd.c: Likewise.
11574 * config/libbid/_le_sd.c: Likewise.
11575 * config/libbid/_le_td.c: Likewise.
11576 * config/libbid/_lt_dd.c: Likewise.
11577 * config/libbid/_lt_sd.c: Likewise.
11578 * config/libbid/_lt_td.c: Likewise.
11579 * config/libbid/_mul_dd.c: Likewise.
11580 * config/libbid/_mul_sd.c: Likewise.
11581 * config/libbid/_mul_td.c: Likewise.
11582 * config/libbid/_ne_dd.c: Likewise.
11583 * config/libbid/_ne_sd.c: Likewise.
11584 * config/libbid/_ne_td.c: Likewise.
11585 * config/libbid/_sd_to_dd.c: Likewise.
11586 * config/libbid/_sd_to_df.c: Likewise.
11587 * config/libbid/_sd_to_di.c: Likewise.
11588 * config/libbid/_sd_to_sf.c: Likewise.
11589 * config/libbid/_sd_to_si.c: Likewise.
11590 * config/libbid/_sd_to_td.c: Likewise.
11591 * config/libbid/_sd_to_tf.c: Likewise.
11592 * config/libbid/_sd_to_udi.c: Likewise.
11593 * config/libbid/_sd_to_usi.c: Likewise.
11594 * config/libbid/_sd_to_xf.c: Likewise.
11595 * config/libbid/_sf_to_dd.c: Likewise.
11596 * config/libbid/_sf_to_sd.c: Likewise.
11597 * config/libbid/_sf_to_td.c: Likewise.
11598 * config/libbid/_si_to_dd.c: Likewise.
11599 * config/libbid/_si_to_sd.c: Likewise.
11600 * config/libbid/_si_to_td.c: Likewise.
11601 * config/libbid/_td_to_dd.c: Likewise.
11602 * config/libbid/_td_to_df.c: Likewise.
11603 * config/libbid/_td_to_di.c: Likewise.
11604 * config/libbid/_td_to_sd.c: Likewise.
11605 * config/libbid/_td_to_sf.c: Likewise.
11606 * config/libbid/_td_to_si.c: Likewise.
11607 * config/libbid/_td_to_tf.c: Likewise.
11608 * config/libbid/_td_to_udi.c: Likewise.
11609 * config/libbid/_td_to_usi.c: Likewise.
11610 * config/libbid/_td_to_xf.c: Likewise.
11611 * config/libbid/_tf_to_dd.c: Likewise.
11612 * config/libbid/_tf_to_sd.c: Likewise.
11613 * config/libbid/_tf_to_td.c: Likewise.
11614 * config/libbid/_udi_to_dd.c: Likewise.
11615 * config/libbid/_udi_to_sd.c: Likewise.
11616 * config/libbid/_udi_to_td.c: Likewise.
11617 * config/libbid/_unord_dd.c: Likewise.
11618 * config/libbid/_unord_sd.c: Likewise.
11619 * config/libbid/_unord_td.c: Likewise.
11620 * config/libbid/_usi_to_dd.c: Likewise.
11621 * config/libbid/_usi_to_sd.c: Likewise.
11622 * config/libbid/_usi_to_td.c: Likewise.
11623 * config/libbid/_xf_to_dd.c: Likewise.
11624 * config/libbid/_xf_to_sd.c: Likewise.
11625 * config/libbid/_xf_to_td.c: Likewise.
11626 * config/libbid/bid128.c: Likewise.
11627 * config/libbid/bid128_2_str.h: Likewise.
11628 * config/libbid/bid128_2_str_macros.h: Likewise.
11629 * config/libbid/bid128_2_str_tables.c: Likewise.
11630 * config/libbid/bid128_add.c: Likewise.
11631 * config/libbid/bid128_compare.c: Likewise.
11632 * config/libbid/bid128_div.c: Likewise.
11633 * config/libbid/bid128_fma.c: Likewise.
11634 * config/libbid/bid128_logb.c: Likewise.
11635 * config/libbid/bid128_minmax.c: Likewise.
11636 * config/libbid/bid128_mul.c: Likewise.
11637 * config/libbid/bid128_next.c: Likewise.
11638 * config/libbid/bid128_noncomp.c: Likewise.
11639 * config/libbid/bid128_quantize.c: Likewise.
11640 * config/libbid/bid128_rem.c: Likewise.
11641 * config/libbid/bid128_round_integral.c: Likewise.
11642 * config/libbid/bid128_scalb.c: Likewise.
11643 * config/libbid/bid128_sqrt.c: Likewise.
11644 * config/libbid/bid128_string.c: Likewise.
11645 * config/libbid/bid128_to_int16.c: Likewise.
11646 * config/libbid/bid128_to_int32.c: Likewise.
11647 * config/libbid/bid128_to_int64.c: Likewise.
11648 * config/libbid/bid128_to_int8.c: Likewise.
11649 * config/libbid/bid128_to_uint16.c: Likewise.
11650 * config/libbid/bid128_to_uint32.c: Likewise.
11651 * config/libbid/bid128_to_uint64.c: Likewise.
11652 * config/libbid/bid128_to_uint8.c: Likewise.
11653 * config/libbid/bid32_to_bid128.c: Likewise.
11654 * config/libbid/bid32_to_bid64.c: Likewise.
11655 * config/libbid/bid64_add.c: Likewise.
11656 * config/libbid/bid64_compare.c: Likewise.
11657 * config/libbid/bid64_div.c: Likewise.
11658 * config/libbid/bid64_fma.c: Likewise.
11659 * config/libbid/bid64_logb.c: Likewise.
11660 * config/libbid/bid64_minmax.c: Likewise.
11661 * config/libbid/bid64_mul.c: Likewise.
11662 * config/libbid/bid64_next.c: Likewise.
11663 * config/libbid/bid64_noncomp.c: Likewise.
11664 * config/libbid/bid64_quantize.c: Likewise.
11665 * config/libbid/bid64_rem.c: Likewise.
11666 * config/libbid/bid64_round_integral.c: Likewise.
11667 * config/libbid/bid64_scalb.c: Likewise.
11668 * config/libbid/bid64_sqrt.c: Likewise.
11669 * config/libbid/bid64_string.c: Likewise.
11670 * config/libbid/bid64_to_bid128.c: Likewise.
11671 * config/libbid/bid64_to_int16.c: Likewise.
11672 * config/libbid/bid64_to_int32.c: Likewise.
11673 * config/libbid/bid64_to_int64.c: Likewise.
11674 * config/libbid/bid64_to_int8.c: Likewise.
11675 * config/libbid/bid64_to_uint16.c: Likewise.
11676 * config/libbid/bid64_to_uint32.c: Likewise.
11677 * config/libbid/bid64_to_uint64.c: Likewise.
11678 * config/libbid/bid64_to_uint8.c: Likewise.
11679 * config/libbid/bid_b2d.h: Likewise.
11680 * config/libbid/bid_binarydecimal.c: Likewise.
11681 * config/libbid/bid_conf.h: Likewise.
11682 * config/libbid/bid_convert_data.c: Likewise.
11683 * config/libbid/bid_decimal_data.c: Likewise.
11684 * config/libbid/bid_decimal_globals.c: Likewise.
11685 * config/libbid/bid_div_macros.h: Likewise.
11686 * config/libbid/bid_dpd.c: Likewise.
11687 * config/libbid/bid_flag_operations.c: Likewise.
11688 * config/libbid/bid_from_int.c: Likewise.
11689 * config/libbid/bid_functions.h: Likewise.
11690 * config/libbid/bid_gcc_intrinsics.h: Likewise.
11691 * config/libbid/bid_inline_add.h: Likewise.
11692 * config/libbid/bid_internal.h: Likewise.
11693 * config/libbid/bid_round.c: Likewise.
11694 * config/libbid/bid_sqrt_macros.h: Likewise.
11695
116962009-04-09 Jakub Jelinek <jakub@redhat.com>
11697
11698 * Makefile.in: Change copyright header to refer to version
11699 3 of the GNU General Public License and to point readers at the
11700 COPYING3 file and the FSF's license web page.
11701 * config.host: Likewise.
11702
633dd061
AM
117032009-04-07 Alan Modra <amodra@bigpond.net.au>
11704
11705 * config.host: Reorder and merge to match config.gcc change.
11706
457d1d00
AM
117072009-04-03 Alan Modra <amodra@bigpond.net.au>
11708
11709 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
11710
52c0e446
JM
117112009-03-28 Joseph Myers <joseph@codesourcery.com>
11712
11713 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
11714 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
11715 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
11716 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
11717
ba181049
UB
117182009-02-12 Uros Bizjak <ubizjak@gmail.com>
11719
11720 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
11721 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
11722
c252db20
L
117232009-02-12 H.J. Lu <hongjiu.lu@intel.com>
11724
ba181049
UB
11725 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
11726 ia64/t-softfp-compat to tmake_file.
c252db20
L
11727
11728 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
11729
11730 * config/ia64/__divxf3.asm: New.
11731 * config/ia64/_fixtfdi.asm: Likewise.
11732 * config/ia64/_fixunstfdi.asm: Likewise.
11733 * config/ia64/_floatditf.asm: Likewise.
11734 * config/ia64/t-fprules-softfp: Likewise.
11735 * config/ia64/t-softfp-compat: Likewise.
11736 * config/ia64/tf-signs.c: Likewise.
11737
c60535f9
BE
117382009-01-18 Ben Elliston <bje@au.ibm.com>
11739
11740 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
11741
ce16861e
BE
117422009-01-16 Ben Elliston <bje@au.ibm.com>
11743
11744 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
11745 to tmake_file.
11746
bcf4713b
BE
117472009-01-13 Ben Elliston <bje@au.ibm.com>
11748
11749 * config/t-softfp: New file.
11750 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
11751 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
11752
7d296953 117532009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
2042cb04
JS
11754
11755 * config.host: Add m32r*-*-rtems*.
11756
7d296953 117572008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
541ed00e
JS
11758
11759 * config.host: Add m32c*-*-rtems*.
11760
19523300
RO
117612008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11762
11763 PR bootstrap/33100
11764 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
11765 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
11766 * configure: Regenerate.
11767 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
11768 tmake_file here from gcc/config.gcc.
11769 Move extra_parts here from gcc/config.gcc.
11770 * config/i386/t-sol2: Move here from gcc/config/i386.
11771 Use gcc_srcdir instead of srcdir.
11772
0a4a51c7
AN
117732008-11-18 Adam Nemet <anemet@caviumnetworks.com>
11774
11775 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
11776 case.
11777
2a761e46
TS
117782008-11-09 Thomas Schwinge <tschwinge@gnu.org>
11779
11780 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
11781
c0451df7
TS
117822008-10-08 Thomas Schwinge <tschwinge@gnu.org>
11783
11784 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
11785
358da97e
HS
117862008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
11787
11788 Add picoChip port.
11789 * config.host: Add picochip-*-*.
11790
c660f132
BW
117912008-08-06 Bob Wilson <bob.wilson@acm.org>
11792
11793 * config.host: Match more processor names for Xtensa.
11794
d1349557
L
117952008-07-08 H.J. Lu <hongjiu.lu@intel.com>
11796
11797 * config/i386/64/t-softfp-compat: Update comments.
11798
dd7b73c0
L
117992008-07-07 H.J. Lu <hongjiu.lu@intel.com>
11800
11801 * config/i386/64/_divtc3-compat.c: Moved to ...
11802 * config/i386/64/_divtc3.c: Here.
11803
11804 * config/i386/64/_multc3-compat.c: Moved to ...
11805 * config/i386/64/_multc3.c: Here.
11806
11807 * config/i386/64/_powitf2-compat.c: Moved to ...
11808 * config/i386/64/_powitf2.c: Here.
11809
11810 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
11811 .c suffix instead of -compat.c.
11812
6e1fab3d
UB
118132008-07-05 Uros Bizjak <ubizjak@gmail.com>
11814
11815 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
11816 (_FP_MUL_MEAT_D): Ditto.
11817 (_FP_DIV_MEAT_S): Ditto.
11818 (_FP_DIV_MEAT_D): Ditto.
11819
f92518d7
RS
118202008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
11821
11822 * Makefile.in: Add support for __sync_* libgcc functions.
11823
d0aede14
L
118242008-07-03 H.J. Lu <hongjiu.lu@intel.com>
11825
11826 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
11827
c174f11c
L
118282008-07-02 H.J. Lu <hongjiu.lu@intel.com>
11829
11830 PR boostrap/36702
11831 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
11832 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
11833
11834 * config/i386/64/t-fprules-softfp: Moved to ...
11835 * config/i386/64/t-softfp-compat: This. New.
11836
5f464fa2
UB
118372008-07-02 Uros Bizjak <ubizjak@gmail.com>
11838
11839 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
11840 Initialize f with 0.0.
11841
ff473280
L
118422008-07-02 H.J. Lu <hongjiu.lu@intel.com>
11843
11844 PR target/36669
11845 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
11846
11847 * config/i386/64/_divtc3-compat.c: New.
11848 * config/i386/64/_multc3-compat.c: Likewise.
11849 * config/i386/64/_powitf2-compat.c: Likewise.
11850 * config/i386/64/eqtf2.c: Likewise.
11851 * config/i386/64/getf2.c: Likewise.
11852 * config/i386/64/letf2.c: Likewise.
11853 * config/i386/64/t-fprules-softfp: Likewise.
11854
118552008-07-02 H.J. Lu <hongjiu.lu@intel.com>
11856
11857 * config.host: Add i386/${host_address}/t-fprules-softfp to
11858 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
dfb3b0e3 11859 i[34567]86-*-linux*, x86_64-*-linux*.
ff473280
L
11860
11861 * configure.ac: Set host_address to 64 or 32 for x86.
11862 * configure: Regenerated.
11863
11864 * Makefile.in (config.status): Also depend on
11865 $(srcdir)/config.host.
11866
11867 * config/i386/32/t-fprules-softfp: New.
11868 * config/i386/32/tf-signs.c: Likewise.
11869
11870 * config/i386/64/sfp-machine.h: New. Moved from gcc.
11871
118722008-07-02 H.J. Lu <hongjiu.lu@intel.com>
11873 Uros Bizjak <ubizjak@gmail.com>
11874
11875 * config/i386/32/sfp-machine.h: New.
11876
30551d99
NF
118772008-06-26 Nathan Froyd <froydnj@codesourcery.com>
11878
11879 * config/rs6000/t-ppccomm: Remove rules that conflict with
11880 auto-generated rules.
11881
18c04407
RW
118822008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11883
11884 * configure.ac: sinclude override.m4.
11885 * configure: Regenerate.
11886
10fbe77a
BRF
118872008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
11888
11889 * configure: Regenerate.
11890
bc6d4c3f
JM
118912008-06-10 Joseph Myers <joseph@codesourcery.com>
11892
11893 * Makefile.in (DECNUMINC): Remove
11894 -I$(MULTIBUILDTOP)../../libdecnumber.
11895 * gstdint.h: New.
11896
cd985f66
JM
118972008-06-07 Joseph Myers <joseph@codesourcery.com>
11898
11899 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
11900 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
11901 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
11902 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
11903 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
11904 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
11905 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
11906 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
11907 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
11908 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
11909 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
11910 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
11911 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
11912 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
11913
93fea8d3
AL
119142008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
11915
11916 * config.host (sh2[lbe]*-*-linux*): Allow target.
11917
18724e30
NF
119182008-04-30 Nathan Froyd <froydnj@codesourcery.com>
11919
11920 * config/rs6000/t-ppccomm: Add build rules for new files.
11921 (LIB2ADD_ST): New variable.
11922
47583040
AH
119232008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
11924
11925 PR target/34210
11926 PR target/35508
11927 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
11928 * config/t-avr: New file. Build 16bit libgcc functions.
11929
cf8e67fe
JJ
119302008-03-02 Jakub Jelinek <jakub@redhat.com>
11931
11932 PR target/35401
11933 * config/t-slibgcc-darwin: Make install-leaf dependent on
11934 install-darwin-libgcc-stubs instead of install.
11935
8d8da227
JM
119362008-01-25 Joseph Myers <joseph@codesourcery.com>
11937
11938 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
11939 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
11940 sh-*-rtemscoff*): Remove cases.
11941
edbf8b16
RS
119422007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
11943
11944 * Makefile.in (all): Use install-leaf rather than install.
11945 (install): Split most of the rule into...
11946 (install-leaf): ...this new one.
11947
89deeaff
EK
119482007-12-19 Etsushi Kato <ek.kato@gmail.com>
11949 Paolo Bonzini <bonzini@gnu.org>
11950
11951 PR target/30572
5f464fa2
UB
11952 * Makefile.in: Use @shlib_slibdir@ substitution to get
11953 correct install name on darwin.
89deeaff 11954 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
dfb3b0e3 11955
4081d704
HPN
119562007-12-15 Hans-Peter Nilsson <hp@axis.com>
11957
11958 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
11959 cris-*-elf and cris-*-none.
11960 (crisv32-*-linux*): Similar, as cris-*-linux*.
11961
f43e89a3
RIL
119622007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
11963
11964 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
11965
b4e9c2c6
L
119662007-10-27 H.J. Lu <hongjiu.lu@intel.com>
11967
11968 PR regression/33926
11969 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
11970 * configure: Regenerated.
11971
b2a00c89
L
119722007-09-27 H.J. Lu <hongjiu.lu@intel.com>
11973
11974 * Makefile.in (dfp-filenames): Replace decimal_globals,
11975 decimal_data, binarydecimal and convert_data with
11976 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
11977 and bid_convert_data, respectively.
11978
8d2a9e0e
CF
119792007-09-17 Chao-ying Fu <fu@mips.com>
11980 Nigel Stephens <nigel@mips.com>
11981
11982 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
11983 * Makefile.in (fixed_point): Define.
11984 Check if fixed_point is yes to build support functions.
11985 * configure.ac: Check for fixed_point support.
11986 * configure: Regenerated.
11987 * gen-fixed.sh: New file to generate lists of fixed-point labels,
11988 funcs, modes, from, to.
11989
2b53935d
JJ
119902007-09-11 Janis Johnson <janis187@us.ibm.com
11991
11992 * Makefile.in (dfp-filenames): Add bid128_noncomp.
11993
2533577f
JJ
119942007-09-10 Janis Johnson <janis187@us.ibm.com>
11995
11996 * Makefile.in (dfp-filenames): Remove decUtility, add
11997 decDouble, decPacked, decQuad, decSingle.
11998
3ae3dbd6
HK
119992007-08-27 Hans Kester <hans.kester@ellips.nl>
12000
12001 * config.host : Add x86_64-elf target.
12002
22867d02
L
120032007-07-06 H.J. Lu <hongjiu.lu@intel.com>
12004
12005 * configure.ac (set_have_cc_tls): Add a missing =.
12006 * configure: Regenerated.
12007
6f461e76
L
120082007-07-06 H.J. Lu <hongjiu.lu@intel.com>
12009
12010 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
12011 and x86_64-*-linux*.
12012
12013 * config/t-tls: New file.
12014
dfb3b0e3 12015 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6f461e76
L
12016
12017 * configure.ac: Include ../config/enable.m4 and
12018 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
12019 supports TLS and substitute set_have_cc_tls.
12020 * configure: Regenerated.
12021
200359e8
L
120222007-07-04 H.J. Lu <hongjiu.lu@intel.com>
12023
12024 * Makefile.in: Use libbid for DFP when BID is enabled.
12025
76f5e200
DS
120262007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
12027
12028 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
dfb3b0e3 12029 extra_parts. Add config/i386/t-cygming to tmake_file.
76f5e200
DS
12030 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
12031
9bd196f0 120322007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
200359e8 12033 Danny Smith <dannysmith@users.sourceforge.net>
9bd196f0
ZM
12034
12035 PR target/29498
12036 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
12037 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
12038 * config/i386/t-crtfm: Compile crtfastmath.o with
12039 -minline-all-stringops.
12040
1910440e
RS
120412007-05-10 Richard Sandiford <richard@codesourcery.com>
12042
12043 * config.host (sparc-wrs-vxworks): New target.
12044
7d33c31d
KH
120452007-04-14 Kazu Hirata <kazu@codesourcery.com>
12046
12047 * config.host: Recognize fido.
12048
96fccd0d
JJ
120492007-04-04 Janis Johnson <janis187@us.ibm.com>
12050
12051 * configure: Check host, not target, for decimal float support.
12052
577565f9
UB
120532007-04-03 Uros Bizjak <ubizjak@gmail.com>
12054
12055 * config/i386/t-crtpc: New file.
12056 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5f464fa2 12057 (x86_64-*-linux*): Ditto.
577565f9 12058
ccf8e764
RH
120592007-02-30 Kai Tietz <kai.tietz@onevision.com>
12060
12061 * config.host (x86_64-*-mingw*): New target.
12062
79b87c74
MM
120632007-03-23 Michael Meissner <michael.meissner@amd.com>
12064 H.J. Lu <hongjiu.lu@intel.com>
12065
12066 * Makefile.in (enable_decimal_float): New.
12067 (DECNUMINC): Add
12068 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
12069 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
12070 (decbits-filenames): This.
12071 (decbits-objects): New.
12072 (libgcc-objects): Add $(decbits-objects).
12073
12074 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
12075 Substitute enable_decimal_float.
12076 * configure: Regenerated.
12077
8fce4e31
HPN
120782007-03-19 Hans-Peter Nilsson <hp@axis.com>
12079
12080 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
12081
e8bb4597
BM
120822007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
12083
12084 * Makefile.in (install-info): New dummy target.
12085
344189f9
BS
120862007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
12087
12088 * config.host (bfin*-linux-uclibc*): Set extra_parts.
12089
ac84c172
BM
120902007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
12091
12092 * Makefile.in: Add install-html and install-pdf dummy
12093 targets.
12094
cd5c2357
RS
120952007-02-05 Roger Sayle <roger@eyesopen.com>
12096 Daniel Jacobowitz <dan@codesourcery.com>
12097
12098 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
12099 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
12100 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
12101
d9a66f98
JJ
121022007-01-29 Janis Johnson <janis187@us.ibm.com>
12103
12104 * Makefile.in (dec-filenames): Add decExcept.
12105
9891ec5f
DJ
121062007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
12107
12108 PR bootstrap/30469
12109 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
12110 -fprofile-use.
12111
d6efbf5a
DJ
121122007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
12113
12114 * configure.ac: Add --enable-version-specific-runtime-libs.
12115 Correct $slibdir default.
12116 * configure: Regenerated.
12117
17caeff2
JM
121182007-01-23 Joseph Myers <joseph@codesourcery.com>
12119
12120 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
12121
5ea41e3a
AP
121222007-01-21 Andrew Pinski <pinskia@gmail.com>
12123
12124 PR target/30519
12125 * config.host (alpha*-*-linux*): Set extra_parts.
12126
26900826
KK
121272007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
12128
12129 * config/sh/t-linux: New.
12130 * config.host (sh*-*-linux*): Set tmake_file.
12131
97af925b
DJ
121322007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
12133
12134 * Makefile.in (install): Handle multilibs.
12135
b0088af7
BM
121362007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
12137
12138 * Makefile.in: Added .PHONY entry for documentation targets.
12139
e0a9456a
BM
121402007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
12141
12142 * Makefile.in: Add empty info, html, dvi, pdf targets.
12143
7fd453b4
MS
121442007-01-04 Mike Stump <mrs@apple.com>
12145
12146 * Makefile.in (MAKEINFO): Remove.
12147 (PERL): Likewise.
12148
14e8fc8b
PB
121492007-01-04 Paolo Bonzini <bonzini@gnu.org>
12150
12151 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
12152 * configure: Regenerate.
12153 * Makefile.in (host_subdir): Substitute it.
dfb3b0e3 12154 (gcc_objdir): Use it.
14e8fc8b 12155
1555beba
DJ
121562007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
12157
12158 * config.host (ia64*-*-linux*): Set tmake_file.
12159
79e6eaeb
DJ
121602007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
12161
12162 * Makefile.in (version): Define.
12163
fa958513
DJ
121642007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
12165 Paolo Bonzini <bonzini@gnu.org>
12166
12167 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
12168 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
12169 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
12170 config/sparc/t-crtfm, config/t-slibgcc-darwin,
12171 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
12172 shared-object.mk, siditi-object.mk, static-object.mk: New files.
12173 * configure: Generated.
818ab71a 12174\f
877e3c2a 12175Copyright (C) 2007-2022 Free Software Foundation, Inc.
818ab71a
JJ
12176
12177Copying and distribution of this file, with or without modification,
12178are permitted in any medium without royalty provided the copyright
12179notice and this notice are preserved.