]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
testsuite: add missing dg-require-effective-target fpic
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
9df4ffe4
GA
12022-05-13 Sebastian Pop <spop@amazon.com>
2
3 PR target/105162
4 * config/aarch64/lse.S: Define BARRIER and handle memory MODEL 5.
5 * config/aarch64/t-lse: Add a 5th memory model for _sync functions.
6
e8778989
GA
72022-05-10 Martin Liska <mliska@suse.cz>
8 Hans-Peter Helfert <peter-helfert@t-online.de>
9
10 PR gcov-profile/105535
11 * libgcov.h (struct gcov_info): Use gcov_unsigned_t for
12 n_functions.
13
6259d8aa
GA
142022-05-02 Martin Liska <mliska@suse.cz>
15
16 * libgcov-driver.c: Add ATTRIBUTE_UNUSED.
17
6b6f53d8
GA
182022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
19
20 * libgcov-util.c (ftw_read_file): Improve notice using xstrerror().
21 (gcov_profile_merge_stream): Likewise.
22
232022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
24
25 * libgcov-util.c (consume_stream): New.
26 (get_target_profiles_for_merge): Likewise.
27 (gcov_profile_merge_stream): Likewise.
28
292022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
30
31 * libgcov-util.c (ftw_read_file): Use size_t for strlen() variables.
32
332022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
34
35 * libgcov-util.c (read_gcda_file): Do not open file.
36 (ftw_read_file): Open file here.
37
382022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
39
40 * libgcov-util.c (read_gcda_file): Prepend new info object to global
41 list.
42 (ftw_read_file): Remove list append here.
43
442022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
45
46 * libgcov-util.c (read_gcda_file): Do not duplicate filename.
47 (ftw_read_file): Duplicate filename for read_gcda_file().
48
492022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
50
51 * gcov.h (__gcov_info_to_gcda): Mention __gcov_filename_to_gcfn().
52 (__gcov_filename_to_gcfn): Declare and document.
53 * libgcov-driver.c (dump_string): New.
54 (__gcov_filename_to_gcfn): Likewise.
55 (__gcov_info_to_gcda): Adjust comment to match C11 standard language.
56
572022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
58
59 * libgcov.h (gcov_seek): Remove define and declaration.
60
612022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
62
63 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Add mode
64 parameter. Pass mode to gcov_open() calls.
65 * libgcov-driver.c (dump_one_gcov): Add mode parameter. Pass mode to
66 gcov_exit_open_gcda_file() call.
67 (gcov_do_dump): Add mode parameter. Pass mode to dump_one_gcov()
68 calls.
69 (__gcov_dump_one): Open file for reading and writing.
70
712022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
72
73 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Open file for
74 reading and writing.
75 * libgcov-util.c (read_gcda_file): Open file for reading.
76 * libgcov.h (gcov_open): Delete declaration.
77
782022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
79
80 * libgcov-util.c (gcov_profile_merge): Return the list of merged
81 profiles. Accept empty target and source profile lists.
82
405eda0d
GA
832022-04-08 Sergei Trofimovich <siarheit@google.com>
84
85 * config/ia64/fde-glibc.c: Make a no-op in inhibit_libc mode.
86
9f774626
GA
872022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
88 Lulu Cheng <chenglulu@loongson.cn>
89
90 * configure: Regenerate file.
91
922022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
93 Lulu Cheng <chenglulu@loongson.cn>
94
95 * config/loongarch/crtfastmath.c: New file.
96 * config/loongarch/linux-unwind.h: Like wise.
97 * config/loongarch/sfp-machine.h: Like wise.
98 * config/loongarch/t-crtstuff: Like wise.
99 * config/loongarch/t-loongarch: Like wise.
100 * config/loongarch/t-loongarch64: Like wise.
101 * config/loongarch/t-softfp-tf: Like wise.
102 * config.host: Add LoongArch tuples.
103 * configure.ac: Add LoongArch support.
104
d7f00da1
GA
1052022-03-19 Sergei Trofimovich <slyfox at gentoo dot org>
106
107 PR libgcc/86224
108 * config/m68k/lb1sf68.S (__mulsi3_internal): Internal, hidden alias
109 for __mulsi3.
110 (__udivsi3_internal, __divsi3_internal): Similarly.
111 (__umodsi3, __modsi3): Use the internal function names.
112
8cc4f9cd
GA
1132022-03-09 Tobias Burnus <tobias@codesourcery.com>
114
115 PR target/102215
116 * config/gcn/atomic.c (__sync_val_compare_and_swap_##SIZE): Move
117 a line up to non-arg-dependent value first.
118 (__ATOMIC_COMPARE_EXCHANGE): Define + call to generate
119 __atomic_compare_exchange_{1,2}.
120
8d96e14c
GA
1212022-03-04 Iain Sandoe <iain@sandoe.co.uk>
122
123 * config/rs6000/t-darwin-ehs: Add darwin-fallback.o.
124 * config/t-darwin-ehs: Add dependency on unwind.h.
125
756a6185
GA
1262022-02-24 Xi Ruoyao <xry111@mengyan1223.wang>
127
128 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call find_fde_tail
129 with 0 instead of NULL.
130
1312022-02-24 Jose E. Marchesi <jose.marchesi@oracle.com>
132
133 PR target/104656
134 * configure.ac: --disable-gcov if targetting bpf-*.
135 * configure: Regenerate.
136
e0b8716f
GA
1372022-01-25 Florian Weimer <fweimer@redhat.com>
138
139 PR libgcc/104207
140 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Add NULL check.
141
fc829782
GA
1422022-01-17 Martin Liska <mliska@suse.cz>
143
144 * libgcov-driver.c: Rename .c names to .cc.
145
9248ee41
GA
1462022-01-15 David <gccbugzilla@limegreensocks.com>
147
148 * config/i386/gthr-win32.c (__gthr_i486_lock_cmp_xchg):
149 Remove inlined version, Windows 95 is no longer relevant.
150 * config/i386/gthr-win32.h
151 (__GTHREAD_I486_INLINE_LOCK_PRIMITIVES): unset.
152
617db51d
GA
1532022-01-14 Claudiu Zissulescu <claziss@synopsys.com>
154
155 * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
156 DWARF_ALT_FRAME_RETURN_COLUMN macro.
157
7d11b64b
GA
1582022-01-04 Florian Weimer <fweimer@redhat.com>
159
160 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call _dl_find_object
161 if available.
162
5da23a13
GA
1632022-01-02 John David Anglin <danglin@gcc.gnu.org>
164
165 * config/pa/linux-atomic.c (_ASM_EFAULT): Define.
166 (__kernel_cmpxchg): Nullify illegal iitlbp instruction if error
167 return is not equal _ASM_EFAULT.
168 (__kernel_cmpxchg2): Likewise.
169
2554e2da
GA
1702021-12-17 Iain Sandoe <iain@sandoe.co.uk>
171
172 * config.host: Add shim declaration header to powerpc*-darwin builds.
173 * config/rs6000/t-darwin-ehs: Remove dependency on the powerpc end
174 file.
175 * config/t-darwin-ehs: Add dependencies to the shared unwinder
176 objects.
177 * config/t-slibgcc-darwin: Add extra_parts to the dependencies for
178 the shared EH lib. Add all-multi to the dependencies for the
179 libgcc_s.1.dylib redirections.
180
7f1239cb
GA
1812021-12-13 Olivier Hainque <hainque@adacore.com>
182
183 * config.host (powerpc*-*-vxworks7*): Remove
184 rs6000/t-linux and t-slibgcc-libgcc from tmake_file.
185
1862021-12-13 Olivier Hainque <hainque@adacore.com>
187
188 * config.host (*vxworks*): Remove special case for
189 arm on the use of vxcrtstuff.
190
1912021-12-13 Fred Konrad <konrad@adacore.com>
192 Olivier Hainque <hainque@adacore.com>
193
194 * config/t-vxcrtstuffS: New Makefile fragment.
195 * config/vxcrtstuff.c: Provide __dso_handle. Provide _init/_fini
196 functions for INITFINI_ARRAY support in shared libs and guard
197 the definition of eh table registration functions on conditions
198 indicating they are needed.
199
2002021-12-13 Olivier Hainque <hainque@adacore.com>
201
202 * config.host (powerpc*-wrs-vxworks7*): Place t-crtstuff
203 ahead of the other files in tmake_files.
204 * config/t-vxworks: Add to CRTSTUFF_T_CFLAGS instead of
205 overriding it.
206
2072021-12-13 Olivier Hainque <hainque@adacore.com>
208
209 * config/t-vxworks (LIBGCC2_INCLUDES): Simplify and handle
210 both VxWorks7 and earlier.
211 * config/t-vxworks7: Remove.
212 * config.host: Remove special case for vxworks7.
213
e8decbe7
GA
2142021-12-11 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
215
216 * config/vxcrtstuff.c: Make constructor and destructor
217 functions static when possible.
218
2192021-12-11 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
220
221 * config/vxcrtstuff.c: Remove constructor/destructor
222 declarations.
223
0bceef16
GA
2242021-12-10 Iain Sandoe <iain@sandoe.co.uk>
225
226 * config/t-darwin: Add libgcc_tm.h to the dependencies
227 for darwin10-unwind-find-enc-func.
228
2292021-12-10 Rasmus Villemoes <rv@rasmusvillemoes.dk>
230
231 * config/rs6000/t-vxworks: New file.
232 * config.host (powerpc*-*-vxworks*): Use it instead of
233 t-ppccomm.
234
4b4839e3
GA
2352021-12-09 Fred Konrad <konrad@adacore.com>
236
237 * config.host (powerpc*-wrs-vxworks7*): Fix path to
238 rs6000/t-ppc64-fp, relative to config/ not libgcc/.
239
2402021-12-09 Olivier Hainque <hainque@adacore.com>
241 Rasmus Villemoes <rv@rasmusvillemoes.dk>
242
243 * config/t-vxworks: Set CRTSTUFF_T_CFLAGS to
244 $(LIBGCC2_INCLUDES).
245 * config/t-vxworks7: Likewise.
246
641ff219
GA
2472021-12-08 Iain Sandoe <iain@sandoe.co.uk>
248
249 * config.host (*-*-darwin*): Add logic to build a shared
250 unwinder library for Darwin8-10.
251 * config/i386/t-darwin: Build legacy libgcc_s.1.
252 * config/rs6000/t-darwin: Likewise.
253 * config/t-darwin: Reorganise the EH fragments to place
254 them for inclusion in a shared EH lib.
255 * config/t-slibgcc-darwin: Build a legacy libgcc_s.1 and
256 the supporting pieces (all FAT libs).
257 * config/t-darwin-noeh: Removed.
258 * config/darwin-unwind.ver: New file.
259 * config/rs6000/t-darwin-ehs: New file.
260 * config/t-darwin-ehs: New file.
261
3a580f96
GA
2622021-12-06 Nelson Chu <nelson.chu@sifive.com>
263
264 * config/riscv/div.S: Add the hidden alias symbol for __udivdi3, and
265 then use HIDDEN_JUMPTARGET to target it since it is non-preemptible.
266 * config/riscv/riscv-asm.h: Added new macros HIDDEN_JUMPTARGET and
267 HIDDEN_DEF.
268
c177e806
GA
2692021-11-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
270
271 * config/vxcrtstuff.c: Undefine caddr_t, pid_t, rlim_t,
272 ssize_t and vfork after including auto-host.h.
273
87cd82c8
GA
2742021-11-29 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
275
276 * config.host (powerpc-wrs-vxworks): Do not add crtbegin.o and
277 crtend.o to extra_parts.
278
d62c8c74
GA
2792021-11-27 John David Anglin <danglin@gcc.gnu.org>
280
281 * config/pa/t-dimode (lib2difuncs): Fix typo.
282
091ccc06
GA
2832021-11-25 Florian Weimer <fweimer@redhat.com>
284
285 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Add hdr.
286 Remove func, ret.
287 (find_fde_tail): New function. Split from
288 _Unwind_IteratePhdrCallback. Move the result initialization
289 from _Unwind_Find_FDE.
290 (_Unwind_Find_FDE): Updated to call find_fde_tail.
291
06be28f6
GA
2922021-11-22 Florian Weimer <fweimer@redhat.com>
293
294 * unwind-dw2-fde-dip.c (NEED_DBASE_MEMBER): Define.
295 (struct unw_eh_callback_data): Make dbase member conditional.
296 (unw_eh_callback_data_dbase): New function.
297 (base_from_cb_data): Simplify for the non-dbase case.
298 (_Unwind_IteratePhdrCallback): Adjust.
299 (_Unwind_Find_FDE): Likewise.
300
3012021-11-22 Florian Weimer <fweimer@redhat.com>
302
303 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Remove
304 tbase member.
305 (base_from_cb_data): Adjust.
306 (_Unwind_IteratePhdrCallback): Likewise.
307 (_Unwind_Find_FDE): Likewise.
308
9c077398
GA
3092021-11-19 Iain Sandoe <iain@sandoe.co.uk>
310
311 * config.host: Add weak emutls crt to the extra_parts.
312 * config/i386/darwin-lib.h (DECLARE_LIBRARY_RENAMES): Remove
313 workaround.
314 * config/libgcc-libsystem.ver: Add exclude list for the system-
315 provided unwinder.
316 * config/t-slibgcc-darwin: Bump SO version, remove stubs code.
317 * config/i386/libgcc-darwin.10.4.ver: Removed.
318 * config/i386/libgcc-darwin.10.5.ver: Removed.
319 * config/rs6000/libgcc-darwin.10.4.ver: Removed.
320 * config/rs6000/libgcc-darwin.10.5.ver: Removed.
321 * config/t-darwin-noeh: New file.
322
3232021-11-19 Iain Sandoe <iain@sandoe.co.uk>
324
325 * config/t-darwin: Build weak-defined emutls objects.
326 * emutls.c (__emutls_get_address): Add optional attributes.
327 (__emutls_register_common): Likewise.
328 (EMUTLS_ATTR): New.
329
b39265d4
GA
3302021-11-11 Raphael Moreira Zinsly <rzinsly@linux.ibm.com>
331
332 PR libgcc/103044
333 * config/rs6000/linux-unwind.h (ppc_backchain_fallback): Check if it's
334 called with a null argument or at the end of the backtrace and return.
335 * unwind.inc (_Unwind_ForcedUnwind_Phase2): Treat _URC_NORMAL_STOP.
336
8d36a0d2
GA
3372021-11-10 Jakub Jelinek <jakub@redhat.com>
338
339 * config/rs6000/linux-unwind.h (ppc_back_fallback): Make it static,
340 formatting fix.
341
851dff04
GA
3422021-11-05 Iain Sandoe <iain@sandoe.co.uk>
343
344 * config/darwin10-unwind-find-enc-func.c: Include libgcc_tm.h.
345 * config/i386/darwin-lib.h: Declare Darwin10 crt function.
346
3472021-11-05 John David Anglin <danglin@gcc.gnu.org>
348
349 PR libgomp/96661
350 * config.host (hppa*64*-*-linux*): Revise tmake_file.
351 (hppa*64*-*-hpux11*): Likewise.
352 * config/pa/sfp-exceptions.c: New.
353 * config/pa/sfp-machine.h: New.
354 * config/pa/t-dimode: New.
355 * config/pa/t-softfp-sfdftf: New.
356
04a2cf3f
GA
3572021-10-27 John David Anglin <danglin@gcc.gnu.org>
358
359 * config.host (hppa*64*-*-linux*): Don't add pa/t-linux to
360 tmake_file.
361 * config/pa/linux-atomic.c: Define u8, u16 and u64 types.
362 Use them in FETCH_AND_OP_2, OP_AND_FETCH_2, COMPARE_AND_SWAP_2,
363 SYNC_LOCK_TEST_AND_SET_2 and SYNC_LOCK_RELEASE_1 macros.
364 * config/pa/t-linux64 (LIB1ASMSRC): New define.
365 (LIB1ASMFUNCS): Revise.
366 (HOST_LIBGCC2_CFLAGS): Add "-DLINUX=1".
367
c2bd5d8a
GA
3682021-10-22 Stafford Horne <shorne@gmail.com>
369
370 * config/or1k/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
371 Change to 0.
372
5d5885c9
GA
3732021-10-14 Raphael Moreira Zinsly <rzinsly@linux.ibm.com>
374
375 * config/rs6000/linux-unwind.h (struct rt_sigframe): Move it to
376 outside of get_regs() in order to use it in another function, this
377 is done twice: for __powerpc64__ and for !__powerpc64__.
378 (struct trace_arg): New struct.
379 (struct layout): New struct.
380 (ppc_backchain_fallback): New function.
381 * unwind.inc (_Unwind_Backtrace): Look for _URC_NORMAL_STOP code
382 state and call MD_BACKCHAIN_FALLBACK.
383
9eb28a0f
GA
3842021-10-13 Martin Liska <mliska@suse.cz>
385
386 PR gcov-profile/90364
387 * libgcov-driver.c (merge_one_data): Skip timestamp and verify
388 checksums.
389 (write_one_data): Write also checksum.
390 * libgcov-util.c (read_gcda_file): Read also checksum field.
391 * libgcov.h (struct gcov_info): Add new field.
392
ce6eec39
GA
3932021-10-08 Ian Lance Taylor <iant@golang.org>
394
395 * config/i386/morestack.S: Use .init_array for constructor if
396 available.
397 * config/rs6000/morestack.S: Likewise.
398 * config/s390/morestack.S: Likewise.
399
154fd089
GA
4002021-10-03 Patrick McGehearty <patrick.mcgehearty@oracle.com>
401
402 PR target/101104
403 * libgcc2.c (RMIN2, RMINSCAL, RMAX2):
404 Use more correct values for native IBM 128-bit.
405
fd133479
GA
4062021-09-28 Iain Sandoe <iain@sandoe.co.uk>
407
408 * config/i386/libgcc-darwin.ver: Add Symbols for
409 __cpu_model, __cpu_indicator_init.
410
e4777439
GA
4112021-09-22 Iain Sandoe <iain@sandoe.co.uk>
412
413 * config/i386/sfp-machine.h: Guard Mach-O-specific code
414 using __APPLE__.
415
34fac9ef
GA
4162021-09-19 Iain Sandoe <iain@sandoe.co.uk>
417
418 * config/t-slibgcc-darwin: Delete unused code.
419
4202021-09-19 Iain Sandoe <iain@sandoe.co.uk>
421
422 * config/i386/t-darwin: Add in a vers file for X86-specific
423 symbols.
424 * config/t-darwin: Add the generic symbol maps here...
425 * config/t-slibgcc-darwin: ... removing from here.
426 * config/i386/libgcc-darwin.ver: New file.
427
4282021-09-19 Iain Sandoe <iain@sandoe.co.uk>
429
430 * config/i386/t-softfp: Exclude libgcc2 versions of __divhc3
431 and __mulhc3.
432
4332021-09-19 Iain Sandoe <iain@sandoe.co.uk>
434
435 * config.host: Use convenience library for Darwin10
436 unwinder shim.
437 * config/t-darwin: Build Darwin10 unwinder shim as a
438 convenience library.
439
07985c47
GA
4402021-09-13 Andrew Pinski <apinski@marvell.com>
441
442 * config.host: Remove m32r-*-linux* and m32rle-*-linux*.
443 * config/m32r/libgcc-glibc.ver: Removed.
444 * config/m32r/t-linux: Removed.
445
b6db7cd4
GA
4462021-09-08 liuhongt <hongtao.liu@intel.com>
447
448 * config/i386/t-softfp: Compile __{mul,div}hc3 into
449 libgcc_s.so.1.
450
4512021-09-08 Jakub Jelinek <jakub@redhat.com>
452 Iain Sandoe <iain@sandoe.co.uk>
453
454 * config/i386/libgcc-glibc.ver: Add %inherit GCC_12.0.0 GCC_7.0.0
455 and export *hf* and *hc* functions at GCC_12.0.0.
456
9f99555f
GA
4572021-09-06 liuhongt <hongtao.liu@intel.com>
458
459 * Makefile.in: Adjust to support specific CFLAGS for each
460 libgcc source file.
461 * config/i386/64/t-softfp: Explicitly add -msse2 for HF
462 related libgcc source files.
463 * config/i386/t-softfp: Ditto.
464 * config/i386/_divhc3.c: New file.
465 * config/i386/_mulhc3.c: New file.
466
7b739540
GA
4672021-09-03 Iain Sandoe <iain@sandoe.co.uk>
468
469 * config/i386/sfp-machine.h (alias_HFtype, alias_SFtype
470 alias_DFtype, alias_TFtype): New.
471 (ALIAS_SELECTOR): New.
472 (strong_alias): Use __typeof and a _Generic selector to
473 provide the type to the synthesized function.
474
9f7c2bad
GA
4752021-09-02 liuhongt <hongtao.liu@intel.com>
476
477 * config/i386/32/sfp-machine.h (_FP_NANFRAC_H): New macro.
478 * config/i386/64/sfp-machine.h (_FP_NANFRAC_H): Ditto.
479 * config/i386/sfp-machine.h (_FP_NANSIGN_H): Ditto.
480 * config/i386/t-softfp: Add hf soft-fp.
481 * config.host: Add i386/64/t-softfp.
482 * config/i386/64/t-softfp: New file.
483
4842021-09-02 liuhongt <hongtao.liu@intel.com>
485
486 * soft-fp/eqhf2.c: New file.
487 * soft-fp/extendhfdf2.c: New file.
488 * soft-fp/extendhfsf2.c: New file.
489 * soft-fp/half.h (FP_CMP_EQ_H): New marco.
490 * soft-fp/truncdfhf2.c: New file
491 * soft-fp/truncsfhf2.c: New file
492
e11c6046
GA
4932021-09-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
494
495 * unwind-arm-common.inc (abort): Remove.
496
6d51ee43
GA
4972021-08-31 Richard Sandiford <richard.sandiford@arm.com>
498
499 * config/aarch64/value-unwind.h: Add missing runtime exception
500 paragraph.
501 * config/frv/frv-abi.h: Likewise.
502 * config/i386/value-unwind.h: Likewise.
503 * config/pa/pa64-hpux-lib.h: Likewise.
504
ccc19145
GA
5052021-08-26 David Edelsohn <dje.gcc@gmail.com>
506
507 * config/rs6000/ibm-ldouble.c (ldouble_qadd_internal): Rename from
508 __gcc_qadd.
509 (__gcc_qadd): Call ldouble_qadd_internal.
510 (__gcc_qsub): Call ldouble_qadd_internal with second long double
511 argument negated.
512
5132021-08-26 Jonathan Yong <10walls@gmail.com>
514
515 * config/i386/cygming-crtend.c: Fix register_frame_ctor
516 and register_frame_dtor warnings.
517
05ace294
GA
5182021-08-24 Richard Earnshaw <rearnsha@arm.com>
519
520 PR target/102035
521 * config/arm/cmse_nonsecure_call.S (__gnu_cmse_nonsecure_call):
522 Add vlldm erratum work-around.
523
4be4fa4e
GA
5242021-08-21 John David Anglin <danglin@gcc.gnu.org>
525
526 * config.host: Remove extra_parts from hppa[12]*-*-hpux11* case.
527
9d1d9fc8
GA
5282021-08-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
529
530 * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
531 (gcov_type_unsigned): Likewise.
532
7dd8f198
GA
5332021-08-14 Stafford Horne <shorne@gmail.com>
534
535 PR target/99783
536 * config.host (or1k-*, tmake_file): Add or1k/t-crtstuff.
537 * config/or1k/t-crtstuff: New file.
538
f92f4778
GA
5392021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
540
541 * libgcov-driver.c (#include <stdint.h>): Remove.
542 (write_topn_counters): Use __INTPTR_TYPE__ instead of intptr_t.
543
5442021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
545
546 * Makefile.in (LIBGCOV_DRIVER): Add _gcov_info_to_gcda.
547 * gcov.h (gcov_info): Declare.
548 (__gcov_info_to_gdca): Likewise.
549 * libgcov.h (gcov_write_counter): Remove.
550 (gcov_write_tag_length): Likewise.
551 * libgcov-driver.c (#include <stdint.h>): New.
552 (#include <string.h>): Remove.
553 (NEED_L_GCOV): Conditionally define.
554 (NEED_L_GCOV_INFO_TO_GCDA): Likewise.
555 (are_all_counters_zero): New.
556 (gcov_dump_handler): Likewise.
557 (gcov_allocate_handler): Likewise.
558 (dump_unsigned): Likewise.
559 (dump_counter): Likewise.
560 (write_topn_counters): Add dump_fn, allocate_fn, and arg parameters.
561 Use dump_unsigned() and dump_counter().
562 (write_one_data): Add dump_fn, allocate_fn, and arg parameters. Use
563 dump_unsigned(), dump_counter(), and are_all_counters_zero().
564 (__gcov_info_to_gcda): New.
565
8ebf4fb5
GA
5662021-08-05 Jakub Jelinek <jakub@redhat.com>
567
568 * config/t-slibgcc (SHLIB_LINK): Add $(LDFLAGS).
569 * config/t-slibgcc-darwin (SHLIB_LINK): Likewise.
570 * config/t-slibgcc-vms (SHLIB_LINK): Likewise.
571 * config/t-slibgcc-fuchsia (SHLIB_LDFLAGS): Remove $(LDFLAGS).
572
2697f832
GA
5732021-08-04 Jakub Jelinek <jakub@redhat.com>
574
575 * config/t-slibgcc-fuchsia: Undo doubly applied patch.
576
d97d71a1
GA
5772021-07-15 Alan Modra <amodra@gmail.com>
578
579 * config/rs6000/morestack.S (R2_SAVE): Define.
580 (__morestack): Save and restore r2. Set up r2 for called
581 functions.
582
bea7c16a
GA
5832021-07-01 H.J. Lu <hjl.tools@gmail.com>
584
585 * soft-fp/extendhfxf2.c: New file.
586 * soft-fp/truncxfhf2.c: Likewise.
587
6bc18203
GA
5882021-06-29 Julian Brown <julian@codesourcery.com>
589
590 * config/gcn/lib2-bswapti2.c: New file.
591 * config/gcn/lib2-divmod-di.c: New file.
592 * config/gcn/lib2-gcn.h (DItype, UDItype, TItype, UTItype): Add
593 typedefs.
594 (__divdi3, __moddi3, __udivdi3, __umoddi3): Add prototypes.
595 * config/gcn/t-amdgcn (LIB2ADD): Add lib2-divmod-di.c and
596 lib2-bswapti2.c.
597
5982021-06-29 Julian Brown <julian@codesourcery.com>
599
600 * config/gcn/lib2-divmod.c (__udivsi3, __umodsi3): Change argument and
601 return types to USItype.
602 * config/gcn/lib2-gcn.h (__udivsi3, __umodsi3): Update prototypes.
603
fcf617f0
GA
6042021-06-23 Kewen Lin <linkw@linux.ibm.com>
605
606 * configure: Regenerate.
607 * configure.ac (test for libgcc_cv_powerpc_3_1_float128_hw): Fix
608 typos among the name, CFLAGS and the test.
609 * config/rs6000/t-float128-hw (fp128_3_1_hw_funcs, fp128_3_1_hw_src,
610 fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj, fp128_3_1_hw_obj):
611 Remove.
612 * config/rs6000/t-float128-p10-hw (FLOAT128_HW_INSNS): Append
613 macro FLOAT128_HW_INSNS_ISA3_1.
614 (FP128_3_1_CFLAGS_HW): Fix option typo.
615 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): Guard this with
616 FLOAT128_HW_INSNS_ISA3_1.
617 (__floattikf_resolve): Likewise.
618 (__floatuntikf_resolve): Likewise.
619 (__fixkfti_resolve): Likewise.
620 (__fixunskfti_resolve): Likewise.
621 (__floattikf): Likewise.
622 (__floatuntikf): Likewise.
623 (__fixkfti): Likewise.
624 (__fixunskfti): Likewise.
625
f16f65f8
GA
6262021-06-11 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
627
628 PR target/99939
629 * config/arm/cmse_nonsecure_call.S: Add __ARM_FEATURE_MVE
630 macro.
631 * config/arm/t-arm: To link cmse.o and cmse_nonsecure_call.o
632 on passing -mcmse option.
633
43c35d0d
GA
6342021-06-10 Segher Boessenkool <segher@kernel.crashing.org>
635
636 * config/rs6000/quad-float128.h: Guard all uses of [U]TItype_ppc by
637 _ARCH_PPC64 .
638
4f625f47
GA
6392021-06-09 Carl Love <cel@us.ibm.com>
640
641 * config.host: Add if test and set for
642 libgcc_cv_powerpc_3_1_float128_hw.
643 * config/rs6000/fixkfti.c: Renamed to fixkfti-sw.c.
644 Change calls of __fixkfti to __fixkfti_sw.
645 * config/rs6000/fixunskfti.c: Renamed to fixunskfti-sw.c.
646 Change calls of __fixunskfti to __fixunskfti_sw.
647 * config/rs6000/float128-p10.c (__floattikf_hw,
648 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw): New file.
649 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): New macro.
650 (__floattikf_resolve, __floatuntikf_resolve, __fixkfti_resolve,
651 __fixunskfti_resolve): Add resolve functions.
652 (__floattikf, __floatuntikf, __fixkfti, __fixunskfti): New functions.
653 * config/rs6000/float128-sed (floattitf, __floatuntitf,
654 __fixtfti, __fixunstfti): Add editor commands to change names.
655 * config/rs6000/float128-sed-hw (__floattitf,
656 __floatuntitf, __fixtfti, __fixunstfti): Add editor commands to
657 change names.
658 * config/rs6000/floattikf.c: Renamed to floattikf-sw.c.
659 * config/rs6000/floatuntikf.c: Renamed to floatuntikf-sw.c.
660 * config/rs6000/quad-float128.h (__floattikf_sw,
661 __floatuntikf_sw, __fixkfti_sw, __fixunskfti_sw, __floattikf_hw,
662 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw, __floattikf,
663 __floatuntikf, __fixkfti, __fixunskfti): New extern declarations.
664 * config/rs6000/t-float128 (floattikf, floatuntikf,
665 fixkfti, fixunskfti): Remove file names from fp128_ppc_funcs.
666 (floattikf-sw, floatuntikf-sw, fixkfti-sw, fixunskfti-sw): Add
667 file names to fp128_ppc_funcs.
668 * config/rs6000/t-float128-hw(fp128_3_1_hw_funcs,
669 fp128_3_1_hw_src, fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj,
670 fp128_3_1_hw_obj): Add variables for ISA 3.1 support.
671 * config/rs6000/t-float128-p10-hw: New file.
672 * configure: Update script for isa 3.1 128-bit float support.
673 * configure.ac: Add check for 128-bit float hardware support.
674 * config/rs6000/fixkfti-sw.c: New file.
675 * config/rs6000/fixunskfti-sw.c: New file.
676 * config/rs6000/floattikf-sw.c: New file.
677 * config/rs6000/floatuntikf-sw.c: New file.
678
f9af11c7
GA
6792021-05-13 Dimitar Dimitrov <dimitar@dinux.eu>
680
681 * config/pru/mpyll.S (__pruabi_mpyll): Place into own section.
682
4d0385df 6832021-05-13 Martin Liska <mliska@suse.cz>
f9af11c7
GA
684
685 * libgcov-driver.c: Fix GNU coding style.
686
aa891c56
GA
6872021-05-10 Martin Liska <mliska@suse.cz>
688
689 * libgcov-driver.c (gcov_version): Use different name that does
690 not clash with newly introduced macro.
691
3c8e539d
GA
6922021-04-29 Eric Botcazou <ebotcazou@adacore.com>
693
694 * libgcov.h: For the target, define GCOV_LOCKED_WITH_LOCKING
695 if __MSVCRT__ and, for the host, define it if HOST_HAS_LK_LOCK.
696 * libgcov-driver.c: Add directives if GCOV_LOCKED_WITH_LOCKING.
697
e4ff4ffb
GA
6982021-04-28 Patrick McGehearty <patrick.mcgehearty@oracle.com>
699
700 * libgcc2.c (XMTYPE, XCTYPE, RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
701 Define.
702 (__divsc3, __divdc3, __divxc3, __divtc3): Improve complex divide.
703 * config/rs6000/_divkc3.c (RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
704 Define.
705 (__divkc3): Improve complex divide.
706
05ec629f
GA
7072021-04-23 Michael Meissner <meissner@linux.ibm.com>
708
709 PR target/98952
710 * config/rs6000/tramp.S (__trampoline_setup, elfv1 #ifdef): Fix
711 trampoline size comparison in 32-bit by reversing test and
712 combining load immediate with compare.
713 (__trampoline_setup, elfv2 #ifdef): Fix trampoline size comparison
714 in 32-bit by reversing test and combining load immediate with
715 compare.
716
b1da9916
GA
7172021-04-05 Florian Weimer <fweimer@redhat.com>
718 Michael Meissner <meissner@linux.ibm.com>
719
720 * config/rs6000/t-float128 (fp128_ppc_funcs): Add decimal floating
721 point functions for $(decimal_float) only.
722
c0756c4e
GA
7232021-04-03 Jakub Jelinek <jakub@redhat.com>
724
725 PR target/97653
726 * config/rs6000/t-linux (IBM128_STATIC_OBJS): Fix spelling, use
727 $(objext) instead of $(object). Use _floatunditf instead of
728 _floatunsditf. Add tf <-> ti conversion objects.
729 (IBM128_SHARED_OBJS): Use proper substitution reference syntax.
730
65374af2
GA
7312021-03-29 Michael Meissner <meissner@linux.ibm.com>
732
733 * config/rs6000/t-float128 (fp128_decstr_funcs): Delete.
734 (fp128_ppc_funcs): Do not add $(fp128_decstr_funcs).
735 (fp128_decstr_objs): Delete.
736 * dfp-bit.h: Call __sprintfieee128 to do conversions from
737 _Float128 to a Decimal type. Call __strtoieee128 to do
738 conversions from a Decimal type to _Float128.
739 * config/rs6000/_sprintfkf.c: Delete file.
740 * config/rs6000/_sprintfkf.h: Delete file.
741 * config/rs6000/_strtokf.c: Delete file.
742 * config/rs6000/_strtokf.h: Delete file.
743
bf1f3168
GA
7442021-03-23 Marcus Comstedt <marcus@mc.pp.se>
745
746 * config/riscv/sfp-machine.h (__BYTE_ORDER): Set according
747 to __BYTE_ORDER__.
748
0ad6a2e2
GA
7492021-03-06 Jakub Jelinek <jakub@redhat.com>
750
751 PR gcov-profile/99406
752 * libgcov.h (MAP_FAILED, MAP_ANONYMOUS): If HAVE_SYS_MMAN_H is
753 defined, define these macros if not defined already.
754
67f10d28
GA
7552021-03-04 Martin Liska <mliska@suse.cz>
756
757 PR gcov-profile/99105
758 * libgcov-driver.c (write_top_counters): Rename to ...
759 (write_topn_counters): ... this.
760 (write_one_data): Pre-allocate buffer for number of items
761 in the corresponding linked lists.
762 * libgcov.h (malloc_mmap): New function.
763 (allocate_gcov_kvp): Use it.
764
7652021-03-04 Martin Liska <mliska@suse.cz>
766
767 PR gcov-profile/99385
768 * libgcov.h (allocate_gcov_kvp): Call mmap with fd equal to -1.
769
f3641ac7
GA
7702021-03-03 Martin Liska <mliska@suse.cz>
771
772 PR gcov-profile/97461
773 * config.in: Regenerate.
774 * configure: Likewise.
775 * configure.ac: Check sys/mman.h header file
776 * libgcov-driver.c (struct gcov_kvp): Remove static
777 pre-allocated pool and use a dynamic one.
778 * libgcov.h (MMAP_CHUNK_SIZE): New.
779 (gcov_counter_add): Use mmap to allocate pool for struct
780 gcov_kvp.
781
d97a92dc
GA
7822021-03-02 Michael Meissner <meissner@linux.ibm.com>
783
784 * config/rs6000/_sprintfkf.h (__sprintfkf): Fix prototype to match
785 the function.
786 * config/rs6000/_sprintfkf.c: Include _sprintfkf.h.
787
4028d01a
GA
7882021-02-24 Jakub Jelinek <jakub@redhat.com>
789
790 PR libgcc/99236
791 * libgcc2.c (__powisf2, __powidf2, __powitf2, __powixf2): Perform
792 negation of m in unsigned type.
793
7942021-02-24 Christophe Lyon <christophe.lyon@linaro.org>
795 Hau Hsu <hsuhau617@gmail.com>
796
797 PR target/99157
798 * config/arm/t-arm: Fix cmse support detection.
799
2f5765cf
GA
8002021-02-22 Michael Meissner <meissner@linux.ibm.com>
801
802 * dfp-bit.c (BFP_TO_DFP): Fix a comment line that was too long.
803
8042021-02-22 Michael Meissner <meissner@linux.ibm.com>
805
806 * config/rs6000/_dd_to_kf.c: New file.
807 * config/rs6000/_kf_to_dd.c: New file.
808 * config/rs6000/_kf_to_sd.c: New file.
809 * config/rs6000/_kf_to_td.c: New file.
810 * config/rs6000/_sd_to_kf.c: New file.
811 * config/rs6000/_sprintfkf.c: New file.
812 * config/rs6000/_sprintfkf.h: New file.
813 * config/rs6000/_strtokf.h: New file.
814 * config/rs6000/_strtokf.c: New file.
815 * config/rs6000/_td_to_kf.c: New file.
816 * config/rs6000/quad-float128.h: Add new declarations.
817 * config/rs6000/t-float128 (fp128_dec_funcs): New macro.
818 (fp128_decstr_funcs): New macro.
819 (ibm128_dec_funcs): New macro.
820 (fp128_ppc_funcs): Add the new conversions.
821 (fp128_dec_objs): Force Decimal <-> __float128 conversions to be
822 compiled with -mabi=ieeelongdouble.
823 (fp128_decstr_objs): Force __float128 <-> string conversions to be
824 compiled with -mabi=ibmlongdouble.
825 (ibm128_dec_objs): Force Decimal <-> __float128 conversions to be
826 compiled with -mabi=ieeelongdouble.
827 (FP128_CFLAGS_DECIMAL): New macro.
828 (IBM128_CFLAGS_DECIMAL): New macro.
829 * dfp-bit.c (DFP_TO_BFP): Add PowerPC _Float128 support.
830 (BFP_TO_DFP): Add PowerPC _Float128 support.
831 * dfp-bit.h (BFP_KIND): Add new binary floating point kind for
832 IEEE 128-bit floating point.
833 (DFP_TO_BFP): Add PowerPC _Float128 support.
834 (BFP_TO_DFP): Add PowerPC _Float128 support.
835 (BFP_SPRINTF): New macro.
836
aa69f0a8
GA
8372021-01-27 Jakub Jelinek <jakub@redhat.com>
838
839 * config/i386/savms64.h: Add .note.GNU-stack section on Linux.
840 * config/i386/savms64f.h: Likewise.
841 * config/i386/resms64.h: Likewise.
842 * config/i386/resms64f.h: Likewise.
843 * config/i386/resms64x.h: Likewise.
844 * config/i386/resms64fx.h: Likewise.
845
e62bb7f0
GA
8462021-01-26 Martin Liska <mliska@suse.cz>
847
848 PR gcov-profile/98739
849 * libgcov.h (gcov_topn_add_value): Do not train when
850 we have a merged profile with a negative number of total
851 value.
852
161e4c08
GA
8532021-01-25 Martin Liska <mliska@suse.cz>
854
855 PR gcov-profile/98739
856 * libgcov-merge.c (__gcov_merge_topn): Mark when merging
857 ends with a dropped counter.
858 * libgcov.h (gcov_topn_add_value): Add return value.
859
be0851b8
GA
8602021-01-13 Stafford Horne <shorne@gmail.com>
861
862 * config/or1k/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
863 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_EX_OVERFLOW,
864 FP_EX_UNDERFLOW, FP_EX_INEXACT, FP_EX_INVALID, FP_EX_DIVZERO,
865 FP_EX_ALL): New constant macros.
866 (_FP_DECL_EX, FP_ROUNDMODE, FP_INIT_ROUNDMODE,
867 FP_HANDLE_EXCEPTIONS): New macros.
868 (_FP_TININESS_AFTER_ROUNDING): Change to 1.
869
8702021-01-13 Samuel Thibault <samuel.thibault@gnu.org>
871
872 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Add the
873 posix siginfo case to struct handler_args. Detect between legacy
874 and siginfo from the second parameter, which is a small sigcode in
875 the legacy case, and a pointer in the siginfo case.
876
108beb75
GA
8772020-12-20 Max Filippov <jcmvbkbc@gmail.com>
878
879 * config/xtensa/lib1funcs.S (__bswapsi2, __bswapdi2): New
880 functions.
881 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _bswapsi2 and
882 _bswapdi2.
883
f6e8e279
GA
8842020-12-08 Ian Lance Taylor <iant@golang.org>
885
886 * generic-morestack-thread.c (free_segments): Block signals during
887 thread exit.
888
b8dd0ef7
GA
8892020-12-03 Michael Meissner <meissner@linux.ibm.com>
890
891 PR libgcc/97543
892 PR libgcc/97643
893 * config/rs6000/t-linux (IBM128_STATIC_OBJS): New make variable.
894 (IBM128_SHARED_OBJS): New make variable.
895 (IBM128_OBJS): New make variable. Set all objects to use the
896 explicit IBM format, and disable gnu attributes.
897 (IBM128_CFLAGS): New make variable.
898 (gcc_s_compile): Add -mno-gnu-attribute to all shared library
899 modules.
900
9012020-12-03 Alexandre Oliva <oliva@adacore.com>
902
903 * config/t-vxworks (LIB2ADD): Drop.
904 * config/t-vxworks7 (LIB2ADD): Likewise.
905 * config/vxcache.c: Remove.
906
94358e47
GA
9072020-11-30 Stefan Kanthak <stefan.kanthak@nexgo.de>
908
909 * libgcc2.c (bswapsi2): Make constants unsigned.
910
360258da
GA
9112020-11-25 Stefan Kanthak <stefan.kanthak@nexgo.de>
912
913 * libgcc2.c (absvSI2): Simplify/improve implementation by using
914 builtin_add_overflow.
915 (absvsi2, absvDI2): Likewise.
916
82e5048e
GA
9172020-11-20 Maciej W. Rozycki <macro@linux-mips.org>
918
919 * unwind-dw2-fde-dip.c [__OpenBSD__ || __NetBSD__]
920 (USE_PT_GNU_EH_FRAME): Do not define if !TARGET_DL_ITERATE_PHDR.
921
25bb75f8
GA
9222020-11-18 Jozef Lawrynowicz <jozef.l@mittosystems.com>
923
924 * config/msp430/lib2hw_mul.S (mult64_hw): New.
925 (if MUL_32): Use mult64_hw for __muldi3.
926 (if MUL_F5): Use mult64_hw for __muldi3.
927 * config/msp430/lib2mul.c (__muldi3): New.
928 * config/msp430/t-msp430 (LIB2FUNCS_EXCLUDE): Define.
929
29c5d9ce
GA
9302020-11-17 Alan Modra <amodra@gmail.com>
931
932 * config/rs6000/t-ppc64-fp (LIB2ADD): Delete.
933 (LIB2_SIDITI_CONV_FUNCS): Define.
934 * config/rs6000/ppc64-fp.c: Delete file.
935
cba30651
GA
9362020-11-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
937
938 * config/msp430/lib2hw_mul.S: Omit _hw* suffix from GCC names for
939 hwmult library functions.
940
bb622641
GA
9412020-11-10 Jeff Law <law@redhat.com>
942
943 * libgcc2.c: Fix whitespace issues in most recent change.
944
9452020-11-10 Stefan Kanthak <stefan.kanthak@nexgo.de>
946
947 * libgcc2.c (__addvSI3): Use overflow builtins.
948 (__addvsi3, __addvDI3 ,__subvSI3, __subvsi3): Likewise.
949 (__subvDI3 __mulvSI3, __mulvsi3, __negvSI2): Likewise.
950 (__negvsi2, __negvDI2): Likewise.
951 (__cmpdi2, __ucmpdi2): Adjust implementation to improve
952 generated code.
953 * libgcc2.h (__ucmpdi2): Adjust prototype.
954
fd2325ea
GA
9552020-11-03 Pat Bernardi <bernardi@adacore.com>
956 Olivier Hainque <hainque@adacore.com>
957
958 * config.host (aarch64-vxworks7*, tmake_file): Add
959 ${cpu_type}/t-lse and t-slibgcc-libgcc.
960
9612020-11-03 Martin Storsjö <martin@martin.st>
962
963 * unwind-seh.c (_Unwind_Backtrace): Set the ra and cfa pointers
964 before calling the callback.
965
88ce3d5f
GA
9662020-10-30 Olivier Hainque <hainque@adacore.com>
967 Douglas Rupp <rupp@adacore.com>
968 Pat Bernardi <bernardi@adacore.com>
969
970 * config.host: Adjust the ix86/x86_64-wrs-vxworks filters
971 to apply to VxWorks 7 as well.
972
4f0606fe
GA
9732020-10-29 Olivier Hainque <hainque@adacore.com>
974
975 * config/gthr-vxworks-tls.c: Fix preprocessor logic
976 controlling the definition of VX_ENTER_TLS_DTOR and
977 VX_LEAVE_TLS_DTOR based on a version major check.
978
9792020-10-29 Olivier Hainque <hainque@adacore.com>
980
981 * config/gthr-vxworks-thread.c: Fix name of macro used
982 to condition the inclusion of an actual implementation.
983
89bb01e7
GA
9842020-10-27 Martin Liska <mliska@suse.cz>
985
986 PR gcov-profile/97461
987 * libgcov.h (gcov_counter_add): Use first static counters
988 as it should help to have malloc wrappers set up.
989
efe71fcc
GA
9902020-10-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
991
992 * config/gthr-vxworks-thread.c: #include gthr.h before
993 testing the guard defined there.
994 * config/gthr-vxworks-cond.c: Likewise.
995
56ddd5e2
GA
9962020-10-21 Douglas Rupp <rupp@adacore.com>
997 Olivier Hainque <hainque@adacore.com>
998
999 * config.host (powerpc*-wrs-vxworks7*): New case.
1000 * configure.ac: Handle powerpc*-*-vxworks7* as
1001 powerpc*-*-linux* for ppc-fp_type.
1002 * configure: Regenerate.
1003
56e4eee9
GA
10042020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1005
1006 * config/gthr-vxworks.h: Condition the ___GTHREADS_CXX0X
1007 section on VxWorks >= 6.
1008 * config/gthr-vxworks-thread.c: Condition the entire
1009 implementation on __GTHREAD_CXX0X.
1010
10112020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1012
1013 * config/gthr-vxworks.h: Condition the __GTHREAD_HAS_COND
1014 section on VxWorks >= 6.
1015 * config/gthr-vxworks-cond.c: Condition the entire
1016 implementation on __GTHREAD_HAS_COND.
1017
10182020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1019
1020 * config/gthr-vxworks.c: #include <taskLib.h>.
1021
10222020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1023
1024 * config/gthr-vxworks.h: Rewrite remaining occurrence
1025 of _VXW_PRE_69 as _VXWORKS_PRE(6,9).
1026
10272020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1028 Olivier Hainque <hainque@adacore.com>
1029
1030 * config/gthr-vxworks-tls.c (VX_ENTER_TLS_DTOR): Nil
1031 except on VxWorks 6.
1032
10332020-10-16 Olivier Hainque <hainque@adacore.com>
1034
1035 * config/t-vxcrtstuff: Remove the -kernel/-rtp specialization.
1036
b2698c21
GA
10372020-10-14 Alexandre Oliva <oliva@adacore.com>
1038
1039 * config/gthr-vxworks-thread.c: Include stdlib.h.
1040 (tls_delete_hook): Prototype it.
1041 (__gthread_cond_signal): Return early if no waiters. Consume
1042 signal in case the semaphore got full. Use semInfoGet instead
1043 of kernel-mode-only semInfo.
1044 (__gthread_cond_timedwait): Use semExchange. Always take the
1045 mutex again before returning.
1046 * config/gthr-vxworks-cond.c (__ghtread_cond_wait): Likewise.
1047
10482020-10-14 Olivier Hainque <hainque@adacore.com>
1049
1050 * config/t-vxworks (LIBGCC2_INCLUDES): Append
1051 $(MULTISUBDIR) to the -I path for fixed headers, as we
1052 arrange to have different sets of such headers for different
1053 multilibs when they are activated.
1054 * config/t-vxworks7: Likewise.
1055
10562020-10-14 Olivier Hainque <hainque@adacore.com>
1057
1058 * config/t-vxworks: Add include-fixed to include search
1059 paths for libgcc on VxWorks.
1060 * config/t-vxworks7: Likewise.
1061
c74a0e82
GA
10622020-10-09 H.J. Lu <hjl.tools@gmail.com>
1063
1064 PR target/97148
1065 * config/i386/shadow-stack-unwind.h: Include <x86gprintrin.h>
1066 instead of <cetintrin.h>.
1067
6c2675fa
GA
10682020-10-01 Alan Modra <amodra@gmail.com>
1069
1070 * config/rs6000/morestack.S,
1071 * config/rs6000/tramp.S: Support __PCREL__ code.
1072
10732020-10-01 Alan Modra <amodra@gmail.com>
1074
1075 * config/rs6000/t-linux: Document purpose of -mno-minimal-toc.
1076
93bca37c
GA
10772020-09-29 Maciej W. Rozycki <macro@wdc.com>
1078
1079 * config/riscv/t-elf (LIB2_DIVMOD_EXCEPTION_FLAGS): New
1080 variable.
1081
e84761c6
GA
10822020-09-28 Richard Sandiford <richard.sandiford@arm.com>
1083
1084 * config/aarch64/libgcc-softfp.ver: New file.
1085 * config/aarch64/t-softfp (SHLIB_MAPFILES): Add it.
1086
4383c595
GA
10872020-09-27 Clement Chigot <clement.chigot@atos.net>
1088
1089 * config/rs6000/t-slibgcc-aix: Use $(AR) without -X32_64.
1090
521d2711
GA
10912020-09-22 Sergei Trofimovich <siarheit@google.com>
1092
1093 PR gcov-profile/96913
1094 * libgcov-driver.c (write_one_data): Avoid function pointer
1095 comparison in TOP streaming decision.
1096
2aad20c0
GA
10972020-09-17 Torbjörn SVENSSON <torbjorn.svensson@st.com>
1098 Christophe Lyon <christophe.lyon@linaro.org>
1099
1100 * config/arm/fp16.c (__gnu_h2f_internal): Add 'static inline'
1101 qualifier.
1102 (__gnu_f2h_ieee, __gnu_h2f_ieee, __gnu_f2h_alternative)
1103 (__gnu_h2f_alternative,__gnu_d2h_ieee, __gnu_d2h_alternative): Add
1104 missing prototypes.
1105
11062020-09-17 Wei Wentao <weiwt.fnst@cn.fujitsu.com>
1107
1108 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr): Fix
1109 unused variable warning.
1110
ecde1b0a
GA
11112020-09-16 Jojo R <jiejie_rong@c-sky.com>
1112
1113 * config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf target.
1114
80f86e78
GA
11152020-09-09 Tom de Vries <tdevries@suse.de>
1116
1117 * config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
1118 Wbuiltin-declaration-mismatch.
1119
57ea0894
GA
11202020-08-26 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1121
1122 * config/msp430/slli.S (__gnu_mspabi_sllp): New.
1123 * config/msp430/srai.S (__gnu_mspabi_srap): New.
1124 * config/msp430/srli.S (__gnu_mspabi_srlp): New.
1125
b3cb5606
GA
11262020-08-13 Kwok Cheung Yeung <kcy@codesourcery.com>
1127
1128 * config/nvptx/atomic.c: New.
1129 * config/nvptx/t-nvptx (LIB2ADD): Add atomic.c.
1130
6a1ad710
GA
11312020-08-03 Ian Lance Taylor <iant@golang.org>
1132
1133 * config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
1134
11352020-08-03 Jakub Jelinek <jakub@redhat.com>
1136
1137 PR target/96402
1138 * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
1139 of x(tmp0), x(tmp1) in STXP arguments.
1140
48cc2e46
GA
11412020-07-31 Maciej W. Rozycki <macro@wdc.com>
1142
1143 * config/riscv/save-restore.S [__riscv_xlen == 64]
1144 (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
1145 (__riscv_save_2): Replace negative immediates used for the final
1146 stack pointer adjustment with positive ones, right-shifted by 4.
1147
11482020-07-31 Martin Liska <mliska@suse.cz>
1149
1150 * libgcov-driver.c: Add __gcov_kvp_pool
1151 and __gcov_kvp_pool_index variables.
1152 * libgcov.h (allocate_gcov_kvp): New.
1153 (gcov_topn_add_value): Use it.
1154
53256ee3
GA
11552020-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
1156
1157 * config/aarch64/lse.S: Add PAC property note.
1158
9bb403dc
GA
11592020-07-23 Martin Liska <mliska@suse.cz>
1160
1161 PR gcov-profile/96035
1162 * libgcov-driver-system.c: Create gcov folders with 0777
1163 so that it respects a system umask.
1164
8ca07a30
GA
11652020-07-14 David Edelsohn <dje.gcc@gmail.com>
1166
1167 * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
1168
ea69fcf9
GA
11692020-07-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
1170
1171 PR target/94891
1172 * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
1173 (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
1174 (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
1175 (MD_DEMANGLE_RETURN_ADDR): This.
1176 (aarch64_post_extract_frame_addr): Rename to ...
1177 (aarch64_demangle_return_addr): This.
1178 (aarch64_post_frob_eh_handler_addr): Remove.
1179 * unwind-dw2.c (uw_update_context): Demangle return address.
1180 (uw_frob_return_addr): Remove.
1181
3f8ca9cb
GA
11822020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
1183
1184 PR target/96001
1185 * config/aarch64/lse.S: Add BTI marking and related definitions,
1186 and add BTI c to function entries.
1187
11882020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
1189
1190 * config/aarch64/lse.S: Add stack note.
1191
b5f24739
GA
11922020-07-02 Martin Liska <mliska@suse.cz>
1193
1194 PR gcov-profile/95348
1195 * libgcov-driver.c (merge_one_data): Merge only profiles
1196 that are not of non-zero type.
1197 (write_one_data): Write counters only if there's one non-zero
1198 value.
1199 * libgcov-util.c (tag_function): Change signature from unsigned
1200 to int.
1201 (tag_blocks): Likewise.
1202 (tag_arcs): Likewise.
1203 (tag_counters): Likewise.
1204 (tag_summary): Likewise.
1205 (tag_lines): Read only if COUNTERS is non-zero.
1206 (read_gcda_file): Handle negative length for COUNTERS type.
1207
d61ffe12
GA
12082020-06-25 Martin Liska <mliska@suse.cz>
1209
1210 * libgcov-driver.c (merge_summary): Remove function as its name
1211 is misleading and doing something different.
1212 (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
1213 in gcov-tool.
1214 * libgcov-util.c (curr_object_summary): Remove.
1215 (read_gcda_file): Remove unused curr_object_summary.
1216 (gcov_merge): Merge summaries.
1217 * libgcov.h: Add summary argument for gcov_info struct.
1218
2e546c26
GA
12192020-06-24 H.J. Lu <hjl.tools@gmail.com>
1220
1221 PR target/95259
1222 * config/i386/cpuinfo.c: Don't include "cpuinfo.h". Include
1223 "common/config/i386/i386-cpuinfo.h" and
1224 "common/config/i386/cpuinfo.h".
1225 (__cpu_features2): Changed to array.
1226 (get_amd_cpu): Removed.
1227 (get_intel_cpu): Likewise.
1228 (get_available_features): Likewise.
1229 (__cpu_indicator_init): Call cpu_indicator_init.
1230 * config/i386/cpuinfo.h: Removed.
1231
4543acc8
GA
12322020-06-23 David Edelsohn <dje.gcc@gmail.com>
1233
1234 * Makefile.in: Remove uses of empty.mk. Use -include.
1235 * config/avr/t-avr: Use -include.
1236 * empty.mk: Delete.
1237
f86e11a2
GA
12382020-06-21 David Edelsohn <dje.gcc@gmail.com>
1239
1240 * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
1241 * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
1242 and 64 bit with -maix64.
1243 * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
1244 Build and install AIX-style FAT libraries.
1245
aff95ee7
GA
12462020-06-17 Samuel Thibault <samuel.thibault@gnu.org>
1247
1248 * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
1249 'i386/gnu-unwind.h'
1250 * config/i386/gnu-unwind.h: New file.
1251
12522020-06-17 Martin Liska <mliska@suse.cz>
1253
1254 * libgcov-util.c (read_gcda_finalize): Remove const operator.
1255 (merge_wrapper): Add both counts and use them properly.
1256 (topn_to_memory_representation): New function.
1257 (gcov_merge): Covert on disk representation to in memory
1258 representation.
1259 * libgcov.h: Remove const operator.
1260
6fb94d67
GA
12612020-06-15 Max Filippov <jcmvbkbc@gmail.com>
1262
1263 * configure: Regenerate.
1264 * configure.ac: Use AC_COMPILE_IFELSE instead of manual
1265 preprocessor invocation to check for __XTENSA_CALL0_ABI__.
1266
b952c2cf
GA
12672020-06-09 Martin Liska <mliska@suse.cz>
1268
1269 PR gcov-profile/95494
1270 * libgcov-driver.c (write_top_counters): Cast first to
1271 intptr_t as sizeof(*) != sizeof(gcov_type).
1272 * libgcov.h (gcov_counter_set_if_null): Remove.
1273 (gcov_topn_add_value): Cast first to intptr_t and update
1274 linked list directly.
1275
12762020-06-09 Max Filippov <jcmvbkbc@gmail.com>
1277
1278 * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
1279 with uw_install_context_1.
1280
3add3425
GA
12812020-06-04 Andreas Schwab <schwab@suse.de>
1282
1283 PR target/59230
1284 PR libfortran/59227
1285 * config/ia64/t-softfp-compat (softfp_file_list): Filter out
1286 soft-fp/divtf3.c.
1287 (LIB2ADD): Add config/ia64/divtf3.c.
1288 * config/ia64/divtf3.c: New file.
1289
9a5b7438
GA
12902020-06-03 Martin Liska <mliska@suse.cz>
1291
1292 PR gcov-profile/95480
1293 * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
1294 * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
1295 (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
1296 (gcov_counter_set_if_null): Likewise.
1297
a9312a79
GA
12982020-06-02 Jim Wilson <jimw@sifive.com>
1299
1300 * config/riscv/div.S (__divdi3): For negative arguments, change bgez
1301 to bgtz.
1302
13032020-06-02 Martin Liska <mliska@suse.cz>
1304
1305 * libgcov.h (gcov_topn_add_value): Use xcalloc instead
1306 of xmalloc.
1307
13082020-06-02 Martin Liska <mliska@suse.cz>
1309
1310 * libgcov-driver.c (prune_topn_counter): Remove.
1311 (prune_counters): Likewise.
1312 (merge_one_data): Special case TOP N counters
1313 as they have variable length.
1314 (write_top_counters): New.
1315 (write_one_data): Special case TOP N.
1316 (dump_one_gcov): Do not prune TOP N counters.
1317 * libgcov-merge.c (merge_topn_values_set): Remove.
1318 (__gcov_merge_topn): Use gcov_topn_add_value.
1319 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
1320 Likewise here.
1321 * libgcov.h (gcov_counter_add): New.
1322 (gcov_counter_set_if_null): Likewise.
1323 (gcov_topn_add_value): New.
1324
4a9aa9de
GA
13252020-06-01 Uroš Bizjak <ubizjak@gmail.com>
1326
1327 * config/i386/sfp-exceptions.c (struct fenv):
1328 Add __attribute__ ((gcc_struct)).
1329
885ef72f
GA
13302020-05-29 H.J. Lu <hjl.tools@gmail.com>
1331
1332 PR bootstrap/95413
1333 * configure: Regenerated.
1334
53ffb43a
GA
13352020-05-28 Dong JianQiang <dongjianqiang2@huawei.com>
1336
1337 PR gcov-profile/95332
1338 * libgcov-util.c (read_gcda_file): Call gcov_magic.
1339 * libgcov.h (gcov_magic): Disable GCC poison.
1340
5855bdfa
L
13412020-05-21 H.J. Lu <hongjiu.lu@intel.com>
1342
1343 PR target/95212
1344 * config/i386/cpuinfo.h (processor_features): Move
1345 FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
1346
35b98036
L
13472020-05-20 H.J. Lu <hongjiu.lu@intel.com>
1348
1349 PR target/91695
1350 * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
1351 check.
1352
45395445
L
13532020-05-19 H.J. Lu <hongjiu.lu@intel.com>
1354
1355 PR target/95212
1356 PR target/95220
1357 * config/i386/cpuinfo.c (get_available_features): Fix
1358 FEATURE_GFNI check. Also check FEATURE_AVX512VP2INTERSECT.
1359 * config/i386/cpuinfo.h (processor_features): Add
1360 FEATURE_AVX512VP2INTERSECT.
1361
4c1a5d8b
L
13622020-05-15 H.J. Lu <hongjiu.lu@intel.com>
1363
1364 PR bootstrap/95147
1365 * configure: Regenerated.
1366
8d286dd1
L
13672020-05-14 H.J. Lu <hongjiu.lu@intel.com>
1368
1369 * configure: Regenerated.
1370
39748a89
HPN
13712020-05-09 Hans-Peter Nilsson <hp@axis.com>
1372
1373 * config.host: Remove support for crisv32-*-* and cris*-*-linux.
1374 * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
1375
d3a1459c
UB
13762020-05-06 Uroš Bizjak <ubizjak@gmail.com>
1377
1378 * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
1379 (__math_force_eval_div): New define.
1380 (__sfp_handle_exceptions): Use __math_force_eval_div to use
1381 generic division to generate INVALID, DIVZERO and INEXACT
1382 exceptions.
1383
12667785
KT
13842020-05-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1385
1386 * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
1387 instead of getauxval.
1388 (AT_HWCAP): Define.
1389 (HWCAP_ATOMICS): Define.
1390 Guard detection on __gnu_linux__.
1391
ef836167
MM
13922020-05-05 Michael Meissner <meissner@linux.ibm.com>
1393
1394 * config.host: Delete changes meant for a private branch.
1395 * config/rs6000/t-float128: Likewise.
1396 * configure.ac: Likewise.
1397 * configure: Likewise.
1398
811b7636
ML
13992020-05-05 Martin Liska <mliska@suse.cz>
1400
1401 PR gcov-profile/93623
1402 * Makefile.in: Remove __gcov_flush.
1403 * gcov.h (__gcov_flush): Remove.
1404 * libgcov-interface.c (__gcov_flush): Remove.
1405 (init_mx): Use renamed mutex.
1406 (__gcov_lock): Likewise.
1407 (__gcov_unlock): Likewise.
1408 (__gcov_fork): Likewise.
1409 (__gcov_flush): Remove.
1410
c0532db4
ML
14112020-05-05 Martin Liska <mliska@suse.cz>
1412
1413 PR gcov-profile/93623
1414 * libgcov-interface.c (__gcov_fork): Do not flush
1415 and reset only in child process.
1416 (__gcov_execl): Dump counters only and reset them
1417 only if exec* fails.
1418 (__gcov_execlp): Likewise.
1419 (__gcov_execle): Likewise.
1420 (__gcov_execv): Likewise.
1421 (__gcov_execvp): Likewise.
1422 (__gcov_execve): Likewise.
1423
d39f7dc8
ML
14242020-05-05 Martin Liska <mliska@suse.cz>
1425
1426 PR gcov-profile/93623
1427 * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
1428 * libgcov-interface.c (ALIAS_void_fn): Remove.
1429 (__gcov_lock): New.
1430 (__gcov_unlock): New.
1431 (__gcov_flush): Use __gcov_lock and __gcov_unlock.
1432 (__gcov_reset): Likewise.
1433 (__gcov_dump): Likewise.
1434 * libgcov.h (__gcov_lock): New declaration.
1435 (__gcov_unlock): Likewise.
1436
afb9b710
UB
14372020-05-01 Uroš Bizjak <ubizjak@gmail.com>
1438
1439 * config/i386/sfp-exceptions.c (__math_force_eval): New define.
d3a1459c 1440 (__sfp_handle_exceptions): Use __math_force_eval to evaluate
afb9b710
UB
1441 generic division to generate INVALID and DIVZERO exceptions.
1442
66711279
SH
14432020-04-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
1444
1445 * config/rs6000/crtresfpr.S: Use .machine ppc.
1446 * config/rs6000/crtresxfpr.S: Likewise.
1447 * config/rs6000/crtsavfpr.S: Likewise.
1448
fb22faf4
SN
14492020-04-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
1450
1451 PR target/94514
1452 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
1453 Update context->flags accroding to the frame state.
1454
df73e584
UB
14552020-04-19 Uroš Bizjak <ubizjak@gmail.com>
1456
1457 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
1458 Remove unneeded assignments to volatile memory.
1459
5b2f76e3
JJ
14602020-04-15 Jakub Jelinek <jakub@redhat.com>
1461
1462 PR target/93053
1463 * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
1464 * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
1465 is not defined, use just .arch armv8-a.
1466 (B, M, N, OPN): Define.
1467 (COMMENT): New .macro.
1468 (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
1469 defined. Otherwise, move the operands right after the glue? and
1470 comment out operands where the macros are used.
1471 * configure: Regenerated.
1472 * config.in: Regenerated.
1473
50c78532
ILT
14742020-04-07 Ian Lance Taylor <iant@golang.org>
1475
1476 PR libgcc/94513
1477 * generic-morestack.c: Give up trying to use __mmap/__munmap, use
1478 syscall instead.
1479
458ca332
ILT
14802020-04-04 Ian Lance Taylor <iant@golang.org>
1481
1482 * generic-morestack.c: Only use __mmap on glibc >= 2.26.
1483
710d54ed
ILT
14842020-04-03 Ian Lance Taylor <iant@golang.org>
1485
1486 * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
1487 than mmap/munmap, to avoid hooks.
1488
b749b5ec
JJ
14892020-04-03 Jim Johnston <jjohnst@us.ibm.com>
1490
1491 * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
1492 (TPFRA_OFFSET): Macros removed.
1493 (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
1494 (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
1495 (PG3_SKIPPING_OFFSET): New macros.
1496 (__isPATrange): Use cinfc_fast for the check.
1497 (__isSkipResetAddr): New function.
1498 (s390_fallback_frame_state): Check for skip trace addresses. Use
1499 either ICST_CRET or ICST_SRET to calculate return address
1500 location.
1501 (__tpf_eh_return): Handle skip trace addresses.
1502
a9cd2d78
RE
15032020-03-26 Richard Earnshaw <rearnsha@arm.com>
1504
1505 PR target/94220
1506 * config/arm/lib1funcs.asm (COND): Use a single definition for
1507 unified syntax.
1508 (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
1509 (aeabi_idivmod): Likewise.
1510 (divsi3_skip_div0_test): Likewise.
1511
f582ca0f
MI
15122020-03-17 Mihail Ionescu <mihail.ionescu@arm.com>
1513
1514 * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
1515
068fe0a9
AK
15162020-03-04 Andreas Krebbel <krebbel@linux.ibm.com>
1517
1518 * config.host: Include the new makefile fragment.
1519 * config/s390/t-tpf: New file.
1520
6b9ce2b4
RE
15212020-03-03 Richard Earnshaw <rearnsha@arm.com>
1522
1523 * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
1524 syntax.
1525 (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
1526 (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
1527 (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
1528 (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
1529 * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
1530 syntax.
1531 (divsi3, modsi3): Likewise.
1532 (clzdi2, ctzsi2): Likewise.
1533 * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
1534 unified syntax.
1535 (UNWIND_WRAPPER): Likewise.
1536
8dd5d8f3
ML
15372020-03-02 Martin Liska <mliska@suse.cz>
1538
1539 * libgcov-interface.c: Remove duplicate
1540 declaration of __gcov_flush_mx.
1541
ea0b1252
ML
15422020-02-18 Martin Liska <mliska@suse.cz>
1543
1544 PR ipa/92924
1545 * libgcov-merge.c (merge_topn_values_set): Record
1546 when a TOP N counter becomes invalid. When merging
1547 remove a smallest value if the space is needed.
1548
02ce382c
SL
15492020-02-12 Sandra Loosemore <sandra@codesourcery.com>
1550
1551 PR libstdc++/79193
1552 PR libstdc++/88999
1553
1554 * configure: Regenerated.
1555
7214fce3
JL
15562020-02-10 Jeff Law <law@redhat.com>
1557
1558 * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
1559 sections.
1560 * config/frv/frvend.c: Similarly.
1561
cf0f07ef
L
15622020-02-10 H.J. Lu <hongjiu.lu@intel.com>
1563
1564 PR libgcc/85334
1565 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1566 New.
1567
5602b48b
CL
15682020-02-10 Christophe Lyon <christophe.lyon@linaro.org>
1569
1570 PR target/93615
1571 * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
1572 _Unwind_gnu_Find_got.
1573 * unwind-pe.h: Likewise.
1574
811a475e
JJ
15752020-02-07 Jakub Jelinek <jakub@redhat.com>
1576
1577 PR target/93615
1578 * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
1579 (_Unwind_gnu_Find_got): ... this. Use __asm instead of asm. Remove
1580 trailing :s in asm. Formatting fixes.
1581 (_Unwind_decode_typeinfo_ptr): Adjust caller.
1582
2d33dcfe
SL
15832020-01-31 Sandra Loosemore <sandra@codesourcery.com>
1584
1585 nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
1586
1587 * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
1588 * config/nios2-elf-lib.h: New.
1589 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
1590 code for finding GOT base for nios2.
1591
3ae37f92
ML
15922020-01-27 Martin Liska <mliska@suse.cz>
1593
1594 PR gcov-profile/93403
1595 * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
1596 Call __gcov_indirect_call_profiler_body.
1597 (__gcov_indirect_call_profiler_body): New.
1598 (__gcov_indirect_call_profiler_v4_atomic): New.
1599 * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
1600 New declaration.
1601
2744b8b2
CZ
16022020-01-27 Claudiu Zissulescu <claziss@synopsys.com>
1603
1604 * config/arc/crti.S: Add RF16 object attribute.
1605 * config/arc/crtn.S: Likewise.
1606 * config/arc/crttls.S: Likewise.
1607 * config/arc/lib1funcs.S: Likewise.
1608 * config/arc/fp-hack.h (ARC_OPTFPE): Define.
1609 * config/arc/lib2funcs.c: New file.
1610 * config/arc/t-arc: Add lib2funcs to LIB2ADD.
1611
e8e66971
MR
16122020-01-24 Maciej W. Rozycki <macro@wdc.com>
1613
1614 * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
1615 * configure.ac: Handle `--with-toolexeclibdir='.
1616 * configure: Regenerate.
1617
54b3d52c
DM
16182020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
1619
1620 * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
1621
a3c1e1f2
DM
16222020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
1623
1624 * config/mips/gnustack.h: New file.
1625 * config/mips/crti.S: Include gnustack.h.
1626 * config/mips/crtn.S: Likewise.
1627 * config/mips/mips16.S: Likewise.
1628 * config/mips/vr4120-div.S: Likewise.
1629
e9ee848d
ML
16302020-01-23 Martin Liska <mliska@suse.cz>
1631
1632 * libgcov-driver.c (prune_topn_counter): Remove
1633 check for -1 as we only prune run-time counters
1634 that do not generate an invalid state.
1635
7491c17f
ML
16362020-01-22 Martin Liska <mliska@suse.cz>
1637
1638 PR tree-optimization/92924
1639 * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
1640 try to find an existing value, then find an empty slot
1641 if not found.
1642
5f32f9cf
ML
16432020-01-22 Martin Liska <mliska@suse.cz>
1644
1645 PR tree-optimization/92924
1646 * libgcov-driver.c (prune_topn_counter): New.
1647 (prune_counters): Likewise.
1648 (dump_one_gcov): Prune a run-time counter.
1649 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
1650 For a known value, add GCOV_TOPN_VALUES to value.
1651 Otherwise, decrement all counters by one.
1652
463f6499
HPN
16532020-01-18 Hans-Peter Nilsson <hp@axis.com>
1654
1655 * config/cris/arit.c (DS): Apply attribute __fallthrough__.
1656
84479e3a
JDA
16572020-01-18 John David Anglin <danglin@gcc.gnu.org>
1658
1659 PR libgcc/92988
1660 * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
1661 DEFAULT_USE_CXA_ATEXIT is true.
1662
e953433f 16632020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
674dcc3f 1664 Thomas Preud'homme <thomas.preudhomme@arm.com>
e953433f
MI
1665
1666 * config/arm/t-arm: Check return value of gcc rather than lack of
1667 output.
1668
03e87724
GJL
16692020-01-14 Georg-Johann Lay <avr@gjlay.de>
1670
1671 * config/avr/lib1funcs.S (skip): Simplify.
1672
af9bd920
KCY
16732020-01-10 Kwok Cheung Yeung <kcy@codesourcery.com>
1674
1675 * config/gcn/atomic.c: Remove include of stdint.h.
1676 (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
1677 __UINTPTR_TYPE__.
1678
d6491d15
KCY
16792020-01-09 Kwok Cheung Yeung <kcy@codesourcery.com>
1680
1681 * config/gcn/atomic.c: New.
1682 * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
1683
f30dd607
GJL
16842020-01-08 Georg-Johann Lay <avr@gjlay.de>
1685
1686 Implement 64-bit double functions.
1687
1688 PR target/92055
1689 * config.host (tmake_file) [target=avr]: Add t-libf7,
1690 t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
1691 * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
1692 depending on sizeof (double) or sizeof (long double).
1693 * config/avr/libf7: New folder.
1694
5205a445
OH
16952020-01-05 Olivier Hainque <hainque@adacore.com>
1696
1697 * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
1698 by IN_LIBGCC2.
1699
8d9254fc
JJ
17002020-01-01 Jakub Jelinek <jakub@redhat.com>
1701
1702 Update copyright years.
1703
abb6c3ee
OH
17042019-12-30 Olivier Hainque <hainque@adacore.com>
1705
1706 * config/gthr-vxworks.h: Use _vxworks-versions.h.
1707 * config/gthr-vxworks-tls.c: Likewise.
1708
d7f5094a
OH
17092019-12-30 Olivier Hainque <hainque@adacore.com>
1710
1711 * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
1712 standard zero-initializer syntax.
1713
49cfaa2a
OH
17142019-12-30 Olivier Hainque <hainque@adacore.com>
1715
1716 * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
1717 reference to the internal VX_GET_TLS_DATA interface.
1718
89b9a554
OH
17192019-12-30 Olivier Hainque <hainque@adacore.com>
1720
1721 * config/vxcrtstuff.c: Fix incorrect spelling of
1722 USE_INITFINI_ARRAY in guard.
1723
e8aa9f55
JL
17242019-12-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1725
1726 * config.host: s/msp430*-*-elf/msp430-*-elf*.
1727 Override default "extra_parts" variable.
1728 * configure: Regenerate.
1729 * configure.ac: Disable TM clone registry by default for
1730 msp430-elfbare.
1731
a9046e98
JL
17322019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1733
1734 * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
1735 "extra_parts".
1736 * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
1737
34a53788
JL
17382019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1739
1740 * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
1741 true.
1742
21a098f4
JL
17432019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1744
1745 * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
1746 defined instead of its value.
1747
ad8b7783
JL
17482019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1749
1750 * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
1751 if it will have contents.
1752
08d7ff78
GJL
17532019-12-05 Georg-Johann Lay <avr@gjlay.de>
1754
1755 PR target/92055
1756 * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
1757
3d3a96a2
SN
17582019-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
1759
34b4d99d 1760 PR libgcc/91737
3d3a96a2
SN
1761 * config.host: Add t-gthr-noweak on *-*-musl*.
1762 * config/t-gthr-noweak: New file.
1763
632b5e3d
JDA
17642019-11-17 John David Anglin <danglin@gcc.gnu.org>
1765
1766 * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
1767 volatile void *. Remove trap check.
1768 (__kernel_cmpxchg2): Likewise.
1769 (FETCH_AND_OP_2): Adjust operand types.
1770 (OP_AND_FETCH_2): Likewise.
1771 (FETCH_AND_OP_WORD): Likewise.
1772 (OP_AND_FETCH_WORD): Likewise.
1773 (COMPARE_AND_SWAP_2): Likewise.
1774 (__sync_val_compare_and_swap_4): Likewise.
1775 (__sync_bool_compare_and_swap_4): Likewise.
1776 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
1777 (__sync_lock_test_and_set_4): Likewise.
1778 (SYNC_LOCK_RELEASE_1): Likewise. Use __kernel_cmpxchg2 for release.
1779 (__sync_lock_release_4): Adjust operand types. Use __kernel_cmpxchg
1780 for release.
1781 (__sync_lock_release_8): Remove.
1782
838fd641
SN
17832019-11-15 Szabolcs Nagy <szabolcs.nagy@arm.com>
1784
1785 * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
1786 of __sigset_t.
1787
27204060
JL
17882019-11-14 Jerome Lambourg <lambourg@adacore.com>
1789 Doug Rupp <rupp@adacore.com>
1790 Olivier Hainque <hainque@adacore.com>
1791
1792 * config.host: Collapse the arm-vxworks entries into
1793 a single arm-wrs-vxworks7* one.
1794 * config/arm/unwind-arm-vxworks.c: Update comments. Provide
1795 __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
1796 kernel modules, to be overriden by libstdc++ when we link with
1797 it. Rely on externally provided __exidx_start/end.
1798
3004f893
DR
17992019-11-14 Doug Rupp <rupp@adacore.com>
1800 Olivier Hainque <hainque@adacore.com>
1801
1802 * config.host: Handle aarch64*-wrs-vxworks7*.
1803
36e5f4d4
OH
18042019-11-12 Olivier Hainque <hainque@adacore.com>
1805
1806 * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
1807 sources except the cxx0x support to LIB2ADDEH. We don't support
1808 cxx0x on AE/653.
1809 * config/t-vxworksae: New file.
1810 * config.host: Handle *-*-vxworksae: Add the two aforementioned
1811 Makefile fragment files at their expected position in the tmake_file
1812 list, in accordance with what is done for other VxWorks variants.
1813
806dd047
CG
18142019-11-12 Corentin Gay <gay@adacore.com>
1815 Jerome Lambourg <lambourg@adacore.com>
1816 Olivier Hainque <hainque@adacore.com>
1817
1818 * config/t-gthr-vxworks: New file, add all the gthr-vxworks
1819 sources to LIB2ADDEH.
1820 * config/t-vxworks: Remove adjustments to LIB2ADDEH.
1821 * config/t-vxworks7: Likewise.
1822
1823 * config.host: Append a block at the end of the file to add the
1824 t-gthr files to the tmake_file list for VxWorks after everything
1825 else.
1826
1827 * config/vxlib.c: Rename as gthr-vxworks.c.
1828 * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
1829
1830 * config/gthr-vxworks.h: Simplify a few comments. Expose a TAS
1831 API and a basic error checking API, both internal. Simplify the
1832 __gthread_once_t type definition and initializers. Add sections
1833 for condition variables support and for the C++0x thread support,
1834 conditioned against Vx653 for the latter.
1835
1836 * config/gthr-vxworks.c (__gthread_once): Simplify comments and
1837 implementation, leveraging the TAS internal API.
1838 * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
1839 API, leveraging the general availability of TLS services in VxWorks7
1840 post SR6xxx.
1841 (__gthread_setspecific, __gthread_setspecific): Use it.
1842 (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
1843 * config/gthr-vxworks-cond.c: New file. GTHREAD_COND variable
1844 support based on VxWorks primitives.
1845 * config/gthr-vxworks-thread.c: New file. GTHREAD_CXX0X support
1846 based on VxWorks primitives.
1847
78e49fb1
JL
18482019-11-06 Jerome Lambourg <lambourg@adacore.com>
1849 Olivier Hainque <hainque@adacore.com>
1850
1851 * config/vxcrtstuff.c: New file.
1852 * config/t-vxcrtstuff: New Makefile fragment.
1853 * config.host: Append t-vxcrtstuff to the tmake_file list
1854 on all VxWorks ports using dwarf for table based EH.
1855
29f3def3
GJL
18562019-11-07 Georg-Johann Lay <avr@gjlay.de>
1857
1858 Support 64-bit double and 64-bit long double configurations.
1859
1860 PR target/92055
1861 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
1862 long double is a 32-bit type.
1863 * config/avr/t-avrlibc: Copy double64 and long-double64
1864 multilib(s) from the vanilla one.
1865 * config/avr/t-copy-libgcc: New Makefile snip.
1866
62ec242e
JL
18672019-11-04 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1868
1869 * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
1870 the target output object format is not ELF.
1871 s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
1872
da5c1bbe
OE
18732019-11-03 Oleg Endo <olegendo@gcc.gnu.org>
1874
1875 PR libgcc/78804
1876 * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
1877 * fp-bit.c (pack_d, unpack_d): Remove special cases for
1878 FLOAT_BIT_ORDER_MISMATCH.
1879 * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
1880
8dc56a22
JW
18812019-11-01 Jim Wilson <jimw@sifive.com>
1882
1883 * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
1884
91c64455
JL
18852019-10-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1886
1887 * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
1888 s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
1889 s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
1890 Define symbols for 32-bit and f5series hardware multiply
1891 register addresses.
1892 Replace hard-coded register addresses with symbols.
1893 Fix "_mspabi*" typo.
1894 Fix whitespace.
1895 * config/msp430/lib2mul.c: Add comment.
1896
85093ac6
JDA
18972019-10-15 John David Anglin <danglin@gcc.gnu.org>
1898
1899 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
1900 unsigned int. Adjust callers.
1901 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
1902 unsigned int *. Load relocation offset before function pointer.
1903 Add barrier to ensure ordering.
1904
1aea083d
JDA
19052019-10-12 John David Anglin <danglin@gcc.gnu.org>
1906
1907 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
1908 Load PIC register after branch target. Fix white space.
1909 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
1910 implementations. Load PIC register after branch target. Don't
1911 clobber function pointer when it points to function descriptor.
1912 Use nullification instead of branch in LINUX implementation.
1913
c49af82c
JDA
19142019-10-03 John David Anglin <danglin@gcc.gnu.org>
1915
1916 * config/pa/fptr.c: Disable -Warray-bounds warning.
1917
88a51d68
RH
19182019-09-25 Richard Henderson <richard.henderson@linaro.org>
1919
9e46fd07
RH
1920 * config.in, configure: Re-rebuild with stock autoconf 2.69,
1921 not the ubuntu modified 2.69.
1922
58d169ba
RH
1923 PR target/91833
1924 * config/aarch64/lse-init.c: Include auto-target.h. Disable
1925 initialization if !HAVE_SYS_AUXV_H.
1926 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
1927 * config.in, configure: Rebuild.
1928
88a51d68
RH
1929 PR target/91834
1930 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
1931 overlap the inputs.
1932
761e6bb9
SZ
19332019-09-25 Shaokun Zhang <zhangshaokun@hisilicon.com>
1934
1935 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
1936 CTR_EL0.IDC and CTR_EL0.DIC.
1937
76c93295
CL
19382019-09-20 Christophe Lyon <christophe.lyon@st.com>
1939
1940 Revert:
1941 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1942 Mickaël Guêné <mickael.guene@st.com>
1943
1944 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
1945 architecture.
1946
33befddc
RH
19472019-09-19 Richard Henderson <richard.henderson@linaro.org>
1948
1949 * config/aarch64/lse-init.c: New file.
1950 * config/aarch64/lse.S: New file.
1951 * config/aarch64/t-lse: New file.
1952 * config.host: Add t-lse to all aarch64 tuples.
1953
ae1152e5
CL
19542019-09-10 Christophe Lyon <christophe.lyon@st.com>
1955 Mickaël Guêné <mickael.guene@st.com>
1956
84818dbb
CL
1957 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
1958 architecture.
1959
19602019-09-10 Christophe Lyon <christophe.lyon@st.com>
1961 Mickaël Guêné <mickael.guene@st.com>
1962
ae1152e5
CL
1963 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
1964 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
1965 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
1966 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
1967 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
1968 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
1969 (__gnu_personality_sigframe_fdpic): New.
1970 (get_eit_entry): Add FDPIC signal frame support.
1971
5d727a4b
CL
19722019-09-10 Christophe Lyon <christophe.lyon@st.com>
1973 Mickaël Guêné <mickael.guene@st.com>
1974
1975 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
1976 (__kernel_dmb): Likewise.
1977 (__fdpic_cmpxchg): New function.
1978 (__fdpic_dmb): New function.
1979 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
1980 (gnu_Unwind_Find_got): New function.
1981 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
1982 * unwind-arm-common.inc (UCB_PR_GOT): New.
1983 (funcdesc_t): New struct.
1984 (get_eit_entry): Add FDPIC support.
1985 (unwind_phase2): Likewise.
1986 (unwind_phase2_forced): Likewise.
1987 (__gnu_Unwind_RaiseException): Likewise.
1988 (__gnu_Unwind_Resume): Likewise.
1989 (__gnu_Unwind_Backtrace): Likewise.
1990 * unwind-pe.h (read_encoded_value_with_base): Likewise.
1991
b1e21e5a 19922019-09-10 Christophe Lyon <christophe.lyon@st.com>
11189793 1993 Mickaël Guêné <mickael.guene@st.com>
b1e21e5a 1994
11189793
CL
1995 * libgcc/crtstuff.c: Add support for FDPIC.
1996
19972019-09-10 Christophe Lyon <christophe.lyon@st.com>
1998
1999 * config.host: Handle *-*-uclinuxfdpiceabi.
b1e21e5a 2000
91dfef96
JM
20012019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
2002
2003 * config.host: Set cpu_type for bpf-*-* targets.
2004 * config/bpf/t-bpf: Likewise.
2005 * config/bpf/crtn.S: Likewise.
2006 * config/bpf/crti.S: New file.
2007
2f4d8951
JW
20082019-09-06 Jim Wilson <jimw@sifive.com>
2009
2010 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
2011 (riscv*-*-freebsd*): Likewise.
2012
2f2aeda9
UW
20132019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
2014
2015 * config.host: Remove references to spu.
2016 * config/spu/: Remove directory.
2017
d16017da
JL
20182019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2019
2020 PR target/91306
2021 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
2022 element type, instead of "sizeof" the element type.
2023 (__DTOR_LIST__): Likewise.
2024 (__TMC_LIST__): Likewise.
2025 (__do_global_dtors_aux_fini_array_entry): Likewise.
2026 (__frame_dummy_init_array_entry): Likewise.
2027 (__CTOR_END__): Likewise.
2028 (__DTOR_END__): Likweise.
2029 (__FRAME_END__): Likewise.
2030 (__TMC_END__): Likewise.
2031
a9fcfec3
HL
20322019-08-20 Lili Cui <lilicui@intel.com>
2033
2034 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
2035 INTEL_COREI7_COOPERLAKE.
2036
428642b1
MT
20372019-07-31 Matt Thomas <matt@3am-software.com>
2038 Nick Hudson <nick@nthcliff.demon.co.uk>
2039 Matthew Green <mrg@eterna.com.au>
2040 Maya Rashish <coypu@sdf.org>
2041
2042 * config.host (hppa*-*-netbsd*): New case.
2043 * config/pa/t-netbsd: New file.
2044
f0efd925
JH
20452019-07-31 Joel Hutton <Joel.Hutton@arm.com>
2046
2047 * config/arm/cmse.c (cmse_check_address_range): Add
2048 warn_unused_result attribute.
2049
a861990d
ML
20502019-07-22 Martin Liska <mliska@suse.cz>
2051
2052 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
2053 * config/pa/t-stublib: Likewise.
2054
9c0dba7c
SH
20552019-07-22 Stafford Horne <shorne@gmail.com>
2056
2057 PR target/90362
2058 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
2059 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
2060 instructions are not available on every processor. Change a
2061 l.bnf to l.bf to fix logic issue.
2062
61afc8f8
IS
20632019-07-04 Iain Sandoe <iain@sandoe.co.uk>
2064
2065 * config.host: Remove reference to t-darwin8.
2066
179c7ef5
IS
20672019-07-03 Iain Sandoe <iain@sandoe.co.uk>
2068
2069 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
2070 list.
2071 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
2072 mmacosx-version-min for crts to run across all system versions.
2073 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
2074 * config/t-darwin: Revise mmacosx-version-min for crts to run across
2075 system versions >= 10.4.
2076
596341c7
ML
20772019-07-03 Martin Liska <mliska@suse.cz>
2078
2079 * Makefile.in: Use topn_values instead of one_value names.
2080 * libgcov-merge.c (__gcov_merge_single): Move to ...
2081 (__gcov_merge_topn): ... this.
2082 (merge_single_value_set): Move to ...
2083 (merge_topn_values_set): ... this.
2084 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
2085 ...
2086 (__gcov_topn_values_profiler_body): ... this.
2087 (__gcov_one_value_profiler_v2): Move to ...
2088 (__gcov_topn_values_profiler): ... this.
2089 (__gcov_one_value_profiler_v2_atomic): Move to ...
2090 (__gcov_topn_values_profiler_atomic): ... this.
2091 (__gcov_indirect_call_profiler_v4): Remove.
2092 * libgcov-util.c (__gcov_single_counter_op): Move to ...
2093 (__gcov_topn_counter_op): ... this.
2094 * libgcov.h (L_gcov_merge_single): Remove.
2095 (L_gcov_merge_topn): New.
2096 (__gcov_merge_single): Remove.
2097 (__gcov_merge_topn): New.
2098 (__gcov_one_value_profiler_v2): Move to ..
2099 (__gcov_topn_values_profiler): ... this.
2100 (__gcov_one_value_profiler_v2_atomic): Move to ...
2101 (__gcov_topn_values_profiler_atomic): ... this.
2102
1b309ca5
ML
21032019-07-03 Martin Liska <mliska@suse.cz>
2104
2105 * libgcov-merge.c (merge_single_value_set): Support N values.
2106 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
2107
5a460280
ID
21082019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
2109
2110 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
2111 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
2112 * configure.ac: Add --disable-tm-clone-registry option.
2113 * configure: Regenerate.
2114
45309d28
ML
21152019-06-27 Martin Liska <mliska@suse.cz>
2116
2117 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
2118 dead assignments.
2119 * libgcov-util.c: Likewise.
2120
c2f7a665
ML
21212019-06-27 Martin Liska <mliska@suse.cz>
2122
2123 * libgcov-util.c (gcov_profile_merge): Release allocated
2124 memory.
2125 (calculate_overlap): Likewise.
2126
a8e55c61
IS
21272019-06-25 Iain Sandoe <iain@sandoe.co.uk>
2128
2129 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
2130 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
2131 Build objects for the out of line save/restore register functions
2132 so that they can be used for any supported Darwin version.
2133 * config/t-darwin: Default the build Darwin version to Darwin8
2134 (MacOS 10.4).
2135
e5ce4cbc
ML
21362019-06-25 Martin Liska <mliska@suse.cz>
2137
2138 * libgcov-driver-system.c (replace_filename_variables): Do not
2139 call strlen with NULL argument.
2140
52a47d28
AS
21412019-06-25 Andrew Stubbs <ams@codesourcery.com>
2142
2143 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
2144 * config/gcn/unwind-gcn.c: New file.
2145
76d46331
KCY
21462019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
2147 Andrew Stubbs <ams@codesourcery.com>
2148
2149 * configure: Regenerate.
2150 * config/gcn/gthr-gcn.h: New.
2151
787783a0
TV
21522019-06-18 Tom de Vries <tdevries@suse.de>
2153
2154 * config/nvptx/crt0.c (__main): Declare.
2155
f32f7585
MG
21562019-06-17 Matthew Green <mrg@eterna.com.au>
2157 Maya Rashish <coypu@sdf.org>
2158
2159 * config.host (aarch64*-*-netbsd*): New case.
2160
0fcc78f7
JL
21612019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2162
2163 * config/msp430/slli.S (__mspabi_sllll): New library function for
2164 performing a logical left shift of a 64-bit value.
2165 * config/msp430/srai.S (__mspabi_srall): New library function for
2166 performing a arithmetic right shift of a 64-bit value.
2167 * config/msp430/srll.S (__mspabi_srlll): New library function for
2168 performing a logical right shift of a 64-bit value.
2169
b27c1082
MT
21702019-06-14 Matt Thomas <matt@3am-software.com>
2171 Matthew Green <mrg@eterna.com.au>
2172 Nick Hudson <skrll@netbsd.org>
2173 Maya Rashish <coypu@sdf.org>
2174
2175 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
2176 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
2177 functions to build.
2178 * config/arm/t-netbsd-eabi: New file.
2179
ae7deb4b
DD
21802019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
2181
2182 * config.host: Add PRU target.
2183 * config/pru/asri.c: New file.
2184 * config/pru/eqd.c: New file.
2185 * config/pru/eqf.c: New file.
2186 * config/pru/ged.c: New file.
2187 * config/pru/gef.c: New file.
2188 * config/pru/gtd.c: New file.
2189 * config/pru/gtf.c: New file.
2190 * config/pru/led.c: New file.
2191 * config/pru/lef.c: New file.
2192 * config/pru/lib2bitcountHI.c: New file.
2193 * config/pru/lib2divHI.c: New file.
2194 * config/pru/lib2divQI.c: New file.
2195 * config/pru/lib2divSI.c: New file.
2196 * config/pru/libgcc-eabi.ver: New file.
2197 * config/pru/ltd.c: New file.
2198 * config/pru/ltf.c: New file.
2199 * config/pru/mpyll.S: New file.
2200 * config/pru/pru-abi.h: New file.
2201 * config/pru/pru-asm.h: New file.
2202 * config/pru/pru-divmod.h: New file.
2203 * config/pru/sfp-machine.h: New file.
2204 * config/pru/t-pru: New file.
2205
0d7b3e47
JJ
22062019-06-11 Jakub Jelinek <jakub@redhat.com>
2207
2208 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
2209
54e2d83c
ML
22102019-06-10 Martin Liska <mliska@suse.cz>
2211
2212 PR bootstrap/90808
2213 * libgcov.h: Add ATTRIBUTE_UNUSED.
2214
92d41717
ML
22152019-06-10 Martin Liska <mliska@suse.cz>
2216
2217 * Makefile.in: Add __gcov_one_value_profiler_v2,
2218 __gcov_one_value_profiler_v2_atomic and
2219 __gcov_indirect_call_profiler_v4.
2220 * libgcov-merge.c (__gcov_merge_single): Change
2221 function signature.
2222 (merge_single_value_set): New.
2223 * libgcov-profiler.c (__gcov_one_value_profiler_body):
2224 Update functionality.
2225 (__gcov_one_value_profiler): Remove.
2226 (__gcov_one_value_profiler_v2): ... this.
2227 (__gcov_one_value_profiler_atomic): Rename to ...
2228 (__gcov_one_value_profiler_v2_atomic): this.
2229 (__gcov_indirect_call_profiler_v3): Rename to ...
2230 (__gcov_indirect_call_profiler_v4): ... this.
2231 * libgcov.h (__gcov_one_value_profiler): Remove.
2232 (__gcov_one_value_profiler_atomic): Remove.
2233 (__gcov_one_value_profiler_v2_atomic): New.
2234 (__gcov_indirect_call_profiler_v3): Remove.
2235 (__gcov_one_value_profiler_v2): New.
2236 (__gcov_indirect_call_profiler_v4): New.
2237 (gcov_get_counter_ignore_scaling): New function.
2238
e37333ba
ML
22392019-06-07 Martin Liska <mliska@suse.cz>
2240
2241 * Makefile.in: Remove usage of
2242 _gcov_merge_icall_topn.
2243 * libgcov-driver.c (gcov_sort_n_vals): Remove.
2244 (gcov_sort_icall_topn_counter): Likewise.
2245 (gcov_sort_topn_counter_arrays): Likewise.
2246 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
2247 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
2248 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
2249 Likewise.
2250 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
2251 (struct indirect_call_tuple): Remove.
2252 (__gcov_indirect_call_topn_profiler): Remove.
2253 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
2254 * libgcov.h (gcov_sort_n_vals): Remove.
2255 (L_gcov_merge_icall_topn): Likewise.
2256 (__gcov_merge_icall_topn): Likewise.
2257 (__gcov_indirect_call_topn_profiler): Likewise.
2258
34a4a9c2
IS
22592019-06-06 Iain Sandoe <iain@sandoe.co.uk>
2260
2261 * config/rs6000/t-darwin: Ensure that the unwinder is built with
2262 altivec enabled.
2263
d1b2f85f
JL
22642019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2265
2266 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
2267 section.
2268 (__mspabi_slli): Likewise.
2269 (__mspabi_slll_n): Likewise.
2270 (__mspabi_slll): Likewise.
2271 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
2272 (__mspabi_srai): Likewise.
2273 (__mspabi_sral_n): Likewise.
2274 (__mspabi_sral): Likewise.
2275 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
2276 (__mspabi_srli): Likewise.
2277 (__mspabi_srll_n): Likewise.
2278 (__mspabi_srll): Likewise.
2279
e69a13d1
YS
22802019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
2281
2282 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
2283 Add appropriate tm_file clause as well.
2284 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
2285
b009eac1
JC
22862019-06-05 James Clarke <jrtc27@jrtc27.com>
2287
2288 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
2289 rather than .data/.bss so it can be accessed via gp-relative
2290 addressing.
2291
781d39f2
DE
22922019-06-05 David Edelsohn <dje.gcc@gmail.com>
2293
2294 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
2295 (CR2_REGNO): Rename to R_CR2.
2296 (XER_REGNO): Rename to R_XER.
2297 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
2298 (VRSAVE_REGNO): Rename to R_VRSAVE.
2299 (VSCR_REGNO): R_VSCR.
2300
76aaa9cd
YS
23012019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
2302
2303 * config.host (rx-*-linux*): Add new case.
2304 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
2305
8fc16d72
ST
23062019-05-29 Sam Tebbs <sam.tebbs@arm.com>
2307
2308 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
2309 function.
2310 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
2311 aarch64_post_frob_eh_handler_addr): Add check for b-key.
2312 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
2313 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
2314 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
2315 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
2316 string.
2317 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
2318 string.
2319 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
2320
e54b1a92
RO
23212019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2322
2323 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
2324 Remove Solaris 9 and 10 support.
2325 (sparc_is_sighandler): Likewise.
2326
abbb8307
JDA
23272019-05-26 John David Anglin <danglin@gcc.gnu.org>
2328
2329 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
2330
2581344d
L
23312019-05-17 H.J. Lu <hongjiu.lu@intel.com>
2332
2333 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
2334 4_FP_W_TYPEs are used for IEEE quad precision.
2335 * soft-fp/extendhftf2.c: Likewise.
2336 * soft-fp/extendsftf2.c: Likewise.
2337 * soft-fp/extendxftf2.c: Likewise.
2338 * soft-fp/trunctfdf2.c: Likewise.
2339 * soft-fp/trunctfhf2.c: Likewise.
2340 * soft-fp/trunctfsf2.c: Likewise.
2341 * soft-fp/trunctfxf2.c: Likewise.
2342 * config/rs6000/ibm-ldouble.c: Likewise.
2343
ccd1242e
RO
23442019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2345
2346 * config.host: Simplify various *-*-solaris2.1[0-9]* to
2347 *-*-solaris2*.
2348 * configure.ac: Likewise.
2349 * configure: Regenerate.
2350
2351 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
2352 Solaris 10 and Solaris 11 < snv_125 handling.
2353
ef5eb79d
IS
23542019-05-12 Iain Sandoe <iain@sandoe.co.uk>
2355
2356 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
2357
4f0e90fa
HL
23582019-05-07 Hongtao Liu <hongtao.liu@intel.com>
2359
2360 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
2361 * config/i386/cpuinfo.h (enum processor_features): Add
2362 FEATURE_AVX512BF16.
2363
48528842
RR
23642019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
2365 Bernd Edlinger <bernd.edlinger@hotmail.de>
2366 Jakub Jelinek <jakub@redhat.com>
2367
2368 PR target/89093
2369 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
2370 * config/arm/unwind-arm.c: Likewise.
2371 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
2372 attribute for ARM.
2373
887e182f
MC
23742019-04-15 Monk Chiang <sh.chiang04@gmail.com>
2375
2376 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
2377 (RT_SIGRETURN): Update.
2378 (nds32_fallback_frame_state): Update.
2379
a90b0cdd
MS
23802019-02-21 Martin Sebor <msebor@redhat.com>
2381
2382 * libgcc2.h (__clear_cache): Correct signature.
2383 * libgcc2.c (__clear_cache): Same.
2384
1ed28eda
UB
23852019-02-20 Uroš Bizjak <ubizjak@gmail.com>
2386
2387 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
2388 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
2389
fe95aee9
UB
23902019-02-19 Uroš Bizjak <ubizjak@gmail.com>
2391
2392 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
2393 regno instead of index to DWARF_ZERO_REG.
2394
bf7988f1
EB
23952019-02-15 Eric Botcazou <ebotcazou@adacore.com>
2396
2397 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
2398 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
2399
ba2c1ca8
UB
24002019-01-31 Uroš Bizjak <ubizjak@gmail.com>
2401
2402 * config/alpha/t-linux: Add -mfp-rounding-mode=d
2403 to HOST_LIBGCC2_CFLAGS.
2404
6395ba73
L
24052019-01-23 Joseph Myers <joseph@codesourcery.com>
2406
2407 PR libgcc/88931
ba2c1ca8 2408 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
6395ba73 2409
756721ba
ML
24102019-01-18 Martin Liska <mliska@suse.cz>
2411
2412 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
2413 to ...
2414 (__gcov_indirect_call_profiler_v3): ... this.
2415 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
2416 (__gcov_indirect_call_profiler_v3): Likewise.
2417 * Makefile.in: Bump function name.
2418
d273c40a
ML
24192019-01-18 Martin Liska <mliska@suse.cz>
2420
2421 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
2422 (gcov_version): Use in gcov_error.
2423 (merge_one_data): Likewise.
2424 (dump_one_gcov): Likewise.
2425
be9d9fdb
ML
24262019-01-18 Martin Liska <mliska@suse.cz>
2427
2428 * libgcov-driver.c (gcov_version_string): New function.
2429 (gcov_version): Convert version integer into string.
2430
91d7b7fe
AS
24312019-01-17 Andrew Stubbs <ams@codesourcery.com>
2432 Kwok Cheung Yeung <kcy@codesourcery.com>
2433 Julian Brown <julian@codesourcery.com>
2434 Tom de Vries <tom@codesourcery.com>
2435
2436 * config.host: Recognize amdgcn*-*-amdhsa.
2437 * config/gcn/crt0.c: New file.
2438 * config/gcn/lib2-divmod-hi.c: New file.
2439 * config/gcn/lib2-divmod.c: New file.
2440 * config/gcn/lib2-gcn.h: New file.
2441 * config/gcn/sfp-machine.h: New file.
2442 * config/gcn/t-amdgcn: New file.
2443
67914693
SL
24442019-01-09 Sandra Loosemore <sandra@codesourcery.com>
2445
2446 PR other/16615
2447
2448 * config/c6x/libunwind.S: Mechanically replace "can not" with
2449 "cannot".
2450 * config/tilepro/atomic.h: Likewise.
2451 * config/vxlib-tls.c: Likewise.
2452 * generic-morestack-thread.c: Likewise.
2453 * generic-morestack.c: Likewise.
2454 * mkmap-symver.awk: Likewise.
2455
a5544970
JJ
24562019-01-01 Jakub Jelinek <jakub@redhat.com>
2457
2458 Update copyright years.
2459
da77eace
L
24602018-12-20 H.J. Lu <hongjiu.lu@intel.com>
2461
2462 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
2463 to ignore -Waddress-of-packed-member.
2464
72e3a529
TP
24652018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
2466
2467 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
2468 parameter and corresponding code.
2469 (ARM_FUNC_START): Likewise in both definitions.
2470 Also update footer comment about condition that need to match with
2471 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
2472 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
2473 defined. Weakly define it in this case.
2474 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
2475 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
2476 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
2477 comment to keep condition in sync with the one in
2478 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
2479
5d54c798
WX
24802018-12-18 Wei Xiao <wei3.xiao@intel.com>
2481
2482 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
2483 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
2484
5a2580b6
RV
24852018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2486
2487 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
2488 and .cfi_endproc directives for VxWorks targets.
2489
c0c5112b
PK
24902018-12-05 Paul Koning <ni1d@arrl.net>
2491
2492 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
2493
1ea7ea18
AM
24942018-11-27 Alan Modra <amodra@gmail.com>
2495
2496 * config/rs6000/morestack.S (__stack_split_initialize),
2497 (__morestack_get_guard, __morestack_set_guard),
2498 (__morestack_make_guard): Provide CFI covering these functions.
2499 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
2500
ff641ae1
XQ
25012018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
2502
1ea7ea18 2503 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
ff641ae1
XQ
2504 (sc_pt_regs_lr): Update for kernel.
2505 (sc_pt_regs_tls): Update for kernel.
2506
28209372
XQ
25072018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
2508
2509 * config/csky/linux-unwind.h: Fix coding style.
2510
b2a71af6
XQ
25112018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
2512
2513 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
1ea7ea18 2514 (csky_fallback_frame_state): Modify the check of the
b2a71af6
XQ
2515 instructions to adapt to changes in the kernel
2516
d929e137
SH
25172018-11-09 Stafford Horne <shorne@gmail.com>
2518 Richard Henderson <rth@twiddle.net>
2519
2520 * config.host: Add OpenRISC support.
2521 * config/or1k/*: New.
2522
222cfefa
KC
25232018-11-08 Kito Cheng <kito@andestech.com>
2524
2525 * soft-fp/adddf3.c: Update from glibc.
2526 * soft-fp/addsf3.c: Likewise.
2527 * soft-fp/addtf3.c: Likewise.
2528 * soft-fp/divdf3.c: Likewise.
2529 * soft-fp/divsf3.c: Likewise.
2530 * soft-fp/divtf3.c: Likewise.
2531 * soft-fp/double.h: Likewise.
2532 * soft-fp/eqdf2.c: Likewise.
2533 * soft-fp/eqsf2.c: Likewise.
2534 * soft-fp/eqtf2.c: Likewise.
2535 * soft-fp/extenddftf2.c: Likewise.
2536 * soft-fp/extended.h: Likewise.
2537 * soft-fp/extendhftf2.c: Likewise.
2538 * soft-fp/extendsfdf2.c: Likewise.
2539 * soft-fp/extendsftf2.c: Likewise.
2540 * soft-fp/extendxftf2.c: Likewise.
2541 * soft-fp/fixdfdi.c: Likewise.
2542 * soft-fp/fixdfsi.c: Likewise.
2543 * soft-fp/fixdfti.c: Likewise.
2544 * soft-fp/fixhfti.c: Likewise.
2545 * soft-fp/fixsfdi.c: Likewise.
2546 * soft-fp/fixsfsi.c: Likewise.
2547 * soft-fp/fixsfti.c: Likewise.
2548 * soft-fp/fixtfdi.c: Likewise.
2549 * soft-fp/fixtfsi.c: Likewise.
2550 * soft-fp/fixtfti.c: Likewise.
2551 * soft-fp/fixunsdfdi.c: Likewise.
2552 * soft-fp/fixunsdfsi.c: Likewise.
2553 * soft-fp/fixunsdfti.c: Likewise.
2554 * soft-fp/fixunshfti.c: Likewise.
2555 * soft-fp/fixunssfdi.c: Likewise.
2556 * soft-fp/fixunssfsi.c: Likewise.
2557 * soft-fp/fixunssfti.c: Likewise.
2558 * soft-fp/fixunstfdi.c: Likewise.
2559 * soft-fp/fixunstfsi.c: Likewise.
2560 * soft-fp/fixunstfti.c: Likewise.
2561 * soft-fp/floatdidf.c: Likewise.
2562 * soft-fp/floatdisf.c: Likewise.
2563 * soft-fp/floatditf.c: Likewise.
2564 * soft-fp/floatsidf.c: Likewise.
2565 * soft-fp/floatsisf.c: Likewise.
2566 * soft-fp/floatsitf.c: Likewise.
2567 * soft-fp/floattidf.c: Likewise.
2568 * soft-fp/floattihf.c: Likewise.
2569 * soft-fp/floattisf.c: Likewise.
2570 * soft-fp/floattitf.c: Likewise.
2571 * soft-fp/floatundidf.c: Likewise.
2572 * soft-fp/floatundisf.c: Likewise.
2573 * soft-fp/floatunditf.c: Likewise.
2574 * soft-fp/floatunsidf.c: Likewise.
2575 * soft-fp/floatunsisf.c: Likewise.
2576 * soft-fp/floatunsitf.c: Likewise.
2577 * soft-fp/floatuntidf.c: Likewise.
2578 * soft-fp/floatuntihf.c: Likewise.
2579 * soft-fp/floatuntisf.c: Likewise.
2580 * soft-fp/floatuntitf.c: Likewise.
2581 * soft-fp/gedf2.c: Likewise.
2582 * soft-fp/gesf2.c: Likewise.
2583 * soft-fp/getf2.c: Likewise.
2584 * soft-fp/half.h: Likewise.
2585 * soft-fp/ledf2.c: Likewise.
2586 * soft-fp/lesf2.c: Likewise.
2587 * soft-fp/letf2.c: Likewise.
2588 * soft-fp/muldf3.c: Likewise.
2589 * soft-fp/mulsf3.c: Likewise.
2590 * soft-fp/multf3.c: Likewise.
2591 * soft-fp/negdf2.c: Likewise.
2592 * soft-fp/negsf2.c: Likewise.
2593 * soft-fp/negtf2.c: Likewise.
2594 * soft-fp/op-1.h: Likewise.
2595 * soft-fp/op-2.h: Likewise.
2596 * soft-fp/op-4.h: Likewise.
2597 * soft-fp/op-8.h: Likewise.
2598 * soft-fp/op-common.h: Likewise.
2599 * soft-fp/quad.h: Likewise.
2600 * soft-fp/single.h: Likewise.
2601 * soft-fp/soft-fp.h: Likewise.
2602 * soft-fp/subdf3.c: Likewise.
2603 * soft-fp/subsf3.c: Likewise.
2604 * soft-fp/subtf3.c: Likewise.
2605 * soft-fp/truncdfsf2.c: Likewise.
2606 * soft-fp/trunctfdf2.c: Likewise.
2607 * soft-fp/trunctfhf2.c: Likewise.
2608 * soft-fp/trunctfsf2.c: Likewise.
2609 * soft-fp/trunctfxf2.c: Likewise.
2610 * soft-fp/unorddf2.c: Likewise.
2611 * soft-fp/unordsf2.c: Likewise.
2612 * soft-fp/unordtf2.c: Likewise.
2613
2901f42f
VK
26142018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
2615
2616 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
2617 * config/i386/cpuinfo.h (processor_types): Add znver2.
2618
4310ca66
PK
26192018-11-01 Paul Koning <ni1d@arrl.net>
2620
2621 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
2622 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
2623
22e05272
JM
26242018-10-31 Joseph Myers <joseph@codesourcery.com>
2625
2626 PR bootstrap/82856
2627 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
2628 * configure: Regenerate.
2629
8180cde0
CZ
26302018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
2631
2632 * config/arc/lib1funcs.S (_muldi3): New function.
2633 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
2634
be7b071e
RV
26352018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2636
2637 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
2638
3239d726
ML
26392018-10-25 Martin Liska <mliska@suse.cz>
2640
2641 PR other/87735
2642 * libgcov-profiler.c: Revert.
2643
19b55958
ML
26442018-10-24 Martin Liska <mliska@suse.cz>
2645
2646 * libgcov-profiler.c: Start from 1 in order to distinguish
2647 functions which were seen and these that were not.
2648
a9a2fddb
PK
26492018-10-18 Paul Koning <ni1d@arrl.net>
2650
2651 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
2652 standard.
2653 * divmod.c: Update references to __udivmodsi4.
2654 * udivmod.c: Ditto.
2655 * udivhi3.c: New file.
2656 * udivmodhi4.c: New file.
2657 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
2658
fc8abc46
RV
26592018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2660
2661 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
2662
87f918e3
OH
26632018-10-12 Olivier Hainque <hainque@adacore.com>
2664
2665 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
2666 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
2667
be86efa7
PK
26682018-10-08 Paul Koning <ni1d@arrl.net>
2669
2670 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
2671
3edbcdbe
ML
26722018-10-04 Martin Liska <mliska@suse.cz>
2673
2674 PR gcov-profile/84107
2675 * libgcov-profiler.c (__gcov_indirect_call):
2676 Change type to indirect_call_tuple.
2677 (struct indirect_call_tuple): New struct.
2678 (__gcov_indirect_call_topn_profiler): Change type.
2679 (__gcov_indirect_call_profiler_v2): Use the new
2680 variables.
2681 * libgcov.h (struct indirect_call_tuple): New struct
2682 definition.
2683
af8096fc
UB
26842018-10-03 Uros Bizjak <ubizjak@gmail.com>
2685
2686 * libgcc2.c (isnan): Use __builtin_isnan.
2687 (isfinite): Use __builtin_isfinite.
2688 (isinf): Use __builtin_isinf.
2689
0a76bba4
UB
26902018-09-26 Uros Bizjak <ubizjak@gmail.com>
2691
2692 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
2693
5244089f
OH
26942018-09-21 Alexandre Oliva <oliva@adacore.com>
2695
2696 * config/vxcache.c: New file. Provide __clear_cache, based on
2697 the cacheTextUpdate VxWorks service.
2698 * config/t-vxworks (LIB2ADD): Add vxcache.c.
2699 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
2700 * config/t-vxwoks7: Likewise.
2701
512cc015
ML
27022018-09-21 Martin Liska <mliska@suse.cz>
2703
2704 * libgcov-driver.c (crc32_unsigned): Remove.
2705 (gcov_histogram_insert): Likewise.
2706 (gcov_compute_histogram): Likewise.
2707 (compute_summary): Simplify rapidly.
2708 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
2709 (merge_summary): Rapidly simplify.
2710 (dump_one_gcov): Ignore gcov_summary.
2711 (gcov_do_dump): Do not handle program summary, it's not
2712 used.
2713 * libgcov-util.c (tag_summary): Remove.
2714 (read_gcda_finalize): Fix coding style.
2715 (read_gcda_file): Initialize curr_object_summary.
2716 (compute_summary): Remove.
2717 (calculate_overlap): Remove settings of run_max.
2718
36ff254b
MC
27192018-09-21 Monk Chiang <sh.chiang04@gmail.com>
2720
2721 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
2722 ucontext_t type instead.
2723 (nds32_fallback_frame_state): Remove struct _sigframe statement.
2724
229a033d
KC
27252018-09-21 Kito Cheng <kito.cheng@gmail.com>
2726
2727 * config/nds32/t-nds32-glibc: New file.
2728
53c6feb2
RO
27292018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2730
2731 * configure.ac (solaris_ld_v2_maps): New test.
2732 * configure: Regenerate.
2733 * Makefile.in (solaris_ld_v2_maps): New variable.
2734 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
2735 if supported.
2736
ebdb6f23
RE
27372018-08-23 Richard Earnshaw <rearnsha@arm.com>
2738
2739 PR target/86951
2740 * config/arm/lib1funcs.asm (speculation_barrier): New function.
2741 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
2742 to build.
2743
a49c064e
IS
27442018-08-22 Iain Sandoe <iain@sandoe.co.uk>
2745
1ea7ea18 2746 * config/unwind-dw2-fde-darwin.c
a49c064e
IS
2747 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
2748 * config/darwin10-unwind-find-enc-func.c: … to here.
2749 * config/t-darwin: Build Darwin10 unwinder shim crt.
2750 * libgcc/config.host: Add the Darwin10 unwinder shim.
2751
9a5b8df7
RV
27522018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2753
2754 * config.host: Add crtbegin.o and crtend.o for
2755 powerpc-wrs-vxworks target.
2756
4cd0bc3b
J
27572018-08-17 Jojo <jijie_rong@c-sky.com>
2758 Huibin Wang <huibin_wang@c-sky.com>
2759 Sandra Loosemore <sandra@codesourcery.com>
2760 Chung-Lin Tang <cltang@codesourcery.com>
2761
2762 C-SKY port: libgcc
2763
2764 * config.host: Add C-SKY support.
2765 * config/csky/*: New.
2766
a4931745
CJW
27672018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
2768
2769 * config/nds32/t-nds32-isr: Rearrange object dependency.
2770 * config/nds32/initfini.c: Add dwarf2 unwinding support.
2771 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
2772 and registers usage.
2773 * config/nds32/isr-library/excp_isr.S: Ditto.
2774 * config/nds32/isr-library/intr_isr.S: Ditto.
2775 * config/nds32/isr-library/reset.S: Ditto.
2776 * config/nds32/isr-library/restore_all.inc: Ditto.
2777 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
2778 * config/nds32/isr-library/restore_partial.inc: Ditto.
2779 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
2780 * config/nds32/isr-library/save_all.inc: Ditto.
2781 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
2782 * config/nds32/isr-library/save_partial.inc: Ditto.
2783 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
2784 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
2785
2b1969f6
JDA
27862018-08-11 John David Anglin <danglin@gcc.gnu.org>
2787
2788 * config/pa/linux-atomic.c: Update comment.
2789 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
2790 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
2791 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
2792 __ATOMIC_RELAXED for atomic loads.
2793 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
2794 unordered store to release lock.
2795 (__sync_lock_release_8): Likewise.
2796 (SYNC_LOCK_RELEASE_2): Remove define.
af8096fc 2797
89fff9cc
NP
27982018-08-02 Nicolas Pitre <nico@fluxnic.net>
2799
2800 PR libgcc/86512
2801 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
2802 exponent goes negative. Update my email address.
2803 * config/arm/ieee754-sf.S: Likewise.
2804
fd2e1dcd
ML
28052018-08-01 Martin Liska <mliska@suse.cz>
2806
2807 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
92a285c1 2808 check that __gcov_indirect_call_callee is non-null.
fd2e1dcd 2809
b7415975
CL
28102018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
2811
2812 * config/arm/ieee754-df.S: Fix comment for code working on
2813 architectures >= 4.
2814 * config/arm/ieee754-sf.S: Likewise.
2815
b72e71a3
L
28162018-07-27 H.J. Lu <hongjiu.lu@intel.com>
2817
2818 PR libgcc/85334
2819 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2820 Removed.
2821
1c686aa4
JC
28222018-07-05 James Clarke <jrtc27@jrtc27.com>
2823
2824 * configure: Regenerated.
2825
b61c9b99
RO
28262018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2827
2828 * Makefile.in (install_leaf): Use enable_gcov instead of
2829 enable_libgcov.
2830
1765b023
RV
28312018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2832
2833 * configure.ac: Add --disable-gcov option.
2834 * configure: Regenerate.
2835 * Makefile.in: Honour @enable_gcov@.
2836
9b2e34ef
CL
28372018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
2838
2839 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
2840 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
2841 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
2842 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
2843 __ARM_ARCH__.
2844 * config/arm/ieee754-sf.S: Likewise.
2845 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
2846
d1b0dd54
CL
28472018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
2848
2849 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
2850 longer supported.
2851 * config/arm/ieee754-sf.S: Likewise.
2852
1f3fa525
TM
28532018-06-20 Than McIntosh <thanm@google.com>
2854
2855 PR libgcc/86213
2856 * generic-morestack.c (allocate_segment): Move calls to getenv and
2857 getpagesize to __morestack_load_mmap.
2858 (__morestack_load_mmap) Initialize static_pagesize and
2859 use_guard_page here so as to avoid clobbering SSE regs during a
2860 __morestack call.
2861
6a8886e4
MM
28622018-06-18 Michael Meissner <meissner@linux.ibm.com>
2863
2864 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
2865 support modules with -mno-gnu-attribute.
2866 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
2867
fb997097
OH
28682018-06-07 Olivier Hainque <hainque@adacore.com>
2869
2870 * config/t-vxworks (LIBGCC_INCLUDES): Add
2871 -I$(MULTIBUILDTOP)../../gcc/include.
2872 * config/t-vxworks7: Likewise. Reformat a bit to match
2873 the t-vxworks layout.
2874
a548a5a1
OM
28752018-06-07 Olga Makhotina <olga.makhotina@intel.com>
2876
2877 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
2878
244aebfd
ML
28792018-06-07 Martin Liska <mliska@suse.cz>
2880
2881 * libgcov-driver.c: Rename cs_all to all and assign it from
92a285c1 2882 all_prg.
244aebfd 2883
6c086e8c
ML
28842018-06-07 Martin Liska <mliska@suse.cz>
2885
92a285c1 2886 PR bootstrap/86057
6c086e8c 2887 * libgcov-driver-system.c (replace_filename_variables): Use
92a285c1 2888 memcpy instead of mempcpy.
6c086e8c 2889 (allocate_filename_struct): Do not allocate filename, allocate
92a285c1 2890 prefix and set it.
6c086e8c 2891 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
92a285c1 2892 here and properly copy content into it.
6c086e8c 2893 * libgcov-driver.c (struct gcov_filename): Remove max_length
92a285c1 2894 field, change prefix from size_t into char *.
6c086e8c
ML
2895 (compute_summary): Do not calculate longest filename.
2896 (gcov_do_dump): Release memory of gf.filename after each file.
2897 * libgcov-util.c (compute_summary): Use new signature of
92a285c1 2898 compute_summary.
6c086e8c
ML
2899 (calculate_overlap): Likewise.
2900
97a53d1d
ML
29012018-06-05 Martin Liska <mliska@suse.cz>
2902
2903 PR gcov-profile/47618
2904 * libgcov-driver-system.c (replace_filename_variables): New
92a285c1 2905 function.
97a53d1d
ML
2906 (gcov_exit_open_gcda_file): Use it.
2907
7f3577f5
ML
29082018-06-05 Martin Liska <mliska@suse.cz>
2909
2910 * libgcov-driver.c (gcov_compute_histogram): Remove usage
2911 of gcov_ctr_summary.
2912 (compute_summary): Do it just for a single summary.
2913 (merge_one_data): Likewise.
2914 (merge_summary): Simplify as we read just single summary.
2915 (dump_one_gcov): Pass proper argument.
2916 * libgcov-util.c (compute_one_gcov): Simplify as we have just
2917 single summary.
2918 (gcov_info_count_all_cold): Likewise.
2919 (calculate_overlap): Likewise.
2920
cf3cd43d
CJW
29212018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
2922 Monk Chiang <sh.chiang04@gmail.com>
2923
2924 * config.host (nds32*-linux*): New.
2925 * config/nds32/linux-atomic.c: New file.
2926 * config/nds32/linux-unwind.h: New file.
2927
8b8003ed
UB
29282018-05-31 Uros Bizjak <ubizjak@gmail.com>
2929
2930 PR target/85591
2931 * config/i386/cpuinfo.c (get_amd_cpu): Return
2932 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
2933
bbdf026f
RV
29342018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
2935
92a285c1 2936 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
bbdf026f 2937
0e8f29da
ML
29382018-05-29 Martin Liska <mliska@suse.cz>
2939
92a285c1 2940 PR gcov-profile/85759
0e8f29da 2941 * libgcov-driver-system.c (gcov_error): Introduce usage of
92a285c1 2942 GCOV_EXIT_AT_ERROR env. variable.
0e8f29da 2943 * libgcov-driver.c (merge_one_data): Print error that we
92a285c1 2944 overwrite a gcov file with a different timestamp.
0e8f29da 2945
54fd1590
K
29462018-05-23 Kalamatee <kalamatee@gmail.com>
2947
2948 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
2949 path to Lf$finfty.
2950
09baee1a
KC
29512018-05-18 Kito Cheng <kito.cheng@gmail.com>
2952 Monk Chiang <sh.chiang04@gmail.com>
2953 Jim Wilson <jimw@sifive.com>
2954
2955 * config/riscv/save-restore.S: Add support for rv32e.
2956
c3f808d3
KT
29572018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2958
2959 * config/arm/libunwind.S: Update comment relating to armv5.
2960
fcf4f831
JL
29612018-05-17 Jerome Lambourg <lambourg@adacore.com>
2962
2963 * config/arm/cmse.c (cmse_check_address_range): Replace
2964 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
2965
74b2bb19
OM
29662018-05-17 Olga Makhotina <olga.makhotina@intel.com>
2967
2968 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
2969 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
2970
50e461df
OM
29712018-05-08 Olga Makhotina <olga.makhotina@intel.com>
2972
2973 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
2974 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
2975
e5f1cdb1
AC
29762018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
2977
2978 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
2979
8f479d7a
AT
29802018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
2981 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
2982
2983 PR libgcc/84292
2984 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
2985 op_and_fetch to return the right result.
2986
ae043291
AM
29872018-04-27 Alan Modra <amodra@gmail.com>
2988
2989 PR libgcc/85532
2990 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
2991 -fno-asynchronous-unwind-tables.
2992
ba169b74
CJW
29932018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
2994
2995 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
2996 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
2997
ffc2fc06
L
29982018-04-24 H.J. Lu <hongjiu.lu@intel.com>
2999
3000 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
3001 when including "config/i386/shadow-stack-unwind.h".
3002
7b47ecf2
L
30032018-04-24 H.J. Lu <hongjiu.lu@intel.com>
3004
3005 * configure: Regenerated.
3006
661eb8f9
MM
30072018-04-20 Michael Meissner <meissner@linux.ibm.com>
3008
3009 PR target/85456
3010 * config/rs6000/_powikf2.c: New file. Add support for the
3011 __builtin_powil function when long double is IEEE 128-bit floating
3012 point.
3013 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
3014 __powikf2 support.
3015 (__powikf2): Likewise.
3016 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
3017 (__powikf2_hw): Likewise.
3018 (__powikf2): Likewise.
3019 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
3020 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
3021 (_powikf2-hw.c): Likewise.
3022
5707be3c
L
30232018-04-19 H.J. Lu <hongjiu.lu@intel.com>
3024
3025 PR libgcc/85334
3026 * unwind-generic.h (_Unwind_Frames_Increment): New.
3027 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
3028 Likewise.
3029 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
3030 count with _Unwind_Frames_Increment.
3031 (_Unwind_ForcedUnwind_Phase2): Likewise.
3032
5f9ca0b8
L
30332018-04-19 H.J. Lu <hongjiu.lu@intel.com>
3034
3035 PR libgcc/85379
3036 * config/i386/morestack.S (__stack_split_initialize): Add
3037 _CET_ENDBR.
3038
a0e1df88
JJ
30392018-04-19 Jakub Jelinek <jakub@redhat.com>
3040
3041 * configure: Regenerated.
3042
001ddaa8
DM
30432018-04-18 David Malcolm <dmalcolm@redhat.com>
3044
3045 PR jit/85384
3046 * configure: Regenerate.
3047
a57f99ba
JJ
30482018-04-16 Jakub Jelinek <jakub@redhat.com>
3049
3050 PR target/84945
3051 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
3052 -Wdangling-else warnings. Mask shift counts to avoid
3053 -Wshift-count-negative and -Wshift-count-overflow false positives.
3054
4d47fe5a
RB
30552018-04-06 Ruslan Bukin <br@bsdpad.com>
3056
3057 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
3058
059cc8ac
L
30592018-03-29 H.J. Lu <hongjiu.lu@intel.com>
3060
3061 PR target/85100
3062 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
3063 (XSTATE_FP): Likewise.
3064 (XSTATE_SSE): Likewise.
3065 (XSTATE_YMM): Likewise.
3066 (XSTATE_OPMASK): Likewise.
3067 (XSTATE_ZMM): Likewise.
3068 (XSTATE_HI_ZMM): Likewise.
3069 (XCR_AVX_ENABLED_MASK): Likewise.
3070 (XCR_AVX512F_ENABLED_MASK): Likewise.
3071 (get_available_features): Enable AVX and AVX512 features only
3072 if their states are supported by OSXSAVE.
3073
f2620385
IT
30742018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3075
3076 PR target/85025
3077 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
3078 Fix a typo, tmp => 255.
3079
ae6dca8c
JJ
30802018-03-20 Jakub Jelinek <jakub@redhat.com>
3081
3082 PR target/84945
3083 * config/i386/cpuinfo.h (__cpu_features2): Declare.
3084 * config/i386/cpuinfo.c (__cpu_features2): New variable for
3085 ifndef SHARED only.
3086 (set_feature): Define.
3087 (get_available_features): Use set_feature macro. Set __cpu_features2
3088 to the second word of features ifndef SHARED.
3089
c36b04c1
JK
30902018-03-15 Julia Koval <julia.koval@intel.com>
3091
3092 * config/i386/cpuinfo.c (get_available_features): Add
3093 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
3094 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
3095 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
3096 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
3097 FEATURE_AVX512BITALG.
3098
79ab5364
JK
30992018-03-14 Julia Koval <julia.koval@intel.com>
3100
3101 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
3102 icelake client and icelake server.
3103
66a00b11
JDA
31042018-03-06 John David Anglin <danglin@gcc.gnu.org>
3105
3106 * config/pa/fptr.c (_dl_read_access_allowed): New.
3107 (__canonicalize_funcptr_for_compare): Use it.
af8096fc 3108
ce579a4f
JJ
31092018-02-28 Jakub Jelinek <jakub@redhat.com>
3110
3111 PR debug/83917
3112 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
3113 $asm_hidden_op if visibility ("hidden") attribute works.
3114 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
3115 * config/i386/i386-asm.h: Don't include auto-host.h.
3116 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
3117 PACKAGE_URL): Don't undefine.
3118 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
3119 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
3120 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
3121 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
3122 definition instead of hardcoded .hidden.
3123 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
3124 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
3125 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
3126 (USE_GAS_CFI_DIRECTIVES): Don't define.
3127 * configure: Regenerated.
3128 * config.in: Likewise.
3129
e5868319
JJ
31302018-02-26 Jakub Jelinek <jakub@redhat.com>
3131
3132 PR debug/83917
3133 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
3134 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
3135 inclusion of auto-target.h and auto-host.h.
3136 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
3137 __GCC_HAVE_DWARF2_CFI_ASM.
3138 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
3139 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
3140 cfi_pop): Define.
3141 * config/i386/cygwin.S: Don't include auto-host.h here, just
3142 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
3143 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
3144 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
3145 * config/i386/resms64fx.h: Add cfi_* directives.
3146 * config/i386/resms64x.h: Likewise.
3147
faef260e
MF
31482018-02-20 Max Filippov <jcmvbkbc@gmail.com>
3149
3150 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
3151 .literal_position directive.
3152 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
3153
14e335ed
IT
31542018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3155
3156 PR target/84148
3157 * configure: Regenerate.
3158
95df0433
IT
31592018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3160
3161 PR target/84239
3162 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
3163 Include cetintrin.h not x86intrin.h.
3164
f8de876d
IT
31652018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3166
3167 PR target/84239
95df0433 3168 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
f8de876d
IT
3169 Use new _get_ssp and _inc_ssp intrinsics.
3170
02da1e9c
JK
31712018-02-02 Julia Koval <julia.koval@intel.com>
3172
3173 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
3174
048c6a9a
CZ
31752018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
3176
3177 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
3178 option.
3179 (__divsi3): Use RF16 safe registers.
3180 (__modsi3): Likewise.
3181
0889f168
MF
31822018-01-23 Max Filippov <jcmvbkbc@gmail.com>
3183
3184 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
3185 (__divsf3): Make NaN return value quiet.
3186 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
3187 (__divdf3): Make NaN return value quiet.
3188
bc8b0d04
SP
31892018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
3190
3191 * config/rl78/anddi3.S: New assembly file.
3192 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
3193
99cc06ea
SP
31942018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
3195
3196 * config/rl78/umindi3.S: New assembly file.
3197 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
3198
6e9007a0
SP
31992018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
3200
3201 * config/rl78/smindi3.S: New assembly file.
3202 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
3203
d975e494 32042018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 3205
d975e494
SP
3206 * config/rl78/smaxdi3.S: New assembly file.
3207 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
3208
6a18c146 32092018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 3210
5dd16013
SP
3211 * config/rl78/umaxdi3.S: New assembly file.
3212 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
af8096fc 3213
07baf4a5
JDA
32142018-01-21 John David Anglin <danglin@gcc.gnu.org>
3215
3216 PR lto/83452
3217 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
3218 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
af8096fc 3219
dbc3af4f
RS
32202018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
3221
3222 * config/aarch64/value-unwind.h (aarch64_vg): New function.
3223 (DWARF_LAZY_REGISTER_VALUE): Define.
3224 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
3225 to provide a fallback register value.
3226
68df9882
MM
32272018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
3228
3229 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
3230 __ibm128, instead of trying to use long double.
3231 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
3232 accomidate -mabi=ieeelongdouble multilibs.
3233 (CVT_IBM128_TO_FLOAT128): Likewise.
3234 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
3235 the appropriate IBM extended double type.
3236 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
3237 (__gcc_qsub): Likewise.
3238 (__gcc_qmul): Likewise.
3239 (__gcc_qdiv): Likewise.
3240 (pack_ldouble): Likewise.
3241 (__gcc_qneg): Likewise.
3242 (__gcc_qeq): Likewise.
3243 (__gcc_qne): Likewise.
3244 (__gcc_qge): Likewise.
3245 (__gcc_qle): Likewise.
3246 (__gcc_stoq): Likewise.
3247 (__gcc_dtoq): Likewise.
3248 (__gcc_itoq): Likewise.
3249 (__gcc_utoq): Likewise.
3250 (__gcc_qunord): Likewise.
3251 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
3252 quad-float128.h for the definitions.
3253 (COPYSIGN): Use the f128 version instead of the q version.
3254 (INFINITY): Likewise.
3255 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
3256 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
3257 quad-float128.h for the definitions.
3258 (COPYSIGN): Use the f128 version instead of the q version.
3259 (INFINITY): Likewise.
3260 (FABS): Likewise.
3261 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
3262 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
3263 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
3264
64b371b1
SH
32652018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
3266
3267 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
3268 configuration.
3269
85ec4feb
JJ
32702018-01-03 Jakub Jelinek <jakub@redhat.com>
3271
3272 Update copyright years.
3273
32742017-12-12 Kito Cheng <kito.cheng@gmail.com>
b8d7e076
KC
3275
3276 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
3277 * config/riscv/multi3.c: New file.
3278 * config/riscv/multi3.S: Remove.
3279
3a4c600f
JW
32802017-12-08 Jim Wilson <jimw@sifive.com>
3281
3282 * config/riscv/div.S: Use FUNC_* macros.
3283 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
3284 * config/riscv/save-restore.S: Likewise.
3285 * config/riscv/riscv-asm.h: New.
3286
75ad35b5
MM
32872017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
3288
6ae3512c
MM
3289 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
3290 * config/rs6000/_divkc3.c (__divkc3): Likewise.
3291
75ad35b5
MM
3292 PR libgcc/83112
3293 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
3294 correct type for all ifunc resolvers to silence -Wattribute-alias
3295 warnings. Eliminate the forward declaration of the resolver
3296 functions which is no longer needed.
3297 (__subkf3_resolve): Likewise.
3298 (__mulkf3_resolve): Likewise.
3299 (__divkf3_resolve): Likewise.
3300 (__negkf2_resolve): Likewise.
3301 (__eqkf2_resolve): Likewise.
3302 (__nekf2_resolve): Likewise.
3303 (__gekf2_resolve): Likewise.
3304 (__gtkf2_resolve): Likewise.
3305 (__lekf2_resolve): Likewise.
3306 (__ltkf2_resolve): Likewise.
3307 (__unordkf2_resolve): Likewise.
3308 (__extendsfkf2_resolve): Likewise.
3309 (__extenddfkf2_resolve): Likewise.
3310 (__trunckfsf2_resolve): Likewise.
3311 (__trunckfdf2_resolve): Likewise.
3312 (__fixkfsi_resolve): Likewise.
3313 (__fixkfdi_resolve): Likewise.
3314 (__fixunskfsi_resolve): Likewise.
3315 (__fixunskfdi_resolve): Likewise.
3316 (__floatsikf_resolve): Likewise.
3317 (__floatdikf_resolve): Likewise.
3318 (__floatunsikf_resolve): Likewise.
3319 (__floatundikf_resolve): Likewise.
3320 (__extendkftf2_resolve): Likewise.
3321 (__trunctfkf2_resolve): Likewise.
3322
3323 PR libgcc/83103
3324 * config/rs6000/quad-float128.h (TF): Don't define if long double
3325 is IEEE 128-bit floating point.
3326 (TCtype): Define as either TCmode or KCmode, depending on whether
3327 long double is IEEE 128-bit floating point.
3328 (__mulkc3_sw): Add declarations for software/hardware versions of
3329 complex multiply/divide.
3330 (__divkc3_sw): Likewise.
3331 (__mulkc3_hw): Likewise.
3332 (__divkc3_hw): Likewise.
3333 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
3334 handlers to switch between using software emulation and hardware
3335 float128 instructions, build the complex multiply/divide functions
3336 for both software and hardware support.
3337 * config/rs6000/_divkc3.c (_divkc3): Likewise.
3338 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
3339 (__divkc3_resolve): Likewise.
3340 (__mulkc3): Likewise.
3341 (__divkc3): Likewise.
3342 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
3343 (fp128_hw_src): Likewise.
3344 (fp128_hw_static_obj): Likewise.
3345 (fp128_hw_shared_obj): Likewise.
3346 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
3347 _mulkc3.c and _divkc3.c, changing the function name.
3348 (_divkc3-hw.c): Likewise.
3349 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
3350 and _divkc3-hw.c.
3351
c234d831
UB
33522017-11-26 Julia Koval <julia.koval@intel.com>
3353
3354 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
3355 * config/i386/cpuinfo.h (processor_subtypes): Add
3356 INTEL_COREI7_CANNONLAKE.
3357
1ebafce0
IT
33582017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3359
3360 PR bootstrap/83015
3361 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
3362 parameter.
3363 * config/xtensa/unwind-dw2-xtensa.c: Likewise
3364 * config/ia64/unwind-ia64.c: Add frames parameter.
3365 * unwind-sjlj.c: Likewise.
3366
6a10fff4
IT
33672017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3368
3369 * config/i386/linux-unwind.h: Include
3370 config/i386/shadow-stack-unwind.h.
3371 * config/i386/shadow-stack-unwind.h: New file.
3372 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
3373 pass it to _Unwind_Frames_Extra.
3374 * unwind-generic.h (_Unwind_Frames_Extra): New.
3375 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
3376 parameter. Add local variable frames to count number of frames.
3377 (_Unwind_ForcedUnwind_Phase2): Likewise.
3378 (_Unwind_RaiseException): Add local variable frames to count
3379 number of frames, pass it to _Unwind_RaiseException_Phase2 and
3380 uw_install_context.
3381 (_Unwind_ForcedUnwind): Likewise.
3382 (_Unwind_Resume): Likewise.
3383 (_Unwind_Resume_or_Rethrow): Likewise.
3384
1ecae1fc
IT
33852017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3386
3387 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
3388 (CET_FLAGS): New.
3389 * config/i386/morestack.S: Include <cet.h>.
3390 (__morestack_large_model): Add _CET_ENDBR at function entrance.
3391 * config/i386/resms64.h: Include <cet.h>.
3392 * config/i386/resms64f.h: Likewise.
3393 * config/i386/resms64fx.h: Likewise.
3394 * config/i386/resms64x.h: Likewise.
3395 * config/i386/savms64.h: Likewise.
3396 * config/i386/savms64f.h: Likewise.
3397 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
3398 (CRTSTUFF_T_CFLAGS): Likewise.
3399 * configure.ac: Include ../config/cet.m4.
3400 Set and substitute CET_FLAGS.
3401 * configure: Regenerated.
3402
f021f1d3
RO
34032017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3404
3405 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
3406 renaming.
3407 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
3408 * configure.ac (libgcc_cv_solaris_crts): Likewise.
3409 * configure: Regenerate.
3410
65f480c7
TV
34112017-11-07 Tom de Vries <tom@codesourcery.com>
3412
3413 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
3414 after "do {} while (0)".
3415
2a321acb
TV
34162017-11-07 Tom de Vries <tom@codesourcery.com>
3417
3418 PR other/82784
3419 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
3420 semicolon after "do {} while (0)".
3421 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3422 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3423 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3424 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3425
59fcf6c3
AT
34262017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
3427
3428 PR libgcc/82635
3429 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
3430 sysctl to determine whether we're in a trampoline.
3431 Keep the pattern matching method for systems without
3432 KERN_PROC_SIGTRAMP sysctl.
3433
b0c7ddf8
CM
34342017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
3435 Vineet Gupta <vgupta@synopsys.com>
3436
3437 * config.host (arc*-*-linux*): Set md_unwind_header variable.
3438 * config/arc/linux-unwind-reg.def: New file.
3439 * config/arc/linux-unwind-reg.h: Likewise.
3440
5feee954
SP
34412017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
3442
3443 * config/rl78/subdi3.S: New assembly file.
3444 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
3445
a0bf6cf7
SP
34462017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
3447
3448 * config/rl78/adddi3.S: New assembly file.
3449 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
3450
e7176f75
JJ
34512017-10-13 Jakub Jelinek <jakub@redhat.com>
3452
3453 PR target/82274
3454 * libgcc2.c (__mulvDI3): If both operands have
3455 the same highpart of -1 and the topmost bit of lowpart is 0,
3456 multiplication overflows even if both lowparts are 0.
3457
db6601d2
JB
34582017-09-28 James Bowman <james.bowman@ftdichip.com>
3459
3460 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
3461
938b6f1e
JM
34622017-09-26 Joseph Myers <joseph@codesourcery.com>
3463
3464 * config/microblaze/crti.S, config/microblaze/crtn.S,
3465 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
3466 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
3467 config/microblaze/mulsi3.S,
3468 config/microblaze/stack_overflow_exit.S,
3469 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
3470 config/pa/milli64.S: Add .note.GNU-stack section.
3471
89762a83
DS
34722017-09-23 Daniel Santos <daniel.santos@pobox.com>
3473
3474 * configure.ac: Add Check for HAVE_AS_AVX.
3475 * config.in: Regenerate.
3476 * configure: Likewise.
3477 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
3478 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
3479 Correct out-of-date comments.
3480
cace2309
SP
34812017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
3482
3483 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
3484 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
3485
3cb626e4
DS
34862017-09-17 Daniel Santos <daniel.santos@pobox.com>
3487
cace2309 3488 * config/i386/i386-asm.h (PASTE2): New macro.
3cb626e4
DS
3489 (ASMNAME): Modify to use PASTE2.
3490 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
3491 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
cace2309 3492 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
3cb626e4 3493 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
cace2309
SP
3494 * config/i386/resms64f.S: Likewise.
3495 * config/i386/resms64fx.S: Likewise.
3496 * config/i386/resms64x.S: Likewise.
3497 * config/i386/savms64.S: Likewise.
3498 * config/i386/savms64f.S: Likewise.
3499 * config/i386/avx_resms64.S: New file that only defines a macro and
3cb626e4 3500 includes it's corresponding header file.
cace2309
SP
3501 * config/i386/avx_resms64f.S: Likewise.
3502 * config/i386/avx_resms64fx.S: Likewise.
3503 * config/i386/avx_resms64x.S: Likewise.
3504 * config/i386/avx_savms64.S: Likewise.
3505 * config/i386/avx_savms64f.S: Likewise.
3506 * config/i386/sse_resms64.S: Likewise.
3507 * config/i386/sse_resms64f.S: Likewise.
3508 * config/i386/sse_resms64fx.S: Likewise.
3509 * config/i386/sse_resms64x.S: Likewise.
3510 * config/i386/sse_savms64.S: Likewise.
3511 * config/i386/sse_savms64f.S: Likewise.
3512 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3cb626e4 3513
2f19c491 35142017-09-01 Olivier Hainque <hainque@adacore.com>
2f19c491
OH
3515 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
3516
611e7036
OH
35172017-08-31 Olivier Hainque <hainque@adacore.com>
3518
3519 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
3520 match as powerpc-wrs-vxworks*.
3521
c8f34527
JY
35222017-08-07 Jonathan Yong <10walls@gmail.com>
3523
3524 * config.host (*-cygwin): Include file from mingw
3525 config/i386/enable-execute-stack-mingw32.c
3526
0b458d2b 35272017-08-01 Jerome Lambourg <lambourg@adacore.com>
92a285c1
ML
3528 Doug Rupp <rupp@adacore.com>
3529 Olivier Hainque <hainque@adacore.com>
0b458d2b
JL
3530
3531 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
3532 as well as arm-wrs-vxworks.
3533 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
3534 LIB2ADDEH.
3535 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
3536 __exidx_start and __exidx_end for downloadable modules.
3537
4df612fa
OH
35382017-08-01 Olivier Hainque <hainque@adacore.com>
3539
3540 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
3541 * config/t-vxworks7: Likewise.
3542
5560e8c0
OH
35432017-08-01 Olivier Hainque <hainque@adacore.com>
3544
3545 * config/t-vxworks: Instead of redefining LIB2ADD,
3546 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
3547
16bab95a
SH
35482017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
3549
3550 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
3551
9cbc07cc
DS
35522017-07-24 Daniel Santos <daniel.santos@pobox.com>
3553
3554 PR testsuite/80759
3555 * config.host: include i386/t-msabi for darwin and solaris.
3556 * config/i386/i386-asm.h
3557 (ELFFN): Rename to FN_TYPE.
3558 (FN_SIZE): New macro.
3559 (FN_HIDDEN): Likewise.
3560 (ASMNAME): Likewise.
3561 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
3562 .globl.
3563 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
3564 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
3565 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
3566 .macro.
3567 * config/i386/resms64f.S: Likewise.
3568 * config/i386/resms64fx.S: Likewise.
3569 * config/i386/resms64x.S: Likewise.
3570 * config/i386/savms64.S: Likewise.
3571 * config/i386/savms64f.S: Likewise.
3572
de742204
JM
35732017-07-19 John Marino <gnugcc@marino.st>
3574
3575 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
3576
3787ee47
MM
35772017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
3578
3579 PR target/81193
3580 * configure.ac (PowerPC float128 hardware support): Test whether
3581 we can use __builtin_cpu_supports before enabling the ifunc
3582 handler.
3583 * configure: Regenerate.
3584
b1938888
VG
35852017-07-10 Vineet Gupta <vgupta@synopsys.com>
3586
3587 * config.host: Remove uclibc from arc target spec.
3588
bec75e53
KW
35892017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
3590
3591 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
3592
d4391a62
PB
35932017-07-07 Peter Bergner <bergner@vnet.ibm.com>
3594
3595 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
3596 (have_ieee_hw_p): Delete function.
3597 (SW_OR_HW) Use __builtin_cpu_supports().
3598
9296dd9b
TP
35992017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
3600
3601 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
3602
b85a969e
OH
36032017-07-03 Olivier Hainque <hainque@adacore.com>
3604
d4391a62 3605 * config/t-vxworks7: New file, really.
b85a969e 3606
883312dc
JM
36072017-06-28 Joseph Myers <joseph@codesourcery.com>
3608
3609 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
3610 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
3611 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
3612 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
3613 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
3614 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
3615 config/pa/linux-unwind.h (pa32_fallback_frame_state),
3616 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
3617 config/sh/linux-unwind.h (sh_fallback_frame_state),
3618 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
3619 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
3620 ucontext_t instead of struct ucontext.
3621
50567938
JL
36222017-06-27 Jerome Lambourg <lambourg@adacore.com>
3623
3624 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
3625 (x86_64-wrs-vxworks7): Likewise.
3626
e4b0df93
OH
36272017-06-27 Olivier Hainque <hainque@adacore.com>
3628
3629 * config/t-vxworks7: New file.
3630 * config.host (*-*-vxworks7): Use it.
3631
60edf8bb
MT
36322017-06-22 Matt Turner <mattst88@gmail.com>
3633
3634 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
3635 skylake case.
3636
a51a76e5
RB
36372017-06-21 Richard Biener <rguenther@suse.de>
3638
3639 PR gcov-profile/81080
3640 * configure.ac: Add AC_SYS_LARGEFILE.
3641 * libgcov.h: Include auto-target.h before tsystem.h to pick
3642 up _FILE_OFFSET_BITS which might differ for multilibs.
3643 * config.in: Regenerate.
3644 * configure: Likewise.
3645
f0cd49c5
RE
36462017-06-16 Richard Earnshaw <rearnsha@arm.com>
3647
3648 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
3649
4f751c54
ML
36502017-06-09 Martin Liska <mliska@suse.cz>
3651
3652 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
3653 Reset __gcov_indirect_call_callee to NULL.
3654
1ac644c8
OH
36552017-06-08 Olivier Hainque <hainque@adacore.com>
3656
3657 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
3658 the set of -I options, support for direct inclusions of net/uio.h
3659 by VxWorks header files via ioLib.h.
3660
d8b9cd27
TR
36612017-06-07 Tony Reix <tony.reix@atos.net>
3662 Matthieu Sarter <matthieu.sarter.external@atos.net>
3663 David Edelsohn <dje.gcc@gmail.com>
3664
92a285c1
ML
3665 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
3666 unconditionally.
3667 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
3668 AIX 7.2 support.
d8b9cd27 3669
38a75ccc
OH
36702017-06-02 Olivier Hainque <hainque@adacore.com>
3671
3672 * config/vxlib.c (__gthread_once): Add missing value to
3673 return statement.
3674
5b2edf53
OH
36752017-05-30 Olivier Hainque <hainque@adacore.com>
3676
3677 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
3678 dollar sign before $(MULTIDIR).
3679
7d66e265
RH
36802017-05-26 Richard Henderson <rth@redhat.com>
3681
3682 PR libgcc/80037
3683 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
3684
78eca309
AT
36852017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
3686
3687 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
3688 _Unwind_SetIP available as functions for arm*-*-freebsd*.
3689 * config/arm/unwind-arm.c: Implement the above.
3690
c39d309a
AZ
36912017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3692
3693 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
3694 section for a non-executable stack.
3695
eac8c9f2
KW
36962017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
3697
3698 PR target/80600
3699 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
3700
d6d4d770
DS
37012017-05-14 Daniel Santos <daniel.santos@pobox.com>
3702
3703 * config.host: Add i386/t-msabi to i386/t-linux file list.
3704 * config/i386/i386-asm.h: New file.
3705 * config/i386/resms64.S: New file.
3706 * config/i386/resms64f.S: New file.
3707 * config/i386/resms64fx.S: New file.
3708 * config/i386/resms64x.S: New file.
3709 * config/i386/savms64.S: New file.
3710 * config/i386/savms64f.S: New file.
3711 * config/i386/t-msabi: New file.
3712
8ef2b9a7
AT
37132017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
3714
3715 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
3716 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
3717
7ab8766a
JC
37182017-05-05 Joshua Conner <joshconner@google.com>
3719
3720 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
3721 pc-relative indirect handling for fuchsia.
3722 * config/t-slibgcc-fuchsia: New file.
3723 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
d6d4d770 3724 x86_64-*-fuchsia*): Add definitions.
7ab8766a 3725
46928a8f
ML
37262017-04-19 Martin Liska <mliska@suse.cz>
3727
3728 PR gcov-profile/80435
3729 * Makefile.in: Install gcov.h.
3730 * gcov.h: New file.
3731 * libgcov.h: Use the header and make __gcov_flush publicly
3732 visible.
3733
63971184
ML
37342017-04-18 Martin Liska <mliska@suse.cz>
3735
3736 PR gcov-profile/78783
3737 * libgcov-driver.c (gcov_get_filename): New function.
3738
29d8aae6
JL
37392017-04-07 Jeff Law <law@redhat.com>
3740
3741 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
3742 target makefile fragment.
3743 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
3744
2bdf7fc6
AM
37452017-04-07 Alan Modra <amodra@gmail.com>
3746
3747 PR target/45053
3748 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
3749
5764ee3c
JW
37502017-04-03 Jonathan Wakely <jwakely@redhat.com>
3751
3752 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
3753
c4192ad7
CZ
37542017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
3755
3756 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
3757
4ccfdb28
JM
37582017-03-10 John Marino <gnugcc@marino.st>
3759
3760 * config/aarch64/freebsd-unwind.h: New file.
3761 * config.host: Add aarch64-*-freebsd unwinder.
3762
4144e4e3
SB
37632017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
3764
3765 * config/rs6000/crtrestvr.s: Use .machine altivec.
3766 * config/rs6000/crtsavevr.s: Ditto.
3767
7502c597
SB
37682017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
3769
3770 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
3771 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
3772 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
3773 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
3774 * configure: Regenerate.
3775 * config.in: Regenerate.
3776
db9f7f65
JY
37772017-03-02 Jonathan Yong <10walls@gmail.com>
3778
3779 * config/i386/gthr-win32.h: Define NOGDI before
3780 windows.h include to prevent w32api CC_NONE macro
3781 clash with libgfortran.
3782
126437c5
JY
37832017-03-02 Jonathan Yong <10walls@gmail.com>
3784
3785 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
3786
31927af6
AP
37872017-02-16 Andrew Pinski <apinski@cavium.com>
3788
3789 * config/aarch64/value-unwind.h: New file.
3790 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
3791 to tm_file.
3792
0bd99911
PD
37932017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
3794
3795 * config.host: Add RISC-V tuples.
3796 * config/riscv/atomic.c: New file.
3797 * config/riscv/crti.S: Likewise.
3798 * config/riscv/crtn.S: Likewise.
3799 * config/riscv/div.S: Likewise.
3800 * config/riscv/linux-unwind.h: Likewise.
3801 * config/riscv/muldi3.S: Likewise.
3802 * config/riscv/multi3.S: Likewise.
3803 * config/riscv/save-restore.S: Likewise.
3804 * config/riscv/sfp-machine.h: Likewise.
3805 * config/riscv/t-elf: Likewise.
3806 * config/riscv/t-elf32: Likewise.
3807 * config/riscv/t-elf64: Likewise.
3808 * config/riscv/t-softfp32: Likewise.
3809 * config/riscv/t-softfp64: Likewise.
3810
a8c9ef2a
JJ
38112017-01-24 Jakub Jelinek <jakub@redhat.com>
3812
3813 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
3814 /* FALLTHRU */ comments.
3815
c6c82710
GP
38162017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
3817
3818 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
3819
a876231c
JW
38202017-01-20 Jiong Wang <jiong.wang@arm.com>
3821
3822 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
3823 * unwind-dw2.c (execute_cfa_program): Only multiplexing
3824 DW_CFA_GNU_window_save for AArch64 and LP64.
3825
aa348be2
JW
38262017-01-20 Jiong Wang <jiong.wang@arm.com>
3827
3828 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
3829
5636faf2
JW
38302017-01-19 Jiong Wang <jiong.wang@arm.com>
3831
3832 * config/aarch64/aarch64-unwind.h: New file.
3833 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
3834 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
3835 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
3836 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
3837 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
3838 (aarch64_post_extract_frame_addr): New function.
3839 (aarch64_post_frob_eh_handler_addr): New function.
3840 (aarch64_frob_update_context): New function.
3841 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
3842 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
3843 aarch64*-*-freebsd*):
3844 Initialize md_unwind_header to include aarch64-unwind.h.
3845 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
3846 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
3847 __aarch64__.
3848 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
3849 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
3850 (uw_frob_return_addr): New function.
3851 (uw_install_context): Use uw_frob_return_addr.
3852
3c36aa6b
JJ
38532017-01-17 Jakub Jelinek <jakub@redhat.com>
3854
3855 PR other/79046
3856 * configure.ac: Add GCC_BASE_VER.
3857 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
3858 version from BASE-VER file.
3859 * configure: Regenerated.
3860
829afb8f
JS
38612017-01-13 Joe Seymour <joe.s@somniumtech.com>
3862
3863 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
3864 libmul_f5.a): Filter archived prerequisites.
3865
79fc8ffe
AS
38662017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
3867
3868 * config/i386/cpuinfo.h (processor_features): Add
3869 FEATURE_AVX512VPOPCNTDQ.
3870 * config/i386/cpuinfo.c (get_available_features): Habdle new
3871 feature.
3872
fec5f4e0
JM
38732017-01-04 Joseph Myers <joseph@codesourcery.com>
3874
3875 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
3876 payload if [__mips_nan2008].
3877
8f56cb51
AM
38782017-01-04 Alan Modra <amodra@gmail.com>
3879
3880 * Makefile.in (configure_deps): Update.
3881 * configure: Regenerate.
3882
cbe34bb5
JJ
38832017-01-01 Jakub Jelinek <jakub@redhat.com>
3884
3885 Update copyright years.
3886
ab955692
KW
38872016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
3888
3889 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
3890 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
3891 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
3892
de34320f
MK
38932016-12-17 Matthias Klose <doko@ubuntu.com>
3894
3895 * config/arc/gmon: Remove empty directory.
3896
e04ea1da
CZ
38972016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
3898
3899 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
3900 crtgend.
3901 (arc*-*-elf*): Likewise.
3902 * config/arc/t-arc: Remove old gmon lib targets.
3903 * config/arc/crtg.S: Remove.
3904 * config/arc/crtgend.S: Likewise.
3905 * config/arc/gmon/atomic.h: Likewise.
3906 * config/arc/gmon/auxreg.h: Likewise.
3907 * config/arc/gmon/dcache_linesz.S: Likewise.
3908 * config/arc/gmon/gmon.c: Likewise.
3909 * config/arc/gmon/machine-gmon.h: Likewise.
3910 * config/arc/gmon/mcount.c: Likewise.
3911 * config/arc/gmon/prof-freq-stub.S: Likewise.
3912 * config/arc/gmon/prof-freq.c: Likewise.
3913 * config/arc/gmon/profil.S: Likewise.
3914 * config/arc/gmon/sys/gmon.h: Likewise.
3915 * config/arc/gmon/sys/gmon_out.h: Likewise.
3916 * config/arc/t-arc-newlib: Likewise.
3917 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
3918
8ae1c2c1
GS
39192016-12-12 George Spelvin <linux@sciencehorizons.net>
3920
3921 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
3922
a5b947fa
GS
39232016-12-12 George Spelvin <linux@sciencehorizons.net>
3924
3925 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
3926 R16 instead of push + pop.
3927 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
3928
d6574dd1
KW
39292016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
3930
3931 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
3932 tmake_file.
3933
62440b4f
CM
39342016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
3935
3936 * config.host (arc*-*-linux-uclibc*): Use default extra
3937 objects. Include linux-android header.
3938 * config/arc/crti.S (_init): Declare symbol as function.
3939 (_fini): Likewise.
3940
31cfd832
TK
39412016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
3942
3943 PR fortran/78379
3944 * config/i386/cpuinfo.c: Move denums for processor vendors,
3945 processor type, processor subtypes and declaration of
3946 struct __processor_model into
3947 * config/i386/cpuinfo.h: New header file.
3948
c92e08e3
AV
39492016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
3950 Thomas Preud'homme <thomas.preudhomme@arm.com>
3951
3952 * config/arm/cmse_nonsecure_call.S: New.
3953 * config/arm/t-arm: Compile cmse_nonsecure_call.S
3954
de7b5723
AV
39552016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
3956 Thomas Preud'homme <thomas.preudhomme@arm.com>
3957
3958 * config/arm/t-arm (HAVE_CMSE): New.
3959 * config/arm/cmse.c: New.
3960
7a0d2bce
TP
39612016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3962
b3a5bff4
TP
3963 PR gcc/74748
3964 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
3965 use generic linker version information on Blackfin.
3966
7a0d2bce
TP
3967 PR gcc/74748
3968 * libgcc/mkmap-symver.awk: add support for skip_underscore
3969
b410cf1d
IS
39702016-11-27 Iain Sandoe <iain@codesourcery.com>
3971 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3972
3973 PR target/67710
3974 * config/t-darwin: Default builds to 10.5 codegen.
3975
2e5f8203
JG
39762016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
3977
3978 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
3979 (_FP_NANSIGN_H): Likewise.
3980 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
3981 (softfp_truncations): Add tfhf.
3982 (softfp_extras): Add required conversion functions.
3983
bea64ca3
JG
39842016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
3985 Matthew Wahab <matthew.wahab@arm.com>
3986
3987 * config/arm/fp16.c (binary64): New.
3988 (__gnu_d2h_internal): New.
3989 (__gnu_d2h_ieee): New.
3990 (__gnu_d2h_alternative): New.
3991
8630cadb
JG
39922016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
3993 Matthew Wahab <matthew.wahab@arm.com>
3994
3995 * config/arm/fp16.c (struct format): New.
3996 (binary32): New.
3997 (__gnu_float2h_internal): New. Body moved from
3998 __gnu_f2h_internal and generalize.
3999 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
4000 Call it with binary32.
4001
5823ef23
JG
40022016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
4003
4004 * soft-fp/extendhftf2.c: Update from glibc.
4005 * soft-fp/fixhfti.c: Likewise.
4006 * soft-fp/fixunshfti.c: Likewise.
4007 * soft-fp/floattihf.c: Likewise.
4008 * soft-fp/floatuntihf.c: Likewise.
4009 * soft-fp/half.h: Likewise.
4010 * soft-fp/trunctfhf2.c: Likewise.
4011
62a7df9f
MG
40122016-11-20 Marc Glisse <marc.glisse@inria.fr>
4013
4014 PR libgcc/77813
4015 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
4016 __TMC_END__ behind a passthrough asm.
4017
7a384912
WL
40182016-11-18 Walter Lee <walt@tilera.com>
4019
62a7df9f 4020 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
7a384912 4021
9775c1a5
L
40222016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
4023
4024 * config/i386/cpuinfo.c (processor_features): Add
4025 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
4026
48c842ab
CZ
40272016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
4028
4029 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
4030 (__ARC_NORM__): Use instead ARC_OPTFPE.
4031 * config/arc/fp-hack.h: Likewise.
4032 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
4033 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
4034
5012919d
AM
40352016-11-16 Alexander Monakov <amonakov@ispras.ru>
4036
4037 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
4038 * config/nvptx/mgomp.c: New file.
4039 * config/nvptx/t-nvptx: Add mgomp.c
4040
00178b98
WB
40412016-11-16 Waldemar Brodkorb <wbx@openadk.org>
4042
4043 PR libgcc/68468
4044 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
4045
d64af69f
CZ
40462016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
4047
4048 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
4049 of checking for cpus.
4050 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
4051 (__modsi3, __clzsi2): Likewise.
4052
9d8f95de
SN
40532016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
4054
4055 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
4056 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
4057 * config/i386/t-cpuinfo-static: New.
4058
7d29f8e3
ML
40592016-11-03 Martin Liska <mliska@suse.cz>
4060
4061 * libgcov-profiler.c (__gcov_time_profiler): Remove.
4062 (__gcov_time_profiler_atomic): Likewise.
4063
5de3e2d8
BE
40642016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
4065
4066 PR libgcc/78067
4067 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
4068 count_leading_zeros.
4069
18362447
UB
40702016-11-02 Uros Bizjak <ubizjak@gmail.com>
4071
4072 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
4073 * libgcc2.c (__divmoddi4): New function.
4074 * libgcc2.h (__divmoddi4): Declare.
4075 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
4076 and __PFX_divmodti4.
4077
33107571
FW
40782016-10-24 Florian Weimer <fweimer@redhat.com>
4079
4080 PR libgcc/78064
4081 * unwind-c.c: Include auto-target.h.
4082
4c6d7494
JDA
40832016-10-19 John David Anglin <danglin@gcc.gnu.org>
4084
18362447 4085 * config/pa/pa64-hpux-lib.h: New file.
4c6d7494
JDA
4086 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
4087 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
4088 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
4089 hppa*64*-*-hpux11*.
4090
2a26adf1
MF
40912016-10-18 Max Filippov <jcmvbkbc@gmail.com>
4092
4093 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
4094 definition.
4095 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
4096 definition.
4097 * config/xtensa/t-windowed (LIB2ADDEH): Use
4098 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
4099 or xtensa/t-linux.
4100
66192aa1
DKC
41012016-10-18 Ding-Kai Chen <dkchen@cadence.com>
4102
4103 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
4104 __ieee754_sqrt): New functions.
4105 (__divdf3): Add implementation with new FPU instructions under
4106 #if XCHAL_HAVE_DFP_DIV.
4107 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
4108 __ieee754_sqrtf): New functions.
4109 (__divsf3): Add implementation with new FPU instructions under
4110 #if XCHAL_HAVE_FP_DIV.
4111 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
4112 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
4113
4d0cdd0c
TP
41142016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
4115
4116 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
4117 equivalent.
4118 * config/tilepro/atomic.c: Likewise and stop casting model to
4119 enum memmodel.
4120
73f01cca
JM
41212016-10-10 Joseph Myers <joseph@codesourcery.com>
4122
4123 PR target/77586
4124 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
4125 soft-fp.
4126
b20e7532
AT
41272016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
4128
4129 * config.host: Add support for aarch64-*-freebsd*.
4130
a786cec4
AS
41312016-10-05 Andreas Schwab <schwab@suse.de>
4132
4133 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
4134 (.section .init_array): Don't call __do_jv_register_classes.
4135 (.section .init): Likewise.
4136
5a79befb
JJ
41372016-10-04 Jakub Jelinek <jakub@redhat.com>
4138
4139 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
4140 (__JCR_LIST__): Remove.
4141 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
4142 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
4143 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
4144 * config/ia64/crtend.S (__JCR_END__): Remove.
4145 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
4146 conditionals.
4147 (__JCR_LIST__, __JCR_END__): Remove.
4148 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
4149 (__do_global_ctors_1): Likewise.
4150
e0ab3753
UB
41512015-09-28 Uros Bizjak <ubizjak@gmail.com>
4152
4153 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
4154 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
4155
8c9434c2
ML
41562016-09-27 Martin Liska <mliska@suse.cz>
4157
4158 PR gcov-profile/7970
4159 PR gcov-profile/16855
4160 PR gcov-profile/44779
4161 * libgcov-driver.c (__gcov_init): Do not register a atexit
4162 handler.
4163 (__gcov_exit): Rename from gcov_exit.
4164 * libgcov.h (__gcov_exit): Declare.
4165
56b653f1
ML
41662016-09-27 Martin Liska <mliska@suse.cz>
4167
4168 PR bootstrap/77749
4169 * Makefile.in: Remove _gcov_merge_delta.
4170 * libgcov-merge.c (void __gcov_merge_delta): Remove.
4171 * libgcov-util.c (__gcov_delta_counter_op): Remove.
4172 * libgcov.h: Remove declaration of __gcov_merge_delta.
4173
7e02fd1b
EB
41742016-09-21 Eric Botcazou <ebotcazou@adacore.com>
4175
4176 * configure.ac: Do not create links, only substitute the filenames.
4177 * configure: Regenerate.
4178 * Makefile.in: Assign the substitution results to variables.
4179 (LIBGCC_LINKS): Define.
4180 (enable-execute-stack.c): New rule.
4181 (unwind.h): Likewise.
4182 (md-unwind-support.h): Likewise.
4183 (sfp-machine.h): Likewise.
4184 (gthr-default.h): Likewise.
4185 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
4186 unwind.h as prerequisite of install-unwind_h-forbuild.
4187
29991048
JJ
41882016-09-16 Jakub Jelinek <jakub@redhat.com>
4189
4190 PR libgcc/71744
4191 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
4192 is not the primary registry and atomics are available.
4193 (any_objects_registered): New variable.
4194 (__register_frame_info_bases, __register_frame_info_table_bases):
4195 Atomically store 1 to any_objects_registered after registering first
4196 unwind info.
4197 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
4198
0abcd6cc
JG
41992016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
4200
4201 PR target/63250
4202 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
4203 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
4204 (HFtype): Likewise.
4205 (HCtype): Likewise.
4206 (__divhc3): Likewise.
4207 (__mulhc3): Likewise.
4208 * libgcc2.c: Support _mulhc3 and _divhc3.
4209
d758aeb5
JM
42102016-09-07 Joseph Myers <joseph@codesourcery.com>
4211
4212 PR libgcc/77519
4213 * libgcc2.c (NOTRUNC): Invert settings.
4214
7fe76f6a
ML
42152016-09-06 Martin Liska <mliska@suse.cz>
4216
4217 PR gcov-profile/77378
4218 PR gcov-profile/77466
4219 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
4220 conditionaly enable/disable *_atomic functions.
4221
21184026
JM
42222016-08-26 Joseph Myers <joseph@codesourcery.com>
4223
4224 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
4225 where not already enabled.
4226
726f49c3
SN
42272016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
4228
4229 * config/mips/linux-unwind.h: Use sys/syscall.h.
4230
feeb6268
JM
42312016-08-16 Joseph Myers <joseph@codesourcery.com>
4232
4233 PR libgcc/77265
4234 * soft-fp/adddf3.c: Update from glibc.
4235 * soft-fp/addsf3.c: Likewise.
4236 * soft-fp/addtf3.c: Likewise.
4237 * soft-fp/divdf3.c: Likewise.
4238 * soft-fp/divsf3.c: Likewise.
4239 * soft-fp/divtf3.c: Likewise.
4240 * soft-fp/double.h: Likewise.
4241 * soft-fp/eqdf2.c: Likewise.
4242 * soft-fp/eqsf2.c: Likewise.
4243 * soft-fp/eqtf2.c: Likewise.
4244 * soft-fp/extenddftf2.c: Likewise.
4245 * soft-fp/extended.h: Likewise.
4246 * soft-fp/extendsfdf2.c: Likewise.
4247 * soft-fp/extendsftf2.c: Likewise.
4248 * soft-fp/extendxftf2.c: Likewise.
4249 * soft-fp/fixdfdi.c: Likewise.
4250 * soft-fp/fixdfsi.c: Likewise.
4251 * soft-fp/fixdfti.c: Likewise.
4252 * soft-fp/fixsfdi.c: Likewise.
4253 * soft-fp/fixsfsi.c: Likewise.
4254 * soft-fp/fixsfti.c: Likewise.
4255 * soft-fp/fixtfdi.c: Likewise.
4256 * soft-fp/fixtfsi.c: Likewise.
4257 * soft-fp/fixtfti.c: Likewise.
4258 * soft-fp/fixunsdfdi.c: Likewise.
4259 * soft-fp/fixunsdfsi.c: Likewise.
4260 * soft-fp/fixunsdfti.c: Likewise.
4261 * soft-fp/fixunssfdi.c: Likewise.
4262 * soft-fp/fixunssfsi.c: Likewise.
4263 * soft-fp/fixunssfti.c: Likewise.
4264 * soft-fp/fixunstfdi.c: Likewise.
4265 * soft-fp/fixunstfsi.c: Likewise.
4266 * soft-fp/fixunstfti.c: Likewise.
4267 * soft-fp/floatdidf.c: Likewise.
4268 * soft-fp/floatdisf.c: Likewise.
4269 * soft-fp/floatditf.c: Likewise.
4270 * soft-fp/floatsidf.c: Likewise.
4271 * soft-fp/floatsisf.c: Likewise.
4272 * soft-fp/floatsitf.c: Likewise.
4273 * soft-fp/floattidf.c: Likewise.
4274 * soft-fp/floattisf.c: Likewise.
4275 * soft-fp/floattitf.c: Likewise.
4276 * soft-fp/floatundidf.c: Likewise.
4277 * soft-fp/floatundisf.c: Likewise.
4278 * soft-fp/floatunditf.c: Likewise.
4279 * soft-fp/floatunsidf.c: Likewise.
4280 * soft-fp/floatunsisf.c: Likewise.
4281 * soft-fp/floatunsitf.c: Likewise.
4282 * soft-fp/floatuntidf.c: Likewise.
4283 * soft-fp/floatuntisf.c: Likewise.
4284 * soft-fp/floatuntitf.c: Likewise.
4285 * soft-fp/gedf2.c: Likewise.
4286 * soft-fp/gesf2.c: Likewise.
4287 * soft-fp/getf2.c: Likewise.
4288 * soft-fp/ledf2.c: Likewise.
4289 * soft-fp/lesf2.c: Likewise.
4290 * soft-fp/letf2.c: Likewise.
4291 * soft-fp/muldf3.c: Likewise.
4292 * soft-fp/mulsf3.c: Likewise.
4293 * soft-fp/multf3.c: Likewise.
4294 * soft-fp/negdf2.c: Likewise.
4295 * soft-fp/negsf2.c: Likewise.
4296 * soft-fp/negtf2.c: Likewise.
4297 * soft-fp/op-1.h: Likewise.
4298 * soft-fp/op-2.h: Likewise.
4299 * soft-fp/op-4.h: Likewise.
4300 * soft-fp/op-8.h: Likewise.
4301 * soft-fp/op-common.h: Likewise.
4302 * soft-fp/quad.h: Likewise.
4303 * soft-fp/single.h: Likewise.
4304 * soft-fp/soft-fp.h: Likewise.
4305 * soft-fp/subdf3.c: Likewise.
4306 * soft-fp/subsf3.c: Likewise.
4307 * soft-fp/subtf3.c: Likewise.
4308 * soft-fp/truncdfsf2.c: Likewise.
4309 * soft-fp/trunctfdf2.c: Likewise.
4310 * soft-fp/trunctfsf2.c: Likewise.
4311 * soft-fp/trunctfxf2.c: Likewise.
4312 * soft-fp/unorddf2.c: Likewise.
4313 * soft-fp/unordsf2.c: Likewise.
4314 * soft-fp/unordtf2.c: Likewise.
4315
2e6fc1ac
GG
43162016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
4317
4318 PR gcov-profile/67097
4319 * libgcov-util.c (gcov_profile_merge): Skip missing files.
4320
a266236e
ML
43212016-08-10 Martin Liska <mliska@suse.cz>
4322
4323 PR gcov-profile/58306
4324 * Makefile.in: New functions (modules) are added.
4325 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
4326 function.
4327 (__gcov_pow2_profiler_atomic): New function.
4328 (__gcov_one_value_profiler_body): New argument is instroduced.
4329 (__gcov_one_value_profiler): Call with the new argument.
4330 (__gcov_one_value_profiler_atomic): Likewise.
4331 (__gcov_indirect_call_profiler_v2): Likewise.
4332 (__gcov_time_profiler_atomic): New function.
4333 (__gcov_average_profiler_atomic): Likewise.
4334 (__gcov_ior_profiler_atomic): Likewise.
4335 * libgcov.h: Declare the aforementioned functions.
4336
e0c8eebf
ML
43372016-08-09 Martin Liska <mliska@suse.cz>
4338
4339 * libgcov-util.c: Fix typo and GNU coding style.
4340
6dce6418
ML
43412016-08-09 Martin Liska <mliska@suse.cz>
4342
4343 * Makefile.in: Remove __gcov_indirect_call_profiler.
4344 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
4345 function.
4346 * libgcov.h: And the declaration of the function.
4347
dcb1e137
ML
43482016-08-09 Martin Liska <mliska@suse.cz>
4349
4350 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
4351 power of two.
4352
d6e69705
BS
43532016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
4354
4355 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
4356 * config/rs6000/_mulkc3.c: Likewise.
4357
96aa1f95
GJL
43582016-07-29 Georg-Johann Lay <avr@gjlay.de>
4359
4360 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
4361 zero_reg as previous call to __umulhisi3 already cleared it.
4362
a1b01d34
AJ
43632016-07-21 Aurelien Jarno <aurelien@aurel32.net>
4364
4365 PR target/59833
4366 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
4367
985a47b2
NC
43682016-07-19 Nick Clifton <nickc@redhat.com>
4369
4370 * config.host (m32r): Add m32r/t-m32r to tmake_file.
4371 Add crtinit.o and crtfini.o to extra_parts.
4372
f906f5ed
BS
43732016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
4374
4375 * config/rs6000/_divkc3.c: New.
4376 * config/rs6000/_mulkc3.c: New.
4377 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
4378 and _divkc3.
4379 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
4380 fp128_ppc_funcs.
4381
82742404
HW
43822016-07-11 Hale Wang <hale.wang@arm.com>
4383 Andre Vieira <andre.simoesdiasvieira@arm.com>
4384
4385 * config/arm/lib1funcs.S: Add new wrapper.
4386
05a437c1
TP
43872016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
4388
4389 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
4390
3d16d9ec
TP
43912016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
4392
4393 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
4394 and ARMv5t* rather than for a fixed list of architectures.
4395
6f493951
TP
43962016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
4397
4398 * config/arm/bpabi-v6m.S: Clarify what architectures is the
4399 implementation suitable for.
4400 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
4401 for all Thumb-1 only targets.
4402 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
4403 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
4404 __ARM_ARCH_6M__.
4405 (EQUIV): Likewise.
4406 (ARM_FUNC_ALIAS): Likewise.
4407 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
4408 version.
4409 (modsi3): Likewise.
4410 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
4411 (clzdi2): Likewise.
4412 (ctzsi2): Likewise.
4413 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
4414 __ARM_ARCH_6M__ in guard for checking whether it is defined.
4415 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
4416 __ARM_ARCH_6M__ and add comment to indicate the connection between
4417 this condition and the one in gcc/config/arm/elf.h.
4418 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
4419 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
4420 * config/arm/t-softfp: Likewise.
4421
1770511a
TS
44222016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4423
4424 * libgcc2.c (SYMBOL__MAIN): Remove checks for
4425 CTOR_LISTS_DEFINED_EXTERNALLY.
4426
ba6be749
WL
44272016-06-28 Walter Lee <walt@tilera.com>
4428
4429 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
4430 asm/unistd.h.
4431 (SPR_CMPEXCH_VALUE): Define for tilegx.
4432 (__NR_FAST_cmpxchg): Define for tilepro.
4433 (__NR_FAST_atomic_update): Define for tilepro.
4434 (__NR_FAST_cmpxchg64): Define for tilepro.
4435
a34c0db5
JS
44362016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
4437
18362447 4438 * config.host: Add suport for arm*-*-phoenix* targets.
a34c0db5 4439
0609abda
TS
44402016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4441
4442 * config.host: Remove support for mep-*.
4443 * config/mep/lib1funcs.S: Remove.
4444 * config/mep/lib2funcs.c: Remove.
4445 * config/mep/t-mep: Remove.
4446 * config/mep/tramp.c: Remove.
4447
3e326935
TS
44482016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4449
4450 * config.host: Remove support for avr-rtems.
4451 * config/avr/t-rtems: Remove.
4452
914b155c
TS
44532016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4454
4455 * config.host: Remove m32r-rtems support.
4456
5ebf89bd
TS
44572016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4458
4459 * config.host: Remove h8300-rtems support.
4460
8466af06
TS
44612016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4462
4463 * config.host: Remove support for knetbsd.
4464
d980e738
TS
44652016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4466
4467 * config.host: Remove support for openbsd 2 and 3.
4468
ee2499b4
TS
44692016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4470
4471 * config.host: Remove interix support.
4472 * config/i386/t-interix: Remove.
4473
9f92937b
JDA
44742016-06-18 John David Anglin <danglin@gcc.gnu.org>
4475
4476 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
4477 least-significant bit in function pointer for fixup.
4478
0a0ec53d
AC
44792016-06-05 Aaron Conole <aconole@redhat.com>
4480 Nathan Sidwell <nathan@acm.org>
4481
4482 PR libgcc/71400
4483 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
4484 (get_gcov_error_file): Check __gcov_error_file before trying to
4485 initialize it.
4486 (gcov_error): Always use get_gcov_error_file.
4487
8aa5bdd6
AC
44882016-06-02 Aaron Conole <aconole@redhat.com>
4489
4490 * libgcov-driver-system.c (__gcov_error_file): New.
4491 (get_gcov_error_file): New.
4492 (gcov_error): Use and set __gcov_error_file.
4493 (gcov_error_exit): New.
4494 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
4495
40774faf
NS
44962016-05-26 Nathan Sidwell <nathan@acm.org>
4497
4498 * config/nvptx/free.asm: Delete.
4499 * config/nvptx/malloc.asm: Delete.
4500 * config/nvptx/realloc.c: Delete.
4501 * t-nvptx: Update.
4502
69a6d5ad
NS
45032016-05-25 Nathan Sidwell <nathan@acm.org>
4504
4505 * config/nvptx/crt0.s: Delete.
4506 * config/nvptx/crt0.c: New.
4507 * t-nvptx: Update.
4508
6befaff6
SL
45092016-05-19 Sandra Loosemore <sandra@codesourcery.com>
4510
385c7747 4511 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
6befaff6
SL
4512 dw2/seh configuration.
4513 [x86_64-*-mingw*]: Likewise.
4514
ad251dfd
JS
45152016-05-10 Joel Sherrill <joel@rtems.org>
4516
4517 PR libgcc/70720
4518 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
4519 targets so the same extra_parts are built. Also have tmake_file add
4520 on to its value rather than override.
4521
bc6d9014
OE
45222016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
4523
4524 * config.host: Remove SH5 support.
4525 * configure: Likewise.
4526
9129c8cf
OE
45272016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
4528
4529 * config/sh/crt1.S: Remove SH5 support.
4530 * config/sh/crti.S: Likewise.
4531 * config/sh/crtn.S: Likewise.
4532 * config/sh/lib1funcs-4-300.S: Likewise.
4533 * config/sh/lib1funcs-Os-4-200.S: Likewise.
4534 * config/sh/lib1funcs.S: Likewise.
4535 * config/sh/linux-unwind.h: Likewise.
4536 * config/sh/t-sh64: Delete.
4537
39d50464
CZ
45382016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
4539
4540 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
4541
8b48923b
CZ
45422016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
4543 Joern Rennecke <joern.rennecke@embecosm.com>
4544
4545 * config/arc/crttls.S: New file.
4546 * config/arc/t-arc: New rule.
4547 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
4548
2de1cf8c
NC
45492016-04-25 Nick Clifton <nickc@redhat.com>
4550
4551 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
4552 (__mspabi_cmpd): Likewise.
4553 * config/msp430/floathidf.c (__floathidf): Likewise.
4554 * config/msp430/floathisf.c (__floathisf): Likewise
4555 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
4556 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
4557 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
4558 second parameter.
4559 (__ashrsi3): Likewise.
4560
b8ce3fe2
WB
45612016-04-21 Waldemar Brodkorb <wbx@openadk.org>
4562
4563 * config/m68k/linux-atomic.c: Do not include unistd.h
4564
4986f823
MG
45652016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
4566
4567 * config/arm/ieee754-df.S: Fix typos in comments.
4568
35fbda43
MM
45692016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
4570
4571 PR target/70381
4572 * configure.ac (powerpc*-*-linux*): Rework tests to build
4573 __float128 emulation routines to not depend on using #pragma GCC
4574 target to enable -mfloat128.
4575 * configure: Regnerate.
4576
72d1a48d
EB
45772016-04-04 Eric Botcazou <ebotcazou@adacore.com>
4578
4579 PR target/67172
4580 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
4581 __MINGW32__ is defined.
4582
dc2e8995
JB
45832016-03-28 James Bowman <james.bowman@ftdichip.com>
4584
385c7747 4585 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
dc2e8995 4586
104cdaf1
MM
45872016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
4588
4589 PR libgcc/70363
4590 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
4591 built with an assembler that does not support ISA 3.0
4592 instructions, rename __extendkftf2_sw to __extendkftf2.
4593
a5046f48
RO
45942016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4595
4596 PR target/38239
4597 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
4598 call-clobbered registers.
4599 (internal_mcount): Remove __i386__ handling.
4600
df674f74
JS
46012016-02-26 Joel Sherrill <joel@rtems.org>
4602
4603 * config.host: Add x86_64-*-rtems*.
4604
7cb065d6
JS
46052016-02-26 Joel Sherrill <joel@rtems.org>
4606
4607 * libgcc/config.host: Add aarch64-*-rtems*.
4608
47dfdc53
PM
46092016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4610 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
4611
4612 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
4613 union of u64 and double.
4614 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
4615 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
4616 value.
4617 (FP_ROUNDMODE): Update the usage of _fpscr.
4618
e6861a99
IV
46192016-02-25 Ilya Verbin <ilya.verbin@intel.com>
4620
4621 PR driver/68463
4622 * Makefile.in (crtoffloadtable$(objext)): New rule.
4623 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
4624 enable_offload_targets is not empty.
4625 * configure: Regenerate.
4626 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
4627 crtoffloadtable.
4628
9bfcbdee
MF
46292016-02-17 Max Filippov <jcmvbkbc@gmail.com>
4630
4631 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
4632 .literal_position before the function.
4633 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
4634 Likewise.
4635
4cb4721f
MK
46362016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
4637
4638 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
4639 * config/s390/morestack.S: New file.
4640 * config/s390/t-stack-s390: New file.
4641 * generic-morestack.c (__splitstack_find): Add s390-specific code.
4642
b29d9a29
WL
46432016-02-12 Walter Lee <walt@tilera.com>
4644
4645 * config.host (tilegx*-*-linux*): remove ti from
4646 softfp_int_modes for 32-bit configs.
4647
03a0ae7d
ILT
46482016-02-10 Ian Lance Taylor <iant@google.com>
4649
4650 PR go/68562
4651 * config/i386/morestack.S (__stack_split_initialize): Align
4652 stack.
4653
68750bce
AT
46542016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
4655
4656 PR bootstrap/69611
4657 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
4658 __FLOAT128__ to compile only for __float128 capable targets.
4659
7d296953
JJ
46602016-01-25 Jakub Jelinek <jakub@redhat.com>
4661
4662 PR target/69444
4663 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
4664 instead of ___NO_FPRS__.
4665
a71c0334 46662016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
4667 Steven Munroe <munroesj@linux.vnet.ibm.com>
4668 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
a71c0334
MM
4669
4670 * config/rs6000/float128-sed: New files to convert TF names to KF
4671 names for PowerPC IEEE 128-bit floating point support.
4672 * config/rs6000/float128-sed-hw: Likewise.
4673
4674 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
4675 floating point hardware support.
4676
4677 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
4678 128-bit floating point software emulation or use ISA 3.0 hardware
4679 support if it is available.
4680
4681 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
4682 floating point.
4683
4684 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
4685 floating point to IBM extended double.
4686
4687 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
4688 double to IEEE 128-bit floating point.
4689
4690 * config/rs6000/t-float128: New Makefile fragments to enable
4691 building __float128 emulation support.
4692 * config/rs6000/t-float128-hw: Likewise.
4693
4694 * config/rs6000/sfp-exceptions.c: New file to provide exception
4695 support for IEEE 128-bit floating point.
4696
4697 * config/rs6000/floattikf.c: New files for converting between IEEE
4698 128-bit floating point and signed/unsigned 128-bit integers.
4699 * config/rs6000/fixunskfti.c: Likewise.
4700 * config/rs6000/fixkfti.c: Likewise.
4701 * config/rs6000/floatuntikf.c: Likewise.
4702
4703 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
4704 when building on 64-bit systems, or when VSX is enabled.
4705 (_FP_W_TYPE): Likewise.
4706 (_FP_WS_TYPE): Likewise.
4707 (_FP_I_TYPE): Likewise.
4708 (TItype): Define on 64-bit systems.
4709 (UTItype): Likewise.
4710 (TI_BITS): Likewise.
4711 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
4712 (_FP_MUL_MEAT_Q): Likewise.
4713 (_FP_DIV_MEAT_D): Likewise.
4714 (_FP_DIV_MEAT_Q): Likewise.
4715 (_FP_NANFRAC_D): Likewise.
4716 (_FP_NANFRAC_Q): Likewise.
4717 (ISA_BIT): Add exception support if we are being compiled on a
4718 machine with hardware floating point support to build the IEEE
4719 128-bit emulation functions.
4720 (FP_EX_INVALID): Likewise.
4721 (FP_EX_OVERFLOW): Likewise.
4722 (FP_EX_UNDERFLOW): Likewise.
4723 (FP_EX_DIVZERO): Likewise.
4724 (FP_EX_INEXACT): Likewise.
4725 (FP_EX_ALL): Likewise.
4726 (__sfp_handle_exceptions): Likewise.
4727 (FP_HANDLE_EXCEPTIONS): Likewise.
4728 (FP_RND_NEAREST): Likewise.
4729 (FP_RND_ZERO): Likewise.
4730 (FP_RND_PINF): Likewise.
4731 (FP_RND_MINF): Likewise.
4732 (FP_RND_MASK): Likewise.
4733 (_FP_DECL_EX): Likewise.
4734 (FP_INIT_ROUNDMODE): Likewise.
4735 (FP_ROUNDMODE): Likewise.
4736
4737 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
4738 VSX code, enable IEEE 128-bit floating point. If the compiler can
4739 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
4740 floating point hardware instructions and it supports declaring
4741 functions with the ifunc attribute, enable ifunc functions to
4742 switch between software and hardware support.
4743 * configure.ac (powerpc*-*-linux*): Likewise.
4744 * configure: Regenerate.
4745
bdc27e50
NC
47462016-01-15 Nick Clifton <nickc@redhat.com>
4747
4748 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
4749 dependency as the source file to be compiled.
4750 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
4751 (lib2hw_mul_f5.o): Likewise.
4752
006df05d
MM
47532016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
4754
4755 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
4756 * libgcc/config/rs6000/fixkfti.c: Likewise.
4757 * libgcc/config/rs6000/fixunskfti.c: Likewise.
4758 * libgcc/config/rs6000/float128-hw.c: Likewise.
4759 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
4760 * libgcc/config/rs6000/float128-sed: Likewise.
4761 * libgcc/config/rs6000/floattikf.c: Likewise.
4762 * libgcc/config/rs6000/floatuntikf.c: Likewise.
4763 * libgcc/config/rs6000/quad-float128.h: Likewise.
4764 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
4765 * libgcc/config/rs6000/sfp-machine.h: Likewise.
4766 * libgcc/config/rs6000/t-float128: Likewise.
4767 * libgcc/config/rs6000/t-float128-hw: Likewise.
4768 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
4769 * libgcc/config.host: Likewise.
4770 * libgcc/configure: Likewise.
4771 * libgcc/configure.ac: Likewise.
4772
29176d57 47732016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
4774 Steven Munroe <munroesj@linux.vnet.ibm.com>
4775 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
29176d57
MM
4776
4777 * config/rs6000/sfp-exceptions.c: New file to provide exception
4778 support for IEEE 128-bit floating point.
4779
4780 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
4781 floating point hardware support.
4782
4783 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
4784 point conversions.
4785 * config/rs6000/fixunskfti.c: Likewise.
4786 * config/rs6000/fixkfti.c: Likewise.
4787 * config/rs6000/floatuntikf.c: Likewise.
4788 * config/rs6000/extendkftf2-sw.c: Likewise.
4789 * config/rs6000/trunctfkf2-sw.c: Likewise.
4790
4791 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
4792 128-bit floating point software emulation or use ISA 3.0 hardware
4793 support if it is available.
4794
4795 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
4796 floating point.
4797
4798 * config/rs6000/t-float128: New Makefile fragments to enable
4799 building __float128 emulation support.
4800 * config/rs6000/t-float128-hw: Likewise.
4801
4802 * config/rs6000/float128-sed: New file to convert TF names to KF
4803 names for PowerPC IEEE 128-bit floating point support.
4804
4805 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
4806 when building on 64-bit systems, or when VSX is enabled.
4807 (_FP_W_TYPE): Likewise.
4808 (_FP_WS_TYPE): Likewise.
4809 (_FP_I_TYPE): Likewise.
4810 (TItype): Define on 64-bit systems.
4811 (UTItype): Likewise.
4812 (TI_BITS): Likewise.
4813 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
4814 (_FP_MUL_MEAT_Q): Likewise.
4815 (_FP_DIV_MEAT_D): Likewise.
4816 (_FP_DIV_MEAT_Q): Likewise.
4817 (_FP_NANFRAC_D): Likewise.
4818 (_FP_NANFRAC_Q): Likewise.
4819 (ISA_BIT): Add exception support if we are being compiled on a
4820 machine with hardware floating point support to build the IEEE
4821 128-bit emulation functions.
4822 (FP_EX_INVALID): Likewise.
4823 (FP_EX_OVERFLOW): Likewise.
4824 (FP_EX_UNDERFLOW): Likewise.
4825 (FP_EX_DIVZERO): Likewise.
4826 (FP_EX_INEXACT): Likewise.
4827 (FP_EX_ALL): Likewise.
4828 (__sfp_handle_exceptions): Likewise.
4829 (FP_HANDLE_EXCEPTIONS): Likewise.
4830 (FP_RND_NEAREST): Likewise.
4831 (FP_RND_ZERO): Likewise.
4832 (FP_RND_PINF): Likewise.
4833 (FP_RND_MINF): Likewise.
4834 (FP_RND_MASK): Likewise.
4835 (_FP_DECL_EX): Likewise.
4836 (FP_INIT_ROUNDMODE): Likewise.
4837 (FP_ROUNDMODE): Likewise.
4838
4839 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
4840 compiler can do __float128.
4841 * configure: Regenerate.
4842
4843 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
4844 VSX code, enable IEEE 128-bit floating point.
4845
a2218983
OH
48462016-01-05 Olivier Hainque <hainque@adacore.com>
4847
4848 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
29176d57 4849 specificities.
a2218983 4850
818ab71a
JJ
48512016-01-04 Jakub Jelinek <jakub@redhat.com>
4852
4853 Update copyright years.
4854
5a6c8ffa
AP
48552015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
4856
4857 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
29176d57 4858 soft-fp targets.
5a6c8ffa 4859
077067a5
BE
48602015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
4861
4862 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
4863 instead of abort to avoid dependency on stdlib.h.
4864
787c1027
JDA
48652015-12-09 John David Anglin <danglin@gcc.gnu.org>
4866
4867 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
4868 to initialize call to __dl_fixup once.
4869
04a9ae28
NC
48702015-12-04 Nick Clifton <nickc@redhat.com>
4871
4872 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
4873 Allow for the second argument being negative.
4874 * config.host (extra_parts): Define for MSP430. Create separate
4875 libraries for each of the hardware multiply formats.
4876 * config/msp430/lib2hw_mul.S: Build only the multiply routines
4877 that are needed.
4878 * config/msp430/lib2mul.c: Likewise.
4879 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
4880 Add rules to build hardware multiply libraries.
4881 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
4882 __mspabi_divul function.
4883 (__mspabi_divllu): New stub function.
4884
9a32d437
JDA
48852015-12-01 John David Anglin <danglin@gcc.gnu.org>
4886
4887 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
4888 fixup values if saved GOT address doesn't match runtime address.
4889 (fixup_branch_offset): Reorder list.
4890
e5ef217c
RO
48912015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4892
4893 * Makefile.in (VTV_CFLAGS): New variable.
4894 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
4895 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
4896 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
4897 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
4898 to extra_parts if $enable_vtable_verify = yes.
4899
78cc43a2
SN
49002015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
4901
4902 PR target/68059
4903 * config/arm/linux-atomic-64bit.c (__write): Rename to...
4904 (write): ...this and fix the return type.
4905
9afebea2
DD
49062015-11-19 DJ Delorie <dj@redhat.com>
4907
4908 * config/msp430/lib2hw_mul.S: Fix alignment.
4909
33f47f42
NS
49102015-11-18 Nathan Sidwell <nathan@codesourcery.com>
4911
4912 * config/nvptx/reduction.c: New.
4913 * config/nvptx/t-nvptx (LIB2ADD): Add it.
4914
d9adb476
DE
49152015-11-15 David Edelsohn <dje.gcc@gmail.com>
4916
4917 * config/rs6000/on_exit.c: New file.
4918 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
4919 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
4920
c0ab1970
CZ
49212015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
4922
4923 * config/arc/dp-hack.h: Add support for ARCHS.
4924 * config/arc/ieee-754/divdf3.S: Likewise.
4925 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
4926 * config/arc/ieee-754/muldf3.S: Likewise.
4927 * config/arc/ieee-754/mulsf3.S: Likewise
4928 * config/arc/lib1funcs.S: Likewise
4929 * config/arc/gmon/dcache_linesz.S: Don't read the build register
4930 for ARCv2 cores.
4931 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
4932 for ARCv2 cores.
4933 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
4934 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
4935 cores.
4936
e6b6bf09
RO
49372015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4938
4939 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
4940 value.
4941 * config/ia64/crtend.S: Likewise.
4942
a153644f
TS
49432015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4944
4945 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
4946 __CHAR_BIT__ instead of BITS_PER_UNIT.
4947 * fixed-bit.h: Likewise.
4948 * fp-bit.h: Likewise.
4949 * libgcc2.c (__popcountSI2): Likewise.
4950 (__popcountDI2): Likewise.
4951 * libgcc2.h: Likewise.
4952 * libgcov.h: Likewise.
4953
3dee689d
DE
49542015-11-07 David Edelsohn <dje.gcc@gmail.com>
4955
4956 * config/rs6000/atexit.c: New file.
4957 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
4958 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
4959 * config/rs6000/cxa_finalize.c
4960 (catomic_compare_and_exchange_bool_acq): Negate return value.
4961
2ef543e4
VK
49622015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
4963
4964 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
4965 (processor_subtypes): Add znver1.
4966 (get_amd_cpu): Detect znver1.
4967
1300f017
CL
49682015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
4969
4970 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
4971 Include crtfastmath.o.
4972
3e5bb7ee
JR
49732015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
4974
4975 PR libgcc/66883
4976 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1300f017 4977
793aa938
KP
49782015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
4979
4980 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
4981 * config/rl78/divmodsi.S: Update return register to r8.
4982 * config/rl78/divmodhi.S: Update return register to r8,r9.
4983 Branch to main_loop_done_himode to pop registers before return.
4984
7d296953 49852015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
fac812f0
VK
4986
4987 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
4988 (__cpu_indicator_init): Fix model selection for AMD CPUs.
4989
6a192b5a
KY
49902015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
4991
4992 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
4993
4a0a9457
MF
49942015-10-03 Max Filippov <jcmvbkbc@gmail.com>
4995
4996 * config.host (xtensa*-*-uclinux*): New configuration.
4997
ab91c076
KY
49982015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
4999
385c7747 5000 * config/i386/cpuinfo.c (processor_features): Add
ab91c076
KY
5001 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
5002
30954527
JM
50032015-09-28 Joseph Myers <joseph@codesourcery.com>
5004
5005 * soft-fp/adddf3.c: Update from glibc.
5006 * soft-fp/addsf3.c: Likewise.
5007 * soft-fp/addtf3.c: Likewise.
5008 * soft-fp/divdf3.c: Likewise.
5009 * soft-fp/divsf3.c: Likewise.
5010 * soft-fp/divtf3.c: Likewise.
5011 * soft-fp/double.h: Likewise.
5012 * soft-fp/eqdf2.c: Likewise.
5013 * soft-fp/eqsf2.c: Likewise.
5014 * soft-fp/eqtf2.c: Likewise.
5015 * soft-fp/extenddftf2.c: Likewise.
5016 * soft-fp/extended.h: Likewise.
5017 * soft-fp/extendsfdf2.c: Likewise.
5018 * soft-fp/extendsftf2.c: Likewise.
5019 * soft-fp/extendxftf2.c: Likewise.
5020 * soft-fp/fixdfdi.c: Likewise.
5021 * soft-fp/fixdfsi.c: Likewise.
5022 * soft-fp/fixdfti.c: Likewise.
5023 * soft-fp/fixsfdi.c: Likewise.
5024 * soft-fp/fixsfsi.c: Likewise.
5025 * soft-fp/fixsfti.c: Likewise.
5026 * soft-fp/fixtfdi.c: Likewise.
5027 * soft-fp/fixtfsi.c: Likewise.
5028 * soft-fp/fixtfti.c: Likewise.
5029 * soft-fp/fixunsdfdi.c: Likewise.
5030 * soft-fp/fixunsdfsi.c: Likewise.
5031 * soft-fp/fixunsdfti.c: Likewise.
5032 * soft-fp/fixunssfdi.c: Likewise.
5033 * soft-fp/fixunssfsi.c: Likewise.
5034 * soft-fp/fixunssfti.c: Likewise.
5035 * soft-fp/fixunstfdi.c: Likewise.
5036 * soft-fp/fixunstfsi.c: Likewise.
5037 * soft-fp/fixunstfti.c: Likewise.
5038 * soft-fp/floatdidf.c: Likewise.
5039 * soft-fp/floatdisf.c: Likewise.
5040 * soft-fp/floatditf.c: Likewise.
5041 * soft-fp/floatsidf.c: Likewise.
5042 * soft-fp/floatsisf.c: Likewise.
5043 * soft-fp/floatsitf.c: Likewise.
5044 * soft-fp/floattidf.c: Likewise.
5045 * soft-fp/floattisf.c: Likewise.
5046 * soft-fp/floattitf.c: Likewise.
5047 * soft-fp/floatundidf.c: Likewise.
5048 * soft-fp/floatundisf.c: Likewise.
5049 * soft-fp/floatunditf.c: Likewise.
5050 * soft-fp/floatunsidf.c: Likewise.
5051 * soft-fp/floatunsisf.c: Likewise.
5052 * soft-fp/floatunsitf.c: Likewise.
5053 * soft-fp/floatuntidf.c: Likewise.
5054 * soft-fp/floatuntisf.c: Likewise.
5055 * soft-fp/floatuntitf.c: Likewise.
5056 * soft-fp/gedf2.c: Likewise.
5057 * soft-fp/gesf2.c: Likewise.
5058 * soft-fp/getf2.c: Likewise.
5059 * soft-fp/ledf2.c: Likewise.
5060 * soft-fp/lesf2.c: Likewise.
5061 * soft-fp/letf2.c: Likewise.
5062 * soft-fp/muldf3.c: Likewise.
5063 * soft-fp/mulsf3.c: Likewise.
5064 * soft-fp/multf3.c: Likewise.
5065 * soft-fp/negdf2.c: Likewise.
5066 * soft-fp/negsf2.c: Likewise.
5067 * soft-fp/negtf2.c: Likewise.
5068 * soft-fp/op-1.h: Likewise.
5069 * soft-fp/op-2.h: Likewise.
5070 * soft-fp/op-4.h: Likewise.
5071 * soft-fp/op-8.h: Likewise.
5072 * soft-fp/op-common.h: Likewise.
5073 * soft-fp/quad.h: Likewise.
5074 * soft-fp/single.h: Likewise.
5075 * soft-fp/soft-fp.h: Likewise.
5076 * soft-fp/subdf3.c: Likewise.
5077 * soft-fp/subsf3.c: Likewise.
5078 * soft-fp/subtf3.c: Likewise.
5079 * soft-fp/truncdfsf2.c: Likewise.
5080 * soft-fp/trunctfdf2.c: Likewise.
5081 * soft-fp/trunctfsf2.c: Likewise.
5082 * soft-fp/trunctfxf2.c: Likewise.
5083 * soft-fp/unorddf2.c: Likewise.
5084 * soft-fp/unordsf2.c: Likewise.
5085 * soft-fp/unordtf2.c: Likewise.
5086
4dfe21ac
RE
50872015-09-24 Richard Earnshaw <rearnsha@arm.com>
5088
5089 PR libgcc/67624
5090 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
5091
df2a1cc4
RO
50922015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5093
5094 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
5095 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
5096 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
5097 messages.
5098 (internal_mcount): Likewise.
5099 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
5100 crt_compile, add CRTSTUFF_T_CFLAGS_S.
5101
2d110442
RO
51022015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5103
5104 * configure.ac (libgcc_cv_solaris_crts): New test.
5105 * configure: Regenerate.
5106 * config.in: Regenerate.
5107 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
5108 * config/gmon-sol2.c: Rename to ...
5109 * config/sol2/gmon.c: ... this.
5110 Include auto-target.h.
5111 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
5112 * config/t-sol2: Rename to ...
5113 * config/sol2/t-sol2: ... this.
5114 (gmon.o): Reflect renaming.
5115 (crtp.o, crtpg.o): New rules.
5116 * config.host (*-*-solaris2*): Reflect renaming.
5117 Use system CRTs if present.
5118 Remove default CRT case.
5119
d572e439
JDA
51202015-09-23 John David Anglin <danglin@gcc.gnu.org>
5121
5122 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
5123 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
5124 __kernel_cmpxchg2.
5125 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
5126 (__sync_val_compare_and_swap_##WIDTH): Likewise.
5127 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
5128 (__sync_lock_test_and_set_##WIDTH): Likewise.
5129 (__sync_lock_release_##WIDTH): Likewise.
5130 (__sync_fetch_and_##OP##_4): Change result to match type of
5131 __kernel_cmpxchg.
5132 (__sync_##OP##_and_fetch_4): Likewise.
5133 (__sync_val_compare_and_swap_4): Likewise.
5134 (__sync_bool_compare_and_swap_4): likewise.
5135 (__sync_lock_test_and_set_4): Likewise.
5136 (__sync_lock_release_4): Likewise.
5137 (FETCH_AND_OP_2): Add long long variants.
5138 (OP_AND_FETCH_2): Likewise.
5139 (COMPARE_AND_SWAP_2 ): Likewise.
5140 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
5141 (SYNC_LOCK_RELEASE_2): Likewise.
5142 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
5143
7d296953 51442015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
06caf59d
KY
5145
5146 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
5147 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
5148 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
5149 (get_available_features): Habdle new features.
5150
131314e1
JB
51512015-09-21 James Bowman <james.bowman@ftdichip.com>
5152
5153 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
5154 memory layout. Deal correctly with BSS region larger than 32K.
5155 Handle a watchdog reset like a power-on reset. Clean up unused
5156 code.
5157
04218b35
AD
51582015-09-18 Andrew Dixie <andrewd@gentrack.com>
5159 David Edelsohn <dje.gcc@gmail.com>
5160
5161 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
5162 * config/rs6000/crtdbase.S: New file.
5163 * config/rs6000/t-aix-cxa: Build crtdbase.o.
5164
c8338173
MF
51652015-09-15 Max Filippov <jcmvbkbc@gmail.com>
5166
5167 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
5168 Add support for call0 ABI.
5169
7a84bf71
JDA
51702015-09-13 John David Anglin <danglin@gcc.gnu.org>
5171
5172 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
5173
4efab402
SH
51742015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
5175
5176 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
5177 (__GTHREAD_HAS_COND): Likewise.
5178 (__gthread_t): Likewise.
5179 (__gthread_cond_t): Likewise.
5180 (__gthread_time_t): Likewise.
5181 (__GTHREAD_MUTEX_INIT): Likewise.
5182 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
5183 (__GTHREAD_COND_INIT): Likewise.
5184 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
5185 (__GTHREAD_TIME_INIT): Likewise.
5186 (__gthread_create): Likewise.
5187 (__gthread_join): Likewise.
5188 (__gthread_detach): Likewise.
5189 (__gthread_equal): Likewise.
5190 (__gthread_self): Likewise.
5191 (__gthread_yield): Likewise.
5192 (__gthread_cond_broadcast): Likewise.
5193 (__gthread_cond_signal): Likewise.
5194 (__gthread_cond_wait): Likewise.
5195 (__gthread_cond_timedwait): Likewise.
5196 (__gthread_cond_wait_recursive): Likewise.
5197 (__gthread_cond_destroy): Likewise.
5198 (rtems_gxx_once): Delete.
5199 (rtems_gxx_key_create): Likewise.
5200 (rtems_gxx_key_delete): Likewise.
5201 (rtems_gxx_getspecific): Likewise.
5202 (rtems_gxx_setspecific): Likewise.
5203 (rtems_gxx_mutex_init): Likewise.
5204 (rtems_gxx_mutex_destroy): Likewise.
5205 (rtems_gxx_mutex_lock): Likewise.
5206 (rtems_gxx_mutex_trylock): Likewise.
5207 (rtems_gxx_mutex_unlock): Likewise.
5208 (rtems_gxx_recursive_mutex_init): Likewise.
5209 (rtems_gxx_recursive_mutex_lock): Likewise.
5210 (rtems_gxx_recursive_mutex_trylock): Likewise.
5211 (rtems_gxx_recursive_mutex_unlock): Likewise.
5212 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
5213 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
5214 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
5215 (__gthread_once): Likewise.
5216 (__gthread_key_create): Likewise.
5217 (__gthread_key_delete): Likewise.
5218 (__gthread_getspecific): Likewise.
5219 (__gthread_setspecific): Likewise.
5220 (__gthread_key_t): Use <pthread.h> type.
5221 (__gthread_once_t): Likewise
5222 (__gthread_mutex_t): Use <sys/lock.h> type.
5223 (__gthread_recursive_mutex_t): Likewise
5224 (__gthread_mutex_lock): Use <sys/lock.h> function.
5225 (__gthread_mutex_trylock): Likewise.
5226 (__gthread_mutex_timedlock): Likewise.
5227 (__gthread_mutex_unlock): Likewise.
5228 (__gthread_mutex_destroy): Likewise.
5229 (__gthread_recursive_mutex_lock): Likewise.
5230 (__gthread_recursive_mutex_trylock): Likewise.
5231 (__gthread_recursive_mutex_timedlock): Likewise.
5232 (__gthread_recursive_mutex_unlock): Likewise.
5233 (__gthread_recursive_mutex_destroy): Likewise.
5234
991995c4
MF
52352015-08-18 Max Filippov <jcmvbkbc@gmail.com>
5236
5237 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
5238 context->sp instead of context->cfa.
5239
0e19db59
MF
52402015-08-18 Max Filippov <jcmvbkbc@gmail.com>
5241
5242 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
5243 with unwind-dw2-fde-dip.
5244
b6ac5f62
MF
52452015-08-18 Max Filippov <jcmvbkbc@gmail.com>
5246
5247 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
5248 CALL12 followed by series of ENTRY to spill windowed registers.
5249 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
5250 instead of making linux spill syscall.
5251
3e0f3349
YR
52522015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
5253
5254 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
5255 (get_intel_cpu): Likewise.
5256
51c728b1
L
52572015-08-12 H.J. Lu <hongjiu.lu@intel.com>
5258
5259 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
5260 (get_intel_cpu): Add Knights Landing support.
5261
aff4eeac
UB
52622015-08-11 Uros Bizjak <ubizjak@gmail.com>
5263
5264 PR target/66954
5265 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
5266 (get_available_features): Handle FEATURE_PCLMUL.
5267
736e56da
L
52682015-08-10 H.J. Lu <hongjiu.lu@intel.com>
5269
5270 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
5271 Broadwell.
5272
54d22142
UB
52732015-07-22 Uros Bizjak <ubizjak@gmail.com>
5274
5275 PR target/66954
5276 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
5277 (get_available_features): Handle FEATURE_AES.
5278
20ca17e4
CLT
52792015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
5280
5281 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
5282 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
5283
ebe4a560
NS
52842015-07-17 Nathan Sidwell <nathan@codesourcery.com>
5285
5286 * offloadstuff.c: Constify host data.
5287
180744c0
JB
52882015-07-17 Jan Beulich <jbeulich@suse.com>
5289
5290 * config/t-softfp: Split up "else ifneq".
5291
a03c6ae3
SL
52922015-07-14 Sandra Loosemore <sandra@codesourcery.com>
5293 Cesar Philippidis <cesar@codesourcery.com>
5294 Chung-Lin Tang <cltang@codesourcery.com>
5295
5296 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
5297 for __nios2_arch__ level.
5298
73358db5
JM
52992015-07-13 John Marino <gnugcc@marino.st>
5300
5301 * config/i386/t-dragonfly: New.
5302
f9a12f7b
JDA
53032015-07-01 John David Anglin <danglin@gcc.gnu.org>
5304
5305 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
5306 better match light-weight syscall argument order.
5307 (__kernel_cmpxchg2): Likewise.
5308 Adjust callers.
5309
cb78b51c
L
53102015-06-30 H.J. Lu <hongjiu.lu@intel.com>
5311
5312 * config.host: Support i[34567]86-*-elfiamcu target.
5313 * config/t-softfp-sfdftf: New file.
5314 * config/i386/32/t-iamcu: Likewise.
5315 * configure: Regenerated.
5316
4fa0f9ea
JL
53172015-06-23 James Lemke <jwlemke@codesourcery.com>
5318
5319 libgcc/config/arm/
5320 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
5321
428b3812
L
53222015-05-27 H.J. Lu <hongjiu.lu@intel.com>
5323
5324 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
5325
7d296953 53262015-05-27 John Marino <gnugcc@marino.st>
89c54dd3
JM
5327
5328 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
5329 md_unwind_header
5330 * config/i386/freebsd-unwind.h: New.
5331
9b789cc1
UB
53322015-05-22 Uros Bizjak <ubizjak@gmail.com>
5333
5334 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
5335 i386/t-crtfm to tmake_file.
5336 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
5337 (set_fast_math): Use set_fast_math_sse for SSE targets.
5338 * config/i386/t-crtfm: Remove.
5339
3dafb220
AM
53402015-05-21 Alan Modra <amodra@gmail.com>
5341
5342 PR libgcc/66225
5343 * config/rs6000/morestack.S: Remove ".abiversion 1".
5344
0f0fd745
AM
53452015-05-20 Alan Modra <amodra@gmail.com>
5346
5347 * config/rs6000/morestack.S: New.
5348 * config/rs6000/t-stack-rs6000: New.
5349 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
5350 to tmake_file.
5351 * generic-morestack.c: Don't build for powerpc 32-bit.
5352
515ae71b
EB
53532015-05-19 Eric Botcazou <ebotcazou@adacore.com>
5354
5355 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
5356 Remove useless endif/ifneq ($(enable_shared),yes) pair.
5357
36805406
JL
53582015-05-16 James Bowman <james.bowman@ftdichip.com>
5359
5360 * config.host: FT32 target added.
5361 * config/ft32/*: New files for FT32 target.
5362
ff935d0c
MG
53632015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
5364
385c7747
UB
5365 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
5366 New macros.
5367 * config/arm/ieee754-df.S: Add CFI directives.
5368 * config/arm/ieee754-sf.S: Add CFI directives.
ff935d0c 5369
9b92a9f3
EB
53702015-05-13 Eric Botcazou <ebotcazou@adacore.com>
5371
5372 * configure.ac: Include config/sjlj.m4.
5373 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
5374 * config.in: Regenerate.
5375 * configure: Likewise.
5376 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
5377
98b5dc61
UB
53782015-05-12 Uros Bizjak <ubizjak@gmail.com>
5379
5380 * libgcov-util.c: Add space between string literal and macro name.
5381
5a0ff57c
SL
53822015-05-06 Sandra Loosemore <sandra@codesourcery.com>
5383 Chris Jones <chrisj@nvidia.com>
5384 Joshua Conner <jconner@nvidia.com>
5385
5386 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
5387 (arm*-*-uclinux*): Likewise.
5388 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
5389 * config/arm/crtfastmath.c: New file.
5390
d28ad5d4
BS
53912014-04-29 Bernd Schmidt <bernds@codesourcery.com>
5392
5393 * Makefile.in (real_host_noncanonical): New variable.
5394 (libsubdir): Use it.
5395 * configure.ac (real_host_noncanonical): Compute. Remove special
5396 case for intelmicemul.
5397 * configure: Regenerate.
5398
cc86234f
UB
53992015-04-28 Uros Bizjak <ubizjak@gmail.com>
5400
5401 * config/frv/elf-lib.h: New file.
5402 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
5403 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
5404 to tm_file.
5405
54062015-04-28 Uros Bizjak <ubizjak@gmail.com>
5407
5408 * config/frv/frvbengin.c: Do not include defaults.h
5409 * config/frv/frvend.c: Ditto.
5410
2f6bd6eb
YS
54112015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
5412
5413 * config.host: Add h8300-*-linux
5414 * config/h8300/t-linux: New file.
5415 * config/h8300/lib1funs.s: Change symbol prefix.
5416 * config/h8300/sfp-machine.h: 64bit double support.
5417
15aa7b44
GR
54182015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
5419 Szabolcs Nagy <szabolcs.nagy@arm.com>
5420
5421 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
5422 Linux if target provides dl_iterate_phdr.
5423
abd0cdc9
L
54242015-04-17 H.J. Lu <hongjiu.lu@intel.com>
5425
5426 PR target/65612
5427 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
5428 * config/i386/cpuinfo.c (__cpu_model): Initialize.
5429 (__cpu_indicator_init@GCC_4.8.0): New.
5430 (__cpu_model@GCC_4.8.0): Likewise.
5431 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
5432 -DUSE_ELF_SYMVER.
5433
72ed1126
NC
54342015-04-16 Nick Clifton <nickc@redhat.com>
5435
5436 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
5437 and __modhi3 functions.
5438 * config/rl78/divmodso.S: Add G14 and G13 versions of the
5439 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
5440
d26b2237
CG
54412015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
5442
5443 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
5444 do-while loop as macro body to avoid warnings.
5445
cacf1f59
JJ
54462015-04-10 Jakub Jelinek <jakub@redhat.com>
5447 Iain Sandoe <iain@codesourcery.com>
5448
5449 PR target/65351
5450 * configure: Regenerate.
5451
e8a4ed3b
JJ
54522015-04-07 Jakub Jelinek <jakub@redhat.com>
5453 Iain Sandoe <iain@codesourcery.com>
5454
5455 PR target/65351
5456 * configure: Regenerate.
5457
0341335e
CLT
54582015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
5459
5460 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
5461
590e2636 54622015-03-03 Max Filippov <jcmvbkbc@gmail.com>
0341335e 5463
590e2636
MF
5464 Implement call0 ABI for xtensa
5465 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
5466 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
5467 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
5468 use ret in call0 ABI.
5469 * config/xtensa/t-windowed: New file.
5470 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
5471 * libgcc/configure: Regenerated.
5472 * libgcc/configure.ac: Check if xtensa target is configured for
5473 windowed ABI and thus needs to use custom unwind code.
5474
7727f8f2
JW
54752015-02-12 Jonathan Wakely <jwakely@redhat.com>
5476
5477 PR libgcc/64885
5478 * gthr-single.h: Use __unused__ attribute instead of unused.
5479 * config/gthr-vxworks.h: Likewise.
5480 * config/i386/gthr-win32.h: Likewise.
5481
0e4a0def
KT
54822015-02-27 Kai Tietz <ktietz@redhat.com>
5483
5484 PR target/65038
5485 * config.in: Regenerated.
5486 * configure: Likewise.
5487 * configure.ac (AC_HEADER_STDC): Added explicit.
5488 (AC_CHECK_HEADERS): Check for default headers plus
5489 for ftw.h header.
5490 * libgcov-util.c (gcov_read_profile_dir): Disable use
5491 of ftw-function, if header is not found.
5492 (ftw_read_file): Likewise.
5493
b6530d0a
TS
54942015-02-23 Thomas Schwinge <thomas@codesourcery.com>
5495
5496 PR target/65181
5497 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
5498 -Dinhibit_libc.
5499
53cfb467
SL
55002015-02-17 Sandra Loosemore <sandra@codesourcery.com>
5501
5502 * config/arm/bpabi.S (test_div_by_zero): Make label names
5503 consistent between thumb2 and arm mode cases. Separate the
5504 signed comparison on the high word of the numerator from the
5505 unsigned comparison on the low word.
5506 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
5507 signed comparison.
5508
77d10a1b
JM
55092015-02-17 Joseph Myers <joseph@codesourcery.com>
5510
5511 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
5512 and <string.h>.
5513 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
5514
98174188
RE
55152015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
5516
5517 PR gcov-profile/61889
471274de 5518 * libgcov-driver-system.c: undefine clashing macro for mkdir.
98174188 5519
771bef14
NC
55202015-02-02 Nick Clifton <nickc@redhat.com>
5521
5522 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
5523 rounding up the fraction.
5524
40702893
JDA
55252015-01-31 John David Anglin <danglin@gcc.gnu.org>
5526
5527 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
5528 oldval and newval to const void *. Fix typo.
5529 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
5530 (FETCH_AND_OP_WORD): Likewise.
5531 (OP_AND_FETCH_WORD): Likewise.
5532 (COMPARE_AND_SWAP_2): Likewise.
5533 (__sync_val_compare_and_swap_4): Likewise.
5534 (__sync_lock_test_and_set_4): Likewise.
5535 (SYNC_LOCK_RELEASE_2): Likewise.
5536 Remove support for long long atomic operations.
5537
f7f049fa
CT
55382015-01-27 Caroline Tice <cmtice@google.com>
5539
5540 Committing VTV Cywin/Ming patch for Patrick Wollgast
5541 * Makefile.in: Move rules to build vtv_*.o out of the check
5542 for CUSTOM_CRTSTUFF.
5543 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
5544 i[34567]86-*-mingw*)
5545 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
5546 enable_vtable_verify.
5547
8410904a
NC
55482015-01-27 Nick Clifton <nickc@redhat.com>
5549
5550 * config/rl78/cmpsi2.S: Use function start and end macros.
5551 (__gcc_bcmp): New function.
5552 * config/rl78/lshrsi3.S: Use function start and end macros.
5553 * config/rl78/mulsi3.S: Add support for G10.
5554 (__mulqi3): New function for G10.
5555 * config/rl78/signbit.S: Use function start and end macros.
5556 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
5557 fpmath-sf.S.
5558 (LIB2FUNCS_EXCLUDE): Define.
5559 (LIB2FUNCS_ST): Define.
5560 * config/rl78/trampoline.S: Use function start and end macros.
5561 * config/rl78/vregs.h (START_FUNC): New macro.
5562 (START_ANOTHER_FUNC): New macro.
5563 (END_FUNC): New macro.
5564 (END_ANOTHER_FUNC): New macro.
5565 * config/rl78/bit-count.S: New file. Contains assembler
5566 implementations of the bit counting functions: ___clzhi2,
5567 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
5568 __paritysi2, __popcounthi2 and __popcountsi2.
5569 * config/rl78/fpbit-sf.S: New file. Contains assembler
5570 implementationas of the math functions: __negsf2, __cmpsf2,
5571 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
5572 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
5573 * config/rl78/fpmath-sf.S: New file. Contains assembler
5574 implementations of the math functions: __subsf3, __addsf3,
5575 __mulsf3 and __divsf3
5576
f962fbf1
RO
55772015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5578
5579 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
5580 Add i386/elf-lib.h to tm_file.
5581 * config/i386/elf-lib.h: Fix comment.
5582 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
5583 && __sun__ && __svr4__]: Remove workaround.
5584
939911c5
ASJ
55852015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
5586
5587 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
5588 FEATURE_BMI2.
5589 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
5590
c8f2dff2
L
55912015-01-24 H.J. Lu <hongjiu.lu@intel.com>
5592
5593 * config/i386/cpuinfo.c (processor_subtypes): Add
5594 INTEL_COREI7_BROADWELL.
5595 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
5596 model numbers.
5597
7bbf9734
UB
55982015-01-23 Uros Bizjak <ubizjak@gmail.com>
5599
5600 * config/i386/elf-lib.h: New file.
5601 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
5602 Wrap definition in #ifdef __i386__.
5603 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
5604 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
5605 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
5606 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
5607 to tm_file.
5608
324820f1
CG
56092015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
5610
5611 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
5612 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
5613
a9ce4e4a
CLT
56142015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
5615
5616 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
5617 Update rt_sigframe format and address for current Nios II
5618 Linux conventions.
5619
82a19768
AT
56202015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
5621
5622 * config.host (arm*-*-freebsd*): Add new configuration for
5623 arm*-*-freebsd*.
5624 * config/arm/freebsd-atomic.c: New file.
5625 * config/arm/t-freebsd: Likewise.
5626 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
5627 'PC-relative indirect' OS's.
5628
0969ec7d
EB
56292015-01-06 Eric Botcazou <ebotcazou@adacore.com>
5630
5631 * config.host: Add Visium support.
5632 * config/visium: New directory.
5633
5624e564
JJ
56342015-01-05 Jakub Jelinek <jakub@redhat.com>
5635
5636 Update copyright years.
5637
82f84ecb
MF
56382014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
5639
5640 * config.host: Support mipsisa32r6 and mipsisa64r6.
5641 * config/mips/mips16.S: Do not build for R6.
5642
69044fa9
OE
56432014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
5644
5645 * config/sh/crt.h: New.
5646 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
5647 symbols.
5648 * config/sh/crt1.S: Likewise.
5649
2405e0ea
UB
56502014-12-15 Uros Bizjak <ubizjak@gmail.com>
5651
5652 PR libgcc/63832
5653 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
5654 func_ptr *dtor_list temporary variable to avoid "array subscript
5655 is above array bounds" warnings.
5656
7d296953 56572014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
dd913323
MH
5658
5659 * Makefile.in (with_aix_soname): Define.
5660 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
5661 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
5662 * configure: Recreate.
5663
a66272f6
OH
56642014-12-05 Olivier Hainque <hainque@adacore.com>
5665
5666 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
5667 now provided by defaults.h.
5668
6342b2c5
OE
56692014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
5670
7d0ee249 5671 PR target/55351
6342b2c5
OE
5672 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
5673 whether it's defined.
5674
c17eac85
IT
56752014-11-27 Ilya Tocar <ilya.tocar@intel.com>
5676
5677 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
5678 * config/i386/cpuinfo.c (get_available_features): Detect it.
5679
1025cb6c
TW
56802014-11-27 Tony Wang <tony.wang@arm.com>
5681
5682 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
5683 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
5684 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
5685
d19f2e38
SB
56862014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
5687
5688 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
5689
17f6e9a3
JDA
56902014-11-24 John David Anglin <danglin@gcc.gnu.org>
5691
5692 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
5693 instead.
5694
0cd7c672
GM
56952014-11-21 Guy Martin <gmsoft@tuxicoman.be>
5696 John David Anglin <danglin@gcc.gnu.org>
5697
5698 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
5699 (FETCH_AND_OP_2): New. Use for subword and double word operations.
5700 (OP_AND_FETCH_2): Likewise.
5701 (COMPARE_AND_SWAP_2): Likewise.
5702 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
5703 (SYNC_LOCK_RELEASE_2): Likewise.
5704 (SUBWORD_SYNC_OP): Remove.
5705 (SUBWORD_VAL_CAS): Likewise.
5706 (SUBWORD_BOOL_CAS): Likewise.
5707 (FETCH_AND_OP_WORD): Update.
5708 Consistently use signed types.
cc86234f 5709
85c64bbe
BS
57102014-11-13 Bernd Schmidt <bernds@codesourcery.com>
5711 Thomas Schwinge <thomas@codesourcery.com>
5712 Ilya Verbin <ilya.verbin@intel.com>
5713 Andrey Turetskiy <andrey.turetskiy@intel.com>
5714
5715 * Makefile.in (crtoffloadbegin$(objext)): New rule.
5716 (crtoffloadend$(objext)): Likewise.
5717 * configure: Regenerate.
5718 * configure.ac (accel_dir_suffix): Compute new variable.
5719 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
5720 if enable_offload_targets is not empty.
5721 * offloadstuff.c: New file.
5722
52a1ff8b
NC
57232014-11-13 Nick Clifton <nickc@redhat.com>
5724
5725 * config/rl78/divmodhi.S: Add support for the G10 architecture.
5726 Use START_FUNC and END_FUNC macros to enable linker garbage
5727 collection.
5728 * config/rl78/divmodqi.S: Likewise.
5729 * config/rl78/divmodsi.S: Likewise.
5730 * config/rl78/mulsi3.S: Likewise.
5731 * config/rl78/lib2div.c: Remove G10 functions.
5732 * config/rl78/lib2muls.c: Likewise.
5733 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
5734 * config/rl78/vregs.h (START_FUNC): New macro.
5735 (END_FUNC): New macro.
5736
050af144
MF
57372014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
5738
5739 * config/mips/mips16.S: Set .module when supported. Update O32
5740 FP64 calling convention and use for FPXX when possible. Add FPXX
5741 calling convention fallback case.
5742
738f2522
BS
57432014-11-06 Bernd Schmidt <bernds@codesourcery.com>
5744
5745 * config.host: Handle nvptx-*-*.
5746 * shared-object.mk (as-flags-$o): Define.
5747 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
5748 -xassembler-with-cpp.
5749 * static-object.mk: Identical changes.
5750 * config/nvptx/t-nvptx: New file.
5751 * config/nvptx/crt0.s: New file.
5752 * config/nvptx/free.asm: New file.
5753 * config/nvptx/malloc.asm: New file.
5754 * config/nvptx/realloc.c: New file.
5755
e610393c
JM
57562014-10-30 Joseph Myers <joseph@codesourcery.com>
5757
5758 * Makefile.in (libgcc.map.in): New target.
5759 (libgcc.map): Use libgcc.map.in.
5760 * config/t-softfp (softfp_compat): New variable to be set by
5761 users.
5762 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
5763 variables.
5764 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
5765 directory.
5766 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
5767 that use compat symbols and disable all code unless [SHARED].
5768 * config/t-softfp-compat: New file.
5769 * find-symver.awk: New file.
5770 * configure.ac (--with-glibc-version): New configure option.
5771 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
5772 * configure: Regenerate.
5773 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
5774 soft-float and e500.
5775
bc1b3a88
JM
57762014-10-29 Joseph Myers <joseph@codesourcery.com>
5777
5778 * config/t-hardfp (hardfp_exclusions): Document new variable for
5779 user to define.
5780 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
5781 * config/t-softfp (softfp_extras): Document new variable for user
5782 to define.
5783 (softfp_func_list): Add functions from $(softfp_extras).
5784 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
5785 * config.host (powerpc*-*-linux*): For e500v1, use
5786 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
5787 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
5788 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
5789
ef2810c1
JDA
57902014-10-26 John David Anglin <danglin@gcc.gnu.org>
5791
5792 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
5793 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
5794 memory read accesses are ok.
5795
d80c2bea
JM
57962014-10-25 Joseph Myers <joseph@codesourcery.com>
5797
5798 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
5799 * configure: Regenerate.
5800 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
5801 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
5802 of soft-fp for 32-bit classic hard float. Do not use
5803 t-softfp-excl for soft float.
5804
693b297b
JM
58052014-10-22 Joseph Myers <joseph@codesourcery.com>
5806
5807 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
5808 configurations.
5809 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
5810 Remove variables.
5811
18a3415e
GJL
58122014-10-22 Georg-Johann Lay <avr@gjlay.de>
5813
5814 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
5815 introduced with 2014-10-21 trunk r216525.
5816
c1dd9790 58172014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
7d296953
JJ
5818 Vidya Praveen <vidya.praveen@atmel.com>
5819 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
5820 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
5821 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
c1dd9790
JR
5822
5823 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
5824 order.
5825
5826 Updated library functions for AVRTINY arch.
5827 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
5828 Replaced occurrences of r0/r1 with tmp/zero reg macros.
5829 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
5830 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
5831 wsubi/wadi macors.
5832 (__mulsi3_helper): Update stack, preserve callee saved regs and
5833 argument from stack. Restore callee save registers.
5834 (__mulpsi3): Likewise.
5835 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
5836 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
18a3415e 5837 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
c1dd9790
JR
5838 AVRTINY.
5839 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
5840 (__do_copy_data): Added new definition for AVRTINY.
5841 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
5842 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
5843 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
5844 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
5845 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
5846 macors.
18a3415e 5847 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
c1dd9790
JR
5848 AVRTINY.
5849
18a3415e 5850 Fix broken long multiplication on tiny arch.
c1dd9790 5851
5f606431
JM
58522014-10-09 Joseph Myers <joseph@codesourcery.com>
5853
5854 * soft-fp/double.h: Update from glibc.
5855 * soft-fp/eqdf2.c: Likewise.
5856 * soft-fp/eqsf2.c: Likewise.
5857 * soft-fp/eqtf2.c: Likewise.
5858 * soft-fp/extenddftf2.c: Likewise.
5859 * soft-fp/extended.h: Likewise.
5860 * soft-fp/extendsfdf2.c: Likewise.
5861 * soft-fp/extendsftf2.c: Likewise.
5862 * soft-fp/extendxftf2.c: Likewise.
5863 * soft-fp/gedf2.c: Likewise.
5864 * soft-fp/gesf2.c: Likewise.
5865 * soft-fp/getf2.c: Likewise.
5866 * soft-fp/ledf2.c: Likewise.
5867 * soft-fp/lesf2.c: Likewise.
5868 * soft-fp/letf2.c: Likewise.
5869 * soft-fp/op-1.h: Likewise.
5870 * soft-fp/op-2.h: Likewise.
5871 * soft-fp/op-4.h: Likewise.
5872 * soft-fp/op-8.h: Likewise.
5873 * soft-fp/op-common.h: Likewise.
5874 * soft-fp/quad.h: Likewise.
5875 * soft-fp/single.h: Likewise.
5876 * soft-fp/soft-fp.h: Likewise.
5877 * soft-fp/unorddf2.c: Likewise.
5878 * soft-fp/unordsf2.c: Likewise.
5879 * soft-fp/unordtf2.c: Likewise.
5880 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
5881 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
5882 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
5883 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
5884 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
5885 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
5886 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
5887 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
5888 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
5889 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
5890
9b84e7a8
RX
58912014-10-08 Rong Xu <xur@google.com>
5892
5893 * libgcov-util.c (read_gcda_file): Fix format.
5894 (find_match_gcov_info): Ditto.
5895 (calculate_2_entries): New.
5896 (compute_one_gcov): Ditto.
5897 (gcov_info_count_all_cold): Ditto.
5898 (gcov_info_count_all_zero): Ditto.
5899 (extract_file_basename): Ditto.
5900 (get_file_basename): Ditto.
5901 (set_flag): Ditto.
5902 (matched_gcov_info): Ditto.
5903 (calculate_overlap): Ditto.
5904 (gcov_profile_overlap): Ditto.
5905 * libgcov-driver.c (compute_summary): Make
5906 it avavilable for external calls.
5907
fe1090c1
RX
59082014-10-06 Rong Xu <xur@google.com>
5909
5910 * Makefile.in: Ditto.
5911 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
5912 (gcov_sort_icall_topn_counter): Ditto.
5913 (gcov_sort_topn_counter_arrays): Ditto.
5914 (dump_one_gcov): Sort indirect_call topn counters.
5915 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
5916 function.
5917 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
5918 utility function.
5919 (__gcov_indirect_call_topn_profiler): New profiler function.
5920 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
5921 * libgcov.h: New decls.
5922
3daa7bbf
TS
59232014-10-04 Trevor Saunders <tsaunders@mozilla.com>
5924
5925 * config.host: Remove support for score-*.
5926
9a79452d
JM
59272014-09-22 Joseph Myers <joseph@codesourcery.com>
5928
5929 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
5930 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
5931 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
5932 __LIBGCC_XF_MANT_DIG__.
5933 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
5934 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
5935 __LIBGCC_TF_MANT_DIG__.
5936 * libgcc2.c (NOTRUNC): Define in terms of
5937 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
5938 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
5939
1a849e50
JM
59402014-09-22 Joseph Myers <joseph@codesourcery.com>
5941
5942 PR target/63312
5943 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
5944 New macros.
5945
598a1586
HPN
59462014-09-22 Hans-Peter Nilsson <hp@axis.com>
5947
5948 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
5949 override USE_PT_GNU_EH_FRAME.
5950 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
5951 check USE_EH_FRAME_REGISTRY_ALWAYS against
5952 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
5953 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
5954 variable for substituted force_explicit_eh_registry.
5955 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
5956 * configure.ac (explicit-exception-frame-registration):
5957 New AC_ARG_ENABLE.
5958 * configure: Regenerate.
5959
3a8fe7c6
OH
59602014-09-19 Olivier Hainque <hainque@adacore.com>
5961
5962 * config.host (powerpc-wrs-vxworksmils): New configuration,
5963 same as vxworksae.
5964
dd69f047
JM
59652014-09-18 Joseph Myers <joseph@codesourcery.com>
5966
5967 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
5968
e770bfd9
JM
59692014-09-18 Joseph Myers <joseph@codesourcery.com>
5970
5971 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
5972 bits not set bits as indicating trapping exceptions.
5973
cadb2b96
NS
59742014-09-17 Nathan sidwell <nathan@acm.org>
5975
5976 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
5977 (LIBGCOV_DRIVER): ... here.
5978 * libgcov-driver.c (gcov_master): New.
5979 (gcov_exit): Remove from master chain.
5980 (__gcov_init): Add to master chain if version compatible. Don't
5981 clear the version.
5982 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
5983 (gcov_reset_int): Clear master chain, if compatible.
5984 (gcov_dump_int): New internal interface. Dump master chain, if
5985 compatible.
5986 (gcov_dump): Alias for gcov_dump_int.
5987 * libgcov.h (struct gcov_root): Add next and prev fields.
5988 (struct gcov_master): New struct.
5989 (__gcov_master): New.
5990 (gcov_dump_int): Declare.
5991
580d22a3
OH
59922014-09-17 Olivier Hainque <hainque@adacore.com>
5993
5994 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
5995 and crtbegin.o + crtend.o to extra_parts.
5996
8cc4b7a2
JM
59972014-09-12 Joseph Myers <joseph@codesourcery.com>
5998
5999 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
6000 __LIBGCC_HAS_SF_MODE__.
6001 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
6002 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
6003 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
6004 * config/libbid/bid_gcc_intrinsics.h
6005 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
6006 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
6007 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
6008 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
6009 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
6010 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
6011
ea3f2b24
GJL
60122014-09-11 Georg-Johann Lay <avr@gjlay.de>
6013
6014 PR target/63223
6015 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
6016 and R24 as needed. Make work for all devices and .text locations.
6017 (__do_global_ctors, __do_global_dtors): Use word addresses.
6018 (__tablejump__, __tablejump_elpm__): Remove functions.
6019 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
6020 Add _tablejump2.
6021 (XICALL, XIJMP): New macros.
6022
b677236a
MS
60232014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
6024 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
6025
6026 * config.host (aarch64*): Include crtfastmath.o and
6027 t-crtfm.
6028 * config/aarch64/crtfastmath.c: New file.
6029
157e859f
TS
60302014-09-08 Trevor Saunders <tsaunders@mozilla.com>
6031
6032 * config.host: Remove picochip support.
6033 * config/picochip/adddi3.S: Remove.
6034 * config/picochip/ashlsi3.S: Remove.
6035 * config/picochip/ashlsi3.c: Remove.
6036 * config/picochip/ashrsi3.S: Remove.
6037 * config/picochip/ashrsi3.c: Remove.
6038 * config/picochip/clzsi2.S: Remove.
6039 * config/picochip/cmpsi2.S: Remove.
6040 * config/picochip/divmod15.S: Remove.
6041 * config/picochip/divmodhi4.S: Remove.
6042 * config/picochip/divmodsi4.S: Remove.
6043 * config/picochip/lib1funcs.S: Remove.
6044 * config/picochip/longjmp.S: Remove.
6045 * config/picochip/lshrsi3.S: Remove.
6046 * config/picochip/lshrsi3.c: Remove.
6047 * config/picochip/parityhi2.S: Remove.
6048 * config/picochip/popcounthi2.S: Remove.
6049 * config/picochip/setjmp.S: Remove.
6050 * config/picochip/subdi3.S: Remove.
6051 * config/picochip/t-picochip: Remove.
6052 * config/picochip/ucmpsi2.S: Remove.
6053 * config/picochip/udivmodhi4.S: Remove.
6054 * config/picochip/udivmodsi4.S: Remove.
6055
66bb34c0
JM
60562014-09-08 Joseph Myers <joseph@codesourcery.com>
6057
6058 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
6059 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
6060 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
6061 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
6062 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
6063 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
6064 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
6065 defined and LIBGCC2_HAS_DF_MODE is defined.
6066 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
6067 defined and LIBGCC2_HAS_XF_MODE is defined.
6068 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
6069 defined and LIBGCC2_HAS_TF_MODE is defined.
6070
9686a2e6
JM
60712014-09-08 Joseph Myers <joseph@codesourcery.com>
6072
6073 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
6074 and ROUND_TOWARDS_ZERO conditionals.
6075
71c3e2ef
NS
60762014-09-07 Nathan sidwell <nathan@acm.org>
6077
6078 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
6079 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
6080
53d68b9f
JM
60812014-09-05 Joseph Myers <joseph@codesourcery.com>
6082
6083 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
6084 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
6085 uses to __LIBGCC_STACK_POINTER_REGNUM__.
6086 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
6087 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6088 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
6089 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6090 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
6091 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
6092 (DWARF_FRAME_REGISTERS): Change all uses to
6093 __LIBGCC_DWARF_FRAME_REGISTERS__.
6094 (EH_RETURN_STACKADJ_RTX): Change all uses to
6095 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
6096 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
6097 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
6098 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
6099 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
6100 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
6101 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
6102 to __LIBGCC_EH_FRAME_SECTION_NAME__.
6103 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
6104 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
6105 __LIBGCC_STACK_POINTER_REGNUM__.
6106 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
6107 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6108 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
6109 to __LIBGCC_STACK_POINTER_REGNUM__.
6110 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
6111 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6112 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
6113 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6114 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
6115 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6116 (STACK_POINTER_REGNUM): Change all uses to
6117 __LIBGCC_STACK_POINTER_REGNUM__.
6118 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
6119 use to __LIBGCC_STACK_POINTER_REGNUM__.
6120 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
6121 uses to __LIBGCC_STACK_POINTER_REGNUM__.
6122 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
6123 to __LIBGCC_DWARF_FRAME_REGISTERS__.
6124 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
6125 to __LIBGCC_DWARF_FRAME_REGISTERS__.
6126 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
6127 to __LIBGCC_STACK_POINTER_REGNUM__.
6128 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
6129 Remove conditional definition.
6130 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
6131 __LIBGCC_TEXT_SECTION_ASM_OP__.
6132 (EH_FRAME_SECTION_NAME): Change all uses to
6133 __LIBGCC_EH_FRAME_SECTION_NAME__.
6134 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
6135 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
6136 (CTORS_SECTION_ASM_OP): Change all uses to
6137 __LIBGCC_CTORS_SECTION_ASM_OP__.
6138 (DTORS_SECTION_ASM_OP): Change all uses to
6139 __LIBGCC_DTORS_SECTION_ASM_OP__.
6140 (JCR_SECTION_NAME): Change all uses to
6141 __LIBGCC_JCR_SECTION_NAME__.
6142 (INIT_SECTION_ASM_OP): Change all uses to
6143 __LIBGCC_INIT_SECTION_ASM_OP__.
6144 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
6145 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
6146 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
6147 __LIBGCC_STACK_GROWS_DOWNWARD__.
6148 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
6149 __LIBGCC_INIT_SECTION_ASM_OP__.
6150 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
6151 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
6152 (EH_FRAME_SECTION_NAME): Change all uses to
6153 __LIBGCC_EH_FRAME_SECTION_NAME__.
6154 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
6155 definitions. Change all uses to
6156 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
6157 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
6158 __LIBGCC_STACK_GROWS_DOWNWARD__.
6159 (DWARF_FRAME_REGISTERS): Change all uses to
6160 __LIBGCC_DWARF_FRAME_REGISTERS__.
6161 (EH_RETURN_STACKADJ_RTX): Change all uses to
6162 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
6163 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
6164 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
6165 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
6166 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
6167 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
6168
b20ee094
NS
61692014-09-02 Nathan sidwell <nathan@acm.org>
6170
6171 * libgcov-interface.c (STRONG_ALIAS): New.
6172 (__gcov_flush): Call __gcov_reset_int.
6173 (__gcov_reset): Strong alias for ...
6174 (__gcov_reset_ing): ... this renamed hidden version.
6175 * libgcov.h (__gcov_reset_int): New declaration.
6176
1ac83976
YS
61772014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
6178
25efdb9f
YS
6179 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
6180 call from here...
6181 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
6182 (__dso_handle): Define on Cygwin.
6183 * config/i386/t-cygming (crtbeginS.o): New rule.
6184 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
6185
1ac83976
YS
6186 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
6187 declaration syntax.
6188
c6f9ea3b
SE
61892014-08-13 Steve Ellcey <sellcey@mips.com>
6190
6191 * crtstuff.c: Undef caddr_t.
6192
5b1ea7c5
SE
61932014-08-12 Steve Ellcey <sellcey@mips.com>
6194
6195 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
6196
4303c581
NS
61972014-08-07 Nathan Sidwell <nathan@acm.org>
6198
6199 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
6200 (LIBGCOV_DRIVER): ... to here.
6201 * libgcov.h (gcov_do_dump): New #define.
6202 (struct gcov_root): New.
6203 (__gcov_root): New declaration.
6204 (__gcov_dump_one): Declare.
6205 * libgcov-driver.c (gcov_list, gcov_dump_complete,
6206 run_accounted): Delete.
6207 (gcov_compute_histogram): Add LIST argument, adjust.
6208 (compute_summary): Adjust gcov_compute_histogram call.
6209 (gcov_do_dump): Not hidden, static in libgcov.
6210 (gcov_clear): Move to interface.c.
6211 (__gcov_dump_one): New, broken out of ...
6212 (gcov_exit): ... here. Make static.
6213 (__gcov_root): New.
6214 (__gcov_init): Adjust.
6215 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
6216 declarations.
6217 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
6218 (gcov_clear): Moved from driver.c. Add LIST argument.
6219 (__gcov_reset): Adjust for changed interfaces.
6220 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
6221
23742a9e
RAR
62222014-08-04 Rohit <rohitarulraj@freescale.com>
6223
6224 PR target/60102
6225 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
d406ae47 6226 based on change in SPE high register numbers and 3 HTM registers.
23742a9e 6227
b98a872b
NS
62282014-08-01 Nathan Sidwell <nathan@acm.org>
6229
6230 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
6231 LIBGCOV_INTERFACE): Reformat.
6232 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
6233 IN_GCOV_TOOL.
6234 * libgcov-interface.c: Reformat some comments.
6235 (__gcov_flush_mx): Add declaration. Tidy up definition.
6236
6adaaa1d
AM
62372014-07-31 Alan Modra <amodra@gmail.com>
6238 Peter Bergner <bergner@vnet.ibm.com>
6239
6240 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
6241 (pack_ldouble): New function.
6242 (__gcc_qadd): Use it.
6243 (__gcc_qmul): Likewise.
6244 (__gcc_qdiv): Likewise.
6245 (__gcc_qneg): Likewise.
6246 (__gcc_stoq): Likewise.
6247 (__gcc_dtoq): Likewise.
6248
87cb0c0c
UW
62492014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
6250
6251 * config/s390/tpf-unwind.h: Include <stdbool.h>.
6252 (__tpf_eh_return): Add original return address as second parameter.
6253 Handle cases where unwinder routines were called directly, instead
6254 of from within the C++ library.
6255
19926161
NS
62562014-07-29 Nathan Sidwell <nathan@acm.org>
6257
6258 * libgcov.h: Move renaming of entry points to lib gcov specific
6259 portion.
6260 (gcov_do_dump): New rename.
6261 (gcov_rewrite): Remove inline, make HIDDEN.
6262 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
6263 (gcov_exit_compute_summary): Rename to ...
6264 (compute_summary): ... here. Add LIST argument.
6265 (gcov_exit_merge_gcda): Rename to ...
6266 (merge_one_data): ... here.
6267 (gcov_exit_write_gcda): Rename to ...
6268 (write_one_data): ... here.
6269 (gcov_exit_merge_summary): Rename to ...
6270 (merge_summary): Add RUN_COUNTED argument.
6271 (gcov_exit_dump_gcov): Rename to ...
6272 (dump_one_gcov): Add RUN_COUNTED argument.
6273 (gcov_do_dump): New function, broken out of ...
6274 (gcov_exit): ... here. Call it.
6275
17522262
AG
62762014-07-27 Anthony Green <green@moxielogic.com>
6277
6278 * config.host: Add moxiebox configuration suppport.
6279
6dc33097
NS
62802014-07-27 Nathan Sidwell <nathan@acm.org>
6281
6282 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
6283 (struct gcov_filename): ... here. Include buffer and max length
6284 fields.
6285 (gcov_max_filename): Remove.
6286 (gi_filename): Remove.
6287 (gcov_exit_compute_summary): Compute max filename here.
6288 (gcov_exit_merge_gcda): Add filename parm, adjust.
6289 (gcov_exit_merge_summary): Likewise.
6290 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
6291 (gcov_exit): Likewise.
6292 (__gcov_init): Don't calculate max length here.
6293 * libgcov_util.c (max_filename_len): Remove.
6294 (read_gcda_file): Don't calculate max length here.
6295 (gcov_read_profile_dir): Don't propagate here.
6296 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
6297 struct gcov_filename changes.
6298 (gcov_exit_open_gcda_file): Likewise.
6299
770f687d
NS
63002014-07-25 Nathan Sidwell <nathan@acm.org>
6301
6302 * libgcov-driver.c (set_gcov_dump_complete,
6303 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
6304 functions polluting user's namespace.
6305 (gcov_exit): Set variable directly.
6306 (gcov_clear): Reset variable directly.
6307 * libgcov-interface.c (get_gcov_dymp_complete,
6308 reset_gov_dump_complete): Remove declarations.
6309 (__gcov_reset, __gcov_dump): Don't call them.
6310
fabf71ba
DD
63112014-07-24 DJ Delorie <dj@redhat.com>
6312
6313 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
770f687d
NS
6314 (__gcc_deregister_frame): Move logic to detect deregister function
6315 to ...
6316 (__gcc_register_frame): here, so it's consistent with the register
6317 logic.
fabf71ba 6318
d10ee722
NS
63192014-07-23 Nathan Sidwell <nathan@acm.org>
6320
6321 * libgcov-driver.c (set_gcov_list): Remove.
6322 (gcov_list): Make non-static in GCOV_TOOL.
6323 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
6324
a4137090
JDA
63252014-07-17 John David Anglin <danglin@gcc.gnu.org>
6326
6327 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
6328 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
6329 Don't use SYNC_LOCK_RELEASE for int type.
6330
72602c6c
RB
63312014-07-14 Richard Biener <rguenther@suse.de>
6332
6333 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
6334
d5313205
RX
63352014-07-11 Rong Xu <xur@google.com>
6336
6337 * libgcov-util.c (gcov_max_filename): Fix declartion.
6338
c77556a5
RX
63392014-07-10 Rong Xu <xur@google.com>
6340
6341 Add gcov-tool: an offline gcda profile processing tool
6342 Support.
6343 * libgcov-driver.c (gcov_max_filename): Make available
6344 to gcov-tool.
6345 * libgcov-merge.c (__gcov_merge_add): Replace
6346 gcov_read_counter() with a Macro.
6347 (__gcov_merge_ior): Ditto.
6348 (__gcov_merge_time_profile): Ditto.
6349 (__gcov_merge_single): Ditto.
6350 (__gcov_merge_delta): Ditto.
6351 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
6352 in the utility functions.
6353 (set_fn_ctrs): Utility function for reading gcda files to in-memory
6354 gcov_list object link lists.
6355 (tag_function): Ditto.
6356 (tag_blocks): Ditto.
6357 (tag_arcs): Ditto.
6358 (tag_lines): Ditto.
6359 (tag_counters): Ditto.
6360 (tag_summary): Ditto.
6361 (read_gcda_finalize): Ditto.
6362 (read_gcda_file): Ditto.
6363 (ftw_read_file): Ditto.
6364 (read_profile_dir_init): Ditto.
6365 (gcov_read_profile_dir): Ditto.
6366 (gcov_read_counter_mem): Ditto.
6367 (gcov_get_merge_weight): Ditto.
6368 (merge_wrapper): A wrapper function that calls merging handler.
6369 (gcov_merge): Merge two gcov_info objects with weights.
6370 (find_match_gcov_info): Find the matched gcov_info in the list.
6371 (gcov_profile_merge): Merge two gcov_info object lists.
6372 (__gcov_add_counter_op): Process edge profile counter values.
6373 (__gcov_ior_counter_op): Process IOR profile counter values.
6374 (__gcov_delta_counter_op): Process delta profile counter values.
6375 (__gcov_single_counter_op): Process single profile counter values.
6376 (fp_scale): Callback function for float-point scaling.
cc86234f 6377 (int_scale): Callback function for integer fraction scaling.
c77556a5
RX
6378 (gcov_profile_scale): Scaling profile counters.
6379 (gcov_profile_normalize): Normalize profile counters.
6380 * libgcov.h: Add headers and functions for gcov-tool use.
6381 (gcov_get_counter): New.
6382 (gcov_get_counter_target): Ditto.
6383 (struct gcov_info): Make the functions field mutable in gcov-tool
6384 compilation.
6385
5c7dac8a
KT
63862014-06-23 Kai Tietz <ktietz@redhat.com>
6387
6388 PR libgcc/61585
6389 * unwind-seh.c (_Unwind_GetGR): Check for proper
6390 index range.
6391 (_Unwind_SetGR): Likewise.
6392
161c9312
NC
63932014-05-22 Nick Clifton <nickc@redhat.com>
6394
6395 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
6396 -mhwmult=none.
6397
e3f0315f
TJ
63982014-05-22 Teresa Johnson <tejohnson@google.com>
6399
6400 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
6401 include.
6402
dbed5a9b
JM
64032014-05-20 John Marino <gnugcc@marino.st>
6404
6405 * config.host (*-*-dragonfly*): New target.
6406 * crtstuff.c: Make dl_iterate_support generic on *bsd.
6407 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
6408 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
6409 * config/i386/dragonfly-unwind.h: New.
6410
1ec380e5
MR
64112014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
6412
6413 PR libgcc/60166
6414 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
6415 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
6416
54fde020
BE
64172014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
6418
6419 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
6420 implementation.
6421
999db125
GJL
64222014-05-12 Georg-Johann Lay <avr@gjlay.de>
6423
6424 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
6425
cceaf54a
RO
64262014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6427
6428 PR libgcc/61097
6429 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
6430 if --enable-shared.
6431
e3fe9b5b
BE
64322014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
6433
6434 Work around for current cygwin32 build problems.
6435 * config/i386/cygming-crtbegin.c (__register_frame_info,
6436 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
6437 functions only for 64-bit systems.
6438
54cf37e9
RO
64392014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6440
6441 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
6442 (sigill_caught, sigill_hdlr): Remove.
6443
d9f069ab
RO
64442014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6445
6446 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
6447 check.
6448 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
6449 Solaris 9 single-threaded support.
6450 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
6451 Solaris 9 single-threaded support. Add call_user_handler code
6452 sequences.
6453 (sparc_is_sighandler): Likewise.
6454
59976ef8
AK
64552014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6456
6457 * config.host: Append t-floattodi to tmake_file depending on
6458 host_address.
6459
d02bbcf3
JS
64602014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
6461
31466bc0 6462 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
d02bbcf3 6463
c2e7e597
UB
64642014-03-10 Uros Bizjak <ubizjak@gmail.com>
6465
6466 PR libgcc/60472
6467 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2405e0ea 6468 variable to avoid "array subscript is above array bounds" warnings.
c2e7e597
UB
6469 Use __builtin_expect when checking *jcr_list for NULL.
6470
227a7dc8
RO
64712014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6472
6473 PR libgcc/59339
6474 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
6475 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
6476 vtv_*.o to extra_parts if enable_vtable_verify.
6477
df2b279c
NC
64782014-03-06 Nick Clifton <nickc@redhat.com>
6479
6480 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
6481 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
6482
dc11d79b
JY
64832014-02-28 Joey Ye <joey.ye@arm.com>
6484
6485 PR libgcc/60166
6486 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
6487 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
6488 Set to zero.
6489
341c653c
WL
64902014-02-24 Walter Lee <walt@tilera.com>
6491
6492 * config.host: Support "tilegx*" and "tilepro*" triplets.
6493 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
6494 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
6495
95ce7613
CLT
64962014-02-20 Sandra Loosemore <sandra@codesourcery.com>
6497 Chung-Lin Tang <cltang@codesourcery.com>
6498
6499 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
6500 * config/nios2/crti.S: Remove .file directive.
6501 * config/nios2/crtn.S: Likewise.
6502
0bb4fc05
KT
65032014-02-18 Kai Tietz <ktietz@redhat.com>
6504 Jonathan Schleifer <js@webkeks.org>
6505
6506 PR objc/56870
6507 * unwind-seh.c (_GCC_specific_handler): Pass proper
6508 value to unwind-handler.
6509
9acf28f1
JM
65102014-02-12 Joseph Myers <joseph@codesourcery.com>
6511
6512 * soft-fp/adddf3.c: Update from glibc.
6513 * soft-fp/addsf3.c: Likewise.
6514 * soft-fp/addtf3.c: Likewise.
6515 * soft-fp/divdf3.c: Likewise.
6516 * soft-fp/divsf3.c: Likewise.
6517 * soft-fp/divtf3.c: Likewise.
6518 * soft-fp/double.h: Likewise.
6519 * soft-fp/eqdf2.c: Likewise.
6520 * soft-fp/eqsf2.c: Likewise.
6521 * soft-fp/eqtf2.c: Likewise.
6522 * soft-fp/extenddftf2.c: Likewise.
6523 * soft-fp/extended.h: Likewise.
6524 * soft-fp/extendsfdf2.c: Likewise.
6525 * soft-fp/extendsftf2.c: Likewise.
6526 * soft-fp/extendxftf2.c: Likewise.
6527 * soft-fp/fixdfdi.c: Likewise.
6528 * soft-fp/fixdfsi.c: Likewise.
6529 * soft-fp/fixdfti.c: Likewise.
6530 * soft-fp/fixsfdi.c: Likewise.
6531 * soft-fp/fixsfsi.c: Likewise.
6532 * soft-fp/fixsfti.c: Likewise.
6533 * soft-fp/fixtfdi.c: Likewise.
6534 * soft-fp/fixtfsi.c: Likewise.
6535 * soft-fp/fixtfti.c: Likewise.
6536 * soft-fp/fixunsdfdi.c: Likewise.
6537 * soft-fp/fixunsdfsi.c: Likewise.
6538 * soft-fp/fixunsdfti.c: Likewise.
6539 * soft-fp/fixunssfdi.c: Likewise.
6540 * soft-fp/fixunssfsi.c: Likewise.
6541 * soft-fp/fixunssfti.c: Likewise.
6542 * soft-fp/fixunstfdi.c: Likewise.
6543 * soft-fp/fixunstfsi.c: Likewise.
6544 * soft-fp/fixunstfti.c: Likewise.
6545 * soft-fp/floatdidf.c: Likewise.
6546 * soft-fp/floatdisf.c: Likewise.
6547 * soft-fp/floatditf.c: Likewise.
6548 * soft-fp/floatsidf.c: Likewise.
6549 * soft-fp/floatsisf.c: Likewise.
6550 * soft-fp/floatsitf.c: Likewise.
6551 * soft-fp/floattidf.c: Likewise.
6552 * soft-fp/floattisf.c: Likewise.
6553 * soft-fp/floattitf.c: Likewise.
6554 * soft-fp/floatundidf.c: Likewise.
6555 * soft-fp/floatundisf.c: Likewise.
6556 * soft-fp/floatunditf.c: Likewise.
6557 * soft-fp/floatunsidf.c: Likewise.
6558 * soft-fp/floatunsisf.c: Likewise.
6559 * soft-fp/floatunsitf.c: Likewise.
6560 * soft-fp/floatuntidf.c: Likewise.
6561 * soft-fp/floatuntisf.c: Likewise.
6562 * soft-fp/floatuntitf.c: Likewise.
6563 * soft-fp/gedf2.c: Likewise.
6564 * soft-fp/gesf2.c: Likewise.
6565 * soft-fp/getf2.c: Likewise.
6566 * soft-fp/ledf2.c: Likewise.
6567 * soft-fp/lesf2.c: Likewise.
6568 * soft-fp/letf2.c: Likewise.
6569 * soft-fp/muldf3.c: Likewise.
6570 * soft-fp/mulsf3.c: Likewise.
6571 * soft-fp/multf3.c: Likewise.
6572 * soft-fp/negdf2.c: Likewise.
6573 * soft-fp/negsf2.c: Likewise.
6574 * soft-fp/negtf2.c: Likewise.
6575 * soft-fp/op-1.h: Likewise.
6576 * soft-fp/op-2.h: Likewise.
6577 * soft-fp/op-4.h: Likewise.
6578 * soft-fp/op-8.h: Likewise.
6579 * soft-fp/op-common.h: Likewise.
6580 * soft-fp/quad.h: Likewise.
6581 * soft-fp/single.h: Likewise.
6582 * soft-fp/soft-fp.h: Likewise.
6583 * soft-fp/subdf3.c: Likewise.
6584 * soft-fp/subsf3.c: Likewise.
6585 * soft-fp/subtf3.c: Likewise.
6586 * soft-fp/truncdfsf2.c: Likewise.
6587 * soft-fp/trunctfdf2.c: Likewise.
6588 * soft-fp/trunctfsf2.c: Likewise.
6589 * soft-fp/trunctfxf2.c: Likewise.
6590 * soft-fp/unorddf2.c: Likewise.
6591 * soft-fp/unordsf2.c: Likewise.
6592 * soft-fp/unordtf2.c: Likewise.
6593 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
6594 macro.
6595 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6596 Likewise.
6597 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6598 Likewise.
6599 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6600 Likewise.
6601 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6602 Likewise.
6603 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6604 Likewise.
6605 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6606 Likewise.
6607 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6608 Likewise.
6609 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6610 Likewise.
6611 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6612 Likewise.
6613 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6614 Likewise.
6615 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6616 Likewise.
6617 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6618 Likewise.
6619 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
6620 Likewise.
6621 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
6622 Likewise.
6623 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6624 Likewise.
6625
ce245ec6
AK
66262014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6627
6628 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
6629 cannot be represented.
6630 * config/s390/32/_fixsfdi.c: Likewise.
6631 * config/s390/32/_fixtfdi.c: Likewise.
6632 * config/s390/32/_fixunsdfdi.c: Likewise.
6633 * config/s390/32/_fixunssfdi.c: Likewise.
6634 * config/s390/32/_fixunstfdi.c: Likewise.
6635
1c51d688
RS
66362014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
6637
6638 * configure.ac (libgcc_cv_mips_hard_float): New.
6639 * configure: Regenerate.
6640 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
6641 t-softfp-sfdf for hard-float targets.
6642 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
6643 (softfp_float_modes, softfp_int_modes, softfp_extensions)
6644 (softfp_truncations, softfp_exclude_libgcc2): New.
6645 * config/t-hardfp: New file.
6646 * config/t-hardfp-sfdf: Likewise.
6647 * config/hardfp.c: Likewise.
6648
bbf391db
AK
66492014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6650
6651 * config.host: Include t-floattodi also for s390x.
6652 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
6653 * config/s390/32/_fixsfdi.c: Likewise.
6654 * config/s390/32/_fixtfdi.c: Likewise.
6655 * config/s390/32/_fixunsdfdi.c: Likewise.
6656 * config/s390/32/_fixunssfdi.c: Likewise.
6657 * config/s390/32/_fixunstfdi.c: Likewise.
6658
91da0481
RO
66592014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6660
6661 PR target/59788
6662 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
6663 (install-libgcc-unwind-map-forbuild): New target.
6664 (all): Depend on install-libgcc-unwind-map-forbuild.
6665 (install-libgcc-unwind-map): New target.
6666 (install): Depend on install-libgcc-unwind-map.
6667
02b67731
SL
66682014-02-02 Sandra Loosemore <sandra@codesourcery.com>
6669
6670 * config/nios2/crti.S (_init): Initialize GOT pointer from
6671 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
6672
1ea0a651
RS
66732014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
6674
6675 * configure.ac: Check __mips64 when setting host_address.
6676 * configure: Regenerate.
6677 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
6678 mips/t-mips64 and t-softfp.
6679 (mips*-*-linux*): Don't add mips/t-tpbit.
6680 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
6681 (DPBIT, DPBIT_CFLAGS): Delete.
6682 * config/mips/sfp-machine.h: New file.
6683 * config/mips/t-mips64: Likewise.
6684 * config/mips/t-softfp-tf: Likewise.
6685 * config/mips/t-tpbit: Delete.
6686
f32b0061
MS
66872014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
6688
6689 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
6690 as long long.
6691
a5420aa4
WL
66922014-01-25 Walter Lee <walt@tilera.com>
6693
6694 * config/tilepro/atomic.c: Include tconfig.h. Don't include
6695 config.h or system.h.
6696 (bool) Define.
6697
24534912
WL
66982014-01-25 Walter Lee <walt@tilera.com>
6699
6700 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
6701 (post_atomic_barrier): Ditto.
6702 (__fetch_and_do): New macro.
6703 (__atomic_fetch_and_do): Use __fetch_and_do.
6704 (__sync_fetch_and_do): New macro.
6705 (__sync_fetch_and_add_4): New function.
6706 (__sync_fetch_and_sub_4): New function.
6707 (__sync_fetch_and_or_4): New function.
6708 (__sync_fetch_and_and_4): New function.
6709 (__sync_fetch_and_xor_4): New function.
6710 (__sync_fetch_and_nand_4): New function.
6711 (__sync_fetch_and_add_8): New function.
6712 (__sync_fetch_and_sub_8): New function.
6713 (__sync_fetch_and_or_8): New function.
6714 (__sync_fetch_and_and_8): New function.
6715 (__sync_fetch_and_xor_8): New function.
6716 (__sync_fetch_and_nand_8): New function.
6717 (__do_and_fetch): New macro.
6718 (__atomic_do_and_fetch): Use __do_and_fetch.
6719 (__sync_do_and_fetch): New macro.
6720 (__sync_add_and_fetch_4): New function.
6721 (__sync_sub_and_fetch_4): New function.
6722 (__sync_or_and_fetch_4): New function.
6723 (__sync_and_and_fetch_4): New function.
6724 (__sync_xor_and_fetch_4): New function.
6725 (__sync_nand_and_fetch_4): New function.
6726 (__sync_add_and_fetch_8): New function.
6727 (__sync_sub_and_fetch_8): New function.
6728 (__sync_or_and_fetch_8): New function.
6729 (__sync_and_and_fetch_8): New function.
6730 (__sync_xor_and_fetch_8): New function.
6731 (__sync_nand_and_fetch_8): New function.
6732 (__sync_exchange_methods): New macro.
6733 (__sync_val_compare_and_swap_4): New function.
6734 (__sync_bool_compare_and_swap_4): New function.
6735 (__sync_lock_test_and_test_4): New function.
6736 (__sync_val_compare_and_swap_8): New function.
6737 (__sync_bool_compare_and_swap_8): New function.
6738 (__sync_lock_test_and_test_8): New function.
6739 (__subword_cmpxchg_body): New macro.
6740 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
6741 (__atomic_compare_exchange_2): Ditto.
6742 (__sync_subword_cmpxchg): New macro.
6743 (__sync_val_compare_and_swap_1): New function.
6744 (__sync_bool_compare_and_swap_1): New function.
6745 (__sync_val_compare_and_swap_2): New function.
6746 (__sync_bool_compare_and_swap_2): New function.
6747 (__atomic_subword): Rename to ...
6748 (__subword): ... New name.
6749 (__atomic_subword_fetch): Use __subword.
6750 (__sync_subword_fetch): New macro.
6751 (__sync_fetch_and_add_1): New function.
6752 (__sync_fetch_and_sub_1): New function.
6753 (__sync_fetch_and_or_1): New function.
6754 (__sync_fetch_and_and_1): New function.
6755 (__sync_fetch_and_xor_1): New function.
6756 (__sync_fetch_and_nand_1): New function.
6757 (__sync_fetch_and_add_2): New function.
6758 (__sync_fetch_and_sub_2): New function.
6759 (__sync_fetch_and_or_2): New function.
6760 (__sync_fetch_and_and_2): New function.
6761 (__sync_fetch_and_xor_2): New function.
6762 (__sync_fetch_and_nand_2): New function.
6763 (__sync_add_and_fetch_1): New function.
6764 (__sync_sub_and_fetch_1): New function.
6765 (__sync_or_and_fetch_1): New function.
6766 (__sync_and_and_fetch_1): New function.
6767 (__sync_xor_and_fetch_1): New function.
6768 (__sync_nand_and_fetch_1): New function.
6769 (__sync_add_and_fetch_2): New function.
6770 (__sync_sub_and_fetch_2): New function.
6771 (__sync_or_and_fetch_2): New function.
6772 (__sync_and_and_fetch_2): New function.
6773 (__sync_xor_and_fetch_2): New function.
6774 (__sync_nand_and_fetch_2): New function.
6775 (__atomic_subword_lock): Use __subword.
6776 (__sync_subword_lock): New macro.
6777 (__sync_lock_test_and_set_1): New function.
6778 (__sync_lock_test_and_set_2): New function.
6779
4d6d3bc5
WL
67802014-01-25 Walter Lee <walt@tilera.com>
6781
6782 * config/tilepro/atomic.c (BIT_OFFSET): Define.
6783 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
6784 (__atomic_subword): Ditto.
6785
cbd9890e
WL
67862014-01-25 Walter Lee <walt@tilera.com>
6787
6788 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
6789 a prefix op argument.
6790 (__atomic_nand_fetch_4): Add prefix op.
6791 (__atomic_nand_fetch_8): Ditto.
6792
7d296953 67932014-01-21 Baruch Siach <barch@tkos.co.il>
800d8bd5
BS
6794
6795 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
6796
46dd1242
L
67972014-01-09 Rong Xu <xur@google.com>
6798
6799 * libgcov-driver.c (this_prg): make it local to save
6800 bss space.
6801 (gcov_exit_compute_summary): Ditto.
6802 (gcov_exit_merge_gcda): Ditto.
6803 (gcov_exit_merge_summary): Ditto.
6804 (gcov_exit_dump_gcov): Ditto.
6805
cc86234f 68062014-01-08 Rong Xu <xur@google.com>
40d6b753
RX
6807
6808 * libgcov-driver.c: Use libgcov.h.
6809 (buffer_fn_data): Use xmalloc instead of malloc.
6810 (gcov_exit_merge_gcda): Ditto.
6811 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
6812 * libgcov.h: New common header files for libgcov-*.h.
6813 * libgcov-interface.c: Use libgcov.h
6814 * libgcov-merge.c: Ditto.
6815 * libgcov-profiler.c: Ditto.
6816 * Makefile.in: Add dependence to libgcov.h
6817
a02e7bdd
JM
68182014-01-02 Joseph Myers <joseph@codesourcery.com>
6819
6820 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
6821 case of small numerator and finite nonzero result.
6822
ac1dca3c
RS
68232014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
6824
6825 Update copyright years
6826
f9030485
RS
68272014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
6828
6829 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
6830 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
6831 config/arc/dp-hack.h, config/arc/fp-hack.h,
6832 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
6833 config/arc/ieee-754/arc600-dsp/divdf3.S,
6834 config/arc/ieee-754/arc600-dsp/divsf3.S,
6835 config/arc/ieee-754/arc600-dsp/muldf3.S,
6836 config/arc/ieee-754/arc600-dsp/mulsf3.S,
6837 config/arc/ieee-754/arc600-mul64/divdf3.S,
6838 config/arc/ieee-754/arc600-mul64/divsf3.S,
6839 config/arc/ieee-754/arc600-mul64/muldf3.S,
6840 config/arc/ieee-754/arc600-mul64/mulsf3.S,
6841 config/arc/ieee-754/arc600/divsf3.S,
6842 config/arc/ieee-754/arc600/mulsf3.S,
6843 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
6844 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
6845 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
6846 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
6847 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
6848 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
6849 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
6850 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
6851 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
6852 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
6853 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
6854 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
6855 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
6856 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
6857 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
6858 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
6859 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
6860 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
6861 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
6862 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
6863 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
6864 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
6865 vtv_start_preinit.c: Use the standard form for the copyright notice.
6866
e430824f
CLT
68672013-12-31 Sandra Loosemore <sandra@codesourcery.com>
6868 Chung-Lin Tang <cltang@codesourcery.com>
6869 Based on patches from Altera Corporation
6870
6871 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
6872 * config/nios2/lib2-nios2.h: New file.
6873 * config/nios2/lib2-divmod-hi.c: New file.
6874 * config/nios2/linux-unwind.h: New file.
6875 * config/nios2/lib2-divmod.c: New file.
6876 * config/nios2/linux-atomic.c: New file.
6877 * config/nios2/t-nios2: New file.
6878 * config/nios2/crti.asm: New file.
6879 * config/nios2/t-linux: New file.
6880 * config/nios2/lib2-divtable.c: New file.
6881 * config/nios2/lib2-mul.c: New file.
6882 * config/nios2/tramp.c: New file.
6883 * config/nios2/crtn.asm: New file.
6884
1879e97f
UB
68852013-12-26 Uros Bizjak <ubizjak@gmail.com>
6886
6887 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
6888 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
6889 from cpuid.h to check vendor signatures.
6890
f4a4bdbb
GG
68912013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
6892
c2e7e597 6893 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
f4a4bdbb
GG
6894 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
6895 (get_amd_cpu): Likewise.
6896
8d2ae544
L
68972013-12-25 H.J. Lu <hongjiu.lu@intel.com>
6898
6899 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
6900 Haswell.
6901
74924838
ASJ
69022013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
6903 H.J. Lu <hongjiu.lu@intel.com>
6904
0bb52f25
L
6905 PR target/59422
6906 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
74924838
ASJ
6907 and AMD_JAGUAR.
6908 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
6909 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
6910 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
6911 FEATURE_XOP and FEATURE_FMA.
6912 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
6913 AMDFAM15H_BDVER3.
6914 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
0bb52f25 6915 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
74924838
ASJ
6916 FEATURE_FMA4 and FEATURE_XOP.
6917
d3c11974
L
69182013-12-23 H.J. Lu <hongjiu.lu@intel.com>
6919
6920 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
6921 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
6922 (get_intel_cpu): Updated.
6923
064c4ff2
ZC
69242013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
6925
6926 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
6927
8b02e720
UB
69282013-12-09 Uros Bizjak <ubizjak@gmail.com>
6929
6930 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1f71a3c3 6931 instructions when __SSE_MATH__ is defined.
8b02e720 6932
3fa2ccb4
RC
69332013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
6934
6935 * config.host (microblaze-*-rtems*): New.
6936
ecd78fc9
KV
69372013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
6938
6939 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
6940 architectures that do not have hardware divide instruction.
6941 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
6942
b21fbbd2
RS
69432013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
6944
6945 * longlong.h: Delete (moved to include/).
6946
b03fb8c9
AZ
69472013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6948
6949 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
6950 of normal number and qNaN to not raise an inexact exception.
6951
3c716922
UB
69522013-11-28 Uros Bizjak <ubizjak@gmail.com>
6953
6954 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
6955
69562013-11-28 Matthew Leach <matthew.leach@arm.com>
cceeb9a9
ML
6957
6958 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
6959 for correct opcodes on BE.
6960
a3458d22
UB
69612013-11-27 Uros Bizjak <ubizjak@gmail.com>
6962
6963 * soft-fp/op-4.h: Update from glibc.
6964
30b8f78b
KV
69652013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
6966
6967 * libgcc2.c (__udivmoddi4): Define new implementation when
6968 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
6969 divide instructions.
6970
82552a29
OE
69712013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
6972
6973 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
6974
80e87457
RO
69752013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6976
6977 * config/t-softfp (soft-fp-objects-base): New variable.
6978 (soft-fp-objects): Use it.
6979
44178879
DE
69802013-11-23 David Edelson <dje.gcc@gmail.com>
6981 Andrew Dixie <andrewd@gentrack.com>
6982
6983 PR target/33704
6984 * config/rs6000/aixinitfini.c: New file.
6985 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
6986 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
6987 symbols.
6988
e5287671
YR
69892013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
6990
a3458d22 6991 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
e5287671 6992
867c8b03
JH
69932013-11-18 Jan Hubicka <jh@suse.cz>
6994
7f369373
JH
6995 * libgcov-driver.c (run_accounted): Make global level static.
6996 (gcov_exit_merge_summary): Silence warning; do not clear
6997 run_accounted here.
6998 (gcov_exit): Clear it here.
6999
1d0b3334
JH
7000 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
7001 run_accounted.
7002
867c8b03
JH
7003 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
7004 (all_prg, crc32): Remove static vars.
7005 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
7006 all_prg.
7007 (gcov_exit_merge_gcda): Add crc32 parameter.
7008 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
7009 do not account run if it was already accounted.
7010 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
7011 (gcov_exit): Initialize all_prg; update.
7012
66204992
AS
70132013-11-15 Andreas Schwab <schwab@linux-m68k.org>
7014
7015 * configure: Regenerate.
7016
b54214fe
UW
70172013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7018 Alan Modra <amodra@gmail.com>
7019
7020 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
7021 (frob_update_context): Use it.
7022
70232013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7024 Alan Modra <amodra@gmail.com>
7025
7026 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
7027 (trampoline_initial): Provide ELFv2 variant.
7028 (__trampoline_setup): Likewise.
7029
7030 * config/rs6000/linux-unwind.h (frob_update_context): Do not
7031 check for AIX indirect function call sequence if _CALL_ELF == 2.
7032
70332013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7034 Alan Modra <amodra@gmail.com>
7035
7036 * config/rs6000/linux-unwind.h (get_regs): Do not support
7037 old kernel versions if _CALL_ELF == 2.
7038 (frob_update_context): Do not support PLT stub variants only
7039 generated by old linkers if _CALL_ELF == 2.
7040
13e0981a
UW
70412013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7042 Alan Modra <amodra@gmail.com>
7043
7044 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
7045 location of CR save area for 64-bit little-endian systems.
7046
1a80085d
EB
70472013-11-11 Eric Botcazou <ebotcazou@adacore.com>
7048
7049 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
7050 in tmake_file.
7051 * config/arm/t-vxworks: Delete.
7052
cabeea52
KT
70532013-11-10 Kai Tietz <ktietz@redhat.com>
7054
7055 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
7056 Increment load-count on use of LIBGCC_SONAME DLL.
7057 (hmod_libgcc): New static variable to hold handle of
7058 LIBGCC_SONAME DLL.
7059 (__gcc_deregister_frame): Decrement load-count of
7060 LIBGCC_SONAME DLL.
7061
ac088ba1
BRF
70622013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
7063
7064 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
7065 availability.
7066 * configure: Regenerate
7067
d59a8fcc
UB
70682013-11-07 Uros Bizjak <ubizjak@gmail.com>
7069
7070 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
7071 FP_EX_DENORM. Store result to volatile location after SSE division
7072 to close interrupt window. Remove unneeded fwait after x87
7073 division since interrupt window will be closed by emitted fstp.
9de84e84 7074 Rewrite FP_EX_INEXACT handling.
d59a8fcc 7075
9954c743
JM
70762013-11-06 Joseph Myers <joseph@codesourcery.com>
7077
7078 * soft-fp/README: Update.
7079 * soft-fp/adddf3.c: Update from glibc.
7080 * soft-fp/addsf3.c: Likewise.
7081 * soft-fp/addtf3.c: Likewise.
7082 * soft-fp/divdf3.c: Likewise.
7083 * soft-fp/divsf3.c: Likewise.
7084 * soft-fp/divtf3.c: Likewise.
7085 * soft-fp/double.h: Likewise.
7086 * soft-fp/eqdf2.c: Likewise.
7087 * soft-fp/eqsf2.c: Likewise.
7088 * soft-fp/eqtf2.c: Likewise.
7089 * soft-fp/extenddftf2.c: Likewise.
7090 * soft-fp/extended.h: Likewise.
7091 * soft-fp/extendsfdf2.c: Likewise.
7092 * soft-fp/extendsftf2.c: Likewise.
7093 * soft-fp/extendxftf2.c: Likewise.
7094 * soft-fp/fixdfdi.c: Likewise.
7095 * soft-fp/fixdfsi.c: Likewise.
7096 * soft-fp/fixdfti.c: Likewise.
7097 * soft-fp/fixsfdi.c: Likewise.
7098 * soft-fp/fixsfsi.c: Likewise.
7099 * soft-fp/fixsfti.c: Likewise.
7100 * soft-fp/fixtfdi.c: Likewise.
7101 * soft-fp/fixtfsi.c: Likewise.
7102 * soft-fp/fixtfti.c: Likewise.
7103 * soft-fp/fixunsdfdi.c: Likewise.
7104 * soft-fp/fixunsdfsi.c: Likewise.
7105 * soft-fp/fixunsdfti.c: Likewise.
7106 * soft-fp/fixunssfdi.c: Likewise.
7107 * soft-fp/fixunssfsi.c: Likewise.
7108 * soft-fp/fixunssfti.c: Likewise.
7109 * soft-fp/fixunstfdi.c: Likewise.
7110 * soft-fp/fixunstfsi.c: Likewise.
7111 * soft-fp/fixunstfti.c: Likewise.
7112 * soft-fp/floatdidf.c: Likewise.
7113 * soft-fp/floatdisf.c: Likewise.
7114 * soft-fp/floatditf.c: Likewise.
7115 * soft-fp/floatsidf.c: Likewise.
7116 * soft-fp/floatsisf.c: Likewise.
7117 * soft-fp/floatsitf.c: Likewise.
7118 * soft-fp/floattidf.c: Likewise.
7119 * soft-fp/floattisf.c: Likewise.
7120 * soft-fp/floattitf.c: Likewise.
7121 * soft-fp/floatundidf.c: Likewise.
7122 * soft-fp/floatundisf.c: Likewise.
7123 * soft-fp/floatunditf.c: Likewise.
7124 * soft-fp/floatunsidf.c: Likewise.
7125 * soft-fp/floatunsisf.c: Likewise.
7126 * soft-fp/floatunsitf.c: Likewise.
7127 * soft-fp/floatuntidf.c: Likewise.
7128 * soft-fp/floatuntisf.c: Likewise.
7129 * soft-fp/floatuntitf.c: Likewise.
7130 * soft-fp/gedf2.c: Likewise.
7131 * soft-fp/gesf2.c: Likewise.
7132 * soft-fp/getf2.c: Likewise.
7133 * soft-fp/ledf2.c: Likewise.
7134 * soft-fp/lesf2.c: Likewise.
7135 * soft-fp/letf2.c: Likewise.
7136 * soft-fp/muldf3.c: Likewise.
7137 * soft-fp/mulsf3.c: Likewise.
7138 * soft-fp/multf3.c: Likewise.
7139 * soft-fp/negdf2.c: Likewise.
7140 * soft-fp/negsf2.c: Likewise.
7141 * soft-fp/negtf2.c: Likewise.
7142 * soft-fp/op-1.h: Likewise.
7143 * soft-fp/op-2.h: Likewise.
7144 * soft-fp/op-4.h: Likewise.
7145 * soft-fp/op-8.h: Likewise.
7146 * soft-fp/op-common.h: Likewise.
7147 * soft-fp/quad.h: Likewise.
7148 * soft-fp/single.h: Likewise.
7149 * soft-fp/soft-fp.h: Likewise.
7150 * soft-fp/subdf3.c: Likewise.
7151 * soft-fp/subsf3.c: Likewise.
7152 * soft-fp/subtf3.c: Likewise.
7153 * soft-fp/truncdfsf2.c: Likewise.
7154 * soft-fp/trunctfdf2.c: Likewise.
7155 * soft-fp/trunctfsf2.c: Likewise.
7156 * soft-fp/trunctfxf2.c: Likewise.
7157 * soft-fp/unorddf2.c: Likewise.
7158 * soft-fp/unordsf2.c: Likewise.
7159 * soft-fp/unordtf2.c: Likewise.
7160
02ac9503
UB
71612013-11-05 Uros Bizjak <ubizjak@gmail.com>
7162
7163 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
7164 (_FP_MUL_MEAT_D): Ditto.
7165 (_FP_DIV_MEAT_S): Ditto.
7166 (_FP_DIV_MEAT_D): Ditto.
7167 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
7168 t-softfp-sfdf and t-softfp to tmake_file.
7169
61221141
UB
71702013-11-03 Uros Bizjak <ubizjak@gmail.com>
7171
7172 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
7173 * config/i386/crtprec.c: Ditto.
7174
9304f876
CJW
71752013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
7176 Shiva Chen <shiva0217@gmail.com>
7177
7178 * config.host (nds32*-elf*): Add nds32 target.
7179 * config/nds32 : New directory and files.
7180
0e499e75
HPN
71812013-10-16 Hans-Peter Nilsson <hp@axis.com>
7182
7183 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
7184 * config.host (cpu_type) <Setting default>: Add entry for
7185 crisv32-*-*.
7186 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
7187 <crisv32-*-linux*>: Adjust.
7188 * longlong.h: Wrap the whole CRIS section in a single
7189 defined(__CRIS__) conditional. Add comment about add_ssaaaa
7190 and sub_ddmmss.
7191 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
7192 defined.
7193 [__CRIS__] (__umulsidi3): Define.
7194 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
7195 * config/cris/sfp-machine.h: New file.
7196 * config/cris/umulsidi3.S: New file.
7197 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
7198 * config/cris/arit.c (SIGNMULT): New macro.
7199 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
7200 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
7201 saving 3 out of originally 33 cycles from the fastest
7202 path, 3 out of 54 from the medium path and one from the longest
7203 path. Improve comments.
7204
16022041
RS
72052013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
7206
7207 * sync.c: Remove static aliases and define each function directly
7208 under its real name.
7209
69778659
JDA
72102013-10-02 John David Anglin <danglin@gcc.gnu.org>
7211
7212 * config.host (hppa*64*-*-linux*): Define extra_parts.
7213 (hppa*-*-linux*): Likewise.
7214
2deaf8b0
JR
72152013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
7216
7217 * config/arc/crtgend.S: Add 2013 to Copyright years.
7218 * config/arc/gmon/atomic.h: Likewise.
7219 * config/arc/gmon/auxreg.h: Likewise.
7220 * config/arc/gmon/sys/gmon_out.h: Likewise.
7221 * config/arc/gmon/sys/gmon.h: Likewise.
7222 * config/arc/gmon/prof-freq.c: Likewise.
7223 * config/arc/gmon/mcount.c: Likewise.
7224 * config/arc/gmon/prof-freq-stub.S: Likewise.
7225 * config/arc/gmon/gmon.c: Likewise.
7226 * config/arc/gmon/machine-gmon.h: Likewise.
7227 * config/arc/gmon/profil.S: Likewise.
7228 * config/arc/gmon/dcache_linesz.S: Likewise.
7229 * config/arc/crtg.S: Likewise.
7230 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
7231 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
7232 * config/arc/ieee-754/adddf3.S: Likewise.
7233 * config/arc/ieee-754/truncdfsf2.S: Likewise.
7234 * config/arc/ieee-754/fixsfsi.S: Likewise.
7235 * config/arc/ieee-754/gtsf2.S: Likewise.
7236 * config/arc/ieee-754/floatsisf.S: Likewise.
7237 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
7238 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
7239 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
7240 * config/arc/ieee-754/fixdfsi.S: Likewise.
7241 * config/arc/ieee-754/addsf3.S: Likewise.
7242 * config/arc/ieee-754/gesf2.S: Likewise.
7243 * config/arc/ieee-754/floatsidf.S: Likewise.
7244 * config/arc/ieee-754/extendsfdf2.S: Likewise.
7245 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
7246 * config/arc/ieee-754/gtdf2.S: Likewise.
7247 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
7248 * config/arc/ieee-754/uneqdf2.S: Likewise.
7249 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
7250 * config/arc/ieee-754/uneqsf2.S: Likewise.
7251 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
7252 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
7253 * config/arc/ieee-754/eqdf2.S: Likewise.
7254 * config/arc/ieee-754/ordsf2.S: Likewise.
7255 * config/arc/ieee-754/divsf3.S: Likewise.
7256 * config/arc/ieee-754/divdf3.S: Likewise.
7257 * config/arc/ieee-754/floatunsidf.S: Likewise.
7258 * config/arc/ieee-754/orddf2.S: Likewise.
7259 * config/arc/ieee-754/eqsf2.S: Likewise.
7260 * config/arc/ieee-754/gedf2.S: Likewise.
7261 * config/arc/crtn.S: Likewise.
7262 * config/arc/crti.S: Likewise.
7263 * config/arc/t-arc700-uClibc: Likewise.
7264 * config/arc/asm.h: Likewise.
7265 * config/arc/libgcc-excl.ver: Likewise.
7266 * config/arc/t-arc-newlib: Likewise.
7267 * config/arc/divtab-arc700.c: Likewise.
7268 * config/arc/initfini.c: Likewise.
7269 * config/arc/fp-hack.h: Likewise.
7270
c8e318b0
JR
72712013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
7272 Diego Novillo <dnovillo@google.com>
7273
7274 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
a07c5b47
JR
7275 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
7276 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
7277 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
c8e318b0 7278
d38a64b4
JR
72792013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
7280 Brendan Kehoe <brendan@zen.org>
7281 Simon Cook <simon.cook@embecosm.com>
7282
7283 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
7284 * config/arc: New directory.
7285 * longlong.h [__arc__] (umul_ppmm): Remove.
7286 [__arc__] (__umulsidi3): Define.
7287 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
7288 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
7289
dff717d2
JC
72902013-09-17 Jacek Caban <jacek@codeweavers.com>
7291
7292 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
7293 CreateSemaphoreA.
7294 * config/i386/gthr-win32.h: Likewise.
7295
5c0029de
DD
72962013-09-16 DJ Delorie <dj@redhat.com>
7297
844ad6c6 7298 * config/rl78/vregs.h: Add G10 register definitions.
5c0029de
DD
7299 * config/rl78/lib2mul.c: Enable for RL78/G10.
7300 * config/rl78/lib2div.c: Likewise.
7301 * config/rl78/lshrsi3.S: Use vregs.h.
7302 * config/rl78/cmpsi2.S: Likewise.
7303 * config/rl78/trampoline.S: Likewise.
7304 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
7305
ceb2fc49
DD
73062013-09-14 DJ Delorie <dj@redhat.com>
7307 Nick Clifton <nickc@redhat.com>
7308
7309 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
7310 * config/rl78/vregs.h: New.
7311 * config/rl78/signbit.S: New file. Implements signbit function.
7312 * config/rl78/divmodsi.S: New.
7313 * config/rl78/divmodhi.S: New.
7314 * config/rl78/divmodqi.S: New.
7315 * config/rl78/t-rl78: Build them here...
7316 * config/rl78/lib2div.c: ...but not here.
7317
f6a83b4a
DD
73182013-09-12 DJ Delorie <dj@redhat.com>
7319
7320 * config.host (msp*-*-elf): New.
7321 * config/msp430/: New port.
7322
9107b096
IS
73232013-08-18 Iain Sandoe <iain@codesourcery.com>
7324
7325 PR gcov-profile/58127
7326 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
7327 __thread var for emulated TLS.
7328 (__gcov_indirect_call_counters): Likewise.
7329
0f9bde1f 73302013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
61221141 7331 Catherine Moore <clm@codesourcery.com>
7d296953 7332 Richard Sandiford <rdsandiford@googlemail.com>
0f9bde1f
MR
7333
7334 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
7335 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
7336 (CALL_STUB_NO_RET): Likewise.
7337 (CALL_STUB_RET): Likewise.
7338 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
7339 __mips16_ret call/return stub symbols.
7340 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
7341 to tmake_file.
7342
2dc14aac
MR
73432013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
7344
7345 * config.host <mips*-*-linux*>: Remove a stray comment.
7346
748d71f3
JH
73472013-08-10 Jan Hubicka <jh@suse.cz>
7348
7349 Work around binutils PR14342
7350 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
7351 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
7352 (L_gcov_indirect_call_profiler_v2): New.
7353
2fa3d31b
JH
73542013-08-06 Jan Hubicka <jh@suse.cz>
7355
7356 * libgcov.c (__gcov_indirect_call_callee,
7357 __gcov_indirect_call_counters): New global vars.
7358 (__gcov_indirect_call_profiler): replace by ...
7359 (__gcov_indirect_call_profiler_v2) ... this one.
7360
2077db1b
CT
73612013-08-06 Caroline Tice <cmtice@google.com>
7362
d0595b65 7363 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
2077db1b 7364 vtv_start_preinit.o and vtv_end_preinit.o.
d0595b65
CT
7365 * configure.ac: Add code to check/set enable_vtable_verify.
7366 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
2077db1b 7367 true.
d0595b65
CT
7368 * vtv_start_preinit.c: New file.
7369 * vtv_end_preinit.c: New file.
7370 * vtv_start.c: New file.
7371 * vtv_end.c: New file.
7372 * configure: Regenerated.
2077db1b 7373
46549c20
MK
73742013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
7375
7376 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
7377 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
7378 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
7379 GPL-3.0-with-GCC-exception.
7380
72be589b
MR
73812013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
7382
7383 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
7384 ISA and up.
7385
902a3faf
AK
73862013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7387
7388 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
7389 mapping for FPRs when creating the fallback framestate.
7390
02371798
GJL
73912013-07-19 Georg-Johann Lay <avr@gjlay.de>
7392
7393 PR target/57516
7394 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
7395 (__round_s2_const, __round_u2_const)
7396 (__round_s4_const, __round_u4_const, __round_x8):
7397 Saturate result if addition result cannot be represented.
7398
ab0e8379
MK
73992013-07-15 Matthias Klose <doko@ubuntu.com>
7400
7401 * libgcc2.c: Don't include <limits.h>.
7402
7da38058
JJ
74032013-07-09 Janis Johnson <janisjo@codesourcery.com>
7404
7405 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
7406
1f6eac90
JJ
74072013-07-06 Jakub Jelinek <jakub@redhat.com>
7408
7409 PR target/29776
7410 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
7411
4ea3d774
JJ
74122013-06-28 Jakub Jelinek <jakub@redhat.com>
7413
7414 PR middle-end/36041
7415 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
7416 Define.
7417 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
7418 instead of table lookups.
7419 (__popcountDI2): Likewise.
7420
9d2cdf25
CJW
74212013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
7422
7423 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
7424 correctly.
7425
fa1e55b0
JM
74262013-06-21 Joseph Myers <joseph@codesourcery.com>
7427
7428 PR other/53317
7429 * soft-fp/adddf3.c: Update from glibc.
7430 * soft-fp/addsf3.c: Likewise.
7431 * soft-fp/addtf3.c: Likewise.
7432 * soft-fp/divdf3.c: Likewise.
7433 * soft-fp/divsf3.c: Likewise.
7434 * soft-fp/divtf3.c: Likewise.
7435 * soft-fp/double.h: Likewise.
7436 * soft-fp/eqdf2.c: Likewise.
7437 * soft-fp/eqsf2.c: Likewise.
7438 * soft-fp/eqtf2.c: Likewise.
7439 * soft-fp/extenddftf2.c: Likewise.
7440 * soft-fp/extended.h: Likewise.
7441 * soft-fp/extendsfdf2.c: Likewise.
7442 * soft-fp/extendsftf2.c: Likewise.
7443 * soft-fp/fixdfdi.c: Likewise.
7444 * soft-fp/fixdfsi.c: Likewise.
7445 * soft-fp/fixsfdi.c: Likewise.
7446 * soft-fp/fixsfsi.c: Likewise.
7447 * soft-fp/fixtfdi.c: Likewise.
7448 * soft-fp/fixtfsi.c: Likewise.
7449 * soft-fp/fixunsdfdi.c: Likewise.
7450 * soft-fp/fixunsdfsi.c: Likewise.
7451 * soft-fp/fixunssfdi.c: Likewise.
7452 * soft-fp/fixunssfsi.c: Likewise.
7453 * soft-fp/fixunstfdi.c: Likewise.
7454 * soft-fp/fixunstfsi.c: Likewise.
7455 * soft-fp/floatdidf.c: Likewise.
7456 * soft-fp/floatdisf.c: Likewise.
7457 * soft-fp/floatditf.c: Likewise.
7458 * soft-fp/floatsidf.c: Likewise.
7459 * soft-fp/floatsisf.c: Likewise.
7460 * soft-fp/floatsitf.c: Likewise.
7461 * soft-fp/floatundidf.c: Likewise.
7462 * soft-fp/floatundisf.c: Likewise.
7463 * soft-fp/floatunditf.c: Likewise.
7464 * soft-fp/floatunsidf.c: Likewise.
7465 * soft-fp/floatunsisf.c: Likewise.
7466 * soft-fp/floatunsitf.c: Likewise.
7467 * soft-fp/gedf2.c: Likewise.
7468 * soft-fp/gesf2.c: Likewise.
7469 * soft-fp/getf2.c: Likewise.
7470 * soft-fp/ledf2.c: Likewise.
7471 * soft-fp/lesf2.c: Likewise.
7472 * soft-fp/letf2.c: Likewise.
7473 * soft-fp/muldf3.c: Likewise.
7474 * soft-fp/mulsf3.c: Likewise.
7475 * soft-fp/multf3.c: Likewise.
7476 * soft-fp/negdf2.c: Likewise.
7477 * soft-fp/negsf2.c: Likewise.
7478 * soft-fp/negtf2.c: Likewise.
7479 * soft-fp/op-1.h: Likewise.
7480 * soft-fp/op-2.h: Likewise.
7481 * soft-fp/op-4.h: Likewise.
7482 * soft-fp/op-8.h: Likewise.
7483 * soft-fp/op-common.h: Likewise.
7484 * soft-fp/quad.h: Likewise.
7485 * soft-fp/single.h: Likewise.
7486 * soft-fp/soft-fp.h: Likewise.
7487 * soft-fp/subdf3.c: Likewise.
7488 * soft-fp/subsf3.c: Likewise.
7489 * soft-fp/subtf3.c: Likewise.
7490 * soft-fp/truncdfsf2.c: Likewise.
7491 * soft-fp/trunctfdf2.c: Likewise.
7492 * soft-fp/trunctfsf2.c: Likewise.
7493 * soft-fp/unorddf2.c: Likewise.
7494 * soft-fp/unordsf2.c: Likewise.
7495 * soft-fp/unordtf2.c: Likewise.
7496 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
7497 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7498 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7499 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7500 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7501 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7502 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7503 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7504 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7505 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
7506 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
7507 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7508
0de86a92
JU
75092013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
7510
7511 * config/mips/lib2funcs.c: New file.
7512 * config/mips/t-mips (LIB2ADD_ST): Add it.
7513
0d008882
OE
75142013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
7515
7516 PR target/6526
7517 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
7518 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
7519
776434d1
WL
75202013-06-08 Walter Lee <walt@tilera.com>
7521
7522 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
7523 Replace int64_t with long long. Add __extension__ where
7524 appropriate.
7525 * config/tilepro/atomic.c: Include config.h.
7526
6ab3ebb4
DR
75272013-06-06 Douglas B Rupp <rupp@adacore.com>
7528
7529 * config.host (arm-wrs-vxworks): Configure with other soft float.
7530
107eea2c
JU
75312013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
7532
7533 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
7534 (mips64r5900el-*-elf*): New configurations.
7535
5cc19c62
AM
75362013-06-04 Alan Modra <amodra@gmail.com>
7537
7538 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
7539
0f1d3965
YR
75402013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
7541
7542 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
7543
0ba045df
EB
75442013-05-28 Eric Botcazou <ebotcazou@adacore.com>
7545
7546 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
7547 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
7548 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
7549
49dcafd4
EB
75502013-05-22 Eric Botcazou <ebotcazou@adacore.com>
7551
7552 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
7553 (powerpc-wrs-vxworks): Likewise.
7554
4fcb5d87
EB
75552013-05-22 Eric Botcazou <ebotcazou@adacore.com>
7556
7557 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
7558 signal frames as well.
7559 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
7560 STACK_BIAS to the CFA offset.
7561
0ec33224
RH
75622013-05-17 Richard Henderson <rth@redhat.com>
7563
7564 PR target/49146
7565 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
7566 (execute_cfa_program): Use it when storing to fs->regs.
7567
492a8029
KT
75682013-05-08 Kai Tietz <ktietz@redhat.com>
7569
7570 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
7571 (__deregister_frame_info): Likewise.
7572
701e2f0a
TS
75732013-05-06 Thomas Schwinge <thomas@codesourcery.com>
7574
e5123d08
TS
7575 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
7576 NaN's payload.
7577
701e2f0a
TS
7578 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
7579
b9a7eb5d
AM
75802013-04-25 Alan Modra <amodra@gmail.com>
7581
7582 * config.host: Match little-endian powerpc-linux.
7583
dfe192f5
YZ
75842013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
7585
7586 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
7587 as 'unsigned long long' instead of 'unsigned long'.
7588 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
7589 'signed long'.
7590
b6b9af2f
JB
75912013-04-10 Julian Brown <julian@codesourcery.com>
7592
7593 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
7594 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
7595 unsigned char/unsigned short.
7596 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
7597
ecabdd00
JDA
75982013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7599
7600 PR other/55274
7601 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
7602
34652576
MI
76032013-04-04 Meador Inge <meadori@codesourcery.com>
7604
7605 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
7606 computing the location of the link register.
7607 (aeabi_uldivmod): Ditto.
7608
e9fd8c19
KT
76092013-03-27 Kai Tietz <ktietz@redhat.com>
7610
7611 * config.host: Add support for cygwin x64 target.
7612 * configure: Regenerated.
7613
a6406324
WL
76142013-03-26 Walter Lee <walt@tilera.com>
7615
7616 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
7617 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
7618
55446c7e
KT
76192013-03-25 Kai Tietz <ktietz@redhat.com>
7620
7621 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
7622
d2ae19d9
RM
76232013-03-20 Robert Mason <rbmj@verizon.net>
7624
7625 * config/vxlib-tls.c (__gthread_get_tsd_data,)
7626 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
7627 (__gthread_leave_tsd_dtor_context): Add prototypes.
7628 (tls_delete_hook): Update.
7629
22c4c869
CM
76302013-03-20 Catherine Moore <clm@codesourcery.com>
7631 Joseph Myers <joseph@codesourcery.com>
7632 Chao-ying Fu <fu@mips.com>
7633
7634 * config/mips/mips16.S: Don't build for microMIPS.
7635 * config/mips/linux-unwind.h: Handle microMIPS frame.
7636 * config/mips/crtn.S (fini, init): New labels.
7637
fbd28bc3
JJ
76382013-03-14 Jakub Jelinek <jakub@redhat.com>
7639
7640 PR tree-optimization/53265
7641 * unwind-dw2.c (execute_cfa_program): Avoid
7642 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
7643 on targets with DWARF_FRAME_REGISTERS < 32.
7644
decc676e
OE
76452013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
7646
7647 PR target/49880
7648 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
7649 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
7650
84ea618a
ST
76512013-03-07 Sriraman Tallam <tmsriram@google.com>
7652
7653 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
7654 sandybridge processors.
7655
8f6d1c86
OE
76562013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
7657
7658 PR target/56529
7659 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
7660 inclusion list.
7661
ecdbd01a 76622013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
409b1de4
EI
7663
7664 * config/microblaze/crti.S: Setup stack protection at entry
7665
0b4ce21b
GJL
76662013-03-04 Georg-Johann Lay <avr@gjlay.de>
7667
7668 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
7669 (__rotldi3): Shift bytewise if applicable.
7670
b7c3f1ca
JG
76712013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
7672
7673 * config/aarch64/sync-cache.c
7674 (__aarch64_sync_cache_range): Silence warnings.
7675
6d65e8f1
CM
76762013-02-25 Catherine Moore <clm@codesourcery.com>
7677
7678 Revert:
7679 2013-02-24 Catherine Moore <clm@codesourcery.com>
7680 Joseph Myers <joseph@codesourcery.com>
7681 Chao-ying Fu <fu@mips.com>
7682
7683 * config/mips/mips16.S: Don't build for microMIPS.
7684 * config/mips/linux-unwind.h: Handle microMIPS frame.
7685 * config/mips/crtn.S (fini, init): New labels.
7686
6941b508
CM
76872013-02-24 Catherine Moore <clm@codesourcery.com>
7688 Joseph Myers <joseph@codesourcery.com>
7689 Chao-ying Fu <fu@mips.com>
7690
7691 * config/mips/mips16.S: Don't build for microMIPS.
7692 * config/mips/linux-unwind.h: Handle microMIPS frame.
7693 * config/mips/crtn.S (fini, init): New labels.
7694
7c422dbb 76952012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
cc86234f 7696 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7c422dbb
EI
7697 as dividend.
7698
110207ad
AM
76992013-02-16 Alan Modra <amodra@gmail.com>
7700
7701 PR target/55431
7702 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
7703 (ppc_fallback_frame_state): Always set up save locations for fp
7704 and altivec. Don't bother with non-callee-saved regs, r0-r13
7705 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
7706
e68a4ef6
GJL
77072013-02-12 Georg-Johann Lay <avr@gjlay.de>
7708
7709 PR target/54222
7710 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
7711 _ssmulHA, _ssmulSA.
7712 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
7713 _ssmulha3, _usmulusa3, _ssmulsa3.
7714 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
7715 (__muldi3): XCALL __muldi3_6 instead of rcall.
7716 (__umulsidi3, __mulsidi3): New functions.
7717 (do_prologue_saves, do_epilogue_restores): New .macros.
7718 (__divdi3_moddi3): Use them.
7719 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
7720 (__usmulusa3, __ssmulsa3): New functions.
7721
6c59ffd1
IS
77222013-02-11 Iain Sandoe <iain@codesourcery.com>
7723 Jack Howarth <howarth@bromo.med.uc.edu>
7724 Patrick Marlier <patrick.marlier@gmail.com>
7725
7726 PR libitm/55693
7727 * config/darwin-crt-tm.c: Remove dummy functions hack.
7728
85d768f3
GJL
77292013-02-08 Georg-Johann Lay <avr@gjlay.de>
7730
7731 PR target/54222
7732 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
7733 * config/avr/lib2-object.mk: New iterator to build objects from it.
7734 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
7735 lib2funcs.c.
7736 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
7737 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
7738 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
7739 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
7740 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
7741 * config/avr/lib1funcs-fixed.S: Implement them.
7742
5d5bf775
RS
77432013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
7744
7745 Update copyright years.
7746
99113dff
DE
77472013-02-01 David Edelsohn <dje.gcc@gmail.com>
7748
7749 PR target/54601
7750 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
7751 Add crtcxa to extra_parts.
7752 * config/rs6000/exit.h: New file.
7753 * config/rs6000/cxa_atexit.c: New file.
7754 * config/rs6000/cxa_finalize.c: New file.
7755 * config/rs6000/crtcxa.c: New file.
7756 * config/rs6000/t-aix-cxa: New file.
7757 * config/rs6000/libgcc-aix-cxa.ver: New file.
7758
dbdbd982
NC
77592013-01-31 Nick Clifton <nickc@redhat.com>
7760
7761 * config/v850/lib1funcs.S: Add support for e3v5 architecture
7762 variant.
7763
5893f158
GJL
77642013-01-29 Georg-Johann Lay <avr@gjlay.de>
7765
7766 PR target/54222
7767 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
7768 _mulQQ, _mulHQ, _mulHA, _mulSA,
7769 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
7770 _divQQ, _divHQ, _divHA, _divSA,
7771 _divUQQ, _divUHQ, _divUHA, _divUSA.
7772
ecdbd01a 77732013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
fbf0cf90 7774
dbdbd982 7775 * config.host(microblaze*-linux*): tmake_file: Remove
fbf0cf90
DH
7776 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
7777 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
7778 to exclude functions from being built with libgcc.c and use
7779 the microblaze assembly.
7780
ecdbd01a 77812013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6f14eef2
EI
7782
7783 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
7784 extra_parts.
7785
922c57d1
YZ
77862013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
7787
7788 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
7789 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
7790 __UINTPTR_TYPE__; also cast 'base' to the same type before the
7791 alignment operation.
7792
e0f8b6a0
SN
77932013-01-15 Sofiane Naci <sofiane.naci@arm.com>
7794
7795 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
7796 loop start address for cache clearing.
7797
00892272
GJL
77982013-01-14 Georg-Johann Lay <avr@gjlay.de>
7799
7800 * config/avr/lib1funcs.S: Remove trailing blanks.
7801 * config/avr/lib1funcs-fixed.S: Ditto.
7802
e59ec5fd
GJL
78032013-01-14 Georg-Johann Lay <avr@gjlay.de>
7804
7805 * config/avr/avr-lib.h: Add GPL copyright notice.
7806
3ffc1958
GJL
78072013-01-14 Georg-Johann Lay <avr@gjlay.de>
7808
7809 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
7810 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
7811 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
7812 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
7813
25c210f9
MK
78142013-01-07 Mark Kettenis <kettenis@openbsd.org>
7815
7816 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
7817 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
2bc15360 7818
db59befb
NC
78192013-01-04 Nick Clifton <nickc@redhat.com>
7820
7821 * config/v850/lib1funcs.S: Only provide CALLT support functions if
7822 the CALLT instruction is supported.
7823
5aa12dbf
JW
78242012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
7825
7826 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
7827 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
7828
65f14117
JT
78292012-12-13 John Tytgat <John@bass-software.com>
7830
7831 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
7832 is 25.
7833
ee3ae4f7
JJ
78342012-12-12 Jakub Jelinek <jakub@redhat.com>
7835
7836 PR libgcc/55451
7837 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
7838 undefined signed overflows.
7839
2fcfba3d
UB
78402012-12-09 Uros Bizjak <ubizjak@gmail.com>
7841
7842 PR target/55344
7843 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
7844
4f2b3dc2
UB
78452012-12-06 Uros Bizjak <ubizjak@gmail.com>
7846
7847 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
7848 (FP_TRAPPING_EXCEPTIONS): Define.
7849 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
7850 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
7851
066161a2
RH
78522012-12-04 Richard Henderson <rth@redhat.com>
7853
7854 PR bootstrap/55571
7855 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
7856
7d296953 78572012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
25626181 7858
4f2b3dc2 7859 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
25626181
MS
7860 (FP_EX_SHIFT): Define.
7861 (FP_TRAPPING_EXCEPTIONS): Define.
7862
7d296953 78632012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
868395e8
MS
7864
7865 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
7866 (FP_ROUNDMODE): Use FP_RND_MASK.
7867 * config/aarch64/sfp-exceptions.c: New.
7868 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
7869 Use __sfp_handle_exceptions.
7870
5005fe22
RE
78712012-12-04 Richard Earnshaw <rearnsha@arm.com>
7872
7873 * config.host: (arm*-*-freebsd*): Remove.
7874 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
7875 (arm*-*-elf*): Remove.
7876 (arm*-*-wince-pe*): Remove.
7877 * arm/unwind-arm.c (struct fpa_reg): Delete.
7878 (struct fpa_regs): Delete.
7879 (phase1_vrs): Remove fpa element.
7880 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
7881 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
7882 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
7883 * ieee754-sf.S (floatundisf): Remove FPA support.
7884 (floatdisf): Likewise.
7885 * ieee75f-df.S (floatundidf): Likewise.
7886 (floatdidf): Likewise.
7887
e5a81c8e
KT
78882012-11-29 Kai Tietz <ktietz@redhat.com>
7889
7890 PR target/55445
7891 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
7892 * unwind-generic.h: Likewise.
7893 * unwind-seh.c: Likewise.
7894
f4919e4a
RH
78952012-11-28 Richard Henderson <rth@redhat.com>
7896
7897 PR libgcc/48076
7898 * emutls.c (__emutls_get_address): Avoid race condition between
7899 obj->loc.offset read and emutls_key initialization.
4f2b3dc2 7900
e13d9d5a
GJL
79012012-11-22 Georg-Johann Lay <avr@gjlay.de>
7902
7903 Adjust decimal point of signed accum mode to GCC default.
7904
7905 PR target/54222
7906 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
7907 _divqq_helper.
7908 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
7909 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
7910 (__mulha3, __mulsa3)
7911 (__divqq3, __divha3, __divsa3): Adjust to new position of
4f2b3dc2
UB
7912 decimal point of signed accum types.
7913
e13d9d5a
GJL
7914 (__mulusa3_round): New function.
7915 (__mulusa3): Use it.
7916 (__divqq_helper): New function.
7917 (__udivuqq3): Use it.
7918
1b845c6e
JJ
79192012-11-20 Jakub Jelinek <jakub@redhat.com>
7920
7921 PR bootstrap/55370
7922 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
7923
822a258a
TJ
79242012-11-18 Teresa Johnson <tejohnson@google.com>
7925
7926 PR bootstrap/55051
7927 * libgcov.c (gcov_exit): Remove merged program summary
7928 comparison unless !GCOV_LOCKED.
7929
7d296953 79302012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
54f4eaf0
MS
7931
7932 * soft-fp: Updated from glibc upstream.
7933
e808687a
ILT
79342012-11-06 Ian Lance Taylor <iant@google.com>
7935
7936 * generic-morestack.c (__generic_morestack): Align the returned
7937 stack pointer to a 32 byte boundary.
7938 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
7939 increment the return address until we have decided that we don't
7940 have a varargs function.
7941 (__morestack) [32-bit]: Align stack correctly when calling C
7942 functions.
7943 (__morestack) [64-bit]: Likewise.
7944
460277e0
TS
79452012-11-04 Thomas Schwinge <thomas@codesourcery.com>
7946
7947 * configure: Regenerate.
7948
73edb277
UB
79492012-11-02 Uros Bizjak <ubizjak@gmail.com>
7950
7951 PR target/55175
7952 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
7953 * config/i386/sfp-machine.h: Guard exception handling
7954 code with _SOFT_FLOAT.
7955 * config/i386/32/sfp-machine.h: Guard rounding handling
7956 code with _SOFT_FLOAT.
7957 * config/i386/64/sfp-machine.h: Ditto.
7958
c1d4fa04
JS
79592012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
7960
7961 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
7962 as extra_parts.
7963
eff6ca85
UB
79642012-10-26 Uros Bizjak <ubizjak@gmail.com>
7965
7966 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
7967 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
7968 when appropriate. Correct structure element types.
7969 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
7970 -minline-all-stringops from compile flags.
7971
7d296953 79722012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
43a8f1a1
RC
7973
7974 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
7975
7d296953 79762012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
76c78361 7977
eff6ca85 7978 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
76c78361 7979
6f288860
SH
79802012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
7981
7982 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
7983 tmake_file.
7984
1e3d5096
IB
79852012-10-23 Ian Bolton <ian.bolton@arm.com>
7986 Jim MacArthur <jim.macarthur@arm.com>
7987 Marcus Shawcroft <marcus.shawcroft@arm.com>
7988 Nigel Stephens <nigel.stephens@arm.com>
7989 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
7990 Richard Earnshaw <rearnsha@arm.com>
7991 Sofiane Naci <sofiane.naci@arm.com>
7992 Stephen Thomas <stephen.thomas@arm.com>
7993 Tejas Belagod <tejas.belagod@arm.com>
7994 Yufeng Zhang <yufeng.zhang@arm.com>
7995
7996 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
7997 * config/aarch64/crti.S: New file.
7998 * config/aarch64/crtn.S: New file.
7999 * config/aarch64/linux-unwind.h: New file.
8000 * config/aarch64/sfp-machine.h: New file.
8001 * config/aarch64/sync-cache.c: New file.
8002 * config/aarch64/t-aarch64: New file.
8003 * config/aarch64/t-softfp: New file.
8004
8a740f07
HPN
80052012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
8006
8007 * config/mmix/crti.S: Mark program and data addresses using PRELD.
8008 Remove typo'd and unnecessary alignment-LOC for .data. Remove
8009 no-longer-needed LDBU insns.
8010
7d296953 80112012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
153c8397
SH
8012
8013 * config.host
8014 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
8015 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
8016
595fefee
MGD
80172012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
8018
8019 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
8020
9945a876
MK
80212012-10-15 Matthias Klose <doko@ubuntu.com>
8022
8023 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
8024
1183dc2c
PC
80252012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
8026
8027 * configure: Regenerate.
8028 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
8029
945a9c1f
UB
80302012-10-10 Uros Bizjak <ubizjak@gmail.com>
8031
8032 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
8033 instructions for 64bit targets only.
8034
fb8bf47a
UB
80352012-10-10 Uros Bizjak <ubizjak@gmail.com>
8036
8037 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
8038 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
8039 * config/i386/32/sfp-machine.h: ... here.
8040 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
8041 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
8042 New defines.
8043
acb72498
MK
80442012-10-07 Matthias Klose <doko@ubuntu.com>
8045
8046 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
8047 as unused.
8048 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
8049
8eaee0f0
MK
80502012-10-06 Mark Kettenis <kettenis@openbsd.org>
8051
8052 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
8053 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
8054 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
8055 (ElfW): Likewise.
8056
5e3e4fe8
JW
80572012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
8058
8059 PR other/53889
8060 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
8061 Fix parameter names.
8062
86086376
OE
80632012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
8064
8065 PR target/33135
8066 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
8067 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
8068 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
8069
9597375a
OE
80702012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
8071
8072 PR target/50457
8073 * config/sh/linux-atomic.S: Delete.
8074 * config/sh/linux-atomic.c: New.
8075 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
8076 linux-atomic.c. Add cflags to disable warnings.
8077
1504e3e1
JW
80782012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
8079
8080 PR other/53889
8081 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
8082 function.
8083 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
8084 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
8085 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
8086 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5e3e4fe8
JW
8087 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
8088 Likewise.
1504e3e1
JW
8089 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
8090 Likewise.
8091 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
8092 Likewise.
8093 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
8094 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
8095
17f293b0
MK
80962012-09-19 Mark Kettenis <kettenis@openbsd.org>
8097
9597375a
OE
8098 * config.host (hppa-*-openbsd*): New target.
8099 * config/pa/t-openbsd: New file.
17f293b0 8100
51526856
GJL
81012012-09-15 Georg-Johann Lay <avr@gjlay.de>
8102
8103 PR target/54222
8104 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
8105 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
8106 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
8107 (__divsa3): Use __negsi2 to negate r_quoL.
8108 * config/avr/lib1funcs.S (FALIAS): New macro.
8109 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
8110 (__negsi2): ...this new function.
8111 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
8112 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
8113 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
8114 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
8115 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
8116 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
8117
aadb5b43
OE
81182012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
8119
8120 PR target/54089
8121 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
8122 (lshrsi3): Reimplement as lshrsi3_r0.
8123
d5d66749
AS
81242012-09-10 Andreas Schwab <schwab@linux-m68k.org>
8125
8126 PR target/46191
8127 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
8128 of libgcc.a.
8129
c6c36e73
TJ
81302012-09-07 Teresa Johnson <tejohnson@google.com>
8131
9597375a 8132 PR gcov-profile/54487
c6c36e73 8133 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9597375a 8134 differences.
c6c36e73 8135
b588ae30
GJL
81362012-09-05 Georg-Johann Lay <avr@gjlay.de>
8137
8138 PR target/54461
8139 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
8140 not configured --with-avrlibc=no.
8141 * config/avr/t-avrlibc: New file.
8142 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
8143 (DPBIT_FUNCS): Ditto.
8144 (TPBIT_FUNCS): Ditto.
8145
abd16fb1
TJ
81462012-09-04 Teresa Johnson <tejohnson@google.com>
8147
8148 * libgcov.c (struct gcov_summary_buffer): New structure.
8149 (gcov_histogram_insert): New function.
8150 (gcov_compute_histogram): Ditto.
8151 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
8152 histograms during summary merging.
8153
613061fd
MK
81542012-09-01 Mark Kettenis <kettenis@openbsd.org>
8155
8156 * config.host (x86_64-*-openbsd*): New target.
73edb277 8157
867a8345
CLT
81582012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
8159
8160 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
8161 attribute.
8162
4aeaaca3
GJL
81632012-08-24 Georg-Johann Lay <avr@gjlay.de>
8164
8165 PR target/54222
8166 * config/avr/t-avr (conv_X): Rename to func_X.
8167
e55e4056
GJL
81682012-08-24 Georg-Johann Lay <avr@gjlay.de>
8169
8170 PR target/54222
8171 * config/avr/lib1funcs-fixed.S: New file.
8172 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
8173 after they are used.
8174 (neg2, neg4): New macros.
8175 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
8176 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
8177 (__umulhisi3): Speed up MUL variant if there is enough flash.
8178 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
8179 avr-modes.def.
8180 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
8181 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
8182 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
8183 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
8184 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
8185 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
8186 (LIB2FUNCS_EXCLUDE): Add supported functions.
8187
a147b6d2
GJL
81882012-08-22 Georg-Johann Lay <avr@gjlay.de>
8189
8190 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
8191 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
8192 libgcc-s-objects.
8193 * fixed-obj.mk: Only expand dependency if $o is not in
8194 LIB2FUNCS_EXCLUDE.
8195
c637141a
L
81962012-08-22 H.J. Lu <hongjiu.lu@intel.com>
8197
8198 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
8199
130e00bd
JM
82002012-08-22 Joseph Myers <joseph@codesourcery.com>
8201
8202 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
8203 depend on --enable-shared.
8204 ($(lib1asmfuncs-o)): Use %.vis files independent of
8205 --enable-shared.
8206 * static-object.mk ($(base)$(objext), $(base).vis)
8207 ($(base)_s$(objext)): Use same rules for visibility handling as in
8208 shared-object.mk.
8209
4b1b3788
ILT
82102012-08-21 Ian Lance Taylor <iant@google.com>
8211
8212 * config/i386/morestack.S (__morestack_non_split): Increase amount
8213 of space allocated for non-split code stack.
8214
d2468141
JM
82152012-08-19 Joseph Myers <joseph@codesourcery.com>
8216
8217 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
8218 even if inhibit_libc.
8219
a508e1a8
JB
82202012-08-17 Julian Brown <julian@codesourcery.com>
8221
8222 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
8223 -fexceptions -fnon-call-exceptions if not defined.
8224 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
8225 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
8226
5615a07d
AS
82272012-08-17 Andreas Schwab <schwab@linux-m68k.org>
8228
8229 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
8230 type.
8231
138f5acd
DE
82322012-08-16 David Edelsohn <dje.gcc@gmail.com>
8233
8234 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
8235 rs6000/t-slibgcc-aix.
8236
18efc0dd
SB
82372012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
8238
8239 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
8240
6b39bc38
SB
82412012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
8242
8243 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
8244
cd25dea0
L
82452012-08-03 H.J. Lu <hongjiu.lu@intel.com>
8246
8247 PR driver/54171
8248 * Makefile.in (version): Replace top_srcdir with srcdir.
8249
a3dda30b
JY
82502012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
8251
8252 * Makefile.in (version): set to BASE-VER file from gcc directory.
8253
d04aacfc
NC
82542012-08-01 Nick Clifton <nickc@redhat.com>
8255
8256 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
8257 Implements __clrsb for an HImode argument.
8258
0d13c974
NC
82592012-07-31 Nick Clifton <nickc@redhat.com>
8260
8261 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
8262 Implements __clrsb for an HImode argument.
8263 * config/stormy16/clrsbhi2.c: New file:
8264 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
8265
efbb59b2
SB
82662012-07-22 Steven Bosscher <steven@gcc.gnu.org>
8267
8268 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
8269
bf1431e3
TG
82702012-07-19 Tristan Gingold <gingold@adacore.com>
8271 Richard Henderson <rth@redhat.com>
8272
8273 * unwind-seh.c: New file.
8274 * unwind-generic.h: Include windows.h for SEH.
8275 (_Unwind_Exception): Use 6 private fields for SEH.
8276 (_GCC_specific_handler): Declare.
8277 * unwind-c.c (__gcc_personality_seh0): New function.
8278 Adjust for SEH.
8279 * config/i386/libgcc-cygming.ver: New file.
8280 * config/i386/t-seh-eh: New file.
8281 * config.host (x86_64-*-mingw*): Default to seh.
8282
659140c8
SB
82832012-07-14 Steven Bosscher <steven@gcc.gnu.org>
8284
8285 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
8286
a20d08fd
UB
82872012-06-17 Uros Bizjak <ubizjak@gmail.com>
8288
8289 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
8290 __builtin_expect when checking for exceptions.
8291 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
8292
79261115
UB
82932012-06-13 Uros Bizjak <ubizjak@gmail.com>
8294
4a172156
UB
8295 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
8296 function declaration.
8297 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
8298 (FP_RND_MASK): New.
8299 * config/ia64/sfp-exceptions.c: New.
8300 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
79261115 8301
bb5c97d4
UB
83022012-06-13 Uros Bizjak <ubizjak@gmail.com>
8303
8304 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
8305 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
8306 * config/i386/64/sfp-machine: ... (delete here) ...
8307 * config/i386/sfp-machine.h: ... to here.
8308 (FP_EX_MASK): Remove.
8309 (FP_RND_MASK): New.
8310 (FP_INIT_ROUNDMODE): Declare asm as volatile.
8311
91fe5efb
ST
83122012-06-11 Sriraman Tallam <tmsriram@google.com>
8313
8314 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
8315 * config/i386/libgcc-sol2.ver: Ditto.
8316 * config/i386/libgcc-glibc.ver: Ditto.
8317
67a218c5
RM
83182012-06-11 Roland McGrath <mcgrathr@google.com>
8319
8320 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
8321 If __GLIBC__ is defined, refer to __pthread_key_create instead of
8322 pthread_cancel.
8323
492fbea1
UB
83242012-06-09 Uros Bizjak <ubizjak@gmail.com>
8325
8326 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
8327 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
8328 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
8329 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
8330 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
8331 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
8332 * config/i386/64/sfp-machine: ... (delete here) ...
8333 * config/i386/sfp-machine.h: ... to here.
8334 (FP_EX_MASK): New.
8335 (__sfp_handle_exceptions): New function declaration.
8336 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
8337 * config/i386/sfp-exceptions.c: New.
8338 * config/i386/t-softfp: New.
8339 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
8340 i386/t-softfp to tmake_file.
8341
7b4cf266
DM
83422012-06-03 David S. Miller <davem@davemloft.net>
8343
8344 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
8345 change.
8346
0de0d5c6
DM
83472012-05-31 David S. Miller <davem@davemloft.net>
8348
8349 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
8350 multiply and divide instructions on 32-bit when V9.
8351 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
8352
d8c9d391
JM
83532012-05-29 Joseph Myers <joseph@codesourcery.com>
8354
8355 * config/arm/ieee754-df.S: Fix typos.
8356 * config/arm/ieee754-sf.S: Fix typos.
8357 * config/c6x/libunwind.S: Fix typos.
8358 * config/epiphany/udivsi3-float.c: Fix typos.
8359 * config/microblaze/muldi3_hard.S: Fix typos.
8360 * config/picochip/adddi3.S: Fix typos.
8361 * config/picochip/ashlsi3.S: Fix typos.
8362 * config/picochip/ashrsi3.S: Fix typos.
8363 * config/picochip/clzsi2.S: Fix typos.
8364 * config/picochip/cmpsi2.S: Fix typos.
8365 * config/picochip/divmod15.S: Fix typos.
8366 * config/picochip/divmodhi4.S: Fix typos.
8367 * config/picochip/divmodsi4.S: Fix typos.
8368 * config/picochip/longjmp.S: Fix typos.
8369 * config/picochip/lshrsi3.S: Fix typos.
8370 * config/picochip/parityhi2.S: Fix typos.
8371 * config/picochip/popcounthi2.S: Fix typos.
8372 * config/picochip/setjmp.S: Fix typos.
8373 * config/picochip/subdi3.S: Fix typos.
8374 * config/picochip/ucmpsi2.S: Fix typos.
8375 * config/picochip/udivmodhi4.S: Fix typos.
8376 * config/picochip/udivmodsi4.S: Fix typos.
8377 * config/spu/divv2df3.c: Fix typos.
8378 * config/spu/mfc_multi_tag_release.c: Fix typos.
8379 * config/spu/mfc_tag_release.c: Fix typos.
8380 * configure.ac: Fix typos.
8381 * configure: Regenerate.
8382
31a18a7e
ILT
83832012-05-25 Ian Lance Taylor <iant@google.com>
8384
8385 * config/i386/morestack.S (__morestack_non_split): Check whether
8386 caller is varargs and needs %bp to hold the stack frame on return.
8387
c5768510
OH
83882012-05-25 Olivier Hainque <hainque@adacore.com>
8389
8390 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
8391 sequence in the non pic case on VxWorks.
8392
7c7c339b
OH
83932012-05-24 Olivier Hainque <hainque@adacore.com>
8394
73fb7630 8395 * Makefile.in: Move dependency on install-unwind_h from
7c7c339b
OH
8396 "install-leaf" to "install".
8397
fdc1b7d3
OH
83982012-05-24 Olivier Hainque <hainque@adacore.com>
8399
8400 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
8401 Use a separate command for stamp removals.
8402
07ba94b9
AP
84032012-05-21 Andrew Pinski <apinski@cavium.com>
8404
8405 PR bootstrap/53183
8406 * configure.ac: Define the default includes to being none.
8407 * configure: Regenerate.
8408
4677d2eb
OH
84092012-05-16 Olivier Hainque <hainque@adacore.com>
8410
8411 * Makefile.in (install-unwind_h): Rename into ...
8412 (install-unwind_h-forbuild): New target.
8413 (all): Use it instead of the former install-unwind_h.
8414 (install-unwind_h): Reinstate, copy to user install destination
8415 for include files, not to the internal gcc object directory one.
8416 (install-leaf): Depend on it.
8417
7d67c380
OH
84182012-05-15 Olivier Hainque <hainque@adacore.com>
8419
8420 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
8421 register numbers. LR_REGNO replaces R_LR.
8422 (ucontext_for): New, helper for ...
8423 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
8424 and 5.3 of ...
8425 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
8426
aca06c90
RO
84272012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8428
8429 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
8430 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
8431 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
8432 i386/t-cpuinfo ...
8433 (i[34567]86-*-*, x86_64-*-*): ... here.
8434
8435 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
8436 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
8437
8438 * config/i386/i386-cpuinfo.c: Rename to ...
8439 * config/i386/cpuinfo.c: ... this.
8440 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
8441
8442 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
8443 (libgcc_cv_init_priority): New test.
8444 * configure: Regenerate.
8445 * config.in: New file.
8446 * Makefile.in (clean): Rename config.h to auto-target.h.
8447 (config.h): Likewise.
8448 (stamp-h): Likewise.
8449
8450 * config/i386/cpuinfo.c (auto-target.h): Include.
8451 (CONSTRUCTOR_PRIORITY): Define.
8452 (__cpu_indicator_init): Use it.
8453
0d03ac1b
L
84542012-05-09 H.J. Lu <hongjiu.lu@intel.com>
8455
8456 * longlong.h: Use a URL instead of an FSF postal address.
8457 Replace spaces with tab.
8458
4a172156 84592012-05-08 Teresa Johnson <tejohnson@google.com>
4e8ee9cb
TJ
8460
8461 * libgcov.c (gcov_clear, __gcov_reset): New functions.
8462 (__gcov_dump): Ditto.
8463 (gcov_dump_complete): New global variable.
8464 (gcov_exit): Export hidden to enable use in L_gcov_dump.
8465 (__gcov_flush): Outline functionality now in gcov_clear.
8466 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
8467
e4bb767e
AJ
84682012-04-28 Aurelien Jarno <aurelien@aurel32.net>
8469
31a18a7e
ILT
8470 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
8471 (mips*-*-linux*): Include mips/t-tpbit when long double is
8472 16 bytes long.
e4bb767e 8473
5ddecff9
ST
84742012-04-25 Sriraman Tallam <tmsriram@google.com>
8475
8476 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
8477 (get_available_features): New argument. Check for AVX2.
8478 (__cpu_indicator_init): Modify call to get_available_features.
8479
b427dd7a
AM
84802012-04-25 Alan Modra <amodra@gmail.com>
8481
8482 * config/rs6000/crtsavevr.S: New file.
8483 * config/rs6000/crtrestvr.S: New file.
8484 * config/rs6000/t-savresfgpr: Build the above.
8485 * config/rs6000/t-netbsd: Likewise.
8486
ad491329
ST
84872012-04-24 Sriraman Tallam <tmsriram@google.com>
8488
8489 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
8490
792317cc
ST
84912012-04-24 Sriraman Tallam <tmsriram@google.com>
8492
8493 * libgcc/config/i386/i386-cpuinfo.c: New file.
8494 * libgcc/config/i386/t-cpuinfo: New file.
8495 * libgcc/config.host: Include t-cpuinfo.
8496 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
8497
e1be98a4
CF
84982012-04-24 Chao-ying Fu <fu@mips.com>
8499
8500 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
8501
1bde7dab
TS
85022012-04-20 Thomas Schwinge <thomas@codesourcery.com>
8503
8504 struct siginfo vs. siginfo_t
8505
8506 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
8507 siginfo_t instead of struct siginfo.
8508 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
8509 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
8510 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
8511 (ia64_handle_unwabi): Likewise.
8512 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
8513 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
8514 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
8515 (sh_fallback_frame_state): Likewise.
8516 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
8517 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
8518
24590f66
L
85192012-04-02 H.J. Lu <hongjiu.lu@intel.com>
8520
8521 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
8522 system call number.
8523
9a9dcce8
EB
85242012-03-31 Eric Botcazou <ebotcazou@adacore.com>
8525
8526 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
8527 if it hasn't been previously saved.
8528
6401aaf5
L
85292012-03-29 H.J. Lu <hongjiu.lu@intel.com>
8530
8531 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
8532 only for glibc.
8533
7fd6378e
GJL
85342012-03-28 Georg-Johann Lay <avr@gjlay.de>
8535
8536 PR target/52737
8537 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
8538 instead of __AVR_HAVE_8BIT_SP__.
8539
9e916de7
TG
85402012-03-26 Tristan Gingold <gingold@adacore.com>
8541
8542 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
8543 (unw_table_entry): Use unw_word instead of unsigned long.
8544 (_Unwind_FindTableEntry): Likewise.
8545 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
8546 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
8547 (_Unwind_FindTableEntry): Likewise.
8548 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
8549 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
8550 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
8551 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
8552 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
8553 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
8554 (uw_init_context_1, uw_install_context): Likewise.
8555 (unw_word): Move to unwind-ia64.h
8556
4b12e93d
TG
85572012-03-26 Tristan Gingold <gingold@adacore.com>
8558
8559 * config/vms/vms-ucrt0.c: Update copyright years.
8560 Add a sanity check.
8561 (___gcc_main_flags): Declare.
8562 (__main): Check flags to remap argv and exit code.
8563 * config.host (*-*-*vms*): Adjust extra_parts.
8564 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
8565 (crt0.o): Add.
8566
06ea7371
RE
85672012-03-22 Richard Earnshaw <rearnsha@arm.com>
8568
8569 * arm/lib1funcs.asm (ctzsi2): New function.
8570 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
8571 * arm/t-linux (LIB1ASMFUNCS): Likewise.
8572 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
8573 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
8574 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
8575 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
8576
d82ad50d
AT
85772012-03-21 Andreas Tobler <andreast@fgznet.ch>
8578
8579 * config.host: Add bits to support powerpc64-*-freebsd*.
8580 * config/rs6000/freebsd-unwind.h: New file.
8581 * config/rs6000/t-freebsd64: New file.
8582
b260a8c0
RG
85832012-03-20 Richard Guenther <rguenther@suse.de>
8584
8585 PR gcov-profile/52627
8586 * libgcov.c (init_mx): Fix mutex name.
8587
86286a8a
TG
85882012-03-16 Tristan Gingold <gingold@adacore.com>
8589
8590 * config/ia64/vms-unwind.h: Remove ulong (and replace
8591 it by unw_reg where used). Define unw_reg with __int64.
8592
7888f266
RO
85932012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8594
8595 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
8596 Solaris 8 handling.
8597 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
8598 Solaris 8 handling.
8599 (sparc_is_sighandler): Likewise.
8600
f155bc64
L
86012012-03-13 H.J. Lu <hongjiu.lu@intel.com>
8602
8603 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
8604 <= saved reg size.
8605
d47657bd
RO
86062012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8607
8608 * config/arm/crtn.S: Fix typo.
8609
5bef73a1
RG
86102012-03-13 Richard Guenther <rguenther@suse.de>
8611
8612 * libgcov.c: Remove stdio.h include and NULL un-define.
8613
9c4271f3
RG
86142012-03-13 Richard Guenther <rguenther@suse.de>
8615
8616 PR target/52569
8617 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
8618
c6d10e7c
RG
86192012-03-13 Richard Guenther <rguenther@suse.de>
8620
8621 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
8622
074a385f
RG
86232012-03-13 Richard Guenther <rguenther@suse.de>
8624
8625 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
8626 and __gthread_mutex_init_function definitions.
8627
c4bc5c25
RO
86282012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8629
8630 * config.host (mips*-*-openbsd*): Remove.
8631
5c30094f
RO
86322012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8633
8634 * config.host: Remove alpha*-dec-osf5.1* handling.
8635 * config/alpha/gthr-posix.c: Remove.
8636 * config/alpha/libgcc-osf5.ver: Remove.
8637 * config/alpha/osf5-unwind.h: Remove.
8638 * config/alpha/t-osf-pthread: Remove.
8639 * config/alpha/t-slibgcc-osf: Remove.
8640 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
8641 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
8642 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
8643 * mkmap-flat.awk: Remove osf_export handling.
8644
33e3e24d
RG
86452012-03-12 Richard Guenther <rguenther@suse.de>
8646
8647 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
8648 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
8649 (__gthread_mutex_init_function): New function.
8650 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
8651
8652 PR gcov/49484
8653 * libgcov.c: Include gthr.h.
8654 (__gcov_flush_mx): New global variable.
8655 (init_mx, init_mx_once): New functions.
8656 (__gcov_flush): Protect self with a mutex.
8657 (__gcov_fork): Re-initialize mutex after forking.
8658 * unwind-dw2-fde.c: Change condition under which to use
8659 __GTHREAD_MUTEX_INIT_FUNCTION.
8660
d8aba32a
TG
86612012-03-12 Tristan Gingold <gingold@adacore.com>
8662
8663 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
8664 * config/ia64/t-vms: Likewise.
8665
75ffafdc
MH
86662012-03-11 Michael Hope <michael.hope@linaro.org>
8667
4a172156
UB
8668 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
8669 for Thumb-2.
75ffafdc 8670
ef6c2c53
WL
86712012-03-07 Walter Lee <walt@tilera.com>
8672
8673 * config/tilepro/atomic.c: Rename "atomic_" prefix to
8674 "arch_atomic_".
8675 (atomic_xor): Rename and move definition to
8676 config/tilepro/atomic.h.
8677 (atomic_nand): Ditto.
8678 * config/tilepro/atomic.h: Rename "atomic_" prefix to
8679 "arch_atomic_".
8680 (arch_atomic_xor): Move from config/tilepro/atomic.c.
8681 (arch_atomic_nand): Ditto.
8682
4e30d980
GJL
86832012-03-07 Georg-Johann Lay <avr@gjlay.de>
8684
8685 PR target/52507
8686 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
8687
61108225
GJL
86882012-03-07 Georg-Johann Lay <avr@gjlay.de>
8689
8690 PR target/52505
8691 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
8692 from RAM.
8693
b30e10ab
GJL
86942012-03-07 Georg-Johann Lay <avr@gjlay.de>
8695
8696 PR target/52461
8697 PR target/52508
8698 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
8699 if RAMPZ affects reading from RAM.
8700 (__tablejump_elpm__): Ditto.
8701 (.xload): Ditto.
8702 (__movmemx_hi): Ditto.
8703 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
8704 (__do_global_dtors): Ditto.
8705 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
8706 (__movmemx_hi): Ditto.
8707
8993fde4
RH
87082012-03-05 Richard Henderson <rth@redhat.com>
8709
8710 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
8711 [ARM] (count_trailing_zeros): Use the builtin.
8712
b7633ee3
KT
87132012-03-01 Kai Tietz <ktietz@redhat.com>
8714
8715 * soft-fp: Imported from glibc upstream.
8716
fbd3340c
KT
87172012-02-28 Kai Tietz <ktietz@redhat.com>
8718
8719 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
8720 for mingw-targets as attribute gcc_struct.
8721
e9e053eb
ILT
87222012-02-28 Ian Lance Taylor <iant@google.com>
8723
8724 * generic-morestack.c (__splitstack_releasecontext): Correct call
8725 to __morestack_release_segments.
8726
d80c632e
ST
87272012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
8728
8729 PR target/52390
8730 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
8731 for __linux__ when removing signals from __morestack_fullmask.
8732
0253a8b1
GJL
87332012-02-23 Georg-Johann Lay <avr@gjlay.de>
8734
8735 PR target/52261
8736 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
8737
e10e461e
UW
87382012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8739
8740 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
8741 instead of HAVE_INITFINI_ARRAY.
8742 * config/ia64/crtend.S: Likewise.
8743
0c0c6398
KT
87442012-02-20 Kai Tietz <ktietz@redhat.com>
8745
d7470374
KT
8746 PR libstdc++/52300
8747 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
8748
0c0c6398
KT
8749 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
8750 to w32-unwind.h header.
8751
78c27266
RS
87522012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
8753
8754 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
8755 (mips*-*-linux*): Remove t-slibgcc-libgcc.
8756 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
8757 * config/mips/mips16.S (__mips16_rdhwr): Delete.
8758
5adeb246
RS
87592012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
8760
8761 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
8762
672ed313
IS
87632012-02-15 Iain Sandoe <iains@gcc.gnu.org>
8764
8765 PR libitm/52220
8766 * config/darwin-crt-tm.c: Correct typo.
e9e053eb 8767
e948a1fb
IS
87682012-02-15 Iain Sandoe <iains@gcc.gnu.org>
8769 Patrick Marlier <patrick.marlier@gmail.com>
8770
8771 PR libitm/52220
8772 * config/darwin-crt-tm.c: Generate dummy functions.
8773
6017aed3
IS
87742012-02-15 Iain Sandoe <iains@gcc.gnu.org>
8775 Patrick Marlier <patrick.marlier@gmail.com>
8776
8777 PR libitm/52042
8778 * config/darwin-crt-tm.c (getTMCloneTable): New function.
8779 (__doTMRegistrations): Call it.
e9e053eb 8780 (__doTMdeRegistrations): Likewise.
6017aed3 8781
2da8c1ad 87822012-01-15 Georg-Johann Lay <avr@gjlay.de>
7d296953
JJ
8783 Anatoly Sokolov <aesok@post.ru>
8784 Eric Weddington <eric.weddington@atmel.com>
2da8c1ad
GJL
8785
8786 PR target/52261
8787 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
8788 (__epilogue_restores__): Ditto.
8789
0f952eb4
EB
87902012-02-15 Eric Botcazou <ebotcazou@adacore.com>
8791
8792 PR target/51921
8793 PR target/52205
8794 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
8795 Solaris 11 and slightly reformat.
8796 (sparc_is_sighandler): Likewise.
8797
dd552284
WL
87982012-02-14 Walter Lee <walt@tilera.com>
8799
8800 * config.host: Handle tilegx and tilepro.
8801 * config/tilegx/sfp-machine.h: New file.
8802 * config/tilegx/sfp-machine32.h: New file.
8803 * config/tilegx/sfp-machine64.h: New file.
8804 * config/tilegx/t-crtstuff: New file.
8805 * config/tilegx/t-softfp: New file.
8806 * config/tilegx/t-tilegx: New file.
8807 * config/tilepro/atomic.c: New file.
8808 * config/tilepro/atomic.h: New file.
8809 * config/tilepro/linux-unwind.h: New file.
8810 * config/tilepro/sfp-machine.h: New file.
8811 * config/tilepro/softdivide.c: New file.
8812 * config/tilepro/softmpy.S: New file.
8813 * config/tilepro/t-crtstuff: New file.
8814 * config/tilepro/t-tilepro: New file.
8815
b59cbd50
JW
88162012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
8817
8818 PR libstdc++/51296
8819 PR libstdc++/51906
8820 * gthr-posix.h: Allow static initializer macros to be disabled.
8821 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
8822
6caf807f
CLT
88232012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
8824
8825 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
8826 Add t-slibgcc-libgcc to tmake_file.
8827 * config/mips/libgcc-mips16.ver: Revert previous patch.
8828 * config/mips/mips16.S (__mips16_rdhwr): Hide.
8829
7d296953
JJ
88302012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
8831 Jayant R Sonar <jayant.sonar@kpitcummins.com>
b25364a0
S
8832
8833 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
8834 * config/cr16/crti.S: New file.
8835 * config/cr16/crtlibid.S: New file.
8836 * config/cr16/crtn.S: New file.
8837 * config/cr16/lib1funcs.S: New file.
8838 * config/cr16/t-cr16: New file.
8839 * config/cr16/t-crtlibid: New file.
8840 * config/cr16/unwind-dw2.h: New file.
8841 * config/cr16/unwind-cr16.c: New file.
8842 * config/cr16/divmodhi3.c: New file.
8843
8ef03aa7
AM
88442012-01-25 Alan Modra <amodra@gmail.com>
8845
8846 * config/rs6000/t-linux64: Delete. Move..
8847 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
8848 * config/rs6000/t-linux: ..and libgcc flags to here.
8849
daecebc8
DR
88502012-01-22 Douglas B Rupp <rupp@gnat.com>
8851
8852 * config.host (i[34567]86-*-interix3*):
8ef03aa7 8853 Change triplet to i[34567]86-*-interix[3-9]*.
daecebc8
DR
8854 * configure: Regenerate.
8855
ddaf8125
RS
88562012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
8857 Richard Sandiford <rdsandiford@googlemail.com>
8858
8859 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
8860 * config/mips/mips16.S (__mips16_rdhwr): New function.
8861 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
8862
2cd8b32c
NS
88632012-01-11 Nathan Sidwell <nathan@acm.org>
8864
8865 * libgcov.c (__gcov_init): Ignore objects with no functions.
8866
cba300dd
GJL
88672012-01-10 Georg-Johann Lay <avr@gjlay.de>
8868
8869 PR target/49868
8870 Extend __pgmx semantics to linearize memory.
8871 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
8872 * config/avr/lib1funcs.S (__xload_1): New function.
8873 (__movmemx_qi, __movmemx_hi): New functions.
8874 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
8875 semantics.
9ffaf4bc 8876
3d137660
EB
88772012-01-09 Eric Botcazou <ebotcazou@adacore.com>
8878
8879 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
8880 purported sigacthandler address isn't null before dereferencing it.
8881 (sparc_is_sighandler): Likewise.
8882
bf4db96c
EB
88832012-01-09 Eric Botcazou <ebotcazou@adacore.com>
8884
8885 PR ada/41929
8886 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
8887 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
8888 (sparc_is_sighandler): Likewise.
8889 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
8890
1ab3568b
TG
88912012-01-06 Tristan Gingold <gingold@adacore.com>
8892
8893 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
8894 compatibility thunks...
8895 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
8896 (crtbeginS.o, crtendS.o): ... and these to ...
8897 * config/ia64/t-ia64-elf: ... this new file.
8898 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
8899 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
8900
925b0ed8
AK
89012012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8902
8903 * configure: Regenerate.
8904 * config/s390/t-crtstuff: Remove -fPIC.
8905
a99ad737
JW
89062012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
8907
8908 PR bootstrap/51006
8909 * enable-execute-stack-mprotect.c (getpagesize): Do not define
8910 for NetBSD.
8911
884f56d1
GJL
89122012-01-02 Georg-Johann Lay <avr@gjlay.de>
8913
8914 PR target/51345
8915 * config/avr/lib1funcs.S: Remove FIXME comments.
8916 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
8917
8c57e547
GJL
89182012-01-02 Georg-Johann Lay <avr@gjlay.de>
8919
8920 Implement light-weight DImode support.
8921 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
8922 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
8923 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
8924 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
8925
04dbc287
NS
89262011-12-30 Nathan Sidwell <nathan@acm.org>
8927
8928 * libgcov.c (gcov_crc32): Remove global var.
8929 (free_fn_data): New function.
8930 (buffer_fn_data): Pass in filename, more robust error recovery.
8931 (crc32_unsigned): New function.
8932 (gcov_exit): More robust detection of new program. More robust
8933 error recovery.
8934 (__gcov_init): Do not update program's crc here.
8935
8e1d97d4
TG
89362011-12-21 Tristan Gingold <gingold@adacore.com>
8937
8938 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
8939
9ffaf4bc
ILT
89402011-12-21 Ian Lance Taylor <iant@google.com>
8941
8942 * config/i386/morestack.S: Simplify CFI opcodes throughout.
8943
a0c8d0c1
ILT
89442011-12-20 Ian Lance Taylor <iant@google.com>
8945
8946 * config/i386/morestack.S (__morestack_non_split): If there is
8947 enough stack space already, don't split. Ask for more stack space
8948 than we required.
8949
69048898
SDJ
89502011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
8951
8952 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
8953 `sys/sdt.h'.
8954 (_Unwind_DebugHook): New function.
8955 (uw_restore_core_regs): New define.
8956 (unwind_phase2): Use uw_restore_core_regs instead of
8957 restore_core_regs.
8958 (unwind_phase2_forced): Likewise.
8959 (__gnu_Unwind_Resume): Likewise.
8960
1bb4b6a3
UB
89612011-12-20 Uros Bizjak <ubizjak@gmail.com>
8962
8963 * config/alpha/linux-unwind.h: Update copyright years.
8964 (MD_FROB_UPDATE_CONTEXT): New define.
8965 (alpha_frob_update_context): New function.
8966
eb028768
RS
89672011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
8968
8969 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
8970 tmake_file rather replacing it.
8971
6a2045bf
IS
89722011-12-15 Iain Sandoe <iains@gcc.gnu.org>
8973
8974 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1bb4b6a3 8975 function is not used for PPC64.
6a2045bf
IS
8976 (save_world): Amend comments. Update the VRsave mask to reflect the
8977 saved regs.
8978 (rest_world): Update comments, do not clobber r10, do not use r8.
8979 (eh_rest_world_r10): Amend comments, do not use r8.
8980 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
8981 no longer used, move restore of CR and target address to the end of
8982 the routine.
8983
a13780a6
L
89842011-12-14 H.J. Lu <hongjiu.lu@intel.com>
8985
8986 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
8987 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
8988
d7288dfb
GJL
89892011-12-14 Georg-Johann Lay <avr@gjlay.de>
8990
8991 PR target/49313
8992 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
8993 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
8994
8d2c862d
EB
89952011-12-11 Eric Botcazou <ebotcazou@adacore.com>
8996
8997 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
8998
3447cae6
GJL
89992011-12-09 Georg-Johann Lay <avr@gjlay.de>
9000
9001 PR target/49313
9002 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
9003 * config/avr/lib1funcs.S (__muldi3): New function.
9004
806fc6aa
AP
90052011-12-06 Andrew Pinski <apinski@cavium.com>
9006
9007 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
9008 size of func_ptr.
9009 (__frame_dummy_init_array_entry): Likewise.
9010
28c5e6b5
GJL
90112011-12-06 Georg-Johann Lay <avr@gjlay.de>
9012
9013 Forward-port from gcc-4_6-branch r181936 2011-12-02.
9014
9015 PR target/51345
9016 PR target/51002
9017 * config/avr/lib1funcs.S (__prologue_saves__,
9018 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
9019 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
9020
8f90394a
IS
90212011-12-04 Iain Sandoe <iains@gcc.gnu.org>
9022
9023 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
9024
06dd33ac
JDA
90252011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9026
9027 PR other/51272
9028 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
9029 (_ITM_deregisterTMCloneTable): Likewise.
9030 (__register_frame_info): Fix unused warning.
9031 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
9032 pthread_default_stacksize_np): Likewise.
9033 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1bb4b6a3 9034
85b8555e
DD
90352011-11-29 DJ Delorie <dj@redhat.com>
9036
9037 * config.host (rl78-*-elf): New case.
9038 * config/rl78: New directory for the Renesas RL78.
9039
4d5ae4ea
BS
90402011-11-29 Bernd Schmidt <bernds@codesourcery.com>
9041
9042 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
9043 formatting.
9044
f9c55897
RO
90452011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9046
9047 PR other/51022
9048 * config/rs6000/t-savresfgpr: New file.
9049 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
9050 $(srcdir)/config/rs6000/eabi.S.
9051 * config/rs6000/t-ppccomm-ldbl: Remove.
9052 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
9053 tmake_file.
9054 (powerpc-*-eabispe*): Likewise.
9055 (powerpc-*-eabi*): Likewise.
9056 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9057 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
9058 to tmake_file, remove rs6000/t-ppccomm-ldbl.
9059 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
9060 tmake_file.
9061 (powerpc-*-eabisim*): Likewise.
9062 (powerpc-*-elf*): Likewise.
9063 (powerpc-*-eabialtivec*): Likewise.
9064 (powerpc-xilinx-eabi*): Likewise.
9065 (powerpc-*-rtems*): Likewise.
9066 (powerpcle-*-elf*): Likewise.
9067 (powerpcle-*-eabisim*): Likewise.
9068 (powerpcle-*-eabi*): Likewise.
9069
a01207c4
ILT
90702011-11-27 Ian Lance Taylor <iant@google.com>
9071
9072 * generic-morestack.c (__splitstack_find): Check for NULL old
9073 stack value.
9074 (__splitstack_resetcontext): New function.
9075 (__splitstack_releasecontext): New function.
9076 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
9077
2b0b8ab2
IS
90782011-11-27 Iain Sandoe <iains@gcc.gnu.org>
9079
9080 * config/darwin-crt-tm.c: Correct comments, use correct licence.
9081
c1d8101c
IS
90822011-11-27 Iain Sandoe <iains@gcc.gnu.org>
9083
9084 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
9085
8b281334
RH
90862011-11-26 Richard Henderson <rth@redhat.com>
9087
9088 * config/m68k/linux-atomic.c: New file.
9089 * config/m68k/t-linux: New file.
9090 * config.host (m68k-uclinux, m68k-linux): Use it.
9091
7546aa9d
RH
90922011-11-26 Richard Henderson <rth@redhat.com>
9093
9094 * crtstuff.c (__TMC_LIST__): Mark used not unused.
9095 (__TMC_END__): Only declare if hidden is available; in the definition,
9096 if hidden is unavailable add a null record.
9097 (deregister_tm_clones, register_tm_clones): New.
9098 (__do_global_dtors_aux, frame_dummy): Use them.
9099 (__do_global_dtors, __do_global_ctors_1): Likewise.
9100
e2362f5d
IS
91012011-11-22 Iain Sandoe <iains@gcc.gnu.org>
9102
9103 * config/darwin-crt-tm.c: New file.
9104 * config.host (darwin): Build crttms.o crttme.o to provide
9105 startup and shutdown for tm clones.
9106 * config/t-darwin (crttms.o): New build rule.
9107 (crttme.o): Likewise.
9108
6685dd96
HPN
91092011-11-21 Hans-Peter Nilsson <hp@axis.com>
9110
9111 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
9112 et al.
9113
b0dc7e4c
RH
91142011-11-21 Richard Henderson <rth@redhat.com>
9115
9116 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
9117 (__TMC_LIST__, __TMC_END__): New.
9118 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
9119 (__do_global_dtors): Likewise.
9120 (frame_dummy): Call _ITM_registerTMCloneTable.
9121 (__do_global_ctors_1): Likewise.
9122
d4b4b542
RO
91232011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9124
9125 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
9126 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
9127 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
9128 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
9129 * config/i386/t-darwin64: Remove.
9130 * config/sh/t-netbsd (LIB2ADD): Remove.
9131
989bdb74
GJL
91322011-11-21 Georg-Johann Lay <avr@gjlay.de>
9133
9134 PR target/49313
9135 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
9136 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
9137 * config/avr/lib1funcs.S (wmov): New assembler macro.
9138 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
9139 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
9140 (__udivmod64): New function.
9141 (__negdi2): New function.
9142
515a0cfc
GP
91432011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
9144
9145 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
9146 *-*-freebsd*aout*): Remove.
9147
0115d17f
HPN
91482011-11-20 Hans-Peter Nilsson <hp@axis.com>
9149
9150 * static-object.mk (c_flags-$o): Save c_flags.
9151 ($(base)$(objext)): Use it.
9152
93aeb62b
SE
91532011-11-18 Steve Ellcey <sje@cup.hp.com>
9154
9155 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
9156
7bc6df2c
GJL
91572011-11-18 Georg-Johann Lay <avr@gjlay.de>
9158
9159 PR target/49868
9160 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
9161 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
9162 New functions.
9163
425d737b
MGD
91642011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
9165
9166 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
9167 functions.
1bb4b6a3 9168 (aeabi_uidivmod): Likewise.
425d737b
MGD
9169 (umodsi3): Likewise.
9170 (divsi3): Likewise.
9171 (aeabi_idivmod): Likewise.
9172 (modsi3): Likewise.
9173
f2a176dc
TG
91742011-11-16 Tristan Gingold <gingold@adacore.com>
9175
9176 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
9177
7c209481
GJL
91782011-11-15 Georg-Johann Lay <avr@gjlay.de>
9179
9180 PR target/49868
9181 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
9182 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
9183
9dfd5832
JDA
91842011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9185
9186 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
9187 tmake_file list.
9188 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
9189 * config/pa/t-stublib64: Delete.
9190
f77dca5d
RH
91912011-11-12 Richard Henderson <rth@redhat.com>
9192
9193 * config/rs6000/linux-unwind.h (frob_update_context): Properly
9194 cast the pointer argument to _Unwind_SetGRPtr.
9195
902828f0
RO
91962011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9197
9198 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
9199
e14304ef
ILT
92002011-11-09 Ian Lance Taylor <iant@google.com>
9201
9202 * generic-morestack.c: Include <string.h>.
9203 (uintptr_type): Define.
9204 (struct initial_sp): Add dont_block_signals field. Reduce size of
9205 extra array by 1.
9206 (allocate_segment): Set prev field to NULL. Don't set
9207 __morestack_current_segment or __morestack_segments.
9208 (__generic_morestack): Update current->prev and *pp after calling
9209 allocate_segment.
9210 (__morestack_block_signals): Don't do anything if
9211 dont_block_signals is set.
9212 (__morestack_unblock_signals): Likewise.
9213 (__generic_findstack): Check for initial_sp == NULL. Add casts to
9214 uintptr_type.
9215 (__splitstack_block_signals): New function.
9216 (enum __splitstack_content_offsets): Define.
9217 (__splitstack_getcontext, __splitstack_setcontext): New functions.
9218 (__splitstack_makecontext): New function.
9219 (__splitstack_block_signals_context): New function.
9220 (__splitstack_find_context): New function.
9221 * config/i386/morestack.S (__morestack_get_guard): New function.
9222 (__morestack_set_guard, __morestack_make_guard): New functions.
9223 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
9224
e3d871e4
RO
92252011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9226
9227 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
9228 (i[34567]86-*-mingw*): ... here.
9229 (x86_64-*-mingw*): ... here.
9230
e55cef40
RO
92312011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9232
9233 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
9234
5366b186
NS
92352011-11-07 Nathan Sidwell <nathan@acm.org>
9236
9237 * libgcov.c (struct gcov_fn_buffer): New struct.
9238 (buffer_fn_data): New helper.
9239 (gcov_exit): Rework for new gcov data structures.
9240
74155a6f
GJL
92412011-11-07 Georg-Johann Lay <avr@gjlay.de>
9242
9243 PR target/49313
9244 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
9245
200feb07
RO
92462011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9247
9248 * config.host (tmake_file): Correct comment.
9249 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
9250 t-libgcc-pic.
9251 (bfin*-uclinux*): Likewise.
9252 (bfin*-linux-uclibc*): Likewise.
9253 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
9254
9255 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
9256 assigning.
9257 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9258 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
9259 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9260 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
9261 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9262 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
9263 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
9264 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9265 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
9266 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
9267 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
9268 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
9269 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
9270
9271 * config/bfin/t-elf: Remove.
9272 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
9273
c9cd1a07
RO
92742011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9275
9276 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
9277 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
9278 (lm32-*-elf*, lm32-*-rtems*): Split into ...
9279 (lm32-*-elf*): ... this.
9280 (lm32-*-rtems*): ... and this.
9281 Add to tmake_file.
9282 (m32r-*-rtems*): Add to tmake_file.
9283 (moxie-*-rtems*): Likewise.
9284 (sparc-*-rtems*): Likewise.
9285 Remove t-rtems from tmake_file.
9286 (sparc64-*-rtems*): Likewise.
9287 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
9288 instead.
9289
9fbcc75d
RO
92902011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9291
9292 PR bootstrap/50982
9293 * config/gthr-posix.h: Move ...
9294 * gthr-posix.h: ... here.
9295 * config/gthr-lynx.h: Reflect this.
9296 * config/gthr-vxworks.h: Likewise.
9297 * config/rs6000/gthr-aix.h: Likewise.
9298 * configure.ac (target_thread_file): Likewise.
9299 * configure: Regenerate.
9300
76644b68
SH
93012011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
9302
9303 * config.host (arm*-*-rtemseabi*): New target.
9304
5e490f2a
JDA
93052011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9306
9307 PR other/50991
9308 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
9309 extra-parts.
9310
feeeff5c
JR
93112011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
9312
9313 * config.host (epiphany-*-elf*): New configuration.
9314 * config/epiphany: New Directory.
9315
d618bb2c
RC
93162011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
9317
9318 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
9319 * config/avr/t-rtems: New.
9320 Filter out _exit from LIB1ASMFUNCS.
9321
1bb6f778
DM
93222011-11-04 David S. Miller <davem@davemloft.net>
9323
9324 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
9325 * configure: Rebuild.
9326
9a7f7422
AK
93272011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9328
9329 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
9330 variable.
9331
e4fe948a
GJL
93322011-11-04 Georg-Johann Lay <avr@gjlay.de>
9333
9334 PR target/50931
9335 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
9336 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
9337
7084e037
JS
93382011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
9339
9340 PR target/50989
9341 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
9342
1a032034
RO
93432011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9344
9345 * config/c6x/t-elf (LIB2ADDEH): Set.
9346 * config/c6x/t-c6x-elf: Remove.
9347
d385f772
RO
93482011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9349
9350 * config/i386/sol2-ci.S: Rename to ...
9351 * config/i386/crti.S: ... this.
9352 * config/i386/sol2-cn.S: Rename to ...
9353 * config/i386/crtn.S: ... this.
9354 * config/sparc/sol2-ci.S: Rename to ...
9355 * config/sparc/crti.S: ... this.
9356 * config/sparc/sol2-cn.S: Rename to ...
9357 * config/sparc/crtn.S: ... this.
9358 * config/t-sol2 (CUSTOM_CRTIN): Remove.
9359 (crti.o, crtn.o): Remove.
9360
1ba878a9
TG
93612011-11-04 Tristan Gingold <gingold@adacore.com>
9362
9363 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
9364
02750c15
KK
93652011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
9366
9367 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
9368
bf86b067
HPN
93692011-11-03 Hans-Peter Nilsson <hp@axis.com>
9370
9371 * config.host (crisv32-*-none, cris-*-none): Remove.
9372 (crisv32-*-elf): Append to tmake_file, don't just set it.
9373 (cris-*-elf): Add missing t-fdpbit to tmake_file.
9374
d0bc53bd
RO
93752011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9376
9377 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
9378 (ecrtn$(objext)): Likewise.
9379 (ncrti$(objext)): Likewise.
9380 (ncrtn$(objext)): Likewise.
9381
036da830
AS
93822011-11-03 Andreas Schwab <schwab@redhat.com>
9383
9384 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
9385
d2a7d041
DM
93862011-11-02 David S. Miller <davem@davemloft.net>
9387
9388 * configure.ac: Set host_address on sparc too.
9389 * configure: Regenerate.
9390 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
9391 based upon host_address.
9392 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
9393
af8ed618
JM
93942011-11-02 Jason Merrill <jason@redhat.com>
9395
9396 * config/rs6000/t-ppccomm: Add missing \.
9397
5d1c8e77
RO
93982011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9399
9400 * gthr-single.h, gthr.h: New files.
9401 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
9402 config/gthr-vxworks.h, config/i386/gthr-win32.h,
9403 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
9404 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
9405 * config/i386/gthr-win32.c: Include "gthr-win32.h".
9406 * configure.ac (thread_header): New variable.
9407 Set it depending on target_thread_file.
9408 (gthr-default.h): Link from $thread_header.
9409 * configure: Regenerate.
9410 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
9411
852b75ed
RO
94122011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9413
9414 * configure.ac (tm_file_): New variable.
9415 Determine from tm_file.
9416 (tm_file, tm_defines): Substitute.
9417 * configure: Regenerate.
9418 * mkheader.sh: New file.
9419 * Makefile.in (clean): Remove libgcc_tm.h.
9420 ($(objects)): Depend on libgcc_tm.h.
9421 (libgcc_tm_defines, libgcc_tm_file): New variables.
9422 (libgcc_tm.h, libgcc_tm.stamp): New targets.
9423 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
9424 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
9425 ($(extra-parts)): Depend on libgcc_tm.h.
9426 * config.host (tm_defines, tm_file): New variable.
9427 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
9428 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
9429 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
9430 (avr-*-rtems*): Likewise.
9431 (avr-*-*): Likewise.
9432 (frv-*-elf): Likewise.
9433 (frv-*-*linux*): Likewise.
9434 (h8300-*-rtems*): Likewise.
9435 (h8300-*-elf*): Likewise.
9436 (i[34567]86-*-darwin*): Likewise.
9437 (x86_64-*-darwin*): Likewise.
9438 (rx-*-elf): Likewise.
9439 (tic6x-*-uclinux): Likewise.
9440 (tic6x-*-elf): Likewise.
9441 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
9442 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
9443 * config/i386/cygming-crtbegin.c: Likewise.
9444 * config/i386/cygming-crtend.c: Likewise.
9445 * config/ia64/fde-vms.c: Likewise.
9446 * config/ia64/unwind-ia64.c: Likewise.
9447 * config/libbid/bid_gcc_intrinsics.h: Likewise.
9448 * config/rs6000/darwin-fallback.c: Likewise.
9449 * config/stormy16/lib2funcs.c: Likewise.
9450 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
9451 * crtstuff.c: Likewise.
9452 * dfp-bit.h: Likewise.
9453 * emutls.c: Likewise.
9454 * fixed-bit.c: Likewise.
9455 * fp-bit.c: Likewise.
9456 * generic-morestack-thread.c: Likewise.
9457 * generic-morestack.c: Likewise.
9458 * libgcc2.c: Likewise.
9459 * libgcov.c: Likewise.
9460 * unwind-dw2-fde-dip.c: Likewise.
9461 * unwind-dw2-fde.c: Likewise.
9462 * unwind-dw2.c: Likewise.
9463 * unwind-sjlj.c: Likewise.
9464
f9989b51
RO
94652011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9466
9467 * configure.ac: Include ../config/picflag.m4.
9468 (GCC_PICFLAG): Call it.
9469 Substitute.
9470 * configure: Regenerate.
9471 * Makefile.in (gcc_srcdir): Remove.
9472 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
9473 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
9474 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
9475 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
9476 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
9477 Use $<.
9478 Remove comment.
9479 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
9480 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
9481 to refer to libgcc2.c.
9482 Use $<.
9483 * config/darwin-64.c: New file.
9484 * config/darwin-crt3.c: Remove comment.
9485 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
9486 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
9487 config/udivmodsi4.c: New files.
9488 * config/memcmp.c, config/memcpy.c, config/memmove.c,
9489 config/memset.c: New files.
9490 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
9491 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
9492 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
9493 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
9494 * config/t-openbsd-thread: New file.
9495 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
9496 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
9497 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
9498 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
9499 qrnnd.S.
9500 Adapt filename.
9501 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
9502 to refer to gthr-posix.c.
9503 * config/alpha/t-vms (LIB2ADD): Set.
9504 * config/alpha/vms-gcc_shell_handler.c: New file.
9505 * config/arm/bpabi.c, config/arm/fp16.c,
9506 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
9507 config/arm/unaligned-funcs.c: New files.
9508 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
9509 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
9510 * config/arm/t-linux: Likewise.
9511 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
9512 * config/arm/t-netbsd: New file.
9513 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
9514 * config/arm/t-symbian (LIB2ADD_ST): Set.
9515 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
9516 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9517 * config/bfin/t-elf: New file.
9518 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
9519 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
9520 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
9521 config/c6x/ltf.c: New files.
9522 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
9523 (HOST_LIBGCC2_CFLAGS): Set.
9524 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
9525 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9526 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
9527 New files.
9528 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
9529 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
9530 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
9531 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
9532 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
9533 files.
9534 * config/frv/t-frv (LIB2ADD): Set.
9535 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9536 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
9537 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
9538 config/h8300/popcounthi2.c: New files.
9539 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
9540 * config/i386/gthr-win32.c: New file.
9541 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
9542 * config/i386/t-cygwin: Likewise.
9543 * config/i386/t-darwin, config/i386/t-darwin64,
9544 config/i386/t-gthr-win32, config/i386/t-interix: New files.
9545 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
9546 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9547 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9548 * config/ia64/quadlib.c: New file.
9549 * config/ia64/t-hpux (LIB2ADD): Set.
9550 * config/ia64/t-ia64: Add comment.
9551 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
9552 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9553 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
9554 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
9555 * config/m32c/t-m32c (LIB2ADD): Set.
9556 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
9557 * config/m32r/t-m32r: Likewise.
9558 * config/m68k/fpgnulib.c: New file.
9559 * config/m68k/t-floatlib (LIB2ADD): Set.
9560 (xfgnulib.c): New target.
9561 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
9562 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
9563 * config/mep/t-mep (LIB2ADD): Set.
9564 * config/microblaze/divsi3.asm: Rename to divsi3.S.
9565 * config/microblaze/moddi3.asm: Rename to moddi3.S.
9566 * config/microblaze/modsi3.asm: Rename to modsi3.S.
9567 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
9568 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
9569 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
9570 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
9571 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
9572 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
9573 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
9574 New files.
9575 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
9576 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
9577 * config/pa/fptr.c, config/pa/lib2funcs.S,
9578 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
9579 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
9580 (LIB2ADD, LIB2ADD_ST): Set.
9581 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
9582 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
9583 Set.
9584 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
9585 * config/pdp11/t-pdp11: New file.
9586 * config/picochip/libgccExtras/adddi3.S,
9587 config/picochip/libgccExtras/ashlsi3.S,
9588 config/picochip/libgccExtras/ashrsi3.S,
9589 config/picochip/libgccExtras/clzsi2.S,
9590 config/picochip/libgccExtras/cmpsi2.S,
9591 config/picochip/libgccExtras/divmod15.S,
9592 config/picochip/libgccExtras/divmodhi4.S,
9593 config/picochip/libgccExtras/divmodsi4.S,
9594 config/picochip/libgccExtras/lshrsi3.S,
9595 config/picochip/libgccExtras/parityhi2.S,
9596 config/picochip/libgccExtras/popcounthi2.S,
9597 config/picochip/libgccExtras/subdi3.S,
9598 config/picochip/libgccExtras/ucmpsi2.S,
9599 config/picochip/libgccExtras/udivmodhi4.S,
9600 config/picochip/libgccExtras/udivmodsi4.S: New files.
9601 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
9602 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
9603 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
9604 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
9605 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
9606 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
9607 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
9608 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
9609 files.
9610 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
9611 (HOST_LIBGCC2_CFLAGS): Set.
9612 * config/rs6000/t-darwin64: New file.
9613 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
9614 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
9615 * config/rs6000/t-ppccomm (LIB2ADD): Add
9616 $(srcdir)/config/rs6000/tramp.S.
9617 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
9618 Add $(srcdir)/config/rs6000/eabi.S.
9619 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
9620 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
9621 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
9622 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
9623 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
9624 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
9625 * config/rs6000/tramp.S: New file.
9626 * config/s390/t-tpf: Remove.
9627 * config/sh/linux-atomic.S: New file.
9628 * config/sh/t-linux (LIB2ADD): Set.
9629 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
9630 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
9631 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
9632 to unwind-dw2.c.
9633 (HOST_LIBGCC2_CFLAGS): Set.
9634 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9635 * config/spu/divmodti4.c, config/spu/divv2df3.c,
9636 config/spu/float_disf.c, config/spu/float_unsdidf.c,
9637 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
9638 config/spu/mfc_multi_tag_release.c,
9639 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
9640 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
9641 config/spu/multi3.c: New files.
9642 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
9643 (HOST_LIBGCC2_CFLAGS): Set.
9644 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
9645 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
9646 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
9647 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
9648 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
9649 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
9650 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
9651 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
9652 config/stormy16/umodsi3.c: New files.
9653 * config/xtensa/lib2funcs.S: New file.
9654 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
9655 * config/xtensa/t-xtensa (LIB2ADD): Set.
9656 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
9657 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
9658 Add t-freebsd-thread to tmake_file for posix threads.
9659 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
9660 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
9661 (*-*-lynxos*): Likewise.
9662 (*-*-netbsd*): Likewise.
9663 (*-*-openbsd*): Likewise.
9664 Add t-openbsd-thread to tmake_file for posix threads.
9665 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
9666 (*-*-vxworks*): Set tmake_file.
9667 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
9668 (alpha*-*-freebsd*): Likewise.
9669 (alpha*-*-netbsd*): Likewise.
9670 (alpha*-*-openbsd*): Likewise.
9671 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
9672 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
9673 (alpha*-dec-*vms*): Likewise.
9674 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
9675 (bfin*-elf*): Add bfin/t-elf to tmake_file.
9676 (bfin*-uclinux*): Likewise.
9677 (bfin*-linux-uclibc*): Likewise.
9678 (crisv32-*-elf): Add cris/t-cris to tmake_file.
9679 (crisv32-*-none): Likewise.
9680 (cris-*-elf): Likewise.
9681 (cris-*-none): Likewise.
9682 (cris-*-linux*, crisv32-*-linux*): Likewise.
9683 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
9684 tmake_file.
9685 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
9686 tmake_file.
9687 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
9688 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
9689 (x86_64-*-elf*): Likewise.
9690 (i[34567]86-*-nto-qnx*): Likewise.
9691 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
9692 win32 threads.
9693 (x86_64-*-mingw*): Likewise.
9694 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
9695 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
9696 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
9697 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
9698 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
9699 tmake_file.
9700 (mipsisa64sr71k-*-elf*): Likewise.
9701 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
9702 (mips-*-elf*, mipsel-*-elf*): Likewise.
9703 (mips64-*-elf*, mips64el-*-elf*): Likewise.
9704 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
9705 (mips*-*-rtems*): Likewise.
9706 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
9707 to tmake_file.
9708 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
9709 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
9710 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
9711 (spu-*-elf*): Likewise.
9712 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
9713
45b86625
RO
97142011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9715
9716 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
9717 $(srcdir) to refer to $(LIB1ASMSRC).
9718 Use $<.
9719 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
9720 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
9721 config/arm/lib1funcs.S: New files.
9722 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
9723 * config/arm/t-arm: New file.
9724 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
9725 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
9726 config/arm/t-strongarm-elf: New files.
9727 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
9728 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
9729 * config/avr/lib1funcs.S: New file.
9730 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9731 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
9732 * config/c6x/lib1funcs.S: New file.
9733 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9734 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
9735 * config/frv/lib1funcs.S: New file.
9736 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9737 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
9738 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
9739 * config/ia64/__divxf3.asm: Rename to ...
9740 * config/ia64/__divxf3.S: ... this.
9741 Adapt lib1funcs.asm filename.
9742 * config/ia64/_fixtfdi.asm: Rename to ...
9743 * config/ia64/_fixtfdi.S: ... this.
9744 Adapt lib1funcs.asm filename.
9745 * config/ia64/_fixunstfdi.asm: Rename to ...
9746 * config/ia64/_fixunstfdi.S: ... this.
9747 Adapt lib1funcs.asm filename.
9748 * config/ia64/_floatditf.asm: Rename to ...
9749 * config/ia64/_floatditf.S: ... this.
9750 Adapt lib1funcs.asm filename.
9751 * config/ia64/lib1funcs.S: New file.
9752 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
9753 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9754 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
9755 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
9756 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
9757 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
9758 * config/mep/lib1funcs.S: New file.
9759 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9760 * config/mips/mips16.S: New file.
9761 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9762 * config/pa/milli64.S: New file.
9763 * config/pa/t-linux, config/pa/t-linux64: New files.
9764 * config/picochip/lib1funcs.S: New file.
9765 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9766 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
9767 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
9768 * config/sh/t-netbsd: New file.
9769 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
9770 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
9771 * config/sh/t-sh64: New file.
9772 * config/sparc/lb1spc.S: New file.
9773 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
9774 filename.
9775 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
9776 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
9777 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
9778 config/xtensa/lib1funcs.S: New files.
9779 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9780 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
9781 tmake_file.
9782 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
9783 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
9784 (arm*-*-linux*): Likewise.
9785 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
9786 arm*-*-linux-*eabi, add arm/t-linux otherwise.
9787 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
9788 (arm*-*-ecos-elf): Likewise.
9789 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
9790 (arm*-*-rtems*): Likewise.
9791 (arm*-*-elf): Likewise.
9792 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
9793 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
9794 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
9795 (bfin*-uclinux*): Likewise.
9796 (bfin*-linux-uclibc*): Likewise.
9797 (bfin*-rtems*): Likewise.
9798 (bfin*-*): Likewise.
9799 (fido-*-elf): Merge into m68k-*-elf*.
9800 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
9801 (frv-*-*linux*): Add frv/t-frv to tmake_file.
9802 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
9803 (h8300-*-elf*): Likewise.
9804 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
9805 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
9806 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
9807 (i[34567]86-*-mingw*): Likewise.
9808 (x86_64-*-mingw*): Likewise.
9809 (i[34567]86-*-interix3*): Likewise.
9810 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
9811 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
9812 (m68k-*-elf*): Also handle fido-*-elf.
9813 Add m68k/t-floatlib to tmake_file.
9814 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
9815 (m68k-*-linux*): Likewise.
9816 (m68k-*-rtems*): Likewise.
9817 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
9818 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
9819 sh64*-*-*.
9820 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
9821 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
9822 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
9823 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
9824 sh/t-netbsd to tmake_file.
9825 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
9826 (sh-*-rtems*): Add sh/t-sh to tmake_file.
9827 (sh-wrs-vxworks): Likewise.
9828 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
9829 *-leon[3-9]*.
9830 (v850*-*-*): Add v850/t-v850 to tmake_file.
9831 (vax-*-linux*): Add vax/t-linux to tmake_file.
9832 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
9833
5f73c6cc
RO
98342011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9835
9836 * crtstuff.c: New file.
9837 * Makefile.in (CRTSTUFF_CFLAGS): Define.
9838 (CRTSTUFF_T_CFLAGS): Define.
9839 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
9840 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
9841 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
9842 crtstuff.c.
9843 Use $<.
9844 (crtbeginT.o): Use $(objext).
9845 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
9846 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
9847 (gcc-extra-parts): Remove.
9848 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
9849 Set extra_parts.
9850 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9851 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
9852 Add t-crtstuff-pic to tmake_file.
9853 (*-*-lynxos*): New case.
9854 Set tmake_file, extra_parts.
9855 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
9856 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
9857 *-*-netbsdelf[2-9]*.
9858 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
9859 (*-*-rtems*): Set extra_parts.
9860 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
9861 (*-*-uclinux*): New case.
9862 Set extra_parts.
9863 (*-*-vms*): New case.
9864 Set tmake_file, extra_parts.
9865 (*-*-elf): Set extra_parts.
9866 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
9867 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
9868 vms/t-vms64.
9869 Set extra_parts.
9870 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
9871 Set extra_parts.
9872 (arm*-*-freebsd*): Add t-crtin to tmake_file.
9873 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
9874 (arm-wrs-vxworks): Append to tmake_file.
9875 Set extra_parts.
9876 (arm*-*-uclinux*): Set extra_parts.
9877 (arm*-*-ecos-elf): Likewise.
9878 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
9879 arm*-*-eabi*.
9880 (arm*-*-rtems*): Set extra_parts.
9881 (arm*-*-elf): Likewise.
9882 (avr-*-rtems*): Clear extra_parts.
9883 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
9884 Set extra_parts.
9885 (bfin*-uclinux*): Likewise.
9886 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
9887 (bfin*-rtems*): Append to tmake_file.
9888 Set extra_parts.
9889 (bfin*-*): Likewise.
9890 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
9891 (crisv32-*-elf): ... this.
9892 (crisv32-*-none): ... this.
9893 (cris-*-elf, cris-*-none): New cases.
9894 Add cris/t-elfmulti to tmake_file.
9895 (fr30-*-elf): Append to tmake_file.
9896 Set extra_parts.
9897 (frv-*-elf): Append to tmake_file, add frv/t-frv.
9898 Set extra_parts.
9899 (h8300-*-rtems*): Append to tmake_file.
9900 Set extra_parts.
9901 (h8300-*-elf*): Likewise.
9902 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
9903 Set extra_parts.
9904 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
9905 Set extra_parts.
9906 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
9907 (x86_64-*-elf*): Likewise.
9908 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
9909 (x86_64-*-freebsd*): Likewise.
9910 (x86_64-*-netbsd*): Likewise.
9911 (i[34567]86-*-linux*): Likewise.
9912 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
9913 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
9914 (x86_64-*-linux*): Likewise.
9915 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
9916 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
9917 tmake_file.
9918 Set extra_parts.
9919 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
9920 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
9921 Append to extra_parts, remove crtbegin.o, crtend.o.
9922 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
9923 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
9924 crtend.o, crtbeginS.o, crtendS.o.
9925 (ia64*-*-linux*): Comment extra_parts.
9926 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
9927 Set extra_parts.
9928 (iq2000*-*-elf*): Clear extra_parts.
9929 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
9930 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
9931 (m32r-*-elf*, m32r-*-rtems*): Split off ...
9932 (m32r-*-rtems*): ... this.
9933 Add m32r/t-m32r to tmake_file.
9934 (m68k-*-elf*): Add t-crtin to tmake_file.
9935 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
9936 (mcore-*-elf): Likewise.
9937 (microblaze*-*-*): Set extra_parts.
9938 (mips*-sde-elf*): New case.
9939 Set tmake_file, extra_parts.
9940 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
9941 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
9942 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
9943 tmake_file.
9944 Set extra_parts.
9945 (mipsisa64sr71k-*-elf*): Likewise.
9946 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
9947 (mips-*-elf*, mipsel-*-elf*): Likewise.
9948 (mips64-*-elf*, mips64el-*-elf*): Likewise.
9949 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
9950 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
9951 (mips*-*-rtems*): Likewise.
9952 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
9953 (moxie-*-*): Split into ...
9954 (moxie-*-elf, moxie-*-uclinux*): ... this.
9955 Add to extra_parts, remove crtbegin.o, crtend.o.
9956 (moxie-*-rtems*): New case.
9957 Set tmake_file.
9958 Clear extra_parts.
9959 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
9960 Set extra_parts.
9961 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
9962 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
9963 tmake_file.
9964 Set extra_parts.
9965 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
9966 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
9967 Set extra_parts.
9968 (powerpc-*-eabisim*): Likewise.
9969 (powerpc-*-elf*): Likewise.
9970 (powerpc-*-eabialtivec*): Likewise.
9971 (powerpc-xilinx-eabi*): Likewise.
9972 (powerpc-*-eabi*): Likewise.
9973 (powerpc-*-rtems*): Likewise.
9974 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
9975 tmake_file.
9976 Set extra_parts.
9977 (powerpc-*-lynxos*): Add to tmake_file.
9978 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
9979 rs6000/t-crtstuff, t-crtstuff-pic.
9980 Set extra_parts.
9981 (powerpcle-*-eabisim*): Likewise.
9982 (powerpcle-*-eabi*): Likewise.
9983 (rx-*-elf): Remove extra_parts.
9984 (s390x-ibm-tpf*): Set extra_parts.
9985 (score-*-elf): Set extra_parts.
9986 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9987 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9988 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9989 (sh64l*-*-netbsd*): Split into ...
9990 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
9991 Add t-crtstuff-pic to tmake_file.
9992 Set extra_parts.
9993 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
9994 Set extra_parts.
9995 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
9996 (sparc-*-elf*): Remove t-crtin from tmake_file.
9997 Add to extra_parts, remove crtbegin.o, crtend.o.
9998 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
9999 (sparc64-*-linux*): Likewise.
10000 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
10001 Add to extra_parts, remove crtbegin.o, crtend.o.
10002 (sparc64-*-elf*): Remove t-crtin from tmake_file.
10003 Add to extra_parts, remove crtbegin.o, crtend.o.
10004 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
10005 Add to extra_parts, remove crtbegin.o, crtend.o.
10006 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
10007 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
10008 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
10009 Set extra_parts.
10010 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
10011 Set extra_parts.
10012 (tic6x-*-*): Change to ...
10013 (tic6x-*-elf): ... this.
10014 Set extra_parts.
10015 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
10016 Set extra_parts.
10017 (am33_2.0-*-linux*): Add comment.
10018 (mep*-*-*): Add mep/t-mep to tmake_file.
10019 Set extra_parts.
10020 * config/alpha/t-vms: New file.
10021 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
10022 * config/arm/crti.S, config/arm/crtn.S: New files.
10023 * config/bfin/crti.S, config/bfin/crtn.S: New files.
10024 * config/bfin/crtlibid.S: New file.
10025 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
10026 * config/c6x/crti.S, config/c6x/crtn.S: New files.
10027 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
10028 (crti.o, crtin.o): New rules.
10029 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
10030 * config/c6x/t-uclinux: New file.
10031 * config/cris/t-elfmulti: New file.
10032 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
10033 * config/fr30/crti.S, config/fr30/crtn.S: New files.
10034 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
10035 * config/frv/t-frv: New file.
10036 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
10037 * config/h8300/crti.S, config/h8300/crtn.S: New files.
10038 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
10039 New files.
10040 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
10041 refer to cygming-crtbegin.c, cygming-crtend.c.
10042 Use $<.
10043 * config/i386/t-nto: New file.
10044 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
10045 * config/ia64/crti.S, config/ia64/crtn.S: New files.
10046 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
10047 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
10048 Use .S extension.
10049 Use $<.
10050 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
10051 (crtinitS.o): New rule.
10052 * config/ia64/vms-crtinit.S: New file.
10053 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
10054 * config/m32r/initfini.c: New file.
10055 * config/m32r/t-linux, config/m32r/t-m32r: New files.
10056 * config/m68k/crti.S, config/m68k/crtn.S: New files.
10057 * config/mcore/crti.S, config/mcore/crtn.S: New files.
10058 * config/mep/t-mep: New file.
10059 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
10060 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
10061 * config/mips/crti.S, config/mips/crtn.S: New files.
10062 * config/mips/t-crtstuff: New file.
10063 * config/mmix/crti.S, config/mmix/crtn.S: New files.
10064 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
10065 (CUSTOM_CRTIN): Set.
10066 ($(T)crti.o, $(T)crtn.o): Remove $(T),
10067 dependencies.
10068 Use $(srcdir) to refer to crti.S, crtn.S.
10069 Use .S extension, $<.
10070 * config/moxie/crti.asm: Rename to ...
10071 * config/moxie/crti.S: ... this.
10072 * config/moxie/crtn.asm: Rename to ...
10073 * config/moxie/crtn.S: ... this.
10074 * config/moxie/t-moxie: Remove.
10075 * config/pa/stublib.c: New file.
10076 * config/pa/t-stublib, config/pa/t-stublib64: New files.
10077 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
10078 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
10079 * config/rs6000/t-crtstuff: New file.
10080 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
10081 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
10082 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
10083 Make output file explicit.
10084 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
10085 Make output file explicit.
10086 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
10087 Make output file explicit.
10088 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
10089 Make output file explicit.
10090 * config/score/crti.S, config/score/crtn.S: New files.
10091 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
10092 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
10093 files.
10094 * config/sh/t-sh, config/sh/t-superh: New files.
10095 * config/sparc/t-linux64: New file.
10096 * config/spu/cache.S, config/spu/cachemgr.c: New files.
10097 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
10098 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
10099 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
10100 * config/t-crtin: Remove.
10101 * config/t-crtstuff-pic: New file.
10102 * config/t-sol2 (CUSTOM_CRTIN): Set.
10103 (crti.o, crtn.o): New rules.
10104 * config/vms/t-vms: New file.
10105 * config/vms/vms-ucrt0.c: New file.
10106 * config/xtensa/t-elf: New file.
10107
b040f2be
RO
101082011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10109
10110 * Makefile.in (SHLIB_NM_FLAGS): Set.
10111 * mkmap-flat.awk, mkmap-symver.awk: New files.
10112 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
10113 exceptions.
10114 * configure: Regenerate.
10115 * config/libgcc-glibc.ver: New file.
10116 * config/libgcc-libsystem.ver: New file.
10117 * config/t-libunwind (SHLIB_LC): Set.
10118 * config/t-linux: New file.
10119 * config/t-slibgcc (INSTALL_SHLIB): New.
10120 (SHLIB_INSTALL): Use it.
10121 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
10122 to mkmap-symver.awk.
10123 (SHLIB_MAPFILES): Don't append, adapt pathname.
10124 (SHLIB_VERPFX): Set.
10125 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
10126 to mkmap-symver.awk.
10127 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
10128 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
10129 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
10130 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
10131 to mkmap-flat.awk.
10132 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
10133 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
10134 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
10135 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
10136 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
10137 * config/i386/libgcc-darwin.10.4.ver,
10138 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
10139 New files.
10140 * config/i386/t-darwin: Remove.
10141 * config/i386/t-darwin64: Likewise.
10142 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
10143 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
10144 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
10145 * config/i386/t-linux: New file.
10146 * config/i386/t-mingw32: New file.
10147 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
10148 * config/ia64/t-glibc: Rename to ...
10149 * config/ia64/t-linux: ... this.
10150 (SHLIB_MAPFILES): Set.
10151 * config/ia64/t-glibc-libunwind: Rename to ...
10152 * config/ia64/t-linux-libunwind: ... this.
10153 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
10154 * config/ia64/t-slibgcc-hpux: New file.
10155 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
10156 * config/m68k/t-slibgcc-elf-ver: New file.
10157 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
10158 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
10159 to mkmap-flat.awk.
10160 * config/pa/t-slibgcc-hpux: New file.
10161 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
10162 files.
10163 * config/rs6000/libgcc-darwin.10.4.ver,
10164 config/rs6000/libgcc-darwin.10.5.ver: New files.
10165 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
10166 config/rs6000/libgcc-glibc.ver.
10167 * config/rs6000/libgcc-ppc64.ver: Rename to
10168 config/rs6000/libgcc-ibm-ldouble.ver.
10169 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
10170 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
10171 * config/rs6000/t-ldbl128: Rename to ...
10172 * config/rs6000/t-linux: ... this.
10173 (SHLIB_MAPFILES): Adapt filename.
10174 * config/rs6000/t-slibgcc-aix: New file.
10175 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
10176 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
10177 libgcc-excl.ver, libgcc-glibc.ver.
10178 (SHLIB_LINK, SHLIB_INSTALL): Remove.
10179 * config/sparc/libgcc-glibc.ver: New file.
10180 * config/sparc/t-linux: New file.
10181 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
10182 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
10183 t-slibgcc-elf-ver to tmake_file.
10184 Add t-slibgcc-nolc-override to tmake_file for posix threads on
10185 *-*-freebsd[34].
10186 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10187 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
10188 t-slibgcc-elf-ver, t-linux to tmake_file.
10189 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
10190 tmake_file.
10191 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
10192 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
10193 (alpha*-dec-*vms*): Likewise.
10194 (arm*-*-freebsd*): Append to tmake_file.
10195 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
10196 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
10197 arm*-*-linux-*eabi.
10198 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
10199 tmake_file for arm*-*-symbianelf*.
10200 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
10201 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
10202 cris/t-linux.
10203 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
10204 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
10205 pa/t-slibgcc-dwarf-ver to tmake_file.
10206 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
10207 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
10208 (hppa*64*-*-hpux11*): Likewise.
10209 (hppa[12]*-*-hpux11*): Likewise.
10210 (x86_64-*-darwin*): Don't override tmake_file, but only keep
10211 i386/t-crtpc, i386/t-crtfm.
10212 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
10213 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
10214 to tmake_file.
10215 Add i386/t-cygwin to tmake_file.
10216 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
10217 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
10218 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
10219 to tmake_file.
10220 Add i386/t-mingw32 to tmake_file.
10221 (x86_64-*-mingw*): Likewise.
10222 (ia64*-*-freebsd*): Append to tmake_file.
10223 (ia64*-*-linux*): Append to tmake_file.
10224 Replace ia64/t-glibc by ia64/t-linux.
10225 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
10226 system libunwind.
10227 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
10228 t-slibgcc-hpux to tmake_file.
10229 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
10230 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
10231 (m32rle-*-linux*): Likewise.
10232 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
10233 sjlj exceptions.
10234 (microblaze*-linux*): New case.
10235 Append to tmake_file, add t-slibgcc-nolc-override.
10236 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
10237 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
10238 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
10239 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10240 rs6000/t-slibgcc-aix to tmake_file.
10241 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10242 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10243 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10244 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10245 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10246 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
10247 sh*-*-linux*.
10248 (sparc-*-linux*): Append to tmake_file for *-leon*.
10249 Add sparc/t-linux to tmake_file for non-Leon targets.
10250 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
10251 (tic6x-*-uclinux): New case.
10252 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
10253 (tic6x-*-*): Add c6x/t-elf to tmake_file.
10254 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
10255 (am33_2.0-*-linux*): Append to tmake_file.
10256 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
10257 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
10258 x86_64-*-kfreebsd*-gnu.
10259 Add i386/t-linux to tmake_file.
10260
18b4bd7b
ILT
102612011-10-28 Ian Lance Taylor <iant@google.com>
10262
10263 * config/i386/morestack.S: Correct CFI information to do proper
10264 returns throughout function. In 32-bit mode, save %ebx so that it
10265 is restored on unwind.
10266
5b2d9d90
BS
102672011-10-25 Bernd Schmidt <bernds@codesourcery.com>
10268
10269 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
10270 case where B3 isn't the return register.
10271
0d53e346
BS
10272 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
10273 logic for doubleword pops.
10274
cbffbd59
AT
102752011-10-25 Andreas Tobler <andreast@fgznet.ch>
10276
10277 * config/rs6000/t-freebsd: Add wildcard.
10278
56dc349e
PB
102792011-10-21 Paul Brook <paul@codesourcery.com>
10280
10281 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
10282
1e06b07d
UB
102832011-10-16 Uros Bizjak <ubizjak@gmail.com>
10284 Eric Botcazou <ebotcazou@adacore.com>
10285
10286 PR target/50737
10287 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
10288 fs->signal_frame to 1.
10289
b5204884
ILT
102902011-10-07 Ian Lance Taylor <iant@google.com>
10291
10292 * generic-morestack-thread.c: #include <errno.h>.
10293
91a639a1
ILT
102942011-10-07 Ian Lance Taylor <iant@google.com>
10295
10296 PR target/46093
10297 * generic-morestack.c (__generic_morestack): Make sure the segment
10298 is large enough for both the stack frame and the copied
10299 parameters.
10300
cc49116d
RO
103012011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10302
10303 PR bootstrap/49804
10304 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
10305 extra_parts.
10306
2996d8c3
NC
103072011-09-28 Nick Clifton <nickc@redhat.com>
10308
10309 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
10310 64-bit doubles are not enabled.
10311 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
10312 and floatunsisf functions.
10313
1e874273 103142011-09-13 Paul Brook <paul@codesourcery.com>
2996d8c3 10315
1e874273
PB
10316 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
10317 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
10318 * unwind-arm-common.inc: New file.
10319 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
10320 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
10321 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
10322 * config/c6x/libunwind.S: New file.
10323 * config/c6x/pr-support.c: New file.
10324 * config/c6x/unwind-c6x.c: New file.
10325 * config/c6x/unwind-c6x.h: New file.
10326 * config/c6x/t-c6x-elf: New file.
10327
f70c879a
UB
103282011-08-23 Uros Bizjak <ubizjak@gmail.com>
10329
10330 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
10331 (ASM_DIVZERO): Ditto.
10332 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
10333
c55b374b
RS
103342011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
10335
10336 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
10337
1e138510
RS
103382011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
10339
10340 PR target/50090
10341 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
10342 instead of an assembly one.
10343
1563503d
PB
103442011-08-12 Paolo Bonzini <bonzini@gnu.org>
10345
10346 PR bootstrap/50047
10347 * Makefile.in (install-unwind_h): Create
10348 $(gcc_objdir)/include/unwind.h atomically.
10349
3627ac1a
RO
103502011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10351
10352 * Makefile.in (install-unwind_h): Remove destination file first.
10353
c6412d86
RO
103542011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10355
10356 * sync.c: New file.
10357 * config/mips/t-mips16: New file.
10358 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
10359 (mips*-*-linux*): Likewise.
10360 (mips*-sde-elf*): Likewise.
10361 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
10362 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
10363 Add mips/t-mips16 to tmake_file.
10364 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
10365 (mips-*-elf*): Likewise.
10366 (mips64-*-elf*): Likewise.
10367 (mips64orion-*-elf*): Likewise.
10368 (mips*-*-rtems*): Likewise.
10369 (mipstx39-*-elf*): Likewise.
10370 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
10371 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
10372 LIBGCC_SYNC_CFLAGS.
10373 Use $(srcdir) to refer to sync.c.
10374 Use $<.
10375 ($(libgcc-sync-funcs-o)): Likewise.
10376 ($(libgcc-sync-size-funcs-s-o)): Likewise.
10377 ($(libgcc-sync-funcs-s-o)): Likewise.
10378
3cb6e5bd
AS
103792011-08-09 Andreas Schwab <schwab@linux-m68k.org>
10380
10381 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
10382 t-libunwind.
10383
cca2207a
L
103842011-08-08 H.J. Lu <hongjiu.lu@intel.com>
10385
10386 PR other/48007
10387 * config/i386/value-unwind.h: New.
10388
ed39fbad
RS
103892011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
10390
10391 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
10392 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
10393 Add to tmake_file rather than overriding it.
10394
aca0b0b3
RO
103952011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10396
10397 * config/t-softfp: Remove.
10398 * soft-fp: Moved from ../gcc/config.
10399 * soft-fp/README: Remove t-softfp reference.
10400 * soft-fp/t-softfp: Move to config/t-softfp.
10401 (softfp_machine_header): Remove.
10402 (softfp_file_list): Remove config subdir.
10403 (soft-fp-objects): New variable.
10404 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
10405 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
10406 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
10407 * config/t-softfp-excl: New file.
10408 * config/t-softfp-sfdf: New file.
10409 * config/t-softfp-tf: New file.
10410 * config/no-sfp-machine.h: New file.
10411 * config/arm/sfp-machine.h: New file.
10412 * config/arm/t-softfp: New file.
10413 * config/c6x/sfp-machine.h: New file.
10414 * config/i386/32/t-fprules-softfp: Rename to ...
10415 * config/i386/32/t-softfp: ... this.
10416 (tifunctions, LIB2ADD): Remove.
10417 (softfp_int_modes): Override.
10418 * config/i386/64/t-softfp-compat (tf-functions): Remove config
10419 subdir.
10420 * config/i386/64/eqtf2.c: Likewise.
10421 * config/i386/64/getf2.c: Likewise.
10422 * config/i386/64/letf2.c: Likewise.
10423 * config/ia64/sft-machine.h: New file.
10424 * config/ia64/t-fprules-softfp: Rename to ...
10425 * config/ia64/t-softfp: ... this.
10426 * config/lm32/sfp-machine.h: New file.
10427 * config/moxie/t-moxie-softfp: Remove.
10428 * config/rs6000/ibm-ldouble-format: New file.
10429 * config/rs6000/ibm-ldouble.c: New file.
10430 * config/rs6000/libgcc-ppc-glibc.ver: New file
10431 * config/rs6000/libgcc-ppc64.ver: New file
10432 * config/rs6000/sfp-machine.h: New file.
10433 * config/rs6000/t-freebsd: New file.
10434 * config/rs6000/t-ibm-ldouble: New file.
10435 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
10436 libgcc-ppc-glibc.ver.
10437 * config/rs6000/t-linux64: New file.
10438 * config/rs6000/t-ppccomm (LIB2ADD): Add
10439 $(srcdir)/config/rs6000/ibm-ldouble.c.
10440 * config/rs6000/t-ppccomm-ldbl: New file.
10441 * config/score/sfp-machine.h: New file.
10442 * config.host (sfp_machine_header): Explain.
10443 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
10444 t-softfp to tmake_file.
10445 (arm*-*-uclinux*): Likewise.
10446 (arm*-*-ecos-elf): Likewise.
10447 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
10448 (arm*-*-rtems*): Likewise.
10449 (arm*-*-elf): Likewise.
10450 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
10451 in tmake_file.
10452 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
10453 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
10454 (lm32-*-uclinux*): Likewise.
10455 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
10456 t-softfp-excl, t-softfp.
10457 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
10458 (powerpc64-*-darwin*): Likewise.
10459 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
10460 to tmake_file.
10461 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
10462 tmake_file.
10463 (powerpc-*-eabisim*): Likewise.
10464 (powerpc-*-elf*): Likewise.
10465 (powerpc-*-eabialtivec*): Likewise.
10466 (powerpc-xilinx-eabi*): Likewise.
10467 (powerpc-*-rtems*): Likewise.
10468 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
10469 t-softfp-excl, t-softfp to tmake_file.
10470 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
10471 rs6000/t-ppccomm-ldbl to tmake_file.
10472 (powerpcle-*-elf*): Likewise.
10473 (powerpcle-*-eabisim*): Likewise.
10474 (powerpcle-*-eabi*): Likewise.
10475 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10476 rs6000/t-ibm-ldouble to tmake_file.
10477 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10478 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10479 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
10480 (tic6x-*-*): Likewise.
10481 (i[34567]86-*-darwin*, x86_64-*-darwin*,
10482 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
10483 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
10484 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
10485 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
10486 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
10487 t-softfp to tmake_file.
10488 * configure.ac (sfp_machine_header): Provide default if unset.
10489 Substitute.
10490 Link sfp-machine.h to config/$sfp_machine_header.
10491 * configure: Regenerate.
10492
569dc494
RO
104932011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10494
10495 * Makefile.in (double_type_size, long_double_type_size): Set.
10496 Remove $(fpbit-in-libgcc) support.
10497 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
10498 (fpbit-src): New variable.
10499 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
10500 Compile with -DFLOAT $(FPBIT_CFLAGS).
10501 Use $<.
10502 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
10503 Compile with $(FPBIT_CFLAGS).
10504 Use $<.
10505 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
10506 Compile with -DFLOAT $(TPBIT_CFLAGS).
10507 Use $<.
10508 * configure.ac (double_type_size, long_double_type_size):
10509 Determine and substitute.
10510 * configure: Regenerate.
10511 * fp-bit.c, fp-bit.h: New files.
10512 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
10513 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
10514 * config/mips/t-mips: New file.
10515 * config/mips/t-sdemtk: New file.
10516 * config/rs6000/ppc64-fp.c: New file.
10517 * config/rs6000/t-darwin (LIB2ADD): Add
10518 $(srcdir)/config/rs6000/ppc64-fp.c.
10519 * config/rs6000/t-ppc64-fp: New file.
10520 * config/rx/rx-lib.h: New file.
10521 * config/rx/t-rx (FPBIT): Set to true.
10522 ($(gcc_objdir)/fp-bit.c): Remove.
10523 (DPBIT): Set to true only with -m64bit-doubles.
10524 ($(gcc_objdir)/dp-bit.c): Remove.
10525 * config/sparc/t-softfp: Remove.
10526 * config/spu/t-elf: New file.
10527 * config/t-fdpbit, config/t-fpbit: New files.
10528 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
10529 (mips*-*-*): Likewise.
10530 (arm-wrs-vxworks): Likewise.
10531 (arm*-*-freebsd*): Likewise.
10532 (avr-*-rtems*): Add t-fpbit to tmake_file.
10533 (avr-*-*): Likewise.
10534 (bfin*-elf*): Add t-fdpbit to tmake_file.
10535 (bfin*-uclinux*): Likewise.
10536 (bfin*-linux-uclibc*): Likewise.
10537 (bfin*-rtems*): New case.
10538 Add t-fdpbit to tmake_file.
10539 (bfin*-*): Add t-fdpbit to tmake_file.
10540 (crisv32-*-elf): Likewise.
10541 (cris-*-linux*): Likewise.
10542 (fr30-*-elf): Likewise.
10543 (frv-*-elf, frv-*-*linux*): Likewise.
10544 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
10545 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
10546 (m32r-*-elf*): Likewise.
10547 (m32rle-*-elf*): Likewise.
10548 (m32r-*-linux*): Likewise.
10549 (m32rle-*-linux*): Likewise.
10550 (mcore-*-elf): Add t-fdpbit to tmake_file.
10551 (microblaze*-*-*): Likewise.
10552 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
10553 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
10554 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
10555 Fix typo.
10556 Add mips/t-tpbit to tmake-file.
10557 (mips*-*-linux*): Fix typo.
10558 (mips*-sde-elf*): New case
10559 Add mips/t-sdemtk unless using newlib.
10560 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
10561 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
10562 (mn10300-*-*): Likewise.
10563 (pdp11-*-*): Likewise.
10564 (picochip-*-*): Add t-fpbit to tmake_file.
10565 (powerpc-*-eabisimaltivec*): Likewise.
10566 (powerpc-*-eabisim*): Likewise.
10567 (powerpc-*-elf*): Likewise.
10568 (powerpc-*-eabialtivec*): Likewise.
10569 (powerpc-xilinx-eabi*): New case.
10570 Add t-fdpbit to tmake_file.
10571 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
10572 (powerpc-*-rtems*): Likewise.
10573 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
10574 tmake_file.
10575 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
10576 tmake_file.
10577 (powerpc-*-lynxos*): Likewise.
10578 (powerpcle-*-elf*): Likewise.
10579 (powerpcle-*-eabisim*): Likewise.
10580 (powerpcle-*-eabi*): Likewise.
10581 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10582 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
10583 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10584 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10585 (rx-*-elf): Add t-fdpbit to tmake_file.
10586 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10587 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10588 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10589 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
10590 sh*-*-netbsd*.
10591 (sh-*-rtems*): Add t-fdpbit to tmake_file.
10592 (sh-wrs-vxworks): Likewise.
10593 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
10594 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
10595 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
10596 (sparc64-*-rtems*): ... new case.
10597 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
10598 (spu-*-elf*): Likewise.
10599 Add spu/t-elf to tmake_file.
10600 (v850*-*-*): Add t-fdpbit to tmake_file.
10601 (xstormy16-*-elf): Likewise.
10602 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
10603 (mep*-*-*): Likewise.
10604
201cdb74
RO
106052011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10606
10607 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
10608 variables.
10609 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
10610 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
10611 (install-unwind_h): New target.
10612 (all): Depend on it.
10613 * config.host (unwind_header): New variable.
10614 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
10615 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10616 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
10617 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
10618 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
10619 Set unwind_header.
10620 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
10621 Set unwind_header.
10622 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
10623 arm*-*-eabi*.
10624 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
10625 Set unwind_header.
10626 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
10627 (ia64*-*-freebsd*): Likewise.
10628 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
10629 tmake_file.
10630 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
10631 $with_system_libunwind.
10632 (ia64*-*-hpux*): Set tmake_file.
10633 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
10634 (picochip-*-*): Set tmake_file.
10635 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
10636 md_unwind_header.
10637 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10638 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10639 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
10640 (xtensa*-*-elf*): Set tmake_file.
10641 (xtensa*-*-linux*): Likewise.
10642 * configure.ac: Include ../config/unwind_ipinfo.m4.
10643 Call GCC_CHECK_UNWIND_GETIPINFO.
10644 Link unwind.h to $unwind_header.
10645 * configure: Regenerate.
10646 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
10647 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
10648 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
10649 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
10650 * config/unwind-dw2-fde-darwin.c: New file.
10651 * config/arm/libunwind.S, config/arm/pr-support.c,
10652 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
10653 config/arm/unwind-arm.h,: New files.
10654 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
10655 config/ia64/t-eh-ia64, config/ia64/t-glibc,
10656 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
10657 config/ia64/t-vms, config/ia64/unwind-ia64.c,
10658 config/ia64/unwind-ia64.h: New files.
10659 * config/picochip/t-picochip: New file.
10660 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
10661 files.
10662 * config/rs6000/t-darwin (LIB2ADDEH): Set.
10663 * config/s390/t-tpf (LIB2ADDEH): Remove.
10664 * config/t-darwin (LIB2ADDEH): Set.
10665 * config/t-eh-dw2-dip: New file.
10666 * config/t-libunwind, config/t-libunwind-elf: New files.
10667 * config/t-sol2 (LIB2ADDEH): Remove.
10668 * config/xtensa/t-xtensa: New file.
10669
40f2f11f
L
106702011-08-02 H.J. Lu <hongjiu.lu@intel.com>
10671
10672 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
10673 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
10674 long long to check rt_sigreturn syscall.
10675
bd15e32c
AM
106762011-08-02 Alan Modra <amodra@gmail.com>
10677
10678 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
10679 Restore for indirect call bcrtl from correct stack slot, and only
10680 if cfa+40 isn't valid.
10681
655b30bf
JB
106822011-08-01 Julian Brown <julian@codesourcery.com>
10683
10684 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
10685 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
10686 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
10687
247eb06f
JB
106882011-08-01 Julian Brown <julian@codesourcery.com>
10689
10690 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
10691 (libgcc-std.ver.in): Use above.
10692 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
10693 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
10694 throughout file.
10695 * config/t-fixedpoint-gnu-prefix: New file.
10696 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
10697 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
10698 instead of __PFX__.
10699
02a8fe00
L
107002011-07-28 H.J. Lu <hongjiu.lu@intel.com>
10701
10702 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
10703 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
10704 for x86-64. Properly check __x86_64__ and __LP64__.
10705
5fce9126
L
107062010-07-28 H.J. Lu <hongjiu.lu@intel.com>
10707
10708 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
10709 version.
10710 (_FP_WS_TYPE): Likewise.
10711 (_FP_I_TYPE): Likewise.
10712
2374a88a
AM
107132011-07-28 Alan Modra <amodra@gmail.com>
10714
10715 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
10716 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
10717 in a plt call stub. Do restore r2 if stopped on bctrl.
10718
e44dbbe1
RO
107192011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10720
10721 * config.host (i[3456x]86-*-netware*): Remove.
10722 * config/i386/netware-crt0.c, config/i386/t-nwld,
10723 config/i386/t-slibgcc-nwld: Remove.
10724
bcead286
BS
107252011-07-15 Bernd Schmidt <bernds@codesourcery.com>
10726
10727 * config.host: Handle tic6x-*-*.
10728 * config/c6x/c6x-abi.h: New file.
10729
b3fe1584
RO
107302011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10731
10732 * config/i386/crtprec.c: New file.
10733 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
10734 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
10735 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
10736 (x86_64-*-darwin*): Likewise.
10737 (i[34567]86-*-solaris2*: Likewise.
10738
35d8090d
RO
107392011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10740
10741 * config/alpha/crtfastmath.c: New file.
10742 * config/i386/crtfastmath.c: New file.
10743 * config/ia64/crtfastmath.c: New file.
10744 * config/mips/crtfastmath.c: New file.
10745 * config/sparc/crtfastmath.c: New file.
10746
10747 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
10748 crtfastmath.c.
10749 Add -frandom-seed=gcc-crtfastmath.
10750 * config/alpha/t-crtfm: Remove.
10751 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
10752 * config/ia64/t-ia64 (crtfastmath.o): Remove.
10753
10754 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
10755 (alpha*-dec-osf5.1*): Likewise.
10756 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
10757 Add crtfastmath.o to extra_parts.
10758 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
10759 Add crtfastmath.o to extra_parts.
10760 (x86_64-*-darwin*): Likewise.
10761 (x86_64-*-mingw*): Likewise.
10762 (ia64*-*-elf*): Add t-crtfm to tmake_file.
10763 (ia64*-*-freebsd*): Likewise.
10764 (ia64*-*-linux*): Likewise.
10765 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
10766 Add crtfastmath.o to extra_parts.
10767
e141542e
RO
107682011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10769
10770 * config/darwin-crt3.o: New file.
10771 * config/rs6000/darwin-crt2.c: New file.
10772 * config/t-darwin: New file.
10773 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
10774 (crt2.o): New rule.
10775 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
10776 (powerpc-*-darwin*): Add crt2.o to extra_parts.
10777 (powerpc64-*-darwin*): Likewise.
10778
2d1efe2d
RO
107792011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10780
10781 * config/i386/netware-crt0.c: New file.
10782 * config/i386/t-nwld: Rename to ...
10783 * config/i386/t-slibgcc-nwld: ... this.
10784 * config/i386/t-nwld: New file.
10785 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
10786 tmake_file.
10787 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
10788 extra_parts.
10789
4a8bb046
RO
107902011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10791
10792 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
10793 i386/t-crtstuff.
10794 * configure: Regenerate.
10795
2d8d5935
RO
107962011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10797
10798 * dfp-bit.c, dfp-bit.h: New files.
10799 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
10800 variables.
10801 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
10802 ($(d64pbit-o)): Likewise.
10803 ($(d128pbit-o)): Likewise.
10804 * config/t-dfprules: New file.
10805 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
10806 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
10807 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
10808 (x86_64-*-linux*): Likewise.
10809 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
10810 (i[34567]86-*-cygwin*): Likewise.
10811 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
10812 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
10813
2c50b2c3
RO
108142011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10815
10816 * Makfile.in (LIBGCOV): New variable.
10817 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
10818 * libgcov.c: New file.
10819
a039d7c2
RO
108202011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10821
10822 * fixed-bit.c, fixed-bit.h: New files.
10823 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
10824 refer to fixed-bit.c.
10825
1e4b2746
JM
108262011-07-07 Joseph Myers <joseph@codesourcery.com>
10827
10828 * config.host (*local*): Remove.
10829
fbdd5d87
RO
108302011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10831
10832 PR target/39150
10833 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
10834 like i?86-*-solaris2.1[0-9]*.
10835 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
10836 * configure.ac (i?86-*-solaris2*): Likewise.
10837 * configure: Regenerate.
10838
9e7714f4
TS
108392011-07-06 Thomas Schwinge <thomas@schwinge.name>
10840
10841 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
10842 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
10843 md_unwind_header by splitting out of...
10844 (i[34567]86-*-linux*): ... this.
10845 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
10846 Remove md_unwind_header by splitting out of...
10847 (x86_64-*-linux*): ... this.
10848
6dab9931
GJL
108492011-07-04 Georg-Johann Lay <avr@gjlay.de>
10850
10851 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
10852
4be46d19
NC
108532011-06-28 Nick Clifton <nickc@redhat.com>
10854
10855 * config.host: Recognize all V850 variants.
10856
1da9434b
UB
108572011-06-22 Uros Bizjak <ubizjak@gmail.com>
10858
10859 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
10860
e4d48a4d
RO
108612011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10862
10863 * shared-object.mk (c_flags-$o): Save c_flags.
10864 ($(base)$(objext)): Use it.
10865 ($(base)_s$(objext)): Likewise.
10866
3801c801
BS
108672011-06-21 Bernd Schmidt <bernds@codesourcery.com>
10868
10869 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
10870 * libgcc-std.ver.in (GCC_4.7.0): New section.
10871
0ad8bb3b 108722011-06-16 Georg-Johann Lay <avr@gjlay.de>
1da9434b 10873
0ad8bb3b
GJL
10874 PR target/49313
10875 PR target/29524
10876 * config/avr/t-avr: Fix line endings.
10877 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
10878 _parityXX2.
10879
ea963999
OH
108802011-06-14 Olivier Hainque <hainque@adacore.com>
10881 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10882
10883 * config/mips/irix6-unwind.h: New file.
10884 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
10885
b11b0904
EB
108862011-06-10 Eric Botcazou <ebotcazou@adacore.com>
10887
10888 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
10889 (sparc64_fallback_frame_state): Use it.
10890 (sparc64_frob_update_context): Further adjust context.
10891 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
10892 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
10893 * config/sparc/sol2-cn.S: Likewise.
10894
10e48e39
RO
108952011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10896
10897 * enable-execute-stack-empty.c: New file.
10898 * enable-execute-stack-mprotect.c: New file.
10899 * config/i386/enable-execute-stack-mingw32.c: New file.
10900 * config.host (enable_execute_stack): New variable.
10901 Select appropriate variants.
10902 * configure.ac: Link enable-execute-stack.c to
10903 $enable_execute_stack.
10904 * configure: Regenerate.
10905 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
10906 (lib2funcs): Remove _enable_execute_stack.
10907
10c4cabc
DM
109082011-06-09 David S. Miller <davem@davemloft.net>
10909 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10910
10911 * config.host (sparc-*-linux*): Correct md_unwind_header
10912 filename.
10913 (s390x-ibm-tpf*): Fix typo.
10914
aa4203e7
RO
109152011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10916
10917 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
10918 Add crtfastmath.o to extra_parts.
10919 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
10920 mips/t-crtfm.
10921 * config/mips/t-crtfm: Remove.
10922
0defd786
JDA
109232011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
10924
10925 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
10926
82f247af
KK
109272011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
10928
10929 * config.host (sh*-*-linux*): Fix typo.
10930
58cd1d70
RO
109312011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10932
10933 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
10934 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
10935 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
10936 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
10937 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
10938 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
10939 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
10940 Wrap in !__MINGW64__.
10941 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
10942 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
10943 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
10944 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
10945 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
10946 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
10947 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
10948 Wrap in !__LP64__.
10949 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
10950 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
10951 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
10952 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
10953 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
10954 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
10955 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
10956 * config/no-unwind.h: New file.
10957 * config.host (md_unwind_header): Document.
10958 Define.
10959 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
10960 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
10961 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
10962 hppa[12]*-*-hpux11*): Set md_unwind_header.
10963 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
10964 Set md_unwind_header.
10965 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
10966 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
10967 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
10968 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
10969 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
10970 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
10971 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
10972 md_unwind_header.
10973 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
10974 * configure: Regenerate.
10975
737346fa
RO
109762011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10977
10978 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
10979 Set tmake_file, extra_parts.
10980 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
10981 Remove O32 support.
10982 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
10983 Remove O32 support.
10984 * config/mips/t-irix6: New file.
10985 * config/mips/t-slibgcc-irix: New file.
10986
c192cee6
RO
109872011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10988
10989 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
10990 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
10991
ee33b5f0
RO
109922011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10993
10994 * configure.ac (target_thread_file): Determine thread model.
10995 * configure: Regenerate.
10996 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
10997 * config/alpha/t-alpha: New file.
10998 * config/alpha/t-crtfm: Use $<.
10999 * config/alpha/t-ieee: New file.
11000 * config/alpha/t-osf-pthread: New file.
11001 * config/alpha/t-slibgcc-osf: New file.
11002 * config/alpha/libgcc-osf5.ver: New file.
11003
0699e415
RO
110042011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11005
11006 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
11007 tmake_file.
11008 Add crtfastmath.o to extra_parts.
11009
a3fab9c2
RO
110102011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11011
11012 * config/gmon-sol2.c: Reindent.
11013 Cleanup comments.
11014 Remove, correct casts.
11015 Use STDERR_FILENO, NULL.
11016 (BASEADDRESS): Remove.
11017 (minbrk): Remove.
11018 (errno, sbrk): Remove declarations.
11019 (monstartup) [hp300]: Remove.
11020 (mcount): Remove.
11021
ca24c5ad
RO
110222011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11023
11024 * Makefile.in (cpu_type): Define.
11025 * config.host (i[34567]86-*-rtems*): Handle it.
11026 (i[34567]86-*-solaris2*): Move body ...
11027 (*-*-solaris2*): ... here.
11028 New case, generalize.
11029 (sparc-*-elf*): Handle it.
11030 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
11031 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
11032 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
11033 Fold into ...
11034 (sparc*-*-solaris2*): ... this.
11035 New case.
11036 (sparc64-*-elf*): Handle it.
11037 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
11038 Merge ../gcc/config/i386/gmon-sol2.c.
11039 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
11040 Use C comments.
11041 Merge ../gcc/config/i386/sol2-gc1.asm.
11042 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
11043 Use C comments.
11044 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
11045 Use C comments.
11046 * config/i386/t-crtfm (crtfastmath.o): Use $<.
11047 * config/i386/t-crtstuff: New file.
11048 * config/i386/t-softfp: New file.
11049 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
11050 $(T)crti.o, $(T)crtn.o): Remove.
11051 (gcrt1.o): New rule.
11052 (TARGET_LIBGCC2_CFLAGS): Remove.
11053 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
11054 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
11055 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
11056 * config/sparc/t-sol2: New file.
11057 * config/sparc/t-crtfm: Move to ...
11058 * config/t-crtfm: ... this.
11059 Use $(cpu_type), $<.
11060 * config/t-crtin: New file.
11061 * config/sparc/t-softfp: New file.
11062 * config/sparc/t-softmul: New file.
11063 * config/t-rtems: New file.
11064 * config/t-slibgcc: New file.
11065 * config/t-slibgcc-elf-ver: New file.
11066 * config/t-slibgcc-gld: New file.
11067 * config/t-slibgcc-sld: New file.
11068 * config/t-sol2: New file.
11069 * configure.ac: Include ../config/lib-ld.m4.
11070 Call AC_LIB_PROG_LD_GNU.
11071 Substitute cpu_type.
11072 * configure: Regenerate.
11073
ad5f3d7b
BS
110742011-05-27 Bernd Schmidt <bernds@codesourcery.com>
11075
11076 PR bootstrap/49173
11077 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
11078 libgcc-std.ver in the build directory.
11079 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
11080 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
11081
cdbf4541
BS
110822011-05-25 Bernd Schmidt <bernds@codesourcery.com>
11083
11084 * libgcc-std.ver.in: New file.
11085 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
11086 variables.
11087 (libgcc-std.ver): New rule.
11088 * config/t-gnu-prefix: New file.
11089
c8028650
RO
110902011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11091
11092 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
11093
4a68b4ca
JM
110942011-05-10 Joseph Myers <joseph@codesourcery.com>
11095
11096 * config/i386/darwin-lib.h: New file.
11097
80cf2e08
JM
110982011-05-10 Joseph Myers <joseph@codesourcery.com>
11099
11100 * config/arm/symbian-lib.h: New.
11101
a3330c9d
CD
111022011-05-04 Chris Demetriou <cgd@google.com>
11103
11104 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
11105 (__x86.get_pc_thunk.bx): ...this.
11106 (__morestack): Adjust for rename, remove undef of __i686.
11107
6ace0756
CD
111082011-05-03 Chris Demetriou <cgd@google.com>
11109
11110 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
11111
ebb9f8b0
JM
111122011-03-22 Joseph Myers <joseph@codesourcery.com>
11113
11114 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
11115 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
11116 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
11117 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
11118 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
11119 Remove cases.
11120
9cfa1499
AT
111212011-03-14 Andreas Tobler <andreast@fgznet.ch>
11122
11123 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
11124 Adjust copyright year.
11125
457186f6
ILT
111262011-03-07 Ian Lance Taylor <iant@google.com>
11127
11128 * generic-morestack.c (__splitstack_find): Adjust returned stack
11129 pointer to include all registers pushed by __morestack.
11130
58c741a6
DK
111312011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
11132
11133 PR target/40125
11134 * configure.ac: Call ACX_NONCANONICAL_TARGET.
11135 (toolexecdir): Calculate and AC_SUBST.
11136 (toolexeclibdir): Likewise.
11137 * Makefile.in (target_noncanonical): Import.
11138 (toolexecdir): Likewise.
11139 (toolexeclibdir): Likewise.
11140 * configure: Regenerate.
11141
26716c44
NF
111422010-12-13 Nathan Froyd <froydnj@codesourcery.com>
11143
11144 PR target/46040
11145 * config/arm/bpabi.h: Rename to...
11146 * config/arm/bpabi-lib.h: ...this.
11147
b595b1a1
RO
111482010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11149
11150 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
11151 appropriate.
11152 * configure: Regenerate.
11153
a3abe41c
NF
111542010-11-24 Nathan Froyd <froydnj@codesourcery.com>
11155
11156 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
11157 __FLOAT_WORD_ORDER__.
11158 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
11159 Delete.
11160
455c8f48
RW
111612010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11162
11163 PR other/46202
11164 * Makefile.in (install-strip): New phony target.
11165
f3824a8b
ILT
111662010-11-07 Ian Lance Taylor <iant@google.com>
11167
11168 PR target/46089
11169 * config/i386/morestack.S (__morestack_large_model): New
11170 function.
11171
18ed6ee4
NF
111722010-10-23 Nathan Froyd <froydnj@codesourcery.com>
11173
11174 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
11175 Delete.
11176 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
11177
8ac7fdcb
NF
111782010-10-14 Nathan Froyd <froydnj@codesourcery.com>
11179
11180 * config/arm/bpabi.h: New file.
11181 * config/frv/frv-abi.h: New file.
11182
cdb388c2
ILT
111832010-10-01 Ian Lance Taylor <iant@google.com>
11184
11185 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
11186 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
11187
ef7c141c
L
111882010-10-01 H.J. Lu <hongjiu.lu@intel.com>
11189
11190 PR target/45858
11191 * config.host: Add the missing `$'.
11192
80920132
ME
111932010-09-30 Michael Eager <eager@eagercon.com>
11194
11195 * config.host: Add microblaze*-*-*.
11196 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
11197 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
11198 udivsi3.asm,umodsi3.asm}: New.
11199
6dace308
ILT
112002010-09-28 Ian Lance Taylor <iant@google.com>
11201
11202 * configure.ac: Adjust CFI test to test assembler directly rather
11203 than checking gcc preprocessor macro.
11204 * configure: Rebuild.
11205
b6110d6d
ILT
112062010-09-27 Ian Lance Taylor <iant@google.com>
11207
11208 * configure.ac: Test whether assembler supports CFI directives.
11209 * config.host: Only add t-stack and i386/t-stack-i386 to
11210 tmake_file if libgcc_cv_cfi is "yes".
11211 * configure: Rebuild.
11212
7458026b
ILT
112132010-09-27 Ian Lance Taylor <iant@google.com>
11214
11215 * generic-morestack.h: New file.
11216 * generic-morestack.c: New file.
11217 * generic-morestack-thread.c: New file.
11218 * config/i386/morestack.S: New file.
11219 * config/t-stack: New file.
11220 * config/i386/t-stack-i386: New file.
11221 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
11222 i386/t-stack-i386 to tmake_file.
11223
5b50fc0c
IS
112242010-09-21 Iain Sandoe <iains@gcc.gnu.org>
11225
11226 * Makefile.in (libgcc-extra-parts): Check for static archives and
11227 invoke ranlib after installing them.
11228 (gcc-extra-parts): Likewise.
11229 (install-leaf): Likewise.
11230
b93cf342
L
112312010-09-14 H.J. Lu <hongjiu.lu@intel.com>
11232
11233 * configure: Regenerated.
11234
996b42ef
KT
112352010-09-10 Kai Tietz <kai.tietz@onevision.com>
11236
b93cf342 11237 * configure: Regenerated.
996b42ef 11238
be1c764e
GP
112392010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
11240 Andrew Pinski <pinskia@gmail.com>
11241
1da9434b 11242 PR target/40959
be1c764e
GP
11243 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
11244
cc0ae0ca
L
112452010-09-06 H.J. Lu <hongjiu.lu@intel.com>
11246
11247 PR target/45524
11248 * configure: Regenerated.
11249
84f47d20
AS
112502010-09-06 Andreas Schwab <schwab@redhat.com>
11251
11252 * configure: Regenerate.
11253
4159fb8d
UB
112542010-09-03 Uros Bizjak <ubizjak@gmail.com>
11255
11256 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
11257 64bit targets.
11258 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
11259 for 64bit targets.
11260
0df8fcc8
UB
112612010-09-03 Uros Bizjak <ubizjak@gmail.com>
11262 Iain Sandoe <iains@gcc.gnu.org>
11263
11264 PR target/45476
11265 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
11266 LIB2FUNCS_EXCLUDE functions.
11267
3c39bca6
AK
112682010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11269
11270 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
11271 Include dfp.m4.
11272 * configure: Regenerate.
11273
d78552bd
UB
112742010-09-01 Uros Bizjak <ubizjak@gmail.com>
11275
11276 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
11277 i386/t-freebsd to tmake_file.
11278 * config/i386/t-freebsd: New file.
11279 * config/i386/libgcc-bsd.ver: New file.
11280
c5b79d4e
NF
112812010-07-23 Nathan Froyd <froydnj@codesourcery.com>
11282
11283 * config.host (powerpc*-eabispe*): Set tmake_file.
11284 (powerpc*-eabi*): Likewise.
11285 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
11286 crtbeginS, crtendS, crtbeginT.
11287
48b09a92
KH
112882010-06-12 Kazu Hirata <kazu@codesourcery.com>
11289
11290 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
11291 to tmake_file. Add crtfastmath.o to extra_parts.
11292 * config/mips/t-crtfm: New.
11293
7d296953 112942010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
a4389204
JS
11295
11296 * config.host (sparc64-*-rtems*): New target.
11297
ed104137
RO
112982010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11299
11300 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
11301 assembler syntax.
11302
3f56ef8b
TS
113032010-04-15 Thomas Schwinge <tschwinge@gnu.org>
11304
11305 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
11306
8c200350
RO
113072010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11308
11309 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
11310 alpha-dec-osf5.0* support.
11311
7d296953 113122010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
c1b14424
RC
11313
11314 * config.host: Add lm32-*-rtems*.
11315
f128db92 113162010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7d296953 11317 Uros Bizjak <ubizjak@gmail.com>
f128db92
RO
11318
11319 PR target/39048
11320 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
11321 like other remaining 32-bit x86 OSes.
11322 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
11323 assembler syntax.
11324 * config/i386/libgcc-sol2.ver: New file.
11325 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
11326
7d296953 113272010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
368fabd5
JH
11328
11329 PR c/43553
11330 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
11331 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
11332 is used and substitute set_use_emutls.
11333 * configure: Regenerated.
11334
15baf7f8
TG
113352010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
11336
11337 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
11338
7f5441df
RO
113392010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11340
11341 PR target/38085
11342 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
11343 MULTILIB_CFLAGS.
11344 ($(T)gcrt1.o): Likewise.
11345 ($(T)crt1.o): Likewise.
11346 ($(T)crti.o): Likewise.
11347 ($(T)crtn.o): Likewise.
11348
ef74edbd
RW
113492010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11350
11351 PR other/42980
11352 * Makefile.in (install): Use $(MAKE) string in rule, for
11353 parallel make.
11354
e7c914db
HPN
113552010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
11356
11357 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
11358 * config/mmix/t-mmix: New file.
11359 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
11360
1bcb71c4
JH
113612010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
11362
11363 PR java/41991
11364 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
11365 SHLIB_MAPFILES.
11366
e6e50811
AG
113672010-01-04 Anthony Green <green@moxielogic.com>
11368
11369 * config/moxie/crti.asm, config/moxie/crtn.asm,
11370 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
11371 config/moxie/t-moxie: New files.
11372 * config.host: Add t-moxie-softfp reference.
11373
7d296953 113742009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
ca8520ad
IS
11375
11376 PR other/39888
11377 * config/t-slibgcc-darwin: Fix embedded rpaths for
11378 --enable-version-specific-runtime-libs, build extension stub
11379 libs exposing features available from current libgcc_s.
11380
7d296953 113812009-11-11 Jon Beniston <jon@beniston.com>
aa4945c1 11382
d78552bd
UB
11383 * config.host: Add lm32 targets.
11384 * config/lm32: New directory.
11385 * config/lm32/libgcc_lm32.h: New file.
11386 * config/lm32/_mulsi3.c: New file.
11387 * config/lm32/_udivmodsi4.c: New file.
11388 * config/lm32/_divsi3.c: New file.
11389 * config/lm32/_modsi3.c: New file.
11390 * config/lm32/_udivsi3.c: New file.
11391 * config/lm32/_umodsi3.c: New file.
11392 * config/lm32/_lshrsi3.S: New file.
11393 * config/lm32/_ashrsi3.S: New file.
11394 * config/lm32/_ashlsi3.S: New file.
11395 * config/lm32/crti.S: New file.
11396 * config/lm32/crtn.S: New file.
11397 * config/lm32/t-lm32: New file.
11398 * config/lm32/t-elf: New file.
11399 * config/lm32/t-uclinux: New file.
aa4945c1 11400
65a324b4
NC
114012009-10-26 Nick Clifton <nickc@redhat.com>
11402
11403 * config.host: Add support for RX target.
11404 * config/rx: New directory.
11405 * config/rx/rx-abi-functions.c: New file. Supplementary
11406 functions for libgcc to support the RX ABI.
11407 * config/rx/rx-abi.h: New file. Supplementary header file for
11408 libgcc RX ABI functions.
11409 * config/rx/t-rx: New file: Makefile fragment for building
11410 libgcc for the RX.
11411
dfb3b0e3
UB
114122009-10-09 Uros Bizjak <ubizjak@gmail.com>
11413
11414 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
11415 constraint of y0 to "g".
11416
81dd9fd7
AK
114172009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11418
11419 * config.host: Include the s390 makefile fragments.
11420 * config/s390/32/_fixdfdi.c: New file.
11421 * config/s390/32/_fixsfdi.c: New file.
11422 * config/s390/32/_fixtfdi.c: New file.
11423 * config/s390/32/_fixunsdfdi.c: New file.
11424 * config/s390/32/_fixunssfdi.c: New file.
11425 * config/s390/32/_fixunstfdi.c: New file.
11426 * config/s390/32/t-floattodi: New file.
11427 * config/s390/libgcc-glibc.ver: New file.
11428 * config/s390/t-crtstuff: New file.
11429 * config/s390/t-linux: New file.
11430 * config/s390/t-tpf: New file.
11431
df58e648
RW
114322009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11433
11434 * configure.ac (AC_PREREQ): Bump to 2.64.
11435
79052be3
KK
114362009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
11437
11438 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
11439
5213506e
RW
114402009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11441
11442 * configure: Regenerate.
11443
a9a25daa
DR
114442009-08-09 Douglas B Rupp <rupp@gnat.com>
11445
11446 * config.host (ia64-hp-*vms*): New target.
11447 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
11448 with ia64-hp-*vms*.
11449
6efbd53f
RW
114502009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11451
11452 * configure.ac: Add snippet for maintainer-mode.
11453 * configure: Regenerate.
11454 * Makefile.in (AUTOCONF, configure_deps): New variables.
11455 ($(srcdir)/configure)): New rule, active only with maintainer
11456 mode turned on.
11457
7acf4da6
DD
114582009-06-23 DJ Delorie <dj@redhat.com>
11459
11460 Add MeP port.
11461 * config.host: Add mep support.
11462
54f549af
KT
114632009-06-22 Kai Tietz <kai.tietz@onevision.com>
11464
34481f28 11465 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 11466 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
34481f28
UB
11467
11468 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
11469 for mingw targets.
54f549af
KT
11470 * config/i386/64/_multc3.c: Likewise.
11471 * config/i386/64/_powitf2.c: Likewise.
11472 * config/i386/64/eqtf2.c: Likewise.
11473 * config/i386/64/getf2.c: Likewise.
11474 * config/i386/64/letf2.c: Likewise.
11475 * config/i386/64/letf2.c: Likewise.
34481f28
UB
11476 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
11477 unsigned long long for x64 mingw targets.
11478 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
11479 (_FP_I_TYPE): Define as long long for x64 mingw target.
54f549af 11480
fea96e25
MR
114812009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
11482
11483 * config.host (vax-*-linux*): New.
11484
cceb575c
AG
114852009-05-31 Anthony Green <green@moxielogic.com>
11486
11487 * config.host: Add moxie support.
11488 * config/moxie/t-moxie: New file.
11489
7d296953 114902009-05-29 David Billinghurst <billingd@gcc.gnu.org>
e997fb9c
DB
11491
11492 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 11493 t-softfp to tmake_file for i[34567]86-*-cygwin*.
e997fb9c 11494
532bfb0a
AJ
114952009-04-17 Aurelien Jarno <aurelien@aurel32.net>
11496
11497 * config.host: Add i386/${host_address}/t-fprules-softfp to
11498 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
11499
748086b7
JJ
115002009-04-09 Nick Clifton <nickc@redhat.com>
11501
11502 * config/ia64/tf-signs.c: Change copyright header to refer to
11503 version 3 of the GNU General Public License with version 3.1
11504 of the GCC Runtime Library Exception and to point readers at
11505 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
11506 web page.
11507 * config/i386/32/tf-signs.c: Likewise.
11508 * config/libbid/_addsub_dd.c: Likewise.
11509 * config/libbid/_addsub_sd.c: Likewise.
11510 * config/libbid/_addsub_td.c: Likewise.
11511 * config/libbid/_dd_to_df.c: Likewise.
11512 * config/libbid/_dd_to_di.c: Likewise.
11513 * config/libbid/_dd_to_sd.c: Likewise.
11514 * config/libbid/_dd_to_sf.c: Likewise.
11515 * config/libbid/_dd_to_si.c: Likewise.
11516 * config/libbid/_dd_to_td.c: Likewise.
11517 * config/libbid/_dd_to_tf.c: Likewise.
11518 * config/libbid/_dd_to_udi.c: Likewise.
11519 * config/libbid/_dd_to_usi.c: Likewise.
11520 * config/libbid/_dd_to_xf.c: Likewise.
11521 * config/libbid/_df_to_dd.c: Likewise.
11522 * config/libbid/_df_to_sd.c: Likewise.
11523 * config/libbid/_df_to_td.c: Likewise.
11524 * config/libbid/_di_to_dd.c: Likewise.
11525 * config/libbid/_di_to_sd.c: Likewise.
11526 * config/libbid/_di_to_td.c: Likewise.
11527 * config/libbid/_div_dd.c: Likewise.
11528 * config/libbid/_div_sd.c: Likewise.
11529 * config/libbid/_div_td.c: Likewise.
11530 * config/libbid/_eq_dd.c: Likewise.
11531 * config/libbid/_eq_sd.c: Likewise.
11532 * config/libbid/_eq_td.c: Likewise.
11533 * config/libbid/_ge_dd.c: Likewise.
11534 * config/libbid/_ge_sd.c: Likewise.
11535 * config/libbid/_ge_td.c: Likewise.
11536 * config/libbid/_gt_dd.c: Likewise.
11537 * config/libbid/_gt_sd.c: Likewise.
11538 * config/libbid/_gt_td.c: Likewise.
11539 * config/libbid/_isinfd128.c: Likewise.
11540 * config/libbid/_isinfd32.c: Likewise.
11541 * config/libbid/_isinfd64.c: Likewise.
11542 * config/libbid/_le_dd.c: Likewise.
11543 * config/libbid/_le_sd.c: Likewise.
11544 * config/libbid/_le_td.c: Likewise.
11545 * config/libbid/_lt_dd.c: Likewise.
11546 * config/libbid/_lt_sd.c: Likewise.
11547 * config/libbid/_lt_td.c: Likewise.
11548 * config/libbid/_mul_dd.c: Likewise.
11549 * config/libbid/_mul_sd.c: Likewise.
11550 * config/libbid/_mul_td.c: Likewise.
11551 * config/libbid/_ne_dd.c: Likewise.
11552 * config/libbid/_ne_sd.c: Likewise.
11553 * config/libbid/_ne_td.c: Likewise.
11554 * config/libbid/_sd_to_dd.c: Likewise.
11555 * config/libbid/_sd_to_df.c: Likewise.
11556 * config/libbid/_sd_to_di.c: Likewise.
11557 * config/libbid/_sd_to_sf.c: Likewise.
11558 * config/libbid/_sd_to_si.c: Likewise.
11559 * config/libbid/_sd_to_td.c: Likewise.
11560 * config/libbid/_sd_to_tf.c: Likewise.
11561 * config/libbid/_sd_to_udi.c: Likewise.
11562 * config/libbid/_sd_to_usi.c: Likewise.
11563 * config/libbid/_sd_to_xf.c: Likewise.
11564 * config/libbid/_sf_to_dd.c: Likewise.
11565 * config/libbid/_sf_to_sd.c: Likewise.
11566 * config/libbid/_sf_to_td.c: Likewise.
11567 * config/libbid/_si_to_dd.c: Likewise.
11568 * config/libbid/_si_to_sd.c: Likewise.
11569 * config/libbid/_si_to_td.c: Likewise.
11570 * config/libbid/_td_to_dd.c: Likewise.
11571 * config/libbid/_td_to_df.c: Likewise.
11572 * config/libbid/_td_to_di.c: Likewise.
11573 * config/libbid/_td_to_sd.c: Likewise.
11574 * config/libbid/_td_to_sf.c: Likewise.
11575 * config/libbid/_td_to_si.c: Likewise.
11576 * config/libbid/_td_to_tf.c: Likewise.
11577 * config/libbid/_td_to_udi.c: Likewise.
11578 * config/libbid/_td_to_usi.c: Likewise.
11579 * config/libbid/_td_to_xf.c: Likewise.
11580 * config/libbid/_tf_to_dd.c: Likewise.
11581 * config/libbid/_tf_to_sd.c: Likewise.
11582 * config/libbid/_tf_to_td.c: Likewise.
11583 * config/libbid/_udi_to_dd.c: Likewise.
11584 * config/libbid/_udi_to_sd.c: Likewise.
11585 * config/libbid/_udi_to_td.c: Likewise.
11586 * config/libbid/_unord_dd.c: Likewise.
11587 * config/libbid/_unord_sd.c: Likewise.
11588 * config/libbid/_unord_td.c: Likewise.
11589 * config/libbid/_usi_to_dd.c: Likewise.
11590 * config/libbid/_usi_to_sd.c: Likewise.
11591 * config/libbid/_usi_to_td.c: Likewise.
11592 * config/libbid/_xf_to_dd.c: Likewise.
11593 * config/libbid/_xf_to_sd.c: Likewise.
11594 * config/libbid/_xf_to_td.c: Likewise.
11595 * config/libbid/bid128.c: Likewise.
11596 * config/libbid/bid128_2_str.h: Likewise.
11597 * config/libbid/bid128_2_str_macros.h: Likewise.
11598 * config/libbid/bid128_2_str_tables.c: Likewise.
11599 * config/libbid/bid128_add.c: Likewise.
11600 * config/libbid/bid128_compare.c: Likewise.
11601 * config/libbid/bid128_div.c: Likewise.
11602 * config/libbid/bid128_fma.c: Likewise.
11603 * config/libbid/bid128_logb.c: Likewise.
11604 * config/libbid/bid128_minmax.c: Likewise.
11605 * config/libbid/bid128_mul.c: Likewise.
11606 * config/libbid/bid128_next.c: Likewise.
11607 * config/libbid/bid128_noncomp.c: Likewise.
11608 * config/libbid/bid128_quantize.c: Likewise.
11609 * config/libbid/bid128_rem.c: Likewise.
11610 * config/libbid/bid128_round_integral.c: Likewise.
11611 * config/libbid/bid128_scalb.c: Likewise.
11612 * config/libbid/bid128_sqrt.c: Likewise.
11613 * config/libbid/bid128_string.c: Likewise.
11614 * config/libbid/bid128_to_int16.c: Likewise.
11615 * config/libbid/bid128_to_int32.c: Likewise.
11616 * config/libbid/bid128_to_int64.c: Likewise.
11617 * config/libbid/bid128_to_int8.c: Likewise.
11618 * config/libbid/bid128_to_uint16.c: Likewise.
11619 * config/libbid/bid128_to_uint32.c: Likewise.
11620 * config/libbid/bid128_to_uint64.c: Likewise.
11621 * config/libbid/bid128_to_uint8.c: Likewise.
11622 * config/libbid/bid32_to_bid128.c: Likewise.
11623 * config/libbid/bid32_to_bid64.c: Likewise.
11624 * config/libbid/bid64_add.c: Likewise.
11625 * config/libbid/bid64_compare.c: Likewise.
11626 * config/libbid/bid64_div.c: Likewise.
11627 * config/libbid/bid64_fma.c: Likewise.
11628 * config/libbid/bid64_logb.c: Likewise.
11629 * config/libbid/bid64_minmax.c: Likewise.
11630 * config/libbid/bid64_mul.c: Likewise.
11631 * config/libbid/bid64_next.c: Likewise.
11632 * config/libbid/bid64_noncomp.c: Likewise.
11633 * config/libbid/bid64_quantize.c: Likewise.
11634 * config/libbid/bid64_rem.c: Likewise.
11635 * config/libbid/bid64_round_integral.c: Likewise.
11636 * config/libbid/bid64_scalb.c: Likewise.
11637 * config/libbid/bid64_sqrt.c: Likewise.
11638 * config/libbid/bid64_string.c: Likewise.
11639 * config/libbid/bid64_to_bid128.c: Likewise.
11640 * config/libbid/bid64_to_int16.c: Likewise.
11641 * config/libbid/bid64_to_int32.c: Likewise.
11642 * config/libbid/bid64_to_int64.c: Likewise.
11643 * config/libbid/bid64_to_int8.c: Likewise.
11644 * config/libbid/bid64_to_uint16.c: Likewise.
11645 * config/libbid/bid64_to_uint32.c: Likewise.
11646 * config/libbid/bid64_to_uint64.c: Likewise.
11647 * config/libbid/bid64_to_uint8.c: Likewise.
11648 * config/libbid/bid_b2d.h: Likewise.
11649 * config/libbid/bid_binarydecimal.c: Likewise.
11650 * config/libbid/bid_conf.h: Likewise.
11651 * config/libbid/bid_convert_data.c: Likewise.
11652 * config/libbid/bid_decimal_data.c: Likewise.
11653 * config/libbid/bid_decimal_globals.c: Likewise.
11654 * config/libbid/bid_div_macros.h: Likewise.
11655 * config/libbid/bid_dpd.c: Likewise.
11656 * config/libbid/bid_flag_operations.c: Likewise.
11657 * config/libbid/bid_from_int.c: Likewise.
11658 * config/libbid/bid_functions.h: Likewise.
11659 * config/libbid/bid_gcc_intrinsics.h: Likewise.
11660 * config/libbid/bid_inline_add.h: Likewise.
11661 * config/libbid/bid_internal.h: Likewise.
11662 * config/libbid/bid_round.c: Likewise.
11663 * config/libbid/bid_sqrt_macros.h: Likewise.
11664
116652009-04-09 Jakub Jelinek <jakub@redhat.com>
11666
11667 * Makefile.in: Change copyright header to refer to version
11668 3 of the GNU General Public License and to point readers at the
11669 COPYING3 file and the FSF's license web page.
11670 * config.host: Likewise.
11671
633dd061
AM
116722009-04-07 Alan Modra <amodra@bigpond.net.au>
11673
11674 * config.host: Reorder and merge to match config.gcc change.
11675
457d1d00
AM
116762009-04-03 Alan Modra <amodra@bigpond.net.au>
11677
11678 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
11679
52c0e446
JM
116802009-03-28 Joseph Myers <joseph@codesourcery.com>
11681
11682 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
11683 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
11684 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
11685 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
11686
ba181049
UB
116872009-02-12 Uros Bizjak <ubizjak@gmail.com>
11688
11689 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
11690 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
11691
c252db20
L
116922009-02-12 H.J. Lu <hongjiu.lu@intel.com>
11693
ba181049
UB
11694 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
11695 ia64/t-softfp-compat to tmake_file.
c252db20
L
11696
11697 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
11698
11699 * config/ia64/__divxf3.asm: New.
11700 * config/ia64/_fixtfdi.asm: Likewise.
11701 * config/ia64/_fixunstfdi.asm: Likewise.
11702 * config/ia64/_floatditf.asm: Likewise.
11703 * config/ia64/t-fprules-softfp: Likewise.
11704 * config/ia64/t-softfp-compat: Likewise.
11705 * config/ia64/tf-signs.c: Likewise.
11706
c60535f9
BE
117072009-01-18 Ben Elliston <bje@au.ibm.com>
11708
11709 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
11710
ce16861e
BE
117112009-01-16 Ben Elliston <bje@au.ibm.com>
11712
11713 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
11714 to tmake_file.
11715
bcf4713b
BE
117162009-01-13 Ben Elliston <bje@au.ibm.com>
11717
11718 * config/t-softfp: New file.
11719 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
11720 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
11721
7d296953 117222009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
2042cb04
JS
11723
11724 * config.host: Add m32r*-*-rtems*.
11725
7d296953 117262008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
541ed00e
JS
11727
11728 * config.host: Add m32c*-*-rtems*.
11729
19523300
RO
117302008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11731
11732 PR bootstrap/33100
11733 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
11734 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
11735 * configure: Regenerate.
11736 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
11737 tmake_file here from gcc/config.gcc.
11738 Move extra_parts here from gcc/config.gcc.
11739 * config/i386/t-sol2: Move here from gcc/config/i386.
11740 Use gcc_srcdir instead of srcdir.
11741
0a4a51c7
AN
117422008-11-18 Adam Nemet <anemet@caviumnetworks.com>
11743
11744 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
11745 case.
11746
2a761e46
TS
117472008-11-09 Thomas Schwinge <tschwinge@gnu.org>
11748
11749 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
11750
c0451df7
TS
117512008-10-08 Thomas Schwinge <tschwinge@gnu.org>
11752
11753 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
11754
358da97e
HS
117552008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
11756
11757 Add picoChip port.
11758 * config.host: Add picochip-*-*.
11759
c660f132
BW
117602008-08-06 Bob Wilson <bob.wilson@acm.org>
11761
11762 * config.host: Match more processor names for Xtensa.
11763
d1349557
L
117642008-07-08 H.J. Lu <hongjiu.lu@intel.com>
11765
11766 * config/i386/64/t-softfp-compat: Update comments.
11767
dd7b73c0
L
117682008-07-07 H.J. Lu <hongjiu.lu@intel.com>
11769
11770 * config/i386/64/_divtc3-compat.c: Moved to ...
11771 * config/i386/64/_divtc3.c: Here.
11772
11773 * config/i386/64/_multc3-compat.c: Moved to ...
11774 * config/i386/64/_multc3.c: Here.
11775
11776 * config/i386/64/_powitf2-compat.c: Moved to ...
11777 * config/i386/64/_powitf2.c: Here.
11778
11779 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
11780 .c suffix instead of -compat.c.
11781
6e1fab3d
UB
117822008-07-05 Uros Bizjak <ubizjak@gmail.com>
11783
11784 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
11785 (_FP_MUL_MEAT_D): Ditto.
11786 (_FP_DIV_MEAT_S): Ditto.
11787 (_FP_DIV_MEAT_D): Ditto.
11788
f92518d7
RS
117892008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
11790
11791 * Makefile.in: Add support for __sync_* libgcc functions.
11792
d0aede14
L
117932008-07-03 H.J. Lu <hongjiu.lu@intel.com>
11794
11795 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
11796
c174f11c
L
117972008-07-02 H.J. Lu <hongjiu.lu@intel.com>
11798
11799 PR boostrap/36702
11800 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
11801 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
11802
11803 * config/i386/64/t-fprules-softfp: Moved to ...
11804 * config/i386/64/t-softfp-compat: This. New.
11805
5f464fa2
UB
118062008-07-02 Uros Bizjak <ubizjak@gmail.com>
11807
11808 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
11809 Initialize f with 0.0.
11810
ff473280
L
118112008-07-02 H.J. Lu <hongjiu.lu@intel.com>
11812
11813 PR target/36669
11814 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
11815
11816 * config/i386/64/_divtc3-compat.c: New.
11817 * config/i386/64/_multc3-compat.c: Likewise.
11818 * config/i386/64/_powitf2-compat.c: Likewise.
11819 * config/i386/64/eqtf2.c: Likewise.
11820 * config/i386/64/getf2.c: Likewise.
11821 * config/i386/64/letf2.c: Likewise.
11822 * config/i386/64/t-fprules-softfp: Likewise.
11823
118242008-07-02 H.J. Lu <hongjiu.lu@intel.com>
11825
11826 * config.host: Add i386/${host_address}/t-fprules-softfp to
11827 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
dfb3b0e3 11828 i[34567]86-*-linux*, x86_64-*-linux*.
ff473280
L
11829
11830 * configure.ac: Set host_address to 64 or 32 for x86.
11831 * configure: Regenerated.
11832
11833 * Makefile.in (config.status): Also depend on
11834 $(srcdir)/config.host.
11835
11836 * config/i386/32/t-fprules-softfp: New.
11837 * config/i386/32/tf-signs.c: Likewise.
11838
11839 * config/i386/64/sfp-machine.h: New. Moved from gcc.
11840
118412008-07-02 H.J. Lu <hongjiu.lu@intel.com>
11842 Uros Bizjak <ubizjak@gmail.com>
11843
11844 * config/i386/32/sfp-machine.h: New.
11845
30551d99
NF
118462008-06-26 Nathan Froyd <froydnj@codesourcery.com>
11847
11848 * config/rs6000/t-ppccomm: Remove rules that conflict with
11849 auto-generated rules.
11850
18c04407
RW
118512008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11852
11853 * configure.ac: sinclude override.m4.
11854 * configure: Regenerate.
11855
10fbe77a
BRF
118562008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
11857
11858 * configure: Regenerate.
11859
bc6d4c3f
JM
118602008-06-10 Joseph Myers <joseph@codesourcery.com>
11861
11862 * Makefile.in (DECNUMINC): Remove
11863 -I$(MULTIBUILDTOP)../../libdecnumber.
11864 * gstdint.h: New.
11865
cd985f66
JM
118662008-06-07 Joseph Myers <joseph@codesourcery.com>
11867
11868 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
11869 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
11870 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
11871 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
11872 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
11873 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
11874 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
11875 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
11876 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
11877 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
11878 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
11879 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
11880 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
11881 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
11882
93fea8d3
AL
118832008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
11884
11885 * config.host (sh2[lbe]*-*-linux*): Allow target.
11886
18724e30
NF
118872008-04-30 Nathan Froyd <froydnj@codesourcery.com>
11888
11889 * config/rs6000/t-ppccomm: Add build rules for new files.
11890 (LIB2ADD_ST): New variable.
11891
47583040
AH
118922008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
11893
11894 PR target/34210
11895 PR target/35508
11896 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
11897 * config/t-avr: New file. Build 16bit libgcc functions.
11898
cf8e67fe
JJ
118992008-03-02 Jakub Jelinek <jakub@redhat.com>
11900
11901 PR target/35401
11902 * config/t-slibgcc-darwin: Make install-leaf dependent on
11903 install-darwin-libgcc-stubs instead of install.
11904
8d8da227
JM
119052008-01-25 Joseph Myers <joseph@codesourcery.com>
11906
11907 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
11908 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
11909 sh-*-rtemscoff*): Remove cases.
11910
edbf8b16
RS
119112007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
11912
11913 * Makefile.in (all): Use install-leaf rather than install.
11914 (install): Split most of the rule into...
11915 (install-leaf): ...this new one.
11916
89deeaff
EK
119172007-12-19 Etsushi Kato <ek.kato@gmail.com>
11918 Paolo Bonzini <bonzini@gnu.org>
11919
11920 PR target/30572
5f464fa2
UB
11921 * Makefile.in: Use @shlib_slibdir@ substitution to get
11922 correct install name on darwin.
89deeaff 11923 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
dfb3b0e3 11924
4081d704
HPN
119252007-12-15 Hans-Peter Nilsson <hp@axis.com>
11926
11927 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
11928 cris-*-elf and cris-*-none.
11929 (crisv32-*-linux*): Similar, as cris-*-linux*.
11930
f43e89a3
RIL
119312007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
11932
11933 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
11934
b4e9c2c6
L
119352007-10-27 H.J. Lu <hongjiu.lu@intel.com>
11936
11937 PR regression/33926
11938 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
11939 * configure: Regenerated.
11940
b2a00c89
L
119412007-09-27 H.J. Lu <hongjiu.lu@intel.com>
11942
11943 * Makefile.in (dfp-filenames): Replace decimal_globals,
11944 decimal_data, binarydecimal and convert_data with
11945 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
11946 and bid_convert_data, respectively.
11947
8d2a9e0e
CF
119482007-09-17 Chao-ying Fu <fu@mips.com>
11949 Nigel Stephens <nigel@mips.com>
11950
11951 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
11952 * Makefile.in (fixed_point): Define.
11953 Check if fixed_point is yes to build support functions.
11954 * configure.ac: Check for fixed_point support.
11955 * configure: Regenerated.
11956 * gen-fixed.sh: New file to generate lists of fixed-point labels,
11957 funcs, modes, from, to.
11958
2b53935d
JJ
119592007-09-11 Janis Johnson <janis187@us.ibm.com
11960
11961 * Makefile.in (dfp-filenames): Add bid128_noncomp.
11962
2533577f
JJ
119632007-09-10 Janis Johnson <janis187@us.ibm.com>
11964
11965 * Makefile.in (dfp-filenames): Remove decUtility, add
11966 decDouble, decPacked, decQuad, decSingle.
11967
3ae3dbd6
HK
119682007-08-27 Hans Kester <hans.kester@ellips.nl>
11969
11970 * config.host : Add x86_64-elf target.
11971
22867d02
L
119722007-07-06 H.J. Lu <hongjiu.lu@intel.com>
11973
11974 * configure.ac (set_have_cc_tls): Add a missing =.
11975 * configure: Regenerated.
11976
6f461e76
L
119772007-07-06 H.J. Lu <hongjiu.lu@intel.com>
11978
11979 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
11980 and x86_64-*-linux*.
11981
11982 * config/t-tls: New file.
11983
dfb3b0e3 11984 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6f461e76
L
11985
11986 * configure.ac: Include ../config/enable.m4 and
11987 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
11988 supports TLS and substitute set_have_cc_tls.
11989 * configure: Regenerated.
11990
200359e8
L
119912007-07-04 H.J. Lu <hongjiu.lu@intel.com>
11992
11993 * Makefile.in: Use libbid for DFP when BID is enabled.
11994
76f5e200
DS
119952007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
11996
11997 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
dfb3b0e3 11998 extra_parts. Add config/i386/t-cygming to tmake_file.
76f5e200
DS
11999 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
12000
9bd196f0 120012007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
200359e8 12002 Danny Smith <dannysmith@users.sourceforge.net>
9bd196f0
ZM
12003
12004 PR target/29498
12005 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
12006 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
12007 * config/i386/t-crtfm: Compile crtfastmath.o with
12008 -minline-all-stringops.
12009
1910440e
RS
120102007-05-10 Richard Sandiford <richard@codesourcery.com>
12011
12012 * config.host (sparc-wrs-vxworks): New target.
12013
7d33c31d
KH
120142007-04-14 Kazu Hirata <kazu@codesourcery.com>
12015
12016 * config.host: Recognize fido.
12017
96fccd0d
JJ
120182007-04-04 Janis Johnson <janis187@us.ibm.com>
12019
12020 * configure: Check host, not target, for decimal float support.
12021
577565f9
UB
120222007-04-03 Uros Bizjak <ubizjak@gmail.com>
12023
12024 * config/i386/t-crtpc: New file.
12025 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5f464fa2 12026 (x86_64-*-linux*): Ditto.
577565f9 12027
ccf8e764
RH
120282007-02-30 Kai Tietz <kai.tietz@onevision.com>
12029
12030 * config.host (x86_64-*-mingw*): New target.
12031
79b87c74
MM
120322007-03-23 Michael Meissner <michael.meissner@amd.com>
12033 H.J. Lu <hongjiu.lu@intel.com>
12034
12035 * Makefile.in (enable_decimal_float): New.
12036 (DECNUMINC): Add
12037 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
12038 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
12039 (decbits-filenames): This.
12040 (decbits-objects): New.
12041 (libgcc-objects): Add $(decbits-objects).
12042
12043 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
12044 Substitute enable_decimal_float.
12045 * configure: Regenerated.
12046
8fce4e31
HPN
120472007-03-19 Hans-Peter Nilsson <hp@axis.com>
12048
12049 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
12050
e8bb4597
BM
120512007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
12052
12053 * Makefile.in (install-info): New dummy target.
12054
344189f9
BS
120552007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
12056
12057 * config.host (bfin*-linux-uclibc*): Set extra_parts.
12058
ac84c172
BM
120592007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
12060
12061 * Makefile.in: Add install-html and install-pdf dummy
12062 targets.
12063
cd5c2357
RS
120642007-02-05 Roger Sayle <roger@eyesopen.com>
12065 Daniel Jacobowitz <dan@codesourcery.com>
12066
12067 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
12068 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
12069 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
12070
d9a66f98
JJ
120712007-01-29 Janis Johnson <janis187@us.ibm.com>
12072
12073 * Makefile.in (dec-filenames): Add decExcept.
12074
9891ec5f
DJ
120752007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
12076
12077 PR bootstrap/30469
12078 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
12079 -fprofile-use.
12080
d6efbf5a
DJ
120812007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
12082
12083 * configure.ac: Add --enable-version-specific-runtime-libs.
12084 Correct $slibdir default.
12085 * configure: Regenerated.
12086
17caeff2
JM
120872007-01-23 Joseph Myers <joseph@codesourcery.com>
12088
12089 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
12090
5ea41e3a
AP
120912007-01-21 Andrew Pinski <pinskia@gmail.com>
12092
12093 PR target/30519
12094 * config.host (alpha*-*-linux*): Set extra_parts.
12095
26900826
KK
120962007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
12097
12098 * config/sh/t-linux: New.
12099 * config.host (sh*-*-linux*): Set tmake_file.
12100
97af925b
DJ
121012007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
12102
12103 * Makefile.in (install): Handle multilibs.
12104
b0088af7
BM
121052007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
12106
12107 * Makefile.in: Added .PHONY entry for documentation targets.
12108
e0a9456a
BM
121092007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
12110
12111 * Makefile.in: Add empty info, html, dvi, pdf targets.
12112
7fd453b4
MS
121132007-01-04 Mike Stump <mrs@apple.com>
12114
12115 * Makefile.in (MAKEINFO): Remove.
12116 (PERL): Likewise.
12117
14e8fc8b
PB
121182007-01-04 Paolo Bonzini <bonzini@gnu.org>
12119
12120 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
12121 * configure: Regenerate.
12122 * Makefile.in (host_subdir): Substitute it.
dfb3b0e3 12123 (gcc_objdir): Use it.
14e8fc8b 12124
1555beba
DJ
121252007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
12126
12127 * config.host (ia64*-*-linux*): Set tmake_file.
12128
79e6eaeb
DJ
121292007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
12130
12131 * Makefile.in (version): Define.
12132
fa958513
DJ
121332007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
12134 Paolo Bonzini <bonzini@gnu.org>
12135
12136 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
12137 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
12138 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
12139 config/sparc/t-crtfm, config/t-slibgcc-darwin,
12140 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
12141 shared-object.mk, siditi-object.mk, static-object.mk: New files.
12142 * configure: Generated.
818ab71a 12143\f
877e3c2a 12144Copyright (C) 2007-2022 Free Software Foundation, Inc.
818ab71a
JJ
12145
12146Copying and distribution of this file, with or without modification,
12147are permitted in any medium without royalty provided the copyright
12148notice and this notice are preserved.