]> git.ipfire.org Git - thirdparty/gcc.git/blob - libgcc/ChangeLog
Daily bump.
[thirdparty/gcc.git] / libgcc / ChangeLog
1 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
2
3 * libgcov-util.c (ftw_read_file): Improve notice using xstrerror().
4 (gcov_profile_merge_stream): Likewise.
5
6 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
7
8 * libgcov-util.c (consume_stream): New.
9 (get_target_profiles_for_merge): Likewise.
10 (gcov_profile_merge_stream): Likewise.
11
12 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
13
14 * libgcov-util.c (ftw_read_file): Use size_t for strlen() variables.
15
16 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
17
18 * libgcov-util.c (read_gcda_file): Do not open file.
19 (ftw_read_file): Open file here.
20
21 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
22
23 * libgcov-util.c (read_gcda_file): Prepend new info object to global
24 list.
25 (ftw_read_file): Remove list append here.
26
27 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
28
29 * libgcov-util.c (read_gcda_file): Do not duplicate filename.
30 (ftw_read_file): Duplicate filename for read_gcda_file().
31
32 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
33
34 * gcov.h (__gcov_info_to_gcda): Mention __gcov_filename_to_gcfn().
35 (__gcov_filename_to_gcfn): Declare and document.
36 * libgcov-driver.c (dump_string): New.
37 (__gcov_filename_to_gcfn): Likewise.
38 (__gcov_info_to_gcda): Adjust comment to match C11 standard language.
39
40 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
41
42 * libgcov.h (gcov_seek): Remove define and declaration.
43
44 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
45
46 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Add mode
47 parameter. Pass mode to gcov_open() calls.
48 * libgcov-driver.c (dump_one_gcov): Add mode parameter. Pass mode to
49 gcov_exit_open_gcda_file() call.
50 (gcov_do_dump): Add mode parameter. Pass mode to dump_one_gcov()
51 calls.
52 (__gcov_dump_one): Open file for reading and writing.
53
54 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
55
56 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Open file for
57 reading and writing.
58 * libgcov-util.c (read_gcda_file): Open file for reading.
59 * libgcov.h (gcov_open): Delete declaration.
60
61 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
62
63 * libgcov-util.c (gcov_profile_merge): Return the list of merged
64 profiles. Accept empty target and source profile lists.
65
66 2022-04-08 Sergei Trofimovich <siarheit@google.com>
67
68 * config/ia64/fde-glibc.c: Make a no-op in inhibit_libc mode.
69
70 2022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
71 Lulu Cheng <chenglulu@loongson.cn>
72
73 * configure: Regenerate file.
74
75 2022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
76 Lulu Cheng <chenglulu@loongson.cn>
77
78 * config/loongarch/crtfastmath.c: New file.
79 * config/loongarch/linux-unwind.h: Like wise.
80 * config/loongarch/sfp-machine.h: Like wise.
81 * config/loongarch/t-crtstuff: Like wise.
82 * config/loongarch/t-loongarch: Like wise.
83 * config/loongarch/t-loongarch64: Like wise.
84 * config/loongarch/t-softfp-tf: Like wise.
85 * config.host: Add LoongArch tuples.
86 * configure.ac: Add LoongArch support.
87
88 2022-03-19 Sergei Trofimovich <slyfox at gentoo dot org>
89
90 PR libgcc/86224
91 * config/m68k/lb1sf68.S (__mulsi3_internal): Internal, hidden alias
92 for __mulsi3.
93 (__udivsi3_internal, __divsi3_internal): Similarly.
94 (__umodsi3, __modsi3): Use the internal function names.
95
96 2022-03-09 Tobias Burnus <tobias@codesourcery.com>
97
98 PR target/102215
99 * config/gcn/atomic.c (__sync_val_compare_and_swap_##SIZE): Move
100 a line up to non-arg-dependent value first.
101 (__ATOMIC_COMPARE_EXCHANGE): Define + call to generate
102 __atomic_compare_exchange_{1,2}.
103
104 2022-03-04 Iain Sandoe <iain@sandoe.co.uk>
105
106 * config/rs6000/t-darwin-ehs: Add darwin-fallback.o.
107 * config/t-darwin-ehs: Add dependency on unwind.h.
108
109 2022-02-24 Xi Ruoyao <xry111@mengyan1223.wang>
110
111 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call find_fde_tail
112 with 0 instead of NULL.
113
114 2022-02-24 Jose E. Marchesi <jose.marchesi@oracle.com>
115
116 PR target/104656
117 * configure.ac: --disable-gcov if targetting bpf-*.
118 * configure: Regenerate.
119
120 2022-01-25 Florian Weimer <fweimer@redhat.com>
121
122 PR libgcc/104207
123 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Add NULL check.
124
125 2022-01-17 Martin Liska <mliska@suse.cz>
126
127 * libgcov-driver.c: Rename .c names to .cc.
128
129 2022-01-15 David <gccbugzilla@limegreensocks.com>
130
131 * config/i386/gthr-win32.c (__gthr_i486_lock_cmp_xchg):
132 Remove inlined version, Windows 95 is no longer relevant.
133 * config/i386/gthr-win32.h
134 (__GTHREAD_I486_INLINE_LOCK_PRIMITIVES): unset.
135
136 2022-01-14 Claudiu Zissulescu <claziss@synopsys.com>
137
138 * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
139 DWARF_ALT_FRAME_RETURN_COLUMN macro.
140
141 2022-01-04 Florian Weimer <fweimer@redhat.com>
142
143 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call _dl_find_object
144 if available.
145
146 2022-01-02 John David Anglin <danglin@gcc.gnu.org>
147
148 * config/pa/linux-atomic.c (_ASM_EFAULT): Define.
149 (__kernel_cmpxchg): Nullify illegal iitlbp instruction if error
150 return is not equal _ASM_EFAULT.
151 (__kernel_cmpxchg2): Likewise.
152
153 2021-12-17 Iain Sandoe <iain@sandoe.co.uk>
154
155 * config.host: Add shim declaration header to powerpc*-darwin builds.
156 * config/rs6000/t-darwin-ehs: Remove dependency on the powerpc end
157 file.
158 * config/t-darwin-ehs: Add dependencies to the shared unwinder
159 objects.
160 * config/t-slibgcc-darwin: Add extra_parts to the dependencies for
161 the shared EH lib. Add all-multi to the dependencies for the
162 libgcc_s.1.dylib redirections.
163
164 2021-12-13 Olivier Hainque <hainque@adacore.com>
165
166 * config.host (powerpc*-*-vxworks7*): Remove
167 rs6000/t-linux and t-slibgcc-libgcc from tmake_file.
168
169 2021-12-13 Olivier Hainque <hainque@adacore.com>
170
171 * config.host (*vxworks*): Remove special case for
172 arm on the use of vxcrtstuff.
173
174 2021-12-13 Fred Konrad <konrad@adacore.com>
175 Olivier Hainque <hainque@adacore.com>
176
177 * config/t-vxcrtstuffS: New Makefile fragment.
178 * config/vxcrtstuff.c: Provide __dso_handle. Provide _init/_fini
179 functions for INITFINI_ARRAY support in shared libs and guard
180 the definition of eh table registration functions on conditions
181 indicating they are needed.
182
183 2021-12-13 Olivier Hainque <hainque@adacore.com>
184
185 * config.host (powerpc*-wrs-vxworks7*): Place t-crtstuff
186 ahead of the other files in tmake_files.
187 * config/t-vxworks: Add to CRTSTUFF_T_CFLAGS instead of
188 overriding it.
189
190 2021-12-13 Olivier Hainque <hainque@adacore.com>
191
192 * config/t-vxworks (LIBGCC2_INCLUDES): Simplify and handle
193 both VxWorks7 and earlier.
194 * config/t-vxworks7: Remove.
195 * config.host: Remove special case for vxworks7.
196
197 2021-12-11 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
198
199 * config/vxcrtstuff.c: Make constructor and destructor
200 functions static when possible.
201
202 2021-12-11 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
203
204 * config/vxcrtstuff.c: Remove constructor/destructor
205 declarations.
206
207 2021-12-10 Iain Sandoe <iain@sandoe.co.uk>
208
209 * config/t-darwin: Add libgcc_tm.h to the dependencies
210 for darwin10-unwind-find-enc-func.
211
212 2021-12-10 Rasmus Villemoes <rv@rasmusvillemoes.dk>
213
214 * config/rs6000/t-vxworks: New file.
215 * config.host (powerpc*-*-vxworks*): Use it instead of
216 t-ppccomm.
217
218 2021-12-09 Fred Konrad <konrad@adacore.com>
219
220 * config.host (powerpc*-wrs-vxworks7*): Fix path to
221 rs6000/t-ppc64-fp, relative to config/ not libgcc/.
222
223 2021-12-09 Olivier Hainque <hainque@adacore.com>
224 Rasmus Villemoes <rv@rasmusvillemoes.dk>
225
226 * config/t-vxworks: Set CRTSTUFF_T_CFLAGS to
227 $(LIBGCC2_INCLUDES).
228 * config/t-vxworks7: Likewise.
229
230 2021-12-08 Iain Sandoe <iain@sandoe.co.uk>
231
232 * config.host (*-*-darwin*): Add logic to build a shared
233 unwinder library for Darwin8-10.
234 * config/i386/t-darwin: Build legacy libgcc_s.1.
235 * config/rs6000/t-darwin: Likewise.
236 * config/t-darwin: Reorganise the EH fragments to place
237 them for inclusion in a shared EH lib.
238 * config/t-slibgcc-darwin: Build a legacy libgcc_s.1 and
239 the supporting pieces (all FAT libs).
240 * config/t-darwin-noeh: Removed.
241 * config/darwin-unwind.ver: New file.
242 * config/rs6000/t-darwin-ehs: New file.
243 * config/t-darwin-ehs: New file.
244
245 2021-12-06 Nelson Chu <nelson.chu@sifive.com>
246
247 * config/riscv/div.S: Add the hidden alias symbol for __udivdi3, and
248 then use HIDDEN_JUMPTARGET to target it since it is non-preemptible.
249 * config/riscv/riscv-asm.h: Added new macros HIDDEN_JUMPTARGET and
250 HIDDEN_DEF.
251
252 2021-11-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
253
254 * config/vxcrtstuff.c: Undefine caddr_t, pid_t, rlim_t,
255 ssize_t and vfork after including auto-host.h.
256
257 2021-11-29 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
258
259 * config.host (powerpc-wrs-vxworks): Do not add crtbegin.o and
260 crtend.o to extra_parts.
261
262 2021-11-27 John David Anglin <danglin@gcc.gnu.org>
263
264 * config/pa/t-dimode (lib2difuncs): Fix typo.
265
266 2021-11-25 Florian Weimer <fweimer@redhat.com>
267
268 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Add hdr.
269 Remove func, ret.
270 (find_fde_tail): New function. Split from
271 _Unwind_IteratePhdrCallback. Move the result initialization
272 from _Unwind_Find_FDE.
273 (_Unwind_Find_FDE): Updated to call find_fde_tail.
274
275 2021-11-22 Florian Weimer <fweimer@redhat.com>
276
277 * unwind-dw2-fde-dip.c (NEED_DBASE_MEMBER): Define.
278 (struct unw_eh_callback_data): Make dbase member conditional.
279 (unw_eh_callback_data_dbase): New function.
280 (base_from_cb_data): Simplify for the non-dbase case.
281 (_Unwind_IteratePhdrCallback): Adjust.
282 (_Unwind_Find_FDE): Likewise.
283
284 2021-11-22 Florian Weimer <fweimer@redhat.com>
285
286 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Remove
287 tbase member.
288 (base_from_cb_data): Adjust.
289 (_Unwind_IteratePhdrCallback): Likewise.
290 (_Unwind_Find_FDE): Likewise.
291
292 2021-11-19 Iain Sandoe <iain@sandoe.co.uk>
293
294 * config.host: Add weak emutls crt to the extra_parts.
295 * config/i386/darwin-lib.h (DECLARE_LIBRARY_RENAMES): Remove
296 workaround.
297 * config/libgcc-libsystem.ver: Add exclude list for the system-
298 provided unwinder.
299 * config/t-slibgcc-darwin: Bump SO version, remove stubs code.
300 * config/i386/libgcc-darwin.10.4.ver: Removed.
301 * config/i386/libgcc-darwin.10.5.ver: Removed.
302 * config/rs6000/libgcc-darwin.10.4.ver: Removed.
303 * config/rs6000/libgcc-darwin.10.5.ver: Removed.
304 * config/t-darwin-noeh: New file.
305
306 2021-11-19 Iain Sandoe <iain@sandoe.co.uk>
307
308 * config/t-darwin: Build weak-defined emutls objects.
309 * emutls.c (__emutls_get_address): Add optional attributes.
310 (__emutls_register_common): Likewise.
311 (EMUTLS_ATTR): New.
312
313 2021-11-11 Raphael Moreira Zinsly <rzinsly@linux.ibm.com>
314
315 PR libgcc/103044
316 * config/rs6000/linux-unwind.h (ppc_backchain_fallback): Check if it's
317 called with a null argument or at the end of the backtrace and return.
318 * unwind.inc (_Unwind_ForcedUnwind_Phase2): Treat _URC_NORMAL_STOP.
319
320 2021-11-10 Jakub Jelinek <jakub@redhat.com>
321
322 * config/rs6000/linux-unwind.h (ppc_back_fallback): Make it static,
323 formatting fix.
324
325 2021-11-05 Iain Sandoe <iain@sandoe.co.uk>
326
327 * config/darwin10-unwind-find-enc-func.c: Include libgcc_tm.h.
328 * config/i386/darwin-lib.h: Declare Darwin10 crt function.
329
330 2021-11-05 John David Anglin <danglin@gcc.gnu.org>
331
332 PR libgomp/96661
333 * config.host (hppa*64*-*-linux*): Revise tmake_file.
334 (hppa*64*-*-hpux11*): Likewise.
335 * config/pa/sfp-exceptions.c: New.
336 * config/pa/sfp-machine.h: New.
337 * config/pa/t-dimode: New.
338 * config/pa/t-softfp-sfdftf: New.
339
340 2021-10-27 John David Anglin <danglin@gcc.gnu.org>
341
342 * config.host (hppa*64*-*-linux*): Don't add pa/t-linux to
343 tmake_file.
344 * config/pa/linux-atomic.c: Define u8, u16 and u64 types.
345 Use them in FETCH_AND_OP_2, OP_AND_FETCH_2, COMPARE_AND_SWAP_2,
346 SYNC_LOCK_TEST_AND_SET_2 and SYNC_LOCK_RELEASE_1 macros.
347 * config/pa/t-linux64 (LIB1ASMSRC): New define.
348 (LIB1ASMFUNCS): Revise.
349 (HOST_LIBGCC2_CFLAGS): Add "-DLINUX=1".
350
351 2021-10-22 Stafford Horne <shorne@gmail.com>
352
353 * config/or1k/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
354 Change to 0.
355
356 2021-10-14 Raphael Moreira Zinsly <rzinsly@linux.ibm.com>
357
358 * config/rs6000/linux-unwind.h (struct rt_sigframe): Move it to
359 outside of get_regs() in order to use it in another function, this
360 is done twice: for __powerpc64__ and for !__powerpc64__.
361 (struct trace_arg): New struct.
362 (struct layout): New struct.
363 (ppc_backchain_fallback): New function.
364 * unwind.inc (_Unwind_Backtrace): Look for _URC_NORMAL_STOP code
365 state and call MD_BACKCHAIN_FALLBACK.
366
367 2021-10-13 Martin Liska <mliska@suse.cz>
368
369 PR gcov-profile/90364
370 * libgcov-driver.c (merge_one_data): Skip timestamp and verify
371 checksums.
372 (write_one_data): Write also checksum.
373 * libgcov-util.c (read_gcda_file): Read also checksum field.
374 * libgcov.h (struct gcov_info): Add new field.
375
376 2021-10-08 Ian Lance Taylor <iant@golang.org>
377
378 * config/i386/morestack.S: Use .init_array for constructor if
379 available.
380 * config/rs6000/morestack.S: Likewise.
381 * config/s390/morestack.S: Likewise.
382
383 2021-10-03 Patrick McGehearty <patrick.mcgehearty@oracle.com>
384
385 PR target/101104
386 * libgcc2.c (RMIN2, RMINSCAL, RMAX2):
387 Use more correct values for native IBM 128-bit.
388
389 2021-09-28 Iain Sandoe <iain@sandoe.co.uk>
390
391 * config/i386/libgcc-darwin.ver: Add Symbols for
392 __cpu_model, __cpu_indicator_init.
393
394 2021-09-22 Iain Sandoe <iain@sandoe.co.uk>
395
396 * config/i386/sfp-machine.h: Guard Mach-O-specific code
397 using __APPLE__.
398
399 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
400
401 * config/t-slibgcc-darwin: Delete unused code.
402
403 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
404
405 * config/i386/t-darwin: Add in a vers file for X86-specific
406 symbols.
407 * config/t-darwin: Add the generic symbol maps here...
408 * config/t-slibgcc-darwin: ... removing from here.
409 * config/i386/libgcc-darwin.ver: New file.
410
411 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
412
413 * config/i386/t-softfp: Exclude libgcc2 versions of __divhc3
414 and __mulhc3.
415
416 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
417
418 * config.host: Use convenience library for Darwin10
419 unwinder shim.
420 * config/t-darwin: Build Darwin10 unwinder shim as a
421 convenience library.
422
423 2021-09-13 Andrew Pinski <apinski@marvell.com>
424
425 * config.host: Remove m32r-*-linux* and m32rle-*-linux*.
426 * config/m32r/libgcc-glibc.ver: Removed.
427 * config/m32r/t-linux: Removed.
428
429 2021-09-08 liuhongt <hongtao.liu@intel.com>
430
431 * config/i386/t-softfp: Compile __{mul,div}hc3 into
432 libgcc_s.so.1.
433
434 2021-09-08 Jakub Jelinek <jakub@redhat.com>
435 Iain Sandoe <iain@sandoe.co.uk>
436
437 * config/i386/libgcc-glibc.ver: Add %inherit GCC_12.0.0 GCC_7.0.0
438 and export *hf* and *hc* functions at GCC_12.0.0.
439
440 2021-09-06 liuhongt <hongtao.liu@intel.com>
441
442 * Makefile.in: Adjust to support specific CFLAGS for each
443 libgcc source file.
444 * config/i386/64/t-softfp: Explicitly add -msse2 for HF
445 related libgcc source files.
446 * config/i386/t-softfp: Ditto.
447 * config/i386/_divhc3.c: New file.
448 * config/i386/_mulhc3.c: New file.
449
450 2021-09-03 Iain Sandoe <iain@sandoe.co.uk>
451
452 * config/i386/sfp-machine.h (alias_HFtype, alias_SFtype
453 alias_DFtype, alias_TFtype): New.
454 (ALIAS_SELECTOR): New.
455 (strong_alias): Use __typeof and a _Generic selector to
456 provide the type to the synthesized function.
457
458 2021-09-02 liuhongt <hongtao.liu@intel.com>
459
460 * config/i386/32/sfp-machine.h (_FP_NANFRAC_H): New macro.
461 * config/i386/64/sfp-machine.h (_FP_NANFRAC_H): Ditto.
462 * config/i386/sfp-machine.h (_FP_NANSIGN_H): Ditto.
463 * config/i386/t-softfp: Add hf soft-fp.
464 * config.host: Add i386/64/t-softfp.
465 * config/i386/64/t-softfp: New file.
466
467 2021-09-02 liuhongt <hongtao.liu@intel.com>
468
469 * soft-fp/eqhf2.c: New file.
470 * soft-fp/extendhfdf2.c: New file.
471 * soft-fp/extendhfsf2.c: New file.
472 * soft-fp/half.h (FP_CMP_EQ_H): New marco.
473 * soft-fp/truncdfhf2.c: New file
474 * soft-fp/truncsfhf2.c: New file
475
476 2021-09-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
477
478 * unwind-arm-common.inc (abort): Remove.
479
480 2021-08-31 Richard Sandiford <richard.sandiford@arm.com>
481
482 * config/aarch64/value-unwind.h: Add missing runtime exception
483 paragraph.
484 * config/frv/frv-abi.h: Likewise.
485 * config/i386/value-unwind.h: Likewise.
486 * config/pa/pa64-hpux-lib.h: Likewise.
487
488 2021-08-26 David Edelsohn <dje.gcc@gmail.com>
489
490 * config/rs6000/ibm-ldouble.c (ldouble_qadd_internal): Rename from
491 __gcc_qadd.
492 (__gcc_qadd): Call ldouble_qadd_internal.
493 (__gcc_qsub): Call ldouble_qadd_internal with second long double
494 argument negated.
495
496 2021-08-26 Jonathan Yong <10walls@gmail.com>
497
498 * config/i386/cygming-crtend.c: Fix register_frame_ctor
499 and register_frame_dtor warnings.
500
501 2021-08-24 Richard Earnshaw <rearnsha@arm.com>
502
503 PR target/102035
504 * config/arm/cmse_nonsecure_call.S (__gnu_cmse_nonsecure_call):
505 Add vlldm erratum work-around.
506
507 2021-08-21 John David Anglin <danglin@gcc.gnu.org>
508
509 * config.host: Remove extra_parts from hppa[12]*-*-hpux11* case.
510
511 2021-08-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
512
513 * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
514 (gcov_type_unsigned): Likewise.
515
516 2021-08-14 Stafford Horne <shorne@gmail.com>
517
518 PR target/99783
519 * config.host (or1k-*, tmake_file): Add or1k/t-crtstuff.
520 * config/or1k/t-crtstuff: New file.
521
522 2021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
523
524 * libgcov-driver.c (#include <stdint.h>): Remove.
525 (write_topn_counters): Use __INTPTR_TYPE__ instead of intptr_t.
526
527 2021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
528
529 * Makefile.in (LIBGCOV_DRIVER): Add _gcov_info_to_gcda.
530 * gcov.h (gcov_info): Declare.
531 (__gcov_info_to_gdca): Likewise.
532 * libgcov.h (gcov_write_counter): Remove.
533 (gcov_write_tag_length): Likewise.
534 * libgcov-driver.c (#include <stdint.h>): New.
535 (#include <string.h>): Remove.
536 (NEED_L_GCOV): Conditionally define.
537 (NEED_L_GCOV_INFO_TO_GCDA): Likewise.
538 (are_all_counters_zero): New.
539 (gcov_dump_handler): Likewise.
540 (gcov_allocate_handler): Likewise.
541 (dump_unsigned): Likewise.
542 (dump_counter): Likewise.
543 (write_topn_counters): Add dump_fn, allocate_fn, and arg parameters.
544 Use dump_unsigned() and dump_counter().
545 (write_one_data): Add dump_fn, allocate_fn, and arg parameters. Use
546 dump_unsigned(), dump_counter(), and are_all_counters_zero().
547 (__gcov_info_to_gcda): New.
548
549 2021-08-05 Jakub Jelinek <jakub@redhat.com>
550
551 * config/t-slibgcc (SHLIB_LINK): Add $(LDFLAGS).
552 * config/t-slibgcc-darwin (SHLIB_LINK): Likewise.
553 * config/t-slibgcc-vms (SHLIB_LINK): Likewise.
554 * config/t-slibgcc-fuchsia (SHLIB_LDFLAGS): Remove $(LDFLAGS).
555
556 2021-08-04 Jakub Jelinek <jakub@redhat.com>
557
558 * config/t-slibgcc-fuchsia: Undo doubly applied patch.
559
560 2021-07-15 Alan Modra <amodra@gmail.com>
561
562 * config/rs6000/morestack.S (R2_SAVE): Define.
563 (__morestack): Save and restore r2. Set up r2 for called
564 functions.
565
566 2021-07-01 H.J. Lu <hjl.tools@gmail.com>
567
568 * soft-fp/extendhfxf2.c: New file.
569 * soft-fp/truncxfhf2.c: Likewise.
570
571 2021-06-29 Julian Brown <julian@codesourcery.com>
572
573 * config/gcn/lib2-bswapti2.c: New file.
574 * config/gcn/lib2-divmod-di.c: New file.
575 * config/gcn/lib2-gcn.h (DItype, UDItype, TItype, UTItype): Add
576 typedefs.
577 (__divdi3, __moddi3, __udivdi3, __umoddi3): Add prototypes.
578 * config/gcn/t-amdgcn (LIB2ADD): Add lib2-divmod-di.c and
579 lib2-bswapti2.c.
580
581 2021-06-29 Julian Brown <julian@codesourcery.com>
582
583 * config/gcn/lib2-divmod.c (__udivsi3, __umodsi3): Change argument and
584 return types to USItype.
585 * config/gcn/lib2-gcn.h (__udivsi3, __umodsi3): Update prototypes.
586
587 2021-06-23 Kewen Lin <linkw@linux.ibm.com>
588
589 * configure: Regenerate.
590 * configure.ac (test for libgcc_cv_powerpc_3_1_float128_hw): Fix
591 typos among the name, CFLAGS and the test.
592 * config/rs6000/t-float128-hw (fp128_3_1_hw_funcs, fp128_3_1_hw_src,
593 fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj, fp128_3_1_hw_obj):
594 Remove.
595 * config/rs6000/t-float128-p10-hw (FLOAT128_HW_INSNS): Append
596 macro FLOAT128_HW_INSNS_ISA3_1.
597 (FP128_3_1_CFLAGS_HW): Fix option typo.
598 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): Guard this with
599 FLOAT128_HW_INSNS_ISA3_1.
600 (__floattikf_resolve): Likewise.
601 (__floatuntikf_resolve): Likewise.
602 (__fixkfti_resolve): Likewise.
603 (__fixunskfti_resolve): Likewise.
604 (__floattikf): Likewise.
605 (__floatuntikf): Likewise.
606 (__fixkfti): Likewise.
607 (__fixunskfti): Likewise.
608
609 2021-06-11 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
610
611 PR target/99939
612 * config/arm/cmse_nonsecure_call.S: Add __ARM_FEATURE_MVE
613 macro.
614 * config/arm/t-arm: To link cmse.o and cmse_nonsecure_call.o
615 on passing -mcmse option.
616
617 2021-06-10 Segher Boessenkool <segher@kernel.crashing.org>
618
619 * config/rs6000/quad-float128.h: Guard all uses of [U]TItype_ppc by
620 _ARCH_PPC64 .
621
622 2021-06-09 Carl Love <cel@us.ibm.com>
623
624 * config.host: Add if test and set for
625 libgcc_cv_powerpc_3_1_float128_hw.
626 * config/rs6000/fixkfti.c: Renamed to fixkfti-sw.c.
627 Change calls of __fixkfti to __fixkfti_sw.
628 * config/rs6000/fixunskfti.c: Renamed to fixunskfti-sw.c.
629 Change calls of __fixunskfti to __fixunskfti_sw.
630 * config/rs6000/float128-p10.c (__floattikf_hw,
631 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw): New file.
632 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): New macro.
633 (__floattikf_resolve, __floatuntikf_resolve, __fixkfti_resolve,
634 __fixunskfti_resolve): Add resolve functions.
635 (__floattikf, __floatuntikf, __fixkfti, __fixunskfti): New functions.
636 * config/rs6000/float128-sed (floattitf, __floatuntitf,
637 __fixtfti, __fixunstfti): Add editor commands to change names.
638 * config/rs6000/float128-sed-hw (__floattitf,
639 __floatuntitf, __fixtfti, __fixunstfti): Add editor commands to
640 change names.
641 * config/rs6000/floattikf.c: Renamed to floattikf-sw.c.
642 * config/rs6000/floatuntikf.c: Renamed to floatuntikf-sw.c.
643 * config/rs6000/quad-float128.h (__floattikf_sw,
644 __floatuntikf_sw, __fixkfti_sw, __fixunskfti_sw, __floattikf_hw,
645 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw, __floattikf,
646 __floatuntikf, __fixkfti, __fixunskfti): New extern declarations.
647 * config/rs6000/t-float128 (floattikf, floatuntikf,
648 fixkfti, fixunskfti): Remove file names from fp128_ppc_funcs.
649 (floattikf-sw, floatuntikf-sw, fixkfti-sw, fixunskfti-sw): Add
650 file names to fp128_ppc_funcs.
651 * config/rs6000/t-float128-hw(fp128_3_1_hw_funcs,
652 fp128_3_1_hw_src, fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj,
653 fp128_3_1_hw_obj): Add variables for ISA 3.1 support.
654 * config/rs6000/t-float128-p10-hw: New file.
655 * configure: Update script for isa 3.1 128-bit float support.
656 * configure.ac: Add check for 128-bit float hardware support.
657 * config/rs6000/fixkfti-sw.c: New file.
658 * config/rs6000/fixunskfti-sw.c: New file.
659 * config/rs6000/floattikf-sw.c: New file.
660 * config/rs6000/floatuntikf-sw.c: New file.
661
662 2021-05-13 Dimitar Dimitrov <dimitar@dinux.eu>
663
664 * config/pru/mpyll.S (__pruabi_mpyll): Place into own section.
665
666 2021-05-13 Martin Liska <mliska@suse.cz>
667
668 * libgcov-driver.c: Fix GNU coding style.
669
670 2021-05-10 Martin Liska <mliska@suse.cz>
671
672 * libgcov-driver.c (gcov_version): Use different name that does
673 not clash with newly introduced macro.
674
675 2021-04-29 Eric Botcazou <ebotcazou@adacore.com>
676
677 * libgcov.h: For the target, define GCOV_LOCKED_WITH_LOCKING
678 if __MSVCRT__ and, for the host, define it if HOST_HAS_LK_LOCK.
679 * libgcov-driver.c: Add directives if GCOV_LOCKED_WITH_LOCKING.
680
681 2021-04-28 Patrick McGehearty <patrick.mcgehearty@oracle.com>
682
683 * libgcc2.c (XMTYPE, XCTYPE, RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
684 Define.
685 (__divsc3, __divdc3, __divxc3, __divtc3): Improve complex divide.
686 * config/rs6000/_divkc3.c (RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
687 Define.
688 (__divkc3): Improve complex divide.
689
690 2021-04-23 Michael Meissner <meissner@linux.ibm.com>
691
692 PR target/98952
693 * config/rs6000/tramp.S (__trampoline_setup, elfv1 #ifdef): Fix
694 trampoline size comparison in 32-bit by reversing test and
695 combining load immediate with compare.
696 (__trampoline_setup, elfv2 #ifdef): Fix trampoline size comparison
697 in 32-bit by reversing test and combining load immediate with
698 compare.
699
700 2021-04-05 Florian Weimer <fweimer@redhat.com>
701 Michael Meissner <meissner@linux.ibm.com>
702
703 * config/rs6000/t-float128 (fp128_ppc_funcs): Add decimal floating
704 point functions for $(decimal_float) only.
705
706 2021-04-03 Jakub Jelinek <jakub@redhat.com>
707
708 PR target/97653
709 * config/rs6000/t-linux (IBM128_STATIC_OBJS): Fix spelling, use
710 $(objext) instead of $(object). Use _floatunditf instead of
711 _floatunsditf. Add tf <-> ti conversion objects.
712 (IBM128_SHARED_OBJS): Use proper substitution reference syntax.
713
714 2021-03-29 Michael Meissner <meissner@linux.ibm.com>
715
716 * config/rs6000/t-float128 (fp128_decstr_funcs): Delete.
717 (fp128_ppc_funcs): Do not add $(fp128_decstr_funcs).
718 (fp128_decstr_objs): Delete.
719 * dfp-bit.h: Call __sprintfieee128 to do conversions from
720 _Float128 to a Decimal type. Call __strtoieee128 to do
721 conversions from a Decimal type to _Float128.
722 * config/rs6000/_sprintfkf.c: Delete file.
723 * config/rs6000/_sprintfkf.h: Delete file.
724 * config/rs6000/_strtokf.c: Delete file.
725 * config/rs6000/_strtokf.h: Delete file.
726
727 2021-03-23 Marcus Comstedt <marcus@mc.pp.se>
728
729 * config/riscv/sfp-machine.h (__BYTE_ORDER): Set according
730 to __BYTE_ORDER__.
731
732 2021-03-06 Jakub Jelinek <jakub@redhat.com>
733
734 PR gcov-profile/99406
735 * libgcov.h (MAP_FAILED, MAP_ANONYMOUS): If HAVE_SYS_MMAN_H is
736 defined, define these macros if not defined already.
737
738 2021-03-04 Martin Liska <mliska@suse.cz>
739
740 PR gcov-profile/99105
741 * libgcov-driver.c (write_top_counters): Rename to ...
742 (write_topn_counters): ... this.
743 (write_one_data): Pre-allocate buffer for number of items
744 in the corresponding linked lists.
745 * libgcov.h (malloc_mmap): New function.
746 (allocate_gcov_kvp): Use it.
747
748 2021-03-04 Martin Liska <mliska@suse.cz>
749
750 PR gcov-profile/99385
751 * libgcov.h (allocate_gcov_kvp): Call mmap with fd equal to -1.
752
753 2021-03-03 Martin Liska <mliska@suse.cz>
754
755 PR gcov-profile/97461
756 * config.in: Regenerate.
757 * configure: Likewise.
758 * configure.ac: Check sys/mman.h header file
759 * libgcov-driver.c (struct gcov_kvp): Remove static
760 pre-allocated pool and use a dynamic one.
761 * libgcov.h (MMAP_CHUNK_SIZE): New.
762 (gcov_counter_add): Use mmap to allocate pool for struct
763 gcov_kvp.
764
765 2021-03-02 Michael Meissner <meissner@linux.ibm.com>
766
767 * config/rs6000/_sprintfkf.h (__sprintfkf): Fix prototype to match
768 the function.
769 * config/rs6000/_sprintfkf.c: Include _sprintfkf.h.
770
771 2021-02-24 Jakub Jelinek <jakub@redhat.com>
772
773 PR libgcc/99236
774 * libgcc2.c (__powisf2, __powidf2, __powitf2, __powixf2): Perform
775 negation of m in unsigned type.
776
777 2021-02-24 Christophe Lyon <christophe.lyon@linaro.org>
778 Hau Hsu <hsuhau617@gmail.com>
779
780 PR target/99157
781 * config/arm/t-arm: Fix cmse support detection.
782
783 2021-02-22 Michael Meissner <meissner@linux.ibm.com>
784
785 * dfp-bit.c (BFP_TO_DFP): Fix a comment line that was too long.
786
787 2021-02-22 Michael Meissner <meissner@linux.ibm.com>
788
789 * config/rs6000/_dd_to_kf.c: New file.
790 * config/rs6000/_kf_to_dd.c: New file.
791 * config/rs6000/_kf_to_sd.c: New file.
792 * config/rs6000/_kf_to_td.c: New file.
793 * config/rs6000/_sd_to_kf.c: New file.
794 * config/rs6000/_sprintfkf.c: New file.
795 * config/rs6000/_sprintfkf.h: New file.
796 * config/rs6000/_strtokf.h: New file.
797 * config/rs6000/_strtokf.c: New file.
798 * config/rs6000/_td_to_kf.c: New file.
799 * config/rs6000/quad-float128.h: Add new declarations.
800 * config/rs6000/t-float128 (fp128_dec_funcs): New macro.
801 (fp128_decstr_funcs): New macro.
802 (ibm128_dec_funcs): New macro.
803 (fp128_ppc_funcs): Add the new conversions.
804 (fp128_dec_objs): Force Decimal <-> __float128 conversions to be
805 compiled with -mabi=ieeelongdouble.
806 (fp128_decstr_objs): Force __float128 <-> string conversions to be
807 compiled with -mabi=ibmlongdouble.
808 (ibm128_dec_objs): Force Decimal <-> __float128 conversions to be
809 compiled with -mabi=ieeelongdouble.
810 (FP128_CFLAGS_DECIMAL): New macro.
811 (IBM128_CFLAGS_DECIMAL): New macro.
812 * dfp-bit.c (DFP_TO_BFP): Add PowerPC _Float128 support.
813 (BFP_TO_DFP): Add PowerPC _Float128 support.
814 * dfp-bit.h (BFP_KIND): Add new binary floating point kind for
815 IEEE 128-bit floating point.
816 (DFP_TO_BFP): Add PowerPC _Float128 support.
817 (BFP_TO_DFP): Add PowerPC _Float128 support.
818 (BFP_SPRINTF): New macro.
819
820 2021-01-27 Jakub Jelinek <jakub@redhat.com>
821
822 * config/i386/savms64.h: Add .note.GNU-stack section on Linux.
823 * config/i386/savms64f.h: Likewise.
824 * config/i386/resms64.h: Likewise.
825 * config/i386/resms64f.h: Likewise.
826 * config/i386/resms64x.h: Likewise.
827 * config/i386/resms64fx.h: Likewise.
828
829 2021-01-26 Martin Liska <mliska@suse.cz>
830
831 PR gcov-profile/98739
832 * libgcov.h (gcov_topn_add_value): Do not train when
833 we have a merged profile with a negative number of total
834 value.
835
836 2021-01-25 Martin Liska <mliska@suse.cz>
837
838 PR gcov-profile/98739
839 * libgcov-merge.c (__gcov_merge_topn): Mark when merging
840 ends with a dropped counter.
841 * libgcov.h (gcov_topn_add_value): Add return value.
842
843 2021-01-13 Stafford Horne <shorne@gmail.com>
844
845 * config/or1k/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
846 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_EX_OVERFLOW,
847 FP_EX_UNDERFLOW, FP_EX_INEXACT, FP_EX_INVALID, FP_EX_DIVZERO,
848 FP_EX_ALL): New constant macros.
849 (_FP_DECL_EX, FP_ROUNDMODE, FP_INIT_ROUNDMODE,
850 FP_HANDLE_EXCEPTIONS): New macros.
851 (_FP_TININESS_AFTER_ROUNDING): Change to 1.
852
853 2021-01-13 Samuel Thibault <samuel.thibault@gnu.org>
854
855 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Add the
856 posix siginfo case to struct handler_args. Detect between legacy
857 and siginfo from the second parameter, which is a small sigcode in
858 the legacy case, and a pointer in the siginfo case.
859
860 2020-12-20 Max Filippov <jcmvbkbc@gmail.com>
861
862 * config/xtensa/lib1funcs.S (__bswapsi2, __bswapdi2): New
863 functions.
864 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _bswapsi2 and
865 _bswapdi2.
866
867 2020-12-08 Ian Lance Taylor <iant@golang.org>
868
869 * generic-morestack-thread.c (free_segments): Block signals during
870 thread exit.
871
872 2020-12-03 Michael Meissner <meissner@linux.ibm.com>
873
874 PR libgcc/97543
875 PR libgcc/97643
876 * config/rs6000/t-linux (IBM128_STATIC_OBJS): New make variable.
877 (IBM128_SHARED_OBJS): New make variable.
878 (IBM128_OBJS): New make variable. Set all objects to use the
879 explicit IBM format, and disable gnu attributes.
880 (IBM128_CFLAGS): New make variable.
881 (gcc_s_compile): Add -mno-gnu-attribute to all shared library
882 modules.
883
884 2020-12-03 Alexandre Oliva <oliva@adacore.com>
885
886 * config/t-vxworks (LIB2ADD): Drop.
887 * config/t-vxworks7 (LIB2ADD): Likewise.
888 * config/vxcache.c: Remove.
889
890 2020-11-30 Stefan Kanthak <stefan.kanthak@nexgo.de>
891
892 * libgcc2.c (bswapsi2): Make constants unsigned.
893
894 2020-11-25 Stefan Kanthak <stefan.kanthak@nexgo.de>
895
896 * libgcc2.c (absvSI2): Simplify/improve implementation by using
897 builtin_add_overflow.
898 (absvsi2, absvDI2): Likewise.
899
900 2020-11-20 Maciej W. Rozycki <macro@linux-mips.org>
901
902 * unwind-dw2-fde-dip.c [__OpenBSD__ || __NetBSD__]
903 (USE_PT_GNU_EH_FRAME): Do not define if !TARGET_DL_ITERATE_PHDR.
904
905 2020-11-18 Jozef Lawrynowicz <jozef.l@mittosystems.com>
906
907 * config/msp430/lib2hw_mul.S (mult64_hw): New.
908 (if MUL_32): Use mult64_hw for __muldi3.
909 (if MUL_F5): Use mult64_hw for __muldi3.
910 * config/msp430/lib2mul.c (__muldi3): New.
911 * config/msp430/t-msp430 (LIB2FUNCS_EXCLUDE): Define.
912
913 2020-11-17 Alan Modra <amodra@gmail.com>
914
915 * config/rs6000/t-ppc64-fp (LIB2ADD): Delete.
916 (LIB2_SIDITI_CONV_FUNCS): Define.
917 * config/rs6000/ppc64-fp.c: Delete file.
918
919 2020-11-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
920
921 * config/msp430/lib2hw_mul.S: Omit _hw* suffix from GCC names for
922 hwmult library functions.
923
924 2020-11-10 Jeff Law <law@redhat.com>
925
926 * libgcc2.c: Fix whitespace issues in most recent change.
927
928 2020-11-10 Stefan Kanthak <stefan.kanthak@nexgo.de>
929
930 * libgcc2.c (__addvSI3): Use overflow builtins.
931 (__addvsi3, __addvDI3 ,__subvSI3, __subvsi3): Likewise.
932 (__subvDI3 __mulvSI3, __mulvsi3, __negvSI2): Likewise.
933 (__negvsi2, __negvDI2): Likewise.
934 (__cmpdi2, __ucmpdi2): Adjust implementation to improve
935 generated code.
936 * libgcc2.h (__ucmpdi2): Adjust prototype.
937
938 2020-11-03 Pat Bernardi <bernardi@adacore.com>
939 Olivier Hainque <hainque@adacore.com>
940
941 * config.host (aarch64-vxworks7*, tmake_file): Add
942 ${cpu_type}/t-lse and t-slibgcc-libgcc.
943
944 2020-11-03 Martin Storsjö <martin@martin.st>
945
946 * unwind-seh.c (_Unwind_Backtrace): Set the ra and cfa pointers
947 before calling the callback.
948
949 2020-10-30 Olivier Hainque <hainque@adacore.com>
950 Douglas Rupp <rupp@adacore.com>
951 Pat Bernardi <bernardi@adacore.com>
952
953 * config.host: Adjust the ix86/x86_64-wrs-vxworks filters
954 to apply to VxWorks 7 as well.
955
956 2020-10-29 Olivier Hainque <hainque@adacore.com>
957
958 * config/gthr-vxworks-tls.c: Fix preprocessor logic
959 controlling the definition of VX_ENTER_TLS_DTOR and
960 VX_LEAVE_TLS_DTOR based on a version major check.
961
962 2020-10-29 Olivier Hainque <hainque@adacore.com>
963
964 * config/gthr-vxworks-thread.c: Fix name of macro used
965 to condition the inclusion of an actual implementation.
966
967 2020-10-27 Martin Liska <mliska@suse.cz>
968
969 PR gcov-profile/97461
970 * libgcov.h (gcov_counter_add): Use first static counters
971 as it should help to have malloc wrappers set up.
972
973 2020-10-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
974
975 * config/gthr-vxworks-thread.c: #include gthr.h before
976 testing the guard defined there.
977 * config/gthr-vxworks-cond.c: Likewise.
978
979 2020-10-21 Douglas Rupp <rupp@adacore.com>
980 Olivier Hainque <hainque@adacore.com>
981
982 * config.host (powerpc*-wrs-vxworks7*): New case.
983 * configure.ac: Handle powerpc*-*-vxworks7* as
984 powerpc*-*-linux* for ppc-fp_type.
985 * configure: Regenerate.
986
987 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
988
989 * config/gthr-vxworks.h: Condition the ___GTHREADS_CXX0X
990 section on VxWorks >= 6.
991 * config/gthr-vxworks-thread.c: Condition the entire
992 implementation on __GTHREAD_CXX0X.
993
994 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
995
996 * config/gthr-vxworks.h: Condition the __GTHREAD_HAS_COND
997 section on VxWorks >= 6.
998 * config/gthr-vxworks-cond.c: Condition the entire
999 implementation on __GTHREAD_HAS_COND.
1000
1001 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1002
1003 * config/gthr-vxworks.c: #include <taskLib.h>.
1004
1005 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1006
1007 * config/gthr-vxworks.h: Rewrite remaining occurrence
1008 of _VXW_PRE_69 as _VXWORKS_PRE(6,9).
1009
1010 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1011 Olivier Hainque <hainque@adacore.com>
1012
1013 * config/gthr-vxworks-tls.c (VX_ENTER_TLS_DTOR): Nil
1014 except on VxWorks 6.
1015
1016 2020-10-16 Olivier Hainque <hainque@adacore.com>
1017
1018 * config/t-vxcrtstuff: Remove the -kernel/-rtp specialization.
1019
1020 2020-10-14 Alexandre Oliva <oliva@adacore.com>
1021
1022 * config/gthr-vxworks-thread.c: Include stdlib.h.
1023 (tls_delete_hook): Prototype it.
1024 (__gthread_cond_signal): Return early if no waiters. Consume
1025 signal in case the semaphore got full. Use semInfoGet instead
1026 of kernel-mode-only semInfo.
1027 (__gthread_cond_timedwait): Use semExchange. Always take the
1028 mutex again before returning.
1029 * config/gthr-vxworks-cond.c (__ghtread_cond_wait): Likewise.
1030
1031 2020-10-14 Olivier Hainque <hainque@adacore.com>
1032
1033 * config/t-vxworks (LIBGCC2_INCLUDES): Append
1034 $(MULTISUBDIR) to the -I path for fixed headers, as we
1035 arrange to have different sets of such headers for different
1036 multilibs when they are activated.
1037 * config/t-vxworks7: Likewise.
1038
1039 2020-10-14 Olivier Hainque <hainque@adacore.com>
1040
1041 * config/t-vxworks: Add include-fixed to include search
1042 paths for libgcc on VxWorks.
1043 * config/t-vxworks7: Likewise.
1044
1045 2020-10-09 H.J. Lu <hjl.tools@gmail.com>
1046
1047 PR target/97148
1048 * config/i386/shadow-stack-unwind.h: Include <x86gprintrin.h>
1049 instead of <cetintrin.h>.
1050
1051 2020-10-01 Alan Modra <amodra@gmail.com>
1052
1053 * config/rs6000/morestack.S,
1054 * config/rs6000/tramp.S: Support __PCREL__ code.
1055
1056 2020-10-01 Alan Modra <amodra@gmail.com>
1057
1058 * config/rs6000/t-linux: Document purpose of -mno-minimal-toc.
1059
1060 2020-09-29 Maciej W. Rozycki <macro@wdc.com>
1061
1062 * config/riscv/t-elf (LIB2_DIVMOD_EXCEPTION_FLAGS): New
1063 variable.
1064
1065 2020-09-28 Richard Sandiford <richard.sandiford@arm.com>
1066
1067 * config/aarch64/libgcc-softfp.ver: New file.
1068 * config/aarch64/t-softfp (SHLIB_MAPFILES): Add it.
1069
1070 2020-09-27 Clement Chigot <clement.chigot@atos.net>
1071
1072 * config/rs6000/t-slibgcc-aix: Use $(AR) without -X32_64.
1073
1074 2020-09-22 Sergei Trofimovich <siarheit@google.com>
1075
1076 PR gcov-profile/96913
1077 * libgcov-driver.c (write_one_data): Avoid function pointer
1078 comparison in TOP streaming decision.
1079
1080 2020-09-17 Torbjörn SVENSSON <torbjorn.svensson@st.com>
1081 Christophe Lyon <christophe.lyon@linaro.org>
1082
1083 * config/arm/fp16.c (__gnu_h2f_internal): Add 'static inline'
1084 qualifier.
1085 (__gnu_f2h_ieee, __gnu_h2f_ieee, __gnu_f2h_alternative)
1086 (__gnu_h2f_alternative,__gnu_d2h_ieee, __gnu_d2h_alternative): Add
1087 missing prototypes.
1088
1089 2020-09-17 Wei Wentao <weiwt.fnst@cn.fujitsu.com>
1090
1091 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr): Fix
1092 unused variable warning.
1093
1094 2020-09-16 Jojo R <jiejie_rong@c-sky.com>
1095
1096 * config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf target.
1097
1098 2020-09-09 Tom de Vries <tdevries@suse.de>
1099
1100 * config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
1101 Wbuiltin-declaration-mismatch.
1102
1103 2020-08-26 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1104
1105 * config/msp430/slli.S (__gnu_mspabi_sllp): New.
1106 * config/msp430/srai.S (__gnu_mspabi_srap): New.
1107 * config/msp430/srli.S (__gnu_mspabi_srlp): New.
1108
1109 2020-08-13 Kwok Cheung Yeung <kcy@codesourcery.com>
1110
1111 * config/nvptx/atomic.c: New.
1112 * config/nvptx/t-nvptx (LIB2ADD): Add atomic.c.
1113
1114 2020-08-03 Ian Lance Taylor <iant@golang.org>
1115
1116 * config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
1117
1118 2020-08-03 Jakub Jelinek <jakub@redhat.com>
1119
1120 PR target/96402
1121 * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
1122 of x(tmp0), x(tmp1) in STXP arguments.
1123
1124 2020-07-31 Maciej W. Rozycki <macro@wdc.com>
1125
1126 * config/riscv/save-restore.S [__riscv_xlen == 64]
1127 (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
1128 (__riscv_save_2): Replace negative immediates used for the final
1129 stack pointer adjustment with positive ones, right-shifted by 4.
1130
1131 2020-07-31 Martin Liska <mliska@suse.cz>
1132
1133 * libgcov-driver.c: Add __gcov_kvp_pool
1134 and __gcov_kvp_pool_index variables.
1135 * libgcov.h (allocate_gcov_kvp): New.
1136 (gcov_topn_add_value): Use it.
1137
1138 2020-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
1139
1140 * config/aarch64/lse.S: Add PAC property note.
1141
1142 2020-07-23 Martin Liska <mliska@suse.cz>
1143
1144 PR gcov-profile/96035
1145 * libgcov-driver-system.c: Create gcov folders with 0777
1146 so that it respects a system umask.
1147
1148 2020-07-14 David Edelsohn <dje.gcc@gmail.com>
1149
1150 * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
1151
1152 2020-07-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
1153
1154 PR target/94891
1155 * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
1156 (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
1157 (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
1158 (MD_DEMANGLE_RETURN_ADDR): This.
1159 (aarch64_post_extract_frame_addr): Rename to ...
1160 (aarch64_demangle_return_addr): This.
1161 (aarch64_post_frob_eh_handler_addr): Remove.
1162 * unwind-dw2.c (uw_update_context): Demangle return address.
1163 (uw_frob_return_addr): Remove.
1164
1165 2020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
1166
1167 PR target/96001
1168 * config/aarch64/lse.S: Add BTI marking and related definitions,
1169 and add BTI c to function entries.
1170
1171 2020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
1172
1173 * config/aarch64/lse.S: Add stack note.
1174
1175 2020-07-02 Martin Liska <mliska@suse.cz>
1176
1177 PR gcov-profile/95348
1178 * libgcov-driver.c (merge_one_data): Merge only profiles
1179 that are not of non-zero type.
1180 (write_one_data): Write counters only if there's one non-zero
1181 value.
1182 * libgcov-util.c (tag_function): Change signature from unsigned
1183 to int.
1184 (tag_blocks): Likewise.
1185 (tag_arcs): Likewise.
1186 (tag_counters): Likewise.
1187 (tag_summary): Likewise.
1188 (tag_lines): Read only if COUNTERS is non-zero.
1189 (read_gcda_file): Handle negative length for COUNTERS type.
1190
1191 2020-06-25 Martin Liska <mliska@suse.cz>
1192
1193 * libgcov-driver.c (merge_summary): Remove function as its name
1194 is misleading and doing something different.
1195 (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
1196 in gcov-tool.
1197 * libgcov-util.c (curr_object_summary): Remove.
1198 (read_gcda_file): Remove unused curr_object_summary.
1199 (gcov_merge): Merge summaries.
1200 * libgcov.h: Add summary argument for gcov_info struct.
1201
1202 2020-06-24 H.J. Lu <hjl.tools@gmail.com>
1203
1204 PR target/95259
1205 * config/i386/cpuinfo.c: Don't include "cpuinfo.h". Include
1206 "common/config/i386/i386-cpuinfo.h" and
1207 "common/config/i386/cpuinfo.h".
1208 (__cpu_features2): Changed to array.
1209 (get_amd_cpu): Removed.
1210 (get_intel_cpu): Likewise.
1211 (get_available_features): Likewise.
1212 (__cpu_indicator_init): Call cpu_indicator_init.
1213 * config/i386/cpuinfo.h: Removed.
1214
1215 2020-06-23 David Edelsohn <dje.gcc@gmail.com>
1216
1217 * Makefile.in: Remove uses of empty.mk. Use -include.
1218 * config/avr/t-avr: Use -include.
1219 * empty.mk: Delete.
1220
1221 2020-06-21 David Edelsohn <dje.gcc@gmail.com>
1222
1223 * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
1224 * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
1225 and 64 bit with -maix64.
1226 * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
1227 Build and install AIX-style FAT libraries.
1228
1229 2020-06-17 Samuel Thibault <samuel.thibault@gnu.org>
1230
1231 * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
1232 'i386/gnu-unwind.h'
1233 * config/i386/gnu-unwind.h: New file.
1234
1235 2020-06-17 Martin Liska <mliska@suse.cz>
1236
1237 * libgcov-util.c (read_gcda_finalize): Remove const operator.
1238 (merge_wrapper): Add both counts and use them properly.
1239 (topn_to_memory_representation): New function.
1240 (gcov_merge): Covert on disk representation to in memory
1241 representation.
1242 * libgcov.h: Remove const operator.
1243
1244 2020-06-15 Max Filippov <jcmvbkbc@gmail.com>
1245
1246 * configure: Regenerate.
1247 * configure.ac: Use AC_COMPILE_IFELSE instead of manual
1248 preprocessor invocation to check for __XTENSA_CALL0_ABI__.
1249
1250 2020-06-09 Martin Liska <mliska@suse.cz>
1251
1252 PR gcov-profile/95494
1253 * libgcov-driver.c (write_top_counters): Cast first to
1254 intptr_t as sizeof(*) != sizeof(gcov_type).
1255 * libgcov.h (gcov_counter_set_if_null): Remove.
1256 (gcov_topn_add_value): Cast first to intptr_t and update
1257 linked list directly.
1258
1259 2020-06-09 Max Filippov <jcmvbkbc@gmail.com>
1260
1261 * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
1262 with uw_install_context_1.
1263
1264 2020-06-04 Andreas Schwab <schwab@suse.de>
1265
1266 PR target/59230
1267 PR libfortran/59227
1268 * config/ia64/t-softfp-compat (softfp_file_list): Filter out
1269 soft-fp/divtf3.c.
1270 (LIB2ADD): Add config/ia64/divtf3.c.
1271 * config/ia64/divtf3.c: New file.
1272
1273 2020-06-03 Martin Liska <mliska@suse.cz>
1274
1275 PR gcov-profile/95480
1276 * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
1277 * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
1278 (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
1279 (gcov_counter_set_if_null): Likewise.
1280
1281 2020-06-02 Jim Wilson <jimw@sifive.com>
1282
1283 * config/riscv/div.S (__divdi3): For negative arguments, change bgez
1284 to bgtz.
1285
1286 2020-06-02 Martin Liska <mliska@suse.cz>
1287
1288 * libgcov.h (gcov_topn_add_value): Use xcalloc instead
1289 of xmalloc.
1290
1291 2020-06-02 Martin Liska <mliska@suse.cz>
1292
1293 * libgcov-driver.c (prune_topn_counter): Remove.
1294 (prune_counters): Likewise.
1295 (merge_one_data): Special case TOP N counters
1296 as they have variable length.
1297 (write_top_counters): New.
1298 (write_one_data): Special case TOP N.
1299 (dump_one_gcov): Do not prune TOP N counters.
1300 * libgcov-merge.c (merge_topn_values_set): Remove.
1301 (__gcov_merge_topn): Use gcov_topn_add_value.
1302 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
1303 Likewise here.
1304 * libgcov.h (gcov_counter_add): New.
1305 (gcov_counter_set_if_null): Likewise.
1306 (gcov_topn_add_value): New.
1307
1308 2020-06-01 Uroš Bizjak <ubizjak@gmail.com>
1309
1310 * config/i386/sfp-exceptions.c (struct fenv):
1311 Add __attribute__ ((gcc_struct)).
1312
1313 2020-05-29 H.J. Lu <hjl.tools@gmail.com>
1314
1315 PR bootstrap/95413
1316 * configure: Regenerated.
1317
1318 2020-05-28 Dong JianQiang <dongjianqiang2@huawei.com>
1319
1320 PR gcov-profile/95332
1321 * libgcov-util.c (read_gcda_file): Call gcov_magic.
1322 * libgcov.h (gcov_magic): Disable GCC poison.
1323
1324 2020-05-21 H.J. Lu <hongjiu.lu@intel.com>
1325
1326 PR target/95212
1327 * config/i386/cpuinfo.h (processor_features): Move
1328 FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
1329
1330 2020-05-20 H.J. Lu <hongjiu.lu@intel.com>
1331
1332 PR target/91695
1333 * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
1334 check.
1335
1336 2020-05-19 H.J. Lu <hongjiu.lu@intel.com>
1337
1338 PR target/95212
1339 PR target/95220
1340 * config/i386/cpuinfo.c (get_available_features): Fix
1341 FEATURE_GFNI check. Also check FEATURE_AVX512VP2INTERSECT.
1342 * config/i386/cpuinfo.h (processor_features): Add
1343 FEATURE_AVX512VP2INTERSECT.
1344
1345 2020-05-15 H.J. Lu <hongjiu.lu@intel.com>
1346
1347 PR bootstrap/95147
1348 * configure: Regenerated.
1349
1350 2020-05-14 H.J. Lu <hongjiu.lu@intel.com>
1351
1352 * configure: Regenerated.
1353
1354 2020-05-09 Hans-Peter Nilsson <hp@axis.com>
1355
1356 * config.host: Remove support for crisv32-*-* and cris*-*-linux.
1357 * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
1358
1359 2020-05-06 Uroš Bizjak <ubizjak@gmail.com>
1360
1361 * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
1362 (__math_force_eval_div): New define.
1363 (__sfp_handle_exceptions): Use __math_force_eval_div to use
1364 generic division to generate INVALID, DIVZERO and INEXACT
1365 exceptions.
1366
1367 2020-05-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1368
1369 * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
1370 instead of getauxval.
1371 (AT_HWCAP): Define.
1372 (HWCAP_ATOMICS): Define.
1373 Guard detection on __gnu_linux__.
1374
1375 2020-05-05 Michael Meissner <meissner@linux.ibm.com>
1376
1377 * config.host: Delete changes meant for a private branch.
1378 * config/rs6000/t-float128: Likewise.
1379 * configure.ac: Likewise.
1380 * configure: Likewise.
1381
1382 2020-05-05 Martin Liska <mliska@suse.cz>
1383
1384 PR gcov-profile/93623
1385 * Makefile.in: Remove __gcov_flush.
1386 * gcov.h (__gcov_flush): Remove.
1387 * libgcov-interface.c (__gcov_flush): Remove.
1388 (init_mx): Use renamed mutex.
1389 (__gcov_lock): Likewise.
1390 (__gcov_unlock): Likewise.
1391 (__gcov_fork): Likewise.
1392 (__gcov_flush): Remove.
1393
1394 2020-05-05 Martin Liska <mliska@suse.cz>
1395
1396 PR gcov-profile/93623
1397 * libgcov-interface.c (__gcov_fork): Do not flush
1398 and reset only in child process.
1399 (__gcov_execl): Dump counters only and reset them
1400 only if exec* fails.
1401 (__gcov_execlp): Likewise.
1402 (__gcov_execle): Likewise.
1403 (__gcov_execv): Likewise.
1404 (__gcov_execvp): Likewise.
1405 (__gcov_execve): Likewise.
1406
1407 2020-05-05 Martin Liska <mliska@suse.cz>
1408
1409 PR gcov-profile/93623
1410 * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
1411 * libgcov-interface.c (ALIAS_void_fn): Remove.
1412 (__gcov_lock): New.
1413 (__gcov_unlock): New.
1414 (__gcov_flush): Use __gcov_lock and __gcov_unlock.
1415 (__gcov_reset): Likewise.
1416 (__gcov_dump): Likewise.
1417 * libgcov.h (__gcov_lock): New declaration.
1418 (__gcov_unlock): Likewise.
1419
1420 2020-05-01 Uroš Bizjak <ubizjak@gmail.com>
1421
1422 * config/i386/sfp-exceptions.c (__math_force_eval): New define.
1423 (__sfp_handle_exceptions): Use __math_force_eval to evaluate
1424 generic division to generate INVALID and DIVZERO exceptions.
1425
1426 2020-04-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
1427
1428 * config/rs6000/crtresfpr.S: Use .machine ppc.
1429 * config/rs6000/crtresxfpr.S: Likewise.
1430 * config/rs6000/crtsavfpr.S: Likewise.
1431
1432 2020-04-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
1433
1434 PR target/94514
1435 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
1436 Update context->flags accroding to the frame state.
1437
1438 2020-04-19 Uroš Bizjak <ubizjak@gmail.com>
1439
1440 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
1441 Remove unneeded assignments to volatile memory.
1442
1443 2020-04-15 Jakub Jelinek <jakub@redhat.com>
1444
1445 PR target/93053
1446 * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
1447 * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
1448 is not defined, use just .arch armv8-a.
1449 (B, M, N, OPN): Define.
1450 (COMMENT): New .macro.
1451 (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
1452 defined. Otherwise, move the operands right after the glue? and
1453 comment out operands where the macros are used.
1454 * configure: Regenerated.
1455 * config.in: Regenerated.
1456
1457 2020-04-07 Ian Lance Taylor <iant@golang.org>
1458
1459 PR libgcc/94513
1460 * generic-morestack.c: Give up trying to use __mmap/__munmap, use
1461 syscall instead.
1462
1463 2020-04-04 Ian Lance Taylor <iant@golang.org>
1464
1465 * generic-morestack.c: Only use __mmap on glibc >= 2.26.
1466
1467 2020-04-03 Ian Lance Taylor <iant@golang.org>
1468
1469 * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
1470 than mmap/munmap, to avoid hooks.
1471
1472 2020-04-03 Jim Johnston <jjohnst@us.ibm.com>
1473
1474 * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
1475 (TPFRA_OFFSET): Macros removed.
1476 (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
1477 (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
1478 (PG3_SKIPPING_OFFSET): New macros.
1479 (__isPATrange): Use cinfc_fast for the check.
1480 (__isSkipResetAddr): New function.
1481 (s390_fallback_frame_state): Check for skip trace addresses. Use
1482 either ICST_CRET or ICST_SRET to calculate return address
1483 location.
1484 (__tpf_eh_return): Handle skip trace addresses.
1485
1486 2020-03-26 Richard Earnshaw <rearnsha@arm.com>
1487
1488 PR target/94220
1489 * config/arm/lib1funcs.asm (COND): Use a single definition for
1490 unified syntax.
1491 (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
1492 (aeabi_idivmod): Likewise.
1493 (divsi3_skip_div0_test): Likewise.
1494
1495 2020-03-17 Mihail Ionescu <mihail.ionescu@arm.com>
1496
1497 * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
1498
1499 2020-03-04 Andreas Krebbel <krebbel@linux.ibm.com>
1500
1501 * config.host: Include the new makefile fragment.
1502 * config/s390/t-tpf: New file.
1503
1504 2020-03-03 Richard Earnshaw <rearnsha@arm.com>
1505
1506 * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
1507 syntax.
1508 (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
1509 (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
1510 (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
1511 (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
1512 * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
1513 syntax.
1514 (divsi3, modsi3): Likewise.
1515 (clzdi2, ctzsi2): Likewise.
1516 * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
1517 unified syntax.
1518 (UNWIND_WRAPPER): Likewise.
1519
1520 2020-03-02 Martin Liska <mliska@suse.cz>
1521
1522 * libgcov-interface.c: Remove duplicate
1523 declaration of __gcov_flush_mx.
1524
1525 2020-02-18 Martin Liska <mliska@suse.cz>
1526
1527 PR ipa/92924
1528 * libgcov-merge.c (merge_topn_values_set): Record
1529 when a TOP N counter becomes invalid. When merging
1530 remove a smallest value if the space is needed.
1531
1532 2020-02-12 Sandra Loosemore <sandra@codesourcery.com>
1533
1534 PR libstdc++/79193
1535 PR libstdc++/88999
1536
1537 * configure: Regenerated.
1538
1539 2020-02-10 Jeff Law <law@redhat.com>
1540
1541 * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
1542 sections.
1543 * config/frv/frvend.c: Similarly.
1544
1545 2020-02-10 H.J. Lu <hongjiu.lu@intel.com>
1546
1547 PR libgcc/85334
1548 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1549 New.
1550
1551 2020-02-10 Christophe Lyon <christophe.lyon@linaro.org>
1552
1553 PR target/93615
1554 * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
1555 _Unwind_gnu_Find_got.
1556 * unwind-pe.h: Likewise.
1557
1558 2020-02-07 Jakub Jelinek <jakub@redhat.com>
1559
1560 PR target/93615
1561 * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
1562 (_Unwind_gnu_Find_got): ... this. Use __asm instead of asm. Remove
1563 trailing :s in asm. Formatting fixes.
1564 (_Unwind_decode_typeinfo_ptr): Adjust caller.
1565
1566 2020-01-31 Sandra Loosemore <sandra@codesourcery.com>
1567
1568 nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
1569
1570 * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
1571 * config/nios2-elf-lib.h: New.
1572 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
1573 code for finding GOT base for nios2.
1574
1575 2020-01-27 Martin Liska <mliska@suse.cz>
1576
1577 PR gcov-profile/93403
1578 * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
1579 Call __gcov_indirect_call_profiler_body.
1580 (__gcov_indirect_call_profiler_body): New.
1581 (__gcov_indirect_call_profiler_v4_atomic): New.
1582 * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
1583 New declaration.
1584
1585 2020-01-27 Claudiu Zissulescu <claziss@synopsys.com>
1586
1587 * config/arc/crti.S: Add RF16 object attribute.
1588 * config/arc/crtn.S: Likewise.
1589 * config/arc/crttls.S: Likewise.
1590 * config/arc/lib1funcs.S: Likewise.
1591 * config/arc/fp-hack.h (ARC_OPTFPE): Define.
1592 * config/arc/lib2funcs.c: New file.
1593 * config/arc/t-arc: Add lib2funcs to LIB2ADD.
1594
1595 2020-01-24 Maciej W. Rozycki <macro@wdc.com>
1596
1597 * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
1598 * configure.ac: Handle `--with-toolexeclibdir='.
1599 * configure: Regenerate.
1600
1601 2020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
1602
1603 * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
1604
1605 2020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
1606
1607 * config/mips/gnustack.h: New file.
1608 * config/mips/crti.S: Include gnustack.h.
1609 * config/mips/crtn.S: Likewise.
1610 * config/mips/mips16.S: Likewise.
1611 * config/mips/vr4120-div.S: Likewise.
1612
1613 2020-01-23 Martin Liska <mliska@suse.cz>
1614
1615 * libgcov-driver.c (prune_topn_counter): Remove
1616 check for -1 as we only prune run-time counters
1617 that do not generate an invalid state.
1618
1619 2020-01-22 Martin Liska <mliska@suse.cz>
1620
1621 PR tree-optimization/92924
1622 * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
1623 try to find an existing value, then find an empty slot
1624 if not found.
1625
1626 2020-01-22 Martin Liska <mliska@suse.cz>
1627
1628 PR tree-optimization/92924
1629 * libgcov-driver.c (prune_topn_counter): New.
1630 (prune_counters): Likewise.
1631 (dump_one_gcov): Prune a run-time counter.
1632 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
1633 For a known value, add GCOV_TOPN_VALUES to value.
1634 Otherwise, decrement all counters by one.
1635
1636 2020-01-18 Hans-Peter Nilsson <hp@axis.com>
1637
1638 * config/cris/arit.c (DS): Apply attribute __fallthrough__.
1639
1640 2020-01-18 John David Anglin <danglin@gcc.gnu.org>
1641
1642 PR libgcc/92988
1643 * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
1644 DEFAULT_USE_CXA_ATEXIT is true.
1645
1646 2020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
1647 Thomas Preud'homme <thomas.preudhomme@arm.com>
1648
1649 * config/arm/t-arm: Check return value of gcc rather than lack of
1650 output.
1651
1652 2020-01-14 Georg-Johann Lay <avr@gjlay.de>
1653
1654 * config/avr/lib1funcs.S (skip): Simplify.
1655
1656 2020-01-10 Kwok Cheung Yeung <kcy@codesourcery.com>
1657
1658 * config/gcn/atomic.c: Remove include of stdint.h.
1659 (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
1660 __UINTPTR_TYPE__.
1661
1662 2020-01-09 Kwok Cheung Yeung <kcy@codesourcery.com>
1663
1664 * config/gcn/atomic.c: New.
1665 * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
1666
1667 2020-01-08 Georg-Johann Lay <avr@gjlay.de>
1668
1669 Implement 64-bit double functions.
1670
1671 PR target/92055
1672 * config.host (tmake_file) [target=avr]: Add t-libf7,
1673 t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
1674 * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
1675 depending on sizeof (double) or sizeof (long double).
1676 * config/avr/libf7: New folder.
1677
1678 2020-01-05 Olivier Hainque <hainque@adacore.com>
1679
1680 * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
1681 by IN_LIBGCC2.
1682
1683 2020-01-01 Jakub Jelinek <jakub@redhat.com>
1684
1685 Update copyright years.
1686
1687 2019-12-30 Olivier Hainque <hainque@adacore.com>
1688
1689 * config/gthr-vxworks.h: Use _vxworks-versions.h.
1690 * config/gthr-vxworks-tls.c: Likewise.
1691
1692 2019-12-30 Olivier Hainque <hainque@adacore.com>
1693
1694 * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
1695 standard zero-initializer syntax.
1696
1697 2019-12-30 Olivier Hainque <hainque@adacore.com>
1698
1699 * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
1700 reference to the internal VX_GET_TLS_DATA interface.
1701
1702 2019-12-30 Olivier Hainque <hainque@adacore.com>
1703
1704 * config/vxcrtstuff.c: Fix incorrect spelling of
1705 USE_INITFINI_ARRAY in guard.
1706
1707 2019-12-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1708
1709 * config.host: s/msp430*-*-elf/msp430-*-elf*.
1710 Override default "extra_parts" variable.
1711 * configure: Regenerate.
1712 * configure.ac: Disable TM clone registry by default for
1713 msp430-elfbare.
1714
1715 2019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1716
1717 * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
1718 "extra_parts".
1719 * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
1720
1721 2019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1722
1723 * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
1724 true.
1725
1726 2019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1727
1728 * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
1729 defined instead of its value.
1730
1731 2019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1732
1733 * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
1734 if it will have contents.
1735
1736 2019-12-05 Georg-Johann Lay <avr@gjlay.de>
1737
1738 PR target/92055
1739 * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
1740
1741 2019-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
1742
1743 PR libgcc/91737
1744 * config.host: Add t-gthr-noweak on *-*-musl*.
1745 * config/t-gthr-noweak: New file.
1746
1747 2019-11-17 John David Anglin <danglin@gcc.gnu.org>
1748
1749 * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
1750 volatile void *. Remove trap check.
1751 (__kernel_cmpxchg2): Likewise.
1752 (FETCH_AND_OP_2): Adjust operand types.
1753 (OP_AND_FETCH_2): Likewise.
1754 (FETCH_AND_OP_WORD): Likewise.
1755 (OP_AND_FETCH_WORD): Likewise.
1756 (COMPARE_AND_SWAP_2): Likewise.
1757 (__sync_val_compare_and_swap_4): Likewise.
1758 (__sync_bool_compare_and_swap_4): Likewise.
1759 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
1760 (__sync_lock_test_and_set_4): Likewise.
1761 (SYNC_LOCK_RELEASE_1): Likewise. Use __kernel_cmpxchg2 for release.
1762 (__sync_lock_release_4): Adjust operand types. Use __kernel_cmpxchg
1763 for release.
1764 (__sync_lock_release_8): Remove.
1765
1766 2019-11-15 Szabolcs Nagy <szabolcs.nagy@arm.com>
1767
1768 * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
1769 of __sigset_t.
1770
1771 2019-11-14 Jerome Lambourg <lambourg@adacore.com>
1772 Doug Rupp <rupp@adacore.com>
1773 Olivier Hainque <hainque@adacore.com>
1774
1775 * config.host: Collapse the arm-vxworks entries into
1776 a single arm-wrs-vxworks7* one.
1777 * config/arm/unwind-arm-vxworks.c: Update comments. Provide
1778 __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
1779 kernel modules, to be overriden by libstdc++ when we link with
1780 it. Rely on externally provided __exidx_start/end.
1781
1782 2019-11-14 Doug Rupp <rupp@adacore.com>
1783 Olivier Hainque <hainque@adacore.com>
1784
1785 * config.host: Handle aarch64*-wrs-vxworks7*.
1786
1787 2019-11-12 Olivier Hainque <hainque@adacore.com>
1788
1789 * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
1790 sources except the cxx0x support to LIB2ADDEH. We don't support
1791 cxx0x on AE/653.
1792 * config/t-vxworksae: New file.
1793 * config.host: Handle *-*-vxworksae: Add the two aforementioned
1794 Makefile fragment files at their expected position in the tmake_file
1795 list, in accordance with what is done for other VxWorks variants.
1796
1797 2019-11-12 Corentin Gay <gay@adacore.com>
1798 Jerome Lambourg <lambourg@adacore.com>
1799 Olivier Hainque <hainque@adacore.com>
1800
1801 * config/t-gthr-vxworks: New file, add all the gthr-vxworks
1802 sources to LIB2ADDEH.
1803 * config/t-vxworks: Remove adjustments to LIB2ADDEH.
1804 * config/t-vxworks7: Likewise.
1805
1806 * config.host: Append a block at the end of the file to add the
1807 t-gthr files to the tmake_file list for VxWorks after everything
1808 else.
1809
1810 * config/vxlib.c: Rename as gthr-vxworks.c.
1811 * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
1812
1813 * config/gthr-vxworks.h: Simplify a few comments. Expose a TAS
1814 API and a basic error checking API, both internal. Simplify the
1815 __gthread_once_t type definition and initializers. Add sections
1816 for condition variables support and for the C++0x thread support,
1817 conditioned against Vx653 for the latter.
1818
1819 * config/gthr-vxworks.c (__gthread_once): Simplify comments and
1820 implementation, leveraging the TAS internal API.
1821 * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
1822 API, leveraging the general availability of TLS services in VxWorks7
1823 post SR6xxx.
1824 (__gthread_setspecific, __gthread_setspecific): Use it.
1825 (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
1826 * config/gthr-vxworks-cond.c: New file. GTHREAD_COND variable
1827 support based on VxWorks primitives.
1828 * config/gthr-vxworks-thread.c: New file. GTHREAD_CXX0X support
1829 based on VxWorks primitives.
1830
1831 2019-11-06 Jerome Lambourg <lambourg@adacore.com>
1832 Olivier Hainque <hainque@adacore.com>
1833
1834 * config/vxcrtstuff.c: New file.
1835 * config/t-vxcrtstuff: New Makefile fragment.
1836 * config.host: Append t-vxcrtstuff to the tmake_file list
1837 on all VxWorks ports using dwarf for table based EH.
1838
1839 2019-11-07 Georg-Johann Lay <avr@gjlay.de>
1840
1841 Support 64-bit double and 64-bit long double configurations.
1842
1843 PR target/92055
1844 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
1845 long double is a 32-bit type.
1846 * config/avr/t-avrlibc: Copy double64 and long-double64
1847 multilib(s) from the vanilla one.
1848 * config/avr/t-copy-libgcc: New Makefile snip.
1849
1850 2019-11-04 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1851
1852 * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
1853 the target output object format is not ELF.
1854 s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
1855
1856 2019-11-03 Oleg Endo <olegendo@gcc.gnu.org>
1857
1858 PR libgcc/78804
1859 * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
1860 * fp-bit.c (pack_d, unpack_d): Remove special cases for
1861 FLOAT_BIT_ORDER_MISMATCH.
1862 * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
1863
1864 2019-11-01 Jim Wilson <jimw@sifive.com>
1865
1866 * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
1867
1868 2019-10-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1869
1870 * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
1871 s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
1872 s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
1873 Define symbols for 32-bit and f5series hardware multiply
1874 register addresses.
1875 Replace hard-coded register addresses with symbols.
1876 Fix "_mspabi*" typo.
1877 Fix whitespace.
1878 * config/msp430/lib2mul.c: Add comment.
1879
1880 2019-10-15 John David Anglin <danglin@gcc.gnu.org>
1881
1882 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
1883 unsigned int. Adjust callers.
1884 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
1885 unsigned int *. Load relocation offset before function pointer.
1886 Add barrier to ensure ordering.
1887
1888 2019-10-12 John David Anglin <danglin@gcc.gnu.org>
1889
1890 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
1891 Load PIC register after branch target. Fix white space.
1892 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
1893 implementations. Load PIC register after branch target. Don't
1894 clobber function pointer when it points to function descriptor.
1895 Use nullification instead of branch in LINUX implementation.
1896
1897 2019-10-03 John David Anglin <danglin@gcc.gnu.org>
1898
1899 * config/pa/fptr.c: Disable -Warray-bounds warning.
1900
1901 2019-09-25 Richard Henderson <richard.henderson@linaro.org>
1902
1903 * config.in, configure: Re-rebuild with stock autoconf 2.69,
1904 not the ubuntu modified 2.69.
1905
1906 PR target/91833
1907 * config/aarch64/lse-init.c: Include auto-target.h. Disable
1908 initialization if !HAVE_SYS_AUXV_H.
1909 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
1910 * config.in, configure: Rebuild.
1911
1912 PR target/91834
1913 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
1914 overlap the inputs.
1915
1916 2019-09-25 Shaokun Zhang <zhangshaokun@hisilicon.com>
1917
1918 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
1919 CTR_EL0.IDC and CTR_EL0.DIC.
1920
1921 2019-09-20 Christophe Lyon <christophe.lyon@st.com>
1922
1923 Revert:
1924 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1925 Mickaël Guêné <mickael.guene@st.com>
1926
1927 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
1928 architecture.
1929
1930 2019-09-19 Richard Henderson <richard.henderson@linaro.org>
1931
1932 * config/aarch64/lse-init.c: New file.
1933 * config/aarch64/lse.S: New file.
1934 * config/aarch64/t-lse: New file.
1935 * config.host: Add t-lse to all aarch64 tuples.
1936
1937 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1938 Mickaël Guêné <mickael.guene@st.com>
1939
1940 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
1941 architecture.
1942
1943 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1944 Mickaël Guêné <mickael.guene@st.com>
1945
1946 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
1947 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
1948 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
1949 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
1950 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
1951 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
1952 (__gnu_personality_sigframe_fdpic): New.
1953 (get_eit_entry): Add FDPIC signal frame support.
1954
1955 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1956 Mickaël Guêné <mickael.guene@st.com>
1957
1958 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
1959 (__kernel_dmb): Likewise.
1960 (__fdpic_cmpxchg): New function.
1961 (__fdpic_dmb): New function.
1962 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
1963 (gnu_Unwind_Find_got): New function.
1964 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
1965 * unwind-arm-common.inc (UCB_PR_GOT): New.
1966 (funcdesc_t): New struct.
1967 (get_eit_entry): Add FDPIC support.
1968 (unwind_phase2): Likewise.
1969 (unwind_phase2_forced): Likewise.
1970 (__gnu_Unwind_RaiseException): Likewise.
1971 (__gnu_Unwind_Resume): Likewise.
1972 (__gnu_Unwind_Backtrace): Likewise.
1973 * unwind-pe.h (read_encoded_value_with_base): Likewise.
1974
1975 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1976 Mickaël Guêné <mickael.guene@st.com>
1977
1978 * libgcc/crtstuff.c: Add support for FDPIC.
1979
1980 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1981
1982 * config.host: Handle *-*-uclinuxfdpiceabi.
1983
1984 2019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
1985
1986 * config.host: Set cpu_type for bpf-*-* targets.
1987 * config/bpf/t-bpf: Likewise.
1988 * config/bpf/crtn.S: Likewise.
1989 * config/bpf/crti.S: New file.
1990
1991 2019-09-06 Jim Wilson <jimw@sifive.com>
1992
1993 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
1994 (riscv*-*-freebsd*): Likewise.
1995
1996 2019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
1997
1998 * config.host: Remove references to spu.
1999 * config/spu/: Remove directory.
2000
2001 2019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2002
2003 PR target/91306
2004 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
2005 element type, instead of "sizeof" the element type.
2006 (__DTOR_LIST__): Likewise.
2007 (__TMC_LIST__): Likewise.
2008 (__do_global_dtors_aux_fini_array_entry): Likewise.
2009 (__frame_dummy_init_array_entry): Likewise.
2010 (__CTOR_END__): Likewise.
2011 (__DTOR_END__): Likweise.
2012 (__FRAME_END__): Likewise.
2013 (__TMC_END__): Likewise.
2014
2015 2019-08-20 Lili Cui <lilicui@intel.com>
2016
2017 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
2018 INTEL_COREI7_COOPERLAKE.
2019
2020 2019-07-31 Matt Thomas <matt@3am-software.com>
2021 Nick Hudson <nick@nthcliff.demon.co.uk>
2022 Matthew Green <mrg@eterna.com.au>
2023 Maya Rashish <coypu@sdf.org>
2024
2025 * config.host (hppa*-*-netbsd*): New case.
2026 * config/pa/t-netbsd: New file.
2027
2028 2019-07-31 Joel Hutton <Joel.Hutton@arm.com>
2029
2030 * config/arm/cmse.c (cmse_check_address_range): Add
2031 warn_unused_result attribute.
2032
2033 2019-07-22 Martin Liska <mliska@suse.cz>
2034
2035 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
2036 * config/pa/t-stublib: Likewise.
2037
2038 2019-07-22 Stafford Horne <shorne@gmail.com>
2039
2040 PR target/90362
2041 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
2042 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
2043 instructions are not available on every processor. Change a
2044 l.bnf to l.bf to fix logic issue.
2045
2046 2019-07-04 Iain Sandoe <iain@sandoe.co.uk>
2047
2048 * config.host: Remove reference to t-darwin8.
2049
2050 2019-07-03 Iain Sandoe <iain@sandoe.co.uk>
2051
2052 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
2053 list.
2054 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
2055 mmacosx-version-min for crts to run across all system versions.
2056 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
2057 * config/t-darwin: Revise mmacosx-version-min for crts to run across
2058 system versions >= 10.4.
2059
2060 2019-07-03 Martin Liska <mliska@suse.cz>
2061
2062 * Makefile.in: Use topn_values instead of one_value names.
2063 * libgcov-merge.c (__gcov_merge_single): Move to ...
2064 (__gcov_merge_topn): ... this.
2065 (merge_single_value_set): Move to ...
2066 (merge_topn_values_set): ... this.
2067 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
2068 ...
2069 (__gcov_topn_values_profiler_body): ... this.
2070 (__gcov_one_value_profiler_v2): Move to ...
2071 (__gcov_topn_values_profiler): ... this.
2072 (__gcov_one_value_profiler_v2_atomic): Move to ...
2073 (__gcov_topn_values_profiler_atomic): ... this.
2074 (__gcov_indirect_call_profiler_v4): Remove.
2075 * libgcov-util.c (__gcov_single_counter_op): Move to ...
2076 (__gcov_topn_counter_op): ... this.
2077 * libgcov.h (L_gcov_merge_single): Remove.
2078 (L_gcov_merge_topn): New.
2079 (__gcov_merge_single): Remove.
2080 (__gcov_merge_topn): New.
2081 (__gcov_one_value_profiler_v2): Move to ..
2082 (__gcov_topn_values_profiler): ... this.
2083 (__gcov_one_value_profiler_v2_atomic): Move to ...
2084 (__gcov_topn_values_profiler_atomic): ... this.
2085
2086 2019-07-03 Martin Liska <mliska@suse.cz>
2087
2088 * libgcov-merge.c (merge_single_value_set): Support N values.
2089 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
2090
2091 2019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
2092
2093 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
2094 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
2095 * configure.ac: Add --disable-tm-clone-registry option.
2096 * configure: Regenerate.
2097
2098 2019-06-27 Martin Liska <mliska@suse.cz>
2099
2100 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
2101 dead assignments.
2102 * libgcov-util.c: Likewise.
2103
2104 2019-06-27 Martin Liska <mliska@suse.cz>
2105
2106 * libgcov-util.c (gcov_profile_merge): Release allocated
2107 memory.
2108 (calculate_overlap): Likewise.
2109
2110 2019-06-25 Iain Sandoe <iain@sandoe.co.uk>
2111
2112 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
2113 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
2114 Build objects for the out of line save/restore register functions
2115 so that they can be used for any supported Darwin version.
2116 * config/t-darwin: Default the build Darwin version to Darwin8
2117 (MacOS 10.4).
2118
2119 2019-06-25 Martin Liska <mliska@suse.cz>
2120
2121 * libgcov-driver-system.c (replace_filename_variables): Do not
2122 call strlen with NULL argument.
2123
2124 2019-06-25 Andrew Stubbs <ams@codesourcery.com>
2125
2126 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
2127 * config/gcn/unwind-gcn.c: New file.
2128
2129 2019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
2130 Andrew Stubbs <ams@codesourcery.com>
2131
2132 * configure: Regenerate.
2133 * config/gcn/gthr-gcn.h: New.
2134
2135 2019-06-18 Tom de Vries <tdevries@suse.de>
2136
2137 * config/nvptx/crt0.c (__main): Declare.
2138
2139 2019-06-17 Matthew Green <mrg@eterna.com.au>
2140 Maya Rashish <coypu@sdf.org>
2141
2142 * config.host (aarch64*-*-netbsd*): New case.
2143
2144 2019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2145
2146 * config/msp430/slli.S (__mspabi_sllll): New library function for
2147 performing a logical left shift of a 64-bit value.
2148 * config/msp430/srai.S (__mspabi_srall): New library function for
2149 performing a arithmetic right shift of a 64-bit value.
2150 * config/msp430/srll.S (__mspabi_srlll): New library function for
2151 performing a logical right shift of a 64-bit value.
2152
2153 2019-06-14 Matt Thomas <matt@3am-software.com>
2154 Matthew Green <mrg@eterna.com.au>
2155 Nick Hudson <skrll@netbsd.org>
2156 Maya Rashish <coypu@sdf.org>
2157
2158 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
2159 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
2160 functions to build.
2161 * config/arm/t-netbsd-eabi: New file.
2162
2163 2019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
2164
2165 * config.host: Add PRU target.
2166 * config/pru/asri.c: New file.
2167 * config/pru/eqd.c: New file.
2168 * config/pru/eqf.c: New file.
2169 * config/pru/ged.c: New file.
2170 * config/pru/gef.c: New file.
2171 * config/pru/gtd.c: New file.
2172 * config/pru/gtf.c: New file.
2173 * config/pru/led.c: New file.
2174 * config/pru/lef.c: New file.
2175 * config/pru/lib2bitcountHI.c: New file.
2176 * config/pru/lib2divHI.c: New file.
2177 * config/pru/lib2divQI.c: New file.
2178 * config/pru/lib2divSI.c: New file.
2179 * config/pru/libgcc-eabi.ver: New file.
2180 * config/pru/ltd.c: New file.
2181 * config/pru/ltf.c: New file.
2182 * config/pru/mpyll.S: New file.
2183 * config/pru/pru-abi.h: New file.
2184 * config/pru/pru-asm.h: New file.
2185 * config/pru/pru-divmod.h: New file.
2186 * config/pru/sfp-machine.h: New file.
2187 * config/pru/t-pru: New file.
2188
2189 2019-06-11 Jakub Jelinek <jakub@redhat.com>
2190
2191 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
2192
2193 2019-06-10 Martin Liska <mliska@suse.cz>
2194
2195 PR bootstrap/90808
2196 * libgcov.h: Add ATTRIBUTE_UNUSED.
2197
2198 2019-06-10 Martin Liska <mliska@suse.cz>
2199
2200 * Makefile.in: Add __gcov_one_value_profiler_v2,
2201 __gcov_one_value_profiler_v2_atomic and
2202 __gcov_indirect_call_profiler_v4.
2203 * libgcov-merge.c (__gcov_merge_single): Change
2204 function signature.
2205 (merge_single_value_set): New.
2206 * libgcov-profiler.c (__gcov_one_value_profiler_body):
2207 Update functionality.
2208 (__gcov_one_value_profiler): Remove.
2209 (__gcov_one_value_profiler_v2): ... this.
2210 (__gcov_one_value_profiler_atomic): Rename to ...
2211 (__gcov_one_value_profiler_v2_atomic): this.
2212 (__gcov_indirect_call_profiler_v3): Rename to ...
2213 (__gcov_indirect_call_profiler_v4): ... this.
2214 * libgcov.h (__gcov_one_value_profiler): Remove.
2215 (__gcov_one_value_profiler_atomic): Remove.
2216 (__gcov_one_value_profiler_v2_atomic): New.
2217 (__gcov_indirect_call_profiler_v3): Remove.
2218 (__gcov_one_value_profiler_v2): New.
2219 (__gcov_indirect_call_profiler_v4): New.
2220 (gcov_get_counter_ignore_scaling): New function.
2221
2222 2019-06-07 Martin Liska <mliska@suse.cz>
2223
2224 * Makefile.in: Remove usage of
2225 _gcov_merge_icall_topn.
2226 * libgcov-driver.c (gcov_sort_n_vals): Remove.
2227 (gcov_sort_icall_topn_counter): Likewise.
2228 (gcov_sort_topn_counter_arrays): Likewise.
2229 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
2230 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
2231 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
2232 Likewise.
2233 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
2234 (struct indirect_call_tuple): Remove.
2235 (__gcov_indirect_call_topn_profiler): Remove.
2236 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
2237 * libgcov.h (gcov_sort_n_vals): Remove.
2238 (L_gcov_merge_icall_topn): Likewise.
2239 (__gcov_merge_icall_topn): Likewise.
2240 (__gcov_indirect_call_topn_profiler): Likewise.
2241
2242 2019-06-06 Iain Sandoe <iain@sandoe.co.uk>
2243
2244 * config/rs6000/t-darwin: Ensure that the unwinder is built with
2245 altivec enabled.
2246
2247 2019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2248
2249 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
2250 section.
2251 (__mspabi_slli): Likewise.
2252 (__mspabi_slll_n): Likewise.
2253 (__mspabi_slll): Likewise.
2254 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
2255 (__mspabi_srai): Likewise.
2256 (__mspabi_sral_n): Likewise.
2257 (__mspabi_sral): Likewise.
2258 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
2259 (__mspabi_srli): Likewise.
2260 (__mspabi_srll_n): Likewise.
2261 (__mspabi_srll): Likewise.
2262
2263 2019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
2264
2265 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
2266 Add appropriate tm_file clause as well.
2267 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
2268
2269 2019-06-05 James Clarke <jrtc27@jrtc27.com>
2270
2271 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
2272 rather than .data/.bss so it can be accessed via gp-relative
2273 addressing.
2274
2275 2019-06-05 David Edelsohn <dje.gcc@gmail.com>
2276
2277 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
2278 (CR2_REGNO): Rename to R_CR2.
2279 (XER_REGNO): Rename to R_XER.
2280 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
2281 (VRSAVE_REGNO): Rename to R_VRSAVE.
2282 (VSCR_REGNO): R_VSCR.
2283
2284 2019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
2285
2286 * config.host (rx-*-linux*): Add new case.
2287 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
2288
2289 2019-05-29 Sam Tebbs <sam.tebbs@arm.com>
2290
2291 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
2292 function.
2293 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
2294 aarch64_post_frob_eh_handler_addr): Add check for b-key.
2295 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
2296 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
2297 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
2298 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
2299 string.
2300 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
2301 string.
2302 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
2303
2304 2019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2305
2306 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
2307 Remove Solaris 9 and 10 support.
2308 (sparc_is_sighandler): Likewise.
2309
2310 2019-05-26 John David Anglin <danglin@gcc.gnu.org>
2311
2312 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
2313
2314 2019-05-17 H.J. Lu <hongjiu.lu@intel.com>
2315
2316 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
2317 4_FP_W_TYPEs are used for IEEE quad precision.
2318 * soft-fp/extendhftf2.c: Likewise.
2319 * soft-fp/extendsftf2.c: Likewise.
2320 * soft-fp/extendxftf2.c: Likewise.
2321 * soft-fp/trunctfdf2.c: Likewise.
2322 * soft-fp/trunctfhf2.c: Likewise.
2323 * soft-fp/trunctfsf2.c: Likewise.
2324 * soft-fp/trunctfxf2.c: Likewise.
2325 * config/rs6000/ibm-ldouble.c: Likewise.
2326
2327 2019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2328
2329 * config.host: Simplify various *-*-solaris2.1[0-9]* to
2330 *-*-solaris2*.
2331 * configure.ac: Likewise.
2332 * configure: Regenerate.
2333
2334 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
2335 Solaris 10 and Solaris 11 < snv_125 handling.
2336
2337 2019-05-12 Iain Sandoe <iain@sandoe.co.uk>
2338
2339 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
2340
2341 2019-05-07 Hongtao Liu <hongtao.liu@intel.com>
2342
2343 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
2344 * config/i386/cpuinfo.h (enum processor_features): Add
2345 FEATURE_AVX512BF16.
2346
2347 2019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
2348 Bernd Edlinger <bernd.edlinger@hotmail.de>
2349 Jakub Jelinek <jakub@redhat.com>
2350
2351 PR target/89093
2352 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
2353 * config/arm/unwind-arm.c: Likewise.
2354 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
2355 attribute for ARM.
2356
2357 2019-04-15 Monk Chiang <sh.chiang04@gmail.com>
2358
2359 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
2360 (RT_SIGRETURN): Update.
2361 (nds32_fallback_frame_state): Update.
2362
2363 2019-02-21 Martin Sebor <msebor@redhat.com>
2364
2365 * libgcc2.h (__clear_cache): Correct signature.
2366 * libgcc2.c (__clear_cache): Same.
2367
2368 2019-02-20 Uroš Bizjak <ubizjak@gmail.com>
2369
2370 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
2371 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
2372
2373 2019-02-19 Uroš Bizjak <ubizjak@gmail.com>
2374
2375 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
2376 regno instead of index to DWARF_ZERO_REG.
2377
2378 2019-02-15 Eric Botcazou <ebotcazou@adacore.com>
2379
2380 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
2381 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
2382
2383 2019-01-31 Uroš Bizjak <ubizjak@gmail.com>
2384
2385 * config/alpha/t-linux: Add -mfp-rounding-mode=d
2386 to HOST_LIBGCC2_CFLAGS.
2387
2388 2019-01-23 Joseph Myers <joseph@codesourcery.com>
2389
2390 PR libgcc/88931
2391 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
2392
2393 2019-01-18 Martin Liska <mliska@suse.cz>
2394
2395 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
2396 to ...
2397 (__gcov_indirect_call_profiler_v3): ... this.
2398 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
2399 (__gcov_indirect_call_profiler_v3): Likewise.
2400 * Makefile.in: Bump function name.
2401
2402 2019-01-18 Martin Liska <mliska@suse.cz>
2403
2404 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
2405 (gcov_version): Use in gcov_error.
2406 (merge_one_data): Likewise.
2407 (dump_one_gcov): Likewise.
2408
2409 2019-01-18 Martin Liska <mliska@suse.cz>
2410
2411 * libgcov-driver.c (gcov_version_string): New function.
2412 (gcov_version): Convert version integer into string.
2413
2414 2019-01-17 Andrew Stubbs <ams@codesourcery.com>
2415 Kwok Cheung Yeung <kcy@codesourcery.com>
2416 Julian Brown <julian@codesourcery.com>
2417 Tom de Vries <tom@codesourcery.com>
2418
2419 * config.host: Recognize amdgcn*-*-amdhsa.
2420 * config/gcn/crt0.c: New file.
2421 * config/gcn/lib2-divmod-hi.c: New file.
2422 * config/gcn/lib2-divmod.c: New file.
2423 * config/gcn/lib2-gcn.h: New file.
2424 * config/gcn/sfp-machine.h: New file.
2425 * config/gcn/t-amdgcn: New file.
2426
2427 2019-01-09 Sandra Loosemore <sandra@codesourcery.com>
2428
2429 PR other/16615
2430
2431 * config/c6x/libunwind.S: Mechanically replace "can not" with
2432 "cannot".
2433 * config/tilepro/atomic.h: Likewise.
2434 * config/vxlib-tls.c: Likewise.
2435 * generic-morestack-thread.c: Likewise.
2436 * generic-morestack.c: Likewise.
2437 * mkmap-symver.awk: Likewise.
2438
2439 2019-01-01 Jakub Jelinek <jakub@redhat.com>
2440
2441 Update copyright years.
2442
2443 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
2444
2445 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
2446 to ignore -Waddress-of-packed-member.
2447
2448 2018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
2449
2450 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
2451 parameter and corresponding code.
2452 (ARM_FUNC_START): Likewise in both definitions.
2453 Also update footer comment about condition that need to match with
2454 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
2455 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
2456 defined. Weakly define it in this case.
2457 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
2458 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
2459 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
2460 comment to keep condition in sync with the one in
2461 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
2462
2463 2018-12-18 Wei Xiao <wei3.xiao@intel.com>
2464
2465 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
2466 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
2467
2468 2018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2469
2470 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
2471 and .cfi_endproc directives for VxWorks targets.
2472
2473 2018-12-05 Paul Koning <ni1d@arrl.net>
2474
2475 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
2476
2477 2018-11-27 Alan Modra <amodra@gmail.com>
2478
2479 * config/rs6000/morestack.S (__stack_split_initialize),
2480 (__morestack_get_guard, __morestack_set_guard),
2481 (__morestack_make_guard): Provide CFI covering these functions.
2482 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
2483
2484 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
2485
2486 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
2487 (sc_pt_regs_lr): Update for kernel.
2488 (sc_pt_regs_tls): Update for kernel.
2489
2490 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
2491
2492 * config/csky/linux-unwind.h: Fix coding style.
2493
2494 2018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
2495
2496 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
2497 (csky_fallback_frame_state): Modify the check of the
2498 instructions to adapt to changes in the kernel
2499
2500 2018-11-09 Stafford Horne <shorne@gmail.com>
2501 Richard Henderson <rth@twiddle.net>
2502
2503 * config.host: Add OpenRISC support.
2504 * config/or1k/*: New.
2505
2506 2018-11-08 Kito Cheng <kito@andestech.com>
2507
2508 * soft-fp/adddf3.c: Update from glibc.
2509 * soft-fp/addsf3.c: Likewise.
2510 * soft-fp/addtf3.c: Likewise.
2511 * soft-fp/divdf3.c: Likewise.
2512 * soft-fp/divsf3.c: Likewise.
2513 * soft-fp/divtf3.c: Likewise.
2514 * soft-fp/double.h: Likewise.
2515 * soft-fp/eqdf2.c: Likewise.
2516 * soft-fp/eqsf2.c: Likewise.
2517 * soft-fp/eqtf2.c: Likewise.
2518 * soft-fp/extenddftf2.c: Likewise.
2519 * soft-fp/extended.h: Likewise.
2520 * soft-fp/extendhftf2.c: Likewise.
2521 * soft-fp/extendsfdf2.c: Likewise.
2522 * soft-fp/extendsftf2.c: Likewise.
2523 * soft-fp/extendxftf2.c: Likewise.
2524 * soft-fp/fixdfdi.c: Likewise.
2525 * soft-fp/fixdfsi.c: Likewise.
2526 * soft-fp/fixdfti.c: Likewise.
2527 * soft-fp/fixhfti.c: Likewise.
2528 * soft-fp/fixsfdi.c: Likewise.
2529 * soft-fp/fixsfsi.c: Likewise.
2530 * soft-fp/fixsfti.c: Likewise.
2531 * soft-fp/fixtfdi.c: Likewise.
2532 * soft-fp/fixtfsi.c: Likewise.
2533 * soft-fp/fixtfti.c: Likewise.
2534 * soft-fp/fixunsdfdi.c: Likewise.
2535 * soft-fp/fixunsdfsi.c: Likewise.
2536 * soft-fp/fixunsdfti.c: Likewise.
2537 * soft-fp/fixunshfti.c: Likewise.
2538 * soft-fp/fixunssfdi.c: Likewise.
2539 * soft-fp/fixunssfsi.c: Likewise.
2540 * soft-fp/fixunssfti.c: Likewise.
2541 * soft-fp/fixunstfdi.c: Likewise.
2542 * soft-fp/fixunstfsi.c: Likewise.
2543 * soft-fp/fixunstfti.c: Likewise.
2544 * soft-fp/floatdidf.c: Likewise.
2545 * soft-fp/floatdisf.c: Likewise.
2546 * soft-fp/floatditf.c: Likewise.
2547 * soft-fp/floatsidf.c: Likewise.
2548 * soft-fp/floatsisf.c: Likewise.
2549 * soft-fp/floatsitf.c: Likewise.
2550 * soft-fp/floattidf.c: Likewise.
2551 * soft-fp/floattihf.c: Likewise.
2552 * soft-fp/floattisf.c: Likewise.
2553 * soft-fp/floattitf.c: Likewise.
2554 * soft-fp/floatundidf.c: Likewise.
2555 * soft-fp/floatundisf.c: Likewise.
2556 * soft-fp/floatunditf.c: Likewise.
2557 * soft-fp/floatunsidf.c: Likewise.
2558 * soft-fp/floatunsisf.c: Likewise.
2559 * soft-fp/floatunsitf.c: Likewise.
2560 * soft-fp/floatuntidf.c: Likewise.
2561 * soft-fp/floatuntihf.c: Likewise.
2562 * soft-fp/floatuntisf.c: Likewise.
2563 * soft-fp/floatuntitf.c: Likewise.
2564 * soft-fp/gedf2.c: Likewise.
2565 * soft-fp/gesf2.c: Likewise.
2566 * soft-fp/getf2.c: Likewise.
2567 * soft-fp/half.h: Likewise.
2568 * soft-fp/ledf2.c: Likewise.
2569 * soft-fp/lesf2.c: Likewise.
2570 * soft-fp/letf2.c: Likewise.
2571 * soft-fp/muldf3.c: Likewise.
2572 * soft-fp/mulsf3.c: Likewise.
2573 * soft-fp/multf3.c: Likewise.
2574 * soft-fp/negdf2.c: Likewise.
2575 * soft-fp/negsf2.c: Likewise.
2576 * soft-fp/negtf2.c: Likewise.
2577 * soft-fp/op-1.h: Likewise.
2578 * soft-fp/op-2.h: Likewise.
2579 * soft-fp/op-4.h: Likewise.
2580 * soft-fp/op-8.h: Likewise.
2581 * soft-fp/op-common.h: Likewise.
2582 * soft-fp/quad.h: Likewise.
2583 * soft-fp/single.h: Likewise.
2584 * soft-fp/soft-fp.h: Likewise.
2585 * soft-fp/subdf3.c: Likewise.
2586 * soft-fp/subsf3.c: Likewise.
2587 * soft-fp/subtf3.c: Likewise.
2588 * soft-fp/truncdfsf2.c: Likewise.
2589 * soft-fp/trunctfdf2.c: Likewise.
2590 * soft-fp/trunctfhf2.c: Likewise.
2591 * soft-fp/trunctfsf2.c: Likewise.
2592 * soft-fp/trunctfxf2.c: Likewise.
2593 * soft-fp/unorddf2.c: Likewise.
2594 * soft-fp/unordsf2.c: Likewise.
2595 * soft-fp/unordtf2.c: Likewise.
2596
2597 2018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
2598
2599 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
2600 * config/i386/cpuinfo.h (processor_types): Add znver2.
2601
2602 2018-11-01 Paul Koning <ni1d@arrl.net>
2603
2604 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
2605 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
2606
2607 2018-10-31 Joseph Myers <joseph@codesourcery.com>
2608
2609 PR bootstrap/82856
2610 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
2611 * configure: Regenerate.
2612
2613 2018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
2614
2615 * config/arc/lib1funcs.S (_muldi3): New function.
2616 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
2617
2618 2018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2619
2620 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
2621
2622 2018-10-25 Martin Liska <mliska@suse.cz>
2623
2624 PR other/87735
2625 * libgcov-profiler.c: Revert.
2626
2627 2018-10-24 Martin Liska <mliska@suse.cz>
2628
2629 * libgcov-profiler.c: Start from 1 in order to distinguish
2630 functions which were seen and these that were not.
2631
2632 2018-10-18 Paul Koning <ni1d@arrl.net>
2633
2634 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
2635 standard.
2636 * divmod.c: Update references to __udivmodsi4.
2637 * udivmod.c: Ditto.
2638 * udivhi3.c: New file.
2639 * udivmodhi4.c: New file.
2640 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
2641
2642 2018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2643
2644 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
2645
2646 2018-10-12 Olivier Hainque <hainque@adacore.com>
2647
2648 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
2649 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
2650
2651 2018-10-08 Paul Koning <ni1d@arrl.net>
2652
2653 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
2654
2655 2018-10-04 Martin Liska <mliska@suse.cz>
2656
2657 PR gcov-profile/84107
2658 * libgcov-profiler.c (__gcov_indirect_call):
2659 Change type to indirect_call_tuple.
2660 (struct indirect_call_tuple): New struct.
2661 (__gcov_indirect_call_topn_profiler): Change type.
2662 (__gcov_indirect_call_profiler_v2): Use the new
2663 variables.
2664 * libgcov.h (struct indirect_call_tuple): New struct
2665 definition.
2666
2667 2018-10-03 Uros Bizjak <ubizjak@gmail.com>
2668
2669 * libgcc2.c (isnan): Use __builtin_isnan.
2670 (isfinite): Use __builtin_isfinite.
2671 (isinf): Use __builtin_isinf.
2672
2673 2018-09-26 Uros Bizjak <ubizjak@gmail.com>
2674
2675 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
2676
2677 2018-09-21 Alexandre Oliva <oliva@adacore.com>
2678
2679 * config/vxcache.c: New file. Provide __clear_cache, based on
2680 the cacheTextUpdate VxWorks service.
2681 * config/t-vxworks (LIB2ADD): Add vxcache.c.
2682 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
2683 * config/t-vxwoks7: Likewise.
2684
2685 2018-09-21 Martin Liska <mliska@suse.cz>
2686
2687 * libgcov-driver.c (crc32_unsigned): Remove.
2688 (gcov_histogram_insert): Likewise.
2689 (gcov_compute_histogram): Likewise.
2690 (compute_summary): Simplify rapidly.
2691 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
2692 (merge_summary): Rapidly simplify.
2693 (dump_one_gcov): Ignore gcov_summary.
2694 (gcov_do_dump): Do not handle program summary, it's not
2695 used.
2696 * libgcov-util.c (tag_summary): Remove.
2697 (read_gcda_finalize): Fix coding style.
2698 (read_gcda_file): Initialize curr_object_summary.
2699 (compute_summary): Remove.
2700 (calculate_overlap): Remove settings of run_max.
2701
2702 2018-09-21 Monk Chiang <sh.chiang04@gmail.com>
2703
2704 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
2705 ucontext_t type instead.
2706 (nds32_fallback_frame_state): Remove struct _sigframe statement.
2707
2708 2018-09-21 Kito Cheng <kito.cheng@gmail.com>
2709
2710 * config/nds32/t-nds32-glibc: New file.
2711
2712 2018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2713
2714 * configure.ac (solaris_ld_v2_maps): New test.
2715 * configure: Regenerate.
2716 * Makefile.in (solaris_ld_v2_maps): New variable.
2717 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
2718 if supported.
2719
2720 2018-08-23 Richard Earnshaw <rearnsha@arm.com>
2721
2722 PR target/86951
2723 * config/arm/lib1funcs.asm (speculation_barrier): New function.
2724 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
2725 to build.
2726
2727 2018-08-22 Iain Sandoe <iain@sandoe.co.uk>
2728
2729 * config/unwind-dw2-fde-darwin.c
2730 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
2731 * config/darwin10-unwind-find-enc-func.c: … to here.
2732 * config/t-darwin: Build Darwin10 unwinder shim crt.
2733 * libgcc/config.host: Add the Darwin10 unwinder shim.
2734
2735 2018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2736
2737 * config.host: Add crtbegin.o and crtend.o for
2738 powerpc-wrs-vxworks target.
2739
2740 2018-08-17 Jojo <jijie_rong@c-sky.com>
2741 Huibin Wang <huibin_wang@c-sky.com>
2742 Sandra Loosemore <sandra@codesourcery.com>
2743 Chung-Lin Tang <cltang@codesourcery.com>
2744
2745 C-SKY port: libgcc
2746
2747 * config.host: Add C-SKY support.
2748 * config/csky/*: New.
2749
2750 2018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
2751
2752 * config/nds32/t-nds32-isr: Rearrange object dependency.
2753 * config/nds32/initfini.c: Add dwarf2 unwinding support.
2754 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
2755 and registers usage.
2756 * config/nds32/isr-library/excp_isr.S: Ditto.
2757 * config/nds32/isr-library/intr_isr.S: Ditto.
2758 * config/nds32/isr-library/reset.S: Ditto.
2759 * config/nds32/isr-library/restore_all.inc: Ditto.
2760 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
2761 * config/nds32/isr-library/restore_partial.inc: Ditto.
2762 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
2763 * config/nds32/isr-library/save_all.inc: Ditto.
2764 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
2765 * config/nds32/isr-library/save_partial.inc: Ditto.
2766 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
2767 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
2768
2769 2018-08-11 John David Anglin <danglin@gcc.gnu.org>
2770
2771 * config/pa/linux-atomic.c: Update comment.
2772 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
2773 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
2774 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
2775 __ATOMIC_RELAXED for atomic loads.
2776 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
2777 unordered store to release lock.
2778 (__sync_lock_release_8): Likewise.
2779 (SYNC_LOCK_RELEASE_2): Remove define.
2780
2781 2018-08-02 Nicolas Pitre <nico@fluxnic.net>
2782
2783 PR libgcc/86512
2784 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
2785 exponent goes negative. Update my email address.
2786 * config/arm/ieee754-sf.S: Likewise.
2787
2788 2018-08-01 Martin Liska <mliska@suse.cz>
2789
2790 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
2791 check that __gcov_indirect_call_callee is non-null.
2792
2793 2018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
2794
2795 * config/arm/ieee754-df.S: Fix comment for code working on
2796 architectures >= 4.
2797 * config/arm/ieee754-sf.S: Likewise.
2798
2799 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
2800
2801 PR libgcc/85334
2802 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2803 Removed.
2804
2805 2018-07-05 James Clarke <jrtc27@jrtc27.com>
2806
2807 * configure: Regenerated.
2808
2809 2018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2810
2811 * Makefile.in (install_leaf): Use enable_gcov instead of
2812 enable_libgcov.
2813
2814 2018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2815
2816 * configure.ac: Add --disable-gcov option.
2817 * configure: Regenerate.
2818 * Makefile.in: Honour @enable_gcov@.
2819
2820 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
2821
2822 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
2823 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
2824 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
2825 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
2826 __ARM_ARCH__.
2827 * config/arm/ieee754-sf.S: Likewise.
2828 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
2829
2830 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
2831
2832 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
2833 longer supported.
2834 * config/arm/ieee754-sf.S: Likewise.
2835
2836 2018-06-20 Than McIntosh <thanm@google.com>
2837
2838 PR libgcc/86213
2839 * generic-morestack.c (allocate_segment): Move calls to getenv and
2840 getpagesize to __morestack_load_mmap.
2841 (__morestack_load_mmap) Initialize static_pagesize and
2842 use_guard_page here so as to avoid clobbering SSE regs during a
2843 __morestack call.
2844
2845 2018-06-18 Michael Meissner <meissner@linux.ibm.com>
2846
2847 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
2848 support modules with -mno-gnu-attribute.
2849 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
2850
2851 2018-06-07 Olivier Hainque <hainque@adacore.com>
2852
2853 * config/t-vxworks (LIBGCC_INCLUDES): Add
2854 -I$(MULTIBUILDTOP)../../gcc/include.
2855 * config/t-vxworks7: Likewise. Reformat a bit to match
2856 the t-vxworks layout.
2857
2858 2018-06-07 Olga Makhotina <olga.makhotina@intel.com>
2859
2860 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
2861
2862 2018-06-07 Martin Liska <mliska@suse.cz>
2863
2864 * libgcov-driver.c: Rename cs_all to all and assign it from
2865 all_prg.
2866
2867 2018-06-07 Martin Liska <mliska@suse.cz>
2868
2869 PR bootstrap/86057
2870 * libgcov-driver-system.c (replace_filename_variables): Use
2871 memcpy instead of mempcpy.
2872 (allocate_filename_struct): Do not allocate filename, allocate
2873 prefix and set it.
2874 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
2875 here and properly copy content into it.
2876 * libgcov-driver.c (struct gcov_filename): Remove max_length
2877 field, change prefix from size_t into char *.
2878 (compute_summary): Do not calculate longest filename.
2879 (gcov_do_dump): Release memory of gf.filename after each file.
2880 * libgcov-util.c (compute_summary): Use new signature of
2881 compute_summary.
2882 (calculate_overlap): Likewise.
2883
2884 2018-06-05 Martin Liska <mliska@suse.cz>
2885
2886 PR gcov-profile/47618
2887 * libgcov-driver-system.c (replace_filename_variables): New
2888 function.
2889 (gcov_exit_open_gcda_file): Use it.
2890
2891 2018-06-05 Martin Liska <mliska@suse.cz>
2892
2893 * libgcov-driver.c (gcov_compute_histogram): Remove usage
2894 of gcov_ctr_summary.
2895 (compute_summary): Do it just for a single summary.
2896 (merge_one_data): Likewise.
2897 (merge_summary): Simplify as we read just single summary.
2898 (dump_one_gcov): Pass proper argument.
2899 * libgcov-util.c (compute_one_gcov): Simplify as we have just
2900 single summary.
2901 (gcov_info_count_all_cold): Likewise.
2902 (calculate_overlap): Likewise.
2903
2904 2018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
2905 Monk Chiang <sh.chiang04@gmail.com>
2906
2907 * config.host (nds32*-linux*): New.
2908 * config/nds32/linux-atomic.c: New file.
2909 * config/nds32/linux-unwind.h: New file.
2910
2911 2018-05-31 Uros Bizjak <ubizjak@gmail.com>
2912
2913 PR target/85591
2914 * config/i386/cpuinfo.c (get_amd_cpu): Return
2915 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
2916
2917 2018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
2918
2919 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
2920
2921 2018-05-29 Martin Liska <mliska@suse.cz>
2922
2923 PR gcov-profile/85759
2924 * libgcov-driver-system.c (gcov_error): Introduce usage of
2925 GCOV_EXIT_AT_ERROR env. variable.
2926 * libgcov-driver.c (merge_one_data): Print error that we
2927 overwrite a gcov file with a different timestamp.
2928
2929 2018-05-23 Kalamatee <kalamatee@gmail.com>
2930
2931 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
2932 path to Lf$finfty.
2933
2934 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
2935 Monk Chiang <sh.chiang04@gmail.com>
2936 Jim Wilson <jimw@sifive.com>
2937
2938 * config/riscv/save-restore.S: Add support for rv32e.
2939
2940 2018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2941
2942 * config/arm/libunwind.S: Update comment relating to armv5.
2943
2944 2018-05-17 Jerome Lambourg <lambourg@adacore.com>
2945
2946 * config/arm/cmse.c (cmse_check_address_range): Replace
2947 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
2948
2949 2018-05-17 Olga Makhotina <olga.makhotina@intel.com>
2950
2951 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
2952 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
2953
2954 2018-05-08 Olga Makhotina <olga.makhotina@intel.com>
2955
2956 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
2957 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
2958
2959 2018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
2960
2961 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
2962
2963 2018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
2964 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
2965
2966 PR libgcc/84292
2967 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
2968 op_and_fetch to return the right result.
2969
2970 2018-04-27 Alan Modra <amodra@gmail.com>
2971
2972 PR libgcc/85532
2973 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
2974 -fno-asynchronous-unwind-tables.
2975
2976 2018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
2977
2978 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
2979 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
2980
2981 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
2982
2983 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
2984 when including "config/i386/shadow-stack-unwind.h".
2985
2986 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
2987
2988 * configure: Regenerated.
2989
2990 2018-04-20 Michael Meissner <meissner@linux.ibm.com>
2991
2992 PR target/85456
2993 * config/rs6000/_powikf2.c: New file. Add support for the
2994 __builtin_powil function when long double is IEEE 128-bit floating
2995 point.
2996 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
2997 __powikf2 support.
2998 (__powikf2): Likewise.
2999 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
3000 (__powikf2_hw): Likewise.
3001 (__powikf2): Likewise.
3002 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
3003 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
3004 (_powikf2-hw.c): Likewise.
3005
3006 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
3007
3008 PR libgcc/85334
3009 * unwind-generic.h (_Unwind_Frames_Increment): New.
3010 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
3011 Likewise.
3012 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
3013 count with _Unwind_Frames_Increment.
3014 (_Unwind_ForcedUnwind_Phase2): Likewise.
3015
3016 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
3017
3018 PR libgcc/85379
3019 * config/i386/morestack.S (__stack_split_initialize): Add
3020 _CET_ENDBR.
3021
3022 2018-04-19 Jakub Jelinek <jakub@redhat.com>
3023
3024 * configure: Regenerated.
3025
3026 2018-04-18 David Malcolm <dmalcolm@redhat.com>
3027
3028 PR jit/85384
3029 * configure: Regenerate.
3030
3031 2018-04-16 Jakub Jelinek <jakub@redhat.com>
3032
3033 PR target/84945
3034 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
3035 -Wdangling-else warnings. Mask shift counts to avoid
3036 -Wshift-count-negative and -Wshift-count-overflow false positives.
3037
3038 2018-04-06 Ruslan Bukin <br@bsdpad.com>
3039
3040 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
3041
3042 2018-03-29 H.J. Lu <hongjiu.lu@intel.com>
3043
3044 PR target/85100
3045 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
3046 (XSTATE_FP): Likewise.
3047 (XSTATE_SSE): Likewise.
3048 (XSTATE_YMM): Likewise.
3049 (XSTATE_OPMASK): Likewise.
3050 (XSTATE_ZMM): Likewise.
3051 (XSTATE_HI_ZMM): Likewise.
3052 (XCR_AVX_ENABLED_MASK): Likewise.
3053 (XCR_AVX512F_ENABLED_MASK): Likewise.
3054 (get_available_features): Enable AVX and AVX512 features only
3055 if their states are supported by OSXSAVE.
3056
3057 2018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3058
3059 PR target/85025
3060 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
3061 Fix a typo, tmp => 255.
3062
3063 2018-03-20 Jakub Jelinek <jakub@redhat.com>
3064
3065 PR target/84945
3066 * config/i386/cpuinfo.h (__cpu_features2): Declare.
3067 * config/i386/cpuinfo.c (__cpu_features2): New variable for
3068 ifndef SHARED only.
3069 (set_feature): Define.
3070 (get_available_features): Use set_feature macro. Set __cpu_features2
3071 to the second word of features ifndef SHARED.
3072
3073 2018-03-15 Julia Koval <julia.koval@intel.com>
3074
3075 * config/i386/cpuinfo.c (get_available_features): Add
3076 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
3077 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
3078 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
3079 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
3080 FEATURE_AVX512BITALG.
3081
3082 2018-03-14 Julia Koval <julia.koval@intel.com>
3083
3084 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
3085 icelake client and icelake server.
3086
3087 2018-03-06 John David Anglin <danglin@gcc.gnu.org>
3088
3089 * config/pa/fptr.c (_dl_read_access_allowed): New.
3090 (__canonicalize_funcptr_for_compare): Use it.
3091
3092 2018-02-28 Jakub Jelinek <jakub@redhat.com>
3093
3094 PR debug/83917
3095 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
3096 $asm_hidden_op if visibility ("hidden") attribute works.
3097 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
3098 * config/i386/i386-asm.h: Don't include auto-host.h.
3099 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
3100 PACKAGE_URL): Don't undefine.
3101 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
3102 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
3103 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
3104 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
3105 definition instead of hardcoded .hidden.
3106 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
3107 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
3108 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
3109 (USE_GAS_CFI_DIRECTIVES): Don't define.
3110 * configure: Regenerated.
3111 * config.in: Likewise.
3112
3113 2018-02-26 Jakub Jelinek <jakub@redhat.com>
3114
3115 PR debug/83917
3116 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
3117 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
3118 inclusion of auto-target.h and auto-host.h.
3119 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
3120 __GCC_HAVE_DWARF2_CFI_ASM.
3121 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
3122 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
3123 cfi_pop): Define.
3124 * config/i386/cygwin.S: Don't include auto-host.h here, just
3125 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
3126 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
3127 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
3128 * config/i386/resms64fx.h: Add cfi_* directives.
3129 * config/i386/resms64x.h: Likewise.
3130
3131 2018-02-20 Max Filippov <jcmvbkbc@gmail.com>
3132
3133 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
3134 .literal_position directive.
3135 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
3136
3137 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3138
3139 PR target/84148
3140 * configure: Regenerate.
3141
3142 2018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3143
3144 PR target/84239
3145 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
3146 Include cetintrin.h not x86intrin.h.
3147
3148 2018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3149
3150 PR target/84239
3151 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
3152 Use new _get_ssp and _inc_ssp intrinsics.
3153
3154 2018-02-02 Julia Koval <julia.koval@intel.com>
3155
3156 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
3157
3158 2018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
3159
3160 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
3161 option.
3162 (__divsi3): Use RF16 safe registers.
3163 (__modsi3): Likewise.
3164
3165 2018-01-23 Max Filippov <jcmvbkbc@gmail.com>
3166
3167 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
3168 (__divsf3): Make NaN return value quiet.
3169 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
3170 (__divdf3): Make NaN return value quiet.
3171
3172 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
3173
3174 * config/rl78/anddi3.S: New assembly file.
3175 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
3176
3177 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
3178
3179 * config/rl78/umindi3.S: New assembly file.
3180 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
3181
3182 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
3183
3184 * config/rl78/smindi3.S: New assembly file.
3185 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
3186
3187 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
3188
3189 * config/rl78/smaxdi3.S: New assembly file.
3190 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
3191
3192 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
3193
3194 * config/rl78/umaxdi3.S: New assembly file.
3195 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
3196
3197 2018-01-21 John David Anglin <danglin@gcc.gnu.org>
3198
3199 PR lto/83452
3200 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
3201 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
3202
3203 2018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
3204
3205 * config/aarch64/value-unwind.h (aarch64_vg): New function.
3206 (DWARF_LAZY_REGISTER_VALUE): Define.
3207 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
3208 to provide a fallback register value.
3209
3210 2018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
3211
3212 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
3213 __ibm128, instead of trying to use long double.
3214 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
3215 accomidate -mabi=ieeelongdouble multilibs.
3216 (CVT_IBM128_TO_FLOAT128): Likewise.
3217 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
3218 the appropriate IBM extended double type.
3219 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
3220 (__gcc_qsub): Likewise.
3221 (__gcc_qmul): Likewise.
3222 (__gcc_qdiv): Likewise.
3223 (pack_ldouble): Likewise.
3224 (__gcc_qneg): Likewise.
3225 (__gcc_qeq): Likewise.
3226 (__gcc_qne): Likewise.
3227 (__gcc_qge): Likewise.
3228 (__gcc_qle): Likewise.
3229 (__gcc_stoq): Likewise.
3230 (__gcc_dtoq): Likewise.
3231 (__gcc_itoq): Likewise.
3232 (__gcc_utoq): Likewise.
3233 (__gcc_qunord): Likewise.
3234 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
3235 quad-float128.h for the definitions.
3236 (COPYSIGN): Use the f128 version instead of the q version.
3237 (INFINITY): Likewise.
3238 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
3239 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
3240 quad-float128.h for the definitions.
3241 (COPYSIGN): Use the f128 version instead of the q version.
3242 (INFINITY): Likewise.
3243 (FABS): Likewise.
3244 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
3245 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
3246 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
3247
3248 2018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
3249
3250 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
3251 configuration.
3252
3253 2018-01-03 Jakub Jelinek <jakub@redhat.com>
3254
3255 Update copyright years.
3256
3257 2017-12-12 Kito Cheng <kito.cheng@gmail.com>
3258
3259 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
3260 * config/riscv/multi3.c: New file.
3261 * config/riscv/multi3.S: Remove.
3262
3263 2017-12-08 Jim Wilson <jimw@sifive.com>
3264
3265 * config/riscv/div.S: Use FUNC_* macros.
3266 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
3267 * config/riscv/save-restore.S: Likewise.
3268 * config/riscv/riscv-asm.h: New.
3269
3270 2017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
3271
3272 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
3273 * config/rs6000/_divkc3.c (__divkc3): Likewise.
3274
3275 PR libgcc/83112
3276 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
3277 correct type for all ifunc resolvers to silence -Wattribute-alias
3278 warnings. Eliminate the forward declaration of the resolver
3279 functions which is no longer needed.
3280 (__subkf3_resolve): Likewise.
3281 (__mulkf3_resolve): Likewise.
3282 (__divkf3_resolve): Likewise.
3283 (__negkf2_resolve): Likewise.
3284 (__eqkf2_resolve): Likewise.
3285 (__nekf2_resolve): Likewise.
3286 (__gekf2_resolve): Likewise.
3287 (__gtkf2_resolve): Likewise.
3288 (__lekf2_resolve): Likewise.
3289 (__ltkf2_resolve): Likewise.
3290 (__unordkf2_resolve): Likewise.
3291 (__extendsfkf2_resolve): Likewise.
3292 (__extenddfkf2_resolve): Likewise.
3293 (__trunckfsf2_resolve): Likewise.
3294 (__trunckfdf2_resolve): Likewise.
3295 (__fixkfsi_resolve): Likewise.
3296 (__fixkfdi_resolve): Likewise.
3297 (__fixunskfsi_resolve): Likewise.
3298 (__fixunskfdi_resolve): Likewise.
3299 (__floatsikf_resolve): Likewise.
3300 (__floatdikf_resolve): Likewise.
3301 (__floatunsikf_resolve): Likewise.
3302 (__floatundikf_resolve): Likewise.
3303 (__extendkftf2_resolve): Likewise.
3304 (__trunctfkf2_resolve): Likewise.
3305
3306 PR libgcc/83103
3307 * config/rs6000/quad-float128.h (TF): Don't define if long double
3308 is IEEE 128-bit floating point.
3309 (TCtype): Define as either TCmode or KCmode, depending on whether
3310 long double is IEEE 128-bit floating point.
3311 (__mulkc3_sw): Add declarations for software/hardware versions of
3312 complex multiply/divide.
3313 (__divkc3_sw): Likewise.
3314 (__mulkc3_hw): Likewise.
3315 (__divkc3_hw): Likewise.
3316 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
3317 handlers to switch between using software emulation and hardware
3318 float128 instructions, build the complex multiply/divide functions
3319 for both software and hardware support.
3320 * config/rs6000/_divkc3.c (_divkc3): Likewise.
3321 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
3322 (__divkc3_resolve): Likewise.
3323 (__mulkc3): Likewise.
3324 (__divkc3): Likewise.
3325 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
3326 (fp128_hw_src): Likewise.
3327 (fp128_hw_static_obj): Likewise.
3328 (fp128_hw_shared_obj): Likewise.
3329 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
3330 _mulkc3.c and _divkc3.c, changing the function name.
3331 (_divkc3-hw.c): Likewise.
3332 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
3333 and _divkc3-hw.c.
3334
3335 2017-11-26 Julia Koval <julia.koval@intel.com>
3336
3337 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
3338 * config/i386/cpuinfo.h (processor_subtypes): Add
3339 INTEL_COREI7_CANNONLAKE.
3340
3341 2017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3342
3343 PR bootstrap/83015
3344 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
3345 parameter.
3346 * config/xtensa/unwind-dw2-xtensa.c: Likewise
3347 * config/ia64/unwind-ia64.c: Add frames parameter.
3348 * unwind-sjlj.c: Likewise.
3349
3350 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3351
3352 * config/i386/linux-unwind.h: Include
3353 config/i386/shadow-stack-unwind.h.
3354 * config/i386/shadow-stack-unwind.h: New file.
3355 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
3356 pass it to _Unwind_Frames_Extra.
3357 * unwind-generic.h (_Unwind_Frames_Extra): New.
3358 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
3359 parameter. Add local variable frames to count number of frames.
3360 (_Unwind_ForcedUnwind_Phase2): Likewise.
3361 (_Unwind_RaiseException): Add local variable frames to count
3362 number of frames, pass it to _Unwind_RaiseException_Phase2 and
3363 uw_install_context.
3364 (_Unwind_ForcedUnwind): Likewise.
3365 (_Unwind_Resume): Likewise.
3366 (_Unwind_Resume_or_Rethrow): Likewise.
3367
3368 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3369
3370 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
3371 (CET_FLAGS): New.
3372 * config/i386/morestack.S: Include <cet.h>.
3373 (__morestack_large_model): Add _CET_ENDBR at function entrance.
3374 * config/i386/resms64.h: Include <cet.h>.
3375 * config/i386/resms64f.h: Likewise.
3376 * config/i386/resms64fx.h: Likewise.
3377 * config/i386/resms64x.h: Likewise.
3378 * config/i386/savms64.h: Likewise.
3379 * config/i386/savms64f.h: Likewise.
3380 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
3381 (CRTSTUFF_T_CFLAGS): Likewise.
3382 * configure.ac: Include ../config/cet.m4.
3383 Set and substitute CET_FLAGS.
3384 * configure: Regenerated.
3385
3386 2017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3387
3388 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
3389 renaming.
3390 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
3391 * configure.ac (libgcc_cv_solaris_crts): Likewise.
3392 * configure: Regenerate.
3393
3394 2017-11-07 Tom de Vries <tom@codesourcery.com>
3395
3396 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
3397 after "do {} while (0)".
3398
3399 2017-11-07 Tom de Vries <tom@codesourcery.com>
3400
3401 PR other/82784
3402 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
3403 semicolon after "do {} while (0)".
3404 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3405 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3406 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3407 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3408
3409 2017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
3410
3411 PR libgcc/82635
3412 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
3413 sysctl to determine whether we're in a trampoline.
3414 Keep the pattern matching method for systems without
3415 KERN_PROC_SIGTRAMP sysctl.
3416
3417 2017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
3418 Vineet Gupta <vgupta@synopsys.com>
3419
3420 * config.host (arc*-*-linux*): Set md_unwind_header variable.
3421 * config/arc/linux-unwind-reg.def: New file.
3422 * config/arc/linux-unwind-reg.h: Likewise.
3423
3424 2017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
3425
3426 * config/rl78/subdi3.S: New assembly file.
3427 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
3428
3429 2017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
3430
3431 * config/rl78/adddi3.S: New assembly file.
3432 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
3433
3434 2017-10-13 Jakub Jelinek <jakub@redhat.com>
3435
3436 PR target/82274
3437 * libgcc2.c (__mulvDI3): If both operands have
3438 the same highpart of -1 and the topmost bit of lowpart is 0,
3439 multiplication overflows even if both lowparts are 0.
3440
3441 2017-09-28 James Bowman <james.bowman@ftdichip.com>
3442
3443 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
3444
3445 2017-09-26 Joseph Myers <joseph@codesourcery.com>
3446
3447 * config/microblaze/crti.S, config/microblaze/crtn.S,
3448 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
3449 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
3450 config/microblaze/mulsi3.S,
3451 config/microblaze/stack_overflow_exit.S,
3452 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
3453 config/pa/milli64.S: Add .note.GNU-stack section.
3454
3455 2017-09-23 Daniel Santos <daniel.santos@pobox.com>
3456
3457 * configure.ac: Add Check for HAVE_AS_AVX.
3458 * config.in: Regenerate.
3459 * configure: Likewise.
3460 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
3461 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
3462 Correct out-of-date comments.
3463
3464 2017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
3465
3466 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
3467 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
3468
3469 2017-09-17 Daniel Santos <daniel.santos@pobox.com>
3470
3471 * config/i386/i386-asm.h (PASTE2): New macro.
3472 (ASMNAME): Modify to use PASTE2.
3473 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
3474 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
3475 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
3476 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
3477 * config/i386/resms64f.S: Likewise.
3478 * config/i386/resms64fx.S: Likewise.
3479 * config/i386/resms64x.S: Likewise.
3480 * config/i386/savms64.S: Likewise.
3481 * config/i386/savms64f.S: Likewise.
3482 * config/i386/avx_resms64.S: New file that only defines a macro and
3483 includes it's corresponding header file.
3484 * config/i386/avx_resms64f.S: Likewise.
3485 * config/i386/avx_resms64fx.S: Likewise.
3486 * config/i386/avx_resms64x.S: Likewise.
3487 * config/i386/avx_savms64.S: Likewise.
3488 * config/i386/avx_savms64f.S: Likewise.
3489 * config/i386/sse_resms64.S: Likewise.
3490 * config/i386/sse_resms64f.S: Likewise.
3491 * config/i386/sse_resms64fx.S: Likewise.
3492 * config/i386/sse_resms64x.S: Likewise.
3493 * config/i386/sse_savms64.S: Likewise.
3494 * config/i386/sse_savms64f.S: Likewise.
3495 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3496
3497 2017-09-01 Olivier Hainque <hainque@adacore.com>
3498 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
3499
3500 2017-08-31 Olivier Hainque <hainque@adacore.com>
3501
3502 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
3503 match as powerpc-wrs-vxworks*.
3504
3505 2017-08-07 Jonathan Yong <10walls@gmail.com>
3506
3507 * config.host (*-cygwin): Include file from mingw
3508 config/i386/enable-execute-stack-mingw32.c
3509
3510 2017-08-01 Jerome Lambourg <lambourg@adacore.com>
3511 Doug Rupp <rupp@adacore.com>
3512 Olivier Hainque <hainque@adacore.com>
3513
3514 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
3515 as well as arm-wrs-vxworks.
3516 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
3517 LIB2ADDEH.
3518 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
3519 __exidx_start and __exidx_end for downloadable modules.
3520
3521 2017-08-01 Olivier Hainque <hainque@adacore.com>
3522
3523 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
3524 * config/t-vxworks7: Likewise.
3525
3526 2017-08-01 Olivier Hainque <hainque@adacore.com>
3527
3528 * config/t-vxworks: Instead of redefining LIB2ADD,
3529 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
3530
3531 2017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
3532
3533 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
3534
3535 2017-07-24 Daniel Santos <daniel.santos@pobox.com>
3536
3537 PR testsuite/80759
3538 * config.host: include i386/t-msabi for darwin and solaris.
3539 * config/i386/i386-asm.h
3540 (ELFFN): Rename to FN_TYPE.
3541 (FN_SIZE): New macro.
3542 (FN_HIDDEN): Likewise.
3543 (ASMNAME): Likewise.
3544 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
3545 .globl.
3546 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
3547 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
3548 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
3549 .macro.
3550 * config/i386/resms64f.S: Likewise.
3551 * config/i386/resms64fx.S: Likewise.
3552 * config/i386/resms64x.S: Likewise.
3553 * config/i386/savms64.S: Likewise.
3554 * config/i386/savms64f.S: Likewise.
3555
3556 2017-07-19 John Marino <gnugcc@marino.st>
3557
3558 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
3559
3560 2017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
3561
3562 PR target/81193
3563 * configure.ac (PowerPC float128 hardware support): Test whether
3564 we can use __builtin_cpu_supports before enabling the ifunc
3565 handler.
3566 * configure: Regenerate.
3567
3568 2017-07-10 Vineet Gupta <vgupta@synopsys.com>
3569
3570 * config.host: Remove uclibc from arc target spec.
3571
3572 2017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
3573
3574 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
3575
3576 2017-07-07 Peter Bergner <bergner@vnet.ibm.com>
3577
3578 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
3579 (have_ieee_hw_p): Delete function.
3580 (SW_OR_HW) Use __builtin_cpu_supports().
3581
3582 2017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
3583
3584 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
3585
3586 2017-07-03 Olivier Hainque <hainque@adacore.com>
3587
3588 * config/t-vxworks7: New file, really.
3589
3590 2017-06-28 Joseph Myers <joseph@codesourcery.com>
3591
3592 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
3593 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
3594 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
3595 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
3596 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
3597 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
3598 config/pa/linux-unwind.h (pa32_fallback_frame_state),
3599 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
3600 config/sh/linux-unwind.h (sh_fallback_frame_state),
3601 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
3602 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
3603 ucontext_t instead of struct ucontext.
3604
3605 2017-06-27 Jerome Lambourg <lambourg@adacore.com>
3606
3607 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
3608 (x86_64-wrs-vxworks7): Likewise.
3609
3610 2017-06-27 Olivier Hainque <hainque@adacore.com>
3611
3612 * config/t-vxworks7: New file.
3613 * config.host (*-*-vxworks7): Use it.
3614
3615 2017-06-22 Matt Turner <mattst88@gmail.com>
3616
3617 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
3618 skylake case.
3619
3620 2017-06-21 Richard Biener <rguenther@suse.de>
3621
3622 PR gcov-profile/81080
3623 * configure.ac: Add AC_SYS_LARGEFILE.
3624 * libgcov.h: Include auto-target.h before tsystem.h to pick
3625 up _FILE_OFFSET_BITS which might differ for multilibs.
3626 * config.in: Regenerate.
3627 * configure: Likewise.
3628
3629 2017-06-16 Richard Earnshaw <rearnsha@arm.com>
3630
3631 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
3632
3633 2017-06-09 Martin Liska <mliska@suse.cz>
3634
3635 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
3636 Reset __gcov_indirect_call_callee to NULL.
3637
3638 2017-06-08 Olivier Hainque <hainque@adacore.com>
3639
3640 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
3641 the set of -I options, support for direct inclusions of net/uio.h
3642 by VxWorks header files via ioLib.h.
3643
3644 2017-06-07 Tony Reix <tony.reix@atos.net>
3645 Matthieu Sarter <matthieu.sarter.external@atos.net>
3646 David Edelsohn <dje.gcc@gmail.com>
3647
3648 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
3649 unconditionally.
3650 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
3651 AIX 7.2 support.
3652
3653 2017-06-02 Olivier Hainque <hainque@adacore.com>
3654
3655 * config/vxlib.c (__gthread_once): Add missing value to
3656 return statement.
3657
3658 2017-05-30 Olivier Hainque <hainque@adacore.com>
3659
3660 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
3661 dollar sign before $(MULTIDIR).
3662
3663 2017-05-26 Richard Henderson <rth@redhat.com>
3664
3665 PR libgcc/80037
3666 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
3667
3668 2017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
3669
3670 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
3671 _Unwind_SetIP available as functions for arm*-*-freebsd*.
3672 * config/arm/unwind-arm.c: Implement the above.
3673
3674 2017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3675
3676 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
3677 section for a non-executable stack.
3678
3679 2017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
3680
3681 PR target/80600
3682 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
3683
3684 2017-05-14 Daniel Santos <daniel.santos@pobox.com>
3685
3686 * config.host: Add i386/t-msabi to i386/t-linux file list.
3687 * config/i386/i386-asm.h: New file.
3688 * config/i386/resms64.S: New file.
3689 * config/i386/resms64f.S: New file.
3690 * config/i386/resms64fx.S: New file.
3691 * config/i386/resms64x.S: New file.
3692 * config/i386/savms64.S: New file.
3693 * config/i386/savms64f.S: New file.
3694 * config/i386/t-msabi: New file.
3695
3696 2017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
3697
3698 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
3699 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
3700
3701 2017-05-05 Joshua Conner <joshconner@google.com>
3702
3703 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
3704 pc-relative indirect handling for fuchsia.
3705 * config/t-slibgcc-fuchsia: New file.
3706 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
3707 x86_64-*-fuchsia*): Add definitions.
3708
3709 2017-04-19 Martin Liska <mliska@suse.cz>
3710
3711 PR gcov-profile/80435
3712 * Makefile.in: Install gcov.h.
3713 * gcov.h: New file.
3714 * libgcov.h: Use the header and make __gcov_flush publicly
3715 visible.
3716
3717 2017-04-18 Martin Liska <mliska@suse.cz>
3718
3719 PR gcov-profile/78783
3720 * libgcov-driver.c (gcov_get_filename): New function.
3721
3722 2017-04-07 Jeff Law <law@redhat.com>
3723
3724 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
3725 target makefile fragment.
3726 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
3727
3728 2017-04-07 Alan Modra <amodra@gmail.com>
3729
3730 PR target/45053
3731 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
3732
3733 2017-04-03 Jonathan Wakely <jwakely@redhat.com>
3734
3735 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
3736
3737 2017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
3738
3739 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
3740
3741 2017-03-10 John Marino <gnugcc@marino.st>
3742
3743 * config/aarch64/freebsd-unwind.h: New file.
3744 * config.host: Add aarch64-*-freebsd unwinder.
3745
3746 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
3747
3748 * config/rs6000/crtrestvr.s: Use .machine altivec.
3749 * config/rs6000/crtsavevr.s: Ditto.
3750
3751 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
3752
3753 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
3754 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
3755 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
3756 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
3757 * configure: Regenerate.
3758 * config.in: Regenerate.
3759
3760 2017-03-02 Jonathan Yong <10walls@gmail.com>
3761
3762 * config/i386/gthr-win32.h: Define NOGDI before
3763 windows.h include to prevent w32api CC_NONE macro
3764 clash with libgfortran.
3765
3766 2017-03-02 Jonathan Yong <10walls@gmail.com>
3767
3768 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
3769
3770 2017-02-16 Andrew Pinski <apinski@cavium.com>
3771
3772 * config/aarch64/value-unwind.h: New file.
3773 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
3774 to tm_file.
3775
3776 2017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
3777
3778 * config.host: Add RISC-V tuples.
3779 * config/riscv/atomic.c: New file.
3780 * config/riscv/crti.S: Likewise.
3781 * config/riscv/crtn.S: Likewise.
3782 * config/riscv/div.S: Likewise.
3783 * config/riscv/linux-unwind.h: Likewise.
3784 * config/riscv/muldi3.S: Likewise.
3785 * config/riscv/multi3.S: Likewise.
3786 * config/riscv/save-restore.S: Likewise.
3787 * config/riscv/sfp-machine.h: Likewise.
3788 * config/riscv/t-elf: Likewise.
3789 * config/riscv/t-elf32: Likewise.
3790 * config/riscv/t-elf64: Likewise.
3791 * config/riscv/t-softfp32: Likewise.
3792 * config/riscv/t-softfp64: Likewise.
3793
3794 2017-01-24 Jakub Jelinek <jakub@redhat.com>
3795
3796 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
3797 /* FALLTHRU */ comments.
3798
3799 2017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
3800
3801 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
3802
3803 2017-01-20 Jiong Wang <jiong.wang@arm.com>
3804
3805 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
3806 * unwind-dw2.c (execute_cfa_program): Only multiplexing
3807 DW_CFA_GNU_window_save for AArch64 and LP64.
3808
3809 2017-01-20 Jiong Wang <jiong.wang@arm.com>
3810
3811 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
3812
3813 2017-01-19 Jiong Wang <jiong.wang@arm.com>
3814
3815 * config/aarch64/aarch64-unwind.h: New file.
3816 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
3817 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
3818 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
3819 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
3820 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
3821 (aarch64_post_extract_frame_addr): New function.
3822 (aarch64_post_frob_eh_handler_addr): New function.
3823 (aarch64_frob_update_context): New function.
3824 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
3825 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
3826 aarch64*-*-freebsd*):
3827 Initialize md_unwind_header to include aarch64-unwind.h.
3828 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
3829 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
3830 __aarch64__.
3831 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
3832 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
3833 (uw_frob_return_addr): New function.
3834 (uw_install_context): Use uw_frob_return_addr.
3835
3836 2017-01-17 Jakub Jelinek <jakub@redhat.com>
3837
3838 PR other/79046
3839 * configure.ac: Add GCC_BASE_VER.
3840 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
3841 version from BASE-VER file.
3842 * configure: Regenerated.
3843
3844 2017-01-13 Joe Seymour <joe.s@somniumtech.com>
3845
3846 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
3847 libmul_f5.a): Filter archived prerequisites.
3848
3849 2017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
3850
3851 * config/i386/cpuinfo.h (processor_features): Add
3852 FEATURE_AVX512VPOPCNTDQ.
3853 * config/i386/cpuinfo.c (get_available_features): Habdle new
3854 feature.
3855
3856 2017-01-04 Joseph Myers <joseph@codesourcery.com>
3857
3858 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
3859 payload if [__mips_nan2008].
3860
3861 2017-01-04 Alan Modra <amodra@gmail.com>
3862
3863 * Makefile.in (configure_deps): Update.
3864 * configure: Regenerate.
3865
3866 2017-01-01 Jakub Jelinek <jakub@redhat.com>
3867
3868 Update copyright years.
3869
3870 2016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
3871
3872 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
3873 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
3874 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
3875
3876 2016-12-17 Matthias Klose <doko@ubuntu.com>
3877
3878 * config/arc/gmon: Remove empty directory.
3879
3880 2016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
3881
3882 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
3883 crtgend.
3884 (arc*-*-elf*): Likewise.
3885 * config/arc/t-arc: Remove old gmon lib targets.
3886 * config/arc/crtg.S: Remove.
3887 * config/arc/crtgend.S: Likewise.
3888 * config/arc/gmon/atomic.h: Likewise.
3889 * config/arc/gmon/auxreg.h: Likewise.
3890 * config/arc/gmon/dcache_linesz.S: Likewise.
3891 * config/arc/gmon/gmon.c: Likewise.
3892 * config/arc/gmon/machine-gmon.h: Likewise.
3893 * config/arc/gmon/mcount.c: Likewise.
3894 * config/arc/gmon/prof-freq-stub.S: Likewise.
3895 * config/arc/gmon/prof-freq.c: Likewise.
3896 * config/arc/gmon/profil.S: Likewise.
3897 * config/arc/gmon/sys/gmon.h: Likewise.
3898 * config/arc/gmon/sys/gmon_out.h: Likewise.
3899 * config/arc/t-arc-newlib: Likewise.
3900 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
3901
3902 2016-12-12 George Spelvin <linux@sciencehorizons.net>
3903
3904 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
3905
3906 2016-12-12 George Spelvin <linux@sciencehorizons.net>
3907
3908 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
3909 R16 instead of push + pop.
3910 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
3911
3912 2016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
3913
3914 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
3915 tmake_file.
3916
3917 2016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
3918
3919 * config.host (arc*-*-linux-uclibc*): Use default extra
3920 objects. Include linux-android header.
3921 * config/arc/crti.S (_init): Declare symbol as function.
3922 (_fini): Likewise.
3923
3924 2016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
3925
3926 PR fortran/78379
3927 * config/i386/cpuinfo.c: Move denums for processor vendors,
3928 processor type, processor subtypes and declaration of
3929 struct __processor_model into
3930 * config/i386/cpuinfo.h: New header file.
3931
3932 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
3933 Thomas Preud'homme <thomas.preudhomme@arm.com>
3934
3935 * config/arm/cmse_nonsecure_call.S: New.
3936 * config/arm/t-arm: Compile cmse_nonsecure_call.S
3937
3938 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
3939 Thomas Preud'homme <thomas.preudhomme@arm.com>
3940
3941 * config/arm/t-arm (HAVE_CMSE): New.
3942 * config/arm/cmse.c: New.
3943
3944 2016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3945
3946 PR gcc/74748
3947 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
3948 use generic linker version information on Blackfin.
3949
3950 PR gcc/74748
3951 * libgcc/mkmap-symver.awk: add support for skip_underscore
3952
3953 2016-11-27 Iain Sandoe <iain@codesourcery.com>
3954 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3955
3956 PR target/67710
3957 * config/t-darwin: Default builds to 10.5 codegen.
3958
3959 2016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
3960
3961 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
3962 (_FP_NANSIGN_H): Likewise.
3963 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
3964 (softfp_truncations): Add tfhf.
3965 (softfp_extras): Add required conversion functions.
3966
3967 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
3968 Matthew Wahab <matthew.wahab@arm.com>
3969
3970 * config/arm/fp16.c (binary64): New.
3971 (__gnu_d2h_internal): New.
3972 (__gnu_d2h_ieee): New.
3973 (__gnu_d2h_alternative): New.
3974
3975 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
3976 Matthew Wahab <matthew.wahab@arm.com>
3977
3978 * config/arm/fp16.c (struct format): New.
3979 (binary32): New.
3980 (__gnu_float2h_internal): New. Body moved from
3981 __gnu_f2h_internal and generalize.
3982 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
3983 Call it with binary32.
3984
3985 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
3986
3987 * soft-fp/extendhftf2.c: Update from glibc.
3988 * soft-fp/fixhfti.c: Likewise.
3989 * soft-fp/fixunshfti.c: Likewise.
3990 * soft-fp/floattihf.c: Likewise.
3991 * soft-fp/floatuntihf.c: Likewise.
3992 * soft-fp/half.h: Likewise.
3993 * soft-fp/trunctfhf2.c: Likewise.
3994
3995 2016-11-20 Marc Glisse <marc.glisse@inria.fr>
3996
3997 PR libgcc/77813
3998 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
3999 __TMC_END__ behind a passthrough asm.
4000
4001 2016-11-18 Walter Lee <walt@tilera.com>
4002
4003 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
4004
4005 2016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
4006
4007 * config/i386/cpuinfo.c (processor_features): Add
4008 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
4009
4010 2016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
4011
4012 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
4013 (__ARC_NORM__): Use instead ARC_OPTFPE.
4014 * config/arc/fp-hack.h: Likewise.
4015 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
4016 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
4017
4018 2016-11-16 Alexander Monakov <amonakov@ispras.ru>
4019
4020 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
4021 * config/nvptx/mgomp.c: New file.
4022 * config/nvptx/t-nvptx: Add mgomp.c
4023
4024 2016-11-16 Waldemar Brodkorb <wbx@openadk.org>
4025
4026 PR libgcc/68468
4027 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
4028
4029 2016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
4030
4031 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
4032 of checking for cpus.
4033 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
4034 (__modsi3, __clzsi2): Likewise.
4035
4036 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
4037
4038 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
4039 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
4040 * config/i386/t-cpuinfo-static: New.
4041
4042 2016-11-03 Martin Liska <mliska@suse.cz>
4043
4044 * libgcov-profiler.c (__gcov_time_profiler): Remove.
4045 (__gcov_time_profiler_atomic): Likewise.
4046
4047 2016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
4048
4049 PR libgcc/78067
4050 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
4051 count_leading_zeros.
4052
4053 2016-11-02 Uros Bizjak <ubizjak@gmail.com>
4054
4055 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
4056 * libgcc2.c (__divmoddi4): New function.
4057 * libgcc2.h (__divmoddi4): Declare.
4058 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
4059 and __PFX_divmodti4.
4060
4061 2016-10-24 Florian Weimer <fweimer@redhat.com>
4062
4063 PR libgcc/78064
4064 * unwind-c.c: Include auto-target.h.
4065
4066 2016-10-19 John David Anglin <danglin@gcc.gnu.org>
4067
4068 * config/pa/pa64-hpux-lib.h: New file.
4069 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
4070 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
4071 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
4072 hppa*64*-*-hpux11*.
4073
4074 2016-10-18 Max Filippov <jcmvbkbc@gmail.com>
4075
4076 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
4077 definition.
4078 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
4079 definition.
4080 * config/xtensa/t-windowed (LIB2ADDEH): Use
4081 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
4082 or xtensa/t-linux.
4083
4084 2016-10-18 Ding-Kai Chen <dkchen@cadence.com>
4085
4086 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
4087 __ieee754_sqrt): New functions.
4088 (__divdf3): Add implementation with new FPU instructions under
4089 #if XCHAL_HAVE_DFP_DIV.
4090 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
4091 __ieee754_sqrtf): New functions.
4092 (__divsf3): Add implementation with new FPU instructions under
4093 #if XCHAL_HAVE_FP_DIV.
4094 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
4095 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
4096
4097 2016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
4098
4099 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
4100 equivalent.
4101 * config/tilepro/atomic.c: Likewise and stop casting model to
4102 enum memmodel.
4103
4104 2016-10-10 Joseph Myers <joseph@codesourcery.com>
4105
4106 PR target/77586
4107 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
4108 soft-fp.
4109
4110 2016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
4111
4112 * config.host: Add support for aarch64-*-freebsd*.
4113
4114 2016-10-05 Andreas Schwab <schwab@suse.de>
4115
4116 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
4117 (.section .init_array): Don't call __do_jv_register_classes.
4118 (.section .init): Likewise.
4119
4120 2016-10-04 Jakub Jelinek <jakub@redhat.com>
4121
4122 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
4123 (__JCR_LIST__): Remove.
4124 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
4125 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
4126 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
4127 * config/ia64/crtend.S (__JCR_END__): Remove.
4128 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
4129 conditionals.
4130 (__JCR_LIST__, __JCR_END__): Remove.
4131 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
4132 (__do_global_ctors_1): Likewise.
4133
4134 2015-09-28 Uros Bizjak <ubizjak@gmail.com>
4135
4136 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
4137 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
4138
4139 2016-09-27 Martin Liska <mliska@suse.cz>
4140
4141 PR gcov-profile/7970
4142 PR gcov-profile/16855
4143 PR gcov-profile/44779
4144 * libgcov-driver.c (__gcov_init): Do not register a atexit
4145 handler.
4146 (__gcov_exit): Rename from gcov_exit.
4147 * libgcov.h (__gcov_exit): Declare.
4148
4149 2016-09-27 Martin Liska <mliska@suse.cz>
4150
4151 PR bootstrap/77749
4152 * Makefile.in: Remove _gcov_merge_delta.
4153 * libgcov-merge.c (void __gcov_merge_delta): Remove.
4154 * libgcov-util.c (__gcov_delta_counter_op): Remove.
4155 * libgcov.h: Remove declaration of __gcov_merge_delta.
4156
4157 2016-09-21 Eric Botcazou <ebotcazou@adacore.com>
4158
4159 * configure.ac: Do not create links, only substitute the filenames.
4160 * configure: Regenerate.
4161 * Makefile.in: Assign the substitution results to variables.
4162 (LIBGCC_LINKS): Define.
4163 (enable-execute-stack.c): New rule.
4164 (unwind.h): Likewise.
4165 (md-unwind-support.h): Likewise.
4166 (sfp-machine.h): Likewise.
4167 (gthr-default.h): Likewise.
4168 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
4169 unwind.h as prerequisite of install-unwind_h-forbuild.
4170
4171 2016-09-16 Jakub Jelinek <jakub@redhat.com>
4172
4173 PR libgcc/71744
4174 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
4175 is not the primary registry and atomics are available.
4176 (any_objects_registered): New variable.
4177 (__register_frame_info_bases, __register_frame_info_table_bases):
4178 Atomically store 1 to any_objects_registered after registering first
4179 unwind info.
4180 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
4181
4182 2016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
4183
4184 PR target/63250
4185 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
4186 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
4187 (HFtype): Likewise.
4188 (HCtype): Likewise.
4189 (__divhc3): Likewise.
4190 (__mulhc3): Likewise.
4191 * libgcc2.c: Support _mulhc3 and _divhc3.
4192
4193 2016-09-07 Joseph Myers <joseph@codesourcery.com>
4194
4195 PR libgcc/77519
4196 * libgcc2.c (NOTRUNC): Invert settings.
4197
4198 2016-09-06 Martin Liska <mliska@suse.cz>
4199
4200 PR gcov-profile/77378
4201 PR gcov-profile/77466
4202 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
4203 conditionaly enable/disable *_atomic functions.
4204
4205 2016-08-26 Joseph Myers <joseph@codesourcery.com>
4206
4207 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
4208 where not already enabled.
4209
4210 2016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
4211
4212 * config/mips/linux-unwind.h: Use sys/syscall.h.
4213
4214 2016-08-16 Joseph Myers <joseph@codesourcery.com>
4215
4216 PR libgcc/77265
4217 * soft-fp/adddf3.c: Update from glibc.
4218 * soft-fp/addsf3.c: Likewise.
4219 * soft-fp/addtf3.c: Likewise.
4220 * soft-fp/divdf3.c: Likewise.
4221 * soft-fp/divsf3.c: Likewise.
4222 * soft-fp/divtf3.c: Likewise.
4223 * soft-fp/double.h: Likewise.
4224 * soft-fp/eqdf2.c: Likewise.
4225 * soft-fp/eqsf2.c: Likewise.
4226 * soft-fp/eqtf2.c: Likewise.
4227 * soft-fp/extenddftf2.c: Likewise.
4228 * soft-fp/extended.h: Likewise.
4229 * soft-fp/extendsfdf2.c: Likewise.
4230 * soft-fp/extendsftf2.c: Likewise.
4231 * soft-fp/extendxftf2.c: Likewise.
4232 * soft-fp/fixdfdi.c: Likewise.
4233 * soft-fp/fixdfsi.c: Likewise.
4234 * soft-fp/fixdfti.c: Likewise.
4235 * soft-fp/fixsfdi.c: Likewise.
4236 * soft-fp/fixsfsi.c: Likewise.
4237 * soft-fp/fixsfti.c: Likewise.
4238 * soft-fp/fixtfdi.c: Likewise.
4239 * soft-fp/fixtfsi.c: Likewise.
4240 * soft-fp/fixtfti.c: Likewise.
4241 * soft-fp/fixunsdfdi.c: Likewise.
4242 * soft-fp/fixunsdfsi.c: Likewise.
4243 * soft-fp/fixunsdfti.c: Likewise.
4244 * soft-fp/fixunssfdi.c: Likewise.
4245 * soft-fp/fixunssfsi.c: Likewise.
4246 * soft-fp/fixunssfti.c: Likewise.
4247 * soft-fp/fixunstfdi.c: Likewise.
4248 * soft-fp/fixunstfsi.c: Likewise.
4249 * soft-fp/fixunstfti.c: Likewise.
4250 * soft-fp/floatdidf.c: Likewise.
4251 * soft-fp/floatdisf.c: Likewise.
4252 * soft-fp/floatditf.c: Likewise.
4253 * soft-fp/floatsidf.c: Likewise.
4254 * soft-fp/floatsisf.c: Likewise.
4255 * soft-fp/floatsitf.c: Likewise.
4256 * soft-fp/floattidf.c: Likewise.
4257 * soft-fp/floattisf.c: Likewise.
4258 * soft-fp/floattitf.c: Likewise.
4259 * soft-fp/floatundidf.c: Likewise.
4260 * soft-fp/floatundisf.c: Likewise.
4261 * soft-fp/floatunditf.c: Likewise.
4262 * soft-fp/floatunsidf.c: Likewise.
4263 * soft-fp/floatunsisf.c: Likewise.
4264 * soft-fp/floatunsitf.c: Likewise.
4265 * soft-fp/floatuntidf.c: Likewise.
4266 * soft-fp/floatuntisf.c: Likewise.
4267 * soft-fp/floatuntitf.c: Likewise.
4268 * soft-fp/gedf2.c: Likewise.
4269 * soft-fp/gesf2.c: Likewise.
4270 * soft-fp/getf2.c: Likewise.
4271 * soft-fp/ledf2.c: Likewise.
4272 * soft-fp/lesf2.c: Likewise.
4273 * soft-fp/letf2.c: Likewise.
4274 * soft-fp/muldf3.c: Likewise.
4275 * soft-fp/mulsf3.c: Likewise.
4276 * soft-fp/multf3.c: Likewise.
4277 * soft-fp/negdf2.c: Likewise.
4278 * soft-fp/negsf2.c: Likewise.
4279 * soft-fp/negtf2.c: Likewise.
4280 * soft-fp/op-1.h: Likewise.
4281 * soft-fp/op-2.h: Likewise.
4282 * soft-fp/op-4.h: Likewise.
4283 * soft-fp/op-8.h: Likewise.
4284 * soft-fp/op-common.h: Likewise.
4285 * soft-fp/quad.h: Likewise.
4286 * soft-fp/single.h: Likewise.
4287 * soft-fp/soft-fp.h: Likewise.
4288 * soft-fp/subdf3.c: Likewise.
4289 * soft-fp/subsf3.c: Likewise.
4290 * soft-fp/subtf3.c: Likewise.
4291 * soft-fp/truncdfsf2.c: Likewise.
4292 * soft-fp/trunctfdf2.c: Likewise.
4293 * soft-fp/trunctfsf2.c: Likewise.
4294 * soft-fp/trunctfxf2.c: Likewise.
4295 * soft-fp/unorddf2.c: Likewise.
4296 * soft-fp/unordsf2.c: Likewise.
4297 * soft-fp/unordtf2.c: Likewise.
4298
4299 2016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
4300
4301 PR gcov-profile/67097
4302 * libgcov-util.c (gcov_profile_merge): Skip missing files.
4303
4304 2016-08-10 Martin Liska <mliska@suse.cz>
4305
4306 PR gcov-profile/58306
4307 * Makefile.in: New functions (modules) are added.
4308 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
4309 function.
4310 (__gcov_pow2_profiler_atomic): New function.
4311 (__gcov_one_value_profiler_body): New argument is instroduced.
4312 (__gcov_one_value_profiler): Call with the new argument.
4313 (__gcov_one_value_profiler_atomic): Likewise.
4314 (__gcov_indirect_call_profiler_v2): Likewise.
4315 (__gcov_time_profiler_atomic): New function.
4316 (__gcov_average_profiler_atomic): Likewise.
4317 (__gcov_ior_profiler_atomic): Likewise.
4318 * libgcov.h: Declare the aforementioned functions.
4319
4320 2016-08-09 Martin Liska <mliska@suse.cz>
4321
4322 * libgcov-util.c: Fix typo and GNU coding style.
4323
4324 2016-08-09 Martin Liska <mliska@suse.cz>
4325
4326 * Makefile.in: Remove __gcov_indirect_call_profiler.
4327 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
4328 function.
4329 * libgcov.h: And the declaration of the function.
4330
4331 2016-08-09 Martin Liska <mliska@suse.cz>
4332
4333 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
4334 power of two.
4335
4336 2016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
4337
4338 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
4339 * config/rs6000/_mulkc3.c: Likewise.
4340
4341 2016-07-29 Georg-Johann Lay <avr@gjlay.de>
4342
4343 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
4344 zero_reg as previous call to __umulhisi3 already cleared it.
4345
4346 2016-07-21 Aurelien Jarno <aurelien@aurel32.net>
4347
4348 PR target/59833
4349 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
4350
4351 2016-07-19 Nick Clifton <nickc@redhat.com>
4352
4353 * config.host (m32r): Add m32r/t-m32r to tmake_file.
4354 Add crtinit.o and crtfini.o to extra_parts.
4355
4356 2016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
4357
4358 * config/rs6000/_divkc3.c: New.
4359 * config/rs6000/_mulkc3.c: New.
4360 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
4361 and _divkc3.
4362 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
4363 fp128_ppc_funcs.
4364
4365 2016-07-11 Hale Wang <hale.wang@arm.com>
4366 Andre Vieira <andre.simoesdiasvieira@arm.com>
4367
4368 * config/arm/lib1funcs.S: Add new wrapper.
4369
4370 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
4371
4372 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
4373
4374 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
4375
4376 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
4377 and ARMv5t* rather than for a fixed list of architectures.
4378
4379 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
4380
4381 * config/arm/bpabi-v6m.S: Clarify what architectures is the
4382 implementation suitable for.
4383 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
4384 for all Thumb-1 only targets.
4385 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
4386 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
4387 __ARM_ARCH_6M__.
4388 (EQUIV): Likewise.
4389 (ARM_FUNC_ALIAS): Likewise.
4390 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
4391 version.
4392 (modsi3): Likewise.
4393 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
4394 (clzdi2): Likewise.
4395 (ctzsi2): Likewise.
4396 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
4397 __ARM_ARCH_6M__ in guard for checking whether it is defined.
4398 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
4399 __ARM_ARCH_6M__ and add comment to indicate the connection between
4400 this condition and the one in gcc/config/arm/elf.h.
4401 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
4402 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
4403 * config/arm/t-softfp: Likewise.
4404
4405 2016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4406
4407 * libgcc2.c (SYMBOL__MAIN): Remove checks for
4408 CTOR_LISTS_DEFINED_EXTERNALLY.
4409
4410 2016-06-28 Walter Lee <walt@tilera.com>
4411
4412 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
4413 asm/unistd.h.
4414 (SPR_CMPEXCH_VALUE): Define for tilegx.
4415 (__NR_FAST_cmpxchg): Define for tilepro.
4416 (__NR_FAST_atomic_update): Define for tilepro.
4417 (__NR_FAST_cmpxchg64): Define for tilepro.
4418
4419 2016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
4420
4421 * config.host: Add suport for arm*-*-phoenix* targets.
4422
4423 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4424
4425 * config.host: Remove support for mep-*.
4426 * config/mep/lib1funcs.S: Remove.
4427 * config/mep/lib2funcs.c: Remove.
4428 * config/mep/t-mep: Remove.
4429 * config/mep/tramp.c: Remove.
4430
4431 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4432
4433 * config.host: Remove support for avr-rtems.
4434 * config/avr/t-rtems: Remove.
4435
4436 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4437
4438 * config.host: Remove m32r-rtems support.
4439
4440 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4441
4442 * config.host: Remove h8300-rtems support.
4443
4444 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4445
4446 * config.host: Remove support for knetbsd.
4447
4448 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4449
4450 * config.host: Remove support for openbsd 2 and 3.
4451
4452 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4453
4454 * config.host: Remove interix support.
4455 * config/i386/t-interix: Remove.
4456
4457 2016-06-18 John David Anglin <danglin@gcc.gnu.org>
4458
4459 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
4460 least-significant bit in function pointer for fixup.
4461
4462 2016-06-05 Aaron Conole <aconole@redhat.com>
4463 Nathan Sidwell <nathan@acm.org>
4464
4465 PR libgcc/71400
4466 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
4467 (get_gcov_error_file): Check __gcov_error_file before trying to
4468 initialize it.
4469 (gcov_error): Always use get_gcov_error_file.
4470
4471 2016-06-02 Aaron Conole <aconole@redhat.com>
4472
4473 * libgcov-driver-system.c (__gcov_error_file): New.
4474 (get_gcov_error_file): New.
4475 (gcov_error): Use and set __gcov_error_file.
4476 (gcov_error_exit): New.
4477 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
4478
4479 2016-05-26 Nathan Sidwell <nathan@acm.org>
4480
4481 * config/nvptx/free.asm: Delete.
4482 * config/nvptx/malloc.asm: Delete.
4483 * config/nvptx/realloc.c: Delete.
4484 * t-nvptx: Update.
4485
4486 2016-05-25 Nathan Sidwell <nathan@acm.org>
4487
4488 * config/nvptx/crt0.s: Delete.
4489 * config/nvptx/crt0.c: New.
4490 * t-nvptx: Update.
4491
4492 2016-05-19 Sandra Loosemore <sandra@codesourcery.com>
4493
4494 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
4495 dw2/seh configuration.
4496 [x86_64-*-mingw*]: Likewise.
4497
4498 2016-05-10 Joel Sherrill <joel@rtems.org>
4499
4500 PR libgcc/70720
4501 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
4502 targets so the same extra_parts are built. Also have tmake_file add
4503 on to its value rather than override.
4504
4505 2016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
4506
4507 * config.host: Remove SH5 support.
4508 * configure: Likewise.
4509
4510 2016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
4511
4512 * config/sh/crt1.S: Remove SH5 support.
4513 * config/sh/crti.S: Likewise.
4514 * config/sh/crtn.S: Likewise.
4515 * config/sh/lib1funcs-4-300.S: Likewise.
4516 * config/sh/lib1funcs-Os-4-200.S: Likewise.
4517 * config/sh/lib1funcs.S: Likewise.
4518 * config/sh/linux-unwind.h: Likewise.
4519 * config/sh/t-sh64: Delete.
4520
4521 2016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
4522
4523 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
4524
4525 2016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
4526 Joern Rennecke <joern.rennecke@embecosm.com>
4527
4528 * config/arc/crttls.S: New file.
4529 * config/arc/t-arc: New rule.
4530 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
4531
4532 2016-04-25 Nick Clifton <nickc@redhat.com>
4533
4534 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
4535 (__mspabi_cmpd): Likewise.
4536 * config/msp430/floathidf.c (__floathidf): Likewise.
4537 * config/msp430/floathisf.c (__floathisf): Likewise
4538 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
4539 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
4540 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
4541 second parameter.
4542 (__ashrsi3): Likewise.
4543
4544 2016-04-21 Waldemar Brodkorb <wbx@openadk.org>
4545
4546 * config/m68k/linux-atomic.c: Do not include unistd.h
4547
4548 2016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
4549
4550 * config/arm/ieee754-df.S: Fix typos in comments.
4551
4552 2016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
4553
4554 PR target/70381
4555 * configure.ac (powerpc*-*-linux*): Rework tests to build
4556 __float128 emulation routines to not depend on using #pragma GCC
4557 target to enable -mfloat128.
4558 * configure: Regnerate.
4559
4560 2016-04-04 Eric Botcazou <ebotcazou@adacore.com>
4561
4562 PR target/67172
4563 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
4564 __MINGW32__ is defined.
4565
4566 2016-03-28 James Bowman <james.bowman@ftdichip.com>
4567
4568 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
4569
4570 2016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
4571
4572 PR libgcc/70363
4573 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
4574 built with an assembler that does not support ISA 3.0
4575 instructions, rename __extendkftf2_sw to __extendkftf2.
4576
4577 2016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4578
4579 PR target/38239
4580 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
4581 call-clobbered registers.
4582 (internal_mcount): Remove __i386__ handling.
4583
4584 2016-02-26 Joel Sherrill <joel@rtems.org>
4585
4586 * config.host: Add x86_64-*-rtems*.
4587
4588 2016-02-26 Joel Sherrill <joel@rtems.org>
4589
4590 * libgcc/config.host: Add aarch64-*-rtems*.
4591
4592 2016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4593 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
4594
4595 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
4596 union of u64 and double.
4597 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
4598 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
4599 value.
4600 (FP_ROUNDMODE): Update the usage of _fpscr.
4601
4602 2016-02-25 Ilya Verbin <ilya.verbin@intel.com>
4603
4604 PR driver/68463
4605 * Makefile.in (crtoffloadtable$(objext)): New rule.
4606 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
4607 enable_offload_targets is not empty.
4608 * configure: Regenerate.
4609 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
4610 crtoffloadtable.
4611
4612 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
4613
4614 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
4615 .literal_position before the function.
4616 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
4617 Likewise.
4618
4619 2016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
4620
4621 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
4622 * config/s390/morestack.S: New file.
4623 * config/s390/t-stack-s390: New file.
4624 * generic-morestack.c (__splitstack_find): Add s390-specific code.
4625
4626 2016-02-12 Walter Lee <walt@tilera.com>
4627
4628 * config.host (tilegx*-*-linux*): remove ti from
4629 softfp_int_modes for 32-bit configs.
4630
4631 2016-02-10 Ian Lance Taylor <iant@google.com>
4632
4633 PR go/68562
4634 * config/i386/morestack.S (__stack_split_initialize): Align
4635 stack.
4636
4637 2016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
4638
4639 PR bootstrap/69611
4640 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
4641 __FLOAT128__ to compile only for __float128 capable targets.
4642
4643 2016-01-25 Jakub Jelinek <jakub@redhat.com>
4644
4645 PR target/69444
4646 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
4647 instead of ___NO_FPRS__.
4648
4649 2016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
4650 Steven Munroe <munroesj@linux.vnet.ibm.com>
4651 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
4652
4653 * config/rs6000/float128-sed: New files to convert TF names to KF
4654 names for PowerPC IEEE 128-bit floating point support.
4655 * config/rs6000/float128-sed-hw: Likewise.
4656
4657 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
4658 floating point hardware support.
4659
4660 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
4661 128-bit floating point software emulation or use ISA 3.0 hardware
4662 support if it is available.
4663
4664 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
4665 floating point.
4666
4667 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
4668 floating point to IBM extended double.
4669
4670 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
4671 double to IEEE 128-bit floating point.
4672
4673 * config/rs6000/t-float128: New Makefile fragments to enable
4674 building __float128 emulation support.
4675 * config/rs6000/t-float128-hw: Likewise.
4676
4677 * config/rs6000/sfp-exceptions.c: New file to provide exception
4678 support for IEEE 128-bit floating point.
4679
4680 * config/rs6000/floattikf.c: New files for converting between IEEE
4681 128-bit floating point and signed/unsigned 128-bit integers.
4682 * config/rs6000/fixunskfti.c: Likewise.
4683 * config/rs6000/fixkfti.c: Likewise.
4684 * config/rs6000/floatuntikf.c: Likewise.
4685
4686 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
4687 when building on 64-bit systems, or when VSX is enabled.
4688 (_FP_W_TYPE): Likewise.
4689 (_FP_WS_TYPE): Likewise.
4690 (_FP_I_TYPE): Likewise.
4691 (TItype): Define on 64-bit systems.
4692 (UTItype): Likewise.
4693 (TI_BITS): Likewise.
4694 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
4695 (_FP_MUL_MEAT_Q): Likewise.
4696 (_FP_DIV_MEAT_D): Likewise.
4697 (_FP_DIV_MEAT_Q): Likewise.
4698 (_FP_NANFRAC_D): Likewise.
4699 (_FP_NANFRAC_Q): Likewise.
4700 (ISA_BIT): Add exception support if we are being compiled on a
4701 machine with hardware floating point support to build the IEEE
4702 128-bit emulation functions.
4703 (FP_EX_INVALID): Likewise.
4704 (FP_EX_OVERFLOW): Likewise.
4705 (FP_EX_UNDERFLOW): Likewise.
4706 (FP_EX_DIVZERO): Likewise.
4707 (FP_EX_INEXACT): Likewise.
4708 (FP_EX_ALL): Likewise.
4709 (__sfp_handle_exceptions): Likewise.
4710 (FP_HANDLE_EXCEPTIONS): Likewise.
4711 (FP_RND_NEAREST): Likewise.
4712 (FP_RND_ZERO): Likewise.
4713 (FP_RND_PINF): Likewise.
4714 (FP_RND_MINF): Likewise.
4715 (FP_RND_MASK): Likewise.
4716 (_FP_DECL_EX): Likewise.
4717 (FP_INIT_ROUNDMODE): Likewise.
4718 (FP_ROUNDMODE): Likewise.
4719
4720 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
4721 VSX code, enable IEEE 128-bit floating point. If the compiler can
4722 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
4723 floating point hardware instructions and it supports declaring
4724 functions with the ifunc attribute, enable ifunc functions to
4725 switch between software and hardware support.
4726 * configure.ac (powerpc*-*-linux*): Likewise.
4727 * configure: Regenerate.
4728
4729 2016-01-15 Nick Clifton <nickc@redhat.com>
4730
4731 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
4732 dependency as the source file to be compiled.
4733 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
4734 (lib2hw_mul_f5.o): Likewise.
4735
4736 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
4737
4738 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
4739 * libgcc/config/rs6000/fixkfti.c: Likewise.
4740 * libgcc/config/rs6000/fixunskfti.c: Likewise.
4741 * libgcc/config/rs6000/float128-hw.c: Likewise.
4742 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
4743 * libgcc/config/rs6000/float128-sed: Likewise.
4744 * libgcc/config/rs6000/floattikf.c: Likewise.
4745 * libgcc/config/rs6000/floatuntikf.c: Likewise.
4746 * libgcc/config/rs6000/quad-float128.h: Likewise.
4747 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
4748 * libgcc/config/rs6000/sfp-machine.h: Likewise.
4749 * libgcc/config/rs6000/t-float128: Likewise.
4750 * libgcc/config/rs6000/t-float128-hw: Likewise.
4751 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
4752 * libgcc/config.host: Likewise.
4753 * libgcc/configure: Likewise.
4754 * libgcc/configure.ac: Likewise.
4755
4756 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
4757 Steven Munroe <munroesj@linux.vnet.ibm.com>
4758 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
4759
4760 * config/rs6000/sfp-exceptions.c: New file to provide exception
4761 support for IEEE 128-bit floating point.
4762
4763 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
4764 floating point hardware support.
4765
4766 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
4767 point conversions.
4768 * config/rs6000/fixunskfti.c: Likewise.
4769 * config/rs6000/fixkfti.c: Likewise.
4770 * config/rs6000/floatuntikf.c: Likewise.
4771 * config/rs6000/extendkftf2-sw.c: Likewise.
4772 * config/rs6000/trunctfkf2-sw.c: Likewise.
4773
4774 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
4775 128-bit floating point software emulation or use ISA 3.0 hardware
4776 support if it is available.
4777
4778 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
4779 floating point.
4780
4781 * config/rs6000/t-float128: New Makefile fragments to enable
4782 building __float128 emulation support.
4783 * config/rs6000/t-float128-hw: Likewise.
4784
4785 * config/rs6000/float128-sed: New file to convert TF names to KF
4786 names for PowerPC IEEE 128-bit floating point support.
4787
4788 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
4789 when building on 64-bit systems, or when VSX is enabled.
4790 (_FP_W_TYPE): Likewise.
4791 (_FP_WS_TYPE): Likewise.
4792 (_FP_I_TYPE): Likewise.
4793 (TItype): Define on 64-bit systems.
4794 (UTItype): Likewise.
4795 (TI_BITS): Likewise.
4796 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
4797 (_FP_MUL_MEAT_Q): Likewise.
4798 (_FP_DIV_MEAT_D): Likewise.
4799 (_FP_DIV_MEAT_Q): Likewise.
4800 (_FP_NANFRAC_D): Likewise.
4801 (_FP_NANFRAC_Q): Likewise.
4802 (ISA_BIT): Add exception support if we are being compiled on a
4803 machine with hardware floating point support to build the IEEE
4804 128-bit emulation functions.
4805 (FP_EX_INVALID): Likewise.
4806 (FP_EX_OVERFLOW): Likewise.
4807 (FP_EX_UNDERFLOW): Likewise.
4808 (FP_EX_DIVZERO): Likewise.
4809 (FP_EX_INEXACT): Likewise.
4810 (FP_EX_ALL): Likewise.
4811 (__sfp_handle_exceptions): Likewise.
4812 (FP_HANDLE_EXCEPTIONS): Likewise.
4813 (FP_RND_NEAREST): Likewise.
4814 (FP_RND_ZERO): Likewise.
4815 (FP_RND_PINF): Likewise.
4816 (FP_RND_MINF): Likewise.
4817 (FP_RND_MASK): Likewise.
4818 (_FP_DECL_EX): Likewise.
4819 (FP_INIT_ROUNDMODE): Likewise.
4820 (FP_ROUNDMODE): Likewise.
4821
4822 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
4823 compiler can do __float128.
4824 * configure: Regenerate.
4825
4826 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
4827 VSX code, enable IEEE 128-bit floating point.
4828
4829 2016-01-05 Olivier Hainque <hainque@adacore.com>
4830
4831 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
4832 specificities.
4833
4834 2016-01-04 Jakub Jelinek <jakub@redhat.com>
4835
4836 Update copyright years.
4837
4838 2015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
4839
4840 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
4841 soft-fp targets.
4842
4843 2015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
4844
4845 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
4846 instead of abort to avoid dependency on stdlib.h.
4847
4848 2015-12-09 John David Anglin <danglin@gcc.gnu.org>
4849
4850 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
4851 to initialize call to __dl_fixup once.
4852
4853 2015-12-04 Nick Clifton <nickc@redhat.com>
4854
4855 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
4856 Allow for the second argument being negative.
4857 * config.host (extra_parts): Define for MSP430. Create separate
4858 libraries for each of the hardware multiply formats.
4859 * config/msp430/lib2hw_mul.S: Build only the multiply routines
4860 that are needed.
4861 * config/msp430/lib2mul.c: Likewise.
4862 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
4863 Add rules to build hardware multiply libraries.
4864 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
4865 __mspabi_divul function.
4866 (__mspabi_divllu): New stub function.
4867
4868 2015-12-01 John David Anglin <danglin@gcc.gnu.org>
4869
4870 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
4871 fixup values if saved GOT address doesn't match runtime address.
4872 (fixup_branch_offset): Reorder list.
4873
4874 2015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4875
4876 * Makefile.in (VTV_CFLAGS): New variable.
4877 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
4878 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
4879 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
4880 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
4881 to extra_parts if $enable_vtable_verify = yes.
4882
4883 2015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
4884
4885 PR target/68059
4886 * config/arm/linux-atomic-64bit.c (__write): Rename to...
4887 (write): ...this and fix the return type.
4888
4889 2015-11-19 DJ Delorie <dj@redhat.com>
4890
4891 * config/msp430/lib2hw_mul.S: Fix alignment.
4892
4893 2015-11-18 Nathan Sidwell <nathan@codesourcery.com>
4894
4895 * config/nvptx/reduction.c: New.
4896 * config/nvptx/t-nvptx (LIB2ADD): Add it.
4897
4898 2015-11-15 David Edelsohn <dje.gcc@gmail.com>
4899
4900 * config/rs6000/on_exit.c: New file.
4901 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
4902 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
4903
4904 2015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
4905
4906 * config/arc/dp-hack.h: Add support for ARCHS.
4907 * config/arc/ieee-754/divdf3.S: Likewise.
4908 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
4909 * config/arc/ieee-754/muldf3.S: Likewise.
4910 * config/arc/ieee-754/mulsf3.S: Likewise
4911 * config/arc/lib1funcs.S: Likewise
4912 * config/arc/gmon/dcache_linesz.S: Don't read the build register
4913 for ARCv2 cores.
4914 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
4915 for ARCv2 cores.
4916 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
4917 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
4918 cores.
4919
4920 2015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4921
4922 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
4923 value.
4924 * config/ia64/crtend.S: Likewise.
4925
4926 2015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4927
4928 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
4929 __CHAR_BIT__ instead of BITS_PER_UNIT.
4930 * fixed-bit.h: Likewise.
4931 * fp-bit.h: Likewise.
4932 * libgcc2.c (__popcountSI2): Likewise.
4933 (__popcountDI2): Likewise.
4934 * libgcc2.h: Likewise.
4935 * libgcov.h: Likewise.
4936
4937 2015-11-07 David Edelsohn <dje.gcc@gmail.com>
4938
4939 * config/rs6000/atexit.c: New file.
4940 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
4941 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
4942 * config/rs6000/cxa_finalize.c
4943 (catomic_compare_and_exchange_bool_acq): Negate return value.
4944
4945 2015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
4946
4947 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
4948 (processor_subtypes): Add znver1.
4949 (get_amd_cpu): Detect znver1.
4950
4951 2015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
4952
4953 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
4954 Include crtfastmath.o.
4955
4956 2015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
4957
4958 PR libgcc/66883
4959 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
4960
4961 2015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
4962
4963 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
4964 * config/rl78/divmodsi.S: Update return register to r8.
4965 * config/rl78/divmodhi.S: Update return register to r8,r9.
4966 Branch to main_loop_done_himode to pop registers before return.
4967
4968 2015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
4969
4970 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
4971 (__cpu_indicator_init): Fix model selection for AMD CPUs.
4972
4973 2015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
4974
4975 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
4976
4977 2015-10-03 Max Filippov <jcmvbkbc@gmail.com>
4978
4979 * config.host (xtensa*-*-uclinux*): New configuration.
4980
4981 2015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
4982
4983 * config/i386/cpuinfo.c (processor_features): Add
4984 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
4985
4986 2015-09-28 Joseph Myers <joseph@codesourcery.com>
4987
4988 * soft-fp/adddf3.c: Update from glibc.
4989 * soft-fp/addsf3.c: Likewise.
4990 * soft-fp/addtf3.c: Likewise.
4991 * soft-fp/divdf3.c: Likewise.
4992 * soft-fp/divsf3.c: Likewise.
4993 * soft-fp/divtf3.c: Likewise.
4994 * soft-fp/double.h: Likewise.
4995 * soft-fp/eqdf2.c: Likewise.
4996 * soft-fp/eqsf2.c: Likewise.
4997 * soft-fp/eqtf2.c: Likewise.
4998 * soft-fp/extenddftf2.c: Likewise.
4999 * soft-fp/extended.h: Likewise.
5000 * soft-fp/extendsfdf2.c: Likewise.
5001 * soft-fp/extendsftf2.c: Likewise.
5002 * soft-fp/extendxftf2.c: Likewise.
5003 * soft-fp/fixdfdi.c: Likewise.
5004 * soft-fp/fixdfsi.c: Likewise.
5005 * soft-fp/fixdfti.c: Likewise.
5006 * soft-fp/fixsfdi.c: Likewise.
5007 * soft-fp/fixsfsi.c: Likewise.
5008 * soft-fp/fixsfti.c: Likewise.
5009 * soft-fp/fixtfdi.c: Likewise.
5010 * soft-fp/fixtfsi.c: Likewise.
5011 * soft-fp/fixtfti.c: Likewise.
5012 * soft-fp/fixunsdfdi.c: Likewise.
5013 * soft-fp/fixunsdfsi.c: Likewise.
5014 * soft-fp/fixunsdfti.c: Likewise.
5015 * soft-fp/fixunssfdi.c: Likewise.
5016 * soft-fp/fixunssfsi.c: Likewise.
5017 * soft-fp/fixunssfti.c: Likewise.
5018 * soft-fp/fixunstfdi.c: Likewise.
5019 * soft-fp/fixunstfsi.c: Likewise.
5020 * soft-fp/fixunstfti.c: Likewise.
5021 * soft-fp/floatdidf.c: Likewise.
5022 * soft-fp/floatdisf.c: Likewise.
5023 * soft-fp/floatditf.c: Likewise.
5024 * soft-fp/floatsidf.c: Likewise.
5025 * soft-fp/floatsisf.c: Likewise.
5026 * soft-fp/floatsitf.c: Likewise.
5027 * soft-fp/floattidf.c: Likewise.
5028 * soft-fp/floattisf.c: Likewise.
5029 * soft-fp/floattitf.c: Likewise.
5030 * soft-fp/floatundidf.c: Likewise.
5031 * soft-fp/floatundisf.c: Likewise.
5032 * soft-fp/floatunditf.c: Likewise.
5033 * soft-fp/floatunsidf.c: Likewise.
5034 * soft-fp/floatunsisf.c: Likewise.
5035 * soft-fp/floatunsitf.c: Likewise.
5036 * soft-fp/floatuntidf.c: Likewise.
5037 * soft-fp/floatuntisf.c: Likewise.
5038 * soft-fp/floatuntitf.c: Likewise.
5039 * soft-fp/gedf2.c: Likewise.
5040 * soft-fp/gesf2.c: Likewise.
5041 * soft-fp/getf2.c: Likewise.
5042 * soft-fp/ledf2.c: Likewise.
5043 * soft-fp/lesf2.c: Likewise.
5044 * soft-fp/letf2.c: Likewise.
5045 * soft-fp/muldf3.c: Likewise.
5046 * soft-fp/mulsf3.c: Likewise.
5047 * soft-fp/multf3.c: Likewise.
5048 * soft-fp/negdf2.c: Likewise.
5049 * soft-fp/negsf2.c: Likewise.
5050 * soft-fp/negtf2.c: Likewise.
5051 * soft-fp/op-1.h: Likewise.
5052 * soft-fp/op-2.h: Likewise.
5053 * soft-fp/op-4.h: Likewise.
5054 * soft-fp/op-8.h: Likewise.
5055 * soft-fp/op-common.h: Likewise.
5056 * soft-fp/quad.h: Likewise.
5057 * soft-fp/single.h: Likewise.
5058 * soft-fp/soft-fp.h: Likewise.
5059 * soft-fp/subdf3.c: Likewise.
5060 * soft-fp/subsf3.c: Likewise.
5061 * soft-fp/subtf3.c: Likewise.
5062 * soft-fp/truncdfsf2.c: Likewise.
5063 * soft-fp/trunctfdf2.c: Likewise.
5064 * soft-fp/trunctfsf2.c: Likewise.
5065 * soft-fp/trunctfxf2.c: Likewise.
5066 * soft-fp/unorddf2.c: Likewise.
5067 * soft-fp/unordsf2.c: Likewise.
5068 * soft-fp/unordtf2.c: Likewise.
5069
5070 2015-09-24 Richard Earnshaw <rearnsha@arm.com>
5071
5072 PR libgcc/67624
5073 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
5074
5075 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5076
5077 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
5078 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
5079 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
5080 messages.
5081 (internal_mcount): Likewise.
5082 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
5083 crt_compile, add CRTSTUFF_T_CFLAGS_S.
5084
5085 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5086
5087 * configure.ac (libgcc_cv_solaris_crts): New test.
5088 * configure: Regenerate.
5089 * config.in: Regenerate.
5090 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
5091 * config/gmon-sol2.c: Rename to ...
5092 * config/sol2/gmon.c: ... this.
5093 Include auto-target.h.
5094 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
5095 * config/t-sol2: Rename to ...
5096 * config/sol2/t-sol2: ... this.
5097 (gmon.o): Reflect renaming.
5098 (crtp.o, crtpg.o): New rules.
5099 * config.host (*-*-solaris2*): Reflect renaming.
5100 Use system CRTs if present.
5101 Remove default CRT case.
5102
5103 2015-09-23 John David Anglin <danglin@gcc.gnu.org>
5104
5105 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
5106 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
5107 __kernel_cmpxchg2.
5108 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
5109 (__sync_val_compare_and_swap_##WIDTH): Likewise.
5110 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
5111 (__sync_lock_test_and_set_##WIDTH): Likewise.
5112 (__sync_lock_release_##WIDTH): Likewise.
5113 (__sync_fetch_and_##OP##_4): Change result to match type of
5114 __kernel_cmpxchg.
5115 (__sync_##OP##_and_fetch_4): Likewise.
5116 (__sync_val_compare_and_swap_4): Likewise.
5117 (__sync_bool_compare_and_swap_4): likewise.
5118 (__sync_lock_test_and_set_4): Likewise.
5119 (__sync_lock_release_4): Likewise.
5120 (FETCH_AND_OP_2): Add long long variants.
5121 (OP_AND_FETCH_2): Likewise.
5122 (COMPARE_AND_SWAP_2 ): Likewise.
5123 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
5124 (SYNC_LOCK_RELEASE_2): Likewise.
5125 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
5126
5127 2015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
5128
5129 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
5130 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
5131 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
5132 (get_available_features): Habdle new features.
5133
5134 2015-09-21 James Bowman <james.bowman@ftdichip.com>
5135
5136 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
5137 memory layout. Deal correctly with BSS region larger than 32K.
5138 Handle a watchdog reset like a power-on reset. Clean up unused
5139 code.
5140
5141 2015-09-18 Andrew Dixie <andrewd@gentrack.com>
5142 David Edelsohn <dje.gcc@gmail.com>
5143
5144 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
5145 * config/rs6000/crtdbase.S: New file.
5146 * config/rs6000/t-aix-cxa: Build crtdbase.o.
5147
5148 2015-09-15 Max Filippov <jcmvbkbc@gmail.com>
5149
5150 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
5151 Add support for call0 ABI.
5152
5153 2015-09-13 John David Anglin <danglin@gcc.gnu.org>
5154
5155 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
5156
5157 2015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
5158
5159 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
5160 (__GTHREAD_HAS_COND): Likewise.
5161 (__gthread_t): Likewise.
5162 (__gthread_cond_t): Likewise.
5163 (__gthread_time_t): Likewise.
5164 (__GTHREAD_MUTEX_INIT): Likewise.
5165 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
5166 (__GTHREAD_COND_INIT): Likewise.
5167 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
5168 (__GTHREAD_TIME_INIT): Likewise.
5169 (__gthread_create): Likewise.
5170 (__gthread_join): Likewise.
5171 (__gthread_detach): Likewise.
5172 (__gthread_equal): Likewise.
5173 (__gthread_self): Likewise.
5174 (__gthread_yield): Likewise.
5175 (__gthread_cond_broadcast): Likewise.
5176 (__gthread_cond_signal): Likewise.
5177 (__gthread_cond_wait): Likewise.
5178 (__gthread_cond_timedwait): Likewise.
5179 (__gthread_cond_wait_recursive): Likewise.
5180 (__gthread_cond_destroy): Likewise.
5181 (rtems_gxx_once): Delete.
5182 (rtems_gxx_key_create): Likewise.
5183 (rtems_gxx_key_delete): Likewise.
5184 (rtems_gxx_getspecific): Likewise.
5185 (rtems_gxx_setspecific): Likewise.
5186 (rtems_gxx_mutex_init): Likewise.
5187 (rtems_gxx_mutex_destroy): Likewise.
5188 (rtems_gxx_mutex_lock): Likewise.
5189 (rtems_gxx_mutex_trylock): Likewise.
5190 (rtems_gxx_mutex_unlock): Likewise.
5191 (rtems_gxx_recursive_mutex_init): Likewise.
5192 (rtems_gxx_recursive_mutex_lock): Likewise.
5193 (rtems_gxx_recursive_mutex_trylock): Likewise.
5194 (rtems_gxx_recursive_mutex_unlock): Likewise.
5195 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
5196 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
5197 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
5198 (__gthread_once): Likewise.
5199 (__gthread_key_create): Likewise.
5200 (__gthread_key_delete): Likewise.
5201 (__gthread_getspecific): Likewise.
5202 (__gthread_setspecific): Likewise.
5203 (__gthread_key_t): Use <pthread.h> type.
5204 (__gthread_once_t): Likewise
5205 (__gthread_mutex_t): Use <sys/lock.h> type.
5206 (__gthread_recursive_mutex_t): Likewise
5207 (__gthread_mutex_lock): Use <sys/lock.h> function.
5208 (__gthread_mutex_trylock): Likewise.
5209 (__gthread_mutex_timedlock): Likewise.
5210 (__gthread_mutex_unlock): Likewise.
5211 (__gthread_mutex_destroy): Likewise.
5212 (__gthread_recursive_mutex_lock): Likewise.
5213 (__gthread_recursive_mutex_trylock): Likewise.
5214 (__gthread_recursive_mutex_timedlock): Likewise.
5215 (__gthread_recursive_mutex_unlock): Likewise.
5216 (__gthread_recursive_mutex_destroy): Likewise.
5217
5218 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
5219
5220 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
5221 context->sp instead of context->cfa.
5222
5223 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
5224
5225 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
5226 with unwind-dw2-fde-dip.
5227
5228 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
5229
5230 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
5231 CALL12 followed by series of ENTRY to spill windowed registers.
5232 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
5233 instead of making linux spill syscall.
5234
5235 2015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
5236
5237 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
5238 (get_intel_cpu): Likewise.
5239
5240 2015-08-12 H.J. Lu <hongjiu.lu@intel.com>
5241
5242 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
5243 (get_intel_cpu): Add Knights Landing support.
5244
5245 2015-08-11 Uros Bizjak <ubizjak@gmail.com>
5246
5247 PR target/66954
5248 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
5249 (get_available_features): Handle FEATURE_PCLMUL.
5250
5251 2015-08-10 H.J. Lu <hongjiu.lu@intel.com>
5252
5253 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
5254 Broadwell.
5255
5256 2015-07-22 Uros Bizjak <ubizjak@gmail.com>
5257
5258 PR target/66954
5259 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
5260 (get_available_features): Handle FEATURE_AES.
5261
5262 2015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
5263
5264 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
5265 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
5266
5267 2015-07-17 Nathan Sidwell <nathan@codesourcery.com>
5268
5269 * offloadstuff.c: Constify host data.
5270
5271 2015-07-17 Jan Beulich <jbeulich@suse.com>
5272
5273 * config/t-softfp: Split up "else ifneq".
5274
5275 2015-07-14 Sandra Loosemore <sandra@codesourcery.com>
5276 Cesar Philippidis <cesar@codesourcery.com>
5277 Chung-Lin Tang <cltang@codesourcery.com>
5278
5279 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
5280 for __nios2_arch__ level.
5281
5282 2015-07-13 John Marino <gnugcc@marino.st>
5283
5284 * config/i386/t-dragonfly: New.
5285
5286 2015-07-01 John David Anglin <danglin@gcc.gnu.org>
5287
5288 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
5289 better match light-weight syscall argument order.
5290 (__kernel_cmpxchg2): Likewise.
5291 Adjust callers.
5292
5293 2015-06-30 H.J. Lu <hongjiu.lu@intel.com>
5294
5295 * config.host: Support i[34567]86-*-elfiamcu target.
5296 * config/t-softfp-sfdftf: New file.
5297 * config/i386/32/t-iamcu: Likewise.
5298 * configure: Regenerated.
5299
5300 2015-06-23 James Lemke <jwlemke@codesourcery.com>
5301
5302 libgcc/config/arm/
5303 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
5304
5305 2015-05-27 H.J. Lu <hongjiu.lu@intel.com>
5306
5307 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
5308
5309 2015-05-27 John Marino <gnugcc@marino.st>
5310
5311 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
5312 md_unwind_header
5313 * config/i386/freebsd-unwind.h: New.
5314
5315 2015-05-22 Uros Bizjak <ubizjak@gmail.com>
5316
5317 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
5318 i386/t-crtfm to tmake_file.
5319 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
5320 (set_fast_math): Use set_fast_math_sse for SSE targets.
5321 * config/i386/t-crtfm: Remove.
5322
5323 2015-05-21 Alan Modra <amodra@gmail.com>
5324
5325 PR libgcc/66225
5326 * config/rs6000/morestack.S: Remove ".abiversion 1".
5327
5328 2015-05-20 Alan Modra <amodra@gmail.com>
5329
5330 * config/rs6000/morestack.S: New.
5331 * config/rs6000/t-stack-rs6000: New.
5332 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
5333 to tmake_file.
5334 * generic-morestack.c: Don't build for powerpc 32-bit.
5335
5336 2015-05-19 Eric Botcazou <ebotcazou@adacore.com>
5337
5338 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
5339 Remove useless endif/ifneq ($(enable_shared),yes) pair.
5340
5341 2015-05-16 James Bowman <james.bowman@ftdichip.com>
5342
5343 * config.host: FT32 target added.
5344 * config/ft32/*: New files for FT32 target.
5345
5346 2015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
5347
5348 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
5349 New macros.
5350 * config/arm/ieee754-df.S: Add CFI directives.
5351 * config/arm/ieee754-sf.S: Add CFI directives.
5352
5353 2015-05-13 Eric Botcazou <ebotcazou@adacore.com>
5354
5355 * configure.ac: Include config/sjlj.m4.
5356 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
5357 * config.in: Regenerate.
5358 * configure: Likewise.
5359 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
5360
5361 2015-05-12 Uros Bizjak <ubizjak@gmail.com>
5362
5363 * libgcov-util.c: Add space between string literal and macro name.
5364
5365 2015-05-06 Sandra Loosemore <sandra@codesourcery.com>
5366 Chris Jones <chrisj@nvidia.com>
5367 Joshua Conner <jconner@nvidia.com>
5368
5369 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
5370 (arm*-*-uclinux*): Likewise.
5371 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
5372 * config/arm/crtfastmath.c: New file.
5373
5374 2014-04-29 Bernd Schmidt <bernds@codesourcery.com>
5375
5376 * Makefile.in (real_host_noncanonical): New variable.
5377 (libsubdir): Use it.
5378 * configure.ac (real_host_noncanonical): Compute. Remove special
5379 case for intelmicemul.
5380 * configure: Regenerate.
5381
5382 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
5383
5384 * config/frv/elf-lib.h: New file.
5385 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
5386 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
5387 to tm_file.
5388
5389 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
5390
5391 * config/frv/frvbengin.c: Do not include defaults.h
5392 * config/frv/frvend.c: Ditto.
5393
5394 2015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
5395
5396 * config.host: Add h8300-*-linux
5397 * config/h8300/t-linux: New file.
5398 * config/h8300/lib1funs.s: Change symbol prefix.
5399 * config/h8300/sfp-machine.h: 64bit double support.
5400
5401 2015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
5402 Szabolcs Nagy <szabolcs.nagy@arm.com>
5403
5404 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
5405 Linux if target provides dl_iterate_phdr.
5406
5407 2015-04-17 H.J. Lu <hongjiu.lu@intel.com>
5408
5409 PR target/65612
5410 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
5411 * config/i386/cpuinfo.c (__cpu_model): Initialize.
5412 (__cpu_indicator_init@GCC_4.8.0): New.
5413 (__cpu_model@GCC_4.8.0): Likewise.
5414 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
5415 -DUSE_ELF_SYMVER.
5416
5417 2015-04-16 Nick Clifton <nickc@redhat.com>
5418
5419 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
5420 and __modhi3 functions.
5421 * config/rl78/divmodso.S: Add G14 and G13 versions of the
5422 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
5423
5424 2015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
5425
5426 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
5427 do-while loop as macro body to avoid warnings.
5428
5429 2015-04-10 Jakub Jelinek <jakub@redhat.com>
5430 Iain Sandoe <iain@codesourcery.com>
5431
5432 PR target/65351
5433 * configure: Regenerate.
5434
5435 2015-04-07 Jakub Jelinek <jakub@redhat.com>
5436 Iain Sandoe <iain@codesourcery.com>
5437
5438 PR target/65351
5439 * configure: Regenerate.
5440
5441 2015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
5442
5443 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
5444
5445 2015-03-03 Max Filippov <jcmvbkbc@gmail.com>
5446
5447 Implement call0 ABI for xtensa
5448 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
5449 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
5450 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
5451 use ret in call0 ABI.
5452 * config/xtensa/t-windowed: New file.
5453 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
5454 * libgcc/configure: Regenerated.
5455 * libgcc/configure.ac: Check if xtensa target is configured for
5456 windowed ABI and thus needs to use custom unwind code.
5457
5458 2015-02-12 Jonathan Wakely <jwakely@redhat.com>
5459
5460 PR libgcc/64885
5461 * gthr-single.h: Use __unused__ attribute instead of unused.
5462 * config/gthr-vxworks.h: Likewise.
5463 * config/i386/gthr-win32.h: Likewise.
5464
5465 2015-02-27 Kai Tietz <ktietz@redhat.com>
5466
5467 PR target/65038
5468 * config.in: Regenerated.
5469 * configure: Likewise.
5470 * configure.ac (AC_HEADER_STDC): Added explicit.
5471 (AC_CHECK_HEADERS): Check for default headers plus
5472 for ftw.h header.
5473 * libgcov-util.c (gcov_read_profile_dir): Disable use
5474 of ftw-function, if header is not found.
5475 (ftw_read_file): Likewise.
5476
5477 2015-02-23 Thomas Schwinge <thomas@codesourcery.com>
5478
5479 PR target/65181
5480 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
5481 -Dinhibit_libc.
5482
5483 2015-02-17 Sandra Loosemore <sandra@codesourcery.com>
5484
5485 * config/arm/bpabi.S (test_div_by_zero): Make label names
5486 consistent between thumb2 and arm mode cases. Separate the
5487 signed comparison on the high word of the numerator from the
5488 unsigned comparison on the low word.
5489 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
5490 signed comparison.
5491
5492 2015-02-17 Joseph Myers <joseph@codesourcery.com>
5493
5494 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
5495 and <string.h>.
5496 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
5497
5498 2015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
5499
5500 PR gcov-profile/61889
5501 * libgcov-driver-system.c: undefine clashing macro for mkdir.
5502
5503 2015-02-02 Nick Clifton <nickc@redhat.com>
5504
5505 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
5506 rounding up the fraction.
5507
5508 2015-01-31 John David Anglin <danglin@gcc.gnu.org>
5509
5510 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
5511 oldval and newval to const void *. Fix typo.
5512 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
5513 (FETCH_AND_OP_WORD): Likewise.
5514 (OP_AND_FETCH_WORD): Likewise.
5515 (COMPARE_AND_SWAP_2): Likewise.
5516 (__sync_val_compare_and_swap_4): Likewise.
5517 (__sync_lock_test_and_set_4): Likewise.
5518 (SYNC_LOCK_RELEASE_2): Likewise.
5519 Remove support for long long atomic operations.
5520
5521 2015-01-27 Caroline Tice <cmtice@google.com>
5522
5523 Committing VTV Cywin/Ming patch for Patrick Wollgast
5524 * Makefile.in: Move rules to build vtv_*.o out of the check
5525 for CUSTOM_CRTSTUFF.
5526 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
5527 i[34567]86-*-mingw*)
5528 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
5529 enable_vtable_verify.
5530
5531 2015-01-27 Nick Clifton <nickc@redhat.com>
5532
5533 * config/rl78/cmpsi2.S: Use function start and end macros.
5534 (__gcc_bcmp): New function.
5535 * config/rl78/lshrsi3.S: Use function start and end macros.
5536 * config/rl78/mulsi3.S: Add support for G10.
5537 (__mulqi3): New function for G10.
5538 * config/rl78/signbit.S: Use function start and end macros.
5539 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
5540 fpmath-sf.S.
5541 (LIB2FUNCS_EXCLUDE): Define.
5542 (LIB2FUNCS_ST): Define.
5543 * config/rl78/trampoline.S: Use function start and end macros.
5544 * config/rl78/vregs.h (START_FUNC): New macro.
5545 (START_ANOTHER_FUNC): New macro.
5546 (END_FUNC): New macro.
5547 (END_ANOTHER_FUNC): New macro.
5548 * config/rl78/bit-count.S: New file. Contains assembler
5549 implementations of the bit counting functions: ___clzhi2,
5550 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
5551 __paritysi2, __popcounthi2 and __popcountsi2.
5552 * config/rl78/fpbit-sf.S: New file. Contains assembler
5553 implementationas of the math functions: __negsf2, __cmpsf2,
5554 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
5555 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
5556 * config/rl78/fpmath-sf.S: New file. Contains assembler
5557 implementations of the math functions: __subsf3, __addsf3,
5558 __mulsf3 and __divsf3
5559
5560 2015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5561
5562 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
5563 Add i386/elf-lib.h to tm_file.
5564 * config/i386/elf-lib.h: Fix comment.
5565 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
5566 && __sun__ && __svr4__]: Remove workaround.
5567
5568 2015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
5569
5570 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
5571 FEATURE_BMI2.
5572 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
5573
5574 2015-01-24 H.J. Lu <hongjiu.lu@intel.com>
5575
5576 * config/i386/cpuinfo.c (processor_subtypes): Add
5577 INTEL_COREI7_BROADWELL.
5578 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
5579 model numbers.
5580
5581 2015-01-23 Uros Bizjak <ubizjak@gmail.com>
5582
5583 * config/i386/elf-lib.h: New file.
5584 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
5585 Wrap definition in #ifdef __i386__.
5586 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
5587 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
5588 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
5589 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
5590 to tm_file.
5591
5592 2015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
5593
5594 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
5595 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
5596
5597 2015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
5598
5599 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
5600 Update rt_sigframe format and address for current Nios II
5601 Linux conventions.
5602
5603 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
5604
5605 * config.host (arm*-*-freebsd*): Add new configuration for
5606 arm*-*-freebsd*.
5607 * config/arm/freebsd-atomic.c: New file.
5608 * config/arm/t-freebsd: Likewise.
5609 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
5610 'PC-relative indirect' OS's.
5611
5612 2015-01-06 Eric Botcazou <ebotcazou@adacore.com>
5613
5614 * config.host: Add Visium support.
5615 * config/visium: New directory.
5616
5617 2015-01-05 Jakub Jelinek <jakub@redhat.com>
5618
5619 Update copyright years.
5620
5621 2014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
5622
5623 * config.host: Support mipsisa32r6 and mipsisa64r6.
5624 * config/mips/mips16.S: Do not build for R6.
5625
5626 2014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
5627
5628 * config/sh/crt.h: New.
5629 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
5630 symbols.
5631 * config/sh/crt1.S: Likewise.
5632
5633 2014-12-15 Uros Bizjak <ubizjak@gmail.com>
5634
5635 PR libgcc/63832
5636 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
5637 func_ptr *dtor_list temporary variable to avoid "array subscript
5638 is above array bounds" warnings.
5639
5640 2014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
5641
5642 * Makefile.in (with_aix_soname): Define.
5643 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
5644 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
5645 * configure: Recreate.
5646
5647 2014-12-05 Olivier Hainque <hainque@adacore.com>
5648
5649 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
5650 now provided by defaults.h.
5651
5652 2014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
5653
5654 PR target/55351
5655 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
5656 whether it's defined.
5657
5658 2014-11-27 Ilya Tocar <ilya.tocar@intel.com>
5659
5660 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
5661 * config/i386/cpuinfo.c (get_available_features): Detect it.
5662
5663 2014-11-27 Tony Wang <tony.wang@arm.com>
5664
5665 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
5666 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
5667 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
5668
5669 2014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
5670
5671 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
5672
5673 2014-11-24 John David Anglin <danglin@gcc.gnu.org>
5674
5675 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
5676 instead.
5677
5678 2014-11-21 Guy Martin <gmsoft@tuxicoman.be>
5679 John David Anglin <danglin@gcc.gnu.org>
5680
5681 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
5682 (FETCH_AND_OP_2): New. Use for subword and double word operations.
5683 (OP_AND_FETCH_2): Likewise.
5684 (COMPARE_AND_SWAP_2): Likewise.
5685 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
5686 (SYNC_LOCK_RELEASE_2): Likewise.
5687 (SUBWORD_SYNC_OP): Remove.
5688 (SUBWORD_VAL_CAS): Likewise.
5689 (SUBWORD_BOOL_CAS): Likewise.
5690 (FETCH_AND_OP_WORD): Update.
5691 Consistently use signed types.
5692
5693 2014-11-13 Bernd Schmidt <bernds@codesourcery.com>
5694 Thomas Schwinge <thomas@codesourcery.com>
5695 Ilya Verbin <ilya.verbin@intel.com>
5696 Andrey Turetskiy <andrey.turetskiy@intel.com>
5697
5698 * Makefile.in (crtoffloadbegin$(objext)): New rule.
5699 (crtoffloadend$(objext)): Likewise.
5700 * configure: Regenerate.
5701 * configure.ac (accel_dir_suffix): Compute new variable.
5702 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
5703 if enable_offload_targets is not empty.
5704 * offloadstuff.c: New file.
5705
5706 2014-11-13 Nick Clifton <nickc@redhat.com>
5707
5708 * config/rl78/divmodhi.S: Add support for the G10 architecture.
5709 Use START_FUNC and END_FUNC macros to enable linker garbage
5710 collection.
5711 * config/rl78/divmodqi.S: Likewise.
5712 * config/rl78/divmodsi.S: Likewise.
5713 * config/rl78/mulsi3.S: Likewise.
5714 * config/rl78/lib2div.c: Remove G10 functions.
5715 * config/rl78/lib2muls.c: Likewise.
5716 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
5717 * config/rl78/vregs.h (START_FUNC): New macro.
5718 (END_FUNC): New macro.
5719
5720 2014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
5721
5722 * config/mips/mips16.S: Set .module when supported. Update O32
5723 FP64 calling convention and use for FPXX when possible. Add FPXX
5724 calling convention fallback case.
5725
5726 2014-11-06 Bernd Schmidt <bernds@codesourcery.com>
5727
5728 * config.host: Handle nvptx-*-*.
5729 * shared-object.mk (as-flags-$o): Define.
5730 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
5731 -xassembler-with-cpp.
5732 * static-object.mk: Identical changes.
5733 * config/nvptx/t-nvptx: New file.
5734 * config/nvptx/crt0.s: New file.
5735 * config/nvptx/free.asm: New file.
5736 * config/nvptx/malloc.asm: New file.
5737 * config/nvptx/realloc.c: New file.
5738
5739 2014-10-30 Joseph Myers <joseph@codesourcery.com>
5740
5741 * Makefile.in (libgcc.map.in): New target.
5742 (libgcc.map): Use libgcc.map.in.
5743 * config/t-softfp (softfp_compat): New variable to be set by
5744 users.
5745 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
5746 variables.
5747 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
5748 directory.
5749 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
5750 that use compat symbols and disable all code unless [SHARED].
5751 * config/t-softfp-compat: New file.
5752 * find-symver.awk: New file.
5753 * configure.ac (--with-glibc-version): New configure option.
5754 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
5755 * configure: Regenerate.
5756 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
5757 soft-float and e500.
5758
5759 2014-10-29 Joseph Myers <joseph@codesourcery.com>
5760
5761 * config/t-hardfp (hardfp_exclusions): Document new variable for
5762 user to define.
5763 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
5764 * config/t-softfp (softfp_extras): Document new variable for user
5765 to define.
5766 (softfp_func_list): Add functions from $(softfp_extras).
5767 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
5768 * config.host (powerpc*-*-linux*): For e500v1, use
5769 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
5770 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
5771 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
5772
5773 2014-10-26 John David Anglin <danglin@gcc.gnu.org>
5774
5775 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
5776 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
5777 memory read accesses are ok.
5778
5779 2014-10-25 Joseph Myers <joseph@codesourcery.com>
5780
5781 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
5782 * configure: Regenerate.
5783 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
5784 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
5785 of soft-fp for 32-bit classic hard float. Do not use
5786 t-softfp-excl for soft float.
5787
5788 2014-10-22 Joseph Myers <joseph@codesourcery.com>
5789
5790 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
5791 configurations.
5792 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
5793 Remove variables.
5794
5795 2014-10-22 Georg-Johann Lay <avr@gjlay.de>
5796
5797 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
5798 introduced with 2014-10-21 trunk r216525.
5799
5800 2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
5801 Vidya Praveen <vidya.praveen@atmel.com>
5802 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
5803 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
5804 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
5805
5806 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
5807 order.
5808
5809 Updated library functions for AVRTINY arch.
5810 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
5811 Replaced occurrences of r0/r1 with tmp/zero reg macros.
5812 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
5813 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
5814 wsubi/wadi macors.
5815 (__mulsi3_helper): Update stack, preserve callee saved regs and
5816 argument from stack. Restore callee save registers.
5817 (__mulpsi3): Likewise.
5818 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
5819 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
5820 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
5821 AVRTINY.
5822 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
5823 (__do_copy_data): Added new definition for AVRTINY.
5824 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
5825 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
5826 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
5827 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
5828 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
5829 macors.
5830 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
5831 AVRTINY.
5832
5833 Fix broken long multiplication on tiny arch.
5834
5835 2014-10-09 Joseph Myers <joseph@codesourcery.com>
5836
5837 * soft-fp/double.h: Update from glibc.
5838 * soft-fp/eqdf2.c: Likewise.
5839 * soft-fp/eqsf2.c: Likewise.
5840 * soft-fp/eqtf2.c: Likewise.
5841 * soft-fp/extenddftf2.c: Likewise.
5842 * soft-fp/extended.h: Likewise.
5843 * soft-fp/extendsfdf2.c: Likewise.
5844 * soft-fp/extendsftf2.c: Likewise.
5845 * soft-fp/extendxftf2.c: Likewise.
5846 * soft-fp/gedf2.c: Likewise.
5847 * soft-fp/gesf2.c: Likewise.
5848 * soft-fp/getf2.c: Likewise.
5849 * soft-fp/ledf2.c: Likewise.
5850 * soft-fp/lesf2.c: Likewise.
5851 * soft-fp/letf2.c: Likewise.
5852 * soft-fp/op-1.h: Likewise.
5853 * soft-fp/op-2.h: Likewise.
5854 * soft-fp/op-4.h: Likewise.
5855 * soft-fp/op-8.h: Likewise.
5856 * soft-fp/op-common.h: Likewise.
5857 * soft-fp/quad.h: Likewise.
5858 * soft-fp/single.h: Likewise.
5859 * soft-fp/soft-fp.h: Likewise.
5860 * soft-fp/unorddf2.c: Likewise.
5861 * soft-fp/unordsf2.c: Likewise.
5862 * soft-fp/unordtf2.c: Likewise.
5863 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
5864 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
5865 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
5866 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
5867 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
5868 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
5869 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
5870 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
5871 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
5872 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
5873
5874 2014-10-08 Rong Xu <xur@google.com>
5875
5876 * libgcov-util.c (read_gcda_file): Fix format.
5877 (find_match_gcov_info): Ditto.
5878 (calculate_2_entries): New.
5879 (compute_one_gcov): Ditto.
5880 (gcov_info_count_all_cold): Ditto.
5881 (gcov_info_count_all_zero): Ditto.
5882 (extract_file_basename): Ditto.
5883 (get_file_basename): Ditto.
5884 (set_flag): Ditto.
5885 (matched_gcov_info): Ditto.
5886 (calculate_overlap): Ditto.
5887 (gcov_profile_overlap): Ditto.
5888 * libgcov-driver.c (compute_summary): Make
5889 it avavilable for external calls.
5890
5891 2014-10-06 Rong Xu <xur@google.com>
5892
5893 * Makefile.in: Ditto.
5894 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
5895 (gcov_sort_icall_topn_counter): Ditto.
5896 (gcov_sort_topn_counter_arrays): Ditto.
5897 (dump_one_gcov): Sort indirect_call topn counters.
5898 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
5899 function.
5900 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
5901 utility function.
5902 (__gcov_indirect_call_topn_profiler): New profiler function.
5903 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
5904 * libgcov.h: New decls.
5905
5906 2014-10-04 Trevor Saunders <tsaunders@mozilla.com>
5907
5908 * config.host: Remove support for score-*.
5909
5910 2014-09-22 Joseph Myers <joseph@codesourcery.com>
5911
5912 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
5913 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
5914 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
5915 __LIBGCC_XF_MANT_DIG__.
5916 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
5917 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
5918 __LIBGCC_TF_MANT_DIG__.
5919 * libgcc2.c (NOTRUNC): Define in terms of
5920 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
5921 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
5922
5923 2014-09-22 Joseph Myers <joseph@codesourcery.com>
5924
5925 PR target/63312
5926 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
5927 New macros.
5928
5929 2014-09-22 Hans-Peter Nilsson <hp@axis.com>
5930
5931 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
5932 override USE_PT_GNU_EH_FRAME.
5933 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
5934 check USE_EH_FRAME_REGISTRY_ALWAYS against
5935 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
5936 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
5937 variable for substituted force_explicit_eh_registry.
5938 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
5939 * configure.ac (explicit-exception-frame-registration):
5940 New AC_ARG_ENABLE.
5941 * configure: Regenerate.
5942
5943 2014-09-19 Olivier Hainque <hainque@adacore.com>
5944
5945 * config.host (powerpc-wrs-vxworksmils): New configuration,
5946 same as vxworksae.
5947
5948 2014-09-18 Joseph Myers <joseph@codesourcery.com>
5949
5950 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
5951
5952 2014-09-18 Joseph Myers <joseph@codesourcery.com>
5953
5954 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
5955 bits not set bits as indicating trapping exceptions.
5956
5957 2014-09-17 Nathan sidwell <nathan@acm.org>
5958
5959 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
5960 (LIBGCOV_DRIVER): ... here.
5961 * libgcov-driver.c (gcov_master): New.
5962 (gcov_exit): Remove from master chain.
5963 (__gcov_init): Add to master chain if version compatible. Don't
5964 clear the version.
5965 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
5966 (gcov_reset_int): Clear master chain, if compatible.
5967 (gcov_dump_int): New internal interface. Dump master chain, if
5968 compatible.
5969 (gcov_dump): Alias for gcov_dump_int.
5970 * libgcov.h (struct gcov_root): Add next and prev fields.
5971 (struct gcov_master): New struct.
5972 (__gcov_master): New.
5973 (gcov_dump_int): Declare.
5974
5975 2014-09-17 Olivier Hainque <hainque@adacore.com>
5976
5977 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
5978 and crtbegin.o + crtend.o to extra_parts.
5979
5980 2014-09-12 Joseph Myers <joseph@codesourcery.com>
5981
5982 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
5983 __LIBGCC_HAS_SF_MODE__.
5984 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
5985 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
5986 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
5987 * config/libbid/bid_gcc_intrinsics.h
5988 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
5989 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
5990 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
5991 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
5992 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
5993 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
5994
5995 2014-09-11 Georg-Johann Lay <avr@gjlay.de>
5996
5997 PR target/63223
5998 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
5999 and R24 as needed. Make work for all devices and .text locations.
6000 (__do_global_ctors, __do_global_dtors): Use word addresses.
6001 (__tablejump__, __tablejump_elpm__): Remove functions.
6002 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
6003 Add _tablejump2.
6004 (XICALL, XIJMP): New macros.
6005
6006 2014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
6007 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
6008
6009 * config.host (aarch64*): Include crtfastmath.o and
6010 t-crtfm.
6011 * config/aarch64/crtfastmath.c: New file.
6012
6013 2014-09-08 Trevor Saunders <tsaunders@mozilla.com>
6014
6015 * config.host: Remove picochip support.
6016 * config/picochip/adddi3.S: Remove.
6017 * config/picochip/ashlsi3.S: Remove.
6018 * config/picochip/ashlsi3.c: Remove.
6019 * config/picochip/ashrsi3.S: Remove.
6020 * config/picochip/ashrsi3.c: Remove.
6021 * config/picochip/clzsi2.S: Remove.
6022 * config/picochip/cmpsi2.S: Remove.
6023 * config/picochip/divmod15.S: Remove.
6024 * config/picochip/divmodhi4.S: Remove.
6025 * config/picochip/divmodsi4.S: Remove.
6026 * config/picochip/lib1funcs.S: Remove.
6027 * config/picochip/longjmp.S: Remove.
6028 * config/picochip/lshrsi3.S: Remove.
6029 * config/picochip/lshrsi3.c: Remove.
6030 * config/picochip/parityhi2.S: Remove.
6031 * config/picochip/popcounthi2.S: Remove.
6032 * config/picochip/setjmp.S: Remove.
6033 * config/picochip/subdi3.S: Remove.
6034 * config/picochip/t-picochip: Remove.
6035 * config/picochip/ucmpsi2.S: Remove.
6036 * config/picochip/udivmodhi4.S: Remove.
6037 * config/picochip/udivmodsi4.S: Remove.
6038
6039 2014-09-08 Joseph Myers <joseph@codesourcery.com>
6040
6041 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
6042 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
6043 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
6044 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
6045 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
6046 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
6047 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
6048 defined and LIBGCC2_HAS_DF_MODE is defined.
6049 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
6050 defined and LIBGCC2_HAS_XF_MODE is defined.
6051 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
6052 defined and LIBGCC2_HAS_TF_MODE is defined.
6053
6054 2014-09-08 Joseph Myers <joseph@codesourcery.com>
6055
6056 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
6057 and ROUND_TOWARDS_ZERO conditionals.
6058
6059 2014-09-07 Nathan sidwell <nathan@acm.org>
6060
6061 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
6062 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
6063
6064 2014-09-05 Joseph Myers <joseph@codesourcery.com>
6065
6066 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
6067 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
6068 uses to __LIBGCC_STACK_POINTER_REGNUM__.
6069 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
6070 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6071 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
6072 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6073 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
6074 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
6075 (DWARF_FRAME_REGISTERS): Change all uses to
6076 __LIBGCC_DWARF_FRAME_REGISTERS__.
6077 (EH_RETURN_STACKADJ_RTX): Change all uses to
6078 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
6079 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
6080 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
6081 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
6082 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
6083 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
6084 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
6085 to __LIBGCC_EH_FRAME_SECTION_NAME__.
6086 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
6087 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
6088 __LIBGCC_STACK_POINTER_REGNUM__.
6089 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
6090 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6091 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
6092 to __LIBGCC_STACK_POINTER_REGNUM__.
6093 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
6094 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6095 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
6096 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6097 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
6098 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6099 (STACK_POINTER_REGNUM): Change all uses to
6100 __LIBGCC_STACK_POINTER_REGNUM__.
6101 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
6102 use to __LIBGCC_STACK_POINTER_REGNUM__.
6103 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
6104 uses to __LIBGCC_STACK_POINTER_REGNUM__.
6105 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
6106 to __LIBGCC_DWARF_FRAME_REGISTERS__.
6107 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
6108 to __LIBGCC_DWARF_FRAME_REGISTERS__.
6109 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
6110 to __LIBGCC_STACK_POINTER_REGNUM__.
6111 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
6112 Remove conditional definition.
6113 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
6114 __LIBGCC_TEXT_SECTION_ASM_OP__.
6115 (EH_FRAME_SECTION_NAME): Change all uses to
6116 __LIBGCC_EH_FRAME_SECTION_NAME__.
6117 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
6118 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
6119 (CTORS_SECTION_ASM_OP): Change all uses to
6120 __LIBGCC_CTORS_SECTION_ASM_OP__.
6121 (DTORS_SECTION_ASM_OP): Change all uses to
6122 __LIBGCC_DTORS_SECTION_ASM_OP__.
6123 (JCR_SECTION_NAME): Change all uses to
6124 __LIBGCC_JCR_SECTION_NAME__.
6125 (INIT_SECTION_ASM_OP): Change all uses to
6126 __LIBGCC_INIT_SECTION_ASM_OP__.
6127 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
6128 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
6129 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
6130 __LIBGCC_STACK_GROWS_DOWNWARD__.
6131 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
6132 __LIBGCC_INIT_SECTION_ASM_OP__.
6133 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
6134 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
6135 (EH_FRAME_SECTION_NAME): Change all uses to
6136 __LIBGCC_EH_FRAME_SECTION_NAME__.
6137 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
6138 definitions. Change all uses to
6139 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
6140 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
6141 __LIBGCC_STACK_GROWS_DOWNWARD__.
6142 (DWARF_FRAME_REGISTERS): Change all uses to
6143 __LIBGCC_DWARF_FRAME_REGISTERS__.
6144 (EH_RETURN_STACKADJ_RTX): Change all uses to
6145 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
6146 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
6147 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
6148 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
6149 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
6150 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
6151
6152 2014-09-02 Nathan sidwell <nathan@acm.org>
6153
6154 * libgcov-interface.c (STRONG_ALIAS): New.
6155 (__gcov_flush): Call __gcov_reset_int.
6156 (__gcov_reset): Strong alias for ...
6157 (__gcov_reset_ing): ... this renamed hidden version.
6158 * libgcov.h (__gcov_reset_int): New declaration.
6159
6160 2014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
6161
6162 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
6163 call from here...
6164 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
6165 (__dso_handle): Define on Cygwin.
6166 * config/i386/t-cygming (crtbeginS.o): New rule.
6167 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
6168
6169 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
6170 declaration syntax.
6171
6172 2014-08-13 Steve Ellcey <sellcey@mips.com>
6173
6174 * crtstuff.c: Undef caddr_t.
6175
6176 2014-08-12 Steve Ellcey <sellcey@mips.com>
6177
6178 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
6179
6180 2014-08-07 Nathan Sidwell <nathan@acm.org>
6181
6182 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
6183 (LIBGCOV_DRIVER): ... to here.
6184 * libgcov.h (gcov_do_dump): New #define.
6185 (struct gcov_root): New.
6186 (__gcov_root): New declaration.
6187 (__gcov_dump_one): Declare.
6188 * libgcov-driver.c (gcov_list, gcov_dump_complete,
6189 run_accounted): Delete.
6190 (gcov_compute_histogram): Add LIST argument, adjust.
6191 (compute_summary): Adjust gcov_compute_histogram call.
6192 (gcov_do_dump): Not hidden, static in libgcov.
6193 (gcov_clear): Move to interface.c.
6194 (__gcov_dump_one): New, broken out of ...
6195 (gcov_exit): ... here. Make static.
6196 (__gcov_root): New.
6197 (__gcov_init): Adjust.
6198 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
6199 declarations.
6200 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
6201 (gcov_clear): Moved from driver.c. Add LIST argument.
6202 (__gcov_reset): Adjust for changed interfaces.
6203 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
6204
6205 2014-08-04 Rohit <rohitarulraj@freescale.com>
6206
6207 PR target/60102
6208 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
6209 based on change in SPE high register numbers and 3 HTM registers.
6210
6211 2014-08-01 Nathan Sidwell <nathan@acm.org>
6212
6213 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
6214 LIBGCOV_INTERFACE): Reformat.
6215 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
6216 IN_GCOV_TOOL.
6217 * libgcov-interface.c: Reformat some comments.
6218 (__gcov_flush_mx): Add declaration. Tidy up definition.
6219
6220 2014-07-31 Alan Modra <amodra@gmail.com>
6221 Peter Bergner <bergner@vnet.ibm.com>
6222
6223 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
6224 (pack_ldouble): New function.
6225 (__gcc_qadd): Use it.
6226 (__gcc_qmul): Likewise.
6227 (__gcc_qdiv): Likewise.
6228 (__gcc_qneg): Likewise.
6229 (__gcc_stoq): Likewise.
6230 (__gcc_dtoq): Likewise.
6231
6232 2014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
6233
6234 * config/s390/tpf-unwind.h: Include <stdbool.h>.
6235 (__tpf_eh_return): Add original return address as second parameter.
6236 Handle cases where unwinder routines were called directly, instead
6237 of from within the C++ library.
6238
6239 2014-07-29 Nathan Sidwell <nathan@acm.org>
6240
6241 * libgcov.h: Move renaming of entry points to lib gcov specific
6242 portion.
6243 (gcov_do_dump): New rename.
6244 (gcov_rewrite): Remove inline, make HIDDEN.
6245 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
6246 (gcov_exit_compute_summary): Rename to ...
6247 (compute_summary): ... here. Add LIST argument.
6248 (gcov_exit_merge_gcda): Rename to ...
6249 (merge_one_data): ... here.
6250 (gcov_exit_write_gcda): Rename to ...
6251 (write_one_data): ... here.
6252 (gcov_exit_merge_summary): Rename to ...
6253 (merge_summary): Add RUN_COUNTED argument.
6254 (gcov_exit_dump_gcov): Rename to ...
6255 (dump_one_gcov): Add RUN_COUNTED argument.
6256 (gcov_do_dump): New function, broken out of ...
6257 (gcov_exit): ... here. Call it.
6258
6259 2014-07-27 Anthony Green <green@moxielogic.com>
6260
6261 * config.host: Add moxiebox configuration suppport.
6262
6263 2014-07-27 Nathan Sidwell <nathan@acm.org>
6264
6265 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
6266 (struct gcov_filename): ... here. Include buffer and max length
6267 fields.
6268 (gcov_max_filename): Remove.
6269 (gi_filename): Remove.
6270 (gcov_exit_compute_summary): Compute max filename here.
6271 (gcov_exit_merge_gcda): Add filename parm, adjust.
6272 (gcov_exit_merge_summary): Likewise.
6273 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
6274 (gcov_exit): Likewise.
6275 (__gcov_init): Don't calculate max length here.
6276 * libgcov_util.c (max_filename_len): Remove.
6277 (read_gcda_file): Don't calculate max length here.
6278 (gcov_read_profile_dir): Don't propagate here.
6279 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
6280 struct gcov_filename changes.
6281 (gcov_exit_open_gcda_file): Likewise.
6282
6283 2014-07-25 Nathan Sidwell <nathan@acm.org>
6284
6285 * libgcov-driver.c (set_gcov_dump_complete,
6286 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
6287 functions polluting user's namespace.
6288 (gcov_exit): Set variable directly.
6289 (gcov_clear): Reset variable directly.
6290 * libgcov-interface.c (get_gcov_dymp_complete,
6291 reset_gov_dump_complete): Remove declarations.
6292 (__gcov_reset, __gcov_dump): Don't call them.
6293
6294 2014-07-24 DJ Delorie <dj@redhat.com>
6295
6296 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
6297 (__gcc_deregister_frame): Move logic to detect deregister function
6298 to ...
6299 (__gcc_register_frame): here, so it's consistent with the register
6300 logic.
6301
6302 2014-07-23 Nathan Sidwell <nathan@acm.org>
6303
6304 * libgcov-driver.c (set_gcov_list): Remove.
6305 (gcov_list): Make non-static in GCOV_TOOL.
6306 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
6307
6308 2014-07-17 John David Anglin <danglin@gcc.gnu.org>
6309
6310 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
6311 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
6312 Don't use SYNC_LOCK_RELEASE for int type.
6313
6314 2014-07-14 Richard Biener <rguenther@suse.de>
6315
6316 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
6317
6318 2014-07-11 Rong Xu <xur@google.com>
6319
6320 * libgcov-util.c (gcov_max_filename): Fix declartion.
6321
6322 2014-07-10 Rong Xu <xur@google.com>
6323
6324 Add gcov-tool: an offline gcda profile processing tool
6325 Support.
6326 * libgcov-driver.c (gcov_max_filename): Make available
6327 to gcov-tool.
6328 * libgcov-merge.c (__gcov_merge_add): Replace
6329 gcov_read_counter() with a Macro.
6330 (__gcov_merge_ior): Ditto.
6331 (__gcov_merge_time_profile): Ditto.
6332 (__gcov_merge_single): Ditto.
6333 (__gcov_merge_delta): Ditto.
6334 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
6335 in the utility functions.
6336 (set_fn_ctrs): Utility function for reading gcda files to in-memory
6337 gcov_list object link lists.
6338 (tag_function): Ditto.
6339 (tag_blocks): Ditto.
6340 (tag_arcs): Ditto.
6341 (tag_lines): Ditto.
6342 (tag_counters): Ditto.
6343 (tag_summary): Ditto.
6344 (read_gcda_finalize): Ditto.
6345 (read_gcda_file): Ditto.
6346 (ftw_read_file): Ditto.
6347 (read_profile_dir_init): Ditto.
6348 (gcov_read_profile_dir): Ditto.
6349 (gcov_read_counter_mem): Ditto.
6350 (gcov_get_merge_weight): Ditto.
6351 (merge_wrapper): A wrapper function that calls merging handler.
6352 (gcov_merge): Merge two gcov_info objects with weights.
6353 (find_match_gcov_info): Find the matched gcov_info in the list.
6354 (gcov_profile_merge): Merge two gcov_info object lists.
6355 (__gcov_add_counter_op): Process edge profile counter values.
6356 (__gcov_ior_counter_op): Process IOR profile counter values.
6357 (__gcov_delta_counter_op): Process delta profile counter values.
6358 (__gcov_single_counter_op): Process single profile counter values.
6359 (fp_scale): Callback function for float-point scaling.
6360 (int_scale): Callback function for integer fraction scaling.
6361 (gcov_profile_scale): Scaling profile counters.
6362 (gcov_profile_normalize): Normalize profile counters.
6363 * libgcov.h: Add headers and functions for gcov-tool use.
6364 (gcov_get_counter): New.
6365 (gcov_get_counter_target): Ditto.
6366 (struct gcov_info): Make the functions field mutable in gcov-tool
6367 compilation.
6368
6369 2014-06-23 Kai Tietz <ktietz@redhat.com>
6370
6371 PR libgcc/61585
6372 * unwind-seh.c (_Unwind_GetGR): Check for proper
6373 index range.
6374 (_Unwind_SetGR): Likewise.
6375
6376 2014-05-22 Nick Clifton <nickc@redhat.com>
6377
6378 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
6379 -mhwmult=none.
6380
6381 2014-05-22 Teresa Johnson <tejohnson@google.com>
6382
6383 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
6384 include.
6385
6386 2014-05-20 John Marino <gnugcc@marino.st>
6387
6388 * config.host (*-*-dragonfly*): New target.
6389 * crtstuff.c: Make dl_iterate_support generic on *bsd.
6390 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
6391 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
6392 * config/i386/dragonfly-unwind.h: New.
6393
6394 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
6395
6396 PR libgcc/60166
6397 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
6398 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
6399
6400 2014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
6401
6402 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
6403 implementation.
6404
6405 2014-05-12 Georg-Johann Lay <avr@gjlay.de>
6406
6407 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
6408
6409 2014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6410
6411 PR libgcc/61097
6412 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
6413 if --enable-shared.
6414
6415 2014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
6416
6417 Work around for current cygwin32 build problems.
6418 * config/i386/cygming-crtbegin.c (__register_frame_info,
6419 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
6420 functions only for 64-bit systems.
6421
6422 2014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6423
6424 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
6425 (sigill_caught, sigill_hdlr): Remove.
6426
6427 2014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6428
6429 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
6430 check.
6431 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
6432 Solaris 9 single-threaded support.
6433 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
6434 Solaris 9 single-threaded support. Add call_user_handler code
6435 sequences.
6436 (sparc_is_sighandler): Likewise.
6437
6438 2014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6439
6440 * config.host: Append t-floattodi to tmake_file depending on
6441 host_address.
6442
6443 2014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
6444
6445 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
6446
6447 2014-03-10 Uros Bizjak <ubizjak@gmail.com>
6448
6449 PR libgcc/60472
6450 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
6451 variable to avoid "array subscript is above array bounds" warnings.
6452 Use __builtin_expect when checking *jcr_list for NULL.
6453
6454 2014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6455
6456 PR libgcc/59339
6457 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
6458 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
6459 vtv_*.o to extra_parts if enable_vtable_verify.
6460
6461 2014-03-06 Nick Clifton <nickc@redhat.com>
6462
6463 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
6464 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
6465
6466 2014-02-28 Joey Ye <joey.ye@arm.com>
6467
6468 PR libgcc/60166
6469 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
6470 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
6471 Set to zero.
6472
6473 2014-02-24 Walter Lee <walt@tilera.com>
6474
6475 * config.host: Support "tilegx*" and "tilepro*" triplets.
6476 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
6477 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
6478
6479 2014-02-20 Sandra Loosemore <sandra@codesourcery.com>
6480 Chung-Lin Tang <cltang@codesourcery.com>
6481
6482 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
6483 * config/nios2/crti.S: Remove .file directive.
6484 * config/nios2/crtn.S: Likewise.
6485
6486 2014-02-18 Kai Tietz <ktietz@redhat.com>
6487 Jonathan Schleifer <js@webkeks.org>
6488
6489 PR objc/56870
6490 * unwind-seh.c (_GCC_specific_handler): Pass proper
6491 value to unwind-handler.
6492
6493 2014-02-12 Joseph Myers <joseph@codesourcery.com>
6494
6495 * soft-fp/adddf3.c: Update from glibc.
6496 * soft-fp/addsf3.c: Likewise.
6497 * soft-fp/addtf3.c: Likewise.
6498 * soft-fp/divdf3.c: Likewise.
6499 * soft-fp/divsf3.c: Likewise.
6500 * soft-fp/divtf3.c: Likewise.
6501 * soft-fp/double.h: Likewise.
6502 * soft-fp/eqdf2.c: Likewise.
6503 * soft-fp/eqsf2.c: Likewise.
6504 * soft-fp/eqtf2.c: Likewise.
6505 * soft-fp/extenddftf2.c: Likewise.
6506 * soft-fp/extended.h: Likewise.
6507 * soft-fp/extendsfdf2.c: Likewise.
6508 * soft-fp/extendsftf2.c: Likewise.
6509 * soft-fp/extendxftf2.c: Likewise.
6510 * soft-fp/fixdfdi.c: Likewise.
6511 * soft-fp/fixdfsi.c: Likewise.
6512 * soft-fp/fixdfti.c: Likewise.
6513 * soft-fp/fixsfdi.c: Likewise.
6514 * soft-fp/fixsfsi.c: Likewise.
6515 * soft-fp/fixsfti.c: Likewise.
6516 * soft-fp/fixtfdi.c: Likewise.
6517 * soft-fp/fixtfsi.c: Likewise.
6518 * soft-fp/fixtfti.c: Likewise.
6519 * soft-fp/fixunsdfdi.c: Likewise.
6520 * soft-fp/fixunsdfsi.c: Likewise.
6521 * soft-fp/fixunsdfti.c: Likewise.
6522 * soft-fp/fixunssfdi.c: Likewise.
6523 * soft-fp/fixunssfsi.c: Likewise.
6524 * soft-fp/fixunssfti.c: Likewise.
6525 * soft-fp/fixunstfdi.c: Likewise.
6526 * soft-fp/fixunstfsi.c: Likewise.
6527 * soft-fp/fixunstfti.c: Likewise.
6528 * soft-fp/floatdidf.c: Likewise.
6529 * soft-fp/floatdisf.c: Likewise.
6530 * soft-fp/floatditf.c: Likewise.
6531 * soft-fp/floatsidf.c: Likewise.
6532 * soft-fp/floatsisf.c: Likewise.
6533 * soft-fp/floatsitf.c: Likewise.
6534 * soft-fp/floattidf.c: Likewise.
6535 * soft-fp/floattisf.c: Likewise.
6536 * soft-fp/floattitf.c: Likewise.
6537 * soft-fp/floatundidf.c: Likewise.
6538 * soft-fp/floatundisf.c: Likewise.
6539 * soft-fp/floatunditf.c: Likewise.
6540 * soft-fp/floatunsidf.c: Likewise.
6541 * soft-fp/floatunsisf.c: Likewise.
6542 * soft-fp/floatunsitf.c: Likewise.
6543 * soft-fp/floatuntidf.c: Likewise.
6544 * soft-fp/floatuntisf.c: Likewise.
6545 * soft-fp/floatuntitf.c: Likewise.
6546 * soft-fp/gedf2.c: Likewise.
6547 * soft-fp/gesf2.c: Likewise.
6548 * soft-fp/getf2.c: Likewise.
6549 * soft-fp/ledf2.c: Likewise.
6550 * soft-fp/lesf2.c: Likewise.
6551 * soft-fp/letf2.c: Likewise.
6552 * soft-fp/muldf3.c: Likewise.
6553 * soft-fp/mulsf3.c: Likewise.
6554 * soft-fp/multf3.c: Likewise.
6555 * soft-fp/negdf2.c: Likewise.
6556 * soft-fp/negsf2.c: Likewise.
6557 * soft-fp/negtf2.c: Likewise.
6558 * soft-fp/op-1.h: Likewise.
6559 * soft-fp/op-2.h: Likewise.
6560 * soft-fp/op-4.h: Likewise.
6561 * soft-fp/op-8.h: Likewise.
6562 * soft-fp/op-common.h: Likewise.
6563 * soft-fp/quad.h: Likewise.
6564 * soft-fp/single.h: Likewise.
6565 * soft-fp/soft-fp.h: Likewise.
6566 * soft-fp/subdf3.c: Likewise.
6567 * soft-fp/subsf3.c: Likewise.
6568 * soft-fp/subtf3.c: Likewise.
6569 * soft-fp/truncdfsf2.c: Likewise.
6570 * soft-fp/trunctfdf2.c: Likewise.
6571 * soft-fp/trunctfsf2.c: Likewise.
6572 * soft-fp/trunctfxf2.c: Likewise.
6573 * soft-fp/unorddf2.c: Likewise.
6574 * soft-fp/unordsf2.c: Likewise.
6575 * soft-fp/unordtf2.c: Likewise.
6576 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
6577 macro.
6578 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6579 Likewise.
6580 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6581 Likewise.
6582 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6583 Likewise.
6584 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6585 Likewise.
6586 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6587 Likewise.
6588 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6589 Likewise.
6590 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6591 Likewise.
6592 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6593 Likewise.
6594 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6595 Likewise.
6596 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6597 Likewise.
6598 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6599 Likewise.
6600 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6601 Likewise.
6602 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
6603 Likewise.
6604 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
6605 Likewise.
6606 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6607 Likewise.
6608
6609 2014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6610
6611 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
6612 cannot be represented.
6613 * config/s390/32/_fixsfdi.c: Likewise.
6614 * config/s390/32/_fixtfdi.c: Likewise.
6615 * config/s390/32/_fixunsdfdi.c: Likewise.
6616 * config/s390/32/_fixunssfdi.c: Likewise.
6617 * config/s390/32/_fixunstfdi.c: Likewise.
6618
6619 2014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
6620
6621 * configure.ac (libgcc_cv_mips_hard_float): New.
6622 * configure: Regenerate.
6623 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
6624 t-softfp-sfdf for hard-float targets.
6625 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
6626 (softfp_float_modes, softfp_int_modes, softfp_extensions)
6627 (softfp_truncations, softfp_exclude_libgcc2): New.
6628 * config/t-hardfp: New file.
6629 * config/t-hardfp-sfdf: Likewise.
6630 * config/hardfp.c: Likewise.
6631
6632 2014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6633
6634 * config.host: Include t-floattodi also for s390x.
6635 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
6636 * config/s390/32/_fixsfdi.c: Likewise.
6637 * config/s390/32/_fixtfdi.c: Likewise.
6638 * config/s390/32/_fixunsdfdi.c: Likewise.
6639 * config/s390/32/_fixunssfdi.c: Likewise.
6640 * config/s390/32/_fixunstfdi.c: Likewise.
6641
6642 2014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6643
6644 PR target/59788
6645 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
6646 (install-libgcc-unwind-map-forbuild): New target.
6647 (all): Depend on install-libgcc-unwind-map-forbuild.
6648 (install-libgcc-unwind-map): New target.
6649 (install): Depend on install-libgcc-unwind-map.
6650
6651 2014-02-02 Sandra Loosemore <sandra@codesourcery.com>
6652
6653 * config/nios2/crti.S (_init): Initialize GOT pointer from
6654 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
6655
6656 2014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
6657
6658 * configure.ac: Check __mips64 when setting host_address.
6659 * configure: Regenerate.
6660 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
6661 mips/t-mips64 and t-softfp.
6662 (mips*-*-linux*): Don't add mips/t-tpbit.
6663 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
6664 (DPBIT, DPBIT_CFLAGS): Delete.
6665 * config/mips/sfp-machine.h: New file.
6666 * config/mips/t-mips64: Likewise.
6667 * config/mips/t-softfp-tf: Likewise.
6668 * config/mips/t-tpbit: Delete.
6669
6670 2014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
6671
6672 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
6673 as long long.
6674
6675 2014-01-25 Walter Lee <walt@tilera.com>
6676
6677 * config/tilepro/atomic.c: Include tconfig.h. Don't include
6678 config.h or system.h.
6679 (bool) Define.
6680
6681 2014-01-25 Walter Lee <walt@tilera.com>
6682
6683 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
6684 (post_atomic_barrier): Ditto.
6685 (__fetch_and_do): New macro.
6686 (__atomic_fetch_and_do): Use __fetch_and_do.
6687 (__sync_fetch_and_do): New macro.
6688 (__sync_fetch_and_add_4): New function.
6689 (__sync_fetch_and_sub_4): New function.
6690 (__sync_fetch_and_or_4): New function.
6691 (__sync_fetch_and_and_4): New function.
6692 (__sync_fetch_and_xor_4): New function.
6693 (__sync_fetch_and_nand_4): New function.
6694 (__sync_fetch_and_add_8): New function.
6695 (__sync_fetch_and_sub_8): New function.
6696 (__sync_fetch_and_or_8): New function.
6697 (__sync_fetch_and_and_8): New function.
6698 (__sync_fetch_and_xor_8): New function.
6699 (__sync_fetch_and_nand_8): New function.
6700 (__do_and_fetch): New macro.
6701 (__atomic_do_and_fetch): Use __do_and_fetch.
6702 (__sync_do_and_fetch): New macro.
6703 (__sync_add_and_fetch_4): New function.
6704 (__sync_sub_and_fetch_4): New function.
6705 (__sync_or_and_fetch_4): New function.
6706 (__sync_and_and_fetch_4): New function.
6707 (__sync_xor_and_fetch_4): New function.
6708 (__sync_nand_and_fetch_4): New function.
6709 (__sync_add_and_fetch_8): New function.
6710 (__sync_sub_and_fetch_8): New function.
6711 (__sync_or_and_fetch_8): New function.
6712 (__sync_and_and_fetch_8): New function.
6713 (__sync_xor_and_fetch_8): New function.
6714 (__sync_nand_and_fetch_8): New function.
6715 (__sync_exchange_methods): New macro.
6716 (__sync_val_compare_and_swap_4): New function.
6717 (__sync_bool_compare_and_swap_4): New function.
6718 (__sync_lock_test_and_test_4): New function.
6719 (__sync_val_compare_and_swap_8): New function.
6720 (__sync_bool_compare_and_swap_8): New function.
6721 (__sync_lock_test_and_test_8): New function.
6722 (__subword_cmpxchg_body): New macro.
6723 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
6724 (__atomic_compare_exchange_2): Ditto.
6725 (__sync_subword_cmpxchg): New macro.
6726 (__sync_val_compare_and_swap_1): New function.
6727 (__sync_bool_compare_and_swap_1): New function.
6728 (__sync_val_compare_and_swap_2): New function.
6729 (__sync_bool_compare_and_swap_2): New function.
6730 (__atomic_subword): Rename to ...
6731 (__subword): ... New name.
6732 (__atomic_subword_fetch): Use __subword.
6733 (__sync_subword_fetch): New macro.
6734 (__sync_fetch_and_add_1): New function.
6735 (__sync_fetch_and_sub_1): New function.
6736 (__sync_fetch_and_or_1): New function.
6737 (__sync_fetch_and_and_1): New function.
6738 (__sync_fetch_and_xor_1): New function.
6739 (__sync_fetch_and_nand_1): New function.
6740 (__sync_fetch_and_add_2): New function.
6741 (__sync_fetch_and_sub_2): New function.
6742 (__sync_fetch_and_or_2): New function.
6743 (__sync_fetch_and_and_2): New function.
6744 (__sync_fetch_and_xor_2): New function.
6745 (__sync_fetch_and_nand_2): New function.
6746 (__sync_add_and_fetch_1): New function.
6747 (__sync_sub_and_fetch_1): New function.
6748 (__sync_or_and_fetch_1): New function.
6749 (__sync_and_and_fetch_1): New function.
6750 (__sync_xor_and_fetch_1): New function.
6751 (__sync_nand_and_fetch_1): New function.
6752 (__sync_add_and_fetch_2): New function.
6753 (__sync_sub_and_fetch_2): New function.
6754 (__sync_or_and_fetch_2): New function.
6755 (__sync_and_and_fetch_2): New function.
6756 (__sync_xor_and_fetch_2): New function.
6757 (__sync_nand_and_fetch_2): New function.
6758 (__atomic_subword_lock): Use __subword.
6759 (__sync_subword_lock): New macro.
6760 (__sync_lock_test_and_set_1): New function.
6761 (__sync_lock_test_and_set_2): New function.
6762
6763 2014-01-25 Walter Lee <walt@tilera.com>
6764
6765 * config/tilepro/atomic.c (BIT_OFFSET): Define.
6766 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
6767 (__atomic_subword): Ditto.
6768
6769 2014-01-25 Walter Lee <walt@tilera.com>
6770
6771 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
6772 a prefix op argument.
6773 (__atomic_nand_fetch_4): Add prefix op.
6774 (__atomic_nand_fetch_8): Ditto.
6775
6776 2014-01-21 Baruch Siach <barch@tkos.co.il>
6777
6778 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
6779
6780 2014-01-09 Rong Xu <xur@google.com>
6781
6782 * libgcov-driver.c (this_prg): make it local to save
6783 bss space.
6784 (gcov_exit_compute_summary): Ditto.
6785 (gcov_exit_merge_gcda): Ditto.
6786 (gcov_exit_merge_summary): Ditto.
6787 (gcov_exit_dump_gcov): Ditto.
6788
6789 2014-01-08 Rong Xu <xur@google.com>
6790
6791 * libgcov-driver.c: Use libgcov.h.
6792 (buffer_fn_data): Use xmalloc instead of malloc.
6793 (gcov_exit_merge_gcda): Ditto.
6794 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
6795 * libgcov.h: New common header files for libgcov-*.h.
6796 * libgcov-interface.c: Use libgcov.h
6797 * libgcov-merge.c: Ditto.
6798 * libgcov-profiler.c: Ditto.
6799 * Makefile.in: Add dependence to libgcov.h
6800
6801 2014-01-02 Joseph Myers <joseph@codesourcery.com>
6802
6803 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
6804 case of small numerator and finite nonzero result.
6805
6806 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
6807
6808 Update copyright years
6809
6810 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
6811
6812 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
6813 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
6814 config/arc/dp-hack.h, config/arc/fp-hack.h,
6815 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
6816 config/arc/ieee-754/arc600-dsp/divdf3.S,
6817 config/arc/ieee-754/arc600-dsp/divsf3.S,
6818 config/arc/ieee-754/arc600-dsp/muldf3.S,
6819 config/arc/ieee-754/arc600-dsp/mulsf3.S,
6820 config/arc/ieee-754/arc600-mul64/divdf3.S,
6821 config/arc/ieee-754/arc600-mul64/divsf3.S,
6822 config/arc/ieee-754/arc600-mul64/muldf3.S,
6823 config/arc/ieee-754/arc600-mul64/mulsf3.S,
6824 config/arc/ieee-754/arc600/divsf3.S,
6825 config/arc/ieee-754/arc600/mulsf3.S,
6826 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
6827 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
6828 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
6829 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
6830 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
6831 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
6832 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
6833 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
6834 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
6835 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
6836 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
6837 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
6838 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
6839 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
6840 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
6841 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
6842 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
6843 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
6844 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
6845 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
6846 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
6847 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
6848 vtv_start_preinit.c: Use the standard form for the copyright notice.
6849
6850 2013-12-31 Sandra Loosemore <sandra@codesourcery.com>
6851 Chung-Lin Tang <cltang@codesourcery.com>
6852 Based on patches from Altera Corporation
6853
6854 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
6855 * config/nios2/lib2-nios2.h: New file.
6856 * config/nios2/lib2-divmod-hi.c: New file.
6857 * config/nios2/linux-unwind.h: New file.
6858 * config/nios2/lib2-divmod.c: New file.
6859 * config/nios2/linux-atomic.c: New file.
6860 * config/nios2/t-nios2: New file.
6861 * config/nios2/crti.asm: New file.
6862 * config/nios2/t-linux: New file.
6863 * config/nios2/lib2-divtable.c: New file.
6864 * config/nios2/lib2-mul.c: New file.
6865 * config/nios2/tramp.c: New file.
6866 * config/nios2/crtn.asm: New file.
6867
6868 2013-12-26 Uros Bizjak <ubizjak@gmail.com>
6869
6870 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
6871 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
6872 from cpuid.h to check vendor signatures.
6873
6874 2013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
6875
6876 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
6877 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
6878 (get_amd_cpu): Likewise.
6879
6880 2013-12-25 H.J. Lu <hongjiu.lu@intel.com>
6881
6882 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
6883 Haswell.
6884
6885 2013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
6886 H.J. Lu <hongjiu.lu@intel.com>
6887
6888 PR target/59422
6889 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
6890 and AMD_JAGUAR.
6891 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
6892 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
6893 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
6894 FEATURE_XOP and FEATURE_FMA.
6895 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
6896 AMDFAM15H_BDVER3.
6897 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
6898 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
6899 FEATURE_FMA4 and FEATURE_XOP.
6900
6901 2013-12-23 H.J. Lu <hongjiu.lu@intel.com>
6902
6903 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
6904 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
6905 (get_intel_cpu): Updated.
6906
6907 2013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
6908
6909 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
6910
6911 2013-12-09 Uros Bizjak <ubizjak@gmail.com>
6912
6913 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
6914 instructions when __SSE_MATH__ is defined.
6915
6916 2013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
6917
6918 * config.host (microblaze-*-rtems*): New.
6919
6920 2013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
6921
6922 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
6923 architectures that do not have hardware divide instruction.
6924 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
6925
6926 2013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
6927
6928 * longlong.h: Delete (moved to include/).
6929
6930 2013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6931
6932 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
6933 of normal number and qNaN to not raise an inexact exception.
6934
6935 2013-11-28 Uros Bizjak <ubizjak@gmail.com>
6936
6937 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
6938
6939 2013-11-28 Matthew Leach <matthew.leach@arm.com>
6940
6941 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
6942 for correct opcodes on BE.
6943
6944 2013-11-27 Uros Bizjak <ubizjak@gmail.com>
6945
6946 * soft-fp/op-4.h: Update from glibc.
6947
6948 2013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
6949
6950 * libgcc2.c (__udivmoddi4): Define new implementation when
6951 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
6952 divide instructions.
6953
6954 2013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
6955
6956 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
6957
6958 2013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6959
6960 * config/t-softfp (soft-fp-objects-base): New variable.
6961 (soft-fp-objects): Use it.
6962
6963 2013-11-23 David Edelson <dje.gcc@gmail.com>
6964 Andrew Dixie <andrewd@gentrack.com>
6965
6966 PR target/33704
6967 * config/rs6000/aixinitfini.c: New file.
6968 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
6969 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
6970 symbols.
6971
6972 2013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
6973
6974 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
6975
6976 2013-11-18 Jan Hubicka <jh@suse.cz>
6977
6978 * libgcov-driver.c (run_accounted): Make global level static.
6979 (gcov_exit_merge_summary): Silence warning; do not clear
6980 run_accounted here.
6981 (gcov_exit): Clear it here.
6982
6983 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
6984 run_accounted.
6985
6986 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
6987 (all_prg, crc32): Remove static vars.
6988 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
6989 all_prg.
6990 (gcov_exit_merge_gcda): Add crc32 parameter.
6991 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
6992 do not account run if it was already accounted.
6993 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
6994 (gcov_exit): Initialize all_prg; update.
6995
6996 2013-11-15 Andreas Schwab <schwab@linux-m68k.org>
6997
6998 * configure: Regenerate.
6999
7000 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7001 Alan Modra <amodra@gmail.com>
7002
7003 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
7004 (frob_update_context): Use it.
7005
7006 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7007 Alan Modra <amodra@gmail.com>
7008
7009 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
7010 (trampoline_initial): Provide ELFv2 variant.
7011 (__trampoline_setup): Likewise.
7012
7013 * config/rs6000/linux-unwind.h (frob_update_context): Do not
7014 check for AIX indirect function call sequence if _CALL_ELF == 2.
7015
7016 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7017 Alan Modra <amodra@gmail.com>
7018
7019 * config/rs6000/linux-unwind.h (get_regs): Do not support
7020 old kernel versions if _CALL_ELF == 2.
7021 (frob_update_context): Do not support PLT stub variants only
7022 generated by old linkers if _CALL_ELF == 2.
7023
7024 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7025 Alan Modra <amodra@gmail.com>
7026
7027 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
7028 location of CR save area for 64-bit little-endian systems.
7029
7030 2013-11-11 Eric Botcazou <ebotcazou@adacore.com>
7031
7032 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
7033 in tmake_file.
7034 * config/arm/t-vxworks: Delete.
7035
7036 2013-11-10 Kai Tietz <ktietz@redhat.com>
7037
7038 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
7039 Increment load-count on use of LIBGCC_SONAME DLL.
7040 (hmod_libgcc): New static variable to hold handle of
7041 LIBGCC_SONAME DLL.
7042 (__gcc_deregister_frame): Decrement load-count of
7043 LIBGCC_SONAME DLL.
7044
7045 2013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
7046
7047 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
7048 availability.
7049 * configure: Regenerate
7050
7051 2013-11-07 Uros Bizjak <ubizjak@gmail.com>
7052
7053 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
7054 FP_EX_DENORM. Store result to volatile location after SSE division
7055 to close interrupt window. Remove unneeded fwait after x87
7056 division since interrupt window will be closed by emitted fstp.
7057 Rewrite FP_EX_INEXACT handling.
7058
7059 2013-11-06 Joseph Myers <joseph@codesourcery.com>
7060
7061 * soft-fp/README: Update.
7062 * soft-fp/adddf3.c: Update from glibc.
7063 * soft-fp/addsf3.c: Likewise.
7064 * soft-fp/addtf3.c: Likewise.
7065 * soft-fp/divdf3.c: Likewise.
7066 * soft-fp/divsf3.c: Likewise.
7067 * soft-fp/divtf3.c: Likewise.
7068 * soft-fp/double.h: Likewise.
7069 * soft-fp/eqdf2.c: Likewise.
7070 * soft-fp/eqsf2.c: Likewise.
7071 * soft-fp/eqtf2.c: Likewise.
7072 * soft-fp/extenddftf2.c: Likewise.
7073 * soft-fp/extended.h: Likewise.
7074 * soft-fp/extendsfdf2.c: Likewise.
7075 * soft-fp/extendsftf2.c: Likewise.
7076 * soft-fp/extendxftf2.c: Likewise.
7077 * soft-fp/fixdfdi.c: Likewise.
7078 * soft-fp/fixdfsi.c: Likewise.
7079 * soft-fp/fixdfti.c: Likewise.
7080 * soft-fp/fixsfdi.c: Likewise.
7081 * soft-fp/fixsfsi.c: Likewise.
7082 * soft-fp/fixsfti.c: Likewise.
7083 * soft-fp/fixtfdi.c: Likewise.
7084 * soft-fp/fixtfsi.c: Likewise.
7085 * soft-fp/fixtfti.c: Likewise.
7086 * soft-fp/fixunsdfdi.c: Likewise.
7087 * soft-fp/fixunsdfsi.c: Likewise.
7088 * soft-fp/fixunsdfti.c: Likewise.
7089 * soft-fp/fixunssfdi.c: Likewise.
7090 * soft-fp/fixunssfsi.c: Likewise.
7091 * soft-fp/fixunssfti.c: Likewise.
7092 * soft-fp/fixunstfdi.c: Likewise.
7093 * soft-fp/fixunstfsi.c: Likewise.
7094 * soft-fp/fixunstfti.c: Likewise.
7095 * soft-fp/floatdidf.c: Likewise.
7096 * soft-fp/floatdisf.c: Likewise.
7097 * soft-fp/floatditf.c: Likewise.
7098 * soft-fp/floatsidf.c: Likewise.
7099 * soft-fp/floatsisf.c: Likewise.
7100 * soft-fp/floatsitf.c: Likewise.
7101 * soft-fp/floattidf.c: Likewise.
7102 * soft-fp/floattisf.c: Likewise.
7103 * soft-fp/floattitf.c: Likewise.
7104 * soft-fp/floatundidf.c: Likewise.
7105 * soft-fp/floatundisf.c: Likewise.
7106 * soft-fp/floatunditf.c: Likewise.
7107 * soft-fp/floatunsidf.c: Likewise.
7108 * soft-fp/floatunsisf.c: Likewise.
7109 * soft-fp/floatunsitf.c: Likewise.
7110 * soft-fp/floatuntidf.c: Likewise.
7111 * soft-fp/floatuntisf.c: Likewise.
7112 * soft-fp/floatuntitf.c: Likewise.
7113 * soft-fp/gedf2.c: Likewise.
7114 * soft-fp/gesf2.c: Likewise.
7115 * soft-fp/getf2.c: Likewise.
7116 * soft-fp/ledf2.c: Likewise.
7117 * soft-fp/lesf2.c: Likewise.
7118 * soft-fp/letf2.c: Likewise.
7119 * soft-fp/muldf3.c: Likewise.
7120 * soft-fp/mulsf3.c: Likewise.
7121 * soft-fp/multf3.c: Likewise.
7122 * soft-fp/negdf2.c: Likewise.
7123 * soft-fp/negsf2.c: Likewise.
7124 * soft-fp/negtf2.c: Likewise.
7125 * soft-fp/op-1.h: Likewise.
7126 * soft-fp/op-2.h: Likewise.
7127 * soft-fp/op-4.h: Likewise.
7128 * soft-fp/op-8.h: Likewise.
7129 * soft-fp/op-common.h: Likewise.
7130 * soft-fp/quad.h: Likewise.
7131 * soft-fp/single.h: Likewise.
7132 * soft-fp/soft-fp.h: Likewise.
7133 * soft-fp/subdf3.c: Likewise.
7134 * soft-fp/subsf3.c: Likewise.
7135 * soft-fp/subtf3.c: Likewise.
7136 * soft-fp/truncdfsf2.c: Likewise.
7137 * soft-fp/trunctfdf2.c: Likewise.
7138 * soft-fp/trunctfsf2.c: Likewise.
7139 * soft-fp/trunctfxf2.c: Likewise.
7140 * soft-fp/unorddf2.c: Likewise.
7141 * soft-fp/unordsf2.c: Likewise.
7142 * soft-fp/unordtf2.c: Likewise.
7143
7144 2013-11-05 Uros Bizjak <ubizjak@gmail.com>
7145
7146 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
7147 (_FP_MUL_MEAT_D): Ditto.
7148 (_FP_DIV_MEAT_S): Ditto.
7149 (_FP_DIV_MEAT_D): Ditto.
7150 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
7151 t-softfp-sfdf and t-softfp to tmake_file.
7152
7153 2013-11-03 Uros Bizjak <ubizjak@gmail.com>
7154
7155 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
7156 * config/i386/crtprec.c: Ditto.
7157
7158 2013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
7159 Shiva Chen <shiva0217@gmail.com>
7160
7161 * config.host (nds32*-elf*): Add nds32 target.
7162 * config/nds32 : New directory and files.
7163
7164 2013-10-16 Hans-Peter Nilsson <hp@axis.com>
7165
7166 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
7167 * config.host (cpu_type) <Setting default>: Add entry for
7168 crisv32-*-*.
7169 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
7170 <crisv32-*-linux*>: Adjust.
7171 * longlong.h: Wrap the whole CRIS section in a single
7172 defined(__CRIS__) conditional. Add comment about add_ssaaaa
7173 and sub_ddmmss.
7174 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
7175 defined.
7176 [__CRIS__] (__umulsidi3): Define.
7177 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
7178 * config/cris/sfp-machine.h: New file.
7179 * config/cris/umulsidi3.S: New file.
7180 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
7181 * config/cris/arit.c (SIGNMULT): New macro.
7182 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
7183 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
7184 saving 3 out of originally 33 cycles from the fastest
7185 path, 3 out of 54 from the medium path and one from the longest
7186 path. Improve comments.
7187
7188 2013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
7189
7190 * sync.c: Remove static aliases and define each function directly
7191 under its real name.
7192
7193 2013-10-02 John David Anglin <danglin@gcc.gnu.org>
7194
7195 * config.host (hppa*64*-*-linux*): Define extra_parts.
7196 (hppa*-*-linux*): Likewise.
7197
7198 2013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
7199
7200 * config/arc/crtgend.S: Add 2013 to Copyright years.
7201 * config/arc/gmon/atomic.h: Likewise.
7202 * config/arc/gmon/auxreg.h: Likewise.
7203 * config/arc/gmon/sys/gmon_out.h: Likewise.
7204 * config/arc/gmon/sys/gmon.h: Likewise.
7205 * config/arc/gmon/prof-freq.c: Likewise.
7206 * config/arc/gmon/mcount.c: Likewise.
7207 * config/arc/gmon/prof-freq-stub.S: Likewise.
7208 * config/arc/gmon/gmon.c: Likewise.
7209 * config/arc/gmon/machine-gmon.h: Likewise.
7210 * config/arc/gmon/profil.S: Likewise.
7211 * config/arc/gmon/dcache_linesz.S: Likewise.
7212 * config/arc/crtg.S: Likewise.
7213 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
7214 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
7215 * config/arc/ieee-754/adddf3.S: Likewise.
7216 * config/arc/ieee-754/truncdfsf2.S: Likewise.
7217 * config/arc/ieee-754/fixsfsi.S: Likewise.
7218 * config/arc/ieee-754/gtsf2.S: Likewise.
7219 * config/arc/ieee-754/floatsisf.S: Likewise.
7220 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
7221 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
7222 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
7223 * config/arc/ieee-754/fixdfsi.S: Likewise.
7224 * config/arc/ieee-754/addsf3.S: Likewise.
7225 * config/arc/ieee-754/gesf2.S: Likewise.
7226 * config/arc/ieee-754/floatsidf.S: Likewise.
7227 * config/arc/ieee-754/extendsfdf2.S: Likewise.
7228 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
7229 * config/arc/ieee-754/gtdf2.S: Likewise.
7230 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
7231 * config/arc/ieee-754/uneqdf2.S: Likewise.
7232 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
7233 * config/arc/ieee-754/uneqsf2.S: Likewise.
7234 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
7235 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
7236 * config/arc/ieee-754/eqdf2.S: Likewise.
7237 * config/arc/ieee-754/ordsf2.S: Likewise.
7238 * config/arc/ieee-754/divsf3.S: Likewise.
7239 * config/arc/ieee-754/divdf3.S: Likewise.
7240 * config/arc/ieee-754/floatunsidf.S: Likewise.
7241 * config/arc/ieee-754/orddf2.S: Likewise.
7242 * config/arc/ieee-754/eqsf2.S: Likewise.
7243 * config/arc/ieee-754/gedf2.S: Likewise.
7244 * config/arc/crtn.S: Likewise.
7245 * config/arc/crti.S: Likewise.
7246 * config/arc/t-arc700-uClibc: Likewise.
7247 * config/arc/asm.h: Likewise.
7248 * config/arc/libgcc-excl.ver: Likewise.
7249 * config/arc/t-arc-newlib: Likewise.
7250 * config/arc/divtab-arc700.c: Likewise.
7251 * config/arc/initfini.c: Likewise.
7252 * config/arc/fp-hack.h: Likewise.
7253
7254 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
7255 Diego Novillo <dnovillo@google.com>
7256
7257 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
7258 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
7259 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
7260 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
7261
7262 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
7263 Brendan Kehoe <brendan@zen.org>
7264 Simon Cook <simon.cook@embecosm.com>
7265
7266 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
7267 * config/arc: New directory.
7268 * longlong.h [__arc__] (umul_ppmm): Remove.
7269 [__arc__] (__umulsidi3): Define.
7270 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
7271 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
7272
7273 2013-09-17 Jacek Caban <jacek@codeweavers.com>
7274
7275 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
7276 CreateSemaphoreA.
7277 * config/i386/gthr-win32.h: Likewise.
7278
7279 2013-09-16 DJ Delorie <dj@redhat.com>
7280
7281 * config/rl78/vregs.h: Add G10 register definitions.
7282 * config/rl78/lib2mul.c: Enable for RL78/G10.
7283 * config/rl78/lib2div.c: Likewise.
7284 * config/rl78/lshrsi3.S: Use vregs.h.
7285 * config/rl78/cmpsi2.S: Likewise.
7286 * config/rl78/trampoline.S: Likewise.
7287 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
7288
7289 2013-09-14 DJ Delorie <dj@redhat.com>
7290 Nick Clifton <nickc@redhat.com>
7291
7292 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
7293 * config/rl78/vregs.h: New.
7294 * config/rl78/signbit.S: New file. Implements signbit function.
7295 * config/rl78/divmodsi.S: New.
7296 * config/rl78/divmodhi.S: New.
7297 * config/rl78/divmodqi.S: New.
7298 * config/rl78/t-rl78: Build them here...
7299 * config/rl78/lib2div.c: ...but not here.
7300
7301 2013-09-12 DJ Delorie <dj@redhat.com>
7302
7303 * config.host (msp*-*-elf): New.
7304 * config/msp430/: New port.
7305
7306 2013-08-18 Iain Sandoe <iain@codesourcery.com>
7307
7308 PR gcov-profile/58127
7309 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
7310 __thread var for emulated TLS.
7311 (__gcov_indirect_call_counters): Likewise.
7312
7313 2013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
7314 Catherine Moore <clm@codesourcery.com>
7315 Richard Sandiford <rdsandiford@googlemail.com>
7316
7317 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
7318 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
7319 (CALL_STUB_NO_RET): Likewise.
7320 (CALL_STUB_RET): Likewise.
7321 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
7322 __mips16_ret call/return stub symbols.
7323 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
7324 to tmake_file.
7325
7326 2013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
7327
7328 * config.host <mips*-*-linux*>: Remove a stray comment.
7329
7330 2013-08-10 Jan Hubicka <jh@suse.cz>
7331
7332 Work around binutils PR14342
7333 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
7334 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
7335 (L_gcov_indirect_call_profiler_v2): New.
7336
7337 2013-08-06 Jan Hubicka <jh@suse.cz>
7338
7339 * libgcov.c (__gcov_indirect_call_callee,
7340 __gcov_indirect_call_counters): New global vars.
7341 (__gcov_indirect_call_profiler): replace by ...
7342 (__gcov_indirect_call_profiler_v2) ... this one.
7343
7344 2013-08-06 Caroline Tice <cmtice@google.com>
7345
7346 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
7347 vtv_start_preinit.o and vtv_end_preinit.o.
7348 * configure.ac: Add code to check/set enable_vtable_verify.
7349 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
7350 true.
7351 * vtv_start_preinit.c: New file.
7352 * vtv_end_preinit.c: New file.
7353 * vtv_start.c: New file.
7354 * vtv_end.c: New file.
7355 * configure: Regenerated.
7356
7357 2013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
7358
7359 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
7360 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
7361 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
7362 GPL-3.0-with-GCC-exception.
7363
7364 2013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
7365
7366 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
7367 ISA and up.
7368
7369 2013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7370
7371 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
7372 mapping for FPRs when creating the fallback framestate.
7373
7374 2013-07-19 Georg-Johann Lay <avr@gjlay.de>
7375
7376 PR target/57516
7377 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
7378 (__round_s2_const, __round_u2_const)
7379 (__round_s4_const, __round_u4_const, __round_x8):
7380 Saturate result if addition result cannot be represented.
7381
7382 2013-07-15 Matthias Klose <doko@ubuntu.com>
7383
7384 * libgcc2.c: Don't include <limits.h>.
7385
7386 2013-07-09 Janis Johnson <janisjo@codesourcery.com>
7387
7388 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
7389
7390 2013-07-06 Jakub Jelinek <jakub@redhat.com>
7391
7392 PR target/29776
7393 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
7394
7395 2013-06-28 Jakub Jelinek <jakub@redhat.com>
7396
7397 PR middle-end/36041
7398 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
7399 Define.
7400 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
7401 instead of table lookups.
7402 (__popcountDI2): Likewise.
7403
7404 2013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
7405
7406 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
7407 correctly.
7408
7409 2013-06-21 Joseph Myers <joseph@codesourcery.com>
7410
7411 PR other/53317
7412 * soft-fp/adddf3.c: Update from glibc.
7413 * soft-fp/addsf3.c: Likewise.
7414 * soft-fp/addtf3.c: Likewise.
7415 * soft-fp/divdf3.c: Likewise.
7416 * soft-fp/divsf3.c: Likewise.
7417 * soft-fp/divtf3.c: Likewise.
7418 * soft-fp/double.h: Likewise.
7419 * soft-fp/eqdf2.c: Likewise.
7420 * soft-fp/eqsf2.c: Likewise.
7421 * soft-fp/eqtf2.c: Likewise.
7422 * soft-fp/extenddftf2.c: Likewise.
7423 * soft-fp/extended.h: Likewise.
7424 * soft-fp/extendsfdf2.c: Likewise.
7425 * soft-fp/extendsftf2.c: Likewise.
7426 * soft-fp/fixdfdi.c: Likewise.
7427 * soft-fp/fixdfsi.c: Likewise.
7428 * soft-fp/fixsfdi.c: Likewise.
7429 * soft-fp/fixsfsi.c: Likewise.
7430 * soft-fp/fixtfdi.c: Likewise.
7431 * soft-fp/fixtfsi.c: Likewise.
7432 * soft-fp/fixunsdfdi.c: Likewise.
7433 * soft-fp/fixunsdfsi.c: Likewise.
7434 * soft-fp/fixunssfdi.c: Likewise.
7435 * soft-fp/fixunssfsi.c: Likewise.
7436 * soft-fp/fixunstfdi.c: Likewise.
7437 * soft-fp/fixunstfsi.c: Likewise.
7438 * soft-fp/floatdidf.c: Likewise.
7439 * soft-fp/floatdisf.c: Likewise.
7440 * soft-fp/floatditf.c: Likewise.
7441 * soft-fp/floatsidf.c: Likewise.
7442 * soft-fp/floatsisf.c: Likewise.
7443 * soft-fp/floatsitf.c: Likewise.
7444 * soft-fp/floatundidf.c: Likewise.
7445 * soft-fp/floatundisf.c: Likewise.
7446 * soft-fp/floatunditf.c: Likewise.
7447 * soft-fp/floatunsidf.c: Likewise.
7448 * soft-fp/floatunsisf.c: Likewise.
7449 * soft-fp/floatunsitf.c: Likewise.
7450 * soft-fp/gedf2.c: Likewise.
7451 * soft-fp/gesf2.c: Likewise.
7452 * soft-fp/getf2.c: Likewise.
7453 * soft-fp/ledf2.c: Likewise.
7454 * soft-fp/lesf2.c: Likewise.
7455 * soft-fp/letf2.c: Likewise.
7456 * soft-fp/muldf3.c: Likewise.
7457 * soft-fp/mulsf3.c: Likewise.
7458 * soft-fp/multf3.c: Likewise.
7459 * soft-fp/negdf2.c: Likewise.
7460 * soft-fp/negsf2.c: Likewise.
7461 * soft-fp/negtf2.c: Likewise.
7462 * soft-fp/op-1.h: Likewise.
7463 * soft-fp/op-2.h: Likewise.
7464 * soft-fp/op-4.h: Likewise.
7465 * soft-fp/op-8.h: Likewise.
7466 * soft-fp/op-common.h: Likewise.
7467 * soft-fp/quad.h: Likewise.
7468 * soft-fp/single.h: Likewise.
7469 * soft-fp/soft-fp.h: Likewise.
7470 * soft-fp/subdf3.c: Likewise.
7471 * soft-fp/subsf3.c: Likewise.
7472 * soft-fp/subtf3.c: Likewise.
7473 * soft-fp/truncdfsf2.c: Likewise.
7474 * soft-fp/trunctfdf2.c: Likewise.
7475 * soft-fp/trunctfsf2.c: Likewise.
7476 * soft-fp/unorddf2.c: Likewise.
7477 * soft-fp/unordsf2.c: Likewise.
7478 * soft-fp/unordtf2.c: Likewise.
7479 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
7480 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7481 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7482 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7483 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7484 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7485 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7486 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7487 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7488 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
7489 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
7490 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7491
7492 2013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
7493
7494 * config/mips/lib2funcs.c: New file.
7495 * config/mips/t-mips (LIB2ADD_ST): Add it.
7496
7497 2013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
7498
7499 PR target/6526
7500 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
7501 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
7502
7503 2013-06-08 Walter Lee <walt@tilera.com>
7504
7505 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
7506 Replace int64_t with long long. Add __extension__ where
7507 appropriate.
7508 * config/tilepro/atomic.c: Include config.h.
7509
7510 2013-06-06 Douglas B Rupp <rupp@adacore.com>
7511
7512 * config.host (arm-wrs-vxworks): Configure with other soft float.
7513
7514 2013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
7515
7516 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
7517 (mips64r5900el-*-elf*): New configurations.
7518
7519 2013-06-04 Alan Modra <amodra@gmail.com>
7520
7521 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
7522
7523 2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
7524
7525 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
7526
7527 2013-05-28 Eric Botcazou <ebotcazou@adacore.com>
7528
7529 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
7530 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
7531 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
7532
7533 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
7534
7535 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
7536 (powerpc-wrs-vxworks): Likewise.
7537
7538 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
7539
7540 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
7541 signal frames as well.
7542 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
7543 STACK_BIAS to the CFA offset.
7544
7545 2013-05-17 Richard Henderson <rth@redhat.com>
7546
7547 PR target/49146
7548 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
7549 (execute_cfa_program): Use it when storing to fs->regs.
7550
7551 2013-05-08 Kai Tietz <ktietz@redhat.com>
7552
7553 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
7554 (__deregister_frame_info): Likewise.
7555
7556 2013-05-06 Thomas Schwinge <thomas@codesourcery.com>
7557
7558 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
7559 NaN's payload.
7560
7561 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
7562
7563 2013-04-25 Alan Modra <amodra@gmail.com>
7564
7565 * config.host: Match little-endian powerpc-linux.
7566
7567 2013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
7568
7569 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
7570 as 'unsigned long long' instead of 'unsigned long'.
7571 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
7572 'signed long'.
7573
7574 2013-04-10 Julian Brown <julian@codesourcery.com>
7575
7576 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
7577 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
7578 unsigned char/unsigned short.
7579 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
7580
7581 2013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7582
7583 PR other/55274
7584 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
7585
7586 2013-04-04 Meador Inge <meadori@codesourcery.com>
7587
7588 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
7589 computing the location of the link register.
7590 (aeabi_uldivmod): Ditto.
7591
7592 2013-03-27 Kai Tietz <ktietz@redhat.com>
7593
7594 * config.host: Add support for cygwin x64 target.
7595 * configure: Regenerated.
7596
7597 2013-03-26 Walter Lee <walt@tilera.com>
7598
7599 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
7600 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
7601
7602 2013-03-25 Kai Tietz <ktietz@redhat.com>
7603
7604 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
7605
7606 2013-03-20 Robert Mason <rbmj@verizon.net>
7607
7608 * config/vxlib-tls.c (__gthread_get_tsd_data,)
7609 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
7610 (__gthread_leave_tsd_dtor_context): Add prototypes.
7611 (tls_delete_hook): Update.
7612
7613 2013-03-20 Catherine Moore <clm@codesourcery.com>
7614 Joseph Myers <joseph@codesourcery.com>
7615 Chao-ying Fu <fu@mips.com>
7616
7617 * config/mips/mips16.S: Don't build for microMIPS.
7618 * config/mips/linux-unwind.h: Handle microMIPS frame.
7619 * config/mips/crtn.S (fini, init): New labels.
7620
7621 2013-03-14 Jakub Jelinek <jakub@redhat.com>
7622
7623 PR tree-optimization/53265
7624 * unwind-dw2.c (execute_cfa_program): Avoid
7625 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
7626 on targets with DWARF_FRAME_REGISTERS < 32.
7627
7628 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
7629
7630 PR target/49880
7631 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
7632 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
7633
7634 2013-03-07 Sriraman Tallam <tmsriram@google.com>
7635
7636 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
7637 sandybridge processors.
7638
7639 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
7640
7641 PR target/56529
7642 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
7643 inclusion list.
7644
7645 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
7646
7647 * config/microblaze/crti.S: Setup stack protection at entry
7648
7649 2013-03-04 Georg-Johann Lay <avr@gjlay.de>
7650
7651 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
7652 (__rotldi3): Shift bytewise if applicable.
7653
7654 2013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
7655
7656 * config/aarch64/sync-cache.c
7657 (__aarch64_sync_cache_range): Silence warnings.
7658
7659 2013-02-25 Catherine Moore <clm@codesourcery.com>
7660
7661 Revert:
7662 2013-02-24 Catherine Moore <clm@codesourcery.com>
7663 Joseph Myers <joseph@codesourcery.com>
7664 Chao-ying Fu <fu@mips.com>
7665
7666 * config/mips/mips16.S: Don't build for microMIPS.
7667 * config/mips/linux-unwind.h: Handle microMIPS frame.
7668 * config/mips/crtn.S (fini, init): New labels.
7669
7670 2013-02-24 Catherine Moore <clm@codesourcery.com>
7671 Joseph Myers <joseph@codesourcery.com>
7672 Chao-ying Fu <fu@mips.com>
7673
7674 * config/mips/mips16.S: Don't build for microMIPS.
7675 * config/mips/linux-unwind.h: Handle microMIPS frame.
7676 * config/mips/crtn.S (fini, init): New labels.
7677
7678 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
7679 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7680 as dividend.
7681
7682 2013-02-16 Alan Modra <amodra@gmail.com>
7683
7684 PR target/55431
7685 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
7686 (ppc_fallback_frame_state): Always set up save locations for fp
7687 and altivec. Don't bother with non-callee-saved regs, r0-r13
7688 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
7689
7690 2013-02-12 Georg-Johann Lay <avr@gjlay.de>
7691
7692 PR target/54222
7693 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
7694 _ssmulHA, _ssmulSA.
7695 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
7696 _ssmulha3, _usmulusa3, _ssmulsa3.
7697 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
7698 (__muldi3): XCALL __muldi3_6 instead of rcall.
7699 (__umulsidi3, __mulsidi3): New functions.
7700 (do_prologue_saves, do_epilogue_restores): New .macros.
7701 (__divdi3_moddi3): Use them.
7702 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
7703 (__usmulusa3, __ssmulsa3): New functions.
7704
7705 2013-02-11 Iain Sandoe <iain@codesourcery.com>
7706 Jack Howarth <howarth@bromo.med.uc.edu>
7707 Patrick Marlier <patrick.marlier@gmail.com>
7708
7709 PR libitm/55693
7710 * config/darwin-crt-tm.c: Remove dummy functions hack.
7711
7712 2013-02-08 Georg-Johann Lay <avr@gjlay.de>
7713
7714 PR target/54222
7715 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
7716 * config/avr/lib2-object.mk: New iterator to build objects from it.
7717 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
7718 lib2funcs.c.
7719 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
7720 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
7721 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
7722 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
7723 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
7724 * config/avr/lib1funcs-fixed.S: Implement them.
7725
7726 2013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
7727
7728 Update copyright years.
7729
7730 2013-02-01 David Edelsohn <dje.gcc@gmail.com>
7731
7732 PR target/54601
7733 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
7734 Add crtcxa to extra_parts.
7735 * config/rs6000/exit.h: New file.
7736 * config/rs6000/cxa_atexit.c: New file.
7737 * config/rs6000/cxa_finalize.c: New file.
7738 * config/rs6000/crtcxa.c: New file.
7739 * config/rs6000/t-aix-cxa: New file.
7740 * config/rs6000/libgcc-aix-cxa.ver: New file.
7741
7742 2013-01-31 Nick Clifton <nickc@redhat.com>
7743
7744 * config/v850/lib1funcs.S: Add support for e3v5 architecture
7745 variant.
7746
7747 2013-01-29 Georg-Johann Lay <avr@gjlay.de>
7748
7749 PR target/54222
7750 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
7751 _mulQQ, _mulHQ, _mulHA, _mulSA,
7752 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
7753 _divQQ, _divHQ, _divHA, _divSA,
7754 _divUQQ, _divUHQ, _divUHA, _divUSA.
7755
7756 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
7757
7758 * config.host(microblaze*-linux*): tmake_file: Remove
7759 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
7760 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
7761 to exclude functions from being built with libgcc.c and use
7762 the microblaze assembly.
7763
7764 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
7765
7766 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
7767 extra_parts.
7768
7769 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
7770
7771 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
7772 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
7773 __UINTPTR_TYPE__; also cast 'base' to the same type before the
7774 alignment operation.
7775
7776 2013-01-15 Sofiane Naci <sofiane.naci@arm.com>
7777
7778 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
7779 loop start address for cache clearing.
7780
7781 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
7782
7783 * config/avr/lib1funcs.S: Remove trailing blanks.
7784 * config/avr/lib1funcs-fixed.S: Ditto.
7785
7786 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
7787
7788 * config/avr/avr-lib.h: Add GPL copyright notice.
7789
7790 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
7791
7792 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
7793 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
7794 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
7795 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
7796
7797 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
7798
7799 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
7800 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
7801
7802 2013-01-04 Nick Clifton <nickc@redhat.com>
7803
7804 * config/v850/lib1funcs.S: Only provide CALLT support functions if
7805 the CALLT instruction is supported.
7806
7807 2012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
7808
7809 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
7810 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
7811
7812 2012-12-13 John Tytgat <John@bass-software.com>
7813
7814 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
7815 is 25.
7816
7817 2012-12-12 Jakub Jelinek <jakub@redhat.com>
7818
7819 PR libgcc/55451
7820 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
7821 undefined signed overflows.
7822
7823 2012-12-09 Uros Bizjak <ubizjak@gmail.com>
7824
7825 PR target/55344
7826 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
7827
7828 2012-12-06 Uros Bizjak <ubizjak@gmail.com>
7829
7830 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
7831 (FP_TRAPPING_EXCEPTIONS): Define.
7832 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
7833 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
7834
7835 2012-12-04 Richard Henderson <rth@redhat.com>
7836
7837 PR bootstrap/55571
7838 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
7839
7840 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
7841
7842 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
7843 (FP_EX_SHIFT): Define.
7844 (FP_TRAPPING_EXCEPTIONS): Define.
7845
7846 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
7847
7848 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
7849 (FP_ROUNDMODE): Use FP_RND_MASK.
7850 * config/aarch64/sfp-exceptions.c: New.
7851 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
7852 Use __sfp_handle_exceptions.
7853
7854 2012-12-04 Richard Earnshaw <rearnsha@arm.com>
7855
7856 * config.host: (arm*-*-freebsd*): Remove.
7857 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
7858 (arm*-*-elf*): Remove.
7859 (arm*-*-wince-pe*): Remove.
7860 * arm/unwind-arm.c (struct fpa_reg): Delete.
7861 (struct fpa_regs): Delete.
7862 (phase1_vrs): Remove fpa element.
7863 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
7864 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
7865 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
7866 * ieee754-sf.S (floatundisf): Remove FPA support.
7867 (floatdisf): Likewise.
7868 * ieee75f-df.S (floatundidf): Likewise.
7869 (floatdidf): Likewise.
7870
7871 2012-11-29 Kai Tietz <ktietz@redhat.com>
7872
7873 PR target/55445
7874 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
7875 * unwind-generic.h: Likewise.
7876 * unwind-seh.c: Likewise.
7877
7878 2012-11-28 Richard Henderson <rth@redhat.com>
7879
7880 PR libgcc/48076
7881 * emutls.c (__emutls_get_address): Avoid race condition between
7882 obj->loc.offset read and emutls_key initialization.
7883
7884 2012-11-22 Georg-Johann Lay <avr@gjlay.de>
7885
7886 Adjust decimal point of signed accum mode to GCC default.
7887
7888 PR target/54222
7889 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
7890 _divqq_helper.
7891 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
7892 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
7893 (__mulha3, __mulsa3)
7894 (__divqq3, __divha3, __divsa3): Adjust to new position of
7895 decimal point of signed accum types.
7896
7897 (__mulusa3_round): New function.
7898 (__mulusa3): Use it.
7899 (__divqq_helper): New function.
7900 (__udivuqq3): Use it.
7901
7902 2012-11-20 Jakub Jelinek <jakub@redhat.com>
7903
7904 PR bootstrap/55370
7905 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
7906
7907 2012-11-18 Teresa Johnson <tejohnson@google.com>
7908
7909 PR bootstrap/55051
7910 * libgcov.c (gcov_exit): Remove merged program summary
7911 comparison unless !GCOV_LOCKED.
7912
7913 2012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
7914
7915 * soft-fp: Updated from glibc upstream.
7916
7917 2012-11-06 Ian Lance Taylor <iant@google.com>
7918
7919 * generic-morestack.c (__generic_morestack): Align the returned
7920 stack pointer to a 32 byte boundary.
7921 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
7922 increment the return address until we have decided that we don't
7923 have a varargs function.
7924 (__morestack) [32-bit]: Align stack correctly when calling C
7925 functions.
7926 (__morestack) [64-bit]: Likewise.
7927
7928 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
7929
7930 * configure: Regenerate.
7931
7932 2012-11-02 Uros Bizjak <ubizjak@gmail.com>
7933
7934 PR target/55175
7935 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
7936 * config/i386/sfp-machine.h: Guard exception handling
7937 code with _SOFT_FLOAT.
7938 * config/i386/32/sfp-machine.h: Guard rounding handling
7939 code with _SOFT_FLOAT.
7940 * config/i386/64/sfp-machine.h: Ditto.
7941
7942 2012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
7943
7944 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
7945 as extra_parts.
7946
7947 2012-10-26 Uros Bizjak <ubizjak@gmail.com>
7948
7949 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
7950 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
7951 when appropriate. Correct structure element types.
7952 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
7953 -minline-all-stringops from compile flags.
7954
7955 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
7956
7957 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
7958
7959 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
7960
7961 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
7962
7963 2012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
7964
7965 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
7966 tmake_file.
7967
7968 2012-10-23 Ian Bolton <ian.bolton@arm.com>
7969 Jim MacArthur <jim.macarthur@arm.com>
7970 Marcus Shawcroft <marcus.shawcroft@arm.com>
7971 Nigel Stephens <nigel.stephens@arm.com>
7972 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
7973 Richard Earnshaw <rearnsha@arm.com>
7974 Sofiane Naci <sofiane.naci@arm.com>
7975 Stephen Thomas <stephen.thomas@arm.com>
7976 Tejas Belagod <tejas.belagod@arm.com>
7977 Yufeng Zhang <yufeng.zhang@arm.com>
7978
7979 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
7980 * config/aarch64/crti.S: New file.
7981 * config/aarch64/crtn.S: New file.
7982 * config/aarch64/linux-unwind.h: New file.
7983 * config/aarch64/sfp-machine.h: New file.
7984 * config/aarch64/sync-cache.c: New file.
7985 * config/aarch64/t-aarch64: New file.
7986 * config/aarch64/t-softfp: New file.
7987
7988 2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
7989
7990 * config/mmix/crti.S: Mark program and data addresses using PRELD.
7991 Remove typo'd and unnecessary alignment-LOC for .data. Remove
7992 no-longer-needed LDBU insns.
7993
7994 2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
7995
7996 * config.host
7997 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
7998 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
7999
8000 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
8001
8002 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
8003
8004 2012-10-15 Matthias Klose <doko@ubuntu.com>
8005
8006 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
8007
8008 2012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
8009
8010 * configure: Regenerate.
8011 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
8012
8013 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
8014
8015 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
8016 instructions for 64bit targets only.
8017
8018 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
8019
8020 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
8021 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
8022 * config/i386/32/sfp-machine.h: ... here.
8023 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
8024 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
8025 New defines.
8026
8027 2012-10-07 Matthias Klose <doko@ubuntu.com>
8028
8029 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
8030 as unused.
8031 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
8032
8033 2012-10-06 Mark Kettenis <kettenis@openbsd.org>
8034
8035 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
8036 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
8037 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
8038 (ElfW): Likewise.
8039
8040 2012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
8041
8042 PR other/53889
8043 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
8044 Fix parameter names.
8045
8046 2012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
8047
8048 PR target/33135
8049 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
8050 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
8051 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
8052
8053 2012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
8054
8055 PR target/50457
8056 * config/sh/linux-atomic.S: Delete.
8057 * config/sh/linux-atomic.c: New.
8058 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
8059 linux-atomic.c. Add cflags to disable warnings.
8060
8061 2012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
8062
8063 PR other/53889
8064 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
8065 function.
8066 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
8067 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
8068 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
8069 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
8070 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
8071 Likewise.
8072 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
8073 Likewise.
8074 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
8075 Likewise.
8076 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
8077 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
8078
8079 2012-09-19 Mark Kettenis <kettenis@openbsd.org>
8080
8081 * config.host (hppa-*-openbsd*): New target.
8082 * config/pa/t-openbsd: New file.
8083
8084 2012-09-15 Georg-Johann Lay <avr@gjlay.de>
8085
8086 PR target/54222
8087 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
8088 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
8089 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
8090 (__divsa3): Use __negsi2 to negate r_quoL.
8091 * config/avr/lib1funcs.S (FALIAS): New macro.
8092 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
8093 (__negsi2): ...this new function.
8094 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
8095 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
8096 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
8097 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
8098 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
8099 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
8100
8101 2012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
8102
8103 PR target/54089
8104 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
8105 (lshrsi3): Reimplement as lshrsi3_r0.
8106
8107 2012-09-10 Andreas Schwab <schwab@linux-m68k.org>
8108
8109 PR target/46191
8110 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
8111 of libgcc.a.
8112
8113 2012-09-07 Teresa Johnson <tejohnson@google.com>
8114
8115 PR gcov-profile/54487
8116 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
8117 differences.
8118
8119 2012-09-05 Georg-Johann Lay <avr@gjlay.de>
8120
8121 PR target/54461
8122 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
8123 not configured --with-avrlibc=no.
8124 * config/avr/t-avrlibc: New file.
8125 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
8126 (DPBIT_FUNCS): Ditto.
8127 (TPBIT_FUNCS): Ditto.
8128
8129 2012-09-04 Teresa Johnson <tejohnson@google.com>
8130
8131 * libgcov.c (struct gcov_summary_buffer): New structure.
8132 (gcov_histogram_insert): New function.
8133 (gcov_compute_histogram): Ditto.
8134 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
8135 histograms during summary merging.
8136
8137 2012-09-01 Mark Kettenis <kettenis@openbsd.org>
8138
8139 * config.host (x86_64-*-openbsd*): New target.
8140
8141 2012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
8142
8143 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
8144 attribute.
8145
8146 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
8147
8148 PR target/54222
8149 * config/avr/t-avr (conv_X): Rename to func_X.
8150
8151 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
8152
8153 PR target/54222
8154 * config/avr/lib1funcs-fixed.S: New file.
8155 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
8156 after they are used.
8157 (neg2, neg4): New macros.
8158 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
8159 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
8160 (__umulhisi3): Speed up MUL variant if there is enough flash.
8161 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
8162 avr-modes.def.
8163 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
8164 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
8165 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
8166 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
8167 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
8168 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
8169 (LIB2FUNCS_EXCLUDE): Add supported functions.
8170
8171 2012-08-22 Georg-Johann Lay <avr@gjlay.de>
8172
8173 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
8174 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
8175 libgcc-s-objects.
8176 * fixed-obj.mk: Only expand dependency if $o is not in
8177 LIB2FUNCS_EXCLUDE.
8178
8179 2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
8180
8181 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
8182
8183 2012-08-22 Joseph Myers <joseph@codesourcery.com>
8184
8185 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
8186 depend on --enable-shared.
8187 ($(lib1asmfuncs-o)): Use %.vis files independent of
8188 --enable-shared.
8189 * static-object.mk ($(base)$(objext), $(base).vis)
8190 ($(base)_s$(objext)): Use same rules for visibility handling as in
8191 shared-object.mk.
8192
8193 2012-08-21 Ian Lance Taylor <iant@google.com>
8194
8195 * config/i386/morestack.S (__morestack_non_split): Increase amount
8196 of space allocated for non-split code stack.
8197
8198 2012-08-19 Joseph Myers <joseph@codesourcery.com>
8199
8200 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
8201 even if inhibit_libc.
8202
8203 2012-08-17 Julian Brown <julian@codesourcery.com>
8204
8205 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
8206 -fexceptions -fnon-call-exceptions if not defined.
8207 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
8208 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
8209
8210 2012-08-17 Andreas Schwab <schwab@linux-m68k.org>
8211
8212 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
8213 type.
8214
8215 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
8216
8217 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
8218 rs6000/t-slibgcc-aix.
8219
8220 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
8221
8222 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
8223
8224 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
8225
8226 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
8227
8228 2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
8229
8230 PR driver/54171
8231 * Makefile.in (version): Replace top_srcdir with srcdir.
8232
8233 2012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
8234
8235 * Makefile.in (version): set to BASE-VER file from gcc directory.
8236
8237 2012-08-01 Nick Clifton <nickc@redhat.com>
8238
8239 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
8240 Implements __clrsb for an HImode argument.
8241
8242 2012-07-31 Nick Clifton <nickc@redhat.com>
8243
8244 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
8245 Implements __clrsb for an HImode argument.
8246 * config/stormy16/clrsbhi2.c: New file:
8247 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
8248
8249 2012-07-22 Steven Bosscher <steven@gcc.gnu.org>
8250
8251 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
8252
8253 2012-07-19 Tristan Gingold <gingold@adacore.com>
8254 Richard Henderson <rth@redhat.com>
8255
8256 * unwind-seh.c: New file.
8257 * unwind-generic.h: Include windows.h for SEH.
8258 (_Unwind_Exception): Use 6 private fields for SEH.
8259 (_GCC_specific_handler): Declare.
8260 * unwind-c.c (__gcc_personality_seh0): New function.
8261 Adjust for SEH.
8262 * config/i386/libgcc-cygming.ver: New file.
8263 * config/i386/t-seh-eh: New file.
8264 * config.host (x86_64-*-mingw*): Default to seh.
8265
8266 2012-07-14 Steven Bosscher <steven@gcc.gnu.org>
8267
8268 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
8269
8270 2012-06-17 Uros Bizjak <ubizjak@gmail.com>
8271
8272 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
8273 __builtin_expect when checking for exceptions.
8274 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
8275
8276 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
8277
8278 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
8279 function declaration.
8280 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
8281 (FP_RND_MASK): New.
8282 * config/ia64/sfp-exceptions.c: New.
8283 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
8284
8285 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
8286
8287 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
8288 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
8289 * config/i386/64/sfp-machine: ... (delete here) ...
8290 * config/i386/sfp-machine.h: ... to here.
8291 (FP_EX_MASK): Remove.
8292 (FP_RND_MASK): New.
8293 (FP_INIT_ROUNDMODE): Declare asm as volatile.
8294
8295 2012-06-11 Sriraman Tallam <tmsriram@google.com>
8296
8297 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
8298 * config/i386/libgcc-sol2.ver: Ditto.
8299 * config/i386/libgcc-glibc.ver: Ditto.
8300
8301 2012-06-11 Roland McGrath <mcgrathr@google.com>
8302
8303 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
8304 If __GLIBC__ is defined, refer to __pthread_key_create instead of
8305 pthread_cancel.
8306
8307 2012-06-09 Uros Bizjak <ubizjak@gmail.com>
8308
8309 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
8310 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
8311 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
8312 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
8313 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
8314 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
8315 * config/i386/64/sfp-machine: ... (delete here) ...
8316 * config/i386/sfp-machine.h: ... to here.
8317 (FP_EX_MASK): New.
8318 (__sfp_handle_exceptions): New function declaration.
8319 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
8320 * config/i386/sfp-exceptions.c: New.
8321 * config/i386/t-softfp: New.
8322 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
8323 i386/t-softfp to tmake_file.
8324
8325 2012-06-03 David S. Miller <davem@davemloft.net>
8326
8327 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
8328 change.
8329
8330 2012-05-31 David S. Miller <davem@davemloft.net>
8331
8332 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
8333 multiply and divide instructions on 32-bit when V9.
8334 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
8335
8336 2012-05-29 Joseph Myers <joseph@codesourcery.com>
8337
8338 * config/arm/ieee754-df.S: Fix typos.
8339 * config/arm/ieee754-sf.S: Fix typos.
8340 * config/c6x/libunwind.S: Fix typos.
8341 * config/epiphany/udivsi3-float.c: Fix typos.
8342 * config/microblaze/muldi3_hard.S: Fix typos.
8343 * config/picochip/adddi3.S: Fix typos.
8344 * config/picochip/ashlsi3.S: Fix typos.
8345 * config/picochip/ashrsi3.S: Fix typos.
8346 * config/picochip/clzsi2.S: Fix typos.
8347 * config/picochip/cmpsi2.S: Fix typos.
8348 * config/picochip/divmod15.S: Fix typos.
8349 * config/picochip/divmodhi4.S: Fix typos.
8350 * config/picochip/divmodsi4.S: Fix typos.
8351 * config/picochip/longjmp.S: Fix typos.
8352 * config/picochip/lshrsi3.S: Fix typos.
8353 * config/picochip/parityhi2.S: Fix typos.
8354 * config/picochip/popcounthi2.S: Fix typos.
8355 * config/picochip/setjmp.S: Fix typos.
8356 * config/picochip/subdi3.S: Fix typos.
8357 * config/picochip/ucmpsi2.S: Fix typos.
8358 * config/picochip/udivmodhi4.S: Fix typos.
8359 * config/picochip/udivmodsi4.S: Fix typos.
8360 * config/spu/divv2df3.c: Fix typos.
8361 * config/spu/mfc_multi_tag_release.c: Fix typos.
8362 * config/spu/mfc_tag_release.c: Fix typos.
8363 * configure.ac: Fix typos.
8364 * configure: Regenerate.
8365
8366 2012-05-25 Ian Lance Taylor <iant@google.com>
8367
8368 * config/i386/morestack.S (__morestack_non_split): Check whether
8369 caller is varargs and needs %bp to hold the stack frame on return.
8370
8371 2012-05-25 Olivier Hainque <hainque@adacore.com>
8372
8373 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
8374 sequence in the non pic case on VxWorks.
8375
8376 2012-05-24 Olivier Hainque <hainque@adacore.com>
8377
8378 * Makefile.in: Move dependency on install-unwind_h from
8379 "install-leaf" to "install".
8380
8381 2012-05-24 Olivier Hainque <hainque@adacore.com>
8382
8383 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
8384 Use a separate command for stamp removals.
8385
8386 2012-05-21 Andrew Pinski <apinski@cavium.com>
8387
8388 PR bootstrap/53183
8389 * configure.ac: Define the default includes to being none.
8390 * configure: Regenerate.
8391
8392 2012-05-16 Olivier Hainque <hainque@adacore.com>
8393
8394 * Makefile.in (install-unwind_h): Rename into ...
8395 (install-unwind_h-forbuild): New target.
8396 (all): Use it instead of the former install-unwind_h.
8397 (install-unwind_h): Reinstate, copy to user install destination
8398 for include files, not to the internal gcc object directory one.
8399 (install-leaf): Depend on it.
8400
8401 2012-05-15 Olivier Hainque <hainque@adacore.com>
8402
8403 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
8404 register numbers. LR_REGNO replaces R_LR.
8405 (ucontext_for): New, helper for ...
8406 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
8407 and 5.3 of ...
8408 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
8409
8410 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8411
8412 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
8413 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
8414 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
8415 i386/t-cpuinfo ...
8416 (i[34567]86-*-*, x86_64-*-*): ... here.
8417
8418 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
8419 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
8420
8421 * config/i386/i386-cpuinfo.c: Rename to ...
8422 * config/i386/cpuinfo.c: ... this.
8423 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
8424
8425 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
8426 (libgcc_cv_init_priority): New test.
8427 * configure: Regenerate.
8428 * config.in: New file.
8429 * Makefile.in (clean): Rename config.h to auto-target.h.
8430 (config.h): Likewise.
8431 (stamp-h): Likewise.
8432
8433 * config/i386/cpuinfo.c (auto-target.h): Include.
8434 (CONSTRUCTOR_PRIORITY): Define.
8435 (__cpu_indicator_init): Use it.
8436
8437 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
8438
8439 * longlong.h: Use a URL instead of an FSF postal address.
8440 Replace spaces with tab.
8441
8442 2012-05-08 Teresa Johnson <tejohnson@google.com>
8443
8444 * libgcov.c (gcov_clear, __gcov_reset): New functions.
8445 (__gcov_dump): Ditto.
8446 (gcov_dump_complete): New global variable.
8447 (gcov_exit): Export hidden to enable use in L_gcov_dump.
8448 (__gcov_flush): Outline functionality now in gcov_clear.
8449 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
8450
8451 2012-04-28 Aurelien Jarno <aurelien@aurel32.net>
8452
8453 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
8454 (mips*-*-linux*): Include mips/t-tpbit when long double is
8455 16 bytes long.
8456
8457 2012-04-25 Sriraman Tallam <tmsriram@google.com>
8458
8459 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
8460 (get_available_features): New argument. Check for AVX2.
8461 (__cpu_indicator_init): Modify call to get_available_features.
8462
8463 2012-04-25 Alan Modra <amodra@gmail.com>
8464
8465 * config/rs6000/crtsavevr.S: New file.
8466 * config/rs6000/crtrestvr.S: New file.
8467 * config/rs6000/t-savresfgpr: Build the above.
8468 * config/rs6000/t-netbsd: Likewise.
8469
8470 2012-04-24 Sriraman Tallam <tmsriram@google.com>
8471
8472 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
8473
8474 2012-04-24 Sriraman Tallam <tmsriram@google.com>
8475
8476 * libgcc/config/i386/i386-cpuinfo.c: New file.
8477 * libgcc/config/i386/t-cpuinfo: New file.
8478 * libgcc/config.host: Include t-cpuinfo.
8479 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
8480
8481 2012-04-24 Chao-ying Fu <fu@mips.com>
8482
8483 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
8484
8485 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
8486
8487 struct siginfo vs. siginfo_t
8488
8489 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
8490 siginfo_t instead of struct siginfo.
8491 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
8492 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
8493 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
8494 (ia64_handle_unwabi): Likewise.
8495 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
8496 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
8497 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
8498 (sh_fallback_frame_state): Likewise.
8499 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
8500 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
8501
8502 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
8503
8504 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
8505 system call number.
8506
8507 2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
8508
8509 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
8510 if it hasn't been previously saved.
8511
8512 2012-03-29 H.J. Lu <hongjiu.lu@intel.com>
8513
8514 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
8515 only for glibc.
8516
8517 2012-03-28 Georg-Johann Lay <avr@gjlay.de>
8518
8519 PR target/52737
8520 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
8521 instead of __AVR_HAVE_8BIT_SP__.
8522
8523 2012-03-26 Tristan Gingold <gingold@adacore.com>
8524
8525 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
8526 (unw_table_entry): Use unw_word instead of unsigned long.
8527 (_Unwind_FindTableEntry): Likewise.
8528 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
8529 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
8530 (_Unwind_FindTableEntry): Likewise.
8531 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
8532 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
8533 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
8534 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
8535 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
8536 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
8537 (uw_init_context_1, uw_install_context): Likewise.
8538 (unw_word): Move to unwind-ia64.h
8539
8540 2012-03-26 Tristan Gingold <gingold@adacore.com>
8541
8542 * config/vms/vms-ucrt0.c: Update copyright years.
8543 Add a sanity check.
8544 (___gcc_main_flags): Declare.
8545 (__main): Check flags to remap argv and exit code.
8546 * config.host (*-*-*vms*): Adjust extra_parts.
8547 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
8548 (crt0.o): Add.
8549
8550 2012-03-22 Richard Earnshaw <rearnsha@arm.com>
8551
8552 * arm/lib1funcs.asm (ctzsi2): New function.
8553 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
8554 * arm/t-linux (LIB1ASMFUNCS): Likewise.
8555 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
8556 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
8557 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
8558 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
8559
8560 2012-03-21 Andreas Tobler <andreast@fgznet.ch>
8561
8562 * config.host: Add bits to support powerpc64-*-freebsd*.
8563 * config/rs6000/freebsd-unwind.h: New file.
8564 * config/rs6000/t-freebsd64: New file.
8565
8566 2012-03-20 Richard Guenther <rguenther@suse.de>
8567
8568 PR gcov-profile/52627
8569 * libgcov.c (init_mx): Fix mutex name.
8570
8571 2012-03-16 Tristan Gingold <gingold@adacore.com>
8572
8573 * config/ia64/vms-unwind.h: Remove ulong (and replace
8574 it by unw_reg where used). Define unw_reg with __int64.
8575
8576 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8577
8578 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
8579 Solaris 8 handling.
8580 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
8581 Solaris 8 handling.
8582 (sparc_is_sighandler): Likewise.
8583
8584 2012-03-13 H.J. Lu <hongjiu.lu@intel.com>
8585
8586 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
8587 <= saved reg size.
8588
8589 2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8590
8591 * config/arm/crtn.S: Fix typo.
8592
8593 2012-03-13 Richard Guenther <rguenther@suse.de>
8594
8595 * libgcov.c: Remove stdio.h include and NULL un-define.
8596
8597 2012-03-13 Richard Guenther <rguenther@suse.de>
8598
8599 PR target/52569
8600 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
8601
8602 2012-03-13 Richard Guenther <rguenther@suse.de>
8603
8604 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
8605
8606 2012-03-13 Richard Guenther <rguenther@suse.de>
8607
8608 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
8609 and __gthread_mutex_init_function definitions.
8610
8611 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8612
8613 * config.host (mips*-*-openbsd*): Remove.
8614
8615 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8616
8617 * config.host: Remove alpha*-dec-osf5.1* handling.
8618 * config/alpha/gthr-posix.c: Remove.
8619 * config/alpha/libgcc-osf5.ver: Remove.
8620 * config/alpha/osf5-unwind.h: Remove.
8621 * config/alpha/t-osf-pthread: Remove.
8622 * config/alpha/t-slibgcc-osf: Remove.
8623 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
8624 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
8625 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
8626 * mkmap-flat.awk: Remove osf_export handling.
8627
8628 2012-03-12 Richard Guenther <rguenther@suse.de>
8629
8630 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
8631 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
8632 (__gthread_mutex_init_function): New function.
8633 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
8634
8635 PR gcov/49484
8636 * libgcov.c: Include gthr.h.
8637 (__gcov_flush_mx): New global variable.
8638 (init_mx, init_mx_once): New functions.
8639 (__gcov_flush): Protect self with a mutex.
8640 (__gcov_fork): Re-initialize mutex after forking.
8641 * unwind-dw2-fde.c: Change condition under which to use
8642 __GTHREAD_MUTEX_INIT_FUNCTION.
8643
8644 2012-03-12 Tristan Gingold <gingold@adacore.com>
8645
8646 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
8647 * config/ia64/t-vms: Likewise.
8648
8649 2012-03-11 Michael Hope <michael.hope@linaro.org>
8650
8651 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
8652 for Thumb-2.
8653
8654 2012-03-07 Walter Lee <walt@tilera.com>
8655
8656 * config/tilepro/atomic.c: Rename "atomic_" prefix to
8657 "arch_atomic_".
8658 (atomic_xor): Rename and move definition to
8659 config/tilepro/atomic.h.
8660 (atomic_nand): Ditto.
8661 * config/tilepro/atomic.h: Rename "atomic_" prefix to
8662 "arch_atomic_".
8663 (arch_atomic_xor): Move from config/tilepro/atomic.c.
8664 (arch_atomic_nand): Ditto.
8665
8666 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
8667
8668 PR target/52507
8669 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
8670
8671 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
8672
8673 PR target/52505
8674 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
8675 from RAM.
8676
8677 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
8678
8679 PR target/52461
8680 PR target/52508
8681 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
8682 if RAMPZ affects reading from RAM.
8683 (__tablejump_elpm__): Ditto.
8684 (.xload): Ditto.
8685 (__movmemx_hi): Ditto.
8686 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
8687 (__do_global_dtors): Ditto.
8688 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
8689 (__movmemx_hi): Ditto.
8690
8691 2012-03-05 Richard Henderson <rth@redhat.com>
8692
8693 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
8694 [ARM] (count_trailing_zeros): Use the builtin.
8695
8696 2012-03-01 Kai Tietz <ktietz@redhat.com>
8697
8698 * soft-fp: Imported from glibc upstream.
8699
8700 2012-02-28 Kai Tietz <ktietz@redhat.com>
8701
8702 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
8703 for mingw-targets as attribute gcc_struct.
8704
8705 2012-02-28 Ian Lance Taylor <iant@google.com>
8706
8707 * generic-morestack.c (__splitstack_releasecontext): Correct call
8708 to __morestack_release_segments.
8709
8710 2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
8711
8712 PR target/52390
8713 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
8714 for __linux__ when removing signals from __morestack_fullmask.
8715
8716 2012-02-23 Georg-Johann Lay <avr@gjlay.de>
8717
8718 PR target/52261
8719 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
8720
8721 2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8722
8723 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
8724 instead of HAVE_INITFINI_ARRAY.
8725 * config/ia64/crtend.S: Likewise.
8726
8727 2012-02-20 Kai Tietz <ktietz@redhat.com>
8728
8729 PR libstdc++/52300
8730 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
8731
8732 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
8733 to w32-unwind.h header.
8734
8735 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
8736
8737 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
8738 (mips*-*-linux*): Remove t-slibgcc-libgcc.
8739 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
8740 * config/mips/mips16.S (__mips16_rdhwr): Delete.
8741
8742 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
8743
8744 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
8745
8746 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
8747
8748 PR libitm/52220
8749 * config/darwin-crt-tm.c: Correct typo.
8750
8751 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
8752 Patrick Marlier <patrick.marlier@gmail.com>
8753
8754 PR libitm/52220
8755 * config/darwin-crt-tm.c: Generate dummy functions.
8756
8757 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
8758 Patrick Marlier <patrick.marlier@gmail.com>
8759
8760 PR libitm/52042
8761 * config/darwin-crt-tm.c (getTMCloneTable): New function.
8762 (__doTMRegistrations): Call it.
8763 (__doTMdeRegistrations): Likewise.
8764
8765 2012-01-15 Georg-Johann Lay <avr@gjlay.de>
8766 Anatoly Sokolov <aesok@post.ru>
8767 Eric Weddington <eric.weddington@atmel.com>
8768
8769 PR target/52261
8770 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
8771 (__epilogue_restores__): Ditto.
8772
8773 2012-02-15 Eric Botcazou <ebotcazou@adacore.com>
8774
8775 PR target/51921
8776 PR target/52205
8777 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
8778 Solaris 11 and slightly reformat.
8779 (sparc_is_sighandler): Likewise.
8780
8781 2012-02-14 Walter Lee <walt@tilera.com>
8782
8783 * config.host: Handle tilegx and tilepro.
8784 * config/tilegx/sfp-machine.h: New file.
8785 * config/tilegx/sfp-machine32.h: New file.
8786 * config/tilegx/sfp-machine64.h: New file.
8787 * config/tilegx/t-crtstuff: New file.
8788 * config/tilegx/t-softfp: New file.
8789 * config/tilegx/t-tilegx: New file.
8790 * config/tilepro/atomic.c: New file.
8791 * config/tilepro/atomic.h: New file.
8792 * config/tilepro/linux-unwind.h: New file.
8793 * config/tilepro/sfp-machine.h: New file.
8794 * config/tilepro/softdivide.c: New file.
8795 * config/tilepro/softmpy.S: New file.
8796 * config/tilepro/t-crtstuff: New file.
8797 * config/tilepro/t-tilepro: New file.
8798
8799 2012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
8800
8801 PR libstdc++/51296
8802 PR libstdc++/51906
8803 * gthr-posix.h: Allow static initializer macros to be disabled.
8804 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
8805
8806 2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
8807
8808 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
8809 Add t-slibgcc-libgcc to tmake_file.
8810 * config/mips/libgcc-mips16.ver: Revert previous patch.
8811 * config/mips/mips16.S (__mips16_rdhwr): Hide.
8812
8813 2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
8814 Jayant R Sonar <jayant.sonar@kpitcummins.com>
8815
8816 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
8817 * config/cr16/crti.S: New file.
8818 * config/cr16/crtlibid.S: New file.
8819 * config/cr16/crtn.S: New file.
8820 * config/cr16/lib1funcs.S: New file.
8821 * config/cr16/t-cr16: New file.
8822 * config/cr16/t-crtlibid: New file.
8823 * config/cr16/unwind-dw2.h: New file.
8824 * config/cr16/unwind-cr16.c: New file.
8825 * config/cr16/divmodhi3.c: New file.
8826
8827 2012-01-25 Alan Modra <amodra@gmail.com>
8828
8829 * config/rs6000/t-linux64: Delete. Move..
8830 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
8831 * config/rs6000/t-linux: ..and libgcc flags to here.
8832
8833 2012-01-22 Douglas B Rupp <rupp@gnat.com>
8834
8835 * config.host (i[34567]86-*-interix3*):
8836 Change triplet to i[34567]86-*-interix[3-9]*.
8837 * configure: Regenerate.
8838
8839 2012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
8840 Richard Sandiford <rdsandiford@googlemail.com>
8841
8842 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
8843 * config/mips/mips16.S (__mips16_rdhwr): New function.
8844 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
8845
8846 2012-01-11 Nathan Sidwell <nathan@acm.org>
8847
8848 * libgcov.c (__gcov_init): Ignore objects with no functions.
8849
8850 2012-01-10 Georg-Johann Lay <avr@gjlay.de>
8851
8852 PR target/49868
8853 Extend __pgmx semantics to linearize memory.
8854 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
8855 * config/avr/lib1funcs.S (__xload_1): New function.
8856 (__movmemx_qi, __movmemx_hi): New functions.
8857 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
8858 semantics.
8859
8860 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
8861
8862 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
8863 purported sigacthandler address isn't null before dereferencing it.
8864 (sparc_is_sighandler): Likewise.
8865
8866 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
8867
8868 PR ada/41929
8869 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
8870 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
8871 (sparc_is_sighandler): Likewise.
8872 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
8873
8874 2012-01-06 Tristan Gingold <gingold@adacore.com>
8875
8876 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
8877 compatibility thunks...
8878 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
8879 (crtbeginS.o, crtendS.o): ... and these to ...
8880 * config/ia64/t-ia64-elf: ... this new file.
8881 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
8882 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
8883
8884 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8885
8886 * configure: Regenerate.
8887 * config/s390/t-crtstuff: Remove -fPIC.
8888
8889 2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
8890
8891 PR bootstrap/51006
8892 * enable-execute-stack-mprotect.c (getpagesize): Do not define
8893 for NetBSD.
8894
8895 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
8896
8897 PR target/51345
8898 * config/avr/lib1funcs.S: Remove FIXME comments.
8899 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
8900
8901 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
8902
8903 Implement light-weight DImode support.
8904 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
8905 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
8906 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
8907 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
8908
8909 2011-12-30 Nathan Sidwell <nathan@acm.org>
8910
8911 * libgcov.c (gcov_crc32): Remove global var.
8912 (free_fn_data): New function.
8913 (buffer_fn_data): Pass in filename, more robust error recovery.
8914 (crc32_unsigned): New function.
8915 (gcov_exit): More robust detection of new program. More robust
8916 error recovery.
8917 (__gcov_init): Do not update program's crc here.
8918
8919 2011-12-21 Tristan Gingold <gingold@adacore.com>
8920
8921 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
8922
8923 2011-12-21 Ian Lance Taylor <iant@google.com>
8924
8925 * config/i386/morestack.S: Simplify CFI opcodes throughout.
8926
8927 2011-12-20 Ian Lance Taylor <iant@google.com>
8928
8929 * config/i386/morestack.S (__morestack_non_split): If there is
8930 enough stack space already, don't split. Ask for more stack space
8931 than we required.
8932
8933 2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
8934
8935 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
8936 `sys/sdt.h'.
8937 (_Unwind_DebugHook): New function.
8938 (uw_restore_core_regs): New define.
8939 (unwind_phase2): Use uw_restore_core_regs instead of
8940 restore_core_regs.
8941 (unwind_phase2_forced): Likewise.
8942 (__gnu_Unwind_Resume): Likewise.
8943
8944 2011-12-20 Uros Bizjak <ubizjak@gmail.com>
8945
8946 * config/alpha/linux-unwind.h: Update copyright years.
8947 (MD_FROB_UPDATE_CONTEXT): New define.
8948 (alpha_frob_update_context): New function.
8949
8950 2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
8951
8952 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
8953 tmake_file rather replacing it.
8954
8955 2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
8956
8957 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
8958 function is not used for PPC64.
8959 (save_world): Amend comments. Update the VRsave mask to reflect the
8960 saved regs.
8961 (rest_world): Update comments, do not clobber r10, do not use r8.
8962 (eh_rest_world_r10): Amend comments, do not use r8.
8963 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
8964 no longer used, move restore of CR and target address to the end of
8965 the routine.
8966
8967 2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
8968
8969 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
8970 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
8971
8972 2011-12-14 Georg-Johann Lay <avr@gjlay.de>
8973
8974 PR target/49313
8975 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
8976 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
8977
8978 2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
8979
8980 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
8981
8982 2011-12-09 Georg-Johann Lay <avr@gjlay.de>
8983
8984 PR target/49313
8985 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
8986 * config/avr/lib1funcs.S (__muldi3): New function.
8987
8988 2011-12-06 Andrew Pinski <apinski@cavium.com>
8989
8990 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
8991 size of func_ptr.
8992 (__frame_dummy_init_array_entry): Likewise.
8993
8994 2011-12-06 Georg-Johann Lay <avr@gjlay.de>
8995
8996 Forward-port from gcc-4_6-branch r181936 2011-12-02.
8997
8998 PR target/51345
8999 PR target/51002
9000 * config/avr/lib1funcs.S (__prologue_saves__,
9001 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
9002 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
9003
9004 2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
9005
9006 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
9007
9008 2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9009
9010 PR other/51272
9011 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
9012 (_ITM_deregisterTMCloneTable): Likewise.
9013 (__register_frame_info): Fix unused warning.
9014 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
9015 pthread_default_stacksize_np): Likewise.
9016 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
9017
9018 2011-11-29 DJ Delorie <dj@redhat.com>
9019
9020 * config.host (rl78-*-elf): New case.
9021 * config/rl78: New directory for the Renesas RL78.
9022
9023 2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
9024
9025 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
9026 formatting.
9027
9028 2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9029
9030 PR other/51022
9031 * config/rs6000/t-savresfgpr: New file.
9032 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
9033 $(srcdir)/config/rs6000/eabi.S.
9034 * config/rs6000/t-ppccomm-ldbl: Remove.
9035 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
9036 tmake_file.
9037 (powerpc-*-eabispe*): Likewise.
9038 (powerpc-*-eabi*): Likewise.
9039 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9040 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
9041 to tmake_file, remove rs6000/t-ppccomm-ldbl.
9042 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
9043 tmake_file.
9044 (powerpc-*-eabisim*): Likewise.
9045 (powerpc-*-elf*): Likewise.
9046 (powerpc-*-eabialtivec*): Likewise.
9047 (powerpc-xilinx-eabi*): Likewise.
9048 (powerpc-*-rtems*): Likewise.
9049 (powerpcle-*-elf*): Likewise.
9050 (powerpcle-*-eabisim*): Likewise.
9051 (powerpcle-*-eabi*): Likewise.
9052
9053 2011-11-27 Ian Lance Taylor <iant@google.com>
9054
9055 * generic-morestack.c (__splitstack_find): Check for NULL old
9056 stack value.
9057 (__splitstack_resetcontext): New function.
9058 (__splitstack_releasecontext): New function.
9059 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
9060
9061 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
9062
9063 * config/darwin-crt-tm.c: Correct comments, use correct licence.
9064
9065 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
9066
9067 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
9068
9069 2011-11-26 Richard Henderson <rth@redhat.com>
9070
9071 * config/m68k/linux-atomic.c: New file.
9072 * config/m68k/t-linux: New file.
9073 * config.host (m68k-uclinux, m68k-linux): Use it.
9074
9075 2011-11-26 Richard Henderson <rth@redhat.com>
9076
9077 * crtstuff.c (__TMC_LIST__): Mark used not unused.
9078 (__TMC_END__): Only declare if hidden is available; in the definition,
9079 if hidden is unavailable add a null record.
9080 (deregister_tm_clones, register_tm_clones): New.
9081 (__do_global_dtors_aux, frame_dummy): Use them.
9082 (__do_global_dtors, __do_global_ctors_1): Likewise.
9083
9084 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
9085
9086 * config/darwin-crt-tm.c: New file.
9087 * config.host (darwin): Build crttms.o crttme.o to provide
9088 startup and shutdown for tm clones.
9089 * config/t-darwin (crttms.o): New build rule.
9090 (crttme.o): Likewise.
9091
9092 2011-11-21 Hans-Peter Nilsson <hp@axis.com>
9093
9094 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
9095 et al.
9096
9097 2011-11-21 Richard Henderson <rth@redhat.com>
9098
9099 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
9100 (__TMC_LIST__, __TMC_END__): New.
9101 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
9102 (__do_global_dtors): Likewise.
9103 (frame_dummy): Call _ITM_registerTMCloneTable.
9104 (__do_global_ctors_1): Likewise.
9105
9106 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9107
9108 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
9109 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
9110 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
9111 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
9112 * config/i386/t-darwin64: Remove.
9113 * config/sh/t-netbsd (LIB2ADD): Remove.
9114
9115 2011-11-21 Georg-Johann Lay <avr@gjlay.de>
9116
9117 PR target/49313
9118 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
9119 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
9120 * config/avr/lib1funcs.S (wmov): New assembler macro.
9121 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
9122 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
9123 (__udivmod64): New function.
9124 (__negdi2): New function.
9125
9126 2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
9127
9128 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
9129 *-*-freebsd*aout*): Remove.
9130
9131 2011-11-20 Hans-Peter Nilsson <hp@axis.com>
9132
9133 * static-object.mk (c_flags-$o): Save c_flags.
9134 ($(base)$(objext)): Use it.
9135
9136 2011-11-18 Steve Ellcey <sje@cup.hp.com>
9137
9138 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
9139
9140 2011-11-18 Georg-Johann Lay <avr@gjlay.de>
9141
9142 PR target/49868
9143 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
9144 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
9145 New functions.
9146
9147 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
9148
9149 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
9150 functions.
9151 (aeabi_uidivmod): Likewise.
9152 (umodsi3): Likewise.
9153 (divsi3): Likewise.
9154 (aeabi_idivmod): Likewise.
9155 (modsi3): Likewise.
9156
9157 2011-11-16 Tristan Gingold <gingold@adacore.com>
9158
9159 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
9160
9161 2011-11-15 Georg-Johann Lay <avr@gjlay.de>
9162
9163 PR target/49868
9164 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
9165 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
9166
9167 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9168
9169 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
9170 tmake_file list.
9171 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
9172 * config/pa/t-stublib64: Delete.
9173
9174 2011-11-12 Richard Henderson <rth@redhat.com>
9175
9176 * config/rs6000/linux-unwind.h (frob_update_context): Properly
9177 cast the pointer argument to _Unwind_SetGRPtr.
9178
9179 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9180
9181 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
9182
9183 2011-11-09 Ian Lance Taylor <iant@google.com>
9184
9185 * generic-morestack.c: Include <string.h>.
9186 (uintptr_type): Define.
9187 (struct initial_sp): Add dont_block_signals field. Reduce size of
9188 extra array by 1.
9189 (allocate_segment): Set prev field to NULL. Don't set
9190 __morestack_current_segment or __morestack_segments.
9191 (__generic_morestack): Update current->prev and *pp after calling
9192 allocate_segment.
9193 (__morestack_block_signals): Don't do anything if
9194 dont_block_signals is set.
9195 (__morestack_unblock_signals): Likewise.
9196 (__generic_findstack): Check for initial_sp == NULL. Add casts to
9197 uintptr_type.
9198 (__splitstack_block_signals): New function.
9199 (enum __splitstack_content_offsets): Define.
9200 (__splitstack_getcontext, __splitstack_setcontext): New functions.
9201 (__splitstack_makecontext): New function.
9202 (__splitstack_block_signals_context): New function.
9203 (__splitstack_find_context): New function.
9204 * config/i386/morestack.S (__morestack_get_guard): New function.
9205 (__morestack_set_guard, __morestack_make_guard): New functions.
9206 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
9207
9208 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9209
9210 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
9211 (i[34567]86-*-mingw*): ... here.
9212 (x86_64-*-mingw*): ... here.
9213
9214 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9215
9216 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
9217
9218 2011-11-07 Nathan Sidwell <nathan@acm.org>
9219
9220 * libgcov.c (struct gcov_fn_buffer): New struct.
9221 (buffer_fn_data): New helper.
9222 (gcov_exit): Rework for new gcov data structures.
9223
9224 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
9225
9226 PR target/49313
9227 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
9228
9229 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9230
9231 * config.host (tmake_file): Correct comment.
9232 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
9233 t-libgcc-pic.
9234 (bfin*-uclinux*): Likewise.
9235 (bfin*-linux-uclibc*): Likewise.
9236 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
9237
9238 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
9239 assigning.
9240 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9241 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
9242 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9243 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
9244 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9245 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
9246 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
9247 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9248 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
9249 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
9250 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
9251 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
9252 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
9253
9254 * config/bfin/t-elf: Remove.
9255 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
9256
9257 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9258
9259 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
9260 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
9261 (lm32-*-elf*, lm32-*-rtems*): Split into ...
9262 (lm32-*-elf*): ... this.
9263 (lm32-*-rtems*): ... and this.
9264 Add to tmake_file.
9265 (m32r-*-rtems*): Add to tmake_file.
9266 (moxie-*-rtems*): Likewise.
9267 (sparc-*-rtems*): Likewise.
9268 Remove t-rtems from tmake_file.
9269 (sparc64-*-rtems*): Likewise.
9270 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
9271 instead.
9272
9273 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9274
9275 PR bootstrap/50982
9276 * config/gthr-posix.h: Move ...
9277 * gthr-posix.h: ... here.
9278 * config/gthr-lynx.h: Reflect this.
9279 * config/gthr-vxworks.h: Likewise.
9280 * config/rs6000/gthr-aix.h: Likewise.
9281 * configure.ac (target_thread_file): Likewise.
9282 * configure: Regenerate.
9283
9284 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
9285
9286 * config.host (arm*-*-rtemseabi*): New target.
9287
9288 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9289
9290 PR other/50991
9291 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
9292 extra-parts.
9293
9294 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
9295
9296 * config.host (epiphany-*-elf*): New configuration.
9297 * config/epiphany: New Directory.
9298
9299 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
9300
9301 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
9302 * config/avr/t-rtems: New.
9303 Filter out _exit from LIB1ASMFUNCS.
9304
9305 2011-11-04 David S. Miller <davem@davemloft.net>
9306
9307 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
9308 * configure: Rebuild.
9309
9310 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9311
9312 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
9313 variable.
9314
9315 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
9316
9317 PR target/50931
9318 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
9319 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
9320
9321 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
9322
9323 PR target/50989
9324 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
9325
9326 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9327
9328 * config/c6x/t-elf (LIB2ADDEH): Set.
9329 * config/c6x/t-c6x-elf: Remove.
9330
9331 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9332
9333 * config/i386/sol2-ci.S: Rename to ...
9334 * config/i386/crti.S: ... this.
9335 * config/i386/sol2-cn.S: Rename to ...
9336 * config/i386/crtn.S: ... this.
9337 * config/sparc/sol2-ci.S: Rename to ...
9338 * config/sparc/crti.S: ... this.
9339 * config/sparc/sol2-cn.S: Rename to ...
9340 * config/sparc/crtn.S: ... this.
9341 * config/t-sol2 (CUSTOM_CRTIN): Remove.
9342 (crti.o, crtn.o): Remove.
9343
9344 2011-11-04 Tristan Gingold <gingold@adacore.com>
9345
9346 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
9347
9348 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
9349
9350 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
9351
9352 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
9353
9354 * config.host (crisv32-*-none, cris-*-none): Remove.
9355 (crisv32-*-elf): Append to tmake_file, don't just set it.
9356 (cris-*-elf): Add missing t-fdpbit to tmake_file.
9357
9358 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9359
9360 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
9361 (ecrtn$(objext)): Likewise.
9362 (ncrti$(objext)): Likewise.
9363 (ncrtn$(objext)): Likewise.
9364
9365 2011-11-03 Andreas Schwab <schwab@redhat.com>
9366
9367 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
9368
9369 2011-11-02 David S. Miller <davem@davemloft.net>
9370
9371 * configure.ac: Set host_address on sparc too.
9372 * configure: Regenerate.
9373 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
9374 based upon host_address.
9375 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
9376
9377 2011-11-02 Jason Merrill <jason@redhat.com>
9378
9379 * config/rs6000/t-ppccomm: Add missing \.
9380
9381 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9382
9383 * gthr-single.h, gthr.h: New files.
9384 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
9385 config/gthr-vxworks.h, config/i386/gthr-win32.h,
9386 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
9387 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
9388 * config/i386/gthr-win32.c: Include "gthr-win32.h".
9389 * configure.ac (thread_header): New variable.
9390 Set it depending on target_thread_file.
9391 (gthr-default.h): Link from $thread_header.
9392 * configure: Regenerate.
9393 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
9394
9395 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9396
9397 * configure.ac (tm_file_): New variable.
9398 Determine from tm_file.
9399 (tm_file, tm_defines): Substitute.
9400 * configure: Regenerate.
9401 * mkheader.sh: New file.
9402 * Makefile.in (clean): Remove libgcc_tm.h.
9403 ($(objects)): Depend on libgcc_tm.h.
9404 (libgcc_tm_defines, libgcc_tm_file): New variables.
9405 (libgcc_tm.h, libgcc_tm.stamp): New targets.
9406 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
9407 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
9408 ($(extra-parts)): Depend on libgcc_tm.h.
9409 * config.host (tm_defines, tm_file): New variable.
9410 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
9411 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
9412 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
9413 (avr-*-rtems*): Likewise.
9414 (avr-*-*): Likewise.
9415 (frv-*-elf): Likewise.
9416 (frv-*-*linux*): Likewise.
9417 (h8300-*-rtems*): Likewise.
9418 (h8300-*-elf*): Likewise.
9419 (i[34567]86-*-darwin*): Likewise.
9420 (x86_64-*-darwin*): Likewise.
9421 (rx-*-elf): Likewise.
9422 (tic6x-*-uclinux): Likewise.
9423 (tic6x-*-elf): Likewise.
9424 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
9425 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
9426 * config/i386/cygming-crtbegin.c: Likewise.
9427 * config/i386/cygming-crtend.c: Likewise.
9428 * config/ia64/fde-vms.c: Likewise.
9429 * config/ia64/unwind-ia64.c: Likewise.
9430 * config/libbid/bid_gcc_intrinsics.h: Likewise.
9431 * config/rs6000/darwin-fallback.c: Likewise.
9432 * config/stormy16/lib2funcs.c: Likewise.
9433 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
9434 * crtstuff.c: Likewise.
9435 * dfp-bit.h: Likewise.
9436 * emutls.c: Likewise.
9437 * fixed-bit.c: Likewise.
9438 * fp-bit.c: Likewise.
9439 * generic-morestack-thread.c: Likewise.
9440 * generic-morestack.c: Likewise.
9441 * libgcc2.c: Likewise.
9442 * libgcov.c: Likewise.
9443 * unwind-dw2-fde-dip.c: Likewise.
9444 * unwind-dw2-fde.c: Likewise.
9445 * unwind-dw2.c: Likewise.
9446 * unwind-sjlj.c: Likewise.
9447
9448 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9449
9450 * configure.ac: Include ../config/picflag.m4.
9451 (GCC_PICFLAG): Call it.
9452 Substitute.
9453 * configure: Regenerate.
9454 * Makefile.in (gcc_srcdir): Remove.
9455 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
9456 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
9457 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
9458 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
9459 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
9460 Use $<.
9461 Remove comment.
9462 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
9463 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
9464 to refer to libgcc2.c.
9465 Use $<.
9466 * config/darwin-64.c: New file.
9467 * config/darwin-crt3.c: Remove comment.
9468 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
9469 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
9470 config/udivmodsi4.c: New files.
9471 * config/memcmp.c, config/memcpy.c, config/memmove.c,
9472 config/memset.c: New files.
9473 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
9474 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
9475 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
9476 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
9477 * config/t-openbsd-thread: New file.
9478 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
9479 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
9480 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
9481 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
9482 qrnnd.S.
9483 Adapt filename.
9484 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
9485 to refer to gthr-posix.c.
9486 * config/alpha/t-vms (LIB2ADD): Set.
9487 * config/alpha/vms-gcc_shell_handler.c: New file.
9488 * config/arm/bpabi.c, config/arm/fp16.c,
9489 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
9490 config/arm/unaligned-funcs.c: New files.
9491 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
9492 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
9493 * config/arm/t-linux: Likewise.
9494 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
9495 * config/arm/t-netbsd: New file.
9496 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
9497 * config/arm/t-symbian (LIB2ADD_ST): Set.
9498 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
9499 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9500 * config/bfin/t-elf: New file.
9501 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
9502 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
9503 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
9504 config/c6x/ltf.c: New files.
9505 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
9506 (HOST_LIBGCC2_CFLAGS): Set.
9507 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
9508 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9509 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
9510 New files.
9511 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
9512 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
9513 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
9514 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
9515 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
9516 files.
9517 * config/frv/t-frv (LIB2ADD): Set.
9518 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9519 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
9520 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
9521 config/h8300/popcounthi2.c: New files.
9522 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
9523 * config/i386/gthr-win32.c: New file.
9524 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
9525 * config/i386/t-cygwin: Likewise.
9526 * config/i386/t-darwin, config/i386/t-darwin64,
9527 config/i386/t-gthr-win32, config/i386/t-interix: New files.
9528 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
9529 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9530 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9531 * config/ia64/quadlib.c: New file.
9532 * config/ia64/t-hpux (LIB2ADD): Set.
9533 * config/ia64/t-ia64: Add comment.
9534 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
9535 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9536 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
9537 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
9538 * config/m32c/t-m32c (LIB2ADD): Set.
9539 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
9540 * config/m32r/t-m32r: Likewise.
9541 * config/m68k/fpgnulib.c: New file.
9542 * config/m68k/t-floatlib (LIB2ADD): Set.
9543 (xfgnulib.c): New target.
9544 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
9545 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
9546 * config/mep/t-mep (LIB2ADD): Set.
9547 * config/microblaze/divsi3.asm: Rename to divsi3.S.
9548 * config/microblaze/moddi3.asm: Rename to moddi3.S.
9549 * config/microblaze/modsi3.asm: Rename to modsi3.S.
9550 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
9551 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
9552 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
9553 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
9554 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
9555 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
9556 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
9557 New files.
9558 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
9559 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
9560 * config/pa/fptr.c, config/pa/lib2funcs.S,
9561 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
9562 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
9563 (LIB2ADD, LIB2ADD_ST): Set.
9564 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
9565 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
9566 Set.
9567 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
9568 * config/pdp11/t-pdp11: New file.
9569 * config/picochip/libgccExtras/adddi3.S,
9570 config/picochip/libgccExtras/ashlsi3.S,
9571 config/picochip/libgccExtras/ashrsi3.S,
9572 config/picochip/libgccExtras/clzsi2.S,
9573 config/picochip/libgccExtras/cmpsi2.S,
9574 config/picochip/libgccExtras/divmod15.S,
9575 config/picochip/libgccExtras/divmodhi4.S,
9576 config/picochip/libgccExtras/divmodsi4.S,
9577 config/picochip/libgccExtras/lshrsi3.S,
9578 config/picochip/libgccExtras/parityhi2.S,
9579 config/picochip/libgccExtras/popcounthi2.S,
9580 config/picochip/libgccExtras/subdi3.S,
9581 config/picochip/libgccExtras/ucmpsi2.S,
9582 config/picochip/libgccExtras/udivmodhi4.S,
9583 config/picochip/libgccExtras/udivmodsi4.S: New files.
9584 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
9585 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
9586 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
9587 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
9588 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
9589 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
9590 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
9591 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
9592 files.
9593 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
9594 (HOST_LIBGCC2_CFLAGS): Set.
9595 * config/rs6000/t-darwin64: New file.
9596 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
9597 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
9598 * config/rs6000/t-ppccomm (LIB2ADD): Add
9599 $(srcdir)/config/rs6000/tramp.S.
9600 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
9601 Add $(srcdir)/config/rs6000/eabi.S.
9602 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
9603 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
9604 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
9605 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
9606 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
9607 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
9608 * config/rs6000/tramp.S: New file.
9609 * config/s390/t-tpf: Remove.
9610 * config/sh/linux-atomic.S: New file.
9611 * config/sh/t-linux (LIB2ADD): Set.
9612 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
9613 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
9614 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
9615 to unwind-dw2.c.
9616 (HOST_LIBGCC2_CFLAGS): Set.
9617 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9618 * config/spu/divmodti4.c, config/spu/divv2df3.c,
9619 config/spu/float_disf.c, config/spu/float_unsdidf.c,
9620 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
9621 config/spu/mfc_multi_tag_release.c,
9622 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
9623 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
9624 config/spu/multi3.c: New files.
9625 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
9626 (HOST_LIBGCC2_CFLAGS): Set.
9627 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
9628 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
9629 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
9630 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
9631 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
9632 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
9633 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
9634 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
9635 config/stormy16/umodsi3.c: New files.
9636 * config/xtensa/lib2funcs.S: New file.
9637 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
9638 * config/xtensa/t-xtensa (LIB2ADD): Set.
9639 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
9640 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
9641 Add t-freebsd-thread to tmake_file for posix threads.
9642 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
9643 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
9644 (*-*-lynxos*): Likewise.
9645 (*-*-netbsd*): Likewise.
9646 (*-*-openbsd*): Likewise.
9647 Add t-openbsd-thread to tmake_file for posix threads.
9648 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
9649 (*-*-vxworks*): Set tmake_file.
9650 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
9651 (alpha*-*-freebsd*): Likewise.
9652 (alpha*-*-netbsd*): Likewise.
9653 (alpha*-*-openbsd*): Likewise.
9654 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
9655 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
9656 (alpha*-dec-*vms*): Likewise.
9657 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
9658 (bfin*-elf*): Add bfin/t-elf to tmake_file.
9659 (bfin*-uclinux*): Likewise.
9660 (bfin*-linux-uclibc*): Likewise.
9661 (crisv32-*-elf): Add cris/t-cris to tmake_file.
9662 (crisv32-*-none): Likewise.
9663 (cris-*-elf): Likewise.
9664 (cris-*-none): Likewise.
9665 (cris-*-linux*, crisv32-*-linux*): Likewise.
9666 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
9667 tmake_file.
9668 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
9669 tmake_file.
9670 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
9671 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
9672 (x86_64-*-elf*): Likewise.
9673 (i[34567]86-*-nto-qnx*): Likewise.
9674 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
9675 win32 threads.
9676 (x86_64-*-mingw*): Likewise.
9677 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
9678 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
9679 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
9680 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
9681 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
9682 tmake_file.
9683 (mipsisa64sr71k-*-elf*): Likewise.
9684 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
9685 (mips-*-elf*, mipsel-*-elf*): Likewise.
9686 (mips64-*-elf*, mips64el-*-elf*): Likewise.
9687 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
9688 (mips*-*-rtems*): Likewise.
9689 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
9690 to tmake_file.
9691 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
9692 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
9693 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
9694 (spu-*-elf*): Likewise.
9695 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
9696
9697 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9698
9699 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
9700 $(srcdir) to refer to $(LIB1ASMSRC).
9701 Use $<.
9702 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
9703 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
9704 config/arm/lib1funcs.S: New files.
9705 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
9706 * config/arm/t-arm: New file.
9707 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
9708 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
9709 config/arm/t-strongarm-elf: New files.
9710 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
9711 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
9712 * config/avr/lib1funcs.S: New file.
9713 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9714 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
9715 * config/c6x/lib1funcs.S: New file.
9716 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9717 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
9718 * config/frv/lib1funcs.S: New file.
9719 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9720 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
9721 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
9722 * config/ia64/__divxf3.asm: Rename to ...
9723 * config/ia64/__divxf3.S: ... this.
9724 Adapt lib1funcs.asm filename.
9725 * config/ia64/_fixtfdi.asm: Rename to ...
9726 * config/ia64/_fixtfdi.S: ... this.
9727 Adapt lib1funcs.asm filename.
9728 * config/ia64/_fixunstfdi.asm: Rename to ...
9729 * config/ia64/_fixunstfdi.S: ... this.
9730 Adapt lib1funcs.asm filename.
9731 * config/ia64/_floatditf.asm: Rename to ...
9732 * config/ia64/_floatditf.S: ... this.
9733 Adapt lib1funcs.asm filename.
9734 * config/ia64/lib1funcs.S: New file.
9735 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
9736 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9737 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
9738 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
9739 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
9740 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
9741 * config/mep/lib1funcs.S: New file.
9742 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9743 * config/mips/mips16.S: New file.
9744 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9745 * config/pa/milli64.S: New file.
9746 * config/pa/t-linux, config/pa/t-linux64: New files.
9747 * config/picochip/lib1funcs.S: New file.
9748 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9749 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
9750 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
9751 * config/sh/t-netbsd: New file.
9752 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
9753 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
9754 * config/sh/t-sh64: New file.
9755 * config/sparc/lb1spc.S: New file.
9756 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
9757 filename.
9758 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
9759 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
9760 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
9761 config/xtensa/lib1funcs.S: New files.
9762 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9763 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
9764 tmake_file.
9765 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
9766 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
9767 (arm*-*-linux*): Likewise.
9768 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
9769 arm*-*-linux-*eabi, add arm/t-linux otherwise.
9770 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
9771 (arm*-*-ecos-elf): Likewise.
9772 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
9773 (arm*-*-rtems*): Likewise.
9774 (arm*-*-elf): Likewise.
9775 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
9776 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
9777 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
9778 (bfin*-uclinux*): Likewise.
9779 (bfin*-linux-uclibc*): Likewise.
9780 (bfin*-rtems*): Likewise.
9781 (bfin*-*): Likewise.
9782 (fido-*-elf): Merge into m68k-*-elf*.
9783 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
9784 (frv-*-*linux*): Add frv/t-frv to tmake_file.
9785 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
9786 (h8300-*-elf*): Likewise.
9787 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
9788 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
9789 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
9790 (i[34567]86-*-mingw*): Likewise.
9791 (x86_64-*-mingw*): Likewise.
9792 (i[34567]86-*-interix3*): Likewise.
9793 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
9794 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
9795 (m68k-*-elf*): Also handle fido-*-elf.
9796 Add m68k/t-floatlib to tmake_file.
9797 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
9798 (m68k-*-linux*): Likewise.
9799 (m68k-*-rtems*): Likewise.
9800 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
9801 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
9802 sh64*-*-*.
9803 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
9804 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
9805 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
9806 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
9807 sh/t-netbsd to tmake_file.
9808 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
9809 (sh-*-rtems*): Add sh/t-sh to tmake_file.
9810 (sh-wrs-vxworks): Likewise.
9811 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
9812 *-leon[3-9]*.
9813 (v850*-*-*): Add v850/t-v850 to tmake_file.
9814 (vax-*-linux*): Add vax/t-linux to tmake_file.
9815 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
9816
9817 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9818
9819 * crtstuff.c: New file.
9820 * Makefile.in (CRTSTUFF_CFLAGS): Define.
9821 (CRTSTUFF_T_CFLAGS): Define.
9822 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
9823 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
9824 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
9825 crtstuff.c.
9826 Use $<.
9827 (crtbeginT.o): Use $(objext).
9828 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
9829 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
9830 (gcc-extra-parts): Remove.
9831 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
9832 Set extra_parts.
9833 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9834 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
9835 Add t-crtstuff-pic to tmake_file.
9836 (*-*-lynxos*): New case.
9837 Set tmake_file, extra_parts.
9838 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
9839 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
9840 *-*-netbsdelf[2-9]*.
9841 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
9842 (*-*-rtems*): Set extra_parts.
9843 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
9844 (*-*-uclinux*): New case.
9845 Set extra_parts.
9846 (*-*-vms*): New case.
9847 Set tmake_file, extra_parts.
9848 (*-*-elf): Set extra_parts.
9849 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
9850 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
9851 vms/t-vms64.
9852 Set extra_parts.
9853 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
9854 Set extra_parts.
9855 (arm*-*-freebsd*): Add t-crtin to tmake_file.
9856 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
9857 (arm-wrs-vxworks): Append to tmake_file.
9858 Set extra_parts.
9859 (arm*-*-uclinux*): Set extra_parts.
9860 (arm*-*-ecos-elf): Likewise.
9861 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
9862 arm*-*-eabi*.
9863 (arm*-*-rtems*): Set extra_parts.
9864 (arm*-*-elf): Likewise.
9865 (avr-*-rtems*): Clear extra_parts.
9866 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
9867 Set extra_parts.
9868 (bfin*-uclinux*): Likewise.
9869 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
9870 (bfin*-rtems*): Append to tmake_file.
9871 Set extra_parts.
9872 (bfin*-*): Likewise.
9873 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
9874 (crisv32-*-elf): ... this.
9875 (crisv32-*-none): ... this.
9876 (cris-*-elf, cris-*-none): New cases.
9877 Add cris/t-elfmulti to tmake_file.
9878 (fr30-*-elf): Append to tmake_file.
9879 Set extra_parts.
9880 (frv-*-elf): Append to tmake_file, add frv/t-frv.
9881 Set extra_parts.
9882 (h8300-*-rtems*): Append to tmake_file.
9883 Set extra_parts.
9884 (h8300-*-elf*): Likewise.
9885 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
9886 Set extra_parts.
9887 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
9888 Set extra_parts.
9889 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
9890 (x86_64-*-elf*): Likewise.
9891 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
9892 (x86_64-*-freebsd*): Likewise.
9893 (x86_64-*-netbsd*): Likewise.
9894 (i[34567]86-*-linux*): Likewise.
9895 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
9896 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
9897 (x86_64-*-linux*): Likewise.
9898 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
9899 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
9900 tmake_file.
9901 Set extra_parts.
9902 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
9903 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
9904 Append to extra_parts, remove crtbegin.o, crtend.o.
9905 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
9906 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
9907 crtend.o, crtbeginS.o, crtendS.o.
9908 (ia64*-*-linux*): Comment extra_parts.
9909 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
9910 Set extra_parts.
9911 (iq2000*-*-elf*): Clear extra_parts.
9912 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
9913 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
9914 (m32r-*-elf*, m32r-*-rtems*): Split off ...
9915 (m32r-*-rtems*): ... this.
9916 Add m32r/t-m32r to tmake_file.
9917 (m68k-*-elf*): Add t-crtin to tmake_file.
9918 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
9919 (mcore-*-elf): Likewise.
9920 (microblaze*-*-*): Set extra_parts.
9921 (mips*-sde-elf*): New case.
9922 Set tmake_file, extra_parts.
9923 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
9924 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
9925 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
9926 tmake_file.
9927 Set extra_parts.
9928 (mipsisa64sr71k-*-elf*): Likewise.
9929 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
9930 (mips-*-elf*, mipsel-*-elf*): Likewise.
9931 (mips64-*-elf*, mips64el-*-elf*): Likewise.
9932 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
9933 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
9934 (mips*-*-rtems*): Likewise.
9935 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
9936 (moxie-*-*): Split into ...
9937 (moxie-*-elf, moxie-*-uclinux*): ... this.
9938 Add to extra_parts, remove crtbegin.o, crtend.o.
9939 (moxie-*-rtems*): New case.
9940 Set tmake_file.
9941 Clear extra_parts.
9942 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
9943 Set extra_parts.
9944 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
9945 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
9946 tmake_file.
9947 Set extra_parts.
9948 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
9949 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
9950 Set extra_parts.
9951 (powerpc-*-eabisim*): Likewise.
9952 (powerpc-*-elf*): Likewise.
9953 (powerpc-*-eabialtivec*): Likewise.
9954 (powerpc-xilinx-eabi*): Likewise.
9955 (powerpc-*-eabi*): Likewise.
9956 (powerpc-*-rtems*): Likewise.
9957 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
9958 tmake_file.
9959 Set extra_parts.
9960 (powerpc-*-lynxos*): Add to tmake_file.
9961 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
9962 rs6000/t-crtstuff, t-crtstuff-pic.
9963 Set extra_parts.
9964 (powerpcle-*-eabisim*): Likewise.
9965 (powerpcle-*-eabi*): Likewise.
9966 (rx-*-elf): Remove extra_parts.
9967 (s390x-ibm-tpf*): Set extra_parts.
9968 (score-*-elf): Set extra_parts.
9969 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9970 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9971 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9972 (sh64l*-*-netbsd*): Split into ...
9973 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
9974 Add t-crtstuff-pic to tmake_file.
9975 Set extra_parts.
9976 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
9977 Set extra_parts.
9978 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
9979 (sparc-*-elf*): Remove t-crtin from tmake_file.
9980 Add to extra_parts, remove crtbegin.o, crtend.o.
9981 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
9982 (sparc64-*-linux*): Likewise.
9983 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
9984 Add to extra_parts, remove crtbegin.o, crtend.o.
9985 (sparc64-*-elf*): Remove t-crtin from tmake_file.
9986 Add to extra_parts, remove crtbegin.o, crtend.o.
9987 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
9988 Add to extra_parts, remove crtbegin.o, crtend.o.
9989 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
9990 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
9991 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
9992 Set extra_parts.
9993 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
9994 Set extra_parts.
9995 (tic6x-*-*): Change to ...
9996 (tic6x-*-elf): ... this.
9997 Set extra_parts.
9998 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
9999 Set extra_parts.
10000 (am33_2.0-*-linux*): Add comment.
10001 (mep*-*-*): Add mep/t-mep to tmake_file.
10002 Set extra_parts.
10003 * config/alpha/t-vms: New file.
10004 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
10005 * config/arm/crti.S, config/arm/crtn.S: New files.
10006 * config/bfin/crti.S, config/bfin/crtn.S: New files.
10007 * config/bfin/crtlibid.S: New file.
10008 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
10009 * config/c6x/crti.S, config/c6x/crtn.S: New files.
10010 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
10011 (crti.o, crtin.o): New rules.
10012 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
10013 * config/c6x/t-uclinux: New file.
10014 * config/cris/t-elfmulti: New file.
10015 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
10016 * config/fr30/crti.S, config/fr30/crtn.S: New files.
10017 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
10018 * config/frv/t-frv: New file.
10019 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
10020 * config/h8300/crti.S, config/h8300/crtn.S: New files.
10021 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
10022 New files.
10023 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
10024 refer to cygming-crtbegin.c, cygming-crtend.c.
10025 Use $<.
10026 * config/i386/t-nto: New file.
10027 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
10028 * config/ia64/crti.S, config/ia64/crtn.S: New files.
10029 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
10030 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
10031 Use .S extension.
10032 Use $<.
10033 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
10034 (crtinitS.o): New rule.
10035 * config/ia64/vms-crtinit.S: New file.
10036 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
10037 * config/m32r/initfini.c: New file.
10038 * config/m32r/t-linux, config/m32r/t-m32r: New files.
10039 * config/m68k/crti.S, config/m68k/crtn.S: New files.
10040 * config/mcore/crti.S, config/mcore/crtn.S: New files.
10041 * config/mep/t-mep: New file.
10042 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
10043 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
10044 * config/mips/crti.S, config/mips/crtn.S: New files.
10045 * config/mips/t-crtstuff: New file.
10046 * config/mmix/crti.S, config/mmix/crtn.S: New files.
10047 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
10048 (CUSTOM_CRTIN): Set.
10049 ($(T)crti.o, $(T)crtn.o): Remove $(T),
10050 dependencies.
10051 Use $(srcdir) to refer to crti.S, crtn.S.
10052 Use .S extension, $<.
10053 * config/moxie/crti.asm: Rename to ...
10054 * config/moxie/crti.S: ... this.
10055 * config/moxie/crtn.asm: Rename to ...
10056 * config/moxie/crtn.S: ... this.
10057 * config/moxie/t-moxie: Remove.
10058 * config/pa/stublib.c: New file.
10059 * config/pa/t-stublib, config/pa/t-stublib64: New files.
10060 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
10061 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
10062 * config/rs6000/t-crtstuff: New file.
10063 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
10064 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
10065 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
10066 Make output file explicit.
10067 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
10068 Make output file explicit.
10069 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
10070 Make output file explicit.
10071 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
10072 Make output file explicit.
10073 * config/score/crti.S, config/score/crtn.S: New files.
10074 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
10075 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
10076 files.
10077 * config/sh/t-sh, config/sh/t-superh: New files.
10078 * config/sparc/t-linux64: New file.
10079 * config/spu/cache.S, config/spu/cachemgr.c: New files.
10080 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
10081 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
10082 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
10083 * config/t-crtin: Remove.
10084 * config/t-crtstuff-pic: New file.
10085 * config/t-sol2 (CUSTOM_CRTIN): Set.
10086 (crti.o, crtn.o): New rules.
10087 * config/vms/t-vms: New file.
10088 * config/vms/vms-ucrt0.c: New file.
10089 * config/xtensa/t-elf: New file.
10090
10091 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10092
10093 * Makefile.in (SHLIB_NM_FLAGS): Set.
10094 * mkmap-flat.awk, mkmap-symver.awk: New files.
10095 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
10096 exceptions.
10097 * configure: Regenerate.
10098 * config/libgcc-glibc.ver: New file.
10099 * config/libgcc-libsystem.ver: New file.
10100 * config/t-libunwind (SHLIB_LC): Set.
10101 * config/t-linux: New file.
10102 * config/t-slibgcc (INSTALL_SHLIB): New.
10103 (SHLIB_INSTALL): Use it.
10104 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
10105 to mkmap-symver.awk.
10106 (SHLIB_MAPFILES): Don't append, adapt pathname.
10107 (SHLIB_VERPFX): Set.
10108 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
10109 to mkmap-symver.awk.
10110 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
10111 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
10112 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
10113 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
10114 to mkmap-flat.awk.
10115 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
10116 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
10117 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
10118 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
10119 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
10120 * config/i386/libgcc-darwin.10.4.ver,
10121 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
10122 New files.
10123 * config/i386/t-darwin: Remove.
10124 * config/i386/t-darwin64: Likewise.
10125 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
10126 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
10127 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
10128 * config/i386/t-linux: New file.
10129 * config/i386/t-mingw32: New file.
10130 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
10131 * config/ia64/t-glibc: Rename to ...
10132 * config/ia64/t-linux: ... this.
10133 (SHLIB_MAPFILES): Set.
10134 * config/ia64/t-glibc-libunwind: Rename to ...
10135 * config/ia64/t-linux-libunwind: ... this.
10136 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
10137 * config/ia64/t-slibgcc-hpux: New file.
10138 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
10139 * config/m68k/t-slibgcc-elf-ver: New file.
10140 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
10141 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
10142 to mkmap-flat.awk.
10143 * config/pa/t-slibgcc-hpux: New file.
10144 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
10145 files.
10146 * config/rs6000/libgcc-darwin.10.4.ver,
10147 config/rs6000/libgcc-darwin.10.5.ver: New files.
10148 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
10149 config/rs6000/libgcc-glibc.ver.
10150 * config/rs6000/libgcc-ppc64.ver: Rename to
10151 config/rs6000/libgcc-ibm-ldouble.ver.
10152 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
10153 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
10154 * config/rs6000/t-ldbl128: Rename to ...
10155 * config/rs6000/t-linux: ... this.
10156 (SHLIB_MAPFILES): Adapt filename.
10157 * config/rs6000/t-slibgcc-aix: New file.
10158 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
10159 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
10160 libgcc-excl.ver, libgcc-glibc.ver.
10161 (SHLIB_LINK, SHLIB_INSTALL): Remove.
10162 * config/sparc/libgcc-glibc.ver: New file.
10163 * config/sparc/t-linux: New file.
10164 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
10165 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
10166 t-slibgcc-elf-ver to tmake_file.
10167 Add t-slibgcc-nolc-override to tmake_file for posix threads on
10168 *-*-freebsd[34].
10169 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10170 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
10171 t-slibgcc-elf-ver, t-linux to tmake_file.
10172 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
10173 tmake_file.
10174 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
10175 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
10176 (alpha*-dec-*vms*): Likewise.
10177 (arm*-*-freebsd*): Append to tmake_file.
10178 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
10179 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
10180 arm*-*-linux-*eabi.
10181 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
10182 tmake_file for arm*-*-symbianelf*.
10183 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
10184 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
10185 cris/t-linux.
10186 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
10187 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
10188 pa/t-slibgcc-dwarf-ver to tmake_file.
10189 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
10190 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
10191 (hppa*64*-*-hpux11*): Likewise.
10192 (hppa[12]*-*-hpux11*): Likewise.
10193 (x86_64-*-darwin*): Don't override tmake_file, but only keep
10194 i386/t-crtpc, i386/t-crtfm.
10195 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
10196 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
10197 to tmake_file.
10198 Add i386/t-cygwin to tmake_file.
10199 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
10200 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
10201 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
10202 to tmake_file.
10203 Add i386/t-mingw32 to tmake_file.
10204 (x86_64-*-mingw*): Likewise.
10205 (ia64*-*-freebsd*): Append to tmake_file.
10206 (ia64*-*-linux*): Append to tmake_file.
10207 Replace ia64/t-glibc by ia64/t-linux.
10208 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
10209 system libunwind.
10210 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
10211 t-slibgcc-hpux to tmake_file.
10212 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
10213 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
10214 (m32rle-*-linux*): Likewise.
10215 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
10216 sjlj exceptions.
10217 (microblaze*-linux*): New case.
10218 Append to tmake_file, add t-slibgcc-nolc-override.
10219 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
10220 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
10221 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
10222 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10223 rs6000/t-slibgcc-aix to tmake_file.
10224 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10225 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10226 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10227 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10228 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10229 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
10230 sh*-*-linux*.
10231 (sparc-*-linux*): Append to tmake_file for *-leon*.
10232 Add sparc/t-linux to tmake_file for non-Leon targets.
10233 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
10234 (tic6x-*-uclinux): New case.
10235 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
10236 (tic6x-*-*): Add c6x/t-elf to tmake_file.
10237 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
10238 (am33_2.0-*-linux*): Append to tmake_file.
10239 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
10240 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
10241 x86_64-*-kfreebsd*-gnu.
10242 Add i386/t-linux to tmake_file.
10243
10244 2011-10-28 Ian Lance Taylor <iant@google.com>
10245
10246 * config/i386/morestack.S: Correct CFI information to do proper
10247 returns throughout function. In 32-bit mode, save %ebx so that it
10248 is restored on unwind.
10249
10250 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
10251
10252 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
10253 case where B3 isn't the return register.
10254
10255 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
10256 logic for doubleword pops.
10257
10258 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
10259
10260 * config/rs6000/t-freebsd: Add wildcard.
10261
10262 2011-10-21 Paul Brook <paul@codesourcery.com>
10263
10264 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
10265
10266 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
10267 Eric Botcazou <ebotcazou@adacore.com>
10268
10269 PR target/50737
10270 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
10271 fs->signal_frame to 1.
10272
10273 2011-10-07 Ian Lance Taylor <iant@google.com>
10274
10275 * generic-morestack-thread.c: #include <errno.h>.
10276
10277 2011-10-07 Ian Lance Taylor <iant@google.com>
10278
10279 PR target/46093
10280 * generic-morestack.c (__generic_morestack): Make sure the segment
10281 is large enough for both the stack frame and the copied
10282 parameters.
10283
10284 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10285
10286 PR bootstrap/49804
10287 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
10288 extra_parts.
10289
10290 2011-09-28 Nick Clifton <nickc@redhat.com>
10291
10292 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
10293 64-bit doubles are not enabled.
10294 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
10295 and floatunsisf functions.
10296
10297 2011-09-13 Paul Brook <paul@codesourcery.com>
10298
10299 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
10300 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
10301 * unwind-arm-common.inc: New file.
10302 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
10303 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
10304 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
10305 * config/c6x/libunwind.S: New file.
10306 * config/c6x/pr-support.c: New file.
10307 * config/c6x/unwind-c6x.c: New file.
10308 * config/c6x/unwind-c6x.h: New file.
10309 * config/c6x/t-c6x-elf: New file.
10310
10311 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
10312
10313 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
10314 (ASM_DIVZERO): Ditto.
10315 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
10316
10317 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
10318
10319 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
10320
10321 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
10322
10323 PR target/50090
10324 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
10325 instead of an assembly one.
10326
10327 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
10328
10329 PR bootstrap/50047
10330 * Makefile.in (install-unwind_h): Create
10331 $(gcc_objdir)/include/unwind.h atomically.
10332
10333 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10334
10335 * Makefile.in (install-unwind_h): Remove destination file first.
10336
10337 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10338
10339 * sync.c: New file.
10340 * config/mips/t-mips16: New file.
10341 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
10342 (mips*-*-linux*): Likewise.
10343 (mips*-sde-elf*): Likewise.
10344 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
10345 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
10346 Add mips/t-mips16 to tmake_file.
10347 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
10348 (mips-*-elf*): Likewise.
10349 (mips64-*-elf*): Likewise.
10350 (mips64orion-*-elf*): Likewise.
10351 (mips*-*-rtems*): Likewise.
10352 (mipstx39-*-elf*): Likewise.
10353 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
10354 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
10355 LIBGCC_SYNC_CFLAGS.
10356 Use $(srcdir) to refer to sync.c.
10357 Use $<.
10358 ($(libgcc-sync-funcs-o)): Likewise.
10359 ($(libgcc-sync-size-funcs-s-o)): Likewise.
10360 ($(libgcc-sync-funcs-s-o)): Likewise.
10361
10362 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
10363
10364 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
10365 t-libunwind.
10366
10367 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
10368
10369 PR other/48007
10370 * config/i386/value-unwind.h: New.
10371
10372 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
10373
10374 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
10375 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
10376 Add to tmake_file rather than overriding it.
10377
10378 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10379
10380 * config/t-softfp: Remove.
10381 * soft-fp: Moved from ../gcc/config.
10382 * soft-fp/README: Remove t-softfp reference.
10383 * soft-fp/t-softfp: Move to config/t-softfp.
10384 (softfp_machine_header): Remove.
10385 (softfp_file_list): Remove config subdir.
10386 (soft-fp-objects): New variable.
10387 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
10388 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
10389 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
10390 * config/t-softfp-excl: New file.
10391 * config/t-softfp-sfdf: New file.
10392 * config/t-softfp-tf: New file.
10393 * config/no-sfp-machine.h: New file.
10394 * config/arm/sfp-machine.h: New file.
10395 * config/arm/t-softfp: New file.
10396 * config/c6x/sfp-machine.h: New file.
10397 * config/i386/32/t-fprules-softfp: Rename to ...
10398 * config/i386/32/t-softfp: ... this.
10399 (tifunctions, LIB2ADD): Remove.
10400 (softfp_int_modes): Override.
10401 * config/i386/64/t-softfp-compat (tf-functions): Remove config
10402 subdir.
10403 * config/i386/64/eqtf2.c: Likewise.
10404 * config/i386/64/getf2.c: Likewise.
10405 * config/i386/64/letf2.c: Likewise.
10406 * config/ia64/sft-machine.h: New file.
10407 * config/ia64/t-fprules-softfp: Rename to ...
10408 * config/ia64/t-softfp: ... this.
10409 * config/lm32/sfp-machine.h: New file.
10410 * config/moxie/t-moxie-softfp: Remove.
10411 * config/rs6000/ibm-ldouble-format: New file.
10412 * config/rs6000/ibm-ldouble.c: New file.
10413 * config/rs6000/libgcc-ppc-glibc.ver: New file
10414 * config/rs6000/libgcc-ppc64.ver: New file
10415 * config/rs6000/sfp-machine.h: New file.
10416 * config/rs6000/t-freebsd: New file.
10417 * config/rs6000/t-ibm-ldouble: New file.
10418 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
10419 libgcc-ppc-glibc.ver.
10420 * config/rs6000/t-linux64: New file.
10421 * config/rs6000/t-ppccomm (LIB2ADD): Add
10422 $(srcdir)/config/rs6000/ibm-ldouble.c.
10423 * config/rs6000/t-ppccomm-ldbl: New file.
10424 * config/score/sfp-machine.h: New file.
10425 * config.host (sfp_machine_header): Explain.
10426 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
10427 t-softfp to tmake_file.
10428 (arm*-*-uclinux*): Likewise.
10429 (arm*-*-ecos-elf): Likewise.
10430 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
10431 (arm*-*-rtems*): Likewise.
10432 (arm*-*-elf): Likewise.
10433 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
10434 in tmake_file.
10435 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
10436 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
10437 (lm32-*-uclinux*): Likewise.
10438 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
10439 t-softfp-excl, t-softfp.
10440 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
10441 (powerpc64-*-darwin*): Likewise.
10442 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
10443 to tmake_file.
10444 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
10445 tmake_file.
10446 (powerpc-*-eabisim*): Likewise.
10447 (powerpc-*-elf*): Likewise.
10448 (powerpc-*-eabialtivec*): Likewise.
10449 (powerpc-xilinx-eabi*): Likewise.
10450 (powerpc-*-rtems*): Likewise.
10451 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
10452 t-softfp-excl, t-softfp to tmake_file.
10453 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
10454 rs6000/t-ppccomm-ldbl to tmake_file.
10455 (powerpcle-*-elf*): Likewise.
10456 (powerpcle-*-eabisim*): Likewise.
10457 (powerpcle-*-eabi*): Likewise.
10458 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10459 rs6000/t-ibm-ldouble to tmake_file.
10460 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10461 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10462 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
10463 (tic6x-*-*): Likewise.
10464 (i[34567]86-*-darwin*, x86_64-*-darwin*,
10465 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
10466 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
10467 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
10468 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
10469 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
10470 t-softfp to tmake_file.
10471 * configure.ac (sfp_machine_header): Provide default if unset.
10472 Substitute.
10473 Link sfp-machine.h to config/$sfp_machine_header.
10474 * configure: Regenerate.
10475
10476 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10477
10478 * Makefile.in (double_type_size, long_double_type_size): Set.
10479 Remove $(fpbit-in-libgcc) support.
10480 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
10481 (fpbit-src): New variable.
10482 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
10483 Compile with -DFLOAT $(FPBIT_CFLAGS).
10484 Use $<.
10485 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
10486 Compile with $(FPBIT_CFLAGS).
10487 Use $<.
10488 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
10489 Compile with -DFLOAT $(TPBIT_CFLAGS).
10490 Use $<.
10491 * configure.ac (double_type_size, long_double_type_size):
10492 Determine and substitute.
10493 * configure: Regenerate.
10494 * fp-bit.c, fp-bit.h: New files.
10495 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
10496 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
10497 * config/mips/t-mips: New file.
10498 * config/mips/t-sdemtk: New file.
10499 * config/rs6000/ppc64-fp.c: New file.
10500 * config/rs6000/t-darwin (LIB2ADD): Add
10501 $(srcdir)/config/rs6000/ppc64-fp.c.
10502 * config/rs6000/t-ppc64-fp: New file.
10503 * config/rx/rx-lib.h: New file.
10504 * config/rx/t-rx (FPBIT): Set to true.
10505 ($(gcc_objdir)/fp-bit.c): Remove.
10506 (DPBIT): Set to true only with -m64bit-doubles.
10507 ($(gcc_objdir)/dp-bit.c): Remove.
10508 * config/sparc/t-softfp: Remove.
10509 * config/spu/t-elf: New file.
10510 * config/t-fdpbit, config/t-fpbit: New files.
10511 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
10512 (mips*-*-*): Likewise.
10513 (arm-wrs-vxworks): Likewise.
10514 (arm*-*-freebsd*): Likewise.
10515 (avr-*-rtems*): Add t-fpbit to tmake_file.
10516 (avr-*-*): Likewise.
10517 (bfin*-elf*): Add t-fdpbit to tmake_file.
10518 (bfin*-uclinux*): Likewise.
10519 (bfin*-linux-uclibc*): Likewise.
10520 (bfin*-rtems*): New case.
10521 Add t-fdpbit to tmake_file.
10522 (bfin*-*): Add t-fdpbit to tmake_file.
10523 (crisv32-*-elf): Likewise.
10524 (cris-*-linux*): Likewise.
10525 (fr30-*-elf): Likewise.
10526 (frv-*-elf, frv-*-*linux*): Likewise.
10527 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
10528 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
10529 (m32r-*-elf*): Likewise.
10530 (m32rle-*-elf*): Likewise.
10531 (m32r-*-linux*): Likewise.
10532 (m32rle-*-linux*): Likewise.
10533 (mcore-*-elf): Add t-fdpbit to tmake_file.
10534 (microblaze*-*-*): Likewise.
10535 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
10536 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
10537 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
10538 Fix typo.
10539 Add mips/t-tpbit to tmake-file.
10540 (mips*-*-linux*): Fix typo.
10541 (mips*-sde-elf*): New case
10542 Add mips/t-sdemtk unless using newlib.
10543 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
10544 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
10545 (mn10300-*-*): Likewise.
10546 (pdp11-*-*): Likewise.
10547 (picochip-*-*): Add t-fpbit to tmake_file.
10548 (powerpc-*-eabisimaltivec*): Likewise.
10549 (powerpc-*-eabisim*): Likewise.
10550 (powerpc-*-elf*): Likewise.
10551 (powerpc-*-eabialtivec*): Likewise.
10552 (powerpc-xilinx-eabi*): New case.
10553 Add t-fdpbit to tmake_file.
10554 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
10555 (powerpc-*-rtems*): Likewise.
10556 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
10557 tmake_file.
10558 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
10559 tmake_file.
10560 (powerpc-*-lynxos*): Likewise.
10561 (powerpcle-*-elf*): Likewise.
10562 (powerpcle-*-eabisim*): Likewise.
10563 (powerpcle-*-eabi*): Likewise.
10564 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10565 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
10566 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10567 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10568 (rx-*-elf): Add t-fdpbit to tmake_file.
10569 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10570 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10571 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10572 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
10573 sh*-*-netbsd*.
10574 (sh-*-rtems*): Add t-fdpbit to tmake_file.
10575 (sh-wrs-vxworks): Likewise.
10576 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
10577 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
10578 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
10579 (sparc64-*-rtems*): ... new case.
10580 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
10581 (spu-*-elf*): Likewise.
10582 Add spu/t-elf to tmake_file.
10583 (v850*-*-*): Add t-fdpbit to tmake_file.
10584 (xstormy16-*-elf): Likewise.
10585 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
10586 (mep*-*-*): Likewise.
10587
10588 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10589
10590 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
10591 variables.
10592 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
10593 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
10594 (install-unwind_h): New target.
10595 (all): Depend on it.
10596 * config.host (unwind_header): New variable.
10597 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
10598 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10599 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
10600 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
10601 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
10602 Set unwind_header.
10603 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
10604 Set unwind_header.
10605 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
10606 arm*-*-eabi*.
10607 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
10608 Set unwind_header.
10609 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
10610 (ia64*-*-freebsd*): Likewise.
10611 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
10612 tmake_file.
10613 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
10614 $with_system_libunwind.
10615 (ia64*-*-hpux*): Set tmake_file.
10616 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
10617 (picochip-*-*): Set tmake_file.
10618 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
10619 md_unwind_header.
10620 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10621 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10622 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
10623 (xtensa*-*-elf*): Set tmake_file.
10624 (xtensa*-*-linux*): Likewise.
10625 * configure.ac: Include ../config/unwind_ipinfo.m4.
10626 Call GCC_CHECK_UNWIND_GETIPINFO.
10627 Link unwind.h to $unwind_header.
10628 * configure: Regenerate.
10629 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
10630 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
10631 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
10632 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
10633 * config/unwind-dw2-fde-darwin.c: New file.
10634 * config/arm/libunwind.S, config/arm/pr-support.c,
10635 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
10636 config/arm/unwind-arm.h,: New files.
10637 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
10638 config/ia64/t-eh-ia64, config/ia64/t-glibc,
10639 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
10640 config/ia64/t-vms, config/ia64/unwind-ia64.c,
10641 config/ia64/unwind-ia64.h: New files.
10642 * config/picochip/t-picochip: New file.
10643 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
10644 files.
10645 * config/rs6000/t-darwin (LIB2ADDEH): Set.
10646 * config/s390/t-tpf (LIB2ADDEH): Remove.
10647 * config/t-darwin (LIB2ADDEH): Set.
10648 * config/t-eh-dw2-dip: New file.
10649 * config/t-libunwind, config/t-libunwind-elf: New files.
10650 * config/t-sol2 (LIB2ADDEH): Remove.
10651 * config/xtensa/t-xtensa: New file.
10652
10653 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
10654
10655 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
10656 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
10657 long long to check rt_sigreturn syscall.
10658
10659 2011-08-02 Alan Modra <amodra@gmail.com>
10660
10661 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
10662 Restore for indirect call bcrtl from correct stack slot, and only
10663 if cfa+40 isn't valid.
10664
10665 2011-08-01 Julian Brown <julian@codesourcery.com>
10666
10667 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
10668 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
10669 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
10670
10671 2011-08-01 Julian Brown <julian@codesourcery.com>
10672
10673 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
10674 (libgcc-std.ver.in): Use above.
10675 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
10676 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
10677 throughout file.
10678 * config/t-fixedpoint-gnu-prefix: New file.
10679 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
10680 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
10681 instead of __PFX__.
10682
10683 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
10684
10685 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
10686 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
10687 for x86-64. Properly check __x86_64__ and __LP64__.
10688
10689 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
10690
10691 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
10692 version.
10693 (_FP_WS_TYPE): Likewise.
10694 (_FP_I_TYPE): Likewise.
10695
10696 2011-07-28 Alan Modra <amodra@gmail.com>
10697
10698 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
10699 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
10700 in a plt call stub. Do restore r2 if stopped on bctrl.
10701
10702 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10703
10704 * config.host (i[3456x]86-*-netware*): Remove.
10705 * config/i386/netware-crt0.c, config/i386/t-nwld,
10706 config/i386/t-slibgcc-nwld: Remove.
10707
10708 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
10709
10710 * config.host: Handle tic6x-*-*.
10711 * config/c6x/c6x-abi.h: New file.
10712
10713 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10714
10715 * config/i386/crtprec.c: New file.
10716 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
10717 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
10718 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
10719 (x86_64-*-darwin*): Likewise.
10720 (i[34567]86-*-solaris2*: Likewise.
10721
10722 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10723
10724 * config/alpha/crtfastmath.c: New file.
10725 * config/i386/crtfastmath.c: New file.
10726 * config/ia64/crtfastmath.c: New file.
10727 * config/mips/crtfastmath.c: New file.
10728 * config/sparc/crtfastmath.c: New file.
10729
10730 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
10731 crtfastmath.c.
10732 Add -frandom-seed=gcc-crtfastmath.
10733 * config/alpha/t-crtfm: Remove.
10734 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
10735 * config/ia64/t-ia64 (crtfastmath.o): Remove.
10736
10737 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
10738 (alpha*-dec-osf5.1*): Likewise.
10739 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
10740 Add crtfastmath.o to extra_parts.
10741 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
10742 Add crtfastmath.o to extra_parts.
10743 (x86_64-*-darwin*): Likewise.
10744 (x86_64-*-mingw*): Likewise.
10745 (ia64*-*-elf*): Add t-crtfm to tmake_file.
10746 (ia64*-*-freebsd*): Likewise.
10747 (ia64*-*-linux*): Likewise.
10748 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
10749 Add crtfastmath.o to extra_parts.
10750
10751 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10752
10753 * config/darwin-crt3.o: New file.
10754 * config/rs6000/darwin-crt2.c: New file.
10755 * config/t-darwin: New file.
10756 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
10757 (crt2.o): New rule.
10758 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
10759 (powerpc-*-darwin*): Add crt2.o to extra_parts.
10760 (powerpc64-*-darwin*): Likewise.
10761
10762 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10763
10764 * config/i386/netware-crt0.c: New file.
10765 * config/i386/t-nwld: Rename to ...
10766 * config/i386/t-slibgcc-nwld: ... this.
10767 * config/i386/t-nwld: New file.
10768 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
10769 tmake_file.
10770 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
10771 extra_parts.
10772
10773 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10774
10775 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
10776 i386/t-crtstuff.
10777 * configure: Regenerate.
10778
10779 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10780
10781 * dfp-bit.c, dfp-bit.h: New files.
10782 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
10783 variables.
10784 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
10785 ($(d64pbit-o)): Likewise.
10786 ($(d128pbit-o)): Likewise.
10787 * config/t-dfprules: New file.
10788 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
10789 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
10790 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
10791 (x86_64-*-linux*): Likewise.
10792 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
10793 (i[34567]86-*-cygwin*): Likewise.
10794 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
10795 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
10796
10797 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10798
10799 * Makfile.in (LIBGCOV): New variable.
10800 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
10801 * libgcov.c: New file.
10802
10803 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10804
10805 * fixed-bit.c, fixed-bit.h: New files.
10806 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
10807 refer to fixed-bit.c.
10808
10809 2011-07-07 Joseph Myers <joseph@codesourcery.com>
10810
10811 * config.host (*local*): Remove.
10812
10813 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10814
10815 PR target/39150
10816 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
10817 like i?86-*-solaris2.1[0-9]*.
10818 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
10819 * configure.ac (i?86-*-solaris2*): Likewise.
10820 * configure: Regenerate.
10821
10822 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
10823
10824 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
10825 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
10826 md_unwind_header by splitting out of...
10827 (i[34567]86-*-linux*): ... this.
10828 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
10829 Remove md_unwind_header by splitting out of...
10830 (x86_64-*-linux*): ... this.
10831
10832 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
10833
10834 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
10835
10836 2011-06-28 Nick Clifton <nickc@redhat.com>
10837
10838 * config.host: Recognize all V850 variants.
10839
10840 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
10841
10842 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
10843
10844 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10845
10846 * shared-object.mk (c_flags-$o): Save c_flags.
10847 ($(base)$(objext)): Use it.
10848 ($(base)_s$(objext)): Likewise.
10849
10850 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
10851
10852 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
10853 * libgcc-std.ver.in (GCC_4.7.0): New section.
10854
10855 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
10856
10857 PR target/49313
10858 PR target/29524
10859 * config/avr/t-avr: Fix line endings.
10860 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
10861 _parityXX2.
10862
10863 2011-06-14 Olivier Hainque <hainque@adacore.com>
10864 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10865
10866 * config/mips/irix6-unwind.h: New file.
10867 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
10868
10869 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
10870
10871 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
10872 (sparc64_fallback_frame_state): Use it.
10873 (sparc64_frob_update_context): Further adjust context.
10874 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
10875 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
10876 * config/sparc/sol2-cn.S: Likewise.
10877
10878 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10879
10880 * enable-execute-stack-empty.c: New file.
10881 * enable-execute-stack-mprotect.c: New file.
10882 * config/i386/enable-execute-stack-mingw32.c: New file.
10883 * config.host (enable_execute_stack): New variable.
10884 Select appropriate variants.
10885 * configure.ac: Link enable-execute-stack.c to
10886 $enable_execute_stack.
10887 * configure: Regenerate.
10888 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
10889 (lib2funcs): Remove _enable_execute_stack.
10890
10891 2011-06-09 David S. Miller <davem@davemloft.net>
10892 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10893
10894 * config.host (sparc-*-linux*): Correct md_unwind_header
10895 filename.
10896 (s390x-ibm-tpf*): Fix typo.
10897
10898 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10899
10900 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
10901 Add crtfastmath.o to extra_parts.
10902 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
10903 mips/t-crtfm.
10904 * config/mips/t-crtfm: Remove.
10905
10906 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
10907
10908 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
10909
10910 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
10911
10912 * config.host (sh*-*-linux*): Fix typo.
10913
10914 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10915
10916 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
10917 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
10918 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
10919 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
10920 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
10921 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
10922 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
10923 Wrap in !__MINGW64__.
10924 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
10925 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
10926 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
10927 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
10928 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
10929 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
10930 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
10931 Wrap in !__LP64__.
10932 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
10933 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
10934 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
10935 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
10936 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
10937 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
10938 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
10939 * config/no-unwind.h: New file.
10940 * config.host (md_unwind_header): Document.
10941 Define.
10942 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
10943 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
10944 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
10945 hppa[12]*-*-hpux11*): Set md_unwind_header.
10946 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
10947 Set md_unwind_header.
10948 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
10949 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
10950 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
10951 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
10952 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
10953 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
10954 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
10955 md_unwind_header.
10956 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
10957 * configure: Regenerate.
10958
10959 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10960
10961 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
10962 Set tmake_file, extra_parts.
10963 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
10964 Remove O32 support.
10965 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
10966 Remove O32 support.
10967 * config/mips/t-irix6: New file.
10968 * config/mips/t-slibgcc-irix: New file.
10969
10970 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10971
10972 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
10973 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
10974
10975 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10976
10977 * configure.ac (target_thread_file): Determine thread model.
10978 * configure: Regenerate.
10979 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
10980 * config/alpha/t-alpha: New file.
10981 * config/alpha/t-crtfm: Use $<.
10982 * config/alpha/t-ieee: New file.
10983 * config/alpha/t-osf-pthread: New file.
10984 * config/alpha/t-slibgcc-osf: New file.
10985 * config/alpha/libgcc-osf5.ver: New file.
10986
10987 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10988
10989 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
10990 tmake_file.
10991 Add crtfastmath.o to extra_parts.
10992
10993 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10994
10995 * config/gmon-sol2.c: Reindent.
10996 Cleanup comments.
10997 Remove, correct casts.
10998 Use STDERR_FILENO, NULL.
10999 (BASEADDRESS): Remove.
11000 (minbrk): Remove.
11001 (errno, sbrk): Remove declarations.
11002 (monstartup) [hp300]: Remove.
11003 (mcount): Remove.
11004
11005 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11006
11007 * Makefile.in (cpu_type): Define.
11008 * config.host (i[34567]86-*-rtems*): Handle it.
11009 (i[34567]86-*-solaris2*): Move body ...
11010 (*-*-solaris2*): ... here.
11011 New case, generalize.
11012 (sparc-*-elf*): Handle it.
11013 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
11014 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
11015 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
11016 Fold into ...
11017 (sparc*-*-solaris2*): ... this.
11018 New case.
11019 (sparc64-*-elf*): Handle it.
11020 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
11021 Merge ../gcc/config/i386/gmon-sol2.c.
11022 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
11023 Use C comments.
11024 Merge ../gcc/config/i386/sol2-gc1.asm.
11025 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
11026 Use C comments.
11027 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
11028 Use C comments.
11029 * config/i386/t-crtfm (crtfastmath.o): Use $<.
11030 * config/i386/t-crtstuff: New file.
11031 * config/i386/t-softfp: New file.
11032 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
11033 $(T)crti.o, $(T)crtn.o): Remove.
11034 (gcrt1.o): New rule.
11035 (TARGET_LIBGCC2_CFLAGS): Remove.
11036 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
11037 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
11038 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
11039 * config/sparc/t-sol2: New file.
11040 * config/sparc/t-crtfm: Move to ...
11041 * config/t-crtfm: ... this.
11042 Use $(cpu_type), $<.
11043 * config/t-crtin: New file.
11044 * config/sparc/t-softfp: New file.
11045 * config/sparc/t-softmul: New file.
11046 * config/t-rtems: New file.
11047 * config/t-slibgcc: New file.
11048 * config/t-slibgcc-elf-ver: New file.
11049 * config/t-slibgcc-gld: New file.
11050 * config/t-slibgcc-sld: New file.
11051 * config/t-sol2: New file.
11052 * configure.ac: Include ../config/lib-ld.m4.
11053 Call AC_LIB_PROG_LD_GNU.
11054 Substitute cpu_type.
11055 * configure: Regenerate.
11056
11057 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
11058
11059 PR bootstrap/49173
11060 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
11061 libgcc-std.ver in the build directory.
11062 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
11063 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
11064
11065 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
11066
11067 * libgcc-std.ver.in: New file.
11068 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
11069 variables.
11070 (libgcc-std.ver): New rule.
11071 * config/t-gnu-prefix: New file.
11072
11073 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11074
11075 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
11076
11077 2011-05-10 Joseph Myers <joseph@codesourcery.com>
11078
11079 * config/i386/darwin-lib.h: New file.
11080
11081 2011-05-10 Joseph Myers <joseph@codesourcery.com>
11082
11083 * config/arm/symbian-lib.h: New.
11084
11085 2011-05-04 Chris Demetriou <cgd@google.com>
11086
11087 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
11088 (__x86.get_pc_thunk.bx): ...this.
11089 (__morestack): Adjust for rename, remove undef of __i686.
11090
11091 2011-05-03 Chris Demetriou <cgd@google.com>
11092
11093 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
11094
11095 2011-03-22 Joseph Myers <joseph@codesourcery.com>
11096
11097 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
11098 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
11099 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
11100 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
11101 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
11102 Remove cases.
11103
11104 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
11105
11106 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
11107 Adjust copyright year.
11108
11109 2011-03-07 Ian Lance Taylor <iant@google.com>
11110
11111 * generic-morestack.c (__splitstack_find): Adjust returned stack
11112 pointer to include all registers pushed by __morestack.
11113
11114 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
11115
11116 PR target/40125
11117 * configure.ac: Call ACX_NONCANONICAL_TARGET.
11118 (toolexecdir): Calculate and AC_SUBST.
11119 (toolexeclibdir): Likewise.
11120 * Makefile.in (target_noncanonical): Import.
11121 (toolexecdir): Likewise.
11122 (toolexeclibdir): Likewise.
11123 * configure: Regenerate.
11124
11125 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
11126
11127 PR target/46040
11128 * config/arm/bpabi.h: Rename to...
11129 * config/arm/bpabi-lib.h: ...this.
11130
11131 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11132
11133 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
11134 appropriate.
11135 * configure: Regenerate.
11136
11137 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
11138
11139 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
11140 __FLOAT_WORD_ORDER__.
11141 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
11142 Delete.
11143
11144 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11145
11146 PR other/46202
11147 * Makefile.in (install-strip): New phony target.
11148
11149 2010-11-07 Ian Lance Taylor <iant@google.com>
11150
11151 PR target/46089
11152 * config/i386/morestack.S (__morestack_large_model): New
11153 function.
11154
11155 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
11156
11157 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
11158 Delete.
11159 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
11160
11161 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
11162
11163 * config/arm/bpabi.h: New file.
11164 * config/frv/frv-abi.h: New file.
11165
11166 2010-10-01 Ian Lance Taylor <iant@google.com>
11167
11168 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
11169 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
11170
11171 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
11172
11173 PR target/45858
11174 * config.host: Add the missing `$'.
11175
11176 2010-09-30 Michael Eager <eager@eagercon.com>
11177
11178 * config.host: Add microblaze*-*-*.
11179 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
11180 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
11181 udivsi3.asm,umodsi3.asm}: New.
11182
11183 2010-09-28 Ian Lance Taylor <iant@google.com>
11184
11185 * configure.ac: Adjust CFI test to test assembler directly rather
11186 than checking gcc preprocessor macro.
11187 * configure: Rebuild.
11188
11189 2010-09-27 Ian Lance Taylor <iant@google.com>
11190
11191 * configure.ac: Test whether assembler supports CFI directives.
11192 * config.host: Only add t-stack and i386/t-stack-i386 to
11193 tmake_file if libgcc_cv_cfi is "yes".
11194 * configure: Rebuild.
11195
11196 2010-09-27 Ian Lance Taylor <iant@google.com>
11197
11198 * generic-morestack.h: New file.
11199 * generic-morestack.c: New file.
11200 * generic-morestack-thread.c: New file.
11201 * config/i386/morestack.S: New file.
11202 * config/t-stack: New file.
11203 * config/i386/t-stack-i386: New file.
11204 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
11205 i386/t-stack-i386 to tmake_file.
11206
11207 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
11208
11209 * Makefile.in (libgcc-extra-parts): Check for static archives and
11210 invoke ranlib after installing them.
11211 (gcc-extra-parts): Likewise.
11212 (install-leaf): Likewise.
11213
11214 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
11215
11216 * configure: Regenerated.
11217
11218 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
11219
11220 * configure: Regenerated.
11221
11222 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
11223 Andrew Pinski <pinskia@gmail.com>
11224
11225 PR target/40959
11226 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
11227
11228 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
11229
11230 PR target/45524
11231 * configure: Regenerated.
11232
11233 2010-09-06 Andreas Schwab <schwab@redhat.com>
11234
11235 * configure: Regenerate.
11236
11237 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
11238
11239 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
11240 64bit targets.
11241 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
11242 for 64bit targets.
11243
11244 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
11245 Iain Sandoe <iains@gcc.gnu.org>
11246
11247 PR target/45476
11248 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
11249 LIB2FUNCS_EXCLUDE functions.
11250
11251 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11252
11253 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
11254 Include dfp.m4.
11255 * configure: Regenerate.
11256
11257 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
11258
11259 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
11260 i386/t-freebsd to tmake_file.
11261 * config/i386/t-freebsd: New file.
11262 * config/i386/libgcc-bsd.ver: New file.
11263
11264 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
11265
11266 * config.host (powerpc*-eabispe*): Set tmake_file.
11267 (powerpc*-eabi*): Likewise.
11268 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
11269 crtbeginS, crtendS, crtbeginT.
11270
11271 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
11272
11273 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
11274 to tmake_file. Add crtfastmath.o to extra_parts.
11275 * config/mips/t-crtfm: New.
11276
11277 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
11278
11279 * config.host (sparc64-*-rtems*): New target.
11280
11281 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11282
11283 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
11284 assembler syntax.
11285
11286 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
11287
11288 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
11289
11290 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11291
11292 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
11293 alpha-dec-osf5.0* support.
11294
11295 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
11296
11297 * config.host: Add lm32-*-rtems*.
11298
11299 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11300 Uros Bizjak <ubizjak@gmail.com>
11301
11302 PR target/39048
11303 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
11304 like other remaining 32-bit x86 OSes.
11305 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
11306 assembler syntax.
11307 * config/i386/libgcc-sol2.ver: New file.
11308 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
11309
11310 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
11311
11312 PR c/43553
11313 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
11314 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
11315 is used and substitute set_use_emutls.
11316 * configure: Regenerated.
11317
11318 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
11319
11320 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
11321
11322 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11323
11324 PR target/38085
11325 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
11326 MULTILIB_CFLAGS.
11327 ($(T)gcrt1.o): Likewise.
11328 ($(T)crt1.o): Likewise.
11329 ($(T)crti.o): Likewise.
11330 ($(T)crtn.o): Likewise.
11331
11332 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11333
11334 PR other/42980
11335 * Makefile.in (install): Use $(MAKE) string in rule, for
11336 parallel make.
11337
11338 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
11339
11340 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
11341 * config/mmix/t-mmix: New file.
11342 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
11343
11344 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
11345
11346 PR java/41991
11347 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
11348 SHLIB_MAPFILES.
11349
11350 2010-01-04 Anthony Green <green@moxielogic.com>
11351
11352 * config/moxie/crti.asm, config/moxie/crtn.asm,
11353 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
11354 config/moxie/t-moxie: New files.
11355 * config.host: Add t-moxie-softfp reference.
11356
11357 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
11358
11359 PR other/39888
11360 * config/t-slibgcc-darwin: Fix embedded rpaths for
11361 --enable-version-specific-runtime-libs, build extension stub
11362 libs exposing features available from current libgcc_s.
11363
11364 2009-11-11 Jon Beniston <jon@beniston.com>
11365
11366 * config.host: Add lm32 targets.
11367 * config/lm32: New directory.
11368 * config/lm32/libgcc_lm32.h: New file.
11369 * config/lm32/_mulsi3.c: New file.
11370 * config/lm32/_udivmodsi4.c: New file.
11371 * config/lm32/_divsi3.c: New file.
11372 * config/lm32/_modsi3.c: New file.
11373 * config/lm32/_udivsi3.c: New file.
11374 * config/lm32/_umodsi3.c: New file.
11375 * config/lm32/_lshrsi3.S: New file.
11376 * config/lm32/_ashrsi3.S: New file.
11377 * config/lm32/_ashlsi3.S: New file.
11378 * config/lm32/crti.S: New file.
11379 * config/lm32/crtn.S: New file.
11380 * config/lm32/t-lm32: New file.
11381 * config/lm32/t-elf: New file.
11382 * config/lm32/t-uclinux: New file.
11383
11384 2009-10-26 Nick Clifton <nickc@redhat.com>
11385
11386 * config.host: Add support for RX target.
11387 * config/rx: New directory.
11388 * config/rx/rx-abi-functions.c: New file. Supplementary
11389 functions for libgcc to support the RX ABI.
11390 * config/rx/rx-abi.h: New file. Supplementary header file for
11391 libgcc RX ABI functions.
11392 * config/rx/t-rx: New file: Makefile fragment for building
11393 libgcc for the RX.
11394
11395 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
11396
11397 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
11398 constraint of y0 to "g".
11399
11400 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11401
11402 * config.host: Include the s390 makefile fragments.
11403 * config/s390/32/_fixdfdi.c: New file.
11404 * config/s390/32/_fixsfdi.c: New file.
11405 * config/s390/32/_fixtfdi.c: New file.
11406 * config/s390/32/_fixunsdfdi.c: New file.
11407 * config/s390/32/_fixunssfdi.c: New file.
11408 * config/s390/32/_fixunstfdi.c: New file.
11409 * config/s390/32/t-floattodi: New file.
11410 * config/s390/libgcc-glibc.ver: New file.
11411 * config/s390/t-crtstuff: New file.
11412 * config/s390/t-linux: New file.
11413 * config/s390/t-tpf: New file.
11414
11415 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11416
11417 * configure.ac (AC_PREREQ): Bump to 2.64.
11418
11419 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
11420
11421 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
11422
11423 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11424
11425 * configure: Regenerate.
11426
11427 2009-08-09 Douglas B Rupp <rupp@gnat.com>
11428
11429 * config.host (ia64-hp-*vms*): New target.
11430 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
11431 with ia64-hp-*vms*.
11432
11433 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11434
11435 * configure.ac: Add snippet for maintainer-mode.
11436 * configure: Regenerate.
11437 * Makefile.in (AUTOCONF, configure_deps): New variables.
11438 ($(srcdir)/configure)): New rule, active only with maintainer
11439 mode turned on.
11440
11441 2009-06-23 DJ Delorie <dj@redhat.com>
11442
11443 Add MeP port.
11444 * config.host: Add mep support.
11445
11446 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
11447
11448 * config.host: Add i386/${host_address}/t-fprules-softfp and
11449 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
11450
11451 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
11452 for mingw targets.
11453 * config/i386/64/_multc3.c: Likewise.
11454 * config/i386/64/_powitf2.c: Likewise.
11455 * config/i386/64/eqtf2.c: Likewise.
11456 * config/i386/64/getf2.c: Likewise.
11457 * config/i386/64/letf2.c: Likewise.
11458 * config/i386/64/letf2.c: Likewise.
11459 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
11460 unsigned long long for x64 mingw targets.
11461 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
11462 (_FP_I_TYPE): Define as long long for x64 mingw target.
11463
11464 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
11465
11466 * config.host (vax-*-linux*): New.
11467
11468 2009-05-31 Anthony Green <green@moxielogic.com>
11469
11470 * config.host: Add moxie support.
11471 * config/moxie/t-moxie: New file.
11472
11473 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
11474
11475 * config.host: Add i386/${host_address}/t-fprules-softfp and
11476 t-softfp to tmake_file for i[34567]86-*-cygwin*.
11477
11478 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
11479
11480 * config.host: Add i386/${host_address}/t-fprules-softfp to
11481 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
11482
11483 2009-04-09 Nick Clifton <nickc@redhat.com>
11484
11485 * config/ia64/tf-signs.c: Change copyright header to refer to
11486 version 3 of the GNU General Public License with version 3.1
11487 of the GCC Runtime Library Exception and to point readers at
11488 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
11489 web page.
11490 * config/i386/32/tf-signs.c: Likewise.
11491 * config/libbid/_addsub_dd.c: Likewise.
11492 * config/libbid/_addsub_sd.c: Likewise.
11493 * config/libbid/_addsub_td.c: Likewise.
11494 * config/libbid/_dd_to_df.c: Likewise.
11495 * config/libbid/_dd_to_di.c: Likewise.
11496 * config/libbid/_dd_to_sd.c: Likewise.
11497 * config/libbid/_dd_to_sf.c: Likewise.
11498 * config/libbid/_dd_to_si.c: Likewise.
11499 * config/libbid/_dd_to_td.c: Likewise.
11500 * config/libbid/_dd_to_tf.c: Likewise.
11501 * config/libbid/_dd_to_udi.c: Likewise.
11502 * config/libbid/_dd_to_usi.c: Likewise.
11503 * config/libbid/_dd_to_xf.c: Likewise.
11504 * config/libbid/_df_to_dd.c: Likewise.
11505 * config/libbid/_df_to_sd.c: Likewise.
11506 * config/libbid/_df_to_td.c: Likewise.
11507 * config/libbid/_di_to_dd.c: Likewise.
11508 * config/libbid/_di_to_sd.c: Likewise.
11509 * config/libbid/_di_to_td.c: Likewise.
11510 * config/libbid/_div_dd.c: Likewise.
11511 * config/libbid/_div_sd.c: Likewise.
11512 * config/libbid/_div_td.c: Likewise.
11513 * config/libbid/_eq_dd.c: Likewise.
11514 * config/libbid/_eq_sd.c: Likewise.
11515 * config/libbid/_eq_td.c: Likewise.
11516 * config/libbid/_ge_dd.c: Likewise.
11517 * config/libbid/_ge_sd.c: Likewise.
11518 * config/libbid/_ge_td.c: Likewise.
11519 * config/libbid/_gt_dd.c: Likewise.
11520 * config/libbid/_gt_sd.c: Likewise.
11521 * config/libbid/_gt_td.c: Likewise.
11522 * config/libbid/_isinfd128.c: Likewise.
11523 * config/libbid/_isinfd32.c: Likewise.
11524 * config/libbid/_isinfd64.c: Likewise.
11525 * config/libbid/_le_dd.c: Likewise.
11526 * config/libbid/_le_sd.c: Likewise.
11527 * config/libbid/_le_td.c: Likewise.
11528 * config/libbid/_lt_dd.c: Likewise.
11529 * config/libbid/_lt_sd.c: Likewise.
11530 * config/libbid/_lt_td.c: Likewise.
11531 * config/libbid/_mul_dd.c: Likewise.
11532 * config/libbid/_mul_sd.c: Likewise.
11533 * config/libbid/_mul_td.c: Likewise.
11534 * config/libbid/_ne_dd.c: Likewise.
11535 * config/libbid/_ne_sd.c: Likewise.
11536 * config/libbid/_ne_td.c: Likewise.
11537 * config/libbid/_sd_to_dd.c: Likewise.
11538 * config/libbid/_sd_to_df.c: Likewise.
11539 * config/libbid/_sd_to_di.c: Likewise.
11540 * config/libbid/_sd_to_sf.c: Likewise.
11541 * config/libbid/_sd_to_si.c: Likewise.
11542 * config/libbid/_sd_to_td.c: Likewise.
11543 * config/libbid/_sd_to_tf.c: Likewise.
11544 * config/libbid/_sd_to_udi.c: Likewise.
11545 * config/libbid/_sd_to_usi.c: Likewise.
11546 * config/libbid/_sd_to_xf.c: Likewise.
11547 * config/libbid/_sf_to_dd.c: Likewise.
11548 * config/libbid/_sf_to_sd.c: Likewise.
11549 * config/libbid/_sf_to_td.c: Likewise.
11550 * config/libbid/_si_to_dd.c: Likewise.
11551 * config/libbid/_si_to_sd.c: Likewise.
11552 * config/libbid/_si_to_td.c: Likewise.
11553 * config/libbid/_td_to_dd.c: Likewise.
11554 * config/libbid/_td_to_df.c: Likewise.
11555 * config/libbid/_td_to_di.c: Likewise.
11556 * config/libbid/_td_to_sd.c: Likewise.
11557 * config/libbid/_td_to_sf.c: Likewise.
11558 * config/libbid/_td_to_si.c: Likewise.
11559 * config/libbid/_td_to_tf.c: Likewise.
11560 * config/libbid/_td_to_udi.c: Likewise.
11561 * config/libbid/_td_to_usi.c: Likewise.
11562 * config/libbid/_td_to_xf.c: Likewise.
11563 * config/libbid/_tf_to_dd.c: Likewise.
11564 * config/libbid/_tf_to_sd.c: Likewise.
11565 * config/libbid/_tf_to_td.c: Likewise.
11566 * config/libbid/_udi_to_dd.c: Likewise.
11567 * config/libbid/_udi_to_sd.c: Likewise.
11568 * config/libbid/_udi_to_td.c: Likewise.
11569 * config/libbid/_unord_dd.c: Likewise.
11570 * config/libbid/_unord_sd.c: Likewise.
11571 * config/libbid/_unord_td.c: Likewise.
11572 * config/libbid/_usi_to_dd.c: Likewise.
11573 * config/libbid/_usi_to_sd.c: Likewise.
11574 * config/libbid/_usi_to_td.c: Likewise.
11575 * config/libbid/_xf_to_dd.c: Likewise.
11576 * config/libbid/_xf_to_sd.c: Likewise.
11577 * config/libbid/_xf_to_td.c: Likewise.
11578 * config/libbid/bid128.c: Likewise.
11579 * config/libbid/bid128_2_str.h: Likewise.
11580 * config/libbid/bid128_2_str_macros.h: Likewise.
11581 * config/libbid/bid128_2_str_tables.c: Likewise.
11582 * config/libbid/bid128_add.c: Likewise.
11583 * config/libbid/bid128_compare.c: Likewise.
11584 * config/libbid/bid128_div.c: Likewise.
11585 * config/libbid/bid128_fma.c: Likewise.
11586 * config/libbid/bid128_logb.c: Likewise.
11587 * config/libbid/bid128_minmax.c: Likewise.
11588 * config/libbid/bid128_mul.c: Likewise.
11589 * config/libbid/bid128_next.c: Likewise.
11590 * config/libbid/bid128_noncomp.c: Likewise.
11591 * config/libbid/bid128_quantize.c: Likewise.
11592 * config/libbid/bid128_rem.c: Likewise.
11593 * config/libbid/bid128_round_integral.c: Likewise.
11594 * config/libbid/bid128_scalb.c: Likewise.
11595 * config/libbid/bid128_sqrt.c: Likewise.
11596 * config/libbid/bid128_string.c: Likewise.
11597 * config/libbid/bid128_to_int16.c: Likewise.
11598 * config/libbid/bid128_to_int32.c: Likewise.
11599 * config/libbid/bid128_to_int64.c: Likewise.
11600 * config/libbid/bid128_to_int8.c: Likewise.
11601 * config/libbid/bid128_to_uint16.c: Likewise.
11602 * config/libbid/bid128_to_uint32.c: Likewise.
11603 * config/libbid/bid128_to_uint64.c: Likewise.
11604 * config/libbid/bid128_to_uint8.c: Likewise.
11605 * config/libbid/bid32_to_bid128.c: Likewise.
11606 * config/libbid/bid32_to_bid64.c: Likewise.
11607 * config/libbid/bid64_add.c: Likewise.
11608 * config/libbid/bid64_compare.c: Likewise.
11609 * config/libbid/bid64_div.c: Likewise.
11610 * config/libbid/bid64_fma.c: Likewise.
11611 * config/libbid/bid64_logb.c: Likewise.
11612 * config/libbid/bid64_minmax.c: Likewise.
11613 * config/libbid/bid64_mul.c: Likewise.
11614 * config/libbid/bid64_next.c: Likewise.
11615 * config/libbid/bid64_noncomp.c: Likewise.
11616 * config/libbid/bid64_quantize.c: Likewise.
11617 * config/libbid/bid64_rem.c: Likewise.
11618 * config/libbid/bid64_round_integral.c: Likewise.
11619 * config/libbid/bid64_scalb.c: Likewise.
11620 * config/libbid/bid64_sqrt.c: Likewise.
11621 * config/libbid/bid64_string.c: Likewise.
11622 * config/libbid/bid64_to_bid128.c: Likewise.
11623 * config/libbid/bid64_to_int16.c: Likewise.
11624 * config/libbid/bid64_to_int32.c: Likewise.
11625 * config/libbid/bid64_to_int64.c: Likewise.
11626 * config/libbid/bid64_to_int8.c: Likewise.
11627 * config/libbid/bid64_to_uint16.c: Likewise.
11628 * config/libbid/bid64_to_uint32.c: Likewise.
11629 * config/libbid/bid64_to_uint64.c: Likewise.
11630 * config/libbid/bid64_to_uint8.c: Likewise.
11631 * config/libbid/bid_b2d.h: Likewise.
11632 * config/libbid/bid_binarydecimal.c: Likewise.
11633 * config/libbid/bid_conf.h: Likewise.
11634 * config/libbid/bid_convert_data.c: Likewise.
11635 * config/libbid/bid_decimal_data.c: Likewise.
11636 * config/libbid/bid_decimal_globals.c: Likewise.
11637 * config/libbid/bid_div_macros.h: Likewise.
11638 * config/libbid/bid_dpd.c: Likewise.
11639 * config/libbid/bid_flag_operations.c: Likewise.
11640 * config/libbid/bid_from_int.c: Likewise.
11641 * config/libbid/bid_functions.h: Likewise.
11642 * config/libbid/bid_gcc_intrinsics.h: Likewise.
11643 * config/libbid/bid_inline_add.h: Likewise.
11644 * config/libbid/bid_internal.h: Likewise.
11645 * config/libbid/bid_round.c: Likewise.
11646 * config/libbid/bid_sqrt_macros.h: Likewise.
11647
11648 2009-04-09 Jakub Jelinek <jakub@redhat.com>
11649
11650 * Makefile.in: Change copyright header to refer to version
11651 3 of the GNU General Public License and to point readers at the
11652 COPYING3 file and the FSF's license web page.
11653 * config.host: Likewise.
11654
11655 2009-04-07 Alan Modra <amodra@bigpond.net.au>
11656
11657 * config.host: Reorder and merge to match config.gcc change.
11658
11659 2009-04-03 Alan Modra <amodra@bigpond.net.au>
11660
11661 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
11662
11663 2009-03-28 Joseph Myers <joseph@codesourcery.com>
11664
11665 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
11666 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
11667 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
11668 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
11669
11670 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
11671
11672 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
11673 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
11674
11675 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
11676
11677 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
11678 ia64/t-softfp-compat to tmake_file.
11679
11680 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
11681
11682 * config/ia64/__divxf3.asm: New.
11683 * config/ia64/_fixtfdi.asm: Likewise.
11684 * config/ia64/_fixunstfdi.asm: Likewise.
11685 * config/ia64/_floatditf.asm: Likewise.
11686 * config/ia64/t-fprules-softfp: Likewise.
11687 * config/ia64/t-softfp-compat: Likewise.
11688 * config/ia64/tf-signs.c: Likewise.
11689
11690 2009-01-18 Ben Elliston <bje@au.ibm.com>
11691
11692 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
11693
11694 2009-01-16 Ben Elliston <bje@au.ibm.com>
11695
11696 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
11697 to tmake_file.
11698
11699 2009-01-13 Ben Elliston <bje@au.ibm.com>
11700
11701 * config/t-softfp: New file.
11702 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
11703 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
11704
11705 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
11706
11707 * config.host: Add m32r*-*-rtems*.
11708
11709 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
11710
11711 * config.host: Add m32c*-*-rtems*.
11712
11713 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11714
11715 PR bootstrap/33100
11716 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
11717 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
11718 * configure: Regenerate.
11719 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
11720 tmake_file here from gcc/config.gcc.
11721 Move extra_parts here from gcc/config.gcc.
11722 * config/i386/t-sol2: Move here from gcc/config/i386.
11723 Use gcc_srcdir instead of srcdir.
11724
11725 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
11726
11727 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
11728 case.
11729
11730 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
11731
11732 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
11733
11734 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
11735
11736 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
11737
11738 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
11739
11740 Add picoChip port.
11741 * config.host: Add picochip-*-*.
11742
11743 2008-08-06 Bob Wilson <bob.wilson@acm.org>
11744
11745 * config.host: Match more processor names for Xtensa.
11746
11747 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
11748
11749 * config/i386/64/t-softfp-compat: Update comments.
11750
11751 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
11752
11753 * config/i386/64/_divtc3-compat.c: Moved to ...
11754 * config/i386/64/_divtc3.c: Here.
11755
11756 * config/i386/64/_multc3-compat.c: Moved to ...
11757 * config/i386/64/_multc3.c: Here.
11758
11759 * config/i386/64/_powitf2-compat.c: Moved to ...
11760 * config/i386/64/_powitf2.c: Here.
11761
11762 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
11763 .c suffix instead of -compat.c.
11764
11765 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
11766
11767 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
11768 (_FP_MUL_MEAT_D): Ditto.
11769 (_FP_DIV_MEAT_S): Ditto.
11770 (_FP_DIV_MEAT_D): Ditto.
11771
11772 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
11773
11774 * Makefile.in: Add support for __sync_* libgcc functions.
11775
11776 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
11777
11778 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
11779
11780 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
11781
11782 PR boostrap/36702
11783 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
11784 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
11785
11786 * config/i386/64/t-fprules-softfp: Moved to ...
11787 * config/i386/64/t-softfp-compat: This. New.
11788
11789 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
11790
11791 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
11792 Initialize f with 0.0.
11793
11794 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
11795
11796 PR target/36669
11797 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
11798
11799 * config/i386/64/_divtc3-compat.c: New.
11800 * config/i386/64/_multc3-compat.c: Likewise.
11801 * config/i386/64/_powitf2-compat.c: Likewise.
11802 * config/i386/64/eqtf2.c: Likewise.
11803 * config/i386/64/getf2.c: Likewise.
11804 * config/i386/64/letf2.c: Likewise.
11805 * config/i386/64/t-fprules-softfp: Likewise.
11806
11807 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
11808
11809 * config.host: Add i386/${host_address}/t-fprules-softfp to
11810 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
11811 i[34567]86-*-linux*, x86_64-*-linux*.
11812
11813 * configure.ac: Set host_address to 64 or 32 for x86.
11814 * configure: Regenerated.
11815
11816 * Makefile.in (config.status): Also depend on
11817 $(srcdir)/config.host.
11818
11819 * config/i386/32/t-fprules-softfp: New.
11820 * config/i386/32/tf-signs.c: Likewise.
11821
11822 * config/i386/64/sfp-machine.h: New. Moved from gcc.
11823
11824 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
11825 Uros Bizjak <ubizjak@gmail.com>
11826
11827 * config/i386/32/sfp-machine.h: New.
11828
11829 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
11830
11831 * config/rs6000/t-ppccomm: Remove rules that conflict with
11832 auto-generated rules.
11833
11834 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11835
11836 * configure.ac: sinclude override.m4.
11837 * configure: Regenerate.
11838
11839 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
11840
11841 * configure: Regenerate.
11842
11843 2008-06-10 Joseph Myers <joseph@codesourcery.com>
11844
11845 * Makefile.in (DECNUMINC): Remove
11846 -I$(MULTIBUILDTOP)../../libdecnumber.
11847 * gstdint.h: New.
11848
11849 2008-06-07 Joseph Myers <joseph@codesourcery.com>
11850
11851 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
11852 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
11853 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
11854 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
11855 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
11856 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
11857 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
11858 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
11859 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
11860 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
11861 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
11862 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
11863 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
11864 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
11865
11866 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
11867
11868 * config.host (sh2[lbe]*-*-linux*): Allow target.
11869
11870 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
11871
11872 * config/rs6000/t-ppccomm: Add build rules for new files.
11873 (LIB2ADD_ST): New variable.
11874
11875 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
11876
11877 PR target/34210
11878 PR target/35508
11879 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
11880 * config/t-avr: New file. Build 16bit libgcc functions.
11881
11882 2008-03-02 Jakub Jelinek <jakub@redhat.com>
11883
11884 PR target/35401
11885 * config/t-slibgcc-darwin: Make install-leaf dependent on
11886 install-darwin-libgcc-stubs instead of install.
11887
11888 2008-01-25 Joseph Myers <joseph@codesourcery.com>
11889
11890 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
11891 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
11892 sh-*-rtemscoff*): Remove cases.
11893
11894 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
11895
11896 * Makefile.in (all): Use install-leaf rather than install.
11897 (install): Split most of the rule into...
11898 (install-leaf): ...this new one.
11899
11900 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
11901 Paolo Bonzini <bonzini@gnu.org>
11902
11903 PR target/30572
11904 * Makefile.in: Use @shlib_slibdir@ substitution to get
11905 correct install name on darwin.
11906 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
11907
11908 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
11909
11910 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
11911 cris-*-elf and cris-*-none.
11912 (crisv32-*-linux*): Similar, as cris-*-linux*.
11913
11914 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
11915
11916 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
11917
11918 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
11919
11920 PR regression/33926
11921 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
11922 * configure: Regenerated.
11923
11924 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
11925
11926 * Makefile.in (dfp-filenames): Replace decimal_globals,
11927 decimal_data, binarydecimal and convert_data with
11928 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
11929 and bid_convert_data, respectively.
11930
11931 2007-09-17 Chao-ying Fu <fu@mips.com>
11932 Nigel Stephens <nigel@mips.com>
11933
11934 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
11935 * Makefile.in (fixed_point): Define.
11936 Check if fixed_point is yes to build support functions.
11937 * configure.ac: Check for fixed_point support.
11938 * configure: Regenerated.
11939 * gen-fixed.sh: New file to generate lists of fixed-point labels,
11940 funcs, modes, from, to.
11941
11942 2007-09-11 Janis Johnson <janis187@us.ibm.com
11943
11944 * Makefile.in (dfp-filenames): Add bid128_noncomp.
11945
11946 2007-09-10 Janis Johnson <janis187@us.ibm.com>
11947
11948 * Makefile.in (dfp-filenames): Remove decUtility, add
11949 decDouble, decPacked, decQuad, decSingle.
11950
11951 2007-08-27 Hans Kester <hans.kester@ellips.nl>
11952
11953 * config.host : Add x86_64-elf target.
11954
11955 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
11956
11957 * configure.ac (set_have_cc_tls): Add a missing =.
11958 * configure: Regenerated.
11959
11960 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
11961
11962 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
11963 and x86_64-*-linux*.
11964
11965 * config/t-tls: New file.
11966
11967 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
11968
11969 * configure.ac: Include ../config/enable.m4 and
11970 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
11971 supports TLS and substitute set_have_cc_tls.
11972 * configure: Regenerated.
11973
11974 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
11975
11976 * Makefile.in: Use libbid for DFP when BID is enabled.
11977
11978 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
11979
11980 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
11981 extra_parts. Add config/i386/t-cygming to tmake_file.
11982 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
11983
11984 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
11985 Danny Smith <dannysmith@users.sourceforge.net>
11986
11987 PR target/29498
11988 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
11989 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
11990 * config/i386/t-crtfm: Compile crtfastmath.o with
11991 -minline-all-stringops.
11992
11993 2007-05-10 Richard Sandiford <richard@codesourcery.com>
11994
11995 * config.host (sparc-wrs-vxworks): New target.
11996
11997 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
11998
11999 * config.host: Recognize fido.
12000
12001 2007-04-04 Janis Johnson <janis187@us.ibm.com>
12002
12003 * configure: Check host, not target, for decimal float support.
12004
12005 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
12006
12007 * config/i386/t-crtpc: New file.
12008 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
12009 (x86_64-*-linux*): Ditto.
12010
12011 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
12012
12013 * config.host (x86_64-*-mingw*): New target.
12014
12015 2007-03-23 Michael Meissner <michael.meissner@amd.com>
12016 H.J. Lu <hongjiu.lu@intel.com>
12017
12018 * Makefile.in (enable_decimal_float): New.
12019 (DECNUMINC): Add
12020 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
12021 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
12022 (decbits-filenames): This.
12023 (decbits-objects): New.
12024 (libgcc-objects): Add $(decbits-objects).
12025
12026 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
12027 Substitute enable_decimal_float.
12028 * configure: Regenerated.
12029
12030 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
12031
12032 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
12033
12034 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
12035
12036 * Makefile.in (install-info): New dummy target.
12037
12038 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
12039
12040 * config.host (bfin*-linux-uclibc*): Set extra_parts.
12041
12042 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
12043
12044 * Makefile.in: Add install-html and install-pdf dummy
12045 targets.
12046
12047 2007-02-05 Roger Sayle <roger@eyesopen.com>
12048 Daniel Jacobowitz <dan@codesourcery.com>
12049
12050 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
12051 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
12052 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
12053
12054 2007-01-29 Janis Johnson <janis187@us.ibm.com>
12055
12056 * Makefile.in (dec-filenames): Add decExcept.
12057
12058 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
12059
12060 PR bootstrap/30469
12061 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
12062 -fprofile-use.
12063
12064 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
12065
12066 * configure.ac: Add --enable-version-specific-runtime-libs.
12067 Correct $slibdir default.
12068 * configure: Regenerated.
12069
12070 2007-01-23 Joseph Myers <joseph@codesourcery.com>
12071
12072 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
12073
12074 2007-01-21 Andrew Pinski <pinskia@gmail.com>
12075
12076 PR target/30519
12077 * config.host (alpha*-*-linux*): Set extra_parts.
12078
12079 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
12080
12081 * config/sh/t-linux: New.
12082 * config.host (sh*-*-linux*): Set tmake_file.
12083
12084 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
12085
12086 * Makefile.in (install): Handle multilibs.
12087
12088 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
12089
12090 * Makefile.in: Added .PHONY entry for documentation targets.
12091
12092 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
12093
12094 * Makefile.in: Add empty info, html, dvi, pdf targets.
12095
12096 2007-01-04 Mike Stump <mrs@apple.com>
12097
12098 * Makefile.in (MAKEINFO): Remove.
12099 (PERL): Likewise.
12100
12101 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
12102
12103 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
12104 * configure: Regenerate.
12105 * Makefile.in (host_subdir): Substitute it.
12106 (gcc_objdir): Use it.
12107
12108 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
12109
12110 * config.host (ia64*-*-linux*): Set tmake_file.
12111
12112 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
12113
12114 * Makefile.in (version): Define.
12115
12116 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
12117 Paolo Bonzini <bonzini@gnu.org>
12118
12119 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
12120 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
12121 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
12122 config/sparc/t-crtfm, config/t-slibgcc-darwin,
12123 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
12124 shared-object.mk, siditi-object.mk, static-object.mk: New files.
12125 * configure: Generated.
12126 \f
12127 Copyright (C) 2007-2022 Free Software Foundation, Inc.
12128
12129 Copying and distribution of this file, with or without modification,
12130 are permitted in any medium without royalty provided the copyright
12131 notice and this notice are preserved.